@wirecat/cli-memo 0.131.30 → 0.131.31

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 (117) hide show
  1. package/dist/bin/memo.js +2 -2
  2. package/dist/bundle/{all-profiles-4XCG2A54.js → all-profiles-PFCNICOF.js} +5 -5
  3. package/dist/bundle/{anthropic-MAVIW4DJ.js → anthropic-QLGMYWVZ.js} +3 -3
  4. package/dist/bundle/{app-server-LGSYLIB3.js → app-server-QD67I7V2.js} +35 -35
  5. package/dist/bundle/auto-MCSKUSPU.js +86 -0
  6. package/dist/bundle/{bun-XWUEHWDW.js → bun-JRTUGKIJ.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-OSAC45TI.js → bun-sqlite-HCZP2CNO.js} +2 -2
  8. package/dist/bundle/{chunk-3V5JXPGK.js → chunk-2N74ZVI6.js} +1 -1
  9. package/dist/bundle/{chunk-Q3XFJOAY.js → chunk-2XBDA3XF.js} +1 -1
  10. package/dist/bundle/{chunk-SIY75R4D.js → chunk-3G44GDIZ.js} +5 -5
  11. package/dist/bundle/{chunk-XDQIJSJE.js → chunk-3OH5DJ6X.js} +1 -1
  12. package/dist/bundle/{chunk-TIU2N2SP.js → chunk-42I4XE3O.js} +20 -20
  13. package/dist/bundle/{chunk-RCPP2Q5O.js → chunk-4D6BG353.js} +6 -6
  14. package/dist/bundle/{chunk-IIXZMACE.js → chunk-54DA525P.js} +9 -9
  15. package/dist/bundle/{chunk-2NEXX3EI.js → chunk-5BVGJBZX.js} +1 -1
  16. package/dist/bundle/{chunk-5CKE7LAP.js → chunk-5JTW3LNF.js} +1 -1
  17. package/dist/bundle/{chunk-XV7YW65Y.js → chunk-5YVU6PXP.js} +4 -4
  18. package/dist/bundle/{chunk-RUWY43XR.js → chunk-63JF4E76.js} +480 -256
  19. package/dist/bundle/{chunk-UGV57SZH.js → chunk-7AMJFTJM.js} +1 -1
  20. package/dist/bundle/{chunk-MLDBSKW6.js → chunk-7JWW4YEK.js} +8 -8
  21. package/dist/bundle/{chunk-UVO7UNYH.js → chunk-7MKROF5R.js} +1 -1
  22. package/dist/bundle/{chunk-YJSCSLAT.js → chunk-A56GDMFH.js} +3 -3
  23. package/dist/bundle/{chunk-CYUP7HQG.js → chunk-ARVXP2UJ.js} +258 -258
  24. package/dist/bundle/{chunk-TIQUMRSO.js → chunk-AZGQ7ABE.js} +150 -150
  25. package/dist/bundle/{chunk-DYNSZDXG.js → chunk-CGI5EIIA.js} +20 -20
  26. package/dist/bundle/{chunk-76MMXZ3W.js → chunk-CWHGN6HC.js} +4 -4
  27. package/dist/bundle/{chunk-EJZKYJKO.js → chunk-FE2SLKUO.js} +2 -2
  28. package/dist/bundle/{chunk-HWJHWNBW.js → chunk-FGJKBQCP.js} +3 -3
  29. package/dist/bundle/{chunk-KJE2KFYH.js → chunk-GKZ65EOY.js} +54 -54
  30. package/dist/bundle/{chunk-PJM4QQBT.js → chunk-GNY5YLNY.js} +2 -2
  31. package/dist/bundle/{chunk-GW2KCP4G.js → chunk-H24AL555.js} +27 -27
  32. package/dist/bundle/{program-4UU6HJQM.js → chunk-HGXTDMKN.js} +1498 -10061
  33. package/dist/bundle/{chunk-6ZVN4S36.js → chunk-HLJ6IUVF.js} +2 -2
  34. package/dist/bundle/{chunk-VDGKBAS2.js → chunk-JTSYAO5V.js} +274 -274
  35. package/dist/bundle/{chunk-MHHLYRRD.js → chunk-K3CJHSLS.js} +1 -1
  36. package/dist/bundle/{chunk-QQBRNKHQ.js → chunk-K3TUIQZ4.js} +43 -43
  37. package/dist/bundle/{chunk-5R3OXHIN.js → chunk-K6ZWFP2X.js} +1 -1
  38. package/dist/bundle/{chunk-7VJZKUN3.js → chunk-L34KLQIU.js} +9 -9
  39. package/dist/bundle/{chunk-N4AWIP4D.js → chunk-MVFINUJS.js} +5 -5
  40. package/dist/bundle/{chunk-CNAOMV43.js → chunk-NDJUEFV2.js} +1 -1
  41. package/dist/bundle/{chunk-6SE6ZDBF.js → chunk-NG26I3JV.js} +1 -1
  42. package/dist/bundle/{chunk-U6NL7SAX.js → chunk-OS55OQ74.js} +5 -5
  43. package/dist/bundle/{chunk-M3REIIOH.js → chunk-PG4KORTB.js} +1 -1
  44. package/dist/bundle/{chunk-H52RNBPU.js → chunk-Q2ZIIXA2.js} +2 -2
  45. package/dist/bundle/{chunk-JHLGFPMK.js → chunk-Q3ZB4JGL.js} +2 -2
  46. package/dist/bundle/{chunk-GN3U74DV.js → chunk-QUQOKNAX.js} +12 -12
  47. package/dist/bundle/{chunk-GSCFCNGO.js → chunk-QWA3MTHH.js} +7 -7
  48. package/dist/bundle/{chunk-S34FLB7K.js → chunk-REUXOW2O.js} +2 -2
  49. package/dist/bundle/{chunk-EEKOBGQ7.js → chunk-RO4YPDGF.js} +1 -1
  50. package/dist/bundle/{chunk-UXGQXP5U.js → chunk-ROT4V3ZT.js} +3 -3
  51. package/dist/bundle/{chunk-DIQAOLWH.js → chunk-RRDXT63A.js} +1 -1
  52. package/dist/bundle/{chunk-WUV5O5HN.js → chunk-S3FQQRUM.js} +4 -4
  53. package/dist/bundle/{chunk-DIT5NA73.js → chunk-TFEXCHMC.js} +5 -5
  54. package/dist/bundle/{chunk-UBYCWQSV.js → chunk-URPBRYVA.js} +4 -4
  55. package/dist/bundle/{chunk-B6S42B6J.js → chunk-USMKR34T.js} +11 -11
  56. package/dist/bundle/{chunk-D6BK3H4D.js → chunk-UXA37BVT.js} +4 -4
  57. package/dist/bundle/{chunk-SQHIXN2N.js → chunk-W4GV42D5.js} +2 -2
  58. package/dist/bundle/{chunk-USLIHXWA.js → chunk-WGX6AEUP.js} +3 -3
  59. package/dist/bundle/{chunk-K6Z6B2CW.js → chunk-WP3J2FNH.js} +10 -10
  60. package/dist/bundle/{chunk-3DXTHN5C.js → chunk-X6HXGL5E.js} +7 -7
  61. package/dist/bundle/{chunk-NUEIRBKY.js → chunk-XUMYVRBZ.js} +1 -1
  62. package/dist/bundle/{chunk-Z7J7SVZJ.js → chunk-XWIRWBB5.js} +1 -1
  63. package/dist/bundle/{chunk-U5PEYBQT.js → chunk-ZB5ZZWFR.js} +4 -4
  64. package/dist/bundle/{chunk-YUEAM6ZP.js → chunk-ZHDOELM7.js} +7 -7
  65. package/dist/bundle/{command-contract-ZLDRM6DG.js → command-contract-DFXPO5Q7.js} +11 -11
  66. package/dist/bundle/{decode-Y2DWOSOW.js → decode-7NGILAKQ.js} +2 -2
  67. package/dist/bundle/{echarts-2ZHQHZ4R.js → echarts-JERQI2HW.js} +2 -2
  68. package/dist/bundle/{embed-JEER47U6.js → embed-3AO7KZXC.js} +3 -3
  69. package/dist/bundle/{embedder-BJQEGCE5.js → embedder-WRQ7TDDB.js} +6 -6
  70. package/dist/bundle/{entry-YKH7GAX7.js → entry-IBRPU7NO.js} +4 -4
  71. package/dist/bundle/failure-QBQMSEYX.js +66 -0
  72. package/dist/bundle/{first-run-ESH5B55J.js → first-run-IJOREEQM.js} +5 -5
  73. package/dist/bundle/{first-screen-RTATNK4S.js → first-screen-KYNY6ELY.js} +12 -12
  74. package/dist/bundle/{instructions-NJYYRMYK.js → instructions-BET2PLGV.js} +1 -1
  75. package/dist/bundle/{mcp-ZRKYZLNM.js → mcp-NUBFFPGF.js} +35 -35
  76. package/dist/bundle/memo.js +6 -6
  77. package/dist/bundle/{node-DBNZMTJO.js → node-NCSG7QX5.js} +2 -2
  78. package/dist/bundle/{node-sqlite-CCNVCZSG.js → node-sqlite-QL4M5RIK.js} +3 -3
  79. package/dist/bundle/{oauth-UV7KBQFP.js → oauth-BGMMED35.js} +4 -4
  80. package/dist/bundle/{open-VTOLLLS4.js → open-YN3KJMMQ.js} +2 -2
  81. package/dist/bundle/{openai-RTJNHBCG.js → openai-CTZUSKUS.js} +7 -7
  82. package/dist/bundle/{process-TAFRBB53.js → process-DW237TK4.js} +1 -1
  83. package/dist/bundle/program-Q7VXEIJ7.js +9171 -0
  84. package/dist/bundle/{prompt-ESMCTEJI.js → prompt-EZCCUYCS.js} +2 -2
  85. package/dist/bundle/{recognize-V53GEY6R.js → recognize-XP3LHQD6.js} +1 -1
  86. package/dist/bundle/{remote-KGKRAGA6.js → remote-RLR5ZKKT.js} +4 -4
  87. package/dist/bundle/{rerank-DTD24I7Y.js → rerank-P7LE52AC.js} +4 -4
  88. package/dist/bundle/{serve-2DVSIKM7.js → serve-UA7RQDNK.js} +6 -6
  89. package/dist/bundle/server-N6L3LGQO.js +48 -0
  90. package/dist/bundle/{server-UBMV5OI7.js → server-NWCYWOPZ.js} +50 -50
  91. package/dist/bundle/server-XU362INX.js +61 -0
  92. package/dist/bundle/{state-ONT6T6PY.js → state-72Y55LBR.js} +3 -3
  93. package/dist/bundle/{store-TOYBDMML.js → store-PED4JCBB.js} +9 -9
  94. package/dist/bundle/store-maintenance-command-B364Q2O4.js +48 -0
  95. package/dist/bundle/update-X2A5CW5A.js +69 -0
  96. package/dist/config.d.ts +11 -0
  97. package/dist/config.d.ts.map +1 -1
  98. package/dist/config.js +19 -0
  99. package/dist/config.js.map +1 -1
  100. package/dist/mail/review-command.d.ts.map +1 -1
  101. package/dist/mail/review-command.js +2 -0
  102. package/dist/mail/review-command.js.map +1 -1
  103. package/dist/schedule/command.d.ts.map +1 -1
  104. package/dist/schedule/command.js +4 -3
  105. package/dist/schedule/command.js.map +1 -1
  106. package/dist/version.d.ts +1 -1
  107. package/dist/version.js +1 -1
  108. package/package.json +2 -2
  109. package/skills/mail-triage/SKILL.md +10 -2
  110. package/dist/bundle/auto-72Y6UJWK.js +0 -86
  111. package/dist/bundle/chunk-GACW4GZZ.js +0 -452
  112. package/dist/bundle/failure-JE2JCLGO.js +0 -66
  113. package/dist/bundle/server-ODWZJIRX.js +0 -48
  114. package/dist/bundle/server-V5YRZZID.js +0 -61
  115. package/dist/bundle/store-maintenance-command-HIMIMWFU.js +0 -48
  116. package/dist/bundle/update-AO5UWEBY.js +0 -69
  117. /package/dist/bundle/{chunk-G6I5A2N3.js → chunk-QPPNLE7G.js} +0 -0
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
11
11
  var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
12
12
  var MAX_SECRET_INPUT = 64 * 1024;
13
13
  var policies = /* @__PURE__ */ new WeakMap();
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answerOf,
5
5
  messengerContext
6
- } from "./chunk-TIU2N2SP.js";
6
+ } from "./chunk-42I4XE3O.js";
7
7
  import {
8
8
  FETCHING,
9
9
  RULES_VERSION,
@@ -24,7 +24,7 @@ import {
24
24
  typedQuery,
25
25
  withQuery,
26
26
  withTimeLimit
27
- } from "./chunk-CYUP7HQG.js";
27
+ } from "./chunk-ARVXP2UJ.js";
28
28
  import {
29
29
  stringWidth,
30
30
  wrapAnsi
@@ -56,23 +56,23 @@ import {
56
56
  snakeKeys,
57
57
  storeTable,
58
58
  withoutProviderRefs
59
- } from "./chunk-TIQUMRSO.js";
59
+ } from "./chunk-AZGQ7ABE.js";
60
60
  import {
61
61
  failureKey
62
- } from "./chunk-3DXTHN5C.js";
62
+ } from "./chunk-X6HXGL5E.js";
63
63
  import {
64
64
  envName
65
- } from "./chunk-CNAOMV43.js";
65
+ } from "./chunk-NDJUEFV2.js";
66
66
  import {
67
67
  holdLock,
68
68
  lockPath,
69
69
  releaseLock,
70
70
  servingProfiles,
71
71
  takeLock
72
- } from "./chunk-S34FLB7K.js";
72
+ } from "./chunk-REUXOW2O.js";
73
73
  import {
74
74
  holdersOf
75
- } from "./chunk-EEKOBGQ7.js";
75
+ } from "./chunk-RO4YPDGF.js";
76
76
  import {
77
77
  MIGRATIONS,
78
78
  drainNoteIndex,
@@ -101,28 +101,28 @@ import {
101
101
  storeClients,
102
102
  storeContents,
103
103
  vectorIndexCounts
104
- } from "./chunk-VDGKBAS2.js";
104
+ } from "./chunk-JTSYAO5V.js";
105
105
  import {
106
106
  queryFieldsOf
107
- } from "./chunk-KJE2KFYH.js";
107
+ } from "./chunk-GKZ65EOY.js";
108
108
  import {
109
109
  readSecret
110
- } from "./chunk-H52RNBPU.js";
110
+ } from "./chunk-Q2ZIIXA2.js";
111
111
  import {
112
112
  checkedOptions,
113
113
  range
114
- } from "./chunk-3V5JXPGK.js";
114
+ } from "./chunk-2N74ZVI6.js";
115
115
  import {
116
116
  messagesFor,
117
117
  systemFor,
118
118
  validateImages
119
- } from "./chunk-UGV57SZH.js";
119
+ } from "./chunk-7AMJFTJM.js";
120
120
  import {
121
121
  storePath
122
- } from "./chunk-DIQAOLWH.js";
122
+ } from "./chunk-RRDXT63A.js";
123
123
  import {
124
124
  openCache
125
- } from "./chunk-SIY75R4D.js";
125
+ } from "./chunk-3G44GDIZ.js";
126
126
  import {
127
127
  Credentials,
128
128
  pathsAreOverridden,
@@ -5497,11 +5497,11 @@ var require_liquid_node = __commonJS({
5497
5497
  }
5498
5498
  });
5499
5499
 
5500
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5500
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5501
5501
  import { chmodSync, constants, copyFileSync, existsSync as existsSync7, mkdirSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync3, writeFileSync } from "node:fs";
5502
5502
  import { dirname, resolve } from "node:path";
5503
5503
 
5504
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/sealed.js
5504
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/sealed.js
5505
5505
  import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
5506
5506
  import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
5507
5507
  import { Transform } from "node:stream";
@@ -5608,7 +5608,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
5608
5608
  renameSync(pending, to);
5609
5609
  }, "unsealFile");
5610
5610
 
5611
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5611
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5612
5612
  var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
5613
5613
  var fileSchemaOf = /* @__PURE__ */ __name((database) => {
5614
5614
  const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
@@ -5632,7 +5632,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
5632
5632
  };
5633
5633
  }, "compatibilityOf");
5634
5634
 
5635
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/store/repair.js
5635
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/store/repair.js
5636
5636
  import { createHash as createHash2 } from "node:crypto";
5637
5637
  var COPY_MARK = "__repair_";
5638
5638
  var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
@@ -5886,7 +5886,7 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
5886
5886
  return found;
5887
5887
  }, "deleteCopy");
5888
5888
 
5889
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5889
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5890
5890
  import { existsSync as existsSync2, statSync as statSync2 } from "node:fs";
5891
5891
  var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
5892
5892
  var bytesOf = /* @__PURE__ */ __name((path) => existsSync2(path) ? statSync2(path).size : 0, "bytesOf");
@@ -5933,7 +5933,7 @@ var storeInfoCommand = /* @__PURE__ */ __name(() => annotate(new Command("info")
5933
5933
  renderAnswer(this, outputFor(this), itemOf(answer));
5934
5934
  }), "storeInfoCommand");
5935
5935
 
5936
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
5936
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
5937
5937
  var ENCRYPT_OPTION = [
5938
5938
  "--encrypt",
5939
5939
  "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"
@@ -5952,7 +5952,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
5952
5952
  return password;
5953
5953
  }, "passwordOf");
5954
5954
 
5955
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/replies/rules.js
5955
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/replies/rules.js
5956
5956
  import { existsSync as existsSync3, readFileSync } from "node:fs";
5957
5957
  import { join } from "node:path";
5958
5958
  var REPLY_ACTIONS = ["reply", "task"];
@@ -6123,7 +6123,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
6123
6123
  }, "problem");
6124
6124
  var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
6125
6125
 
6126
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/replies/state.js
6126
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/replies/state.js
6127
6127
  import { existsSync as existsSync4, readFileSync as readFileSync2 } from "node:fs";
6128
6128
  import { join as join2 } from "node:path";
6129
6129
  var ANSWERED_KEPT = 1e3;
@@ -6176,7 +6176,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
6176
6176
  }, "recordReply");
6177
6177
  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");
6178
6178
 
6179
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/replies/decide.js
6179
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/replies/decide.js
6180
6180
  var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
6181
6181
  var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
6182
6182
  const { message, chat, owner, sender } = incoming;
@@ -6282,7 +6282,7 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
6282
6282
  return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
6283
6283
  }, "filled");
6284
6284
 
6285
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/replies/template.js
6285
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/replies/template.js
6286
6286
  var import_liquidjs = __toESM(require_liquid_node(), 1);
6287
6287
  var TEMPLATE_LIMITS = {
6288
6288
  parse: 32768,
@@ -6442,7 +6442,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
6442
6442
  }
6443
6443
  }, "renderReplyTemplate");
6444
6444
 
6445
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
6445
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
6446
6446
  var DRY_RUN_DAYS = 7;
6447
6447
  var PAGE = 500;
6448
6448
  var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
@@ -6556,7 +6556,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
6556
6556
  }
6557
6557
  }, "storedSince");
6558
6558
 
6559
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
6559
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
6560
6560
  var endpointKeyName = /* @__PURE__ */ __name((baseUrl) => {
6561
6561
  const host = new URL(baseUrl).host;
6562
6562
  return ["openai", "anthropic"].includes(host) ? `endpoint:${host}` : host;
@@ -6587,7 +6587,7 @@ var embeddingKeys = /* @__PURE__ */ __name((app, env = process.env, keyring) =>
6587
6587
  };
6588
6588
  }, "embeddingKeys");
6589
6589
 
6590
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/models/openai.js
6590
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/models/openai.js
6591
6591
  var options = strictObject({
6592
6592
  temperature: range(0, 2),
6593
6593
  top_p: range(0, 1),
@@ -6636,7 +6636,7 @@ var openai = {
6636
6636
  }), "complete")
6637
6637
  };
6638
6638
 
6639
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/models/index.js
6639
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/models/index.js
6640
6640
  var modelGateway = /* @__PURE__ */ __name((deps) => ({
6641
6641
  complete: /* @__PURE__ */ __name(async (request) => {
6642
6642
  if (deps.signal?.aborted)
@@ -6651,7 +6651,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
6651
6651
  if (!adapter && target.provider === "openai")
6652
6652
  adapter = openai;
6653
6653
  if (!adapter && target.provider === "anthropic")
6654
- adapter = (await import("./anthropic-MAVIW4DJ.js")).anthropic;
6654
+ adapter = (await import("./anthropic-QLGMYWVZ.js")).anthropic;
6655
6655
  if (!adapter)
6656
6656
  throw new CliError("validation_error", `no model adapter for ${target.provider}`);
6657
6657
  if (request.images !== void 0 && adapter.images !== true)
@@ -6692,7 +6692,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
6692
6692
  }, "complete")
6693
6693
  }), "modelGateway");
6694
6694
 
6695
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/replies/consents.js
6695
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/replies/consents.js
6696
6696
  import { existsSync as existsSync5, readFileSync as readFileSync3 } from "node:fs";
6697
6697
  import { join as join3 } from "node:path";
6698
6698
  var shape = strictObject({
@@ -6717,7 +6717,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
6717
6717
  return consent.provider === provider && !consent.deniedChats.includes(chat);
6718
6718
  }, "mayModelReply");
6719
6719
 
6720
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/replies/rendering.js
6720
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/replies/rendering.js
6721
6721
  var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options2 = {
6722
6722
  ai: true
6723
6723
  }) => async (rule2, message, chat, now) => {
@@ -6764,7 +6764,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
6764
6764
  return result2;
6765
6765
  }, "replyRenderer");
6766
6766
 
6767
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/replies/serve.js
6767
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/replies/serve.js
6768
6768
  var NOT_ALLOWED = "replies.send is not allow";
6769
6769
  var NO_RULES = "no rules";
6770
6770
  var ONLY_TASK = "opened a task, sent nothing";
@@ -6857,7 +6857,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
6857
6857
  return { skip: why };
6858
6858
  }, "replyTo");
6859
6859
 
6860
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
6860
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
6861
6861
  var START_SYNC_DELAY_MS = 3e4;
6862
6862
  var START_SYNC_BUDGET_MS = 5 * 6e4;
6863
6863
  var START_SYNC_WINDOW_MS = 7 * 864e5;
@@ -6934,7 +6934,7 @@ var startSync = /* @__PURE__ */ __name(({ chats, newestHeld, fetch: fetch2, note
6934
6934
  };
6935
6935
  }, "startSync");
6936
6936
 
6937
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
6937
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
6938
6938
  var FIRST_FETCH_MS = 6e4;
6939
6939
  var DAY_MS = 864e5;
6940
6940
  var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch: fetch2, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
@@ -6988,7 +6988,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch: fetch2, warn, fi
6988
6988
  };
6989
6989
  }, "memberFetches");
6990
6990
 
6991
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
6991
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
6992
6992
  var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
6993
6993
  var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
6994
6994
  if (context.format === "pretty") {
@@ -7021,7 +7021,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
7021
7021
  return context;
7022
7022
  }, "recordDiagnostics");
7023
7023
 
7024
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
7024
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
7025
7025
  var STEMS_EVERY_MS = 3e4;
7026
7026
  var STEMS_SLICE_MS = 2e3;
7027
7027
  var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
@@ -7061,7 +7061,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
7061
7061
  };
7062
7062
  }, "stemFills");
7063
7063
 
7064
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/render/messages.js
7064
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/render/messages.js
7065
7065
  import { styleText } from "node:util";
7066
7066
  var TIME_WIDTH = 8;
7067
7067
  var INDENT = " ".repeat(TIME_WIDTH + 2);
@@ -7237,7 +7237,7 @@ var editedAt = /* @__PURE__ */ __name((message, options2) => {
7237
7237
  return day(edited) === day(message.timestamp) ? time : `${day(edited)} ${time}`;
7238
7238
  }, "editedAt");
7239
7239
 
7240
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
7240
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
7241
7241
  var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
7242
7242
  var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
7243
7243
  kind: attachment.kind,
@@ -7332,7 +7332,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
7332
7332
  locale: messenger.app.locale
7333
7333
  }), "viewOf");
7334
7334
 
7335
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
7335
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
7336
7336
  var observed = /* @__PURE__ */ __name((value) => ({
7337
7337
  value: value.value,
7338
7338
  observed_at: value.observedAt,
@@ -7399,7 +7399,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
7399
7399
  }
7400
7400
  }, "watchEventItem");
7401
7401
 
7402
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
7402
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
7403
7403
  var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
7404
7404
  output: { entity: "watch_item" },
7405
7405
  effects: REMOTE_READ,
@@ -7554,7 +7554,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
7554
7554
  }
7555
7555
  }, "describe");
7556
7556
 
7557
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
7557
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
7558
7558
  var serveCommand = /* @__PURE__ */ __name((messenger) => {
7559
7559
  const command = annotate(new Command("serve"), {
7560
7560
  output: { entity: "serve_summary" },
@@ -7818,7 +7818,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
7818
7818
  };
7819
7819
  }, "tasking");
7820
7820
 
7821
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
7821
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
7822
7822
  import { existsSync as existsSync6 } from "node:fs";
7823
7823
  var PATH = "store tables list";
7824
7824
  var STORE_TABLES_QUERY = {
@@ -7861,7 +7861,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((messenger) => {
7861
7861
  return tables;
7862
7862
  }, "storeTablesCommand");
7863
7863
 
7864
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
7864
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
7865
7865
  var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
7866
7866
  var WORD_INDEX = "message_words";
7867
7867
  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.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
8
8
  var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
9
9
  var kindsByConstructor = /* @__PURE__ */ new WeakMap();
10
10
  function collectKinds(ctor) {
@@ -3,11 +3,11 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  envName,
5
5
  readOnlyLockOf
6
- } from "./chunk-CNAOMV43.js";
6
+ } from "./chunk-NDJUEFV2.js";
7
7
  import {
8
8
  CAPABILITY_STATEMENTS,
9
9
  storeCapable
10
- } from "./chunk-SIY75R4D.js";
10
+ } from "./chunk-3G44GDIZ.js";
11
11
  import {
12
12
  catchCrashes
13
13
  } from "./chunk-G2BB5WY5.js";
@@ -21,10 +21,10 @@ import {
21
21
  __name
22
22
  } from "./chunk-ZVVMGPBJ.js";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/cli/entry.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/entry.js
25
25
  import { spawn as spawn2 } from "node:child_process";
26
26
 
27
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
27
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
28
28
  import { spawn, spawnSync } from "node:child_process";
29
29
  import { readFileSync } from "node:fs";
30
30
  import { dirname } from "node:path";
@@ -112,14 +112,14 @@ var relay = /* @__PURE__ */ __name((child, host = process) => new Promise(() =>
112
112
  });
113
113
  }), "relay");
114
114
 
115
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
115
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
116
116
  import { appendFileSync } from "node:fs";
117
117
  var logVersion = /* @__PURE__ */ __name((file) => {
118
118
  appendFileSync(file, `${JSON.stringify({ command: "", options: ["--version"] })}
119
119
  `);
120
120
  }, "logVersion");
121
121
 
122
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/cli/entry.js
122
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/entry.js
123
123
  var processIo = /* @__PURE__ */ __name(() => ({
124
124
  argv: process.argv,
125
125
  env: process.env,
@@ -173,8 +173,8 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
173
173
  if (command.optsWithGlobals().dryRun === true)
174
174
  return;
175
175
  const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
176
- import("./first-run-ESH5B55J.js"),
177
- import("./command-contract-ZLDRM6DG.js")
176
+ import("./first-run-IJOREEQM.js"),
177
+ import("./command-contract-DFXPO5Q7.js")
178
178
  ]);
179
179
  await setupAtStart({
180
180
  command: entry.app.command,
@@ -189,7 +189,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
189
189
  ask: /* @__PURE__ */ __name(async (question, command) => {
190
190
  if (headless(command) || io.stdin.isTTY !== true)
191
191
  return false;
192
- const { readSecret } = await import("./prompt-ESMCTEJI.js");
192
+ const { readSecret } = await import("./prompt-EZCCUYCS.js");
193
193
  const answer = await readSecret(`${question} [y/N] `, {
194
194
  input: io.stdin,
195
195
  output: io.stderr,
@@ -4,7 +4,7 @@ import {
4
4
  inspectConfig,
5
5
  loadConfig,
6
6
  memoPermissionKeys
7
- } from "./chunk-GACW4GZZ.js";
7
+ } from "./chunk-HGXTDMKN.js";
8
8
  import {
9
9
  CEILING_KEY,
10
10
  changesAuthority,
@@ -13,17 +13,17 @@ import {
13
13
  layerPermissions,
14
14
  levelFor,
15
15
  metaOf
16
- } from "./chunk-TIQUMRSO.js";
16
+ } from "./chunk-AZGQ7ABE.js";
17
17
  import {
18
18
  setupPermissionCeiling
19
- } from "./chunk-YJSCSLAT.js";
19
+ } from "./chunk-A56GDMFH.js";
20
20
  import {
21
21
  readOnlyLockOf,
22
22
  readOnlyRefusal
23
- } from "./chunk-CNAOMV43.js";
23
+ } from "./chunk-NDJUEFV2.js";
24
24
  import {
25
25
  APP
26
- } from "./chunk-XDQIJSJE.js";
26
+ } from "./chunk-3OH5DJ6X.js";
27
27
  import {
28
28
  CliError
29
29
  } from "./chunk-EB2IULWB.js";
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/ports/app.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/ports/app.js
11
11
  var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
12
12
  var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
13
13
  const name = envName(app, "READ_ONLY");
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/store/driver.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/store/driver.js
8
8
  var TIME_LIMIT_FUNCTION = "wc_time_limit";
9
9
  var TimeLimitReached = class extends Error {
10
10
  static {
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadConfig
5
- } from "./chunk-GACW4GZZ.js";
5
+ } from "./chunk-HGXTDMKN.js";
6
6
  import {
7
7
  upgradeCommand
8
- } from "./chunk-RUWY43XR.js";
8
+ } from "./chunk-63JF4E76.js";
9
9
  import {
10
10
  FETCH,
11
11
  annotate,
12
12
  overrideSharedContract
13
- } from "./chunk-TIQUMRSO.js";
13
+ } from "./chunk-AZGQ7ABE.js";
14
14
  import {
15
15
  latestVersion,
16
16
  runUpdate,
@@ -19,7 +19,7 @@ import {
19
19
  import {
20
20
  APP,
21
21
  VERSION
22
- } from "./chunk-XDQIJSJE.js";
22
+ } from "./chunk-3OH5DJ6X.js";
23
23
  import {
24
24
  installerOf
25
25
  } from "./chunk-KV4267S4.js";
@@ -34,7 +34,7 @@ import {
34
34
  // dist/update.js
35
35
  import { join } from "node:path";
36
36
 
37
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/update/index.js
37
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/update/index.js
38
38
  import { realpathSync } from "node:fs";
39
39
  import { fileURLToPath } from "node:url";
40
40
  var QUIET_WORDS = [
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
14
14
  import { readFileSync } from "node:fs";
15
15
  var musl = /* @__PURE__ */ __name(() => {
16
16
  if (process.platform !== "linux")
@@ -4,7 +4,7 @@ import {
4
4
  MAX_SECRET_INPUT,
5
5
  bufferedInput,
6
6
  inputPolicy
7
- } from "./chunk-MHHLYRRD.js";
7
+ } from "./chunk-K3CJHSLS.js";
8
8
  import {
9
9
  CliError
10
10
  } from "./chunk-EB2IULWB.js";
@@ -12,7 +12,7 @@ import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
16
16
  import { createInterface } from "node:readline";
17
17
  import { Writable } from "node:stream";
18
18
  var readSecret = /* @__PURE__ */ __name(async (prompt, { input = process.stdin, output = process.stderr, echo = false, signal: givenSignal } = {}) => {
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  unit
5
- } from "./chunk-DIT5NA73.js";
5
+ } from "./chunk-TFEXCHMC.js";
6
6
  import {
7
7
  CliError
8
8
  } from "./chunk-EB2IULWB.js";
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.575.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_aade55a841395570862eef10edb10226/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
14
14
  import { setTimeout } from "node:timers/promises";
15
15
  var OPENAI_URL = "https://api.openai.com/v1";
16
16
  var OPENAI_MODELS = {