@tonyclaw/agent-inspector 3.0.43 → 3.0.44
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/cli.js +2 -1
- package/.output/nitro.json +1 -1
- package/.output/public/assets/{CompareDrawer-BAXxwTwT.js → CompareDrawer-DQHjxFO6.js} +1 -1
- package/.output/public/assets/{InspectorPet-xYuGV4Qz.js → InspectorPet-D1A4505B.js} +1 -1
- package/.output/public/assets/{ProxyViewerContainer-B6GZnUWi.js → ProxyViewerContainer-BhpIgfBi.js} +5 -5
- package/.output/public/assets/{ReplayDialog-D73pyIg3.js → ReplayDialog-C5vmbecv.js} +1 -1
- package/.output/public/assets/{RequestAnatomy-CSDta_nu.js → RequestAnatomy-CPGNB8lk.js} +1 -1
- package/.output/public/assets/{ResponseView-C4aIUPby.js → ResponseView-DUfrajCm.js} +1 -1
- package/.output/public/assets/{StreamingChunkSequence-D4xxosLx.js → StreamingChunkSequence-nbeCQqOz.js} +1 -1
- package/.output/public/assets/{_sessionId-DvuNLzSE.js → _sessionId-CDhRgzf6.js} +1 -1
- package/.output/public/assets/{_sessionId-CZHbJyWO.js → _sessionId-mw3aA8Bp.js} +1 -1
- package/.output/public/assets/{index-DZ_wpqQM.js → index-B2eoeT-Z.js} +1 -1
- package/.output/public/assets/{index-CmEO8ykj.js → index-BfRhTvOd.js} +1 -1
- package/.output/public/assets/{index-B17u7JMC.js → index-C6qZwYlR.js} +2 -2
- package/.output/public/assets/{index-C0g79BAs.js → index-CX7_rf7o.js} +1 -1
- package/.output/public/assets/{json-viewer-CuWU-H6K.js → json-viewer-BLmF1sOZ.js} +1 -1
- package/.output/public/assets/{jszip.min-DPJI_UKW.js → jszip.min-C9rCFoU3.js} +1 -1
- package/.output/server/{_sessionId-CoFyeOti.mjs → _sessionId-E_Dmopc-.mjs} +2 -2
- package/.output/server/{_sessionId-Cun21KZF.mjs → _sessionId-U54BAqdp.mjs} +1 -1
- package/.output/server/_ssr/{CompareDrawer-Bgc2TZh_.mjs → CompareDrawer-CksatPed.mjs} +2 -2
- package/.output/server/_ssr/{InspectorPet-DyK2ojeh.mjs → InspectorPet-DNc4GQ7z.mjs} +1 -1
- package/.output/server/_ssr/{ProxyViewerContainer-hvn6oVWD.mjs → ProxyViewerContainer-B02Ey0p_.mjs} +9 -9
- package/.output/server/_ssr/{ReplayDialog-KpnrGtZ-.mjs → ReplayDialog-DdMvHJF1.mjs} +3 -3
- package/.output/server/_ssr/{RequestAnatomy-uCsfucn8.mjs → RequestAnatomy--vh2Z8__.mjs} +2 -2
- package/.output/server/_ssr/{ResponseView-C8UPqoPO.mjs → ResponseView-Dhxc-cKC.mjs} +2 -2
- package/.output/server/_ssr/{StreamingChunkSequence-BP28I9sh.mjs → StreamingChunkSequence-BG0EQmaD.mjs} +2 -2
- package/.output/server/_ssr/{index-BVwVoQlZ.mjs → index-D0At9nfd.mjs} +1 -1
- package/.output/server/_ssr/{index-Du3YNDKx.mjs → index-lcfulIXa.mjs} +2 -2
- package/.output/server/_ssr/index.mjs +2 -2
- package/.output/server/_ssr/{json-viewer-DrE0vtlB.mjs → json-viewer-My1J1_5R.mjs} +2 -2
- package/.output/server/_ssr/{router-C6nWUZHK.mjs → router-DWcUFPR3.mjs} +5 -5
- package/.output/server/{_tanstack-start-manifest_v-rshlRaiN.mjs → _tanstack-start-manifest_v-B2chR8ef.mjs} +1 -1
- package/.output/server/index.mjs +90 -90
- package/package.json +1 -1
- package/src/proxy/identityProxy.ts +2 -1
|
@@ -85,7 +85,7 @@ function getResponse() {
|
|
|
85
85
|
}
|
|
86
86
|
var HEADERS = { TSS_SHELL: "X-TSS_SHELL" };
|
|
87
87
|
async function getStartManifest(matchedRoutes) {
|
|
88
|
-
const { tsrStartManifest } = await import("../_tanstack-start-manifest_v-
|
|
88
|
+
const { tsrStartManifest } = await import("../_tanstack-start-manifest_v-B2chR8ef.mjs");
|
|
89
89
|
const startManifest = tsrStartManifest();
|
|
90
90
|
let routes = startManifest.routes;
|
|
91
91
|
routes[rootRouteId];
|
|
@@ -1162,7 +1162,7 @@ var getBaseManifest = getProdBaseManifest;
|
|
|
1162
1162
|
var createEarlyHintsForRequest = createEarlyHintsCollector;
|
|
1163
1163
|
async function loadEntries() {
|
|
1164
1164
|
const [routerEntry, startEntry, pluginAdapters] = await Promise.all([
|
|
1165
|
-
import("./router-
|
|
1165
|
+
import("./router-DWcUFPR3.mjs").then((n) => n.ai),
|
|
1166
1166
|
import("./start-HYkvq4Ni.mjs"),
|
|
1167
1167
|
import("./empty-plugin-adapters-BFgPZ6_d.mjs")
|
|
1168
1168
|
]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
|
|
2
|
-
import { m as cn, z as copyTextToClipboard } from "./router-
|
|
3
|
-
import { z as parseJsonText, j as TooltipProvider, k as Tooltip, l as TooltipTrigger, m as TooltipContent } from "./ProxyViewerContainer-
|
|
2
|
+
import { m as cn, z as copyTextToClipboard } from "./router-DWcUFPR3.mjs";
|
|
3
|
+
import { z as parseJsonText, j as TooltipProvider, k as Tooltip, l as TooltipTrigger, m as TooltipContent } from "./ProxyViewerContainer-B02Ey0p_.mjs";
|
|
4
4
|
import "node:crypto";
|
|
5
5
|
import "node:path";
|
|
6
6
|
import "node:fs";
|
|
@@ -6865,15 +6865,15 @@ const Route$M = createFileRoute("/livez")({
|
|
|
6865
6865
|
}
|
|
6866
6866
|
}
|
|
6867
6867
|
});
|
|
6868
|
-
const $$splitErrorComponentImporter$1 = () => import("./index-
|
|
6869
|
-
const $$splitComponentImporter$1 = () => import("./index-
|
|
6868
|
+
const $$splitErrorComponentImporter$1 = () => import("./index-D0At9nfd.mjs");
|
|
6869
|
+
const $$splitComponentImporter$1 = () => import("./index-lcfulIXa.mjs");
|
|
6870
6870
|
const Route$L = createFileRoute("/")({
|
|
6871
6871
|
ssr: false,
|
|
6872
6872
|
component: lazyRouteComponent($$splitComponentImporter$1, "component"),
|
|
6873
6873
|
errorComponent: lazyRouteComponent($$splitErrorComponentImporter$1, "errorComponent")
|
|
6874
6874
|
});
|
|
6875
|
-
const $$splitErrorComponentImporter = () => import("../_sessionId-
|
|
6876
|
-
const $$splitComponentImporter = () => import("../_sessionId-
|
|
6875
|
+
const $$splitErrorComponentImporter = () => import("../_sessionId-U54BAqdp.mjs");
|
|
6876
|
+
const $$splitComponentImporter = () => import("../_sessionId-E_Dmopc-.mjs");
|
|
6877
6877
|
const Route$K = createFileRoute("/session/$sessionId")({
|
|
6878
6878
|
ssr: false,
|
|
6879
6879
|
component: lazyRouteComponent($$splitComponentImporter, "component"),
|
|
@@ -13309,7 +13309,7 @@ const Route$E = createFileRoute("/api/models")({
|
|
|
13309
13309
|
}
|
|
13310
13310
|
});
|
|
13311
13311
|
const name = "@tonyclaw/agent-inspector";
|
|
13312
|
-
const version = "3.0.
|
|
13312
|
+
const version = "3.0.44";
|
|
13313
13313
|
const packageJson = {
|
|
13314
13314
|
name,
|
|
13315
13315
|
version
|
|
@@ -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-
|
|
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-C6qZwYlR.js"], scripts: [{ attrs: { type: "module", async: true, src: "/assets/index-C6qZwYlR.js" } }] }, "/": { filePath: "C:/Users/claw/workspace/agent-inspector/src/routes/index.tsx", children: void 0, preloads: ["/assets/index-B2eoeT-Z.js", "/assets/index-CX7_rf7o.js", "/assets/ProxyViewerContainer-BhpIgfBi.js"] }, "/session/$sessionId": { filePath: "C:/Users/claw/workspace/agent-inspector/src/routes/session/$sessionId.tsx", children: void 0, preloads: ["/assets/_sessionId-CDhRgzf6.js", "/assets/_sessionId-mw3aA8Bp.js", "/assets/ProxyViewerContainer-BhpIgfBi.js"] } } });
|
|
2
2
|
export {
|
|
3
3
|
tsrStartManifest
|
|
4
4
|
};
|
package/.output/server/index.mjs
CHANGED
|
@@ -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-
|
|
23
|
+
"mtime": "2026-07-15T03:37:34.515Z",
|
|
24
24
|
"size": 14586,
|
|
25
25
|
"path": "../public/assets/agent-inspector-58K1_MsC.ico"
|
|
26
26
|
},
|
|
27
|
-
"/assets/CompareDrawer-
|
|
27
|
+
"/assets/CompareDrawer-DQHjxFO6.js": {
|
|
28
28
|
"type": "text/javascript; charset=utf-8",
|
|
29
|
-
"etag": '"502d-
|
|
30
|
-
"mtime": "2026-07-
|
|
29
|
+
"etag": '"502d-TL06lOCCzo3gaBdmz99CaoNWrnc"',
|
|
30
|
+
"mtime": "2026-07-15T03:37:34.518Z",
|
|
31
31
|
"size": 20525,
|
|
32
|
-
"path": "../public/assets/CompareDrawer-
|
|
33
|
-
},
|
|
34
|
-
"/assets/index-DZ_wpqQM.js": {
|
|
35
|
-
"type": "text/javascript; charset=utf-8",
|
|
36
|
-
"etag": '"9f-3VvYNzl9ea1RoJEoX9KaSixnUd4"',
|
|
37
|
-
"mtime": "2026-07-15T02:45:04.525Z",
|
|
38
|
-
"size": 159,
|
|
39
|
-
"path": "../public/assets/index-DZ_wpqQM.js"
|
|
32
|
+
"path": "../public/assets/CompareDrawer-DQHjxFO6.js"
|
|
40
33
|
},
|
|
41
34
|
"/assets/alibaba-TTwafVwX.svg": {
|
|
42
35
|
"type": "image/svg+xml",
|
|
43
36
|
"etag": '"171b-6dyV5K8QjiaY35sN9qNprh9zDIs"',
|
|
44
|
-
"mtime": "2026-07-
|
|
37
|
+
"mtime": "2026-07-15T03:37:34.516Z",
|
|
45
38
|
"size": 5915,
|
|
46
39
|
"path": "../public/assets/alibaba-TTwafVwX.svg"
|
|
47
40
|
},
|
|
48
|
-
"/assets/index-
|
|
49
|
-
"type": "text/
|
|
50
|
-
"etag": '"
|
|
51
|
-
"mtime": "2026-07-
|
|
52
|
-
"size":
|
|
53
|
-
"path": "../public/assets/index-
|
|
41
|
+
"/assets/index-B2eoeT-Z.js": {
|
|
42
|
+
"type": "text/javascript; charset=utf-8",
|
|
43
|
+
"etag": '"9f-aZbKpsedUfckRxRZbOlq0mLyCNQ"',
|
|
44
|
+
"mtime": "2026-07-15T03:37:34.516Z",
|
|
45
|
+
"size": 159,
|
|
46
|
+
"path": "../public/assets/index-B2eoeT-Z.js"
|
|
54
47
|
},
|
|
55
|
-
"/assets/index-
|
|
48
|
+
"/assets/index-BfRhTvOd.js": {
|
|
56
49
|
"type": "text/javascript; charset=utf-8",
|
|
57
|
-
"etag": '"1cd2d-
|
|
58
|
-
"mtime": "2026-07-
|
|
50
|
+
"etag": '"1cd2d-gGFkj2DmMsK/in6PndxcDPqC8/o"',
|
|
51
|
+
"mtime": "2026-07-15T03:37:34.518Z",
|
|
59
52
|
"size": 118061,
|
|
60
|
-
"path": "../public/assets/index-
|
|
53
|
+
"path": "../public/assets/index-BfRhTvOd.js"
|
|
61
54
|
},
|
|
62
|
-
"/assets/index-
|
|
55
|
+
"/assets/index-CX7_rf7o.js": {
|
|
63
56
|
"type": "text/javascript; charset=utf-8",
|
|
64
|
-
"etag": '"265
|
|
65
|
-
"mtime": "2026-07-
|
|
57
|
+
"etag": '"265-TpsSohM6nsYQO1T0zLjjTOp16so"',
|
|
58
|
+
"mtime": "2026-07-15T03:37:34.516Z",
|
|
66
59
|
"size": 613,
|
|
67
|
-
"path": "../public/assets/index-
|
|
60
|
+
"path": "../public/assets/index-CX7_rf7o.js"
|
|
68
61
|
},
|
|
69
|
-
"/assets/
|
|
70
|
-
"type": "
|
|
71
|
-
"etag": '"
|
|
72
|
-
"mtime": "2026-07-
|
|
73
|
-
"size":
|
|
74
|
-
"path": "../public/assets/
|
|
62
|
+
"/assets/index-BWjeqxbk.css": {
|
|
63
|
+
"type": "text/css; charset=utf-8",
|
|
64
|
+
"etag": '"2b549-JABsgs2BeSJ6uz0npelVGBtdBzk"',
|
|
65
|
+
"mtime": "2026-07-15T03:37:34.516Z",
|
|
66
|
+
"size": 177481,
|
|
67
|
+
"path": "../public/assets/index-BWjeqxbk.css"
|
|
75
68
|
},
|
|
76
|
-
"/assets/
|
|
69
|
+
"/assets/jszip.min-C9rCFoU3.js": {
|
|
77
70
|
"type": "text/javascript; charset=utf-8",
|
|
78
|
-
"etag": '"
|
|
79
|
-
"mtime": "2026-07-
|
|
80
|
-
"size":
|
|
81
|
-
"path": "../public/assets/
|
|
71
|
+
"etag": '"17b79-LLo0RvykBSnyIlP/rMPXJ2amims"',
|
|
72
|
+
"mtime": "2026-07-15T03:37:34.518Z",
|
|
73
|
+
"size": 97145,
|
|
74
|
+
"path": "../public/assets/jszip.min-C9rCFoU3.js"
|
|
82
75
|
},
|
|
83
|
-
"/assets/json-viewer-
|
|
76
|
+
"/assets/json-viewer-BLmF1sOZ.js": {
|
|
84
77
|
"type": "text/javascript; charset=utf-8",
|
|
85
|
-
"etag": '"1ae2-
|
|
86
|
-
"mtime": "2026-07-
|
|
78
|
+
"etag": '"1ae2-yxuroLyLw5afhT/vUErwh7f5+No"',
|
|
79
|
+
"mtime": "2026-07-15T03:37:34.518Z",
|
|
87
80
|
"size": 6882,
|
|
88
|
-
"path": "../public/assets/json-viewer-
|
|
81
|
+
"path": "../public/assets/json-viewer-BLmF1sOZ.js"
|
|
89
82
|
},
|
|
90
|
-
"/assets/ReplayDialog-
|
|
83
|
+
"/assets/ReplayDialog-C5vmbecv.js": {
|
|
91
84
|
"type": "text/javascript; charset=utf-8",
|
|
92
|
-
"etag": '"3294-
|
|
93
|
-
"mtime": "2026-07-
|
|
85
|
+
"etag": '"3294-j/nThuXE3nnFLn6S96M9a48lPws"',
|
|
86
|
+
"mtime": "2026-07-15T03:37:34.518Z",
|
|
94
87
|
"size": 12948,
|
|
95
|
-
"path": "../public/assets/ReplayDialog-
|
|
88
|
+
"path": "../public/assets/ReplayDialog-C5vmbecv.js"
|
|
89
|
+
},
|
|
90
|
+
"/assets/ResponseView-DUfrajCm.js": {
|
|
91
|
+
"type": "text/javascript; charset=utf-8",
|
|
92
|
+
"etag": '"44d3-S3SWSKhz4fkNCRaq7HVKvTpnt+A"',
|
|
93
|
+
"mtime": "2026-07-15T03:37:34.518Z",
|
|
94
|
+
"size": 17619,
|
|
95
|
+
"path": "../public/assets/ResponseView-DUfrajCm.js"
|
|
96
|
+
},
|
|
97
|
+
"/assets/minimax-BPMzvuL-.jpeg": {
|
|
98
|
+
"type": "image/jpeg",
|
|
99
|
+
"etag": '"1b06-IwivU89ko5UTMUM1/t7hn4sQK9A"',
|
|
100
|
+
"mtime": "2026-07-15T03:37:34.516Z",
|
|
101
|
+
"size": 6918,
|
|
102
|
+
"path": "../public/assets/minimax-BPMzvuL-.jpeg"
|
|
96
103
|
},
|
|
97
104
|
"/assets/qwen-mMn3f5ul.webp": {
|
|
98
105
|
"type": "image/webp",
|
|
99
106
|
"etag": '"1b1a-Tw+b2ynhJQl9WztaK3ajSL85yaU"',
|
|
100
|
-
"mtime": "2026-07-
|
|
107
|
+
"mtime": "2026-07-15T03:37:34.516Z",
|
|
101
108
|
"size": 6938,
|
|
102
109
|
"path": "../public/assets/qwen-mMn3f5ul.webp"
|
|
103
110
|
},
|
|
104
|
-
"/assets/
|
|
111
|
+
"/assets/RequestAnatomy-CPGNB8lk.js": {
|
|
105
112
|
"type": "text/javascript; charset=utf-8",
|
|
106
|
-
"etag": '"
|
|
107
|
-
"mtime": "2026-07-
|
|
108
|
-
"size":
|
|
109
|
-
"path": "../public/assets/
|
|
110
|
-
},
|
|
111
|
-
"/assets/zhipuai-BPNAnxo-.svg": {
|
|
112
|
-
"type": "image/svg+xml",
|
|
113
|
-
"etag": '"2bf8-hNaLCTi89nOFCsIIfWpP/jrfo0s"',
|
|
114
|
-
"mtime": "2026-07-15T02:45:04.525Z",
|
|
115
|
-
"size": 11256,
|
|
116
|
-
"path": "../public/assets/zhipuai-BPNAnxo-.svg"
|
|
113
|
+
"etag": '"43f3-xrjMDY42AV9YXROmaz06IrXEw9Y"',
|
|
114
|
+
"mtime": "2026-07-15T03:37:34.518Z",
|
|
115
|
+
"size": 17395,
|
|
116
|
+
"path": "../public/assets/RequestAnatomy-CPGNB8lk.js"
|
|
117
117
|
},
|
|
118
|
-
"/assets/StreamingChunkSequence-
|
|
118
|
+
"/assets/StreamingChunkSequence-nbeCQqOz.js": {
|
|
119
119
|
"type": "text/javascript; charset=utf-8",
|
|
120
|
-
"etag": '"e96-
|
|
121
|
-
"mtime": "2026-07-
|
|
120
|
+
"etag": '"e96-buzJorWw6vG9x7EPAWdT++PHu48"',
|
|
121
|
+
"mtime": "2026-07-15T03:37:34.518Z",
|
|
122
122
|
"size": 3734,
|
|
123
|
-
"path": "../public/assets/StreamingChunkSequence-
|
|
123
|
+
"path": "../public/assets/StreamingChunkSequence-nbeCQqOz.js"
|
|
124
124
|
},
|
|
125
|
-
"/assets/
|
|
125
|
+
"/assets/index-C6qZwYlR.js": {
|
|
126
126
|
"type": "text/javascript; charset=utf-8",
|
|
127
|
-
"etag": '"
|
|
128
|
-
"mtime": "2026-07-
|
|
129
|
-
"size":
|
|
130
|
-
"path": "../public/assets/
|
|
127
|
+
"etag": '"5c899-4o54z4rI/t2F6FsZPpDsoFattjw"',
|
|
128
|
+
"mtime": "2026-07-15T03:37:34.518Z",
|
|
129
|
+
"size": 379033,
|
|
130
|
+
"path": "../public/assets/index-C6qZwYlR.js"
|
|
131
131
|
},
|
|
132
|
-
"/assets/_sessionId-
|
|
132
|
+
"/assets/_sessionId-CDhRgzf6.js": {
|
|
133
133
|
"type": "text/javascript; charset=utf-8",
|
|
134
|
-
"etag": '"a2-
|
|
135
|
-
"mtime": "2026-07-
|
|
134
|
+
"etag": '"a2-p8V9SDNOjqXN4FUHv3j6mE6LNLE"',
|
|
135
|
+
"mtime": "2026-07-15T03:37:34.518Z",
|
|
136
136
|
"size": 162,
|
|
137
|
-
"path": "../public/assets/_sessionId-
|
|
137
|
+
"path": "../public/assets/_sessionId-CDhRgzf6.js"
|
|
138
138
|
},
|
|
139
|
-
"/assets/
|
|
140
|
-
"type": "
|
|
141
|
-
"etag": '"
|
|
142
|
-
"mtime": "2026-07-
|
|
143
|
-
"size":
|
|
144
|
-
"path": "../public/assets/
|
|
139
|
+
"/assets/zhipuai-BPNAnxo-.svg": {
|
|
140
|
+
"type": "image/svg+xml",
|
|
141
|
+
"etag": '"2bf8-hNaLCTi89nOFCsIIfWpP/jrfo0s"',
|
|
142
|
+
"mtime": "2026-07-15T03:37:34.516Z",
|
|
143
|
+
"size": 11256,
|
|
144
|
+
"path": "../public/assets/zhipuai-BPNAnxo-.svg"
|
|
145
145
|
},
|
|
146
|
-
"/assets/_sessionId-
|
|
146
|
+
"/assets/_sessionId-mw3aA8Bp.js": {
|
|
147
147
|
"type": "text/javascript; charset=utf-8",
|
|
148
|
-
"etag": '"36d-
|
|
149
|
-
"mtime": "2026-07-
|
|
148
|
+
"etag": '"36d-kF0mQY+x9LXg4HJy4hqRMwiNctE"',
|
|
149
|
+
"mtime": "2026-07-15T03:37:34.516Z",
|
|
150
150
|
"size": 877,
|
|
151
|
-
"path": "../public/assets/_sessionId-
|
|
151
|
+
"path": "../public/assets/_sessionId-mw3aA8Bp.js"
|
|
152
152
|
},
|
|
153
|
-
"/assets/InspectorPet-
|
|
153
|
+
"/assets/InspectorPet-D1A4505B.js": {
|
|
154
154
|
"type": "text/javascript; charset=utf-8",
|
|
155
|
-
"etag": '"81982-
|
|
156
|
-
"mtime": "2026-07-
|
|
155
|
+
"etag": '"81982-KZbNsRub3Cy/p3CyYqt5m/k9UVM"',
|
|
156
|
+
"mtime": "2026-07-15T03:37:34.519Z",
|
|
157
157
|
"size": 530818,
|
|
158
|
-
"path": "../public/assets/InspectorPet-
|
|
158
|
+
"path": "../public/assets/InspectorPet-D1A4505B.js"
|
|
159
159
|
},
|
|
160
|
-
"/assets/ProxyViewerContainer-
|
|
160
|
+
"/assets/ProxyViewerContainer-BhpIgfBi.js": {
|
|
161
161
|
"type": "text/javascript; charset=utf-8",
|
|
162
|
-
"etag": '"a5699-
|
|
163
|
-
"mtime": "2026-07-
|
|
162
|
+
"etag": '"a5699-yvFLpZ48aAuuSL/XrdCkYHTJRb0"',
|
|
163
|
+
"mtime": "2026-07-15T03:37:34.519Z",
|
|
164
164
|
"size": 677529,
|
|
165
|
-
"path": "../public/assets/ProxyViewerContainer-
|
|
165
|
+
"path": "../public/assets/ProxyViewerContainer-BhpIgfBi.js"
|
|
166
166
|
}
|
|
167
167
|
};
|
|
168
168
|
function readAsset(id) {
|
package/package.json
CHANGED
|
@@ -92,10 +92,11 @@ export function rewriteHtmlForBasePath(html: string, basePath: string): string {
|
|
|
92
92
|
? html
|
|
93
93
|
: html.replace(/<head(\s[^>]*)?>/iu, (match) => `${match}${meta}`);
|
|
94
94
|
const escapedBase = normalized.replace(/[.*+?^${}()|[\]\\]/gu, "\\$&");
|
|
95
|
-
|
|
95
|
+
const withRewrittenAttributes = withMeta.replace(
|
|
96
96
|
new RegExp(`\\b(href|src|action)=("|')/(?!/|${escapedBase.slice(1)}(?:/|$))`, "giu"),
|
|
97
97
|
(_match: string, attr: string, quote: string) => `${attr}=${quote}${normalized}/`,
|
|
98
98
|
);
|
|
99
|
+
return withRewrittenAttributes.replace(/(["'])\/assets\//gu, `$1${normalized}/assets/`);
|
|
99
100
|
}
|
|
100
101
|
|
|
101
102
|
function javaScriptStringEscape(value: string): string {
|