@wirecat/cli-memo 0.131.48 → 0.131.49

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 (147) hide show
  1. package/README.md +1 -1
  2. package/dist/bin/memo.js +2 -2
  3. package/dist/bundle/{all-profiles-5YVSKBEV.js → all-profiles-3HADTQZA.js} +5 -5
  4. package/dist/bundle/{anthropic-BMK6F36V.js → anthropic-RI4DWC3G.js} +3 -3
  5. package/dist/bundle/{app-server-PUBWKHUG.js → app-server-6EKWAYJI.js} +35 -35
  6. package/dist/bundle/auto-NKUBNWLS.js +86 -0
  7. package/dist/bundle/{bun-ZBM364I6.js → bun-HUHQD76Z.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-YLBILWBE.js → bun-sqlite-RPSKGB4O.js} +2 -2
  9. package/dist/bundle/{chunk-DNZYXNMB.js → chunk-2HPYP3ZT.js} +4 -4
  10. package/dist/bundle/{chunk-T56R3TF2.js → chunk-2OIGV355.js} +47 -47
  11. package/dist/bundle/{chunk-RCEDN42Q.js → chunk-355PHJYX.js} +1 -1
  12. package/dist/bundle/{chunk-U2EFWFDN.js → chunk-3BG5VYMV.js} +7 -7
  13. package/dist/bundle/{chunk-QUQJZSRF.js → chunk-4VQPPX47.js} +289 -279
  14. package/dist/bundle/{chunk-QTBFV5RL.js → chunk-57LMWEDK.js} +2 -2
  15. package/dist/bundle/{chunk-C3I6L7JZ.js → chunk-5JVA43HX.js} +5 -5
  16. package/dist/bundle/{chunk-NWRITJ7F.js → chunk-5RVL7GYA.js} +1 -1
  17. package/dist/bundle/{chunk-TZROQCQ5.js → chunk-6N6BVPVX.js} +3 -3
  18. package/dist/bundle/{chunk-UK2MMZFW.js → chunk-AKD62EUH.js} +1 -1
  19. package/dist/bundle/{chunk-ADV7DNGM.js → chunk-BYVASZVV.js} +3 -3
  20. package/dist/bundle/{chunk-X3KMQW2Z.js → chunk-D5KGXYG6.js} +28 -21
  21. package/dist/bundle/{chunk-YZEIVLAG.js → chunk-DJRBSOWH.js} +3 -3
  22. package/dist/bundle/{chunk-H4726KFZ.js → chunk-DVA6MQWK.js} +1 -1
  23. package/dist/bundle/{chunk-UHWQ2YXW.js → chunk-EJDV5IIF.js} +1 -1
  24. package/dist/bundle/{chunk-F7S25YVA.js → chunk-FOM7WE2C.js} +7 -7
  25. package/dist/bundle/{chunk-2O32QNK3.js → chunk-GAKZOX2S.js} +17 -8
  26. package/dist/bundle/{chunk-IGYOKYG7.js → chunk-GIDZGGAD.js} +2 -2
  27. package/dist/bundle/{chunk-E4YCKC3F.js → chunk-GV6XJMUW.js} +10 -10
  28. package/dist/bundle/{chunk-TW643BIA.js → chunk-HCMXUHHF.js} +56 -56
  29. package/dist/bundle/{chunk-YBN7UF2Y.js → chunk-HXOAPH47.js} +1 -1
  30. package/dist/bundle/{chunk-MKLDUZ7N.js → chunk-IXXBPSXO.js} +1 -1
  31. package/dist/bundle/{chunk-CSPAEYKK.js → chunk-KVOHC4ZM.js} +21 -13
  32. package/dist/bundle/{chunk-3LA6OE35.js → chunk-LUPJB7ZD.js} +8 -8
  33. package/dist/bundle/{chunk-YO7AUGUT.js → chunk-LZWXGO3G.js} +1 -1
  34. package/dist/bundle/{chunk-EGVRMA2C.js → chunk-N6IHOYMT.js} +11 -11
  35. package/dist/bundle/{chunk-DHO2JWF7.js → chunk-ND6D4A6H.js} +1 -1
  36. package/dist/bundle/{chunk-C6UTJATA.js → chunk-NJDGZRF5.js} +10 -10
  37. package/dist/bundle/{chunk-5BDWOMH6.js → chunk-NTQUBSIJ.js} +5 -5
  38. package/dist/bundle/{chunk-PUZ2G2KS.js → chunk-O3KOW7RG.js} +6 -6
  39. package/dist/bundle/{chunk-IHFK634F.js → chunk-OQTBCPSG.js} +5 -5
  40. package/dist/bundle/{chunk-DMI3SFLF.js → chunk-OT23U5LT.js} +1 -1
  41. package/dist/bundle/{chunk-VJJCF52V.js → chunk-P2LMXIHL.js} +323 -289
  42. package/dist/bundle/{chunk-RSJJGXZP.js → chunk-P2TISY3R.js} +1 -1
  43. package/dist/bundle/{chunk-MIMLBSUQ.js → chunk-PEYCLVIO.js} +2 -2
  44. package/dist/bundle/{chunk-HE56X542.js → chunk-PUTGTW6W.js} +1 -1
  45. package/dist/bundle/{chunk-VOJU5FVA.js → chunk-PYRHU35W.js} +149 -149
  46. package/dist/bundle/{chunk-XR4N2MYB.js → chunk-QCPUC3HW.js} +12 -12
  47. package/dist/bundle/{chunk-66KZBRZN.js → chunk-QCRJNWJZ.js} +2 -2
  48. package/dist/bundle/{chunk-LDHFV34C.js → chunk-QNM36ARO.js} +7 -1
  49. package/dist/bundle/{chunk-MN3SFFTU.js → chunk-RKFKRCOH.js} +274 -253
  50. package/dist/bundle/{chunk-FTRFN3MU.js → chunk-RYMYE5PF.js} +7 -7
  51. package/dist/bundle/{chunk-TYOZC3BU.js → chunk-S7F4ZDFU.js} +2 -2
  52. package/dist/bundle/{chunk-BRLVX4V6.js → chunk-SSPSNSC5.js} +1 -1
  53. package/dist/bundle/{chunk-SGDTAVMU.js → chunk-TSUNLSIN.js} +1 -1
  54. package/dist/bundle/{chunk-X7UITQ66.js → chunk-UAR6UMFL.js} +4 -4
  55. package/dist/bundle/{chunk-VICARVCN.js → chunk-UDJTRFRV.js} +1 -1
  56. package/dist/bundle/{chunk-DGLSE6XA.js → chunk-UG4BO256.js} +5 -5
  57. package/dist/bundle/{chunk-LDXCFBIC.js → chunk-UJLYVXP6.js} +31 -31
  58. package/dist/bundle/{chunk-U64G664E.js → chunk-V2DMJ6ES.js} +4 -4
  59. package/dist/bundle/{chunk-J737T3RM.js → chunk-W6JQNNJ5.js} +2 -2
  60. package/dist/bundle/{chunk-4FDK7LVF.js → chunk-WNW6VW27.js} +4 -4
  61. package/dist/bundle/{chunk-3A3KPJHP.js → chunk-XH6K2B5L.js} +4 -4
  62. package/dist/bundle/{chunk-IWEL7QCT.js → chunk-XXGBXCBQ.js} +9 -9
  63. package/dist/bundle/{chunk-EQ237UYC.js → chunk-XZZFHQGM.js} +20 -20
  64. package/dist/bundle/{chunk-KNUUZW42.js → chunk-Y6VH7IRN.js} +27 -27
  65. package/dist/bundle/{chunk-DPQL5JK6.js → chunk-ZA7FKGB7.js} +2 -2
  66. package/dist/bundle/{command-contract-BRZAKY6L.js → command-contract-MRLLZQ4M.js} +11 -11
  67. package/dist/bundle/{decode-WW5ZMB5R.js → decode-IYWZ3X7X.js} +2 -2
  68. package/dist/bundle/{echarts-ODD3E2RQ.js → echarts-5LLJ6JXC.js} +2 -2
  69. package/dist/bundle/{embed-3ETM2WYU.js → embed-EGY2R4FN.js} +3 -3
  70. package/dist/bundle/{embedder-6YL3WFBR.js → embedder-K2BGPWNX.js} +6 -6
  71. package/dist/bundle/{entry-F2UGXKZ3.js → entry-NMAZNDNU.js} +4 -4
  72. package/dist/bundle/failure-SACX3WGX.js +66 -0
  73. package/dist/bundle/{first-run-OHQHOP5U.js → first-run-QDCSWX3N.js} +5 -5
  74. package/dist/bundle/{first-screen-ULF26GYG.js → first-screen-YABO6OZ7.js} +12 -12
  75. package/dist/bundle/{instructions-RS5VERM7.js → instructions-P72XX4AK.js} +1 -1
  76. package/dist/bundle/{mcp-TS2UAN5I.js → mcp-QRZ2HSON.js} +35 -35
  77. package/dist/bundle/memo.js +6 -6
  78. package/dist/bundle/{node-BU6NHYHF.js → node-ZB4RNICS.js} +2 -2
  79. package/dist/bundle/{node-sqlite-WAF44CWS.js → node-sqlite-7XJ4J4E5.js} +3 -3
  80. package/dist/bundle/{oauth-T7RCNIYO.js → oauth-FMH3JIPT.js} +4 -4
  81. package/dist/bundle/{open-QLX2IVTC.js → open-PRCTOHHL.js} +2 -2
  82. package/dist/bundle/{openai-O25HCJEY.js → openai-VW4W6SIO.js} +7 -7
  83. package/dist/bundle/{process-SB2X3TKY.js → process-XNN4WG6N.js} +1 -1
  84. package/dist/bundle/{program-SDLIDODQ.js → program-OSHEAD76.js} +154 -82
  85. package/dist/bundle/{prompt-OHVHUNV4.js → prompt-RT55UZGB.js} +2 -2
  86. package/dist/bundle/{recognize-SESVG7O3.js → recognize-AQ2UXUC2.js} +1 -1
  87. package/dist/bundle/{remote-DNGLVDYJ.js → remote-T3P5OWRR.js} +4 -4
  88. package/dist/bundle/{rerank-SF3OUPEB.js → rerank-743T3675.js} +4 -4
  89. package/dist/bundle/{serve-6RK7QFZ2.js → serve-BSKOU4FJ.js} +6 -6
  90. package/dist/bundle/{server-N6PCX7K7.js → server-7GH6JLM3.js} +50 -50
  91. package/dist/bundle/server-VMWVYGK7.js +48 -0
  92. package/dist/bundle/server-ZFHSK6TT.js +61 -0
  93. package/dist/bundle/{state-J6WLL4TQ.js → state-MDMI3I2Z.js} +3 -3
  94. package/dist/bundle/{store-R2PHK3FR.js → store-I3DIZALN.js} +9 -9
  95. package/dist/bundle/store-maintenance-command-HZPQPOK7.js +48 -0
  96. package/dist/bundle/update-Y3UQ5DQJ.js +69 -0
  97. package/dist/examples.d.ts.map +1 -1
  98. package/dist/examples.js +1 -0
  99. package/dist/examples.js.map +1 -1
  100. package/dist/memories/memory.d.ts.map +1 -1
  101. package/dist/memories/memory.js +3 -1
  102. package/dist/memories/memory.js.map +1 -1
  103. package/dist/notes/folders-command.d.ts.map +1 -1
  104. package/dist/notes/folders-command.js +51 -1
  105. package/dist/notes/folders-command.js.map +1 -1
  106. package/dist/notes/folders.d.ts +1 -0
  107. package/dist/notes/folders.d.ts.map +1 -1
  108. package/dist/notes/folders.js +1 -0
  109. package/dist/notes/folders.js.map +1 -1
  110. package/dist/notes/import.d.ts +3 -1
  111. package/dist/notes/import.d.ts.map +1 -1
  112. package/dist/notes/import.js +8 -3
  113. package/dist/notes/import.js.map +1 -1
  114. package/dist/notes/state.d.ts +2 -0
  115. package/dist/notes/state.d.ts.map +1 -1
  116. package/dist/notes/state.js +3 -1
  117. package/dist/notes/state.js.map +1 -1
  118. package/dist/progress.d.ts +12 -0
  119. package/dist/progress.d.ts.map +1 -0
  120. package/dist/progress.js +19 -0
  121. package/dist/progress.js.map +1 -0
  122. package/dist/reasons.d.ts.map +1 -1
  123. package/dist/reasons.js +6 -0
  124. package/dist/reasons.js.map +1 -1
  125. package/dist/run/auto.d.ts +3 -0
  126. package/dist/run/auto.d.ts.map +1 -1
  127. package/dist/run/auto.js +16 -4
  128. package/dist/run/auto.js.map +1 -1
  129. package/dist/run/import.d.ts.map +1 -1
  130. package/dist/run/import.js +7 -1
  131. package/dist/run/import.js.map +1 -1
  132. package/dist/search/answers.d.ts.map +1 -1
  133. package/dist/search/answers.js +7 -2
  134. package/dist/search/answers.js.map +1 -1
  135. package/dist/search/search.d.ts.map +1 -1
  136. package/dist/search/search.js +4 -3
  137. package/dist/search/search.js.map +1 -1
  138. package/dist/version.d.ts +1 -1
  139. package/dist/version.js +1 -1
  140. package/package.json +2 -2
  141. package/dist/bundle/auto-FXCXORUF.js +0 -86
  142. package/dist/bundle/failure-X7CYCJWD.js +0 -66
  143. package/dist/bundle/server-JKWE764O.js +0 -61
  144. package/dist/bundle/server-RKGTOY4D.js +0 -48
  145. package/dist/bundle/store-maintenance-command-LRZ5R3UM.js +0 -48
  146. package/dist/bundle/update-RV2WSULI.js +0 -69
  147. /package/dist/bundle/{chunk-IO44XLFM.js → chunk-CDFNOKPG.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-EQ237UYC.js";
6
+ } from "./chunk-XZZFHQGM.js";
7
7
  import {
8
8
  FETCHING,
9
9
  QUICK_HEALTH_CHECKS,
@@ -29,7 +29,7 @@ import {
29
29
  typedQuery,
30
30
  withQuery,
31
31
  withTimeLimit
32
- } from "./chunk-QUQJZSRF.js";
32
+ } from "./chunk-4VQPPX47.js";
33
33
  import {
34
34
  stringWidth,
35
35
  wrapAnsi
@@ -61,23 +61,23 @@ import {
61
61
  snakeKeys,
62
62
  storeTable,
63
63
  withoutProviderRefs
64
- } from "./chunk-VOJU5FVA.js";
64
+ } from "./chunk-PYRHU35W.js";
65
65
  import {
66
66
  failureKey
67
- } from "./chunk-F7S25YVA.js";
67
+ } from "./chunk-FOM7WE2C.js";
68
68
  import {
69
69
  envName
70
- } from "./chunk-DMI3SFLF.js";
70
+ } from "./chunk-OT23U5LT.js";
71
71
  import {
72
72
  holdLock,
73
73
  lockPath,
74
74
  releaseLock,
75
75
  servingProfiles,
76
76
  takeLock
77
- } from "./chunk-TYOZC3BU.js";
77
+ } from "./chunk-S7F4ZDFU.js";
78
78
  import {
79
79
  holdersOf
80
- } from "./chunk-H4726KFZ.js";
80
+ } from "./chunk-DVA6MQWK.js";
81
81
  import {
82
82
  CORPORA,
83
83
  MIGRATIONS,
@@ -113,28 +113,28 @@ import {
113
113
  storeClients,
114
114
  storeContents,
115
115
  vectorIndexCounts
116
- } from "./chunk-VJJCF52V.js";
116
+ } from "./chunk-P2LMXIHL.js";
117
117
  import {
118
118
  queryFieldsOf
119
- } from "./chunk-TW643BIA.js";
119
+ } from "./chunk-HCMXUHHF.js";
120
120
  import {
121
121
  readSecret
122
- } from "./chunk-J737T3RM.js";
122
+ } from "./chunk-W6JQNNJ5.js";
123
123
  import {
124
124
  checkedOptions,
125
125
  range
126
- } from "./chunk-DHO2JWF7.js";
126
+ } from "./chunk-ND6D4A6H.js";
127
127
  import {
128
128
  messagesFor,
129
129
  systemFor,
130
130
  validateImages
131
- } from "./chunk-NWRITJ7F.js";
131
+ } from "./chunk-5RVL7GYA.js";
132
132
  import {
133
133
  storePath
134
- } from "./chunk-YO7AUGUT.js";
134
+ } from "./chunk-LZWXGO3G.js";
135
135
  import {
136
136
  openCache
137
- } from "./chunk-5BDWOMH6.js";
137
+ } from "./chunk-NTQUBSIJ.js";
138
138
  import {
139
139
  Credentials,
140
140
  pathsAreOverridden,
@@ -5509,11 +5509,11 @@ var require_liquid_node = __commonJS({
5509
5509
  }
5510
5510
  });
5511
5511
 
5512
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5512
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5513
5513
  import { chmodSync, constants, copyFileSync, existsSync as existsSync9, mkdirSync, realpathSync as realpathSync2, renameSync as renameSync3, rmSync as rmSync3, statfsSync as statfsSync2, statSync as statSync4, writeFileSync as writeFileSync2 } from "node:fs";
5514
5514
  import { dirname as dirname2, resolve } from "node:path";
5515
5515
 
5516
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/sealed.js
5516
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/sealed.js
5517
5517
  import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
5518
5518
  import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
5519
5519
  import { Transform } from "node:stream";
@@ -5620,7 +5620,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
5620
5620
  renameSync(pending, to);
5621
5621
  }, "unsealFile");
5622
5622
 
5623
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5623
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5624
5624
  var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
5625
5625
  var fileSchemaOf = /* @__PURE__ */ __name((database) => {
5626
5626
  const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
@@ -5644,7 +5644,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
5644
5644
  };
5645
5645
  }, "compatibilityOf");
5646
5646
 
5647
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/store/repair.js
5647
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/store/repair.js
5648
5648
  import { createHash as createHash2 } from "node:crypto";
5649
5649
  var COPY_MARK = "__repair_";
5650
5650
  var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
@@ -5898,13 +5898,13 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
5898
5898
  return found;
5899
5899
  }, "deleteCopy");
5900
5900
 
5901
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5901
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5902
5902
  import { existsSync as existsSync4, statSync as statSync3 } from "node:fs";
5903
5903
 
5904
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
5904
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
5905
5905
  import { existsSync as existsSync3 } from "node:fs";
5906
5906
 
5907
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/store/recover.js
5907
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/store/recover.js
5908
5908
  import { execFileSync, spawn } from "node:child_process";
5909
5909
  import { existsSync as existsSync2, readFileSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync2, writeFileSync } from "node:fs";
5910
5910
  import { basename, dirname, join } from "node:path";
@@ -6291,7 +6291,7 @@ var recoverLocked = /* @__PURE__ */ __name(async ({ path, command, version, sqli
6291
6291
  }
6292
6292
  }, "recoverLocked");
6293
6293
 
6294
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
6294
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
6295
6295
  var COUNTED = [
6296
6296
  "accounts",
6297
6297
  "chats",
@@ -6417,7 +6417,7 @@ var storeRecoverCommand = /* @__PURE__ */ __name(({ command, version }) => {
6417
6417
  return recover;
6418
6418
  }, "storeRecoverCommand");
6419
6419
 
6420
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/store-info.js
6420
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/store-info.js
6421
6421
  var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
6422
6422
  var bytesOf = /* @__PURE__ */ __name((path) => existsSync4(path) ? statSync3(path).size : 0, "bytesOf");
6423
6423
  var messageOf = /* @__PURE__ */ __name((error) => error instanceof Error ? error.message : String(error), "messageOf");
@@ -6463,7 +6463,7 @@ var storeInfoCommand = /* @__PURE__ */ __name(() => annotate(new Command("info")
6463
6463
  renderAnswer(this, outputFor(this), itemOf(answer));
6464
6464
  }), "storeInfoCommand");
6465
6465
 
6466
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
6466
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
6467
6467
  var ENCRYPT_OPTION = [
6468
6468
  "--encrypt",
6469
6469
  "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"
@@ -6482,7 +6482,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
6482
6482
  return password;
6483
6483
  }, "passwordOf");
6484
6484
 
6485
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/replies/rules.js
6485
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/replies/rules.js
6486
6486
  import { existsSync as existsSync5, readFileSync as readFileSync2 } from "node:fs";
6487
6487
  import { join as join2 } from "node:path";
6488
6488
  var REPLY_ACTIONS = ["reply", "task"];
@@ -6653,7 +6653,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
6653
6653
  }, "problem");
6654
6654
  var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
6655
6655
 
6656
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/replies/state.js
6656
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/replies/state.js
6657
6657
  import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
6658
6658
  import { join as join3 } from "node:path";
6659
6659
  var ANSWERED_KEPT = 1e3;
@@ -6706,7 +6706,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
6706
6706
  }, "recordReply");
6707
6707
  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");
6708
6708
 
6709
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/replies/decide.js
6709
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/replies/decide.js
6710
6710
  var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
6711
6711
  var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
6712
6712
  const { message, chat, owner, sender } = incoming;
@@ -6812,7 +6812,7 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
6812
6812
  return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
6813
6813
  }, "filled");
6814
6814
 
6815
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/replies/template.js
6815
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/replies/template.js
6816
6816
  var import_liquidjs = __toESM(require_liquid_node(), 1);
6817
6817
  var TEMPLATE_LIMITS = {
6818
6818
  parse: 32768,
@@ -6972,7 +6972,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
6972
6972
  }
6973
6973
  }, "renderReplyTemplate");
6974
6974
 
6975
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
6975
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
6976
6976
  var DRY_RUN_DAYS = 7;
6977
6977
  var PAGE = 500;
6978
6978
  var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
@@ -7086,7 +7086,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
7086
7086
  }
7087
7087
  }, "storedSince");
7088
7088
 
7089
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
7089
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
7090
7090
  var endpointKeyName = /* @__PURE__ */ __name((baseUrl) => {
7091
7091
  const host = new URL(baseUrl).host;
7092
7092
  return ["openai", "anthropic"].includes(host) ? `endpoint:${host}` : host;
@@ -7117,7 +7117,7 @@ var embeddingKeys = /* @__PURE__ */ __name((app, env = process.env, keyring) =>
7117
7117
  };
7118
7118
  }, "embeddingKeys");
7119
7119
 
7120
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/models/openai.js
7120
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/models/openai.js
7121
7121
  var options = strictObject({
7122
7122
  temperature: range(0, 2),
7123
7123
  top_p: range(0, 1),
@@ -7166,7 +7166,7 @@ var openai = {
7166
7166
  }), "complete")
7167
7167
  };
7168
7168
 
7169
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/models/index.js
7169
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/models/index.js
7170
7170
  var modelGateway = /* @__PURE__ */ __name((deps) => ({
7171
7171
  complete: /* @__PURE__ */ __name(async (request) => {
7172
7172
  if (deps.signal?.aborted)
@@ -7181,7 +7181,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
7181
7181
  if (!adapter && target.provider === "openai")
7182
7182
  adapter = openai;
7183
7183
  if (!adapter && target.provider === "anthropic")
7184
- adapter = (await import("./anthropic-BMK6F36V.js")).anthropic;
7184
+ adapter = (await import("./anthropic-RI4DWC3G.js")).anthropic;
7185
7185
  if (!adapter)
7186
7186
  throw new CliError("validation_error", `no model adapter for ${target.provider}`);
7187
7187
  if (request.images !== void 0 && adapter.images !== true)
@@ -7222,7 +7222,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
7222
7222
  }, "complete")
7223
7223
  }), "modelGateway");
7224
7224
 
7225
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/replies/consents.js
7225
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/replies/consents.js
7226
7226
  import { existsSync as existsSync7, readFileSync as readFileSync4 } from "node:fs";
7227
7227
  import { join as join4 } from "node:path";
7228
7228
  var shape = strictObject({
@@ -7247,7 +7247,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
7247
7247
  return consent.provider === provider && !consent.deniedChats.includes(chat);
7248
7248
  }, "mayModelReply");
7249
7249
 
7250
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/replies/rendering.js
7250
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/replies/rendering.js
7251
7251
  var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options2 = {
7252
7252
  ai: true
7253
7253
  }) => async (rule2, message, chat, now) => {
@@ -7294,7 +7294,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
7294
7294
  return result2;
7295
7295
  }, "replyRenderer");
7296
7296
 
7297
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/replies/serve.js
7297
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/replies/serve.js
7298
7298
  var NOT_ALLOWED = "replies.send is not allow";
7299
7299
  var NO_RULES = "no rules";
7300
7300
  var ONLY_TASK = "opened a task, sent nothing";
@@ -7387,7 +7387,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
7387
7387
  return { skip: why };
7388
7388
  }, "replyTo");
7389
7389
 
7390
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
7390
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
7391
7391
  var START_SYNC_DELAY_MS = 3e4;
7392
7392
  var START_SYNC_BUDGET_MS = 5 * 6e4;
7393
7393
  var START_SYNC_WINDOW_MS = 7 * 864e5;
@@ -7464,7 +7464,7 @@ var startSync = /* @__PURE__ */ __name(({ chats, newestHeld, fetch: fetch2, note
7464
7464
  };
7465
7465
  }, "startSync");
7466
7466
 
7467
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
7467
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
7468
7468
  var FIRST_FETCH_MS = 6e4;
7469
7469
  var DAY_MS = 864e5;
7470
7470
  var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch: fetch2, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
@@ -7518,7 +7518,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch: fetch2, warn, fi
7518
7518
  };
7519
7519
  }, "memberFetches");
7520
7520
 
7521
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
7521
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
7522
7522
  var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
7523
7523
  var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
7524
7524
  if (context.format === "pretty") {
@@ -7551,7 +7551,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
7551
7551
  return context;
7552
7552
  }, "recordDiagnostics");
7553
7553
 
7554
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
7554
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
7555
7555
  var STEMS_EVERY_MS = 3e4;
7556
7556
  var STEMS_SLICE_MS = 2e3;
7557
7557
  var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
@@ -7591,7 +7591,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
7591
7591
  };
7592
7592
  }, "stemFills");
7593
7593
 
7594
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/render/messages.js
7594
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/render/messages.js
7595
7595
  import { styleText } from "node:util";
7596
7596
  var TIME_WIDTH = 8;
7597
7597
  var INDENT = " ".repeat(TIME_WIDTH + 2);
@@ -7767,7 +7767,7 @@ var editedAt = /* @__PURE__ */ __name((message, options2) => {
7767
7767
  return day(edited) === day(message.timestamp) ? time : `${day(edited)} ${time}`;
7768
7768
  }, "editedAt");
7769
7769
 
7770
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
7770
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
7771
7771
  var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
7772
7772
  var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
7773
7773
  kind: attachment.kind,
@@ -7862,7 +7862,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
7862
7862
  locale: messenger.app.locale
7863
7863
  }), "viewOf");
7864
7864
 
7865
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
7865
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
7866
7866
  var observed = /* @__PURE__ */ __name((value) => ({
7867
7867
  value: value.value,
7868
7868
  observed_at: value.observedAt,
@@ -7929,7 +7929,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
7929
7929
  }
7930
7930
  }, "watchEventItem");
7931
7931
 
7932
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
7932
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
7933
7933
  var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
7934
7934
  output: { entity: "watch_item" },
7935
7935
  effects: REMOTE_READ,
@@ -8084,7 +8084,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
8084
8084
  }
8085
8085
  }, "describe");
8086
8086
 
8087
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
8087
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
8088
8088
  var serveCommand = /* @__PURE__ */ __name((messenger) => {
8089
8089
  const command = annotate(new Command("serve"), {
8090
8090
  output: { entity: "serve_summary" },
@@ -8348,7 +8348,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
8348
8348
  };
8349
8349
  }, "tasking");
8350
8350
 
8351
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
8351
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
8352
8352
  import { existsSync as existsSync8 } from "node:fs";
8353
8353
  var PATH = "store tables list";
8354
8354
  var STORE_TABLES_QUERY = {
@@ -8391,7 +8391,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((messenger) => {
8391
8391
  return tables;
8392
8392
  }, "storeTablesCommand");
8393
8393
 
8394
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
8394
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
8395
8395
  var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
8396
8396
  var WORD_INDEX = "message_words";
8397
8397
  var schemaOf = /* @__PURE__ */ __name((database) => {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
8
8
  var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
9
9
  `The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
10
10
  "Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",
@@ -3,17 +3,17 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  toModelRate
6
- } from "./chunk-TZROQCQ5.js";
6
+ } from "./chunk-6N6BVPVX.js";
7
7
  import {
8
8
  OPENAI_URL
9
- } from "./chunk-66KZBRZN.js";
9
+ } from "./chunk-QCRJNWJZ.js";
10
10
  import {
11
11
  OPENAI_TRANSCRIBE_MODEL,
12
12
  VAD,
13
13
  filesPresent,
14
14
  modelsDirectory,
15
15
  vadPath
16
- } from "./chunk-CSPAEYKK.js";
16
+ } from "./chunk-KVOHC4ZM.js";
17
17
  import {
18
18
  DEFAULT_RETRY,
19
19
  backoffMs
@@ -25,7 +25,7 @@ import {
25
25
  __name
26
26
  } from "./chunk-ZVVMGPBJ.js";
27
27
 
28
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/speech/openai.js
28
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/speech/openai.js
29
29
  import { setTimeout as wait } from "node:timers/promises";
30
30
 
31
31
  // node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
@@ -52,7 +52,7 @@ var parseRateLimitReset = /* @__PURE__ */ __name((header, now) => {
52
52
  }, "parseRateLimitReset");
53
53
  var providerWaitMs = /* @__PURE__ */ __name((headers, now) => parseRetryAfter(headers.get("retry-after"), now) ?? parseRateLimitReset(headers.get("x-ratelimit-reset"), now), "providerWaitMs");
54
54
 
55
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/speech/wav.js
55
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/speech/wav.js
56
56
  var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
57
57
  const bytes = Buffer.alloc(44 + samples.length * 2);
58
58
  bytes.write("RIFF", 0, "ascii");
@@ -73,7 +73,7 @@ var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
73
73
  return new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.length);
74
74
  }, "encodeWav");
75
75
 
76
- // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/speech/openai.js
76
+ // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/speech/openai.js
77
77
  var LONGEST_REQUEST_SECONDS = 600;
78
78
  var JOINED_SECONDS = 0.2;
79
79
  var PAD_SECONDS = 0.2;
@@ -195,7 +195,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
195
195
  return pieces;
196
196
  }, "piecesOf");
197
197
  var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
198
- const { openSpeechCutter } = await import("./recognize-SESVG7O3.js");
198
+ const { openSpeechCutter } = await import("./recognize-AQ2UXUC2.js");
199
199
  return openSpeechCutter(vadModel);
200
200
  }, "openCutter");
201
201
  var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {