@tonyclaw/agent-inspector 2.0.32 → 2.0.34
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/.output/nitro.json +1 -1
- package/.output/public/assets/{CompareDrawer-Dgi0hhg5.js → CompareDrawer-s5T7W5_w.js} +1 -1
- package/.output/public/assets/{ProxyViewerContainer-4dG0nLRp.js → ProxyViewerContainer-DfGfP9VH.js} +22 -22
- package/.output/public/assets/{ReplayDialog-BL6BwDuI.js → ReplayDialog-DIxp-ccL.js} +1 -1
- package/.output/public/assets/{RequestAnatomy-DZMmiIiD.js → RequestAnatomy-tfdpiRgw.js} +1 -1
- package/.output/public/assets/{ResponseView-DJLOiTYq.js → ResponseView-DMZp3aLW.js} +1 -1
- package/.output/public/assets/{StreamingChunkSequence--SxZ5cxc.js → StreamingChunkSequence-xXzLVw7m.js} +1 -1
- package/.output/public/assets/_sessionId-Dfxcty_X.js +1 -0
- package/.output/public/assets/index-C_8PFAm2.css +1 -0
- package/.output/public/assets/index-DztLtWHr.js +1 -0
- package/.output/public/assets/{main-CbRIHhJ5.js → main-DHq8ZD95.js} +2 -2
- package/.output/server/_libs/ajv.mjs +827 -6191
- package/.output/server/_libs/cookie-es.mjs +7 -21
- package/.output/server/_libs/h3-v2.mjs +18 -7
- package/.output/server/_libs/json-schema-traverse.mjs +1 -90
- package/.output/server/_libs/seroval-plugins.mjs +5 -5
- package/.output/server/_libs/seroval.mjs +606 -596
- package/.output/server/_libs/srvx.mjs +10 -5
- package/.output/server/_libs/tanstack__history.mjs +55 -38
- package/.output/server/_libs/tanstack__router-core.mjs +4366 -4075
- package/.output/server/{_sessionId-DNfumR8F.mjs → _sessionId-Bow47H8m.mjs} +4 -4
- package/.output/server/_ssr/{CompareDrawer-CzgjhnUa.mjs → CompareDrawer-Ctn56NJX.mjs} +4 -4
- package/.output/server/_ssr/{ProxyViewerContainer-BqOcZ7en.mjs → ProxyViewerContainer-DgPsLI2Q.mjs} +131 -122
- package/.output/server/_ssr/{ReplayDialog-DmEknIL8.mjs → ReplayDialog-BD9_rksD.mjs} +5 -5
- package/.output/server/_ssr/{RequestAnatomy-DNoiMudY.mjs → RequestAnatomy-BJyzD8pO.mjs} +4 -4
- package/.output/server/_ssr/{ResponseView-C_cRrleT.mjs → ResponseView-lebGC0QX.mjs} +4 -4
- package/.output/server/_ssr/{StreamingChunkSequence-DHZ9Q_dL.mjs → StreamingChunkSequence-BcOLywzn.mjs} +4 -4
- package/.output/server/_ssr/{index-coYS9XyS.mjs → index-CgJOsItz.mjs} +4 -4
- package/.output/server/_ssr/index.mjs +20 -11
- package/.output/server/_ssr/{router-DUb5lKw1.mjs → router-BMv4lGQi.mjs} +5193 -5269
- package/.output/server/{_tanstack-start-manifest_v-xcG1o8Vt.mjs → _tanstack-start-manifest_v-D2LyT1-l.mjs} +1 -1
- package/.output/server/index.mjs +68 -68
- package/README.md +23 -0
- package/package.json +6 -2
- package/src/components/groups/GroupsDialog.tsx +132 -121
- package/src/lib/groupContract.ts +0 -2
- package/src/lib/runContract.ts +0 -3
- package/src/mcp/server.ts +101 -164
- package/src/mcp/toolHandlers.ts +80 -177
- package/src/routes/api/groups.$groupId.evidence.ts +14 -33
- package/src/routes/api/groups.$groupId.sessions.ts +9 -9
- package/src/routes/api/groups.$groupId.ts +19 -13
- package/src/routes/api/groups.ts +3 -3
- package/src/routes/api/runs.$runId.evidence.ts +14 -21
- package/src/routes/api/runs.$runId.ts +9 -9
- package/src/routes/api/runs.ts +9 -5
- package/src/services/groups.ts +110 -0
- package/src/services/result.ts +17 -0
- package/src/services/runs.ts +76 -0
- package/.output/public/assets/_sessionId-C4z6gu9i.js +0 -1
- package/.output/public/assets/index-Drpb2qR5.js +0 -1
- package/.output/public/assets/index-fUUi8iQF.css +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const tsrStartManifest = () => ({ "routes": { "__root__": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/__root.tsx", "children": ["/", "/api/config", "/api/groups", "/api/health", "/api/logs", "/api/mcp", "/api/models", "/api/providers", "/api/runs", "/api/sessions", "/proxy/$", "/session/$sessionId", "/api/knowledge/candidates", "/api/knowledge/project-context", "/api/knowledge/search", "/api/knowledge/sessions/$sessionId/candidates"], "preloads": ["/assets/main-
|
|
1
|
+
const tsrStartManifest = () => ({ "routes": { "__root__": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/__root.tsx", "children": ["/", "/api/config", "/api/groups", "/api/health", "/api/logs", "/api/mcp", "/api/models", "/api/providers", "/api/runs", "/api/sessions", "/proxy/$", "/session/$sessionId", "/api/knowledge/candidates", "/api/knowledge/project-context", "/api/knowledge/search", "/api/knowledge/sessions/$sessionId/candidates"], "preloads": ["/assets/main-DHq8ZD95.js"], "assets": [] }, "/": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/index.tsx", "assets": [], "preloads": ["/assets/index-DztLtWHr.js", "/assets/ProxyViewerContainer-DfGfP9VH.js"] }, "/api/config": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/config.ts", "children": ["/api/config/paths"] }, "/api/groups": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/groups.ts", "children": ["/api/groups/$groupId"] }, "/api/health": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/health.ts" }, "/api/logs": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/logs.ts", "children": ["/api/logs/$id", "/api/logs/stream"] }, "/api/mcp": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/mcp.ts" }, "/api/models": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/models.ts" }, "/api/providers": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/providers.ts", "children": ["/api/providers/$providerId", "/api/providers/export", "/api/providers/import", "/api/providers/scan"] }, "/api/runs": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/runs.ts", "children": ["/api/runs/$runId"] }, "/api/sessions": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/sessions.ts" }, "/proxy/$": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/proxy/$.ts" }, "/session/$sessionId": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/session/$sessionId.tsx", "assets": [], "preloads": ["/assets/_sessionId-Dfxcty_X.js", "/assets/ProxyViewerContainer-DfGfP9VH.js"] }, "/api/config/paths": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/config.paths.ts" }, "/api/groups/$groupId": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/groups.$groupId.ts", "children": ["/api/groups/$groupId/evidence", "/api/groups/$groupId/sessions"] }, "/api/knowledge/candidates": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/knowledge.candidates.ts", "children": ["/api/knowledge/candidates/$candidateId"] }, "/api/knowledge/project-context": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/knowledge.project-context.ts" }, "/api/knowledge/search": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/knowledge.search.ts" }, "/api/logs/$id": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/logs.$id.ts", "children": ["/api/logs/$id/chunks", "/api/logs/$id/replay"] }, "/api/logs/stream": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/logs.stream.ts" }, "/api/providers/$providerId": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/providers.$providerId.ts", "children": ["/api/providers/$providerId/model-metadata", "/api/providers/$providerId/test"] }, "/api/providers/export": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/providers.export.ts" }, "/api/providers/import": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/providers.import.ts" }, "/api/providers/scan": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/providers.scan.ts" }, "/api/runs/$runId": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/runs.$runId.ts", "children": ["/api/runs/$runId/evidence"] }, "/api/groups/$groupId/evidence": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/groups.$groupId.evidence.ts" }, "/api/groups/$groupId/sessions": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/groups.$groupId.sessions.ts" }, "/api/knowledge/candidates/$candidateId": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/knowledge.candidates.$candidateId.ts", "children": ["/api/knowledge/candidates/$candidateId/promote"] }, "/api/logs/$id/chunks": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/logs.$id.chunks.ts" }, "/api/logs/$id/replay": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/logs.$id.replay.ts" }, "/api/providers/$providerId/model-metadata": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/providers.$providerId.model-metadata.ts" }, "/api/providers/$providerId/test": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/providers.$providerId.test.ts", "children": ["/api/providers/$providerId/test/log"] }, "/api/runs/$runId/evidence": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/runs.$runId.evidence.ts" }, "/api/knowledge/candidates/$candidateId/promote": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/knowledge.candidates.$candidateId.promote.ts" }, "/api/knowledge/sessions/$sessionId/candidates": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/knowledge.sessions.$sessionId.candidates.ts" }, "/api/providers/$providerId/test/log": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/providers.$providerId.test.log.ts" } }, "clientEntry": "/assets/main-DHq8ZD95.js" });
|
|
2
2
|
export {
|
|
3
3
|
tsrStartManifest
|
|
4
4
|
};
|
package/.output/server/index.mjs
CHANGED
|
@@ -35,103 +35,103 @@ const headers = ((m) => function headersRouteRule(event) {
|
|
|
35
35
|
}
|
|
36
36
|
});
|
|
37
37
|
const assets = {
|
|
38
|
-
"/assets/CompareDrawer-Dgi0hhg5.js": {
|
|
39
|
-
"type": "text/javascript; charset=utf-8",
|
|
40
|
-
"etag": '"49fe-xiEjAxziUBLp2U+4MyMFdcyRLt4"',
|
|
41
|
-
"mtime": "2026-07-01T02:41:45.885Z",
|
|
42
|
-
"size": 18942,
|
|
43
|
-
"path": "../public/assets/CompareDrawer-Dgi0hhg5.js"
|
|
44
|
-
},
|
|
45
|
-
"/assets/minimax-BPMzvuL-.jpeg": {
|
|
46
|
-
"type": "image/jpeg",
|
|
47
|
-
"etag": '"1b06-IwivU89ko5UTMUM1/t7hn4sQK9A"',
|
|
48
|
-
"mtime": "2026-07-01T02:41:45.885Z",
|
|
49
|
-
"size": 6918,
|
|
50
|
-
"path": "../public/assets/minimax-BPMzvuL-.jpeg"
|
|
51
|
-
},
|
|
52
38
|
"/assets/alibaba-TTwafVwX.svg": {
|
|
53
39
|
"type": "image/svg+xml",
|
|
54
40
|
"etag": '"171b-6dyV5K8QjiaY35sN9qNprh9zDIs"',
|
|
55
|
-
"mtime": "2026-07-
|
|
41
|
+
"mtime": "2026-07-01T04:23:14.476Z",
|
|
56
42
|
"size": 5915,
|
|
57
43
|
"path": "../public/assets/alibaba-TTwafVwX.svg"
|
|
58
44
|
},
|
|
59
|
-
"/assets/
|
|
60
|
-
"type": "text/css; charset=utf-8",
|
|
61
|
-
"etag": '"1ab50-FHdw0vZwiZuyNgDVyYXJw1ED+1c"',
|
|
62
|
-
"mtime": "2026-07-01T02:41:45.885Z",
|
|
63
|
-
"size": 109392,
|
|
64
|
-
"path": "../public/assets/index-fUUi8iQF.css"
|
|
65
|
-
},
|
|
66
|
-
"/assets/main-CbRIHhJ5.js": {
|
|
45
|
+
"/assets/CompareDrawer-s5T7W5_w.js": {
|
|
67
46
|
"type": "text/javascript; charset=utf-8",
|
|
68
|
-
"etag": '"
|
|
69
|
-
"mtime": "2026-07-
|
|
70
|
-
"size":
|
|
71
|
-
"path": "../public/assets/
|
|
47
|
+
"etag": '"49fe-oHkdb2VBEz+0KprLQlfEGW+A03I"',
|
|
48
|
+
"mtime": "2026-07-01T04:23:14.476Z",
|
|
49
|
+
"size": 18942,
|
|
50
|
+
"path": "../public/assets/CompareDrawer-s5T7W5_w.js"
|
|
72
51
|
},
|
|
73
|
-
"/assets/
|
|
74
|
-
"type": "text/
|
|
75
|
-
"etag": '"
|
|
76
|
-
"mtime": "2026-07-
|
|
77
|
-
"size":
|
|
78
|
-
"path": "../public/assets/
|
|
52
|
+
"/assets/index-C_8PFAm2.css": {
|
|
53
|
+
"type": "text/css; charset=utf-8",
|
|
54
|
+
"etag": '"1ac9e-HNLu+/ctAdlujlPfCr3RCZb1vrw"',
|
|
55
|
+
"mtime": "2026-07-01T04:23:14.476Z",
|
|
56
|
+
"size": 109726,
|
|
57
|
+
"path": "../public/assets/index-C_8PFAm2.css"
|
|
79
58
|
},
|
|
80
59
|
"/assets/qwen-CONDcHqt.png": {
|
|
81
60
|
"type": "image/png",
|
|
82
61
|
"etag": '"572c3-cdJAPaHdOvFCGzuaQjagdgOu6XE"',
|
|
83
|
-
"mtime": "2026-07-
|
|
62
|
+
"mtime": "2026-07-01T04:23:14.476Z",
|
|
84
63
|
"size": 357059,
|
|
85
64
|
"path": "../public/assets/qwen-CONDcHqt.png"
|
|
86
65
|
},
|
|
87
|
-
"/assets/
|
|
66
|
+
"/assets/ReplayDialog-DIxp-ccL.js": {
|
|
88
67
|
"type": "text/javascript; charset=utf-8",
|
|
89
|
-
"etag": '"
|
|
90
|
-
"mtime": "2026-07-
|
|
91
|
-
"size":
|
|
92
|
-
"path": "../public/assets/
|
|
68
|
+
"etag": '"318c-FkArmTYHetSE8PEKlgFl0NkdBmU"',
|
|
69
|
+
"mtime": "2026-07-01T04:23:14.476Z",
|
|
70
|
+
"size": 12684,
|
|
71
|
+
"path": "../public/assets/ReplayDialog-DIxp-ccL.js"
|
|
93
72
|
},
|
|
94
|
-
"/assets/
|
|
73
|
+
"/assets/minimax-BPMzvuL-.jpeg": {
|
|
74
|
+
"type": "image/jpeg",
|
|
75
|
+
"etag": '"1b06-IwivU89ko5UTMUM1/t7hn4sQK9A"',
|
|
76
|
+
"mtime": "2026-07-01T04:23:14.476Z",
|
|
77
|
+
"size": 6918,
|
|
78
|
+
"path": "../public/assets/minimax-BPMzvuL-.jpeg"
|
|
79
|
+
},
|
|
80
|
+
"/assets/index-DztLtWHr.js": {
|
|
95
81
|
"type": "text/javascript; charset=utf-8",
|
|
96
|
-
"etag": '"
|
|
97
|
-
"mtime": "2026-07-
|
|
98
|
-
"size":
|
|
99
|
-
"path": "../public/assets/
|
|
82
|
+
"etag": '"74-/Y4bzwSZHTFjGEhoEi+eZFYE6sQ"',
|
|
83
|
+
"mtime": "2026-07-01T04:23:14.476Z",
|
|
84
|
+
"size": 116,
|
|
85
|
+
"path": "../public/assets/index-DztLtWHr.js"
|
|
100
86
|
},
|
|
101
|
-
"/assets/
|
|
87
|
+
"/assets/RequestAnatomy-tfdpiRgw.js": {
|
|
102
88
|
"type": "text/javascript; charset=utf-8",
|
|
103
|
-
"etag": '"
|
|
104
|
-
"mtime": "2026-07-
|
|
105
|
-
"size":
|
|
106
|
-
"path": "../public/assets/
|
|
89
|
+
"etag": '"4485-NlzsohxAOR6W6ymlvdljP+oS2JE"',
|
|
90
|
+
"mtime": "2026-07-01T04:23:14.477Z",
|
|
91
|
+
"size": 17541,
|
|
92
|
+
"path": "../public/assets/RequestAnatomy-tfdpiRgw.js"
|
|
107
93
|
},
|
|
108
|
-
"/assets/StreamingChunkSequence
|
|
94
|
+
"/assets/StreamingChunkSequence-xXzLVw7m.js": {
|
|
109
95
|
"type": "text/javascript; charset=utf-8",
|
|
110
|
-
"etag": '"d57-
|
|
111
|
-
"mtime": "2026-07-
|
|
96
|
+
"etag": '"d57-NNAYu93L4OG1D0XRt5goWl3T+xQ"',
|
|
97
|
+
"mtime": "2026-07-01T04:23:14.477Z",
|
|
112
98
|
"size": 3415,
|
|
113
|
-
"path": "../public/assets/StreamingChunkSequence
|
|
99
|
+
"path": "../public/assets/StreamingChunkSequence-xXzLVw7m.js"
|
|
114
100
|
},
|
|
115
|
-
"/assets/
|
|
101
|
+
"/assets/ResponseView-DMZp3aLW.js": {
|
|
116
102
|
"type": "text/javascript; charset=utf-8",
|
|
117
|
-
"etag": '"
|
|
118
|
-
"mtime": "2026-07-
|
|
119
|
-
"size":
|
|
120
|
-
"path": "../public/assets/
|
|
103
|
+
"etag": '"30d0-996y/AlkOJrAiyiM5s0kiAOFWvo"',
|
|
104
|
+
"mtime": "2026-07-01T04:23:14.477Z",
|
|
105
|
+
"size": 12496,
|
|
106
|
+
"path": "../public/assets/ResponseView-DMZp3aLW.js"
|
|
107
|
+
},
|
|
108
|
+
"/assets/main-DHq8ZD95.js": {
|
|
109
|
+
"type": "text/javascript; charset=utf-8",
|
|
110
|
+
"etag": '"51726-26dSOtFsZbr+iQhmwf/Q8z434Fg"',
|
|
111
|
+
"mtime": "2026-07-01T04:23:14.476Z",
|
|
112
|
+
"size": 333606,
|
|
113
|
+
"path": "../public/assets/main-DHq8ZD95.js"
|
|
121
114
|
},
|
|
122
115
|
"/assets/zhipuai-BPNAnxo-.svg": {
|
|
123
116
|
"type": "image/svg+xml",
|
|
124
117
|
"etag": '"2bf8-hNaLCTi89nOFCsIIfWpP/jrfo0s"',
|
|
125
|
-
"mtime": "2026-07-
|
|
118
|
+
"mtime": "2026-07-01T04:23:14.476Z",
|
|
126
119
|
"size": 11256,
|
|
127
120
|
"path": "../public/assets/zhipuai-BPNAnxo-.svg"
|
|
128
121
|
},
|
|
129
|
-
"/assets/
|
|
122
|
+
"/assets/_sessionId-Dfxcty_X.js": {
|
|
123
|
+
"type": "text/javascript; charset=utf-8",
|
|
124
|
+
"etag": '"d2-sKYKR5qLwLwuBh5ylRNXNX6wiq0"',
|
|
125
|
+
"mtime": "2026-07-01T04:23:14.476Z",
|
|
126
|
+
"size": 210,
|
|
127
|
+
"path": "../public/assets/_sessionId-Dfxcty_X.js"
|
|
128
|
+
},
|
|
129
|
+
"/assets/ProxyViewerContainer-DfGfP9VH.js": {
|
|
130
130
|
"type": "text/javascript; charset=utf-8",
|
|
131
|
-
"etag": '"
|
|
132
|
-
"mtime": "2026-07-
|
|
133
|
-
"size":
|
|
134
|
-
"path": "../public/assets/ProxyViewerContainer-
|
|
131
|
+
"etag": '"b565e-C35b5xm64qdL4d+qChRMrg4jp+c"',
|
|
132
|
+
"mtime": "2026-07-01T04:23:14.477Z",
|
|
133
|
+
"size": 743006,
|
|
134
|
+
"path": "../public/assets/ProxyViewerContainer-DfGfP9VH.js"
|
|
135
135
|
}
|
|
136
136
|
};
|
|
137
137
|
function readAsset(id) {
|
|
@@ -159,7 +159,7 @@ const EncodingMap = {
|
|
|
159
159
|
br: ".br",
|
|
160
160
|
zstd: ".zst"
|
|
161
161
|
};
|
|
162
|
-
const
|
|
162
|
+
const _bTSMt_ = defineHandler((event) => {
|
|
163
163
|
if (event.req.method && !METHODS.has(event.req.method)) {
|
|
164
164
|
return;
|
|
165
165
|
}
|
|
@@ -231,15 +231,15 @@ const findRouteRules = /* @__PURE__ */ (() => {
|
|
|
231
231
|
return r;
|
|
232
232
|
};
|
|
233
233
|
})();
|
|
234
|
-
const
|
|
234
|
+
const _lazy_OSYDIZ = defineLazyEventHandler(() => import("./_chunks/ssr-renderer.mjs"));
|
|
235
235
|
const findRoute = /* @__PURE__ */ (() => {
|
|
236
|
-
const data = { route: "/**", handler:
|
|
236
|
+
const data = { route: "/**", handler: _lazy_OSYDIZ };
|
|
237
237
|
return ((_m, p) => {
|
|
238
238
|
return { data, params: { "_": p.slice(1) } };
|
|
239
239
|
});
|
|
240
240
|
})();
|
|
241
241
|
const globalMiddleware = [
|
|
242
|
-
toEventHandler(
|
|
242
|
+
toEventHandler(_bTSMt_)
|
|
243
243
|
].filter(Boolean);
|
|
244
244
|
const errorHandler$1 = (error, event) => {
|
|
245
245
|
const res = defaultHandler(error, event);
|
package/README.md
CHANGED
|
@@ -23,6 +23,18 @@ npm install -g @tonyclaw/agent-inspector
|
|
|
23
23
|
agent-inspector
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
+
Optional MCP-first companion package:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
npm install -g @tonyclaw/agent-inspector-mcp
|
|
30
|
+
agent-inspector-mcp doctor
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
`@tonyclaw/agent-inspector` runs the local UI, proxy, REST API, storage, and built-in
|
|
34
|
+
`/api/mcp` endpoint. `@tonyclaw/agent-inspector-mcp` is the enhancement package for
|
|
35
|
+
stdio-first MCP clients and setup automation; it bridges to the local Inspector endpoint without
|
|
36
|
+
moving your captured evidence out of the machine.
|
|
37
|
+
|
|
26
38
|
On Windows, the npm install step creates a local `agent-inspector.exe` runtime
|
|
27
39
|
from the user's installed Node.js runtime. The long-running server process
|
|
28
40
|
therefore appears in Task Manager as **Agent Inspector <version>** with the
|
|
@@ -151,6 +163,17 @@ Agent Inspector exposes MCP at:
|
|
|
151
163
|
http://localhost:25947/api/mcp
|
|
152
164
|
```
|
|
153
165
|
|
|
166
|
+
Coding agents can connect to this MCP surface directly over Streamable HTTP, or through the
|
|
167
|
+
companion stdio bridge:
|
|
168
|
+
|
|
169
|
+
```bash
|
|
170
|
+
agent-inspector-mcp stdio
|
|
171
|
+
agent-inspector-mcp config codex
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
The companion package is useful for MCP clients that expect a local command. Direct HTTP remains the
|
|
175
|
+
shortest path for clients that support Streamable HTTP.
|
|
176
|
+
|
|
154
177
|
Coding agents can use the MCP surface in three ways:
|
|
155
178
|
|
|
156
179
|
- Tools: perform actions such as listing logs, reading bounded log details, testing providers,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tonyclaw/agent-inspector",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.34",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Agent observability and knowledge capture layer for AI coding tools.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,6 +10,9 @@
|
|
|
10
10
|
"url": "git+https://gitcode.com/TonyClaw/agent-inspector.git"
|
|
11
11
|
},
|
|
12
12
|
"homepage": "https://gitcode.com/TonyClaw/agent-inspector#readme",
|
|
13
|
+
"workspaces": [
|
|
14
|
+
"packages/*"
|
|
15
|
+
],
|
|
13
16
|
"bugs": {
|
|
14
17
|
"url": "https://gitcode.com/TonyClaw/agent-inspector/issues"
|
|
15
18
|
},
|
|
@@ -47,8 +50,9 @@
|
|
|
47
50
|
"scripts": {
|
|
48
51
|
"dev": "vite dev",
|
|
49
52
|
"start": "node .output/cli.js",
|
|
50
|
-
"build": "vite build && bun build:cli",
|
|
53
|
+
"build": "vite build && bun build:cli && bun build:mcp",
|
|
51
54
|
"build:cli": "npx esbuild src/cli.ts --bundle --platform=node --target=node18 --format=esm --outfile=.output/cli.js",
|
|
55
|
+
"build:mcp": "npx esbuild packages/agent-inspector-mcp/src/cli.ts --bundle --platform=node --target=node20 --format=esm --outfile=packages/agent-inspector-mcp/dist/cli.js",
|
|
52
56
|
"postinstall": "node scripts/setup-windows-runtime.mjs && node scripts/setup-agent-skills.mjs",
|
|
53
57
|
"prepublishOnly": "npm run build",
|
|
54
58
|
"typecheck": "tsc --noEmit",
|