@wirecat/attio-cli 0.1.0 → 0.2.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 (159) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +6 -5
  3. package/contracts/wirecat.json +20 -2
  4. package/dist/bin/attio.js +2 -2
  5. package/dist/bundle/agent-DYTWDBTT.js +37 -0
  6. package/dist/bundle/{all-profiles-C2NMRQPE.js → all-profiles-LZDKPHN2.js} +10 -10
  7. package/dist/bundle/{anthropic-KOU2ILDK.js → anthropic-BF72H77D.js} +5 -5
  8. package/dist/bundle/{app-server-TINV4NNY.js → app-server-H57FZJX5.js} +61 -61
  9. package/dist/bundle/attio.js +11 -11
  10. package/dist/bundle/{bun-GVNM6IWY.js → bun-WO77T4LG.js} +2 -2
  11. package/dist/bundle/{bun-sqlite-IF6B3EQI.js → bun-sqlite-2BP7JDVO.js} +6 -6
  12. package/dist/bundle/{chunk-RCKRXBJF.js → chunk-2E6JGBM5.js} +14 -14
  13. package/dist/bundle/{chunk-VJ4CPL6F.js → chunk-34FJ26K2.js} +2 -2
  14. package/dist/bundle/{chunk-CBPL3GID.js → chunk-3I2FGNWO.js} +1 -1
  15. package/dist/bundle/{chunk-ICUXAOEM.js → chunk-3NVOKVRY.js} +380 -295
  16. package/dist/bundle/{chunk-KD4EUUER.js → chunk-3YFDZSM3.js} +1 -1
  17. package/dist/bundle/{chunk-ZPSH27BB.js → chunk-4SMGM2Q6.js} +4 -4
  18. package/dist/bundle/{chunk-MMGCGPKM.js → chunk-4STBJZR4.js} +26 -26
  19. package/dist/bundle/{chunk-ZMJZQGCN.js → chunk-5K3FGXZH.js} +1 -1
  20. package/dist/bundle/{chunk-IPHUAWFG.js → chunk-6ALPRBNV.js} +3 -3
  21. package/dist/bundle/{chunk-RK4GN2II.js → chunk-6NDJDDSQ.js} +35 -35
  22. package/dist/bundle/{chunk-PWUQC2GI.js → chunk-6SK3YB2B.js} +12 -12
  23. package/dist/bundle/{chunk-ETSOG6TZ.js → chunk-76RRELCU.js} +418 -396
  24. package/dist/bundle/{chunk-HQJ2TABD.js → chunk-7MXCUMHG.js} +1 -1
  25. package/dist/bundle/{chunk-WIYAMDPP.js → chunk-7ZUOI3HY.js} +3 -3
  26. package/dist/bundle/{chunk-RRH7UK7L.js → chunk-AMUONYQR.js} +2 -2
  27. package/dist/bundle/{chunk-MCQOXTAL.js → chunk-ASCUOOLO.js} +1 -1
  28. package/dist/bundle/{chunk-5DCRHSBI.js → chunk-BUGROVF3.js} +2 -2
  29. package/dist/bundle/{chunk-QNQ2OF24.js → chunk-CHZ26CW5.js} +56 -56
  30. package/dist/bundle/{chunk-KB3YJJPN.js → chunk-CMO5ND3Y.js} +34 -34
  31. package/dist/bundle/{chunk-WBEZZGZE.js → chunk-DF2IIO32.js} +158 -158
  32. package/dist/bundle/{chunk-HLLRNP2G.js → chunk-DQ6P3R4B.js} +3 -3
  33. package/dist/bundle/{chunk-XHIVZPQ2.js → chunk-DSRXCLPO.js} +1 -1
  34. package/dist/bundle/{chunk-4HQDT5PF.js → chunk-EEPE3SOW.js} +5 -5
  35. package/dist/bundle/{chunk-SBRFKB77.js → chunk-EQGXEKSV.js} +7 -7
  36. package/dist/bundle/{chunk-DW3V7GTY.js → chunk-EQXT7KO4.js} +6 -6
  37. package/dist/bundle/{chunk-MXDIXBIV.js → chunk-ERW2WOJT.js} +1 -1
  38. package/dist/bundle/{chunk-5ETXE5KF.js → chunk-ESH2QGCA.js} +7 -7
  39. package/dist/bundle/{chunk-4EYKJLWI.js → chunk-G3JTLVVL.js} +7 -7
  40. package/dist/bundle/{chunk-JKCXDIGC.js → chunk-G6FQMVKW.js} +3 -3
  41. package/dist/bundle/{chunk-LWUJZ2E3.js → chunk-GBZ6JUXU.js} +2 -2
  42. package/dist/bundle/{chunk-5WAGTWCS.js → chunk-GLHFJPYS.js} +3 -3
  43. package/dist/bundle/{chunk-LB6D4QF2.js → chunk-GW4G5KLS.js} +8 -8
  44. package/dist/bundle/{chunk-V5K3M7FE.js → chunk-H7QDPW3D.js} +1 -1
  45. package/dist/bundle/{chunk-6B5PSQQ7.js → chunk-HG7FT3H3.js} +7 -7
  46. package/dist/bundle/{chunk-6L5EUGLP.js → chunk-I3WS6V5H.js} +8 -8
  47. package/dist/bundle/{chunk-BHNFRL3H.js → chunk-IDU4ESRZ.js} +1 -1
  48. package/dist/bundle/{chunk-OPXCRQTV.js → chunk-IXCIQ7FZ.js} +4 -4
  49. package/dist/bundle/{chunk-MZNRIH3T.js → chunk-J5P5VSRG.js} +8 -8
  50. package/dist/bundle/{chunk-NEFILPPV.js → chunk-JA26HG7T.js} +8 -8
  51. package/dist/bundle/{chunk-V6EVJXLO.js → chunk-JSTBW7F4.js} +6 -6
  52. package/dist/bundle/{chunk-QCEEPJNN.js → chunk-KHDXRFJZ.js} +8 -8
  53. package/dist/bundle/{chunk-2P7ENEQ7.js → chunk-L5WS6CYZ.js} +2 -2
  54. package/dist/bundle/{chunk-MYVWV5L5.js → chunk-LWJ4ZGUM.js} +13 -13
  55. package/dist/bundle/{chunk-PKNFA5TU.js → chunk-MC2RQ2OB.js} +1 -1
  56. package/dist/bundle/{chunk-QG4WCLGB.js → chunk-MNQACPXG.js} +25 -25
  57. package/dist/bundle/{chunk-IGALQ74S.js → chunk-MOSH2KPD.js} +10 -10
  58. package/dist/bundle/{chunk-A7YQTQ5U.js → chunk-MRREDVPY.js} +13 -13
  59. package/dist/bundle/{chunk-7NFEMS4A.js → chunk-MT2ZUZRA.js} +6 -6
  60. package/dist/bundle/{chunk-FJV3MO57.js → chunk-O4A33Y54.js} +2 -2
  61. package/dist/bundle/{chunk-V2R2BJJU.js → chunk-OBXDRUO4.js} +1 -1
  62. package/dist/bundle/{chunk-4XHWGJXT.js → chunk-OFR3YYT6.js} +1 -1
  63. package/dist/bundle/{chunk-VL25A6V2.js → chunk-P4U6AGWD.js} +2 -2
  64. package/dist/bundle/{chunk-4QE4L7UL.js → chunk-PMP37KLR.js} +3 -3
  65. package/dist/bundle/{chunk-JZMGOVCZ.js → chunk-Q3JCUUOR.js} +3 -3
  66. package/dist/bundle/{chunk-IYMWUL6E.js → chunk-Q7BSTQ3T.js} +1 -1
  67. package/dist/bundle/{chunk-DVN54VPI.js → chunk-QLHDUYGE.js} +1 -1
  68. package/dist/bundle/{chunk-2H2MWGBD.js → chunk-RU5J7DWY.js} +9 -9
  69. package/dist/bundle/{chunk-JTOKDROB.js → chunk-S7K2XFQB.js} +6 -6
  70. package/dist/bundle/{chunk-6BVPS2YY.js → chunk-SQHDE3TC.js} +4 -4
  71. package/dist/bundle/{chunk-WRJGITBX.js → chunk-TF7ZGCOK.js} +3 -3
  72. package/dist/bundle/{chunk-SP6DPFZ4.js → chunk-V6BTAILB.js} +61 -61
  73. package/dist/bundle/{chunk-PO6PLQYL.js → chunk-VDMIJ3JW.js} +3 -3
  74. package/dist/bundle/{chunk-YKN4Y35P.js → chunk-VW5F6FK3.js} +4 -4
  75. package/dist/bundle/{chunk-V6ALLFEE.js → chunk-W6F2CQZ6.js} +17 -17
  76. package/dist/bundle/{chunk-S7WJXELM.js → chunk-WARIIYSW.js} +2 -2
  77. package/dist/bundle/{chunk-ARRQVUJ2.js → chunk-WK7GLHHL.js} +5 -5
  78. package/dist/bundle/{chunk-XTQIXZVM.js → chunk-X5S5KUSU.js} +19 -19
  79. package/dist/bundle/{chunk-O6CVJGGL.js → chunk-X6R74TWX.js} +4 -4
  80. package/dist/bundle/{chunk-AEPOHR4Z.js → chunk-XXLQNHKF.js} +2 -2
  81. package/dist/bundle/{chunk-2343HKEW.js → chunk-XXOTX4M3.js} +7 -7
  82. package/dist/bundle/{chunk-TWCVCW5T.js → chunk-ZDBTYBFR.js} +3 -3
  83. package/dist/bundle/{chunk-SWJDLFDM.js → chunk-ZGADZ4CH.js} +14 -14
  84. package/dist/bundle/command-contract-7M6EPH3D.js +37 -0
  85. package/dist/bundle/{command-server-entry-4XR4GDS7.js → command-server-entry-MNVPYQZ3.js} +25 -25
  86. package/dist/bundle/{decode-24EITKP4.js → decode-MQNKNXLK.js} +5 -5
  87. package/dist/bundle/{definitions-HU62PG4L.js → definitions-FODOIPM2.js} +20 -5
  88. package/dist/bundle/{dispatch-VE6CXCJW.js → dispatch-TAQ7635E.js} +8 -8
  89. package/dist/bundle/{dist-ZSNEZYVF.js → dist-EM7KLEG4.js} +1 -1
  90. package/dist/bundle/{echarts-LEVLEF7L.js → echarts-6ZSUNO4L.js} +2 -2
  91. package/dist/bundle/{embed-G6FGY3VZ.js → embed-PHCCJJ5Z.js} +6 -6
  92. package/dist/bundle/{embedder-B6LNMXZZ.js → embedder-WLZZQTKZ.js} +9 -9
  93. package/dist/bundle/{failure-ASVFQXMF.js → failure-MR2XVHFP.js} +2 -2
  94. package/dist/bundle/{first-run-NVXVVALW.js → first-run-64LREHSV.js} +12 -12
  95. package/dist/bundle/first-screen-YSCAZIYJ.js +37 -0
  96. package/dist/bundle/{instructions-F3KPYMJK.js → instructions-22GCKNR5.js} +1 -1
  97. package/dist/bundle/{mcp-BUCB5ZPE.js → mcp-CNV7F2XZ.js} +2 -2
  98. package/dist/bundle/meeting-combined-YX3T5WJD.js +24 -0
  99. package/dist/bundle/{meeting-model-GJPAIUQL.js → meeting-model-JWDTCGLZ.js} +11 -11
  100. package/dist/bundle/{meeting-semantic-YWY645AH.js → meeting-semantic-375GYPZQ.js} +6 -6
  101. package/dist/bundle/{node-WVUZSDLD.js → node-ITDTNRRZ.js} +2 -2
  102. package/dist/bundle/{node-sqlite-V4NNKABG.js → node-sqlite-IRAGRMEZ.js} +7 -7
  103. package/dist/bundle/{oauth-7CENTQIN.js → oauth-CACOQJEL.js} +7 -7
  104. package/dist/bundle/{open-OLTONZBG.js → open-HU4KHKDR.js} +5 -5
  105. package/dist/bundle/{openai-M6ES74YN.js → openai-JQUPAVKX.js} +15 -15
  106. package/dist/bundle/{process-VFIFK5KO.js → process-QS5OHEUK.js} +1 -1
  107. package/dist/bundle/{program-N72VUDXM.js → program-QLCUCR76.js} +376 -366
  108. package/dist/bundle/{prompt-TNWPBEBB.js → prompt-VA5MKXJU.js} +5 -5
  109. package/dist/bundle/{recognize-PV2WOUWS.js → recognize-JGA5IVKC.js} +4 -4
  110. package/dist/bundle/{remote-3F6JACS5.js → remote-NPY2KZQ4.js} +9 -9
  111. package/dist/bundle/{rerank-33C67PIV.js → rerank-4H2QR4XU.js} +7 -7
  112. package/dist/bundle/{schemas-RLDEALIJ.js → schemas-THAI3G5S.js} +6 -6
  113. package/dist/bundle/{serve-3DEMACSQ.js → serve-UH46SZQG.js} +9 -9
  114. package/dist/bundle/{server-LIBRGMUZ.js → server-6H7JS6SU.js} +53 -53
  115. package/dist/bundle/server-SR52KBL3.js +79 -0
  116. package/dist/bundle/{sqlite-runtime-SMAREHYG.js → sqlite-runtime-EJWEUTBR.js} +6 -6
  117. package/dist/bundle/{state-WPHAVJIU.js → state-34B6AUQZ.js} +6 -6
  118. package/dist/bundle/{store-A7V4FEXE.js → store-3R4ILTCJ.js} +18 -18
  119. package/dist/bundle/{store-PMAPJNXT.js → store-XSE35P3U.js} +20 -20
  120. package/dist/bundle/store-maintenance-command-ABJARLI4.js +66 -0
  121. package/dist/bundle/surface-NOTIEJB5.js +65 -0
  122. package/dist/generated/definitions.d.ts.map +1 -1
  123. package/dist/generated/definitions.js +15 -0
  124. package/dist/generated/definitions.js.map +1 -1
  125. package/dist/generated/schemas.js +5 -5
  126. package/dist/generated/schemas.js.map +1 -1
  127. package/dist/generated/types.d.ts +15 -5
  128. package/dist/generated/types.d.ts.map +1 -1
  129. package/dist/generated/wirecat-config.d.ts.map +1 -1
  130. package/dist/generated/wirecat-config.js +5 -0
  131. package/dist/generated/wirecat-config.js.map +1 -1
  132. package/dist/identity.js +1 -1
  133. package/dist/identity.js.map +1 -1
  134. package/dist/version.d.ts +1 -1
  135. package/dist/version.js +1 -1
  136. package/package.json +3 -3
  137. package/dist/bundle/agent-KLBL3FYD.js +0 -37
  138. package/dist/bundle/command-contract-3FR7BK72.js +0 -37
  139. package/dist/bundle/first-screen-N3IPK5AT.js +0 -37
  140. package/dist/bundle/meeting-combined-7FREWXMB.js +0 -24
  141. package/dist/bundle/server-AAK2HWQM.js +0 -79
  142. package/dist/bundle/store-maintenance-command-QHRHAEYN.js +0 -66
  143. package/dist/bundle/surface-MN4RTNYW.js +0 -65
  144. package/dist/commands/comments.d.ts +0 -3
  145. package/dist/commands/comments.d.ts.map +0 -1
  146. package/dist/commands/comments.js +0 -114
  147. package/dist/commands/comments.js.map +0 -1
  148. package/dist/sample/comments.d.ts +0 -61
  149. package/dist/sample/comments.d.ts.map +0 -1
  150. package/dist/sample/comments.js +0 -39
  151. package/dist/sample/comments.js.map +0 -1
  152. package/dist/sample/records.d.ts +0 -16
  153. package/dist/sample/records.d.ts.map +0 -1
  154. package/dist/sample/records.js +0 -22
  155. package/dist/sample/records.js.map +0 -1
  156. package/dist/sample/transport.d.ts +0 -42
  157. package/dist/sample/transport.d.ts.map +0 -1
  158. package/dist/sample/transport.js +0 -153
  159. package/dist/sample/transport.js.map +0 -1
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/codegen/runtime.js
13
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/codegen/runtime.js
14
14
  var isLossless = /* @__PURE__ */ __name((input) => typeof input === "object" && input !== null && input.isLosslessNumber === true && typeof input.value === "string", "isLossless");
15
15
  var INTEGER = /^-?\d+$/;
16
16
  var INT64_MIN = -(2n ** 63n);
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  wirecatDirectory
5
- } from "./chunk-VJ4CPL6F.js";
5
+ } from "./chunk-34FJ26K2.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-5DCRHSBI.js";
8
+ } from "./chunk-BUGROVF3.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/speech/models.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/speech/models.js
14
14
  var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
15
15
  var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
16
16
  var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
@@ -137,7 +137,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
137
137
  return model;
138
138
  }, "speechModel");
139
139
 
140
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/speech/install.js
140
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/speech/install.js
141
141
  import { createHash, randomUUID } from "node:crypto";
142
142
  import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
143
143
  import { rename, rm } from "node:fs/promises";
@@ -2,34 +2,34 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  commandAvailability
5
- } from "./chunk-PO6PLQYL.js";
5
+ } from "./chunk-VDMIJ3JW.js";
6
6
  import {
7
7
  lentConnection
8
- } from "./chunk-4HQDT5PF.js";
8
+ } from "./chunk-EEPE3SOW.js";
9
9
  import {
10
10
  QUERY_ARGUMENT
11
- } from "./chunk-A7YQTQ5U.js";
11
+ } from "./chunk-MRREDVPY.js";
12
12
  import {
13
13
  authorityAllowed,
14
14
  botApiAllowed,
15
15
  changesMessenger,
16
16
  flatten
17
- } from "./chunk-WBEZZGZE.js";
17
+ } from "./chunk-DF2IIO32.js";
18
18
  import {
19
19
  currentCaller
20
- } from "./chunk-2343HKEW.js";
20
+ } from "./chunk-XXOTX4M3.js";
21
21
  import {
22
22
  enclosingTraceId,
23
23
  inRun,
24
24
  newRunId,
25
25
  traceOf
26
- } from "./chunk-RK4GN2II.js";
26
+ } from "./chunk-6NDJDDSQ.js";
27
27
  import {
28
28
  queryDescription
29
- } from "./chunk-SP6DPFZ4.js";
29
+ } from "./chunk-V6BTAILB.js";
30
30
  import {
31
31
  captureStreams
32
- } from "./chunk-XTQIXZVM.js";
32
+ } from "./chunk-X5S5KUSU.js";
33
33
  import {
34
34
  COMPACT_FLAG,
35
35
  SNAKE_CASE,
@@ -39,7 +39,7 @@ import {
39
39
  text,
40
40
  word,
41
41
  writes
42
- } from "./chunk-MZNRIH3T.js";
42
+ } from "./chunk-J5P5VSRG.js";
43
43
  import {
44
44
  array,
45
45
  boolean,
@@ -63,15 +63,15 @@ import {
63
63
  } from "./chunk-S4UUN6LD.js";
64
64
  import {
65
65
  CliError
66
- } from "./chunk-5DCRHSBI.js";
66
+ } from "./chunk-BUGROVF3.js";
67
67
  import {
68
68
  __name
69
69
  } from "./chunk-ZVVMGPBJ.js";
70
70
 
71
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/mcp/agent.js
71
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/mcp/agent.js
72
72
  import { Readable } from "node:stream";
73
73
 
74
- // node_modules/.pnpm/@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
74
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
75
75
  var LINT_SEVERITIES = ["high", "medium", "low"];
76
76
  var lintRuleSchema = strictObject({
77
77
  id: word,
@@ -217,7 +217,7 @@ var overrideSchema = strictObject({
217
217
  });
218
218
  var overridesSchema = array(overrideSchema);
219
219
 
220
- // node_modules/.pnpm/@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
220
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
221
221
  var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
222
222
  var defineAuditRules = /* @__PURE__ */ __name((input) => parseRegistry("audit rules", array(auditRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineAuditRules");
223
223
  var AUDIT_RULES = defineAuditRules([
@@ -403,7 +403,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
403
403
  { path: ["upgrade"], meaning: "updates the CLI" }
404
404
  ]);
405
405
 
406
- // node_modules/.pnpm/@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
406
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
407
407
  var fieldRuleSchema = strictObject({ id: word, rule: text });
408
408
  var defineFieldRules = /* @__PURE__ */ __name((input) => parseRegistry("output field rules", array(fieldRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineFieldRules");
409
409
  var FIELD_RULES = defineFieldRules([
@@ -419,7 +419,7 @@ var FIELD_RULES = defineFieldRules([
419
419
  }
420
420
  ]);
421
421
 
422
- // node_modules/.pnpm/@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
422
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
423
423
  var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
424
424
  var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
425
425
  var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
@@ -441,7 +441,7 @@ var IDENTIFIERS = defineIdentifiers([
441
441
  { key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
442
442
  ]);
443
443
 
444
- // node_modules/.pnpm/@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-account.js
444
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-account.js
445
445
  var ACCOUNT_FLAGS = [
446
446
  {
447
447
  name: "--client-id",
@@ -478,7 +478,7 @@ var ACCOUNT_FLAGS = [
478
478
  { name: "--hide-phone", role: "output", type: "switch", meaning: "leave the phone number out of the answer" }
479
479
  ];
480
480
 
481
- // node_modules/.pnpm/@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
481
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
482
482
  var CALENDAR_FLAGS = [
483
483
  { name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
484
484
  {
@@ -566,7 +566,7 @@ var CALENDAR_FLAGS = [
566
566
  }
567
567
  ];
568
568
 
569
- // node_modules/.pnpm/@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
569
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
570
570
  var CRM_FLAGS = [
571
571
  {
572
572
  name: "--email",
@@ -730,7 +730,7 @@ var CRM_FLAGS = [
730
730
  }
731
731
  ];
732
732
 
733
- // node_modules/.pnpm/@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
733
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
734
734
  var HOW_FLAGS = [
735
735
  {
736
736
  name: "--limit",
@@ -1727,7 +1727,7 @@ var HOW_FLAGS = [
1727
1727
  }
1728
1728
  ];
1729
1729
 
1730
- // node_modules/.pnpm/@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-knowledge.js
1730
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-knowledge.js
1731
1731
  var KNOWLEDGE_FLAGS = [
1732
1732
  {
1733
1733
  name: "--accept-terms",
@@ -1786,7 +1786,7 @@ var KNOWLEDGE_FLAGS = [
1786
1786
  }
1787
1787
  ];
1788
1788
 
1789
- // node_modules/.pnpm/@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
1789
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
1790
1790
  var MAIL_FLAGS = [
1791
1791
  {
1792
1792
  name: "--cc",
@@ -1816,7 +1816,7 @@ var MAIL_FLAGS = [
1816
1816
  }
1817
1817
  ];
1818
1818
 
1819
- // node_modules/.pnpm/@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
1819
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
1820
1820
  var PRIVACY_FLAGS = [
1821
1821
  {
1822
1822
  name: "--about-text",
@@ -1877,7 +1877,7 @@ var PRIVACY_FLAGS = [
1877
1877
  { name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
1878
1878
  ];
1879
1879
 
1880
- // node_modules/.pnpm/@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-schedule.js
1880
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-schedule.js
1881
1881
  var SCHEDULE_FLAGS = [
1882
1882
  {
1883
1883
  name: "--locale",
@@ -1910,7 +1910,7 @@ var SCHEDULE_FLAGS = [
1910
1910
  }
1911
1911
  ];
1912
1912
 
1913
- // node_modules/.pnpm/@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
1913
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
1914
1914
  var WHAT_FLAGS = [
1915
1915
  {
1916
1916
  name: "--analysis-provider",
@@ -2907,7 +2907,7 @@ var WHAT_FLAGS = [
2907
2907
  }
2908
2908
  ];
2909
2909
 
2910
- // node_modules/.pnpm/@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
2910
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
2911
2911
  var FLAG_TYPES = [
2912
2912
  "switch",
2913
2913
  "count",
@@ -3338,7 +3338,7 @@ var VOCABULARY = defineVocabulary({
3338
3338
  ]
3339
3339
  });
3340
3340
 
3341
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3341
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3342
3342
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
3343
3343
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
3344
3344
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/executable.js
7
+ // node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/executable.js
8
8
  import { existsSync } from "node:fs";
9
9
  import { win32 } from "node:path";
10
10
  var variable = /* @__PURE__ */ __name((env, name) => Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1], "variable");
@@ -4,15 +4,15 @@ import {
4
4
  MAX_SECRET_INPUT,
5
5
  bufferedInput,
6
6
  inputPolicy
7
- } from "./chunk-AEPOHR4Z.js";
7
+ } from "./chunk-XXLQNHKF.js";
8
8
  import {
9
9
  CliError
10
- } from "./chunk-5DCRHSBI.js";
10
+ } from "./chunk-BUGROVF3.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
16
16
  import { createInterface } from "node:readline";
17
17
  import { Writable } from "node:stream";
18
18
  var EMPTY_TRIES = 3;
@@ -3,24 +3,24 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  isCliFailure,
5
5
  isStoreDamage
6
- } from "./chunk-5WAGTWCS.js";
6
+ } from "./chunk-GLHFJPYS.js";
7
7
  import {
8
8
  formatMeetingReference,
9
9
  parseMeetingReference
10
- } from "./chunk-SP6DPFZ4.js";
10
+ } from "./chunk-V6BTAILB.js";
11
11
  import {
12
12
  refuseOwnerStoreInTests
13
- } from "./chunk-VJ4CPL6F.js";
13
+ } from "./chunk-34FJ26K2.js";
14
14
  import {
15
15
  createRecordLog,
16
16
  resolvePaths,
17
17
  traceIdOf,
18
18
  writeSecurely
19
- } from "./chunk-XTQIXZVM.js";
19
+ } from "./chunk-X5S5KUSU.js";
20
20
  import {
21
21
  isoTime,
22
22
  reference
23
- } from "./chunk-MZNRIH3T.js";
23
+ } from "./chunk-J5P5VSRG.js";
24
24
  import {
25
25
  array,
26
26
  boolean,
@@ -42,18 +42,18 @@ import {
42
42
  import {
43
43
  CliError,
44
44
  singleLine
45
- } from "./chunk-5DCRHSBI.js";
45
+ } from "./chunk-BUGROVF3.js";
46
46
  import {
47
47
  __name
48
48
  } from "./chunk-ZVVMGPBJ.js";
49
49
 
50
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/runs/run.js
50
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/runs/run.js
51
51
  import { randomUUID } from "node:crypto";
52
52
  import { appendFileSync, mkdirSync, readdirSync, readFileSync, rmSync, statSync, writeFileSync } from "node:fs";
53
53
  import { userInfo } from "node:os";
54
54
  import { join, sep } from "node:path";
55
55
 
56
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
56
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
57
57
  var snake = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
58
58
  var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
59
59
  var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
@@ -66,7 +66,7 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
66
66
  error: /* @__PURE__ */ __name((event, message) => logger.error(logAttributes(event), message), "error")
67
67
  }), "snakeLogger");
68
68
 
69
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
69
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
70
70
  var diagnostic = {
71
71
  event: true,
72
72
  operation: true,
@@ -140,7 +140,7 @@ var LOG_ATTRIBUTES = [
140
140
  ...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
141
141
  ].sort();
142
142
 
143
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/runs/run.js
143
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/runs/run.js
144
144
  var KEEP_RUNS_FOR_DAYS = 30;
145
145
  var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
146
146
  var KEEP_STORE_RUNS_FOR_DAYS = 3;
@@ -507,7 +507,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
507
507
  };
508
508
  }, "metadataOf");
509
509
 
510
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/runs/scope.js
510
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/runs/scope.js
511
511
  import { AsyncLocalStorage } from "node:async_hooks";
512
512
  import { randomBytes } from "node:crypto";
513
513
  var scopes = new AsyncLocalStorage();
@@ -560,7 +560,7 @@ var attempts = new AsyncLocalStorage();
560
560
  var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
561
561
  var currentAttempt = /* @__PURE__ */ __name(() => attempts.getStore(), "currentAttempt");
562
562
 
563
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/tasks/model.js
563
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/tasks/model.js
564
564
  var TASK_KINDS = ["question", "request", "mention", "promise"];
565
565
  var TASK_STATES = ["open", "todo", "in_progress", "done", "dismissed"];
566
566
  var CLOSED_STATES = ["done", "dismissed"];
@@ -575,7 +575,7 @@ function closeTask(task, state, by, at, reason) {
575
575
  }
576
576
  __name(closeTask, "closeTask");
577
577
 
578
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/tasks/priority.js
578
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/tasks/priority.js
579
579
  var PRIORITY_LABELS = ["low", "medium", "high", "critical"];
580
580
  var MIDDLE = { low: 0.125, medium: 0.375, high: 0.625, critical: 0.875 };
581
581
  var LEGACY_PRIORITY_SCORES = [0.875, 0.625, 0.375, 0.1875, 0.0625];
@@ -604,7 +604,7 @@ var priorityOf = /* @__PURE__ */ __name((value) => {
604
604
  }, "priorityOf");
605
605
  var priorityOption = /* @__PURE__ */ __name((value) => priorityOf(value) ?? "none", "priorityOption");
606
606
 
607
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/tasks/service.js
607
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/tasks/service.js
608
608
  function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
609
609
  async function find(id2) {
610
610
  const task = await store.get(id2);
@@ -664,20 +664,20 @@ function median(values) {
664
664
  }
665
665
  __name(median, "median");
666
666
 
667
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/tasks/store.js
667
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/tasks/store.js
668
668
  function matches(task, filter) {
669
669
  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);
670
670
  }
671
671
  __name(matches, "matches");
672
672
 
673
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/store/source-review.js
673
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/store/source-review.js
674
674
  var SOURCE_REVIEW_KIND = "memory_source_review";
675
675
  var SOURCE_REVIEW_CAUSES = ["changed", "outdated", "deleted", "contradicted"];
676
676
  var ERASED_TEXT = "[source erased]";
677
677
  var severity = /* @__PURE__ */ __name((cause) => SOURCE_REVIEW_CAUSES.indexOf(cause), "severity");
678
678
  var graver = /* @__PURE__ */ __name((a, b) => severity(b) > severity(a) ? b : a, "graver");
679
679
 
680
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/entities/fields.js
680
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/entities/fields.js
681
681
  var text = string();
682
682
  var id = pipe(string(), minLength(1));
683
683
  var time = isoTime;
@@ -702,7 +702,7 @@ var author = strictObject({
702
702
  name: nullable(text)
703
703
  });
704
704
 
705
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
705
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
706
706
  var organization = strictObject({
707
707
  id,
708
708
  ref: reference,
@@ -732,7 +732,7 @@ var reminder = strictObject({
732
732
  receipt: nullable(text)
733
733
  });
734
734
 
735
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/store/marks.js
735
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/store/marks.js
736
736
  import { readFileSync as readFileSync2, rmSync as rmSync2, statSync as statSync2, writeFileSync as writeFileSync2 } from "node:fs";
737
737
  var damageMarkPath = /* @__PURE__ */ __name((store) => `${store}.damaged.json`, "damageMarkPath");
738
738
  var healthMarkPath = /* @__PURE__ */ __name((store) => `${store}.health.json`, "healthMarkPath");
@@ -853,7 +853,7 @@ var recordDeepCheck = /* @__PURE__ */ __name((store, health, { cli, version, sch
853
853
  return { previous, cleared };
854
854
  }, "recordDeepCheck");
855
855
 
856
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/domain/money.js
856
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/domain/money.js
857
857
  var CURRENCY_SCALES = {
858
858
  AED: 2,
859
859
  AMD: 2,
@@ -947,7 +947,7 @@ var quantityOf = /* @__PURE__ */ __name((text2) => {
947
947
  }, "quantityOf");
948
948
  var lineUnits = /* @__PURE__ */ __name((thousandths, unitPrice) => Number((thousandths * BigInt(unitPrice) + 500n) / 1000n), "lineUnits");
949
949
 
950
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/domain/finance.js
950
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/domain/finance.js
951
951
  var INVOICE_DIRECTIONS = ["receivable", "payable"];
952
952
  var INVOICE_STATUSES = ["draft", "issued", "partly_paid", "paid", "void"];
953
953
  var MONEY_DIRECTIONS = ["in", "out"];
@@ -976,7 +976,7 @@ var paymentLine = /* @__PURE__ */ __name((payment) => {
976
976
  var invoiceTitle = /* @__PURE__ */ __name((invoice) => `Invoice ${invoiceLine(invoice)}`, "invoiceTitle");
977
977
  var paymentEntryTitle = /* @__PURE__ */ __name((payment) => `Payment \xB7 ${paymentLine(payment)}`, "paymentEntryTitle");
978
978
 
979
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/domain/business.js
979
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/domain/business.js
980
980
  var CATALOG_KINDS = ["product", "service"];
981
981
  var BUSINESS_KINDS = ["invoice", "payment", "order", "contract", "subscription", "product", "wallet"];
982
982
  var CONTRACT_KINDS = ["sale", "purchase", "service", "lease", "employment", "nda", "license", "other"];
@@ -1004,7 +1004,7 @@ var subscriptionLine = /* @__PURE__ */ __name((subscription) => `${subscription.
1004
1004
  var walletLine = /* @__PURE__ */ __name((wallet) => `${wallet.name} \xB7 ${wallet.kind}, ${wallet.currency}${wallet.numberHint === null ? "" : `, \u2026${wallet.numberHint}`}` + notes(wallet.closed ? "closed" : null), "walletLine");
1005
1005
  var transactionLine = /* @__PURE__ */ __name((transaction) => `${moneyLabel(transaction.amount, transaction.currency)} ${transaction.direction}${transaction.label === null ? "" : ` \xB7 ${transaction.label}`}, ${dayMonth(transaction.date)}` + notes(transaction.status === "pending" ? "pending" : null, pending(transaction.review)), "transactionLine");
1006
1006
 
1007
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
1007
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
1008
1008
  var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
1009
1009
  var MEMORY_KINDS = ["summary", "digest", "preference"];
1010
1010
  var MEMORY_STATUSES = ["proposed", "confirmed", "stale", "superseded"];
@@ -1012,7 +1012,7 @@ var MEMORY_SCOPES = ["personal", "work"];
1012
1012
  var WORK_TASK_TYPES = ["bug", "feature", "chore"];
1013
1013
  var TASK_TYPES = [...WORK_TASK_TYPES, ...TASK_KINDS];
1014
1014
 
1015
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/domain/locator.js
1015
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/domain/locator.js
1016
1016
  var SCHEME = "msg:";
1017
1017
  var formatLocator = /* @__PURE__ */ __name(({ provider, account, chat, message }) => SCHEME + [provider, account, chat, message].map(encodeURIComponent).join("/"), "formatLocator");
1018
1018
  var isLocator = /* @__PURE__ */ __name((reference2) => reference2.trim().startsWith(SCHEME), "isLocator");
@@ -1033,7 +1033,7 @@ var parseLocator = /* @__PURE__ */ __name((reference2) => {
1033
1033
  return { provider, account, chat, message };
1034
1034
  }, "parseLocator");
1035
1035
 
1036
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/domain/references.js
1036
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/domain/references.js
1037
1037
  var SIMPLE_REFERENCES = [
1038
1038
  "note",
1039
1039
  "document",
@@ -1196,7 +1196,7 @@ var looksLikeReference = /* @__PURE__ */ __name((text2) => {
1196
1196
  return match !== null && byPrefix.has(match[1]);
1197
1197
  }, "looksLikeReference");
1198
1198
 
1199
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/domain/providers.js
1199
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/domain/providers.js
1200
1200
  var KINDS = ["messages", "mail", "notes", "documents", "meetings", "events", "crm"];
1201
1201
  var MESSENGER_OPENS = { chat: "messages list", message: "messages show", contact: "contacts show" };
1202
1202
  var PROVIDERS = [
@@ -1371,7 +1371,7 @@ var holdsKind = /* @__PURE__ */ __name((provider, kind2) => kindsIn(provider).in
1371
1371
  var holdsKindOf = /* @__PURE__ */ __name((provider, kind2) => kindIn(provider) === void 0 ? kind2 === "messages" : holdsKind(provider, kind2), "holdsKindOf");
1372
1372
  var kindOf = /* @__PURE__ */ __name((provider) => kindIn(provider) ?? "messages", "kindOf");
1373
1373
 
1374
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/domain/deals.js
1374
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/domain/deals.js
1375
1375
  var DEAL_KINDS = ["deal", "lead"];
1376
1376
  var DEAL_STATUSES = ["open", "won", "lost"];
1377
1377
  var STAGE_OUTCOMES = DEAL_STATUSES;
@@ -1381,7 +1381,7 @@ var dealLine = /* @__PURE__ */ __name((deal) => {
1381
1381
  return `${deal.title} \xB7 ${deal.stage}${money}${deal.status === "open" ? "" : ` (${deal.status})`}`;
1382
1382
  }, "dealLine");
1383
1383
 
1384
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/domain/orders.js
1384
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/domain/orders.js
1385
1385
  var ORDER_STATUSES = ["placed", "shipped", "delivered", "cancelled", "returned"];
1386
1386
  var ORDER_PURPOSES = ["personal", "business", "client", "other"];
1387
1387
  var orderLine = /* @__PURE__ */ __name((order) => {
@@ -1392,7 +1392,7 @@ var orderLine = /* @__PURE__ */ __name((order) => {
1392
1392
  }, "orderLine");
1393
1393
  var orderTitle = /* @__PURE__ */ __name((order) => `Order ${orderLine(order)}`, "orderTitle");
1394
1394
 
1395
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/domain/relations.js
1395
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/domain/relations.js
1396
1396
  var ORGANIZATION_ROLES = [
1397
1397
  "employee",
1398
1398
  "contractor",
@@ -1495,7 +1495,7 @@ var KEYED = "kind IN ('member-of', 'related-to', 'reports-to', 'customer-of', 'p
1495
1495
  var notOverriddenSql = /* @__PURE__ */ __name((alias) => `NOT EXISTS (SELECT 1 FROM links override WHERE ${KEYED} AND override.kind = ${alias}.kind AND override.from_type = ${alias}.from_type AND override.from_id = ${alias}.from_id AND override.to_type = ${alias}.to_type AND override.to_id = ${alias}.to_id AND json_extract(override.metadata, '$.overrides') = ${alias}.id)`, "notOverriddenSql");
1496
1496
  var usableLinkSql = /* @__PURE__ */ __name((alias, now) => `(${alias}.confirmed = 1 OR (${alias}.account_id IS NOT NULL AND ${alias}.deleted_at IS NULL))` + (now === void 0 ? "" : ` AND (${alias}.ends_at IS NULL OR ${alias}.ends_at > ${Math.trunc(now)})`), "usableLinkSql");
1497
1497
 
1498
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/domain/crm.js
1498
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/domain/crm.js
1499
1499
  var CRM_KINDS = ["organization", "person", "deal", "lead"];
1500
1500
  var CRM_ACTIVITY_KINDS = ["call", "email", "meeting", "todo", "task", "comment", "other"];
1501
1501
  var isCrmUserId = /* @__PURE__ */ __name((id2) => /^\d{1,20}$/.test(id2), "isCrmUserId");
@@ -1505,7 +1505,7 @@ var normalCrmUserId = /* @__PURE__ */ __name((id2) => {
1505
1505
  }, "normalCrmUserId");
1506
1506
  var isItemKind = /* @__PURE__ */ __name((kind2) => kind2 === "deal" || kind2 === "lead", "isItemKind");
1507
1507
 
1508
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/store/sqlite/link-source.js
1508
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/store/sqlite/link-source.js
1509
1509
  var REPORTER_SQL = "(SELECT provider || ':' || external_id FROM accounts r WHERE r.id = links.account_id) AS reporter";
1510
1510
  var sourceOf = /* @__PURE__ */ __name((database, row, metadata) => {
1511
1511
  const reporter = row.account_id == null ? void 0 : "reporter" in row ? row.reporter : database.prepare("SELECT provider || ':' || external_id AS key FROM accounts WHERE id = ?").get(Number(row.account_id))?.key;
@@ -1515,7 +1515,7 @@ var sourceOf = /* @__PURE__ */ __name((database, row, metadata) => {
1515
1515
  };
1516
1516
  }, "sourceOf");
1517
1517
 
1518
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
1518
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
1519
1519
  var LINK_KINDS = [
1520
1520
  "links-to",
1521
1521
  "blocked-by",
@@ -1539,7 +1539,7 @@ var LINK_SOURCES = [...LINK_ORIGINS, "calendar", "meeting"];
1539
1539
  var linkKind = /* @__PURE__ */ __name((kind2) => `'${kind2}'`, "linkKind");
1540
1540
  var COUNTERPART_ROLE = "counterpart";
1541
1541
 
1542
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/search/query.js
1542
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/search/query.js
1543
1543
  var isBotProvider = /* @__PURE__ */ __name((provider) => provider.endsWith("-bot"), "isBotProvider");
1544
1544
  var inSource = /* @__PURE__ */ __name((source, provider) => source === "all" || source === "bots" && isBotProvider(provider) || source === "personal" && !isBotProvider(provider) || source === provider || providerNamed(source)?.name === provider || isKind(source) && holdsKindOf(provider, source), "inSource");
1545
1545
  var fail = /* @__PURE__ */ __name((message) => {
@@ -1562,7 +1562,7 @@ var sourceOf2 = /* @__PURE__ */ __name((name, value, providers2) => {
1562
1562
  return fail(`${name} takes ${[...sources, "messages", "mail"].join(", ")} \u2014 not "${value}"`);
1563
1563
  }, "sourceOf");
1564
1564
 
1565
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/search/account-list.js
1565
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/search/account-list.js
1566
1566
  var ACCOUNT_GROUPS = "accountGroups";
1567
1567
  var ACCOUNT_GROUPS_SETTING = "account_groups";
1568
1568
  var GROUP_NAME = /^[a-z0-9][a-z0-9_-]*$/i;
@@ -1794,7 +1794,7 @@ var fitting = /* @__PURE__ */ __name((entries, kinds, what, reasonOf = (kind2) =
1794
1794
  return { accounts: [...chosen.values()], skipped };
1795
1795
  }, "fitting");
1796
1796
 
1797
- // node_modules/.pnpm/@wirecat+cli-core@0.700.0_@wirecat+cli-base@0.118.0_commander@15.0.0_esbuild@0.28.2_typ_365b7216b918b4ff8396dc0e09311081/node_modules/@wirecat/cli-core/dist/domain/categories.js
1797
+ // node_modules/.pnpm/@wirecat+cli-core@0.703.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_5630bd43f49d4f78ecc9c491970e88a0/node_modules/@wirecat/cli-core/dist/domain/categories.js
1798
1798
  var CATEGORIES = ["client", "supplier", "partner", "employer"];
1799
1799
 
1800
1800
  export {