@wirecat/attio-cli 0.1.0 → 0.2.1

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 +20 -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-VL25A6V2.js → chunk-AFAULIL5.js} +2 -2
  27. package/dist/bundle/{chunk-RRH7UK7L.js → chunk-AMUONYQR.js} +2 -2
  28. package/dist/bundle/{chunk-MCQOXTAL.js → chunk-ASCUOOLO.js} +1 -1
  29. package/dist/bundle/{chunk-5DCRHSBI.js → chunk-BUGROVF3.js} +2 -2
  30. package/dist/bundle/{chunk-QNQ2OF24.js → chunk-CHZ26CW5.js} +56 -56
  31. package/dist/bundle/{chunk-KB3YJJPN.js → chunk-CMO5ND3Y.js} +34 -34
  32. package/dist/bundle/{chunk-WBEZZGZE.js → chunk-DF2IIO32.js} +158 -158
  33. package/dist/bundle/{chunk-HLLRNP2G.js → chunk-DQ6P3R4B.js} +3 -3
  34. package/dist/bundle/{chunk-XHIVZPQ2.js → chunk-DSRXCLPO.js} +1 -1
  35. package/dist/bundle/{chunk-4HQDT5PF.js → chunk-EEPE3SOW.js} +5 -5
  36. package/dist/bundle/{chunk-SBRFKB77.js → chunk-EQGXEKSV.js} +7 -7
  37. package/dist/bundle/{chunk-DW3V7GTY.js → chunk-EQXT7KO4.js} +6 -6
  38. package/dist/bundle/{chunk-MXDIXBIV.js → chunk-ERW2WOJT.js} +1 -1
  39. package/dist/bundle/{chunk-5ETXE5KF.js → chunk-ESH2QGCA.js} +7 -7
  40. package/dist/bundle/{chunk-4EYKJLWI.js → chunk-G3JTLVVL.js} +7 -7
  41. package/dist/bundle/{chunk-JKCXDIGC.js → chunk-G6FQMVKW.js} +3 -3
  42. package/dist/bundle/{chunk-LWUJZ2E3.js → chunk-GBZ6JUXU.js} +2 -2
  43. package/dist/bundle/{chunk-5WAGTWCS.js → chunk-GLHFJPYS.js} +3 -3
  44. package/dist/bundle/{chunk-LB6D4QF2.js → chunk-GW4G5KLS.js} +8 -8
  45. package/dist/bundle/{chunk-V5K3M7FE.js → chunk-H7QDPW3D.js} +1 -1
  46. package/dist/bundle/{chunk-6B5PSQQ7.js → chunk-HG7FT3H3.js} +7 -7
  47. package/dist/bundle/{chunk-6L5EUGLP.js → chunk-I3WS6V5H.js} +8 -8
  48. package/dist/bundle/{chunk-BHNFRL3H.js → chunk-IDU4ESRZ.js} +1 -1
  49. package/dist/bundle/{chunk-OPXCRQTV.js → chunk-IXCIQ7FZ.js} +4 -4
  50. package/dist/bundle/{chunk-MZNRIH3T.js → chunk-J5P5VSRG.js} +8 -8
  51. package/dist/bundle/{chunk-NEFILPPV.js → chunk-JA26HG7T.js} +8 -8
  52. package/dist/bundle/{chunk-V6EVJXLO.js → chunk-JSTBW7F4.js} +6 -6
  53. package/dist/bundle/{chunk-QCEEPJNN.js → chunk-KHDXRFJZ.js} +8 -8
  54. package/dist/bundle/{chunk-2P7ENEQ7.js → chunk-L5WS6CYZ.js} +2 -2
  55. package/dist/bundle/{chunk-MYVWV5L5.js → chunk-LWJ4ZGUM.js} +13 -13
  56. package/dist/bundle/{chunk-PKNFA5TU.js → chunk-MC2RQ2OB.js} +1 -1
  57. package/dist/bundle/{chunk-QG4WCLGB.js → chunk-MNQACPXG.js} +25 -25
  58. package/dist/bundle/{chunk-IGALQ74S.js → chunk-MOSH2KPD.js} +10 -10
  59. package/dist/bundle/{chunk-A7YQTQ5U.js → chunk-MRREDVPY.js} +13 -13
  60. package/dist/bundle/{chunk-7NFEMS4A.js → chunk-MT2ZUZRA.js} +6 -6
  61. package/dist/bundle/{chunk-FJV3MO57.js → chunk-O4A33Y54.js} +2 -2
  62. package/dist/bundle/{chunk-V2R2BJJU.js → chunk-OBXDRUO4.js} +1 -1
  63. package/dist/bundle/{chunk-4XHWGJXT.js → chunk-OFR3YYT6.js} +1 -1
  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-5OTAVU5S.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
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // 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/cli/stdin-field.js
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/cli/stdin-field.js
8
8
  var fields = /* @__PURE__ */ new WeakMap();
9
9
  var readsStdin = /* @__PURE__ */ __name((command, field) => {
10
10
  fields.set(command, field);
@@ -2,16 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  alive
5
- } from "./chunk-V2R2BJJU.js";
5
+ } from "./chunk-OBXDRUO4.js";
6
6
  import {
7
7
  resolvePaths,
8
8
  writeSecurely
9
- } from "./chunk-XTQIXZVM.js";
9
+ } from "./chunk-X5S5KUSU.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // 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/background/lock.js
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/background/lock.js
15
15
  import { existsSync, linkSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
16
16
  import { dirname, join } from "node:path";
17
17
  var lockPath = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "serve", `${profile}.lock`), "lockPath");
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
 
4
4
  // dist/version.js
5
- var VERSION = "0.1.0";
5
+ var VERSION = "0.2.1";
6
6
 
7
7
  // dist/identity.js
8
8
  var PACKAGE = "@wirecat/attio-cli";
@@ -22,7 +22,7 @@ var DESKTOP = {
22
22
  // app.attio.com is only Attio's OAuth sign-in page, which the API description names; requests go to api.attio.com.
23
23
  hosts: ["api.attio.com", "app.attio.com"],
24
24
  tagline: "Attio deals, people and companies for your agent",
25
- syncs: "your deals, people and companies",
25
+ syncs: "your deals and their clients",
26
26
  signIn: {
27
27
  gives: "Lets your agent read your Attio deals, people and companies and call the Attio API.",
28
28
  asks: "An access token: in Attio, Workspace settings \u2192 Developers \u2192 New access token, with read access to records, object configuration and user management. Only a workspace admin can make one.",
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CAPABILITY_STATEMENTS,
5
5
  storeCapable
6
- } from "./chunk-JTOKDROB.js";
6
+ } from "./chunk-S7K2XFQB.js";
7
7
  import {
8
8
  importFrom
9
9
  } from "./chunk-Y5E2WNWB.js";
@@ -11,7 +11,7 @@ import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // 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/sqlite-runtime.js
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/sqlite-runtime.js
15
15
  import { spawn, spawnSync } from "node:child_process";
16
16
  import { readFileSync } from "node:fs";
17
17
  import { dirname } from "node:path";
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // 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/instructions.js
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/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");
@@ -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/errors.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/errors.js
8
8
  var errorCodes = [
9
9
  "validation_error",
10
10
  "configuration_error",
@@ -39,7 +39,7 @@ var CliError = class extends Error {
39
39
  };
40
40
  var isCliError = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && value[BRAND] === true, "isCliError");
41
41
 
42
- // 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/sanitize.js
42
+ // 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/sanitize.js
43
43
  var CONTROL = (
44
44
  // biome-ignore lint/suspicious/noControlCharactersInRegex: matching them is the whole point
45
45
  /[\u0000-\u0008\u000B-\u001F\u007F-\u009F\u200B\u200E\u200F\u202A-\u202E\u2066-\u2069\uFEFF\u{E0000}-\u{E007F}]/gu
@@ -3,19 +3,19 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answerOf,
5
5
  messengerContext
6
- } from "./chunk-RCKRXBJF.js";
6
+ } from "./chunk-2E6JGBM5.js";
7
7
  import {
8
8
  chatEventAnswer,
9
9
  memberAnswer,
10
10
  pollVoteAnswer
11
- } from "./chunk-NEFILPPV.js";
11
+ } from "./chunk-JA26HG7T.js";
12
12
  import {
13
13
  stringWidth,
14
14
  wrapAnsi
15
15
  } from "./chunk-EH6ZEJGT.js";
16
16
  import {
17
17
  serveRelay
18
- } from "./chunk-4HQDT5PF.js";
18
+ } from "./chunk-EEPE3SOW.js";
19
19
  import {
20
20
  FETCHING,
21
21
  RULES_VERSION,
@@ -32,20 +32,20 @@ import {
32
32
  servicesFor,
33
33
  syncsOneChat,
34
34
  withTimeLimit
35
- } from "./chunk-ICUXAOEM.js";
35
+ } from "./chunk-3NVOKVRY.js";
36
36
  import {
37
37
  capability,
38
38
  queryTerms,
39
39
  typedQuery,
40
40
  withQuery
41
- } from "./chunk-A7YQTQ5U.js";
41
+ } from "./chunk-MRREDVPY.js";
42
42
  import {
43
43
  holdLock,
44
44
  lockPath,
45
45
  releaseLock,
46
46
  servingProfiles,
47
47
  takeLock
48
- } from "./chunk-WIYAMDPP.js";
48
+ } from "./chunk-7ZUOI3HY.js";
49
49
  import {
50
50
  Command,
51
51
  LOCAL_READ,
@@ -73,13 +73,13 @@ import {
73
73
  snakeKeys,
74
74
  storeTable,
75
75
  withoutProviderRefs
76
- } from "./chunk-WBEZZGZE.js";
76
+ } from "./chunk-DF2IIO32.js";
77
77
  import {
78
78
  holdersOf
79
- } from "./chunk-V2R2BJJU.js";
79
+ } from "./chunk-OBXDRUO4.js";
80
80
  import {
81
81
  readSecret
82
- } from "./chunk-IPHUAWFG.js";
82
+ } from "./chunk-6ALPRBNV.js";
83
83
  import {
84
84
  QUICK_HEALTH_CHECKS,
85
85
  fts5Tables,
@@ -87,7 +87,7 @@ import {
87
87
  lossUnknown,
88
88
  storeDamageReport,
89
89
  storeHealth
90
- } from "./chunk-V6ALLFEE.js";
90
+ } from "./chunk-W6F2CQZ6.js";
91
91
  import {
92
92
  CORPORA,
93
93
  MIGRATIONS,
@@ -124,7 +124,7 @@ import {
124
124
  storeClients,
125
125
  storeContents,
126
126
  vectorIndexCounts
127
- } from "./chunk-ETSOG6TZ.js";
127
+ } from "./chunk-76RRELCU.js";
128
128
  import {
129
129
  currentRun,
130
130
  formatLocator,
@@ -133,35 +133,35 @@ import {
133
133
  readHealthMark,
134
134
  readJournalMark,
135
135
  recordDeepCheck
136
- } from "./chunk-RK4GN2II.js";
136
+ } from "./chunk-6NDJDDSQ.js";
137
137
  import {
138
138
  failureKey,
139
139
  isStoreDamage
140
- } from "./chunk-5WAGTWCS.js";
140
+ } from "./chunk-GLHFJPYS.js";
141
141
  import {
142
142
  queryFieldsOf
143
- } from "./chunk-SP6DPFZ4.js";
143
+ } from "./chunk-V6BTAILB.js";
144
144
  import {
145
145
  modelAddressAllowed,
146
146
  onThisComputer
147
- } from "./chunk-5ETXE5KF.js";
147
+ } from "./chunk-ESH2QGCA.js";
148
148
  import {
149
149
  readSharedSection,
150
150
  sharedConfigPath,
151
151
  writeSharedSection
152
- } from "./chunk-SBRFKB77.js";
152
+ } from "./chunk-EQGXEKSV.js";
153
153
  import {
154
154
  storePath
155
- } from "./chunk-VJ4CPL6F.js";
155
+ } from "./chunk-34FJ26K2.js";
156
156
  import {
157
157
  openCache
158
- } from "./chunk-JTOKDROB.js";
158
+ } from "./chunk-S7K2XFQB.js";
159
159
  import {
160
160
  Credentials,
161
161
  isMovedRun,
162
162
  resolvePaths,
163
163
  writeSecurely
164
- } from "./chunk-XTQIXZVM.js";
164
+ } from "./chunk-X5S5KUSU.js";
165
165
  import {
166
166
  array,
167
167
  boolean,
@@ -188,7 +188,7 @@ import {
188
188
  CliError,
189
189
  singleLine,
190
190
  visibleControls
191
- } from "./chunk-5DCRHSBI.js";
191
+ } from "./chunk-BUGROVF3.js";
192
192
  import {
193
193
  __commonJS,
194
194
  __name,
@@ -5528,11 +5528,11 @@ var require_liquid_node = __commonJS({
5528
5528
  }
5529
5529
  });
5530
5530
 
5531
- // 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/cli/messenger/store-maintenance-command.js
5531
+ // 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/messenger/store-maintenance-command.js
5532
5532
  import { chmodSync, constants, copyFileSync, existsSync as existsSync10, mkdirSync, realpathSync as realpathSync3, renameSync as renameSync3, rmSync as rmSync3, statfsSync as statfsSync2, statSync as statSync4, writeFileSync as writeFileSync2 } from "node:fs";
5533
5533
  import { dirname as dirname3, resolve } from "node:path";
5534
5534
 
5535
- // 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/sealed.js
5535
+ // 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/sealed.js
5536
5536
  import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
5537
5537
  import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
5538
5538
  import { Transform } from "node:stream";
@@ -5639,7 +5639,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
5639
5639
  renameSync(pending, to);
5640
5640
  }, "unsealFile");
5641
5641
 
5642
- // 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/compatibility.js
5642
+ // 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/compatibility.js
5643
5643
  var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
5644
5644
  var fileSchemaOf = /* @__PURE__ */ __name((database) => {
5645
5645
  const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
@@ -5663,7 +5663,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
5663
5663
  };
5664
5664
  }, "compatibilityOf");
5665
5665
 
5666
- // 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/repair.js
5666
+ // 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/repair.js
5667
5667
  import { createHash as createHash2 } from "node:crypto";
5668
5668
  var COPY_MARK = "__repair_";
5669
5669
  var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
@@ -5917,19 +5917,19 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
5917
5917
  return found;
5918
5918
  }, "deleteCopy");
5919
5919
 
5920
- // 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/cli/store-info.js
5920
+ // 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/store-info.js
5921
5921
  import { existsSync as existsSync4, statSync as statSync3 } from "node:fs";
5922
5922
 
5923
- // 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/cli/store-recover.js
5923
+ // 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/store-recover.js
5924
5924
  import { existsSync as existsSync3 } from "node:fs";
5925
5925
 
5926
- // 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/recover.js
5926
+ // 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/recover.js
5927
5927
  import { execFileSync, spawn } from "node:child_process";
5928
5928
  import { existsSync as existsSync2, readFileSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync2, writeFileSync } from "node:fs";
5929
5929
  import { basename, dirname, join } from "node:path";
5930
5930
  import { Transform as Transform2 } from "node:stream";
5931
5931
 
5932
- // 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/refill.js
5932
+ // 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/refill.js
5933
5933
  var REFILL_MARGIN_MS = 864e5;
5934
5934
  var TIME_KEYS = 1e12;
5935
5935
  var integerId = `external_id GLOB '[0-9]*' AND NOT external_id GLOB '*[^0-9]*'`;
@@ -6009,7 +6009,7 @@ var forgetMail = /* @__PURE__ */ __name((database, cutoff, now) => {
6009
6009
  return [...folders].map(([account, count3]) => ({ account, folders: count3 }));
6010
6010
  }, "forgetMail");
6011
6011
 
6012
- // 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/recover.js
6012
+ // 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/recover.js
6013
6013
  var SQLITE3_MINIMUM = [3, 43, 0];
6014
6014
  var STORE_PARTS = ["", "-wal", "-shm"];
6015
6015
  var RECOVER_LOCK = ".recover-lock";
@@ -6539,7 +6539,7 @@ var recoverLocked = /* @__PURE__ */ __name(async ({ path, command, version, sqli
6539
6539
  }
6540
6540
  }, "recoverLocked");
6541
6541
 
6542
- // 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/cli/store-recover.js
6542
+ // 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/store-recover.js
6543
6543
  var COUNTED = [
6544
6544
  "accounts",
6545
6545
  "chats",
@@ -6695,7 +6695,7 @@ var storeRecoverCommand = /* @__PURE__ */ __name(({ command, version }) => {
6695
6695
  return recover;
6696
6696
  }, "storeRecoverCommand");
6697
6697
 
6698
- // 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/cli/store-info.js
6698
+ // 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/store-info.js
6699
6699
  var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
6700
6700
  var bytesOf = /* @__PURE__ */ __name((path) => existsSync4(path) ? statSync3(path).size : 0, "bytesOf");
6701
6701
  var messageOf = /* @__PURE__ */ __name((error) => error instanceof Error ? error.message : String(error), "messageOf");
@@ -6741,7 +6741,7 @@ var storeInfoCommand = /* @__PURE__ */ __name(() => annotate(new Command("info")
6741
6741
  renderAnswer(this, outputFor(this), itemOf(answer));
6742
6742
  }), "storeInfoCommand");
6743
6743
 
6744
- // 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/cli/messenger/password.js
6744
+ // 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/messenger/password.js
6745
6745
  var ENCRYPT_OPTION = [
6746
6746
  "--encrypt",
6747
6747
  "compress and encrypt with a password, typed at a hidden prompt or piped on stdin; it is never kept \u2014 lose it and the file cannot be opened"
@@ -6760,7 +6760,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
6760
6760
  return password;
6761
6761
  }, "passwordOf");
6762
6762
 
6763
- // 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/replies/rules.js
6763
+ // 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/replies/rules.js
6764
6764
  import { existsSync as existsSync5, readFileSync as readFileSync2 } from "node:fs";
6765
6765
  import { join as join2 } from "node:path";
6766
6766
  var REPLY_ACTIONS = ["reply", "task"];
@@ -6931,7 +6931,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
6931
6931
  }, "problem");
6932
6932
  var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
6933
6933
 
6934
- // 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/replies/state.js
6934
+ // 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/replies/state.js
6935
6935
  import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
6936
6936
  import { join as join3 } from "node:path";
6937
6937
  var ANSWERED_KEPT = 1e3;
@@ -6984,7 +6984,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
6984
6984
  }, "recordReply");
6985
6985
  var broken2 = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply state ${path} cannot be read (${why}) \u2014 fix or move the file`), "broken");
6986
6986
 
6987
- // 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/replies/decide.js
6987
+ // 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/replies/decide.js
6988
6988
  var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
6989
6989
  var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
6990
6990
  const { message, chat, owner, sender } = incoming;
@@ -7090,10 +7090,10 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
7090
7090
  return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
7091
7091
  }, "filled");
7092
7092
 
7093
- // 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/replies/template.js
7093
+ // 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/replies/template.js
7094
7094
  var import_liquidjs2 = __toESM(require_liquid_node(), 1);
7095
7095
 
7096
- // 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/render/liquid.js
7096
+ // 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/render/liquid.js
7097
7097
  var import_liquidjs = __toESM(require_liquid_node(), 1);
7098
7098
  var safeLiquid = /* @__PURE__ */ __name((limits) => {
7099
7099
  const engine = new import_liquidjs.Liquid({
@@ -7120,7 +7120,7 @@ var safeLiquid = /* @__PURE__ */ __name((limits) => {
7120
7120
  return engine;
7121
7121
  }, "safeLiquid");
7122
7122
 
7123
- // 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/replies/template.js
7123
+ // 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/replies/template.js
7124
7124
  var TEMPLATE_LIMITS = {
7125
7125
  parse: 32768,
7126
7126
  renders: 2e3,
@@ -7259,7 +7259,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
7259
7259
  }
7260
7260
  }, "renderReplyTemplate");
7261
7261
 
7262
- // 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/replies/dry-run.js
7262
+ // 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/replies/dry-run.js
7263
7263
  var DRY_RUN_DAYS = 7;
7264
7264
  var PAGE = 500;
7265
7265
  var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
@@ -7373,7 +7373,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
7373
7373
  }
7374
7374
  }, "storedSince");
7375
7375
 
7376
- // 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/models/ai.js
7376
+ // 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/models/ai.js
7377
7377
  var AI_PROVIDERS = ["anthropic", "openai", "ollama"];
7378
7378
  var DEFAULT_BASE_URL = {
7379
7379
  anthropic: "https://api.anthropic.com",
@@ -7523,7 +7523,7 @@ var checkAi = /* @__PURE__ */ __name(async (deps) => {
7523
7523
  }
7524
7524
  }, "checkAi");
7525
7525
 
7526
- // 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/models/purpose.js
7526
+ // 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/models/purpose.js
7527
7527
  var HOSTED = {
7528
7528
  openai: "https://api.openai.com/v1",
7529
7529
  anthropic: "https://api.anthropic.com"
@@ -7544,7 +7544,7 @@ var purposeModel = /* @__PURE__ */ __name((settings, purpose, deps) => {
7544
7544
  return shared ? { target: shared.target, key: /* @__PURE__ */ __name(() => shared.key, "key"), shared: shared.setting } : void 0;
7545
7545
  }, "purposeModel");
7546
7546
 
7547
- // 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/replies/consents.js
7547
+ // 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/replies/consents.js
7548
7548
  import { existsSync as existsSync7, readFileSync as readFileSync4 } from "node:fs";
7549
7549
  import { join as join4 } from "node:path";
7550
7550
  var shape = strictObject({
@@ -7569,7 +7569,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
7569
7569
  return consent.provider === provider && !consent.deniedChats.includes(chat);
7570
7570
  }, "mayModelReply");
7571
7571
 
7572
- // 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/replies/rendering.js
7572
+ // 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/replies/rendering.js
7573
7573
  var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options = {
7574
7574
  ai: true
7575
7575
  }) => async (rule2, message, chat, now) => {
@@ -7617,7 +7617,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
7617
7617
  return result2;
7618
7618
  }, "replyRenderer");
7619
7619
 
7620
- // 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/replies/serve.js
7620
+ // 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/replies/serve.js
7621
7621
  var NOT_ALLOWED = "replies.send is not allow";
7622
7622
  var NO_RULES = "no rules";
7623
7623
  var ONLY_TASK = "opened a task, sent nothing";
@@ -7710,7 +7710,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
7710
7710
  return { skip: why };
7711
7711
  }, "replyTo");
7712
7712
 
7713
- // 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/cli/messenger/serve-catch-up.js
7713
+ // 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/messenger/serve-catch-up.js
7714
7714
  var START_SYNC_DELAY_MS = 3e4;
7715
7715
  var START_SYNC_BUDGET_MS = 5 * 6e4;
7716
7716
  var START_SYNC_WINDOW_MS = 7 * 864e5;
@@ -7787,7 +7787,7 @@ var startSync = /* @__PURE__ */ __name(({ chats, newestHeld, fetch, note, warn,
7787
7787
  };
7788
7788
  }, "startSync");
7789
7789
 
7790
- // 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/cli/messenger/serve-members.js
7790
+ // 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/messenger/serve-members.js
7791
7791
  var FIRST_FETCH_MS = 6e4;
7792
7792
  var DAY_MS = 864e5;
7793
7793
  var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
@@ -7841,7 +7841,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs =
7841
7841
  };
7842
7842
  }, "memberFetches");
7843
7843
 
7844
- // 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/cli/messenger/serve-notice.js
7844
+ // 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/messenger/serve-notice.js
7845
7845
  var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
7846
7846
  var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
7847
7847
  if (context.format === "pretty") {
@@ -7874,7 +7874,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
7874
7874
  return context;
7875
7875
  }, "recordDiagnostics");
7876
7876
 
7877
- // 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/cli/messenger/serve-outdated.js
7877
+ // 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/messenger/serve-outdated.js
7878
7878
  import { existsSync as existsSync8, readFileSync as readFileSync5, realpathSync as realpathSync2 } from "node:fs";
7879
7879
  import { dirname as dirname2, join as join5 } from "node:path";
7880
7880
  var OUTDATED_CHECK_MS = 6e4;
@@ -7960,7 +7960,7 @@ var watchOutdated = /* @__PURE__ */ __name(({ check: check2, onOutdated, everyMs
7960
7960
  };
7961
7961
  }, "watchOutdated");
7962
7962
 
7963
- // 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/cli/messenger/serve-stems.js
7963
+ // 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/messenger/serve-stems.js
7964
7964
  var STEMS_EVERY_MS = 3e4;
7965
7965
  var STEMS_SLICE_MS = 2e3;
7966
7966
  var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
@@ -8000,7 +8000,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
8000
8000
  };
8001
8001
  }, "stemFills");
8002
8002
 
8003
- // 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/render/messages.js
8003
+ // 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/render/messages.js
8004
8004
  import { styleText } from "node:util";
8005
8005
  var TIME_WIDTH = 8;
8006
8006
  var INDENT = " ".repeat(TIME_WIDTH + 2);
@@ -8176,7 +8176,7 @@ var editedAt = /* @__PURE__ */ __name((message, options) => {
8176
8176
  return day(edited) === day(message.timestamp) ? time : `${day(edited)} ${time}`;
8177
8177
  }, "editedAt");
8178
8178
 
8179
- // 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/cli/messenger/message-items.js
8179
+ // 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/messenger/message-items.js
8180
8180
  var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
8181
8181
  var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
8182
8182
  kind: attachment.kind,
@@ -8272,7 +8272,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
8272
8272
  locale: messenger.app.locale
8273
8273
  }), "viewOf");
8274
8274
 
8275
- // 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/cli/messenger/watch-answers.js
8275
+ // 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/messenger/watch-answers.js
8276
8276
  var observed = /* @__PURE__ */ __name((value) => ({
8277
8277
  value: value.value,
8278
8278
  observed_at: value.observedAt,
@@ -8339,7 +8339,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
8339
8339
  }
8340
8340
  }, "watchEventItem");
8341
8341
 
8342
- // 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/cli/messenger/watch-command.js
8342
+ // 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/messenger/watch-command.js
8343
8343
  var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
8344
8344
  output: { entity: "watch_item" },
8345
8345
  effects: REMOTE_READ,
@@ -8494,7 +8494,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
8494
8494
  }
8495
8495
  }, "describe");
8496
8496
 
8497
- // 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/cli/messenger/serve-command.js
8497
+ // 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/messenger/serve-command.js
8498
8498
  var serveCommand = /* @__PURE__ */ __name((messenger) => {
8499
8499
  const command = annotate(new Command("serve"), {
8500
8500
  output: { entity: "serve_summary" },
@@ -8780,7 +8780,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
8780
8780
  };
8781
8781
  }, "tasking");
8782
8782
 
8783
- // 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/cli/messenger/store-tables-command.js
8783
+ // 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/messenger/store-tables-command.js
8784
8784
  import { existsSync as existsSync9 } from "node:fs";
8785
8785
  var PATH = "store tables list";
8786
8786
  var STORE_TABLES_QUERY = {
@@ -8823,7 +8823,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((owner) => {
8823
8823
  return tables;
8824
8824
  }, "storeTablesCommand");
8825
8825
 
8826
- // 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/cli/messenger/store-maintenance-command.js
8826
+ // 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/messenger/store-maintenance-command.js
8827
8827
  var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
8828
8828
  var WORD_INDEX = "message_words";
8829
8829
  var schemaOf = /* @__PURE__ */ __name((database) => {