Skip to content

v0.9.0

Latest

Choose a tag to compare

@dbachelder dbachelder released this 04 Dec 00:41
de870e2

Added

  • providerExtensions in btw.json loads a provider's extension into every BTW child session, so providers that serve only sessions where their extension is bound, such as pi-cursor-sdk, work in /btw, /btw:ask, and /btw:summarize. Their tools are discarded, so every mode keeps its usual Pi tool set. Without the setting, the provider's ownership error now says which setting to add. For Cursor: {"providerExtensions": ["npm:pi-cursor-sdk"]}. Thanks @marcosdsanchez for the detailed report! (#71, fixes #70)
  • /btw:copy copies the last BTW answer to the clipboard, and /btw:copy --all copies the whole hidden thread. /btw:compact [instructions] compacts the BTW sub-session context while keeping the hidden thread, so the transcript and handoff still work afterwards. Turns submitted during a compaction queue behind it. Thanks @zghong! (#67, fixes #66)

Fixed

  • /btw no longer fails on pi-claude-bridge models with prompt-capture: no capture for this ... system prompt (elidickinson/pi-claude-bridge#158). The child inherits the parent prompt verbatim, as the main model last saw it, including sections extensions add each turn. The child prompt states the working directory twice again, because stripping the parent's copy (#63) broke the bridge's match. Thanks @redreceipt! (#65)
  • The focused BTW composer preserves Pi's cursor-position marker, so IME candidate windows follow the side input instead of the main transcript. Thanks @chengweiv5! (#69)
  • Mouse-wheel input over the BTW overlay scrolls its own transcript in Pi fullscreen mode instead of the main session underneath it, without stealing keyboard focus. (#69)

Validation

Supports Pi 0.85.1 through 1.x. Tested with Pi 0.85.1, 1.5.0, and 1.8.0. The locked and latest targets pass all 233 tests and typecheck. The minimum target passes 231, with two SDK tool-history cases skipped.