@wirecat/zoom-cli 0.67.0 → 0.69.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 (180) hide show
  1. package/dist/answer-entities.d.ts +18 -0
  2. package/dist/answer-entities.d.ts.map +1 -1
  3. package/dist/answer-entities.js +12 -0
  4. package/dist/answer-entities.js.map +1 -1
  5. package/dist/answer-policy.d.ts.map +1 -1
  6. package/dist/answer-policy.js +2 -1
  7. package/dist/answer-policy.js.map +1 -1
  8. package/dist/bin/zm.js +2 -2
  9. package/dist/bundle/{all-profiles-SEW2VL76.js → all-profiles-ZQWPCJEK.js} +12 -12
  10. package/dist/bundle/answer-policy-VBDYLUXI.js +104 -0
  11. package/dist/bundle/{anthropic-FSNASJML.js → anthropic-7FUQ2HYJ.js} +7 -7
  12. package/dist/bundle/{app-server-EVSRYJ3H.js → app-server-DNPE2EQB.js} +61 -58
  13. package/dist/bundle/{bun-DACL5SVO.js → bun-ZVQFCFCC.js} +2 -2
  14. package/dist/bundle/{bun-sqlite-HQ2KOXSI.js → bun-sqlite-EB2UMUPJ.js} +6 -6
  15. package/dist/bundle/{chunk-4ZR5DJ26.js → chunk-2SYWVIQJ.js} +3 -3
  16. package/dist/bundle/chunk-37B7A4RP.js +66 -0
  17. package/dist/bundle/{chunk-WHQ4ZCJI.js → chunk-3TPRYZUW.js} +214 -86
  18. package/dist/bundle/{chunk-L6CAUVMU.js → chunk-4APZQYCH.js} +5 -5
  19. package/dist/bundle/{chunk-ASCHAVNW.js → chunk-52DCABMU.js} +27 -27
  20. package/dist/bundle/{chunk-LM26DJOK.js → chunk-5GOE6PQK.js} +6 -6
  21. package/dist/bundle/{chunk-QX2MAT6I.js → chunk-5H6VTEEC.js} +3 -3
  22. package/dist/bundle/{chunk-V33VGWT3.js → chunk-5ZF6QVMC.js} +16 -6
  23. package/dist/bundle/{chunk-GP4NSYDU.js → chunk-5ZJXKASF.js} +254 -13
  24. package/dist/bundle/chunk-6AMMTXEA.js +12473 -0
  25. package/dist/bundle/{chunk-Q65SDEFN.js → chunk-6KMTQX3D.js} +2 -2
  26. package/dist/bundle/{chunk-TBRG2DPE.js → chunk-6N2D6JGX.js} +2 -2
  27. package/dist/bundle/{chunk-X67YD3QI.js → chunk-6TICX3MN.js} +2 -2
  28. package/dist/bundle/{chunk-4GCKDO2H.js → chunk-7AUP2WT3.js} +3 -3
  29. package/dist/bundle/{chunk-JVCHGI7W.js → chunk-B5D7NZI7.js} +1 -1
  30. package/dist/bundle/{chunk-AAZFLJSH.js → chunk-B6JMVB6R.js} +10 -10
  31. package/dist/bundle/{chunk-CRLBTNC4.js → chunk-BL36NSV5.js} +3 -3
  32. package/dist/bundle/{chunk-4UVT2QCO.js → chunk-BOAMDYLY.js} +4 -4
  33. package/dist/bundle/{chunk-VQTAU4DV.js → chunk-C6TEYKXV.js} +8 -8
  34. package/dist/bundle/{chunk-6AJDVJVZ.js → chunk-CKK6JOC4.js} +2 -2
  35. package/dist/bundle/{chunk-4U2555EQ.js → chunk-CUZHKYC2.js} +30 -28
  36. package/dist/bundle/{chunk-7LLUUXJB.js → chunk-DHD25JII.js} +1 -1
  37. package/dist/bundle/{chunk-RYKG6AEH.js → chunk-EPPSMCEV.js} +4 -2
  38. package/dist/bundle/chunk-F5DYBWH7.js +299 -0
  39. package/dist/bundle/{chunk-KIJLM5UL.js → chunk-FBLUKCIR.js} +1 -1
  40. package/dist/bundle/{chunk-WZ5XK74U.js → chunk-FEM2JQN2.js} +1 -1
  41. package/dist/bundle/{chunk-SSXCOUP3.js → chunk-G6IX2MD2.js} +500 -227
  42. package/dist/bundle/{chunk-OTMGAKUM.js → chunk-GR3QDHBU.js} +7 -7
  43. package/dist/bundle/{chunk-QEI55M2F.js → chunk-GXDOTUUO.js} +10 -10
  44. package/dist/bundle/chunk-H3MFBYTQ.js +261 -0
  45. package/dist/bundle/{chunk-DFUPETW7.js → chunk-HC56J5LB.js} +135 -76
  46. package/dist/bundle/{chunk-D6OXI2NV.js → chunk-HSI7YOYK.js} +229 -67
  47. package/dist/bundle/{chunk-FGTPREAZ.js → chunk-HW5QTRFF.js} +35 -35
  48. package/dist/bundle/{chunk-VNIBTNV4.js → chunk-IEC4E65G.js} +2 -2
  49. package/dist/bundle/{chunk-EUPZSR2G.js → chunk-IPBZKUC3.js} +4 -4
  50. package/dist/bundle/{chunk-EQ7XRRKV.js → chunk-JHFP3Z5S.js} +11 -11
  51. package/dist/bundle/{chunk-3GO3KME7.js → chunk-JX5JJZC3.js} +3 -3
  52. package/dist/bundle/{chunk-7HAIM7GV.js → chunk-JZ4YOAHA.js} +963 -622
  53. package/dist/bundle/{chunk-B3KWAULD.js → chunk-KAPJQGHE.js} +2 -2
  54. package/dist/bundle/{chunk-T6CZWSHF.js → chunk-KNE6VFHZ.js} +21 -21
  55. package/dist/bundle/{chunk-I7SOXH64.js → chunk-KX5MZVPX.js} +66 -39
  56. package/dist/bundle/chunk-L62EJDNZ.js +64 -0
  57. package/dist/bundle/{chunk-EPDRF66S.js → chunk-LDRQ5NAP.js} +22 -14
  58. package/dist/bundle/{chunk-7VU5UGRR.js → chunk-LEA4BGK7.js} +16 -16
  59. package/dist/bundle/{chunk-ZMPTO2WB.js → chunk-LQX74VKG.js} +1 -1
  60. package/dist/bundle/{chunk-LKJXTACE.js → chunk-MJMVIFSC.js} +7 -7
  61. package/dist/bundle/{chunk-KWRSC6O6.js → chunk-MNOVYS43.js} +18 -4
  62. package/dist/bundle/{chunk-M43MBWJX.js → chunk-MOTKS7XG.js} +20741 -14882
  63. package/dist/bundle/{chunk-MWEOVTIF.js → chunk-MSDCZ6GT.js} +4 -4
  64. package/dist/bundle/{chunk-SOZVC3SV.js → chunk-MVDPZRFE.js} +1 -1
  65. package/dist/bundle/{chunk-NTZDM5SJ.js → chunk-NRRI37NJ.js} +9 -9
  66. package/dist/bundle/{chunk-BKY4XVB4.js → chunk-O7L44JK2.js} +2632 -1870
  67. package/dist/bundle/{chunk-6IBM4Z3V.js → chunk-OE7EIP5L.js} +1 -1
  68. package/dist/bundle/{chunk-RAMPYIO2.js → chunk-OSBHEM2A.js} +11 -11
  69. package/dist/bundle/{chunk-KV4267S4.js → chunk-P3ASN72F.js} +1 -1
  70. package/dist/bundle/{chunk-DG4DWAU7.js → chunk-QLGG7S6F.js} +3 -3
  71. package/dist/bundle/{chunk-6UFWFKFH.js → chunk-QW5VPZEH.js} +2 -2
  72. package/dist/bundle/{chunk-C6UKW7JO.js → chunk-QXM7S3Y3.js} +6 -6
  73. package/dist/bundle/{chunk-ESFMHBHH.js → chunk-R2ULMWB4.js} +62 -53
  74. package/dist/bundle/{chunk-L6WUAGPN.js → chunk-R3JYPY3J.js} +3 -3
  75. package/dist/bundle/{chunk-2UW533HQ.js → chunk-RGJ7OWHU.js} +4 -4
  76. package/dist/bundle/{chunk-7K5TDTZY.js → chunk-RPQ3JOD3.js} +7 -7
  77. package/dist/bundle/{chunk-L643D4RJ.js → chunk-S2EAGDS7.js} +12 -12
  78. package/dist/bundle/{chunk-4KDZ22RA.js → chunk-SQT47CFW.js} +1 -1
  79. package/dist/bundle/{chunk-CLEZE65P.js → chunk-SZ3Z4ZNO.js} +1 -1
  80. package/dist/bundle/chunk-T5X4LGXE.js +380 -0
  81. package/dist/bundle/{chunk-SMVO5R3T.js → chunk-TFFEFEG2.js} +39 -26
  82. package/dist/bundle/{chunk-LFQ73UFK.js → chunk-TKXLWFM2.js} +3 -3
  83. package/dist/bundle/{chunk-SCFFCIIP.js → chunk-TN77LX6W.js} +2 -2
  84. package/dist/bundle/{chunk-VFIEYRYD.js → chunk-TWIC6JJG.js} +8 -8
  85. package/dist/bundle/{chunk-FXQPK742.js → chunk-UEZ6URJR.js} +29 -15
  86. package/dist/bundle/{chunk-OZEYFJX2.js → chunk-V4MM6GST.js} +1 -1
  87. package/dist/bundle/chunk-V74QFMSL.js +31 -0
  88. package/dist/bundle/{chunk-YPF6OS37.js → chunk-VW6BF6M7.js} +1 -1
  89. package/dist/bundle/{chunk-6TZF2JP7.js → chunk-WY4NYPPS.js} +13 -13
  90. package/dist/bundle/{chunk-B5Z4XPVS.js → chunk-XITUFTON.js} +2 -2
  91. package/dist/bundle/{chunk-FWU3ZYHE.js → chunk-XJBYGMZ4.js} +776 -134
  92. package/dist/bundle/{chunk-KANH7GBB.js → chunk-XRZDYWF6.js} +2 -2
  93. package/dist/bundle/{chunk-ZRMZBMOF.js → chunk-Z6TTGTMU.js} +156 -9
  94. package/dist/bundle/{chunk-IFDO3YPJ.js → chunk-ZRHMB3LQ.js} +1 -1
  95. package/dist/bundle/{cli-YUATSOLA.js → cli-P3BZUE6S.js} +106 -64
  96. package/dist/bundle/command-contract-TOLB32NJ.js +41 -0
  97. package/dist/bundle/config-4KLLIADY.js +90 -0
  98. package/dist/bundle/{decode-IL44LNC3.js → decode-QWOQXM7M.js} +6 -6
  99. package/dist/bundle/{dispatch-3BGIXSJR.js → dispatch-5MGDLOK4.js} +9 -9
  100. package/dist/bundle/{dist-3W27UQ2S.js → dist-OUE4MF37.js} +108 -28
  101. package/dist/bundle/{echarts-CO4D26JF.js → echarts-65IMPY43.js} +2 -2
  102. package/dist/bundle/{embed-XH2X4DFM.js → embed-4IULBCKL.js} +7 -7
  103. package/dist/bundle/{embedder-WTFWDXBJ.js → embedder-JW4W6IZI.js} +10 -10
  104. package/dist/bundle/{failure-HTIS3NLS.js → failure-CR64C4XA.js} +3 -3
  105. package/dist/bundle/{first-run-5RBH7FDO.js → first-run-CH6C674R.js} +12 -12
  106. package/dist/bundle/first-screen-OCAW5ZN6.js +39 -0
  107. package/dist/bundle/{folders-F4DNQPIY.js → folders-VU4IN35Y.js} +5 -5
  108. package/dist/bundle/{instructions-EPPBL6TT.js → instructions-G5QIH2TM.js} +1 -1
  109. package/dist/bundle/{main-LVQTCDZS.js → main-O4ZJIEWP.js} +21 -23
  110. package/dist/bundle/{mcp-PPVOM4SE.js → mcp-M4QN2E7R.js} +2 -2
  111. package/dist/bundle/{meetings-BMELXRTR.js → meetings-77CCAVYD.js} +13 -7
  112. package/dist/bundle/{node-CQVMWVIG.js → node-E6VQHU4Y.js} +2 -2
  113. package/dist/bundle/{node-sqlite-QQEX7LZT.js → node-sqlite-RJZ4PGLD.js} +7 -7
  114. package/dist/bundle/{oauth-AYGX7CQS.js → oauth-F4JKNRW4.js} +8 -8
  115. package/dist/bundle/{open-MIL2TOT6.js → open-NYOGMIAA.js} +6 -6
  116. package/dist/bundle/openai-5U6EQTFQ.js +25 -0
  117. package/dist/bundle/{output-file-4XADZPYH.js → output-file-6COFGPUL.js} +6 -6
  118. package/dist/bundle/{process-NJVQK6GB.js → process-OBWUKBMX.js} +1 -1
  119. package/dist/bundle/{program-WUYRS6H7.js → program-MU7DEJTO.js} +115 -187
  120. package/dist/bundle/{prompt-J4QPFLEA.js → prompt-2QWQTHWT.js} +6 -6
  121. package/dist/bundle/{recognize-OLJZVNWW.js → recognize-SNUNTUC3.js} +5 -5
  122. package/dist/bundle/{remote-JPUXNYLV.js → remote-2CTCIQGF.js} +8 -8
  123. package/dist/bundle/{rerank-XVV3X5TT.js → rerank-XDA7NJNH.js} +8 -8
  124. package/dist/bundle/{run-log-DJXBEVS5.js → run-log-NSG3DJVX.js} +59 -59
  125. package/dist/bundle/{serve-NYYUO3MR.js → serve-TWQFHOV2.js} +10 -10
  126. package/dist/bundle/{server-4Z5E4YTT.js → server-RIQ6HMH2.js} +47 -47
  127. package/dist/bundle/server-XO6XQQTJ.js +72 -0
  128. package/dist/bundle/{services-EKWM76HP.js → services-NKZQJQIV.js} +49 -33
  129. package/dist/bundle/{speech-WFJ44ACJ.js → speech-ZOB76SXA.js} +14 -14
  130. package/dist/bundle/{state-VIRCT4VW.js → state-7YYEIXQ5.js} +7 -7
  131. package/dist/bundle/{store-ZTDZ6UY5.js → store-E6RTSSNR.js} +29 -18
  132. package/dist/bundle/{store-2Q4GEZJS.js → store-OX4HRBLO.js} +80 -29
  133. package/dist/bundle/store-connection-55QPNUDS.js +83 -0
  134. package/dist/bundle/store-maintenance-command-Q5MSU6OK.js +62 -0
  135. package/dist/bundle/{streaming-7BPKIGAS.js → streaming-O53PIORL.js} +7 -7
  136. package/dist/bundle/{tokens-CQHMMKNX.js → tokens-QKNEP2GJ.js} +7 -7
  137. package/dist/bundle/zm.js +9 -10
  138. package/dist/bundle/zoom-app-TSI2MGVK.js +41 -0
  139. package/dist/commands.d.ts.map +1 -1
  140. package/dist/commands.js +1 -0
  141. package/dist/commands.js.map +1 -1
  142. package/dist/config.d.ts.map +1 -1
  143. package/dist/config.js +2 -3
  144. package/dist/config.js.map +1 -1
  145. package/dist/identity.d.ts +1 -0
  146. package/dist/identity.d.ts.map +1 -1
  147. package/dist/identity.js +11 -0
  148. package/dist/identity.js.map +1 -1
  149. package/dist/program-bindings.d.ts.map +1 -1
  150. package/dist/program-bindings.js +7 -2
  151. package/dist/program-bindings.js.map +1 -1
  152. package/dist/setup-commands.d.ts +6 -0
  153. package/dist/setup-commands.d.ts.map +1 -1
  154. package/dist/setup-commands.js +24 -9
  155. package/dist/setup-commands.js.map +1 -1
  156. package/dist/version.d.ts +1 -1
  157. package/dist/version.js +1 -1
  158. package/dist/zoom-app.d.ts +32 -0
  159. package/dist/zoom-app.d.ts.map +1 -1
  160. package/dist/zoom-app.js +61 -0
  161. package/dist/zoom-app.js.map +1 -1
  162. package/package.json +3 -3
  163. package/dist/bundle/answer-policy-5OYUL6UF.js +0 -103
  164. package/dist/bundle/chunk-3ZIHUSMM.js +0 -22
  165. package/dist/bundle/chunk-54RTMQL6.js +0 -132
  166. package/dist/bundle/chunk-6VFORXL3.js +0 -101
  167. package/dist/bundle/chunk-D4KBD63W.js +0 -19
  168. package/dist/bundle/chunk-J3ZBEWQY.js +0 -880
  169. package/dist/bundle/chunk-SXFODCYK.js +0 -9
  170. package/dist/bundle/chunk-YRNZT4GQ.js +0 -176
  171. package/dist/bundle/chunk-Z3WXI4DK.js +0 -31
  172. package/dist/bundle/command-contract-UWHY55UE.js +0 -41
  173. package/dist/bundle/config-TGF6E6ZD.js +0 -89
  174. package/dist/bundle/first-screen-PGFIXJAX.js +0 -39
  175. package/dist/bundle/openai-7QZZXQW5.js +0 -25
  176. package/dist/bundle/server-VW5UVCH7.js +0 -72
  177. package/dist/bundle/store-connection-FKVVQLEF.js +0 -83
  178. package/dist/bundle/store-maintenance-command-AU73UVUQ.js +0 -62
  179. package/dist/bundle/zoom-app-OEKFMJS6.js +0 -25
  180. /package/dist/bundle/{chunk-LU3WKZBA.js → chunk-VOXIGICJ.js} +0 -0
@@ -29,7 +29,7 @@ import {
29
29
  agentOf,
30
30
  clientHash,
31
31
  currentCaller
32
- } from "./chunk-LKJXTACE.js";
32
+ } from "./chunk-MJMVIFSC.js";
33
33
  import {
34
34
  __name
35
35
  } from "./chunk-ZVVMGPBJ.js";
@@ -541,7 +541,7 @@ function toError(value) {
541
541
  }
542
542
  __name(toError, "toError");
543
543
 
544
- // 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/caller.js
544
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/mcp/caller.js
545
545
  var callingAgent = /* @__PURE__ */ __name((fallback, caller = currentCaller()) => {
546
546
  const client = caller?.agent?.client?.name;
547
547
  if (client && client !== "unknown")
@@ -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-AAZFLJSH.js";
5
+ } from "./chunk-B6JMVB6R.js";
6
6
  import {
7
7
  defineReasons
8
- } from "./chunk-NTZDM5SJ.js";
8
+ } from "./chunk-NRRI37NJ.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
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
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/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"],
@@ -29,7 +29,8 @@ var SIGN_IN = [
29
29
  ["oauth.declined", "authentication_error", "the provider's consent was declined"],
30
30
  ["oauth.timeout", "timeout", "the sign-in was not finished in time"],
31
31
  ["oauth.mismatch", "authentication_error", "the pasted sign-in result belongs to another sign-in"],
32
- ["oauth.missing", "authentication_error", "this profile is not signed in"],
32
+ ["oauth.missing", "authentication_error", "this profile is not signed in to the provider"],
33
+ ["session.missing", "authentication_error", "this profile has no API token saved"],
33
34
  ["oauth.locked", "provider_unavailable", "another process holds this sign-in's lock"],
34
35
  ["oauth.no-response", "outcome_unknown", "the token request did not finish"],
35
36
  ["oauth.unavailable", "provider_unavailable", "the provider's token endpoint is unavailable"],
@@ -71,6 +72,15 @@ var OTHERS = [
71
72
  validation("mail-findings.partial", "a cited email is not stored whole yet; cite it once it is"),
72
73
  validation("evidence-findings.dedicated-review", "review evidence findings through the dedicated findings command"),
73
74
  validation("mail-findings.dedicated-review", "review mail findings through the dedicated findings command"),
75
+ validation("source-review.dedicated-review", "decide a source review through the review of memories and facts"),
76
+ validation("source-review.reason-required", "a challenge says why in 1\u20132000 characters"),
77
+ validation("source-review.evidence-required", "a challenge cites 1\u201320 references that contradict it"),
78
+ validation("source-review.suggestion-length", "a suggestion with a challenge takes 1\u20132000 characters"),
79
+ validation("source-review.not-holding", "the memory or fact no longer holds, so there is nothing to challenge"),
80
+ validation("mail-findings.invalid", "a checked mail findings batch would be refused; details.problems names why, finding by finding"),
81
+ validation("mail-findings.key-used", "the findings batch key was already used for different input"),
82
+ validation("finding.unknown-field", "a finding has a field its kind does not take"),
83
+ validation("finding.missing-field", "a finding leaves out a field its kind needs"),
74
84
  validation("document.changed", "the document changed while it was read; nothing was saved"),
75
85
  ["document.not-imported", "not_found", "the document is not imported in this source account"],
76
86
  ["extraction.invalid-proposals", "invalid_response", "the model's memory proposals could not be used"],
@@ -78,6 +88,8 @@ var OTHERS = [
78
88
  validation("file.locked", "another process holds the file's lock"),
79
89
  validation("mail.cursor-ahead", "an acknowledge cursor is past the newest stored email"),
80
90
  ["mail.holder-not-yours", "permission_error", "a run moves only the mark of the holder its schedule names"],
91
+ ["mail.no-mark", "not_found", "the holder has no mark in the mailbox yet; its first review starts it"],
92
+ ["mail.reset-owner-only", "permission_error", "only the owner moves a holder's mark back"],
81
93
  ["mail.source-failed", "provider_error", "the mail server refused or did not complete a request"],
82
94
  ["mail.search-refused", "provider_error", "the mail server refused to search a folder"],
83
95
  [
@@ -131,6 +143,21 @@ var OTHERS = [
131
143
  ["feed.gone", "not_found", "the feed's server has no feed at this address any more"],
132
144
  ["feed.timeout", "timeout", "the feed's server did not answer in time"],
133
145
  ["feed.unreachable", "network_error", "the feed's server could not be reached"],
146
+ validation("source.url-refused", "the link is not an http or https page on the public internet"),
147
+ ["source.url-status", "provider_error", "the page's server answered with an error status"],
148
+ ["source.url-timeout", "timeout", "the page did not arrive in time"],
149
+ ["source.url-redirects", "provider_error", "the page sent the request on too many times"],
150
+ ["source.url-unreachable", "network_error", "the page's server could not be found or reached"],
151
+ [
152
+ "source.needs-sign-in",
153
+ "authentication_error",
154
+ "the page asks for a sign-in; a private Google document is read through Drive"
155
+ ],
156
+ validation("source.too-large", "the source is larger than one read takes"),
157
+ validation("source.unsupported", "no reader takes this kind of source"),
158
+ validation("source.no-text", "the source holds no text to keep"),
159
+ validation("source.unreadable", "the reader could not read the source"),
160
+ ["source.engine-missing", "configuration_error", "reading this source needs a reader package that is not installed"],
134
161
  validation("busy.feed", "a feed calendar has no busy times to ask; read its events with events list"),
135
162
  ["calendar.unsynced", "not_found", "the calendar account has no synced calendar in the store"],
136
163
  ["calendar.sync-incomplete", "not_found", "a synced calendar's sync never finished or is mid-round"],
@@ -146,6 +173,7 @@ var OTHERS = [
146
173
  validation("search.server-options", "search --backend server takes neither --exact, --cursor nor --newest"),
147
174
  validation("search.one-backend", "search answers from one backend at a time: archive or server"),
148
175
  ["search.server-not-allowed", "permission_error", "the profile does not allow messages.server-search"],
176
+ ["search.all-denied", "permission_error", "the profile denies every kind search all would read"],
149
177
  validation("search.server-no-criteria", "the query has nothing the server can search, so only the store is read"),
150
178
  ["search.server-unsupported", "provider_error", "this source's server cannot search"],
151
179
  ["search.server-rate-limited", "rate_limited", "the server refused a search as too many requests"],
@@ -159,6 +187,26 @@ var OTHERS = [
159
187
  ],
160
188
  validation("store.refused", "the local store refused the document text"),
161
189
  ["store.not-writable", "permission_error", "the message store cannot be written from this process"],
190
+ [
191
+ "store.damaged",
192
+ "configuration_error",
193
+ "the store file is damaged; store recover says what is lost and recovers it"
194
+ ],
195
+ validation("store.file-damaged", "the named store file is damaged or not a database"),
196
+ [
197
+ "store.unreadable",
198
+ "configuration_error",
199
+ "the store file's header or schema is damaged, so it cannot be recovered"
200
+ ],
201
+ validation("store.in-use", "a process or a scheduled timer has the store open; stop it, then recover the store"),
202
+ [
203
+ "store.sqlite3-missing",
204
+ "configuration_error",
205
+ "recovering the store needs the sqlite3 program, 3.43 or newer, with its .recover command"
206
+ ],
207
+ validation("store.recovery-failed", "the recovered store did not pass its check, so the store was left as it was"),
208
+ validation("store.recovering", "another recovery of the store is running; wait for it to finish"),
209
+ validation("store.changed-during-recovery", "the store was written to during the recovery, so it was left as it was"),
162
210
  [
163
211
  "store.vector-extension-missing",
164
212
  "configuration_error",
@@ -167,44 +215,123 @@ var OTHERS = [
167
215
  ["store.vector-extension-failed", "configuration_error", "the sqlite-vec extension did not load; reinstall the CLI"],
168
216
  validation("store.vector-invalid", "a vector to store had a non-finite value"),
169
217
  validation("catalog.scope-limit", "the selected catalog exceeds its entry limit"),
218
+ validation("evidence.quote-length", "a quote from the evidence is empty or over 500 characters"),
219
+ validation("evidence.quote-not-found", "the cited source does not say the quoted words"),
170
220
  validation("evidence.row-too-large", "one evidence row is over its size limit"),
171
221
  validation("index.not-ready", "the search index is still being built"),
172
222
  validation("input.closed", "the input closed before the answer"),
173
223
  validation("input.required", "the command needs an answer and cannot ask for one"),
174
224
  validation("input.too-large", "the input is over its size limit"),
175
225
  ["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"),
226
+ validation("fact.not-accepted", "only an accepted fact can be revoked"),
227
+ validation("fact.owner-written", "the owner wrote this fact; it was never proposed, so it cannot be revoked"),
178
228
  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"),
229
+ validation("fact.revoke-correction", "an accepted correction cannot be revoked; its superseded fact stays"),
180
230
  validation("finance.allocate", "the invoice or payment cannot take an allocation in its state"),
181
231
  validation("finance.currency", "the payment and the invoice are in different currencies; nothing is converted"),
182
232
  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"),
233
+ validation("finance.line-amount", "an invoice line's amount is not its quantity times its unit price"),
184
234
  validation("finance.lines", "the invoice's lines are not valid"),
235
+ ["finance.not-allocated", "not_found", "the payment is not allocated to that invoice"],
185
236
  validation("finance.over-invoice", "the allocation would settle more than the invoice's total"),
186
237
  validation("finance.over-payment", "the allocation would use more than the payment's amount"),
187
238
  ["finance.owner-only", "permission_error", "only the owner does this with money"],
239
+ validation("finance.over-refund", "the refunds would take back more than the payment, or than it gave an invoice"),
188
240
  validation("finance.party", "a party is a person: or organization: reference"),
189
241
  validation("finance.ref", "the reference names no invoice or payment"),
242
+ validation("finance.refund", "a refund goes the other way in the same currency, of a live payment confirmed first, to an invoice it paid"),
243
+ validation("finance.refunded", "a refund of the payment still stands; reject it or take it back first"),
190
244
  validation("finance.status", "the invoice's status does not allow this"),
191
245
  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"),
246
+ validation("finance.unallocate", "a rejected or deleted payment's allocations are not taken back"),
247
+ validation("record.entity", "the entity or proposal the record stands for was refused"),
248
+ validation("record.provider-not-imported", "SMS and calls are imported only under an import-only provider, such as phone"),
249
+ validation("record.chat", "the chat an SMS names is not an imported one: a sync owns it"),
250
+ validation("record.moved", "an SMS stays in its thread: delete it and send it again under a new external_id"),
251
+ validation("record.phone-region", "a phone without + is read only in the envelope's phone_region; kept as data"),
252
+ validation("record.separated", "the owner told the one entity these identifiers match apart from them"),
253
+ ["store.dry-run", "conflict", "a dry run of an import holds the store; the read or write waits for it to end"],
254
+ validation("record.ambiguous", "the record's identifiers point at more than one entity; the owner says which"),
255
+ validation("record.identifier", "a free-mail domain names no organization: anyone has an address there"),
193
256
  ["record.map-owner-only", "permission_error", "only the owner says which entity a source record is"],
194
257
  validation("record.map-type", "a record maps only to an entity of its own type"),
195
258
  validation("record.mapped", "the record already stands for another entity"),
259
+ validation("record.over-payment", "the record's settles amounts add up to more than the payment"),
196
260
  validation("record.not-found", "the store holds no such record to delete"),
197
261
  validation("record.invalid", "a field of the record is not the kind the entity needs"),
198
262
  validation("record.reference-not-found", "a reference in the record's fields is not in the store"),
199
263
  validation("record.relation-ambiguous", "the record names more than one target for a role that takes one"),
200
264
  validation("record.stale-revision", "the store holds a newer revision of the record"),
265
+ validation("memory.already-superseded", "the memory was already replaced by another"),
201
266
  validation("memory.evidence-required", "a memory needs its evidence"),
202
267
  validation("memory.scope-required", "a memory needs its scope"),
203
268
  validation("money.amount", "the amount is not a decimal string in the currency's scale"),
204
269
  validation("money.currency", "the currency is not one the store keeps money in"),
205
270
  validation("money.quantity", "the quantity is not a decimal above 0"),
271
+ validation("deal.closed", "a deleted deal or lead does not move or close"),
272
+ validation("deal.copy", "a CRM's copy changes in the CRM; its next sync brings the change here"),
273
+ validation("deal.field", "a field of the deal or lead is not valid"),
274
+ validation("deal.ref", "the reference names no deal or lead"),
275
+ validation("deal.stage", "no stage of that name, or a stage name more than one pipeline has"),
276
+ validation("pipeline.ambiguous", "more than one pipeline has that name; name it by its pipeline: reference"),
277
+ validation("pipeline.duplicate", "a pipeline of that name and kind is already stored"),
278
+ validation("pipeline.field", "a pipeline needs a name and at least one stage, each named once"),
279
+ ["pipeline.not-found", "not_found", "no stored pipeline has that name or reference"],
280
+ validation("crm.stage-unknown", "a CRM item stands in a stage the store does not hold; it was not kept"),
281
+ validation("crm.item-invalid", "a CRM item has a field the store refuses, such as a currency it does not keep"),
282
+ validation("crm.pipeline-required", "the CRM has more than one pipeline of the kind; the command names one"),
283
+ validation("field.unknown", "no custom field of the kind has that code or label; `fields list` lists them"),
284
+ validation("field.ambiguous", "more than one custom field has that label; name one by its code"),
285
+ validation("field.unknown-option", "the list field has no option with that id or label"),
286
+ validation("field.unknown-kind", "fields are listed for deals, leads, people and organizations only"),
287
+ validation("crm.write-unsupported", "the CRM does not take this write, or does not recognise a repeated one"),
288
+ validation("crm.unlisted-held", "a list of every id would mark most of a kind deleted; nothing was, until --rescan"),
289
+ validation("crm.not-reported", "the CRM did not list users or departments; what they would say is unknown, nothing withdrawn"),
290
+ validation("crm.reference-unknown", "a CRM row names a contact, company or user the store does not hold; that link was not made"),
291
+ validation("crm.pending-dropped", "relationships waited too long for an end that never came; they were dropped"),
292
+ validation("crm.email-ambiguous", "a CRM contact's email belongs to more than one person; the owner decides"),
293
+ validation("crm.own-unknown", "no own company of the CRM account is stored, so its users are no one's employees yet"),
294
+ validation("relationship.reference-unknown", "a reported relationship names something the store does not hold"),
295
+ validation("relationship.invalid", "a reported relationship joins ends or takes a role the registry refuses"),
296
+ validation("contract.field", "a field of the contract is not valid"),
297
+ validation("contract.ref", "the reference names no contract, or no deal for it"),
298
+ validation("order.currency", "the product is priced in another currency than the order"),
299
+ validation("order.line", "an order keeps at least one line: reject or cancel it instead"),
300
+ validation("order.line-amount", "an order line's amount is not its quantity times its unit price"),
301
+ validation("order.lines", "the order's lines are not valid"),
302
+ ["order.no-line", "not_found", "the order has no line at that position"],
303
+ ["order.owner-only", "permission_error", "only the owner changes a confirmed order's lines"],
304
+ validation("order.total", "an order with lines names its currency and totals their sum"),
305
+ validation("product.duplicate", "a product with that code is already stored for that supplier"),
306
+ validation("product.field", "a field of the product is not valid"),
307
+ validation("product.ref", "the reference names no product"),
308
+ validation("subscription.field", "a field of the subscription is not valid"),
309
+ validation("subscription.interval", "an interval is a count and a unit, such as 1-month"),
310
+ ["subscription.no-price", "not_found", "no stored subscription price has that id"],
311
+ validation("subscription.price", "a price is never changed: reject it and add a new one, after its subscription"),
312
+ validation("subscription.ref", "the reference names no subscription, product or contract for it"),
313
+ validation("transaction.field", "a field of the transaction is not valid"),
314
+ validation("transaction.payment", "the payment is not the same money: currency, direction and amount differ"),
315
+ validation("transaction.ref", "the reference names no transaction or wallet"),
316
+ ["transaction.no-split", "not_found", "the transaction has no split at that position"],
317
+ validation("transaction.split", "the splits come to more than the transaction, or name no category"),
318
+ validation("wallet.field", "a field of the wallet is not valid"),
319
+ validation("wallet.number", "a wallet keeps only the last 4 characters of a number"),
320
+ validation("wallet.ref", "the reference names no wallet"),
321
+ validation("order.duplicate", "the shop's order with this number is already stored; change its status instead"),
322
+ validation("order.proposed", "the shop's order with this number already waits for the owner in a findings batch"),
323
+ validation("order.field", "a field of the order is not valid"),
324
+ validation("order.source-url", "an order's source URL is not an http or https address"),
325
+ ["order.not-found", "not_found", "no stored order of that shop has that number"],
326
+ validation("order.ref", "the reference names no order, or a shop's number names more than one"),
327
+ validation("order.status", "a rejected or deleted order's status does not change"),
206
328
  ["model.not-downloaded", "not_found", "the model is not downloaded on this machine"],
207
329
  ["person.no-owner", "not_found", "no person is marked as the owner in the store"],
330
+ [
331
+ "identity.separated",
332
+ "conflict",
333
+ "the owner separated this identity from that person; only the owner links it again"
334
+ ],
208
335
  ["transcription.no-key", "authentication_error", "no OpenAI key is set for transcription"],
209
336
  validation("transcription.too-large", "the audio is over the transcription provider's size limit"),
210
337
  [
@@ -221,6 +348,20 @@ var OTHERS = [
221
348
  validation("period.ambiguous", "the period can be read more than one way"),
222
349
  validation("proposal.wrong-state", "the proposal is not in a state that allows this"),
223
350
  validation("proposal.reason-required", "an agent deciding for the owner gives a reason"),
351
+ validation("decision.request-invalid", "a decision request needs its batch, message, owner and distinct known actions"),
352
+ ["decision.token-unknown", "not_found", "no button has this token"],
353
+ ["decision.token-used", "permission_error", "this button was already pressed"],
354
+ [
355
+ "decision.token-cancelled",
356
+ "permission_error",
357
+ "another button of the message was pressed, or the feature was turned off"
358
+ ],
359
+ ["decision.token-expired", "permission_error", "this button is older than 72 hours"],
360
+ [
361
+ "decision.token-mismatch",
362
+ "permission_error",
363
+ "the press came from another chat, message or user than the button was sent to"
364
+ ],
224
365
  validation("proposal.decider-required", "a decision names who decides: the owner or an agent with a reason"),
225
366
  validation("proposal.ids", "the proposal ids cannot be read"),
226
367
  ["proposal.own", "permission_error", "an agent never decides its own proposal"],
@@ -228,6 +369,10 @@ var OTHERS = [
228
369
  ["proposals.agent-decisions-off", "permission_error", "agent decisions are turned off; the owner decides"],
229
370
  ["proposal.unknown-kind", "not_found", "no registered proposal kind holds this id"],
230
371
  validation("relationship.exists", "a confirmed relationship already links them"),
372
+ validation("relationship.role-exists", "the role list holds that role already"),
373
+ validation("relationship.role-built-in", "a built-in role stays on its list"),
374
+ validation("relationship.role-in-use", "relationships still hold that role; change them first (details.count)"),
375
+ validation("relationship.role-unknown", "the role is not one the relationship takes; the message lists them"),
231
376
  validation("ranking.invalid", "the ranking is not valid"),
232
377
  validation("ref.malformed", "the reference has a known kind but not its shape"),
233
378
  validation("ref.unknown-kind", "the text names no kind of reference"),
@@ -247,6 +392,8 @@ var OTHERS = [
247
392
  validation("tag.invalid", "the tag is not valid"),
248
393
  ["reactions.list-hidden", "permission_error", "the chat does not let its members see who reacted"],
249
394
  ["reactions.broadcast", "permission_error", "a channel does not show who reacted to its posts"],
395
+ validation("task.external-id", "an external id is <service>:<id>, such as avito:4512345678"),
396
+ validation("task.source-url", "a task's source URL is not an http or https address"),
250
397
  validation("task.category-unknown", "the category is not in the task category list"),
251
398
  validation("task.claimed", "someone else holds the task"),
252
399
  validation("task.closed", "the task is already closed"),
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
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/mcp/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/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");