[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-81141":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":15,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":10,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":21,"topics":22,"createdAt":10,"pushedAt":10,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":33,"discoverSource":34},81141,"pi-inspect","NikiforovAll\u002Fpi-inspect","NikiforovAll","Introspection dashboard for the pi coding agent — tools, prompts, skills, and the system prompt injected on init.","https:\u002F\u002Fnikiforovall.blog\u002Fpi-inspect\u002F",null,"JavaScript",34,1,31,3,0,2,39.2,false,"main",true,[23,24,25,26,27,28,29],"dashboard","developer-tools","introspection","observability","pi-coding-agent","pi-extension","pi-package","2026-06-12 04:01:32","# pi-inspect\n\n[![npm version](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002Fpi-inspect.svg)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fpi-inspect)\n[![npm downloads](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fdm\u002Fpi-inspect.svg)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fpi-inspect)\n\nIntrospection dashboard for the [pi coding agent](https:\u002F\u002Fpi.dev) — see what's actually loaded into a session: tools, slash commands, skills, and the system prompt injected on init.\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002FNikiforovAll\u002Fpi-inspect\u002Fmain\u002Fassets\u002Fdemo.png\" alt=\"pi-inspect demo\" width=\"49%\">\n  \u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002FNikiforovAll\u002Fpi-inspect\u002Fmain\u002Fassets\u002Fdemo-light.png\" alt=\"pi-inspect demo light\" width=\"49%\">\n\u003C\u002Fp>\n\n## Installation\n\n```sh\npi install npm:pi-inspect\n```\n\nThen use `\u002Finspect start | stop | restart | status | open | list | snapshot` from inside pi.\n\n## Usage (inside a pi session)\n\n| Command | What it does |\n| --- | --- |\n| `\u002Finspect` | Open the dashboard for the **current** session in your browser (`http:\u002F\u002Flocalhost:5462\u002F?session=\u003Cid>`) |\n| `\u002Finspect \u003CsessionId>` | Open dashboard pinned to a specific past session |\n| `\u002Finspect snapshot` | Re-capture the current session snapshot now |\n| `\u002Finspect list` | Print all captured session IDs in the terminal |\n| `\u002Finspect open web\\|app` | Open in browser or as a PWA window |\n| `\u002Finspect start` \u002F `stop` \u002F `restart` \u002F `status` | Manage the local server |\n\nState is driven entirely through the `?session=` URL param — share or refresh URLs to pin views. The in-page picker also writes to the URL.\n\n## Sharing a snapshot\n\nClick **Share** in the topbar to copy a self-contained link of the current snapshot. The snapshot is `deflate-raw` compressed and base64url-encoded into the URL hash (`#s=…`) — no server, no upload, no account.\n\nRecipients open the link on the hosted static dashboard at **https:\u002F\u002Fnikiforovall.blog\u002Fpi-inspect\u002F** and see the exact same tools \u002F commands \u002F skills \u002F system prompt. The page makes no network requests; everything is in the URL.\n\nHeads up: the link includes the system prompt and `cwd`. Don't share secrets you wouldn't paste in chat.\n\n## What it captures\n\n- **Tools** — name, description, parameter schema, source\n- **Slash commands** — name, source\n- **System prompt** — full text injected on init, split into system \u002F user `AGENTS.md` \u002F project `AGENTS.md` sections\n- **Session meta** — cwd, model, sessionId, sessionName, captured timestamp\n\nSnapshots live at `~\u002F.pi\u002Fagent\u002Finspect\u002Fsnapshots\u002F\u003CsessionId>.json`.\n\n## Port\n\n`5462` — override via `PORT` env var.\n","pi-inspect 是一个用于 pi 编码代理的内省仪表板，能够展示会话中加载的工具、斜杠命令、技能以及初始化时注入的系统提示。该项目采用 JavaScript 开发，通过直观的界面帮助开发者了解和调试 pi 代理的实际运行状态。它支持在浏览器或 PWA 窗口中打开，并提供了多种命令来管理本地服务器及会话快照。此外，pi-inspect 允许用户轻松分享会话快照，而无需依赖外部服务器或账户。此工具非常适合需要深入理解 pi 代理内部工作原理或进行故障排除的开发场景。","2026-06-11 04:03:40","CREATED_QUERY"]