@wirecat/cli-memo 0.131.19 → 0.131.21

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 (187) hide show
  1. package/README.md +2 -3
  2. package/dist/actions/command.d.ts +1 -1
  3. package/dist/actions/command.d.ts.map +1 -1
  4. package/dist/actions/command.js +12 -1
  5. package/dist/actions/command.js.map +1 -1
  6. package/dist/bin/memo.js +2 -2
  7. package/dist/bin/memo.js.map +1 -1
  8. package/dist/bundle/{all-profiles-MVF2XGZK.js → all-profiles-EZLU6CY7.js} +9 -7
  9. package/dist/bundle/{anthropic-OPFHMF2S.js → anthropic-XC34PJH5.js} +6 -4
  10. package/dist/bundle/{app-server-VHVC55S3.js → app-server-26YPLJ7M.js} +53 -48
  11. package/dist/bundle/auto-QHTPHGNA.js +86 -0
  12. package/dist/bundle/{bun-P6TMDZGU.js → bun-CKGKUKW5.js} +2 -2
  13. package/dist/bundle/{bun-sqlite-3G3NLK4O.js → bun-sqlite-S6KUSMTC.js} +5 -3
  14. package/dist/bundle/{chunk-XZWUBDBG.js → chunk-2NJUPIAO.js} +1 -1
  15. package/dist/bundle/{chunk-RFB5LOYR.js → chunk-2TBIVKBH.js} +8 -6
  16. package/dist/bundle/{chunk-3DVKC2XM.js → chunk-3V4WIGWC.js} +8 -19
  17. package/dist/bundle/{chunk-BMHSGZNE.js → chunk-5RBLNI6C.js} +4 -4
  18. package/dist/bundle/{chunk-LKYHSVQL.js → chunk-7F6FGMCC.js} +8 -8
  19. package/dist/bundle/{chunk-FMSA2X3E.js → chunk-7MLWSUEK.js} +1 -1
  20. package/dist/bundle/{chunk-DLRLOGVU.js → chunk-7NEWBM2O.js} +13 -9
  21. package/dist/bundle/{chunk-SO6VNTF6.js → chunk-AIIQ7YU4.js} +1 -1
  22. package/dist/bundle/{chunk-4TERVG26.js → chunk-B3YV6Z7Y.js} +8 -2
  23. package/dist/bundle/{chunk-IW3U6XXI.js → chunk-BB2MGFOZ.js} +6 -6
  24. package/dist/bundle/chunk-CCHHEMPM.js +71 -0
  25. package/dist/bundle/{chunk-6DG7VK3H.js → chunk-CCOYC6HL.js} +5 -5
  26. package/dist/bundle/{chunk-MXP4J6BJ.js → chunk-CDZZ2DZO.js} +70 -2517
  27. package/dist/bundle/{chunk-VUWUSGSN.js → chunk-CP5N3KH3.js} +4 -4
  28. package/dist/bundle/{chunk-NKTAEBCU.js → chunk-CRZSJHAK.js} +13 -9
  29. package/dist/bundle/{chunk-LPUFOWL3.js → chunk-D72URWJE.js} +1 -39
  30. package/dist/bundle/{chunk-BINR6MJ5.js → chunk-DNGHE2Q4.js} +1 -1
  31. package/dist/bundle/{chunk-KVVDRD7M.js → chunk-DZSWKA3K.js} +2 -2
  32. package/dist/bundle/{chunk-63XICXGM.js → chunk-E5FQ7U7L.js} +5 -3
  33. package/dist/bundle/{chunk-BPYQYZXA.js → chunk-EAYYWS67.js} +14 -12
  34. package/dist/bundle/chunk-EG2OMKWH.js +2423 -0
  35. package/dist/bundle/chunk-EW3XTUPB.js +166 -0
  36. package/dist/bundle/{chunk-4VKNUBD5.js → chunk-FFWK5NEZ.js} +10 -8
  37. package/dist/bundle/{chunk-3ORDQ62F.js → chunk-GV2FSWFS.js} +10 -8
  38. package/dist/bundle/chunk-ILHTNOIV.js +23 -0
  39. package/dist/bundle/{chunk-VQGVPDMH.js → chunk-INURBEAO.js} +20 -16
  40. package/dist/bundle/{chunk-OVFMY6ZP.js → chunk-IRDGD3QQ.js} +1 -1
  41. package/dist/bundle/{chunk-D6G23NFJ.js → chunk-J4GC33JU.js} +2 -2
  42. package/dist/bundle/{chunk-XWS4PTES.js → chunk-J55Z6EJ3.js} +363 -278
  43. package/dist/bundle/{chunk-TQNQS6TR.js → chunk-JJ3C5AYK.js} +64 -60
  44. package/dist/bundle/{chunk-LQJ4KHXK.js → chunk-JXH22ZGA.js} +15 -15
  45. package/dist/bundle/{chunk-5KUPVC5M.js → chunk-KUNA6MQZ.js} +2 -2
  46. package/dist/bundle/{chunk-LDVU22MF.js → chunk-LGNS4JVK.js} +8 -8
  47. package/dist/bundle/{chunk-57Q6NXQT.js → chunk-LR5EY5JY.js} +4 -4
  48. package/dist/bundle/{chunk-ZYM4M62Q.js → chunk-MCPDL5YU.js} +4 -4
  49. package/dist/bundle/{chunk-V7DZG62U.js → chunk-MHDLZCEO.js} +11 -9
  50. package/dist/bundle/{chunk-SHDZVM3B.js → chunk-NELE7AIX.js} +2 -2
  51. package/dist/bundle/{chunk-WRPRPVZF.js → chunk-NOG5O2NS.js} +44 -42
  52. package/dist/bundle/{chunk-RITXQKYG.js → chunk-NWB5NAGB.js} +6 -6
  53. package/dist/bundle/{chunk-UC4IL2P7.js → chunk-OJRLTJRS.js} +1 -1
  54. package/dist/bundle/{chunk-OTHEM74Z.js → chunk-OUF6RCRZ.js} +6 -6
  55. package/dist/bundle/{chunk-JDJDNMCP.js → chunk-PF3ALSAV.js} +1 -1
  56. package/dist/bundle/{chunk-GJKM32WA.js → chunk-PO5C7VNC.js} +24 -22
  57. package/dist/bundle/chunk-PQLBPYJR.js +46 -0
  58. package/dist/bundle/{chunk-66YZUX2C.js → chunk-QMMUPDRK.js} +10 -10
  59. package/dist/bundle/{chunk-P3TYFDMP.js → chunk-R26CXR5Z.js} +9 -7
  60. package/dist/bundle/{chunk-F5CQ2NVA.js → chunk-RC7TIYUZ.js} +11 -9
  61. package/dist/bundle/{chunk-P22V2OLJ.js → chunk-RG6ITTLQ.js} +22 -16
  62. package/dist/bundle/{chunk-T557KUST.js → chunk-RHJC4PHV.js} +3 -3
  63. package/dist/bundle/{chunk-Z54GPSVH.js → chunk-RNXYDBQO.js} +186 -162
  64. package/dist/bundle/{chunk-YVECM7XA.js → chunk-SMDWUPXE.js} +4 -4
  65. package/dist/bundle/{chunk-KO455254.js → chunk-SXGAIQ5X.js} +13 -13
  66. package/dist/bundle/{chunk-EMKFG5BP.js → chunk-THGFFQCK.js} +3 -3
  67. package/dist/bundle/{chunk-2R25UBIH.js → chunk-TMNHNZVA.js} +26 -24
  68. package/dist/bundle/{chunk-WOIRWVDJ.js → chunk-UXCSNSUU.js} +563 -351
  69. package/dist/bundle/{chunk-EFKEG2BA.js → chunk-VECICKTE.js} +5 -5
  70. package/dist/bundle/{chunk-4MIPN37I.js → chunk-VQM3H422.js} +266 -176
  71. package/dist/bundle/chunk-VXHN3SWW.js +35 -0
  72. package/dist/bundle/{chunk-EL4ZKQUN.js → chunk-WEOFWTWZ.js} +6 -4
  73. package/dist/bundle/{chunk-LEUNYKL6.js → chunk-WUCQ56RP.js} +3 -3
  74. package/dist/bundle/{chunk-SJLVBJ2L.js → chunk-XA6YO24S.js} +2 -2
  75. package/dist/bundle/{chunk-36ULPM2W.js → chunk-XPRYBLTS.js} +6 -6
  76. package/dist/bundle/{chunk-2KOVYXWK.js → chunk-YAUDFROV.js} +1243 -743
  77. package/dist/bundle/{chunk-Y3DGAYTD.js → chunk-YUFUUQUO.js} +7 -5
  78. package/dist/bundle/{chunk-JHKTN6NL.js → chunk-ZCKU6WMX.js} +13 -11
  79. package/dist/bundle/{chunk-5XDYV2YT.js → chunk-ZD3STMY7.js} +1 -1
  80. package/dist/bundle/command-contract-TMVGYSQQ.js +32 -0
  81. package/dist/bundle/{decode-BUTF6VGO.js → decode-6XSZIZAA.js} +5 -3
  82. package/dist/bundle/dispatch-VUMQPYMA.js +411 -0
  83. package/dist/bundle/{echarts-KH3YOWMK.js → echarts-NGS4QG4E.js} +2 -2
  84. package/dist/bundle/{embed-WBVM7KQ2.js → embed-YNH5M6UL.js} +6 -4
  85. package/dist/bundle/{embedder-27HQIFHM.js → embedder-LLNK4JF4.js} +11 -9
  86. package/dist/bundle/{entry-K2WWMF2B.js → entry-DO6ZBFIS.js} +7 -5
  87. package/dist/bundle/failure-LHMJNFY6.js +66 -0
  88. package/dist/bundle/failure-Z2FXWIBY.js +24 -0
  89. package/dist/bundle/first-run-BXFQN6M5.js +27 -0
  90. package/dist/bundle/first-screen-56KZKY77.js +30 -0
  91. package/dist/bundle/{instructions-POJKHKRZ.js → instructions-4EJ4BBWD.js} +1 -1
  92. package/dist/bundle/mcp-A4HPKQK5.js +90 -0
  93. package/dist/bundle/{mcp-FUSDPAOL.js → mcp-MNI62HHE.js} +4 -2
  94. package/dist/bundle/memo.js +182 -39
  95. package/dist/bundle/{node-W245R2OP.js → node-QQXKQWNC.js} +2 -2
  96. package/dist/bundle/{node-sqlite-FUYOXFW5.js → node-sqlite-GJI2GMLW.js} +6 -4
  97. package/dist/bundle/{oauth-ATB3NWQA.js → oauth-Q5VGUPUR.js} +7 -5
  98. package/dist/bundle/{open-HEBEWCYB.js → open-NSXIYF3N.js} +5 -3
  99. package/dist/bundle/{openai-DN7NA2IU.js → openai-LHH7MSGQ.js} +10 -8
  100. package/dist/bundle/{process-QTIDOJMF.js → process-PI6XUJWP.js} +1 -1
  101. package/dist/bundle/{program-WNFCYNGP.js → program-3ZTQ5FEM.js} +8382 -8312
  102. package/dist/bundle/{prompt-RQXVPJ4A.js → prompt-VFXA7IKL.js} +5 -3
  103. package/dist/bundle/{recognize-G7NIZ3IT.js → recognize-UWAARXOH.js} +4 -2
  104. package/dist/bundle/{remote-H452UBSK.js → remote-KGEVCB2Q.js} +7 -5
  105. package/dist/bundle/{rerank-77UYD2UD.js → rerank-SCBTCBPO.js} +7 -5
  106. package/dist/bundle/{serve-L6R4ODZV.js → serve-WPVKVR24.js} +9 -7
  107. package/dist/bundle/{server-ZBX4HFHT.js → server-BMQBWBBN.js} +71 -64
  108. package/dist/bundle/server-NQK5EX7P.js +48 -0
  109. package/dist/bundle/server-UN43Y6BY.js +61 -0
  110. package/dist/bundle/{setup-ZGH5OZ7A.js → setup-FGSVWQ32.js} +47 -43
  111. package/dist/bundle/{state-KHMYDV4I.js → state-KGHS4C6J.js} +6 -4
  112. package/dist/bundle/{store-M7KGTLUG.js → store-VCVOIQES.js} +12 -10
  113. package/dist/bundle/store-maintenance-command-QTEWWDST.js +48 -0
  114. package/dist/bundle/update-XC6KAVCK.js +69 -0
  115. package/dist/config.d.ts +1 -1
  116. package/dist/config.d.ts.map +1 -1
  117. package/dist/config.js +2 -2
  118. package/dist/config.js.map +1 -1
  119. package/dist/contract-overrides/skill.d.ts.map +1 -1
  120. package/dist/contract-overrides/skill.js +14 -0
  121. package/dist/contract-overrides/skill.js.map +1 -1
  122. package/dist/examples.d.ts.map +1 -1
  123. package/dist/examples.js +34 -3
  124. package/dist/examples.js.map +1 -1
  125. package/dist/knowledge/project-actions-command.js +1 -1
  126. package/dist/knowledge/project-actions-command.js.map +1 -1
  127. package/dist/mail/command.d.ts.map +1 -1
  128. package/dist/mail/command.js +11 -1
  129. package/dist/mail/command.js.map +1 -1
  130. package/dist/mail/findings-command.d.ts +8 -0
  131. package/dist/mail/findings-command.d.ts.map +1 -0
  132. package/dist/mail/findings-command.js +80 -0
  133. package/dist/mail/findings-command.js.map +1 -0
  134. package/dist/mail/messages-command.d.ts.map +1 -1
  135. package/dist/mail/messages-command.js +27 -3
  136. package/dist/mail/messages-command.js.map +1 -1
  137. package/dist/mail/review-command.d.ts +12 -0
  138. package/dist/mail/review-command.d.ts.map +1 -0
  139. package/dist/mail/review-command.js +46 -0
  140. package/dist/mail/review-command.js.map +1 -0
  141. package/dist/mcp/catalogue.d.ts +3 -0
  142. package/dist/mcp/catalogue.d.ts.map +1 -1
  143. package/dist/mcp/catalogue.js +2 -1
  144. package/dist/mcp/catalogue.js.map +1 -1
  145. package/dist/mcp/server.js +1 -1
  146. package/dist/mcp/server.js.map +1 -1
  147. package/dist/program.d.ts.map +1 -1
  148. package/dist/program.js +17 -1
  149. package/dist/program.js.map +1 -1
  150. package/dist/read-only.d.ts +1 -1
  151. package/dist/reasons.d.ts.map +1 -1
  152. package/dist/reasons.js +6 -0
  153. package/dist/reasons.js.map +1 -1
  154. package/dist/records/import.d.ts.map +1 -1
  155. package/dist/records/import.js +9 -2
  156. package/dist/records/import.js.map +1 -1
  157. package/dist/records/mapping.d.ts +9 -0
  158. package/dist/records/mapping.d.ts.map +1 -0
  159. package/dist/records/mapping.js +67 -0
  160. package/dist/records/mapping.js.map +1 -0
  161. package/dist/review/kinds.d.ts +0 -6
  162. package/dist/review/kinds.d.ts.map +1 -1
  163. package/dist/review/kinds.js +14 -45
  164. package/dist/review/kinds.js.map +1 -1
  165. package/dist/review/status.d.ts +1 -0
  166. package/dist/review/status.d.ts.map +1 -1
  167. package/dist/schedule/command.d.ts +3 -1
  168. package/dist/schedule/command.d.ts.map +1 -1
  169. package/dist/schedule/command.js +6 -1
  170. package/dist/schedule/command.js.map +1 -1
  171. package/dist/version.d.ts +1 -1
  172. package/dist/version.js +1 -1
  173. package/package.json +4 -3
  174. package/skills/cli-memo/SKILL.md +15 -4
  175. package/skills/mail-triage/SKILL.md +120 -0
  176. package/dist/bundle/auto-F53FUP45.js +0 -82
  177. package/dist/bundle/chunk-7J5HTZCM.js +0 -18
  178. package/dist/bundle/command-contract-NMJKYTS4.js +0 -30
  179. package/dist/bundle/failure-NHDQ5WEW.js +0 -62
  180. package/dist/bundle/first-run-7P5N72VR.js +0 -23
  181. package/dist/bundle/first-screen-3GM5HC4Y.js +0 -28
  182. package/dist/bundle/mcp-YGWNSJUH.js +0 -86
  183. package/dist/bundle/server-SWUSQSRW.js +0 -44
  184. package/dist/bundle/server-W4IKTTUY.js +0 -57
  185. package/dist/bundle/store-maintenance-command-ZPN2ZUL4.js +0 -44
  186. package/dist/bundle/update-RFTADFRO.js +0 -65
  187. /package/dist/bundle/{chunk-7YF2MSEC.js → chunk-YYQN5ES2.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-GJKM32WA.js";
6
+ } from "./chunk-PO5C7VNC.js";
7
7
  import {
8
8
  FETCHING,
9
9
  RULES_VERSION,
@@ -23,7 +23,7 @@ import {
23
23
  syncsOneChat,
24
24
  typedQuery,
25
25
  withQuery
26
- } from "./chunk-XWS4PTES.js";
26
+ } from "./chunk-J55Z6EJ3.js";
27
27
  import {
28
28
  stringWidth,
29
29
  wrapAnsi
@@ -55,32 +55,23 @@ import {
55
55
  snakeKeys,
56
56
  storeTable,
57
57
  withoutProviderRefs
58
- } from "./chunk-4MIPN37I.js";
58
+ } from "./chunk-VQM3H422.js";
59
59
  import {
60
60
  failureKey
61
- } from "./chunk-F5CQ2NVA.js";
61
+ } from "./chunk-RC7TIYUZ.js";
62
62
  import {
63
63
  envName
64
- } from "./chunk-SHDZVM3B.js";
64
+ } from "./chunk-NELE7AIX.js";
65
65
  import {
66
66
  holdLock,
67
67
  lockPath,
68
68
  releaseLock,
69
69
  servingProfiles,
70
70
  takeLock
71
- } from "./chunk-T557KUST.js";
71
+ } from "./chunk-RHJC4PHV.js";
72
72
  import {
73
73
  holdersOf
74
- } from "./chunk-SO6VNTF6.js";
75
- import {
76
- checkedOptions,
77
- range
78
- } from "./chunk-63XICXGM.js";
79
- import {
80
- messagesFor,
81
- systemFor,
82
- validateImages
83
- } from "./chunk-5KUPVC5M.js";
74
+ } from "./chunk-AIIQ7YU4.js";
84
75
  import {
85
76
  MIGRATIONS,
86
77
  drainNoteIndex,
@@ -109,22 +100,35 @@ import {
109
100
  storeClients,
110
101
  storeContents,
111
102
  vectorIndexCounts
112
- } from "./chunk-2KOVYXWK.js";
103
+ } from "./chunk-YAUDFROV.js";
113
104
  import {
114
105
  queryFieldsOf
115
- } from "./chunk-Z54GPSVH.js";
106
+ } from "./chunk-RNXYDBQO.js";
107
+ import {
108
+ readSecret
109
+ } from "./chunk-THGFFQCK.js";
110
+ import {
111
+ checkedOptions,
112
+ range
113
+ } from "./chunk-E5FQ7U7L.js";
114
+ import {
115
+ messagesFor,
116
+ systemFor,
117
+ validateImages
118
+ } from "./chunk-KUNA6MQZ.js";
116
119
  import {
117
120
  storePath
118
- } from "./chunk-7J5HTZCM.js";
121
+ } from "./chunk-VXHN3SWW.js";
119
122
  import {
120
123
  openCache
121
- } from "./chunk-OTHEM74Z.js";
122
- import {
123
- readSecret
124
- } from "./chunk-EMKFG5BP.js";
124
+ } from "./chunk-OUF6RCRZ.js";
125
125
  import {
126
- CliError,
127
126
  Credentials,
127
+ pathsAreOverridden,
128
+ resolvePaths,
129
+ writeSecurely
130
+ } from "./chunk-CDZZ2DZO.js";
131
+ import {
128
132
  array,
129
133
  boolean,
130
134
  check,
@@ -137,22 +141,22 @@ import {
137
141
  object,
138
142
  optional,
139
143
  parse,
140
- pathsAreOverridden,
141
144
  picklist,
142
145
  pipe,
143
146
  record,
144
147
  regex,
145
- resolvePaths,
146
148
  safeParse,
147
- singleLine,
148
149
  strictObject,
149
150
  string,
150
151
  transform,
151
152
  trim,
152
- union,
153
- visibleControls,
154
- writeSecurely
155
- } from "./chunk-MXP4J6BJ.js";
153
+ union
154
+ } from "./chunk-EG2OMKWH.js";
155
+ import {
156
+ CliError,
157
+ singleLine,
158
+ visibleControls
159
+ } from "./chunk-CCHHEMPM.js";
156
160
  import {
157
161
  __commonJS,
158
162
  __name,
@@ -5492,11 +5496,11 @@ var require_liquid_node = __commonJS({
5492
5496
  }
5493
5497
  });
5494
5498
 
5495
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5499
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5496
5500
  import { chmodSync, constants, copyFileSync, existsSync as existsSync7, mkdirSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync3, writeFileSync } from "node:fs";
5497
5501
  import { dirname, resolve } from "node:path";
5498
5502
 
5499
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/sealed.js
5503
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/sealed.js
5500
5504
  import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
5501
5505
  import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
5502
5506
  import { Transform } from "node:stream";
@@ -5603,7 +5607,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
5603
5607
  renameSync(pending, to);
5604
5608
  }, "unsealFile");
5605
5609
 
5606
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5610
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5607
5611
  var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
5608
5612
  var fileSchemaOf = /* @__PURE__ */ __name((database) => {
5609
5613
  const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
@@ -5627,7 +5631,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
5627
5631
  };
5628
5632
  }, "compatibilityOf");
5629
5633
 
5630
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/store/repair.js
5634
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/store/repair.js
5631
5635
  import { createHash as createHash2 } from "node:crypto";
5632
5636
  var COPY_MARK = "__repair_";
5633
5637
  var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
@@ -5881,7 +5885,7 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
5881
5885
  return found;
5882
5886
  }, "deleteCopy");
5883
5887
 
5884
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5888
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5885
5889
  import { existsSync as existsSync2, statSync as statSync2 } from "node:fs";
5886
5890
  var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
5887
5891
  var bytesOf = /* @__PURE__ */ __name((path) => existsSync2(path) ? statSync2(path).size : 0, "bytesOf");
@@ -5928,7 +5932,7 @@ var storeInfoCommand = /* @__PURE__ */ __name(() => annotate(new Command("info")
5928
5932
  renderAnswer(this, outputFor(this), itemOf(answer));
5929
5933
  }), "storeInfoCommand");
5930
5934
 
5931
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
5935
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
5932
5936
  var ENCRYPT_OPTION = [
5933
5937
  "--encrypt",
5934
5938
  "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"
@@ -5947,7 +5951,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
5947
5951
  return password;
5948
5952
  }, "passwordOf");
5949
5953
 
5950
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/replies/rules.js
5954
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/replies/rules.js
5951
5955
  import { existsSync as existsSync3, readFileSync } from "node:fs";
5952
5956
  import { join } from "node:path";
5953
5957
  var REPLY_ACTIONS = ["reply", "task"];
@@ -6118,7 +6122,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
6118
6122
  }, "problem");
6119
6123
  var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
6120
6124
 
6121
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/replies/state.js
6125
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/replies/state.js
6122
6126
  import { existsSync as existsSync4, readFileSync as readFileSync2 } from "node:fs";
6123
6127
  import { join as join2 } from "node:path";
6124
6128
  var ANSWERED_KEPT = 1e3;
@@ -6171,7 +6175,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
6171
6175
  }, "recordReply");
6172
6176
  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");
6173
6177
 
6174
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/replies/decide.js
6178
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/replies/decide.js
6175
6179
  var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
6176
6180
  var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
6177
6181
  const { message, chat, owner, sender } = incoming;
@@ -6277,7 +6281,7 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
6277
6281
  return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
6278
6282
  }, "filled");
6279
6283
 
6280
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/replies/template.js
6284
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/replies/template.js
6281
6285
  var import_liquidjs = __toESM(require_liquid_node(), 1);
6282
6286
  var TEMPLATE_LIMITS = {
6283
6287
  parse: 32768,
@@ -6437,7 +6441,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
6437
6441
  }
6438
6442
  }, "renderReplyTemplate");
6439
6443
 
6440
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
6444
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
6441
6445
  var DRY_RUN_DAYS = 7;
6442
6446
  var PAGE = 500;
6443
6447
  var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
@@ -6551,7 +6555,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
6551
6555
  }
6552
6556
  }, "storedSince");
6553
6557
 
6554
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
6558
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
6555
6559
  var endpointKeyName = /* @__PURE__ */ __name((baseUrl) => {
6556
6560
  const host = new URL(baseUrl).host;
6557
6561
  return ["openai", "anthropic"].includes(host) ? `endpoint:${host}` : host;
@@ -6582,7 +6586,7 @@ var embeddingKeys = /* @__PURE__ */ __name((app, env = process.env, keyring) =>
6582
6586
  };
6583
6587
  }, "embeddingKeys");
6584
6588
 
6585
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/models/openai.js
6589
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/models/openai.js
6586
6590
  var options = strictObject({
6587
6591
  temperature: range(0, 2),
6588
6592
  top_p: range(0, 1),
@@ -6631,7 +6635,7 @@ var openai = {
6631
6635
  }, "complete")
6632
6636
  };
6633
6637
 
6634
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/models/index.js
6638
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/models/index.js
6635
6639
  var modelGateway = /* @__PURE__ */ __name((deps) => ({
6636
6640
  complete: /* @__PURE__ */ __name(async (request) => {
6637
6641
  if (deps.signal?.aborted)
@@ -6646,7 +6650,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
6646
6650
  if (!adapter && target.provider === "openai")
6647
6651
  adapter = openai;
6648
6652
  if (!adapter && target.provider === "anthropic")
6649
- adapter = (await import("./anthropic-OPFHMF2S.js")).anthropic;
6653
+ adapter = (await import("./anthropic-XC34PJH5.js")).anthropic;
6650
6654
  if (!adapter)
6651
6655
  throw new CliError("validation_error", `no model adapter for ${target.provider}`);
6652
6656
  if (request.images !== void 0 && adapter.images !== true)
@@ -6687,7 +6691,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
6687
6691
  }, "complete")
6688
6692
  }), "modelGateway");
6689
6693
 
6690
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/replies/consents.js
6694
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/replies/consents.js
6691
6695
  import { existsSync as existsSync5, readFileSync as readFileSync3 } from "node:fs";
6692
6696
  import { join as join3 } from "node:path";
6693
6697
  var shape = strictObject({
@@ -6712,7 +6716,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
6712
6716
  return consent.provider === provider && !consent.deniedChats.includes(chat);
6713
6717
  }, "mayModelReply");
6714
6718
 
6715
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/replies/rendering.js
6719
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/replies/rendering.js
6716
6720
  var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options2 = {
6717
6721
  ai: true
6718
6722
  }) => async (rule2, message, chat, now) => {
@@ -6759,7 +6763,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
6759
6763
  return result2;
6760
6764
  }, "replyRenderer");
6761
6765
 
6762
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/replies/serve.js
6766
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/replies/serve.js
6763
6767
  var NOT_ALLOWED = "replies.send is not allow";
6764
6768
  var NO_RULES = "no rules";
6765
6769
  var ONLY_TASK = "opened a task, sent nothing";
@@ -6852,7 +6856,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
6852
6856
  return { skip: why };
6853
6857
  }, "replyTo");
6854
6858
 
6855
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
6859
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
6856
6860
  var START_SYNC_DELAY_MS = 3e4;
6857
6861
  var START_SYNC_BUDGET_MS = 5 * 6e4;
6858
6862
  var START_SYNC_WINDOW_MS = 7 * 864e5;
@@ -6929,7 +6933,7 @@ var startSync = /* @__PURE__ */ __name(({ chats, newestHeld, fetch: fetch2, note
6929
6933
  };
6930
6934
  }, "startSync");
6931
6935
 
6932
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
6936
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
6933
6937
  var FIRST_FETCH_MS = 6e4;
6934
6938
  var DAY_MS = 864e5;
6935
6939
  var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch: fetch2, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
@@ -6983,7 +6987,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch: fetch2, warn, fi
6983
6987
  };
6984
6988
  }, "memberFetches");
6985
6989
 
6986
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
6990
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
6987
6991
  var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
6988
6992
  var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
6989
6993
  if (context.format === "pretty") {
@@ -7016,7 +7020,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
7016
7020
  return context;
7017
7021
  }, "recordDiagnostics");
7018
7022
 
7019
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
7023
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
7020
7024
  var STEMS_EVERY_MS = 3e4;
7021
7025
  var STEMS_SLICE_MS = 2e3;
7022
7026
  var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
@@ -7056,7 +7060,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
7056
7060
  };
7057
7061
  }, "stemFills");
7058
7062
 
7059
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/render/messages.js
7063
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/render/messages.js
7060
7064
  import { styleText } from "node:util";
7061
7065
  var TIME_WIDTH = 8;
7062
7066
  var INDENT = " ".repeat(TIME_WIDTH + 2);
@@ -7232,7 +7236,7 @@ var editedAt = /* @__PURE__ */ __name((message, options2) => {
7232
7236
  return day(edited) === day(message.timestamp) ? time : `${day(edited)} ${time}`;
7233
7237
  }, "editedAt");
7234
7238
 
7235
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
7239
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
7236
7240
  var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
7237
7241
  var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
7238
7242
  kind: attachment.kind,
@@ -7327,7 +7331,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
7327
7331
  locale: messenger.app.locale
7328
7332
  }), "viewOf");
7329
7333
 
7330
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
7334
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
7331
7335
  var observed = /* @__PURE__ */ __name((value) => ({
7332
7336
  value: value.value,
7333
7337
  observed_at: value.observedAt,
@@ -7394,7 +7398,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
7394
7398
  }
7395
7399
  }, "watchEventItem");
7396
7400
 
7397
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
7401
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
7398
7402
  var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
7399
7403
  output: { entity: "watch_item" },
7400
7404
  effects: REMOTE_READ,
@@ -7549,7 +7553,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
7549
7553
  }
7550
7554
  }, "describe");
7551
7555
 
7552
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
7556
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
7553
7557
  var serveCommand = /* @__PURE__ */ __name((messenger) => {
7554
7558
  const command = annotate(new Command("serve"), {
7555
7559
  output: { entity: "serve_summary" },
@@ -7813,7 +7817,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
7813
7817
  };
7814
7818
  }, "tasking");
7815
7819
 
7816
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
7820
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
7817
7821
  import { existsSync as existsSync6 } from "node:fs";
7818
7822
  var PATH = "store tables list";
7819
7823
  var STORE_TABLES_QUERY = {
@@ -7856,7 +7860,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((messenger) => {
7856
7860
  return tables;
7857
7861
  }, "storeTablesCommand");
7858
7862
 
7859
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
7863
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
7860
7864
  var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
7861
7865
  var WORD_INDEX = "message_words";
7862
7866
  var schemaOf = /* @__PURE__ */ __name((database) => {
@@ -2,49 +2,49 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  botInstructions
5
- } from "./chunk-5XDYV2YT.js";
5
+ } from "./chunk-ZD3STMY7.js";
6
6
  import {
7
7
  answered,
8
8
  normal,
9
9
  registerCommands,
10
10
  runCommandForAgent,
11
11
  toolsFromCommands
12
- } from "./chunk-VQGVPDMH.js";
12
+ } from "./chunk-INURBEAO.js";
13
13
  import {
14
14
  agentJson,
15
15
  skillResource
16
- } from "./chunk-P22V2OLJ.js";
16
+ } from "./chunk-RG6ITTLQ.js";
17
17
  import {
18
18
  callerOf
19
- } from "./chunk-6DG7VK3H.js";
19
+ } from "./chunk-CCOYC6HL.js";
20
+ import {
21
+ serveStdio
22
+ } from "./chunk-MM5NVP7F.js";
23
+ import {
24
+ McpServer
25
+ } from "./chunk-H3ZN4YLB.js";
20
26
  import {
21
27
  wholeList
22
- } from "./chunk-XWS4PTES.js";
28
+ } from "./chunk-J55Z6EJ3.js";
23
29
  import {
24
30
  changesMessenger,
25
31
  flatten,
26
32
  itemOf
27
- } from "./chunk-4MIPN37I.js";
33
+ } from "./chunk-VQM3H422.js";
28
34
  import {
29
35
  MESSENGER_CHANGE_REFUSAL,
30
36
  readOnlyLockOf,
31
37
  readOnlyRefusal
32
- } from "./chunk-SHDZVM3B.js";
33
- import {
34
- serveStdio
35
- } from "./chunk-MM5NVP7F.js";
36
- import {
37
- McpServer
38
- } from "./chunk-H3ZN4YLB.js";
38
+ } from "./chunk-NELE7AIX.js";
39
39
  import {
40
40
  mcpErrorResult,
41
41
  object
42
- } from "./chunk-MXP4J6BJ.js";
42
+ } from "./chunk-EG2OMKWH.js";
43
43
  import {
44
44
  __name
45
45
  } from "./chunk-ZVVMGPBJ.js";
46
46
 
47
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/mcp/bot/server.js
47
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/mcp/bot/server.js
48
48
  import { randomUUID } from "node:crypto";
49
49
  var body = /* @__PURE__ */ __name((command, value) => Array.isArray(value) ? wholeList(`bot ${command}`, value) : value !== null && typeof value === "object" && ("item" in value || "items" in value) ? value : itemOf(value !== null && typeof value === "object" ? value : { value }), "body");
50
50
  var createBotServer = /* @__PURE__ */ __name((options) => {
@@ -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-MXP4J6BJ.js";
5
+ } from "./chunk-CCHHEMPM.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/models/types.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/models/types.js
11
11
  var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
12
12
  var validateImages = /* @__PURE__ */ __name((images) => {
13
13
  if (images === void 0)
@@ -5,23 +5,23 @@ import {
5
5
  installFiles,
6
6
  megabytes,
7
7
  sharedModelsDirectory
8
- } from "./chunk-57Q6NXQT.js";
9
- import {
10
- CliError
11
- } from "./chunk-MXP4J6BJ.js";
8
+ } from "./chunk-LR5EY5JY.js";
12
9
  import {
13
10
  importFrom
14
11
  } from "./chunk-Y5E2WNWB.js";
12
+ import {
13
+ CliError
14
+ } from "./chunk-CCHHEMPM.js";
15
15
  import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
20
20
  import { readFileSync as readFileSync2 } from "node:fs";
21
21
  import { availableParallelism } from "node:os";
22
22
  import { basename, join as join2 } from "node:path";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
25
25
  import { createHash } from "node:crypto";
26
26
  import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
27
27
  import { join } from "node:path";
@@ -678,7 +678,7 @@ var Unzip = /* @__PURE__ */ (function() {
678
678
  return Unzip2;
679
679
  })();
680
680
 
681
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
681
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
682
682
  var ONNX_RUNTIME_VERSION = "1.30.0";
683
683
  var release = /* @__PURE__ */ __name((name, sha256, bytes) => ({
684
684
  name,
@@ -858,7 +858,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
858
858
  return { ort, session: await ort.InferenceSession.create(bytes, options) };
859
859
  }, "openSession");
860
860
 
861
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
861
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
862
862
  var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
863
863
  var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
864
864
  var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  wirecatDirectory
5
- } from "./chunk-7J5HTZCM.js";
5
+ } from "./chunk-VXHN3SWW.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-MXP4J6BJ.js";
8
+ } from "./chunk-CCHHEMPM.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/speech/models.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/speech/models.js
14
14
  var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
15
15
  var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
16
16
  var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
@@ -137,7 +137,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
137
137
  return model;
138
138
  }, "speechModel");
139
139
 
140
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/speech/install.js
140
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/speech/install.js
141
141
  import { createHash, randomUUID } from "node:crypto";
142
142
  import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
143
143
  import { rename, rm } from "node:fs/promises";
@@ -1,16 +1,16 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
- import {
4
- CliError
5
- } from "./chunk-MXP4J6BJ.js";
6
3
  import {
7
4
  importFrom
8
5
  } from "./chunk-Y5E2WNWB.js";
6
+ import {
7
+ CliError
8
+ } from "./chunk-CCHHEMPM.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
14
14
  import { readFileSync } from "node:fs";
15
15
  var musl = /* @__PURE__ */ __name(() => {
16
16
  if (process.platform !== "linux")
@@ -3,27 +3,29 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  toModelRate
6
- } from "./chunk-IW3U6XXI.js";
6
+ } from "./chunk-BB2MGFOZ.js";
7
7
  import {
8
8
  OPENAI_URL
9
- } from "./chunk-LEUNYKL6.js";
9
+ } from "./chunk-WUCQ56RP.js";
10
10
  import {
11
11
  OPENAI_TRANSCRIBE_MODEL,
12
12
  VAD,
13
13
  filesPresent,
14
14
  modelsDirectory,
15
15
  vadPath
16
- } from "./chunk-57Q6NXQT.js";
16
+ } from "./chunk-LR5EY5JY.js";
17
17
  import {
18
- CliError,
19
18
  DEFAULT_RETRY,
20
19
  backoffMs
21
- } from "./chunk-MXP4J6BJ.js";
20
+ } from "./chunk-CDZZ2DZO.js";
21
+ import {
22
+ CliError
23
+ } from "./chunk-CCHHEMPM.js";
22
24
  import {
23
25
  __name
24
26
  } from "./chunk-ZVVMGPBJ.js";
25
27
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/speech/openai.js
28
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/speech/openai.js
27
29
  import { setTimeout as wait } from "node:timers/promises";
28
30
 
29
31
  // node_modules/.pnpm/@wirecat+cli-base@0.75.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
@@ -50,7 +52,7 @@ var parseRateLimitReset = /* @__PURE__ */ __name((header, now) => {
50
52
  }, "parseRateLimitReset");
51
53
  var providerWaitMs = /* @__PURE__ */ __name((headers, now) => parseRetryAfter(headers.get("retry-after"), now) ?? parseRateLimitReset(headers.get("x-ratelimit-reset"), now), "providerWaitMs");
52
54
 
53
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/speech/wav.js
55
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/speech/wav.js
54
56
  var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
55
57
  const bytes = Buffer.alloc(44 + samples.length * 2);
56
58
  bytes.write("RIFF", 0, "ascii");
@@ -71,7 +73,7 @@ var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
71
73
  return new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.length);
72
74
  }, "encodeWav");
73
75
 
74
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/speech/openai.js
76
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/speech/openai.js
75
77
  var LONGEST_REQUEST_SECONDS = 600;
76
78
  var JOINED_SECONDS = 0.2;
77
79
  var PAD_SECONDS = 0.2;
@@ -193,7 +195,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
193
195
  return pieces;
194
196
  }, "piecesOf");
195
197
  var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
196
- const { openSpeechCutter } = await import("./recognize-G7NIZ3IT.js");
198
+ const { openSpeechCutter } = await import("./recognize-UWAARXOH.js");
197
199
  return openSpeechCutter(vadModel);
198
200
  }, "openCutter");
199
201
  var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {