@wirecat/attio-cli 0.2.1 → 0.3.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 (158) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/README.md +13 -9
  3. package/contracts/wirecat.json +268 -21
  4. package/dist/bin/attio.js +2 -2
  5. package/dist/bundle/agent-HM6ST5HY.js +37 -0
  6. package/dist/bundle/{all-profiles-LZDKPHN2.js → all-profiles-7GUR2SM3.js} +10 -10
  7. package/dist/bundle/{anthropic-BF72H77D.js → anthropic-4CN3TJYB.js} +5 -5
  8. package/dist/bundle/{app-server-H57FZJX5.js → app-server-HSQEPWRY.js} +61 -61
  9. package/dist/bundle/attio.js +11 -11
  10. package/dist/bundle/{bun-WO77T4LG.js → bun-DTF5MNDQ.js} +2 -2
  11. package/dist/bundle/{bun-sqlite-2BP7JDVO.js → bun-sqlite-NFVPKLZD.js} +6 -6
  12. package/dist/bundle/{chunk-IDU4ESRZ.js → chunk-2AVWKAHP.js} +29 -1
  13. package/dist/bundle/{chunk-X6R74TWX.js → chunk-2KP5LRCK.js} +4 -4
  14. package/dist/bundle/{chunk-RU5J7DWY.js → chunk-2PDJCM3U.js} +156 -14
  15. package/dist/bundle/{chunk-4SMGM2Q6.js → chunk-2SM6G7CP.js} +4 -4
  16. package/dist/bundle/{chunk-TF7ZGCOK.js → chunk-3HFUSESO.js} +3 -3
  17. package/dist/bundle/{chunk-BUGROVF3.js → chunk-3JZNNESS.js} +2 -2
  18. package/dist/bundle/{chunk-5K3FGXZH.js → chunk-3L3ZRFKH.js} +1 -1
  19. package/dist/bundle/{chunk-6NDJDDSQ.js → chunk-3PPTBPRU.js} +42 -38
  20. package/dist/bundle/{chunk-76RRELCU.js → chunk-4A5E32BA.js} +1747 -826
  21. package/dist/bundle/{chunk-CMO5ND3Y.js → chunk-4BHD26FI.js} +34 -34
  22. package/dist/bundle/{chunk-JA26HG7T.js → chunk-4GGTI6J2.js} +8 -8
  23. package/dist/bundle/{chunk-J5P5VSRG.js → chunk-4IASSY4K.js} +21 -8
  24. package/dist/bundle/{chunk-DSRXCLPO.js → chunk-55OZY4JK.js} +1 -1
  25. package/dist/bundle/{chunk-L5WS6CYZ.js → chunk-6GLKKI5B.js} +2 -2
  26. package/dist/bundle/{chunk-PMP37KLR.js → chunk-6GVBDIY7.js} +3 -3
  27. package/dist/bundle/{chunk-VDMIJ3JW.js → chunk-6MKREZYW.js} +3 -3
  28. package/dist/bundle/{chunk-7MXCUMHG.js → chunk-6UVYOUKX.js} +1 -1
  29. package/dist/bundle/{chunk-4STBJZR4.js → chunk-73D7FXGY.js} +177 -40
  30. package/dist/bundle/{chunk-3I2FGNWO.js → chunk-77PCNTJY.js} +1 -1
  31. package/dist/bundle/{chunk-7ZUOI3HY.js → chunk-AO6N3HLS.js} +16 -3
  32. package/dist/bundle/{chunk-IXCIQ7FZ.js → chunk-CEY7LGCR.js} +4 -4
  33. package/dist/bundle/{chunk-MNQACPXG.js → chunk-CV65DYDO.js} +31 -27
  34. package/dist/bundle/{chunk-OBXDRUO4.js → chunk-CWLNO3ZU.js} +1 -1
  35. package/dist/bundle/{chunk-CHZ26CW5.js → chunk-D3BQH24W.js} +77 -59
  36. package/dist/bundle/{chunk-ERW2WOJT.js → chunk-EBVOFSWE.js} +1 -1
  37. package/dist/bundle/{chunk-ESH2QGCA.js → chunk-ECPUCPPX.js} +24 -8
  38. package/dist/bundle/{chunk-6SK3YB2B.js → chunk-FJUBFNIH.js} +12 -12
  39. package/dist/bundle/{chunk-Q7BSTQ3T.js → chunk-GFKYZJN4.js} +1 -1
  40. package/dist/bundle/{chunk-ASCUOOLO.js → chunk-GJFFI6OA.js} +1 -1
  41. package/dist/bundle/{chunk-S7K2XFQB.js → chunk-GMRYIIGP.js} +6 -6
  42. package/dist/bundle/{chunk-G3JTLVVL.js → chunk-GS3LY5S5.js} +14 -7
  43. package/dist/bundle/{chunk-WARIIYSW.js → chunk-H55WJPRM.js} +2 -2
  44. package/dist/bundle/{chunk-H7QDPW3D.js → chunk-HS7TLG6U.js} +3 -4
  45. package/dist/bundle/{chunk-EEPE3SOW.js → chunk-HVLKBGYN.js} +5 -5
  46. package/dist/bundle/{chunk-XXLQNHKF.js → chunk-IFDR5RYE.js} +2 -2
  47. package/dist/bundle/{chunk-3YFDZSM3.js → chunk-IQSXBZA7.js} +1 -1
  48. package/dist/bundle/{chunk-GLHFJPYS.js → chunk-IWC3ECVF.js} +3 -3
  49. package/dist/bundle/{chunk-EQXT7KO4.js → chunk-J3KE3D3L.js} +6 -6
  50. package/dist/bundle/{chunk-JSTBW7F4.js → chunk-KP7U75NI.js} +6 -6
  51. package/dist/bundle/{chunk-O4A33Y54.js → chunk-KRCE3EBI.js} +2 -2
  52. package/dist/bundle/{chunk-ZDBTYBFR.js → chunk-LC4KJJZ2.js} +3 -3
  53. package/dist/bundle/{chunk-3NVOKVRY.js → chunk-LX6IMPKX.js} +2361 -845
  54. package/dist/bundle/{chunk-V6BTAILB.js → chunk-MCNZCQ6P.js} +61 -61
  55. package/dist/bundle/{chunk-DF2IIO32.js → chunk-N7EFLZNW.js} +202 -163
  56. package/dist/bundle/{chunk-G6FQMVKW.js → chunk-NE65S7F6.js} +3 -3
  57. package/dist/bundle/{chunk-HG7FT3H3.js → chunk-NK32ZZRV.js} +7 -7
  58. package/dist/bundle/{chunk-VW5F6FK3.js → chunk-NTW3Z4ZC.js} +4 -4
  59. package/dist/bundle/{chunk-XXOTX4M3.js → chunk-OOS57MMX.js} +7 -7
  60. package/dist/bundle/{chunk-2E6JGBM5.js → chunk-PBUBZNIA.js} +25 -174
  61. package/dist/bundle/{chunk-AFAULIL5.js → chunk-PCYDTU6N.js} +3 -2
  62. package/dist/bundle/{chunk-WK7GLHHL.js → chunk-PTBGWRI4.js} +5 -5
  63. package/dist/bundle/{chunk-X5S5KUSU.js → chunk-PX5XI2UR.js} +19 -19
  64. package/dist/bundle/{chunk-KHDXRFJZ.js → chunk-ROJF7524.js} +8 -8
  65. package/dist/bundle/{chunk-AMUONYQR.js → chunk-RPL3VL7F.js} +2 -2
  66. package/dist/bundle/{chunk-MOSH2KPD.js → chunk-SDZJIDMF.js} +10 -10
  67. package/dist/bundle/{chunk-OFR3YYT6.js → chunk-SEZLN6OX.js} +1 -1
  68. package/dist/bundle/{chunk-MT2ZUZRA.js → chunk-SIYP5IZG.js} +43 -64
  69. package/dist/bundle/{chunk-I3WS6V5H.js → chunk-SNUCQQQU.js} +8 -8
  70. package/dist/bundle/{chunk-34FJ26K2.js → chunk-SRU4EQYO.js} +2 -2
  71. package/dist/bundle/{chunk-LWJ4ZGUM.js → chunk-SVUQKDBZ.js} +13 -13
  72. package/dist/bundle/{chunk-GW4G5KLS.js → chunk-SZ76WGXS.js} +8 -8
  73. package/dist/bundle/{chunk-DQ6P3R4B.js → chunk-UN63OIS5.js} +3 -3
  74. package/dist/bundle/{chunk-MRREDVPY.js → chunk-UNI5OO3J.js} +20 -14
  75. package/dist/bundle/{chunk-EQGXEKSV.js → chunk-UXT4532H.js} +7 -7
  76. package/dist/bundle/{chunk-ZGADZ4CH.js → chunk-V6RIJ22V.js} +15 -15
  77. package/dist/bundle/{chunk-6ALPRBNV.js → chunk-WAOJEEGU.js} +3 -3
  78. package/dist/bundle/{chunk-QLHDUYGE.js → chunk-WE6UGOBO.js} +1 -1
  79. package/dist/bundle/{chunk-Q3JCUUOR.js → chunk-WYPHP2AM.js} +3 -3
  80. package/dist/bundle/{chunk-W6F2CQZ6.js → chunk-Y6QUAEEJ.js} +17 -17
  81. package/dist/bundle/{chunk-GBZ6JUXU.js → chunk-YERPSSUC.js} +2 -2
  82. package/dist/bundle/{chunk-MC2RQ2OB.js → chunk-ZAZUNEZB.js} +1 -1
  83. package/dist/bundle/{chunk-SQHDE3TC.js → chunk-ZSO3T2W4.js} +4 -4
  84. package/dist/bundle/command-contract-XZKDRLEC.js +37 -0
  85. package/dist/bundle/{command-server-entry-MNVPYQZ3.js → command-server-entry-VTYSKZSD.js} +25 -25
  86. package/dist/bundle/{decode-MQNKNXLK.js → decode-EJCGQVLX.js} +5 -5
  87. package/dist/bundle/{dispatch-TAQ7635E.js → dispatch-YGAG263C.js} +8 -8
  88. package/dist/bundle/{echarts-6ZSUNO4L.js → echarts-LHBWIDKI.js} +2 -2
  89. package/dist/bundle/{embed-PHCCJJ5Z.js → embed-QKVPSZLS.js} +6 -6
  90. package/dist/bundle/{embedder-WLZZQTKZ.js → embedder-NYO6EOFU.js} +9 -9
  91. package/dist/bundle/{failure-MR2XVHFP.js → failure-SE7VJEXI.js} +2 -2
  92. package/dist/bundle/{first-run-64LREHSV.js → first-run-P5QA7RNU.js} +12 -12
  93. package/dist/bundle/first-screen-EUIV6PVE.js +37 -0
  94. package/dist/bundle/{instructions-22GCKNR5.js → instructions-T6LGIEPV.js} +1 -1
  95. package/dist/bundle/{mcp-CNV7F2XZ.js → mcp-PVQZS6IH.js} +2 -2
  96. package/dist/bundle/meeting-combined-GOBZBEX2.js +24 -0
  97. package/dist/bundle/{meeting-model-JWDTCGLZ.js → meeting-model-7UBHXIVW.js} +11 -11
  98. package/dist/bundle/{meeting-semantic-375GYPZQ.js → meeting-semantic-RXCWAIZZ.js} +6 -6
  99. package/dist/bundle/{node-ITDTNRRZ.js → node-UBG6VKKA.js} +2 -2
  100. package/dist/bundle/{node-sqlite-IRAGRMEZ.js → node-sqlite-PYNAIHR6.js} +7 -7
  101. package/dist/bundle/{oauth-CACOQJEL.js → oauth-BLOW6XVT.js} +7 -7
  102. package/dist/bundle/{open-HU4KHKDR.js → open-VWILPEZ2.js} +5 -5
  103. package/dist/bundle/{openai-JQUPAVKX.js → openai-N37NPTEE.js} +15 -15
  104. package/dist/bundle/{process-QS5OHEUK.js → process-DMYM7PNQ.js} +1 -1
  105. package/dist/bundle/{program-5OTAVU5S.js → program-5QZLUWS4.js} +4240 -4056
  106. package/dist/bundle/{prompt-VA5MKXJU.js → prompt-EJHIAH4K.js} +5 -5
  107. package/dist/bundle/{recognize-JGA5IVKC.js → recognize-67LER7ZN.js} +4 -4
  108. package/dist/bundle/{remote-NPY2KZQ4.js → remote-BONPKWRO.js} +9 -9
  109. package/dist/bundle/{rerank-4H2QR4XU.js → rerank-FK2AFC3Y.js} +7 -7
  110. package/dist/bundle/{schemas-THAI3G5S.js → schemas-4E76I6ME.js} +1 -1
  111. package/dist/bundle/{serve-UH46SZQG.js → serve-ZIXWKUE3.js} +9 -9
  112. package/dist/bundle/{server-6H7JS6SU.js → server-4RX3LBCA.js} +53 -53
  113. package/dist/bundle/server-RL6NIURH.js +79 -0
  114. package/dist/bundle/{sqlite-runtime-EJWEUTBR.js → sqlite-runtime-WDXPYP7C.js} +6 -6
  115. package/dist/bundle/{state-34B6AUQZ.js → state-NE7WPOBK.js} +6 -6
  116. package/dist/bundle/{store-3R4ILTCJ.js → store-2LX2ZQY5.js} +22 -18
  117. package/dist/bundle/{store-XSE35P3U.js → store-PUAKYH6Z.js} +24 -20
  118. package/dist/bundle/store-maintenance-command-CSYN4LXT.js +66 -0
  119. package/dist/bundle/surface-HJIDG2KX.js +65 -0
  120. package/dist/commands/crm.d.ts +3 -0
  121. package/dist/commands/crm.d.ts.map +1 -1
  122. package/dist/commands/crm.js +35 -8
  123. package/dist/commands/crm.js.map +1 -1
  124. package/dist/commands/schedule.d.ts +3 -0
  125. package/dist/commands/schedule.d.ts.map +1 -0
  126. package/dist/commands/schedule.js +9 -0
  127. package/dist/commands/schedule.js.map +1 -0
  128. package/dist/commands/session.d.ts +2 -1
  129. package/dist/commands/session.d.ts.map +1 -1
  130. package/dist/commands/session.js +5 -1
  131. package/dist/commands/session.js.map +1 -1
  132. package/dist/config.d.ts +0 -1
  133. package/dist/config.d.ts.map +1 -1
  134. package/dist/config.js +22 -5
  135. package/dist/config.js.map +1 -1
  136. package/dist/generated/wirecat-config.d.ts.map +1 -1
  137. package/dist/generated/wirecat-config.js +175 -0
  138. package/dist/generated/wirecat-config.js.map +1 -1
  139. package/dist/hooks.d.ts.map +1 -1
  140. package/dist/hooks.js +10 -2
  141. package/dist/hooks.js.map +1 -1
  142. package/dist/identity.d.ts.map +1 -1
  143. package/dist/identity.js +4 -2
  144. package/dist/identity.js.map +1 -1
  145. package/dist/program.d.ts.map +1 -1
  146. package/dist/program.js +11 -1
  147. package/dist/program.js.map +1 -1
  148. package/dist/version.d.ts +1 -1
  149. package/dist/version.js +1 -1
  150. package/package.json +5 -4
  151. package/skills/attio-cli/SKILL.md +18 -3
  152. package/dist/bundle/agent-DYTWDBTT.js +0 -37
  153. package/dist/bundle/command-contract-7M6EPH3D.js +0 -37
  154. package/dist/bundle/first-screen-YSCAZIYJ.js +0 -37
  155. package/dist/bundle/meeting-combined-YX3T5WJD.js +0 -24
  156. package/dist/bundle/server-SR52KBL3.js +0 -79
  157. package/dist/bundle/store-maintenance-command-ABJARLI4.js +0 -66
  158. package/dist/bundle/surface-NOTIEJB5.js +0 -65
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  normalize
5
- } from "./chunk-QLHDUYGE.js";
5
+ } from "./chunk-WE6UGOBO.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-BUGROVF3.js";
8
+ } from "./chunk-3JZNNESS.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
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/search/languages.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/search/languages.js
14
14
  var LANGUAGES = [
15
15
  { name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
16
16
  { name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
@@ -18,7 +18,7 @@ var LANGUAGES = [
18
18
  ];
19
19
  var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
20
20
 
21
- // 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/snowball/base-stemmer.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
22
22
  var BaseStemmer = class {
23
23
  static {
24
24
  __name(this, "BaseStemmer");
@@ -393,7 +393,7 @@ var BaseStemmer = class {
393
393
  }
394
394
  };
395
395
 
396
- // 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/snowball/english-stemmer.js
396
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
397
397
  var a_0 = [
398
398
  ["arsen", -1],
399
399
  ["commun", -1],
@@ -1094,7 +1094,7 @@ var english_stemmer_default = class extends BaseStemmer {
1094
1094
  stemWord = this.stem;
1095
1095
  };
1096
1096
 
1097
- // 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/snowball/russian-stemmer.js
1097
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1098
1098
  var a_02 = [
1099
1099
  ["\u0432", 1],
1100
1100
  ["\u0438\u0432", 2, 1],
@@ -1517,7 +1517,7 @@ var russian_stemmer_default = class extends BaseStemmer {
1517
1517
  stemWord = this.stem;
1518
1518
  };
1519
1519
 
1520
- // 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/snowball/spanish-stemmer.js
1520
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1521
1521
  var a_03 = [
1522
1522
  ["", 6],
1523
1523
  ["\xE1", 1, 1],
@@ -2193,7 +2193,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
2193
2193
  stemWord = this.stem;
2194
2194
  };
2195
2195
 
2196
- // 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/stem.js
2196
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/search/stem.js
2197
2197
  var SNOWBALL_VERSION = "3.1.1";
2198
2198
  var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
2199
2199
  var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  formatMeetingReference
5
- } from "./chunk-V6BTAILB.js";
5
+ } from "./chunk-MCNZCQ6P.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-BUGROVF3.js";
8
+ } from "./chunk-3JZNNESS.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
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/services/meeting-semantic.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/services/meeting-semantic.js
14
14
  var positive = /* @__PURE__ */ __name((value, name, max) => {
15
15
  if (!Number.isSafeInteger(value) || value < 1 || value > max)
16
16
  throw new CliError("validation_error", `Invalid ${name}`);
@@ -8,10 +8,10 @@ import {
8
8
  annotateOption,
9
9
  listOf,
10
10
  sharedCommand
11
- } from "./chunk-DF2IIO32.js";
11
+ } from "./chunk-N7EFLZNW.js";
12
12
  import {
13
13
  readMoment
14
- } from "./chunk-Q3JCUUOR.js";
14
+ } from "./chunk-WYPHP2AM.js";
15
15
  import {
16
16
  BACKENDS,
17
17
  EVENT_QUERY,
@@ -51,15 +51,15 @@ import {
51
51
  validateMeetingHitSearch,
52
52
  validateMeetingPassage,
53
53
  validateQuery
54
- } from "./chunk-V6BTAILB.js";
54
+ } from "./chunk-MCNZCQ6P.js";
55
55
  import {
56
56
  CliError
57
- } from "./chunk-BUGROVF3.js";
57
+ } from "./chunk-3JZNNESS.js";
58
58
  import {
59
59
  __name
60
60
  } from "./chunk-ZVVMGPBJ.js";
61
61
 
62
- // 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/services/moment.js
62
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/services/moment.js
63
63
  var read = /* @__PURE__ */ __name((reference, flag, now, at) => {
64
64
  const found = readMoment(reference, flag, { ...at, now });
65
65
  if (found === void 0)
@@ -88,7 +88,7 @@ var dateWindow = /* @__PURE__ */ __name(({ sinceTime, untilTime, zone, now = Dat
88
88
  };
89
89
  }, "dateWindow");
90
90
 
91
- // 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/meetings/cli/management.js
91
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/meetings/cli/management.js
92
92
  var REMOTE_READ = { remote: "read", local: "read" };
93
93
  var REMOTE_WRITE = { remote: "write", local: "write" };
94
94
  var minutes = /* @__PURE__ */ __name((text) => {
@@ -193,7 +193,7 @@ var addMeetingManagementCommands = /* @__PURE__ */ __name((group, deps) => {
193
193
  }).description("the invitation text the service writes for a meeting"))).action(async (id, _flags, command) => inRun(command, async () => print({ item: { ...await management.invitation(id, signalled()), untrusted: ["invitation"] } }, command)));
194
194
  }, "addMeetingManagementCommands");
195
195
 
196
- // 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/meetings/cli/query-options.js
196
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
197
197
  var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
198
198
  command.allowUnknownOption();
199
199
  const parse = command.parseOptions.bind(command);
@@ -213,7 +213,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
213
213
  return command;
214
214
  }, "queryWordsAfterOptions");
215
215
 
216
- // 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/meetings/cli/passage.js
216
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
217
217
  var count = /* @__PURE__ */ __name((value) => {
218
218
  if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
219
219
  throw new CliError("validation_error", "expected a nonnegative safe integer");
@@ -255,7 +255,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
255
255
  var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
256
256
  var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
257
257
 
258
- // 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/meetings/cli/project-evidence.js
258
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
259
259
  var integer = /* @__PURE__ */ __name((value) => {
260
260
  if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
261
261
  throw new CliError("validation_error", "expected a positive safe integer");
@@ -278,7 +278,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
278
278
  }, "addMeetingProjectEvidenceCommandDefinition");
279
279
  var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
280
280
 
281
- // 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/meetings/cli/search.js
281
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
282
282
  var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
283
283
  const { since, until, meta } = dateWindow(end ? { untilTime: value, names: [flag, flag] } : { sinceTime: value, names: [flag, flag] });
284
284
  if (meta.timezone)
@@ -357,7 +357,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
357
357
  var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
358
358
  var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
359
359
 
360
- // 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/meetings/cli/index.js
360
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
361
361
  var EVENT_UNTRUSTED = ["title", "description", "location"];
362
362
  var integer3 = /* @__PURE__ */ __name((text) => {
363
363
  if (!/^[1-9]\d*$/.test(text) || !Number.isSafeInteger(Number(text)))
@@ -543,7 +543,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
543
543
  }, "addMeetingCommandsDefinition");
544
544
  var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
545
545
 
546
- // 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/cli/list-query.js
546
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/cli/list-query.js
547
547
  var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
548
548
  var QUERY_ARGUMENT = "field:value terms that narrow the list \u2014 the fields are below";
549
549
  var withQuery = /* @__PURE__ */ __name((command, registry) => {
@@ -556,6 +556,11 @@ var withQuery = /* @__PURE__ */ __name((command, registry) => {
556
556
  ${fieldsHelp({ ...query, fields: shown }, LIST_QUERY_GUIDE)}`);
557
557
  return command;
558
558
  }, "withQuery");
559
+ var withWords = /* @__PURE__ */ __name((command, registry, words) => {
560
+ annotate(command, { query: defineQuery(registry), output: { entity: registry.entity } });
561
+ queryWordsAfterOptions(command).argument("[query...]", words);
562
+ return command;
563
+ }, "withWords");
559
564
  var unfilteredQuery = /* @__PURE__ */ __name((entity, schema) => ({
560
565
  entity,
561
566
  backend: "native",
@@ -662,7 +667,7 @@ var timeBounds = /* @__PURE__ */ __name((term, zone = timezoneOf(), now) => {
662
667
  const range = dateRange(term.value, upper, term.operator === "range" ? term.lower_inclusive !== false : true, term.operator === "range" ? term.upper_inclusive !== false : true, zone, term.span, now);
663
668
  const until = range.upper === void 0 ? void 0 : range.upper - (range.upper_inclusive ? 0 : 1);
664
669
  return {
665
- ...range.lower === void 0 ? {} : { since: range.lower },
670
+ ...range.lower === void 0 ? {} : { since: range.lower, from: range.lower_inclusive ? range.lower : range.lower + 1 },
666
671
  ...until === void 0 ? {} : { until },
667
672
  meta: {
668
673
  timezone: zone,
@@ -685,7 +690,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
685
690
  var queryHelp = /* @__PURE__ */ __name((registry) => `
686
691
  ${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
687
692
 
688
- // 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/ports/messenger.js
693
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/ports/messenger.js
689
694
  var throughWrapper = /* @__PURE__ */ __name((inner, handled, wrap = (_, call) => call) => new Proxy(handled, {
690
695
  get: /* @__PURE__ */ __name((own, key) => {
691
696
  if (key in own)
@@ -716,6 +721,7 @@ export {
716
721
  LIST_QUERY_GUIDE,
717
722
  QUERY_ARGUMENT,
718
723
  withQuery,
724
+ withWords,
719
725
  unfilteredQuery,
720
726
  commandPath,
721
727
  listQuery,
@@ -2,24 +2,24 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  storePath
5
- } from "./chunk-34FJ26K2.js";
5
+ } from "./chunk-SRU4EQYO.js";
6
6
  import {
7
7
  resolvePaths,
8
8
  writeSecurely
9
- } from "./chunk-X5S5KUSU.js";
9
+ } from "./chunk-PX5XI2UR.js";
10
10
  import {
11
11
  CliError,
12
12
  singleLine
13
- } from "./chunk-BUGROVF3.js";
13
+ } from "./chunk-3JZNNESS.js";
14
14
  import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // 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/shared-config.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/store/shared-config.js
19
19
  import { existsSync, mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
20
20
  import { dirname, join, resolve } from "node:path";
21
21
 
22
- // 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/config-repair.js
22
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/domain/config-repair.js
23
23
  var REPAIR_WORDS = {
24
24
  byte_order_mark: "an invisible byte-order mark at the start",
25
25
  comment: "a comment, which JSON does not allow",
@@ -303,7 +303,7 @@ var explainBrokenJson = /* @__PURE__ */ __name((text, result) => {
303
303
  return `line ${line}, column ${column}: ${why}${around(line)}; likely fix: ${fix ?? "correct that part by hand"}`;
304
304
  }, "explainBrokenJson");
305
305
 
306
- // 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/task-categories.js
306
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
307
307
  var DEFAULT_TASK_CATEGORIES = [
308
308
  {
309
309
  name: "taxes",
@@ -1058,7 +1058,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
1058
1058
  }
1059
1059
  }, "storedTaskCategories");
1060
1060
 
1061
- // 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/shared-config.js
1061
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/store/shared-config.js
1062
1062
  var SECTION = "task_categories";
1063
1063
  var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
1064
1064
  const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
@@ -6,16 +6,16 @@ import {
6
6
  agentArguments,
7
7
  agentJson,
8
8
  failureContext
9
- } from "./chunk-RU5J7DWY.js";
9
+ } from "./chunk-2PDJCM3U.js";
10
10
  import {
11
11
  onlineDeps,
12
12
  refuseLacking,
13
13
  servicesFor,
14
14
  storeModeDeps
15
- } from "./chunk-3NVOKVRY.js";
15
+ } from "./chunk-LX6IMPKX.js";
16
16
  import {
17
17
  callerOf
18
- } from "./chunk-GBZ6JUXU.js";
18
+ } from "./chunk-YERPSSUC.js";
19
19
  import {
20
20
  DEFAULT_OUTPUT_BYTES,
21
21
  ENTITIES,
@@ -32,26 +32,26 @@ import {
32
32
  refuseStoreChange,
33
33
  sealed,
34
34
  startRecording
35
- } from "./chunk-DF2IIO32.js";
35
+ } from "./chunk-N7EFLZNW.js";
36
36
  import {
37
37
  currentCaller,
38
38
  keepsSuccess,
39
39
  runContextOf,
40
40
  withCaller
41
- } from "./chunk-XXOTX4M3.js";
41
+ } from "./chunk-OOS57MMX.js";
42
42
  import {
43
43
  MAX_BUFFERED_INPUT
44
- } from "./chunk-XXLQNHKF.js";
44
+ } from "./chunk-IFDR5RYE.js";
45
45
  import {
46
46
  inRun,
47
47
  newRunId
48
- } from "./chunk-6NDJDDSQ.js";
48
+ } from "./chunk-3PPTBPRU.js";
49
49
  import {
50
50
  storeDamaged
51
- } from "./chunk-GLHFJPYS.js";
51
+ } from "./chunk-IWC3ECVF.js";
52
52
  import {
53
53
  traceIdOf
54
- } from "./chunk-X5S5KUSU.js";
54
+ } from "./chunk-PX5XI2UR.js";
55
55
  import {
56
56
  errorObjectOf,
57
57
  itemEnvelopeSchema,
@@ -59,7 +59,7 @@ import {
59
59
  mcpErrorResult,
60
60
  toJsonSchema,
61
61
  toStandardJsonSchema
62
- } from "./chunk-J5P5VSRG.js";
62
+ } from "./chunk-4IASSY4K.js";
63
63
  import {
64
64
  array,
65
65
  boolean,
@@ -84,15 +84,15 @@ import {
84
84
  import {
85
85
  CliError,
86
86
  errorCodes
87
- } from "./chunk-BUGROVF3.js";
87
+ } from "./chunk-3JZNNESS.js";
88
88
  import {
89
89
  __name
90
90
  } from "./chunk-ZVVMGPBJ.js";
91
91
 
92
- // 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/surface.js
92
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/mcp/surface.js
93
93
  import { randomUUID } from "node:crypto";
94
94
 
95
- // 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/tool.js
95
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/mcp/tool.js
96
96
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
97
97
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
98
98
  var message = pipe(
@@ -351,7 +351,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
351
351
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
352
352
  }, "failed");
353
353
 
354
- // 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/surface.js
354
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/mcp/surface.js
355
355
  var MATCHES = 8;
356
356
  var ANSWER = answerSchema();
357
357
  var agentAnswer = /* @__PURE__ */ __name((prefix, writes) => {
@@ -408,7 +408,7 @@ var search = /* @__PURE__ */ __name((commands, query) => {
408
408
  const matched = weights.filter((weight) => weight > 0).length;
409
409
  const exact = normal(entry[0]) === named || (entry[1].aliases ?? []).some((alias) => normal(alias) === named);
410
410
  return { entry, matched, rank: (exact ? 1e3 : 0) + matched * 10 + weights.reduce((a, b) => a + b, 0) };
411
- }).filter(({ matched, rank }) => matched > 0 || rank >= 1e3).sort((a, b) => b.rank - a.rank || a.entry[0].localeCompare(b.entry[0])).map(({ entry }) => entry);
411
+ }).filter(({ matched, rank }) => matched > 0 || rank >= 1e3).sort((a, b) => b.rank - a.rank || wordsOf(a.entry[0]).length - wordsOf(b.entry[0]).length || a.entry[0].localeCompare(b.entry[0])).map(({ entry }) => entry);
412
412
  }, "search");
413
413
  var nearest = /* @__PURE__ */ __name((commands, asked) => {
414
414
  const words = normal(asked).split(" ");
@@ -4,15 +4,15 @@ import {
4
4
  MAX_SECRET_INPUT,
5
5
  bufferedInput,
6
6
  inputPolicy
7
- } from "./chunk-XXLQNHKF.js";
7
+ } from "./chunk-IFDR5RYE.js";
8
8
  import {
9
9
  CliError
10
- } from "./chunk-BUGROVF3.js";
10
+ } from "./chunk-3JZNNESS.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
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
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/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;
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // 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/normalize.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/store/normalize.js
8
8
  var NORMALIZER_VERSION = 1;
9
9
  var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
10
10
  var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  timezoneOf,
5
5
  zonedMoment
6
- } from "./chunk-V6BTAILB.js";
6
+ } from "./chunk-MCNZCQ6P.js";
7
7
  import {
8
8
  CliError
9
- } from "./chunk-BUGROVF3.js";
9
+ } from "./chunk-3JZNNESS.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // 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/moment.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/domain/moment.js
15
15
  var calendarMoment = /* @__PURE__ */ __name((wanted, flag, { zone, end = false } = {}) => {
16
16
  try {
17
17
  return zonedMoment(wanted, timezoneOf(zone), { start: 0, end: wanted.length }, { end });
@@ -23,28 +23,28 @@ import {
23
23
  tagMemberIds,
24
24
  thingOf,
25
25
  write
26
- } from "./chunk-76RRELCU.js";
26
+ } from "./chunk-4A5E32BA.js";
27
27
  import {
28
28
  fold
29
- } from "./chunk-QLHDUYGE.js";
29
+ } from "./chunk-WE6UGOBO.js";
30
30
  import {
31
31
  ADDED_PROVIDER,
32
32
  filesAccountSql,
33
33
  folderProviderOf,
34
34
  folderProviderSql,
35
35
  isDocumentAccountProvider
36
- } from "./chunk-6NDJDDSQ.js";
36
+ } from "./chunk-3PPTBPRU.js";
37
37
  import {
38
38
  damagedFile
39
- } from "./chunk-GLHFJPYS.js";
39
+ } from "./chunk-IWC3ECVF.js";
40
40
  import {
41
41
  CliError
42
- } from "./chunk-BUGROVF3.js";
42
+ } from "./chunk-3JZNNESS.js";
43
43
  import {
44
44
  __name
45
45
  } from "./chunk-ZVVMGPBJ.js";
46
46
 
47
- // 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/damage.js
47
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/store/damage.js
48
48
  var DERIVED = /* @__PURE__ */ new Set(["mentions", "involvements", "embeddings"]);
49
49
  var named = /* @__PURE__ */ __name((tables) => tables.length <= 5 ? tables.join(", ") : `${tables.slice(0, 5).join(", ")} and ${tables.length - 5} more`, "named");
50
50
  var isDerivedTable = /* @__PURE__ */ __name((table, searchIndexes) => DERIVED.has(table) || table.startsWith("vector_index_") || searchIndexes.some((index) => table === index || table.startsWith(`${index}_`)), "isDerivedTable");
@@ -147,11 +147,11 @@ var storeDamageReport = /* @__PURE__ */ __name(({ health, command, mark = null,
147
147
  };
148
148
  }, "storeDamageReport");
149
149
 
150
- // 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/document-transfer/index.js
150
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
151
151
  import { realpathSync, statSync } from "node:fs";
152
152
  import { resolve } from "node:path";
153
153
 
154
- // 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/document-transfer/people.js
154
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/people.js
155
155
  var planPeople = /* @__PURE__ */ __name((database, snapshot, mappings, bindings, conflicts) => {
156
156
  const creatable = /* @__PURE__ */ new Set();
157
157
  let people = 0, identities = 0;
@@ -214,11 +214,11 @@ var copyPeople = /* @__PURE__ */ __name((database, snapshot, mappings, now) => {
214
214
  }
215
215
  }, "copyPeople");
216
216
 
217
- // 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/document-transfer/digest.js
217
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/store/document-transfer/digest.js
218
218
  import { createHash } from "node:crypto";
219
219
  var digest = /* @__PURE__ */ __name((value) => createHash("sha256").update(JSON.stringify(value)).digest("hex"), "digest");
220
220
 
221
- // 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/document-transfer/collection.js
221
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/collection.js
222
222
  var documentsKeyOf = /* @__PURE__ */ __name((collection) => {
223
223
  const colon = collection.indexOf(":");
224
224
  const provider = collection.slice(0, colon);
@@ -262,7 +262,7 @@ var currentCollection = /* @__PURE__ */ __name((row) => {
262
262
  };
263
263
  }, "currentCollection");
264
264
 
265
- // 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/document-transfer/plan.js
265
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/plan.js
266
266
  var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindings) => {
267
267
  const mappings = /* @__PURE__ */ new Map();
268
268
  const missing = /* @__PURE__ */ new Set(), conflicts = /* @__PURE__ */ new Set();
@@ -429,7 +429,7 @@ var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindin
429
429
  };
430
430
  }, "planTransfer");
431
431
 
432
- // 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/document-transfer/snapshot.js
432
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
433
433
  var TRANSFER_TABLES = { document: "documents", note: "notes", memory: "memories", fact: "facts" };
434
434
  var MAX_ENTITIES = 1e3;
435
435
  var MAX_AUXILIARY = 1e4;
@@ -591,7 +591,7 @@ var transferSnapshot = /* @__PURE__ */ __name((database, collection) => read(dat
591
591
  };
592
592
  }), "transferSnapshot");
593
593
 
594
- // 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/document-transfer/apply.js
594
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/apply.js
595
595
  var providerHere = /* @__PURE__ */ __name(({ provider, name, settings }) => {
596
596
  if (provider !== "folder" || String(name ?? "").startsWith("google-drive:"))
597
597
  return provider ?? null;
@@ -763,7 +763,7 @@ var remapEntity = /* @__PURE__ */ __name((database, entity, id, mappings) => {
763
763
  database.prepare(`UPDATE ${TRANSFER_TABLES[entity.kind]} SET ${columns.join(",")} WHERE id=?`).run(...values, id);
764
764
  }, "remapEntity");
765
765
 
766
- // 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/document-transfer/index.js
766
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
767
767
  var locations = /* @__PURE__ */ __name((options) => {
768
768
  for (const value of [options.source, options.destination, options.collection])
769
769
  if (typeof value !== "string" || !value.trim())
@@ -865,7 +865,7 @@ var applyWith = /* @__PURE__ */ __name(async (location, options) => {
865
865
  }
866
866
  }, "applyWith");
867
867
 
868
- // 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/health.js
868
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/store/health.js
869
869
  import { existsSync, statSync as statSync2 } from "node:fs";
870
870
  var JSON_COLUMNS = {
871
871
  accounts: ["settings"],
@@ -1007,7 +1007,7 @@ var storeHealth = /* @__PURE__ */ __name(async (path, { deep = false } = {}) =>
1007
1007
  }
1008
1008
  }, "storeHealth");
1009
1009
 
1010
- // 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/project-transfer/preview.js
1010
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
1011
1011
  var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) => {
1012
1012
  if (!options || typeof options !== "object" || Array.isArray(options))
1013
1013
  throw new CliError("validation_error", "project preview options are required");
@@ -1033,7 +1033,7 @@ var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) =>
1033
1033
  });
1034
1034
  }, "previewProjectAnnotationSnapshot");
1035
1035
 
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/store/project-transfer/snapshot.js
1036
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
1037
1037
  var snapshotProjectAnnotations = /* @__PURE__ */ __name(async (options) => {
1038
1038
  if (!options || typeof options !== "object" || Array.isArray(options))
1039
1039
  throw new CliError("validation_error", "snapshot options are required");
@@ -7,12 +7,12 @@ import {
7
7
  agentOf,
8
8
  clientHash,
9
9
  currentCaller
10
- } from "./chunk-XXOTX4M3.js";
10
+ } from "./chunk-OOS57MMX.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
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/mcp/caller.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/mcp/caller.js
16
16
  var callingAgent = /* @__PURE__ */ __name((fallback, caller = currentCaller()) => {
17
17
  const client = caller?.agent?.client?.name;
18
18
  if (client && client !== "unknown")
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // 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/driver.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/store/driver.js
8
8
  var TIME_LIMIT_FUNCTION = "wc_time_limit";
9
9
  var TimeLimitReached = class extends Error {
10
10
  static {
@@ -5,15 +5,15 @@ import {
5
5
  } from "./chunk-Y5E2WNWB.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-BUGROVF3.js";
8
+ } from "./chunk-3JZNNESS.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
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/recognize.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/speech/recognize.js
14
14
  import { createRequire } from "node:module";
15
15
 
16
- // 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/ogg-limit.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
17
17
  var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "local transcription needs a complete mono or stereo Ogg Opus recording"), "invalid");
18
18
  var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
19
19
  const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
@@ -70,7 +70,7 @@ var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
70
70
  throw invalid();
71
71
  }, "checkOggDuration");
72
72
 
73
- // 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/recognize.js
73
+ // node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/speech/recognize.js
74
74
  var SAMPLE_RATE = 16e3;
75
75
  var LEAD = SAMPLE_RATE / 2;
76
76
  var toModelRate = /* @__PURE__ */ __name((samples, rate) => {