@wirecat/cli-memo 0.131.73 → 0.131.74

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 (150) hide show
  1. package/dist/bin/memo.js +2 -2
  2. package/dist/bundle/{all-profiles-L5QBYI3V.js → all-profiles-LUGN5BHP.js} +9 -9
  3. package/dist/bundle/{anthropic-XXKHNCQS.js → anthropic-W7JXDZPL.js} +5 -5
  4. package/dist/bundle/{app-server-FDMP3IBP.js → app-server-2LQJZC7Z.js} +50 -49
  5. package/dist/bundle/auto-OCCPDCFY.js +89 -0
  6. package/dist/bundle/{bun-VLN4HBWB.js → bun-S3JZIN4S.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-KJCYXNMS.js → bun-sqlite-X3WQN3CV.js} +5 -5
  8. package/dist/bundle/{chunk-ZTONSM5X.js → chunk-2EZFUIL4.js} +2 -2
  9. package/dist/bundle/{chunk-2BH2RNFR.js → chunk-3BEJUJEL.js} +8 -8
  10. package/dist/bundle/{chunk-SILEPITK.js → chunk-3OVYPDT6.js} +25 -35
  11. package/dist/bundle/{chunk-B7ATMWVO.js → chunk-4KDORB7C.js} +12 -37
  12. package/dist/bundle/{chunk-V3JOIUVB.js → chunk-4O2MYFYC.js} +4 -4
  13. package/dist/bundle/{chunk-I6MGDSYH.js → chunk-4QGUBKN5.js} +6 -6
  14. package/dist/bundle/{chunk-VQUSPMYO.js → chunk-6AOPUQTC.js} +1 -1
  15. package/dist/bundle/chunk-6FTZ53TT.js +18 -0
  16. package/dist/bundle/{chunk-BTVND2RV.js → chunk-6I4DOBSD.js} +13 -13
  17. package/dist/bundle/{chunk-HBP7AQXX.js → chunk-6Q3JHCU7.js} +12 -12
  18. package/dist/bundle/{chunk-WJNLBQSV.js → chunk-AHAW3TOS.js} +544 -586
  19. package/dist/bundle/{chunk-VPR47AG4.js → chunk-BDVM5652.js} +1 -1
  20. package/dist/bundle/{chunk-FMSXN2N6.js → chunk-BNJ2XK7D.js} +1017 -776
  21. package/dist/bundle/{chunk-LG5SQGNM.js → chunk-BR4DCOA5.js} +47 -45
  22. package/dist/bundle/{chunk-MM3OMWST.js → chunk-C6MWOBEL.js} +24 -22
  23. package/dist/bundle/{chunk-2C323QNQ.js → chunk-CWWUZK2U.js} +9 -9
  24. package/dist/bundle/{chunk-LHZ4QBWB.js → chunk-E2PSOSTN.js} +2 -2
  25. package/dist/bundle/{chunk-J7ESMDVV.js → chunk-E74VWHZ2.js} +1 -1
  26. package/dist/bundle/{chunk-KK3ZHBMI.js → chunk-EML43XLJ.js} +2 -2
  27. package/dist/bundle/{chunk-A7QXBRUH.js → chunk-G45BLLDR.js} +4 -4
  28. package/dist/bundle/{chunk-XGXEWKR7.js → chunk-GPXHGG67.js} +12 -12
  29. package/dist/bundle/chunk-GWNLLQBD.js +177 -0
  30. package/dist/bundle/{chunk-BBLT77AO.js → chunk-HEYIBJ5I.js} +12 -12
  31. package/dist/bundle/{chunk-IUEYR3TK.js → chunk-IQIM4UC7.js} +10 -10
  32. package/dist/bundle/{chunk-JABLJBXL.js → chunk-JINEHQ2T.js} +4927 -4920
  33. package/dist/bundle/chunk-KA5MDFLU.js +138 -0
  34. package/dist/bundle/{chunk-IKH4RCJO.js → chunk-KDBAY5JZ.js} +1 -1
  35. package/dist/bundle/{chunk-LJCT7YG6.js → chunk-KEBL3PY4.js} +4 -4
  36. package/dist/bundle/{chunk-C3UOKLIT.js → chunk-KUFOM3SB.js} +2 -2
  37. package/dist/bundle/{chunk-ZIGVDRSI.js → chunk-KYJBGCTC.js} +2 -2
  38. package/dist/bundle/{chunk-R3PK4Y7C.js → chunk-LPGE6ACC.js} +2 -2
  39. package/dist/bundle/{chunk-6ZRBQTKZ.js → chunk-LX3OSTBD.js} +4 -4
  40. package/dist/bundle/{chunk-NMOWIFH3.js → chunk-MPZBV5RL.js} +8 -8
  41. package/dist/bundle/{chunk-H74CWBSY.js → chunk-NR633L2N.js} +4 -4
  42. package/dist/bundle/{chunk-DSU6UR2X.js → chunk-NT5IOEEK.js} +1 -1
  43. package/dist/bundle/{chunk-BOZEBD3I.js → chunk-OOKMABOJ.js} +1443 -832
  44. package/dist/bundle/{chunk-L62FWN3Y.js → chunk-OYKQX4H3.js} +1 -1
  45. package/dist/bundle/{chunk-6OPZTBRR.js → chunk-P6FPRA3P.js} +59 -35
  46. package/dist/bundle/{chunk-QHLEMEF3.js → chunk-QCR5WJ7R.js} +53 -48
  47. package/dist/bundle/{chunk-W6JPIP5C.js → chunk-QKWM4VK4.js} +6 -6
  48. package/dist/bundle/chunk-QYJJBE56.js +109 -0
  49. package/dist/bundle/{chunk-EI2P5E4C.js → chunk-SCYHDYLI.js} +3 -1
  50. package/dist/bundle/{chunk-OGUXOAOH.js → chunk-SIOPF2UG.js} +6 -6
  51. package/dist/bundle/{chunk-RB266FS6.js → chunk-SIQDO5DN.js} +4 -4
  52. package/dist/bundle/{chunk-O5KXCQE4.js → chunk-SJD4KTK2.js} +4 -4
  53. package/dist/bundle/{chunk-PAHBDQ5A.js → chunk-UIAGASGP.js} +6 -6
  54. package/dist/bundle/{chunk-ZI5Y2EUA.js → chunk-UU3OAPGO.js} +7 -7
  55. package/dist/bundle/{chunk-ON7ZROFP.js → chunk-V7BDQIZS.js} +2 -2
  56. package/dist/bundle/{chunk-EH7ACKFW.js → chunk-VB4OLJHK.js} +3 -3
  57. package/dist/bundle/{chunk-JLC2RE4Y.js → chunk-VRL5WRRQ.js} +82 -82
  58. package/dist/bundle/{chunk-HE2F4JII.js → chunk-VYCLOFPC.js} +24 -9
  59. package/dist/bundle/{chunk-UUBV5ATQ.js → chunk-W46O6RJ5.js} +20 -20
  60. package/dist/bundle/{chunk-MLN4DPXN.js → chunk-WBCY7WHV.js} +17 -17
  61. package/dist/bundle/{chunk-JPXDDRBD.js → chunk-WFXRR2JT.js} +11 -11
  62. package/dist/bundle/{chunk-YDGZJK6U.js → chunk-WM7MVKGU.js} +24 -24
  63. package/dist/bundle/{chunk-X35Q5CHE.js → chunk-WZHCQ4VZ.js} +8 -8
  64. package/dist/bundle/{chunk-PF6LXPK5.js → chunk-XMHWGHID.js} +4280 -4278
  65. package/dist/bundle/chunk-XPCTY6XV.js +116 -0
  66. package/dist/bundle/{chunk-E75LK7GD.js → chunk-XPSXVUZG.js} +3 -3
  67. package/dist/bundle/{chunk-XM6ZAPFW.js → chunk-XQ3RZU3J.js} +1 -1
  68. package/dist/bundle/{chunk-LOYI3STE.js → chunk-XQHOMQNZ.js} +4 -4
  69. package/dist/bundle/{chunk-K54MCZWM.js → chunk-YB4KGUXY.js} +3 -3
  70. package/dist/bundle/{chunk-US2HTCJA.js → chunk-YDTGYYOR.js} +4 -4
  71. package/dist/bundle/{chunk-EQLOQOIB.js → chunk-YLYZNPAZ.js} +2 -2
  72. package/dist/bundle/{chunk-IDCYBSML.js → chunk-ZL63GL3Y.js} +3 -3
  73. package/dist/bundle/{chunk-3CANRF2G.js → chunk-ZTZLAGZA.js} +3 -3
  74. package/dist/bundle/{chunk-FSXQLNU4.js → chunk-ZXW5FPH2.js} +1 -1
  75. package/dist/bundle/command-contract-QQG343ZQ.js +32 -0
  76. package/dist/bundle/command-server-entry-XVUPTSSH.js +145 -0
  77. package/dist/bundle/{decode-OS6Y6ICA.js → decode-METZOSMG.js} +5 -5
  78. package/dist/bundle/{dispatch-VJSUBAUM.js → dispatch-PHB2Y6ZL.js} +8 -8
  79. package/dist/bundle/{echarts-JKGDUDYL.js → echarts-EBSP4VCK.js} +2 -2
  80. package/dist/bundle/{embed-UB4LH6MF.js → embed-GVVU7N7W.js} +6 -6
  81. package/dist/bundle/{embedder-TUQBG22Y.js → embedder-6BZOYAXV.js} +9 -9
  82. package/dist/bundle/entry-7EYT2OA3.js +21 -0
  83. package/dist/bundle/{failure-GLF7OMMM.js → failure-OBT7CUVW.js} +2 -2
  84. package/dist/bundle/failure-YQJ43YFG.js +69 -0
  85. package/dist/bundle/{first-run-VNJHZYGS.js → first-run-C7L7IACA.js} +11 -11
  86. package/dist/bundle/first-screen-6T65PQ37.js +30 -0
  87. package/dist/bundle/{instructions-Q6IZQUU7.js → instructions-VDKK3Y5Z.js} +1 -1
  88. package/dist/bundle/{mcp-H2WYFBNW.js → mcp-5275YLID.js} +2 -2
  89. package/dist/bundle/mcp-UCDMODSA.js +90 -0
  90. package/dist/bundle/memo.js +16 -16
  91. package/dist/bundle/{node-ZSSIVKVC.js → node-HWGZYNUX.js} +2 -2
  92. package/dist/bundle/{node-sqlite-AUNJSQQL.js → node-sqlite-PSYENWGS.js} +6 -6
  93. package/dist/bundle/{oauth-2MTJFCMI.js → oauth-TQGMUJK2.js} +7 -7
  94. package/dist/bundle/{open-U7RC27MJ.js → open-KDDJDKCE.js} +5 -5
  95. package/dist/bundle/openai-QPGCUM4T.js +24 -0
  96. package/dist/bundle/{process-UEQX5STY.js → process-APNTXJJE.js} +1 -1
  97. package/dist/bundle/{program-G3F26HW7.js → program-RHPSSKFA.js} +157 -129
  98. package/dist/bundle/{prompt-F23FC5PJ.js → prompt-BMBZCLGF.js} +5 -5
  99. package/dist/bundle/{recognize-ZVEGVD56.js → recognize-3SEY2MAR.js} +4 -4
  100. package/dist/bundle/{remote-CZXQS7PS.js → remote-ODH54UXO.js} +7 -7
  101. package/dist/bundle/{rerank-IRFXSVVO.js → rerank-JQHBNTUK.js} +7 -7
  102. package/dist/bundle/{serve-6CIMU5HP.js → serve-C22ZONSM.js} +9 -9
  103. package/dist/bundle/server-3TQJ47Q6.js +62 -0
  104. package/dist/bundle/{server-H24MAUT2.js → server-FX7RKPL4.js} +70 -66
  105. package/dist/bundle/server-SHHKLBS2.js +48 -0
  106. package/dist/bundle/{state-TRWZWXB5.js → state-M3VGXSV4.js} +6 -6
  107. package/dist/bundle/{store-E4QUOOLX.js → store-K45RFKGF.js} +13 -13
  108. package/dist/bundle/store-maintenance-command-EOTKQ3E5.js +47 -0
  109. package/dist/bundle/update-PW77Y4DM.js +72 -0
  110. package/dist/context/context.d.ts.map +1 -1
  111. package/dist/context/context.js +4 -2
  112. package/dist/context/context.js.map +1 -1
  113. package/dist/contract-overrides/search.d.ts.map +1 -1
  114. package/dist/contract-overrides/search.js +6 -0
  115. package/dist/contract-overrides/search.js.map +1 -1
  116. package/dist/examples.d.ts.map +1 -1
  117. package/dist/examples.js +2 -0
  118. package/dist/examples.js.map +1 -1
  119. package/dist/search/answers.d.ts +6 -1
  120. package/dist/search/answers.d.ts.map +1 -1
  121. package/dist/search/answers.js +17 -1
  122. package/dist/search/answers.js.map +1 -1
  123. package/dist/search/command.d.ts.map +1 -1
  124. package/dist/search/command.js +13 -2
  125. package/dist/search/command.js.map +1 -1
  126. package/dist/search/lane-gates.d.ts +4 -3
  127. package/dist/search/lane-gates.d.ts.map +1 -1
  128. package/dist/search/lane-gates.js +13 -7
  129. package/dist/search/lane-gates.js.map +1 -1
  130. package/dist/search/search.d.ts +5 -1
  131. package/dist/search/search.d.ts.map +1 -1
  132. package/dist/search/search.js +5 -1
  133. package/dist/search/search.js.map +1 -1
  134. package/dist/version.d.ts +1 -1
  135. package/dist/version.js +1 -1
  136. package/package.json +3 -3
  137. package/dist/bundle/auto-YQAECIZA.js +0 -85
  138. package/dist/bundle/chunk-KQTR6YA4.js +0 -262
  139. package/dist/bundle/command-contract-6HJ322BP.js +0 -32
  140. package/dist/bundle/entry-N4NCIQYH.js +0 -18
  141. package/dist/bundle/failure-BJEFFYH3.js +0 -65
  142. package/dist/bundle/first-screen-4XGF2NZ3.js +0 -30
  143. package/dist/bundle/mcp-REIASUJR.js +0 -90
  144. package/dist/bundle/openai-2SJCG6XM.js +0 -23
  145. package/dist/bundle/server-27KXLL4E.js +0 -61
  146. package/dist/bundle/server-TWMUWMFM.js +0 -48
  147. package/dist/bundle/store-maintenance-command-GLHRB2VZ.js +0 -47
  148. package/dist/bundle/update-QQEM73O5.js +0 -68
  149. /package/dist/bundle/{chunk-SYWHHQMC.js → chunk-G5GW3FFJ.js} +0 -0
  150. /package/dist/bundle/{chunk-ZOWQ5B33.js → chunk-IXSUVHW6.js} +0 -0
@@ -0,0 +1,177 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ ensureSqlite,
5
+ isCommandServer
6
+ } from "./chunk-QYJJBE56.js";
7
+ import {
8
+ envName,
9
+ readOnlyLockOf
10
+ } from "./chunk-KUFOM3SB.js";
11
+ import {
12
+ catchCrashes
13
+ } from "./chunk-VYCLOFPC.js";
14
+ import {
15
+ CliError
16
+ } from "./chunk-2EZFUIL4.js";
17
+ import {
18
+ __name
19
+ } from "./chunk-ZVVMGPBJ.js";
20
+
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/node_modules/@wirecat/cli-core/dist/cli/entry.js
22
+ import { spawn } from "node:child_process";
23
+
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
25
+ import { appendFileSync } from "node:fs";
26
+ var logVersion = /* @__PURE__ */ __name((file) => {
27
+ appendFileSync(file, `${JSON.stringify({ command: "", options: ["--version"] })}
28
+ `);
29
+ }, "logVersion");
30
+
31
+ // node_modules/.pnpm/@wirecat+cli-core@0.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/node_modules/@wirecat/cli-core/dist/cli/entry.js
32
+ var processIo = /* @__PURE__ */ __name(() => ({
33
+ argv: process.argv,
34
+ env: process.env,
35
+ platform: process.platform,
36
+ stdin: process.stdin,
37
+ stdout: process.stdout,
38
+ stderr: process.stderr,
39
+ signals: process,
40
+ setExitCode: /* @__PURE__ */ __name((code) => {
41
+ process.exitCode = code;
42
+ }, "setExitCode"),
43
+ spawn
44
+ }), "processIo");
45
+ var startCli = /* @__PURE__ */ __name(async (entry) => {
46
+ const io = { ...processIo(), ...entry.io };
47
+ const args = io.argv.slice(2);
48
+ if (args.length === 1 && (args[0] === "--version" || args[0] === "-V"))
49
+ return printVersion(entry.app, io);
50
+ if (isCommandServer(args)) {
51
+ const { serveEntry } = await import("./command-server-entry-XVUPTSSH.js");
52
+ return serveEntry(entry, io, { firstRunAt, commanderExit });
53
+ }
54
+ const tty = io.stdout.isTTY === true;
55
+ const release = catchCrashes({
56
+ cli: entry.app.command,
57
+ interactive: entry.interactive?.(args, tty) ?? tty,
58
+ ...entry.reasons ? { reasons: entry.reasons } : {},
59
+ target: io.signals
60
+ });
61
+ const controller = new AbortController();
62
+ let closed = false;
63
+ let unwritable = false;
64
+ const interrupted = /* @__PURE__ */ __name((signal) => () => controller.abort(new CliError("cancelled", `command interrupted by ${signal}`, { reason: signal, retryable: false })), "interrupted");
65
+ const sigint = interrupted("SIGINT");
66
+ const sigterm = interrupted("SIGTERM");
67
+ const outputFailed = /* @__PURE__ */ __name((error) => {
68
+ if (error.code === "EPIPE") {
69
+ closed = true;
70
+ controller.abort(new CliError("cancelled", "output pipe closed", { retryable: false }));
71
+ } else {
72
+ unwritable = true;
73
+ controller.abort(new CliError("configuration_error", "could not write command output"));
74
+ }
75
+ }, "outputFailed");
76
+ const headless = /* @__PURE__ */ __name((command) => {
77
+ const flags = command?.optsWithGlobals() ?? {};
78
+ return Boolean(flags.json || flags.jsonl || flags.input === false || io.env.CI) || !tty;
79
+ }, "headless");
80
+ const context = {
81
+ args,
82
+ env: io.env,
83
+ tty,
84
+ signal: controller.signal,
85
+ atStart: firstRunAt(entry, io, headless),
86
+ ask: /* @__PURE__ */ __name(async (question, command) => {
87
+ if (headless(command) || io.stdin.isTTY !== true)
88
+ return false;
89
+ const { readSecret } = await import("./prompt-BMBZCLGF.js");
90
+ const answer = await readSecret(`${question} [y/N] `, {
91
+ input: io.stdin,
92
+ output: io.stderr,
93
+ echo: true,
94
+ signal: controller.signal
95
+ });
96
+ return /^(y|yes)$/i.test(answer.trim());
97
+ }, "ask"),
98
+ openBrowser: /* @__PURE__ */ __name(async (url, browser, command) => {
99
+ if (!headless(command))
100
+ await openBrowser(url, browser, io);
101
+ }, "openBrowser"),
102
+ outputClosed: /* @__PURE__ */ __name(() => closed, "outputClosed")
103
+ };
104
+ let code;
105
+ try {
106
+ if (entry.sqlite)
107
+ await ensureSqlite();
108
+ io.signals.on("SIGINT", sigint).on("SIGTERM", sigterm);
109
+ io.stdout.on("error", outputFailed);
110
+ io.stderr.on("error", outputFailed);
111
+ const returned = await entry.run(context);
112
+ if (typeof returned === "number")
113
+ code = returned;
114
+ } catch (error) {
115
+ code = commanderExit(error) ?? entry.fail(error, context);
116
+ } finally {
117
+ io.signals.off("SIGINT", sigint).off("SIGTERM", sigterm);
118
+ release();
119
+ }
120
+ if (closed)
121
+ io.setExitCode(0);
122
+ else if (unwritable)
123
+ io.setExitCode(3);
124
+ else if (code !== void 0)
125
+ io.setExitCode(code);
126
+ }, "startCli");
127
+ var firstRunAt = /* @__PURE__ */ __name((entry, io, headless) => async (command) => {
128
+ if (command.optsWithGlobals().dryRun === true)
129
+ return;
130
+ const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
131
+ import("./first-run-C7L7IACA.js"),
132
+ import("./command-contract-QQG343ZQ.js")
133
+ ]);
134
+ await setupAtStart({
135
+ command: entry.app.command,
136
+ env: io.env,
137
+ contentLanguages: entry.app.contentLanguages,
138
+ path: commandPathOf(command),
139
+ headless: headless(command),
140
+ readOnlyLock: readOnlyLockOf(entry.app, io.env),
141
+ input: io.stdin
142
+ });
143
+ }, "firstRunAt");
144
+ var printVersion = /* @__PURE__ */ __name((app, io) => {
145
+ const argvLog = io.env[envName(app, "TEST_ARGV_LOG")];
146
+ if (argvLog)
147
+ logVersion(argvLog);
148
+ io.stdout.write(`${app.version}
149
+ `);
150
+ }, "printVersion");
151
+ var commanderExit = /* @__PURE__ */ __name((error) => {
152
+ if (!(error instanceof Error))
153
+ return void 0;
154
+ const { code, exitCode } = error;
155
+ if (typeof code !== "string" || !code.startsWith("commander.") || typeof exitCode !== "number")
156
+ return void 0;
157
+ if (exitCode === 0)
158
+ return 0;
159
+ return code === "commander.help" ? 2 : void 0;
160
+ }, "commanderExit");
161
+ var openBrowser = /* @__PURE__ */ __name((url, browser, io = { platform: process.platform, spawn }) => {
162
+ const [command, prefix] = browser !== void 0 ? [browser, []] : io.platform === "darwin" ? ["open", []] : io.platform === "win32" ? ["rundll32.exe", ["url.dll,FileProtocolHandler"]] : ["xdg-open", []];
163
+ return new Promise((resolve, reject) => {
164
+ const child = io.spawn(command, [...prefix, url], { detached: true, stdio: "ignore", windowsHide: true });
165
+ child.once("error", () => reject(new CliError("configuration_error", `could not start ${command} \u2014 open the printed URL in a browser`)));
166
+ child.once("spawn", () => {
167
+ child.unref();
168
+ resolve();
169
+ });
170
+ });
171
+ }, "openBrowser");
172
+
173
+ export {
174
+ startCli,
175
+ firstRunAt,
176
+ openBrowser
177
+ };
@@ -2,7 +2,13 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  decisionPolicy
5
- } from "./chunk-QHLEMEF3.js";
5
+ } from "./chunk-QCR5WJ7R.js";
6
+ import {
7
+ openStore
8
+ } from "./chunk-OOKMABOJ.js";
9
+ import {
10
+ STORE_CLIENT
11
+ } from "./chunk-EML43XLJ.js";
6
12
  import {
7
13
  compactText,
8
14
  itemOf,
@@ -14,25 +20,19 @@ import {
14
20
  rowsOfEntity,
15
21
  sealed,
16
22
  snakeKeysKeeping
17
- } from "./chunk-PF6LXPK5.js";
18
- import {
19
- openStore
20
- } from "./chunk-BOZEBD3I.js";
23
+ } from "./chunk-XMHWGHID.js";
21
24
  import {
22
25
  currentRun
23
- } from "./chunk-JABLJBXL.js";
24
- import {
25
- STORE_CLIENT
26
- } from "./chunk-KK3ZHBMI.js";
26
+ } from "./chunk-JINEHQ2T.js";
27
27
  import {
28
28
  createRenderer
29
- } from "./chunk-UUBV5ATQ.js";
29
+ } from "./chunk-W46O6RJ5.js";
30
30
  import {
31
31
  COMPACT_FLAG
32
- } from "./chunk-HE2F4JII.js";
32
+ } from "./chunk-VYCLOFPC.js";
33
33
  import {
34
34
  CliError
35
- } from "./chunk-ZTONSM5X.js";
35
+ } from "./chunk-2EZFUIL4.js";
36
36
  import {
37
37
  __name
38
38
  } from "./chunk-ZVVMGPBJ.js";
@@ -2,35 +2,35 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  listen
5
- } from "./chunk-VPR47AG4.js";
5
+ } from "./chunk-BDVM5652.js";
6
6
  import {
7
7
  ownerLogin
8
- } from "./chunk-W6JPIP5C.js";
8
+ } from "./chunk-QKWM4VK4.js";
9
9
  import {
10
10
  WebStandardStreamableHTTPServerTransport,
11
11
  createMcpHandler,
12
12
  hostHeaderValidationResponse,
13
13
  isLegacyRequest
14
14
  } from "./chunk-3X4JM3ZR.js";
15
- import {
16
- getOAuthProtectedResourceMetadataUrl,
17
- oauthMetadataResponse,
18
- requireBearerAuth
19
- } from "./chunk-H3ZN4YLB.js";
20
15
  import {
21
16
  activityRecorder,
22
17
  calledTools,
23
18
  httpActivityFile,
24
19
  httpLock
25
- } from "./chunk-6ZRBQTKZ.js";
20
+ } from "./chunk-LX3OSTBD.js";
21
+ import {
22
+ getOAuthProtectedResourceMetadataUrl,
23
+ oauthMetadataResponse,
24
+ requireBearerAuth
25
+ } from "./chunk-H3ZN4YLB.js";
26
26
  import {
27
27
  CliError
28
- } from "./chunk-ZTONSM5X.js";
28
+ } from "./chunk-2EZFUIL4.js";
29
29
  import {
30
30
  __name
31
31
  } from "./chunk-ZVVMGPBJ.js";
32
32
 
33
- // node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_5a9525690cd264264c4a3180795dd7f6/node_modules/@wirecat/cli-core/dist/mcp/http/serve.js
33
+ // node_modules/.pnpm/@wirecat+cli-core@0.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/node_modules/@wirecat/cli-core/dist/mcp/http/serve.js
34
34
  import { randomUUID } from "node:crypto";
35
35
  var MCP_PATH = "/mcp";
36
36
  var AS_METADATA = "/.well-known/oauth-authorization-server";