@tonyclaw/agent-inspector 3.0.31 → 3.0.33

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.
Files changed (36) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/assets/{CompareDrawer-DB2KggLE.js → CompareDrawer-DZHbDuyp.js} +1 -1
  3. package/.output/public/assets/{InspectorPet-CfwDw6kD.js → InspectorPet-CcB16ERo.js} +1 -1
  4. package/.output/public/assets/{ProxyViewerContainer-PcrO96_F.js → ProxyViewerContainer-CeL2S9LL.js} +32 -32
  5. package/.output/public/assets/{ReplayDialog-3Pl7EKjp.js → ReplayDialog-C9QR9m_y.js} +1 -1
  6. package/.output/public/assets/{RequestAnatomy-BcPjcHLX.js → RequestAnatomy-CUY83fwY.js} +1 -1
  7. package/.output/public/assets/{ResponseView-DOx51wV3.js → ResponseView-B_9r-cyE.js} +1 -1
  8. package/.output/public/assets/{StreamingChunkSequence-LkYJWM1A.js → StreamingChunkSequence--jQP7nh3.js} +1 -1
  9. package/.output/public/assets/{_sessionId-C0CA68QV.js → _sessionId-BknJcfp0.js} +1 -1
  10. package/.output/public/assets/{_sessionId-BSg32vC6.js → _sessionId-CsSBVKu4.js} +1 -1
  11. package/.output/public/assets/{index-FV5sxqx3.js → index-BLp02enl.js} +1 -1
  12. package/.output/public/assets/{index-BpBUqdAB.js → index-Bc0XyWoF.js} +1 -1
  13. package/.output/public/assets/{index-D93dCgAQ.js → index-CwydCGrP.js} +1 -1
  14. package/.output/public/assets/{index-hyQHZeQI.css → index-D17dU-mX.css} +1 -1
  15. package/.output/public/assets/{index-VUsF4nhf.js → index-YFDJS5sG.js} +3 -3
  16. package/.output/public/assets/{json-viewer-WctIbAh_.js → json-viewer-CeXNLNRL.js} +1 -1
  17. package/.output/public/assets/{jszip.min-DnSIoTix.js → jszip.min-D_dylbU1.js} +1 -1
  18. package/.output/server/{_sessionId-CyuJ6Kfl.mjs → _sessionId-CGdREF8T.mjs} +1 -1
  19. package/.output/server/{_sessionId-BHBK3VbF.mjs → _sessionId-CYC17d-B.mjs} +2 -2
  20. package/.output/server/_ssr/{CompareDrawer-27amlv_a.mjs → CompareDrawer-DeMqLFuI.mjs} +2 -2
  21. package/.output/server/_ssr/{InspectorPet-CQnGXfLs.mjs → InspectorPet-BAO2jCB7.mjs} +1 -1
  22. package/.output/server/_ssr/{ProxyViewerContainer-DlAl0uF-.mjs → ProxyViewerContainer-Ba1qfnbK.mjs} +41 -10
  23. package/.output/server/_ssr/{ReplayDialog-5m2jtlLa.mjs → ReplayDialog-CpUv_dIy.mjs} +3 -3
  24. package/.output/server/_ssr/{RequestAnatomy--1WtQNY9.mjs → RequestAnatomy-CRq6ZnER.mjs} +2 -2
  25. package/.output/server/_ssr/{ResponseView-CgbqS8sr.mjs → ResponseView-uqImoWhn.mjs} +2 -2
  26. package/.output/server/_ssr/{StreamingChunkSequence-BwpnopWx.mjs → StreamingChunkSequence-DEGDwgVR.mjs} +2 -2
  27. package/.output/server/_ssr/{index-CNVi1TzT.mjs → index-BkPapItF.mjs} +2 -2
  28. package/.output/server/_ssr/{index-DMCjH_4V.mjs → index-CE7xR-Gg.mjs} +1 -1
  29. package/.output/server/_ssr/index.mjs +2 -2
  30. package/.output/server/_ssr/{json-viewer-DNGN2uoe.mjs → json-viewer-C5CvnZkM.mjs} +2 -2
  31. package/.output/server/_ssr/{router-CgsqLnk5.mjs → router-CA2uwvv6.mjs} +6 -6
  32. package/.output/server/{_tanstack-start-manifest_v-BH5f_kWV.mjs → _tanstack-start-manifest_v-DMn6yvSV.mjs} +1 -1
  33. package/.output/server/index.mjs +84 -84
  34. package/package.json +1 -1
  35. package/src/components/pi-agent/PiAgentPanel.tsx +25 -1
  36. package/src/components/pi-agent/piAgentChatLogic.ts +24 -0
@@ -1,4 +1,4 @@
1
- const tsrStartManifest = () => ({ routes: { __root__: { filePath: "C:/Users/claw/workspace/agent-inspector/src/routes/__root.tsx", children: ["/", "/livez", "/readyz", "/api/alerts", "/api/config", "/api/groups", "/api/health", "/api/logs", "/api/mcp", "/api/models", "/api/pi-agent", "/api/providers", "/api/runs", "/api/sessions", "/proxy/$", "/session/$sessionId", "/api/ecosystem/packages", "/api/ecosystem/tasks", "/api/knowledge/candidates", "/api/knowledge/project-context", "/api/knowledge/search", "/api/ecosystem/recipes/$recipeId/run", "/api/knowledge/sessions/$sessionId/candidates"], preloads: ["/assets/index-VUsF4nhf.js"], scripts: [{ attrs: { type: "module", async: true, src: "/assets/index-VUsF4nhf.js" } }] }, "/": { filePath: "C:/Users/claw/workspace/agent-inspector/src/routes/index.tsx", children: void 0, preloads: ["/assets/index-D93dCgAQ.js", "/assets/index-BpBUqdAB.js", "/assets/ProxyViewerContainer-PcrO96_F.js"] }, "/session/$sessionId": { filePath: "C:/Users/claw/workspace/agent-inspector/src/routes/session/$sessionId.tsx", children: void 0, preloads: ["/assets/_sessionId-BSg32vC6.js", "/assets/_sessionId-C0CA68QV.js", "/assets/ProxyViewerContainer-PcrO96_F.js"] } } });
1
+ const tsrStartManifest = () => ({ routes: { __root__: { filePath: "C:/Users/claw/workspace/agent-inspector/src/routes/__root.tsx", children: ["/", "/livez", "/readyz", "/api/alerts", "/api/config", "/api/groups", "/api/health", "/api/logs", "/api/mcp", "/api/models", "/api/pi-agent", "/api/providers", "/api/runs", "/api/sessions", "/proxy/$", "/session/$sessionId", "/api/ecosystem/packages", "/api/ecosystem/tasks", "/api/knowledge/candidates", "/api/knowledge/project-context", "/api/knowledge/search", "/api/ecosystem/recipes/$recipeId/run", "/api/knowledge/sessions/$sessionId/candidates"], preloads: ["/assets/index-YFDJS5sG.js"], scripts: [{ attrs: { type: "module", async: true, src: "/assets/index-YFDJS5sG.js" } }] }, "/": { filePath: "C:/Users/claw/workspace/agent-inspector/src/routes/index.tsx", children: void 0, preloads: ["/assets/index-CwydCGrP.js", "/assets/index-Bc0XyWoF.js", "/assets/ProxyViewerContainer-CeL2S9LL.js"] }, "/session/$sessionId": { filePath: "C:/Users/claw/workspace/agent-inspector/src/routes/session/$sessionId.tsx", children: void 0, preloads: ["/assets/_sessionId-CsSBVKu4.js", "/assets/_sessionId-BknJcfp0.js", "/assets/ProxyViewerContainer-CeL2S9LL.js"] } } });
2
2
  export {
3
3
  tsrStartManifest
4
4
  };
@@ -20,149 +20,149 @@ const assets = {
20
20
  "/assets/agent-inspector-58K1_MsC.ico": {
21
21
  "type": "image/vnd.microsoft.icon",
22
22
  "etag": '"38fa-ZD8kPABHYjPIkcH82FMY6iZM7fI"',
23
- "mtime": "2026-07-13T10:47:31.253Z",
23
+ "mtime": "2026-07-14T01:01:49.633Z",
24
24
  "size": 14586,
25
25
  "path": "../public/assets/agent-inspector-58K1_MsC.ico"
26
26
  },
27
27
  "/assets/alibaba-TTwafVwX.svg": {
28
28
  "type": "image/svg+xml",
29
29
  "etag": '"171b-6dyV5K8QjiaY35sN9qNprh9zDIs"',
30
- "mtime": "2026-07-13T10:47:31.259Z",
30
+ "mtime": "2026-07-14T01:01:49.633Z",
31
31
  "size": 5915,
32
32
  "path": "../public/assets/alibaba-TTwafVwX.svg"
33
33
  },
34
- "/assets/CompareDrawer-DB2KggLE.js": {
34
+ "/assets/CompareDrawer-DZHbDuyp.js": {
35
35
  "type": "text/javascript; charset=utf-8",
36
- "etag": '"502d-ApUnPM1wAyTe7X+OXAvo6ZKXdnI"',
37
- "mtime": "2026-07-13T10:47:31.259Z",
36
+ "etag": '"502d-E9Au5SEEfGkJH+Tf6CdZdEWpK7I"',
37
+ "mtime": "2026-07-14T01:01:49.635Z",
38
38
  "size": 20525,
39
- "path": "../public/assets/CompareDrawer-DB2KggLE.js"
39
+ "path": "../public/assets/CompareDrawer-DZHbDuyp.js"
40
40
  },
41
- "/assets/index-D93dCgAQ.js": {
41
+ "/assets/index-Bc0XyWoF.js": {
42
42
  "type": "text/javascript; charset=utf-8",
43
- "etag": '"9f-2Cgmy7sqFHRl4qxjS8qj2OsjKTA"',
44
- "mtime": "2026-07-13T10:47:31.259Z",
43
+ "etag": '"265-lH54l1mwZPUbogI6QXb6hGpmfcA"',
44
+ "mtime": "2026-07-14T01:01:49.635Z",
45
+ "size": 613,
46
+ "path": "../public/assets/index-Bc0XyWoF.js"
47
+ },
48
+ "/assets/index-CwydCGrP.js": {
49
+ "type": "text/javascript; charset=utf-8",
50
+ "etag": '"9f-0T9KNBmAhoGurxzu1gEow9GZqOs"',
51
+ "mtime": "2026-07-14T01:01:49.633Z",
45
52
  "size": 159,
46
- "path": "../public/assets/index-D93dCgAQ.js"
53
+ "path": "../public/assets/index-CwydCGrP.js"
47
54
  },
48
- "/assets/index-FV5sxqx3.js": {
55
+ "/assets/index-BLp02enl.js": {
49
56
  "type": "text/javascript; charset=utf-8",
50
- "etag": '"1cd2d-W9uBDL5Yg1YwdB87fKetBtRGcJ0"',
51
- "mtime": "2026-07-13T10:47:31.259Z",
57
+ "etag": '"1cd2d-MXnvbvlfg1SmuTv/wU9jNqHEXaE"',
58
+ "mtime": "2026-07-14T01:01:49.635Z",
52
59
  "size": 118061,
53
- "path": "../public/assets/index-FV5sxqx3.js"
60
+ "path": "../public/assets/index-BLp02enl.js"
54
61
  },
55
- "/assets/index-BpBUqdAB.js": {
62
+ "/assets/index-D17dU-mX.css": {
63
+ "type": "text/css; charset=utf-8",
64
+ "etag": '"2a4f0-2SuF12/r8Z0Yq4rQKaI4iHNWq5k"',
65
+ "mtime": "2026-07-14T01:01:49.633Z",
66
+ "size": 173296,
67
+ "path": "../public/assets/index-D17dU-mX.css"
68
+ },
69
+ "/assets/json-viewer-CeXNLNRL.js": {
56
70
  "type": "text/javascript; charset=utf-8",
57
- "etag": '"265-45l8J5XIE6XEr8Wi3KpRkFeoh5I"',
58
- "mtime": "2026-07-13T10:47:31.259Z",
59
- "size": 613,
60
- "path": "../public/assets/index-BpBUqdAB.js"
71
+ "etag": '"1ae7-d/pcvmaZLfto5ppJg7aKcb2zGZc"',
72
+ "mtime": "2026-07-14T01:01:49.635Z",
73
+ "size": 6887,
74
+ "path": "../public/assets/json-viewer-CeXNLNRL.js"
61
75
  },
62
76
  "/assets/minimax-BPMzvuL-.jpeg": {
63
77
  "type": "image/jpeg",
64
78
  "etag": '"1b06-IwivU89ko5UTMUM1/t7hn4sQK9A"',
65
- "mtime": "2026-07-13T10:47:31.259Z",
79
+ "mtime": "2026-07-14T01:01:49.633Z",
66
80
  "size": 6918,
67
81
  "path": "../public/assets/minimax-BPMzvuL-.jpeg"
68
82
  },
69
- "/assets/index-VUsF4nhf.js": {
83
+ "/assets/jszip.min-D_dylbU1.js": {
70
84
  "type": "text/javascript; charset=utf-8",
71
- "etag": '"5c73b-7JUqFxaIlB3ZdS/v36ktSl2BJw4"',
72
- "mtime": "2026-07-13T10:47:31.259Z",
73
- "size": 378683,
74
- "path": "../public/assets/index-VUsF4nhf.js"
85
+ "etag": '"17b79-AOBNvxAriHGIocx5cpU01iUS1lA"',
86
+ "mtime": "2026-07-14T01:01:49.635Z",
87
+ "size": 97145,
88
+ "path": "../public/assets/jszip.min-D_dylbU1.js"
75
89
  },
76
- "/assets/jszip.min-DnSIoTix.js": {
90
+ "/assets/index-YFDJS5sG.js": {
77
91
  "type": "text/javascript; charset=utf-8",
78
- "etag": '"17b79-ZUSlppgiQp1e7tXQ/88J/xbGjvY"',
79
- "mtime": "2026-07-13T10:47:31.259Z",
80
- "size": 97145,
81
- "path": "../public/assets/jszip.min-DnSIoTix.js"
92
+ "etag": '"5c73b-alFb4UFNlefRj8DjJuVx3Ott1OI"',
93
+ "mtime": "2026-07-14T01:01:49.633Z",
94
+ "size": 378683,
95
+ "path": "../public/assets/index-YFDJS5sG.js"
82
96
  },
83
97
  "/assets/qwen-mMn3f5ul.webp": {
84
98
  "type": "image/webp",
85
99
  "etag": '"1b1a-Tw+b2ynhJQl9WztaK3ajSL85yaU"',
86
- "mtime": "2026-07-13T10:47:31.259Z",
100
+ "mtime": "2026-07-14T01:01:49.633Z",
87
101
  "size": 6938,
88
102
  "path": "../public/assets/qwen-mMn3f5ul.webp"
89
103
  },
90
- "/assets/RequestAnatomy-BcPjcHLX.js": {
104
+ "/assets/ReplayDialog-C9QR9m_y.js": {
91
105
  "type": "text/javascript; charset=utf-8",
92
- "etag": '"43f3-02dtTm4Lalgly1NP+G3bQZNTIEU"',
93
- "mtime": "2026-07-13T10:47:31.259Z",
94
- "size": 17395,
95
- "path": "../public/assets/RequestAnatomy-BcPjcHLX.js"
106
+ "etag": '"3348-M34Is2Uox1yqQKdog5qYop0WggA"',
107
+ "mtime": "2026-07-14T01:01:49.635Z",
108
+ "size": 13128,
109
+ "path": "../public/assets/ReplayDialog-C9QR9m_y.js"
96
110
  },
97
- "/assets/json-viewer-WctIbAh_.js": {
111
+ "/assets/RequestAnatomy-CUY83fwY.js": {
98
112
  "type": "text/javascript; charset=utf-8",
99
- "etag": '"1ae7-8Y8Lwcw6ENvgS7u9jjAzjF8yQno"',
100
- "mtime": "2026-07-13T10:47:31.259Z",
101
- "size": 6887,
102
- "path": "../public/assets/json-viewer-WctIbAh_.js"
103
- },
104
- "/assets/index-hyQHZeQI.css": {
105
- "type": "text/css; charset=utf-8",
106
- "etag": '"2a3f8-IEHXdaT77oEfGYjOkxtRShKivC4"',
107
- "mtime": "2026-07-13T10:47:31.259Z",
108
- "size": 173048,
109
- "path": "../public/assets/index-hyQHZeQI.css"
113
+ "etag": '"43f3-tnTW5EQ7kPGububOw3B5BjdTIGo"',
114
+ "mtime": "2026-07-14T01:01:49.635Z",
115
+ "size": 17395,
116
+ "path": "../public/assets/RequestAnatomy-CUY83fwY.js"
110
117
  },
111
- "/assets/ReplayDialog-3Pl7EKjp.js": {
118
+ "/assets/ResponseView-B_9r-cyE.js": {
112
119
  "type": "text/javascript; charset=utf-8",
113
- "etag": '"3348-iqJhiWvskRPxGy8RhiA8Nt27AFg"',
114
- "mtime": "2026-07-13T10:47:31.259Z",
115
- "size": 13128,
116
- "path": "../public/assets/ReplayDialog-3Pl7EKjp.js"
120
+ "etag": '"44d2-5EaoLi52GGaIATd53iYsq0TWXL0"',
121
+ "mtime": "2026-07-14T01:01:49.635Z",
122
+ "size": 17618,
123
+ "path": "../public/assets/ResponseView-B_9r-cyE.js"
117
124
  },
118
- "/assets/StreamingChunkSequence-LkYJWM1A.js": {
125
+ "/assets/StreamingChunkSequence--jQP7nh3.js": {
119
126
  "type": "text/javascript; charset=utf-8",
120
- "etag": '"e90-SOZV+Bcn83aLa4VgOxSHKugV6bQ"',
121
- "mtime": "2026-07-13T10:47:31.259Z",
127
+ "etag": '"e90-E1lbdmISlVBigdAqnj2N2JCBy+M"',
128
+ "mtime": "2026-07-14T01:01:49.635Z",
122
129
  "size": 3728,
123
- "path": "../public/assets/StreamingChunkSequence-LkYJWM1A.js"
124
- },
125
- "/assets/_sessionId-C0CA68QV.js": {
126
- "type": "text/javascript; charset=utf-8",
127
- "etag": '"36d-LYtbJmIdKM+cDe90XVDOgP7/MAM"',
128
- "mtime": "2026-07-13T10:47:31.259Z",
129
- "size": 877,
130
- "path": "../public/assets/_sessionId-C0CA68QV.js"
130
+ "path": "../public/assets/StreamingChunkSequence--jQP7nh3.js"
131
131
  },
132
132
  "/assets/zhipuai-BPNAnxo-.svg": {
133
133
  "type": "image/svg+xml",
134
134
  "etag": '"2bf8-hNaLCTi89nOFCsIIfWpP/jrfo0s"',
135
- "mtime": "2026-07-13T10:47:31.259Z",
135
+ "mtime": "2026-07-14T01:01:49.633Z",
136
136
  "size": 11256,
137
137
  "path": "../public/assets/zhipuai-BPNAnxo-.svg"
138
138
  },
139
- "/assets/ResponseView-DOx51wV3.js": {
139
+ "/assets/_sessionId-CsSBVKu4.js": {
140
140
  "type": "text/javascript; charset=utf-8",
141
- "etag": '"44d2-bGLmkapctcEQ4R5OCL+HDoXIQZo"',
142
- "mtime": "2026-07-13T10:47:31.259Z",
143
- "size": 17618,
144
- "path": "../public/assets/ResponseView-DOx51wV3.js"
141
+ "etag": '"a2-+PHyZdGw1Is7q5NAr6zh9Hbfy7c"',
142
+ "mtime": "2026-07-14T01:01:49.635Z",
143
+ "size": 162,
144
+ "path": "../public/assets/_sessionId-CsSBVKu4.js"
145
145
  },
146
- "/assets/_sessionId-BSg32vC6.js": {
146
+ "/assets/_sessionId-BknJcfp0.js": {
147
147
  "type": "text/javascript; charset=utf-8",
148
- "etag": '"a2-0iEGyiTy0huWc2qQkaL259X8XRM"',
149
- "mtime": "2026-07-13T10:47:31.259Z",
150
- "size": 162,
151
- "path": "../public/assets/_sessionId-BSg32vC6.js"
148
+ "etag": '"36d-KkPNGxtgQDNdg7TEnZ8e5/U2ARI"',
149
+ "mtime": "2026-07-14T01:01:49.635Z",
150
+ "size": 877,
151
+ "path": "../public/assets/_sessionId-BknJcfp0.js"
152
152
  },
153
- "/assets/InspectorPet-CfwDw6kD.js": {
153
+ "/assets/InspectorPet-CcB16ERo.js": {
154
154
  "type": "text/javascript; charset=utf-8",
155
- "etag": '"818f0-1onMqGupoLPaPaWYQIqjZMuCrpE"',
156
- "mtime": "2026-07-13T10:47:31.259Z",
155
+ "etag": '"818f0-KENC7VMmZjtuh+QNH8Z9Y7PHw2E"',
156
+ "mtime": "2026-07-14T01:01:49.635Z",
157
157
  "size": 530672,
158
- "path": "../public/assets/InspectorPet-CfwDw6kD.js"
158
+ "path": "../public/assets/InspectorPet-CcB16ERo.js"
159
159
  },
160
- "/assets/ProxyViewerContainer-PcrO96_F.js": {
160
+ "/assets/ProxyViewerContainer-CeL2S9LL.js": {
161
161
  "type": "text/javascript; charset=utf-8",
162
- "etag": '"a409b-H3FWsPUin57mm2BZ8sKTuwjvVdo"',
163
- "mtime": "2026-07-13T10:47:31.259Z",
164
- "size": 671899,
165
- "path": "../public/assets/ProxyViewerContainer-PcrO96_F.js"
162
+ "etag": '"a451b-dj7Fssc5GSSmXlDZHU0ajwIvSzM"',
163
+ "mtime": "2026-07-14T01:01:49.635Z",
164
+ "size": 673051,
165
+ "path": "../public/assets/ProxyViewerContainer-CeL2S9LL.js"
166
166
  }
167
167
  };
168
168
  function readAsset(id) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tonyclaw/agent-inspector",
3
- "version": "3.0.31",
3
+ "version": "3.0.33",
4
4
  "type": "module",
5
5
  "description": "Agent observability and knowledge capture layer for AI coding tools.",
6
6
  "license": "MIT",
@@ -4,6 +4,7 @@ import {
4
4
  buildPiAgentHistory,
5
5
  createEmptyPiAgentConversation,
6
6
  normalizePiAgentResponse,
7
+ PI_AGENT_SCOPE_PILLS,
7
8
  PI_AGENT_STARTERS,
8
9
  type PiAgentConversationMessage,
9
10
  type PiAgentEvidenceView,
@@ -269,7 +270,7 @@ export function PiAgentPanel({ currentSessionId, logCount }: PiAgentPanelProps):
269
270
  <div className="min-w-0 flex-1">
270
271
  <div className="text-xs font-semibold text-foreground">Pi Agent</div>
271
272
  <div className="text-[11px] text-muted-foreground">
272
- {currentSessionId === null ? "Inspector-wide ChatBI" : "Session ChatBI"}
273
+ {currentSessionId === null ? "Ask saved Inspector data" : "Ask this session"}
273
274
  </div>
274
275
  </div>
275
276
  <button
@@ -282,6 +283,29 @@ export function PiAgentPanel({ currentSessionId, logCount }: PiAgentPanelProps):
282
283
  </button>
283
284
  </div>
284
285
 
286
+ {conversation.messages.length === 0 && (
287
+ <div className="mt-3 rounded-md bg-black/[0.18] px-3 py-2 shadow-[inset_0_0_0_1px_rgba(255,255,255,0.045)]">
288
+ <p className="text-[11px] leading-5 text-muted-foreground">
289
+ ChatBI for Inspector memory: Pi searches saved traffic, sessions, tools, Provider
290
+ signals, alerts, runs, groups, and knowledge candidates, then answers with linked
291
+ evidence.
292
+ </p>
293
+ <div className="mt-2 grid gap-1.5">
294
+ {PI_AGENT_SCOPE_PILLS.map((pill) => (
295
+ <div
296
+ key={pill.id}
297
+ className="rounded-sm bg-cyan-400/[0.06] px-2 py-1.5 shadow-[inset_0_0_0_1px_rgba(103,232,249,0.08)]"
298
+ >
299
+ <div className="text-[10px] font-medium text-cyan-50">{pill.label}</div>
300
+ <div className="mt-0.5 text-[9px] leading-4 text-muted-foreground">
301
+ {pill.description}
302
+ </div>
303
+ </div>
304
+ ))}
305
+ </div>
306
+ </div>
307
+ )}
308
+
285
309
  <div className="mt-3 grid grid-cols-2 gap-2">
286
310
  <Select value={providerId} onValueChange={handleProviderChange}>
287
311
  <SelectTrigger className="h-8 border-0 bg-black/25 text-xs shadow-[inset_0_0_0_1px_rgba(255,255,255,0.06)]">
@@ -61,6 +61,30 @@ export type PiAgentStarter = {
61
61
  question: string;
62
62
  };
63
63
 
64
+ export type PiAgentScopePill = {
65
+ id: "saved-data" | "root-cause" | "evidence";
66
+ label: string;
67
+ description: string;
68
+ };
69
+
70
+ export const PI_AGENT_SCOPE_PILLS: readonly PiAgentScopePill[] = [
71
+ {
72
+ id: "saved-data",
73
+ label: "Saved Inspector data",
74
+ description: "requests, responses, sessions, tools, alerts, runs, groups, and knowledge",
75
+ },
76
+ {
77
+ id: "root-cause",
78
+ label: "Root-cause hints",
79
+ description: "failures, hangs, slow paths, token spikes, and provider drift",
80
+ },
81
+ {
82
+ id: "evidence",
83
+ label: "Evidence links",
84
+ description: "matched logs and metrics you can jump back into",
85
+ },
86
+ ];
87
+
64
88
  export const PI_AGENT_STARTERS: readonly PiAgentStarter[] = [
65
89
  {
66
90
  id: "reliability",