@wirecat/cli-memo 0.131.52 → 0.131.53

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 (108) hide show
  1. package/dist/bin/memo.js +2 -2
  2. package/dist/bundle/{all-profiles-ZFVBLT2D.js → all-profiles-PJR2VHDP.js} +5 -5
  3. package/dist/bundle/{anthropic-UG2YHOT7.js → anthropic-ZUDIWREK.js} +3 -3
  4. package/dist/bundle/{app-server-AQYA4TB6.js → app-server-EYNQ4L2V.js} +35 -35
  5. package/dist/bundle/auto-JV4T2URZ.js +86 -0
  6. package/dist/bundle/{bun-QJUFWKEZ.js → bun-W2ZP6I6Z.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-GWVRHYF4.js → bun-sqlite-T2CTJ6AR.js} +2 -2
  8. package/dist/bundle/{chunk-RYY4YRKQ.js → chunk-26QKDK5P.js} +5 -5
  9. package/dist/bundle/{chunk-EEEZGK2J.js → chunk-2NVP4FZH.js} +1 -1
  10. package/dist/bundle/{chunk-NNUP36UQ.js → chunk-34GJQ4ZR.js} +1 -1
  11. package/dist/bundle/{chunk-6PQIXQFD.js → chunk-3MWNNJII.js} +8 -8
  12. package/dist/bundle/{chunk-AU5GAMGM.js → chunk-4335SGVD.js} +2170 -1265
  13. package/dist/bundle/{chunk-M64NVDB4.js → chunk-4VQ7FPNW.js} +3 -3
  14. package/dist/bundle/{chunk-6BVWU2UM.js → chunk-5UM2OEOR.js} +2 -2
  15. package/dist/bundle/{chunk-S7X5ZMQN.js → chunk-643B3X4D.js} +2 -2
  16. package/dist/bundle/{chunk-G52Y3KOO.js → chunk-6NJ5OI2S.js} +1 -1
  17. package/dist/bundle/{chunk-X6XIW76O.js → chunk-7ZO2LAFF.js} +5 -5
  18. package/dist/bundle/{chunk-4ISZPK6D.js → chunk-AF2ZDP3M.js} +1 -1
  19. package/dist/bundle/{chunk-6GF4TIVM.js → chunk-AYY5CYJJ.js} +1 -1
  20. package/dist/bundle/{chunk-2CBOPOC7.js → chunk-B5VQSSL2.js} +12 -12
  21. package/dist/bundle/{chunk-G4Z4WSIG.js → chunk-BC7N6IQ6.js} +1 -1
  22. package/dist/bundle/{chunk-3O46NA2H.js → chunk-BEO6VJ2E.js} +47 -47
  23. package/dist/bundle/{chunk-NIUWQP7F.js → chunk-CADGAURO.js} +28 -28
  24. package/dist/bundle/{chunk-ERZBEQAY.js → chunk-CQPZUKTI.js} +296 -261
  25. package/dist/bundle/{chunk-N5J6GT7C.js → chunk-D63QZQR7.js} +4 -4
  26. package/dist/bundle/{chunk-ETYAJPIT.js → chunk-DDD3CXHR.js} +20 -20
  27. package/dist/bundle/{chunk-GJWNHWG7.js → chunk-F3BUTC2N.js} +51 -36
  28. package/dist/bundle/{chunk-U4ZD5SYO.js → chunk-FUINFNUC.js} +1 -1
  29. package/dist/bundle/{chunk-IALGFO44.js → chunk-GESLAB4N.js} +2 -2
  30. package/dist/bundle/{chunk-LX65W7IK.js → chunk-I3TF3CDE.js} +4 -4
  31. package/dist/bundle/{chunk-FWCFEJWD.js → chunk-IRFHHNSX.js} +159 -151
  32. package/dist/bundle/{chunk-VOWEZBOJ.js → chunk-IVDBHH3N.js} +1 -1
  33. package/dist/bundle/{chunk-7SVHEGRO.js → chunk-JB43Q2QL.js} +1 -1
  34. package/dist/bundle/{chunk-ZVR6S4XB.js → chunk-JBQP2M7J.js} +7 -7
  35. package/dist/bundle/{chunk-MICF3K6S.js → chunk-JGY2PJ3N.js} +12 -12
  36. package/dist/bundle/{chunk-NZKDNBYE.js → chunk-KK2ATSEC.js} +6 -6
  37. package/dist/bundle/{chunk-XIHQOSCT.js → chunk-KTVYCPJW.js} +1 -1
  38. package/dist/bundle/{chunk-55GFDV24.js → chunk-LBGZT3W4.js} +5 -5
  39. package/dist/bundle/{chunk-ZKXIZD4C.js → chunk-LCE5LBZC.js} +4 -4
  40. package/dist/bundle/{chunk-A7DXLOMS.js → chunk-LCP4TVBX.js} +1 -1
  41. package/dist/bundle/{chunk-EKQNL6VJ.js → chunk-MFVZXEQN.js} +21 -21
  42. package/dist/bundle/{chunk-IKG2OPHU.js → chunk-MGDBKE7E.js} +6 -6
  43. package/dist/bundle/{chunk-6ZQK3L35.js → chunk-MU4MPJCU.js} +2 -2
  44. package/dist/bundle/{chunk-A36ASW3I.js → chunk-MV5W4FLV.js} +1 -1
  45. package/dist/bundle/{chunk-AGOUP5AH.js → chunk-O7CBAY6J.js} +4 -4
  46. package/dist/bundle/{chunk-I4LXP4HQ.js → chunk-OKERVM3M.js} +4 -4
  47. package/dist/bundle/{chunk-G7K4J3NS.js → chunk-OSPAMIIY.js} +3 -3
  48. package/dist/bundle/{chunk-5WT6SEXS.js → chunk-P3MKPY7D.js} +21 -9
  49. package/dist/bundle/{chunk-PKVXZZTM.js → chunk-P5UTNYA7.js} +2 -2
  50. package/dist/bundle/{chunk-2GEV2TXW.js → chunk-PHP3T567.js} +3 -3
  51. package/dist/bundle/{chunk-OIPJYDLZ.js → chunk-PSJB456T.js} +1 -1
  52. package/dist/bundle/{chunk-65576OCE.js → chunk-RSBROHX4.js} +1 -1
  53. package/dist/bundle/{chunk-NUQ3N3V3.js → chunk-RX6JTLKD.js} +7 -7
  54. package/dist/bundle/{chunk-KGPD3OCD.js → chunk-SR3ZNX24.js} +259 -154
  55. package/dist/bundle/{chunk-NOEXRGYH.js → chunk-T5WGWLY2.js} +10 -10
  56. package/dist/bundle/{chunk-ZVJAZXME.js → chunk-UBZN4EWJ.js} +4 -4
  57. package/dist/bundle/{chunk-OWS67HTV.js → chunk-VBYV6XQI.js} +2 -2
  58. package/dist/bundle/{chunk-ZYQEWB6P.js → chunk-VPCNLTME.js} +2 -2
  59. package/dist/bundle/{chunk-TM6R3Z45.js → chunk-VQTU4ILC.js} +1 -1
  60. package/dist/bundle/{chunk-PBM5GH7S.js → chunk-VXZ7FWKU.js} +2 -2
  61. package/dist/bundle/{chunk-LUHMRW3P.js → chunk-WNQUOEUV.js} +4 -4
  62. package/dist/bundle/{chunk-EQUPZVV6.js → chunk-WXFNUZZU.js} +5 -5
  63. package/dist/bundle/{chunk-TQS6ZKC3.js → chunk-WYZDNDQ5.js} +266 -265
  64. package/dist/bundle/{chunk-U6E3BGHO.js → chunk-ZTM4UUCP.js} +9 -9
  65. package/dist/bundle/{command-contract-7AADJ3UC.js → command-contract-EWPKHGAZ.js} +11 -11
  66. package/dist/bundle/{decode-XMIBTI5O.js → decode-UWT3Y66W.js} +2 -2
  67. package/dist/bundle/{echarts-W7DPDJA5.js → echarts-7VGTR45R.js} +2 -2
  68. package/dist/bundle/{embed-EP3KKO6Y.js → embed-CM2QSTNK.js} +3 -3
  69. package/dist/bundle/{embedder-ENGCALJ7.js → embedder-CDCAMVV7.js} +6 -6
  70. package/dist/bundle/{entry-BGSKREOS.js → entry-WHEWBNJL.js} +4 -4
  71. package/dist/bundle/failure-XQ7TMBYM.js +66 -0
  72. package/dist/bundle/{first-run-4EBMV2EM.js → first-run-ZBIQO5RZ.js} +5 -5
  73. package/dist/bundle/{first-screen-2TM3BF2Y.js → first-screen-CUAY5N6E.js} +12 -12
  74. package/dist/bundle/{instructions-A42XETMK.js → instructions-LYKSTUGQ.js} +1 -1
  75. package/dist/bundle/{mcp-5LAWRSJK.js → mcp-I72UY3QP.js} +35 -35
  76. package/dist/bundle/memo.js +6 -6
  77. package/dist/bundle/{node-IRL66JK2.js → node-LFRTSZBZ.js} +2 -2
  78. package/dist/bundle/{node-sqlite-SOGTH72B.js → node-sqlite-Y47T5FTT.js} +3 -3
  79. package/dist/bundle/{oauth-RB5W3AC7.js → oauth-YM5C6VS3.js} +4 -4
  80. package/dist/bundle/{open-552EJ4JC.js → open-WPA4DW5G.js} +2 -2
  81. package/dist/bundle/{openai-ZLOHEEDH.js → openai-RCPT23DA.js} +7 -7
  82. package/dist/bundle/{process-46SUXGWW.js → process-P2X2KFMR.js} +1 -1
  83. package/dist/bundle/{program-ZLWKMT65.js → program-LE3UATKG.js} +58 -58
  84. package/dist/bundle/{prompt-2NHJSYKX.js → prompt-65WPTVYC.js} +2 -2
  85. package/dist/bundle/{recognize-2LDM6KHL.js → recognize-MEFMK7HT.js} +1 -1
  86. package/dist/bundle/{remote-DBYHHENF.js → remote-4XIR3ZYK.js} +4 -4
  87. package/dist/bundle/{rerank-N5T2TIIY.js → rerank-YRLAXFFL.js} +4 -4
  88. package/dist/bundle/{serve-S6B54R2F.js → serve-6SPZH6CY.js} +6 -6
  89. package/dist/bundle/server-FB75UHSF.js +48 -0
  90. package/dist/bundle/server-IELXA6S2.js +61 -0
  91. package/dist/bundle/{server-QH6AKPRV.js → server-MU43SKL5.js} +50 -50
  92. package/dist/bundle/{state-ZXZGIIJW.js → state-G34NVZ7F.js} +3 -3
  93. package/dist/bundle/{store-PNJNDMQ4.js → store-6U4SYK4Q.js} +17 -9
  94. package/dist/bundle/store-maintenance-command-ONVPBZLT.js +48 -0
  95. package/dist/bundle/update-TO3RIYTH.js +69 -0
  96. package/dist/knowledge/relationships.d.ts +5 -1
  97. package/dist/knowledge/relationships.d.ts.map +1 -1
  98. package/dist/version.d.ts +1 -1
  99. package/dist/version.js +1 -1
  100. package/package.json +2 -2
  101. package/skills/morning-digest/SKILL.md +38 -13
  102. package/dist/bundle/auto-2AY6K6DI.js +0 -86
  103. package/dist/bundle/failure-ZKQVXWAB.js +0 -66
  104. package/dist/bundle/server-KZZHFPTZ.js +0 -61
  105. package/dist/bundle/server-WAIPBBM7.js +0 -48
  106. package/dist/bundle/store-maintenance-command-2ZVV3DGA.js +0 -48
  107. package/dist/bundle/update-6HXLLGTQ.js +0 -69
  108. /package/dist/bundle/{chunk-DPRGC5YX.js → chunk-2H36DXV7.js} +0 -0
@@ -4,10 +4,10 @@ import {
4
4
  readSharedSection,
5
5
  sharedConfigPath,
6
6
  writeSharedSection
7
- } from "./chunk-ZVJAZXME.js";
7
+ } from "./chunk-UBZN4EWJ.js";
8
8
  import {
9
9
  storePath
10
- } from "./chunk-65576OCE.js";
10
+ } from "./chunk-RSBROHX4.js";
11
11
  import {
12
12
  CliError
13
13
  } from "./chunk-4ZW6ZJ2V.js";
@@ -15,7 +15,7 @@ import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
19
19
  var PERMISSION_ANSWERS = ["readonly", "allow"];
20
20
  var QUESTIONS = ["languages", "tools", "permissions"];
21
21
  var SECTION = "setup";
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  decodeOgg
6
- } from "./chunk-2GEV2TXW.js";
6
+ } from "./chunk-PHP3T567.js";
7
7
  import {
8
8
  importFrom
9
9
  } from "./chunk-Y5E2WNWB.js";
@@ -14,7 +14,7 @@ import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/speech/decode.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/speech/decode.js
18
18
  import { spawn } from "node:child_process";
19
19
  import { mkdtemp, rm, writeFile } from "node:fs/promises";
20
20
  import { createRequire } from "node:module";
@@ -4,7 +4,7 @@ import {
4
4
  MAX_SECRET_INPUT,
5
5
  bufferedInput,
6
6
  inputPolicy
7
- } from "./chunk-OIPJYDLZ.js";
7
+ } from "./chunk-PSJB456T.js";
8
8
  import {
9
9
  CliError
10
10
  } from "./chunk-4ZW6ZJ2V.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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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 } = {}) => {
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/ports/app.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/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");
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PRAGMAS
5
- } from "./chunk-A36ASW3I.js";
5
+ } from "./chunk-MV5W4FLV.js";
6
6
  import {
7
7
  CliError
8
8
  } from "./chunk-4ZW6ZJ2V.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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
14
14
  var SQLITE_WARNING = "SQLite is an experimental feature";
15
15
  var quieted = /* @__PURE__ */ new WeakSet();
16
16
  var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
@@ -31,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
31
31
  return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
32
32
  }, "isSqliteWarning");
33
33
 
34
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/store/open.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/store/open.js
35
35
  var openCache = /* @__PURE__ */ __name(async (path) => {
36
36
  const database = await openFile(path);
37
37
  try {
@@ -44,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
44
44
  }, "openCache");
45
45
  var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
46
46
  var openUnderBun = /* @__PURE__ */ __name(async (path) => {
47
- const { openWithBunSqlite } = await import("./bun-sqlite-GWVRHYF4.js");
47
+ const { openWithBunSqlite } = await import("./bun-sqlite-T2CTJ6AR.js");
48
48
  return await openWithBunSqlite(path);
49
49
  }, "openUnderBun");
50
50
  var openUnderNode = /* @__PURE__ */ __name(async (path) => {
51
51
  quietSqliteWarning();
52
- const { openWithNodeSqlite } = await import("./node-sqlite-SOGTH72B.js");
52
+ const { openWithNodeSqlite } = await import("./node-sqlite-Y47T5FTT.js");
53
53
  return openWithNodeSqlite(path);
54
54
  }, "openUnderNode");
55
55
  var runtime = /* @__PURE__ */ __name(() => {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
8
8
  var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
9
9
  const all = typeof profile !== "string";
10
10
  const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/background/processes.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/background/processes.js
8
8
  import { execFileSync } from "node:child_process";
9
9
  import { readdirSync, readFileSync, readlinkSync } from "node:fs";
10
10
  var alive = /* @__PURE__ */ __name((pid) => {
@@ -7,10 +7,10 @@ import {
7
7
  agentJson,
8
8
  commandAvailability,
9
9
  failureContext
10
- } from "./chunk-5WT6SEXS.js";
10
+ } from "./chunk-P3MKPY7D.js";
11
11
  import {
12
12
  callerOf
13
- } from "./chunk-IALGFO44.js";
13
+ } from "./chunk-GESLAB4N.js";
14
14
  import {
15
15
  QUERY_ARGUMENT,
16
16
  lentConnection,
@@ -18,7 +18,7 @@ import {
18
18
  refuseLacking,
19
19
  servicesFor,
20
20
  storeModeDeps
21
- } from "./chunk-TQS6ZKC3.js";
21
+ } from "./chunk-WYZDNDQ5.js";
22
22
  import {
23
23
  DEFAULT_OUTPUT_BYTES,
24
24
  ENTITIES,
@@ -42,22 +42,22 @@ import {
42
42
  sealed,
43
43
  startRecording,
44
44
  traceOf
45
- } from "./chunk-FWCFEJWD.js";
45
+ } from "./chunk-IRFHHNSX.js";
46
46
  import {
47
47
  currentCaller,
48
48
  keepsSuccess,
49
49
  runContextOf,
50
50
  withCaller
51
- } from "./chunk-IKG2OPHU.js";
51
+ } from "./chunk-MGDBKE7E.js";
52
52
  import {
53
53
  queryDescription
54
- } from "./chunk-KGPD3OCD.js";
54
+ } from "./chunk-SR3ZNX24.js";
55
55
  import {
56
56
  storeDamaged
57
- } from "./chunk-PKVXZZTM.js";
57
+ } from "./chunk-P5UTNYA7.js";
58
58
  import {
59
59
  MAX_BUFFERED_INPUT
60
- } from "./chunk-OIPJYDLZ.js";
60
+ } from "./chunk-PSJB456T.js";
61
61
  import {
62
62
  captureStreams,
63
63
  traceIdOf
@@ -109,7 +109,7 @@ import {
109
109
  __name
110
110
  } from "./chunk-ZVVMGPBJ.js";
111
111
 
112
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/mcp/agent.js
112
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/mcp/agent.js
113
113
  import { Readable } from "node:stream";
114
114
 
115
115
  // node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
@@ -3106,7 +3106,7 @@ var VOCABULARY = defineVocabulary({
3106
3106
  ]
3107
3107
  });
3108
3108
 
3109
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3109
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3110
3110
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
3111
3111
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
3112
3112
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -3329,7 +3329,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
3329
3329
  }
3330
3330
  }, "runCommandForAgent");
3331
3331
 
3332
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3332
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3333
3333
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
3334
3334
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
3335
3335
  var message = pipe(
@@ -3588,7 +3588,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
3588
3588
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
3589
3589
  }, "failed");
3590
3590
 
3591
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3591
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3592
3592
  import { randomUUID } from "node:crypto";
3593
3593
  var MATCHES = 8;
3594
3594
  var ANSWER = answerSchema();
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/http/public-url.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/http/public-url.js
11
11
  var EXAMPLE = "--public-url https://<name>.ts.net";
12
12
  var publicUrlOf = /* @__PURE__ */ __name((given, { missing, reaches, path = false }) => {
13
13
  if (!given)
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answerOf,
5
5
  messengerContext
6
- } from "./chunk-EKQNL6VJ.js";
6
+ } from "./chunk-MFVZXEQN.js";
7
7
  import {
8
8
  FETCHING,
9
9
  QUICK_HEALTH_CHECKS,
@@ -29,7 +29,7 @@ import {
29
29
  typedQuery,
30
30
  withQuery,
31
31
  withTimeLimit
32
- } from "./chunk-TQS6ZKC3.js";
32
+ } from "./chunk-WYZDNDQ5.js";
33
33
  import {
34
34
  stringWidth,
35
35
  wrapAnsi
@@ -61,20 +61,20 @@ import {
61
61
  snakeKeys,
62
62
  storeTable,
63
63
  withoutProviderRefs
64
- } from "./chunk-FWCFEJWD.js";
64
+ } from "./chunk-IRFHHNSX.js";
65
65
  import {
66
66
  envName
67
- } from "./chunk-G52Y3KOO.js";
67
+ } from "./chunk-6NJ5OI2S.js";
68
68
  import {
69
69
  holdLock,
70
70
  lockPath,
71
71
  releaseLock,
72
72
  servingProfiles,
73
73
  takeLock
74
- } from "./chunk-6ZQK3L35.js";
74
+ } from "./chunk-MU4MPJCU.js";
75
75
  import {
76
76
  holdersOf
77
- } from "./chunk-6GF4TIVM.js";
77
+ } from "./chunk-AYY5CYJJ.js";
78
78
  import {
79
79
  CORPORA,
80
80
  MIGRATIONS,
@@ -110,35 +110,35 @@ import {
110
110
  storeClients,
111
111
  storeContents,
112
112
  vectorIndexCounts
113
- } from "./chunk-AU5GAMGM.js";
113
+ } from "./chunk-4335SGVD.js";
114
114
  import {
115
115
  queryFieldsOf,
116
116
  readDamageMark,
117
117
  readHealthMark,
118
118
  recordDeepCheck
119
- } from "./chunk-KGPD3OCD.js";
119
+ } from "./chunk-SR3ZNX24.js";
120
120
  import {
121
121
  failureKey,
122
122
  isStoreDamage
123
- } from "./chunk-PKVXZZTM.js";
123
+ } from "./chunk-P5UTNYA7.js";
124
124
  import {
125
125
  readSecret
126
- } from "./chunk-S7X5ZMQN.js";
126
+ } from "./chunk-643B3X4D.js";
127
127
  import {
128
128
  checkedOptions,
129
129
  range
130
- } from "./chunk-EEEZGK2J.js";
130
+ } from "./chunk-2NVP4FZH.js";
131
131
  import {
132
132
  messagesFor,
133
133
  systemFor,
134
134
  validateImages
135
- } from "./chunk-XIHQOSCT.js";
135
+ } from "./chunk-KTVYCPJW.js";
136
136
  import {
137
137
  storePath
138
- } from "./chunk-65576OCE.js";
138
+ } from "./chunk-RSBROHX4.js";
139
139
  import {
140
140
  openCache
141
- } from "./chunk-X6XIW76O.js";
141
+ } from "./chunk-7ZO2LAFF.js";
142
142
  import {
143
143
  Credentials,
144
144
  pathsAreOverridden,
@@ -5513,11 +5513,11 @@ var require_liquid_node = __commonJS({
5513
5513
  }
5514
5514
  });
5515
5515
 
5516
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5516
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5517
5517
  import { chmodSync, constants, copyFileSync, existsSync as existsSync9, mkdirSync, realpathSync as realpathSync2, renameSync as renameSync3, rmSync as rmSync3, statfsSync as statfsSync2, statSync as statSync4, writeFileSync as writeFileSync2 } from "node:fs";
5518
5518
  import { dirname as dirname2, resolve } from "node:path";
5519
5519
 
5520
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/sealed.js
5520
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/sealed.js
5521
5521
  import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
5522
5522
  import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
5523
5523
  import { Transform } from "node:stream";
@@ -5624,7 +5624,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
5624
5624
  renameSync(pending, to);
5625
5625
  }, "unsealFile");
5626
5626
 
5627
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5627
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5628
5628
  var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
5629
5629
  var fileSchemaOf = /* @__PURE__ */ __name((database) => {
5630
5630
  const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
@@ -5648,7 +5648,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
5648
5648
  };
5649
5649
  }, "compatibilityOf");
5650
5650
 
5651
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/store/repair.js
5651
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/store/repair.js
5652
5652
  import { createHash as createHash2 } from "node:crypto";
5653
5653
  var COPY_MARK = "__repair_";
5654
5654
  var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
@@ -5902,13 +5902,13 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
5902
5902
  return found;
5903
5903
  }, "deleteCopy");
5904
5904
 
5905
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5905
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5906
5906
  import { existsSync as existsSync4, statSync as statSync3 } from "node:fs";
5907
5907
 
5908
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
5908
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
5909
5909
  import { existsSync as existsSync3 } from "node:fs";
5910
5910
 
5911
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/store/recover.js
5911
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/store/recover.js
5912
5912
  import { execFileSync, spawn } from "node:child_process";
5913
5913
  import { existsSync as existsSync2, readFileSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync2, writeFileSync } from "node:fs";
5914
5914
  import { basename, dirname, join } from "node:path";
@@ -6305,7 +6305,7 @@ var recoverLocked = /* @__PURE__ */ __name(async ({ path, command, version, sqli
6305
6305
  }
6306
6306
  }, "recoverLocked");
6307
6307
 
6308
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
6308
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
6309
6309
  var COUNTED = [
6310
6310
  "accounts",
6311
6311
  "chats",
@@ -6438,7 +6438,7 @@ var storeRecoverCommand = /* @__PURE__ */ __name(({ command, version }) => {
6438
6438
  return recover;
6439
6439
  }, "storeRecoverCommand");
6440
6440
 
6441
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/store-info.js
6441
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/store-info.js
6442
6442
  var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
6443
6443
  var bytesOf = /* @__PURE__ */ __name((path) => existsSync4(path) ? statSync3(path).size : 0, "bytesOf");
6444
6444
  var messageOf = /* @__PURE__ */ __name((error) => error instanceof Error ? error.message : String(error), "messageOf");
@@ -6484,7 +6484,7 @@ var storeInfoCommand = /* @__PURE__ */ __name(() => annotate(new Command("info")
6484
6484
  renderAnswer(this, outputFor(this), itemOf(answer));
6485
6485
  }), "storeInfoCommand");
6486
6486
 
6487
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
6487
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
6488
6488
  var ENCRYPT_OPTION = [
6489
6489
  "--encrypt",
6490
6490
  "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"
@@ -6503,7 +6503,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
6503
6503
  return password;
6504
6504
  }, "passwordOf");
6505
6505
 
6506
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/replies/rules.js
6506
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/replies/rules.js
6507
6507
  import { existsSync as existsSync5, readFileSync as readFileSync2 } from "node:fs";
6508
6508
  import { join as join2 } from "node:path";
6509
6509
  var REPLY_ACTIONS = ["reply", "task"];
@@ -6674,7 +6674,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
6674
6674
  }, "problem");
6675
6675
  var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
6676
6676
 
6677
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/replies/state.js
6677
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/replies/state.js
6678
6678
  import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
6679
6679
  import { join as join3 } from "node:path";
6680
6680
  var ANSWERED_KEPT = 1e3;
@@ -6727,7 +6727,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
6727
6727
  }, "recordReply");
6728
6728
  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");
6729
6729
 
6730
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/replies/decide.js
6730
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/replies/decide.js
6731
6731
  var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
6732
6732
  var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
6733
6733
  const { message, chat, owner, sender } = incoming;
@@ -6833,7 +6833,7 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
6833
6833
  return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
6834
6834
  }, "filled");
6835
6835
 
6836
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/replies/template.js
6836
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/replies/template.js
6837
6837
  var import_liquidjs = __toESM(require_liquid_node(), 1);
6838
6838
  var TEMPLATE_LIMITS = {
6839
6839
  parse: 32768,
@@ -6993,7 +6993,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
6993
6993
  }
6994
6994
  }, "renderReplyTemplate");
6995
6995
 
6996
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
6996
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
6997
6997
  var DRY_RUN_DAYS = 7;
6998
6998
  var PAGE = 500;
6999
6999
  var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
@@ -7107,7 +7107,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
7107
7107
  }
7108
7108
  }, "storedSince");
7109
7109
 
7110
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
7110
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
7111
7111
  var endpointKeyName = /* @__PURE__ */ __name((baseUrl) => {
7112
7112
  const host = new URL(baseUrl).host;
7113
7113
  return ["openai", "anthropic"].includes(host) ? `endpoint:${host}` : host;
@@ -7138,7 +7138,7 @@ var embeddingKeys = /* @__PURE__ */ __name((app, env = process.env, keyring) =>
7138
7138
  };
7139
7139
  }, "embeddingKeys");
7140
7140
 
7141
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/models/openai.js
7141
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/models/openai.js
7142
7142
  var options = strictObject({
7143
7143
  temperature: range(0, 2),
7144
7144
  top_p: range(0, 1),
@@ -7187,7 +7187,7 @@ var openai = {
7187
7187
  }), "complete")
7188
7188
  };
7189
7189
 
7190
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/models/index.js
7190
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/models/index.js
7191
7191
  var modelGateway = /* @__PURE__ */ __name((deps) => ({
7192
7192
  complete: /* @__PURE__ */ __name(async (request) => {
7193
7193
  if (deps.signal?.aborted)
@@ -7202,7 +7202,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
7202
7202
  if (!adapter && target.provider === "openai")
7203
7203
  adapter = openai;
7204
7204
  if (!adapter && target.provider === "anthropic")
7205
- adapter = (await import("./anthropic-UG2YHOT7.js")).anthropic;
7205
+ adapter = (await import("./anthropic-ZUDIWREK.js")).anthropic;
7206
7206
  if (!adapter)
7207
7207
  throw new CliError("validation_error", `no model adapter for ${target.provider}`);
7208
7208
  if (request.images !== void 0 && adapter.images !== true)
@@ -7243,7 +7243,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
7243
7243
  }, "complete")
7244
7244
  }), "modelGateway");
7245
7245
 
7246
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/replies/consents.js
7246
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/replies/consents.js
7247
7247
  import { existsSync as existsSync7, readFileSync as readFileSync4 } from "node:fs";
7248
7248
  import { join as join4 } from "node:path";
7249
7249
  var shape = strictObject({
@@ -7268,7 +7268,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
7268
7268
  return consent.provider === provider && !consent.deniedChats.includes(chat);
7269
7269
  }, "mayModelReply");
7270
7270
 
7271
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/replies/rendering.js
7271
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/replies/rendering.js
7272
7272
  var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options2 = {
7273
7273
  ai: true
7274
7274
  }) => async (rule2, message, chat, now) => {
@@ -7315,7 +7315,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
7315
7315
  return result2;
7316
7316
  }, "replyRenderer");
7317
7317
 
7318
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/replies/serve.js
7318
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/replies/serve.js
7319
7319
  var NOT_ALLOWED = "replies.send is not allow";
7320
7320
  var NO_RULES = "no rules";
7321
7321
  var ONLY_TASK = "opened a task, sent nothing";
@@ -7408,7 +7408,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
7408
7408
  return { skip: why };
7409
7409
  }, "replyTo");
7410
7410
 
7411
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
7411
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
7412
7412
  var START_SYNC_DELAY_MS = 3e4;
7413
7413
  var START_SYNC_BUDGET_MS = 5 * 6e4;
7414
7414
  var START_SYNC_WINDOW_MS = 7 * 864e5;
@@ -7485,7 +7485,7 @@ var startSync = /* @__PURE__ */ __name(({ chats, newestHeld, fetch: fetch2, note
7485
7485
  };
7486
7486
  }, "startSync");
7487
7487
 
7488
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
7488
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
7489
7489
  var FIRST_FETCH_MS = 6e4;
7490
7490
  var DAY_MS = 864e5;
7491
7491
  var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch: fetch2, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
@@ -7539,7 +7539,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch: fetch2, warn, fi
7539
7539
  };
7540
7540
  }, "memberFetches");
7541
7541
 
7542
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
7542
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
7543
7543
  var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
7544
7544
  var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
7545
7545
  if (context.format === "pretty") {
@@ -7572,7 +7572,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
7572
7572
  return context;
7573
7573
  }, "recordDiagnostics");
7574
7574
 
7575
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
7575
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
7576
7576
  var STEMS_EVERY_MS = 3e4;
7577
7577
  var STEMS_SLICE_MS = 2e3;
7578
7578
  var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
@@ -7612,7 +7612,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
7612
7612
  };
7613
7613
  }, "stemFills");
7614
7614
 
7615
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/render/messages.js
7615
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/render/messages.js
7616
7616
  import { styleText } from "node:util";
7617
7617
  var TIME_WIDTH = 8;
7618
7618
  var INDENT = " ".repeat(TIME_WIDTH + 2);
@@ -7788,7 +7788,7 @@ var editedAt = /* @__PURE__ */ __name((message, options2) => {
7788
7788
  return day(edited) === day(message.timestamp) ? time : `${day(edited)} ${time}`;
7789
7789
  }, "editedAt");
7790
7790
 
7791
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
7791
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
7792
7792
  var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
7793
7793
  var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
7794
7794
  kind: attachment.kind,
@@ -7883,7 +7883,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
7883
7883
  locale: messenger.app.locale
7884
7884
  }), "viewOf");
7885
7885
 
7886
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
7886
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
7887
7887
  var observed = /* @__PURE__ */ __name((value) => ({
7888
7888
  value: value.value,
7889
7889
  observed_at: value.observedAt,
@@ -7950,7 +7950,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
7950
7950
  }
7951
7951
  }, "watchEventItem");
7952
7952
 
7953
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
7953
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
7954
7954
  var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
7955
7955
  output: { entity: "watch_item" },
7956
7956
  effects: REMOTE_READ,
@@ -8105,7 +8105,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
8105
8105
  }
8106
8106
  }, "describe");
8107
8107
 
8108
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
8108
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
8109
8109
  var serveCommand = /* @__PURE__ */ __name((messenger) => {
8110
8110
  const command = annotate(new Command("serve"), {
8111
8111
  output: { entity: "serve_summary" },
@@ -8369,7 +8369,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
8369
8369
  };
8370
8370
  }, "tasking");
8371
8371
 
8372
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
8372
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
8373
8373
  import { existsSync as existsSync8 } from "node:fs";
8374
8374
  var PATH = "store tables list";
8375
8375
  var STORE_TABLES_QUERY = {
@@ -8412,7 +8412,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((messenger) => {
8412
8412
  return tables;
8413
8413
  }, "storeTablesCommand");
8414
8414
 
8415
- // node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
8415
+ // node_modules/.pnpm/@wirecat+cli-core@0.606.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_66b8ac22c245eeaba8c329faa5b17078/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
8416
8416
  var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
8417
8417
  var WORD_INDEX = "message_words";
8418
8418
  var schemaOf = /* @__PURE__ */ __name((database) => {