@wirecat/mail-cli 0.3.0 → 0.5.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 (102) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +10 -7
  3. package/dist/bin/mail.js +2 -2
  4. package/dist/bundle/{all-profiles-52LCOKSL.js → all-profiles-GR5JXYEQ.js} +5 -5
  5. package/dist/bundle/{anthropic-HPW7PLTT.js → anthropic-REBXE65F.js} +3 -3
  6. package/dist/bundle/{app-server-Y7XSPVHJ.js → app-server-QJ7ICQXZ.js} +39 -39
  7. package/dist/bundle/{bun-B7YXDIMT.js → bun-WAX4QHW5.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-TTTKY7H2.js → bun-sqlite-5S7TQ4SG.js} +2 -2
  9. package/dist/bundle/{chunk-FGNTGLWA.js → chunk-2FXVBCA3.js} +3 -3
  10. package/dist/bundle/{chunk-K6SIGXRS.js → chunk-2MRECWJZ.js} +5 -5
  11. package/dist/bundle/{chunk-X7TFD5SX.js → chunk-2U4IANVV.js} +1 -1
  12. package/dist/bundle/{chunk-KALDYMKJ.js → chunk-2YQNBIDQ.js} +3 -3
  13. package/dist/bundle/{chunk-XD3TL4BK.js → chunk-4BMNP2FT.js} +1 -1
  14. package/dist/bundle/{chunk-732GKOLO.js → chunk-4XJ4AM3K.js} +10 -10
  15. package/dist/bundle/{chunk-RZCFEASJ.js → chunk-5CXAH4Y6.js} +195 -195
  16. package/dist/bundle/{chunk-C2THROZU.js → chunk-5FK6RD4M.js} +42 -42
  17. package/dist/bundle/{chunk-RORC2FW7.js → chunk-5INWLYBD.js} +2 -2
  18. package/dist/bundle/{chunk-5LY3OS7U.js → chunk-6EO7GVYJ.js} +1 -1
  19. package/dist/bundle/{chunk-JDOOPGKW.js → chunk-6GE3EADU.js} +2 -2
  20. package/dist/bundle/{chunk-4UOEUEZZ.js → chunk-6TY3DGCC.js} +4 -4
  21. package/dist/bundle/{chunk-Y2HGQK7A.js → chunk-7A7BHABA.js} +1 -1
  22. package/dist/bundle/{chunk-TLZWUADZ.js → chunk-7F3NDIYL.js} +5 -5
  23. package/dist/bundle/{chunk-V7NZTJKU.js → chunk-7JCRQX56.js} +7 -7
  24. package/dist/bundle/{chunk-GX2M3AOO.js → chunk-7XNPSIWD.js} +2 -2
  25. package/dist/bundle/{chunk-MXUUQXMA.js → chunk-AFCGOZR7.js} +5 -5
  26. package/dist/bundle/{chunk-DKKCQMDM.js → chunk-B5WSIWY5.js} +16 -16
  27. package/dist/bundle/{chunk-ZIJJNH47.js → chunk-BFJV4FWJ.js} +1 -1
  28. package/dist/bundle/{chunk-JHNLU42I.js → chunk-BLS5YG77.js} +1 -1
  29. package/dist/bundle/{chunk-4PXWXI2U.js → chunk-CEAANMJ2.js} +2 -2
  30. package/dist/bundle/{chunk-IXHLMSHV.js → chunk-DXDQOZ2P.js} +2 -2
  31. package/dist/bundle/{chunk-TNQOKGJS.js → chunk-EB3R2PV3.js} +21 -21
  32. package/dist/bundle/{chunk-XQVGIW4R.js → chunk-EL554DV2.js} +2 -2
  33. package/dist/bundle/{chunk-QTWIZKUI.js → chunk-ESNNQA7D.js} +26 -26
  34. package/dist/bundle/{chunk-SRMJ6LLC.js → chunk-F3NYA4KN.js} +5 -5
  35. package/dist/bundle/{chunk-LCA5KC34.js → chunk-FSUNGHRI.js} +43 -43
  36. package/dist/bundle/{chunk-VTJDEWMB.js → chunk-HCMUGUAG.js} +2 -2
  37. package/dist/bundle/{chunk-FUXSKWWJ.js → chunk-IBYTYIYO.js} +46 -46
  38. package/dist/bundle/{chunk-KXVZ373I.js → chunk-IWDOGGMY.js} +299 -266
  39. package/dist/bundle/{chunk-3RDTVH3H.js → chunk-JJBQPA7D.js} +3 -3
  40. package/dist/bundle/{chunk-O2F54PUO.js → chunk-KIDF77MA.js} +1 -1
  41. package/dist/bundle/{chunk-C6E3VFUX.js → chunk-LFRHIXCF.js} +2 -2
  42. package/dist/bundle/{chunk-N5WIUNOT.js → chunk-LNS27BTB.js} +1 -1
  43. package/dist/bundle/{chunk-JXYFIUVX.js → chunk-LOA4X6JW.js} +4 -4
  44. package/dist/bundle/{chunk-PYIJCWCH.js → chunk-M6BDHZON.js} +11 -11
  45. package/dist/bundle/{chunk-5SSFYIFF.js → chunk-MMDCL42A.js} +5 -4
  46. package/dist/bundle/{chunk-HS25KDT3.js → chunk-MQUJEQTU.js} +1 -1
  47. package/dist/bundle/{chunk-TL7PE6JU.js → chunk-PJCTWPJB.js} +6 -6
  48. package/dist/bundle/{chunk-I2ARI6FI.js → chunk-QXOSGGKS.js} +1 -1
  49. package/dist/bundle/{chunk-YVIX7FHL.js → chunk-S677WGOQ.js} +5 -5
  50. package/dist/bundle/{chunk-FX77WAQL.js → chunk-SQ7KOBRA.js} +6 -6
  51. package/dist/bundle/{chunk-PL6UPJIL.js → chunk-SWJAG5IE.js} +1 -1
  52. package/dist/bundle/{chunk-MHNEMDH3.js → chunk-VDAIJM5L.js} +13 -13
  53. package/dist/bundle/{chunk-H2JVXO5V.js → chunk-VXAZZGXE.js} +21 -21
  54. package/dist/bundle/{chunk-LJDOPCPW.js → chunk-WNCCYHRV.js} +91 -91
  55. package/dist/bundle/{chunk-RMYYKBFW.js → chunk-WNI5BZFB.js} +7 -7
  56. package/dist/bundle/{chunk-37MSU5O6.js → chunk-YD5WV757.js} +2 -2
  57. package/dist/bundle/{chunk-O3DRPTWF.js → chunk-YKPBC3NL.js} +1 -1
  58. package/dist/bundle/{chunk-RVIMMCHF.js → chunk-YRGBZZUW.js} +9 -9
  59. package/dist/bundle/{command-contract-3HA7CZEQ.js → command-contract-GPUED3GT.js} +13 -13
  60. package/dist/bundle/{decode-VLI3MAXE.js → decode-D7BDVIVB.js} +2 -2
  61. package/dist/bundle/{dist-C7LAAMNF.js → dist-KJOAJ6NF.js} +14 -14
  62. package/dist/bundle/{echarts-POTU3SHN.js → echarts-IVRX7XHP.js} +2 -2
  63. package/dist/bundle/{embed-J2DEEEUF.js → embed-X527RBTG.js} +3 -3
  64. package/dist/bundle/{embedder-5N56V7YJ.js → embedder-F4PSJS6S.js} +6 -6
  65. package/dist/bundle/{first-run-XILZE4PI.js → first-run-M5CIX6NA.js} +5 -5
  66. package/dist/bundle/{first-screen-43VLEDWZ.js → first-screen-M7MT776O.js} +14 -14
  67. package/dist/bundle/{instructions-B7AUZXPL.js → instructions-UX36BT5F.js} +1 -1
  68. package/dist/bundle/mail.js +2 -2
  69. package/dist/bundle/{node-SZAO6HTA.js → node-OXT7WE2T.js} +2 -2
  70. package/dist/bundle/{node-sqlite-O34FFLRV.js → node-sqlite-X2PSEHA4.js} +2 -2
  71. package/dist/bundle/{oauth-YYTLIPJT.js → oauth-MYK4BSYN.js} +4 -4
  72. package/dist/bundle/{open-SWJGI6H4.js → open-GONIP2DH.js} +1 -1
  73. package/dist/bundle/{openai-GYXWCQOV.js → openai-YJFNUOQT.js} +10 -10
  74. package/dist/bundle/{process-GLVWCUMK.js → process-7IEUUSRK.js} +1 -1
  75. package/dist/bundle/{program-HW73TGIF.js → program-Q73TTG3E.js} +927 -610
  76. package/dist/bundle/{prompt-OZLHHGCD.js → prompt-SKQ72KN7.js} +2 -2
  77. package/dist/bundle/{recognize-RDQSGHC5.js → recognize-GC7CU2DB.js} +1 -1
  78. package/dist/bundle/{remote-BKU5P3GK.js → remote-UEXFZP2I.js} +4 -4
  79. package/dist/bundle/{rerank-EQIXYHKB.js → rerank-2U2NDEZP.js} +4 -4
  80. package/dist/bundle/{serve-S6K5HKWG.js → serve-OOGKFEWL.js} +6 -6
  81. package/dist/bundle/server-4JMHDHZ7.js +63 -0
  82. package/dist/bundle/{server-4VRVHPQC.js → server-FZ3LFQTF.js} +31 -31
  83. package/dist/bundle/{sqlite-runtime-OOE455YM.js → sqlite-runtime-GIQSW6LJ.js} +2 -2
  84. package/dist/bundle/{state-OLPOJ2TY.js → state-EMFXPQVZ.js} +3 -3
  85. package/dist/bundle/{store-WFV26CWY.js → store-BDU4UPNK.js} +11 -11
  86. package/dist/bundle/{store-6AVCPLH4.js → store-LDI62AUG.js} +11 -9
  87. package/dist/bundle/store-maintenance-command-OFRPORN2.js +52 -0
  88. package/dist/commands/read.d.ts +3 -0
  89. package/dist/commands/read.d.ts.map +1 -0
  90. package/dist/commands/read.js +33 -0
  91. package/dist/commands/read.js.map +1 -0
  92. package/dist/identity.js +1 -1
  93. package/dist/identity.js.map +1 -1
  94. package/dist/program.d.ts.map +1 -1
  95. package/dist/program.js +4 -2
  96. package/dist/program.js.map +1 -1
  97. package/dist/version.d.ts +1 -1
  98. package/dist/version.js +1 -1
  99. package/package.json +3 -3
  100. package/skills/mail-cli/SKILL.md +6 -2
  101. package/dist/bundle/server-WK6DRJX2.js +0 -63
  102. package/dist/bundle/store-maintenance-command-S6235I3W.js +0 -52
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  wirecatDirectory
5
- } from "./chunk-PL6UPJIL.js";
5
+ } from "./chunk-SWJAG5IE.js";
6
6
  import {
7
7
  CliError
8
8
  } from "./chunk-5BVIWP3S.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.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/speech/models.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/node_modules/@wirecat/cli-core/dist/speech/models.js
14
14
  var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
15
15
  var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
16
16
  var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
@@ -135,7 +135,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
135
135
  return model;
136
136
  }, "speechModel");
137
137
 
138
- // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/speech/install.js
138
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/node_modules/@wirecat/cli-core/dist/speech/install.js
139
139
  import { createHash, randomUUID } from "node:crypto";
140
140
  import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
141
141
  import { rename, rm } from "node:fs/promises";
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/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) {
@@ -4,7 +4,7 @@ import {
4
4
  MAX_SECRET_INPUT,
5
5
  bufferedInput,
6
6
  inputPolicy
7
- } from "./chunk-ZIJJNH47.js";
7
+ } from "./chunk-BFJV4FWJ.js";
8
8
  import {
9
9
  CliError
10
10
  } from "./chunk-5BVIWP3S.js";
@@ -12,7 +12,7 @@ import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/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 } = {}) => {
@@ -17,7 +17,7 @@ import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/models/options.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/node_modules/@wirecat/cli-core/dist/models/options.js
21
21
  var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
22
22
  const parsed = safeParse(schema, options);
23
23
  if (!parsed.success) {
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  storePath
5
- } from "./chunk-PL6UPJIL.js";
5
+ } from "./chunk-SWJAG5IE.js";
6
6
  import {
7
7
  resolvePaths
8
8
  } from "./chunk-J3QXTBD2.js";
@@ -14,11 +14,11 @@ import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/store/shared-config.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/node_modules/@wirecat/cli-core/dist/store/shared-config.js
18
18
  import { mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
19
19
  import { dirname, join, resolve } from "node:path";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
22
22
  var DEFAULT_TASK_CATEGORIES = [
23
23
  {
24
24
  name: "taxes",
@@ -773,7 +773,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
773
773
  }
774
774
  }, "storedTaskCategories");
775
775
 
776
- // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/store/shared-config.js
776
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/node_modules/@wirecat/cli-core/dist/store/shared-config.js
777
777
  var SECTION = "task_categories";
778
778
  var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
779
779
  const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/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.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
76
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/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.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
114
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/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.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/files/lock.js
143
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/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.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
147
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/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.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
153
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/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.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
157
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/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.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
202
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/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.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
261
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/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.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
286
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/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.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/files/lock.js
357
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/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 });
@@ -14,7 +14,7 @@ import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/sends/permissions.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/node_modules/@wirecat/cli-core/dist/sends/permissions.js
18
18
  var LEVELS = ["deny", "readonly", "ask", "allow"];
19
19
  var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
20
20
  var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
@@ -403,7 +403,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
403
403
  }
404
404
  }, "assertRetentionEvidenceRead");
405
405
 
406
- // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
406
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
407
407
  var named = /* @__PURE__ */ __name((work) => {
408
408
  try {
409
409
  return work();
@@ -430,7 +430,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
430
430
  return projectFields(value, fields);
431
431
  }), "projectFields");
432
432
 
433
- // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/output-detail.js
433
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/node_modules/@wirecat/cli-core/dist/output-detail.js
434
434
  var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
435
435
  var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
436
436
  var isHit = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && typeof value.locator === "string" && typeof value.text === "string", "isHit");
@@ -460,7 +460,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
460
460
  return value;
461
461
  }, "atDetail");
462
462
 
463
- // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/output.js
463
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/node_modules/@wirecat/cli-core/dist/output.js
464
464
  var resolveOutput = /* @__PURE__ */ __name(({ json, jsonl, quiet, streams = processStreams, tty, color, fields, hitDetail, env = process.env, capture } = {}) => {
465
465
  const interactive = tty ?? process.stdout.isTTY === true;
466
466
  const format = jsonl ? "jsonl" : json || !interactive ? "json" : "pretty";
@@ -533,5 +533,6 @@ export {
533
533
  assertRetentionEvidenceRead,
534
534
  fieldsOf2 as fieldsOf,
535
535
  projectFields2 as projectFields,
536
+ atDetail,
536
537
  resolveOutput
537
538
  };
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
14
14
  import { readFileSync } from "node:fs";
15
15
  var musl = /* @__PURE__ */ __name(() => {
16
16
  if (process.platform !== "linux")
@@ -4,7 +4,7 @@ import {
4
4
  commandPathOf,
5
5
  findCommand,
6
6
  outputOf
7
- } from "./chunk-MXUUQXMA.js";
7
+ } from "./chunk-AFCGOZR7.js";
8
8
  import {
9
9
  wrapAnsi
10
10
  } from "./chunk-HTQTIKWP.js";
@@ -18,7 +18,7 @@ import {
18
18
  environmentOf,
19
19
  metaOf,
20
20
  takesProfile
21
- } from "./chunk-FUXSKWWJ.js";
21
+ } from "./chunk-IBYTYIYO.js";
22
22
  import {
23
23
  writes
24
24
  } from "./chunk-LQ37ALDJ.js";
@@ -29,7 +29,7 @@ import {
29
29
  __name
30
30
  } from "./chunk-ZVVMGPBJ.js";
31
31
 
32
- // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
32
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/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.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
93
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/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.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
132
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/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.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
324
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/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.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/background/processes.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/node_modules/@wirecat/cli-core/dist/background/processes.js
8
8
  import { execFileSync } from "node:child_process";
9
9
  import { readdirSync, readFileSync, readlinkSync } from "node:fs";
10
10
  var alive = /* @__PURE__ */ __name((pid) => {
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  LEVELS
5
- } from "./chunk-5SSFYIFF.js";
5
+ } from "./chunk-MMDCL42A.js";
6
6
  import {
7
7
  resolvePaths,
8
8
  writeSecurely
@@ -35,7 +35,7 @@ import {
35
35
  __name
36
36
  } from "./chunk-ZVVMGPBJ.js";
37
37
 
38
- // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/resolve.js
38
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/node_modules/@wirecat/cli-core/dist/resolve.js
39
39
  var isId = /* @__PURE__ */ __name((reference) => /^-?\d+$/.test(reference.trim()), "isId");
40
40
  var foldName = /* @__PURE__ */ __name((name) => name.normalize("NFC").replace(/[\uFE0E\uFE0F\u200D]/g, "").toLowerCase(), "foldName");
41
41
  var pickChat = /* @__PURE__ */ __name((reference, chats) => {
@@ -73,7 +73,7 @@ ${lines}`, { candidates });
73
73
  }, "ambiguous");
74
74
  var isPresent = /* @__PURE__ */ __name((value) => value !== null && value !== void 0, "isPresent");
75
75
 
76
- // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/domain/formatting.js
76
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/node_modules/@wirecat/cli-core/dist/domain/formatting.js
77
77
  var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "the messenger formatter returned invalid text spans"), "invalid");
78
78
  var validateFormattedText = /* @__PURE__ */ __name((formatted) => {
79
79
  const { text, spans } = formatted;
@@ -133,7 +133,7 @@ var visibleFormattedText = /* @__PURE__ */ __name((formatted) => {
133
133
  };
134
134
  }, "visibleFormattedText");
135
135
 
136
- // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/moderation/check.js
136
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/node_modules/@wirecat/cli-core/dist/moderation/check.js
137
137
  var INVITE = /max\.ru\/join\/|(t|telegram)\.me\/(\+|joinchat\/)|tg:\/\/join/i;
138
138
  var LINK = /https?:\/\/\S+/i;
139
139
  var STRENGTH = { report: 0, delete: 1, remove: 2 };
@@ -321,7 +321,7 @@ var nextPoint = /* @__PURE__ */ __name((rows, found) => {
321
321
  }, "nextPoint");
322
322
  var someUndone = /* @__PURE__ */ __name((rows) => rows.some(undone), "someUndone");
323
323
 
324
- // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/moderation/rules.js
324
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/node_modules/@wirecat/cli-core/dist/moderation/rules.js
325
325
  import { existsSync, readFileSync } from "node:fs";
326
326
  import { join } from "node:path";
327
327
  var RULE_ACTIONS = ["report", "delete", "remove"];
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/tasks/model.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/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.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/tasks/priority.js
25
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/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];
@@ -49,7 +49,7 @@ var priorityOf = /* @__PURE__ */ __name((value) => {
49
49
  }, "priorityOf");
50
50
  var priorityOption = /* @__PURE__ */ __name((value) => priorityOf(value) ?? "none", "priorityOption");
51
51
 
52
- // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/tasks/service.js
52
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/node_modules/@wirecat/cli-core/dist/tasks/service.js
53
53
  function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
54
54
  async function find(id) {
55
55
  const task = await store.get(id);
@@ -109,13 +109,13 @@ function median(values) {
109
109
  }
110
110
  __name(median, "median");
111
111
 
112
- // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/tasks/store.js
112
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/node_modules/@wirecat/cli-core/dist/tasks/store.js
113
113
  function matches(task, filter) {
114
114
  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);
115
115
  }
116
116
  __name(matches, "matches");
117
117
 
118
- // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
118
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
119
119
  var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
120
120
  var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
121
121
  var MEMORY_KINDS = ["summary", "digest", "preference"];
@@ -124,7 +124,7 @@ var MEMORY_SCOPES = ["personal", "work"];
124
124
  var WORK_TASK_TYPES = ["bug", "feature", "chore"];
125
125
  var TASK_TYPES = [...WORK_TASK_TYPES, ...TASK_KINDS];
126
126
 
127
- // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
127
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
128
128
  var LINK_KINDS = [
129
129
  "links-to",
130
130
  "blocked-by",
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/store/path.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/node_modules/@wirecat/cli-core/dist/store/path.js
11
11
  import { join } from "node:path";
12
12
  var wirecatDirectory = /* @__PURE__ */ __name((env = process.env, platform) => resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env, ...platform ? { platform } : {} }).state, "wirecatDirectory");
13
13
  var storePath = /* @__PURE__ */ __name((env = process.env) => env.MESSAGING_STORE ?? join(wirecatDirectory(env), "wirecat.db"), "storePath");
@@ -6,26 +6,26 @@ import {
6
6
  agentArguments,
7
7
  agentJson,
8
8
  commandAvailability
9
- } from "./chunk-RVIMMCHF.js";
9
+ } from "./chunk-YRGBZZUW.js";
10
10
  import {
11
11
  failureContext
12
- } from "./chunk-RORC2FW7.js";
12
+ } from "./chunk-5INWLYBD.js";
13
13
  import {
14
14
  callerOf
15
- } from "./chunk-GX2M3AOO.js";
15
+ } from "./chunk-7XNPSIWD.js";
16
16
  import {
17
17
  lentConnection,
18
18
  onlineDeps,
19
19
  refuseLacking,
20
20
  servicesFor,
21
21
  storeModeDeps
22
- } from "./chunk-RZCFEASJ.js";
22
+ } from "./chunk-5CXAH4Y6.js";
23
23
  import {
24
24
  MAX_BUFFERED_INPUT
25
- } from "./chunk-ZIJJNH47.js";
25
+ } from "./chunk-BFJV4FWJ.js";
26
26
  import {
27
27
  ENTITIES
28
- } from "./chunk-LJDOPCPW.js";
28
+ } from "./chunk-WNCCYHRV.js";
29
29
  import {
30
30
  DEFAULT_OUTPUT_BYTES,
31
31
  LOCAL_WRITE,
@@ -43,20 +43,20 @@ import {
43
43
  sealed,
44
44
  startRecording,
45
45
  traceOf
46
- } from "./chunk-FUXSKWWJ.js";
46
+ } from "./chunk-IBYTYIYO.js";
47
47
  import {
48
48
  authorityAllowed,
49
49
  botApiAllowed,
50
50
  keyForCommand,
51
51
  levelFor,
52
52
  readKeysForCommand
53
- } from "./chunk-5SSFYIFF.js";
53
+ } from "./chunk-MMDCL42A.js";
54
54
  import {
55
55
  currentCaller,
56
56
  keepsSuccess,
57
57
  runContextOf,
58
58
  withCaller
59
- } from "./chunk-RMYYKBFW.js";
59
+ } from "./chunk-WNI5BZFB.js";
60
60
  import {
61
61
  captureStreams,
62
62
  traceIdOf
@@ -107,7 +107,7 @@ import {
107
107
  __name
108
108
  } from "./chunk-ZVVMGPBJ.js";
109
109
 
110
- // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/mcp/agent.js
110
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/node_modules/@wirecat/cli-core/dist/mcp/agent.js
111
111
  import { Readable } from "node:stream";
112
112
 
113
113
  // node_modules/.pnpm/@wirecat+cli-base@0.68.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
@@ -2773,7 +2773,7 @@ var VOCABULARY = defineVocabulary({
2773
2773
  flags: [...HOW_FLAGS, ...WHAT_FLAGS, ...CALENDAR_FLAGS]
2774
2774
  });
2775
2775
 
2776
- // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2776
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2777
2777
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
2778
2778
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
2779
2779
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -2994,7 +2994,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
2994
2994
  }
2995
2995
  }, "runCommandForAgent");
2996
2996
 
2997
- // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/mcp/tool.js
2997
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/node_modules/@wirecat/cli-core/dist/mcp/tool.js
2998
2998
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
2999
2999
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
3000
3000
  var message = pipe(
@@ -3253,7 +3253,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
3253
3253
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
3254
3254
  }, "failed");
3255
3255
 
3256
- // node_modules/.pnpm/@wirecat+cli-core@0.519.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_3a77a7242330d89656a32c8be893f1d1/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3256
+ // node_modules/.pnpm/@wirecat+cli-core@0.521.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_66d5ccffb8b88e4b24c051b84ef1952a/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3257
3257
  import { randomUUID } from "node:crypto";
3258
3258
  var MATCHES = 8;
3259
3259
  var ANSWER = answerSchema();