@wirecat/zoom-cli 0.65.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 (194) 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/bin/zm.js.map +1 -1
  8. package/dist/bundle/{all-profiles-SKMLZJSY.js → all-profiles-SEW2VL76.js} +12 -8
  9. package/dist/bundle/answer-policy-5OYUL6UF.js +103 -0
  10. package/dist/bundle/{anthropic-TVHK7CY2.js → anthropic-FSNASJML.js} +7 -4
  11. package/dist/bundle/{app-server-44ASFH47.js → app-server-EVSRYJ3H.js} +66 -59
  12. package/dist/bundle/{bun-O4WHGL2F.js → bun-DACL5SVO.js} +2 -2
  13. package/dist/bundle/{bun-sqlite-NS32GMM4.js → bun-sqlite-HQ2KOXSI.js} +6 -3
  14. package/dist/bundle/chunk-2UW533HQ.js +166 -0
  15. package/dist/bundle/{chunk-FYJL276J.js → chunk-3GO3KME7.js} +3 -3
  16. package/dist/bundle/{chunk-Z5424QL6.js → chunk-3ZIHUSMM.js} +2 -2
  17. package/dist/bundle/{chunk-MRWIXUYT.js → chunk-4GCKDO2H.js} +5 -3
  18. package/dist/bundle/{chunk-7SQJCKR6.js → chunk-4KDZ22RA.js} +1 -1
  19. package/dist/bundle/{chunk-25IDWPEN.js → chunk-4U2555EQ.js} +35 -31
  20. package/dist/bundle/{chunk-UKU6MYUI.js → chunk-4UVT2QCO.js} +9 -20
  21. package/dist/bundle/{chunk-ZOGYTDHG.js → chunk-4ZR5DJ26.js} +5 -3
  22. package/dist/bundle/{chunk-CVCRQW3A.js → chunk-54RTMQL6.js} +4 -4
  23. package/dist/bundle/chunk-6AJDVJVZ.js +35 -0
  24. package/dist/bundle/chunk-6IBM4Z3V.js +34 -0
  25. package/dist/bundle/{chunk-CNEE6TPE.js → chunk-6TZF2JP7.js} +13 -13
  26. package/dist/bundle/{chunk-QLCYAQ66.js → chunk-6UFWFKFH.js} +2 -2
  27. package/dist/bundle/chunk-6VFORXL3.js +101 -0
  28. package/dist/bundle/{chunk-M6IDHQ7N.js → chunk-7HAIM7GV.js} +1633 -683
  29. package/dist/bundle/{chunk-FYM27FCG.js → chunk-7K5TDTZY.js} +13 -7
  30. package/dist/bundle/{chunk-NO24PJNW.js → chunk-7LLUUXJB.js} +1 -1
  31. package/dist/bundle/{chunk-VJTGYBJJ.js → chunk-7VU5UGRR.js} +37 -29
  32. package/dist/bundle/{chunk-ZH743WNV.js → chunk-AAZFLJSH.js} +25 -24
  33. package/dist/bundle/{chunk-DYJXAY7Q.js → chunk-ASCHAVNW.js} +35 -27
  34. package/dist/bundle/{chunk-EA63UGWE.js → chunk-B3KWAULD.js} +2 -2
  35. package/dist/bundle/{chunk-H7762LDA.js → chunk-B5Z4XPVS.js} +2 -2
  36. package/dist/bundle/{chunk-UPJXN2CO.js → chunk-BKY4XVB4.js} +1787 -1224
  37. package/dist/bundle/{chunk-QI7BZS2G.js → chunk-C6UKW7JO.js} +6 -6
  38. package/dist/bundle/{chunk-U3ZUT557.js → chunk-CLEZE65P.js} +1 -1
  39. package/dist/bundle/{chunk-37PHGASE.js → chunk-CRLBTNC4.js} +5 -3
  40. package/dist/bundle/{chunk-VH4F2EK4.js → chunk-D4KBD63W.js} +1 -1
  41. package/dist/bundle/{chunk-DNCKH7CO.js → chunk-D6OXI2NV.js} +17 -17
  42. package/dist/bundle/{chunk-LPUFOWL3.js → chunk-D72URWJE.js} +1 -39
  43. package/dist/bundle/{chunk-GMTXCFI7.js → chunk-DFUPETW7.js} +449 -308
  44. package/dist/bundle/{chunk-VW2SW7ME.js → chunk-DG4DWAU7.js} +3 -3
  45. package/dist/bundle/{chunk-U5ASRBBF.js → chunk-EPDRF66S.js} +4 -4
  46. package/dist/bundle/{chunk-BNXH73OU.js → chunk-EQ7XRRKV.js} +14 -12
  47. package/dist/bundle/{chunk-5NGOP4EZ.js → chunk-ESFMHBHH.js} +38 -35
  48. package/dist/bundle/{chunk-GEX4V5TM.js → chunk-EUPZSR2G.js} +4 -4
  49. package/dist/bundle/{chunk-KZE3G4ZT.js → chunk-FGTPREAZ.js} +58 -54
  50. package/dist/bundle/{chunk-MH7AWCB4.js → chunk-FWU3ZYHE.js} +68 -64
  51. package/dist/bundle/{chunk-MPKKIL3U.js → chunk-FXQPK742.js} +63 -21
  52. package/dist/bundle/{chunk-PV3UDPCI.js → chunk-GP4NSYDU.js} +20 -14
  53. package/dist/bundle/{chunk-ZFNM3FNI.js → chunk-I7SOXH64.js} +75 -38
  54. package/dist/bundle/{chunk-S4GDDO5S.js → chunk-IFDO3YPJ.js} +1 -1
  55. package/dist/bundle/{chunk-LOL6JYYN.js → chunk-J3ZBEWQY.js} +375 -9
  56. package/dist/bundle/chunk-JVCHGI7W.js +37 -0
  57. package/dist/bundle/{chunk-MZ6U6HNJ.js → chunk-KANH7GBB.js} +2 -2
  58. package/dist/bundle/{chunk-3CZIWGZ6.js → chunk-KIJLM5UL.js} +1 -1
  59. package/dist/bundle/chunk-KV4267S4.js +23 -0
  60. package/dist/bundle/{chunk-266WOOB3.js → chunk-KWRSC6O6.js} +6 -6
  61. package/dist/bundle/{chunk-C6BG57FA.js → chunk-L643D4RJ.js} +14 -12
  62. package/dist/bundle/{chunk-IPTI3Y2E.js → chunk-L6CAUVMU.js} +7 -5
  63. package/dist/bundle/{chunk-MIB5X2XW.js → chunk-L6WUAGPN.js} +5 -5
  64. package/dist/bundle/{chunk-BWRBALXG.js → chunk-LFQ73UFK.js} +3 -3
  65. package/dist/bundle/{chunk-GBZF4IIP.js → chunk-LKJXTACE.js} +10 -89
  66. package/dist/bundle/{chunk-T3KICUOK.js → chunk-LM26DJOK.js} +8 -8
  67. package/dist/bundle/{chunk-GXCNCMUY.js → chunk-M43MBWJX.js} +3260 -1263
  68. package/dist/bundle/{chunk-TC7PD3LH.js → chunk-MWEOVTIF.js} +4 -4
  69. package/dist/bundle/chunk-NTZDM5SJ.js +2462 -0
  70. package/dist/bundle/{chunk-ERPRAYA7.js → chunk-OTMGAKUM.js} +11 -7
  71. package/dist/bundle/chunk-OZEYFJX2.js +93 -0
  72. package/dist/bundle/{chunk-NJSIHMAE.js → chunk-Q65SDEFN.js} +4 -4
  73. package/dist/bundle/{chunk-UMHJZWZU.js → chunk-QEI55M2F.js} +12 -10
  74. package/dist/bundle/{chunk-SQWRZZOQ.js → chunk-QX2MAT6I.js} +3 -3
  75. package/dist/bundle/{chunk-ZXGRK44F.js → chunk-RAMPYIO2.js} +17 -12
  76. package/dist/bundle/{chunk-BLT3LR3U.js → chunk-RYKG6AEH.js} +1 -1
  77. package/dist/bundle/{chunk-WLSF3GCC.js → chunk-SCFFCIIP.js} +4 -2
  78. package/dist/bundle/{chunk-2H5SXK7K.js → chunk-SMVO5R3T.js} +21 -19
  79. package/dist/bundle/{chunk-Y3EIK4XW.js → chunk-SOZVC3SV.js} +1 -1
  80. package/dist/bundle/{chunk-6CS7ETBK.js → chunk-SSXCOUP3.js} +1114 -282
  81. package/dist/bundle/{chunk-R5BAF5XE.js → chunk-SXFODCYK.js} +1 -1
  82. package/dist/bundle/{chunk-JF7ZEUXU.js → chunk-T6CZWSHF.js} +136 -2540
  83. package/dist/bundle/{chunk-KYLS5QGC.js → chunk-TBRG2DPE.js} +2 -2
  84. package/dist/bundle/{chunk-K6ATTKQR.js → chunk-V33VGWT3.js} +5 -5
  85. package/dist/bundle/{chunk-RZLNHNSS.js → chunk-VFIEYRYD.js} +8 -8
  86. package/dist/bundle/{chunk-OXUHTKO2.js → chunk-VNIBTNV4.js} +3 -2
  87. package/dist/bundle/{chunk-ZREFYKUB.js → chunk-VQTAU4DV.js} +13 -11
  88. package/dist/bundle/{chunk-NNNEVWFF.js → chunk-WHQ4ZCJI.js} +57 -34
  89. package/dist/bundle/chunk-WZ5XK74U.js +46 -0
  90. package/dist/bundle/{chunk-XJQB47IL.js → chunk-X67YD3QI.js} +6 -6
  91. package/dist/bundle/chunk-YPF6OS37.js +46 -0
  92. package/dist/bundle/{chunk-AMMD6YCJ.js → chunk-YRNZT4GQ.js} +7 -7
  93. package/dist/bundle/{chunk-TUIEDVI6.js → chunk-Z3WXI4DK.js} +5 -3
  94. package/dist/bundle/{chunk-U4RVOSX3.js → chunk-ZMPTO2WB.js} +1 -1
  95. package/dist/bundle/{chunk-24F7JBLY.js → chunk-ZRMZBMOF.js} +69 -9
  96. package/dist/bundle/{cli-FDO6CP6R.js → cli-YUATSOLA.js} +113 -81
  97. package/dist/bundle/command-contract-UWHY55UE.js +41 -0
  98. package/dist/bundle/config-TGF6E6ZD.js +89 -0
  99. package/dist/bundle/{decode-7SZI3TGZ.js → decode-IL44LNC3.js} +6 -3
  100. package/dist/bundle/dispatch-3BGIXSJR.js +412 -0
  101. package/dist/bundle/{dist-5GWUXW27.js → dist-3W27UQ2S.js} +48 -16
  102. package/dist/bundle/{echarts-FMACRZQC.js → echarts-CO4D26JF.js} +2 -2
  103. package/dist/bundle/{embed-24YSXHLP.js → embed-XH2X4DFM.js} +7 -4
  104. package/dist/bundle/{embedder-MEXN2TFB.js → embedder-WTFWDXBJ.js} +12 -9
  105. package/dist/bundle/failure-HTIS3NLS.js +25 -0
  106. package/dist/bundle/first-run-5RBH7FDO.js +28 -0
  107. package/dist/bundle/first-screen-PGFIXJAX.js +39 -0
  108. package/dist/bundle/{folders-DBAAMU26.js → folders-F4DNQPIY.js} +5 -2
  109. package/dist/bundle/{instructions-E5FXYCWF.js → instructions-EPPBL6TT.js} +1 -1
  110. package/dist/bundle/{main-EIUCXXDW.js → main-LVQTCDZS.js} +31 -25
  111. package/dist/bundle/{mcp-FUSDPAOL.js → mcp-PPVOM4SE.js} +5 -3
  112. package/dist/bundle/{meetings-JDTRGXZJ.js → meetings-BMELXRTR.js} +31 -4
  113. package/dist/bundle/{node-4SNKUPXT.js → node-CQVMWVIG.js} +2 -2
  114. package/dist/bundle/{node-sqlite-O4BAODFR.js → node-sqlite-QQEX7LZT.js} +7 -4
  115. package/dist/bundle/{oauth-3YLHXGUW.js → oauth-AYGX7CQS.js} +8 -5
  116. package/dist/bundle/{open-QGRMSNM2.js → open-MIL2TOT6.js} +6 -3
  117. package/dist/bundle/openai-7QZZXQW5.js +25 -0
  118. package/dist/bundle/{output-file-J26UQKRA.js → output-file-4XADZPYH.js} +7 -4
  119. package/dist/bundle/{process-HQZOTT6U.js → process-NJVQK6GB.js} +1 -1
  120. package/dist/bundle/{program-47DT7SHE.js → program-WUYRS6H7.js} +191 -135
  121. package/dist/bundle/{prompt-IUD7HCDC.js → prompt-J4QPFLEA.js} +6 -3
  122. package/dist/bundle/{recognize-DMJJHHXF.js → recognize-OLJZVNWW.js} +5 -2
  123. package/dist/bundle/{remote-5WFSOVVB.js → remote-JPUXNYLV.js} +8 -5
  124. package/dist/bundle/{rerank-UKQ65ECH.js → rerank-XVV3X5TT.js} +8 -5
  125. package/dist/bundle/run-log-DJXBEVS5.js +118 -0
  126. package/dist/bundle/{serve-WAOSED3I.js → serve-NYYUO3MR.js} +16 -13
  127. package/dist/bundle/{server-NWZFNXC5.js → server-4Z5E4YTT.js} +48 -42
  128. package/dist/bundle/server-VW5UVCH7.js +72 -0
  129. package/dist/bundle/{services-VPANRE72.js → services-EKWM76HP.js} +50 -28
  130. package/dist/bundle/{speech-O6UNUDRW.js → speech-WFJ44ACJ.js} +14 -11
  131. package/dist/bundle/{state-BNE7I65A.js → state-VIRCT4VW.js} +7 -4
  132. package/dist/bundle/{store-4IIVSCJ4.js → store-2Q4GEZJS.js} +30 -18
  133. package/dist/bundle/{store-QQH4FJXJ.js → store-ZTDZ6UY5.js} +20 -14
  134. package/dist/bundle/store-connection-FKVVQLEF.js +83 -0
  135. package/dist/bundle/store-maintenance-command-AU73UVUQ.js +62 -0
  136. package/dist/bundle/{streaming-S4EZB6P2.js → streaming-7BPKIGAS.js} +7 -4
  137. package/dist/bundle/{tokens-VCXIH7WZ.js → tokens-CQHMMKNX.js} +7 -4
  138. package/dist/bundle/zm.js +150 -1
  139. package/dist/bundle/zoom-app-OEKFMJS6.js +25 -0
  140. package/dist/config.d.ts +9 -0
  141. package/dist/config.d.ts.map +1 -1
  142. package/dist/config.js +46 -7
  143. package/dist/config.js.map +1 -1
  144. package/dist/meeting-source.d.ts.map +1 -1
  145. package/dist/meeting-source.js +2 -1
  146. package/dist/meeting-source.js.map +1 -1
  147. package/dist/meeting-stats-commands.d.ts +4 -2
  148. package/dist/meeting-stats-commands.d.ts.map +1 -1
  149. package/dist/meeting-stats-commands.js +27 -2
  150. package/dist/meeting-stats-commands.js.map +1 -1
  151. package/dist/program-bindings.d.ts.map +1 -1
  152. package/dist/program-bindings.js +3 -2
  153. package/dist/program-bindings.js.map +1 -1
  154. package/dist/recording-schedule-setup.d.ts.map +1 -1
  155. package/dist/recording-schedule-setup.js +5 -5
  156. package/dist/recording-schedule-setup.js.map +1 -1
  157. package/dist/run.d.ts.map +1 -1
  158. package/dist/run.js +2 -6
  159. package/dist/run.js.map +1 -1
  160. package/dist/setup-commands.d.ts +1 -1
  161. package/dist/setup-commands.d.ts.map +1 -1
  162. package/dist/setup-commands.js +30 -8
  163. package/dist/setup-commands.js.map +1 -1
  164. package/dist/store-commands.d.ts.map +1 -1
  165. package/dist/store-commands.js +6 -0
  166. package/dist/store-commands.js.map +1 -1
  167. package/dist/store-connection.d.ts +2 -1
  168. package/dist/store-connection.d.ts.map +1 -1
  169. package/dist/store-connection.js +4 -0
  170. package/dist/store-connection.js.map +1 -1
  171. package/dist/version.d.ts +1 -1
  172. package/dist/version.js +1 -1
  173. package/dist/watch-service.d.ts +1 -1
  174. package/dist/watch-service.d.ts.map +1 -1
  175. package/dist/watch-service.js +5 -3
  176. package/dist/watch-service.js.map +1 -1
  177. package/dist/zoom-app.d.ts +17 -0
  178. package/dist/zoom-app.d.ts.map +1 -0
  179. package/dist/zoom-app.js +22 -0
  180. package/dist/zoom-app.js.map +1 -0
  181. package/package.json +6 -4
  182. package/skills/zoom-cli/SKILL.md +4 -1
  183. package/dist/bundle/answer-policy-BHDNSJWX.js +0 -96
  184. package/dist/bundle/chunk-A6OA2EH2.js +0 -18
  185. package/dist/bundle/command-contract-O4FDXM4U.js +0 -37
  186. package/dist/bundle/config-UBHKZG3J.js +0 -78
  187. package/dist/bundle/first-run-OCVEJH63.js +0 -23
  188. package/dist/bundle/first-screen-KJIU25MH.js +0 -35
  189. package/dist/bundle/openai-7PSCSTH7.js +0 -22
  190. package/dist/bundle/run-log-UGYL6NW2.js +0 -111
  191. package/dist/bundle/server-HAXN772R.js +0 -66
  192. package/dist/bundle/store-connection-PPEQK2K3.js +0 -76
  193. package/dist/bundle/store-maintenance-command-JZXCT6NY.js +0 -56
  194. /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-LU3WKZBA.js} +0 -0
@@ -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-JF7ZEUXU.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",
@@ -1,14 +1,16 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
- CliError,
4
+ CliError
5
+ } from "./chunk-WZ5XK74U.js";
6
+ import {
5
7
  singleLine
6
- } from "./chunk-JF7ZEUXU.js";
8
+ } from "./chunk-6IBM4Z3V.js";
7
9
  import {
8
10
  __name
9
11
  } from "./chunk-ZVVMGPBJ.js";
10
12
 
11
- // 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
12
14
  var TAG_TYPES = ["chat", "contact", "message", "task"];
13
15
  var TAG = /^[a-z0-9-]{1,32}$/;
14
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-ZH743WNV.js";
5
+ } from "./chunk-AAZFLJSH.js";
6
6
  import {
7
7
  defineReasons
8
- } from "./chunk-JF7ZEUXU.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",