Skip to content

Releases

V2.0.0

Choose a tag to compare

@NerdAtWork24X7 NerdAtWork24X7 released this 18 Oct 18:57
0f3fe5d

Changelog

All notable changes to Pi Scope are documented in this file. The format follows
Keep a Changelog; releases are tagged
V<major>.<minor>.<patch> on GitHub, and each entry doubles as the release
body for that tag.


V2.0.0 — 2026-10-18

Pi Scope stops being a dashboard you wire up and becomes a control room you can
just run: it now bundles its own pi coding agent, launches on Linux, macOS and
Windows from one command, and adds a live Office floor, a visual Workflow
canvas and a purpose-built phone layout.

Install — zero-install AppImage (Node 24 bundled inside):

curl -fsSL -o Pi-Scope-2.0.0.AppImage \
  https://github.com/NerdAtWork24X7/Pi_Scope/releases/download/V2.0.0/Pi-Scope-2.0.0.AppImage
chmod +x Pi-Scope-2.0.0.AppImage && ./Pi-Scope-2.0.0.AppImage

Or clone it (Node 24+): ./pi-scope (Unix) / .\pi-scope.cmd (Windows).

Highlights

  • Bundled pi agent. Pi Scope ships its own copy of the pi coding agent —
    no global install, no manual npm step. Chat, commit-message generation and
    subagents all launch that copy with the Scope extension force-loaded.
  • Office view. A live top-down office where each subagent has a cubicle that
    animates while it works: hire, fire, rename, teams, a reference library and a
    kanban board drawn on the office wall.
  • Workflow view. Wire coding-agent harnesses (Claude Code, Codex CLI, Gemini
    CLI, opencode, Aider, Cursor Agent, the built-in Pi runner, or a custom
    command) into a canvas with parallel branches, a human approval gate and a
    loop node for feedback loops.
  • Phone layout. A real mobile UI at /m (auto-selected for phones), with a
    session drawer, live transcript, composer and light/dark toggle.
  • One launcher everywhere. pi-scope / pi-scope.cmd expose the same modes
    and flags on all three platforms; Windows is now a first-class target.

Added

  • Bundled agent install. The pi coding agent is installed into
    ~/.pi-scope/pi on first launch from a read-only packaged seed, and the
    Scope extension is force-loaded into it. SCOPE_PI_BIN overrides the binary,
    SCOPE_PI_BUNDLE_DIR points at an out-of-tree bundle, and SCOPE_AGENT_DIR
    (~/.pi-scope/agent) keeps the agent's own settings, keys, sessions and
    extensions separate from yours.
  • Office view (office plugin). Each subagent gets a desk, screen and chair
    that animate while it works. Hire, fire, rename and enable subagents, manage
    teams, and keep a reference library of files and folders — straight from the
    floor. The task queue is a kanban board on the office wall, and the
    orchestrator's own runs appear as board cards. In-flight runs survive page
    reloads. Office is a self-contained plugin that owns its state server-side.
  • Workflow view (subagent-workflow plugin). A canvas graph of agents with
    parallel branches, a human approval gate, and a loop node that repeats a
    branch's output for feedback loops. Every past run is kept in the workspace.
    Agent output is rendered as Markdown, each agent has its own settings panel,
    and its output is isolated.
  • Mobile layout. Served at /m (also auto-selected for phone user-agents,
    override with ui=desktop): a drawer of workspaces and sessions with live /
    waiting / stopped state, the selected session's recorded + live transcript, a
    composer that sends prompts straight to pi (a question the agent asks
    becomes an answerable card; Stop aborts the run), a new-session sheet, a
    shared light/dark toggle, and per-session delete that kills the pi
    subprocess first. The desktop-only views (Terminal, Files, Git, Checkpoints,
    Office) are deliberately absent and are not downloaded.
  • Cross-platform launcher. pi-scope (Unix shim), pi-scope.cmd (Windows)
    and pi-scope.mjs (core) provide the same entry point on every platform:
    desktop, --web, --server, --dev, --keep-server, --no-install, and
    --port / --host / --db / --token. The Windows launch path is repaired.
  • Desktop: port console and multi-instance. When the port is taken, a
    console-styled popup names the holder and offers to open the running instance,
    kill & take the port, kill only, or start on another port. A second instance
    gets its own token file (scope_token.<port>) and database
    (scope-<port>.db), so two instances never share a token or contend for one
    SQLite file. The popup also lists every Pi Scope server listening on the
    machine (port, version, pid) with a Kill button.
  • Settings: pi Auth and Update tabs. Sign in to pi and update the bundled
    agent from the dashboard.
  • Chat: per-message usage row. Cost and token totals per message, with
    tool-call rows folded.
  • Git: "Add to .gitignore". A one-click action for untracked files, alongside
    commit-message drafts generated from staged changes only and kept across
    reloads.
  • Plugin API: api.transport. Host-gated WebSocket endpoints for plugins.
  • Live model catalogs. Refresh pi model catalogs while the app is open.
  • Server-owned, replayable chat runs. Runs are owned by the server and
    survive reloads.

Changed

  • No node_modules in the checkout. The app tooling (Electron, esbuild,
    electron-builder) and the server's runtime packages (node-pty, ws) install
    into one shared project in ~/.pi-scope/pi. The packaged app seeds that copy
    offline from a read-only resource, so a first launch needs no network and no
    system npm.
  • Python environment relocated to a local folder, keeping the checkout free
    of environment state.
  • Docs site published on GitHub Pages; the README is cut back to a front
    door, every screenshot is regenerated from the current app, the showcase video
    is re-recorded, and the Workflow view is added to it.
  • Office performance. Backdrop blur dropped and unchanged repaints skipped;
    the diagram's impact radius no longer greys the whole floor.

Fixed

  • Provider errors are now surfaced to the user instead of failing silently.
  • Windows launch path repaired.
  • Extension installs are serialised and interrupted npm runs are retried, so a
    killed first launch no longer leaves a half-installed agent.

Security

All CodeQL findings from the release cycle are closed:

  • DOM text reinterpreted as HTML (alerts 13, 14, 15, 16, 19).
  • Incomplete string escaping or encoding (alerts 7, 11, 18).
  • Insecure randomness (alert 10).
  • Information exposure through a stack trace (alert 6).
  • Clear-text logging of sensitive information (PR review finding).

Documentation

  • Published docs site (index.html showcase + guide.html setup guide) with a
    new section for using Pi Scope from a phone and the port-console flow.
  • Regenerated screenshots and showcase video from the current build.

Release stats

V1.0.0...V2.0.0: 347 files changed, +89,313 / −8,764 lines across 61
commits (excluding merges).

V1.0.0

Choose a tag to compare

@NerdAtWork24X7 NerdAtWork24X7 released this 06 Oct 20:03

🔭 Pi Scope v1.0.0 — First Official Release

Watch an AI coding agent think, type, and act — live, locally, and replayable.

Pi Scope is a control room for AI coding agents. It streams everything your agent does —
every message, tool call, shell command, and file edit — into a browser dashboard you can
watch live over SSE (no refresh) or replay later like a movie of your agent's brain.

This is the first official release. Everything ships as a single Linux file: no
npm install, no node on the host, no account, and nothing leaves your machine.


✨ What's inside

📦 Zero-install AppImage

Pi-Scope-1.0.0.AppImage — Electron shell + bundled Node 24 (required for
node:sqlite, with node-pty compiled against that ABI) + the bundled SCOPE server.
Run it, and you have a working control room.

🧩 Plugin architecture

Every feature is a plugin: a directory with a plugin.json manifest, an optional server
entry, and an optional browser bundle. The host discovers built-ins plus anything you drop in
~/.pi/scope/plugins, persists enable/disable state, and refuses the HTTP routes of a
disabled feature plugin
— toggling a plugin off removes its surface area, not just its nav
item.

Plugin What it gives you
Chat Talk to your agent, manage workspaces and the agent team, stream turns live
Terminal A real shell on the agent host, embedded in the browser over WebSocket
Review Scan the working tree, diff any file side by side, edit it in place
Checkpoints Git-backed save points — label a moment, restore it with one click
Git Full git client: stage, commit, history graph, branches, stashes, remotes
Single The forensic event timeline for a session, live over SSE
Trajectory Events folded into turns with per-record time / cost / token columns
Settings Agent, teams, models, skills, API keys and plugins (core)

Write your own — the full runnable guide is in
apps/scope-server/plugins/README.md.
Plugins get a small, stable API: api.route, api.onEvent, api.store, api.log.
The host itself is dependency-free (node:fs / node:path / node:url only).

🚀 One-command launch

./Start.sh              # desktop app (Electron window, default)
./Start.sh --web        # headless server + open the WebUI in your browser
./Start.sh --server     # headless server only, stays in the foreground
./Start.sh --dev        # server with --watch

Extra flags: --keep-server, --port, --host, --db, --token. The server starts
at most once — if one is already healthy on the target port, its token is adopted instead of
a second instance being spawned. Ctrl-C shuts down only a server that this script started.

⏱ Forensics you can act on

  • Single — a live, time-ordered feed of every event: user messages, assistant replies,
    thinking blocks, tool calls and results, errors, compactions, model switches. Click any row
    for the full JSON payload. A stats bar shows cost, tokens in/out, cache reads/writes,
    throughput, prefill time and context usage.
  • Trajectory — the same run folded into turns, with per-record time, cost and token
    columns, for spotting where the time and the tokens actually went.
  • Chat — steer a live run mid-flight, pick a model and thinking level, toggle agent
    skills, and dispatch work to your agent team without touching a terminal.
  • Terminal, Review, Checkpoints, Git — a real shell, in-place file editing, one-click
    restore points, and a full git client, all from the same screen.

📱 Phone access via QR

The header renders a QR code that puts a phone on the same network straight onto your live
dashboard — no typing URLs, no account, still entirely local.

🎨 Interface

Reworked navigation rail, rebuilt Trajectory view, refreshed Chat, and a substantial
stylesheet pass (≈1,300 lines changed) — including bundled MesloLGS Nerd Font Mono and
Noto Color Emoji, so terminal and code panes render identically everywhere. Dark and
light themes, one click apart.

🔐 Private by design, and hardened

Nothing is uploaded and no account is required — unlike cloud LLM tracers, and unlike a plain
terminal log, Pi Scope lets you act, not just observe. Code-scanning findings from the
automated alerts are fixed, including information exposure through a stack trace.


💻 Install

chmod +x Pi-Scope-1.0.0.AppImage
./Pi-Scope-1.0.0.AppImage

Requirements: Linux x86_64. Nothing else — Node 24 is bundled.

The app relaunches itself into ~/.local/share/pi-scope/ and never writes into the
read-only AppImage mount. Closing the window stops the server; if a server is already
listening on the port, the AppImage adopts it instead of starting a second one.

To use Pi Scope with the pi coding
agent, point it at this project's extension. Any tool that POSTs events to the /events
endpoint can feed Pi Scope too.

🔨 Build it yourself

./build-release.sh     # -> apps/scope-desktop/dist/Pi-Scope-<version>.AppImage

Bundles the SCOPE server (TS → JS via esbuild), copies the WebUI, provisions the portable
Node runtime, runs electron-builder for the AppImage target, then cleans up intermediates.


🧩 Your first plugin, in 30 seconds

mkdir -p ~/.pi/scope/plugins/hello
cat > ~/.pi/scope/plugins/hello/plugin.json <<'JSON'
{
  "id": "hello",
  "name": "Hello",
  "description": "A user plugin.",
  "version": "1.0.0",
  "serverRoutes": ["/hello"]
}
JSON

Restart Pi Scope, open Settings → Plugins, enable it. The complete guide — client
bundles, server entries, event hooks and the namespaced store — is in the plugins README
linked above. Point SCOPE_PLUGINS_DIR somewhere else if you'd rather keep them in-repo.


📝 Notes for source installs

  • Monorepo layout: apps/scope-server (server, WebUI, plugins) and apps/scope-desktop
    (Electron launcher + build config).
  • Set SCOPE_PLUGINS_DIR to relocate the user plugin directory (default
    ~/.pi/scope/plugins); enable/disable state lives in plugins.json there.
  • Per-machine launcher settings are optional in apps/scope-desktop/scope.env — see
    scope.env.example.
  • Full docs: README · plugin authoring
    guide.

📄 License

MIT.


Pi Scope is an actively extended,
Thanks to everyone who reported issues and sent patches — issues and discussions are open. Let's build
the next one together. 🚀