@wirecat/zoom-cli 0.61.0 → 0.63.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 (139) hide show
  1. package/dist/bin/zm.js +2 -2
  2. package/dist/bundle/{all-profiles-HZLIU6RZ.js → all-profiles-CGGNBINU.js} +8 -8
  3. package/dist/bundle/answer-policy-V2KDPLDO.js +96 -0
  4. package/dist/bundle/{anthropic-O2YYPCVK.js → anthropic-KVWPIHFG.js} +4 -4
  5. package/dist/bundle/{app-server-YYCANTUE.js → app-server-NKKFBTQN.js} +50 -50
  6. package/dist/bundle/{bun-UEFRULAT.js → bun-XRO6XJHQ.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-VVYKOY7S.js → bun-sqlite-FWNCLOAR.js} +3 -3
  8. package/dist/bundle/{chunk-IKZFR645.js → chunk-2DPMYUWQ.js} +10 -10
  9. package/dist/bundle/{chunk-LX6DO44O.js → chunk-2LLNPNMB.js} +1 -1
  10. package/dist/bundle/{chunk-P2NRA7E5.js → chunk-2NAM2XQG.js} +2 -2
  11. package/dist/bundle/{chunk-KXYURHVE.js → chunk-2T7MUSDB.js} +95 -95
  12. package/dist/bundle/{chunk-S726LZCH.js → chunk-3YBDRVOG.js} +6 -6
  13. package/dist/bundle/{chunk-4XI4PDEH.js → chunk-4OQVRDTG.js} +20 -20
  14. package/dist/bundle/{chunk-RSXLI5GP.js → chunk-4OTXE6CF.js} +52 -52
  15. package/dist/bundle/{chunk-UYAKSUT5.js → chunk-5LMQTEU5.js} +5 -5
  16. package/dist/bundle/{chunk-BNUNZTOU.js → chunk-5MYLM6SU.js} +44 -26
  17. package/dist/bundle/{chunk-YESOQEOB.js → chunk-5NLFQ644.js} +543 -288
  18. package/dist/bundle/{chunk-5NRBNGR3.js → chunk-6R3GMSLR.js} +2 -2
  19. package/dist/bundle/{chunk-MTAVA2LS.js → chunk-6SK5SHCR.js} +2 -2
  20. package/dist/bundle/{chunk-H5EAHMQN.js → chunk-6SPWQCJF.js} +11 -11
  21. package/dist/bundle/{chunk-E4T7IJJO.js → chunk-6URISMGR.js} +26 -26
  22. package/dist/bundle/{chunk-XZ4OVTA5.js → chunk-72S5TXFN.js} +9 -9
  23. package/dist/bundle/{chunk-F32GKBMF.js → chunk-7AY3ADNV.js} +5 -5
  24. package/dist/bundle/{chunk-COU66X3X.js → chunk-7CNRZSAV.js} +4 -4
  25. package/dist/bundle/{chunk-77GJITSU.js → chunk-7LQLJ7LW.js} +2 -2
  26. package/dist/bundle/{chunk-KGZHRJ7H.js → chunk-AMIIU3UZ.js} +4 -4
  27. package/dist/bundle/{chunk-HTGBUE2U.js → chunk-BJPFWPKH.js} +2 -2
  28. package/dist/bundle/{chunk-2M2U43IF.js → chunk-BNTAQADF.js} +2 -2
  29. package/dist/bundle/{chunk-PCUPOGKR.js → chunk-BPMKLWHV.js} +4 -4
  30. package/dist/bundle/{chunk-JKWYXBGK.js → chunk-CXPHUOJR.js} +12 -12
  31. package/dist/bundle/{chunk-NVN4O5IC.js → chunk-D6FTCPXA.js} +9 -9
  32. package/dist/bundle/{chunk-KZGHGU2M.js → chunk-DIXC56OU.js} +4 -4
  33. package/dist/bundle/{chunk-TD4Y5LXG.js → chunk-ECXRRW7J.js} +18 -18
  34. package/dist/bundle/{chunk-M3EVVGR6.js → chunk-EG7HC4EC.js} +2 -2
  35. package/dist/bundle/{chunk-B45MFBBF.js → chunk-EJFSS65P.js} +6 -6
  36. package/dist/bundle/{chunk-FQ54A7GI.js → chunk-EOEDICIE.js} +1 -1
  37. package/dist/bundle/{chunk-7ATLKYBN.js → chunk-FAOLCUKV.js} +17 -17
  38. package/dist/bundle/{chunk-KPZIQKOF.js → chunk-FDCGTODC.js} +1 -1
  39. package/dist/bundle/{chunk-OU46OTTE.js → chunk-GOESXUJQ.js} +3 -3
  40. package/dist/bundle/{chunk-CUSGSXSR.js → chunk-HIZQYFY3.js} +3 -3
  41. package/dist/bundle/{chunk-MBMDF5EL.js → chunk-IK2OSV5C.js} +6 -6
  42. package/dist/bundle/{chunk-6SLGIPLT.js → chunk-IOCS5FXW.js} +2 -2
  43. package/dist/bundle/{chunk-AOSIU5T6.js → chunk-IOUPXUFH.js} +37 -36
  44. package/dist/bundle/{chunk-KZV5GU7G.js → chunk-IR73ZZY6.js} +8 -8
  45. package/dist/bundle/{chunk-FBJC7OCI.js → chunk-JBBZCTTF.js} +1 -1
  46. package/dist/bundle/{chunk-QHT2LZRW.js → chunk-JDJDVYGS.js} +6 -6
  47. package/dist/bundle/{chunk-4XPIOW5L.js → chunk-KM7Q67Z3.js} +1 -1
  48. package/dist/bundle/{chunk-U4Y2QQ2D.js → chunk-KMQUZ4YM.js} +3 -3
  49. package/dist/bundle/{chunk-XX2PDQ54.js → chunk-LTE6WH22.js} +24 -24
  50. package/dist/bundle/{chunk-CMG54Q4X.js → chunk-LXYC75D3.js} +25 -25
  51. package/dist/bundle/{chunk-E4QPLXZT.js → chunk-M2WQWF3I.js} +47 -47
  52. package/dist/bundle/{chunk-T7IQMYPW.js → chunk-M6FCCVYZ.js} +4 -3
  53. package/dist/bundle/{chunk-HF233RN4.js → chunk-MI3JK6MW.js} +10 -10
  54. package/dist/bundle/{chunk-FXY45HU7.js → chunk-MIUPH3WA.js} +6 -6
  55. package/dist/bundle/{chunk-7DMMNCY2.js → chunk-MLNC5N7H.js} +3 -3
  56. package/dist/bundle/{chunk-OLZE27RS.js → chunk-N3KQ7XND.js} +2 -2
  57. package/dist/bundle/{chunk-XOJGXWTK.js → chunk-NQCFUYC2.js} +8 -8
  58. package/dist/bundle/{chunk-VARX3SBT.js → chunk-NVC4VQ2B.js} +1 -1
  59. package/dist/bundle/{chunk-6LHTWR3X.js → chunk-Q4ZE2LXE.js} +2 -2
  60. package/dist/bundle/{chunk-67WW33JB.js → chunk-QLQ7VVLK.js} +4 -4
  61. package/dist/bundle/{chunk-6RV7KXDF.js → chunk-QUWMFBMS.js} +6 -6
  62. package/dist/bundle/{chunk-SVBM6F4Z.js → chunk-RUJBN7ZP.js} +1 -1
  63. package/dist/bundle/{chunk-WVYSOV3C.js → chunk-RWG44LQD.js} +4 -4
  64. package/dist/bundle/{chunk-L7VIPVHL.js → chunk-SB47UAW2.js} +49 -39
  65. package/dist/bundle/{chunk-LXOSBFWW.js → chunk-SEH7DBAM.js} +7 -7
  66. package/dist/bundle/{chunk-O3WVOAT7.js → chunk-SLBMXXOW.js} +10 -10
  67. package/dist/bundle/{chunk-FAOVUALC.js → chunk-SPJJCD2A.js} +13 -13
  68. package/dist/bundle/{chunk-UPWHCUVA.js → chunk-TILW3EJY.js} +334 -293
  69. package/dist/bundle/{chunk-LPJ3S6GE.js → chunk-TQFCPUIM.js} +1 -1
  70. package/dist/bundle/{chunk-BPQNTYLN.js → chunk-TZE6WXID.js} +565 -297
  71. package/dist/bundle/{chunk-OMUX4LSS.js → chunk-UD4FKICZ.js} +4 -4
  72. package/dist/bundle/{chunk-DLAFGSTN.js → chunk-UIPT6IAU.js} +1 -1
  73. package/dist/bundle/{chunk-35X6G276.js → chunk-URJZK4GX.js} +1 -1
  74. package/dist/bundle/{chunk-RGOBGHWE.js → chunk-VFJ3MOIR.js} +3 -3
  75. package/dist/bundle/{chunk-GNHPYQMM.js → chunk-XAXXEZZ5.js} +2 -2
  76. package/dist/bundle/{chunk-OVVDOVLN.js → chunk-YBMOFCY5.js} +2 -2
  77. package/dist/bundle/{chunk-3TGR4RDD.js → chunk-YF2PT5KA.js} +31 -31
  78. package/dist/bundle/{chunk-ABCHE4YP.js → chunk-YFIUXE25.js} +3 -3
  79. package/dist/bundle/{chunk-MVRCLMQL.js → chunk-YI6ZNDPC.js} +22 -12
  80. package/dist/bundle/{chunk-B3PTSX5D.js → chunk-YJN4XYNA.js} +2 -2
  81. package/dist/bundle/{cli-O4LAGYXI.js → cli-AHPIESAC.js} +63 -53
  82. package/dist/bundle/command-contract-HVLI3OKU.js +38 -0
  83. package/dist/bundle/config-3SFEGYZO.js +78 -0
  84. package/dist/bundle/{decode-WRMZJJCR.js → decode-ZU7WLMMV.js} +3 -3
  85. package/dist/bundle/{dist-SQK4GIJT.js → dist-LTS7VI3S.js} +14 -14
  86. package/dist/bundle/{echarts-3DOOJSQR.js → echarts-YNGCOYHW.js} +2 -2
  87. package/dist/bundle/{embed-OYRHTMFI.js → embed-VWWOW7PP.js} +4 -4
  88. package/dist/bundle/{embedder-ZAYCL22W.js → embedder-T5GJC7M2.js} +7 -7
  89. package/dist/bundle/{first-run-QXSPIXOQ.js → first-run-PX3SHPUU.js} +8 -8
  90. package/dist/bundle/first-screen-RAPEZG57.js +36 -0
  91. package/dist/bundle/{folders-EXQLKXVK.js → folders-VXMDFC2D.js} +2 -2
  92. package/dist/bundle/{instructions-GFEOB7XJ.js → instructions-GJHHFV64.js} +1 -1
  93. package/dist/bundle/{main-RADF3CRI.js → main-APVJXUJE.js} +16 -16
  94. package/dist/bundle/{mcp-WSGVVZWI.js → mcp-EMNFFY4N.js} +2 -2
  95. package/dist/bundle/{meetings-6BIIT42H.js → meetings-GHYNIOHG.js} +4 -4
  96. package/dist/bundle/{node-A3B2YRQI.js → node-GFOH6FKP.js} +2 -2
  97. package/dist/bundle/{node-sqlite-XRP5FUDY.js → node-sqlite-QXKSPHTP.js} +3 -3
  98. package/dist/bundle/{oauth-YICY4AN4.js → oauth-A6I2OMDD.js} +5 -5
  99. package/dist/bundle/{open-4CNKSQRB.js → open-TQKCU447.js} +2 -2
  100. package/dist/bundle/{openai-YYRO3X7I.js → openai-XE3BJXOI.js} +9 -9
  101. package/dist/bundle/{output-file-7BXYV6OL.js → output-file-FQNFCUKE.js} +3 -3
  102. package/dist/bundle/{process-A45QXKID.js → process-XVDX4SPD.js} +1 -1
  103. package/dist/bundle/{program-DTP7BRTW.js → program-QRKEXYDG.js} +70 -69
  104. package/dist/bundle/{prompt-5LMKO7SE.js → prompt-ISYG5RWM.js} +3 -3
  105. package/dist/bundle/{recognize-MB6WRGUD.js → recognize-KENPECLZ.js} +2 -2
  106. package/dist/bundle/{remote-PD7WMTTS.js → remote-ZP5XTDCC.js} +5 -5
  107. package/dist/bundle/{rerank-7E6GQ5Y6.js → rerank-SG653RHT.js} +5 -5
  108. package/dist/bundle/{run-log-TCFK4LEC.js → run-log-HYKGQ42E.js} +53 -53
  109. package/dist/bundle/{serve-JBT2BWHK.js → serve-6UJCZD7Z.js} +7 -7
  110. package/dist/bundle/server-AXE37E6Q.js +66 -0
  111. package/dist/bundle/{server-H2UPGGBI.js → server-ZAYEDPFR.js} +42 -42
  112. package/dist/bundle/{services-SJOTKL5V.js → services-KMH7XZPY.js} +31 -27
  113. package/dist/bundle/{speech-4SL25GSC.js → speech-LINBLG5E.js} +11 -11
  114. package/dist/bundle/{state-FVMTDZ6B.js → state-4RKZNHE7.js} +4 -4
  115. package/dist/bundle/{store-TI77SCNL.js → store-253N7NUC.js} +15 -15
  116. package/dist/bundle/{store-DNPKBUVO.js → store-JTBHRQZK.js} +13 -13
  117. package/dist/bundle/store-connection-ID2ETC7F.js +76 -0
  118. package/dist/bundle/store-maintenance-command-XRNECVDU.js +55 -0
  119. package/dist/bundle/{streaming-UHAHGPH5.js → streaming-YW64OKKQ.js} +4 -4
  120. package/dist/bundle/{tokens-Y2MX6JBL.js → tokens-DPBC2P3I.js} +4 -4
  121. package/dist/bundle/zm.js +1 -1
  122. package/dist/run.d.ts.map +1 -1
  123. package/dist/run.js +1 -0
  124. package/dist/run.js.map +1 -1
  125. package/dist/tokens.d.ts +6 -1
  126. package/dist/tokens.d.ts.map +1 -1
  127. package/dist/tokens.js +21 -10
  128. package/dist/tokens.js.map +1 -1
  129. package/dist/version.d.ts +1 -1
  130. package/dist/version.js +1 -1
  131. package/package.json +3 -3
  132. package/dist/bundle/answer-policy-GRODO2DY.js +0 -96
  133. package/dist/bundle/command-contract-67QKBY6M.js +0 -38
  134. package/dist/bundle/config-ABURZDD2.js +0 -78
  135. package/dist/bundle/first-screen-MD6HWIJW.js +0 -36
  136. package/dist/bundle/server-CFIKEPLG.js +0 -66
  137. package/dist/bundle/store-connection-GIFWWMNO.js +0 -76
  138. package/dist/bundle/store-maintenance-command-WBKGF2CZ.js +0 -55
  139. /package/dist/bundle/{chunk-62EDJKGP.js → chunk-NPGVOZVK.js} +0 -0
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answerOf,
5
5
  messengerContext
6
- } from "./chunk-E4T7IJJO.js";
6
+ } from "./chunk-6URISMGR.js";
7
7
  import {
8
8
  chatEventAnswer,
9
9
  memberAnswer,
@@ -12,14 +12,14 @@ import {
12
12
  serveRelay,
13
13
  typedQuery,
14
14
  withQuery
15
- } from "./chunk-TD4Y5LXG.js";
15
+ } from "./chunk-ECXRRW7J.js";
16
16
  import {
17
17
  holdLock,
18
18
  lockPath,
19
19
  releaseLock,
20
20
  servingProfiles,
21
21
  takeLock
22
- } from "./chunk-OU46OTTE.js";
22
+ } from "./chunk-GOESXUJQ.js";
23
23
  import {
24
24
  RULES_VERSION,
25
25
  applyTaskRulesOnArrival,
@@ -29,7 +29,7 @@ import {
29
29
  senderIsMe,
30
30
  servicesFor,
31
31
  syncsOneChat
32
- } from "./chunk-YESOQEOB.js";
32
+ } from "./chunk-5NLFQ644.js";
33
33
  import {
34
34
  Command,
35
35
  LOCAL_READ,
@@ -53,38 +53,38 @@ import {
53
53
  snakeKeys,
54
54
  storeTable,
55
55
  withoutProviderRefs
56
- } from "./chunk-AOSIU5T6.js";
56
+ } from "./chunk-IOUPXUFH.js";
57
57
  import {
58
58
  envName
59
- } from "./chunk-6LHTWR3X.js";
59
+ } from "./chunk-Q4ZE2LXE.js";
60
60
  import {
61
61
  holdersOf
62
- } from "./chunk-4XPIOW5L.js";
62
+ } from "./chunk-KM7Q67Z3.js";
63
63
  import {
64
64
  codeOf,
65
65
  currentRun
66
- } from "./chunk-4XI4PDEH.js";
66
+ } from "./chunk-4OQVRDTG.js";
67
67
  import {
68
68
  failureKey
69
- } from "./chunk-77GJITSU.js";
69
+ } from "./chunk-7LQLJ7LW.js";
70
70
  import {
71
71
  renderMessages
72
- } from "./chunk-B3PTSX5D.js";
72
+ } from "./chunk-YJN4XYNA.js";
73
73
  import {
74
74
  levelFor
75
- } from "./chunk-CUSGSXSR.js";
75
+ } from "./chunk-HIZQYFY3.js";
76
76
  import {
77
77
  readSecret
78
- } from "./chunk-7DMMNCY2.js";
78
+ } from "./chunk-MLNC5N7H.js";
79
79
  import {
80
80
  checkedOptions,
81
81
  range
82
- } from "./chunk-GNHPYQMM.js";
82
+ } from "./chunk-XAXXEZZ5.js";
83
83
  import {
84
84
  messagesFor,
85
85
  systemFor,
86
86
  validateImages
87
- } from "./chunk-P2NRA7E5.js";
87
+ } from "./chunk-2NAM2XQG.js";
88
88
  import {
89
89
  MIGRATIONS,
90
90
  drainNoteIndex,
@@ -111,20 +111,20 @@ import {
111
111
  storeClients,
112
112
  storeContents,
113
113
  vectorIndexCounts
114
- } from "./chunk-UPWHCUVA.js";
114
+ } from "./chunk-TILW3EJY.js";
115
115
  import {
116
116
  formatLocator,
117
117
  parseLocator
118
- } from "./chunk-FXY45HU7.js";
118
+ } from "./chunk-MIUPH3WA.js";
119
119
  import {
120
120
  storePath
121
- } from "./chunk-M3EVVGR6.js";
121
+ } from "./chunk-EG7HC4EC.js";
122
122
  import {
123
123
  openCache
124
- } from "./chunk-MBMDF5EL.js";
124
+ } from "./chunk-IK2OSV5C.js";
125
125
  import {
126
126
  queryFieldsOf
127
- } from "./chunk-NVN4O5IC.js";
127
+ } from "./chunk-D6FTCPXA.js";
128
128
  import {
129
129
  CliError,
130
130
  Credentials,
@@ -153,7 +153,7 @@ import {
153
153
  trim,
154
154
  union,
155
155
  writeSecurely
156
- } from "./chunk-L7VIPVHL.js";
156
+ } from "./chunk-SB47UAW2.js";
157
157
  import {
158
158
  __commonJS,
159
159
  __name,
@@ -5493,11 +5493,11 @@ var require_liquid_node = __commonJS({
5493
5493
  }
5494
5494
  });
5495
5495
 
5496
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5496
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5497
5497
  import { chmodSync, constants, copyFileSync, existsSync as existsSync7, mkdirSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync3, writeFileSync } from "node:fs";
5498
5498
  import { dirname, resolve } from "node:path";
5499
5499
 
5500
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/sealed.js
5500
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/sealed.js
5501
5501
  import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
5502
5502
  import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
5503
5503
  import { Transform } from "node:stream";
@@ -5604,7 +5604,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
5604
5604
  renameSync(pending, to);
5605
5605
  }, "unsealFile");
5606
5606
 
5607
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5607
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5608
5608
  var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
5609
5609
  var fileSchemaOf = /* @__PURE__ */ __name((database) => {
5610
5610
  const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
@@ -5628,7 +5628,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
5628
5628
  };
5629
5629
  }, "compatibilityOf");
5630
5630
 
5631
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/store/repair.js
5631
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/repair.js
5632
5632
  import { createHash as createHash2 } from "node:crypto";
5633
5633
  var COPY_MARK = "__repair_";
5634
5634
  var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
@@ -5882,7 +5882,7 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
5882
5882
  return found;
5883
5883
  }, "deleteCopy");
5884
5884
 
5885
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5885
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5886
5886
  import { existsSync as existsSync2, statSync as statSync2 } from "node:fs";
5887
5887
  var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
5888
5888
  var bytesOf = /* @__PURE__ */ __name((path) => existsSync2(path) ? statSync2(path).size : 0, "bytesOf");
@@ -5930,7 +5930,7 @@ var storeInfoCommand = /* @__PURE__ */ __name(() => annotate(new Command("info")
5930
5930
  }), "storeInfoCommand");
5931
5931
  var sharedStoreCommand = /* @__PURE__ */ __name(() => annotate(new Command("store"), { effects: LOCAL_READ }).description("the shared local store every WireCat tool reads").addCommand(storeInfoCommand()), "sharedStoreCommand");
5932
5932
 
5933
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
5933
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
5934
5934
  var ENCRYPT_OPTION = [
5935
5935
  "--encrypt",
5936
5936
  "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"
@@ -5949,7 +5949,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
5949
5949
  return password;
5950
5950
  }, "passwordOf");
5951
5951
 
5952
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/replies/rules.js
5952
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/replies/rules.js
5953
5953
  import { existsSync as existsSync3, readFileSync } from "node:fs";
5954
5954
  import { join } from "node:path";
5955
5955
  var REPLY_ACTIONS = ["reply", "task"];
@@ -6120,7 +6120,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
6120
6120
  }, "problem");
6121
6121
  var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
6122
6122
 
6123
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/replies/state.js
6123
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/replies/state.js
6124
6124
  import { existsSync as existsSync4, readFileSync as readFileSync2 } from "node:fs";
6125
6125
  import { join as join2 } from "node:path";
6126
6126
  var ANSWERED_KEPT = 1e3;
@@ -6173,7 +6173,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
6173
6173
  }, "recordReply");
6174
6174
  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");
6175
6175
 
6176
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/replies/decide.js
6176
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/replies/decide.js
6177
6177
  var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
6178
6178
  var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
6179
6179
  const { message, chat, owner, sender } = incoming;
@@ -6279,7 +6279,7 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
6279
6279
  return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
6280
6280
  }, "filled");
6281
6281
 
6282
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/replies/template.js
6282
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/replies/template.js
6283
6283
  var import_liquidjs = __toESM(require_liquid_node(), 1);
6284
6284
  var TEMPLATE_LIMITS = {
6285
6285
  parse: 32768,
@@ -6439,7 +6439,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
6439
6439
  }
6440
6440
  }, "renderReplyTemplate");
6441
6441
 
6442
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
6442
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
6443
6443
  var DRY_RUN_DAYS = 7;
6444
6444
  var PAGE = 500;
6445
6445
  var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
@@ -6553,7 +6553,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
6553
6553
  }
6554
6554
  }, "storedSince");
6555
6555
 
6556
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
6556
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
6557
6557
  var endpointKeyName = /* @__PURE__ */ __name((baseUrl) => {
6558
6558
  const host = new URL(baseUrl).host;
6559
6559
  return ["openai", "anthropic"].includes(host) ? `endpoint:${host}` : host;
@@ -6584,7 +6584,7 @@ var embeddingKeys = /* @__PURE__ */ __name((app, env = process.env, keyring) =>
6584
6584
  };
6585
6585
  }, "embeddingKeys");
6586
6586
 
6587
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/models/openai.js
6587
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/models/openai.js
6588
6588
  var options = strictObject({
6589
6589
  temperature: range(0, 2),
6590
6590
  top_p: range(0, 1),
@@ -6633,7 +6633,7 @@ var openai = {
6633
6633
  }, "complete")
6634
6634
  };
6635
6635
 
6636
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/models/index.js
6636
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/models/index.js
6637
6637
  var modelGateway = /* @__PURE__ */ __name((deps) => ({
6638
6638
  complete: /* @__PURE__ */ __name(async (request) => {
6639
6639
  if (deps.signal?.aborted)
@@ -6648,7 +6648,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
6648
6648
  if (!adapter && target.provider === "openai")
6649
6649
  adapter = openai;
6650
6650
  if (!adapter && target.provider === "anthropic")
6651
- adapter = (await import("./anthropic-O2YYPCVK.js")).anthropic;
6651
+ adapter = (await import("./anthropic-KVWPIHFG.js")).anthropic;
6652
6652
  if (!adapter)
6653
6653
  throw new CliError("validation_error", `no model adapter for ${target.provider}`);
6654
6654
  if (request.images !== void 0 && adapter.images !== true)
@@ -6689,7 +6689,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
6689
6689
  }, "complete")
6690
6690
  }), "modelGateway");
6691
6691
 
6692
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/replies/consents.js
6692
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/replies/consents.js
6693
6693
  import { existsSync as existsSync5, readFileSync as readFileSync3 } from "node:fs";
6694
6694
  import { join as join3 } from "node:path";
6695
6695
  var shape = strictObject({
@@ -6714,7 +6714,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
6714
6714
  return consent.provider === provider && !consent.deniedChats.includes(chat);
6715
6715
  }, "mayModelReply");
6716
6716
 
6717
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/replies/rendering.js
6717
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/replies/rendering.js
6718
6718
  var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options2 = {
6719
6719
  ai: true
6720
6720
  }) => async (rule2, message, chat, now) => {
@@ -6761,7 +6761,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
6761
6761
  return result2;
6762
6762
  }, "replyRenderer");
6763
6763
 
6764
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/replies/serve.js
6764
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/replies/serve.js
6765
6765
  var NOT_ALLOWED = "replies.send is not allow";
6766
6766
  var NO_RULES = "no rules";
6767
6767
  var ONLY_TASK = "opened a task, sent nothing";
@@ -6854,7 +6854,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
6854
6854
  return { skip: why };
6855
6855
  }, "replyTo");
6856
6856
 
6857
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
6857
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
6858
6858
  var FIRST_FETCH_MS = 6e4;
6859
6859
  var DAY_MS = 864e5;
6860
6860
  var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch: fetch2, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
@@ -6908,7 +6908,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch: fetch2, warn, fi
6908
6908
  };
6909
6909
  }, "memberFetches");
6910
6910
 
6911
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
6911
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
6912
6912
  var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
6913
6913
  var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
6914
6914
  if (context.format === "pretty") {
@@ -6941,7 +6941,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
6941
6941
  return context;
6942
6942
  }, "recordDiagnostics");
6943
6943
 
6944
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
6944
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
6945
6945
  var STEMS_EVERY_MS = 3e4;
6946
6946
  var STEMS_SLICE_MS = 2e3;
6947
6947
  var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
@@ -6981,7 +6981,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
6981
6981
  };
6982
6982
  }, "stemFills");
6983
6983
 
6984
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
6984
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
6985
6985
  var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
6986
6986
  var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
6987
6987
  kind: attachment.kind,
@@ -7076,7 +7076,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
7076
7076
  locale: messenger.app.locale
7077
7077
  }), "viewOf");
7078
7078
 
7079
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
7079
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
7080
7080
  var observed = /* @__PURE__ */ __name((value) => ({
7081
7081
  value: value.value,
7082
7082
  observed_at: value.observedAt,
@@ -7143,7 +7143,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
7143
7143
  }
7144
7144
  }, "watchEventItem");
7145
7145
 
7146
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
7146
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
7147
7147
  var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
7148
7148
  output: { entity: "watch_item" },
7149
7149
  effects: REMOTE_READ,
@@ -7298,7 +7298,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
7298
7298
  }
7299
7299
  }, "describe");
7300
7300
 
7301
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
7301
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
7302
7302
  var serveCommand = /* @__PURE__ */ __name((messenger) => {
7303
7303
  const command = annotate(new Command("serve"), {
7304
7304
  output: { entity: "serve_summary" },
@@ -7514,7 +7514,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
7514
7514
  };
7515
7515
  }, "tasking");
7516
7516
 
7517
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
7517
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
7518
7518
  import { existsSync as existsSync6 } from "node:fs";
7519
7519
  var PATH = "store tables list";
7520
7520
  var STORE_TABLES_QUERY = {
@@ -7557,7 +7557,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((messenger) => {
7557
7557
  return tables;
7558
7558
  }, "storeTablesCommand");
7559
7559
 
7560
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
7560
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
7561
7561
  var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
7562
7562
  var WORD_INDEX = "message_words";
7563
7563
  var schemaOf = /* @__PURE__ */ __name((database) => {
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  QUERY_REASONS
5
- } from "./chunk-NVN4O5IC.js";
5
+ } from "./chunk-D6FTCPXA.js";
6
6
  import {
7
7
  defineReasons
8
- } from "./chunk-L7VIPVHL.js";
8
+ } from "./chunk-SB47UAW2.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/errors/reasons.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/errors/reasons.js
14
14
  var validation = /* @__PURE__ */ __name((reason, message) => [reason, "validation_error", message], "validation");
15
15
  var QUERY = [
16
16
  ["query.aborted", "the search was stopped before it finished"],
@@ -98,6 +98,7 @@ var OTHERS = [
98
98
  validation("memory.evidence-required", "a memory needs its evidence"),
99
99
  validation("memory.scope-required", "a memory needs its scope"),
100
100
  ["model.not-downloaded", "not_found", "the model is not downloaded on this machine"],
101
+ ["person.no-owner", "not_found", "no person is marked as the owner in the store"],
101
102
  ["transcription.no-key", "authentication_error", "no OpenAI key is set for transcription"],
102
103
  validation("transcription.too-large", "the audio is over the transcription provider's size limit"),
103
104
  [
@@ -2,35 +2,35 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  encodeWav
5
- } from "./chunk-ABCHE4YP.js";
5
+ } from "./chunk-YFIUXE25.js";
6
6
  import {
7
7
  SAMPLE_RATE,
8
8
  toModelRate
9
- } from "./chunk-67WW33JB.js";
9
+ } from "./chunk-QLQ7VVLK.js";
10
10
  import {
11
11
  OPENAI_URL
12
- } from "./chunk-U4Y2QQ2D.js";
12
+ } from "./chunk-KMQUZ4YM.js";
13
13
  import {
14
14
  OPENAI_TRANSCRIBE_MODEL,
15
15
  VAD,
16
16
  filesPresent,
17
17
  modelsDirectory,
18
18
  vadPath
19
- } from "./chunk-PCUPOGKR.js";
19
+ } from "./chunk-BPMKLWHV.js";
20
20
  import {
21
21
  CliError,
22
22
  DEFAULT_RETRY,
23
23
  backoffMs,
24
24
  isCliError
25
- } from "./chunk-L7VIPVHL.js";
25
+ } from "./chunk-SB47UAW2.js";
26
26
  import {
27
27
  __name
28
28
  } from "./chunk-ZVVMGPBJ.js";
29
29
 
30
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/speech/openai.js
30
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/speech/openai.js
31
31
  import { setTimeout as wait } from "node:timers/promises";
32
32
 
33
- // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/body.js
33
+ // node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/body.js
34
34
  var interrupted = /* @__PURE__ */ __name((signal) => isCliError(signal.reason) ? signal.reason : new CliError(signal.reason instanceof Error && signal.reason.name === "TimeoutError" ? "timeout" : "cancelled", "HTTP response read was interrupted"), "interrupted");
35
35
  var checked = /* @__PURE__ */ __name((signal) => {
36
36
  if (signal?.aborted)
@@ -115,7 +115,7 @@ var readJsonResponse = /* @__PURE__ */ __name(async (response, options) => {
115
115
  }
116
116
  }, "readJsonResponse");
117
117
 
118
- // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/index.js
118
+ // node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/index.js
119
119
  var parseRetryAfter = /* @__PURE__ */ __name((header, now) => {
120
120
  if (!header)
121
121
  return void 0;
@@ -157,7 +157,7 @@ var statusToCode = /* @__PURE__ */ __name((status) => {
157
157
  return "provider_error";
158
158
  }, "statusToCode");
159
159
 
160
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/speech/openai.js
160
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/speech/openai.js
161
161
  var LONGEST_REQUEST_SECONDS = 600;
162
162
  var JOINED_SECONDS = 0.2;
163
163
  var PAD_SECONDS = 0.2;
@@ -279,7 +279,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
279
279
  return pieces;
280
280
  }, "piecesOf");
281
281
  var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
282
- const { openSpeechCutter } = await import("./recognize-MB6WRGUD.js");
282
+ const { openSpeechCutter } = await import("./recognize-KENPECLZ.js");
283
283
  return openSpeechCutter(vadModel);
284
284
  }, "openCutter");
285
285
  var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
@@ -3,12 +3,12 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError,
5
5
  singleLine
6
- } from "./chunk-L7VIPVHL.js";
6
+ } from "./chunk-SB47UAW2.js";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-ZVVMGPBJ.js";
10
10
 
11
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/domain/providers.js
11
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/domain/providers.js
12
12
  var KINDS = ["messages", "mail", "notes", "documents", "meetings", "events"];
13
13
  var PROVIDERS = [
14
14
  { name: "telegram", kind: "messages", aliases: ["tg"] },
@@ -102,7 +102,7 @@ var providerNamed = /* @__PURE__ */ __name((word) => {
102
102
  var kindIn = /* @__PURE__ */ __name((provider) => isFolderProvider(provider) ? "notes" : registry.find(({ name }) => name === provider)?.kind, "kindIn");
103
103
  var kindOf = /* @__PURE__ */ __name((provider) => kindIn(provider) ?? "messages", "kindOf");
104
104
 
105
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/domain/locator.js
105
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/domain/locator.js
106
106
  var SCHEME = "msg:";
107
107
  var formatLocator = /* @__PURE__ */ __name(({ provider, account, chat, message }) => SCHEME + [provider, account, chat, message].map(encodeURIComponent).join("/"), "formatLocator");
108
108
  var isLocator = /* @__PURE__ */ __name((reference) => reference.trim().startsWith(SCHEME), "isLocator");
@@ -116,7 +116,7 @@ var parseLocator = /* @__PURE__ */ __name((reference) => {
116
116
  return { provider, account, chat, message };
117
117
  }, "parseLocator");
118
118
 
119
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/domain/references.js
119
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/domain/references.js
120
120
  var SIMPLE_REFERENCES = [
121
121
  "note",
122
122
  "document",
@@ -188,7 +188,7 @@ var folderPath = /* @__PURE__ */ __name((path) => {
188
188
  }, "folderPath");
189
189
  var canonicalReference = /* @__PURE__ */ __name((text) => formatReference(parseReference(text)), "canonicalReference");
190
190
 
191
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/domain/counters.js
191
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/domain/counters.js
192
192
  var COUNTER_FIELDS = ["views", "reactions", "comments"];
193
193
  var validCounter = /* @__PURE__ */ __name((value) => typeof value === "number" && Number.isFinite(value) && value >= 0, "validCounter");
194
194
  var counterValue = /* @__PURE__ */ __name((message, field) => {
@@ -225,7 +225,7 @@ var counterFreshness = /* @__PURE__ */ __name((states) => {
225
225
  return states.some((one) => one.freshness === "stale") ? "stale" : "fresh";
226
226
  }, "counterFreshness");
227
227
 
228
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/domain/rankings-options.js
228
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/domain/rankings-options.js
229
229
  var MESSAGE_MEASURES = ["views", "reactions", "forwards", "comments", "replies", "thread-size"];
230
230
  var AUTHOR_MEASURES = [
231
231
  "messages",
@@ -4,15 +4,15 @@ import {
4
4
  MAX_SECRET_INPUT,
5
5
  bufferedInput,
6
6
  inputPolicy
7
- } from "./chunk-MTAVA2LS.js";
7
+ } from "./chunk-6SK5SHCR.js";
8
8
  import {
9
9
  CliError
10
- } from "./chunk-L7VIPVHL.js";
10
+ } from "./chunk-SB47UAW2.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/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 readSecret = /* @__PURE__ */ __name(async (prompt, { input = process.stdin, output = process.stderr, echo = false, signal: givenSignal } = {}) => {
@@ -4,7 +4,7 @@ import {
4
4
  ACCESS_SECONDS,
5
5
  REFRESH_SECONDS,
6
6
  readStored
7
- } from "./chunk-OMUX4LSS.js";
7
+ } from "./chunk-UD4FKICZ.js";
8
8
  import {
9
9
  OAuthError,
10
10
  OAuthErrorCode
@@ -13,7 +13,7 @@ import {
13
13
  __name
14
14
  } from "./chunk-ZVVMGPBJ.js";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
17
17
  import { createHash, randomBytes, randomInt, timingSafeEqual } from "node:crypto";
18
18
  import { chmodSync, mkdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
19
19
  import { dirname } from "node:path";
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  isCliFailure
5
- } from "./chunk-77GJITSU.js";
5
+ } from "./chunk-7LQLJ7LW.js";
6
6
  import {
7
7
  isContentKey
8
- } from "./chunk-L7VIPVHL.js";
8
+ } from "./chunk-SB47UAW2.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/runs/events.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/runs/events.js
14
14
  var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
15
15
  var renderEvent = /* @__PURE__ */ __name((event) => {
16
16
  if (event.event === "warning") {
@@ -58,14 +58,14 @@ var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!
58
58
  var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
59
59
  var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
60
60
 
61
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/runs/run-context.js
61
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/runs/run-context.js
62
62
  import { AsyncLocalStorage } from "node:async_hooks";
63
63
  import { createHash } from "node:crypto";
64
64
 
65
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
65
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
66
66
  import { homedir } from "node:os";
67
67
 
68
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/runs/secrets.js
68
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/runs/secrets.js
69
69
  var SECRET_WORDS = /* @__PURE__ */ new Set([
70
70
  "authorization",
71
71
  "cookie",
@@ -146,7 +146,7 @@ var withoutSecrets = /* @__PURE__ */ __name((text, mark = "[redacted]") => text.
146
146
  var RUN = /(?<![A-Za-z0-9_+/-])[A-Za-z0-9_+/-]{20,}/g;
147
147
  var HEX = /(?<![A-Za-z0-9])(?=[0-9]*[a-f])[0-9a-f]{20,}(?![A-Za-z0-9])/g;
148
148
 
149
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
149
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
150
150
  var MESSAGE_AT_MOST = 500;
151
151
  var CAUSES_AT_MOST = 5;
152
152
  var FRAMES_AT_MOST = 15;
@@ -254,7 +254,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
254
254
  return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
255
255
  }, "redactText");
256
256
 
257
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/runs/run-context.js
257
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/runs/run-context.js
258
258
  var REDACTED = "[redacted]";
259
259
  var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
260
260
  if (!record)
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  VERSION
5
- } from "./chunk-SVBM6F4Z.js";
5
+ } from "./chunk-RUJBN7ZP.js";
6
6
 
7
7
  // dist/identity.js
8
8
  var ZM = {
@@ -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-L7VIPVHL.js";
5
+ } from "./chunk-SB47UAW2.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/ports/app.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/ports/app.js
11
11
  var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
12
12
  var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
13
13
  const name = envName(app, "READ_ONLY");