packages / pi-dex
themeextension UI upgrades

pi-dex

Pi, but with Codex's UI — or at least as far as I can go before forking it.

No reviews yet

Install

$ pi install npm:pi-dex

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.1.2. 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.
  • Intercepts tools — Can block or rewrite tool calls Subscribes to tool_call/tool_result/input. Can change a command after you approved the one displayed.
  • 🛠
    Tool override — Replaces pi's built-in tools Intercepts built-ins like bash, edit, read or write — sees and can rewrite every use.
  • 🔧
    New tools — Adds model-callable tools Gives the agent new abilities. Additive and visible, unlike an override.
  • 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.

Replaces pi's built-in tools: bash, read, edit, write, grep. Every use of those tools goes through this package instead of pi.

Tools registered bashreadeditwritefindgrepls

Events subscribed contextinputmodel_selectsession_forksession_shutdownsession_startsession_switchtool_calltool_execution_end

APIs called appendEntrygetActiveToolsgetActiveTools.joinregisterCommandregisterMessageRendererregisterToolsendMessagesessionManager.getBranchsessionManager.getEntriesui.getAllThemesui.getAllThemes.mapui.getAllThemes.map.includesui.notifyui.setEditorComponentui.setFooterui.setHeaderui.setThemeui.setToolsExpanded

3 calls the source scan did not predict

getActiveTools.join · ui.getAllThemes.map · ui.getAllThemes.map.includes

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.1.2 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…