@wirecat/cli-memo 0.131.77 → 0.131.78

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 (120) hide show
  1. package/dist/bin/memo.js +2 -2
  2. package/dist/bundle/{all-profiles-4UWCPMRQ.js → all-profiles-ZEUEPNFD.js} +5 -5
  3. package/dist/bundle/{anthropic-HECHQVOK.js → anthropic-VF75LSDZ.js} +2 -2
  4. package/dist/bundle/{app-server-GQEQWFYQ.js → app-server-Z4TY5VP5.js} +36 -36
  5. package/dist/bundle/auto-SA667UAT.js +91 -0
  6. package/dist/bundle/{bun-IWGIAD7H.js → bun-OUR5UZAI.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-VJFM4TVN.js → bun-sqlite-26ZGEVH3.js} +2 -2
  8. package/dist/bundle/{chunk-UD5JUJES.js → chunk-22RYCAAO.js} +1602 -1112
  9. package/dist/bundle/{chunk-HKDUGTWQ.js → chunk-3QV5JWFN.js} +3 -3
  10. package/dist/bundle/{chunk-DJYMK7EI.js → chunk-4LZLU2V3.js} +2 -2
  11. package/dist/bundle/{chunk-CFZZUGUD.js → chunk-5NBQOU5V.js} +20 -20
  12. package/dist/bundle/{chunk-5APYWW46.js → chunk-5PCPPT43.js} +29 -29
  13. package/dist/bundle/{chunk-XLZPP5MB.js → chunk-6ABWVQ4T.js} +1 -1
  14. package/dist/bundle/{chunk-KYW7RWGE.js → chunk-6GHBGGN7.js} +2 -2
  15. package/dist/bundle/{chunk-6RN34ZWU.js → chunk-7DKS4GIW.js} +5 -5
  16. package/dist/bundle/{chunk-ZPB3VTS7.js → chunk-7ENXMVT5.js} +17 -9
  17. package/dist/bundle/{chunk-INXIJXU2.js → chunk-AZIXZIXT.js} +5 -5
  18. package/dist/bundle/{chunk-3URQNBDV.js → chunk-B2ZAEF5Z.js} +2 -2
  19. package/dist/bundle/{chunk-7YALAAL4.js → chunk-D67YDJ35.js} +424 -283
  20. package/dist/bundle/{chunk-HFZHXP4U.js → chunk-DAEPTQ6N.js} +5 -5
  21. package/dist/bundle/{chunk-AH6V2UJZ.js → chunk-DDPZY27T.js} +12 -12
  22. package/dist/bundle/{chunk-A54EZ6DV.js → chunk-E5JVYVRX.js} +13 -13
  23. package/dist/bundle/{chunk-TFXKS2WG.js → chunk-EF33DKMR.js} +1 -1
  24. package/dist/bundle/{chunk-DE5BNDIA.js → chunk-EI7LYQQA.js} +4 -4
  25. package/dist/bundle/{chunk-D7KQYLAN.js → chunk-EIQ6HCIB.js} +5 -5
  26. package/dist/bundle/{chunk-LHVNZ25W.js → chunk-ELKRFQ5Y.js} +12 -12
  27. package/dist/bundle/{chunk-TXXKLYJQ.js → chunk-F7MKFYYP.js} +3 -3
  28. package/dist/bundle/{chunk-DNPE4LOZ.js → chunk-GXHPPHGB.js} +10 -10
  29. package/dist/bundle/{chunk-IYINNZQE.js → chunk-H2AQV772.js} +9 -9
  30. package/dist/bundle/{chunk-CPKS7JKX.js → chunk-I6CZU7X7.js} +1 -1
  31. package/dist/bundle/{chunk-S5T4SO7I.js → chunk-IFANDP3T.js} +7 -1
  32. package/dist/bundle/{chunk-ZPPMGXER.js → chunk-JHW2ARPA.js} +32 -32
  33. package/dist/bundle/{chunk-VMTTWF2M.js → chunk-KUY35N7Q.js} +7 -7
  34. package/dist/bundle/{chunk-4EFQOTNQ.js → chunk-LJRXD44C.js} +6 -6
  35. package/dist/bundle/{chunk-QNJ6O6J4.js → chunk-MUFU4LNS.js} +2 -2
  36. package/dist/bundle/{chunk-NGWUFB4K.js → chunk-MW6IAMUI.js} +1 -1
  37. package/dist/bundle/{chunk-YZ4J67GU.js → chunk-N7CHOWDF.js} +2 -2
  38. package/dist/bundle/{chunk-UDRKGCDS.js → chunk-NGWKI3E6.js} +1 -1
  39. package/dist/bundle/{chunk-EY46RMMS.js → chunk-NXQFVHG4.js} +153 -148
  40. package/dist/bundle/{chunk-76T57Y3Q.js → chunk-OHMF7LWW.js} +4 -4
  41. package/dist/bundle/{chunk-VIY77EDM.js → chunk-OMCET4QP.js} +45 -45
  42. package/dist/bundle/{chunk-W36BMC6F.js → chunk-OMGNXKSH.js} +4 -4
  43. package/dist/bundle/{chunk-UIS44ZMF.js → chunk-OUATPEPP.js} +5 -5
  44. package/dist/bundle/{chunk-4VO2RJAE.js → chunk-P3UQGKGY.js} +8 -8
  45. package/dist/bundle/{chunk-OAWNQZ3V.js → chunk-PTKJIA7M.js} +3 -3
  46. package/dist/bundle/{chunk-MRUE3BWX.js → chunk-Q2CQNT3A.js} +1 -1
  47. package/dist/bundle/{chunk-JSGRDE5Q.js → chunk-QEJHNTCX.js} +293 -293
  48. package/dist/bundle/{chunk-WZZ426CJ.js → chunk-QU7UPCW2.js} +77 -77
  49. package/dist/bundle/{chunk-BFEXVALS.js → chunk-T37LLOZR.js} +1 -1
  50. package/dist/bundle/{chunk-LO74ISD6.js → chunk-T6LXUBXY.js} +3 -3
  51. package/dist/bundle/{chunk-KTBPBMNR.js → chunk-TT5RMHM6.js} +4 -4
  52. package/dist/bundle/{chunk-C3HS26N5.js → chunk-TWWYDJBW.js} +1 -1
  53. package/dist/bundle/{chunk-MZHH5XMX.js → chunk-UIJBGS6K.js} +2 -2
  54. package/dist/bundle/{chunk-6VISMU6R.js → chunk-UWF6WXM7.js} +6 -6
  55. package/dist/bundle/{chunk-YABNPKKQ.js → chunk-VHA3LJQT.js} +1 -1
  56. package/dist/bundle/{chunk-M4MM4QUM.js → chunk-VJLJFLKZ.js} +1 -1
  57. package/dist/bundle/{chunk-BNOSAHVH.js → chunk-WETWQO6X.js} +2 -2
  58. package/dist/bundle/{chunk-2DLCQ4AK.js → chunk-WHMKYJZR.js} +1 -1
  59. package/dist/bundle/{chunk-HWIKY7KF.js → chunk-WHZJHUK6.js} +2 -2
  60. package/dist/bundle/{chunk-SHO3T3F2.js → chunk-WYSFOL74.js} +4 -4
  61. package/dist/bundle/{chunk-TIHQFMH2.js → chunk-XC26CUGL.js} +4 -4
  62. package/dist/bundle/{chunk-PPARTGFE.js → chunk-XTCN3VUP.js} +7 -7
  63. package/dist/bundle/{chunk-JTLPFUIQ.js → chunk-Y2J52Y3A.js} +2 -2
  64. package/dist/bundle/{chunk-JKLJM7EG.js → chunk-YOM4PA3A.js} +1 -1
  65. package/dist/bundle/{chunk-OB3OPV55.js → chunk-Z4TPRASF.js} +5 -5
  66. package/dist/bundle/{chunk-OQSIFLZS.js → chunk-ZKCAR2OL.js} +1 -1
  67. package/dist/bundle/{command-contract-SEDOYJIJ.js → command-contract-L5GTW74N.js} +11 -11
  68. package/dist/bundle/{command-server-entry-TQBKNSM3.js → command-server-entry-A7ZCZWHH.js} +17 -17
  69. package/dist/bundle/{decode-VFRSEIBD.js → decode-FO2ELPW6.js} +2 -2
  70. package/dist/bundle/{echarts-DP2GC2C6.js → echarts-HTY3OB2X.js} +2 -2
  71. package/dist/bundle/{embed-BIINGRNY.js → embed-2DTGMR7Z.js} +3 -3
  72. package/dist/bundle/{embedder-2AUO2PHQ.js → embedder-N3IGQ2M6.js} +6 -6
  73. package/dist/bundle/{entry-APUFP74B.js → entry-Q7CIJ3TU.js} +5 -5
  74. package/dist/bundle/{entry-LGJ2Y7AS.js → entry-YDEKGRCA.js} +5 -5
  75. package/dist/bundle/failure-QL3RJILP.js +71 -0
  76. package/dist/bundle/{first-run-7UMKRQL7.js → first-run-SAADMYEA.js} +5 -5
  77. package/dist/bundle/{first-screen-H5CQSLIX.js → first-screen-WXKAIMY6.js} +12 -12
  78. package/dist/bundle/{instructions-WDKCHEG6.js → instructions-XB5Y5DFA.js} +1 -1
  79. package/dist/bundle/{mcp-3HKOGYHL.js → mcp-IRJS472M.js} +35 -35
  80. package/dist/bundle/memo.js +3 -3
  81. package/dist/bundle/{node-QBL3F2VF.js → node-4ZOD7X75.js} +2 -2
  82. package/dist/bundle/{node-sqlite-WFKC73E5.js → node-sqlite-DWXKYFW6.js} +3 -3
  83. package/dist/bundle/{oauth-4PT7N4SE.js → oauth-GMIBNJQB.js} +4 -4
  84. package/dist/bundle/{open-I7XENSGI.js → open-3DBI3MHV.js} +2 -2
  85. package/dist/bundle/{openai-DUSBTUFI.js → openai-HFJAR7W5.js} +7 -7
  86. package/dist/bundle/{process-TVXEHAK6.js → process-2H5HNPHH.js} +1 -1
  87. package/dist/bundle/{program-3X4EPBEW.js → program-VXKN6DLP.js} +68 -67
  88. package/dist/bundle/{prompt-QRYXTON7.js → prompt-WETKFAQS.js} +2 -2
  89. package/dist/bundle/{recognize-ZLDPIN36.js → recognize-5LC3DQ2W.js} +1 -1
  90. package/dist/bundle/{remote-3GRP5YE3.js → remote-FURTWZ25.js} +4 -4
  91. package/dist/bundle/{rerank-6B2FI6LN.js → rerank-CMQWT3WC.js} +4 -4
  92. package/dist/bundle/{serve-ZP3TEANT.js → serve-LEF3PX34.js} +6 -6
  93. package/dist/bundle/server-C2EVLJLW.js +64 -0
  94. package/dist/bundle/{server-3SJJNNSX.js → server-GYLFN6Y7.js} +52 -52
  95. package/dist/bundle/server-L7GHFXJF.js +50 -0
  96. package/dist/bundle/{state-JDH2X2CY.js → state-OVZT24JF.js} +3 -3
  97. package/dist/bundle/{store-FDNYGJUF.js → store-SV46T732.js} +9 -9
  98. package/dist/bundle/store-maintenance-command-TZYC5HVL.js +49 -0
  99. package/dist/bundle/update-PRBIV3RG.js +74 -0
  100. package/dist/people/command.d.ts.map +1 -1
  101. package/dist/people/command.js +3 -2
  102. package/dist/people/command.js.map +1 -1
  103. package/dist/people/identities-command.d.ts.map +1 -1
  104. package/dist/people/identities-command.js +2 -0
  105. package/dist/people/identities-command.js.map +1 -1
  106. package/dist/reasons.d.ts.map +1 -1
  107. package/dist/reasons.js +6 -0
  108. package/dist/reasons.js.map +1 -1
  109. package/dist/sources/readers/ai-model.js +3 -3
  110. package/dist/sources/readers/ai-model.js.map +1 -1
  111. package/dist/version.d.ts +1 -1
  112. package/dist/version.js +1 -1
  113. package/package.json +2 -2
  114. package/dist/bundle/auto-3O7JD27U.js +0 -91
  115. package/dist/bundle/failure-5QSMH2CD.js +0 -71
  116. package/dist/bundle/server-72VZYABL.js +0 -50
  117. package/dist/bundle/server-UY47EXPQ.js +0 -64
  118. package/dist/bundle/store-maintenance-command-5LFS45JM.js +0 -49
  119. package/dist/bundle/update-257J2SPM.js +0 -74
  120. /package/dist/bundle/{chunk-6AALVDEA.js → chunk-DK3W4FPW.js} +0 -0
@@ -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-NGWUFB4K.js";
5
+ } from "./chunk-MW6IAMUI.js";
6
6
  import {
7
7
  CliError
8
8
  } from "./chunk-BA6GHX5B.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.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/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.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/store/open.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/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-VJFM4TVN.js");
47
+ const { openWithBunSqlite } = await import("./bun-sqlite-26ZGEVH3.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-WFKC73E5.js");
52
+ const { openWithNodeSqlite } = await import("./node-sqlite-DWXKYFW6.js");
53
53
  return openWithNodeSqlite(path);
54
54
  }, "openUnderNode");
55
55
  var runtime = /* @__PURE__ */ __name(() => {
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  callerOf
5
- } from "./chunk-3URQNBDV.js";
5
+ } from "./chunk-B2ZAEF5Z.js";
6
6
  import {
7
7
  UNTRUSTED,
8
8
  UNTRUSTED_NEUTRAL,
@@ -10,7 +10,7 @@ import {
10
10
  agentJson,
11
11
  commandAvailability,
12
12
  failureContext
13
- } from "./chunk-ZPB3VTS7.js";
13
+ } from "./chunk-7ENXMVT5.js";
14
14
  import {
15
15
  QUERY_ARGUMENT,
16
16
  lentConnection,
@@ -18,10 +18,10 @@ import {
18
18
  refuseLacking,
19
19
  servicesFor,
20
20
  storeModeDeps
21
- } from "./chunk-JSGRDE5Q.js";
21
+ } from "./chunk-QEJHNTCX.js";
22
22
  import {
23
23
  MAX_BUFFERED_INPUT
24
- } from "./chunk-OQSIFLZS.js";
24
+ } from "./chunk-ZKCAR2OL.js";
25
25
  import {
26
26
  DEFAULT_OUTPUT_BYTES,
27
27
  ENTITIES,
@@ -41,23 +41,23 @@ import {
41
41
  refuseStoreChange,
42
42
  sealed,
43
43
  startRecording
44
- } from "./chunk-EY46RMMS.js";
44
+ } from "./chunk-NXQFVHG4.js";
45
45
  import {
46
46
  currentCaller,
47
47
  keepsSuccess,
48
48
  runContextOf,
49
49
  withCaller
50
- } from "./chunk-4EFQOTNQ.js";
50
+ } from "./chunk-LJRXD44C.js";
51
51
  import {
52
52
  enclosingTraceId,
53
53
  inRun,
54
54
  newRunId,
55
55
  queryDescription,
56
56
  traceOf
57
- } from "./chunk-WZZ426CJ.js";
57
+ } from "./chunk-QU7UPCW2.js";
58
58
  import {
59
59
  storeDamaged
60
- } from "./chunk-HWIKY7KF.js";
60
+ } from "./chunk-WHZJHUK6.js";
61
61
  import {
62
62
  captureStreams
63
63
  } from "./chunk-2IQWMWMC.js";
@@ -113,7 +113,7 @@ import {
113
113
  __name
114
114
  } from "./chunk-ZVVMGPBJ.js";
115
115
 
116
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/mcp/agent.js
116
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/mcp/agent.js
117
117
  import { Readable } from "node:stream";
118
118
 
119
119
  // node_modules/.pnpm/@wirecat+cli-base@0.95.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
@@ -3210,7 +3210,7 @@ var VOCABULARY = defineVocabulary({
3210
3210
  ]
3211
3211
  });
3212
3212
 
3213
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3213
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3214
3214
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
3215
3215
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
3216
3216
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -3433,7 +3433,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
3433
3433
  }
3434
3434
  }, "runCommandForAgent");
3435
3435
 
3436
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3436
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3437
3437
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
3438
3438
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
3439
3439
  var message = pipe(
@@ -3692,7 +3692,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
3692
3692
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
3693
3693
  }, "failed");
3694
3694
 
3695
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3695
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3696
3696
  import { randomUUID } from "node:crypto";
3697
3697
  var MATCHES = 8;
3698
3698
  var ANSWER = answerSchema();
@@ -16,10 +16,10 @@ import {
16
16
  servicesFor,
17
17
  throughWrapper,
18
18
  withFileLockAsync
19
- } from "./chunk-JSGRDE5Q.js";
19
+ } from "./chunk-QEJHNTCX.js";
20
20
  import {
21
21
  servingProfiles
22
- } from "./chunk-YZ4J67GU.js";
22
+ } from "./chunk-N7CHOWDF.js";
23
23
  import {
24
24
  chatReferenceOf,
25
25
  ensureAccount,
@@ -27,7 +27,7 @@ import {
27
27
  isId,
28
28
  openStore,
29
29
  pickPerson
30
- } from "./chunk-UD5JUJES.js";
30
+ } from "./chunk-22RYCAAO.js";
31
31
  import {
32
32
  CEILING_KEY,
33
33
  WRITE_KEYS,
@@ -47,13 +47,13 @@ import {
47
47
  rememberAccount,
48
48
  rootOf2 as rootOf,
49
49
  skipFlagFor
50
- } from "./chunk-EY46RMMS.js";
50
+ } from "./chunk-NXQFVHG4.js";
51
51
  import {
52
52
  providerErrorKey
53
- } from "./chunk-4EFQOTNQ.js";
53
+ } from "./chunk-LJRXD44C.js";
54
54
  import {
55
55
  isCliFailure
56
- } from "./chunk-HWIKY7KF.js";
56
+ } from "./chunk-WHZJHUK6.js";
57
57
  import {
58
58
  resolvePaths
59
59
  } from "./chunk-2IQWMWMC.js";
@@ -64,7 +64,7 @@ import {
64
64
  __name
65
65
  } from "./chunk-ZVVMGPBJ.js";
66
66
 
67
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
67
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
68
68
  import { openSync } from "node:fs";
69
69
  import { createInterface } from "node:readline";
70
70
  import { ReadStream } from "node:tty";
@@ -119,7 +119,7 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
119
119
  throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
120
120
  }, "terminalAsker");
121
121
 
122
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/sends/pace.js
122
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/sends/pace.js
123
123
  import { readFileSync, renameSync, writeFileSync } from "node:fs";
124
124
  import { join } from "node:path";
125
125
  var DEFAULT_PACE = { perMinute: 60, burst: 20 };
@@ -209,7 +209,7 @@ var waitForTurn = /* @__PURE__ */ __name(async (pacer, options) => {
209
209
  await (options.sleep ?? ((ms) => new Promise((resolve) => setTimeout(resolve, ms))))(waitMs);
210
210
  }, "waitForTurn");
211
211
 
212
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
212
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
213
213
  var pathOf = /* @__PURE__ */ __name((command) => {
214
214
  const words = [];
215
215
  for (let at = command; at?.parent; at = at.parent)
@@ -269,7 +269,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
269
269
  throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
270
270
  }, "refuseUnknownPermissionKeys");
271
271
 
272
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
272
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
273
273
  var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
274
274
  var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
275
275
  var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
@@ -366,7 +366,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
366
366
  });
367
367
  }, "flooded");
368
368
 
369
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
369
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
370
370
  var observed = /* @__PURE__ */ __name((messenger, events) => {
371
371
  const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
372
372
  const write = currentOperation();
@@ -465,7 +465,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
465
465
  counts[part] = (counts[part] ?? 0) + items.length;
466
466
  }, "byPart");
467
467
 
468
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
468
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
469
469
  var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
470
470
  var stored = /* @__PURE__ */ __name((messenger, { account, store, warn, events, pending, announcing, deletedWithoutChat, profile, rekeyed, rekeyPacing = REKEY_PACING, closing, namesFromStore, recipientIds, countsUnread = false, historyLimits, command = "cli" }) => {
471
471
  let warned = false;
@@ -1041,7 +1041,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
1041
1041
  }
1042
1042
  }, "keep");
1043
1043
 
1044
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
1044
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
1045
1045
  var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
1046
1046
  let opened;
1047
1047
  return {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/stdin-field.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/stdin-field.js
8
8
  var fields = /* @__PURE__ */ new WeakMap();
9
9
  var readsStdin = /* @__PURE__ */ __name((command, field) => {
10
10
  fields.set(command, field);
@@ -5,15 +5,15 @@ import {
5
5
  readLock,
6
6
  releaseLock,
7
7
  takeLock
8
- } from "./chunk-YZ4J67GU.js";
8
+ } from "./chunk-N7CHOWDF.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
14
14
  import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
17
17
  import { randomBytes } from "node:crypto";
18
18
  import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
19
19
  import { dirname } from "node:path";
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
86
86
  };
87
87
  }, "activityRecorder");
88
88
 
89
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
89
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
90
90
  var ACCESS_SECONDS = 60 * 60;
91
91
  var REFRESH_SECONDS = 30 * 24 * 60 * 60;
92
92
  var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");
@@ -2,13 +2,13 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  decisionPolicy
5
- } from "./chunk-ZPPMGXER.js";
5
+ } from "./chunk-JHW2ARPA.js";
6
6
  import {
7
7
  openStore
8
- } from "./chunk-UD5JUJES.js";
8
+ } from "./chunk-22RYCAAO.js";
9
9
  import {
10
10
  STORE_CLIENT
11
- } from "./chunk-S5T4SO7I.js";
11
+ } from "./chunk-IFANDP3T.js";
12
12
  import {
13
13
  compactText,
14
14
  itemOf,
@@ -20,10 +20,10 @@ import {
20
20
  rowsOfEntity,
21
21
  sealed,
22
22
  snakeKeysKeeping
23
- } from "./chunk-EY46RMMS.js";
23
+ } from "./chunk-NXQFVHG4.js";
24
24
  import {
25
25
  currentRun
26
- } from "./chunk-WZZ426CJ.js";
26
+ } from "./chunk-QU7UPCW2.js";
27
27
  import {
28
28
  createRenderer
29
29
  } from "./chunk-2IQWMWMC.js";
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
11
11
  import { constants } from "node:fs";
12
12
  import { lstat, open } from "node:fs/promises";
13
13
  var deviceOf = /* @__PURE__ */ __name((dev) => process.platform === "win32" ? BigInt.asUintN(32, dev) : dev, "deviceOf");
@@ -73,7 +73,7 @@ var syncDirectory = /* @__PURE__ */ __name(async (path) => {
73
73
  }
74
74
  }, "syncDirectory");
75
75
 
76
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
76
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
77
77
  import { randomUUID } from "node:crypto";
78
78
  import { constants as constants2 } from "node:fs";
79
79
  import { link, open as open2, realpath, rename, unlink } from "node:fs/promises";
@@ -111,7 +111,7 @@ var writeFileAtomic = /* @__PURE__ */ __name(async (path, content, { mode = 384,
111
111
  }
112
112
  }, "writeFileAtomic");
113
113
 
114
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
114
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
115
115
  var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
116
116
  if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > 16 * 1024 * 1024)
117
117
  throw new CliError("validation_error", "file maxBytes takes 1\u201316777216 bytes");
@@ -140,21 +140,21 @@ var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
140
140
  }
141
141
  }, "readBoundedUtf8File");
142
142
 
143
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/files/lock.js
143
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/files/lock.js
144
144
  import { mkdir as mkdir2 } from "node:fs/promises";
145
145
  import { basename as basename2, dirname as dirname2 } from "node:path";
146
146
 
147
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
147
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
148
148
  import { randomUUID as randomUUID2 } from "node:crypto";
149
149
  import { lstat as lstat3, mkdir, open as open3, realpath as realpath3, rmdir as rmdir2, unlink as unlink4 } from "node:fs/promises";
150
150
  import { hostname as hostname2 } from "node:os";
151
151
  import { join as join3 } from "node:path";
152
152
 
153
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
153
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
154
154
  import { lstat as lstat2, readdir, realpath as realpath2, unlink as unlink2 } from "node:fs/promises";
155
155
  import { join as join2 } from "node:path";
156
156
 
157
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
157
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
158
158
  import { hostname } from "node:os";
159
159
  var missingLeaseFile = /* @__PURE__ */ __name((error) => typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT", "missingLeaseFile");
160
160
  var readLeaseOwner = /* @__PURE__ */ __name(async (path, name, signal) => {
@@ -199,7 +199,7 @@ var leaseOwnerStatus = /* @__PURE__ */ __name((owner) => {
199
199
  }
200
200
  }, "leaseOwnerStatus");
201
201
 
202
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
202
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
203
203
  var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
204
204
  const inspect = /* @__PURE__ */ __name(async (destination, options = {}) => {
205
205
  options.signal?.throwIfAborted();
@@ -258,7 +258,7 @@ var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
258
258
  return { inspect, recover };
259
259
  }, "leaseInspection");
260
260
 
261
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
261
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
262
262
  import { rmdir, unlink as unlink3 } from "node:fs/promises";
263
263
  var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identity) => {
264
264
  let releasing;
@@ -283,7 +283,7 @@ var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identi
283
283
  };
284
284
  }, "ownedNativeLease");
285
285
 
286
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
286
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
287
287
  var validName = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length > 0 && value !== "." && value !== ".." && !/[\\/\0:]/.test(value), "validName");
288
288
  var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
289
289
  const { markerDirectory, legacyMarker } = layout;
@@ -354,7 +354,7 @@ var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
354
354
  };
355
355
  }, "nativeWriterLeaseStore");
356
356
 
357
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/files/lock.js
357
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/files/lock.js
358
358
  var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
359
359
  const folder = dirname2(path);
360
360
  await mkdir2(folder, { recursive: true, mode: 448 });
@@ -369,7 +369,7 @@ var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
369
369
  });
370
370
  }, "acquireLock");
371
371
 
372
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/files/safe-name.js
372
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/files/safe-name.js
373
373
  import { basename as basename3 } from "node:path";
374
374
  var safeName = /* @__PURE__ */ __name((name, platform = process.platform) => {
375
375
  let plain = name === void 0 ? "" : basename3(name.replaceAll("\\", "/")).replace(/[\p{Cc}​-‏‪-‮⁦-⁩]/gu, "").replace(/^\.+/, "");
@@ -4,10 +4,10 @@ import {
4
4
  readSharedSection,
5
5
  sharedConfigPath,
6
6
  writeSharedSection
7
- } from "./chunk-KTBPBMNR.js";
7
+ } from "./chunk-TT5RMHM6.js";
8
8
  import {
9
9
  storePath
10
- } from "./chunk-YABNPKKQ.js";
10
+ } from "./chunk-VHA3LJQT.js";
11
11
  import {
12
12
  CliError
13
13
  } from "./chunk-BA6GHX5B.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.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/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";
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  DEFAULT_STEMMERS,
8
8
  LANGUAGES
9
- } from "./chunk-VMTTWF2M.js";
9
+ } from "./chunk-KUY35N7Q.js";
10
10
  import {
11
11
  installerOf
12
12
  } from "./chunk-NT5IOEEK.js";
@@ -15,18 +15,18 @@ import {
15
15
  readSetupAnswers,
16
16
  unanswered,
17
17
  writeSetupAnswers
18
- } from "./chunk-TXXKLYJQ.js";
18
+ } from "./chunk-F7MKFYYP.js";
19
19
  import {
20
20
  sharedConfigPath
21
- } from "./chunk-KTBPBMNR.js";
21
+ } from "./chunk-TT5RMHM6.js";
22
22
  import {
23
23
  storePath
24
- } from "./chunk-YABNPKKQ.js";
24
+ } from "./chunk-VHA3LJQT.js";
25
25
  import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/first-run.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/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-FDNYGJUF.js");
87
+ const { openStore } = await import("./store-SV46T732.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-I7XENSGI.js"),
117
- import("./store-maintenance-command-5LFS45JM.js")
116
+ import("./open-3DBI3MHV.js"),
117
+ import("./store-maintenance-command-TZYC5HVL.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-H5CQSLIX.js");
129
+ const { WIRECAT_TOOLS } = await import("./first-screen-WXKAIMY6.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-QRYXTON7.js")).readSecret(prompt, { input, echo: true }), "ask"),
202
+ ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-WETKFAQS.js")).readSecret(prompt, { input, echo: true }), "ask"),
203
203
  say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
204
204
  `), "say")
205
205
  }
@@ -3,11 +3,11 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  ensureSqlite,
5
5
  isCommandServer
6
- } from "./chunk-HKDUGTWQ.js";
6
+ } from "./chunk-3QV5JWFN.js";
7
7
  import {
8
8
  envName,
9
9
  readOnlyLockOf
10
- } from "./chunk-UDRKGCDS.js";
10
+ } from "./chunk-NGWKI3E6.js";
11
11
  import {
12
12
  catchCrashes
13
13
  } from "./chunk-X2SA73EE.js";
@@ -18,17 +18,17 @@ import {
18
18
  __name
19
19
  } from "./chunk-ZVVMGPBJ.js";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/entry.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/entry.js
22
22
  import { spawn } from "node:child_process";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
25
25
  import { appendFileSync } from "node:fs";
26
26
  var logVersion = /* @__PURE__ */ __name((file) => {
27
27
  appendFileSync(file, `${JSON.stringify({ command: "", options: ["--version"] })}
28
28
  `);
29
29
  }, "logVersion");
30
30
 
31
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/entry.js
31
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/entry.js
32
32
  var processIo = /* @__PURE__ */ __name(() => ({
33
33
  argv: process.argv,
34
34
  env: process.env,
@@ -48,7 +48,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
48
48
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-V"))
49
49
  return printVersion(entry.app, io);
50
50
  if (isCommandServer(args)) {
51
- const { serveEntry } = await import("./command-server-entry-TQBKNSM3.js");
51
+ const { serveEntry } = await import("./command-server-entry-A7ZCZWHH.js");
52
52
  return serveEntry(entry, io, { firstRunAt, commanderExit });
53
53
  }
54
54
  const tty = io.stdout.isTTY === true;
@@ -86,7 +86,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
86
86
  ask: /* @__PURE__ */ __name(async (question, command) => {
87
87
  if (headless(command) || io.stdin.isTTY !== true)
88
88
  return false;
89
- const { readSecret } = await import("./prompt-QRYXTON7.js");
89
+ const { readSecret } = await import("./prompt-WETKFAQS.js");
90
90
  const answer = await readSecret(`${question} [y/N] `, {
91
91
  input: io.stdin,
92
92
  output: io.stderr,
@@ -129,8 +129,8 @@ var firstRunAt = /* @__PURE__ */ __name((entry, io, headless) => async (command)
129
129
  if (command.optsWithGlobals().dryRun === true)
130
130
  return;
131
131
  const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
132
- import("./first-run-7UMKRQL7.js"),
133
- import("./command-contract-SEDOYJIJ.js")
132
+ import("./first-run-SAADMYEA.js"),
133
+ import("./command-contract-L5GTW74N.js")
134
134
  ]);
135
135
  await setupAtStart({
136
136
  command: entry.app.command,
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
14
14
  import { readFileSync } from "node:fs";
15
15
  var musl = /* @__PURE__ */ __name(() => {
16
16
  if (process.platform !== "linux")
@@ -255,6 +255,12 @@ var REASONS = defineReasons([
255
255
  message: "the reader needs a model the owner names; memo sources readers set <reader> --model <model>",
256
256
  details: []
257
257
  },
258
+ {
259
+ reason: "reader.ai-not-set",
260
+ code: "configuration_error",
261
+ message: "no AI model is chosen for every tool; memo models ai set <provider> --model <model> chooses one",
262
+ details: []
263
+ },
258
264
  {
259
265
  reason: "reader.no-key",
260
266
  code: "authentication_error",
@@ -294,7 +300,7 @@ var REASONS = defineReasons([
294
300
  ]);
295
301
 
296
302
  // dist/version.js
297
- var VERSION = "0.131.77";
303
+ var VERSION = "0.131.78";
298
304
 
299
305
  // dist/app.js
300
306
  var APP = {