@suemi994/pi-sidebar

Pi fullscreen sidebar with a toggle and resumable BTW threads

Packages

Package details

extension

Install @suemi994/pi-sidebar from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@suemi994/pi-sidebar
Package
@suemi994/pi-sidebar
Version
0.1.2
Published
Nov 23, 2026
Downloads
205/mo · 205/wk
Author
suemi994
License
unknown
Types
extension
Size
578.1 KB
Dependencies
1 dependency · 3 peers
Pi manifest JSON
{
  "extensions": [
    "./src/index.ts"
  ]
}

Security note

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

README

@suemi994/pi-sidebar

A Pi plugin that packages the fullscreen sidebar from pi-ui-extension, a /sidebar toggle, and a clickable list of resumable BTW threads. Tested with Pi 1.6.0.

Install

Install the npm package:

pi install npm:@suemi994/pi-sidebar

Users with access to the private repository can also install via GitHub SSH. The Pi manifest at the repository root loads the extension in pi-sidebar/.

pi install git:git@github.com:suemi994/pi-extensions.git

For development, run npm ci --omit=peer at the repository root, then install the checkout with pi install "$PWD". To type-check locally, symlink the host's @earendil-works/pi-* packages into the ignored node_modules directory. When migrating, disable separately loaded copies of pi-ui-extension, @narumitw/pi-btw, and the local pi-ui-sidebar-tabs extension to avoid duplicate commands. If hud-regular-footer-fix.ts patched the old package's sidebar mount, disable that part of the patch as well.

Usage

  • In fullscreen mode, the sidebar appears when the terminal reaches 120 columns. Run /sidebar to hide or restore it. Restoring it focuses the sidebar so you can switch tabs with ← and →.
  • Overview displays the context and tool views.
  • Sessions lists the current workspace and directories from Pi session history that still exist. Choose a workspace to see its sessions. Pinning, renaming, and deleting sessions in the current workspace remain available.
  • Status displays todos, the main agent's activity, and statuses published by plugins.
  • BTW displays resumable /btw conversations in the current Pi session. Click a thread to continue it. The list is sorted by recent activity and clears when the session ends or Pi reloads.
  • Click the sidebar or run /sidebar-tabs to focus it. Switch tabs with ← and → and press Esc to return to the editor. Sidebar commands and notices use English.
  • In Sessions, click a workspace or session list or press Tab to switch focus. Move with ↑ and ↓ and confirm with Enter. You can also click a row.
  • Click +N more or + more to open a full list. Session, workspace, and BTW popups support arrow keys, Enter, mouse selection, and scrolling. Press Esc to close the popup.

Upstream code

  • vendor/ui comes from pi-ui-extension 1.20.5 and includes the sidebar, session management, and tool view. This plugin adapts the mount, tabs, and toggle. MIT license
  • vendor/btw comes from the published @narumitw/pi-btw 0.63.8 build. It adds session list notifications and a way to resume by ID. MIT license
  • The package manager installs @narumitw/pi-tui-kit 0.70.1, and Pi provides the host API.