packages / pi-render-btw
extension UI upgrades

pi-render-btw

A pi extension for parallel side conversations with /btw — with markdown rendering in the floating window

No reviews yet

Install

$ pi install npm:pi-render-btw

Installs from npm into ~/.pi/agent/. Add -l for project-local (.pi/). Manage with pi list / pi update / pi remove.

What this package can reach

Detected automatically from the source at version 0.6.10. This describes access, not safety — you decide whether it's appropriate for what the package claims to do.

  • 🤖
    Behavior — Changes how the agent thinks Modifies the system prompt, injects messages, or rewrites conversation context.
  • Commands — Runs shell commands Spawns processes on your machine.
  • 🔑
    Credentials — Handles your API keys Reads or passes provider credentials. Highest-trust capability there is.
  • 📁
    Files — Reads files outside your project Touches paths beyond the working directory, such as your home folder.
  • UI — Draws its own interface Renders widgets, footers, dialogs or full-screen views.

What it actually did when run

observed

Loaded in a sandbox with no network, a read-only filesystem and a recording stand-in for pi's API. This is what it called — not what the source suggests it might.

Events subscribed contextsession_shutdownsession_startsession_tree

APIs called appendEntrygetSystemPromptgetSystemPrompt.replacegetSystemPrompt.replace.replacegetSystemPrompt.replace.replace.trimgetThinkingLevelisIdlemodelRegistry.getApiKeyAndHeadersregisterCommandregisterMessageRendererregisterShortcutsessionManager.getBranchsessionManager.getBranch.slicesessionManager.getEntriessessionManager.getEntries.flatMapsessionManager.getLeafIdui.customui.custom.catchui.notifyui.setWidget

7 calls the source scan did not predict

getSystemPrompt.replace · getSystemPrompt.replace.replace · getSystemPrompt.replace.replace.trim · sessionManager.getBranch.slice · sessionManager.getEntries.flatMap · ui.custom.catch · ui.setWidget

Reached through a value the scan could not follow — passed as an argument, stored on another object, or returned by a helper.

Run against version 0.6.10 on 2026-08-02. Registration-time behaviour under default settings; other configurations may differ.

Review before you install. pi packages run with your full system permissions. Check the source, pin versions, and prefer authors you trust.

Reviews

0 published

Sign in with GitHub to write a review, reply, or vote.

No reviews yet — be the first.

More in UI upgrades

  • glimpseui — Native micro-UI for scripts and agents — cross-platform WebView windows with bidirectional…
  • pi-powerline-footer — Powerline-style status bar for pi — model, tokens, cost, git branch and more in a configur…
  • @yevhen.b/pi-macos-theme-sync — Sync Pi's theme with macOS appearance changes.
  • @piotr-oles/pi-pr — Pi Agent extension: show the current branch's GitHub PR status (clickable #n + CI/merge/re…