@tonyclaw/agent-inspector 2.0.26 → 2.0.27
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-DBTFzxG5.js → CompareDrawer-B_p6vmMQ.js} +1 -1
- package/.output/public/assets/{ProxyViewerContainer-ivZk8MgE.js → ProxyViewerContainer-DItqh1EO.js} +4 -4
- package/.output/public/assets/{ReplayDialog-syW2hDNE.js → ReplayDialog-BmprJ6D3.js} +1 -1
- package/.output/public/assets/{RequestAnatomy-BkuRtY9o.js → RequestAnatomy-DqO0_SVJ.js} +1 -1
- package/.output/public/assets/{ResponseView-BwyvEvoE.js → ResponseView-FZbPNdHa.js} +1 -1
- package/.output/public/assets/{StreamingChunkSequence-BY4MbPKg.js → StreamingChunkSequence-BZPzfJWj.js} +1 -1
- package/.output/public/assets/_sessionId-y2ATIp51.js +1 -0
- package/.output/public/assets/index-CQT4higx.js +1 -0
- package/.output/public/assets/{main-DKRDRBdd.js → main-CzItFZlM.js} +2 -2
- package/.output/server/_libs/modelcontextprotocol__server.mjs +228 -0
- package/.output/server/{_sessionId-VDd4N_1B.mjs → _sessionId-DZH8SrEZ.mjs} +3 -3
- package/.output/server/_ssr/{CompareDrawer-BQZlxsOC.mjs → CompareDrawer-L0aE1UV1.mjs} +2 -2
- package/.output/server/_ssr/{ProxyViewerContainer-njY2oQCc.mjs → ProxyViewerContainer-B62RB9ER.mjs} +7 -7
- package/.output/server/_ssr/{ReplayDialog-B8lkdAIh.mjs → ReplayDialog-FVWnpx2C.mjs} +3 -3
- package/.output/server/_ssr/{RequestAnatomy-CwOTfdwS.mjs → RequestAnatomy-DIyqW-Ny.mjs} +2 -2
- package/.output/server/_ssr/{ResponseView-3Iz_mZpd.mjs → ResponseView-BX4mxEZ5.mjs} +2 -2
- package/.output/server/_ssr/{StreamingChunkSequence-hmJcQNW5.mjs → StreamingChunkSequence-Cs3nzOor.mjs} +2 -2
- package/.output/server/_ssr/{index-UuTKM4aC.mjs → index-Dik2Mc3h.mjs} +2 -2
- package/.output/server/_ssr/index.mjs +2 -2
- package/.output/server/_ssr/{router-C7InHrxE.mjs → router-DCPg8ykx.mjs} +1816 -151
- package/.output/server/_tanstack-start-manifest_v-BaoL3JCh.mjs +4 -0
- package/.output/server/index.mjs +57 -57
- package/README.md +55 -1
- package/package.json +1 -1
- package/src/lib/runContract.ts +162 -0
- package/src/mcp/server.ts +554 -2
- package/src/mcp/toolHandlers.ts +154 -0
- package/src/proxy/evidenceAnalysis.ts +522 -0
- package/src/proxy/evidenceExporter.ts +215 -0
- package/src/proxy/logSearch.ts +118 -0
- package/src/proxy/runFailures.ts +100 -0
- package/src/proxy/runStore.ts +159 -0
- package/src/routes/api/logs.ts +16 -0
- package/src/routes/api/runs.$runId.evidence.ts +62 -0
- package/src/routes/api/runs.$runId.ts +50 -0
- package/src/routes/api/runs.ts +58 -0
- package/.output/public/assets/_sessionId-XlPUgIIb.js +0 -1
- package/.output/public/assets/index-By11a28-.js +0 -1
- package/.output/server/_tanstack-start-manifest_v-B6yfnMHA.mjs +0 -4
|
@@ -2109,6 +2109,208 @@ function validateAndWarnToolName(name) {
|
|
|
2109
2109
|
issueToolNameWarning(name, result.warnings);
|
|
2110
2110
|
return result.isValid;
|
|
2111
2111
|
}
|
|
2112
|
+
const MAX_TEMPLATE_LENGTH = 1e6;
|
|
2113
|
+
const MAX_VARIABLE_LENGTH = 1e6;
|
|
2114
|
+
const MAX_TEMPLATE_EXPRESSIONS = 1e4;
|
|
2115
|
+
const MAX_REGEX_LENGTH = 1e6;
|
|
2116
|
+
var UriTemplate = class UriTemplate2 {
|
|
2117
|
+
/**
|
|
2118
|
+
* Returns true if the given string contains any URI template expressions.
|
|
2119
|
+
* A template expression is a sequence of characters enclosed in curly braces,
|
|
2120
|
+
* like `{foo}` or `{?bar}`.
|
|
2121
|
+
*/
|
|
2122
|
+
static isTemplate(str) {
|
|
2123
|
+
return /\{[^}\s]+\}/.test(str);
|
|
2124
|
+
}
|
|
2125
|
+
static validateLength(str, max, context) {
|
|
2126
|
+
if (str.length > max) throw new Error(`${context} exceeds maximum length of ${max} characters (got ${str.length})`);
|
|
2127
|
+
}
|
|
2128
|
+
template;
|
|
2129
|
+
parts;
|
|
2130
|
+
get variableNames() {
|
|
2131
|
+
return this.parts.flatMap((part) => typeof part === "string" ? [] : part.names);
|
|
2132
|
+
}
|
|
2133
|
+
constructor(template) {
|
|
2134
|
+
UriTemplate2.validateLength(template, MAX_TEMPLATE_LENGTH, "Template");
|
|
2135
|
+
this.template = template;
|
|
2136
|
+
this.parts = this.parse(template);
|
|
2137
|
+
}
|
|
2138
|
+
toString() {
|
|
2139
|
+
return this.template;
|
|
2140
|
+
}
|
|
2141
|
+
parse(template) {
|
|
2142
|
+
const parts = [];
|
|
2143
|
+
let currentText = "";
|
|
2144
|
+
let i = 0;
|
|
2145
|
+
let expressionCount = 0;
|
|
2146
|
+
while (i < template.length) if (template[i] === "{") {
|
|
2147
|
+
if (currentText) {
|
|
2148
|
+
parts.push(currentText);
|
|
2149
|
+
currentText = "";
|
|
2150
|
+
}
|
|
2151
|
+
const end = template.indexOf("}", i);
|
|
2152
|
+
if (end === -1) throw new Error("Unclosed template expression");
|
|
2153
|
+
expressionCount++;
|
|
2154
|
+
if (expressionCount > MAX_TEMPLATE_EXPRESSIONS) throw new Error(`Template contains too many expressions (max ${MAX_TEMPLATE_EXPRESSIONS})`);
|
|
2155
|
+
const expr = template.slice(i + 1, end);
|
|
2156
|
+
const operator = this.getOperator(expr);
|
|
2157
|
+
const exploded = expr.includes("*");
|
|
2158
|
+
const names = this.getNames(expr);
|
|
2159
|
+
const name = names[0];
|
|
2160
|
+
for (const name$1 of names) UriTemplate2.validateLength(name$1, MAX_VARIABLE_LENGTH, "Variable name");
|
|
2161
|
+
parts.push({
|
|
2162
|
+
name,
|
|
2163
|
+
operator,
|
|
2164
|
+
names,
|
|
2165
|
+
exploded
|
|
2166
|
+
});
|
|
2167
|
+
i = end + 1;
|
|
2168
|
+
} else {
|
|
2169
|
+
currentText += template[i];
|
|
2170
|
+
i++;
|
|
2171
|
+
}
|
|
2172
|
+
if (currentText) parts.push(currentText);
|
|
2173
|
+
return parts;
|
|
2174
|
+
}
|
|
2175
|
+
getOperator(expr) {
|
|
2176
|
+
return [
|
|
2177
|
+
"+",
|
|
2178
|
+
"#",
|
|
2179
|
+
".",
|
|
2180
|
+
"/",
|
|
2181
|
+
"?",
|
|
2182
|
+
"&"
|
|
2183
|
+
].find((op) => expr.startsWith(op)) || "";
|
|
2184
|
+
}
|
|
2185
|
+
getNames(expr) {
|
|
2186
|
+
const operator = this.getOperator(expr);
|
|
2187
|
+
return expr.slice(operator.length).split(",").map((name) => name.replace("*", "").trim()).filter((name) => name.length > 0);
|
|
2188
|
+
}
|
|
2189
|
+
encodeValue(value, operator) {
|
|
2190
|
+
UriTemplate2.validateLength(value, MAX_VARIABLE_LENGTH, "Variable value");
|
|
2191
|
+
if (operator === "+" || operator === "#") return encodeURI(value);
|
|
2192
|
+
return encodeURIComponent(value);
|
|
2193
|
+
}
|
|
2194
|
+
expandPart(part, variables) {
|
|
2195
|
+
if (part.operator === "?" || part.operator === "&") {
|
|
2196
|
+
const pairs = part.names.map((name) => {
|
|
2197
|
+
const value$1 = variables[name];
|
|
2198
|
+
if (value$1 === void 0) return "";
|
|
2199
|
+
return `${name}=${Array.isArray(value$1) ? value$1.map((v) => this.encodeValue(v, part.operator)).join(",") : this.encodeValue(value$1.toString(), part.operator)}`;
|
|
2200
|
+
}).filter((pair) => pair.length > 0);
|
|
2201
|
+
if (pairs.length === 0) return "";
|
|
2202
|
+
return (part.operator === "?" ? "?" : "&") + pairs.join("&");
|
|
2203
|
+
}
|
|
2204
|
+
if (part.names.length > 1) {
|
|
2205
|
+
const values = part.names.map((name) => variables[name]).filter((v) => v !== void 0);
|
|
2206
|
+
if (values.length === 0) return "";
|
|
2207
|
+
return values.map((v) => Array.isArray(v) ? v[0] : v).join(",");
|
|
2208
|
+
}
|
|
2209
|
+
const value = variables[part.name];
|
|
2210
|
+
if (value === void 0) return "";
|
|
2211
|
+
const encoded = (Array.isArray(value) ? value : [value]).map((v) => this.encodeValue(v, part.operator));
|
|
2212
|
+
switch (part.operator) {
|
|
2213
|
+
case "":
|
|
2214
|
+
return encoded.join(",");
|
|
2215
|
+
case "+":
|
|
2216
|
+
return encoded.join(",");
|
|
2217
|
+
case "#":
|
|
2218
|
+
return "#" + encoded.join(",");
|
|
2219
|
+
case ".":
|
|
2220
|
+
return "." + encoded.join(".");
|
|
2221
|
+
case "/":
|
|
2222
|
+
return "/" + encoded.join("/");
|
|
2223
|
+
default:
|
|
2224
|
+
return encoded.join(",");
|
|
2225
|
+
}
|
|
2226
|
+
}
|
|
2227
|
+
expand(variables) {
|
|
2228
|
+
let result = "";
|
|
2229
|
+
let hasQueryParam = false;
|
|
2230
|
+
for (const part of this.parts) {
|
|
2231
|
+
if (typeof part === "string") {
|
|
2232
|
+
result += part;
|
|
2233
|
+
continue;
|
|
2234
|
+
}
|
|
2235
|
+
const expanded = this.expandPart(part, variables);
|
|
2236
|
+
if (!expanded) continue;
|
|
2237
|
+
result += (part.operator === "?" || part.operator === "&") && hasQueryParam ? expanded.replace("?", "&") : expanded;
|
|
2238
|
+
if (part.operator === "?" || part.operator === "&") hasQueryParam = true;
|
|
2239
|
+
}
|
|
2240
|
+
return result;
|
|
2241
|
+
}
|
|
2242
|
+
escapeRegExp(str) {
|
|
2243
|
+
return str.replaceAll(/[.*+?^${}()|[\]\\]/g, String.raw`\$&`);
|
|
2244
|
+
}
|
|
2245
|
+
partToRegExp(part) {
|
|
2246
|
+
const patterns = [];
|
|
2247
|
+
for (const name$1 of part.names) UriTemplate2.validateLength(name$1, MAX_VARIABLE_LENGTH, "Variable name");
|
|
2248
|
+
if (part.operator === "?" || part.operator === "&") {
|
|
2249
|
+
for (let i = 0; i < part.names.length; i++) {
|
|
2250
|
+
const name$1 = part.names[i];
|
|
2251
|
+
const prefix = i === 0 ? "\\" + part.operator : "&";
|
|
2252
|
+
patterns.push({
|
|
2253
|
+
pattern: prefix + this.escapeRegExp(name$1) + "=([^&]+)",
|
|
2254
|
+
name: name$1
|
|
2255
|
+
});
|
|
2256
|
+
}
|
|
2257
|
+
return patterns;
|
|
2258
|
+
}
|
|
2259
|
+
let pattern;
|
|
2260
|
+
const name = part.name;
|
|
2261
|
+
switch (part.operator) {
|
|
2262
|
+
case "":
|
|
2263
|
+
pattern = part.exploded ? "([^/,]+(?:,[^/,]+)*)" : "([^/,]+)";
|
|
2264
|
+
break;
|
|
2265
|
+
case "+":
|
|
2266
|
+
case "#":
|
|
2267
|
+
pattern = "(.+)";
|
|
2268
|
+
break;
|
|
2269
|
+
case ".":
|
|
2270
|
+
pattern = String.raw`\.([^/,]+)`;
|
|
2271
|
+
break;
|
|
2272
|
+
case "/":
|
|
2273
|
+
pattern = "/" + (part.exploded ? "([^/,]+(?:,[^/,]+)*)" : "([^/,]+)");
|
|
2274
|
+
break;
|
|
2275
|
+
default:
|
|
2276
|
+
pattern = "([^/]+)";
|
|
2277
|
+
}
|
|
2278
|
+
patterns.push({
|
|
2279
|
+
pattern,
|
|
2280
|
+
name
|
|
2281
|
+
});
|
|
2282
|
+
return patterns;
|
|
2283
|
+
}
|
|
2284
|
+
match(uri) {
|
|
2285
|
+
UriTemplate2.validateLength(uri, MAX_TEMPLATE_LENGTH, "URI");
|
|
2286
|
+
let pattern = "^";
|
|
2287
|
+
const names = [];
|
|
2288
|
+
for (const part of this.parts) if (typeof part === "string") pattern += this.escapeRegExp(part);
|
|
2289
|
+
else {
|
|
2290
|
+
const patterns = this.partToRegExp(part);
|
|
2291
|
+
for (const { pattern: partPattern, name } of patterns) {
|
|
2292
|
+
pattern += partPattern;
|
|
2293
|
+
names.push({
|
|
2294
|
+
name,
|
|
2295
|
+
exploded: part.exploded
|
|
2296
|
+
});
|
|
2297
|
+
}
|
|
2298
|
+
}
|
|
2299
|
+
pattern += "$";
|
|
2300
|
+
UriTemplate2.validateLength(pattern, MAX_REGEX_LENGTH, "Generated regex pattern");
|
|
2301
|
+
const regex = new RegExp(pattern);
|
|
2302
|
+
const match = uri.match(regex);
|
|
2303
|
+
if (!match) return null;
|
|
2304
|
+
const result = {};
|
|
2305
|
+
for (const [i, name_] of names.entries()) {
|
|
2306
|
+
const { name, exploded } = name_;
|
|
2307
|
+
const value = match[i + 1];
|
|
2308
|
+
const cleanName = name.replace("*", "");
|
|
2309
|
+
result[cleanName] = exploded && value.includes(",") ? value.split(",") : value;
|
|
2310
|
+
}
|
|
2311
|
+
return result;
|
|
2312
|
+
}
|
|
2313
|
+
};
|
|
2112
2314
|
function standardSchemaToJsonSchema(schema, io = "input") {
|
|
2113
2315
|
const result = schema["~standard"].jsonSchema[io]({ target: "draft-2020-12" });
|
|
2114
2316
|
if (result.type !== void 0 && result.type !== "object") throw new Error(`MCP tool and prompt schemas must describe objects (got type: ${JSON.stringify(result.type)}). Wrap your schema in z.object({...}) or equivalent.`);
|
|
@@ -9134,6 +9336,31 @@ var McpServer = class {
|
|
|
9134
9336
|
if (this.isConnected()) this.server.sendPromptListChanged();
|
|
9135
9337
|
}
|
|
9136
9338
|
};
|
|
9339
|
+
var ResourceTemplate = class {
|
|
9340
|
+
_uriTemplate;
|
|
9341
|
+
constructor(uriTemplate, _callbacks) {
|
|
9342
|
+
this._callbacks = _callbacks;
|
|
9343
|
+
this._uriTemplate = typeof uriTemplate === "string" ? new UriTemplate(uriTemplate) : uriTemplate;
|
|
9344
|
+
}
|
|
9345
|
+
/**
|
|
9346
|
+
* Gets the URI template pattern.
|
|
9347
|
+
*/
|
|
9348
|
+
get uriTemplate() {
|
|
9349
|
+
return this._uriTemplate;
|
|
9350
|
+
}
|
|
9351
|
+
/**
|
|
9352
|
+
* Gets the list callback, if one was provided.
|
|
9353
|
+
*/
|
|
9354
|
+
get listCallback() {
|
|
9355
|
+
return this._callbacks.list;
|
|
9356
|
+
}
|
|
9357
|
+
/**
|
|
9358
|
+
* Gets the callback for completing a specific URI template variable, if one was provided.
|
|
9359
|
+
*/
|
|
9360
|
+
completeCallback(variable) {
|
|
9361
|
+
return this._callbacks.complete?.[variable];
|
|
9362
|
+
}
|
|
9363
|
+
};
|
|
9137
9364
|
function createToolExecutor(inputSchema, handler) {
|
|
9138
9365
|
if ("createTask" in handler) {
|
|
9139
9366
|
const taskHandler = handler;
|
|
@@ -9734,5 +9961,6 @@ data:
|
|
|
9734
9961
|
};
|
|
9735
9962
|
export {
|
|
9736
9963
|
McpServer as M,
|
|
9964
|
+
ResourceTemplate as R,
|
|
9737
9965
|
WebStandardStreamableHTTPServerTransport as W
|
|
9738
9966
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as jsxRuntimeExports } from "./_libs/react.mjs";
|
|
2
|
-
import { P as ProxyViewerContainer } from "./_ssr/ProxyViewerContainer-
|
|
3
|
-
import { R as Route$
|
|
2
|
+
import { P as ProxyViewerContainer } from "./_ssr/ProxyViewerContainer-B62RB9ER.mjs";
|
|
3
|
+
import { R as Route$t } from "./_ssr/router-DCPg8ykx.mjs";
|
|
4
4
|
import "./_libs/jszip.mjs";
|
|
5
5
|
import "./_libs/modelcontextprotocol__server.mjs";
|
|
6
6
|
import "./_libs/swr.mjs";
|
|
@@ -169,7 +169,7 @@ import "./_libs/pako.mjs";
|
|
|
169
169
|
function SessionViewerRoute() {
|
|
170
170
|
const {
|
|
171
171
|
sessionId
|
|
172
|
-
} = Route$
|
|
172
|
+
} = Route$t.useParams();
|
|
173
173
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(ProxyViewerContainer, { initialSessionId: sessionId }, sessionId);
|
|
174
174
|
}
|
|
175
175
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
|
|
2
|
-
import { g as getLogFormatAdapter, r as resolveLogFormat, a as getConversationId, c as cn, B as Badge, f as formatTokens, J as JsonViewerFromString } from "./ProxyViewerContainer-
|
|
3
|
-
import "./router-
|
|
2
|
+
import { g as getLogFormatAdapter, r as resolveLogFormat, a as getConversationId, c as cn, B as Badge, f as formatTokens, J as JsonViewerFromString } from "./ProxyViewerContainer-B62RB9ER.mjs";
|
|
3
|
+
import "./router-DCPg8ykx.mjs";
|
|
4
4
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
5
5
|
import "../_libs/jszip.mjs";
|
|
6
6
|
import { X, a9 as Rows3, aa as Columns2, p as Minus, P as Plus, j as Pencil, i as ChevronRight, ab as Equal, C as Check, a as Copy } from "../_libs/lucide-react.mjs";
|
package/.output/server/_ssr/{ProxyViewerContainer-njY2oQCc.mjs → ProxyViewerContainer-B62RB9ER.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as reactExports, j as jsxRuntimeExports, a as React } from "../_libs/react.mjs";
|
|
2
|
-
import { C as CapturedLogSchema, D as DEFAULT_CAPTURE_MODE, a as DEFAULT_SLOW_RESPONSE_THRESHOLD_SECONDS, b as DEFAULT_PROVIDER_TEST_TIMEOUT_SECONDS, c as DEFAULT_TIME_DISPLAY_FORMAT, d as RuntimeConfigSchema, P as ProviderConfigSchema, r as requestFormatForPath, j as createPendingProviderTestResults, k as ProviderTestResultsSchema, l as createFailedProviderTestResults, M as MAX_SLOW_RESPONSE_THRESHOLD_SECONDS, n as MAX_PROVIDER_TEST_TIMEOUT_SECONDS, T as TimeDisplayFormatSchema, m as maskApiKey, h as providerHasContextMetadata, i as findProviderModelMetadata, g as getSessionPath, p as parseOpenAIResponse, O as OpenAIRequestSchema, A as AnthropicResponseSchema$1, e as AnthropicRequestSchema, s as safeGetOwnProperty, o as resolveProviderContextWindow, K as KnowledgeCandidateSchema, f as stripClaudeCodeBillingHeader, q as isPlainRecord } from "./router-
|
|
2
|
+
import { C as CapturedLogSchema, D as DEFAULT_CAPTURE_MODE, a as DEFAULT_SLOW_RESPONSE_THRESHOLD_SECONDS, b as DEFAULT_PROVIDER_TEST_TIMEOUT_SECONDS, c as DEFAULT_TIME_DISPLAY_FORMAT, d as RuntimeConfigSchema, P as ProviderConfigSchema, r as requestFormatForPath, j as createPendingProviderTestResults, k as ProviderTestResultsSchema, l as createFailedProviderTestResults, M as MAX_SLOW_RESPONSE_THRESHOLD_SECONDS, n as MAX_PROVIDER_TEST_TIMEOUT_SECONDS, T as TimeDisplayFormatSchema, m as maskApiKey, h as providerHasContextMetadata, i as findProviderModelMetadata, g as getSessionPath, p as parseOpenAIResponse, O as OpenAIRequestSchema, A as AnthropicResponseSchema$1, e as AnthropicRequestSchema, s as safeGetOwnProperty, o as resolveProviderContextWindow, K as KnowledgeCandidateSchema, f as stripClaudeCodeBillingHeader, q as isPlainRecord } from "./router-DCPg8ykx.mjs";
|
|
3
3
|
import { u as useSWR, a as useSWRConfig } from "../_libs/swr.mjs";
|
|
4
4
|
import { J as JSZip } from "../_libs/jszip.mjs";
|
|
5
5
|
import { c as clsx } from "../_libs/clsx.mjs";
|
|
@@ -515,7 +515,7 @@ function useProviders() {
|
|
|
515
515
|
mutate: response.mutate
|
|
516
516
|
};
|
|
517
517
|
}
|
|
518
|
-
const version = "2.0.
|
|
518
|
+
const version = "2.0.27";
|
|
519
519
|
const packageJson = {
|
|
520
520
|
version
|
|
521
521
|
};
|
|
@@ -1576,19 +1576,19 @@ function useCopyFeedback(text) {
|
|
|
1576
1576
|
return { copied, copy };
|
|
1577
1577
|
}
|
|
1578
1578
|
const LazyCompareDrawer = reactExports.lazy(
|
|
1579
|
-
() => import("./CompareDrawer-
|
|
1579
|
+
() => import("./CompareDrawer-L0aE1UV1.mjs").then((m) => ({ default: m.CompareDrawer }))
|
|
1580
1580
|
);
|
|
1581
1581
|
const LazyReplayDialog = reactExports.lazy(
|
|
1582
|
-
() => import("./ReplayDialog-
|
|
1582
|
+
() => import("./ReplayDialog-FVWnpx2C.mjs").then((m) => ({ default: m.ReplayDialog }))
|
|
1583
1583
|
);
|
|
1584
1584
|
const LazyRequestAnatomy = reactExports.lazy(
|
|
1585
|
-
() => import("./RequestAnatomy-
|
|
1585
|
+
() => import("./RequestAnatomy-DIyqW-Ny.mjs").then((m) => ({ default: m.RequestAnatomy }))
|
|
1586
1586
|
);
|
|
1587
1587
|
const LazyResponseView = reactExports.lazy(
|
|
1588
|
-
() => import("./ResponseView-
|
|
1588
|
+
() => import("./ResponseView-BX4mxEZ5.mjs").then((m) => ({ default: m.ResponseView }))
|
|
1589
1589
|
);
|
|
1590
1590
|
const LazyStreamingChunkSequence = reactExports.lazy(
|
|
1591
|
-
() => import("./StreamingChunkSequence-
|
|
1591
|
+
() => import("./StreamingChunkSequence-Cs3nzOor.mjs").then((m) => ({
|
|
1592
1592
|
default: m.StreamingChunkSequence
|
|
1593
1593
|
}))
|
|
1594
1594
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
|
|
2
|
-
import { u as useProviders, D as Dialog, b as DialogContent, d as DialogHeader, e as DialogTitle, T as Tabs, h as TabsList, i as TabsTrigger, j as TabsContent, k as Button, l as TooltipProvider, m as Tooltip, n as TooltipTrigger, o as TooltipContent, p as dispatchLogFocusRequest } from "./ProxyViewerContainer-
|
|
3
|
-
import { ResponseView } from "./ResponseView-
|
|
4
|
-
import { C as CapturedLogSchema } from "./router-
|
|
2
|
+
import { u as useProviders, D as Dialog, b as DialogContent, d as DialogHeader, e as DialogTitle, T as Tabs, h as TabsList, i as TabsTrigger, j as TabsContent, k as Button, l as TooltipProvider, m as Tooltip, n as TooltipTrigger, o as TooltipContent, p as dispatchLogFocusRequest } from "./ProxyViewerContainer-B62RB9ER.mjs";
|
|
3
|
+
import { ResponseView } from "./ResponseView-BX4mxEZ5.mjs";
|
|
4
|
+
import { C as CapturedLogSchema } from "./router-DCPg8ykx.mjs";
|
|
5
5
|
import "../_libs/jszip.mjs";
|
|
6
6
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
7
7
|
import { K as RotateCcw, ac as Braces, ad as Minimize2 } from "../_libs/lucide-react.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
|
|
2
|
-
import { u as useProviders, q as analyzeContextIntelligence, f as formatTokens, l as TooltipProvider, c as cn, m as Tooltip, n as TooltipTrigger, o as TooltipContent, S as SegmentBar, R as ROLE_COLOR_CLASSES, A as ANATOMY_ROLE_LABELS, s as formatContextWindowTokens, C as CONTEXT_USAGE_THRESHOLDS } from "./ProxyViewerContainer-
|
|
3
|
-
import "./router-
|
|
2
|
+
import { u as useProviders, q as analyzeContextIntelligence, f as formatTokens, l as TooltipProvider, c as cn, m as Tooltip, n as TooltipTrigger, o as TooltipContent, S as SegmentBar, R as ROLE_COLOR_CLASSES, A as ANATOMY_ROLE_LABELS, s as formatContextWindowTokens, C as CONTEXT_USAGE_THRESHOLDS } from "./ProxyViewerContainer-B62RB9ER.mjs";
|
|
3
|
+
import "./router-DCPg8ykx.mjs";
|
|
4
4
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
5
5
|
import "../_libs/jszip.mjs";
|
|
6
6
|
import { ae as Info, b as ChevronDown, i as ChevronRight } from "../_libs/lucide-react.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
|
|
2
|
-
import { g as getLogFormatAdapter, f as formatTokens, c as cn, t as getStatusCategory, B as Badge, v as Collapsible, w as CollapsibleTrigger, x as CollapsibleContent, y as ScrollArea, z as JsonViewer, E as safeJsonValue } from "./ProxyViewerContainer-
|
|
3
|
-
import "./router-
|
|
2
|
+
import { g as getLogFormatAdapter, f as formatTokens, c as cn, t as getStatusCategory, B as Badge, v as Collapsible, w as CollapsibleTrigger, x as CollapsibleContent, y as ScrollArea, z as JsonViewer, E as safeJsonValue } from "./ProxyViewerContainer-B62RB9ER.mjs";
|
|
3
|
+
import "./router-DCPg8ykx.mjs";
|
|
4
4
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
5
5
|
import "../_libs/jszip.mjs";
|
|
6
6
|
import { Z as Zap, o as TriangleAlert, af as CircleStop, B as Brain, b as ChevronDown, i as ChevronRight, T as Terminal } from "../_libs/lucide-react.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as reactExports, j as jsxRuntimeExports } from "../_libs/react.mjs";
|
|
2
|
-
import { l as TooltipProvider, m as Tooltip, n as TooltipTrigger, B as Badge, o as TooltipContent, z as JsonViewer } from "./ProxyViewerContainer-
|
|
3
|
-
import "./router-
|
|
2
|
+
import { l as TooltipProvider, m as Tooltip, n as TooltipTrigger, B as Badge, o as TooltipContent, z as JsonViewer } from "./ProxyViewerContainer-B62RB9ER.mjs";
|
|
3
|
+
import "./router-DCPg8ykx.mjs";
|
|
4
4
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
5
5
|
import "../_libs/jszip.mjs";
|
|
6
6
|
import { b as ChevronDown, i as ChevronRight, L as LoaderCircle } from "../_libs/lucide-react.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProxyViewerContainer } from "./ProxyViewerContainer-
|
|
1
|
+
import { P as ProxyViewerContainer } from "./ProxyViewerContainer-B62RB9ER.mjs";
|
|
2
2
|
import "../_libs/react.mjs";
|
|
3
|
-
import "./router-
|
|
3
|
+
import "./router-DCPg8ykx.mjs";
|
|
4
4
|
import "../_libs/modelcontextprotocol__server.mjs";
|
|
5
5
|
import "../_libs/jszip.mjs";
|
|
6
6
|
import "../_libs/swr.mjs";
|
|
@@ -198,7 +198,7 @@ function getResponse() {
|
|
|
198
198
|
return event.res;
|
|
199
199
|
}
|
|
200
200
|
async function getStartManifest(matchedRoutes) {
|
|
201
|
-
const { tsrStartManifest } = await import("../_tanstack-start-manifest_v-
|
|
201
|
+
const { tsrStartManifest } = await import("../_tanstack-start-manifest_v-BaoL3JCh.mjs");
|
|
202
202
|
const startManifest = tsrStartManifest();
|
|
203
203
|
const rootRoute = startManifest.routes[rootRouteId] = startManifest.routes[rootRouteId] || {};
|
|
204
204
|
rootRoute.assets = rootRoute.assets || [];
|
|
@@ -767,7 +767,7 @@ let entriesPromise;
|
|
|
767
767
|
let baseManifestPromise;
|
|
768
768
|
let cachedFinalManifestPromise;
|
|
769
769
|
async function loadEntries() {
|
|
770
|
-
const routerEntry = await import("./router-
|
|
770
|
+
const routerEntry = await import("./router-DCPg8ykx.mjs").then((n) => n.t);
|
|
771
771
|
const startEntry = await import("./start-HYkvq4Ni.mjs");
|
|
772
772
|
return { startEntry, routerEntry };
|
|
773
773
|
}
|