@monopi/extension-btw

Monopi BTW side-chat pi extension.

Packages

Package details

extension

Install @monopi/extension-btw from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@monopi/extension-btw
Package
@monopi/extension-btw
Version
0.6.1
Published
Aug 28, 2026
Downloads
256/mo · 20/wk
Author
ifiokjr
License
MIT AND Apache-2.0
Types
extension
Size
44.4 KB
Dependencies
0 dependencies · 5 peers
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

@monopi/extension-btw

Standalone pi extension package for btw side conversations.

pi install npm:@monopi/extension-btw

Commands

  • /btw: open the side chat. When saved conversations exist, this opens a conversation picker.
  • /btw <question>: start a new side conversation and ask immediately without interrupting the main thread.

Questions entered inside an open overlay continue that conversation. Conversations are persisted independently as custom session entries, so you can switch between previous threads and restore them as the session tree changes.

Navigation

  • Conversation picker: / moves one item, PageUp / PageDown moves one page, Enter selects, and Esc cancels. The picker uses a fixed percentage of the terminal height and scrolls when conversations overflow it.
  • Conversation overlay: PageUp / PageDown scrolls through long responses, Enter submits, and Esc closes. The position indicator shows the visible transcript range.

Attribution

This implementation is adapted from mitsuhiko/agent-stuff extensions/btw.ts. The adapted upstream code is Copyright Armin Ronacher and contributors and licensed under Apache-2.0. Monopi package metadata and surrounding repository files remain MIT licensed.