@tonyclaw/llm-inspector 1.12.0 → 1.14.0
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/index-B5q3Llgm.css +1 -0
- package/.output/public/assets/index-C6tbslcs.js +105 -0
- package/.output/public/assets/{main-BYCM7aJx.js → main-C1k6vRnH.js} +3 -3
- package/.output/server/_libs/cfworker__json-schema.mjs +1 -0
- package/.output/server/_libs/lucide-react.mjs +64 -58
- package/.output/server/_libs/modelcontextprotocol__server.mjs +9738 -0
- package/.output/server/_libs/zod.mjs +79 -16
- package/.output/server/_ssr/{index-DhChP_jV.mjs → index-AxruZp16.mjs} +1201 -165
- package/.output/server/_ssr/index.mjs +2 -2
- package/.output/server/_ssr/{router-PZjNwOcw.mjs → router-DtleGqN8.mjs} +650 -29
- package/.output/server/_tanstack-start-manifest_v-B1WAHWIa.mjs +4 -0
- package/.output/server/index.mjs +24 -24
- package/README.md +98 -0
- package/package.json +3 -1
- package/src/components/ProxyViewer.tsx +126 -2
- package/src/components/proxy-viewer/CompareDrawer.tsx +880 -0
- package/src/components/proxy-viewer/ConversationGroup.tsx +8 -0
- package/src/components/proxy-viewer/LogEntry.tsx +14 -1
- package/src/components/proxy-viewer/LogEntryHeader.tsx +28 -0
- package/src/components/proxy-viewer/formats/openai/ResponseView.tsx +74 -4
- package/src/components/proxy-viewer/requestDiff.ts +277 -0
- package/src/lib/serverPort.ts +41 -0
- package/src/mcp/loopback.ts +76 -0
- package/src/mcp/previewExtractor.ts +166 -0
- package/src/mcp/server.ts +320 -0
- package/src/mcp/toolHandlers.ts +259 -0
- package/src/proxy/formats/openai/schemas.ts +19 -0
- package/src/proxy/handler.ts +23 -2
- package/src/proxy/openaiOrphanToolStrip.ts +148 -0
- package/src/proxy/schemas.ts +1 -0
- package/src/routes/api/mcp.ts +25 -0
- package/.output/public/assets/index-DVgdkDgq.js +0 -105
- package/.output/public/assets/index-DZx2yk8v.css +0 -1
- package/.output/server/_tanstack-start-manifest_v-l1kWkG0h.mjs +0 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -75,17 +75,17 @@ const createLucideIcon = (iconName, iconNode) => {
|
|
|
75
75
|
Component.displayName = toPascalCase(iconName);
|
|
76
76
|
return Component;
|
|
77
77
|
};
|
|
78
|
-
const __iconNode$
|
|
78
|
+
const __iconNode$M = [
|
|
79
79
|
["path", { d: "M12 5v14", key: "s699le" }],
|
|
80
80
|
["path", { d: "m19 12-7 7-7-7", key: "1idqje" }]
|
|
81
81
|
];
|
|
82
|
-
const ArrowDown = createLucideIcon("arrow-down", __iconNode$
|
|
83
|
-
const __iconNode$
|
|
82
|
+
const ArrowDown = createLucideIcon("arrow-down", __iconNode$M);
|
|
83
|
+
const __iconNode$L = [
|
|
84
84
|
["path", { d: "m5 12 7-7 7 7", key: "hav0vg" }],
|
|
85
85
|
["path", { d: "M12 19V5", key: "x0mq9r" }]
|
|
86
86
|
];
|
|
87
|
-
const ArrowUp = createLucideIcon("arrow-up", __iconNode$
|
|
88
|
-
const __iconNode$
|
|
87
|
+
const ArrowUp = createLucideIcon("arrow-up", __iconNode$L);
|
|
88
|
+
const __iconNode$K = [
|
|
89
89
|
["path", { d: "M12 18V5", key: "adv99a" }],
|
|
90
90
|
["path", { d: "M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4", key: "1e3is1" }],
|
|
91
91
|
["path", { d: "M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5", key: "1gqd8o" }],
|
|
@@ -95,68 +95,73 @@ const __iconNode$J = [
|
|
|
95
95
|
["path", { d: "M6 18a4 4 0 0 1-2-7.464", key: "k1g0md" }],
|
|
96
96
|
["path", { d: "M6.003 5.125a4 4 0 0 0-2.526 5.77", key: "q97ue3" }]
|
|
97
97
|
];
|
|
98
|
-
const Brain = createLucideIcon("brain", __iconNode$
|
|
99
|
-
const __iconNode$
|
|
100
|
-
const Check = createLucideIcon("check", __iconNode$
|
|
101
|
-
const __iconNode$
|
|
102
|
-
const ChevronDown = createLucideIcon("chevron-down", __iconNode$
|
|
103
|
-
const __iconNode$
|
|
104
|
-
const ChevronRight = createLucideIcon("chevron-right", __iconNode$
|
|
105
|
-
const __iconNode$
|
|
106
|
-
const ChevronUp = createLucideIcon("chevron-up", __iconNode$
|
|
107
|
-
const __iconNode$
|
|
98
|
+
const Brain = createLucideIcon("brain", __iconNode$K);
|
|
99
|
+
const __iconNode$J = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
100
|
+
const Check = createLucideIcon("check", __iconNode$J);
|
|
101
|
+
const __iconNode$I = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
102
|
+
const ChevronDown = createLucideIcon("chevron-down", __iconNode$I);
|
|
103
|
+
const __iconNode$H = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
|
|
104
|
+
const ChevronRight = createLucideIcon("chevron-right", __iconNode$H);
|
|
105
|
+
const __iconNode$G = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
|
|
106
|
+
const ChevronUp = createLucideIcon("chevron-up", __iconNode$G);
|
|
107
|
+
const __iconNode$F = [
|
|
108
108
|
["path", { d: "m7 6 5 5 5-5", key: "1lc07p" }],
|
|
109
109
|
["path", { d: "m7 13 5 5 5-5", key: "1d48rs" }]
|
|
110
110
|
];
|
|
111
|
-
const ChevronsDown = createLucideIcon("chevrons-down", __iconNode$
|
|
112
|
-
const __iconNode$
|
|
111
|
+
const ChevronsDown = createLucideIcon("chevrons-down", __iconNode$F);
|
|
112
|
+
const __iconNode$E = [
|
|
113
113
|
["path", { d: "m17 11-5-5-5 5", key: "e8nh98" }],
|
|
114
114
|
["path", { d: "m17 18-5-5-5 5", key: "2avn1x" }]
|
|
115
115
|
];
|
|
116
|
-
const ChevronsUp = createLucideIcon("chevrons-up", __iconNode$
|
|
117
|
-
const __iconNode$
|
|
116
|
+
const ChevronsUp = createLucideIcon("chevrons-up", __iconNode$E);
|
|
117
|
+
const __iconNode$D = [
|
|
118
118
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
119
119
|
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
120
120
|
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
|
121
121
|
];
|
|
122
|
-
const CircleAlert = createLucideIcon("circle-alert", __iconNode$
|
|
123
|
-
const __iconNode$
|
|
122
|
+
const CircleAlert = createLucideIcon("circle-alert", __iconNode$D);
|
|
123
|
+
const __iconNode$C = [
|
|
124
124
|
["path", { d: "M21.801 10A10 10 0 1 1 17 3.335", key: "yps3ct" }],
|
|
125
125
|
["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
|
|
126
126
|
];
|
|
127
|
-
const CircleCheckBig = createLucideIcon("circle-check-big", __iconNode$
|
|
128
|
-
const __iconNode$
|
|
127
|
+
const CircleCheckBig = createLucideIcon("circle-check-big", __iconNode$C);
|
|
128
|
+
const __iconNode$B = [
|
|
129
129
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
130
130
|
["path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3", key: "1u773s" }],
|
|
131
131
|
["path", { d: "M12 17h.01", key: "p32p05" }]
|
|
132
132
|
];
|
|
133
|
-
const CircleQuestionMark = createLucideIcon("circle-question-mark", __iconNode$
|
|
134
|
-
const __iconNode$
|
|
133
|
+
const CircleQuestionMark = createLucideIcon("circle-question-mark", __iconNode$B);
|
|
134
|
+
const __iconNode$A = [
|
|
135
135
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
136
136
|
["rect", { x: "9", y: "9", width: "6", height: "6", rx: "1", key: "1ssd4o" }]
|
|
137
137
|
];
|
|
138
|
-
const CircleStop = createLucideIcon("circle-stop", __iconNode$
|
|
139
|
-
const __iconNode$
|
|
138
|
+
const CircleStop = createLucideIcon("circle-stop", __iconNode$A);
|
|
139
|
+
const __iconNode$z = [
|
|
140
140
|
["path", { d: "M12 6v6l4 2", key: "mmk7yg" }],
|
|
141
141
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]
|
|
142
142
|
];
|
|
143
|
-
const Clock = createLucideIcon("clock", __iconNode$
|
|
144
|
-
const __iconNode$
|
|
143
|
+
const Clock = createLucideIcon("clock", __iconNode$z);
|
|
144
|
+
const __iconNode$y = [
|
|
145
145
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
146
146
|
["path", { d: "M12 3v18", key: "108xh3" }]
|
|
147
147
|
];
|
|
148
|
-
const Columns2 = createLucideIcon("columns-2", __iconNode$
|
|
149
|
-
const __iconNode$
|
|
148
|
+
const Columns2 = createLucideIcon("columns-2", __iconNode$y);
|
|
149
|
+
const __iconNode$x = [
|
|
150
150
|
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
151
151
|
["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
|
|
152
152
|
];
|
|
153
|
-
const Copy = createLucideIcon("copy", __iconNode$
|
|
154
|
-
const __iconNode$
|
|
153
|
+
const Copy = createLucideIcon("copy", __iconNode$x);
|
|
154
|
+
const __iconNode$w = [
|
|
155
155
|
["path", { d: "M12 15V3", key: "m9g1x1" }],
|
|
156
156
|
["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
|
|
157
157
|
["path", { d: "m7 10 5 5 5-5", key: "brsn70" }]
|
|
158
158
|
];
|
|
159
|
-
const Download = createLucideIcon("download", __iconNode$
|
|
159
|
+
const Download = createLucideIcon("download", __iconNode$w);
|
|
160
|
+
const __iconNode$v = [
|
|
161
|
+
["line", { x1: "5", x2: "19", y1: "9", y2: "9", key: "1nwqeh" }],
|
|
162
|
+
["line", { x1: "5", x2: "19", y1: "15", y2: "15", key: "g8yjpy" }]
|
|
163
|
+
];
|
|
164
|
+
const Equal = createLucideIcon("equal", __iconNode$v);
|
|
160
165
|
const __iconNode$u = [
|
|
161
166
|
["path", { d: "M15 3h6v6", key: "1q9fwt" }],
|
|
162
167
|
["path", { d: "M10 14 21 3", key: "gplh6r" }],
|
|
@@ -399,19 +404,20 @@ const __iconNode = [
|
|
|
399
404
|
const Zap = createLucideIcon("zap", __iconNode);
|
|
400
405
|
export {
|
|
401
406
|
ArrowUp as A,
|
|
402
|
-
|
|
407
|
+
Lock as B,
|
|
403
408
|
ChevronDown as C,
|
|
404
409
|
Download as D,
|
|
405
|
-
|
|
410
|
+
Equal as E,
|
|
406
411
|
FileTerminal as F,
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
+
GitCompareArrows as G,
|
|
413
|
+
Wifi as H,
|
|
414
|
+
WifiOff as I,
|
|
415
|
+
ChevronsUp as J,
|
|
416
|
+
ChevronsDown as K,
|
|
412
417
|
LayoutGrid as L,
|
|
413
418
|
MessageSquare as M,
|
|
414
|
-
|
|
419
|
+
Brain as N,
|
|
420
|
+
Terminal as O,
|
|
415
421
|
Plus as P,
|
|
416
422
|
RotateCcw as R,
|
|
417
423
|
Settings as S,
|
|
@@ -428,22 +434,22 @@ export {
|
|
|
428
434
|
ChevronRight as f,
|
|
429
435
|
Clock as g,
|
|
430
436
|
LoaderCircle as h,
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
437
|
+
Globe as i,
|
|
438
|
+
User as j,
|
|
439
|
+
Radio as k,
|
|
434
440
|
Rows3 as l,
|
|
435
441
|
Columns2 as m,
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
442
|
+
Minus as n,
|
|
443
|
+
Pencil as o,
|
|
444
|
+
ExternalLink as p,
|
|
445
|
+
EyeOff as q,
|
|
446
|
+
Eye as r,
|
|
447
|
+
RotateCw as s,
|
|
448
|
+
ArrowDown as t,
|
|
449
|
+
TriangleAlert as u,
|
|
450
|
+
CircleCheckBig as v,
|
|
451
|
+
CircleStop as w,
|
|
452
|
+
CircleQuestionMark as x,
|
|
453
|
+
Server as y,
|
|
454
|
+
Gauge as z
|
|
449
455
|
};
|