@wirecat/tg-cli 0.123.0 → 0.125.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 (131) hide show
  1. package/contracts/wirecat.json +54 -5
  2. package/dist/bin/tg.js +2 -2
  3. package/dist/bundle/{adapter-GAOG65O2.js → adapter-H2LTOLOA.js} +54 -53
  4. package/dist/bundle/{all-profiles-HLE6PHNI.js → all-profiles-75HGEFL7.js} +10 -10
  5. package/dist/bundle/{anthropic-FZC4BS7T.js → anthropic-N54MKE4C.js} +17 -10
  6. package/dist/bundle/{app-server-SHZNMV27.js → app-server-3N5INKKI.js} +62 -52
  7. package/dist/bundle/{bot-api-LRS2KMDE.js → bot-api-V65KTEAH.js} +53 -52
  8. package/dist/bundle/{bot-history-IJ7ZZKW5.js → bot-history-TT2EAHEE.js} +18 -18
  9. package/dist/bundle/{bun-FACL53HM.js → bun-LN4J7PA7.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-B2MD7RTL.js → bun-sqlite-6PDBFBUI.js} +6 -6
  11. package/dist/bundle/{chunk-BGUYYKS3.js → chunk-37SZHAEA.js} +343 -112
  12. package/dist/bundle/{chunk-UB6J5HRW.js → chunk-3GILMKQ2.js} +3 -3
  13. package/dist/bundle/{chunk-WSLTW6MI.js → chunk-4KIOWSDL.js} +3 -3
  14. package/dist/bundle/{chunk-VVRWH5VH.js → chunk-4TCBRKWQ.js} +14 -9
  15. package/dist/bundle/{chunk-MFN5MSIL.js → chunk-6HLB73UN.js} +3 -3
  16. package/dist/bundle/{chunk-DEMGDKCX.js → chunk-6Y6SSZ34.js} +2406 -2371
  17. package/dist/bundle/{chunk-Z5HHBTS5.js → chunk-77Z3OGAT.js} +23 -4
  18. package/dist/bundle/{chunk-VUBZFMGP.js → chunk-7KCBPAQS.js} +2 -2
  19. package/dist/bundle/{chunk-ZJPXRW65.js → chunk-7OBSIDBJ.js} +4 -4
  20. package/dist/bundle/{chunk-OOWE2O5U.js → chunk-AI2J3WJT.js} +1 -1
  21. package/dist/bundle/{chunk-EABZ2CUG.js → chunk-AMPHPP4P.js} +34 -29
  22. package/dist/bundle/{chunk-STPYSD6W.js → chunk-B252D7V4.js} +3 -3
  23. package/dist/bundle/{chunk-V4722KYX.js → chunk-BLNMM3AX.js} +2 -2
  24. package/dist/bundle/{chunk-SWGGYBCW.js → chunk-CNEJQQMD.js} +40 -21
  25. package/dist/bundle/{chunk-4DCFLHLN.js → chunk-DI3RJ3MJ.js} +4 -4
  26. package/dist/bundle/{chunk-7EFJHLKW.js → chunk-DNCOELTM.js} +1 -1
  27. package/dist/bundle/chunk-DYOZ7CUV.js +71 -0
  28. package/dist/bundle/{chunk-E2Z4C6CQ.js → chunk-E4HDE5DN.js} +6 -6
  29. package/dist/bundle/chunk-EIGV2JKX.js +13 -0
  30. package/dist/bundle/{chunk-6KT5BTWL.js → chunk-FHPEUAHQ.js} +367 -184
  31. package/dist/bundle/{chunk-MCPOZNWG.js → chunk-FIVFP53N.js} +1 -1
  32. package/dist/bundle/{chunk-SNEJK4SN.js → chunk-FSP74THJ.js} +4 -4
  33. package/dist/bundle/{chunk-PAHSIORC.js → chunk-FUYCAROL.js} +6 -6
  34. package/dist/bundle/{chunk-WA7YED3Y.js → chunk-GRDVBJCR.js} +1 -1
  35. package/dist/bundle/{chunk-OE5JMZSM.js → chunk-GUPMDMFM.js} +9 -9
  36. package/dist/bundle/{chunk-6FK2Z75N.js → chunk-HHG5FR5H.js} +2 -2
  37. package/dist/bundle/{chunk-U5FILNK6.js → chunk-IN3NAFUN.js} +69 -6
  38. package/dist/bundle/{chunk-3BUQXB7B.js → chunk-INZAZMUF.js} +15 -117
  39. package/dist/bundle/{chunk-4W4EVVL4.js → chunk-IX3GUNGV.js} +4 -4
  40. package/dist/bundle/{chunk-SCGCDLI7.js → chunk-JB4BO5XZ.js} +1 -1
  41. package/dist/bundle/{chunk-XDL4L3OI.js → chunk-JC6HMPL7.js} +14229 -12041
  42. package/dist/bundle/chunk-JCNKGZQG.js +1068 -0
  43. package/dist/bundle/{chunk-PZQ2MQFX.js → chunk-JKF7LZBU.js} +6 -6
  44. package/dist/bundle/{chunk-5R5HGV2J.js → chunk-LD42OGKK.js} +4 -4
  45. package/dist/bundle/{chunk-3P7HWXDJ.js → chunk-LU2CHHPC.js} +14 -5
  46. package/dist/bundle/{chunk-RX5CJ55S.js → chunk-M4OP5ASJ.js} +1 -1
  47. package/dist/bundle/{chunk-3JISIGLP.js → chunk-MK4IKICN.js} +2 -2
  48. package/dist/bundle/{chunk-3S6KZCZ7.js → chunk-NM5GBJME.js} +57 -28
  49. package/dist/bundle/{chunk-KKMNMQMW.js → chunk-NTHALPDT.js} +2 -2
  50. package/dist/bundle/{chunk-B6G3TNN4.js → chunk-OG2ONSH6.js} +156 -43
  51. package/dist/bundle/{chunk-EOUUI5FI.js → chunk-PCC7GWOS.js} +4 -4
  52. package/dist/bundle/{chunk-ADI5R2MM.js → chunk-QVK7NF3A.js} +51 -51
  53. package/dist/bundle/{chunk-Q74XVJFT.js → chunk-QYT6HDCL.js} +1 -1
  54. package/dist/bundle/{chunk-EISV5YWD.js → chunk-RX5GU7GQ.js} +6994 -6232
  55. package/dist/bundle/{chunk-NYRAW4M5.js → chunk-RZ7KBWDQ.js} +4 -7
  56. package/dist/bundle/{chunk-V23X3W2W.js → chunk-S4SOS27T.js} +8 -8
  57. package/dist/bundle/{chunk-V4JEZFW5.js → chunk-SGHF75RQ.js} +2 -2
  58. package/dist/bundle/{chunk-T5OO7VDT.js → chunk-TAFH5K5D.js} +3900 -3425
  59. package/dist/bundle/{chunk-QLB3BFSN.js → chunk-TVQBOIWC.js} +1 -1
  60. package/dist/bundle/{chunk-QLXKWAET.js → chunk-UG66U2T7.js} +88 -21
  61. package/dist/bundle/{chunk-ZOBRYIUG.js → chunk-URFBZNLU.js} +2 -2
  62. package/dist/bundle/{chunk-ZQ3WGGKK.js → chunk-UTNK2PFE.js} +13 -13
  63. package/dist/bundle/{chunk-LVGX7VTD.js → chunk-VG3EQJYV.js} +34 -5
  64. package/dist/bundle/{chunk-FFHX7VKP.js → chunk-VHD4V64E.js} +1 -1
  65. package/dist/bundle/{chunk-BAB3ALHZ.js → chunk-VUBSGQ2O.js} +30 -26
  66. package/dist/bundle/{chunk-UBFDPLFQ.js → chunk-VZDAVZYX.js} +6 -6
  67. package/dist/bundle/{chunk-QVMAZVSN.js → chunk-WH4T44L3.js} +1 -1
  68. package/dist/bundle/{chunk-RDKPKS2P.js → chunk-X6436BYW.js} +2 -2
  69. package/dist/bundle/{chunk-SMFUKHG2.js → chunk-XS5C5TQ7.js} +24 -9
  70. package/dist/bundle/{chunk-ENEMZAIJ.js → chunk-XTNOBJRP.js} +14 -12
  71. package/dist/bundle/{chunk-HJLTWT52.js → chunk-YRZXOQOB.js} +2 -2
  72. package/dist/bundle/{chunk-5IHYZ6ED.js → chunk-ZX5OSZHH.js} +12 -12
  73. package/dist/bundle/command-contract-JP6SCP7U.js +34 -0
  74. package/dist/bundle/{command-server-entry-5LKDRLEX.js → command-server-entry-BLSFT3T6.js} +24 -22
  75. package/dist/bundle/{decode-L4DQDHXA.js → decode-NNLEQU7B.js} +5 -5
  76. package/dist/bundle/{dispatch-PQSCFHEX.js → dispatch-PRAIGIFS.js} +8 -8
  77. package/dist/bundle/{echarts-6LES2JIV.js → echarts-XAZHGDOM.js} +2 -2
  78. package/dist/bundle/{embed-T5MLKX75.js → embed-Q7ZCVSCO.js} +6 -6
  79. package/dist/bundle/{embedder-56NMRLC5.js → embedder-MVS3PVWQ.js} +9 -9
  80. package/dist/bundle/{entry-U5GV6Y46.js → entry-XN3ZZAOK.js} +9 -8
  81. package/dist/bundle/{failure-BX5HJAQE.js → failure-7Y34AUJT.js} +2 -2
  82. package/dist/bundle/{first-run-ISQ52V3I.js → first-run-G4EFTONI.js} +11 -11
  83. package/dist/bundle/first-screen-RIDJEPC3.js +32 -0
  84. package/dist/bundle/{instructions-CJEXDI7E.js → instructions-QDHYYZBU.js} +1 -1
  85. package/dist/bundle/{mcp-7KQUJNFN.js → mcp-TDKGDB4V.js} +2 -2
  86. package/dist/bundle/{node-QLWTGZW7.js → node-3Y7OVY2U.js} +2 -2
  87. package/dist/bundle/{node-sqlite-X2C3RR2Q.js → node-sqlite-R2SBROJM.js} +7 -7
  88. package/dist/bundle/{oauth-VP3KMHLX.js → oauth-WSPWMWTV.js} +7 -7
  89. package/dist/bundle/{open-GLR5EUZS.js → open-VFLF4HRQ.js} +5 -5
  90. package/dist/bundle/{openai-6CDCJ5LQ.js → openai-DFCKZZDV.js} +23 -18
  91. package/dist/bundle/{process-7FABZ3T2.js → process-VZKFAGNP.js} +1 -1
  92. package/dist/bundle/{program-KUIAHJDX.js → program-2LB3CUZX.js} +86 -67
  93. package/dist/bundle/{prompt-XPHIZMD2.js → prompt-RVLA2PEY.js} +5 -5
  94. package/dist/bundle/{proxy-transport-IIB7ZXIS.js → proxy-transport-DP7SIMIC.js} +5 -5
  95. package/dist/bundle/{recognize-FVFYI3XX.js → recognize-LEKNA3G5.js} +4 -4
  96. package/dist/bundle/{remote-3AMCG2P4.js → remote-WG5V2I2G.js} +9 -7
  97. package/dist/bundle/{rerank-XV4E25ML.js → rerank-ONAEQVJ6.js} +7 -7
  98. package/dist/bundle/{serve-NVSZA4UN.js → serve-BL2X6FZG.js} +14 -14
  99. package/dist/bundle/{server-MBMPHRJE.js → server-3LSC4BMK.js} +36 -35
  100. package/dist/bundle/server-7EYEEGJT.js +62 -0
  101. package/dist/bundle/sqlite-runtime-RQXPRH6C.js +19 -0
  102. package/dist/bundle/{state-JBMB2QUR.js → state-O7LRA526.js} +6 -6
  103. package/dist/bundle/store-7C4UAND2.js +276 -0
  104. package/dist/bundle/{store-T4SCYTY2.js → store-HMJUPK45.js} +15 -13
  105. package/dist/bundle/store-maintenance-command-I7PSA3SZ.js +52 -0
  106. package/dist/bundle/tg.js +13 -13
  107. package/dist/commands/account-removal.d.ts.map +1 -1
  108. package/dist/commands/account-removal.js +5 -3
  109. package/dist/commands/account-removal.js.map +1 -1
  110. package/dist/commands/session.d.ts.map +1 -1
  111. package/dist/commands/session.js +21 -3
  112. package/dist/commands/session.js.map +1 -1
  113. package/dist/paths.d.ts +6 -0
  114. package/dist/paths.d.ts.map +1 -1
  115. package/dist/paths.js +23 -2
  116. package/dist/paths.js.map +1 -1
  117. package/dist/program.d.ts +4 -1
  118. package/dist/program.d.ts.map +1 -1
  119. package/dist/program.js +5 -2
  120. package/dist/program.js.map +1 -1
  121. package/dist/version.d.ts +1 -1
  122. package/dist/version.js +1 -1
  123. package/package.json +4 -4
  124. package/skills/tg-cli/SKILL.md +6 -2
  125. package/dist/bundle/chunk-I7K4OR5Q.js +0 -265
  126. package/dist/bundle/chunk-PZJXQMSZ.js +0 -27
  127. package/dist/bundle/command-contract-HWSWHMO4.js +0 -33
  128. package/dist/bundle/first-screen-7L4AMZDO.js +0 -31
  129. package/dist/bundle/server-MHVGYRQZ.js +0 -61
  130. package/dist/bundle/store-maintenance-command-F7WQMTMP.js +0 -49
  131. /package/dist/bundle/{chunk-YVNHQFLC.js → chunk-XWBPP2HX.js} +0 -0
@@ -7,10 +7,10 @@ import {
7
7
  agentJson,
8
8
  commandAvailability,
9
9
  failureContext
10
- } from "./chunk-QLXKWAET.js";
10
+ } from "./chunk-UG66U2T7.js";
11
11
  import {
12
12
  callerOf
13
- } from "./chunk-3JISIGLP.js";
13
+ } from "./chunk-MK4IKICN.js";
14
14
  import {
15
15
  QUERY_ARGUMENT,
16
16
  lentConnection,
@@ -18,10 +18,10 @@ import {
18
18
  refuseLacking,
19
19
  servicesFor,
20
20
  storeModeDeps
21
- } from "./chunk-T5OO7VDT.js";
21
+ } from "./chunk-TAFH5K5D.js";
22
22
  import {
23
23
  MAX_BUFFERED_INPUT
24
- } from "./chunk-V4JEZFW5.js";
24
+ } from "./chunk-SGHF75RQ.js";
25
25
  import {
26
26
  DEFAULT_OUTPUT_BYTES,
27
27
  ENTITIES,
@@ -41,27 +41,27 @@ import {
41
41
  refuseStoreChange,
42
42
  sealed,
43
43
  startRecording
44
- } from "./chunk-6KT5BTWL.js";
44
+ } from "./chunk-FHPEUAHQ.js";
45
45
  import {
46
46
  currentCaller,
47
47
  keepsSuccess,
48
48
  runContextOf,
49
49
  withCaller
50
- } from "./chunk-VVRWH5VH.js";
50
+ } from "./chunk-4TCBRKWQ.js";
51
51
  import {
52
52
  enclosingTraceId,
53
53
  inRun,
54
54
  newRunId,
55
55
  queryDescription,
56
56
  traceOf
57
- } from "./chunk-DEMGDKCX.js";
57
+ } from "./chunk-6Y6SSZ34.js";
58
58
  import {
59
59
  storeDamaged
60
- } from "./chunk-Z5HHBTS5.js";
60
+ } from "./chunk-77Z3OGAT.js";
61
61
  import {
62
62
  captureStreams,
63
63
  traceIdOf
64
- } from "./chunk-3S6KZCZ7.js";
64
+ } from "./chunk-NM5GBJME.js";
65
65
  import {
66
66
  COMPACT_FLAG,
67
67
  SNAKE_CASE,
@@ -100,25 +100,25 @@ import {
100
100
  unknown,
101
101
  word,
102
102
  writes
103
- } from "./chunk-SMFUKHG2.js";
103
+ } from "./chunk-XS5C5TQ7.js";
104
104
  import {
105
105
  CliError,
106
106
  errorCodes
107
- } from "./chunk-VUBZFMGP.js";
107
+ } from "./chunk-7KCBPAQS.js";
108
108
  import {
109
109
  __name
110
110
  } from "./chunk-ZVVMGPBJ.js";
111
111
 
112
- // node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/mcp/agent.js
112
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/mcp/agent.js
113
113
  import { Readable } from "node:stream";
114
114
 
115
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
115
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
116
116
  var LINT_SEVERITIES = ["high", "medium", "low"];
117
117
  var lintRuleSchema = strictObject({
118
118
  id: word,
119
119
  severity: picklist(LINT_SEVERITIES),
120
120
  /** What the rule looks at; a violation's target names one of these. */
121
- scope: picklist(["command", "group", "argument", "option", "flag", "key", "source"]),
121
+ scope: picklist(["command", "group", "argument", "option", "flag", "key", "source", "type"]),
122
122
  summary: text
123
123
  });
124
124
  var defineLintRules = /* @__PURE__ */ __name((input) => parseRegistry("lint rules", array(lintRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineLintRules");
@@ -156,7 +156,7 @@ var LINT_RULES = defineLintRules([
156
156
  },
157
157
  {
158
158
  id: "command-example-count",
159
- severity: "medium",
159
+ severity: "low",
160
160
  scope: "command",
161
161
  summary: "a leaf command has one to three examples; generated commands are exempt"
162
162
  },
@@ -239,6 +239,12 @@ var LINT_RULES = defineLintRules([
239
239
  severity: "medium",
240
240
  scope: "source",
241
241
  summary: "every `http(s)://` host in the CLI's own source is in the manifest's `network.hosts`"
242
+ },
243
+ {
244
+ id: "result-shape",
245
+ severity: "medium",
246
+ scope: "type",
247
+ summary: "a list or search in the published TypeScript API returns `{ items, hasMore, nextOffset?, total? }`: no bare array, no `hits` or `has_more`"
242
248
  }
243
249
  ]);
244
250
  var baselineSchema = array(text);
@@ -252,7 +258,7 @@ var overrideSchema = strictObject({
252
258
  });
253
259
  var overridesSchema = array(overrideSchema);
254
260
 
255
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
261
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
256
262
  var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
257
263
  var defineAuditRules = /* @__PURE__ */ __name((input) => parseRegistry("audit rules", array(auditRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineAuditRules");
258
264
  var AUDIT_RULES = defineAuditRules([
@@ -297,14 +303,19 @@ var parityGroupSchema = strictObject({
297
303
  /** Permanent differences, each with its reason; they count against the override budget of the group. */
298
304
  differences: array(strictObject({
299
305
  rule: word,
300
- /** `<clis> <path> <flag>`; with `absent` or `only`, only `<path> <flag>`: the CLI list is whoever else was compared. */
306
+ /**
307
+ * `<clis> <path> <flag>`; with `absent` or `only`, only `<path> <flag>`: the CLI list is whoever else was compared.
308
+ * same-entity-schema and same-error-reason name no CLI list either: `entity hit`, `reason profile.unknown: code`.
309
+ */
301
310
  target: text,
302
311
  expected: optional(text),
303
312
  /** The CLI that lacks the path or flag by design; the rest must agree, so other CLIs joining do not stale it. */
304
313
  absent: optional(word),
305
314
  /** The one CLI that has the path or flag by design; every other CLI compared must lack it. */
306
315
  only: optional(word),
307
- reason: pipe(text, minLength(10, "say why, in a sentence"))
316
+ reason: pipe(text, minLength(10, "say why, in a sentence")),
317
+ /** Warns from 14 days before and fails 14 days after, as a lint override does. */
318
+ review_after: optional(pipe(string(), isoDate("a date, YYYY-MM-DD")))
308
319
  }))
309
320
  });
310
321
  var defineParityGroups = /* @__PURE__ */ __name((input) => parseRegistry("parity groups", array(parityGroupSchema), input, (groups) => [
@@ -333,8 +344,26 @@ var MEMO_DOCTOR_DEEP = {
333
344
  only: "memo",
334
345
  reason: "memo's doctor --deep also checks its own store (cli-memo #672); cli-core's shared doctor leaves --deep to each CLI, and no other CLI has one"
335
346
  };
347
+ var review = /* @__PURE__ */ __name((rule, target, reason) => ({ rule, target, reason, review_after: "2026-11-27" }), "review");
348
+ var ENTITY = "same-entity-schema";
349
+ var REASON = "same-error-reason";
350
+ var MESSENGERS_SINCE_0_98 = [
351
+ review(ENTITY, "entity contact_context", "max, tg and wa print it in different schemas (measured 2026-11-13)"),
352
+ review(ENTITY, "entity contact_preparation", "max, tg and wa print it in different schemas (measured 2026-11-13)"),
353
+ review(ENTITY, "entity linked_person", "max, tg and wa print it in different schemas (measured 2026-11-13)")
354
+ ];
355
+ var FAMILY_SINCE_0_98 = [
356
+ review(ENTITY, "entity api_method", "b24's schema differs from drive and gcal's (measured 2026-11-13)"),
357
+ review(ENTITY, "entity scheduled_job", "three schemas: b24, mail, memo / gcal / max, tg (measured 2026-11-13)"),
358
+ review(ENTITY, "entity hit", "three schemas: b24, memo, zm / gcal / max, tg, wa (measured 2026-11-13)"),
359
+ review(ENTITY, "entity deal", "b24's CRM deal and memo's differ (measured 2026-11-13)"),
360
+ review(ENTITY, "entity lead", "b24's CRM lead and memo's differ (measured 2026-11-13)"),
361
+ review(ENTITY, "entity product", "b24's CRM product and memo's differ (measured 2026-11-13)"),
362
+ review(REASON, "reason ai.address-refused=model.address-refused", "one failure under two names; cli-core 0.650.0 keeps one"),
363
+ review(REASON, "reason profile.unknown: code", "b24 gives it not_found, drive validation_error (measured 2026-11-13)")
364
+ ];
336
365
  var PARITY_GROUPS = defineParityGroups([
337
- { name: "messengers", members: ["tg", "max"], covers: "tree", differences: [] },
366
+ { name: "messengers", members: ["tg", "max"], covers: "tree", differences: MESSENGERS_SINCE_0_98 },
338
367
  {
339
368
  name: "all",
340
369
  members: ["tg", "max", "memo", "drive", "zm", "wa"],
@@ -356,7 +385,7 @@ var PARITY_GROUPS = defineParityGroups([
356
385
  name: "gcal-shared",
357
386
  members: ["tg", "max", "memo", "drive", "zm", "wa", "gcal"],
358
387
  covers: ["commands", "upgrade", "notes", "meetings"],
359
- differences: []
388
+ differences: FAMILY_SINCE_0_98
360
389
  },
361
390
  // bitrix24-cli's search is cli-core's CRM `search all`, and beeline-cli's meetings take call recordings, not
362
391
  // zoom-cli's: both are compared on the root commands every CLI shares, the way gcal and mail are on theirs.
@@ -378,7 +407,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
378
407
  { path: ["upgrade"], meaning: "updates the CLI" }
379
408
  ]);
380
409
 
381
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
410
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
382
411
  var fieldRuleSchema = strictObject({ id: word, rule: text });
383
412
  var defineFieldRules = /* @__PURE__ */ __name((input) => parseRegistry("output field rules", array(fieldRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineFieldRules");
384
413
  var FIELD_RULES = defineFieldRules([
@@ -394,7 +423,7 @@ var FIELD_RULES = defineFieldRules([
394
423
  }
395
424
  ]);
396
425
 
397
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
426
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
398
427
  var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
399
428
  var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
400
429
  var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
@@ -416,7 +445,44 @@ var IDENTIFIERS = defineIdentifiers([
416
445
  { key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
417
446
  ]);
418
447
 
419
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
448
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-account.js
449
+ var ACCOUNT_FLAGS = [
450
+ {
451
+ name: "--client-id",
452
+ value: "<id>",
453
+ role: "mode",
454
+ type: "id",
455
+ meaning: "sign in through the owner's own OAuth app with this client ID instead of WireCat's (WC-SECR-25)"
456
+ },
457
+ {
458
+ name: "--client-file",
459
+ value: "<file>",
460
+ role: "mode",
461
+ type: "path",
462
+ meaning: "sign in through the owner's own OAuth app read from this client JSON instead of WireCat's (WC-SECR-25)"
463
+ },
464
+ {
465
+ name: "--keep-data",
466
+ role: "mode",
467
+ type: "switch",
468
+ meaning: "remove the account but leave what the store holds of it, still searchable"
469
+ },
470
+ {
471
+ name: "--delete-data",
472
+ role: "mode",
473
+ type: "switch",
474
+ meaning: "remove the account and delete what the store and the tool's files hold of it"
475
+ },
476
+ {
477
+ name: "--answer-stdin",
478
+ role: "mode",
479
+ type: "switch",
480
+ meaning: "a sign-in step asks its question as a JSON line and reads the answer from stdin"
481
+ },
482
+ { name: "--hide-phone", role: "output", type: "switch", meaning: "leave the phone number out of the answer" }
483
+ ];
484
+
485
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
420
486
  var CALENDAR_FLAGS = [
421
487
  { name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
422
488
  {
@@ -490,7 +556,7 @@ var CALENDAR_FLAGS = [
490
556
  }
491
557
  ];
492
558
 
493
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
559
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
494
560
  var CRM_FLAGS = [
495
561
  {
496
562
  name: "--pipeline",
@@ -640,7 +706,7 @@ var CRM_FLAGS = [
640
706
  }
641
707
  ];
642
708
 
643
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
709
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
644
710
  var HOW_FLAGS = [
645
711
  {
646
712
  name: "--limit",
@@ -867,7 +933,6 @@ var HOW_FLAGS = [
867
933
  meaning: "expose meeting preparation tools, including their remote schedule reads"
868
934
  },
869
935
  { name: "--dry-run", role: "mode", type: "switch", meaning: "judge and plan; do nothing", replaces: ["--estimate"] },
870
- { name: "--accept-terms", role: "mode", type: "switch", meaning: "accept the model's licence terms" },
871
936
  {
872
937
  name: "--as-owner",
873
938
  role: "mode",
@@ -1638,8 +1703,14 @@ var HOW_FLAGS = [
1638
1703
  }
1639
1704
  ];
1640
1705
 
1641
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-knowledge.js
1706
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-knowledge.js
1642
1707
  var KNOWLEDGE_FLAGS = [
1708
+ {
1709
+ name: "--accept-terms",
1710
+ role: "mode",
1711
+ type: "switch",
1712
+ meaning: "no longer needed; kept so older scripts still run"
1713
+ },
1643
1714
  {
1644
1715
  name: "--quote",
1645
1716
  value: "<ref=words...>",
@@ -1670,7 +1741,7 @@ var KNOWLEDGE_FLAGS = [
1670
1741
  }
1671
1742
  ];
1672
1743
 
1673
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
1744
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
1674
1745
  var MAIL_FLAGS = [
1675
1746
  {
1676
1747
  name: "--cc",
@@ -1700,7 +1771,7 @@ var MAIL_FLAGS = [
1700
1771
  }
1701
1772
  ];
1702
1773
 
1703
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
1774
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
1704
1775
  var PRIVACY_FLAGS = [
1705
1776
  {
1706
1777
  name: "--about-text",
@@ -1761,7 +1832,7 @@ var PRIVACY_FLAGS = [
1761
1832
  { name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
1762
1833
  ];
1763
1834
 
1764
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-schedule.js
1835
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-schedule.js
1765
1836
  var SCHEDULE_FLAGS = [
1766
1837
  {
1767
1838
  name: "--locale",
@@ -1794,7 +1865,7 @@ var SCHEDULE_FLAGS = [
1794
1865
  }
1795
1866
  ];
1796
1867
 
1797
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
1868
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
1798
1869
  var WHAT_FLAGS = [
1799
1870
  {
1800
1871
  name: "--analysis-provider",
@@ -2110,6 +2181,13 @@ var WHAT_FLAGS = [
2110
2181
  type: "list",
2111
2182
  meaning: "the agents to install for, comma-separated"
2112
2183
  },
2184
+ {
2185
+ name: "--from",
2186
+ value: "<person>",
2187
+ role: "target",
2188
+ type: "id",
2189
+ meaning: "a person: the one identities leave, or the one who sent it; a search takes it repeated for any of several"
2190
+ },
2113
2191
  {
2114
2192
  name: "--from-dir",
2115
2193
  value: "<dir>",
@@ -2784,7 +2862,7 @@ var WHAT_FLAGS = [
2784
2862
  }
2785
2863
  ];
2786
2864
 
2787
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
2865
+ // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
2788
2866
  var FLAG_TYPES = [
2789
2867
  "switch",
2790
2868
  "count",
@@ -2938,6 +3016,7 @@ var verbs = [
2938
3016
  "look at a source before taking anything from it: a chat link without joining, a mailbox without importing"
2939
3017
  ],
2940
3018
  ["send", "send a message"],
3019
+ ["call", "call one provider API method by its own name, generated from the provider's method list"],
2941
3020
  ["edit", "change a sent message"],
2942
3021
  ["forward", "send an existing message on to another chat"],
2943
3022
  ["pin", "pin a message or chat"],
@@ -3144,6 +3223,7 @@ var views = [
3144
3223
  ["categories", "the categories a thing takes, with what each means"],
3145
3224
  ["domains", "the internet domains links point to, most linked first"],
3146
3225
  ["places", "the street addresses confirmed as places, most mentioned first"],
3226
+ ["mentions", "the people and organizations named in a selected thing's text"],
3147
3227
  ["comments", "replies attached to a selected source item"],
3148
3228
  ["links", "links held for a selected thing"],
3149
3229
  ["voters", "people whose recorded votes are visible for a selected poll"],
@@ -3192,6 +3272,7 @@ var VOCABULARY = defineVocabulary({
3192
3272
  ...HOW_FLAGS,
3193
3273
  ...WHAT_FLAGS,
3194
3274
  ...PRIVACY_FLAGS,
3275
+ ...ACCOUNT_FLAGS,
3195
3276
  ...CALENDAR_FLAGS,
3196
3277
  ...MAIL_FLAGS,
3197
3278
  ...KNOWLEDGE_FLAGS,
@@ -3200,7 +3281,7 @@ var VOCABULARY = defineVocabulary({
3200
3281
  ]
3201
3282
  });
3202
3283
 
3203
- // node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3284
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3204
3285
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
3205
3286
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
3206
3287
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -3310,6 +3391,9 @@ var fieldsOf = /* @__PURE__ */ __name((info, { omit = [], offline = false, stdin
3310
3391
  }, "fieldsOf");
3311
3392
  var schemaOf = /* @__PURE__ */ __name((fields) => object(Object.fromEntries(fields.map((field) => [field.name, field.required ? field.schema : optional(field.schema)]))), "schemaOf");
3312
3393
  var startsWith = /* @__PURE__ */ __name((path, prefix) => prefix.every((word2, at) => path[at] === word2), "startsWith");
3394
+ var keywordsOf = /* @__PURE__ */ __name((examples) => [
3395
+ ...new Set(examples.flatMap((example) => example.split(/\s+/u).filter((word2) => word2 !== "" && !word2.startsWith("-"))))
3396
+ ], "keywordsOf");
3313
3397
  var toolsFromCommands = /* @__PURE__ */ __name((commands, options = {}) => {
3314
3398
  const { root = [], exclude = [], levels, keyOf, authority, readOnly = false, permissions } = options;
3315
3399
  return flatten(commands).filter((info) => (
@@ -3321,6 +3405,7 @@ var toolsFromCommands = /* @__PURE__ */ __name((commands, options = {}) => {
3321
3405
  path: info.path,
3322
3406
  title: info.summary ?? info.description,
3323
3407
  description: info.description,
3408
+ ...info.examples?.length ? { keywords: keywordsOf(info.examples) } : {},
3324
3409
  writes: writes(info.effects) && options.fetchOnly?.(info.path) !== true,
3325
3410
  input: schemaOf(fieldsOf(info, options)),
3326
3411
  ...info.output ? { output: info.output } : {}
@@ -3423,7 +3508,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
3423
3508
  }
3424
3509
  }, "runCommandForAgent");
3425
3510
 
3426
- // node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3511
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3427
3512
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
3428
3513
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
3429
3514
  var message = pipe(
@@ -3682,7 +3767,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
3682
3767
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
3683
3768
  }, "failed");
3684
3769
 
3685
- // node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3770
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3686
3771
  import { randomUUID } from "node:crypto";
3687
3772
  var MATCHES = 8;
3688
3773
  var ANSWER = answerSchema();
@@ -3704,15 +3789,43 @@ var listedAs = /* @__PURE__ */ __name((prefix, writes2) => {
3704
3789
  return { "~standard": { ...checked["~standard"], jsonSchema: shown } };
3705
3790
  }, "listedAs");
3706
3791
  var normal = /* @__PURE__ */ __name((command) => command.trim().toLowerCase().split(/[\s_-]+/).join(" "), "normal");
3707
- var haystack = /* @__PURE__ */ __name((command, one) => [command, one.title, one.description, ...Object.keys(one.input.entries)].join(" ").toLowerCase(), "haystack");
3792
+ var STOP_WORDS = new Set("a an the to of in on at by for from with into out about and or but is are be been was were it its this that these those which who whom whose what when where how do does did can could should would will my our your their his her them they we you i one some any all each every another other".split(" "));
3793
+ var wordsOf = /* @__PURE__ */ __name((text3) => text3.toLowerCase().split(/[^\p{L}\p{N}]+/u).filter(Boolean), "wordsOf");
3794
+ var stem = /* @__PURE__ */ __name((word2) => {
3795
+ const bare = word2.replace(/'s$/u, "");
3796
+ if (bare.length > 4 && bare.endsWith("ies"))
3797
+ return `${bare.slice(0, -3)}y`;
3798
+ for (const ending of ["ing", "ed", "es", "s"])
3799
+ if (bare.length - ending.length >= 3 && bare.endsWith(ending))
3800
+ return bare.slice(0, -ending.length);
3801
+ return bare;
3802
+ }, "stem");
3803
+ var sameWord = /* @__PURE__ */ __name((asked, known) => {
3804
+ if (asked === known)
3805
+ return true;
3806
+ const [short, long] = asked.length <= known.length ? [asked, known] : [known, asked];
3807
+ return short.length >= 3 && long.startsWith(short);
3808
+ }, "sameWord");
3809
+ var fieldsOf2 = /* @__PURE__ */ __name((command, one) => [
3810
+ [4, [...wordsOf(command), ...(one.aliases ?? []).flatMap(wordsOf)]],
3811
+ [2, wordsOf(one.title)],
3812
+ [1, [...wordsOf(one.description), ...(one.keywords ?? []).flatMap(wordsOf), ...Object.keys(one.input.entries)]]
3813
+ ].map(([weight, words]) => [weight, [...new Set(words.map(stem))]]), "fieldsOf");
3708
3814
  var search = /* @__PURE__ */ __name((commands, query) => {
3709
- const words = query.toLowerCase().split(/\s+/).filter(Boolean);
3710
- return Object.entries(commands).filter(([command, one]) => words.every((word2) => haystack(command, one).includes(word2))).map((entry) => {
3711
- const parts = entry[0].split(/[\s-]/);
3712
- const exact = entry[0] === words.join(" ") ? 100 : 0;
3713
- const whole = words.filter((word2) => parts.includes(word2)).length * 10;
3714
- return { entry, rank: exact + whole + words.filter((word2) => entry[0].includes(word2)).length };
3715
- }).sort((a, b) => b.rank - a.rank || a.entry[0].localeCompare(b.entry[0])).map(({ entry }) => entry);
3815
+ const named = normal(query);
3816
+ const all = Object.entries(commands);
3817
+ if (!named)
3818
+ return all.map((entry) => entry).sort((a, b) => a[0].localeCompare(b[0]));
3819
+ const words = [
3820
+ ...new Set(wordsOf(query).filter((word2) => word2.length > 1 && !STOP_WORDS.has(word2)).map(stem))
3821
+ ];
3822
+ return all.map((entry) => {
3823
+ const fields = fieldsOf2(entry[0], entry[1]);
3824
+ const weights = words.map((word2) => fields.reduce((best, [weight, known]) => known.some((one) => sameWord(word2, one)) ? Math.max(best, weight) : best, 0));
3825
+ const matched = weights.filter((weight) => weight > 0).length;
3826
+ const exact = normal(entry[0]) === named || (entry[1].aliases ?? []).some((alias) => normal(alias) === named);
3827
+ return { entry, matched, rank: (exact ? 1e3 : 0) + matched * 10 + weights.reduce((a, b) => a + b, 0) };
3828
+ }).filter(({ matched, rank }) => matched > 0 || rank >= 1e3).sort((a, b) => b.rank - a.rank || a.entry[0].localeCompare(b.entry[0])).map(({ entry }) => entry);
3716
3829
  }, "search");
3717
3830
  var nearest = /* @__PURE__ */ __name((commands, asked) => {
3718
3831
  const words = normal(asked).split(" ");
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  wirecatDirectory
5
- } from "./chunk-KKMNMQMW.js";
5
+ } from "./chunk-NTHALPDT.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-VUBZFMGP.js";
8
+ } from "./chunk-7KCBPAQS.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/speech/models.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/speech/models.js
14
14
  var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
15
15
  var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
16
16
  var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
@@ -137,7 +137,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
137
137
  return model;
138
138
  }, "speechModel");
139
139
 
140
- // node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/speech/install.js
140
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._f55ccfac747d9da64edfb69ea8dcc45a/node_modules/@wirecat/cli-core/dist/speech/install.js
141
141
  import { createHash, randomUUID } from "node:crypto";
142
142
  import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
143
143
  import { rename, rm } from "node:fs/promises";