@wirecat/tg-cli 0.115.0 → 0.116.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 (118) hide show
  1. package/dist/bin/tg.js +2 -2
  2. package/dist/bot/transport.d.ts +10 -8
  3. package/dist/bot/transport.d.ts.map +1 -1
  4. package/dist/bot/transport.js +16 -2
  5. package/dist/bot/transport.js.map +1 -1
  6. package/dist/bundle/{adapter-ODK7R4LY.js → adapter-6CLMTQOV.js} +76 -50
  7. package/dist/bundle/{all-profiles-AQYM65BS.js → all-profiles-R2UZMH24.js} +10 -9
  8. package/dist/bundle/{anthropic-VBDSVNIM.js → anthropic-QKIPHV2Z.js} +6 -6
  9. package/dist/bundle/{app-server-YOIHLBNS.js → app-server-AZB2MFK6.js} +43 -42
  10. package/dist/bundle/{bot-api-TRYLGQKK.js → bot-api-2IM243J4.js} +50 -49
  11. package/dist/bundle/{bot-history-7DTJLBBJ.js → bot-history-G6CRVCL2.js} +18 -17
  12. package/dist/bundle/{bun-XIMM6EHD.js → bun-JDKPISPX.js} +2 -2
  13. package/dist/bundle/{bun-sqlite-6B3BL5IV.js → bun-sqlite-X5PY5IQT.js} +5 -5
  14. package/dist/bundle/{chunk-XY7IGVVS.js → chunk-42GK3XRS.js} +2 -2
  15. package/dist/bundle/{chunk-PEKTB3FQ.js → chunk-4D5AUWAY.js} +25 -14
  16. package/dist/bundle/{chunk-XIYRHIBK.js → chunk-4IQZRW4O.js} +13 -13
  17. package/dist/bundle/{chunk-DIABP7ZP.js → chunk-577MFPCP.js} +3 -3
  18. package/dist/bundle/{chunk-O7CBGHI7.js → chunk-5FCONCJO.js} +1 -1
  19. package/dist/bundle/{chunk-GX4DMI4H.js → chunk-5VFPUOJO.js} +15 -12
  20. package/dist/bundle/{chunk-5ROWSRK7.js → chunk-5ZIBAYIZ.js} +2 -2
  21. package/dist/bundle/{chunk-77M3IAVU.js → chunk-76CX2YPT.js} +27 -8
  22. package/dist/bundle/{chunk-MUZ4KYGY.js → chunk-B4UOCWM4.js} +2 -2
  23. package/dist/bundle/{chunk-Y3AQHPAJ.js → chunk-BGMV66FC.js} +1 -1
  24. package/dist/bundle/{chunk-WOQGUIXE.js → chunk-DP5LRU7K.js} +1 -1
  25. package/dist/bundle/{chunk-CCHHEMPM.js → chunk-EB2IULWB.js} +3 -2
  26. package/dist/bundle/{chunk-IUDIRZVU.js → chunk-FDI4GOIP.js} +890 -473
  27. package/dist/bundle/{chunk-AICS3TSF.js → chunk-GV7ZJ33M.js} +4 -4
  28. package/dist/bundle/{chunk-WMG4IGEB.js → chunk-H72UEHNG.js} +66 -33
  29. package/dist/bundle/{chunk-HZKWB6WS.js → chunk-HBUJNNZD.js} +28 -28
  30. package/dist/bundle/{chunk-GCFU6WBE.js → chunk-HK6SIIGG.js} +3 -3
  31. package/dist/bundle/{chunk-BIEBJLYO.js → chunk-HLNYJPAB.js} +2 -2
  32. package/dist/bundle/{chunk-PZAEI4NM.js → chunk-HUOXUI2M.js} +22 -22
  33. package/dist/bundle/{chunk-TQYMLXDS.js → chunk-I6JF43YP.js} +3 -3
  34. package/dist/bundle/{chunk-OSP335AJ.js → chunk-IR4S7POE.js} +8 -8
  35. package/dist/bundle/{chunk-KDOBY524.js → chunk-JFTCOV37.js} +74 -20
  36. package/dist/bundle/{chunk-POKTQZOM.js → chunk-JJMQA272.js} +12 -89
  37. package/dist/bundle/{chunk-GWDMKEDY.js → chunk-K2RYCCTP.js} +4 -4
  38. package/dist/bundle/{chunk-RHUNMU4Q.js → chunk-K62YATVD.js} +4 -4
  39. package/dist/bundle/{chunk-UBQ3LOF6.js → chunk-KA6EGOJY.js} +2 -2
  40. package/dist/bundle/{chunk-ILHTNOIV.js → chunk-KV4267S4.js} +1 -1
  41. package/dist/bundle/{chunk-M7B5IMH3.js → chunk-LFKEKSI5.js} +1032 -298
  42. package/dist/bundle/{chunk-BPPRR7TV.js → chunk-LSKGCJWD.js} +3403 -1275
  43. package/dist/bundle/{chunk-CNO3R4O4.js → chunk-LXH3SKY3.js} +8 -8
  44. package/dist/bundle/{chunk-JZXQZW2D.js → chunk-MQ7MCVZV.js} +2 -2
  45. package/dist/bundle/{chunk-2TC76TLJ.js → chunk-N42VUNTO.js} +2 -2
  46. package/dist/bundle/{chunk-KIZT2MI6.js → chunk-N6TIFJHW.js} +1 -1
  47. package/dist/bundle/{chunk-WDNNN3J4.js → chunk-NL3PAFAE.js} +6 -6
  48. package/dist/bundle/{chunk-AVWPMJ6E.js → chunk-NUYRMU56.js} +2 -2
  49. package/dist/bundle/{chunk-NTW5ZE47.js → chunk-OX6EWGSG.js} +39 -33
  50. package/dist/bundle/{chunk-WINKEV4F.js → chunk-PPLFOIYX.js} +4 -4
  51. package/dist/bundle/{chunk-OMP6ALBT.js → chunk-PPSUA3IZ.js} +3 -3
  52. package/dist/bundle/{chunk-UY7GJRGY.js → chunk-PXMHBTK3.js} +4 -4
  53. package/dist/bundle/{chunk-VVKEWWSO.js → chunk-QAKL3GXB.js} +1 -1
  54. package/dist/bundle/{chunk-QK6VLKG5.js → chunk-QGL2UGML.js} +301 -185
  55. package/dist/bundle/{chunk-OUX3QMYI.js → chunk-QHBVGKC3.js} +45 -26
  56. package/dist/bundle/{chunk-BEQPZA3S.js → chunk-R52RMHWF.js} +2 -2
  57. package/dist/bundle/chunk-RSDIPQXP.js +35 -0
  58. package/dist/bundle/{chunk-VQCWVZWG.js → chunk-RSNGMNU5.js} +6 -6
  59. package/dist/bundle/{chunk-TMATSEP5.js → chunk-SD5PUYKF.js} +12 -12
  60. package/dist/bundle/chunk-SKZ2E3WC.js +91 -0
  61. package/dist/bundle/{chunk-PEJHI7QO.js → chunk-T7CDLV33.js} +4 -4
  62. package/dist/bundle/{chunk-D4E345BC.js → chunk-TZVL4U7U.js} +2 -2
  63. package/dist/bundle/{chunk-YCUQKFGD.js → chunk-UCSFO5GW.js} +3 -3
  64. package/dist/bundle/{chunk-A4BQGSKI.js → chunk-VQPLHOVQ.js} +6 -6
  65. package/dist/bundle/{chunk-EW3XTUPB.js → chunk-XBIPSSKI.js} +4 -4
  66. package/dist/bundle/{chunk-LUIPXRKN.js → chunk-XQUTJITP.js} +46 -46
  67. package/dist/bundle/{chunk-L4CMCC3V.js → chunk-Y6VWGJ4Q.js} +1 -1
  68. package/dist/bundle/{chunk-RFRI2HFT.js → chunk-YLRTLZF6.js} +1 -1
  69. package/dist/bundle/{chunk-PQLBPYJR.js → chunk-YPF6OS37.js} +1 -1
  70. package/dist/bundle/{chunk-U67TSAAO.js → chunk-YYKJN6H5.js} +908 -555
  71. package/dist/bundle/{chunk-WMRFAK5B.js → chunk-ZDIAPICE.js} +4 -4
  72. package/dist/bundle/command-contract-DPXM4SZT.js +33 -0
  73. package/dist/bundle/{decode-2GATBZGH.js → decode-W6YPTGJA.js} +5 -5
  74. package/dist/bundle/{dispatch-MJMW7WDH.js → dispatch-H7EFNBEH.js} +8 -8
  75. package/dist/bundle/{echarts-GKEZEAL7.js → echarts-YAWDIC5D.js} +2 -2
  76. package/dist/bundle/{embed-TBQPLA4Y.js → embed-EN4UTLV5.js} +6 -6
  77. package/dist/bundle/{embedder-B5DTNCRO.js → embedder-HEKHRL7E.js} +9 -9
  78. package/dist/bundle/{entry-A6DEW2TD.js → entry-2KB6MTCG.js} +7 -7
  79. package/dist/bundle/{failure-TLF3SISS.js → failure-3DU3HLBQ.js} +2 -2
  80. package/dist/bundle/{first-run-3N5AABEY.js → first-run-LBG26WWO.js} +11 -11
  81. package/dist/bundle/first-screen-TGTSLUI6.js +31 -0
  82. package/dist/bundle/{instructions-P5E34PQR.js → instructions-HA62QNPR.js} +1 -1
  83. package/dist/bundle/{mcp-MNI62HHE.js → mcp-PPVOM4SE.js} +2 -2
  84. package/dist/bundle/{node-GKPRXS5Y.js → node-MZ2VWSQQ.js} +2 -2
  85. package/dist/bundle/{node-sqlite-GIDPALK3.js → node-sqlite-KNNS6DCM.js} +6 -6
  86. package/dist/bundle/{oauth-C57W4IMD.js → oauth-KWUABBSQ.js} +7 -7
  87. package/dist/bundle/{open-E6Q4WRPU.js → open-JXMCYCIV.js} +5 -5
  88. package/dist/bundle/{openai-5WMXY2KP.js → openai-HL3IR4VT.js} +14 -14
  89. package/dist/bundle/{process-U2P5Z6UF.js → process-K2FICLWY.js} +1 -1
  90. package/dist/bundle/{program-FEUDU6GF.js → program-IFOMT4JS.js} +58 -50
  91. package/dist/bundle/{prompt-4NGAZGHE.js → prompt-HVD3Q77P.js} +5 -5
  92. package/dist/bundle/{proxy-transport-MGCJ7JAW.js → proxy-transport-PA5SGMRY.js} +5 -5
  93. package/dist/bundle/{recognize-EUHRBA7V.js → recognize-HHLVETKI.js} +4 -4
  94. package/dist/bundle/{remote-3JHLB2FV.js → remote-HUAKXJCS.js} +7 -7
  95. package/dist/bundle/{rerank-ZZ45SZPC.js → rerank-NWFIV7OF.js} +7 -7
  96. package/dist/bundle/{serve-XOGX5FC5.js → serve-ANUKAJJN.js} +9 -9
  97. package/dist/bundle/{server-I6O72XP5.js → server-7Q7WAOHO.js} +35 -34
  98. package/dist/bundle/server-HCQS4YDQ.js +60 -0
  99. package/dist/bundle/{state-BIUYTGH6.js → state-Y2AJ5XTP.js} +6 -6
  100. package/dist/bundle/{store-FOJFYOMR.js → store-S3IG5KWL.js} +15 -12
  101. package/dist/bundle/store-maintenance-command-V2WC4G6J.js +50 -0
  102. package/dist/bundle/tg.js +13 -13
  103. package/dist/commands/session.d.ts.map +1 -1
  104. package/dist/commands/session.js +7 -0
  105. package/dist/commands/session.js.map +1 -1
  106. package/dist/telegram/login.d.ts +2 -0
  107. package/dist/telegram/login.d.ts.map +1 -1
  108. package/dist/telegram/login.js +31 -2
  109. package/dist/telegram/login.js.map +1 -1
  110. package/dist/version.d.ts +1 -1
  111. package/dist/version.js +1 -1
  112. package/package.json +3 -3
  113. package/dist/bundle/chunk-63YKD7YA.js +0 -18
  114. package/dist/bundle/command-contract-YF4KGFXC.js +0 -32
  115. package/dist/bundle/first-screen-HANARM67.js +0 -30
  116. package/dist/bundle/server-DRE5MJ76.js +0 -59
  117. package/dist/bundle/store-maintenance-command-YKV2C34N.js +0 -49
  118. /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-LU3WKZBA.js} +0 -0
@@ -7,10 +7,10 @@ import {
7
7
  agentJson,
8
8
  commandAvailability,
9
9
  failureContext
10
- } from "./chunk-KDOBY524.js";
10
+ } from "./chunk-JFTCOV37.js";
11
11
  import {
12
12
  callerOf
13
- } from "./chunk-XY7IGVVS.js";
13
+ } from "./chunk-42GK3XRS.js";
14
14
  import {
15
15
  QUERY_ARGUMENT,
16
16
  lentConnection,
@@ -18,7 +18,7 @@ import {
18
18
  refuseLacking,
19
19
  servicesFor,
20
20
  storeModeDeps
21
- } from "./chunk-IUDIRZVU.js";
21
+ } from "./chunk-FDI4GOIP.js";
22
22
  import {
23
23
  DEFAULT_OUTPUT_BYTES,
24
24
  ENTITIES,
@@ -42,23 +42,23 @@ import {
42
42
  sealed,
43
43
  startRecording,
44
44
  traceOf
45
- } from "./chunk-M7B5IMH3.js";
45
+ } from "./chunk-LFKEKSI5.js";
46
46
  import {
47
47
  currentCaller,
48
48
  keepsSuccess,
49
49
  runContextOf,
50
50
  withCaller
51
- } from "./chunk-POKTQZOM.js";
51
+ } from "./chunk-JJMQA272.js";
52
52
  import {
53
53
  queryDescription
54
- } from "./chunk-QK6VLKG5.js";
54
+ } from "./chunk-QGL2UGML.js";
55
55
  import {
56
56
  MAX_BUFFERED_INPUT
57
- } from "./chunk-AVWPMJ6E.js";
57
+ } from "./chunk-NUYRMU56.js";
58
58
  import {
59
59
  captureStreams,
60
60
  traceIdOf
61
- } from "./chunk-NTW5ZE47.js";
61
+ } from "./chunk-OX6EWGSG.js";
62
62
  import {
63
63
  COMPACT_FLAG,
64
64
  SNAKE_CASE,
@@ -97,19 +97,19 @@ import {
97
97
  unknown,
98
98
  word,
99
99
  writes
100
- } from "./chunk-77M3IAVU.js";
100
+ } from "./chunk-76CX2YPT.js";
101
101
  import {
102
102
  CliError,
103
103
  errorCodes
104
- } from "./chunk-CCHHEMPM.js";
104
+ } from "./chunk-EB2IULWB.js";
105
105
  import {
106
106
  __name
107
107
  } from "./chunk-ZVVMGPBJ.js";
108
108
 
109
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/mcp/agent.js
109
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/mcp/agent.js
110
110
  import { Readable } from "node:stream";
111
111
 
112
- // node_modules/.pnpm/@wirecat+cli-base@0.75.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
112
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_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
113
113
  var LINT_SEVERITIES = ["high", "medium", "low"];
114
114
  var lintRuleSchema = strictObject({
115
115
  id: word,
@@ -227,16 +227,17 @@ var LINT_RULES = defineLintRules([
227
227
  }
228
228
  ]);
229
229
  var baselineSchema = array(text);
230
- var overridesSchema = array(strictObject({
230
+ var overrideSchema = strictObject({
231
231
  rule: word,
232
232
  target: text,
233
233
  reason: pipe(text, minLength(10, "say why, in a sentence")),
234
234
  /** A GitHub handle or a team, `@octocat`. */
235
235
  owner: pipe(string(), regex(/^@[\w.-]+(\/[\w.-]+)?$/, "a GitHub handle or team, such as @octocat")),
236
236
  review_after: pipe(string(), isoDate("a date, YYYY-MM-DD"))
237
- }));
237
+ });
238
+ var overridesSchema = array(overrideSchema);
238
239
 
239
- // node_modules/.pnpm/@wirecat+cli-base@0.75.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
240
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_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
240
241
  var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
241
242
  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");
242
243
  var AUDIT_RULES = defineAuditRules([
@@ -345,7 +346,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
345
346
  { path: ["upgrade"], meaning: "updates the CLI" }
346
347
  ]);
347
348
 
348
- // node_modules/.pnpm/@wirecat+cli-base@0.75.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
349
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_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
349
350
  var fieldRuleSchema = strictObject({ id: word, rule: text });
350
351
  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");
351
352
  var FIELD_RULES = defineFieldRules([
@@ -361,7 +362,7 @@ var FIELD_RULES = defineFieldRules([
361
362
  }
362
363
  ]);
363
364
 
364
- // node_modules/.pnpm/@wirecat+cli-base@0.75.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
365
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_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
365
366
  var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
366
367
  var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
367
368
  var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
@@ -383,7 +384,7 @@ var IDENTIFIERS = defineIdentifiers([
383
384
  { key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
384
385
  ]);
385
386
 
386
- // node_modules/.pnpm/@wirecat+cli-base@0.75.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
387
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_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
387
388
  var CALENDAR_FLAGS = [
388
389
  { name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
389
390
  {
@@ -457,7 +458,7 @@ var CALENDAR_FLAGS = [
457
458
  }
458
459
  ];
459
460
 
460
- // node_modules/.pnpm/@wirecat+cli-base@0.75.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
461
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_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
461
462
  var HOW_FLAGS = [
462
463
  {
463
464
  name: "--limit",
@@ -1451,7 +1452,7 @@ var HOW_FLAGS = [
1451
1452
  }
1452
1453
  ];
1453
1454
 
1454
- // node_modules/.pnpm/@wirecat+cli-base@0.75.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
1455
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_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
1455
1456
  var MAIL_FLAGS = [
1456
1457
  {
1457
1458
  name: "--cc",
@@ -1472,10 +1473,16 @@ var MAIL_FLAGS = [
1472
1473
  role: "value",
1473
1474
  type: "switch",
1474
1475
  meaning: "with --reply-to, an e-mail reply also goes to everyone the message went to"
1476
+ },
1477
+ {
1478
+ name: "--trimmed",
1479
+ role: "output",
1480
+ type: "switch",
1481
+ meaning: "each e-mail's own text, without the quoted earlier mail and the signature; refused with --full"
1475
1482
  }
1476
1483
  ];
1477
1484
 
1478
- // node_modules/.pnpm/@wirecat+cli-base@0.75.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
1485
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_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
1479
1486
  var WHAT_FLAGS = [
1480
1487
  {
1481
1488
  name: "--analysis-provider",
@@ -2473,7 +2480,7 @@ var WHAT_FLAGS = [
2473
2480
  }
2474
2481
  ];
2475
2482
 
2476
- // node_modules/.pnpm/@wirecat+cli-base@0.75.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
2483
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_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
2477
2484
  var FLAG_TYPES = [
2478
2485
  "switch",
2479
2486
  "count",
@@ -2657,6 +2664,10 @@ var verbs = [
2657
2664
  ["move", "move a thing to another place in the source: a file to a folder, an event to a calendar"],
2658
2665
  ["copy", "copy a file in the source"],
2659
2666
  ["run", "run a saved job once, now, as its timer would"],
2667
+ ["exec", "what a timer itself starts: one saved schedule, from its file; a person uses run"],
2668
+ // schedule's creators are named for what the timer starts; the owner kept these names over `create --kind`.
2669
+ ["agent", "save a timer that starts an agent with a prompt, read-only; a verb under schedule, never a resource"],
2670
+ ["command", "save a timer that runs one of this tool's own commands; a verb under schedule"],
2660
2671
  ["claim", "take a thing for a while so no other agent works it at once; the claim lapses by itself"],
2661
2672
  ["release", "give back what claim took, before it lapses"],
2662
2673
  ["merge", "fold a duplicate into the thing that stays; nothing is deleted"],
@@ -2727,6 +2738,10 @@ var collections = [
2727
2738
  ["recordings", "the files a provider recorded of a meeting"],
2728
2739
  ["jobs", "work this tool runs in the background or on a timer"],
2729
2740
  ["actions", "what an agent proposes to do; the owner confirms or rejects each"],
2741
+ [
2742
+ "findings",
2743
+ "what an agent read in stored mail, staged in batches with citations; nothing is recorded until the owner confirms. What it proposes to do is actions"
2744
+ ],
2730
2745
  ["agents", "the agents whose actions are recorded in the shared store"],
2731
2746
  ["reminders", "scheduled notices about stored work, claimed and acknowledged with delivery receipts"],
2732
2747
  ["key-documents", "selected source documents that a project keeps as its starting references"],
@@ -2768,7 +2783,11 @@ var singulars = [
2768
2783
  ["api", "the source's own API, one command per operation"],
2769
2784
  ["privacy", "who may find, see, call or add the account"],
2770
2785
  ["metadata", "a profile's cached source attributes"],
2771
- ["auth", "the credentials a bot profile uses: its token and the secrets beside it"]
2786
+ ["auth", "the credentials a bot profile uses: its token and the secrets beside it"],
2787
+ [
2788
+ "schedule",
2789
+ "a profile's timers the owner saved, each running a command of this tool or an agent; the tool's own background work is jobs"
2790
+ ]
2772
2791
  ];
2773
2792
  var views = [
2774
2793
  ["tree", "the parent and child hierarchy of stored sources"],
@@ -2834,7 +2853,7 @@ var VOCABULARY = defineVocabulary({
2834
2853
  flags: [...HOW_FLAGS, ...WHAT_FLAGS, ...CALENDAR_FLAGS, ...MAIL_FLAGS]
2835
2854
  });
2836
2855
 
2837
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2856
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2838
2857
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
2839
2858
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
2840
2859
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -3057,7 +3076,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
3057
3076
  }
3058
3077
  }, "runCommandForAgent");
3059
3078
 
3060
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3079
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3061
3080
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
3062
3081
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
3063
3082
  var message = pipe(
@@ -3316,7 +3335,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
3316
3335
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
3317
3336
  }, "failed");
3318
3337
 
3319
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3338
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3320
3339
  import { randomUUID } from "node:crypto";
3321
3340
  var MATCHES = 8;
3322
3341
  var ANSWER = answerSchema();
@@ -2,11 +2,11 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  openCache
5
- } from "./chunk-VQCWVZWG.js";
5
+ } from "./chunk-RSNGMNU5.js";
6
6
  import {
7
7
  CliError,
8
8
  isCliError
9
- } from "./chunk-CCHHEMPM.js";
9
+ } from "./chunk-EB2IULWB.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
@@ -0,0 +1,35 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ resolvePaths
5
+ } from "./chunk-OX6EWGSG.js";
6
+ import {
7
+ __name
8
+ } from "./chunk-ZVVMGPBJ.js";
9
+
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/store/path.js
11
+ import { userInfo } from "node:os";
12
+ import { isAbsolute, join, relative, resolve } from "node:path";
13
+ var wirecatDirectory = /* @__PURE__ */ __name((env = process.env, platform) => resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env, ...platform ? { platform } : {} }).state, "wirecatDirectory");
14
+ var storePath = /* @__PURE__ */ __name((env = process.env) => env.MESSAGING_STORE ?? join(wirecatDirectory(env), "wirecat.db"), "storePath");
15
+ var accountHome = /* @__PURE__ */ __name(() => {
16
+ try {
17
+ return userInfo().homedir;
18
+ } catch {
19
+ return void 0;
20
+ }
21
+ }, "accountHome");
22
+ var refuseOwnerStoreInTests = /* @__PURE__ */ __name((file, env = process.env, home = accountHome()) => {
23
+ if (!env.VITEST || !home || file === ":memory:")
24
+ return;
25
+ const inside = relative(wirecatDirectory({ HOME: home, USERPROFILE: home }), resolve(file));
26
+ if (inside.startsWith("..") || isAbsolute(inside))
27
+ return;
28
+ throw new Error(`a test tried to open ${file}, in the owner's real WireCat folder; give it a MESSAGING_STORE or HOME of its own`);
29
+ }, "refuseOwnerStoreInTests");
30
+
31
+ export {
32
+ wirecatDirectory,
33
+ storePath,
34
+ refuseOwnerStoreInTests
35
+ };
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PRAGMAS
5
- } from "./chunk-L4CMCC3V.js";
5
+ } from "./chunk-Y6VWGJ4Q.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-CCHHEMPM.js";
8
+ } from "./chunk-EB2IULWB.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
14
14
  var SQLITE_WARNING = "SQLite is an experimental feature";
15
15
  var quieted = /* @__PURE__ */ new WeakSet();
16
16
  var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
@@ -31,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
31
31
  return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
32
32
  }, "isSqliteWarning");
33
33
 
34
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/store/open.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/store/open.js
35
35
  var openCache = /* @__PURE__ */ __name(async (path) => {
36
36
  const database = await openFile(path);
37
37
  try {
@@ -44,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
44
44
  }, "openCache");
45
45
  var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
46
46
  var openUnderBun = /* @__PURE__ */ __name(async (path) => {
47
- const { openWithBunSqlite } = await import("./bun-sqlite-6B3BL5IV.js");
47
+ const { openWithBunSqlite } = await import("./bun-sqlite-X5PY5IQT.js");
48
48
  return await openWithBunSqlite(path);
49
49
  }, "openUnderBun");
50
50
  var openUnderNode = /* @__PURE__ */ __name(async (path) => {
51
51
  quietSqliteWarning();
52
- const { openWithNodeSqlite } = await import("./node-sqlite-GIDPALK3.js");
52
+ const { openWithNodeSqlite } = await import("./node-sqlite-KNNS6DCM.js");
53
53
  return openWithNodeSqlite(path);
54
54
  }, "openUnderNode");
55
55
  var runtime = /* @__PURE__ */ __name(() => {
@@ -2,31 +2,31 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  updateCommand
5
- } from "./chunk-WINKEV4F.js";
5
+ } from "./chunk-PPLFOIYX.js";
6
6
  import {
7
7
  QUESTIONS,
8
8
  readSetupAnswers,
9
9
  unanswered,
10
10
  writeSetupAnswers
11
- } from "./chunk-OMP6ALBT.js";
11
+ } from "./chunk-PPSUA3IZ.js";
12
12
  import {
13
13
  DEFAULT_STEMMERS,
14
14
  LANGUAGES
15
- } from "./chunk-OSP335AJ.js";
15
+ } from "./chunk-IR4S7POE.js";
16
16
  import {
17
17
  sharedConfigPath
18
- } from "./chunk-A4BQGSKI.js";
18
+ } from "./chunk-VQPLHOVQ.js";
19
19
  import {
20
20
  storePath
21
- } from "./chunk-63YKD7YA.js";
21
+ } from "./chunk-RSDIPQXP.js";
22
22
  import {
23
23
  installerOf
24
- } from "./chunk-ILHTNOIV.js";
24
+ } from "./chunk-KV4267S4.js";
25
25
  import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/cli/first-run.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/cli/first-run.js
30
30
  import { spawnSync } from "node:child_process";
31
31
  import { accessSync, constants, realpathSync } from "node:fs";
32
32
  import { delimiter, join } from "node:path";
@@ -84,7 +84,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
84
84
  return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
85
85
  }, "suggested");
86
86
  var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
87
- const { openStore } = await import("./store-FOJFYOMR.js");
87
+ const { openStore } = await import("./store-S3IG5KWL.js");
88
88
  const store = await openStore({ env });
89
89
  let rebuild = false;
90
90
  try {
@@ -113,8 +113,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
113
113
  if (!rebuild)
114
114
  return;
115
115
  const [{ openCache }, { buildStems }] = await Promise.all([
116
- import("./open-E6Q4WRPU.js"),
117
- import("./store-maintenance-command-YKV2C34N.js")
116
+ import("./open-JXMCYCIV.js"),
117
+ import("./store-maintenance-command-V2WC4G6J.js")
118
118
  ]);
119
119
  const database = await openCache(storePath(env));
120
120
  try {
@@ -126,7 +126,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
126
126
  var askTools = /* @__PURE__ */ __name(async (run) => {
127
127
  const { command, env, io } = run;
128
128
  const installed = run.installed ?? ((name) => onPath(name, env));
129
- const { WIRECAT_TOOLS } = await import("./first-screen-HANARM67.js");
129
+ const { WIRECAT_TOOLS } = await import("./first-screen-TGTSLUI6.js");
130
130
  const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
131
131
  const missing = others.filter((tool) => !installed(tool.command));
132
132
  io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
@@ -199,7 +199,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
199
199
  contentLanguages: start.contentLanguages,
200
200
  all: start.path[0] === "setup",
201
201
  io: {
202
- ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-4NGAZGHE.js")).readSecret(prompt, { input, echo: true }), "ask"),
202
+ ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-HVD3Q77P.js")).readSecret(prompt, { input, echo: true }), "ask"),
203
203
  say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
204
204
  `), "say")
205
205
  }
@@ -0,0 +1,91 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ __name
5
+ } from "./chunk-ZVVMGPBJ.js";
6
+
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/runs/secrets.js
8
+ var SECRET_WORDS = /* @__PURE__ */ new Set([
9
+ "authorization",
10
+ "cookie",
11
+ "credential",
12
+ "credentials",
13
+ "passphrase",
14
+ "password",
15
+ "passwd",
16
+ "pwd",
17
+ "pass",
18
+ "passcode",
19
+ "pin",
20
+ "otp",
21
+ "2fa",
22
+ "secret",
23
+ "token",
24
+ "contrase\xF1a",
25
+ "contrasena",
26
+ "clave",
27
+ "\u043F\u0430\u0440\u043E\u043B\u044C",
28
+ "\u043F\u0438\u043D",
29
+ "\u043A\u043E\u0434",
30
+ ...["api", "auth", "service", "account", "db", "database", "priv", "private", "client"].map((word) => `${word}key`),
31
+ ...["db", "database", "key"].map((word) => `${word}pass`)
32
+ ]);
33
+ var secretNamed = /* @__PURE__ */ __name((name) => {
34
+ const words = name.replace(/([a-z0-9])([A-Z])/g, "$1 $2").split(/[\s_.-]+/).map((word) => word.toLowerCase());
35
+ return words.some((word, at) => SECRET_WORDS.has(word) || SECRET_WORDS.has(word + (words[at + 1] ?? "")));
36
+ }, "secretNamed");
37
+ var START = "(?<![A-Za-z0-9_-])";
38
+ var END = "(?![A-Za-z0-9_-])";
39
+ var KNOWN_TOKENS = new RegExp(`${[
40
+ "gh[pousr]_[A-Za-z0-9]{36,}",
41
+ "github_pat_[A-Za-z0-9_]{22,}",
42
+ "sk-[A-Za-z0-9_-]{20,}",
43
+ "xox[abprs]-[A-Za-z0-9-]{10,}",
44
+ "(?:AKIA|ASIA)[A-Z0-9]{16}",
45
+ "AIza[A-Za-z0-9_-]{35}",
46
+ "(?:sk|rk)_(?:live|test)_[A-Za-z0-9]{10,}",
47
+ "npm_[A-Za-z0-9]{36}",
48
+ "eyJ[A-Za-z0-9_-]{5,}\\.eyJ[A-Za-z0-9_-]{5,}\\.[A-Za-z0-9_-]*"
49
+ ].map((pattern) => `${START}${pattern}${END}`).join("|")}|(?<!\\d)\\d{8,10}:[A-Za-z0-9_-]{35}${END}`, "g");
50
+ var PRIVATE_KEY = /-----BEGIN[A-Z ]* PRIVATE KEY-----[\s\S]*?(?:-----END[A-Z ]* PRIVATE KEY-----|$)/g;
51
+ var SCHEME = /(?<![A-Za-z])(Bearer|Basic)(\s+)(?![A-Z]?[a-z]+(?![A-Za-z0-9]))[A-Za-z0-9._~+/=-]{8,}/g;
52
+ var NAMED_PAIR = /(?<![\p{L}\p{N}])([\p{L}\p{N}_.-]*(?:token|pass|pwd|pin|otp|2fa|secret|credential|cookie|authorization|key|contrase|clave|пароль|пин|код)[\p{L}\p{N}_.-]*)(["']?\s*(?:=>|[:=])\s*["']?|\s+(?![\p{L}]+(?![\p{L}\p{N}])))((?:Bearer\s+|Basic\s+)?)([^\s"'&,;]+)/giu;
53
+ var looksRandom = /* @__PURE__ */ __name((run) => {
54
+ if (run.length < 20)
55
+ return false;
56
+ const classes = [/[a-z]/, /[A-Z]/, /\d/, /[^A-Za-z0-9]/].filter((kind) => kind.test(run)).length;
57
+ if (classes < 3)
58
+ return false;
59
+ let switches = 0;
60
+ for (let at = 1; at < run.length; at++) {
61
+ const [before, after] = [run[at - 1], run[at]];
62
+ if (/[a-z]/.test(before) && /[A-Z]/.test(after) || /[A-Z]/.test(before) && /[a-z]/.test(after))
63
+ switches += 1;
64
+ }
65
+ if (switches / run.length < 0.15)
66
+ return false;
67
+ const pieces = run.match(/[A-Z]?[a-z]+|[A-Z]+(?![a-z])|\d+/g) ?? [];
68
+ if (pieces.join("").length / Math.max(pieces.length, 1) >= 2.75)
69
+ return false;
70
+ return entropy(run) >= 3.5;
71
+ }, "looksRandom");
72
+ var entropy = /* @__PURE__ */ __name((text) => {
73
+ const counts = /* @__PURE__ */ new Map();
74
+ for (const char of text)
75
+ counts.set(char, (counts.get(char) ?? 0) + 1);
76
+ let bits = 0;
77
+ for (const count of counts.values())
78
+ bits -= count / text.length * Math.log2(count / text.length);
79
+ return bits;
80
+ }, "entropy");
81
+ var withoutSecrets = /* @__PURE__ */ __name((text, mark = "[redacted]") => text.replace(PRIVATE_KEY, mark).replace(KNOWN_TOKENS, mark).replace(SCHEME, `$1$2${mark}`).replace(NAMED_PAIR, (whole, name, separator, scheme) => secretNamed(name) ? `${name}${separator}${scheme}${mark}` : whole).replace(/[!-~]{20,}/g, (token) => (
82
+ // A URL or a path is somebody's address, not a key; a credential in one is caught by the rules above.
83
+ token.includes("://") || /^(?:\/|~\/|\.\.?\/)/.test(token) ? token : token.replace(RUN, (run) => looksRandom(run) ? mark : run.replace(HEX, (hex) => entropy(hex) >= 3 ? mark : hex))
84
+ )), "withoutSecrets");
85
+ var RUN = /(?<![A-Za-z0-9_+/-])[A-Za-z0-9_+/-]{20,}/g;
86
+ var HEX = /(?<![A-Za-z0-9])(?=[0-9]*[a-f])[0-9a-f]{20,}(?![A-Za-z0-9])/g;
87
+
88
+ export {
89
+ secretNamed,
90
+ withoutSecrets
91
+ };
@@ -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-63YKD7YA.js";
5
+ } from "./chunk-RSDIPQXP.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-CCHHEMPM.js";
8
+ } from "./chunk-EB2IULWB.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/speech/models.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/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.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/speech/install.js
140
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/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";
@@ -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-CCHHEMPM.js";
5
+ } from "./chunk-EB2IULWB.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/ports/app.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/ports/app.js
11
11
  var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
12
12
  var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
13
13
  const name = envName(app, "READ_ONLY");
@@ -4,15 +4,15 @@ import {
4
4
  MAX_SECRET_INPUT,
5
5
  bufferedInput,
6
6
  inputPolicy
7
- } from "./chunk-AVWPMJ6E.js";
7
+ } from "./chunk-NUYRMU56.js";
8
8
  import {
9
9
  CliError
10
- } from "./chunk-CCHHEMPM.js";
10
+ } from "./chunk-EB2IULWB.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
16
16
  import { createInterface } from "node:readline";
17
17
  import { Writable } from "node:stream";
18
18
  var readSecret = /* @__PURE__ */ __name(async (prompt, { input = process.stdin, output = process.stderr, echo = false, signal: givenSignal } = {}) => {
@@ -2,23 +2,23 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  storePath
5
- } from "./chunk-63YKD7YA.js";
5
+ } from "./chunk-RSDIPQXP.js";
6
6
  import {
7
7
  resolvePaths
8
- } from "./chunk-NTW5ZE47.js";
8
+ } from "./chunk-OX6EWGSG.js";
9
9
  import {
10
10
  CliError,
11
11
  singleLine
12
- } from "./chunk-CCHHEMPM.js";
12
+ } from "./chunk-EB2IULWB.js";
13
13
  import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/store/shared-config.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/store/shared-config.js
18
18
  import { mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
19
19
  import { dirname, join, resolve } from "node:path";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
22
22
  var DEFAULT_TASK_CATEGORIES = [
23
23
  {
24
24
  name: "taxes",
@@ -773,7 +773,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
773
773
  }
774
774
  }, "storedTaskCategories");
775
775
 
776
- // node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/store/shared-config.js
776
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.77.1_commander@15._f1cdf35b93ce465cee2c32ebaca13ce7/node_modules/@wirecat/cli-core/dist/store/shared-config.js
777
777
  var SECTION = "task_categories";
778
778
  var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
779
779
  const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  singleLine
5
- } from "./chunk-CCHHEMPM.js";
5
+ } from "./chunk-EB2IULWB.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/names.js
10
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/names.js
11
11
  var FIRST_PARTY_TOOLS = [
12
12
  { name: "tg", package: "@wirecat/tg-cli" },
13
13
  { name: "max", package: "@wirecat/max-cli" },
@@ -30,7 +30,7 @@ var PROGRAM_PREFIX = "wcat-";
30
30
  var DESCRIBE_FLAG = "--wcat-describe";
31
31
  var DISPATCH_FLAG = "--wcat-dispatch";
32
32
 
33
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/describe.js
33
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/describe.js
34
34
  var DESCRIBE_FORMAT = 1;
35
35
  var describeAnswer = /* @__PURE__ */ __name((tool) => ({
36
36
  wcat_describe: DESCRIBE_FORMAT,
@@ -59,7 +59,7 @@ var parseDescribe = /* @__PURE__ */ __name((text) => {
59
59
  };
60
60
  }, "parseDescribe");
61
61
 
62
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/shim.js
62
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/shim.js
63
63
  import { lstatSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
64
64
  import { join } from "node:path";
65
65
  var SHIM_FORMAT = 1;