@wirecat/tg-cli 0.109.0 → 0.111.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.
Files changed (105) hide show
  1. package/dist/bin/tg.js +2 -2
  2. package/dist/bundle/{adapter-6JLFYFL5.js → adapter-WFC2JAD4.js} +45 -45
  3. package/dist/bundle/{all-profiles-X7Y3T5S4.js → all-profiles-FEUSGHT7.js} +8 -8
  4. package/dist/bundle/{anthropic-LGVXAADT.js → anthropic-O646SJIJ.js} +5 -5
  5. package/dist/bundle/{app-server-UI3AFSJX.js → app-server-7P23Y45A.js} +40 -40
  6. package/dist/bundle/{bot-api-TQYRNYJQ.js → bot-api-WTJCL6VF.js} +46 -46
  7. package/dist/bundle/{bot-history-DDNTNMNB.js → bot-history-5J2Q4SPC.js} +15 -15
  8. package/dist/bundle/{bun-WXGS6HML.js → bun-KUKVEKDW.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-M6JEXKRT.js → bun-sqlite-2G5TXHYE.js} +4 -4
  10. package/dist/bundle/{chunk-P5ILJ7MN.js → chunk-2K6IGVSI.js} +5 -5
  11. package/dist/bundle/{chunk-WHYS6OSG.js → chunk-2ZH3PUQX.js} +2 -2
  12. package/dist/bundle/{chunk-YYOIULA2.js → chunk-33HEHPIK.js} +8 -8
  13. package/dist/bundle/{chunk-4R4AH6FM.js → chunk-3BD24JYK.js} +98 -94
  14. package/dist/bundle/{chunk-AGVKIJB7.js → chunk-3WUTBGZE.js} +6 -6
  15. package/dist/bundle/{chunk-7T7ILNCU.js → chunk-43ZFY6TW.js} +2 -2
  16. package/dist/bundle/{chunk-CVLDXFRP.js → chunk-5FJQG5UZ.js} +10 -9
  17. package/dist/bundle/{chunk-XJVGCCQE.js → chunk-5ZPLOYTP.js} +1911 -630
  18. package/dist/bundle/{chunk-3PEZWXKO.js → chunk-7665YBJ7.js} +6 -6
  19. package/dist/bundle/{chunk-UUQ3BH2Z.js → chunk-7GQLD5TJ.js} +2 -2
  20. package/dist/bundle/{chunk-VFVMB3NV.js → chunk-ABVHA4K6.js} +5 -5
  21. package/dist/bundle/{chunk-IULYECPC.js → chunk-AUWYMMYL.js} +4 -4
  22. package/dist/bundle/{chunk-YXCQ4DLZ.js → chunk-BNQOUCL2.js} +1 -1
  23. package/dist/bundle/{chunk-N5FSRC6H.js → chunk-BWRCPMMC.js} +41 -31
  24. package/dist/bundle/{chunk-IV2QWSPG.js → chunk-CJUSP5X2.js} +12 -3
  25. package/dist/bundle/{chunk-CH2ESVV5.js → chunk-COHMFCHD.js} +42 -24
  26. package/dist/bundle/{chunk-2ILQYCBY.js → chunk-DEG4JJHG.js} +568 -297
  27. package/dist/bundle/{chunk-DO33KAMM.js → chunk-DREEXESG.js} +96 -60
  28. package/dist/bundle/{chunk-NAVNCM5K.js → chunk-EB44Z44U.js} +1 -1
  29. package/dist/bundle/{chunk-XMMWKHNY.js → chunk-EO563SUX.js} +7 -7
  30. package/dist/bundle/{chunk-ZMZKZL3Y.js → chunk-HN6ZMUAS.js} +1 -1
  31. package/dist/bundle/{chunk-ZUOS7QUB.js → chunk-ITSSCYLP.js} +11 -11
  32. package/dist/bundle/{chunk-BESIMQ5U.js → chunk-J2Z5E7TO.js} +1 -1
  33. package/dist/bundle/{chunk-N56WXUCW.js → chunk-J4QVXR5I.js} +2 -2
  34. package/dist/bundle/{chunk-MF6NKU3Z.js → chunk-K457FHD4.js} +33 -23
  35. package/dist/bundle/{chunk-M62LF3QE.js → chunk-KE47Y4PW.js} +941 -494
  36. package/dist/bundle/{chunk-DZVYGBZB.js → chunk-KLHLWKWC.js} +67 -54
  37. package/dist/bundle/{chunk-SH63Q4QR.js → chunk-LLAZSGS7.js} +22 -22
  38. package/dist/bundle/{chunk-WNTXIQMB.js → chunk-MSGYLWCH.js} +2 -2
  39. package/dist/bundle/{chunk-ZFMS5G4H.js → chunk-NIKYFRDQ.js} +2 -2
  40. package/dist/bundle/{chunk-7AJ2IESO.js → chunk-NQAV7U7C.js} +1 -1
  41. package/dist/bundle/{chunk-GUFM5RLW.js → chunk-ONHHBPV3.js} +2 -2
  42. package/dist/bundle/{chunk-BHPCZCX7.js → chunk-OYVDWHP5.js} +2 -2
  43. package/dist/bundle/{chunk-25VC6U3A.js → chunk-PNUHAHTF.js} +1 -1
  44. package/dist/bundle/{chunk-ZHP44EML.js → chunk-PQGWEFJ2.js} +3 -3
  45. package/dist/bundle/{chunk-KHKC236O.js → chunk-QAC6Z675.js} +2 -2
  46. package/dist/bundle/{chunk-P57R2P75.js → chunk-QEAMO2TS.js} +7 -7
  47. package/dist/bundle/{chunk-RD2NLJSU.js → chunk-QLLPZWYZ.js} +4 -4
  48. package/dist/bundle/{chunk-BZIZLEJN.js → chunk-QVM2HKJP.js} +4 -4
  49. package/dist/bundle/{chunk-UIPBAT2T.js → chunk-T6DSAROY.js} +17 -14
  50. package/dist/bundle/{chunk-S7B6MTXX.js → chunk-TWZTQHP6.js} +6 -6
  51. package/dist/bundle/{chunk-VYR2IIWW.js → chunk-UDYCZ5KB.js} +1 -1
  52. package/dist/bundle/{chunk-QQF7RDLR.js → chunk-UFIUMPXP.js} +4 -4
  53. package/dist/bundle/{chunk-DLAFGSTN.js → chunk-UIPT6IAU.js} +1 -1
  54. package/dist/bundle/{chunk-INYO2QFW.js → chunk-UMUJHC4M.js} +3 -3
  55. package/dist/bundle/{chunk-TMXNMO66.js → chunk-UPRYEDAV.js} +3 -3
  56. package/dist/bundle/{chunk-IGIPIO4J.js → chunk-VIEVOF3O.js} +11 -11
  57. package/dist/bundle/{chunk-5SUFMBU5.js → chunk-WDRNVSWF.js} +45 -45
  58. package/dist/bundle/{chunk-C3RX3UOE.js → chunk-XIRASTVS.js} +11 -11
  59. package/dist/bundle/{chunk-OHLMHBDI.js → chunk-XXOJ7PQY.js} +32 -31
  60. package/dist/bundle/{chunk-CHI6D4D6.js → chunk-YFK3DNNP.js} +4 -4
  61. package/dist/bundle/{chunk-AD3QPYI3.js → chunk-YG4BO7N3.js} +2 -2
  62. package/dist/bundle/{chunk-76C5SSMR.js → chunk-ZCHC7TYO.js} +12 -12
  63. package/dist/bundle/{chunk-P55L4S6N.js → chunk-ZCV4UEVH.js} +3 -3
  64. package/dist/bundle/command-contract-JCRVVL7P.js +32 -0
  65. package/dist/bundle/{decode-RKPOGPBE.js → decode-QJNVAAKJ.js} +4 -4
  66. package/dist/bundle/{echarts-H5QQRBHI.js → echarts-2EDY7OUX.js} +2 -2
  67. package/dist/bundle/{embed-7TVAPNP7.js → embed-PZSXOQJO.js} +5 -5
  68. package/dist/bundle/{embedder-YOOHWWN6.js → embedder-O4EGMMUU.js} +8 -8
  69. package/dist/bundle/{entry-SAKW5HEZ.js → entry-DVLMQM6J.js} +5 -5
  70. package/dist/bundle/{first-run-C744N572.js → first-run-J67KTUWA.js} +9 -9
  71. package/dist/bundle/first-screen-PYEE5NMQ.js +30 -0
  72. package/dist/bundle/{identity-NRWTZIQ4.js → identity-DSYY4FLQ.js} +3 -3
  73. package/dist/bundle/{instructions-6LWRAW47.js → instructions-O535XB2L.js} +1 -1
  74. package/dist/bundle/{mcp-WSGVVZWI.js → mcp-EMNFFY4N.js} +2 -2
  75. package/dist/bundle/{node-XN4PIVWW.js → node-S3VEQNTE.js} +2 -2
  76. package/dist/bundle/{node-sqlite-PCBGROGQ.js → node-sqlite-3DNWF2BW.js} +4 -4
  77. package/dist/bundle/{oauth-PX6NGHUV.js → oauth-IU2RAZ3D.js} +6 -6
  78. package/dist/bundle/{open-BKJGJ6GX.js → open-M2IPPXMI.js} +3 -3
  79. package/dist/bundle/{openai-MJP7CZXP.js → openai-GDI7HISL.js} +13 -13
  80. package/dist/bundle/{process-4PRR3MLT.js → process-3IGMEATV.js} +1 -1
  81. package/dist/bundle/{program-7YZUO42B.js → program-P7YPHVLD.js} +50 -48
  82. package/dist/bundle/{prompt-CILSZC2R.js → prompt-S6R7IHDK.js} +4 -4
  83. package/dist/bundle/{proxy-transport-FWGKTYBL.js → proxy-transport-OROEVBCG.js} +4 -4
  84. package/dist/bundle/{recognize-AVFDJAIL.js → recognize-PFZRQ3P4.js} +3 -3
  85. package/dist/bundle/{remote-2VYXGOM4.js → remote-Q37V7LUX.js} +6 -6
  86. package/dist/bundle/{rerank-6FU2JPCD.js → rerank-V5YQQQAM.js} +6 -6
  87. package/dist/bundle/{serve-3YQOHBR6.js → serve-5CAD2UVG.js} +8 -8
  88. package/dist/bundle/{server-TPK3LNEX.js → server-R6YAO2SG.js} +32 -32
  89. package/dist/bundle/server-RUQLAWWS.js +56 -0
  90. package/dist/bundle/{state-LLUNBLZE.js → state-Y3A2NEM3.js} +5 -5
  91. package/dist/bundle/{store-27FQ743G.js → store-H5K32CNI.js} +10 -10
  92. package/dist/bundle/store-maintenance-command-QZDC4WKW.js +45 -0
  93. package/dist/bundle/tg.js +4 -4
  94. package/dist/program.d.ts.map +1 -1
  95. package/dist/program.js +2 -1
  96. package/dist/program.js.map +1 -1
  97. package/dist/version.d.ts +1 -1
  98. package/dist/version.js +1 -1
  99. package/package.json +3 -3
  100. package/skills/tg-cli/SKILL.md +14 -9
  101. package/dist/bundle/command-contract-E2MWR3T3.js +0 -32
  102. package/dist/bundle/first-screen-7GKUEIWS.js +0 -30
  103. package/dist/bundle/server-S2K4YDDG.js +0 -56
  104. package/dist/bundle/store-maintenance-command-AFJMKEBK.js +0 -45
  105. /package/dist/bundle/{chunk-62EDJKGP.js → chunk-NPGVOZVK.js} +0 -0
@@ -20,7 +20,7 @@ import {
20
20
  tool,
21
21
  toolKey,
22
22
  toolsFromCommands
23
- } from "./chunk-CH2ESVV5.js";
23
+ } from "./chunk-COHMFCHD.js";
24
24
  import {
25
25
  CHART_KINDS,
26
26
  CHART_SIZE,
@@ -34,19 +34,20 @@ import {
34
34
  registerPrompts,
35
35
  stdinFieldOf,
36
36
  syncsFirst
37
- } from "./chunk-MF6NKU3Z.js";
37
+ } from "./chunk-K457FHD4.js";
38
38
  import {
39
39
  agentJson,
40
40
  skillResource
41
- } from "./chunk-UIPBAT2T.js";
41
+ } from "./chunk-T6DSAROY.js";
42
42
  import {
43
43
  answeredWire
44
- } from "./chunk-7AJ2IESO.js";
44
+ } from "./chunk-NQAV7U7C.js";
45
45
  import {
46
46
  StdioServerTransport,
47
47
  callerOf,
48
+ callingAgent,
48
49
  serveStdio
49
- } from "./chunk-IV2QWSPG.js";
50
+ } from "./chunk-CJUSP5X2.js";
50
51
  import {
51
52
  McpServer,
52
53
  ResourceTemplate
@@ -54,7 +55,7 @@ import {
54
55
  import {
55
56
  connectedFor,
56
57
  guardFor
57
- } from "./chunk-SH63Q4QR.js";
58
+ } from "./chunk-LLAZSGS7.js";
58
59
  import {
59
60
  capability,
60
61
  dateWindow,
@@ -63,10 +64,10 @@ import {
63
64
  servicesFor,
64
65
  storedDeps,
65
66
  wholeList
66
- } from "./chunk-XJVGCCQE.js";
67
+ } from "./chunk-5ZPLOYTP.js";
67
68
  import {
68
69
  findCommand
69
- } from "./chunk-P5ILJ7MN.js";
70
+ } from "./chunk-2K6IGVSI.js";
70
71
  import {
71
72
  DEFAULT_OUTPUT_BYTES,
72
73
  changesAuthorityAt,
@@ -82,34 +83,34 @@ import {
82
83
  sealed,
83
84
  snakeKeys,
84
85
  typedCommand
85
- } from "./chunk-DZVYGBZB.js";
86
+ } from "./chunk-KLHLWKWC.js";
86
87
  import {
87
88
  isCliFailure,
88
89
  withCaller
89
- } from "./chunk-CVLDXFRP.js";
90
+ } from "./chunk-5FJQG5UZ.js";
90
91
  import {
91
92
  readOnlyLockOf
92
- } from "./chunk-7T7ILNCU.js";
93
+ } from "./chunk-43ZFY6TW.js";
93
94
  import {
94
95
  mcpHttpMarker
95
- } from "./chunk-CHI6D4D6.js";
96
+ } from "./chunk-YFK3DNNP.js";
96
97
  import {
97
98
  instructions
98
- } from "./chunk-YXCQ4DLZ.js";
99
+ } from "./chunk-BNQOUCL2.js";
99
100
  import {
100
101
  warmEmbedders
101
- } from "./chunk-3PEZWXKO.js";
102
+ } from "./chunk-7665YBJ7.js";
102
103
  import {
103
104
  openStore,
104
105
  pdfPreviewLimits
105
- } from "./chunk-M62LF3QE.js";
106
+ } from "./chunk-KE47Y4PW.js";
106
107
  import {
107
108
  timezoneOf
108
- } from "./chunk-DO33KAMM.js";
109
+ } from "./chunk-DREEXESG.js";
109
110
  import {
110
111
  mcpErrorResult,
111
112
  visibleControls
112
- } from "./chunk-N5FSRC6H.js";
113
+ } from "./chunk-BWRCPMMC.js";
113
114
  import {
114
115
  CliError,
115
116
  description,
@@ -125,15 +126,15 @@ import {
125
126
  regex,
126
127
  strictObject,
127
128
  string
128
- } from "./chunk-XMMWKHNY.js";
129
+ } from "./chunk-EO563SUX.js";
129
130
  import {
130
131
  __name
131
132
  } from "./chunk-ZVVMGPBJ.js";
132
133
 
133
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/mcp/server.js
134
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/mcp/server.js
134
135
  import { randomUUID } from "node:crypto";
135
136
 
136
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
137
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
137
138
  var agentLog = /* @__PURE__ */ __name((open) => {
138
139
  let held;
139
140
  return {
@@ -152,7 +153,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
152
153
  };
153
154
  }, "agentLog");
154
155
 
155
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/mcp/resources.js
156
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/mcp/resources.js
156
157
  var LISTED = 100;
157
158
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
158
159
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -190,7 +191,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
190
191
  });
191
192
  }, "registerResources");
192
193
 
193
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/mcp/session.js
194
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/mcp/session.js
194
195
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
195
196
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
196
197
  var MessengerSession = class {
@@ -265,7 +266,7 @@ var MessengerSession = class {
265
266
  }
266
267
  };
267
268
 
268
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
269
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
269
270
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
270
271
  const _command = messenger.app.command;
271
272
  return {
@@ -319,7 +320,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
319
320
  };
320
321
  }, "attachmentsTools");
321
322
 
322
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
323
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
323
324
  var PHOTO_LIMIT = 512 * 1024;
324
325
  var IMAGE_TYPES = [
325
326
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -373,7 +374,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
373
374
  return new Uint8Array(Buffer.concat(chunks));
374
375
  }, "readUpTo");
375
376
 
376
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
377
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
377
378
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
378
379
  stats_charts: tool({
379
380
  title: "A chart from a chat's statistics",
@@ -410,14 +411,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
410
411
  })
411
412
  }), "statsTools");
412
413
 
413
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/mcp/tools.js
414
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/mcp/tools.js
414
415
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
415
416
  ...messagesPhotoTools(messenger),
416
417
  ...attachmentsTools(messenger),
417
418
  ...statsTools(messenger)
418
419
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
419
420
 
420
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/mcp/server.js
421
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/mcp/server.js
421
422
  var PER_RUN = /* @__PURE__ */ new Set([
422
423
  "streams",
423
424
  "stdin",
@@ -535,10 +536,10 @@ var createServer = /* @__PURE__ */ __name((command, context, messenger, sessionO
535
536
  });
536
537
  const skill = messenger.skill ? skillResource(app, messenger.skill) : void 0;
537
538
  const log = agentLog(() => openStore({ env: context.env, command: app.command, version: app.version }));
538
- const audit = /* @__PURE__ */ __name(async (call) => {
539
+ const audit = /* @__PURE__ */ __name(async (call, caller) => {
539
540
  if (!recalledAccount(app, provider, settings.profile, context.env))
540
541
  return;
541
- await log.record({ actor: { bot: `${app.command}-mcp` }, ...call });
542
+ await log.record({ actor: { bot: callingAgent(`${app.command}-mcp`, caller) }, ...call });
542
543
  }, "audit");
543
544
  const targets = judgedTargets(root);
544
545
  const passed = Object.fromEntries(Object.entries(environment).filter(([key]) => !PER_RUN.has(key)));
@@ -610,7 +611,7 @@ var createServer = /* @__PURE__ */ __name((command, context, messenger, sessionO
610
611
  ...outcomeOf(result),
611
612
  startedAt,
612
613
  finishedAt: Date.now()
613
- }).catch(() => void 0);
614
+ }, caller).catch(() => void 0);
614
615
  return result;
615
616
  }, "run")
616
617
  }), "asCommand");
@@ -741,7 +742,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
741
742
  }, "serveOverStdio");
742
743
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
743
744
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
744
- const { serveOverHttp } = await import("./serve-3YQOHBR6.js");
745
+ const { serveOverHttp } = await import("./serve-5CAD2UVG.js");
745
746
  const appName = messenger.app.command;
746
747
  const appEnvPrefix = messenger.app.envPrefix;
747
748
  const listening = await serveOverHttp(build, {
@@ -5,15 +5,15 @@ import {
5
5
  readLock,
6
6
  releaseLock,
7
7
  takeLock
8
- } from "./chunk-TMXNMO66.js";
8
+ } from "./chunk-UPRYEDAV.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
14
14
  import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
17
17
  import { randomBytes } from "node:crypto";
18
18
  import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
19
19
  import { dirname } from "node:path";
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
86
86
  };
87
87
  }, "activityRecorder");
88
88
 
89
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
89
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
90
90
  var ACCESS_SECONDS = 60 * 60;
91
91
  var REFRESH_SECONDS = 30 * 24 * 60 * 60;
92
92
  var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");
@@ -10,12 +10,12 @@ import {
10
10
  optional,
11
11
  pipe,
12
12
  safeParse
13
- } from "./chunk-XMMWKHNY.js";
13
+ } from "./chunk-EO563SUX.js";
14
14
  import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/models/options.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/models/options.js
19
19
  var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
20
20
  const parsed = safeParse(schema, options);
21
21
  if (!parsed.success) {
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-XMMWKHNY.js";
5
+ } from "./chunk-EO563SUX.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
11
11
  import { constants } from "node:fs";
12
12
  import { lstat, open } from "node:fs/promises";
13
13
  var deviceOf = /* @__PURE__ */ __name((dev) => process.platform === "win32" ? BigInt.asUintN(32, dev) : dev, "deviceOf");
@@ -73,7 +73,7 @@ var syncDirectory = /* @__PURE__ */ __name(async (path) => {
73
73
  }
74
74
  }, "syncDirectory");
75
75
 
76
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
76
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
77
77
  import { randomUUID } from "node:crypto";
78
78
  import { constants as constants2 } from "node:fs";
79
79
  import { link, open as open2, realpath, rename, unlink } from "node:fs/promises";
@@ -111,7 +111,7 @@ var writeFileAtomic = /* @__PURE__ */ __name(async (path, content, { mode = 384,
111
111
  }
112
112
  }, "writeFileAtomic");
113
113
 
114
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
114
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
115
115
  var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
116
116
  if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > 16 * 1024 * 1024)
117
117
  throw new CliError("validation_error", "file maxBytes takes 1\u201316777216 bytes");
@@ -140,21 +140,21 @@ var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
140
140
  }
141
141
  }, "readBoundedUtf8File");
142
142
 
143
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/files/lock.js
143
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/files/lock.js
144
144
  import { mkdir as mkdir2 } from "node:fs/promises";
145
145
  import { basename as basename2, dirname as dirname2 } from "node:path";
146
146
 
147
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
147
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
148
148
  import { randomUUID as randomUUID2 } from "node:crypto";
149
149
  import { lstat as lstat3, mkdir, open as open3, realpath as realpath3, rmdir as rmdir2, unlink as unlink4 } from "node:fs/promises";
150
150
  import { hostname as hostname2 } from "node:os";
151
151
  import { join as join3 } from "node:path";
152
152
 
153
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
153
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
154
154
  import { lstat as lstat2, readdir, realpath as realpath2, unlink as unlink2 } from "node:fs/promises";
155
155
  import { join as join2 } from "node:path";
156
156
 
157
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
157
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
158
158
  import { hostname } from "node:os";
159
159
  var missingLeaseFile = /* @__PURE__ */ __name((error) => typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT", "missingLeaseFile");
160
160
  var readLeaseOwner = /* @__PURE__ */ __name(async (path, name, signal) => {
@@ -199,7 +199,7 @@ var leaseOwnerStatus = /* @__PURE__ */ __name((owner) => {
199
199
  }
200
200
  }, "leaseOwnerStatus");
201
201
 
202
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
202
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
203
203
  var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
204
204
  const inspect = /* @__PURE__ */ __name(async (destination, options = {}) => {
205
205
  options.signal?.throwIfAborted();
@@ -258,7 +258,7 @@ var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
258
258
  return { inspect, recover };
259
259
  }, "leaseInspection");
260
260
 
261
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
261
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
262
262
  import { rmdir, unlink as unlink3 } from "node:fs/promises";
263
263
  var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identity) => {
264
264
  let releasing;
@@ -283,7 +283,7 @@ var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identi
283
283
  };
284
284
  }, "ownedNativeLease");
285
285
 
286
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
286
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
287
287
  var validName = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length > 0 && value !== "." && value !== ".." && !/[\\/\0:]/.test(value), "validName");
288
288
  var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
289
289
  const { markerDirectory, legacyMarker } = layout;
@@ -354,7 +354,7 @@ var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
354
354
  };
355
355
  }, "nativeWriterLeaseStore");
356
356
 
357
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/files/lock.js
357
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/files/lock.js
358
358
  var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
359
359
  const folder = dirname2(path);
360
360
  await mkdir2(folder, { recursive: true, mode: 448 });
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  readSharedSection,
5
5
  writeSharedSection
6
- } from "./chunk-AGVKIJB7.js";
6
+ } from "./chunk-3WUTBGZE.js";
7
7
  import {
8
8
  CliError
9
- } from "./chunk-XMMWKHNY.js";
9
+ } from "./chunk-EO563SUX.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
15
15
  var PERMISSION_ANSWERS = ["readonly", "allow"];
16
16
  var QUESTIONS = ["languages", "tools", "permissions"];
17
17
  var SECTION = "setup";
@@ -0,0 +1,32 @@
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-2K6IGVSI.js";
10
+ import "./chunk-3BD24JYK.js";
11
+ import "./chunk-KLHLWKWC.js";
12
+ import "./chunk-QLLPZWYZ.js";
13
+ import "./chunk-5FJQG5UZ.js";
14
+ import "./chunk-ZCV4UEVH.js";
15
+ import "./chunk-43ZFY6TW.js";
16
+ import "./chunk-PNUHAHTF.js";
17
+ import "./chunk-AUWYMMYL.js";
18
+ import "./chunk-DREEXESG.js";
19
+ import "./chunk-3WUTBGZE.js";
20
+ import "./chunk-NPGVOZVK.js";
21
+ import "./chunk-7GQLD5TJ.js";
22
+ import "./chunk-BWRCPMMC.js";
23
+ import "./chunk-EO563SUX.js";
24
+ import "./chunk-Y5E2WNWB.js";
25
+ import "./chunk-ZVVMGPBJ.js";
26
+ export {
27
+ SCHEMA_DIALECT,
28
+ commandContract,
29
+ commandPathOf,
30
+ findCommand,
31
+ outputOf
32
+ };
@@ -3,11 +3,11 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  decodeOgg
6
- } from "./chunk-QQF7RDLR.js";
7
- import "./chunk-N5FSRC6H.js";
6
+ } from "./chunk-UFIUMPXP.js";
7
+ import "./chunk-BWRCPMMC.js";
8
8
  import {
9
9
  CliError
10
- } from "./chunk-XMMWKHNY.js";
10
+ } from "./chunk-EO563SUX.js";
11
11
  import {
12
12
  importFrom
13
13
  } from "./chunk-Y5E2WNWB.js";
@@ -15,7 +15,7 @@ import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/speech/decode.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/speech/decode.js
19
19
  import { spawn } from "node:child_process";
20
20
  import { mkdtemp, rm, writeFile } from "node:fs/promises";
21
21
  import { createRequire } from "node:module";
@@ -42399,7 +42399,7 @@ function install11(registers) {
42399
42399
  }
42400
42400
  __name(install11, "install");
42401
42401
 
42402
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
42402
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/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.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/charts/echarts.js
42450
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/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,11 +13,11 @@ import {
13
13
  truncated,
14
14
  unit,
15
15
  warmEmbedders
16
- } from "./chunk-3PEZWXKO.js";
17
- import "./chunk-IULYECPC.js";
18
- import "./chunk-UUQ3BH2Z.js";
19
- import "./chunk-N5FSRC6H.js";
20
- import "./chunk-XMMWKHNY.js";
16
+ } from "./chunk-7665YBJ7.js";
17
+ import "./chunk-AUWYMMYL.js";
18
+ import "./chunk-7GQLD5TJ.js";
19
+ import "./chunk-BWRCPMMC.js";
20
+ import "./chunk-EO563SUX.js";
21
21
  import "./chunk-Y5E2WNWB.js";
22
22
  import "./chunk-ZVVMGPBJ.js";
23
23
  export {
@@ -4,13 +4,13 @@ import {
4
4
  openSession,
5
5
  truncated,
6
6
  unit
7
- } from "./chunk-3PEZWXKO.js";
8
- import "./chunk-IULYECPC.js";
9
- import "./chunk-UUQ3BH2Z.js";
10
- import "./chunk-N5FSRC6H.js";
7
+ } from "./chunk-7665YBJ7.js";
8
+ import "./chunk-AUWYMMYL.js";
9
+ import "./chunk-7GQLD5TJ.js";
10
+ import "./chunk-BWRCPMMC.js";
11
11
  import {
12
12
  CliError
13
- } from "./chunk-XMMWKHNY.js";
13
+ } from "./chunk-EO563SUX.js";
14
14
  import {
15
15
  importFrom
16
16
  } from "./chunk-Y5E2WNWB.js";
@@ -18,11 +18,11 @@ import {
18
18
  __name
19
19
  } from "./chunk-ZVVMGPBJ.js";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
22
22
  import { readFileSync } from "node:fs";
23
23
  import { join } from "node:path";
24
24
 
25
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
25
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
26
26
  var SIZE = 224;
27
27
  var MEAN = [0.48145466, 0.4578275, 0.40821073];
28
28
  var STD = [0.26862954, 0.26130258, 0.27577711];
@@ -61,7 +61,7 @@ var preprocess = /* @__PURE__ */ __name(async (bytes, load = importCanvas) => {
61
61
  return pixels;
62
62
  }, "preprocess");
63
63
 
64
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
64
+ // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
65
65
  var openPictureEmbedder = /* @__PURE__ */ __name(async (model, directory, { threads = 4, canvas } = {}) => {
66
66
  const { Tokenizer } = await importFrom(new URL("images/picture/embedder.js", import.meta.resolve("@wirecat/cli-core")).href, "@huggingface/tokenizers");
67
67
  const path = /* @__PURE__ */ __name((name) => join(directory, model.id, name), "path");
@@ -2,11 +2,11 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  startCli
5
- } from "./chunk-ZUOS7QUB.js";
6
- import "./chunk-7T7ILNCU.js";
7
- import "./chunk-S7B6MTXX.js";
8
- import "./chunk-N5FSRC6H.js";
9
- import "./chunk-XMMWKHNY.js";
5
+ } from "./chunk-ITSSCYLP.js";
6
+ import "./chunk-43ZFY6TW.js";
7
+ import "./chunk-TWZTQHP6.js";
8
+ import "./chunk-BWRCPMMC.js";
9
+ import "./chunk-EO563SUX.js";
10
10
  import "./chunk-Y5E2WNWB.js";
11
11
  import "./chunk-ZVVMGPBJ.js";
12
12
  export {
@@ -5,15 +5,15 @@ import {
5
5
  asksAtStart,
6
6
  setupAtStart,
7
7
  systemLanguage
8
- } from "./chunk-C3RX3UOE.js";
9
- import "./chunk-VFVMB3NV.js";
10
- import "./chunk-DLAFGSTN.js";
11
- import "./chunk-P55L4S6N.js";
12
- import "./chunk-YYOIULA2.js";
13
- import "./chunk-AGVKIJB7.js";
14
- import "./chunk-UUQ3BH2Z.js";
15
- import "./chunk-N5FSRC6H.js";
16
- import "./chunk-XMMWKHNY.js";
8
+ } from "./chunk-XIRASTVS.js";
9
+ import "./chunk-ABVHA4K6.js";
10
+ import "./chunk-UIPT6IAU.js";
11
+ import "./chunk-ZCV4UEVH.js";
12
+ import "./chunk-33HEHPIK.js";
13
+ import "./chunk-3WUTBGZE.js";
14
+ import "./chunk-7GQLD5TJ.js";
15
+ import "./chunk-BWRCPMMC.js";
16
+ import "./chunk-EO563SUX.js";
17
17
  import "./chunk-Y5E2WNWB.js";
18
18
  import "./chunk-ZVVMGPBJ.js";
19
19
  export {
@@ -0,0 +1,30 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ WIRECAT_TOOLS,
5
+ firstScreen,
6
+ installHelp
7
+ } from "./chunk-QEAMO2TS.js";
8
+ import "./chunk-2ABQZVK4.js";
9
+ import "./chunk-2K6IGVSI.js";
10
+ import "./chunk-3BD24JYK.js";
11
+ import "./chunk-KLHLWKWC.js";
12
+ import "./chunk-QLLPZWYZ.js";
13
+ import "./chunk-5FJQG5UZ.js";
14
+ import "./chunk-ZCV4UEVH.js";
15
+ import "./chunk-43ZFY6TW.js";
16
+ import "./chunk-PNUHAHTF.js";
17
+ import "./chunk-AUWYMMYL.js";
18
+ import "./chunk-DREEXESG.js";
19
+ import "./chunk-3WUTBGZE.js";
20
+ import "./chunk-NPGVOZVK.js";
21
+ import "./chunk-7GQLD5TJ.js";
22
+ import "./chunk-BWRCPMMC.js";
23
+ import "./chunk-EO563SUX.js";
24
+ import "./chunk-Y5E2WNWB.js";
25
+ import "./chunk-ZVVMGPBJ.js";
26
+ export {
27
+ WIRECAT_TOOLS,
28
+ firstScreen,
29
+ installHelp
30
+ };
@@ -2,9 +2,9 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  TG
5
- } from "./chunk-ZFMS5G4H.js";
6
- import "./chunk-62EDJKGP.js";
7
- import "./chunk-XMMWKHNY.js";
5
+ } from "./chunk-NIKYFRDQ.js";
6
+ import "./chunk-NPGVOZVK.js";
7
+ import "./chunk-EO563SUX.js";
8
8
  import "./chunk-ZVVMGPBJ.js";
9
9
  export {
10
10
  TG
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  appInstructions,
5
5
  instructions
6
- } from "./chunk-YXCQ4DLZ.js";
6
+ } from "./chunk-BNQOUCL2.js";
7
7
  import "./chunk-ZVVMGPBJ.js";
8
8
  export {
9
9
  appInstructions,
@@ -4,13 +4,13 @@ import {
4
4
  executableEnvironment,
5
5
  executableOnPath,
6
6
  require_cross_spawn
7
- } from "./chunk-DLAFGSTN.js";
7
+ } from "./chunk-UIPT6IAU.js";
8
8
  import {
9
9
  __name,
10
10
  __toESM
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/mcp/index.js
13
+ // node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/mcp/index.js
14
14
  var import_cross_spawn = __toESM(require_cross_spawn(), 1);
15
15
  var realRun = /* @__PURE__ */ __name((file, args) => {
16
16
  const result = import_cross_spawn.default.sync(executableOnPath(file, process.env), args, {