@wirecat/zoom-cli 0.66.0 → 0.67.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 (190) hide show
  1. package/README.md +2 -1
  2. package/constants.json +7 -0
  3. package/dist/answers.d.ts +4 -4
  4. package/dist/bin/main.js +3 -2
  5. package/dist/bin/main.js.map +1 -1
  6. package/dist/bin/zm.js +2 -2
  7. package/dist/bundle/{all-profiles-D5CFH2OK.js → all-profiles-SEW2VL76.js} +12 -11
  8. package/dist/bundle/answer-policy-5OYUL6UF.js +103 -0
  9. package/dist/bundle/{anthropic-K2E2JS4S.js → anthropic-FSNASJML.js} +7 -7
  10. package/dist/bundle/{app-server-TVXDG6HZ.js → app-server-EVSRYJ3H.js} +55 -54
  11. package/dist/bundle/{bun-O4WHGL2F.js → bun-DACL5SVO.js} +2 -2
  12. package/dist/bundle/{bun-sqlite-HGBEHQI3.js → bun-sqlite-HQ2KOXSI.js} +6 -6
  13. package/dist/bundle/{chunk-IDWHJ35K.js → chunk-2UW533HQ.js} +4 -4
  14. package/dist/bundle/{chunk-NMQUCHTX.js → chunk-3GO3KME7.js} +3 -3
  15. package/dist/bundle/{chunk-6GSJLNP4.js → chunk-3ZIHUSMM.js} +2 -2
  16. package/dist/bundle/{chunk-2YLNUZ3T.js → chunk-4GCKDO2H.js} +3 -3
  17. package/dist/bundle/{chunk-7SQJCKR6.js → chunk-4KDZ22RA.js} +1 -1
  18. package/dist/bundle/{chunk-5A26IBAR.js → chunk-4U2555EQ.js} +23 -23
  19. package/dist/bundle/{chunk-RMKHYUHK.js → chunk-4UVT2QCO.js} +4 -4
  20. package/dist/bundle/{chunk-GHAPWKG2.js → chunk-4ZR5DJ26.js} +3 -3
  21. package/dist/bundle/{chunk-2T5BOLBS.js → chunk-54RTMQL6.js} +4 -4
  22. package/dist/bundle/chunk-6AJDVJVZ.js +35 -0
  23. package/dist/bundle/{chunk-UYV2JGLQ.js → chunk-6IBM4Z3V.js} +1 -1
  24. package/dist/bundle/{chunk-QAPU2JNO.js → chunk-6TZF2JP7.js} +13 -13
  25. package/dist/bundle/{chunk-CZ4KLUJG.js → chunk-6UFWFKFH.js} +2 -2
  26. package/dist/bundle/chunk-6VFORXL3.js +101 -0
  27. package/dist/bundle/{chunk-RO44LANT.js → chunk-7HAIM7GV.js} +1577 -633
  28. package/dist/bundle/{chunk-QV5ZGRK3.js → chunk-7K5TDTZY.js} +7 -7
  29. package/dist/bundle/{chunk-NO24PJNW.js → chunk-7LLUUXJB.js} +1 -1
  30. package/dist/bundle/{chunk-7PF56S6U.js → chunk-7VU5UGRR.js} +24 -22
  31. package/dist/bundle/{chunk-SU4WPBQE.js → chunk-AAZFLJSH.js} +22 -23
  32. package/dist/bundle/{chunk-ZKTXUDSR.js → chunk-ASCHAVNW.js} +30 -26
  33. package/dist/bundle/{chunk-BXSAROQP.js → chunk-B3KWAULD.js} +2 -2
  34. package/dist/bundle/{chunk-ZNFPDTQM.js → chunk-B5Z4XPVS.js} +2 -2
  35. package/dist/bundle/{chunk-756RS4PH.js → chunk-BKY4XVB4.js} +1688 -1133
  36. package/dist/bundle/{chunk-62GOOZO3.js → chunk-C6UKW7JO.js} +6 -6
  37. package/dist/bundle/{chunk-U3ZUT557.js → chunk-CLEZE65P.js} +1 -1
  38. package/dist/bundle/{chunk-YLEQN6PB.js → chunk-CRLBTNC4.js} +3 -3
  39. package/dist/bundle/{chunk-P2SYZNM4.js → chunk-D4KBD63W.js} +1 -1
  40. package/dist/bundle/{chunk-CR4CXOLX.js → chunk-D6OXI2NV.js} +17 -17
  41. package/dist/bundle/{chunk-Q47C3QZW.js → chunk-DFUPETW7.js} +444 -307
  42. package/dist/bundle/{chunk-JX3V35A5.js → chunk-DG4DWAU7.js} +3 -3
  43. package/dist/bundle/{chunk-P3XVLHIQ.js → chunk-EPDRF66S.js} +4 -4
  44. package/dist/bundle/{chunk-EXXM4RNI.js → chunk-EQ7XRRKV.js} +11 -11
  45. package/dist/bundle/{chunk-5GD2XZ6X.js → chunk-ESFMHBHH.js} +30 -29
  46. package/dist/bundle/{chunk-GI6QVSCW.js → chunk-EUPZSR2G.js} +4 -4
  47. package/dist/bundle/{chunk-J4EZL6HY.js → chunk-FGTPREAZ.js} +33 -33
  48. package/dist/bundle/{chunk-GKXFL35E.js → chunk-FWU3ZYHE.js} +50 -50
  49. package/dist/bundle/{chunk-CAW6IMFZ.js → chunk-FXQPK742.js} +55 -17
  50. package/dist/bundle/{chunk-P2G4KGTR.js → chunk-GP4NSYDU.js} +11 -11
  51. package/dist/bundle/{chunk-GNGBG5BT.js → chunk-I7SOXH64.js} +71 -38
  52. package/dist/bundle/{chunk-S4GDDO5S.js → chunk-IFDO3YPJ.js} +1 -1
  53. package/dist/bundle/{chunk-N5JRRBEG.js → chunk-J3ZBEWQY.js} +373 -9
  54. package/dist/bundle/chunk-JVCHGI7W.js +37 -0
  55. package/dist/bundle/{chunk-7KCTPGOF.js → chunk-KANH7GBB.js} +2 -2
  56. package/dist/bundle/{chunk-QJHRYUMJ.js → chunk-KIJLM5UL.js} +1 -1
  57. package/dist/bundle/{chunk-ILHTNOIV.js → chunk-KV4267S4.js} +1 -1
  58. package/dist/bundle/{chunk-XWDSEJWP.js → chunk-KWRSC6O6.js} +4 -4
  59. package/dist/bundle/{chunk-O5FKJV3T.js → chunk-L643D4RJ.js} +12 -12
  60. package/dist/bundle/{chunk-ZTL7ANSG.js → chunk-L6CAUVMU.js} +5 -5
  61. package/dist/bundle/{chunk-TUEEXECZ.js → chunk-L6WUAGPN.js} +3 -3
  62. package/dist/bundle/{chunk-H5ZVZAOD.js → chunk-LFQ73UFK.js} +3 -3
  63. package/dist/bundle/{chunk-3Y2F65AY.js → chunk-LKJXTACE.js} +10 -89
  64. package/dist/bundle/{chunk-AZ7ICKIA.js → chunk-LM26DJOK.js} +6 -6
  65. package/dist/bundle/{chunk-IKQ73INC.js → chunk-M43MBWJX.js} +3229 -1236
  66. package/dist/bundle/{chunk-LN2S3RA3.js → chunk-MWEOVTIF.js} +4 -4
  67. package/dist/bundle/{chunk-N67BLTBV.js → chunk-NTZDM5SJ.js} +28 -9
  68. package/dist/bundle/{chunk-6TIKPRVQ.js → chunk-OTMGAKUM.js} +7 -7
  69. package/dist/bundle/chunk-OZEYFJX2.js +93 -0
  70. package/dist/bundle/{chunk-XFUID5NY.js → chunk-Q65SDEFN.js} +2 -2
  71. package/dist/bundle/{chunk-67RNZGAG.js → chunk-QEI55M2F.js} +10 -10
  72. package/dist/bundle/{chunk-3B7L2UX4.js → chunk-QX2MAT6I.js} +3 -3
  73. package/dist/bundle/{chunk-KDKFGQWG.js → chunk-RAMPYIO2.js} +15 -12
  74. package/dist/bundle/{chunk-BLT3LR3U.js → chunk-RYKG6AEH.js} +1 -1
  75. package/dist/bundle/{chunk-Z6U3MEGJ.js → chunk-SCFFCIIP.js} +4 -2
  76. package/dist/bundle/{chunk-N6JMJN5A.js → chunk-SMVO5R3T.js} +19 -19
  77. package/dist/bundle/{chunk-Y3EIK4XW.js → chunk-SOZVC3SV.js} +1 -1
  78. package/dist/bundle/{chunk-A2SCXNA7.js → chunk-SSXCOUP3.js} +1084 -258
  79. package/dist/bundle/{chunk-TN7K66PU.js → chunk-SXFODCYK.js} +1 -1
  80. package/dist/bundle/{chunk-TFDVFD4N.js → chunk-T6CZWSHF.js} +97 -38
  81. package/dist/bundle/{chunk-7JMBEPW2.js → chunk-TBRG2DPE.js} +2 -2
  82. package/dist/bundle/{chunk-UOIXBEFR.js → chunk-V33VGWT3.js} +5 -5
  83. package/dist/bundle/{chunk-K5CIN4JP.js → chunk-VFIEYRYD.js} +8 -8
  84. package/dist/bundle/{chunk-5HPALDUO.js → chunk-VNIBTNV4.js} +3 -2
  85. package/dist/bundle/{chunk-3WTKZ2ZS.js → chunk-VQTAU4DV.js} +8 -8
  86. package/dist/bundle/{chunk-TMVKZMDO.js → chunk-WHQ4ZCJI.js} +49 -30
  87. package/dist/bundle/{chunk-S6S3KVJI.js → chunk-WZ5XK74U.js} +2 -1
  88. package/dist/bundle/{chunk-2VPHQFO5.js → chunk-X67YD3QI.js} +2 -2
  89. package/dist/bundle/{chunk-PQLBPYJR.js → chunk-YPF6OS37.js} +1 -1
  90. package/dist/bundle/{chunk-AU4JHT3R.js → chunk-YRNZT4GQ.js} +7 -7
  91. package/dist/bundle/{chunk-HKQWV3KT.js → chunk-Z3WXI4DK.js} +3 -3
  92. package/dist/bundle/{chunk-U4RVOSX3.js → chunk-ZMPTO2WB.js} +1 -1
  93. package/dist/bundle/{chunk-FWFFQV4D.js → chunk-ZRMZBMOF.js} +69 -9
  94. package/dist/bundle/{cli-HWQIL2AC.js → cli-YUATSOLA.js} +94 -67
  95. package/dist/bundle/command-contract-UWHY55UE.js +41 -0
  96. package/dist/bundle/config-TGF6E6ZD.js +89 -0
  97. package/dist/bundle/{decode-XPAPPUGE.js → decode-IL44LNC3.js} +6 -6
  98. package/dist/bundle/{dispatch-AKVJGP2S.js → dispatch-3BGIXSJR.js} +9 -9
  99. package/dist/bundle/{dist-LDIUQBM7.js → dist-3W27UQ2S.js} +46 -17
  100. package/dist/bundle/{echarts-FMACRZQC.js → echarts-CO4D26JF.js} +2 -2
  101. package/dist/bundle/{embed-LK45GRQ7.js → embed-XH2X4DFM.js} +7 -7
  102. package/dist/bundle/{embedder-QPBC5XBY.js → embedder-WTFWDXBJ.js} +10 -10
  103. package/dist/bundle/{failure-7OULAOWQ.js → failure-HTIS3NLS.js} +3 -3
  104. package/dist/bundle/{first-run-J5FG773Q.js → first-run-5RBH7FDO.js} +12 -12
  105. package/dist/bundle/first-screen-PGFIXJAX.js +39 -0
  106. package/dist/bundle/{folders-RHPUVMDI.js → folders-F4DNQPIY.js} +5 -5
  107. package/dist/bundle/{instructions-E5FXYCWF.js → instructions-EPPBL6TT.js} +1 -1
  108. package/dist/bundle/{main-FJHE5YHU.js → main-LVQTCDZS.js} +23 -22
  109. package/dist/bundle/{mcp-MNI62HHE.js → mcp-PPVOM4SE.js} +2 -2
  110. package/dist/bundle/{meetings-MYIDGYGW.js → meetings-BMELXRTR.js} +31 -7
  111. package/dist/bundle/{node-4SNKUPXT.js → node-CQVMWVIG.js} +2 -2
  112. package/dist/bundle/{node-sqlite-SYZUTVPC.js → node-sqlite-QQEX7LZT.js} +7 -7
  113. package/dist/bundle/{oauth-QPS5VTN6.js → oauth-AYGX7CQS.js} +8 -8
  114. package/dist/bundle/{open-OVCASRSJ.js → open-MIL2TOT6.js} +6 -6
  115. package/dist/bundle/openai-7QZZXQW5.js +25 -0
  116. package/dist/bundle/{output-file-K5JEL33Z.js → output-file-4XADZPYH.js} +6 -6
  117. package/dist/bundle/{process-HQZOTT6U.js → process-NJVQK6GB.js} +1 -1
  118. package/dist/bundle/{program-A546WC4F.js → program-WUYRS6H7.js} +152 -104
  119. package/dist/bundle/{prompt-CYBKP7S5.js → prompt-J4QPFLEA.js} +6 -6
  120. package/dist/bundle/{recognize-3H3YDCFI.js → recognize-OLJZVNWW.js} +5 -5
  121. package/dist/bundle/{remote-VAYVTJBS.js → remote-JPUXNYLV.js} +8 -8
  122. package/dist/bundle/{rerank-XA4GA5PS.js → rerank-XVV3X5TT.js} +8 -8
  123. package/dist/bundle/{run-log-XAFHMI3F.js → run-log-DJXBEVS5.js} +59 -57
  124. package/dist/bundle/{serve-KGHEDUHB.js → serve-NYYUO3MR.js} +10 -10
  125. package/dist/bundle/{server-ZYTSMDTP.js → server-4Z5E4YTT.js} +47 -46
  126. package/dist/bundle/server-VW5UVCH7.js +72 -0
  127. package/dist/bundle/{services-ZHMZC2OQ.js → services-EKWM76HP.js} +49 -32
  128. package/dist/bundle/{speech-7CJEFKM3.js → speech-WFJ44ACJ.js} +14 -14
  129. package/dist/bundle/{state-U6KSYVOH.js → state-VIRCT4VW.js} +7 -7
  130. package/dist/bundle/{store-WS4CQGYU.js → store-2Q4GEZJS.js} +30 -21
  131. package/dist/bundle/{store-DJE3LAEG.js → store-ZTDZ6UY5.js} +20 -17
  132. package/dist/bundle/store-connection-FKVVQLEF.js +83 -0
  133. package/dist/bundle/store-maintenance-command-AU73UVUQ.js +62 -0
  134. package/dist/bundle/{streaming-QMHH7L6N.js → streaming-7BPKIGAS.js} +7 -7
  135. package/dist/bundle/{tokens-PWQ56OXO.js → tokens-CQHMMKNX.js} +7 -7
  136. package/dist/bundle/zm.js +10 -10
  137. package/dist/bundle/zoom-app-OEKFMJS6.js +25 -0
  138. package/dist/config.d.ts +9 -0
  139. package/dist/config.d.ts.map +1 -1
  140. package/dist/config.js +46 -7
  141. package/dist/config.js.map +1 -1
  142. package/dist/meeting-source.d.ts.map +1 -1
  143. package/dist/meeting-source.js +2 -1
  144. package/dist/meeting-source.js.map +1 -1
  145. package/dist/meeting-stats-commands.d.ts +4 -2
  146. package/dist/meeting-stats-commands.d.ts.map +1 -1
  147. package/dist/meeting-stats-commands.js +27 -2
  148. package/dist/meeting-stats-commands.js.map +1 -1
  149. package/dist/program-bindings.d.ts.map +1 -1
  150. package/dist/program-bindings.js +3 -2
  151. package/dist/program-bindings.js.map +1 -1
  152. package/dist/recording-schedule-setup.d.ts.map +1 -1
  153. package/dist/recording-schedule-setup.js +5 -5
  154. package/dist/recording-schedule-setup.js.map +1 -1
  155. package/dist/run.d.ts.map +1 -1
  156. package/dist/run.js +2 -6
  157. package/dist/run.js.map +1 -1
  158. package/dist/setup-commands.d.ts +1 -1
  159. package/dist/setup-commands.d.ts.map +1 -1
  160. package/dist/setup-commands.js +30 -8
  161. package/dist/setup-commands.js.map +1 -1
  162. package/dist/store-commands.d.ts.map +1 -1
  163. package/dist/store-commands.js +6 -0
  164. package/dist/store-commands.js.map +1 -1
  165. package/dist/store-connection.d.ts +2 -1
  166. package/dist/store-connection.d.ts.map +1 -1
  167. package/dist/store-connection.js +4 -0
  168. package/dist/store-connection.js.map +1 -1
  169. package/dist/version.d.ts +1 -1
  170. package/dist/version.js +1 -1
  171. package/dist/watch-service.d.ts +1 -1
  172. package/dist/watch-service.d.ts.map +1 -1
  173. package/dist/watch-service.js +5 -3
  174. package/dist/watch-service.js.map +1 -1
  175. package/dist/zoom-app.d.ts +17 -0
  176. package/dist/zoom-app.d.ts.map +1 -0
  177. package/dist/zoom-app.js +22 -0
  178. package/dist/zoom-app.js.map +1 -0
  179. package/package.json +4 -3
  180. package/skills/zoom-cli/SKILL.md +4 -1
  181. package/dist/bundle/answer-policy-YAYMKRRD.js +0 -101
  182. package/dist/bundle/chunk-L7IK4FOA.js +0 -18
  183. package/dist/bundle/command-contract-CQFJXWX6.js +0 -40
  184. package/dist/bundle/config-R2Y6ZVQS.js +0 -83
  185. package/dist/bundle/first-screen-MULOBUHN.js +0 -38
  186. package/dist/bundle/openai-VEVT7D7L.js +0 -25
  187. package/dist/bundle/server-IDNSJXF3.js +0 -71
  188. package/dist/bundle/store-connection-T5WGOOPH.js +0 -81
  189. package/dist/bundle/store-maintenance-command-5CBQCEQQ.js +0 -61
  190. /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-LU3WKZBA.js} +0 -0
@@ -6,23 +6,23 @@ import {
6
6
  agentArguments,
7
7
  agentJson,
8
8
  commandAvailability
9
- } from "./chunk-7PF56S6U.js";
9
+ } from "./chunk-7VU5UGRR.js";
10
10
  import {
11
11
  callerOf
12
- } from "./chunk-7KCTPGOF.js";
12
+ } from "./chunk-KANH7GBB.js";
13
13
  import {
14
14
  failureContext
15
- } from "./chunk-FWFFQV4D.js";
15
+ } from "./chunk-ZRMZBMOF.js";
16
16
  import {
17
17
  QUERY_ARGUMENT,
18
18
  lentConnection,
19
19
  refuseLacking
20
- } from "./chunk-N6JMJN5A.js";
20
+ } from "./chunk-SMVO5R3T.js";
21
21
  import {
22
22
  onlineDeps,
23
23
  servicesFor,
24
24
  storeModeDeps
25
- } from "./chunk-RO44LANT.js";
25
+ } from "./chunk-7HAIM7GV.js";
26
26
  import {
27
27
  DEFAULT_OUTPUT_BYTES,
28
28
  ENTITIES,
@@ -37,36 +37,36 @@ import {
37
37
  refuseStoreChange,
38
38
  sealed,
39
39
  startRecording
40
- } from "./chunk-A2SCXNA7.js";
40
+ } from "./chunk-SSXCOUP3.js";
41
41
  import {
42
42
  currentCaller,
43
43
  keepsSuccess,
44
44
  runContextOf,
45
45
  withCaller
46
- } from "./chunk-3Y2F65AY.js";
46
+ } from "./chunk-LKJXTACE.js";
47
47
  import {
48
48
  enclosingTraceId,
49
49
  inRun,
50
50
  newRunId,
51
51
  traceOf
52
- } from "./chunk-5A26IBAR.js";
52
+ } from "./chunk-4U2555EQ.js";
53
53
  import {
54
54
  authorityAllowed,
55
55
  botApiAllowed,
56
56
  keyForCommand,
57
57
  levelFor,
58
58
  readKeysForCommand
59
- } from "./chunk-5HPALDUO.js";
59
+ } from "./chunk-VNIBTNV4.js";
60
60
  import {
61
61
  MAX_BUFFERED_INPUT
62
- } from "./chunk-7JMBEPW2.js";
62
+ } from "./chunk-TBRG2DPE.js";
63
63
  import {
64
64
  queryDescription
65
- } from "./chunk-SU4WPBQE.js";
65
+ } from "./chunk-AAZFLJSH.js";
66
66
  import {
67
67
  captureStreams,
68
68
  traceIdOf
69
- } from "./chunk-TFDVFD4N.js";
69
+ } from "./chunk-T6CZWSHF.js";
70
70
  import {
71
71
  COMPACT_FLAG,
72
72
  SNAKE_CASE,
@@ -105,19 +105,19 @@ import {
105
105
  unknown,
106
106
  word,
107
107
  writes
108
- } from "./chunk-N67BLTBV.js";
108
+ } from "./chunk-NTZDM5SJ.js";
109
109
  import {
110
110
  CliError,
111
111
  errorCodes
112
- } from "./chunk-S6S3KVJI.js";
112
+ } from "./chunk-WZ5XK74U.js";
113
113
  import {
114
114
  __name
115
115
  } from "./chunk-ZVVMGPBJ.js";
116
116
 
117
- // 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
117
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/mcp/agent.js
118
118
  import { Readable } from "node:stream";
119
119
 
120
- // 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
120
+ // 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
121
121
  var LINT_SEVERITIES = ["high", "medium", "low"];
122
122
  var lintRuleSchema = strictObject({
123
123
  id: word,
@@ -235,16 +235,17 @@ var LINT_RULES = defineLintRules([
235
235
  }
236
236
  ]);
237
237
  var baselineSchema = array(text);
238
- var overridesSchema = array(strictObject({
238
+ var overrideSchema = strictObject({
239
239
  rule: word,
240
240
  target: text,
241
241
  reason: pipe(text, minLength(10, "say why, in a sentence")),
242
242
  /** A GitHub handle or a team, `@octocat`. */
243
243
  owner: pipe(string(), regex(/^@[\w.-]+(\/[\w.-]+)?$/, "a GitHub handle or team, such as @octocat")),
244
244
  review_after: pipe(string(), isoDate("a date, YYYY-MM-DD"))
245
- }));
245
+ });
246
+ var overridesSchema = array(overrideSchema);
246
247
 
247
- // 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
248
+ // 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
248
249
  var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
249
250
  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");
250
251
  var AUDIT_RULES = defineAuditRules([
@@ -353,7 +354,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
353
354
  { path: ["upgrade"], meaning: "updates the CLI" }
354
355
  ]);
355
356
 
356
- // 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
357
+ // 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
357
358
  var fieldRuleSchema = strictObject({ id: word, rule: text });
358
359
  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");
359
360
  var FIELD_RULES = defineFieldRules([
@@ -369,7 +370,7 @@ var FIELD_RULES = defineFieldRules([
369
370
  }
370
371
  ]);
371
372
 
372
- // 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
373
+ // 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
373
374
  var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
374
375
  var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
375
376
  var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
@@ -391,7 +392,7 @@ var IDENTIFIERS = defineIdentifiers([
391
392
  { key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
392
393
  ]);
393
394
 
394
- // 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
395
+ // 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
395
396
  var CALENDAR_FLAGS = [
396
397
  { name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
397
398
  {
@@ -465,7 +466,7 @@ var CALENDAR_FLAGS = [
465
466
  }
466
467
  ];
467
468
 
468
- // 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
469
+ // 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
469
470
  var HOW_FLAGS = [
470
471
  {
471
472
  name: "--limit",
@@ -1459,7 +1460,7 @@ var HOW_FLAGS = [
1459
1460
  }
1460
1461
  ];
1461
1462
 
1462
- // 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
1463
+ // 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
1463
1464
  var MAIL_FLAGS = [
1464
1465
  {
1465
1466
  name: "--cc",
@@ -1480,10 +1481,16 @@ var MAIL_FLAGS = [
1480
1481
  role: "value",
1481
1482
  type: "switch",
1482
1483
  meaning: "with --reply-to, an e-mail reply also goes to everyone the message went to"
1484
+ },
1485
+ {
1486
+ name: "--trimmed",
1487
+ role: "output",
1488
+ type: "switch",
1489
+ meaning: "each e-mail's own text, without the quoted earlier mail and the signature; refused with --full"
1483
1490
  }
1484
1491
  ];
1485
1492
 
1486
- // 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
1493
+ // 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
1487
1494
  var WHAT_FLAGS = [
1488
1495
  {
1489
1496
  name: "--analysis-provider",
@@ -2481,7 +2488,7 @@ var WHAT_FLAGS = [
2481
2488
  }
2482
2489
  ];
2483
2490
 
2484
- // 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
2491
+ // 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
2485
2492
  var FLAG_TYPES = [
2486
2493
  "switch",
2487
2494
  "count",
@@ -2665,6 +2672,10 @@ var verbs = [
2665
2672
  ["move", "move a thing to another place in the source: a file to a folder, an event to a calendar"],
2666
2673
  ["copy", "copy a file in the source"],
2667
2674
  ["run", "run a saved job once, now, as its timer would"],
2675
+ ["exec", "what a timer itself starts: one saved schedule, from its file; a person uses run"],
2676
+ // schedule's creators are named for what the timer starts; the owner kept these names over `create --kind`.
2677
+ ["agent", "save a timer that starts an agent with a prompt, read-only; a verb under schedule, never a resource"],
2678
+ ["command", "save a timer that runs one of this tool's own commands; a verb under schedule"],
2668
2679
  ["claim", "take a thing for a while so no other agent works it at once; the claim lapses by itself"],
2669
2680
  ["release", "give back what claim took, before it lapses"],
2670
2681
  ["merge", "fold a duplicate into the thing that stays; nothing is deleted"],
@@ -2735,6 +2746,10 @@ var collections = [
2735
2746
  ["recordings", "the files a provider recorded of a meeting"],
2736
2747
  ["jobs", "work this tool runs in the background or on a timer"],
2737
2748
  ["actions", "what an agent proposes to do; the owner confirms or rejects each"],
2749
+ [
2750
+ "findings",
2751
+ "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"
2752
+ ],
2738
2753
  ["agents", "the agents whose actions are recorded in the shared store"],
2739
2754
  ["reminders", "scheduled notices about stored work, claimed and acknowledged with delivery receipts"],
2740
2755
  ["key-documents", "selected source documents that a project keeps as its starting references"],
@@ -2776,7 +2791,11 @@ var singulars = [
2776
2791
  ["api", "the source's own API, one command per operation"],
2777
2792
  ["privacy", "who may find, see, call or add the account"],
2778
2793
  ["metadata", "a profile's cached source attributes"],
2779
- ["auth", "the credentials a bot profile uses: its token and the secrets beside it"]
2794
+ ["auth", "the credentials a bot profile uses: its token and the secrets beside it"],
2795
+ [
2796
+ "schedule",
2797
+ "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"
2798
+ ]
2780
2799
  ];
2781
2800
  var views = [
2782
2801
  ["tree", "the parent and child hierarchy of stored sources"],
@@ -2842,7 +2861,7 @@ var VOCABULARY = defineVocabulary({
2842
2861
  flags: [...HOW_FLAGS, ...WHAT_FLAGS, ...CALENDAR_FLAGS, ...MAIL_FLAGS]
2843
2862
  });
2844
2863
 
2845
- // 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
2864
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2846
2865
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
2847
2866
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
2848
2867
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -3065,7 +3084,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
3065
3084
  }
3066
3085
  }, "runCommandForAgent");
3067
3086
 
3068
- // 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
3087
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3069
3088
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
3070
3089
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
3071
3090
  var message = pipe(
@@ -3324,7 +3343,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
3324
3343
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
3325
3344
  }, "failed");
3326
3345
 
3327
- // 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
3346
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3328
3347
  import { randomUUID } from "node:crypto";
3329
3348
  var MATCHES = 8;
3330
3349
  var ANSWER = answerSchema();
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // 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/errors.js
7
+ // 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/errors.js
8
8
  var errorCodes = [
9
9
  "validation_error",
10
10
  "configuration_error",
@@ -19,6 +19,7 @@ var errorCodes = [
19
19
  "provider_unavailable",
20
20
  "invalid_response",
21
21
  "outcome_unknown",
22
+ "conflict",
22
23
  "cancelled"
23
24
  ];
24
25
  var BRAND = /* @__PURE__ */ Symbol.for("@wirecat/cli-base/CliError");
@@ -8,12 +8,12 @@ import {
8
8
  ACCESS_SECONDS,
9
9
  REFRESH_SECONDS,
10
10
  readStored
11
- } from "./chunk-LN2S3RA3.js";
11
+ } from "./chunk-MWEOVTIF.js";
12
12
  import {
13
13
  __name
14
14
  } from "./chunk-ZVVMGPBJ.js";
15
15
 
16
- // 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/http/oauth.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
17
17
  import { createHash, randomBytes, randomInt, timingSafeEqual } from "node:crypto";
18
18
  import { chmodSync, mkdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
19
19
  import { dirname } from "node:path";
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // 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/executable.js
7
+ // 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/executable.js
8
8
  import { existsSync } from "node:fs";
9
9
  import { win32 } from "node:path";
10
10
  var variable = /* @__PURE__ */ __name((env, name) => Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1], "variable");
@@ -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-S6S3KVJI.js";
5
+ } from "./chunk-WZ5XK74U.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
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/tasks/model.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/tasks/model.js
11
11
  var TASK_KINDS = ["question", "request", "mention", "promise"];
12
12
  var TASK_STATES = ["open", "todo", "in_progress", "done", "dismissed"];
13
13
  var CLOSED_STATES = ["done", "dismissed"];
@@ -22,7 +22,7 @@ function closeTask(task, state, by, at, reason) {
22
22
  }
23
23
  __name(closeTask, "closeTask");
24
24
 
25
- // 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/tasks/priority.js
25
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/tasks/priority.js
26
26
  var PRIORITY_LABELS = ["low", "medium", "high", "critical"];
27
27
  var MIDDLE = { low: 0.125, medium: 0.375, high: 0.625, critical: 0.875 };
28
28
  var LEGACY_PRIORITY_SCORES = [0.875, 0.625, 0.375, 0.1875, 0.0625];
@@ -51,7 +51,7 @@ var priorityOf = /* @__PURE__ */ __name((value) => {
51
51
  }, "priorityOf");
52
52
  var priorityOption = /* @__PURE__ */ __name((value) => priorityOf(value) ?? "none", "priorityOption");
53
53
 
54
- // 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/tasks/service.js
54
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/tasks/service.js
55
55
  function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
56
56
  async function find(id) {
57
57
  const task = await store.get(id);
@@ -111,13 +111,13 @@ function median(values) {
111
111
  }
112
112
  __name(median, "median");
113
113
 
114
- // 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/tasks/store.js
114
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/tasks/store.js
115
115
  function matches(task, filter) {
116
116
  return (filter.account === void 0 || task.account === filter.account) && (filter.state === void 0 || task.state === filter.state) && (filter.group === void 0 || task.group === filter.group) && (filter.kind === void 0 || task.kind === filter.kind) && (filter.createdBefore === void 0 || task.createdAt < filter.createdBefore);
117
117
  }
118
118
  __name(matches, "matches");
119
119
 
120
- // 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/knowledge.js
120
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
121
121
  var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
122
122
  var MEMORY_KINDS = ["summary", "digest", "preference"];
123
123
  var MEMORY_STATUSES = ["proposed", "confirmed", "stale", "superseded"];
@@ -125,7 +125,7 @@ var MEMORY_SCOPES = ["personal", "work"];
125
125
  var WORK_TASK_TYPES = ["bug", "feature", "chore"];
126
126
  var TASK_TYPES = [...WORK_TASK_TYPES, ...TASK_KINDS];
127
127
 
128
- // 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/link-kinds.js
128
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
129
129
  var LINK_KINDS = [
130
130
  "links-to",
131
131
  "blocked-by",
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-S6S3KVJI.js";
5
+ } from "./chunk-WZ5XK74U.js";
6
6
  import {
7
7
  singleLine
8
- } from "./chunk-UYV2JGLQ.js";
8
+ } from "./chunk-6IBM4Z3V.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
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/domain/tags.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/domain/tags.js
14
14
  var TAG_TYPES = ["chat", "contact", "message", "task"];
15
15
  var TAG = /^[a-z0-9-]{1,32}$/;
16
16
  var tagOf = /* @__PURE__ */ __name((value) => {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
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/store/sqlite/drizzle/shared-55XJMTPA.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
8
8
  var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
9
9
  var kindsByConstructor = /* @__PURE__ */ new WeakMap();
10
10
  function collectKinds(ctor) {
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  QUERY_REASONS
5
- } from "./chunk-SU4WPBQE.js";
5
+ } from "./chunk-AAZFLJSH.js";
6
6
  import {
7
7
  defineReasons
8
- } from "./chunk-N67BLTBV.js";
8
+ } from "./chunk-NTZDM5SJ.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
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/errors/reasons.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/errors/reasons.js
14
14
  var validation = /* @__PURE__ */ __name((reason, message) => [reason, "validation_error", message], "validation");
15
15
  var QUERY = [
16
16
  ["query.aborted", "the search was stopped before it finished"],
@@ -40,7 +40,19 @@ var SIGN_IN = [
40
40
  ["oauth.invalid", "authentication_error", "the saved sign-in cannot be read"],
41
41
  ["oauth.not-saved", "configuration_error", "the sign-in cannot be saved or read where it is kept"],
42
42
  ["sign-in.client-file-open", "configuration_error", "other users of this computer can read the client file"],
43
- ["sign-in.client-file-invalid", "configuration_error", "the file is not a Desktop app OAuth client JSON"]
43
+ ["sign-in.client-file-invalid", "configuration_error", "the file is not a Desktop app OAuth client JSON"],
44
+ ["oauth.scope-missing", "permission_error", "the sign-in lacks a permission this command needs"],
45
+ ["sign-in.client-rejected", "configuration_error", "the provider rejected the OAuth client"],
46
+ ["sign-in.secret-without-id", "configuration_error", "an OAuth client secret is set without its client id"]
47
+ ];
48
+ var PROVIDER_API = [
49
+ ["offline.refused", "permission_error", "this command needs the provider; --offline was given"],
50
+ validation("api.unknown-method", "the provider has no method by this name"),
51
+ ["api.disabled", "configuration_error", "the provider's API is turned off for this OAuth project"],
52
+ ["provider.usage-limit", "rate_limited", "the account's usage limit at the provider is reached; wait, do not retry"],
53
+ ["file.not-found", "not_found", "the file named, or its folder, does not exist"],
54
+ validation("file.not-a-file", "the path names a folder or another thing that is not a file"),
55
+ ["file.denied", "permission_error", "the file cannot be opened: permission denied"]
44
56
  ];
45
57
  var OTHERS = [
46
58
  ["query.time-limit", "timeout", "the search took longer than its time limit; the query itself is valid"],
@@ -54,19 +66,35 @@ var OTHERS = [
54
66
  validation("meeting-findings.stale", "meeting findings changed since they were read; stage a new batch"),
55
67
  validation("meeting-findings.dedicated-review", "review meeting findings through the dedicated findings command"),
56
68
  validation("evidence-findings.stale", "evidence findings changed since they were read; stage a new batch"),
69
+ validation("mail-findings.stale", "mail findings cite mail that changed since it was read; stage a new batch"),
70
+ ["mail-findings.not-stored", "not_found", "a mail finding cites an email the store does not hold"],
71
+ validation("mail-findings.partial", "a cited email is not stored whole yet; cite it once it is"),
57
72
  validation("evidence-findings.dedicated-review", "review evidence findings through the dedicated findings command"),
73
+ validation("mail-findings.dedicated-review", "review mail findings through the dedicated findings command"),
58
74
  validation("document.changed", "the document changed while it was read; nothing was saved"),
59
75
  ["document.not-imported", "not_found", "the document is not imported in this source account"],
60
76
  ["extraction.invalid-proposals", "invalid_response", "the model's memory proposals could not be used"],
61
77
  validation("extraction.text-too-long", "the text is too long for memory extraction"),
62
78
  validation("file.locked", "another process holds the file's lock"),
79
+ validation("mail.cursor-ahead", "an acknowledge cursor is past the newest stored email"),
80
+ ["mail.holder-not-yours", "permission_error", "a run moves only the mark of the holder its schedule names"],
63
81
  ["mail.source-failed", "provider_error", "the mail server refused or did not complete a request"],
64
82
  ["mail.search-refused", "provider_error", "the mail server refused to search a folder"],
83
+ [
84
+ "mail.attachments-unread",
85
+ "provider_unavailable",
86
+ "the email could not be read again, so its skipped attachments have no text"
87
+ ],
65
88
  ["mirror.partial", "provider_error", "some mirrored files were not synced"],
66
89
  ["profile.wrong-account", "authentication_error", "the signed-in source account does not match this profile"],
67
90
  validation("push.too-many-files", "the folder holds more files than one push takes"),
68
91
  validation("push.unreadable", "the folder to push could not be read"),
69
92
  validation("spreadsheet.unreadable", "the workbook could not be read"),
93
+ [
94
+ "config.unrepairable",
95
+ "configuration_error",
96
+ "the settings file's damage has more than one reading; nothing was changed, so it is fixed by hand"
97
+ ],
70
98
  ["state.invalid", "configuration_error", "the saved sync state is unreadable or invalid; it is kept, not reset"],
71
99
  ["sync.partial", "provider_error", "some calendars did not sync; the next sync retries them"],
72
100
  validation("event.conflict", "the event changed at the provider since the last sync; sync and try again"),
@@ -84,6 +112,7 @@ var OTHERS = [
84
112
  validation("event.repeat-split", "the series cannot be split at this occurrence, or was split there already"),
85
113
  validation("event.repeat-count", "a COUNT series is split only with a rule for its new part"),
86
114
  validation("event.unmovable", "the provider keeps this kind of event on its calendar"),
115
+ validation("event.quick-add-ambiguous", "more than one event could be the one a lost quick add made"),
87
116
  validation("event.text-with-fields", "--text takes the whole event from its line, so no field option goes with it"),
88
117
  validation("calendar.ambiguous", "two or more calendars have this name; name one by its id"),
89
118
  validation("export.too-many", "the query finds more events than one export writes"),
@@ -110,6 +139,7 @@ var OTHERS = [
110
139
  ["meetings.index-pending", "not_found", "some stored meetings are not indexed by person yet"],
111
140
  ["profile.locked", "permission_error", "a profile lock pins this process to its own account"],
112
141
  ["busy.offline", "permission_error", "calendars busy asks the provider; --offline was given"],
142
+ ["busy.unanswered", "provider_error", "the provider gave no busy times for a calendar or person that was asked"],
113
143
  validation("busy.no-calendars", "no calendar syncs and no person was named, so there is nobody to ask"),
114
144
  ["search.offline", "permission_error", "search --backend server asks the provider; --offline was given"],
115
145
  validation("search.no-calendars", "no calendar of this profile syncs yet, so the provider has nothing to search"),
@@ -143,8 +173,36 @@ var OTHERS = [
143
173
  validation("input.required", "the command needs an answer and cannot ask for one"),
144
174
  validation("input.too-large", "the input is over its size limit"),
145
175
  ["meeting-project.stale", "configuration_error", "the meeting's project changed meanwhile"],
176
+ validation("fact.not-accepted", "only an accepted fact can be unconfirmed"),
177
+ validation("fact.owner-written", "the owner wrote this fact; it was never proposed, so it cannot be unconfirmed"),
178
+ validation("fact.payment-retired", "a payment is a payments row in store.finance, not a fact"),
179
+ validation("fact.unconfirm-correction", "an accepted correction cannot be unconfirmed; its superseded fact stays"),
180
+ validation("finance.allocate", "the invoice or payment cannot take an allocation in its state"),
181
+ validation("finance.currency", "the payment and the invoice are in different currencies; nothing is converted"),
182
+ validation("finance.field", "a field of the invoice or payment is not valid"),
183
+ validation("finance.line-amount", "the line's amount is not its quantity times its unit price"),
184
+ validation("finance.lines", "the invoice's lines are not valid"),
185
+ validation("finance.over-invoice", "the allocation would settle more than the invoice's total"),
186
+ validation("finance.over-payment", "the allocation would use more than the payment's amount"),
187
+ ["finance.owner-only", "permission_error", "only the owner does this with money"],
188
+ validation("finance.party", "a party is a person: or organization: reference"),
189
+ validation("finance.ref", "the reference names no invoice or payment"),
190
+ validation("finance.status", "the invoice's status does not allow this"),
191
+ validation("finance.total", "the invoice's total is not the sum of its lines"),
192
+ validation("record.entity", "the invoice or payment the record stands for was refused"),
193
+ ["record.map-owner-only", "permission_error", "only the owner says which entity a source record is"],
194
+ validation("record.map-type", "a record maps only to an entity of its own type"),
195
+ validation("record.mapped", "the record already stands for another entity"),
196
+ validation("record.not-found", "the store holds no such record to delete"),
197
+ validation("record.invalid", "a field of the record is not the kind the entity needs"),
198
+ validation("record.reference-not-found", "a reference in the record's fields is not in the store"),
199
+ validation("record.relation-ambiguous", "the record names more than one target for a role that takes one"),
200
+ validation("record.stale-revision", "the store holds a newer revision of the record"),
146
201
  validation("memory.evidence-required", "a memory needs its evidence"),
147
202
  validation("memory.scope-required", "a memory needs its scope"),
203
+ validation("money.amount", "the amount is not a decimal string in the currency's scale"),
204
+ validation("money.currency", "the currency is not one the store keeps money in"),
205
+ validation("money.quantity", "the quantity is not a decimal above 0"),
148
206
  ["model.not-downloaded", "not_found", "the model is not downloaded on this machine"],
149
207
  ["person.no-owner", "not_found", "no person is marked as the owner in the store"],
150
208
  ["transcription.no-key", "authentication_error", "no OpenAI key is set for transcription"],
@@ -192,12 +250,12 @@ var OTHERS = [
192
250
  validation("task.category-unknown", "the category is not in the task category list"),
193
251
  validation("task.claimed", "someone else holds the task"),
194
252
  validation("task.closed", "the task is already closed"),
195
- ["task.stale", "configuration_error", "the task changed since it was read; read it again"],
253
+ ["task.stale", "conflict", "the task changed since it was read; read it again"],
196
254
  validation("task.column", "the task beside which it moves is in another column than the status asked for"),
197
255
  validation("task.dependency-cycle", "the task would depend on itself"),
198
- validation("task.has-subtasks", "the task has subtasks; move or detach them before it moves to another project"),
199
- validation("task.is-subtask", "a subtask moves to another project only when it is detached from its parent in the same write"),
256
+ validation("task.is-subtask", "a subtask moves to another project alone only when it is detached from its parent in the same write"),
200
257
  validation("task.duplicate-candidates", "open tasks may be the same job: attach to one, or add it as new"),
258
+ validation("task.already-read", "the message was already read for tasks: a read again only updates and closes tasks unless --open-new"),
201
259
  validation("task.certainty-required", "an agent closes a task with its certainty, 0 to 1"),
202
260
  ["task.pair-decided", "permission_error", "the owner already decided the pair; an agent does not change it"],
203
261
  validation("task.no-close-suggestion", "the task has no agent's close waiting on the owner"),
@@ -228,7 +286,7 @@ var INPUT_FIELD_REASONS = defineReasons([
228
286
  var REASONS = defineReasons([
229
287
  ...QUERY_REASONS,
230
288
  ...INPUT_FIELD_REASONS,
231
- ...[...QUERY, ...SIGN_IN, ...OTHERS].map(([reason, code, message]) => ({
289
+ ...[...QUERY, ...SIGN_IN, ...PROVIDER_API, ...OTHERS].map(([reason, code, message]) => ({
232
290
  reason,
233
291
  code,
234
292
  message,
@@ -250,9 +308,11 @@ var DETAILS = [
250
308
  "chat",
251
309
  "chat_id",
252
310
  "cli",
311
+ "column",
253
312
  "complete",
254
313
  "emitted_bytes",
255
314
  "exact",
315
+ "file",
256
316
  "forum",
257
317
  "guide",
258
318
  "hint",
@@ -261,6 +321,7 @@ var DETAILS = [
261
321
  "kind",
262
322
  "limit",
263
323
  "limit_source",
324
+ "line",
264
325
  "max_bytes",
265
326
  "model",
266
327
  "name",
@@ -268,7 +329,6 @@ var DETAILS = [
268
329
  "operation_ids",
269
330
  "text_limit",
270
331
  "store_refused_in",
271
- "subtasks",
272
332
  "partial_output",
273
333
  "parent",
274
334
  "path",