@wirecat/cli-memo 0.131.26 → 0.131.27

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 (105) hide show
  1. package/dist/bin/memo.js +2 -2
  2. package/dist/bundle/{all-profiles-VULFSNYE.js → all-profiles-647KYOE7.js} +5 -5
  3. package/dist/bundle/{anthropic-VXQ6ST2U.js → anthropic-NOWJG7LX.js} +3 -3
  4. package/dist/bundle/{app-server-HQPELIPY.js → app-server-4TSS6HOH.js} +35 -35
  5. package/dist/bundle/auto-SMKS3KCQ.js +86 -0
  6. package/dist/bundle/{bun-2NMWL5YB.js → bun-SWGUWWHN.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-CT544OXO.js → bun-sqlite-KUF25XNM.js} +2 -2
  8. package/dist/bundle/{chunk-Z3YGDBBS.js → chunk-277JL5QO.js} +2 -2
  9. package/dist/bundle/{chunk-TXANQZEG.js → chunk-2HRV2SUN.js} +2 -2
  10. package/dist/bundle/{chunk-KTDNFSXC.js → chunk-2KFZT2MK.js} +20 -20
  11. package/dist/bundle/{chunk-IUM5XZWV.js → chunk-3H63BAA7.js} +5 -5
  12. package/dist/bundle/{chunk-GJBK3M6X.js → chunk-3RTD2FXB.js} +4 -4
  13. package/dist/bundle/{chunk-H6O6IQND.js → chunk-4GTDOWNP.js} +3 -3
  14. package/dist/bundle/{chunk-KFDPW2AR.js → chunk-4PTLLGIF.js} +2 -2
  15. package/dist/bundle/{chunk-IJ34FAES.js → chunk-4XVTVA5Z.js} +11 -11
  16. package/dist/bundle/{chunk-QKQ7A4L7.js → chunk-6PO6LLZN.js} +43 -43
  17. package/dist/bundle/{chunk-WRZ7JDA2.js → chunk-7ABYQEQY.js} +5 -5
  18. package/dist/bundle/{chunk-TPFWNOPG.js → chunk-7HXD23I5.js} +4 -4
  19. package/dist/bundle/{chunk-7ISENDNK.js → chunk-7PP2OPRA.js} +10 -10
  20. package/dist/bundle/{chunk-PWA3RNXN.js → chunk-ALCQJ2D6.js} +256 -256
  21. package/dist/bundle/{chunk-MQAHMAJB.js → chunk-AQXN7AWH.js} +1 -1
  22. package/dist/bundle/{chunk-GOEHJK2R.js → chunk-AVYITNNS.js} +4 -4
  23. package/dist/bundle/{chunk-YFBKS5BW.js → chunk-D7UEU66D.js} +2 -2
  24. package/dist/bundle/{chunk-OYB3FUYQ.js → chunk-FTT5JNPN.js} +1 -1
  25. package/dist/bundle/{chunk-KMZRXGTF.js → chunk-FVBTAXCS.js} +1 -1
  26. package/dist/bundle/{chunk-DUHXWFCB.js → chunk-GZ2HIVBB.js} +4 -4
  27. package/dist/bundle/{chunk-VL3YCTZD.js → chunk-INCTLKHJ.js} +6 -6
  28. package/dist/bundle/{chunk-BO4FN4UB.js → chunk-IVYNJMBN.js} +2 -2
  29. package/dist/bundle/{chunk-CW3NJ764.js → chunk-JLYGDM36.js} +4 -4
  30. package/dist/bundle/{chunk-3ZJE5TIG.js → chunk-JQTPWAJM.js} +1 -1
  31. package/dist/bundle/{chunk-ARDUJR5Z.js → chunk-JRQUM4HZ.js} +1 -1
  32. package/dist/bundle/{chunk-4ENVJFRM.js → chunk-K2ZWI2KJ.js} +27 -27
  33. package/dist/bundle/{chunk-254TXVLA.js → chunk-KDIDLXLG.js} +1 -1
  34. package/dist/bundle/{chunk-7LMTWOTP.js → chunk-L57US5PR.js} +1 -1
  35. package/dist/bundle/{chunk-A4NZ2XOG.js → chunk-LAWSSPON.js} +7 -7
  36. package/dist/bundle/{chunk-CRC3AW6N.js → chunk-NA3MERUP.js} +2 -2
  37. package/dist/bundle/{chunk-2ND2XYME.js → chunk-NANQLIUH.js} +24 -16
  38. package/dist/bundle/{chunk-NH2JSH24.js → chunk-NBHAXVJA.js} +4 -4
  39. package/dist/bundle/{chunk-HN3EDDVX.js → chunk-NKS7MU3Z.js} +12 -12
  40. package/dist/bundle/{chunk-FHY664YS.js → chunk-OGWZPUAJ.js} +3 -3
  41. package/dist/bundle/{chunk-A6PITALJ.js → chunk-OQA75YT2.js} +1 -1
  42. package/dist/bundle/{chunk-UZXCBBDC.js → chunk-PNMBUOAD.js} +9 -9
  43. package/dist/bundle/{chunk-5FPQGUJA.js → chunk-QALA4JZO.js} +1 -1
  44. package/dist/bundle/{chunk-HVVBSM2C.js → chunk-QDXZCKBH.js} +245 -245
  45. package/dist/bundle/{chunk-6TJCRDNZ.js → chunk-QTKL3E4W.js} +3 -3
  46. package/dist/bundle/{chunk-BELLQAWL.js → chunk-RCGI5XSZ.js} +7 -7
  47. package/dist/bundle/{chunk-DKKWZMR7.js → chunk-RO44PMBO.js} +1 -1
  48. package/dist/bundle/{chunk-SY7M2DLJ.js → chunk-RXRKPXFI.js} +8 -8
  49. package/dist/bundle/{chunk-3CVDHJER.js → chunk-SASHDBYJ.js} +1 -1
  50. package/dist/bundle/{chunk-AGMYCYSG.js → chunk-T3T4LL6R.js} +150 -150
  51. package/dist/bundle/{chunk-LJZFMXDC.js → chunk-T5FFN7L2.js} +20 -20
  52. package/dist/bundle/{chunk-S3RBWUUA.js → chunk-UM5T2ENH.js} +5 -5
  53. package/dist/bundle/{chunk-XKGXVVYV.js → chunk-VTNQI5LA.js} +4 -4
  54. package/dist/bundle/{chunk-ZR3BPBS6.js → chunk-VUEIWP2Z.js} +7 -7
  55. package/dist/bundle/{chunk-QFW4MJIH.js → chunk-WQ7A4VOG.js} +51 -51
  56. package/dist/bundle/{chunk-NAM2Y63Z.js → chunk-WYUAAPPV.js} +2 -2
  57. package/dist/bundle/{chunk-M6O4DH5F.js → chunk-X3JNTSNP.js} +1 -1
  58. package/dist/bundle/{chunk-J57DDKF4.js → chunk-XA3WEWYH.js} +1 -1
  59. package/dist/bundle/{chunk-GPYGMETC.js → chunk-XPVDHJTX.js} +445 -300
  60. package/dist/bundle/{chunk-CUWI6JIX.js → chunk-YEO3ZQ5M.js} +5 -5
  61. package/dist/bundle/{chunk-TKVRZZE3.js → chunk-YMER5NPZ.js} +1 -1
  62. package/dist/bundle/{chunk-M4QN77GH.js → chunk-Z3GKXASH.js} +3 -3
  63. package/dist/bundle/{chunk-6PRRZC7Z.js → chunk-ZAEDCOUL.js} +1 -1
  64. package/dist/bundle/{chunk-LMN7SYX4.js → chunk-ZQKHD3GK.js} +1 -1
  65. package/dist/bundle/{command-contract-RQMIQKBS.js → command-contract-YC6GN4LE.js} +11 -11
  66. package/dist/bundle/{decode-7VB3CHK2.js → decode-JK4V5ELR.js} +2 -2
  67. package/dist/bundle/{echarts-45D6USAX.js → echarts-6ATB3IFR.js} +2 -2
  68. package/dist/bundle/{embed-KU2RGB24.js → embed-ILN7JTHX.js} +3 -3
  69. package/dist/bundle/{embedder-E7YZDZ5Y.js → embedder-AJTL34NF.js} +6 -6
  70. package/dist/bundle/{entry-N42HJMIN.js → entry-L4LM4I5G.js} +4 -4
  71. package/dist/bundle/failure-D2CAKLEH.js +66 -0
  72. package/dist/bundle/{first-run-Y5YNAAO3.js → first-run-TRHR3KN2.js} +5 -5
  73. package/dist/bundle/{first-screen-SNPGBQFZ.js → first-screen-NMXBV2SG.js} +12 -12
  74. package/dist/bundle/{instructions-6EFSPC7C.js → instructions-UMFMBSXN.js} +1 -1
  75. package/dist/bundle/{mcp-6Z7UKX7E.js → mcp-I6LDWXA6.js} +35 -35
  76. package/dist/bundle/memo.js +6 -6
  77. package/dist/bundle/{node-OXC26QXO.js → node-MFZOUE2C.js} +2 -2
  78. package/dist/bundle/{node-sqlite-FNTICDEN.js → node-sqlite-DRRK6O26.js} +3 -3
  79. package/dist/bundle/{oauth-4JFOFCBB.js → oauth-FZNU6S32.js} +4 -4
  80. package/dist/bundle/{open-WXFCCY7S.js → open-GZGUXW5N.js} +2 -2
  81. package/dist/bundle/{openai-TPQKQNM7.js → openai-KGGTVDRL.js} +7 -7
  82. package/dist/bundle/{process-YWPAOI6G.js → process-VDZ2QZQD.js} +1 -1
  83. package/dist/bundle/{program-WFUPN7XO.js → program-VEY6JNB2.js} +77 -77
  84. package/dist/bundle/{prompt-HJUH4EP4.js → prompt-TQ6WRJWG.js} +2 -2
  85. package/dist/bundle/{recognize-DAIRHALM.js → recognize-ZVSPBMV2.js} +1 -1
  86. package/dist/bundle/{remote-MJLWTLAX.js → remote-XYRV66J3.js} +4 -4
  87. package/dist/bundle/{rerank-VAK5HSJE.js → rerank-C3OK7FEJ.js} +4 -4
  88. package/dist/bundle/{serve-M2A66WOW.js → serve-DUV2FO4T.js} +6 -6
  89. package/dist/bundle/server-5NDIMIA5.js +48 -0
  90. package/dist/bundle/{server-NN2CBVSX.js → server-E5YAVN5F.js} +50 -50
  91. package/dist/bundle/server-VZ7LFLS6.js +61 -0
  92. package/dist/bundle/{state-6TBUXJOX.js → state-NLAZ7OYD.js} +3 -3
  93. package/dist/bundle/{store-TJCL3QBY.js → store-Y4BME65D.js} +9 -9
  94. package/dist/bundle/store-maintenance-command-BOITCFBL.js +48 -0
  95. package/dist/bundle/update-ZUYIFRFD.js +69 -0
  96. package/dist/version.d.ts +1 -1
  97. package/dist/version.js +1 -1
  98. package/package.json +2 -2
  99. package/dist/bundle/auto-3R4RFJGK.js +0 -86
  100. package/dist/bundle/failure-R355OCVE.js +0 -66
  101. package/dist/bundle/server-33FB7QXW.js +0 -48
  102. package/dist/bundle/server-AIPDQO57.js +0 -61
  103. package/dist/bundle/store-maintenance-command-NKJV5A3G.js +0 -48
  104. package/dist/bundle/update-OXR3SNM2.js +0 -69
  105. /package/dist/bundle/{chunk-DF7NE4ZG.js → chunk-DDUSDQJ6.js} +0 -0
@@ -7,10 +7,10 @@ import {
7
7
  agentJson,
8
8
  commandAvailability,
9
9
  failureContext
10
- } from "./chunk-2ND2XYME.js";
10
+ } from "./chunk-NANQLIUH.js";
11
11
  import {
12
12
  callerOf
13
- } from "./chunk-KFDPW2AR.js";
13
+ } from "./chunk-4PTLLGIF.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-PWA3RNXN.js";
21
+ } from "./chunk-ALCQJ2D6.js";
22
22
  import {
23
23
  DEFAULT_OUTPUT_BYTES,
24
24
  ENTITIES,
@@ -42,19 +42,19 @@ import {
42
42
  sealed,
43
43
  startRecording,
44
44
  traceOf
45
- } from "./chunk-AGMYCYSG.js";
45
+ } from "./chunk-T3T4LL6R.js";
46
46
  import {
47
47
  currentCaller,
48
48
  keepsSuccess,
49
49
  runContextOf,
50
50
  withCaller
51
- } from "./chunk-BELLQAWL.js";
51
+ } from "./chunk-RCGI5XSZ.js";
52
52
  import {
53
53
  queryDescription
54
- } from "./chunk-QFW4MJIH.js";
54
+ } from "./chunk-WQ7A4VOG.js";
55
55
  import {
56
56
  MAX_BUFFERED_INPUT
57
- } from "./chunk-DKKWZMR7.js";
57
+ } from "./chunk-RO44PMBO.js";
58
58
  import {
59
59
  captureStreams,
60
60
  traceIdOf
@@ -106,7 +106,7 @@ import {
106
106
  __name
107
107
  } from "./chunk-ZVVMGPBJ.js";
108
108
 
109
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/agent.js
109
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mcp/agent.js
110
110
  import { Readable } from "node:stream";
111
111
 
112
112
  // node_modules/.pnpm/@wirecat+cli-base@0.77.1_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
@@ -2853,7 +2853,7 @@ var VOCABULARY = defineVocabulary({
2853
2853
  flags: [...HOW_FLAGS, ...WHAT_FLAGS, ...CALENDAR_FLAGS, ...MAIL_FLAGS]
2854
2854
  });
2855
2855
 
2856
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2856
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2857
2857
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
2858
2858
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
2859
2859
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -3076,7 +3076,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
3076
3076
  }
3077
3077
  }, "runCommandForAgent");
3078
3078
 
3079
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3079
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3080
3080
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
3081
3081
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
3082
3082
  var message = pipe(
@@ -3335,7 +3335,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
3335
3335
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
3336
3336
  }, "failed");
3337
3337
 
3338
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3338
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3339
3339
  import { randomUUID } from "node:crypto";
3340
3340
  var MATCHES = 8;
3341
3341
  var ANSWER = answerSchema();
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answerOf,
5
5
  messengerContext
6
- } from "./chunk-LJZFMXDC.js";
6
+ } from "./chunk-T5FFN7L2.js";
7
7
  import {
8
8
  FETCHING,
9
9
  RULES_VERSION,
@@ -23,7 +23,7 @@ import {
23
23
  syncsOneChat,
24
24
  typedQuery,
25
25
  withQuery
26
- } from "./chunk-PWA3RNXN.js";
26
+ } from "./chunk-ALCQJ2D6.js";
27
27
  import {
28
28
  stringWidth,
29
29
  wrapAnsi
@@ -55,23 +55,23 @@ import {
55
55
  snakeKeys,
56
56
  storeTable,
57
57
  withoutProviderRefs
58
- } from "./chunk-AGMYCYSG.js";
58
+ } from "./chunk-T3T4LL6R.js";
59
59
  import {
60
60
  failureKey
61
- } from "./chunk-BELLQAWL.js";
61
+ } from "./chunk-RCGI5XSZ.js";
62
62
  import {
63
63
  envName
64
- } from "./chunk-A6PITALJ.js";
64
+ } from "./chunk-OQA75YT2.js";
65
65
  import {
66
66
  holdLock,
67
67
  lockPath,
68
68
  releaseLock,
69
69
  servingProfiles,
70
70
  takeLock
71
- } from "./chunk-BO4FN4UB.js";
71
+ } from "./chunk-IVYNJMBN.js";
72
72
  import {
73
73
  holdersOf
74
- } from "./chunk-3CVDHJER.js";
74
+ } from "./chunk-SASHDBYJ.js";
75
75
  import {
76
76
  MIGRATIONS,
77
77
  drainNoteIndex,
@@ -100,28 +100,28 @@ import {
100
100
  storeClients,
101
101
  storeContents,
102
102
  vectorIndexCounts
103
- } from "./chunk-GPYGMETC.js";
103
+ } from "./chunk-XPVDHJTX.js";
104
104
  import {
105
105
  queryFieldsOf
106
- } from "./chunk-QFW4MJIH.js";
106
+ } from "./chunk-WQ7A4VOG.js";
107
107
  import {
108
108
  readSecret
109
- } from "./chunk-NAM2Y63Z.js";
109
+ } from "./chunk-WYUAAPPV.js";
110
110
  import {
111
111
  checkedOptions,
112
112
  range
113
- } from "./chunk-6PRRZC7Z.js";
113
+ } from "./chunk-ZAEDCOUL.js";
114
114
  import {
115
115
  messagesFor,
116
116
  systemFor,
117
117
  validateImages
118
- } from "./chunk-3ZJE5TIG.js";
118
+ } from "./chunk-JQTPWAJM.js";
119
119
  import {
120
120
  storePath
121
- } from "./chunk-MQAHMAJB.js";
121
+ } from "./chunk-AQXN7AWH.js";
122
122
  import {
123
123
  openCache
124
- } from "./chunk-CUWI6JIX.js";
124
+ } from "./chunk-YEO3ZQ5M.js";
125
125
  import {
126
126
  Credentials,
127
127
  pathsAreOverridden,
@@ -5496,11 +5496,11 @@ var require_liquid_node = __commonJS({
5496
5496
  }
5497
5497
  });
5498
5498
 
5499
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5499
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5500
5500
  import { chmodSync, constants, copyFileSync, existsSync as existsSync7, mkdirSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync3, writeFileSync } from "node:fs";
5501
5501
  import { dirname, resolve } from "node:path";
5502
5502
 
5503
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/sealed.js
5503
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/sealed.js
5504
5504
  import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
5505
5505
  import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
5506
5506
  import { Transform } from "node:stream";
@@ -5607,7 +5607,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
5607
5607
  renameSync(pending, to);
5608
5608
  }, "unsealFile");
5609
5609
 
5610
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5610
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5611
5611
  var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
5612
5612
  var fileSchemaOf = /* @__PURE__ */ __name((database) => {
5613
5613
  const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
@@ -5631,7 +5631,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
5631
5631
  };
5632
5632
  }, "compatibilityOf");
5633
5633
 
5634
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/store/repair.js
5634
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/store/repair.js
5635
5635
  import { createHash as createHash2 } from "node:crypto";
5636
5636
  var COPY_MARK = "__repair_";
5637
5637
  var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
@@ -5885,7 +5885,7 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
5885
5885
  return found;
5886
5886
  }, "deleteCopy");
5887
5887
 
5888
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5888
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5889
5889
  import { existsSync as existsSync2, statSync as statSync2 } from "node:fs";
5890
5890
  var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
5891
5891
  var bytesOf = /* @__PURE__ */ __name((path) => existsSync2(path) ? statSync2(path).size : 0, "bytesOf");
@@ -5932,7 +5932,7 @@ var storeInfoCommand = /* @__PURE__ */ __name(() => annotate(new Command("info")
5932
5932
  renderAnswer(this, outputFor(this), itemOf(answer));
5933
5933
  }), "storeInfoCommand");
5934
5934
 
5935
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
5935
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
5936
5936
  var ENCRYPT_OPTION = [
5937
5937
  "--encrypt",
5938
5938
  "compress and encrypt with a password, typed at a hidden prompt or piped on stdin; it is never kept \u2014 lose it and the file cannot be opened"
@@ -5951,7 +5951,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
5951
5951
  return password;
5952
5952
  }, "passwordOf");
5953
5953
 
5954
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/replies/rules.js
5954
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/replies/rules.js
5955
5955
  import { existsSync as existsSync3, readFileSync } from "node:fs";
5956
5956
  import { join } from "node:path";
5957
5957
  var REPLY_ACTIONS = ["reply", "task"];
@@ -6122,7 +6122,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
6122
6122
  }, "problem");
6123
6123
  var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
6124
6124
 
6125
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/replies/state.js
6125
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/replies/state.js
6126
6126
  import { existsSync as existsSync4, readFileSync as readFileSync2 } from "node:fs";
6127
6127
  import { join as join2 } from "node:path";
6128
6128
  var ANSWERED_KEPT = 1e3;
@@ -6175,7 +6175,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
6175
6175
  }, "recordReply");
6176
6176
  var broken2 = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply state ${path} cannot be read (${why}) \u2014 fix or move the file`), "broken");
6177
6177
 
6178
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/replies/decide.js
6178
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/replies/decide.js
6179
6179
  var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
6180
6180
  var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
6181
6181
  const { message, chat, owner, sender } = incoming;
@@ -6281,7 +6281,7 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
6281
6281
  return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
6282
6282
  }, "filled");
6283
6283
 
6284
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/replies/template.js
6284
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/replies/template.js
6285
6285
  var import_liquidjs = __toESM(require_liquid_node(), 1);
6286
6286
  var TEMPLATE_LIMITS = {
6287
6287
  parse: 32768,
@@ -6441,7 +6441,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
6441
6441
  }
6442
6442
  }, "renderReplyTemplate");
6443
6443
 
6444
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
6444
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
6445
6445
  var DRY_RUN_DAYS = 7;
6446
6446
  var PAGE = 500;
6447
6447
  var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
@@ -6555,7 +6555,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
6555
6555
  }
6556
6556
  }, "storedSince");
6557
6557
 
6558
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
6558
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
6559
6559
  var endpointKeyName = /* @__PURE__ */ __name((baseUrl) => {
6560
6560
  const host = new URL(baseUrl).host;
6561
6561
  return ["openai", "anthropic"].includes(host) ? `endpoint:${host}` : host;
@@ -6586,7 +6586,7 @@ var embeddingKeys = /* @__PURE__ */ __name((app, env = process.env, keyring) =>
6586
6586
  };
6587
6587
  }, "embeddingKeys");
6588
6588
 
6589
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/models/openai.js
6589
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/models/openai.js
6590
6590
  var options = strictObject({
6591
6591
  temperature: range(0, 2),
6592
6592
  top_p: range(0, 1),
@@ -6635,7 +6635,7 @@ var openai = {
6635
6635
  }, "complete")
6636
6636
  };
6637
6637
 
6638
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/models/index.js
6638
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/models/index.js
6639
6639
  var modelGateway = /* @__PURE__ */ __name((deps) => ({
6640
6640
  complete: /* @__PURE__ */ __name(async (request) => {
6641
6641
  if (deps.signal?.aborted)
@@ -6650,7 +6650,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
6650
6650
  if (!adapter && target.provider === "openai")
6651
6651
  adapter = openai;
6652
6652
  if (!adapter && target.provider === "anthropic")
6653
- adapter = (await import("./anthropic-VXQ6ST2U.js")).anthropic;
6653
+ adapter = (await import("./anthropic-NOWJG7LX.js")).anthropic;
6654
6654
  if (!adapter)
6655
6655
  throw new CliError("validation_error", `no model adapter for ${target.provider}`);
6656
6656
  if (request.images !== void 0 && adapter.images !== true)
@@ -6691,7 +6691,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
6691
6691
  }, "complete")
6692
6692
  }), "modelGateway");
6693
6693
 
6694
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/replies/consents.js
6694
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/replies/consents.js
6695
6695
  import { existsSync as existsSync5, readFileSync as readFileSync3 } from "node:fs";
6696
6696
  import { join as join3 } from "node:path";
6697
6697
  var shape = strictObject({
@@ -6716,7 +6716,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
6716
6716
  return consent.provider === provider && !consent.deniedChats.includes(chat);
6717
6717
  }, "mayModelReply");
6718
6718
 
6719
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/replies/rendering.js
6719
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/replies/rendering.js
6720
6720
  var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options2 = {
6721
6721
  ai: true
6722
6722
  }) => async (rule2, message, chat, now) => {
@@ -6763,7 +6763,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
6763
6763
  return result2;
6764
6764
  }, "replyRenderer");
6765
6765
 
6766
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/replies/serve.js
6766
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/replies/serve.js
6767
6767
  var NOT_ALLOWED = "replies.send is not allow";
6768
6768
  var NO_RULES = "no rules";
6769
6769
  var ONLY_TASK = "opened a task, sent nothing";
@@ -6856,7 +6856,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
6856
6856
  return { skip: why };
6857
6857
  }, "replyTo");
6858
6858
 
6859
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
6859
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
6860
6860
  var START_SYNC_DELAY_MS = 3e4;
6861
6861
  var START_SYNC_BUDGET_MS = 5 * 6e4;
6862
6862
  var START_SYNC_WINDOW_MS = 7 * 864e5;
@@ -6933,7 +6933,7 @@ var startSync = /* @__PURE__ */ __name(({ chats, newestHeld, fetch: fetch2, note
6933
6933
  };
6934
6934
  }, "startSync");
6935
6935
 
6936
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
6936
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
6937
6937
  var FIRST_FETCH_MS = 6e4;
6938
6938
  var DAY_MS = 864e5;
6939
6939
  var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch: fetch2, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
@@ -6987,7 +6987,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch: fetch2, warn, fi
6987
6987
  };
6988
6988
  }, "memberFetches");
6989
6989
 
6990
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
6990
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
6991
6991
  var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
6992
6992
  var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
6993
6993
  if (context.format === "pretty") {
@@ -7020,7 +7020,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
7020
7020
  return context;
7021
7021
  }, "recordDiagnostics");
7022
7022
 
7023
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
7023
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
7024
7024
  var STEMS_EVERY_MS = 3e4;
7025
7025
  var STEMS_SLICE_MS = 2e3;
7026
7026
  var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
@@ -7060,7 +7060,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
7060
7060
  };
7061
7061
  }, "stemFills");
7062
7062
 
7063
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/render/messages.js
7063
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/render/messages.js
7064
7064
  import { styleText } from "node:util";
7065
7065
  var TIME_WIDTH = 8;
7066
7066
  var INDENT = " ".repeat(TIME_WIDTH + 2);
@@ -7236,7 +7236,7 @@ var editedAt = /* @__PURE__ */ __name((message, options2) => {
7236
7236
  return day(edited) === day(message.timestamp) ? time : `${day(edited)} ${time}`;
7237
7237
  }, "editedAt");
7238
7238
 
7239
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
7239
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
7240
7240
  var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
7241
7241
  var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
7242
7242
  kind: attachment.kind,
@@ -7331,7 +7331,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
7331
7331
  locale: messenger.app.locale
7332
7332
  }), "viewOf");
7333
7333
 
7334
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
7334
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
7335
7335
  var observed = /* @__PURE__ */ __name((value) => ({
7336
7336
  value: value.value,
7337
7337
  observed_at: value.observedAt,
@@ -7398,7 +7398,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
7398
7398
  }
7399
7399
  }, "watchEventItem");
7400
7400
 
7401
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
7401
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
7402
7402
  var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
7403
7403
  output: { entity: "watch_item" },
7404
7404
  effects: REMOTE_READ,
@@ -7553,7 +7553,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
7553
7553
  }
7554
7554
  }, "describe");
7555
7555
 
7556
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
7556
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
7557
7557
  var serveCommand = /* @__PURE__ */ __name((messenger) => {
7558
7558
  const command = annotate(new Command("serve"), {
7559
7559
  output: { entity: "serve_summary" },
@@ -7817,7 +7817,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
7817
7817
  };
7818
7818
  }, "tasking");
7819
7819
 
7820
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
7820
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
7821
7821
  import { existsSync as existsSync6 } from "node:fs";
7822
7822
  var PATH = "store tables list";
7823
7823
  var STORE_TABLES_QUERY = {
@@ -7860,7 +7860,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((messenger) => {
7860
7860
  return tables;
7861
7861
  }, "storeTablesCommand");
7862
7862
 
7863
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
7863
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
7864
7864
  var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
7865
7865
  var WORD_INDEX = "message_words";
7866
7866
  var schemaOf = /* @__PURE__ */ __name((database) => {
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadConfig
5
- } from "./chunk-GJBK3M6X.js";
5
+ } from "./chunk-3RTD2FXB.js";
6
6
  import {
7
7
  upgradeCommand
8
- } from "./chunk-HVVBSM2C.js";
8
+ } from "./chunk-QDXZCKBH.js";
9
9
  import {
10
10
  FETCH,
11
11
  annotate,
12
12
  overrideSharedContract
13
- } from "./chunk-AGMYCYSG.js";
13
+ } from "./chunk-T3T4LL6R.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-TKVRZZE3.js";
22
+ } from "./chunk-YMER5NPZ.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.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/update/index.js
37
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/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 = [
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answeredWire
5
- } from "./chunk-ARDUJR5Z.js";
5
+ } from "./chunk-JRQUM4HZ.js";
6
6
  import {
7
7
  CALLER_META_KEY,
8
8
  PROXY_CLIENT_NAME,
9
9
  callerOf
10
- } from "./chunk-KFDPW2AR.js";
10
+ } from "./chunk-4PTLLGIF.js";
11
11
  import {
12
12
  StdioServerTransport,
13
13
  serveStdio
@@ -19,7 +19,7 @@ import {
19
19
  __name
20
20
  } from "./chunk-ZVVMGPBJ.js";
21
21
 
22
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
22
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
23
23
  import { spawn } from "node:child_process";
24
24
  import { randomUUID } from "node:crypto";
25
25
  var PROTOCOL = "2025-06-18";
@@ -253,7 +253,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
253
253
  }, "serveAllProfilesOverStdio");
254
254
  var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
255
255
  const { build, close } = allProfilesServer(options);
256
- const { serveOverHttp } = await import("./serve-M2A66WOW.js");
256
+ const { serveOverHttp } = await import("./serve-DUV2FO4T.js");
257
257
  const listening = await serveOverHttp(build, {
258
258
  ...http,
259
259
  appName: options.command,
@@ -8,17 +8,17 @@ import {
8
8
  readSetupAnswers,
9
9
  unanswered,
10
10
  writeSetupAnswers
11
- } from "./chunk-6TJCRDNZ.js";
11
+ } from "./chunk-QTKL3E4W.js";
12
12
  import {
13
13
  DEFAULT_STEMMERS,
14
14
  LANGUAGES
15
- } from "./chunk-A4NZ2XOG.js";
15
+ } from "./chunk-LAWSSPON.js";
16
16
  import {
17
17
  sharedConfigPath
18
- } from "./chunk-NH2JSH24.js";
18
+ } from "./chunk-NBHAXVJA.js";
19
19
  import {
20
20
  storePath
21
- } from "./chunk-MQAHMAJB.js";
21
+ } from "./chunk-AQXN7AWH.js";
22
22
  import {
23
23
  installerOf
24
24
  } from "./chunk-KV4267S4.js";
@@ -26,7 +26,7 @@ import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // node_modules/.pnpm/@wirecat+cli-core@0.569.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8785fed449bbc2a6b34fc086f24a8413/node_modules/@wirecat/cli-core/dist/cli/first-run.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/cli/first-run.js
30
30
  import { spawnSync } from "node:child_process";
31
31
  import { accessSync, constants, realpathSync } from "node:fs";
32
32
  import { delimiter, join } from "node:path";
@@ -84,7 +84,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
84
84
  return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
85
85
  }, "suggested");
86
86
  var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
87
- const { openStore } = await import("./store-TJCL3QBY.js");
87
+ const { openStore } = await import("./store-Y4BME65D.js");
88
88
  const store = await openStore({ env });
89
89
  let rebuild = false;
90
90
  try {
@@ -113,8 +113,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
113
113
  if (!rebuild)
114
114
  return;
115
115
  const [{ openCache }, { buildStems }] = await Promise.all([
116
- import("./open-WXFCCY7S.js"),
117
- import("./store-maintenance-command-NKJV5A3G.js")
116
+ import("./open-GZGUXW5N.js"),
117
+ import("./store-maintenance-command-BOITCFBL.js")
118
118
  ]);
119
119
  const database = await openCache(storePath(env));
120
120
  try {
@@ -126,7 +126,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
126
126
  var askTools = /* @__PURE__ */ __name(async (run) => {
127
127
  const { command, env, io } = run;
128
128
  const installed = run.installed ?? ((name) => onPath(name, env));
129
- const { WIRECAT_TOOLS } = await import("./first-screen-SNPGBQFZ.js");
129
+ const { WIRECAT_TOOLS } = await import("./first-screen-NMXBV2SG.js");
130
130
  const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
131
131
  const missing = others.filter((tool) => !installed(tool.command));
132
132
  io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
@@ -199,7 +199,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
199
199
  contentLanguages: start.contentLanguages,
200
200
  all: start.path[0] === "setup",
201
201
  io: {
202
- ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-HJUH4EP4.js")).readSecret(prompt, { input, echo: true }), "ask"),
202
+ ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-TQ6WRJWG.js")).readSecret(prompt, { input, echo: true }), "ask"),
203
203
  say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
204
204
  `), "say")
205
205
  }