@wirecat/attio-cli 0.2.2 → 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 +36 -0
  2. package/README.md +13 -9
  3. package/contracts/wirecat.json +263 -1
  4. package/dist/bin/attio.js +2 -2
  5. package/dist/bundle/agent-HM6ST5HY.js +37 -0
  6. package/dist/bundle/{all-profiles-RAFO3NFW.js → all-profiles-7GUR2SM3.js} +10 -10
  7. package/dist/bundle/{anthropic-TNR6QJGA.js → anthropic-4CN3TJYB.js} +5 -5
  8. package/dist/bundle/{app-server-BXVGXUGQ.js → app-server-HSQEPWRY.js} +61 -61
  9. package/dist/bundle/attio.js +11 -11
  10. package/dist/bundle/{bun-3RTK5XYF.js → bun-DTF5MNDQ.js} +2 -2
  11. package/dist/bundle/{bun-sqlite-I5K5Z2ZK.js → bun-sqlite-NFVPKLZD.js} +6 -6
  12. package/dist/bundle/{chunk-EMZ4MGPD.js → chunk-2AVWKAHP.js} +22 -1
  13. package/dist/bundle/{chunk-CZP6C6MX.js → chunk-2KP5LRCK.js} +4 -4
  14. package/dist/bundle/{chunk-DKSO7UTS.js → chunk-2PDJCM3U.js} +134 -14
  15. package/dist/bundle/{chunk-SEDD6YZQ.js → chunk-2SM6G7CP.js} +4 -4
  16. package/dist/bundle/{chunk-ZI3IRII7.js → chunk-3HFUSESO.js} +3 -3
  17. package/dist/bundle/{chunk-HM6AMYHR.js → chunk-3JZNNESS.js} +2 -2
  18. package/dist/bundle/{chunk-CFQQTDSA.js → chunk-3L3ZRFKH.js} +1 -1
  19. package/dist/bundle/{chunk-WHDVRMB7.js → chunk-3PPTBPRU.js} +42 -38
  20. package/dist/bundle/{chunk-NWDO4DE3.js → chunk-4A5E32BA.js} +1185 -672
  21. package/dist/bundle/{chunk-2CS7VHUB.js → chunk-4BHD26FI.js} +34 -34
  22. package/dist/bundle/{chunk-TUOFAUBR.js → chunk-4GGTI6J2.js} +8 -8
  23. package/dist/bundle/{chunk-3LMW7U7F.js → chunk-4IASSY4K.js} +21 -8
  24. package/dist/bundle/{chunk-AV2ZJ4WX.js → chunk-55OZY4JK.js} +1 -1
  25. package/dist/bundle/{chunk-6ZBJCBXA.js → chunk-6GLKKI5B.js} +2 -2
  26. package/dist/bundle/{chunk-7QH5BZUG.js → chunk-6GVBDIY7.js} +3 -3
  27. package/dist/bundle/{chunk-CKG7GIHR.js → chunk-6MKREZYW.js} +3 -3
  28. package/dist/bundle/{chunk-O4SX6FXT.js → chunk-6UVYOUKX.js} +1 -1
  29. package/dist/bundle/{chunk-L7BMGR5W.js → chunk-73D7FXGY.js} +130 -32
  30. package/dist/bundle/{chunk-HVXOA4FO.js → chunk-77PCNTJY.js} +1 -1
  31. package/dist/bundle/{chunk-XSUU7PB7.js → chunk-AO6N3HLS.js} +16 -3
  32. package/dist/bundle/{chunk-V4JWUVNO.js → chunk-CEY7LGCR.js} +4 -4
  33. package/dist/bundle/{chunk-FPMWW2HK.js → chunk-CV65DYDO.js} +31 -27
  34. package/dist/bundle/{chunk-P76XVKVC.js → chunk-CWLNO3ZU.js} +1 -1
  35. package/dist/bundle/{chunk-UZYL4AMA.js → chunk-D3BQH24W.js} +72 -57
  36. package/dist/bundle/{chunk-RKKY3MSZ.js → chunk-EBVOFSWE.js} +1 -1
  37. package/dist/bundle/{chunk-XQIRF6PS.js → chunk-ECPUCPPX.js} +7 -7
  38. package/dist/bundle/{chunk-UTTNGFKW.js → chunk-FJUBFNIH.js} +12 -12
  39. package/dist/bundle/{chunk-7626I3P4.js → chunk-GFKYZJN4.js} +1 -1
  40. package/dist/bundle/{chunk-JFFCP52L.js → chunk-GJFFI6OA.js} +1 -1
  41. package/dist/bundle/{chunk-APNSAKSO.js → chunk-GMRYIIGP.js} +6 -6
  42. package/dist/bundle/{chunk-GT3HXSKW.js → chunk-GS3LY5S5.js} +14 -7
  43. package/dist/bundle/{chunk-LHKVAZ5T.js → chunk-H55WJPRM.js} +2 -2
  44. package/dist/bundle/{chunk-MG4U6AKG.js → chunk-HS7TLG6U.js} +3 -4
  45. package/dist/bundle/{chunk-2TLGP7BS.js → chunk-HVLKBGYN.js} +5 -5
  46. package/dist/bundle/{chunk-LG6Y4NAT.js → chunk-IFDR5RYE.js} +2 -2
  47. package/dist/bundle/{chunk-PRERT2BZ.js → chunk-IQSXBZA7.js} +1 -1
  48. package/dist/bundle/{chunk-LIIOT3AN.js → chunk-IWC3ECVF.js} +3 -3
  49. package/dist/bundle/{chunk-62FENOMX.js → chunk-J3KE3D3L.js} +6 -6
  50. package/dist/bundle/{chunk-6HYTDMOL.js → chunk-KP7U75NI.js} +6 -6
  51. package/dist/bundle/{chunk-QSUFJGTG.js → chunk-KRCE3EBI.js} +2 -2
  52. package/dist/bundle/{chunk-7WS4ONXZ.js → chunk-LC4KJJZ2.js} +3 -3
  53. package/dist/bundle/{chunk-HMYJLOXE.js → chunk-LX6IMPKX.js} +2291 -844
  54. package/dist/bundle/{chunk-MI6IH5UW.js → chunk-MCNZCQ6P.js} +61 -61
  55. package/dist/bundle/{chunk-JWRI6ZY6.js → chunk-N7EFLZNW.js} +186 -162
  56. package/dist/bundle/{chunk-4F3FQ5QX.js → chunk-NE65S7F6.js} +3 -3
  57. package/dist/bundle/{chunk-BDFNXTNK.js → chunk-NK32ZZRV.js} +7 -7
  58. package/dist/bundle/{chunk-7JVKQ6NM.js → chunk-NTW3Z4ZC.js} +4 -4
  59. package/dist/bundle/{chunk-2JB5XD5R.js → chunk-OOS57MMX.js} +7 -7
  60. package/dist/bundle/{chunk-AXGSAG53.js → chunk-PBUBZNIA.js} +25 -174
  61. package/dist/bundle/{chunk-JSAXTIRX.js → chunk-PCYDTU6N.js} +3 -2
  62. package/dist/bundle/{chunk-FRCORPOY.js → chunk-PTBGWRI4.js} +5 -5
  63. package/dist/bundle/{chunk-3BM6KBWP.js → chunk-PX5XI2UR.js} +19 -19
  64. package/dist/bundle/{chunk-MW2OS2GD.js → chunk-ROJF7524.js} +8 -8
  65. package/dist/bundle/{chunk-BFWERPF6.js → chunk-RPL3VL7F.js} +2 -2
  66. package/dist/bundle/{chunk-Q2U6DGSV.js → chunk-SDZJIDMF.js} +10 -10
  67. package/dist/bundle/{chunk-NQNFMKL2.js → chunk-SEZLN6OX.js} +1 -1
  68. package/dist/bundle/{chunk-AHPGTDO2.js → chunk-SIYP5IZG.js} +6 -6
  69. package/dist/bundle/{chunk-B7U5FLPP.js → chunk-SNUCQQQU.js} +8 -8
  70. package/dist/bundle/{chunk-VQSVE4RD.js → chunk-SRU4EQYO.js} +2 -2
  71. package/dist/bundle/{chunk-53BHLQRA.js → chunk-SVUQKDBZ.js} +13 -13
  72. package/dist/bundle/{chunk-WALQNDXO.js → chunk-SZ76WGXS.js} +8 -8
  73. package/dist/bundle/{chunk-YBJBYPS7.js → chunk-UN63OIS5.js} +3 -3
  74. package/dist/bundle/{chunk-OHCYBSCA.js → chunk-UNI5OO3J.js} +13 -13
  75. package/dist/bundle/{chunk-2PSAS4TT.js → chunk-UXT4532H.js} +7 -7
  76. package/dist/bundle/{chunk-T6DV3ED2.js → chunk-V6RIJ22V.js} +14 -14
  77. package/dist/bundle/{chunk-NQJ7QMEF.js → chunk-WAOJEEGU.js} +3 -3
  78. package/dist/bundle/{chunk-3JRLPNPO.js → chunk-WE6UGOBO.js} +1 -1
  79. package/dist/bundle/{chunk-SYBAMYFY.js → chunk-WYPHP2AM.js} +3 -3
  80. package/dist/bundle/{chunk-Z3HZD24R.js → chunk-Y6QUAEEJ.js} +17 -17
  81. package/dist/bundle/{chunk-AMRELFBT.js → chunk-YERPSSUC.js} +2 -2
  82. package/dist/bundle/{chunk-MHMHZ6GY.js → chunk-ZAZUNEZB.js} +1 -1
  83. package/dist/bundle/{chunk-OC35ZLPE.js → chunk-ZSO3T2W4.js} +4 -4
  84. package/dist/bundle/command-contract-XZKDRLEC.js +37 -0
  85. package/dist/bundle/{command-server-entry-ZKWL26Q5.js → command-server-entry-VTYSKZSD.js} +25 -25
  86. package/dist/bundle/{decode-TG45PUJW.js → decode-EJCGQVLX.js} +5 -5
  87. package/dist/bundle/{dispatch-JQBAZWCL.js → dispatch-YGAG263C.js} +8 -8
  88. package/dist/bundle/{echarts-AWICNZBO.js → echarts-LHBWIDKI.js} +2 -2
  89. package/dist/bundle/{embed-TN6HQUK2.js → embed-QKVPSZLS.js} +6 -6
  90. package/dist/bundle/{embedder-T3KJA3I4.js → embedder-NYO6EOFU.js} +9 -9
  91. package/dist/bundle/{failure-I6AAF5R5.js → failure-SE7VJEXI.js} +2 -2
  92. package/dist/bundle/{first-run-BZUITKMF.js → first-run-P5QA7RNU.js} +12 -12
  93. package/dist/bundle/first-screen-EUIV6PVE.js +37 -0
  94. package/dist/bundle/{instructions-FRJHLLZX.js → instructions-T6LGIEPV.js} +1 -1
  95. package/dist/bundle/{mcp-YGOAUNC3.js → mcp-PVQZS6IH.js} +2 -2
  96. package/dist/bundle/meeting-combined-GOBZBEX2.js +24 -0
  97. package/dist/bundle/{meeting-model-TENJU3OG.js → meeting-model-7UBHXIVW.js} +11 -11
  98. package/dist/bundle/{meeting-semantic-ZKOG2XMU.js → meeting-semantic-RXCWAIZZ.js} +6 -6
  99. package/dist/bundle/{node-3ZISJOEM.js → node-UBG6VKKA.js} +2 -2
  100. package/dist/bundle/{node-sqlite-KA35X4F4.js → node-sqlite-PYNAIHR6.js} +7 -7
  101. package/dist/bundle/{oauth-C74B6XHN.js → oauth-BLOW6XVT.js} +7 -7
  102. package/dist/bundle/{open-CJESRWUG.js → open-VWILPEZ2.js} +5 -5
  103. package/dist/bundle/{openai-WLXOXSTV.js → openai-N37NPTEE.js} +15 -15
  104. package/dist/bundle/{process-JV3KVGJY.js → process-DMYM7PNQ.js} +1 -1
  105. package/dist/bundle/{program-HSVLSH7A.js → program-5QZLUWS4.js} +4115 -4148
  106. package/dist/bundle/{prompt-EEBVB3XG.js → prompt-EJHIAH4K.js} +5 -5
  107. package/dist/bundle/{recognize-ZFITQZ4W.js → recognize-67LER7ZN.js} +4 -4
  108. package/dist/bundle/{remote-RZXSYHOJ.js → remote-BONPKWRO.js} +9 -9
  109. package/dist/bundle/{rerank-2BHYAEO3.js → rerank-FK2AFC3Y.js} +7 -7
  110. package/dist/bundle/{schemas-6GTYA2NR.js → schemas-4E76I6ME.js} +1 -1
  111. package/dist/bundle/{serve-G3M5H5JM.js → serve-ZIXWKUE3.js} +9 -9
  112. package/dist/bundle/{server-44WJ5K2W.js → server-4RX3LBCA.js} +53 -53
  113. package/dist/bundle/server-RL6NIURH.js +79 -0
  114. package/dist/bundle/{sqlite-runtime-TRISCWIG.js → sqlite-runtime-WDXPYP7C.js} +6 -6
  115. package/dist/bundle/{state-BF6IMDP2.js → state-NE7WPOBK.js} +6 -6
  116. package/dist/bundle/{store-VSKYLTLH.js → store-2LX2ZQY5.js} +18 -18
  117. package/dist/bundle/{store-LZPZC72J.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 +33 -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-3FYEIRN4.js +0 -37
  153. package/dist/bundle/command-contract-N5X3UOTT.js +0 -37
  154. package/dist/bundle/first-screen-I23NJLFH.js +0 -37
  155. package/dist/bundle/meeting-combined-7ZNV4MZ2.js +0 -24
  156. package/dist/bundle/server-3ZL5TECF.js +0 -79
  157. package/dist/bundle/store-maintenance-command-IDAYDJLQ.js +0 -66
  158. package/dist/bundle/surface-OHYA3YS6.js +0 -65
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/mcp/instructions.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/mcp/instructions.js
8
8
  var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
9
9
  const all = typeof profile !== "string";
10
10
  const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PRAGMAS
5
- } from "./chunk-MHMHZ6GY.js";
5
+ } from "./chunk-ZAZUNEZB.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-HM6AMYHR.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.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.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/store/sqlite-warning.js
14
14
  var SQLITE_WARNING = "SQLite is an experimental feature";
15
15
  var quieted = /* @__PURE__ */ new WeakSet();
16
16
  var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
@@ -31,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
31
31
  return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
32
32
  }, "isSqliteWarning");
33
33
 
34
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/store/open.js
34
+ // 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/open.js
35
35
  var openCache = /* @__PURE__ */ __name(async (path) => {
36
36
  const database = await openFile(path);
37
37
  try {
@@ -44,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
44
44
  }, "openCache");
45
45
  var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
46
46
  var openUnderBun = /* @__PURE__ */ __name(async (path) => {
47
- const { openWithBunSqlite } = await import("./bun-sqlite-I5K5Z2ZK.js");
47
+ const { openWithBunSqlite } = await import("./bun-sqlite-NFVPKLZD.js");
48
48
  return await openWithBunSqlite(path);
49
49
  }, "openUnderBun");
50
50
  var openUnderNode = /* @__PURE__ */ __name(async (path) => {
51
51
  quietSqliteWarning();
52
- const { openWithNodeSqlite } = await import("./node-sqlite-KA35X4F4.js");
52
+ const { openWithNodeSqlite } = await import("./node-sqlite-PYNAIHR6.js");
53
53
  return openWithNodeSqlite(path);
54
54
  }, "openUnderNode");
55
55
  var runtime = /* @__PURE__ */ __name(() => {
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  tagOf
5
- } from "./chunk-QSUFJGTG.js";
5
+ } from "./chunk-KRCE3EBI.js";
6
6
  import {
7
7
  QUERY_LIMITS,
8
8
  parseLucene,
@@ -10,19 +10,19 @@ import {
10
10
  queryError,
11
11
  validateQuery,
12
12
  walkQuery
13
- } from "./chunk-MI6IH5UW.js";
13
+ } from "./chunk-MCNZCQ6P.js";
14
14
  import {
15
15
  safeParse
16
16
  } from "./chunk-S4UUN6LD.js";
17
17
  import {
18
18
  CliError,
19
19
  isCliError
20
- } from "./chunk-HM6AMYHR.js";
20
+ } from "./chunk-3JZNNESS.js";
21
21
  import {
22
22
  __name
23
23
  } from "./chunk-ZVVMGPBJ.js";
24
24
 
25
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/search/fusion.js
25
+ // 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/fusion.js
26
26
  var RRF_K = 60;
27
27
  var fuseRanked = /* @__PURE__ */ __name((lists, facts) => {
28
28
  const rows = lists.flatMap((list) => list.map((item, rank) => ({ item, vote: 1 / (RRF_K + rank + 1), ...facts(item) })));
@@ -30,7 +30,7 @@ var fuseRanked = /* @__PURE__ */ __name((lists, facts) => {
30
30
  return rows.sort((a, b) => Number(b.exact === true) - Number(a.exact === true) || (ranking ? Number(b.ranked) - Number(a.ranked) || b.vote - a.vote : 0) || b.at - a.at).map(({ item }) => item);
31
31
  }, "fuseRanked");
32
32
 
33
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/search/lucene/types.js
33
+ // 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/lucene/types.js
34
34
  var QUERY_VERSION = 1;
35
35
  var QUERY_LIMITS2 = {
36
36
  ...QUERY_LIMITS,
@@ -59,6 +59,12 @@ function outOfTime(limitMs = QUERY_LIMITS2.milliseconds) {
59
59
  }
60
60
  __name(outOfTime, "outOfTime");
61
61
  var isQueryLimit = /* @__PURE__ */ __name((error) => isCliError(error) && (error.details.reason === "query.too-large" || error.details.reason === "query.time-limit"), "isQueryLimit");
62
+ var SQLITE_TOO_LARGE = /nested too deep|too many terms in compound SELECT|Expression tree is too large|parser stack overflow/;
63
+ var sqliteLimit = /* @__PURE__ */ __name((error) => {
64
+ if (error instanceof Error && SQLITE_TOO_LARGE.test(error.message))
65
+ exhausted("nodes");
66
+ return error;
67
+ }, "sqliteLimit");
62
68
  function exhausted(budget) {
63
69
  throw new CliError("validation_error", `search exceeded its ${budget} budget \u2014 narrow the chat or date range`, {
64
70
  reason: "query.too-large",
@@ -75,7 +81,7 @@ function tooWideTerm([term], budget) {
75
81
  }
76
82
  __name(tooWideTerm, "tooWideTerm");
77
83
 
78
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/search/lucene/registry.js
84
+ // 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/lucene/registry.js
79
85
  var FIELD_VERSION = 2;
80
86
  var UNITS = {
81
87
  "": 1,
@@ -604,7 +610,7 @@ var validateAst = /* @__PURE__ */ __name((input, options = {}) => {
604
610
  return validateFields(parsed.output, options);
605
611
  }, "validateAst");
606
612
 
607
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/search/lucene/plain.js
613
+ // 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/lucene/plain.js
608
614
  var REPAIRED = /* @__PURE__ */ new Set([
609
615
  "query.invalid-syntax",
610
616
  "query.unclosed-literal",
@@ -756,6 +762,7 @@ export {
756
762
  searchTimeLimit,
757
763
  outOfTime,
758
764
  isQueryLimit,
765
+ sqliteLimit,
759
766
  exhausted,
760
767
  tooWideTerm,
761
768
  FIELD_VERSION,
@@ -5,12 +5,12 @@ import {
5
5
  } from "./chunk-Y5E2WNWB.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-HM6AMYHR.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.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/store/vector-extension.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/store/vector-extension.js
14
14
  import { readFileSync } from "node:fs";
15
15
  var musl = /* @__PURE__ */ __name(() => {
16
16
  if (process.platform !== "linux")
@@ -4,9 +4,9 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/http/listen.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/http/listen.js
8
8
  import { createServer } from "node:http";
9
- import { Readable } from "node:stream";
9
+ import { pipeline, Readable } from "node:stream";
10
10
  var MAX_BODY = 4 * 1024 * 1024;
11
11
  var TooLarge = class extends Error {
12
12
  static {
@@ -49,8 +49,7 @@ var send = /* @__PURE__ */ __name(async (response, outgoing) => {
49
49
  if (!response.body)
50
50
  return void outgoing.end();
51
51
  const body = Readable.fromWeb(response.body);
52
- outgoing.once("close", () => body.destroy());
53
- body.pipe(outgoing);
52
+ pipeline(body, outgoing, () => void 0);
54
53
  }, "send");
55
54
  var listen = /* @__PURE__ */ __name((handle, { host, port, maxBody = MAX_BODY }) => new Promise((resolve, reject) => {
56
55
  const server = createServer((incoming, outgoing) => {
@@ -2,11 +2,11 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  throughWrapper
5
- } from "./chunk-OHCYBSCA.js";
5
+ } from "./chunk-UNI5OO3J.js";
6
6
  import {
7
7
  environmentOf,
8
8
  readOnlyLockOf
9
- } from "./chunk-JWRI6ZY6.js";
9
+ } from "./chunk-N7EFLZNW.js";
10
10
  import {
11
11
  array,
12
12
  boolean,
@@ -19,12 +19,12 @@ import {
19
19
  } from "./chunk-S4UUN6LD.js";
20
20
  import {
21
21
  CliError
22
- } from "./chunk-HM6AMYHR.js";
22
+ } from "./chunk-3JZNNESS.js";
23
23
  import {
24
24
  __name
25
25
  } from "./chunk-ZVVMGPBJ.js";
26
26
 
27
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/background/relay.js
27
+ // 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/background/relay.js
28
28
  import { createHash } from "node:crypto";
29
29
  import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
30
30
  import { createConnection, createServer } from "node:net";
@@ -245,7 +245,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
245
245
  }, () => finish({ error: stopped() }));
246
246
  }), "relayCommand");
247
247
 
248
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
248
+ // 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/messenger/serve-relay.js
249
249
  var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
250
250
  close: /* @__PURE__ */ __name(async () => {
251
251
  }, "close"),
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-HM6AMYHR.js";
5
+ } from "./chunk-3JZNNESS.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
10
+ // 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/input-policy.js
11
11
  var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
12
12
  var MAX_SECRET_INPUT = 64 * 1024;
13
13
  var policies = /* @__PURE__ */ new WeakMap();
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-base@0.124.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.129.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);
@@ -3,12 +3,12 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError,
5
5
  errorCodes
6
- } from "./chunk-HM6AMYHR.js";
6
+ } from "./chunk-3JZNNESS.js";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-ZVVMGPBJ.js";
10
10
 
11
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/errors/failures.js
11
+ // 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/errors/failures.js
12
12
  var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
13
13
  var isCommanderFailure = /* @__PURE__ */ __name((value) => {
14
14
  const { code, exitCode } = value ?? {};
@@ -60,7 +60,7 @@ var damagedFile = /* @__PURE__ */ __name(async (files, work) => {
60
60
  }, "damagedFile");
61
61
  var isStoreDamage = /* @__PURE__ */ __name((error) => damageIn(error) !== void 0, "isStoreDamage");
62
62
 
63
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/runs/secrets.js
63
+ // 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/runs/secrets.js
64
64
  var SECRET_WORDS = /* @__PURE__ */ new Set([
65
65
  "authorization",
66
66
  "cookie",
@@ -5,31 +5,31 @@ import {
5
5
  isNewer,
6
6
  readNoticeState,
7
7
  writeUpdateState
8
- } from "./chunk-7QH5BZUG.js";
8
+ } from "./chunk-6GVBDIY7.js";
9
9
  import {
10
10
  executableEnvironment,
11
11
  executableOnPath
12
- } from "./chunk-CFQQTDSA.js";
12
+ } from "./chunk-3L3ZRFKH.js";
13
13
  import {
14
14
  Command,
15
15
  Option,
16
16
  annotate
17
- } from "./chunk-JWRI6ZY6.js";
17
+ } from "./chunk-N7EFLZNW.js";
18
18
  import {
19
19
  require_cross_spawn
20
20
  } from "./chunk-D72URWJE.js";
21
21
  import {
22
22
  refuseOwnerHomeInTests
23
- } from "./chunk-3BM6KBWP.js";
23
+ } from "./chunk-PX5XI2UR.js";
24
24
  import {
25
25
  CliError
26
- } from "./chunk-HM6AMYHR.js";
26
+ } from "./chunk-3JZNNESS.js";
27
27
  import {
28
28
  __name,
29
29
  __toESM
30
30
  } from "./chunk-ZVVMGPBJ.js";
31
31
 
32
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/skill/index.js
32
+ // node_modules/.pnpm/@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/skill/index.js
33
33
  import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
34
34
  import { homedir } from "node:os";
35
35
  import { basename, dirname, join, relative, resolve, sep } from "node:path";
@@ -3,29 +3,29 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  textModel,
5
5
  vectorModelKey
6
- } from "./chunk-FRCORPOY.js";
6
+ } from "./chunk-PTBGWRI4.js";
7
7
  import {
8
8
  OPENAI_URL,
9
9
  openRemote,
10
10
  remoteKey,
11
11
  remoteModel
12
- } from "./chunk-MW2OS2GD.js";
12
+ } from "./chunk-ROJF7524.js";
13
13
  import {
14
14
  endpointFetch
15
- } from "./chunk-XQIRF6PS.js";
15
+ } from "./chunk-ECPUCPPX.js";
16
16
  import {
17
17
  isTextModelInstalled,
18
18
  openEmbedder,
19
19
  textModelsDirectory
20
- } from "./chunk-AHPGTDO2.js";
20
+ } from "./chunk-SIYP5IZG.js";
21
21
  import {
22
22
  CliError
23
- } from "./chunk-HM6AMYHR.js";
23
+ } from "./chunk-3JZNNESS.js";
24
24
  import {
25
25
  __name
26
26
  } from "./chunk-ZVVMGPBJ.js";
27
27
 
28
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/services/meeting-model.js
28
+ // 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-model.js
29
29
  var integer = /* @__PURE__ */ __name((value, name, max) => {
30
30
  if (!Number.isSafeInteger(value) || value < 1 || value > max)
31
31
  throw new CliError("validation_error", `Invalid ${name}`);
@@ -3,12 +3,12 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError,
5
5
  singleLine
6
- } from "./chunk-HM6AMYHR.js";
6
+ } from "./chunk-3JZNNESS.js";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-ZVVMGPBJ.js";
10
10
 
11
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/domain/tags.js
11
+ // 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/tags.js
12
12
  var TAG_TYPES = ["chat", "contact", "message", "task"];
13
13
  var TAG = /^[a-z0-9-]{1,32}$/;
14
14
  var tagOf = /* @__PURE__ */ __name((value) => {
@@ -5,10 +5,10 @@ import {
5
5
  id,
6
6
  text,
7
7
  time
8
- } from "./chunk-WHDVRMB7.js";
8
+ } from "./chunk-3PPTBPRU.js";
9
9
  import {
10
10
  reference
11
- } from "./chunk-3LMW7U7F.js";
11
+ } from "./chunk-4IASSY4K.js";
12
12
  import {
13
13
  array,
14
14
  nullable,
@@ -20,7 +20,7 @@ import {
20
20
  unknown
21
21
  } from "./chunk-S4UUN6LD.js";
22
22
 
23
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/entities/note.js
23
+ // 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/entities/note.js
24
24
  var link = {
25
25
  target_text: nullable(text),
26
26
  kind: text,