@wirecat/tg-cli 0.133.0 → 0.134.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/README.md +2 -3
- package/contracts/wirecat.json +82 -2
- package/dist/bin/tg.js +2 -2
- package/dist/bot/generated/types.d.ts +188 -0
- package/dist/bot/generated/types.d.ts.map +1 -1
- package/dist/bundle/{adapter-GSGX3WBH.js → adapter-Y4IXTXAG.js} +104 -69
- package/dist/bundle/agent-G7VHOJMS.js +37 -0
- package/dist/bundle/{all-profiles-VOCJ55YH.js → all-profiles-SUGID6CX.js} +62 -20
- package/dist/bundle/{anthropic-J6CTLU3W.js → anthropic-4QKTXT4B.js} +5 -5
- package/dist/bundle/{app-server-GVFGA4TJ.js → app-server-TPOD6LIJ.js} +72 -62
- package/dist/bundle/{bot-api-LWONPIGK.js → bot-api-KBESP422.js} +73 -92
- package/dist/bundle/{bot-history-XOW7Y2GC.js → bot-history-3EORA23G.js} +23 -22
- package/dist/bundle/{bun-436CH6CP.js → bun-FL76M4M2.js} +2 -2
- package/dist/bundle/{bun-sqlite-ZLB5RK5Q.js → bun-sqlite-H37OSTAJ.js} +6 -6
- package/dist/bundle/{chunk-YY6FGKGD.js → chunk-2GT563YH.js} +2 -2
- package/dist/bundle/{chunk-5L44DSHV.js → chunk-2JWY7CXJ.js} +4 -4
- package/dist/bundle/{chunk-OX73ERZW.js → chunk-3O25FAPA.js} +3 -4
- package/dist/bundle/{chunk-TCI7I6YF.js → chunk-3PG6QVQZ.js} +11 -25
- package/dist/bundle/{chunk-NTWXL2QV.js → chunk-3QQWTP77.js} +2 -2
- package/dist/bundle/{chunk-TTDZVWDU.js → chunk-3ZNO27UE.js} +1 -1
- package/dist/bundle/{chunk-7NYP4RBO.js → chunk-4R2ZJGFF.js} +2125 -1179
- package/dist/bundle/{chunk-VGN5YXYI.js → chunk-4S2DHHJM.js} +2 -100
- package/dist/bundle/{chunk-H7ML7X3G.js → chunk-4X6BX3XP.js} +144 -10
- package/dist/bundle/{chunk-D2SJLZSH.js → chunk-6DGVK5KS.js} +2 -2
- package/dist/bundle/chunk-6DJJVFSG.js +388 -0
- package/dist/bundle/{chunk-M6QOM6SL.js → chunk-6MEHKUN6.js} +1 -1
- package/dist/bundle/{chunk-6CHIGUCY.js → chunk-6UNLEQA5.js} +31 -20
- package/dist/bundle/{chunk-WCYKVX3B.js → chunk-77E7Q4EQ.js} +7 -7
- package/dist/bundle/chunk-7GGDCQJ5.js +353 -0
- package/dist/bundle/{chunk-UIAKLELF.js → chunk-AHVWZDXO.js} +79 -64
- package/dist/bundle/{chunk-NO2LIHWA.js → chunk-ANBI3OXK.js} +1 -1
- package/dist/bundle/{chunk-LQQSDGQ6.js → chunk-AYWST6NA.js} +56 -46
- package/dist/bundle/{chunk-NAXOT35J.js → chunk-CA7DY2YU.js} +3 -3
- package/dist/bundle/{chunk-UKBK2VWZ.js → chunk-CDKXZLMP.js} +225 -175
- package/dist/bundle/{chunk-5HKPQPD4.js → chunk-CNGNR4CY.js} +6 -6
- package/dist/bundle/{chunk-KUA24HWG.js → chunk-CSXCCK6J.js} +2 -2
- package/dist/bundle/{chunk-VTQMR3XG.js → chunk-DG35TQ6P.js} +3 -3
- package/dist/bundle/{chunk-IPPCQ7IK.js → chunk-EXMAWEHC.js} +2 -2
- package/dist/bundle/{chunk-CEJYNB3I.js → chunk-FR3ATU5I.js} +4 -4
- package/dist/bundle/{chunk-XOX4BX5A.js → chunk-FR4Y5CGW.js} +4 -4
- package/dist/bundle/{chunk-JPNVEPS4.js → chunk-GIGZTI74.js} +2023 -1928
- package/dist/bundle/{chunk-UZ63ORMY.js → chunk-H3TLAYGY.js} +4 -4
- package/dist/bundle/{chunk-LBZEZO32.js → chunk-HD7DV5B2.js} +65 -43
- package/dist/bundle/{chunk-TPD37ECC.js → chunk-HETHFOHC.js} +3 -3
- package/dist/bundle/{chunk-JKSD43L7.js → chunk-HEZK4W3U.js} +6 -6
- package/dist/bundle/{chunk-SMU6NA7F.js → chunk-IJ7R2WMK.js} +4 -4
- package/dist/bundle/{chunk-7NF3V5L2.js → chunk-ITJ7DGNA.js} +4 -4
- package/dist/bundle/{chunk-JGMXBAGH.js → chunk-J5RB4ASI.js} +140 -433
- package/dist/bundle/{chunk-57KJ3TRS.js → chunk-JAL443BH.js} +9 -9
- package/dist/bundle/{chunk-IH4Z3KZU.js → chunk-JCDD5T3A.js} +2 -2
- package/dist/bundle/{chunk-BXVB42KJ.js → chunk-JHZJBNDO.js} +2 -2
- package/dist/bundle/chunk-JWLODUN3.js +555 -0
- package/dist/bundle/{chunk-54WLIPIQ.js → chunk-JWNSG5GI.js} +1 -1
- package/dist/bundle/{chunk-UGS57TT5.js → chunk-JXEO5EIN.js} +2 -2
- package/dist/bundle/{chunk-QYLZD4DS.js → chunk-K5FK6WWN.js} +1 -1
- package/dist/bundle/{chunk-QWO7L4UH.js → chunk-L47PFECD.js} +7 -7
- package/dist/bundle/{chunk-IYAXLLGR.js → chunk-L4PNDW4S.js} +6 -6
- package/dist/bundle/{chunk-ZHO3TPHM.js → chunk-M323L5SG.js} +30 -15
- package/dist/bundle/{chunk-6A44ZZFC.js → chunk-MMDFPBFZ.js} +43 -64
- package/dist/bundle/{chunk-OWY52JBO.js → chunk-MUV73B5A.js} +7 -7
- package/dist/bundle/{chunk-2KQDJHF3.js → chunk-MXA3FU2R.js} +29 -1
- package/dist/bundle/{chunk-6H2NW6HK.js → chunk-NUD4CBHK.js} +3 -3
- package/dist/bundle/{chunk-RABUG4KA.js → chunk-NYEVPAF2.js} +511 -472
- package/dist/bundle/{chunk-VWJTYAIQ.js → chunk-O3QBO6NW.js} +17 -17
- package/dist/bundle/{chunk-N7QREPZW.js → chunk-O4ZOQJ6W.js} +9 -9
- package/dist/bundle/{chunk-KEN4B57V.js → chunk-OJSPB4LA.js} +2 -2
- package/dist/bundle/{chunk-UQYL6TJ7.js → chunk-PCBVSHKD.js} +4 -4
- package/dist/bundle/{chunk-LIQMUDIZ.js → chunk-PK5WEGPJ.js} +2 -2
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/{chunk-O6JUVATT.js → chunk-PRI2XTM7.js} +35 -12
- package/dist/bundle/chunk-PRM7GKBV.js +340 -0
- package/dist/bundle/{chunk-YAPDU3SV.js → chunk-PZ2ZFPGO.js} +1 -1
- package/dist/bundle/chunk-QYRK4XXH.js +727 -0
- package/dist/bundle/{chunk-XDQU5HBO.js → chunk-RVA3CRSY.js} +12 -12
- package/dist/bundle/{chunk-QVGEL66U.js → chunk-SPXNI53Z.js} +38 -9
- package/dist/bundle/{chunk-QGWISM4W.js → chunk-TI5U6AUT.js} +34 -28
- package/dist/bundle/{chunk-THYGLTRB.js → chunk-TKWYXM7L.js} +7 -7
- package/dist/bundle/{chunk-XKOMP3HV.js → chunk-TZCFJJEU.js} +6 -6
- package/dist/bundle/chunk-UTTEAOJ3.js +7 -0
- package/dist/bundle/chunk-V6G4LTXU.js +50 -0
- package/dist/bundle/{chunk-KVFUH5IT.js → chunk-VH4J7IIS.js} +1 -1
- package/dist/bundle/{chunk-VCAOH45X.js → chunk-VNJRWFHP.js} +1 -1
- package/dist/bundle/chunk-W2QSDPG6.js +80 -0
- package/dist/bundle/{chunk-LOS4D6ZB.js → chunk-WGGUKQE7.js} +113 -567
- package/dist/bundle/{chunk-ZYAHZKYF.js → chunk-WPXVJGSL.js} +3 -3
- package/dist/bundle/{chunk-IBCXEVNY.js → chunk-XLNV3U6N.js} +3 -3
- package/dist/bundle/{chunk-6S77EKZU.js → chunk-XS4EE7MO.js} +17 -15
- package/dist/bundle/{chunk-6VCSOQFL.js → chunk-XVRLD3LN.js} +2 -2
- package/dist/bundle/{chunk-HB5DP6L5.js → chunk-XZ6XEAJP.js} +18 -18
- package/dist/bundle/{chunk-N3JUHGKM.js → chunk-YHTSJMZ5.js} +3706 -3372
- package/dist/bundle/chunk-YPJCURT6.js +108 -0
- package/dist/bundle/{chunk-SMI2EUH4.js → chunk-Z77R76S2.js} +1 -1
- package/dist/bundle/{chunk-KHUXDSXN.js → chunk-ZC7OEYDX.js} +1 -1
- package/dist/bundle/{chunk-5LRTYBZW.js → chunk-ZW2N2GI2.js} +12 -12
- package/dist/bundle/command-contract-LEFXJAA3.js +37 -0
- package/dist/bundle/{command-server-entry-AE27QXTE.js → command-server-entry-WQAE5UGU.js} +27 -27
- package/dist/bundle/{decode-RQPPZ72F.js → decode-2J2DOVGV.js} +5 -5
- package/dist/bundle/{dispatch-KQO2MCSH.js → dispatch-IZ2TP5GW.js} +8 -8
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/{echarts-FZRIACN4.js → echarts-GFIIHZ4U.js} +2 -2
- package/dist/bundle/{embed-TOSWWMDL.js → embed-AGOXADHW.js} +6 -6
- package/dist/bundle/{embedder-JHIQSBGD.js → embedder-PCIXGM2Y.js} +9 -9
- package/dist/bundle/{entry-DU4KRXTG.js → entry-HUQXUV52.js} +9 -9
- package/dist/bundle/{failure-3YC3YGYO.js → failure-JSRHZ2S6.js} +2 -2
- package/dist/bundle/{first-run-DQQT4FID.js → first-run-2LXN7B33.js} +12 -12
- package/dist/bundle/first-screen-VUE6RCSF.js +37 -0
- package/dist/bundle/{instructions-WI64CJQ6.js → instructions-RSLTJVFJ.js} +1 -1
- package/dist/bundle/{mcp-VMS6PBCU.js → mcp-MMENCB7I.js} +2 -2
- package/dist/bundle/meeting-combined-PBNPHOM3.js +23 -0
- package/dist/bundle/{meeting-model-XNRSREIK.js → meeting-model-SI77WMMK.js} +11 -11
- package/dist/bundle/{meeting-semantic-OOSCHQMB.js → meeting-semantic-WRXWUR4M.js} +6 -6
- package/dist/bundle/{node-JLKDNVKV.js → node-5XGMCUGQ.js} +2 -2
- package/dist/bundle/{node-sqlite-YOGH26O2.js → node-sqlite-ES7SQSIC.js} +7 -7
- package/dist/bundle/{oauth-FOMXM5HP.js → oauth-QFM4Y6N7.js} +8 -8
- package/dist/bundle/{open-SM2UXUKM.js → open-2MD2DKGQ.js} +5 -5
- package/dist/bundle/{openai-J2H7S6ZF.js → openai-6TMKJKYO.js} +15 -15
- package/dist/bundle/{process-HI7OZBOI.js → process-VA2DP7MY.js} +1 -1
- package/dist/bundle/{program-VY4HFU25.js → program-K3SLEA42.js} +70 -64
- package/dist/bundle/{prompt-NUUVFMOF.js → prompt-VZSPCE6E.js} +5 -5
- package/dist/bundle/{proxy-transport-AN4VMRRN.js → proxy-transport-OJU2EOOC.js} +5 -5
- package/dist/bundle/{recognize-MALJHPDI.js → recognize-LH3ZZEIL.js} +4 -4
- package/dist/bundle/{remote-QUDRSTS2.js → remote-JNW5HN2I.js} +9 -9
- package/dist/bundle/{rerank-2DSO3D3S.js → rerank-P23UJMII.js} +7 -7
- package/dist/bundle/{serve-NCJ52MY3.js → serve-VSLLMILH.js} +15 -15
- package/dist/bundle/{server-Y3M544AM.js → server-FBRRRKCS.js} +65 -54
- package/dist/bundle/server-TA4QP7PG.js +78 -0
- package/dist/bundle/{sqlite-runtime-NJUSXVKK.js → sqlite-runtime-LWATDAAU.js} +6 -6
- package/dist/bundle/{state-AVOWQVET.js → state-3AFJL2EL.js} +6 -6
- package/dist/bundle/{store-MMIYOL4H.js → store-6TLYL2VU.js} +28 -17
- package/dist/bundle/{store-BZ5ICDRP.js → store-PEXV5DNA.js} +20 -19
- package/dist/bundle/store-maintenance-command-IYJLUQ5X.js +65 -0
- package/dist/bundle/surface-L4VY4WFG.js +64 -0
- package/dist/bundle/tg.js +13 -13
- package/dist/telegram/adapter.d.ts +9 -2
- package/dist/telegram/adapter.d.ts.map +1 -1
- package/dist/telegram/adapter.js +5 -6
- package/dist/telegram/adapter.js.map +1 -1
- package/dist/telegram/messages.d.ts +12 -0
- package/dist/telegram/messages.d.ts.map +1 -1
- package/dist/telegram/messages.js +40 -0
- package/dist/telegram/messages.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/tg-cli/SKILL.md +4 -2
- package/skills/tg-cli/references/messages.md +5 -1
- package/skills/tg-cli/references/search.md +2 -0
- package/dist/bundle/chunk-SHTHNBHG.js +0 -2
- package/dist/bundle/command-contract-TQIARAB4.js +0 -37
- package/dist/bundle/first-screen-7N4CTZSA.js +0 -37
- package/dist/bundle/meeting-combined-3RAOFQ7M.js +0 -23
- package/dist/bundle/server-CHGON5I2.js +0 -70
- package/dist/bundle/store-maintenance-command-VKZ4WHUB.js +0 -61
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
CLIENT_INFO_META_KEY
|
|
5
|
+
} from "./chunk-PL5P7UKW.js";
|
|
6
|
+
import {
|
|
7
|
+
agentOf,
|
|
8
|
+
clientHash,
|
|
9
|
+
currentCaller
|
|
10
|
+
} from "./chunk-L47PFECD.js";
|
|
11
|
+
import {
|
|
12
|
+
__name
|
|
13
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
14
|
+
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/mcp/caller.js
|
|
16
|
+
var callingAgent = /* @__PURE__ */ __name((fallback, caller = currentCaller()) => {
|
|
17
|
+
const client = caller?.agent?.client?.name;
|
|
18
|
+
if (client && client !== "unknown")
|
|
19
|
+
return client;
|
|
20
|
+
const kind = caller?.agent?.kind;
|
|
21
|
+
return kind && kind !== "mcp-client" ? kind : fallback;
|
|
22
|
+
}, "callingAgent");
|
|
23
|
+
var CALLER_META_KEY = "wirecat.dev/caller";
|
|
24
|
+
var PROXY_CLIENT_NAME = "all-profiles";
|
|
25
|
+
var NAME = /^[\w .@()/+-]{1,64}$/;
|
|
26
|
+
var plain = /* @__PURE__ */ __name((value) => typeof value === "string" && NAME.test(value.trim()) ? value.trim() : void 0, "plain");
|
|
27
|
+
var clientFrom = /* @__PURE__ */ __name((value) => {
|
|
28
|
+
if (!value || typeof value !== "object")
|
|
29
|
+
return void 0;
|
|
30
|
+
const { name, version } = value;
|
|
31
|
+
const named = plain(name);
|
|
32
|
+
if (!named)
|
|
33
|
+
return void 0;
|
|
34
|
+
const versioned = plain(version);
|
|
35
|
+
return { name: named, ...versioned ? { version: versioned } : {} };
|
|
36
|
+
}, "clientFrom");
|
|
37
|
+
var callerOf = /* @__PURE__ */ __name((ctx, tool, source) => {
|
|
38
|
+
const meta = ctx?.mcpReq?._meta;
|
|
39
|
+
const requestId = ctx?.mcpReq?.id;
|
|
40
|
+
const initialized = source.client?.();
|
|
41
|
+
const proxied = initialized?.name === PROXY_CLIENT_NAME && !ctx?.http ? passedOn(meta?.[CALLER_META_KEY], tool) : void 0;
|
|
42
|
+
if (proxied)
|
|
43
|
+
return proxied;
|
|
44
|
+
const client = clientFrom(meta?.[CLIENT_INFO_META_KEY]) ?? clientFrom(initialized);
|
|
45
|
+
const mcp = /* @__PURE__ */ __name((connection) => ({
|
|
46
|
+
tool,
|
|
47
|
+
...requestId === void 0 ? {} : { request_id: String(requestId) },
|
|
48
|
+
...connection ? { connection_id: connection } : {}
|
|
49
|
+
}), "mcp");
|
|
50
|
+
const auth = ctx?.http?.authInfo;
|
|
51
|
+
if (auth) {
|
|
52
|
+
const registered = plain(auth.extra?.clientName);
|
|
53
|
+
return {
|
|
54
|
+
via: "mcp-http",
|
|
55
|
+
agent: {
|
|
56
|
+
kind: "mcp-client",
|
|
57
|
+
session_id: ctx?.sessionId ?? null,
|
|
58
|
+
client: {
|
|
59
|
+
name: registered ?? client?.name ?? "unknown",
|
|
60
|
+
...client?.version ? { version: client.version } : {},
|
|
61
|
+
id: clientHash(auth.clientId)
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
mcp: mcp(ctx?.sessionId)
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
const agent = agentOf(source.env) ?? { kind: "mcp-client", session_id: null };
|
|
68
|
+
return { via: "mcp-stdio", agent: { ...agent, ...client ? { client } : {} }, mcp: mcp(source.connectionId) };
|
|
69
|
+
}, "callerOf");
|
|
70
|
+
var passedOn = /* @__PURE__ */ __name((value, tool) => {
|
|
71
|
+
if (!value || typeof value !== "object")
|
|
72
|
+
return void 0;
|
|
73
|
+
const { via, agent, mcp } = value;
|
|
74
|
+
if (via !== "mcp-stdio" && via !== "mcp-http")
|
|
75
|
+
return void 0;
|
|
76
|
+
const a = agent && typeof agent === "object" ? agent : void 0;
|
|
77
|
+
const kind = plain(a?.kind);
|
|
78
|
+
const session = typeof a?.session_id === "string" && /^[A-Za-z0-9._:-]{1,128}$/.test(a.session_id) ? a.session_id : null;
|
|
79
|
+
const client = clientFrom(a?.client);
|
|
80
|
+
const id = a?.client && typeof a.client === "object" ? a.client.id : void 0;
|
|
81
|
+
const m = mcp && typeof mcp === "object" ? mcp : {};
|
|
82
|
+
const request = plain(m.request_id);
|
|
83
|
+
const connection = typeof m.connection_id === "string" && /^[\w-]{1,128}$/.test(m.connection_id) ? m.connection_id : void 0;
|
|
84
|
+
return {
|
|
85
|
+
via,
|
|
86
|
+
...kind ? {
|
|
87
|
+
agent: {
|
|
88
|
+
kind,
|
|
89
|
+
session_id: session,
|
|
90
|
+
...a?.from_chat === true ? { from_chat: true } : {},
|
|
91
|
+
...client ? { client: { ...client, ...typeof id === "string" && /^[0-9a-f]{8}$/.test(id) ? { id } : {} } } : {}
|
|
92
|
+
}
|
|
93
|
+
} : {},
|
|
94
|
+
mcp: {
|
|
95
|
+
tool,
|
|
96
|
+
...request ? { request_id: request } : {},
|
|
97
|
+
...connection ? { connection_id: connection } : {},
|
|
98
|
+
proxied: true
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
}, "passedOn");
|
|
102
|
+
|
|
103
|
+
export {
|
|
104
|
+
callingAgent,
|
|
105
|
+
CALLER_META_KEY,
|
|
106
|
+
PROXY_CLIENT_NAME,
|
|
107
|
+
callerOf
|
|
108
|
+
};
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/cli/command-server-argv.js
|
|
8
8
|
var COMMAND_SERVER_ARGV = ["commands", "--serve"];
|
|
9
9
|
var isCommandServer = /* @__PURE__ */ __name((args) => args.length === COMMAND_SERVER_ARGV.length && COMMAND_SERVER_ARGV.every((word, at) => args[at] === word), "isCommandServer");
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/cli/stdin-field.js
|
|
8
8
|
var fields = /* @__PURE__ */ new WeakMap();
|
|
9
9
|
var readsStdin = /* @__PURE__ */ __name((command, field) => {
|
|
10
10
|
fields.set(command, field);
|
|
@@ -2,31 +2,31 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
updateCommand
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FR3ATU5I.js";
|
|
6
6
|
import {
|
|
7
7
|
DEFAULT_STEMMERS,
|
|
8
8
|
LANGUAGES
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PRI2XTM7.js";
|
|
10
10
|
import {
|
|
11
11
|
installerOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PZ2ZFPGO.js";
|
|
13
13
|
import {
|
|
14
14
|
QUESTIONS,
|
|
15
15
|
readSetupAnswers,
|
|
16
16
|
unanswered,
|
|
17
17
|
writeSetupAnswers
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-CA7DY2YU.js";
|
|
19
19
|
import {
|
|
20
20
|
sharedConfigPath
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-77E7Q4EQ.js";
|
|
22
22
|
import {
|
|
23
23
|
storePath
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-XVRLD3LN.js";
|
|
25
25
|
import {
|
|
26
26
|
__name
|
|
27
27
|
} from "./chunk-ZVVMGPBJ.js";
|
|
28
28
|
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/cli/first-run.js
|
|
30
30
|
import { spawnSync } from "node:child_process";
|
|
31
31
|
import { accessSync, constants, realpathSync } from "node:fs";
|
|
32
32
|
import { delimiter, join } from "node:path";
|
|
@@ -84,7 +84,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
|
|
|
84
84
|
return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
|
|
85
85
|
}, "suggested");
|
|
86
86
|
var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
|
|
87
|
-
const { openStore } = await import("./store-
|
|
87
|
+
const { openStore } = await import("./store-6TLYL2VU.js");
|
|
88
88
|
const store = await openStore({ env });
|
|
89
89
|
let rebuild = false;
|
|
90
90
|
try {
|
|
@@ -113,8 +113,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
113
113
|
if (!rebuild)
|
|
114
114
|
return;
|
|
115
115
|
const [{ openCache }, { buildStems }] = await Promise.all([
|
|
116
|
-
import("./open-
|
|
117
|
-
import("./store-maintenance-command-
|
|
116
|
+
import("./open-2MD2DKGQ.js"),
|
|
117
|
+
import("./store-maintenance-command-IYJLUQ5X.js")
|
|
118
118
|
]);
|
|
119
119
|
const database = await openCache(storePath(env));
|
|
120
120
|
try {
|
|
@@ -126,7 +126,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
126
126
|
var askTools = /* @__PURE__ */ __name(async (run) => {
|
|
127
127
|
const { command, env, io } = run;
|
|
128
128
|
const installed = run.installed ?? ((name) => onPath(name, env));
|
|
129
|
-
const { WIRECAT_TOOLS } = await import("./first-screen-
|
|
129
|
+
const { WIRECAT_TOOLS } = await import("./first-screen-VUE6RCSF.js");
|
|
130
130
|
const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
|
|
131
131
|
const missing = others.filter((tool) => !installed(tool.command));
|
|
132
132
|
io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
|
|
@@ -200,7 +200,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
|
|
|
200
200
|
// `setup describe` and `setup apply` are a program's; only the bare walk-through asks everything again.
|
|
201
201
|
all: start.path.length === 1 && start.path[0] === "setup",
|
|
202
202
|
io: {
|
|
203
|
-
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-
|
|
203
|
+
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-VZSPCE6E.js")).readSecret(prompt, { input, echo: true }), "ask"),
|
|
204
204
|
say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
|
|
205
205
|
`), "say")
|
|
206
206
|
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
SCHEMA_DIALECT,
|
|
5
|
+
commandContract,
|
|
6
|
+
commandPathOf,
|
|
7
|
+
findCommand,
|
|
8
|
+
outputOf
|
|
9
|
+
} from "./chunk-IJ7R2WMK.js";
|
|
10
|
+
import "./chunk-CDKXZLMP.js";
|
|
11
|
+
import "./chunk-L47PFECD.js";
|
|
12
|
+
import "./chunk-CA7DY2YU.js";
|
|
13
|
+
import "./chunk-OJSPB4LA.js";
|
|
14
|
+
import "./chunk-K5FK6WWN.js";
|
|
15
|
+
import "./chunk-XLNV3U6N.js";
|
|
16
|
+
import "./chunk-HEZK4W3U.js";
|
|
17
|
+
import "./chunk-4X6BX3XP.js";
|
|
18
|
+
import "./chunk-2JWY7CXJ.js";
|
|
19
|
+
import "./chunk-HD7DV5B2.js";
|
|
20
|
+
import "./chunk-WPXVJGSL.js";
|
|
21
|
+
import "./chunk-JCDD5T3A.js";
|
|
22
|
+
import "./chunk-77E7Q4EQ.js";
|
|
23
|
+
import "./chunk-NYEVPAF2.js";
|
|
24
|
+
import "./chunk-UTTEAOJ3.js";
|
|
25
|
+
import "./chunk-XVRLD3LN.js";
|
|
26
|
+
import "./chunk-6UNLEQA5.js";
|
|
27
|
+
import "./chunk-SPXNI53Z.js";
|
|
28
|
+
import "./chunk-Y5E2WNWB.js";
|
|
29
|
+
import "./chunk-PK5WEGPJ.js";
|
|
30
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
31
|
+
export {
|
|
32
|
+
SCHEMA_DIALECT,
|
|
33
|
+
commandContract,
|
|
34
|
+
commandPathOf,
|
|
35
|
+
findCommand,
|
|
36
|
+
outputOf
|
|
37
|
+
};
|
|
@@ -4,50 +4,50 @@ import {
|
|
|
4
4
|
COMMAND_SERVER_CONCURRENT,
|
|
5
5
|
enterCommandServer,
|
|
6
6
|
serveCommands
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-MUV73B5A.js";
|
|
8
|
+
import "./chunk-ZC7OEYDX.js";
|
|
9
|
+
import "./chunk-Z77R76S2.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureSqlite
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-3QQWTP77.js";
|
|
13
|
+
import "./chunk-L4PNDW4S.js";
|
|
14
|
+
import "./chunk-VH4J7IIS.js";
|
|
15
|
+
import "./chunk-IJ7R2WMK.js";
|
|
16
16
|
import {
|
|
17
17
|
commandServerRequest,
|
|
18
18
|
exitCodeSet,
|
|
19
19
|
inCommandServerRequest
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-CDKXZLMP.js";
|
|
21
|
+
import "./chunk-L47PFECD.js";
|
|
22
|
+
import "./chunk-CA7DY2YU.js";
|
|
23
|
+
import "./chunk-OJSPB4LA.js";
|
|
24
|
+
import "./chunk-K5FK6WWN.js";
|
|
25
|
+
import "./chunk-XLNV3U6N.js";
|
|
26
|
+
import "./chunk-HEZK4W3U.js";
|
|
27
|
+
import "./chunk-4X6BX3XP.js";
|
|
28
|
+
import "./chunk-2JWY7CXJ.js";
|
|
29
29
|
import {
|
|
30
30
|
asOwnProcess
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-HD7DV5B2.js";
|
|
32
|
+
import "./chunk-WPXVJGSL.js";
|
|
33
|
+
import "./chunk-JCDD5T3A.js";
|
|
34
|
+
import "./chunk-77E7Q4EQ.js";
|
|
35
|
+
import "./chunk-NYEVPAF2.js";
|
|
36
|
+
import "./chunk-UTTEAOJ3.js";
|
|
37
|
+
import "./chunk-XVRLD3LN.js";
|
|
38
|
+
import "./chunk-6UNLEQA5.js";
|
|
39
39
|
import {
|
|
40
40
|
catchCrashes
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-SPXNI53Z.js";
|
|
42
42
|
import "./chunk-Y5E2WNWB.js";
|
|
43
43
|
import {
|
|
44
44
|
CliError
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-PK5WEGPJ.js";
|
|
46
46
|
import {
|
|
47
47
|
__name
|
|
48
48
|
} from "./chunk-ZVVMGPBJ.js";
|
|
49
49
|
|
|
50
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
50
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/cli/command-server-entry.js
|
|
51
51
|
import { PassThrough } from "node:stream";
|
|
52
52
|
var route = /* @__PURE__ */ __name((stream, sink) => {
|
|
53
53
|
const original = stream.write;
|
|
@@ -3,20 +3,20 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
SAMPLE_RATE,
|
|
5
5
|
decodeOgg
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-PCBVSHKD.js";
|
|
7
|
+
import "./chunk-6UNLEQA5.js";
|
|
8
|
+
import "./chunk-SPXNI53Z.js";
|
|
9
9
|
import {
|
|
10
10
|
importFrom
|
|
11
11
|
} from "./chunk-Y5E2WNWB.js";
|
|
12
12
|
import {
|
|
13
13
|
CliError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PK5WEGPJ.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/speech/decode.js
|
|
20
20
|
import { spawn } from "node:child_process";
|
|
21
21
|
import { mkdtemp, open, readFile, rm, writeFile } from "node:fs/promises";
|
|
22
22
|
import { createRequire } from "node:module";
|
|
@@ -14,22 +14,22 @@ import {
|
|
|
14
14
|
parseDescribe,
|
|
15
15
|
shimFiles,
|
|
16
16
|
writeShim
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ITJ7DGNA.js";
|
|
18
18
|
import "./chunk-Y5E2WNWB.js";
|
|
19
19
|
import {
|
|
20
20
|
CliError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PK5WEGPJ.js";
|
|
22
22
|
import {
|
|
23
23
|
__name,
|
|
24
24
|
__toESM
|
|
25
25
|
} from "./chunk-ZVVMGPBJ.js";
|
|
26
26
|
|
|
27
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
27
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.122.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/dispatch.js
|
|
28
28
|
var import_cross_spawn2 = __toESM(require_cross_spawn(), 1);
|
|
29
29
|
import { randomUUID } from "node:crypto";
|
|
30
30
|
import { constants } from "node:os";
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.122.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/path.js
|
|
33
33
|
import { readdirSync, statSync } from "node:fs";
|
|
34
34
|
import { join } from "node:path";
|
|
35
35
|
var variable = /* @__PURE__ */ __name((env, name, platform) => platform === "win32" ? Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1] : env[name], "variable");
|
|
@@ -101,7 +101,7 @@ var findTools = /* @__PURE__ */ __name((search) => {
|
|
|
101
101
|
}, "findTools");
|
|
102
102
|
var isBuiltIn = /* @__PURE__ */ __name((name) => name === "wcat" || BUILT_IN_COMMANDS.includes(name), "isBuiltIn");
|
|
103
103
|
|
|
104
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
104
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.122.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/probe.js
|
|
105
105
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
106
106
|
import { readFileSync } from "node:fs";
|
|
107
107
|
var probeDescribe = /* @__PURE__ */ __name((path, { env, timeoutMs }) => new Promise((resolve) => {
|
|
@@ -149,7 +149,7 @@ var baseVersion = /* @__PURE__ */ __name(() => {
|
|
|
149
149
|
}
|
|
150
150
|
}, "baseVersion");
|
|
151
151
|
|
|
152
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
152
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.122.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/shortcuts.js
|
|
153
153
|
import { closeSync, openSync, readSync, realpathSync, rmSync } from "node:fs";
|
|
154
154
|
import { basename, dirname } from "node:path";
|
|
155
155
|
var WIRECAT_PACKAGE = /node_modules[\\/]+@wirecat[\\/]/;
|
|
@@ -241,7 +241,7 @@ var removeShortcuts = /* @__PURE__ */ __name((search, names) => listShortcuts(se
|
|
|
241
241
|
return { ...statusOf(shortcut.name, shortcut.program, search), changed: true };
|
|
242
242
|
}), "removeShortcuts");
|
|
243
243
|
|
|
244
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
244
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.122.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/dispatch.js
|
|
245
245
|
var DEFAULT_DESCRIBE_TIMEOUT_MS = 2e3;
|
|
246
246
|
var listTools = /* @__PURE__ */ __name(async (context) => {
|
|
247
247
|
const installed = installedPrograms(context);
|
|
@@ -338,7 +338,7 @@ var runTool = /* @__PURE__ */ __name((path, args, context) => new Promise((resol
|
|
|
338
338
|
});
|
|
339
339
|
}), "runTool");
|
|
340
340
|
var fail = /* @__PURE__ */ __name(async (error, json, context) => {
|
|
341
|
-
const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-
|
|
341
|
+
const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-JSRHZ2S6.js");
|
|
342
342
|
const object = errorObjectOf(error);
|
|
343
343
|
context.stderr.write(`${renderError(object, { cli: "wcat", interactive: !json })}
|
|
344
344
|
`);
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
BAGGAGE_META_KEY,
|
|
5
|
+
CLIENT_CAPABILITIES_META_KEY,
|
|
6
|
+
CLIENT_INFO_META_KEY,
|
|
7
|
+
DEFAULT_MAX_REQUEST_BODY_SIZE,
|
|
8
|
+
DEFAULT_NEGOTIATED_PROTOCOL_VERSION,
|
|
9
|
+
DEFAULT_REQUEST_TIMEOUT_MSEC,
|
|
10
|
+
INTERNAL_ERROR,
|
|
11
|
+
INVALID_PARAMS,
|
|
12
|
+
INVALID_REQUEST,
|
|
13
|
+
InMemoryServerEventBus,
|
|
14
|
+
InMemoryTransport,
|
|
15
|
+
JSONRPC_VERSION,
|
|
16
|
+
LATEST_PROTOCOL_VERSION,
|
|
17
|
+
LOG_LEVEL_META_KEY,
|
|
18
|
+
METHOD_NOT_FOUND,
|
|
19
|
+
McpServer,
|
|
20
|
+
MissingRequiredClientCapabilityError,
|
|
21
|
+
OAuthError,
|
|
22
|
+
OAuthErrorCode,
|
|
23
|
+
PARSE_ERROR,
|
|
24
|
+
PROTOCOL_VERSION_META_KEY,
|
|
25
|
+
PerRequestHTTPServerTransport,
|
|
26
|
+
Protocol,
|
|
27
|
+
ProtocolError,
|
|
28
|
+
ProtocolErrorCode,
|
|
29
|
+
RELATED_TASK_META_KEY,
|
|
30
|
+
ReadBuffer,
|
|
31
|
+
ResourceNotFoundError,
|
|
32
|
+
ResourceTemplate,
|
|
33
|
+
SERVER_INFO_META_KEY,
|
|
34
|
+
STDIO_DEFAULT_MAX_BUFFER_SIZE,
|
|
35
|
+
SUBSCRIPTION_ID_META_KEY,
|
|
36
|
+
SUPPORTED_PROTOCOL_VERSIONS,
|
|
37
|
+
SdkError,
|
|
38
|
+
SdkErrorCode,
|
|
39
|
+
SdkHttpError,
|
|
40
|
+
Server,
|
|
41
|
+
TRACEPARENT_META_KEY,
|
|
42
|
+
TRACESTATE_META_KEY,
|
|
43
|
+
UnsupportedProtocolVersionError,
|
|
44
|
+
UriTemplate,
|
|
45
|
+
UrlElicitationRequiredError,
|
|
46
|
+
WebStandardStreamableHTTPServerTransport,
|
|
47
|
+
acceptedContent,
|
|
48
|
+
assertCompleteRequestPrompt,
|
|
49
|
+
assertCompleteRequestResourceTemplate,
|
|
50
|
+
bearerAuthChallengeResponse,
|
|
51
|
+
buildOAuthProtectedResourceMetadata,
|
|
52
|
+
checkResourceAllowed,
|
|
53
|
+
classifyInboundRequest,
|
|
54
|
+
completable,
|
|
55
|
+
createFetchWithInit,
|
|
56
|
+
createMcpHandler,
|
|
57
|
+
createRequestStateCodec,
|
|
58
|
+
deserializeMessage,
|
|
59
|
+
fromJsonSchema,
|
|
60
|
+
getDisplayName,
|
|
61
|
+
getOAuthProtectedResourceMetadataUrl,
|
|
62
|
+
hostHeaderValidationResponse,
|
|
63
|
+
inputRequired,
|
|
64
|
+
inputResponse,
|
|
65
|
+
isCallToolResult,
|
|
66
|
+
isCompletable,
|
|
67
|
+
isInitializeRequest,
|
|
68
|
+
isInitializedNotification,
|
|
69
|
+
isInputRequiredResult,
|
|
70
|
+
isJSONRPCErrorResponse,
|
|
71
|
+
isJSONRPCNotification,
|
|
72
|
+
isJSONRPCRequest,
|
|
73
|
+
isJSONRPCResponse,
|
|
74
|
+
isJSONRPCResultResponse,
|
|
75
|
+
isJsonContentType,
|
|
76
|
+
isLegacyRequest,
|
|
77
|
+
isSpecType,
|
|
78
|
+
isTaskAugmentedRequestParams,
|
|
79
|
+
legacyStatelessFallback,
|
|
80
|
+
localhostAllowedHostnames,
|
|
81
|
+
localhostAllowedOrigins,
|
|
82
|
+
mergeCapabilities,
|
|
83
|
+
oauthMetadataResponse,
|
|
84
|
+
originValidationResponse,
|
|
85
|
+
parseJSONRPCMessage,
|
|
86
|
+
preloadSchemas,
|
|
87
|
+
readRequestBody,
|
|
88
|
+
requireBearerAuth,
|
|
89
|
+
requireScopes,
|
|
90
|
+
resourceUrlFromServerUrl,
|
|
91
|
+
serializeMessage,
|
|
92
|
+
specTypeSchemas,
|
|
93
|
+
validateHostHeader,
|
|
94
|
+
validateOriginHeader,
|
|
95
|
+
verifyBearerToken
|
|
96
|
+
} from "./chunk-PL5P7UKW.js";
|
|
97
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
98
|
+
export {
|
|
99
|
+
BAGGAGE_META_KEY,
|
|
100
|
+
CLIENT_CAPABILITIES_META_KEY,
|
|
101
|
+
CLIENT_INFO_META_KEY,
|
|
102
|
+
DEFAULT_MAX_REQUEST_BODY_SIZE,
|
|
103
|
+
DEFAULT_NEGOTIATED_PROTOCOL_VERSION,
|
|
104
|
+
DEFAULT_REQUEST_TIMEOUT_MSEC,
|
|
105
|
+
INTERNAL_ERROR,
|
|
106
|
+
INVALID_PARAMS,
|
|
107
|
+
INVALID_REQUEST,
|
|
108
|
+
InMemoryServerEventBus,
|
|
109
|
+
InMemoryTransport,
|
|
110
|
+
JSONRPC_VERSION,
|
|
111
|
+
LATEST_PROTOCOL_VERSION,
|
|
112
|
+
LOG_LEVEL_META_KEY,
|
|
113
|
+
METHOD_NOT_FOUND,
|
|
114
|
+
McpServer,
|
|
115
|
+
MissingRequiredClientCapabilityError,
|
|
116
|
+
OAuthError,
|
|
117
|
+
OAuthErrorCode,
|
|
118
|
+
PARSE_ERROR,
|
|
119
|
+
PROTOCOL_VERSION_META_KEY,
|
|
120
|
+
PerRequestHTTPServerTransport,
|
|
121
|
+
Protocol,
|
|
122
|
+
ProtocolError,
|
|
123
|
+
ProtocolErrorCode,
|
|
124
|
+
RELATED_TASK_META_KEY,
|
|
125
|
+
ReadBuffer,
|
|
126
|
+
ResourceNotFoundError,
|
|
127
|
+
ResourceTemplate,
|
|
128
|
+
SERVER_INFO_META_KEY,
|
|
129
|
+
STDIO_DEFAULT_MAX_BUFFER_SIZE,
|
|
130
|
+
SUBSCRIPTION_ID_META_KEY,
|
|
131
|
+
SUPPORTED_PROTOCOL_VERSIONS,
|
|
132
|
+
SdkError,
|
|
133
|
+
SdkErrorCode,
|
|
134
|
+
SdkHttpError,
|
|
135
|
+
Server,
|
|
136
|
+
TRACEPARENT_META_KEY,
|
|
137
|
+
TRACESTATE_META_KEY,
|
|
138
|
+
UnsupportedProtocolVersionError,
|
|
139
|
+
UriTemplate,
|
|
140
|
+
UrlElicitationRequiredError,
|
|
141
|
+
WebStandardStreamableHTTPServerTransport,
|
|
142
|
+
acceptedContent,
|
|
143
|
+
assertCompleteRequestPrompt,
|
|
144
|
+
assertCompleteRequestResourceTemplate,
|
|
145
|
+
bearerAuthChallengeResponse,
|
|
146
|
+
buildOAuthProtectedResourceMetadata,
|
|
147
|
+
checkResourceAllowed,
|
|
148
|
+
classifyInboundRequest,
|
|
149
|
+
completable,
|
|
150
|
+
createFetchWithInit,
|
|
151
|
+
createMcpHandler,
|
|
152
|
+
createRequestStateCodec,
|
|
153
|
+
deserializeMessage,
|
|
154
|
+
fromJsonSchema,
|
|
155
|
+
getDisplayName,
|
|
156
|
+
getOAuthProtectedResourceMetadataUrl,
|
|
157
|
+
hostHeaderValidationResponse,
|
|
158
|
+
inputRequired,
|
|
159
|
+
inputResponse,
|
|
160
|
+
isCallToolResult,
|
|
161
|
+
isCompletable,
|
|
162
|
+
isInitializeRequest,
|
|
163
|
+
isInitializedNotification,
|
|
164
|
+
isInputRequiredResult,
|
|
165
|
+
isJSONRPCErrorResponse,
|
|
166
|
+
isJSONRPCNotification,
|
|
167
|
+
isJSONRPCRequest,
|
|
168
|
+
isJSONRPCResponse,
|
|
169
|
+
isJSONRPCResultResponse,
|
|
170
|
+
isJsonContentType,
|
|
171
|
+
isLegacyRequest,
|
|
172
|
+
isSpecType,
|
|
173
|
+
isTaskAugmentedRequestParams,
|
|
174
|
+
legacyStatelessFallback,
|
|
175
|
+
localhostAllowedHostnames,
|
|
176
|
+
localhostAllowedOrigins,
|
|
177
|
+
mergeCapabilities,
|
|
178
|
+
oauthMetadataResponse,
|
|
179
|
+
originValidationResponse,
|
|
180
|
+
parseJSONRPCMessage,
|
|
181
|
+
preloadSchemas,
|
|
182
|
+
readRequestBody,
|
|
183
|
+
requireBearerAuth,
|
|
184
|
+
requireScopes,
|
|
185
|
+
resourceUrlFromServerUrl,
|
|
186
|
+
serializeMessage,
|
|
187
|
+
specTypeSchemas,
|
|
188
|
+
validateHostHeader,
|
|
189
|
+
validateOriginHeader,
|
|
190
|
+
verifyBearerToken
|
|
191
|
+
};
|
|
@@ -42399,7 +42399,7 @@ function install11(registers) {
|
|
|
42399
42399
|
}
|
|
42400
42400
|
__name(install11, "install");
|
|
42401
42401
|
|
|
42402
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42402
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
|
|
42403
42403
|
var echartsOption = /* @__PURE__ */ __name((chart) => ({
|
|
42404
42404
|
animation: false,
|
|
42405
42405
|
backgroundColor: "#111827",
|
|
@@ -42447,7 +42447,7 @@ var echartsOption = /* @__PURE__ */ __name((chart) => ({
|
|
|
42447
42447
|
} : {}
|
|
42448
42448
|
}), "echartsOption");
|
|
42449
42449
|
|
|
42450
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42450
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.714.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.122.0_commander@15_dd9fedf917a0d541ef7fdcdb0be0e64b/node_modules/@wirecat/cli-core/dist/charts/echarts.js
|
|
42451
42451
|
use([install2, install, install6, install5, install10, install7, install11]);
|
|
42452
42452
|
var echartsRenderer = {
|
|
42453
42453
|
render: /* @__PURE__ */ __name(async (chart, size) => {
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
truncated,
|
|
14
14
|
unit,
|
|
15
15
|
warmEmbedders
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-MMDFPBFZ.js";
|
|
17
|
+
import "./chunk-2JWY7CXJ.js";
|
|
18
|
+
import "./chunk-XVRLD3LN.js";
|
|
19
|
+
import "./chunk-6UNLEQA5.js";
|
|
20
|
+
import "./chunk-SPXNI53Z.js";
|
|
21
21
|
import "./chunk-Y5E2WNWB.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-PK5WEGPJ.js";
|
|
23
23
|
import "./chunk-ZVVMGPBJ.js";
|
|
24
24
|
export {
|
|
25
25
|
WARM_IDLE_MS,
|