@wirecat/zoom-cli 0.68.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 (122) hide show
  1. package/dist/bin/zm.js +2 -2
  2. package/dist/bundle/{all-profiles-R66UM3HM.js → all-profiles-ZQWPCJEK.js} +7 -7
  3. package/dist/bundle/{answer-policy-UCGUO53A.js → answer-policy-VBDYLUXI.js} +52 -52
  4. package/dist/bundle/{anthropic-4ZI2BPLG.js → anthropic-7FUQ2HYJ.js} +3 -3
  5. package/dist/bundle/{app-server-64O5IQI5.js → app-server-DNPE2EQB.js} +46 -46
  6. package/dist/bundle/{bun-HUHQD76Z.js → bun-ZVQFCFCC.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-VOVHPTIF.js → bun-sqlite-EB2UMUPJ.js} +2 -2
  8. package/dist/bundle/{chunk-EZRPSZJS.js → chunk-2SYWVIQJ.js} +1 -1
  9. package/dist/bundle/chunk-37B7A4RP.js +66 -0
  10. package/dist/bundle/{chunk-YJY3W2ZT.js → chunk-3TPRYZUW.js} +18 -15
  11. package/dist/bundle/{chunk-K67V24AT.js → chunk-4APZQYCH.js} +3 -3
  12. package/dist/bundle/{chunk-7QNJICKZ.js → chunk-52DCABMU.js} +23 -23
  13. package/dist/bundle/{chunk-KUB2U5NT.js → chunk-5GOE6PQK.js} +5 -5
  14. package/dist/bundle/{chunk-77KFLU5F.js → chunk-5H6VTEEC.js} +2 -2
  15. package/dist/bundle/{chunk-PIHBD3YS.js → chunk-5ZF6QVMC.js} +4 -4
  16. package/dist/bundle/{chunk-FMQS7HCC.js → chunk-5ZJXKASF.js} +249 -8
  17. package/dist/bundle/chunk-6AMMTXEA.js +12473 -0
  18. package/dist/bundle/{chunk-SRP6SFFD.js → chunk-6KMTQX3D.js} +1 -1
  19. package/dist/bundle/{chunk-2T6XHWDX.js → chunk-6N2D6JGX.js} +1 -1
  20. package/dist/bundle/{chunk-R7LFGEDE.js → chunk-6TICX3MN.js} +2 -2
  21. package/dist/bundle/{chunk-W42BJ65M.js → chunk-B5D7NZI7.js} +1 -1
  22. package/dist/bundle/{chunk-EWIBLDQQ.js → chunk-C6TEYKXV.js} +6 -6
  23. package/dist/bundle/{chunk-32FPA7P2.js → chunk-CKK6JOC4.js} +1 -1
  24. package/dist/bundle/{chunk-JRCYFCPL.js → chunk-CUZHKYC2.js} +19 -19
  25. package/dist/bundle/{chunk-355PHJYX.js → chunk-DHD25JII.js} +1 -1
  26. package/dist/bundle/{chunk-PUTGTW6W.js → chunk-EPPSMCEV.js} +1 -1
  27. package/dist/bundle/{chunk-AYEVBAGO.js → chunk-F5DYBWH7.js} +143 -22
  28. package/dist/bundle/{chunk-AJ7CMUGD.js → chunk-G6IX2MD2.js} +172 -143
  29. package/dist/bundle/{chunk-VLD7Y4SY.js → chunk-GR3QDHBU.js} +4 -4
  30. package/dist/bundle/{chunk-DGNPJGD3.js → chunk-GXDOTUUO.js} +8 -14
  31. package/dist/bundle/{chunk-5JAYUG3X.js → chunk-H3MFBYTQ.js} +2 -2
  32. package/dist/bundle/{chunk-TDGZMC6K.js → chunk-HC56J5LB.js} +57 -53
  33. package/dist/bundle/{chunk-4YFJYSSK.js → chunk-HSI7YOYK.js} +45 -29
  34. package/dist/bundle/{chunk-LYWUG43B.js → chunk-HW5QTRFF.js} +31 -31
  35. package/dist/bundle/{chunk-65T3PU75.js → chunk-IEC4E65G.js} +1 -1
  36. package/dist/bundle/{chunk-L4WVLRXM.js → chunk-IPBZKUC3.js} +3 -3
  37. package/dist/bundle/{chunk-TN3FH2GQ.js → chunk-JHFP3Z5S.js} +7 -7
  38. package/dist/bundle/{chunk-3BRV2YU2.js → chunk-JX5JJZC3.js} +2 -2
  39. package/dist/bundle/{chunk-YTF2WPV4.js → chunk-JZ4YOAHA.js} +679 -496
  40. package/dist/bundle/{chunk-474WF55M.js → chunk-KX5MZVPX.js} +38 -25
  41. package/dist/bundle/{chunk-TUNQ6NE2.js → chunk-L62EJDNZ.js} +2 -2
  42. package/dist/bundle/{chunk-6TJ62LZQ.js → chunk-LDRQ5NAP.js} +3 -3
  43. package/dist/bundle/{chunk-7DUYFITC.js → chunk-LEA4BGK7.js} +9 -9
  44. package/dist/bundle/{chunk-P2TISY3R.js → chunk-LQX74VKG.js} +1 -1
  45. package/dist/bundle/{chunk-RP3U3J53.js → chunk-MJMVIFSC.js} +6 -6
  46. package/dist/bundle/{chunk-A63ZFOQJ.js → chunk-MNOVYS43.js} +3 -3
  47. package/dist/bundle/{chunk-YQRNFG2E.js → chunk-MOTKS7XG.js} +7176 -13499
  48. package/dist/bundle/{chunk-6T3P226D.js → chunk-MSDCZ6GT.js} +4 -4
  49. package/dist/bundle/{chunk-DVA6MQWK.js → chunk-MVDPZRFE.js} +1 -1
  50. package/dist/bundle/{chunk-LBOSTBAY.js → chunk-O7L44JK2.js} +2031 -1900
  51. package/dist/bundle/{chunk-Y5LP5SHV.js → chunk-OSBHEM2A.js} +9 -9
  52. package/dist/bundle/{chunk-RRYUD2EF.js → chunk-QLGG7S6F.js} +2 -2
  53. package/dist/bundle/{chunk-ZRD3NDOX.js → chunk-QW5VPZEH.js} +1 -1
  54. package/dist/bundle/{chunk-LV7QRR5S.js → chunk-QXM7S3Y3.js} +5 -5
  55. package/dist/bundle/{chunk-US5C3WAY.js → chunk-R2ULMWB4.js} +27 -27
  56. package/dist/bundle/{chunk-QXTREL2M.js → chunk-R3JYPY3J.js} +2 -2
  57. package/dist/bundle/{chunk-JO4YADNV.js → chunk-RPQ3JOD3.js} +3 -3
  58. package/dist/bundle/{chunk-4TLPOY22.js → chunk-S2EAGDS7.js} +10 -10
  59. package/dist/bundle/{chunk-SSPSNSC5.js → chunk-SQT47CFW.js} +1 -1
  60. package/dist/bundle/{chunk-HXOAPH47.js → chunk-SZ3Z4ZNO.js} +1 -1
  61. package/dist/bundle/{chunk-DWSUSWAX.js → chunk-T5X4LGXE.js} +130 -11
  62. package/dist/bundle/{chunk-2OSBCYJT.js → chunk-TFFEFEG2.js} +16 -16
  63. package/dist/bundle/{chunk-EH5QGQFR.js → chunk-TKXLWFM2.js} +2 -2
  64. package/dist/bundle/{chunk-AVEIQMHZ.js → chunk-TN77LX6W.js} +1 -1
  65. package/dist/bundle/{chunk-77I67HWF.js → chunk-TWIC6JJG.js} +7 -7
  66. package/dist/bundle/{chunk-TZUKDM72.js → chunk-UEZ6URJR.js} +10 -10
  67. package/dist/bundle/{chunk-EJDV5IIF.js → chunk-V4MM6GST.js} +1 -1
  68. package/dist/bundle/{chunk-BSM43OMN.js → chunk-V74QFMSL.js} +1 -1
  69. package/dist/bundle/{chunk-6CJ7NHIP.js → chunk-WY4NYPPS.js} +12 -12
  70. package/dist/bundle/{chunk-FNQASORM.js → chunk-XITUFTON.js} +1 -1
  71. package/dist/bundle/{chunk-GOXDBCDM.js → chunk-XJBYGMZ4.js} +107 -63
  72. package/dist/bundle/{chunk-UU5PLDRA.js → chunk-XRZDYWF6.js} +2 -2
  73. package/dist/bundle/{chunk-6XO7RTJY.js → chunk-Z6TTGTMU.js} +92 -5
  74. package/dist/bundle/{chunk-UDJTRFRV.js → chunk-ZRHMB3LQ.js} +1 -1
  75. package/dist/bundle/{cli-VQJ7ZRYR.js → cli-P3BZUE6S.js} +67 -53
  76. package/dist/bundle/command-contract-TOLB32NJ.js +41 -0
  77. package/dist/bundle/config-4KLLIADY.js +90 -0
  78. package/dist/bundle/{decode-L3ENO2XH.js → decode-QWOQXM7M.js} +2 -2
  79. package/dist/bundle/{dist-WQLS7U23.js → dist-OUE4MF37.js} +79 -19
  80. package/dist/bundle/{echarts-5LLJ6JXC.js → echarts-65IMPY43.js} +2 -2
  81. package/dist/bundle/{embed-37MYTCU7.js → embed-4IULBCKL.js} +3 -3
  82. package/dist/bundle/{embedder-GNGHVJAO.js → embedder-JW4W6IZI.js} +6 -6
  83. package/dist/bundle/{first-run-NR5JKYP3.js → first-run-CH6C674R.js} +5 -5
  84. package/dist/bundle/first-screen-OCAW5ZN6.js +39 -0
  85. package/dist/bundle/{instructions-P72XX4AK.js → instructions-G5QIH2TM.js} +1 -1
  86. package/dist/bundle/{main-QYFCYSTW.js → main-O4ZJIEWP.js} +12 -12
  87. package/dist/bundle/{meetings-66UQINKI.js → meetings-77CCAVYD.js} +1 -1
  88. package/dist/bundle/{node-ZB4RNICS.js → node-E6VQHU4Y.js} +2 -2
  89. package/dist/bundle/{node-sqlite-XPRKBDF3.js → node-sqlite-RJZ4PGLD.js} +3 -3
  90. package/dist/bundle/{oauth-WJRDUU5J.js → oauth-F4JKNRW4.js} +4 -4
  91. package/dist/bundle/{open-S2YSIEOW.js → open-NYOGMIAA.js} +2 -2
  92. package/dist/bundle/{openai-CRNZFNZD.js → openai-5U6EQTFQ.js} +8 -8
  93. package/dist/bundle/{process-XNN4WG6N.js → process-OBWUKBMX.js} +1 -1
  94. package/dist/bundle/{program-BRPJKRCX.js → program-MU7DEJTO.js} +61 -61
  95. package/dist/bundle/{prompt-7RQOL25I.js → prompt-2QWQTHWT.js} +2 -2
  96. package/dist/bundle/{recognize-N5WADGQB.js → recognize-SNUNTUC3.js} +1 -1
  97. package/dist/bundle/{remote-WHYV35IF.js → remote-2CTCIQGF.js} +4 -4
  98. package/dist/bundle/{rerank-FBMZVWSH.js → rerank-XDA7NJNH.js} +4 -4
  99. package/dist/bundle/{run-log-TOCHREH2.js → run-log-NSG3DJVX.js} +50 -50
  100. package/dist/bundle/{serve-4BABX4WS.js → serve-TWQFHOV2.js} +6 -6
  101. package/dist/bundle/{server-CDVI6LOB.js → server-RIQ6HMH2.js} +38 -38
  102. package/dist/bundle/server-XO6XQQTJ.js +72 -0
  103. package/dist/bundle/{services-PIY33I7R.js → services-NKZQJQIV.js} +30 -24
  104. package/dist/bundle/{speech-LS5Q4FL2.js → speech-ZOB76SXA.js} +10 -10
  105. package/dist/bundle/{state-YUX5R2R7.js → state-7YYEIXQ5.js} +3 -3
  106. package/dist/bundle/{store-BD7HAXAA.js → store-E6RTSSNR.js} +21 -12
  107. package/dist/bundle/{store-ERMGBF2B.js → store-OX4HRBLO.js} +45 -14
  108. package/dist/bundle/store-connection-55QPNUDS.js +83 -0
  109. package/dist/bundle/store-maintenance-command-Q5MSU6OK.js +62 -0
  110. package/dist/bundle/zm.js +2 -2
  111. package/dist/bundle/{zoom-app-XJXZ4ZBX.js → zoom-app-TSI2MGVK.js} +2 -2
  112. package/dist/version.d.ts +1 -1
  113. package/dist/version.js +1 -1
  114. package/package.json +2 -2
  115. package/dist/bundle/chunk-NUJMJQXV.js +0 -787
  116. package/dist/bundle/chunk-YOAEZSDG.js +0 -22
  117. package/dist/bundle/command-contract-JPUWWYIV.js +0 -41
  118. package/dist/bundle/config-YGLLR77A.js +0 -90
  119. package/dist/bundle/first-screen-RCR7ATO2.js +0 -39
  120. package/dist/bundle/server-XOFQKFVO.js +0 -72
  121. package/dist/bundle/store-connection-JBR6CMTJ.js +0 -83
  122. package/dist/bundle/store-maintenance-command-I5DUSO2C.js +0 -62
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/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,11 @@ 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"),
74
80
  validation("mail-findings.invalid", "a checked mail findings batch would be refused; details.problems names why, finding by finding"),
75
81
  validation("mail-findings.key-used", "the findings batch key was already used for different input"),
76
82
  validation("finding.unknown-field", "a finding has a field its kind does not take"),
@@ -137,6 +143,21 @@ var OTHERS = [
137
143
  ["feed.gone", "not_found", "the feed's server has no feed at this address any more"],
138
144
  ["feed.timeout", "timeout", "the feed's server did not answer in time"],
139
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"],
140
161
  validation("busy.feed", "a feed calendar has no busy times to ask; read its events with events list"),
141
162
  ["calendar.unsynced", "not_found", "the calendar account has no synced calendar in the store"],
142
163
  ["calendar.sync-incomplete", "not_found", "a synced calendar's sync never finished or is mid-round"],
@@ -166,6 +187,17 @@ var OTHERS = [
166
187
  ],
167
188
  validation("store.refused", "the local store refused the document text"),
168
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
+ ],
169
201
  validation("store.in-use", "a process or a scheduled timer has the store open; stop it, then recover the store"),
170
202
  [
171
203
  "store.sqlite3-missing",
@@ -183,6 +215,8 @@ var OTHERS = [
183
215
  ["store.vector-extension-failed", "configuration_error", "the sqlite-vec extension did not load; reinstall the CLI"],
184
216
  validation("store.vector-invalid", "a vector to store had a non-finite value"),
185
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"),
186
220
  validation("evidence.row-too-large", "one evidence row is over its size limit"),
187
221
  validation("index.not-ready", "the search index is still being built"),
188
222
  validation("input.closed", "the input closed before the answer"),
@@ -196,18 +230,29 @@ var OTHERS = [
196
230
  validation("finance.allocate", "the invoice or payment cannot take an allocation in its state"),
197
231
  validation("finance.currency", "the payment and the invoice are in different currencies; nothing is converted"),
198
232
  validation("finance.field", "a field of the invoice or payment is not valid"),
199
- 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"),
200
234
  validation("finance.lines", "the invoice's lines are not valid"),
201
235
  ["finance.not-allocated", "not_found", "the payment is not allocated to that invoice"],
202
236
  validation("finance.over-invoice", "the allocation would settle more than the invoice's total"),
203
237
  validation("finance.over-payment", "the allocation would use more than the payment's amount"),
204
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"),
205
240
  validation("finance.party", "a party is a person: or organization: reference"),
206
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"),
207
244
  validation("finance.status", "the invoice's status does not allow this"),
208
245
  validation("finance.total", "the invoice's total is not the sum of its lines"),
209
246
  validation("finance.unallocate", "a rejected or deleted payment's allocations are not taken back"),
210
- validation("record.entity", "the invoice or payment the record stands for was refused"),
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"),
211
256
  ["record.map-owner-only", "permission_error", "only the owner says which entity a source record is"],
212
257
  validation("record.map-type", "a record maps only to an entity of its own type"),
213
258
  validation("record.mapped", "the record already stands for another entity"),
@@ -217,6 +262,7 @@ var OTHERS = [
217
262
  validation("record.reference-not-found", "a reference in the record's fields is not in the store"),
218
263
  validation("record.relation-ambiguous", "the record names more than one target for a role that takes one"),
219
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"),
220
266
  validation("memory.evidence-required", "a memory needs its evidence"),
221
267
  validation("memory.scope-required", "a memory needs its scope"),
222
268
  validation("money.amount", "the amount is not a decimal string in the currency's scale"),
@@ -233,13 +279,45 @@ var OTHERS = [
233
279
  ["pipeline.not-found", "not_found", "no stored pipeline has that name or reference"],
234
280
  validation("crm.stage-unknown", "a CRM item stands in a stage the store does not hold; it was not kept"),
235
281
  validation("crm.item-invalid", "a CRM item has a field the store refuses, such as a currency it does not keep"),
236
- validation("crm.pipeline-required", "the CRM has more than one pipeline of the kind; the write names one"),
282
+ validation("crm.pipeline-required", "the CRM has more than one pipeline of the kind; the command names one"),
237
283
  validation("field.unknown", "no custom field of the kind has that code or label; `fields list` lists them"),
238
284
  validation("field.ambiguous", "more than one custom field has that label; name one by its code"),
239
285
  validation("field.unknown-option", "the list field has no option with that id or label"),
240
286
  validation("field.unknown-kind", "fields are listed for deals, leads, people and organizations only"),
241
287
  validation("crm.write-unsupported", "the CRM does not take this write, or does not recognise a repeated one"),
242
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"),
243
321
  validation("order.duplicate", "the shop's order with this number is already stored; change its status instead"),
244
322
  validation("order.proposed", "the shop's order with this number already waits for the owner in a findings batch"),
245
323
  validation("order.field", "a field of the order is not valid"),
@@ -249,6 +327,11 @@ var OTHERS = [
249
327
  validation("order.status", "a rejected or deleted order's status does not change"),
250
328
  ["model.not-downloaded", "not_found", "the model is not downloaded on this machine"],
251
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
+ ],
252
335
  ["transcription.no-key", "authentication_error", "no OpenAI key is set for transcription"],
253
336
  validation("transcription.too-large", "the audio is over the transcription provider's size limit"),
254
337
  [
@@ -286,6 +369,10 @@ var OTHERS = [
286
369
  ["proposals.agent-decisions-off", "permission_error", "agent decisions are turned off; the owner decides"],
287
370
  ["proposal.unknown-kind", "not_found", "no registered proposal kind holds this id"],
288
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"),
289
376
  validation("ranking.invalid", "the ranking is not valid"),
290
377
  validation("ref.malformed", "the reference has a known kind but not its shape"),
291
378
  validation("ref.unknown-kind", "the text names no kind of reference"),
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/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");
@@ -2,6 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  AGENTS,
5
+ AGENT_INPUT_MAX_CHARS,
5
6
  BOT_ACTIONS,
6
7
  BotTokenStore,
7
8
  CONTRACT,
@@ -12,6 +13,7 @@ import {
12
13
  MODEL_CATALOGUE_QUERY,
13
14
  PROVIDER_LOG_BYTES,
14
15
  PressLog,
16
+ ProfileTokenStore,
15
17
  SCHEDULE_SETTINGS,
16
18
  SEARCHES_QUERY,
17
19
  STORE_SETTINGS,
@@ -65,6 +67,8 @@ import {
65
67
  contractEvidence,
66
68
  conversationsCommand,
67
69
  createProgram,
70
+ csvCell,
71
+ csvRecords,
68
72
  damageNotes,
69
73
  dateOrNone,
70
74
  deleteCommand,
@@ -174,36 +178,38 @@ import {
174
178
  wallClock,
175
179
  watchCommand,
176
180
  withSyncCommands,
181
+ writeCsv,
177
182
  writeNewFile,
178
183
  writeProviderWarning
179
- } from "./chunk-LBOSTBAY.js";
184
+ } from "./chunk-O7L44JK2.js";
180
185
  import {
181
186
  openBrowser,
182
187
  startCli
183
- } from "./chunk-Y5LP5SHV.js";
188
+ } from "./chunk-OSBHEM2A.js";
184
189
  import {
185
190
  privateFiles,
186
191
  withSqliteSidecars
187
- } from "./chunk-W42BJ65M.js";
192
+ } from "./chunk-B5D7NZI7.js";
188
193
  import {
189
194
  botInstructions
190
- } from "./chunk-355PHJYX.js";
195
+ } from "./chunk-DHD25JII.js";
191
196
  import {
192
197
  askSetupQuestions,
193
198
  asksAtStart,
194
199
  setupAtStart,
195
200
  systemLanguage
196
- } from "./chunk-4TLPOY22.js";
197
- import "./chunk-SSPSNSC5.js";
201
+ } from "./chunk-S2EAGDS7.js";
202
+ import "./chunk-SQT47CFW.js";
198
203
  import {
199
204
  allAnswer,
200
205
  allHitItem,
201
206
  coverageGaps,
202
207
  messageHitItem,
203
208
  noteHitItem,
209
+ refuseOffline,
204
210
  registerLinkConversationsPrompt,
205
211
  shownOf
206
- } from "./chunk-474WF55M.js";
212
+ } from "./chunk-KX5MZVPX.js";
207
213
  import {
208
214
  UNTRUSTED,
209
215
  UNTRUSTED_INSTRUCTION,
@@ -211,11 +217,11 @@ import {
211
217
  agentBody,
212
218
  agentJson,
213
219
  agentResult
214
- } from "./chunk-7DUYFITC.js";
220
+ } from "./chunk-LEA4BGK7.js";
215
221
  import {
216
222
  failureContext
217
- } from "./chunk-6XO7RTJY.js";
218
- import "./chunk-6T3P226D.js";
223
+ } from "./chunk-Z6TTGTMU.js";
224
+ import "./chunk-MSDCZ6GT.js";
219
225
  import {
220
226
  DAY_MS,
221
227
  FIRST_FETCH_MS,
@@ -241,8 +247,8 @@ import {
241
247
  storeRecoveryCheck,
242
248
  storeRecoveryRun,
243
249
  storeSummary
244
- } from "./chunk-GOXDBCDM.js";
245
- import "./chunk-FNQASORM.js";
250
+ } from "./chunk-XJBYGMZ4.js";
251
+ import "./chunk-XITUFTON.js";
246
252
  import {
247
253
  commandPathKey,
248
254
  commandPermissions,
@@ -255,7 +261,7 @@ import {
255
261
  terminalAsker,
256
262
  unknownPermissionIssues,
257
263
  unknownPermissionKeys
258
- } from "./chunk-US5C3WAY.js";
264
+ } from "./chunk-R2ULMWB4.js";
259
265
  import {
260
266
  COMMAND_NEEDS,
261
267
  LIST_QUERY_GUIDE,
@@ -279,10 +285,10 @@ import {
279
285
  window,
280
286
  withPaging,
281
287
  withQuery
282
- } from "./chunk-2OSBCYJT.js";
288
+ } from "./chunk-TFFEFEG2.js";
283
289
  import {
284
290
  servingProfiles
285
- } from "./chunk-EH5QGQFR.js";
291
+ } from "./chunk-TKXLWFM2.js";
286
292
  import {
287
293
  INBOX_CHATS,
288
294
  REVIEW_CHATS,
@@ -296,12 +302,12 @@ import {
296
302
  unanswered,
297
303
  unreadIn,
298
304
  withoutPhone
299
- } from "./chunk-YTF2WPV4.js";
300
- import "./chunk-6CJ7NHIP.js";
305
+ } from "./chunk-JZ4YOAHA.js";
306
+ import "./chunk-WY4NYPPS.js";
301
307
  import "./chunk-BOAMDYLY.js";
302
308
  import "./chunk-VW6BF6M7.js";
303
- import "./chunk-FMQS7HCC.js";
304
- import "./chunk-4YFJYSSK.js";
309
+ import "./chunk-5ZJXKASF.js";
310
+ import "./chunk-HSI7YOYK.js";
305
311
  import {
306
312
  SECTIONS,
307
313
  WIRECAT_TOOLS,
@@ -314,12 +320,12 @@ import {
314
320
  inSection,
315
321
  installHelp,
316
322
  nextUsually
317
- } from "./chunk-EWIBLDQQ.js";
323
+ } from "./chunk-C6TEYKXV.js";
318
324
  import "./chunk-HTQTIKWP.js";
319
325
  import {
320
326
  SCHEMA_DIALECT,
321
327
  commandContract
322
- } from "./chunk-K67V24AT.js";
328
+ } from "./chunk-4APZQYCH.js";
323
329
  import {
324
330
  AI_ENTRIES,
325
331
  AI_SETTING_KEYS,
@@ -438,27 +444,27 @@ import {
438
444
  withoutSetting,
439
445
  writesFileOnlyWith,
440
446
  writesNewFileOnlyWith
441
- } from "./chunk-AJ7CMUGD.js";
447
+ } from "./chunk-G6IX2MD2.js";
442
448
  import {
443
449
  envName,
444
450
  readOnlyLockOf,
445
451
  readOnlyRefusal
446
- } from "./chunk-AVEIQMHZ.js";
452
+ } from "./chunk-TN77LX6W.js";
447
453
  import {
448
454
  providerErrorKey,
449
455
  renderEvent,
450
456
  runContextOf,
451
457
  secretInput
452
- } from "./chunk-RP3U3J53.js";
458
+ } from "./chunk-MJMVIFSC.js";
453
459
  import {
454
460
  readSetupAnswers,
455
461
  setupPermissionCeiling
456
- } from "./chunk-L4WVLRXM.js";
462
+ } from "./chunk-IPBZKUC3.js";
457
463
  import {
458
464
  fieldsOf,
459
465
  projectFields
460
- } from "./chunk-JO4YADNV.js";
461
- import "./chunk-DVA6MQWK.js";
466
+ } from "./chunk-RPQ3JOD3.js";
467
+ import "./chunk-MVDPZRFE.js";
462
468
  import {
463
469
  KEEP_RUNS_FOR_DAYS,
464
470
  KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
@@ -477,48 +483,49 @@ import {
477
483
  startRun,
478
484
  useAsProcessRun,
479
485
  withAttempt
480
- } from "./chunk-JRCYFCPL.js";
481
- import {
482
- isCliFailure,
483
- isCommanderFailure
484
- } from "./chunk-YOAEZSDG.js";
485
- import "./chunk-65T3PU75.js";
486
- import "./chunk-TUNQ6NE2.js";
486
+ } from "./chunk-CUZHKYC2.js";
487
+ import "./chunk-IEC4E65G.js";
488
+ import "./chunk-L62EJDNZ.js";
487
489
  import {
488
490
  PROFILE_PLACEHOLDER,
489
491
  mailFindingFieldsHelp,
490
492
  openOf,
491
493
  refLabel
492
- } from "./chunk-YQRNFG2E.js";
494
+ } from "./chunk-MOTKS7XG.js";
493
495
  import {
494
496
  LANGUAGES
495
- } from "./chunk-77I67HWF.js";
496
- import "./chunk-NUJMJQXV.js";
497
- import "./chunk-DWSUSWAX.js";
498
- import "./chunk-VLD7Y4SY.js";
499
- import "./chunk-AYEVBAGO.js";
500
- import "./chunk-EJDV5IIF.js";
501
- import "./chunk-RRYUD2EF.js";
497
+ } from "./chunk-TWIC6JJG.js";
498
+ import "./chunk-6AMMTXEA.js";
499
+ import "./chunk-T5X4LGXE.js";
500
+ import {
501
+ isCliFailure,
502
+ isCommanderFailure,
503
+ storeDamaged
504
+ } from "./chunk-37B7A4RP.js";
505
+ import "./chunk-GR3QDHBU.js";
506
+ import "./chunk-F5DYBWH7.js";
507
+ import "./chunk-V4MM6GST.js";
508
+ import "./chunk-QLGG7S6F.js";
502
509
  import {
503
510
  MAX_BUFFERED_INPUT,
504
511
  MAX_SECRET_INPUT,
505
512
  bufferedInput,
506
513
  inputPolicy,
507
514
  provideInputPolicy
508
- } from "./chunk-2T6XHWDX.js";
509
- import "./chunk-EZRPSZJS.js";
510
- import "./chunk-ZRD3NDOX.js";
511
- import "./chunk-3BRV2YU2.js";
512
- import "./chunk-KUB2U5NT.js";
513
- import "./chunk-6TJ62LZQ.js";
514
- import "./chunk-32FPA7P2.js";
515
+ } from "./chunk-6N2D6JGX.js";
516
+ import "./chunk-2SYWVIQJ.js";
517
+ import "./chunk-QW5VPZEH.js";
518
+ import "./chunk-JX5JJZC3.js";
519
+ import "./chunk-5GOE6PQK.js";
520
+ import "./chunk-LDRQ5NAP.js";
521
+ import "./chunk-CKK6JOC4.js";
515
522
  import "./chunk-P3ASN72F.js";
516
523
  import "./chunk-D72URWJE.js";
517
- import "./chunk-LV7QRR5S.js";
518
- import "./chunk-PUTGTW6W.js";
524
+ import "./chunk-QXM7S3Y3.js";
525
+ import "./chunk-EPPSMCEV.js";
519
526
  import {
520
527
  MEETING_RESULT_ENTITIES
521
- } from "./chunk-TDGZMC6K.js";
528
+ } from "./chunk-HC56J5LB.js";
522
529
  import "./chunk-B6JMVB6R.js";
523
530
  import "./chunk-VOXIGICJ.js";
524
531
  import "./chunk-KNE6VFHZ.js";
@@ -526,10 +533,11 @@ import "./chunk-NRRI37NJ.js";
526
533
  import "./chunk-Y5E2WNWB.js";
527
534
  import "./chunk-FEM2JQN2.js";
528
535
  import "./chunk-OE7EIP5L.js";
529
- import "./chunk-P2TISY3R.js";
536
+ import "./chunk-LQX74VKG.js";
530
537
  import "./chunk-ZVVMGPBJ.js";
531
538
  export {
532
539
  AGENTS,
540
+ AGENT_INPUT_MAX_CHARS,
533
541
  AI_ENTRIES,
534
542
  AI_SETTING_KEYS,
535
543
  BOT_ACTIONS,
@@ -569,6 +577,7 @@ export {
569
577
  PROPOSE_COMMANDS,
570
578
  PROVIDER_LOG_BYTES,
571
579
  PressLog,
580
+ ProfileTokenStore,
572
581
  REMOTE_READ,
573
582
  REMOTE_WRITE,
574
583
  REVIEW_CHATS,
@@ -676,6 +685,8 @@ export {
676
685
  coverageGaps,
677
686
  crashOf,
678
687
  createProgram,
688
+ csvCell,
689
+ csvRecords,
679
690
  currentAttempt,
680
691
  currentRun,
681
692
  customizeSharedCommand,
@@ -850,6 +861,7 @@ export {
850
861
  recoveryNotes,
851
862
  refLabel,
852
863
  refuseCommandName,
864
+ refuseOffline,
853
865
  refuseUnderReadOnly,
854
866
  refuseUnknownKey,
855
867
  refuseUnknownPermissionKeys,
@@ -920,6 +932,7 @@ export {
920
932
  stickersCommand,
921
933
  storeChangeRefusal,
922
934
  storeCommand,
935
+ storeDamaged,
923
936
  storeInfo,
924
937
  storeInfoCommand,
925
938
  storeRecoverCommand,
@@ -964,6 +977,7 @@ export {
964
977
  withSyncCommands,
965
978
  withoutPhone,
966
979
  withoutSetting,
980
+ writeCsv,
967
981
  writeNewFile,
968
982
  writeProviderWarning,
969
983
  writesFileOnlyWith,
@@ -0,0 +1,41 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ SCHEMA_DIALECT,
5
+ commandContract,
6
+ commandPathOf,
7
+ findCommand,
8
+ outputOf
9
+ } from "./chunk-4APZQYCH.js";
10
+ import "./chunk-G6IX2MD2.js";
11
+ import "./chunk-TN77LX6W.js";
12
+ import "./chunk-MJMVIFSC.js";
13
+ import "./chunk-IPBZKUC3.js";
14
+ import "./chunk-RPQ3JOD3.js";
15
+ import "./chunk-MVDPZRFE.js";
16
+ import "./chunk-CUZHKYC2.js";
17
+ import "./chunk-IEC4E65G.js";
18
+ import "./chunk-L62EJDNZ.js";
19
+ import "./chunk-T5X4LGXE.js";
20
+ import "./chunk-37B7A4RP.js";
21
+ import "./chunk-GR3QDHBU.js";
22
+ import "./chunk-F5DYBWH7.js";
23
+ import "./chunk-V4MM6GST.js";
24
+ import "./chunk-LDRQ5NAP.js";
25
+ import "./chunk-CKK6JOC4.js";
26
+ import "./chunk-HC56J5LB.js";
27
+ import "./chunk-B6JMVB6R.js";
28
+ import "./chunk-VOXIGICJ.js";
29
+ import "./chunk-KNE6VFHZ.js";
30
+ import "./chunk-NRRI37NJ.js";
31
+ import "./chunk-Y5E2WNWB.js";
32
+ import "./chunk-FEM2JQN2.js";
33
+ import "./chunk-OE7EIP5L.js";
34
+ import "./chunk-ZVVMGPBJ.js";
35
+ export {
36
+ SCHEMA_DIALECT,
37
+ commandContract,
38
+ commandPathOf,
39
+ findCommand,
40
+ outputOf
41
+ };
@@ -0,0 +1,90 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ ZOOM_SETTINGS,
5
+ addProfile,
6
+ filesZone,
7
+ inspectConfig,
8
+ migrateConfig,
9
+ profileAccountKey,
10
+ readConfig,
11
+ setConfig,
12
+ unsetConfig
13
+ } from "./chunk-UEZ6URJR.js";
14
+ import "./chunk-O7L44JK2.js";
15
+ import "./chunk-OSBHEM2A.js";
16
+ import "./chunk-H3MFBYTQ.js";
17
+ import "./chunk-B5D7NZI7.js";
18
+ import "./chunk-KAPJQGHE.js";
19
+ import "./chunk-DHD25JII.js";
20
+ import "./chunk-S2EAGDS7.js";
21
+ import "./chunk-SQT47CFW.js";
22
+ import "./chunk-KX5MZVPX.js";
23
+ import "./chunk-LEA4BGK7.js";
24
+ import "./chunk-Z6TTGTMU.js";
25
+ import "./chunk-MSDCZ6GT.js";
26
+ import "./chunk-XJBYGMZ4.js";
27
+ import "./chunk-XITUFTON.js";
28
+ import "./chunk-R2ULMWB4.js";
29
+ import "./chunk-TFFEFEG2.js";
30
+ import "./chunk-TKXLWFM2.js";
31
+ import "./chunk-JZ4YOAHA.js";
32
+ import "./chunk-WY4NYPPS.js";
33
+ import "./chunk-BOAMDYLY.js";
34
+ import "./chunk-VW6BF6M7.js";
35
+ import "./chunk-5ZJXKASF.js";
36
+ import "./chunk-HSI7YOYK.js";
37
+ import "./chunk-C6TEYKXV.js";
38
+ import "./chunk-HTQTIKWP.js";
39
+ import "./chunk-4APZQYCH.js";
40
+ import "./chunk-G6IX2MD2.js";
41
+ import "./chunk-TN77LX6W.js";
42
+ import "./chunk-MJMVIFSC.js";
43
+ import "./chunk-IPBZKUC3.js";
44
+ import "./chunk-RPQ3JOD3.js";
45
+ import "./chunk-MVDPZRFE.js";
46
+ import "./chunk-CUZHKYC2.js";
47
+ import "./chunk-IEC4E65G.js";
48
+ import "./chunk-L62EJDNZ.js";
49
+ import "./chunk-MOTKS7XG.js";
50
+ import "./chunk-TWIC6JJG.js";
51
+ import "./chunk-6AMMTXEA.js";
52
+ import "./chunk-T5X4LGXE.js";
53
+ import "./chunk-37B7A4RP.js";
54
+ import "./chunk-GR3QDHBU.js";
55
+ import "./chunk-F5DYBWH7.js";
56
+ import "./chunk-V4MM6GST.js";
57
+ import "./chunk-QLGG7S6F.js";
58
+ import "./chunk-6N2D6JGX.js";
59
+ import "./chunk-2SYWVIQJ.js";
60
+ import "./chunk-QW5VPZEH.js";
61
+ import "./chunk-JX5JJZC3.js";
62
+ import "./chunk-5GOE6PQK.js";
63
+ import "./chunk-LDRQ5NAP.js";
64
+ import "./chunk-CKK6JOC4.js";
65
+ import "./chunk-V74QFMSL.js";
66
+ import "./chunk-P3ASN72F.js";
67
+ import "./chunk-D72URWJE.js";
68
+ import "./chunk-QXM7S3Y3.js";
69
+ import "./chunk-EPPSMCEV.js";
70
+ import "./chunk-HC56J5LB.js";
71
+ import "./chunk-B6JMVB6R.js";
72
+ import "./chunk-VOXIGICJ.js";
73
+ import "./chunk-KNE6VFHZ.js";
74
+ import "./chunk-NRRI37NJ.js";
75
+ import "./chunk-Y5E2WNWB.js";
76
+ import "./chunk-FEM2JQN2.js";
77
+ import "./chunk-OE7EIP5L.js";
78
+ import "./chunk-LQX74VKG.js";
79
+ import "./chunk-ZVVMGPBJ.js";
80
+ export {
81
+ ZOOM_SETTINGS,
82
+ addProfile,
83
+ filesZone,
84
+ inspectConfig,
85
+ migrateConfig,
86
+ profileAccountKey,
87
+ readConfig,
88
+ setConfig,
89
+ unsetConfig
90
+ };
@@ -6,8 +6,8 @@ import {
6
6
  decodeChannels,
7
7
  formatOf,
8
8
  runFfmpeg
9
- } from "./chunk-QXTREL2M.js";
10
- import "./chunk-A63ZFOQJ.js";
9
+ } from "./chunk-R3JYPY3J.js";
10
+ import "./chunk-MNOVYS43.js";
11
11
  import "./chunk-KNE6VFHZ.js";
12
12
  import "./chunk-NRRI37NJ.js";
13
13
  import "./chunk-Y5E2WNWB.js";