@tonyclaw/agent-inspector 2.0.13 → 2.0.14

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 (26) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/assets/{CompareDrawer-CrMyE23D.js → CompareDrawer-BR_kCD7Q.js} +1 -1
  3. package/.output/public/assets/{ProxyViewerContainer-BZuo0px3.js → ProxyViewerContainer-vc50msJj.js} +4 -4
  4. package/.output/public/assets/{ReplayDialog-TQGhDdTa.js → ReplayDialog-DsAYQBHZ.js} +1 -1
  5. package/.output/public/assets/{RequestAnatomy-D6kQYtfa.js → RequestAnatomy-B4uqyUt8.js} +1 -1
  6. package/.output/public/assets/{ResponseView-C6ybWuB8.js → ResponseView-C1vQL-fM.js} +1 -1
  7. package/.output/public/assets/{StreamingChunkSequence-Bvs59_-I.js → StreamingChunkSequence-BECMV-xf.js} +1 -1
  8. package/.output/public/assets/_sessionId-3bjQPmHl.js +1 -0
  9. package/.output/public/assets/index-_7blCOK0.js +1 -0
  10. package/.output/public/assets/{main-DvFSJlOd.js → main-D6wegveF.js} +2 -2
  11. package/.output/server/{_sessionId-DHYJxPb7.mjs → _sessionId-CeHY-3xa.mjs} +2 -2
  12. package/.output/server/_ssr/{CompareDrawer-meimDBeA.mjs → CompareDrawer-blWGaGiT.mjs} +2 -2
  13. package/.output/server/_ssr/{ProxyViewerContainer-Co-WKq6u.mjs → ProxyViewerContainer-Dt_9BuM9.mjs} +7 -7
  14. package/.output/server/_ssr/{ReplayDialog-cclcGyR9.mjs → ReplayDialog-mzsq7AjW.mjs} +3 -3
  15. package/.output/server/_ssr/{RequestAnatomy-to_rezzu.mjs → RequestAnatomy-CDAcXMBK.mjs} +2 -2
  16. package/.output/server/_ssr/{ResponseView-CZZI4IZd.mjs → ResponseView-B__xXCsZ.mjs} +2 -2
  17. package/.output/server/_ssr/{StreamingChunkSequence-BTF4xSYX.mjs → StreamingChunkSequence-BnJkTdXF.mjs} +2 -2
  18. package/.output/server/_ssr/{index-D2fpJFP5.mjs → index-B2-uF9XT.mjs} +2 -2
  19. package/.output/server/_ssr/index.mjs +2 -2
  20. package/.output/server/_ssr/{router-RDBAF-Iu.mjs → router-BpEBhA7S.mjs} +2 -2
  21. package/.output/server/{_tanstack-start-manifest_v-DB9sseoH.mjs → _tanstack-start-manifest_v-CHekFSzj.mjs} +1 -1
  22. package/.output/server/index.mjs +60 -60
  23. package/README.md +110 -0
  24. package/package.json +1 -1
  25. package/.output/public/assets/_sessionId-BNG_mnaH.js +0 -1
  26. package/.output/public/assets/index-BUxIwHhC.js +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/health", "/api/logs", "/api/mcp", "/api/models", "/api/providers", "/api/sessions", "/proxy/$", "/session/$sessionId", "/api/knowledge/candidates", "/api/knowledge/project-context", "/api/knowledge/search", "/api/knowledge/sessions/$sessionId/candidates"], "preloads": ["/assets/main-DvFSJlOd.js"], "assets": [] }, "/": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/index.tsx", "assets": [], "preloads": ["/assets/index-BUxIwHhC.js", "/assets/ProxyViewerContainer-BZuo0px3.js"] }, "/api/config": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/config.ts", "children": ["/api/config/paths"] }, "/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/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-BNG_mnaH.js", "/assets/ProxyViewerContainer-BZuo0px3.js"] }, "/api/config/paths": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/config.paths.ts" }, "/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/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/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-DvFSJlOd.js" });
1
+ const tsrStartManifest = () => ({ "routes": { "__root__": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/__root.tsx", "children": ["/", "/api/config", "/api/health", "/api/logs", "/api/mcp", "/api/models", "/api/providers", "/api/sessions", "/proxy/$", "/session/$sessionId", "/api/knowledge/candidates", "/api/knowledge/project-context", "/api/knowledge/search", "/api/knowledge/sessions/$sessionId/candidates"], "preloads": ["/assets/main-D6wegveF.js"], "assets": [] }, "/": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/index.tsx", "assets": [], "preloads": ["/assets/index-_7blCOK0.js", "/assets/ProxyViewerContainer-vc50msJj.js"] }, "/api/config": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/config.ts", "children": ["/api/config/paths"] }, "/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/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-3bjQPmHl.js", "/assets/ProxyViewerContainer-vc50msJj.js"] }, "/api/config/paths": { "filePath": "C:/Users/claw/workspace/agent-inspector/src/routes/api/config.paths.ts" }, "/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/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/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-D6wegveF.js" });
2
2
  export {
3
3
  tsrStartManifest
4
4
  };
@@ -35,103 +35,103 @@ const headers = ((m) => function headersRouteRule(event) {
35
35
  }
36
36
  });
37
37
  const assets = {
38
- "/assets/index-BUxIwHhC.js": {
38
+ "/assets/CompareDrawer-BR_kCD7Q.js": {
39
39
  "type": "text/javascript; charset=utf-8",
40
- "etag": '"74-17MgHyFdaM/UiSxnr6bhUjd21oI"',
41
- "mtime": "2026-06-24T07:40:51.239Z",
42
- "size": 116,
43
- "path": "../public/assets/index-BUxIwHhC.js"
44
- },
45
- "/assets/CompareDrawer-CrMyE23D.js": {
46
- "type": "text/javascript; charset=utf-8",
47
- "etag": '"49fe-VKyqLVtDPPevv5MdtQXjHACosNY"',
48
- "mtime": "2026-06-24T07:40:51.239Z",
40
+ "etag": '"49fe-h2V2O7V6W/qLlUGdYpKUldvpjWs"',
41
+ "mtime": "2026-06-27T01:00:07.209Z",
49
42
  "size": 18942,
50
- "path": "../public/assets/CompareDrawer-CrMyE23D.js"
43
+ "path": "../public/assets/CompareDrawer-BR_kCD7Q.js"
51
44
  },
52
- "/assets/alibaba-TTwafVwX.svg": {
53
- "type": "image/svg+xml",
54
- "etag": '"171b-6dyV5K8QjiaY35sN9qNprh9zDIs"',
55
- "mtime": "2026-06-24T07:40:51.239Z",
56
- "size": 5915,
57
- "path": "../public/assets/alibaba-TTwafVwX.svg"
45
+ "/assets/index-_7blCOK0.js": {
46
+ "type": "text/javascript; charset=utf-8",
47
+ "etag": '"74-QxBCxL6xnKy+9Y7QZcRvqsp/t4g"',
48
+ "mtime": "2026-06-27T01:00:07.209Z",
49
+ "size": 116,
50
+ "path": "../public/assets/index-_7blCOK0.js"
58
51
  },
59
- "/assets/minimax-BPMzvuL-.jpeg": {
60
- "type": "image/jpeg",
61
- "etag": '"1b06-IwivU89ko5UTMUM1/t7hn4sQK9A"',
62
- "mtime": "2026-06-24T07:40:51.239Z",
63
- "size": 6918,
64
- "path": "../public/assets/minimax-BPMzvuL-.jpeg"
52
+ "/assets/ReplayDialog-DsAYQBHZ.js": {
53
+ "type": "text/javascript; charset=utf-8",
54
+ "etag": '"2361-2SJPnlXCUj030vkvF0obKqO2ww4"',
55
+ "mtime": "2026-06-27T01:00:07.209Z",
56
+ "size": 9057,
57
+ "path": "../public/assets/ReplayDialog-DsAYQBHZ.js"
65
58
  },
66
59
  "/assets/index-D_nZj9Vt.css": {
67
60
  "type": "text/css; charset=utf-8",
68
61
  "etag": '"1a275-7T1iSNG2p6BSsqLwdpfky+9evLw"',
69
- "mtime": "2026-06-24T07:40:51.239Z",
62
+ "mtime": "2026-06-27T01:00:07.209Z",
70
63
  "size": 107125,
71
64
  "path": "../public/assets/index-D_nZj9Vt.css"
72
65
  },
73
- "/assets/ReplayDialog-TQGhDdTa.js": {
74
- "type": "text/javascript; charset=utf-8",
75
- "etag": '"2361-LKIYlHyDMFWSPaE5tA+urwEigM4"',
76
- "mtime": "2026-06-24T07:40:51.240Z",
77
- "size": 9057,
78
- "path": "../public/assets/ReplayDialog-TQGhDdTa.js"
66
+ "/assets/alibaba-TTwafVwX.svg": {
67
+ "type": "image/svg+xml",
68
+ "etag": '"171b-6dyV5K8QjiaY35sN9qNprh9zDIs"',
69
+ "mtime": "2026-06-27T01:00:07.209Z",
70
+ "size": 5915,
71
+ "path": "../public/assets/alibaba-TTwafVwX.svg"
79
72
  },
80
- "/assets/RequestAnatomy-D6kQYtfa.js": {
73
+ "/assets/RequestAnatomy-B4uqyUt8.js": {
81
74
  "type": "text/javascript; charset=utf-8",
82
- "etag": '"4485-SeLhPPKNbkSlSU8qhLDXUEIxbqA"',
83
- "mtime": "2026-06-24T07:40:51.240Z",
75
+ "etag": '"4485-He+g7fOqSzn4yv1CcgVk+VCluMQ"',
76
+ "mtime": "2026-06-27T01:00:07.209Z",
84
77
  "size": 17541,
85
- "path": "../public/assets/RequestAnatomy-D6kQYtfa.js"
78
+ "path": "../public/assets/RequestAnatomy-B4uqyUt8.js"
86
79
  },
87
- "/assets/main-DvFSJlOd.js": {
80
+ "/assets/StreamingChunkSequence-BECMV-xf.js": {
88
81
  "type": "text/javascript; charset=utf-8",
89
- "etag": '"51726-WWypDaz7SuLIAjw42+oExWguWy4"',
90
- "mtime": "2026-06-24T07:40:51.239Z",
91
- "size": 333606,
92
- "path": "../public/assets/main-DvFSJlOd.js"
82
+ "etag": '"d5b-Gb7t7c7o7NuJl7mOyiJKP6Wyw8Q"',
83
+ "mtime": "2026-06-27T01:00:07.211Z",
84
+ "size": 3419,
85
+ "path": "../public/assets/StreamingChunkSequence-BECMV-xf.js"
93
86
  },
94
- "/assets/StreamingChunkSequence-Bvs59_-I.js": {
87
+ "/assets/main-D6wegveF.js": {
95
88
  "type": "text/javascript; charset=utf-8",
96
- "etag": '"d5b-/mC3nluXu1Xzs7IG+LK7CUnJJ04"',
97
- "mtime": "2026-06-24T07:40:51.240Z",
98
- "size": 3419,
99
- "path": "../public/assets/StreamingChunkSequence-Bvs59_-I.js"
89
+ "etag": '"51726-8FmBhflOXcjuOjvtwi9jMU4uXjU"',
90
+ "mtime": "2026-06-27T01:00:07.209Z",
91
+ "size": 333606,
92
+ "path": "../public/assets/main-D6wegveF.js"
100
93
  },
101
94
  "/assets/zhipuai-BPNAnxo-.svg": {
102
95
  "type": "image/svg+xml",
103
96
  "etag": '"2bf8-hNaLCTi89nOFCsIIfWpP/jrfo0s"',
104
- "mtime": "2026-06-24T07:40:51.239Z",
97
+ "mtime": "2026-06-27T01:00:07.209Z",
105
98
  "size": 11256,
106
99
  "path": "../public/assets/zhipuai-BPNAnxo-.svg"
107
100
  },
108
- "/assets/ResponseView-C6ybWuB8.js": {
101
+ "/assets/_sessionId-3bjQPmHl.js": {
109
102
  "type": "text/javascript; charset=utf-8",
110
- "etag": '"30cd-AI0QumfeUay7yj5dk4oDjS+R0zE"',
111
- "mtime": "2026-06-24T07:40:51.240Z",
112
- "size": 12493,
113
- "path": "../public/assets/ResponseView-C6ybWuB8.js"
103
+ "etag": '"d2-OsIEVGbAQp+p9USHQURDEp0WwIc"',
104
+ "mtime": "2026-06-27T01:00:07.209Z",
105
+ "size": 210,
106
+ "path": "../public/assets/_sessionId-3bjQPmHl.js"
114
107
  },
115
- "/assets/_sessionId-BNG_mnaH.js": {
108
+ "/assets/ResponseView-C1vQL-fM.js": {
116
109
  "type": "text/javascript; charset=utf-8",
117
- "etag": '"d2-m65O5mRfepytM0wDdiFdE7OTuFg"',
118
- "mtime": "2026-06-24T07:40:51.239Z",
119
- "size": 210,
120
- "path": "../public/assets/_sessionId-BNG_mnaH.js"
110
+ "etag": '"30cd-nQBYXVNim5cyoGVYNnBURUkaZhE"',
111
+ "mtime": "2026-06-27T01:00:07.211Z",
112
+ "size": 12493,
113
+ "path": "../public/assets/ResponseView-C1vQL-fM.js"
121
114
  },
122
115
  "/assets/qwen-CONDcHqt.png": {
123
116
  "type": "image/png",
124
117
  "etag": '"572c3-cdJAPaHdOvFCGzuaQjagdgOu6XE"',
125
- "mtime": "2026-06-24T07:40:51.239Z",
118
+ "mtime": "2026-06-27T01:00:07.209Z",
126
119
  "size": 357059,
127
120
  "path": "../public/assets/qwen-CONDcHqt.png"
128
121
  },
129
- "/assets/ProxyViewerContainer-BZuo0px3.js": {
122
+ "/assets/minimax-BPMzvuL-.jpeg": {
123
+ "type": "image/jpeg",
124
+ "etag": '"1b06-IwivU89ko5UTMUM1/t7hn4sQK9A"',
125
+ "mtime": "2026-06-27T01:00:07.209Z",
126
+ "size": 6918,
127
+ "path": "../public/assets/minimax-BPMzvuL-.jpeg"
128
+ },
129
+ "/assets/ProxyViewerContainer-vc50msJj.js": {
130
130
  "type": "text/javascript; charset=utf-8",
131
- "etag": '"a9ec5-9uO1k8xNHEMFtOjShApDRNn552Y"',
132
- "mtime": "2026-06-24T07:40:51.240Z",
131
+ "etag": '"a9ec5-5Nw0Ue/3Bsh3sQUrw5wRg6ihYpI"',
132
+ "mtime": "2026-06-27T01:00:07.211Z",
133
133
  "size": 696005,
134
- "path": "../public/assets/ProxyViewerContainer-BZuo0px3.js"
134
+ "path": "../public/assets/ProxyViewerContainer-vc50msJj.js"
135
135
  }
136
136
  };
137
137
  function readAsset(id) {
package/README.md CHANGED
@@ -71,6 +71,116 @@ ANTHROPIC_BASE_URL=http://localhost:25947/proxy <tool>
71
71
 
72
72
  The web UI runs at http://localhost:25947.
73
73
 
74
+ ## Jenkins Release Webhook
75
+
76
+ The `agent-inspector-release` Jenkins pipeline can be triggered from GitCode by
77
+ using the Jenkins Git plugin `notifyCommit` endpoint. The Jenkins instance must
78
+ be reachable from GitCode; `localhost`, LAN-only addresses, or NAT public IPs
79
+ without port forwarding will not work. Use a public Jenkins URL, a reverse
80
+ proxy, or a tunnel such as Cloudflare Tunnel, frp, or ngrok.
81
+
82
+ Create a GitCode WebHook under the repository settings with these values:
83
+
84
+ ```text
85
+ URL:
86
+ https://<public-jenkins-host>/git/notifyCommit?url=https://gitcode.com/TonyClaw/agent-inspector&token=<jenkins-git-notify-token>
87
+
88
+ WebHook password/signing secret:
89
+ leave empty
90
+
91
+ POST content type:
92
+ application/json
93
+
94
+ Events:
95
+ Push events only
96
+
97
+ Active:
98
+ enabled
99
+ ```
100
+
101
+ The Jenkins job must have SCM polling enabled so the Git plugin can schedule the
102
+ pipeline after receiving the `notifyCommit` request. Do not commit the real
103
+ Jenkins notify token to the repository.
104
+
105
+ ### Local Push Fallback
106
+
107
+ When GitCode cannot reach a local Jenkins instance from the public internet, the
108
+ tracked Husky `pre-push` hook can notify Jenkins from the developer machine that
109
+ runs `git push`.
110
+
111
+ Configure the local secret values once per clone:
112
+
113
+ ```bash
114
+ git config --local agentInspector.jenkinsUrl http://localhost:8080
115
+ git config --local agentInspector.repositoryUrl https://gitcode.com/TonyClaw/agent-inspector
116
+ git config --local agentInspector.jenkinsNotifyToken <jenkins-git-notify-token>
117
+ ```
118
+
119
+ On Windows PowerShell:
120
+
121
+ ```powershell
122
+ git config --local agentInspector.jenkinsUrl http://localhost:8080
123
+ git config --local agentInspector.repositoryUrl https://gitcode.com/TonyClaw/agent-inspector
124
+ git config --local agentInspector.jenkinsNotifyToken <jenkins-git-notify-token>
125
+ ```
126
+
127
+ After a `main` branch push, the hook waits briefly and then calls Jenkins
128
+ `/git/notifyCommit` from the local machine. The hook can also be configured with
129
+ environment variables instead of local Git config:
130
+
131
+ ```bash
132
+ AGENT_INSPECTOR_JENKINS_URL=http://localhost:8080
133
+ AGENT_INSPECTOR_REPOSITORY_URL=https://gitcode.com/TonyClaw/agent-inspector
134
+ AGENT_INSPECTOR_JENKINS_NOTIFY_TOKEN=<jenkins-git-notify-token>
135
+ AGENT_INSPECTOR_JENKINS_PUSH_DELAY_SECONDS=10
136
+ ```
137
+
138
+ The hook writes local diagnostics to `.git/hooks/jenkins-pre-push.log`. The
139
+ tracked template contains no secret values; every developer must configure their
140
+ own token locally.
141
+
142
+ For repositories that do not use Husky, install the same template as a native Git
143
+ hook:
144
+
145
+ ```bash
146
+ cp scripts/hooks/pre-push-jenkins-notify .git/hooks/pre-push
147
+ chmod +x .git/hooks/pre-push
148
+ ```
149
+
150
+ ### Verified PR Workflow
151
+
152
+ For local Jenkins instances that GitCode cannot reach, use the verified PR script
153
+ instead of relying on GitCode WebHook delivery. The entire flow is outbound from
154
+ the developer machine:
155
+
156
+ 1. Push the current commit to a temporary GitCode branch.
157
+ 2. Trigger the local Jenkins job with `GIT_REF=<temporary-branch>`.
158
+ 3. Wait for the Jenkins result.
159
+ 4. Create a GitCode Pull Request to `main` only when Jenkins returns `SUCCESS`.
160
+
161
+ Configure local secrets once per clone:
162
+
163
+ ```powershell
164
+ git config --local agentInspector.jenkinsUrl http://localhost:8080
165
+ git config --local agentInspector.jenkinsJob agent-inspector-release
166
+ git config --local agentInspector.jenkinsUser <jenkins-user>
167
+ git config --local agentInspector.jenkinsApiToken <jenkins-api-token>
168
+ git config --local agentInspector.gitcodeAccessToken <gitcode-access-token>
169
+ git config --local agentInspector.gitcodeOwner TonyClaw
170
+ git config --local agentInspector.gitcodeRepo agent-inspector
171
+ ```
172
+
173
+ Then run:
174
+
175
+ ```powershell
176
+ .\scripts\jenkins\verified-pr.ps1
177
+ ```
178
+
179
+ The script pushes a branch named like `jenkins-verify/<user>/<sha>`, waits for
180
+ Jenkins, and creates a PR through the GitCode API after a successful build. The
181
+ temporary branch is kept as the PR source branch and is configured for deletion
182
+ after merge when GitCode supports source-branch pruning.
183
+
74
184
  ## Project Direction
75
185
 
76
186
  Agent Inspector should stay close to the proven inspector codebase while growing into an agent knowledge layer. The memory flow has four layers:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tonyclaw/agent-inspector",
3
- "version": "2.0.13",
3
+ "version": "2.0.14",
4
4
  "type": "module",
5
5
  "description": "Agent observability and knowledge capture layer for AI coding tools.",
6
6
  "license": "MIT",
@@ -1 +0,0 @@
1
- import{R as s,j as e}from"./main-DvFSJlOd.js";import{P as i}from"./ProxyViewerContainer-BZuo0px3.js";function t(){const{sessionId:o}=s.useParams();return e.jsx(i,{initialSessionId:o},o)}export{t as component};
@@ -1 +0,0 @@
1
- import{P as o}from"./ProxyViewerContainer-BZuo0px3.js";import"./main-DvFSJlOd.js";const r=o;export{r as component};