packages / pi-hunk
extension UI upgrades

pi-hunk

Review Pi coding-agent changes in a native, persistent Hunk overlay

No reviews yet

Install

$ pi install npm:pi-hunk

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.2.0. This describes access, not safety — you decide whether it's appropriate for what the package claims to do.

  • Commands — Runs shell commands Spawns processes on your machine.
  • 📁
    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 agent_settledagent_startsession_shutdownsession_starttool_calltool_execution_endtool_execution_start

APIs called coordinator.activateSessioncoordinator.getActiveInfocoordinator.getAutoOpenSuppressionReasoncoordinator.getEarlyOpenPromisecoordinator.hasEarlySurfaceOpenedForRuncoordinator.hasLiveSurfacecoordinator.hasOpenedForRuncoordinator.onStateChangecoordinator.resetRunFlagscoordinator.setEarlyOpenPromisecoordinator.shutdowndetector.consumeSettleddetector.rememberToolArgsdetector.resetdetector.takeToolArgsregisterCommandregisterShortcutstore.getstore.startSessionui.notifyui.setStatusui.theme.fg

29 calls the source scan did not predict

coordinator.activateSession · coordinator.getActiveInfo · coordinator.getAutoOpenSuppressionReason · coordinator.getEarlyOpenPromise · coordinator.hasEarlySurfaceOpenedForRun · coordinator.hasLiveSurface · coordinator.hasOpenedForRun · coordinator.onStateChange · coordinator.resetRunFlags · coordinator.setEarlyOpenPromise · coordinator.shutdown · detector.consumeSettled · detector.rememberToolArgs · detector.reset · detector.takeToolArgs · on("agent_settled") · on("agent_start") · on("session_shutdown") · on("session_start") · on("tool_call") · on("tool_execution_end") · on("tool_execution_start") · registerCommand · registerShortcut · store.get · store.startSession · ui.notify · ui.setStatus · ui.theme.fg

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