@narumitw/pi-inspect 0.1.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/dist/app.css +1 -1
- package/dist/app.js +31 -29
- package/docs/viewer.md +26 -15
- package/package.json +1 -1
- package/src/entry-summary.ts +34 -0
- package/src/model.ts +4 -0
- package/src/projection.ts +14 -1
- package/src/web/app.tsx +196 -65
- package/src/web/{live-drawer.tsx → captured-executions.tsx} +29 -27
- package/src/web/components.tsx +47 -95
- package/src/web/context-composition.tsx +8 -3
- package/src/web/context-inventory.tsx +65 -0
- package/src/web/format.ts +3 -1
- package/src/web/history.ts +56 -0
- package/src/web/inspector.tsx +104 -58
- package/src/web/recorded-content.tsx +49 -0
- package/src/web/session-filters.tsx +100 -0
- package/src/web/session.css +114 -0
- package/src/web/style.css +3 -2
- package/src/web/tool-inspector.css +175 -0
- package/src/web/tool-inspector.tsx +210 -0
- package/src/web/tool-schema.ts +217 -0
- package/src/web/trace.css +1 -0
- package/src/web/trace.tsx +58 -18
- package/src/web/tree.tsx +0 -281
package/README.md
CHANGED
|
@@ -11,7 +11,8 @@ A read-only browser view of the current Pi session, with consent-gated live cont
|
|
|
11
11
|
## ✨ Features
|
|
12
12
|
|
|
13
13
|
- Explore ordered context messages and blocks with search, filters, a minimap and expandable details.
|
|
14
|
-
-
|
|
14
|
+
- Read branch-scoped Session history with conversation groups, direct search matches, and an explicit internal-events view.
|
|
15
|
+
- Inspect actual branches, historical prompts, tools, skills and codemode evidence through content-first Details without changing Pi's active leaf.
|
|
15
16
|
- Follow bounded live tool calls, including observed nested calls, with explicit provenance and unavailable-data labels.
|
|
16
17
|
- Use light/dark and responsive browser layouts with keyboard navigation.
|
|
17
18
|
|
|
@@ -39,6 +40,8 @@ The old project-local extension is removed. Replace explicit `.pi/extensions/ins
|
|
|
39
40
|
|
|
40
41
|
In Pi's interactive TUI, run `/inspect` and accept the sensitive-data warning. The command opens your default browser; if opening fails, Pi shows a private URL instead.
|
|
41
42
|
|
|
43
|
+
Context shows the last observed model input, or an explicitly labeled session-derived fallback. Switch to Session for History, Branch view, or Captured executions; selecting a record opens Details. **View branch context** opens an explicit historical projection, not a captured request. Current runtime inventories and independent provider observations remain separate from historical evidence.
|
|
44
|
+
|
|
42
45
|
Use `/inspect stop` when finished. Closing the browser tab alone does not stop the server or collection.
|
|
43
46
|
|
|
44
47
|
## 💬 Commands
|