@wirecat/mail-cli 0.7.0 → 0.9.0

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 (119) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/bin/mail.js +2 -2
  3. package/dist/bundle/{all-profiles-SI67TKZM.js → all-profiles-X6ROLLMF.js} +9 -9
  4. package/dist/bundle/{anthropic-DALMLC3Y.js → anthropic-MPARKCMJ.js} +6 -6
  5. package/dist/bundle/{app-server-XOH327Z2.js → app-server-JQ5XCXWT.js} +48 -48
  6. package/dist/bundle/{bun-ORL67CJ6.js → bun-H7LT5433.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-DGXFNFHI.js → bun-sqlite-AGK2BHAN.js} +5 -5
  8. package/dist/bundle/{chunk-35KD2CI2.js → chunk-24MHYGNE.js} +286 -252
  9. package/dist/bundle/{chunk-XQJWMBDY.js → chunk-25N52S7U.js} +6 -6
  10. package/dist/bundle/{chunk-VNJMO5F6.js → chunk-2FDROA4Q.js} +2 -2
  11. package/dist/bundle/{chunk-CAKBG5FC.js → chunk-3LMWAO6A.js} +6 -6
  12. package/dist/bundle/{chunk-AP7V256W.js → chunk-3W6VSSQQ.js} +1 -1
  13. package/dist/bundle/{chunk-U6UJ3HRS.js → chunk-3Y7H3CXI.js} +2 -2
  14. package/dist/bundle/{chunk-GJUUTUK4.js → chunk-4EFKQXA5.js} +8 -8
  15. package/dist/bundle/{chunk-BEMLGWY4.js → chunk-4MIC7S7B.js} +1 -1
  16. package/dist/bundle/{chunk-VKPWP3AK.js → chunk-5NYUCY5W.js} +2 -2
  17. package/dist/bundle/{chunk-23IEVVL2.js → chunk-5PWKPRTD.js} +4 -4
  18. package/dist/bundle/{chunk-E3DRM6YP.js → chunk-64FN5JK6.js} +3 -3
  19. package/dist/bundle/{chunk-IYZHM3ZN.js → chunk-65SVO3T7.js} +3 -3
  20. package/dist/bundle/{chunk-NNIXREJH.js → chunk-6FBBDIX6.js} +7 -7
  21. package/dist/bundle/{chunk-PDL4UREY.js → chunk-BNPCRWZ6.js} +8 -8
  22. package/dist/bundle/{chunk-JFMUI4H6.js → chunk-CHK3V7FG.js} +1 -1
  23. package/dist/bundle/{chunk-7K6KJWTO.js → chunk-DL32PWLR.js} +12 -12
  24. package/dist/bundle/{chunk-SQLCCKEL.js → chunk-DLB2JPLU.js} +1 -1
  25. package/dist/bundle/{chunk-MMXMVGA6.js → chunk-DQHAXX33.js} +7 -7
  26. package/dist/bundle/{chunk-VBOMKZ4E.js → chunk-EUJTQY43.js} +70 -53
  27. package/dist/bundle/{chunk-M2JCUVCJ.js → chunk-EVG7MOAH.js} +94 -94
  28. package/dist/bundle/{chunk-OHTR4WFO.js → chunk-FEA5E7WQ.js} +2 -2
  29. package/dist/bundle/{chunk-6XNPXAJU.js → chunk-FUDHVV4R.js} +23 -23
  30. package/dist/bundle/{chunk-5BSEGMNE.js → chunk-GPCKNZIA.js} +4 -4
  31. package/dist/bundle/{chunk-2M4K7HYR.js → chunk-HWLAV2HM.js} +17 -17
  32. package/dist/bundle/{chunk-Q44AYEOB.js → chunk-HZ42NO25.js} +2 -2
  33. package/dist/bundle/{chunk-EYT33MM3.js → chunk-INVEYTAL.js} +46 -46
  34. package/dist/bundle/{chunk-FPOGVDLS.js → chunk-IYC3IHEZ.js} +2 -2
  35. package/dist/bundle/{chunk-MHQKHWCJ.js → chunk-J4MY3QIN.js} +34 -28
  36. package/dist/bundle/{chunk-73OJJGZE.js → chunk-JYVZDJNO.js} +17 -3
  37. package/dist/bundle/{chunk-BGUMGCUY.js → chunk-JZMPDFM4.js} +2 -2
  38. package/dist/bundle/{chunk-FTFNWGIR.js → chunk-K3RWO7LR.js} +8 -8
  39. package/dist/bundle/{chunk-DKQWTQVY.js → chunk-KWHFDVAF.js} +23 -23
  40. package/dist/bundle/{chunk-BM445GYF.js → chunk-L3KMVMRJ.js} +2 -2
  41. package/dist/bundle/{chunk-ZNGQ3NZ4.js → chunk-M55XFZMG.js} +9 -9
  42. package/dist/bundle/{chunk-S4YUR4S3.js → chunk-N6YA4OQI.js} +219 -206
  43. package/dist/bundle/{chunk-NXJLC2WK.js → chunk-NAIJNJZZ.js} +12 -8
  44. package/dist/bundle/{chunk-HV3EIYX4.js → chunk-NTWORG4T.js} +1 -1
  45. package/dist/bundle/{chunk-6RMMAUUW.js → chunk-OZGDPG6I.js} +30 -30
  46. package/dist/bundle/{chunk-3TYEJRMZ.js → chunk-PC3AFEEA.js} +4 -4
  47. package/dist/bundle/{chunk-FUB3X25H.js → chunk-PEF637VV.js} +4 -4
  48. package/dist/bundle/{chunk-V4TDG4KF.js → chunk-PTDJXPXG.js} +14 -14
  49. package/dist/bundle/{chunk-RQVWZBW3.js → chunk-PXQ7A5HQ.js} +3 -3
  50. package/dist/bundle/{chunk-4NYWHINR.js → chunk-QO4K6R7K.js} +6 -6
  51. package/dist/bundle/{chunk-4ULY3GDL.js → chunk-QXXBDW6N.js} +10 -10
  52. package/dist/bundle/{chunk-5JEYIHS6.js → chunk-RGM66WZ3.js} +3 -3
  53. package/dist/bundle/{chunk-QZBT6BOU.js → chunk-ROZBXOES.js} +1 -1
  54. package/dist/bundle/{chunk-VSHJWTX5.js → chunk-SEL7SJCM.js} +6 -6
  55. package/dist/bundle/{chunk-ZKZABB4K.js → chunk-SUB4DRMA.js} +3 -3
  56. package/dist/bundle/{chunk-HFJNEXU7.js → chunk-SYFBRZ5F.js} +2 -2
  57. package/dist/bundle/{chunk-MCJ7LKYR.js → chunk-TKFQ3GNY.js} +6 -6
  58. package/dist/bundle/{chunk-45KA5667.js → chunk-TVZFDVZP.js} +13 -13
  59. package/dist/bundle/{chunk-3GZK5GTU.js → chunk-U6BDAY55.js} +1 -1
  60. package/dist/bundle/{chunk-6LK7KTWB.js → chunk-UHBCL66Y.js} +1 -1
  61. package/dist/bundle/{chunk-ZKCNMW7G.js → chunk-VOGSDGVL.js} +2 -2
  62. package/dist/bundle/{chunk-DXGMPMFP.js → chunk-YLSV3WOO.js} +4 -4
  63. package/dist/bundle/{chunk-LZ5J3UXD.js → chunk-YXQIZORE.js} +4 -4
  64. package/dist/bundle/{chunk-R5MML3FC.js → chunk-Z3TZTOR2.js} +67 -59
  65. package/dist/bundle/{chunk-Q2C3VMSU.js → chunk-ZISFMUYB.js} +18 -18
  66. package/dist/bundle/command-contract-T3H5CAX3.js +34 -0
  67. package/dist/bundle/{decode-KOBURZIQ.js → decode-ZATANRER.js} +5 -5
  68. package/dist/bundle/{dispatch-GDAH4JHS.js → dispatch-5C6XNGEE.js} +8 -8
  69. package/dist/bundle/{dist-T7HMT675.js → dist-JN22LNLZ.js} +13 -13
  70. package/dist/bundle/{echarts-LEWTQO6H.js → echarts-WKTVUY3O.js} +2 -2
  71. package/dist/bundle/{embed-PUFE4BSQ.js → embed-AVKPYK4V.js} +6 -6
  72. package/dist/bundle/{embedder-3G4BQQ6X.js → embedder-PSV2E5TR.js} +9 -9
  73. package/dist/bundle/{failure-6COJAO7T.js → failure-YRGRZBTX.js} +2 -2
  74. package/dist/bundle/{first-run-FLXOC53U.js → first-run-YN4SF5RZ.js} +11 -11
  75. package/dist/bundle/first-screen-IJJZJP6Q.js +32 -0
  76. package/dist/bundle/{instructions-HGSXDCBT.js → instructions-W5SJW23S.js} +1 -1
  77. package/dist/bundle/mail.js +12 -12
  78. package/dist/bundle/{mcp-GAPDLFWA.js → mcp-B25MZCS7.js} +2 -2
  79. package/dist/bundle/{node-5Z7PS4F5.js → node-BHBFRH6H.js} +2 -2
  80. package/dist/bundle/{node-sqlite-OAW7APIX.js → node-sqlite-7FHC3W5U.js} +5 -5
  81. package/dist/bundle/{oauth-ZFZWPAJN.js → oauth-ORPM6FLL.js} +7 -7
  82. package/dist/bundle/{open-ZQMBZVH4.js → open-AY5KLPWO.js} +4 -4
  83. package/dist/bundle/{openai-XT2RIXAK.js → openai-U7VALRI7.js} +14 -14
  84. package/dist/bundle/{process-VVEQIHPE.js → process-7AWARSC5.js} +1 -1
  85. package/dist/bundle/{program-RD3BBDNY.js → program-2W4J47LM.js} +468 -389
  86. package/dist/bundle/{prompt-PU7GE4Z4.js → prompt-STNX6JL7.js} +5 -5
  87. package/dist/bundle/{recognize-AG4A3KUK.js → recognize-2XWWTN6Y.js} +4 -4
  88. package/dist/bundle/{remote-D6TQ6T7F.js → remote-OIC32DKQ.js} +7 -7
  89. package/dist/bundle/{rerank-GO24HJPF.js → rerank-IFTSO576.js} +7 -7
  90. package/dist/bundle/{serve-WCHJAH6G.js → serve-P2D2AJAU.js} +9 -9
  91. package/dist/bundle/server-6D7W5Q4A.js +63 -0
  92. package/dist/bundle/{server-CAVNBG3P.js → server-DFEJBMXO.js} +38 -38
  93. package/dist/bundle/{sqlite-runtime-ANXC4AW2.js → sqlite-runtime-DD4Y35DQ.js} +5 -5
  94. package/dist/bundle/{state-EGJ66A62.js → state-XUSQMIKJ.js} +6 -6
  95. package/dist/bundle/{store-SBFA444C.js → store-EQC5DKSY.js} +13 -13
  96. package/dist/bundle/{store-OON7FCMQ.js → store-T3PKOLER.js} +15 -15
  97. package/dist/bundle/store-maintenance-command-7YQZXE4V.js +52 -0
  98. package/dist/commands/read.d.ts.map +1 -1
  99. package/dist/commands/read.js +1 -0
  100. package/dist/commands/read.js.map +1 -1
  101. package/dist/commands/server-search.d.ts.map +1 -1
  102. package/dist/commands/server-search.js +3 -2
  103. package/dist/commands/server-search.js.map +1 -1
  104. package/dist/oauth.d.ts +2 -5
  105. package/dist/oauth.d.ts.map +1 -1
  106. package/dist/oauth.js +4 -7
  107. package/dist/oauth.js.map +1 -1
  108. package/dist/providers.d.ts +8 -0
  109. package/dist/providers.d.ts.map +1 -1
  110. package/dist/providers.js +2 -0
  111. package/dist/providers.js.map +1 -1
  112. package/dist/version.d.ts +1 -1
  113. package/dist/version.js +1 -1
  114. package/package.json +3 -3
  115. package/dist/bundle/command-contract-CB5BII3S.js +0 -34
  116. package/dist/bundle/first-screen-VUZEDSQW.js +0 -32
  117. package/dist/bundle/server-5KJJ3D6P.js +0 -63
  118. package/dist/bundle/store-maintenance-command-UEOJLYMJ.js +0 -52
  119. /package/dist/bundle/{chunk-WJWLHLQ7.js → chunk-EKRM2QJB.js} +0 -0
@@ -2,19 +2,19 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-BM445GYF.js";
5
+ } from "./chunk-L3KMVMRJ.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/store/driver.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/store/driver.js
11
11
  var PRAGMAS = `
12
12
  PRAGMA busy_timeout = 5000;
13
13
  PRAGMA journal_mode = WAL;
14
14
  PRAGMA foreign_keys = ON;
15
15
  `;
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
18
18
  var SQLITE_WARNING = "SQLite is an experimental feature";
19
19
  var quieted = /* @__PURE__ */ new WeakSet();
20
20
  var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
@@ -35,7 +35,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
35
35
  return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
36
36
  }, "isSqliteWarning");
37
37
 
38
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/store/open.js
38
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/store/open.js
39
39
  var openCache = /* @__PURE__ */ __name(async (path) => {
40
40
  const database = await openFile(path);
41
41
  try {
@@ -48,12 +48,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
48
48
  }, "openCache");
49
49
  var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
50
50
  var openUnderBun = /* @__PURE__ */ __name(async (path) => {
51
- const { openWithBunSqlite } = await import("./bun-sqlite-DGXFNFHI.js");
51
+ const { openWithBunSqlite } = await import("./bun-sqlite-AGK2BHAN.js");
52
52
  return await openWithBunSqlite(path);
53
53
  }, "openUnderBun");
54
54
  var openUnderNode = /* @__PURE__ */ __name(async (path) => {
55
55
  quietSqliteWarning();
56
- const { openWithNodeSqlite } = await import("./node-sqlite-OAW7APIX.js");
56
+ const { openWithNodeSqlite } = await import("./node-sqlite-7FHC3W5U.js");
57
57
  return openWithNodeSqlite(path);
58
58
  }, "openUnderNode");
59
59
  var runtime = /* @__PURE__ */ __name(() => {
@@ -29,7 +29,7 @@ import {
29
29
  agentOf,
30
30
  clientHash,
31
31
  currentCaller
32
- } from "./chunk-ZNGQ3NZ4.js";
32
+ } from "./chunk-M55XFZMG.js";
33
33
  import {
34
34
  __name
35
35
  } from "./chunk-ZVVMGPBJ.js";
@@ -541,7 +541,7 @@ function toError(value) {
541
541
  }
542
542
  __name(toError, "toError");
543
543
 
544
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/mcp/caller.js
544
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/mcp/caller.js
545
545
  var callingAgent = /* @__PURE__ */ __name((fallback, caller = currentCaller()) => {
546
546
  const client = caller?.agent?.client?.name;
547
547
  if (client && client !== "unknown")
@@ -5,23 +5,23 @@ import {
5
5
  installFiles,
6
6
  megabytes,
7
7
  sharedModelsDirectory
8
- } from "./chunk-3TYEJRMZ.js";
8
+ } from "./chunk-PC3AFEEA.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
12
12
  import {
13
13
  CliError
14
- } from "./chunk-BM445GYF.js";
14
+ } from "./chunk-L3KMVMRJ.js";
15
15
  import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
20
20
  import { readFileSync as readFileSync2 } from "node:fs";
21
21
  import { availableParallelism } from "node:os";
22
22
  import { basename, join as join2 } from "node:path";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
25
25
  import { createHash } from "node:crypto";
26
26
  import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
27
27
  import { join } from "node:path";
@@ -678,7 +678,7 @@ var Unzip = /* @__PURE__ */ (function() {
678
678
  return Unzip2;
679
679
  })();
680
680
 
681
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
681
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
682
682
  var ONNX_RUNTIME_VERSION = "1.30.0";
683
683
  var release = /* @__PURE__ */ __name((name, sha256, bytes) => ({
684
684
  name,
@@ -858,7 +858,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
858
858
  return { ort, session: await ort.InferenceSession.create(bytes, options) };
859
859
  }, "openSession");
860
860
 
861
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
861
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
862
862
  var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
863
863
  var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
864
864
  var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
8
8
  var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
9
9
  var kindsByConstructor = /* @__PURE__ */ new WeakMap();
10
10
  function collectKinds(ctor) {
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  defineReasons
5
- } from "./chunk-NXJLC2WK.js";
5
+ } from "./chunk-NAIJNJZZ.js";
6
6
 
7
7
  // dist/reasons.js
8
8
  var ENTRIES = [
@@ -31,7 +31,7 @@ var ENTRIES = [
31
31
  var REASONS = defineReasons(ENTRIES.map(([reason, code, message]) => ({ reason, code, message, details: [] })));
32
32
 
33
33
  // dist/version.js
34
- var VERSION = "0.7.0";
34
+ var VERSION = "0.9.0";
35
35
 
36
36
  // dist/identity.js
37
37
  var PACKAGE = "@wirecat/mail-cli";
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-BM445GYF.js";
5
+ } from "./chunk-L3KMVMRJ.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/search/languages.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/search/languages.js
11
11
  var LANGUAGES = [
12
12
  { name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
13
13
  { name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
@@ -15,12 +15,12 @@ var LANGUAGES = [
15
15
  ];
16
16
  var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/store/normalize.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/store/normalize.js
19
19
  var NORMALIZER_VERSION = 1;
20
20
  var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
21
21
  var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
22
22
 
23
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
24
24
  var BaseStemmer = class {
25
25
  static {
26
26
  __name(this, "BaseStemmer");
@@ -395,7 +395,7 @@ var BaseStemmer = class {
395
395
  }
396
396
  };
397
397
 
398
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
398
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
399
399
  var a_0 = [
400
400
  ["arsen", -1],
401
401
  ["commun", -1],
@@ -1096,7 +1096,7 @@ var english_stemmer_default = class extends BaseStemmer {
1096
1096
  stemWord = this.stem;
1097
1097
  };
1098
1098
 
1099
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1099
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1100
1100
  var a_02 = [
1101
1101
  ["\u0432", 1],
1102
1102
  ["\u0438\u0432", 2, 1],
@@ -1519,7 +1519,7 @@ var russian_stemmer_default = class extends BaseStemmer {
1519
1519
  stemWord = this.stem;
1520
1520
  };
1521
1521
 
1522
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1522
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1523
1523
  var a_03 = [
1524
1524
  ["", 6],
1525
1525
  ["\xE1", 1, 1],
@@ -2195,7 +2195,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
2195
2195
  stemWord = this.stem;
2196
2196
  };
2197
2197
 
2198
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/search/stem.js
2198
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/search/stem.js
2199
2199
  var SNOWBALL_VERSION = "3.1.1";
2200
2200
  var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
2201
2201
  var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/http/listen.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/http/listen.js
8
8
  import { createServer } from "node:http";
9
9
  import { Readable } from "node:stream";
10
10
  var MAX_BODY = 4 * 1024 * 1024;
@@ -5,12 +5,12 @@ import {
5
5
  } from "./chunk-Y5E2WNWB.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-BM445GYF.js";
8
+ } from "./chunk-L3KMVMRJ.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
14
14
  import { readFileSync } from "node:fs";
15
15
  var musl = /* @__PURE__ */ __name(() => {
16
16
  if (process.platform !== "linux")
@@ -3,26 +3,26 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  executableEnvironment,
5
5
  executableOnPath
6
- } from "./chunk-QZBT6BOU.js";
6
+ } from "./chunk-ROZBXOES.js";
7
7
  import {
8
8
  require_cross_spawn
9
9
  } from "./chunk-D72URWJE.js";
10
10
  import {
11
11
  loadConfigFile,
12
12
  saveConfigFile
13
- } from "./chunk-Q2C3VMSU.js";
13
+ } from "./chunk-ZISFMUYB.js";
14
14
  import {
15
15
  number,
16
16
  object,
17
17
  optional,
18
18
  string
19
- } from "./chunk-NXJLC2WK.js";
19
+ } from "./chunk-NAIJNJZZ.js";
20
20
  import {
21
21
  __name,
22
22
  __toESM
23
23
  } from "./chunk-ZVVMGPBJ.js";
24
24
 
25
- // node_modules/.pnpm/@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/update/index.js
25
+ // node_modules/.pnpm/@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/update/index.js
26
26
  var import_cross_spawn = __toESM(require_cross_spawn(), 1);
27
27
  import { existsSync } from "node:fs";
28
28
  var updateCommand = /* @__PURE__ */ __name((installer, packageName) => {
@@ -4,15 +4,15 @@ import {
4
4
  MAX_SECRET_INPUT,
5
5
  bufferedInput,
6
6
  inputPolicy
7
- } from "./chunk-BGUMGCUY.js";
7
+ } from "./chunk-JZMPDFM4.js";
8
8
  import {
9
9
  CliError
10
- } from "./chunk-BM445GYF.js";
10
+ } from "./chunk-L3KMVMRJ.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/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 } = {}) => {
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  readSharedSection,
5
5
  writeSharedSection
6
- } from "./chunk-4NYWHINR.js";
6
+ } from "./chunk-QO4K6R7K.js";
7
7
  import {
8
8
  CliError
9
- } from "./chunk-BM445GYF.js";
9
+ } from "./chunk-L3KMVMRJ.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
15
15
  var PERMISSION_ANSWERS = ["readonly", "allow"];
16
16
  var QUESTIONS = ["languages", "tools", "permissions"];
17
17
  var SECTION = "setup";
@@ -2,27 +2,27 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  ENTITIES
5
- } from "./chunk-M2JCUVCJ.js";
5
+ } from "./chunk-EVG7MOAH.js";
6
6
  import {
7
7
  annotate,
8
8
  answerSchema,
9
9
  describeOptions,
10
10
  metaOf
11
- } from "./chunk-R5MML3FC.js";
11
+ } from "./chunk-Z3TZTOR2.js";
12
12
  import {
13
13
  keyForCommand
14
- } from "./chunk-VSHJWTX5.js";
14
+ } from "./chunk-SEL7SJCM.js";
15
15
  import {
16
16
  jsonSchemaOf
17
- } from "./chunk-NXJLC2WK.js";
17
+ } from "./chunk-NAIJNJZZ.js";
18
18
  import {
19
19
  CliError
20
- } from "./chunk-BM445GYF.js";
20
+ } from "./chunk-L3KMVMRJ.js";
21
21
  import {
22
22
  __name
23
23
  } from "./chunk-ZVVMGPBJ.js";
24
24
 
25
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
25
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
26
26
  var schemas = /* @__PURE__ */ new WeakMap();
27
27
  var answerEntity = /* @__PURE__ */ __name((command, name, schema, options = {}) => {
28
28
  if (Object.hasOwn(ENTITIES, name))
@@ -52,7 +52,7 @@ var answerProjectionSchema = /* @__PURE__ */ __name((command) => {
52
52
  return own && metaOf(command).output?.entity === own.name ? own.project : void 0;
53
53
  }, "answerProjectionSchema");
54
54
 
55
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
55
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
56
56
  var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
57
57
  var outputOf = /* @__PURE__ */ __name((command) => {
58
58
  const entity = answerEntitySchema(command);
@@ -4,7 +4,7 @@ import {
4
4
  commandPathOf,
5
5
  findCommand,
6
6
  outputOf
7
- } from "./chunk-NNIXREJH.js";
7
+ } from "./chunk-6FBBDIX6.js";
8
8
  import {
9
9
  wrapAnsi
10
10
  } from "./chunk-HTQTIKWP.js";
@@ -18,18 +18,18 @@ import {
18
18
  environmentOf,
19
19
  metaOf,
20
20
  takesProfile
21
- } from "./chunk-R5MML3FC.js";
21
+ } from "./chunk-Z3TZTOR2.js";
22
22
  import {
23
23
  writes
24
- } from "./chunk-NXJLC2WK.js";
24
+ } from "./chunk-NAIJNJZZ.js";
25
25
  import {
26
26
  CliError
27
- } from "./chunk-BM445GYF.js";
27
+ } from "./chunk-L3KMVMRJ.js";
28
28
  import {
29
29
  __name
30
30
  } from "./chunk-ZVVMGPBJ.js";
31
31
 
32
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
32
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
33
33
  var SECTIONS = {
34
34
  read: "Read",
35
35
  write: "Write",
@@ -90,7 +90,7 @@ var CORE_SECTIONS = {
90
90
  upgrade: "setup"
91
91
  };
92
92
 
93
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
93
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
94
94
  var DESCRIPTION = 90;
95
95
  var COLUMN = 52;
96
96
  var short = /* @__PURE__ */ __name((text) => {
@@ -129,7 +129,7 @@ var commandsText = /* @__PURE__ */ __name((root, commands, scope) => {
129
129
  `;
130
130
  }, "commandsText");
131
131
 
132
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
132
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
133
133
  var ARGUMENT_KINDS = {
134
134
  chat: "chat",
135
135
  chats: "chat",
@@ -321,7 +321,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
321
321
  command.addHelpText("after", () => commandHelpText(command));
322
322
  }, "installCommandHelp");
323
323
 
324
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
324
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
325
325
  var WIRECAT_TOOLS = [
326
326
  {
327
327
  command: "tg",
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/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");
@@ -2,31 +2,31 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  updateCommand
5
- } from "./chunk-23IEVVL2.js";
5
+ } from "./chunk-5PWKPRTD.js";
6
6
  import {
7
7
  QUESTIONS,
8
8
  readSetupAnswers,
9
9
  unanswered,
10
10
  writeSetupAnswers
11
- } from "./chunk-IYZHM3ZN.js";
11
+ } from "./chunk-65SVO3T7.js";
12
12
  import {
13
13
  DEFAULT_STEMMERS,
14
14
  LANGUAGES
15
- } from "./chunk-GJUUTUK4.js";
15
+ } from "./chunk-4EFKQXA5.js";
16
16
  import {
17
17
  sharedConfigPath
18
- } from "./chunk-4NYWHINR.js";
18
+ } from "./chunk-QO4K6R7K.js";
19
19
  import {
20
20
  installerOf
21
- } from "./chunk-SQLCCKEL.js";
21
+ } from "./chunk-DLB2JPLU.js";
22
22
  import {
23
23
  storePath
24
- } from "./chunk-Q44AYEOB.js";
24
+ } from "./chunk-HZ42NO25.js";
25
25
  import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/cli/first-run.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/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-SBFA444C.js");
87
+ const { openStore } = await import("./store-EQC5DKSY.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-ZQMBZVH4.js"),
117
- import("./store-maintenance-command-UEOJLYMJ.js")
116
+ import("./open-AY5KLPWO.js"),
117
+ import("./store-maintenance-command-7YQZXE4V.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-VUZEDSQW.js");
129
+ const { WIRECAT_TOOLS } = await import("./first-screen-IJJZJP6Q.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-PU7GE4Z4.js")).readSecret(prompt, { input, echo: true }), "ask"),
202
+ ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-STNX6JL7.js")).readSecret(prompt, { input, echo: true }), "ask"),
203
203
  say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
204
204
  `), "say")
205
205
  }
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/installer.js
7
+ // node_modules/.pnpm/@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/installer.js
8
8
  var installerOf = /* @__PURE__ */ __name((scriptPath) => {
9
9
  const path = scriptPath.replaceAll("\\", "/");
10
10
  if (path.includes("/_npx/"))
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-BM445GYF.js";
5
+ } from "./chunk-L3KMVMRJ.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/tasks/model.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/tasks/model.js
11
11
  var TASK_KINDS = ["question", "request", "mention", "promise"];
12
12
  var TASK_STATES = ["open", "todo", "in_progress", "done", "dismissed"];
13
13
  var CLOSED_STATES = ["done", "dismissed"];
@@ -22,7 +22,7 @@ function closeTask(task, state, by, at, reason) {
22
22
  }
23
23
  __name(closeTask, "closeTask");
24
24
 
25
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/tasks/priority.js
25
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/tasks/priority.js
26
26
  var PRIORITY_LABELS = ["low", "medium", "high", "critical"];
27
27
  var MIDDLE = { low: 0.125, medium: 0.375, high: 0.625, critical: 0.875 };
28
28
  var LEGACY_PRIORITY_SCORES = [0.875, 0.625, 0.375, 0.1875, 0.0625];
@@ -51,7 +51,7 @@ var priorityOf = /* @__PURE__ */ __name((value) => {
51
51
  }, "priorityOf");
52
52
  var priorityOption = /* @__PURE__ */ __name((value) => priorityOf(value) ?? "none", "priorityOption");
53
53
 
54
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/tasks/service.js
54
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/tasks/service.js
55
55
  function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
56
56
  async function find(id) {
57
57
  const task = await store.get(id);
@@ -111,13 +111,13 @@ function median(values) {
111
111
  }
112
112
  __name(median, "median");
113
113
 
114
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/tasks/store.js
114
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/tasks/store.js
115
115
  function matches(task, filter) {
116
116
  return (filter.account === void 0 || task.account === filter.account) && (filter.state === void 0 || task.state === filter.state) && (filter.group === void 0 || task.group === filter.group) && (filter.kind === void 0 || task.kind === filter.kind) && (filter.createdBefore === void 0 || task.createdAt < filter.createdBefore);
117
117
  }
118
118
  __name(matches, "matches");
119
119
 
120
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
120
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
121
121
  var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
122
122
  var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
123
123
  var MEMORY_KINDS = ["summary", "digest", "preference"];
@@ -126,7 +126,7 @@ var MEMORY_SCOPES = ["personal", "work"];
126
126
  var WORK_TASK_TYPES = ["bug", "feature", "chore"];
127
127
  var TASK_TYPES = [...WORK_TASK_TYPES, ...TASK_KINDS];
128
128
 
129
- // node_modules/.pnpm/@wirecat+cli-core@0.537.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_e3a3074c051d1ca759b7e8b914e3af6d/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
129
+ // node_modules/.pnpm/@wirecat+cli-core@0.542.0_@wirecat+cli-base@0.72.0_commander@15.0.0_esbuild@0.28.2_type_30804e4648080c93f4901a09634b7e87/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
130
130
  var LINK_KINDS = [
131
131
  "links-to",
132
132
  "blocked-by",