@wirecat/zoom-cli 0.64.0 → 0.65.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 (146) hide show
  1. package/dist/answer-entities.d.ts +13 -0
  2. package/dist/answer-entities.d.ts.map +1 -1
  3. package/dist/answer-entities.js +5 -0
  4. package/dist/answer-entities.js.map +1 -1
  5. package/dist/answers.d.ts +8 -0
  6. package/dist/answers.d.ts.map +1 -1
  7. package/dist/archive-import.d.ts +1 -1
  8. package/dist/archive-import.d.ts.map +1 -1
  9. package/dist/archive-import.js +2 -1
  10. package/dist/archive-import.js.map +1 -1
  11. package/dist/bin/zm.js +6 -2
  12. package/dist/bundle/{all-profiles-W2OVBZ7S.js → all-profiles-SKMLZJSY.js} +8 -8
  13. package/dist/bundle/answer-policy-BHDNSJWX.js +96 -0
  14. package/dist/bundle/{anthropic-P4BKQNBO.js → anthropic-TVHK7CY2.js} +4 -4
  15. package/dist/bundle/{app-server-AYUW45ND.js → app-server-44ASFH47.js} +53 -52
  16. package/dist/bundle/{bun-MNGPTYDQ.js → bun-O4WHGL2F.js} +2 -2
  17. package/dist/bundle/{bun-sqlite-PTPUSXAO.js → bun-sqlite-NS32GMM4.js} +3 -3
  18. package/dist/bundle/{chunk-CZKV4USJ.js → chunk-24F7JBLY.js} +59 -4
  19. package/dist/bundle/{chunk-A2FOW3ZC.js → chunk-25IDWPEN.js} +148 -97
  20. package/dist/bundle/{chunk-BMYZWBAX.js → chunk-266WOOB3.js} +4 -4
  21. package/dist/bundle/{chunk-23LOMA2I.js → chunk-2H5SXK7K.js} +45 -25
  22. package/dist/bundle/{chunk-24WCZURP.js → chunk-37PHGASE.js} +2 -2
  23. package/dist/bundle/{chunk-WFIJOFS5.js → chunk-3CZIWGZ6.js} +1 -1
  24. package/dist/bundle/{chunk-BO5YVG3X.js → chunk-5NGOP4EZ.js} +125 -35
  25. package/dist/bundle/{chunk-BWPKSUXW.js → chunk-6CS7ETBK.js} +4496 -386
  26. package/dist/bundle/{chunk-LEQCRVPD.js → chunk-7SQJCKR6.js} +1 -1
  27. package/dist/bundle/{chunk-RK3JBC4U.js → chunk-A6OA2EH2.js} +2 -2
  28. package/dist/bundle/{chunk-QK54GOGE.js → chunk-AMMD6YCJ.js} +7 -9
  29. package/dist/bundle/chunk-BLT3LR3U.js +34 -0
  30. package/dist/bundle/{chunk-X6M5DK66.js → chunk-BNXH73OU.js} +10 -10
  31. package/dist/bundle/{chunk-RJLNVHIU.js → chunk-BWRBALXG.js} +3 -3
  32. package/dist/bundle/{chunk-UFI5SX3F.js → chunk-C6BG57FA.js} +11 -11
  33. package/dist/bundle/{chunk-IIGXCYEL.js → chunk-CNEE6TPE.js} +13 -13
  34. package/dist/bundle/{chunk-TYKZCJD7.js → chunk-CVCRQW3A.js} +35 -35
  35. package/dist/bundle/{chunk-UCPL55YP.js → chunk-DNCKH7CO.js} +17 -17
  36. package/dist/bundle/{chunk-L4JGVSBN.js → chunk-DYJXAY7Q.js} +26 -25
  37. package/dist/bundle/{chunk-UABUBDYB.js → chunk-EA63UGWE.js} +2 -2
  38. package/dist/bundle/{chunk-UNO4G5NX.js → chunk-ERPRAYA7.js} +5 -5
  39. package/dist/bundle/{chunk-CZFV6XTW.js → chunk-FYJL276J.js} +3 -3
  40. package/dist/bundle/{chunk-YNYMWXXH.js → chunk-FYM27FCG.js} +32 -9
  41. package/dist/bundle/{chunk-H65B6A7Y.js → chunk-GBZF4IIP.js} +8 -8
  42. package/dist/bundle/{chunk-JRPYHDCO.js → chunk-GEX4V5TM.js} +4 -4
  43. package/dist/bundle/{chunk-5BCNJB2A.js → chunk-GMTXCFI7.js} +668 -504
  44. package/dist/bundle/{chunk-JM43EKTY.js → chunk-GXCNCMUY.js} +1896 -651
  45. package/dist/bundle/{chunk-FSYO3PUW.js → chunk-H7762LDA.js} +2 -2
  46. package/dist/bundle/{chunk-C3RRIJ5C.js → chunk-IPTI3Y2E.js} +6 -41
  47. package/dist/bundle/{chunk-7NDSBTKR.js → chunk-JF7ZEUXU.js} +34 -26
  48. package/dist/bundle/{chunk-5YLR24D5.js → chunk-K6ATTKQR.js} +13 -6
  49. package/dist/bundle/{chunk-R4NTPYXZ.js → chunk-KYLS5QGC.js} +2 -2
  50. package/dist/bundle/{chunk-OPP5CWAX.js → chunk-KZE3G4ZT.js} +34 -33
  51. package/dist/bundle/{chunk-I5QX2HAT.js → chunk-LOL6JYYN.js} +211 -106
  52. package/dist/bundle/{chunk-COTC7HF3.js → chunk-LPUFOWL3.js} +1 -1
  53. package/dist/bundle/{chunk-AF4HONAZ.js → chunk-M6IDHQ7N.js} +6402 -4395
  54. package/dist/bundle/{chunk-Y7TWNMTW.js → chunk-MH7AWCB4.js} +178 -49
  55. package/dist/bundle/{chunk-ZW4N73FO.js → chunk-MIB5X2XW.js} +3 -3
  56. package/dist/bundle/{chunk-Q3EDUZ5R.js → chunk-MPKKIL3U.js} +15 -12
  57. package/dist/bundle/{chunk-JMSKDW5G.js → chunk-MRWIXUYT.js} +2 -2
  58. package/dist/bundle/{chunk-HIGFBTEI.js → chunk-MZ6U6HNJ.js} +2 -2
  59. package/dist/bundle/{chunk-7SWNZ44U.js → chunk-NJSIHMAE.js} +2 -2
  60. package/dist/bundle/{chunk-HQHYPKSU.js → chunk-NNNEVWFF.js} +44 -31
  61. package/dist/bundle/{chunk-TJH5IQVZ.js → chunk-NO24PJNW.js} +1 -1
  62. package/dist/bundle/{chunk-7D56BQZL.js → chunk-OXUHTKO2.js} +2 -2
  63. package/dist/bundle/{chunk-IIP4J3PD.js → chunk-PV3UDPCI.js} +82 -6
  64. package/dist/bundle/{chunk-5FN4Q5H5.js → chunk-QI7BZS2G.js} +8 -13
  65. package/dist/bundle/{chunk-SMT6SFBK.js → chunk-QLCYAQ66.js} +2 -2
  66. package/dist/bundle/{chunk-PBJY5VR6.js → chunk-R5BAF5XE.js} +1 -1
  67. package/dist/bundle/{chunk-7VJIKJNW.js → chunk-RZLNHNSS.js} +8 -8
  68. package/dist/bundle/{chunk-3DGQJASQ.js → chunk-S4GDDO5S.js} +1 -1
  69. package/dist/bundle/{chunk-AAC6VNSL.js → chunk-SQWRZZOQ.js} +3 -3
  70. package/dist/bundle/{chunk-63MRRNDL.js → chunk-T3KICUOK.js} +6 -6
  71. package/dist/bundle/{chunk-7EOW47PV.js → chunk-TC7PD3LH.js} +4 -4
  72. package/dist/bundle/{chunk-XZSQLVED.js → chunk-TUIEDVI6.js} +2 -2
  73. package/dist/bundle/{chunk-H5LLZ5XA.js → chunk-U3ZUT557.js} +1 -1
  74. package/dist/bundle/{chunk-4XVRA6P5.js → chunk-U4RVOSX3.js} +1 -1
  75. package/dist/bundle/{chunk-EQYPTGCT.js → chunk-U5ASRBBF.js} +6 -4
  76. package/dist/bundle/{chunk-3IMEAZIM.js → chunk-UKU6MYUI.js} +4 -4
  77. package/dist/bundle/{chunk-J25UNZIL.js → chunk-UMHJZWZU.js} +9 -9
  78. package/dist/bundle/{chunk-HQHUPTZR.js → chunk-UPJXN2CO.js} +1308 -635
  79. package/dist/bundle/{chunk-OWXMQVVN.js → chunk-VH4F2EK4.js} +1 -1
  80. package/dist/bundle/{chunk-TJODNJKE.js → chunk-VJTGYBJJ.js} +18 -13
  81. package/dist/bundle/{chunk-54UEJGYB.js → chunk-VW2SW7ME.js} +3 -3
  82. package/dist/bundle/{chunk-2UONVSJQ.js → chunk-WLSF3GCC.js} +2 -2
  83. package/dist/bundle/{chunk-H3DMYF3W.js → chunk-XJQB47IL.js} +4 -4
  84. package/dist/bundle/{chunk-JZKNHA44.js → chunk-Y3EIK4XW.js} +1 -1
  85. package/dist/bundle/{chunk-3AAO5N4L.js → chunk-Z5424QL6.js} +2 -2
  86. package/dist/bundle/{chunk-K6OSD6DG.js → chunk-ZFNM3FNI.js} +75 -33
  87. package/dist/bundle/{chunk-SJIBJQJN.js → chunk-ZH743WNV.js} +40 -12
  88. package/dist/bundle/{chunk-JJZAGKUK.js → chunk-ZOGYTDHG.js} +2 -2
  89. package/dist/bundle/{chunk-6NBQJJT6.js → chunk-ZREFYKUB.js} +7 -7
  90. package/dist/bundle/{chunk-KJCCT3QY.js → chunk-ZXGRK44F.js} +14 -13
  91. package/dist/bundle/{cli-Y2ZO3D5U.js → cli-FDO6CP6R.js} +105 -59
  92. package/dist/bundle/command-contract-O4FDXM4U.js +37 -0
  93. package/dist/bundle/config-UBHKZG3J.js +78 -0
  94. package/dist/bundle/{decode-GO6GAYH2.js → decode-7SZI3TGZ.js} +3 -3
  95. package/dist/bundle/{dist-MIJKAGXW.js → dist-5GWUXW27.js} +18 -14
  96. package/dist/bundle/{echarts-NWK7LALR.js → echarts-FMACRZQC.js} +2 -2
  97. package/dist/bundle/{embed-2DOSN4DV.js → embed-24YSXHLP.js} +4 -4
  98. package/dist/bundle/{embedder-3Q3C2WKC.js → embedder-MEXN2TFB.js} +7 -7
  99. package/dist/bundle/{first-run-S75VKIT3.js → first-run-OCVEJH63.js} +8 -8
  100. package/dist/bundle/first-screen-KJIU25MH.js +35 -0
  101. package/dist/bundle/{folders-RSWEBHDZ.js → folders-DBAAMU26.js} +2 -2
  102. package/dist/bundle/{instructions-M3FZPQVI.js → instructions-E5FXYCWF.js} +1 -1
  103. package/dist/bundle/{main-R77BPRRS.js → main-EIUCXXDW.js} +17 -16
  104. package/dist/bundle/{mcp-YJEQYYTR.js → mcp-FUSDPAOL.js} +2 -2
  105. package/dist/bundle/{meetings-IV4Y4WRH.js → meetings-JDTRGXZJ.js} +16 -6
  106. package/dist/bundle/{node-I3GEHYGL.js → node-4SNKUPXT.js} +2 -2
  107. package/dist/bundle/{node-sqlite-W6MR2TVQ.js → node-sqlite-O4BAODFR.js} +9 -3
  108. package/dist/bundle/{oauth-M6YL4QXP.js → oauth-3YLHXGUW.js} +5 -5
  109. package/dist/bundle/{open-2VITLJAN.js → open-QGRMSNM2.js} +3 -2
  110. package/dist/bundle/{openai-OG6B3JCU.js → openai-7PSCSTH7.js} +9 -9
  111. package/dist/bundle/{output-file-XJJ3XMLQ.js → output-file-J26UQKRA.js} +3 -3
  112. package/dist/bundle/{process-UBA4L4B2.js → process-HQZOTT6U.js} +1 -1
  113. package/dist/bundle/{program-5R5MRXUM.js → program-47DT7SHE.js} +75 -75
  114. package/dist/bundle/{prompt-AVIXIM7Z.js → prompt-IUD7HCDC.js} +3 -3
  115. package/dist/bundle/{recognize-DJKTJOYU.js → recognize-DMJJHHXF.js} +2 -2
  116. package/dist/bundle/{remote-S3DTNYRP.js → remote-5WFSOVVB.js} +5 -5
  117. package/dist/bundle/{rerank-FMCDP6VF.js → rerank-UKQ65ECH.js} +5 -5
  118. package/dist/bundle/{run-log-T4MV2VEH.js → run-log-UGYL6NW2.js} +53 -53
  119. package/dist/bundle/{serve-5SGFJFMC.js → serve-WAOSED3I.js} +9 -8
  120. package/dist/bundle/server-HAXN772R.js +66 -0
  121. package/dist/bundle/{server-PCMCY7WK.js → server-NWZFNXC5.js} +42 -42
  122. package/dist/bundle/{services-SKRQ2POT.js → services-VPANRE72.js} +101 -28
  123. package/dist/bundle/{speech-FSDICIKO.js → speech-O6UNUDRW.js} +11 -11
  124. package/dist/bundle/{state-KPUSPWO6.js → state-BNE7I65A.js} +4 -4
  125. package/dist/bundle/{store-7MP2ZGQ7.js → store-4IIVSCJ4.js} +37 -18
  126. package/dist/bundle/{store-W7LFPKG2.js → store-QQH4FJXJ.js} +14 -13
  127. package/dist/bundle/store-connection-PPEQK2K3.js +76 -0
  128. package/dist/bundle/store-maintenance-command-JZXCT6NY.js +56 -0
  129. package/dist/bundle/{streaming-Q44ESD3E.js → streaming-S4EZB6P2.js} +4 -4
  130. package/dist/bundle/{tokens-TAFCHANI.js → tokens-VCXIH7WZ.js} +4 -4
  131. package/dist/bundle/zm.js +1 -1
  132. package/dist/local-transcription.d.ts.map +1 -1
  133. package/dist/local-transcription.js +1 -0
  134. package/dist/local-transcription.js.map +1 -1
  135. package/dist/version.d.ts +1 -1
  136. package/dist/version.js +1 -1
  137. package/package.json +3 -3
  138. package/dist/bundle/answer-policy-HOA43GNA.js +0 -96
  139. package/dist/bundle/chunk-JRPAZ2WD.js +0 -3635
  140. package/dist/bundle/command-contract-DGTZIH2F.js +0 -38
  141. package/dist/bundle/config-N2UHDKGG.js +0 -78
  142. package/dist/bundle/first-screen-DQNRT6GH.js +0 -36
  143. package/dist/bundle/server-EYGZLKKQ.js +0 -66
  144. package/dist/bundle/store-connection-3HNZFJC4.js +0 -76
  145. package/dist/bundle/store-maintenance-command-6WBLTUZP.js +0 -55
  146. /package/dist/bundle/{chunk-WJWLHLQ7.js → chunk-NUN6OGOV.js} +0 -0
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-7NDSBTKR.js";
5
+ } from "./chunk-JF7ZEUXU.js";
6
6
  import {
7
7
  importFrom
8
8
  } from "./chunk-Y5E2WNWB.js";
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.533.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_d95b0b392230247c519664df7aaeaaab/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
14
14
  import { readFileSync } from "node:fs";
15
15
  var musl = /* @__PURE__ */ __name(() => {
16
16
  if (process.platform !== "linux")
@@ -6,24 +6,23 @@ import {
6
6
  agentArguments,
7
7
  agentJson,
8
8
  commandAvailability
9
- } from "./chunk-TJODNJKE.js";
9
+ } from "./chunk-VJTGYBJJ.js";
10
10
  import {
11
11
  callerOf
12
- } from "./chunk-HIGFBTEI.js";
12
+ } from "./chunk-MZ6U6HNJ.js";
13
13
  import {
14
+ QUERY_ARGUMENT,
14
15
  lentConnection,
15
16
  refuseLacking
16
- } from "./chunk-23LOMA2I.js";
17
+ } from "./chunk-2H5SXK7K.js";
17
18
  import {
18
19
  onlineDeps,
19
20
  servicesFor,
20
21
  storeModeDeps
21
- } from "./chunk-AF4HONAZ.js";
22
- import {
23
- ENTITIES
24
- } from "./chunk-JRPAZ2WD.js";
22
+ } from "./chunk-M6IDHQ7N.js";
25
23
  import {
26
24
  DEFAULT_OUTPUT_BYTES,
25
+ ENTITIES,
27
26
  LOCAL_WRITE,
28
27
  REMOTE_WRITE,
29
28
  answerSchema,
@@ -35,33 +34,37 @@ import {
35
34
  refuseStoreChange,
36
35
  sealed,
37
36
  startRecording
38
- } from "./chunk-BWPKSUXW.js";
37
+ } from "./chunk-6CS7ETBK.js";
39
38
  import {
40
39
  currentCaller,
41
40
  keepsSuccess,
42
41
  runContextOf,
43
42
  withCaller
44
- } from "./chunk-H65B6A7Y.js";
43
+ } from "./chunk-GBZF4IIP.js";
45
44
  import {
46
45
  enclosingTraceId,
47
46
  inRun,
48
47
  newRunId,
49
48
  traceOf
50
- } from "./chunk-A2FOW3ZC.js";
49
+ } from "./chunk-25IDWPEN.js";
51
50
  import {
52
51
  failureContext
53
- } from "./chunk-CZKV4USJ.js";
52
+ } from "./chunk-24F7JBLY.js";
54
53
  import {
55
54
  authorityAllowed,
56
55
  botApiAllowed,
57
56
  keyForCommand,
58
57
  levelFor,
59
58
  readKeysForCommand
60
- } from "./chunk-7D56BQZL.js";
59
+ } from "./chunk-OXUHTKO2.js";
61
60
  import {
62
61
  MAX_BUFFERED_INPUT
63
- } from "./chunk-R4NTPYXZ.js";
62
+ } from "./chunk-KYLS5QGC.js";
63
+ import {
64
+ queryDescription
65
+ } from "./chunk-ZH743WNV.js";
64
66
  import {
67
+ COMPACT_FLAG,
65
68
  CliError,
66
69
  SNAKE_CASE,
67
70
  array,
@@ -102,15 +105,15 @@ import {
102
105
  unknown,
103
106
  word,
104
107
  writes
105
- } from "./chunk-7NDSBTKR.js";
108
+ } from "./chunk-JF7ZEUXU.js";
106
109
  import {
107
110
  __name
108
111
  } from "./chunk-ZVVMGPBJ.js";
109
112
 
110
- // node_modules/.pnpm/@wirecat+cli-core@0.533.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_d95b0b392230247c519664df7aaeaaab/node_modules/@wirecat/cli-core/dist/mcp/agent.js
113
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/mcp/agent.js
111
114
  import { Readable } from "node:stream";
112
115
 
113
- // node_modules/.pnpm/@wirecat+cli-base@0.71.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
+ // 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
114
117
  var LINT_SEVERITIES = ["high", "medium", "low"];
115
118
  var lintRuleSchema = strictObject({
116
119
  id: word,
@@ -237,7 +240,7 @@ var overridesSchema = array(strictObject({
237
240
  review_after: pipe(string(), isoDate("a date, YYYY-MM-DD"))
238
241
  }));
239
242
 
240
- // node_modules/.pnpm/@wirecat+cli-base@0.71.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
243
+ // 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
241
244
  var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
242
245
  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");
243
246
  var AUDIT_RULES = defineAuditRules([
@@ -346,7 +349,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
346
349
  { path: ["upgrade"], meaning: "updates the CLI" }
347
350
  ]);
348
351
 
349
- // node_modules/.pnpm/@wirecat+cli-base@0.71.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
352
+ // 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
350
353
  var fieldRuleSchema = strictObject({ id: word, rule: text });
351
354
  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");
352
355
  var FIELD_RULES = defineFieldRules([
@@ -362,7 +365,7 @@ var FIELD_RULES = defineFieldRules([
362
365
  }
363
366
  ]);
364
367
 
365
- // node_modules/.pnpm/@wirecat+cli-base@0.71.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
368
+ // 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
366
369
  var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
367
370
  var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
368
371
  var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
@@ -384,7 +387,7 @@ var IDENTIFIERS = defineIdentifiers([
384
387
  { key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
385
388
  ]);
386
389
 
387
- // node_modules/.pnpm/@wirecat+cli-base@0.71.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
390
+ // 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
388
391
  var CALENDAR_FLAGS = [
389
392
  { name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
390
393
  {
@@ -458,7 +461,7 @@ var CALENDAR_FLAGS = [
458
461
  }
459
462
  ];
460
463
 
461
- // node_modules/.pnpm/@wirecat+cli-base@0.71.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
464
+ // 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
462
465
  var HOW_FLAGS = [
463
466
  {
464
467
  name: "--limit",
@@ -545,6 +548,12 @@ var HOW_FLAGS = [
545
548
  type: "switch",
546
549
  meaning: "each item as its reference, title, time and excerpt only"
547
550
  },
551
+ {
552
+ name: COMPACT_FLAG,
553
+ role: "output",
554
+ type: "switch",
555
+ meaning: "one line per item, built from the same answer as --json, with its paging and next steps as # lines"
556
+ },
548
557
  {
549
558
  name: "--chart-kind",
550
559
  value: "<messages|active|membership>",
@@ -736,6 +745,7 @@ var HOW_FLAGS = [
736
745
  meaning: "refuse if what it names has changed since it was read",
737
746
  replaces: ["--expected"]
738
747
  },
748
+ { name: "--full-history", role: "mode", type: "switch", meaning: "keep a chat's whole history, past its limits" },
739
749
  {
740
750
  name: "--for-everyone",
741
751
  role: "mode",
@@ -1445,7 +1455,7 @@ var HOW_FLAGS = [
1445
1455
  }
1446
1456
  ];
1447
1457
 
1448
- // node_modules/.pnpm/@wirecat+cli-base@0.71.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
1458
+ // 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
1449
1459
  var MAIL_FLAGS = [
1450
1460
  {
1451
1461
  name: "--cc",
@@ -1469,7 +1479,7 @@ var MAIL_FLAGS = [
1469
1479
  }
1470
1480
  ];
1471
1481
 
1472
- // node_modules/.pnpm/@wirecat+cli-base@0.71.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
1482
+ // 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
1473
1483
  var WHAT_FLAGS = [
1474
1484
  {
1475
1485
  name: "--analysis-provider",
@@ -2467,7 +2477,7 @@ var WHAT_FLAGS = [
2467
2477
  }
2468
2478
  ];
2469
2479
 
2470
- // node_modules/.pnpm/@wirecat+cli-base@0.71.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
2480
+ // 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
2471
2481
  var FLAG_TYPES = [
2472
2482
  "switch",
2473
2483
  "count",
@@ -2623,6 +2633,7 @@ var verbs = [
2623
2633
  ["vote", "answer a poll"],
2624
2634
  ["answer", "reply to a button someone pressed under a bot's message"],
2625
2635
  ["respond", "answer an invitation: accept, tentatively accept or decline it"],
2636
+ ["remind", "tell the owner once about what starts soon: print it, or run the owner's own program for it"],
2626
2637
  ["press", "press a button under a bot's message; the bot sees who pressed it"],
2627
2638
  ["action", "show what a bot is doing in a chat, such as typing, for a few seconds"],
2628
2639
  ["watch", "follow new events as they come, and keep them"],
@@ -2827,7 +2838,7 @@ var VOCABULARY = defineVocabulary({
2827
2838
  flags: [...HOW_FLAGS, ...WHAT_FLAGS, ...CALENDAR_FLAGS, ...MAIL_FLAGS]
2828
2839
  });
2829
2840
 
2830
- // node_modules/.pnpm/@wirecat+cli-core@0.533.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_d95b0b392230247c519664df7aaeaaab/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2841
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2831
2842
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
2832
2843
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
2833
2844
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -2886,8 +2897,10 @@ var optionField = /* @__PURE__ */ __name((option, long, negated) => {
2886
2897
  }, "argv")
2887
2898
  };
2888
2899
  }, "optionField");
2889
- var argumentField = /* @__PURE__ */ __name((argument) => {
2890
- const one = argument.choices ? pipe(picklist(argument.choices), description(argument.description)) : text2(argument.description || argument.name);
2900
+ var argumentField = /* @__PURE__ */ __name((argument, query) => {
2901
+ const own = argument.description || argument.name;
2902
+ const about = query && argument.name === "query" ? own === QUERY_ARGUMENT ? queryDescription(query) : `${own}; ${queryDescription(query)}` : own;
2903
+ const one = argument.choices ? pipe(picklist(argument.choices), description(argument.description)) : text2(about);
2891
2904
  return {
2892
2905
  name: snake(argument.name),
2893
2906
  required: argument.required,
@@ -2913,7 +2926,7 @@ var stdinField = /* @__PURE__ */ __name(({ name, description: description2, json
2913
2926
  argv: /* @__PURE__ */ __name(() => [], "argv")
2914
2927
  }), "stdinField");
2915
2928
  var fieldsOf = /* @__PURE__ */ __name((info, { omit = [], offline = false, stdin }) => {
2916
- const fields = info.arguments.map(argumentField);
2929
+ const fields = info.arguments.map((argument) => argumentField(argument, info.query));
2917
2930
  const read = stdin?.(info.path);
2918
2931
  if (read)
2919
2932
  fields.push(stdinField(read));
@@ -3048,7 +3061,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
3048
3061
  }
3049
3062
  }, "runCommandForAgent");
3050
3063
 
3051
- // node_modules/.pnpm/@wirecat+cli-core@0.533.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_d95b0b392230247c519664df7aaeaaab/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3064
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3052
3065
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
3053
3066
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
3054
3067
  var message = pipe(
@@ -3307,7 +3320,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
3307
3320
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
3308
3321
  }, "failed");
3309
3322
 
3310
- // node_modules/.pnpm/@wirecat+cli-core@0.533.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_d95b0b392230247c519664df7aaeaaab/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3323
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3311
3324
  import { randomUUID } from "node:crypto";
3312
3325
  var MATCHES = 8;
3313
3326
  var ANSWER = answerSchema();
@@ -3330,7 +3343,7 @@ var runnableOnly = /* @__PURE__ */ __name((result, offered) => {
3330
3343
  const body = result.structuredContent;
3331
3344
  if (result.isError || !Array.isArray(body?.next))
3332
3345
  return result;
3333
- const next = body.next.filter((step) => offered(step.command));
3346
+ const next = body.next.filter((step) => step.command === void 0 || offered(step.command));
3334
3347
  const { next: _, ...rest } = body;
3335
3348
  const kept = next.length > 0 ? { ...rest, next } : rest;
3336
3349
  return {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.533.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_d95b0b392230247c519664df7aaeaaab/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
8
8
  var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
9
9
  `The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
10
10
  "Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",
@@ -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-7NDSBTKR.js";
5
+ } from "./chunk-JF7ZEUXU.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.533.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_d95b0b392230247c519664df7aaeaaab/node_modules/@wirecat/cli-core/dist/sends/permissions.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/sends/permissions.js
11
11
  var LEVELS = ["deny", "readonly", "ask", "allow"];
12
12
  var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
13
13
  var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
@@ -2,7 +2,13 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  LEVELS
5
- } from "./chunk-7D56BQZL.js";
5
+ } from "./chunk-OXUHTKO2.js";
6
+ import {
7
+ looksLikeReference,
8
+ parseReference,
9
+ providerLabel,
10
+ providerNamed
11
+ } from "./chunk-LOL6JYYN.js";
6
12
  import {
7
13
  CliError,
8
14
  array,
@@ -26,12 +32,72 @@ import {
26
32
  unknown,
27
33
  visibleControls,
28
34
  writeSecurely
29
- } from "./chunk-7NDSBTKR.js";
35
+ } from "./chunk-JF7ZEUXU.js";
30
36
  import {
31
37
  __name
32
38
  } from "./chunk-ZVVMGPBJ.js";
33
39
 
34
- // node_modules/.pnpm/@wirecat+cli-core@0.533.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_d95b0b392230247c519664df7aaeaaab/node_modules/@wirecat/cli-core/dist/resolve.js
40
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/domain/ref-arguments.js
41
+ var TAKES = {
42
+ chat: "a chat: chat:<provider>/<account>/<chat>, its id or its title",
43
+ message: "a message: msg:<provider>/<account>/<chat>/<message>, or a chat and the message's id"
44
+ };
45
+ var article = /* @__PURE__ */ __name((word) => /^[aeiou]/.test(word) ? "an" : "a", "article");
46
+ var wrongKind = /* @__PURE__ */ __name((text, kind, takes) => new CliError("validation_error", `${text} names ${article(kind)} ${kind}; this takes ${TAKES[takes]}`, {
47
+ reason: "ref.wrong-kind"
48
+ }), "wrongKind");
49
+ var wrongProvider = /* @__PURE__ */ __name((text, provider, kind) => {
50
+ const entry = providerNamed(provider);
51
+ const command = entry?.command;
52
+ const opens = kind === "entity" ? void 0 : entry?.opens?.[kind];
53
+ const how = command && opens ? `open it with ${command} <profile> ${opens} ${text}` : "open it with its own CLI";
54
+ const label = providerLabel(provider);
55
+ return new CliError("validation_error", `${text} is ${article(label.toLowerCase())} ${label} ${kind}; ${how}`, {
56
+ reason: "ref.wrong-provider"
57
+ });
58
+ }, "wrongProvider");
59
+ var chatReferenceOf = /* @__PURE__ */ __name((text, provider, takes = "chat") => {
60
+ const trimmed = text.trim();
61
+ if (!looksLikeReference(trimmed))
62
+ return void 0;
63
+ const reference = parseReference(trimmed);
64
+ if (reference.type !== "chat" && reference.type !== "message")
65
+ throw wrongKind(trimmed, reference.type, takes);
66
+ if (reference.provider !== provider)
67
+ throw wrongProvider(trimmed, reference.provider, reference.type);
68
+ const found = {
69
+ text: trimmed,
70
+ provider: reference.provider,
71
+ account: reference.account,
72
+ chat: reference.chat,
73
+ ...reference.type === "message" ? { message: reference.message } : {}
74
+ };
75
+ return found;
76
+ }, "chatReferenceOf");
77
+ var contactReferenceOf = /* @__PURE__ */ __name((text, provider) => {
78
+ const trimmed = text.trim();
79
+ if (!trimmed.startsWith("contact:"))
80
+ return void 0;
81
+ const reference = parseReference(trimmed);
82
+ if (reference.type !== "contact")
83
+ return void 0;
84
+ if (provider !== void 0 && reference.provider !== provider)
85
+ throw wrongProvider(trimmed, reference.provider, reference.type);
86
+ return reference.id;
87
+ }, "contactReferenceOf");
88
+ var wrongAccount = /* @__PURE__ */ __name((reference, scope, profiles) => {
89
+ const here = scope.account === void 0 ? "the account of this profile is not known yet" : `${scope.profile === void 0 ? "this profile" : `profile ${scope.profile}`} is account ${scope.account}`;
90
+ const others = profiles === void 0 ? "" : `. Profiles signed in to ${reference.account}: ${profiles.length > 0 ? profiles.join(", ") : "none here"}`;
91
+ return new CliError("validation_error", `${reference.text} belongs to account ${reference.account}; ${here}${others}`, { reason: "ref.wrong-account" });
92
+ }, "wrongAccount");
93
+ var ensureAccount = /* @__PURE__ */ __name(async (reference, scope, profilesOn) => {
94
+ if (scope.account !== void 0 && scope.account === reference.account)
95
+ return;
96
+ const profiles = await profilesOn?.(reference.account).catch(() => void 0);
97
+ throw wrongAccount(reference, scope, profiles);
98
+ }, "ensureAccount");
99
+
100
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/resolve.js
35
101
  var isId = /* @__PURE__ */ __name((reference) => /^-?\d+$/.test(reference.trim()), "isId");
36
102
  var foldName = /* @__PURE__ */ __name((name) => name.normalize("NFC").replace(/[\uFE0E\uFE0F\u200D]/g, "").toLowerCase(), "foldName");
37
103
  var pickChat = /* @__PURE__ */ __name((reference, chats) => {
@@ -45,6 +111,13 @@ var pickChat = /* @__PURE__ */ __name((reference, chats) => {
45
111
  }, "pickChat");
46
112
  var pickPerson = /* @__PURE__ */ __name((reference, people) => {
47
113
  const trimmed = reference.trim();
114
+ const contact = contactReferenceOf(trimmed, people.provider);
115
+ if (contact !== void 0) {
116
+ const named = people.get(contact);
117
+ if (named)
118
+ return named;
119
+ throw new CliError("not_found", `no person ${contact} in what this account has seen`);
120
+ }
48
121
  const known = people.get(trimmed);
49
122
  if (known)
50
123
  return known;
@@ -69,7 +142,7 @@ ${lines}`, { candidates });
69
142
  }, "ambiguous");
70
143
  var isPresent = /* @__PURE__ */ __name((value) => value !== null && value !== void 0, "isPresent");
71
144
 
72
- // node_modules/.pnpm/@wirecat+cli-core@0.533.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_d95b0b392230247c519664df7aaeaaab/node_modules/@wirecat/cli-core/dist/domain/formatting.js
145
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/domain/formatting.js
73
146
  var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "the messenger formatter returned invalid text spans"), "invalid");
74
147
  var validateFormattedText = /* @__PURE__ */ __name((formatted) => {
75
148
  const { text, spans } = formatted;
@@ -129,7 +202,7 @@ var visibleFormattedText = /* @__PURE__ */ __name((formatted) => {
129
202
  };
130
203
  }, "visibleFormattedText");
131
204
 
132
- // node_modules/.pnpm/@wirecat+cli-core@0.533.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_d95b0b392230247c519664df7aaeaaab/node_modules/@wirecat/cli-core/dist/moderation/check.js
205
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/moderation/check.js
133
206
  var INVITE = /max\.ru\/join\/|(t|telegram)\.me\/(\+|joinchat\/)|tg:\/\/join/i;
134
207
  var LINK = /https?:\/\/\S+/i;
135
208
  var STRENGTH = { report: 0, delete: 1, remove: 2 };
@@ -317,7 +390,7 @@ var nextPoint = /* @__PURE__ */ __name((rows, found) => {
317
390
  }, "nextPoint");
318
391
  var someUndone = /* @__PURE__ */ __name((rows) => rows.some(undone), "someUndone");
319
392
 
320
- // node_modules/.pnpm/@wirecat+cli-core@0.533.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_d95b0b392230247c519664df7aaeaaab/node_modules/@wirecat/cli-core/dist/moderation/rules.js
393
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/moderation/rules.js
321
394
  import { existsSync, readFileSync } from "node:fs";
322
395
  import { join } from "node:path";
323
396
  var RULE_ACTIONS = ["report", "delete", "remove"];
@@ -461,6 +534,9 @@ var assign = /* @__PURE__ */ __name((rules, key, value) => {
461
534
  }, "assign");
462
535
 
463
536
  export {
537
+ chatReferenceOf,
538
+ wrongAccount,
539
+ ensureAccount,
464
540
  isId,
465
541
  foldName,
466
542
  pickChat,
@@ -1,20 +1,16 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ PRAGMAS
5
+ } from "./chunk-BLT3LR3U.js";
3
6
  import {
4
7
  CliError
5
- } from "./chunk-7NDSBTKR.js";
8
+ } from "./chunk-JF7ZEUXU.js";
6
9
  import {
7
10
  __name
8
11
  } from "./chunk-ZVVMGPBJ.js";
9
12
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.533.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_d95b0b392230247c519664df7aaeaaab/node_modules/@wirecat/cli-core/dist/store/driver.js
11
- var PRAGMAS = `
12
- PRAGMA busy_timeout = 5000;
13
- PRAGMA journal_mode = WAL;
14
- PRAGMA foreign_keys = ON;
15
- `;
16
-
17
- // node_modules/.pnpm/@wirecat+cli-core@0.533.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_d95b0b392230247c519664df7aaeaaab/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
18
14
  var SQLITE_WARNING = "SQLite is an experimental feature";
19
15
  var quieted = /* @__PURE__ */ new WeakSet();
20
16
  var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
@@ -35,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
35
31
  return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
36
32
  }, "isSqliteWarning");
37
33
 
38
- // node_modules/.pnpm/@wirecat+cli-core@0.533.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_d95b0b392230247c519664df7aaeaaab/node_modules/@wirecat/cli-core/dist/store/open.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/store/open.js
39
35
  var openCache = /* @__PURE__ */ __name(async (path) => {
40
36
  const database = await openFile(path);
41
37
  try {
@@ -48,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
48
44
  }, "openCache");
49
45
  var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
50
46
  var openUnderBun = /* @__PURE__ */ __name(async (path) => {
51
- const { openWithBunSqlite } = await import("./bun-sqlite-PTPUSXAO.js");
47
+ const { openWithBunSqlite } = await import("./bun-sqlite-NS32GMM4.js");
52
48
  return await openWithBunSqlite(path);
53
49
  }, "openUnderBun");
54
50
  var openUnderNode = /* @__PURE__ */ __name(async (path) => {
55
51
  quietSqliteWarning();
56
- const { openWithNodeSqlite } = await import("./node-sqlite-W6MR2TVQ.js");
52
+ const { openWithNodeSqlite } = await import("./node-sqlite-O4BAODFR.js");
57
53
  return openWithNodeSqlite(path);
58
54
  }, "openUnderNode");
59
55
  var runtime = /* @__PURE__ */ __name(() => {
@@ -90,7 +86,6 @@ var storeCapable = /* @__PURE__ */ __name(() => {
90
86
  }, "storeCapable");
91
87
 
92
88
  export {
93
- PRAGMAS,
94
89
  quietSqliteWarning,
95
90
  openCache,
96
91
  openFile,
@@ -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-7NDSBTKR.js";
5
+ } from "./chunk-JF7ZEUXU.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.533.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_d95b0b392230247c519664df7aaeaaab/node_modules/@wirecat/cli-core/dist/models/types.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/models/types.js
11
11
  var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
12
12
  var validateImages = /* @__PURE__ */ __name((images) => {
13
13
  if (images === void 0)
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
 
4
4
  // dist/version.js
5
- var VERSION = "0.64.0";
5
+ var VERSION = "0.65.0";
6
6
 
7
7
  export {
8
8
  VERSION
@@ -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-7NDSBTKR.js";
5
+ } from "./chunk-JF7ZEUXU.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.533.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_d95b0b392230247c519664df7aaeaaab/node_modules/@wirecat/cli-core/dist/search/languages.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/search/languages.js
11
11
  var LANGUAGES = [
12
12
  { name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
13
13
  { name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
@@ -15,12 +15,12 @@ var LANGUAGES = [
15
15
  ];
16
16
  var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.533.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_d95b0b392230247c519664df7aaeaaab/node_modules/@wirecat/cli-core/dist/store/normalize.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/store/normalize.js
19
19
  var NORMALIZER_VERSION = 1;
20
20
  var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
21
21
  var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
22
22
 
23
- // node_modules/.pnpm/@wirecat+cli-core@0.533.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_d95b0b392230247c519664df7aaeaaab/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
24
24
  var BaseStemmer = class {
25
25
  static {
26
26
  __name(this, "BaseStemmer");
@@ -395,7 +395,7 @@ var BaseStemmer = class {
395
395
  }
396
396
  };
397
397
 
398
- // node_modules/.pnpm/@wirecat+cli-core@0.533.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_d95b0b392230247c519664df7aaeaaab/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
398
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
399
399
  var a_0 = [
400
400
  ["arsen", -1],
401
401
  ["commun", -1],
@@ -1096,7 +1096,7 @@ var english_stemmer_default = class extends BaseStemmer {
1096
1096
  stemWord = this.stem;
1097
1097
  };
1098
1098
 
1099
- // node_modules/.pnpm/@wirecat+cli-core@0.533.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_d95b0b392230247c519664df7aaeaaab/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1099
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1100
1100
  var a_02 = [
1101
1101
  ["\u0432", 1],
1102
1102
  ["\u0438\u0432", 2, 1],
@@ -1519,7 +1519,7 @@ var russian_stemmer_default = class extends BaseStemmer {
1519
1519
  stemWord = this.stem;
1520
1520
  };
1521
1521
 
1522
- // node_modules/.pnpm/@wirecat+cli-core@0.533.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_d95b0b392230247c519664df7aaeaaab/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1522
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1523
1523
  var a_03 = [
1524
1524
  ["", 6],
1525
1525
  ["\xE1", 1, 1],
@@ -2195,7 +2195,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
2195
2195
  stemWord = this.stem;
2196
2196
  };
2197
2197
 
2198
- // node_modules/.pnpm/@wirecat+cli-core@0.533.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_d95b0b392230247c519664df7aaeaaab/node_modules/@wirecat/cli-core/dist/search/stem.js
2198
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/search/stem.js
2199
2199
  var SNOWBALL_VERSION = "3.1.1";
2200
2200
  var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
2201
2201
  var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.533.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_d95b0b392230247c519664df7aaeaaab/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
8
8
  var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
9
9
  const all = typeof profile !== "string";
10
10
  const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  openOrdinaryFile
5
- } from "./chunk-IIGXCYEL.js";
5
+ } from "./chunk-CNEE6TPE.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-7NDSBTKR.js";
8
+ } from "./chunk-JF7ZEUXU.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.533.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_d95b0b392230247c519664df7aaeaaab/node_modules/@wirecat/cli-core/dist/speech/wav.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/speech/wav.js
14
14
  import { createHash } from "node:crypto";
15
15
  import { basename, resolve } from "node:path";
16
16
  var prepared = /* @__PURE__ */ new WeakMap();