@wirecat/mail-cli 0.26.0 → 0.28.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 (99) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/bin/mail.js +2 -2
  3. package/dist/bundle/{all-profiles-6NXVQLUQ.js → all-profiles-Q4E2LPB4.js} +7 -7
  4. package/dist/bundle/{anthropic-OLNFE2CL.js → anthropic-S3N4JDJU.js} +2 -2
  5. package/dist/bundle/{app-server-J76N6XIK.js → app-server-XS7ABUNU.js} +48 -44
  6. package/dist/bundle/{bun-6PYDHXNR.js → bun-RDYA5FCZ.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-QD5PFHPS.js → bun-sqlite-FPVHKI24.js} +3 -3
  8. package/dist/bundle/{chunk-5WROIMUV.js → chunk-2MTIGJHQ.js} +4 -4
  9. package/dist/bundle/{chunk-OGE7YG4J.js → chunk-3AH7UEM6.js} +1 -1
  10. package/dist/bundle/{chunk-2E2EV4HD.js → chunk-3RBUACSJ.js} +80 -57
  11. package/dist/bundle/{chunk-AJ5K74X6.js → chunk-44IAJV2T.js} +16 -16
  12. package/dist/bundle/{chunk-M7RHPCXM.js → chunk-45ET53MO.js} +2 -2
  13. package/dist/bundle/{chunk-YXGHC3NP.js → chunk-4CRO7EHW.js} +10 -10
  14. package/dist/bundle/{chunk-3J2UJFBJ.js → chunk-54ZEOOL7.js} +15 -15
  15. package/dist/bundle/{chunk-3RY4HC4V.js → chunk-5PDWUD3W.js} +1 -1
  16. package/dist/bundle/{chunk-RXKIP2ML.js → chunk-5ZJ6IHVE.js} +1 -1
  17. package/dist/bundle/{chunk-VA4V73SL.js → chunk-6B2BBL35.js} +5 -5
  18. package/dist/bundle/{chunk-QI6EXKSH.js → chunk-7E4KECG4.js} +1 -1
  19. package/dist/bundle/{chunk-V4PFD25P.js → chunk-7ESXP4TG.js} +1 -1
  20. package/dist/bundle/{chunk-CZI45AQM.js → chunk-ATJANIQR.js} +2 -2
  21. package/dist/bundle/{chunk-76EKZSDK.js → chunk-BDWOTD7E.js} +23 -23
  22. package/dist/bundle/{chunk-A3EBRXOQ.js → chunk-D4QALV67.js} +1 -1
  23. package/dist/bundle/{chunk-JVJG54QK.js → chunk-D6VV655V.js} +1 -1
  24. package/dist/bundle/{chunk-52M5BAEG.js → chunk-DMW6J2P3.js} +1 -1
  25. package/dist/bundle/{chunk-T7SHPALQ.js → chunk-DZYGVA6V.js} +24 -22
  26. package/dist/bundle/{chunk-YM345236.js → chunk-EVO4FGYJ.js} +19 -19
  27. package/dist/bundle/{chunk-HI5XUETY.js → chunk-FHQ32JKS.js} +1 -1
  28. package/dist/bundle/{chunk-MIWSCTLG.js → chunk-FM4B357N.js} +2 -2
  29. package/dist/bundle/{chunk-XZ7CQ6NA.js → chunk-FOZXPSHA.js} +3 -3
  30. package/dist/bundle/{chunk-CFBIPM7T.js → chunk-HFROBAHY.js} +267 -251
  31. package/dist/bundle/{chunk-DKIVYAXW.js → chunk-HKC6ZJA5.js} +12 -12
  32. package/dist/bundle/{chunk-XELZCDWE.js → chunk-HYMSFNTS.js} +158 -148
  33. package/dist/bundle/{chunk-NBJU6MBU.js → chunk-IKTBM64M.js} +7 -7
  34. package/dist/bundle/{chunk-H2IJQH5X.js → chunk-IUIL6OQY.js} +4 -4
  35. package/dist/bundle/{chunk-M2LATBP2.js → chunk-IZEK7JI7.js} +2 -2
  36. package/dist/bundle/{chunk-UNJUCK5R.js → chunk-KBTVVHFP.js} +12 -12
  37. package/dist/bundle/{chunk-QJGG6QYV.js → chunk-KNTAOY5J.js} +7 -7
  38. package/dist/bundle/{chunk-BMGRDZM3.js → chunk-KSFPMRH6.js} +1 -1
  39. package/dist/bundle/{chunk-ZZSZN4CJ.js → chunk-LY2QIBFL.js} +13 -12
  40. package/dist/bundle/{chunk-GIG7F6UW.js → chunk-MT5KDBOM.js} +5 -5
  41. package/dist/bundle/{chunk-HNSBXC6U.js → chunk-MVGFB7IS.js} +2 -2
  42. package/dist/bundle/{chunk-VJPLIXV4.js → chunk-NUHUTJTM.js} +1 -1
  43. package/dist/bundle/{chunk-EDWJ7IYH.js → chunk-ODPYXNHI.js} +1 -1
  44. package/dist/bundle/{chunk-2TCS4PLJ.js → chunk-OLTJB5PW.js} +1 -1
  45. package/dist/bundle/{chunk-LMTQMYUF.js → chunk-P7TVXYJZ.js} +33 -29
  46. package/dist/bundle/{chunk-66C66FNK.js → chunk-PCYTU7HS.js} +1 -1
  47. package/dist/bundle/{chunk-VWRT57QU.js → chunk-PIKOQWTL.js} +4 -4
  48. package/dist/bundle/{chunk-KXASCNOV.js → chunk-PYOM4J73.js} +2 -2
  49. package/dist/bundle/{chunk-PY2IOVUN.js → chunk-TV6OJBK6.js} +3 -3
  50. package/dist/bundle/{chunk-4Q6KAV4O.js → chunk-TVMBGHUW.js} +6 -6
  51. package/dist/bundle/{chunk-3XTKQ5EM.js → chunk-TXDA437R.js} +1 -1
  52. package/dist/bundle/{chunk-M7ECSGSN.js → chunk-UQZJ2GFQ.js} +4 -6
  53. package/dist/bundle/{chunk-NMFPK3MU.js → chunk-UUM7AF32.js} +2 -2
  54. package/dist/bundle/{chunk-BDYQQ6G2.js → chunk-VFRI6RF7.js} +1 -1
  55. package/dist/bundle/{chunk-M4Y33SJJ.js → chunk-VXHL3XI6.js} +2 -2
  56. package/dist/bundle/{chunk-A6XETABW.js → chunk-WZNQ2P7H.js} +17 -17
  57. package/dist/bundle/{chunk-76VSHS5Y.js → chunk-XEMARUGS.js} +7 -7
  58. package/dist/bundle/{chunk-UE2NKPA4.js → chunk-YAQGWHMH.js} +6 -6
  59. package/dist/bundle/{chunk-JNKXU7AE.js → chunk-YE464BDT.js} +52 -52
  60. package/dist/bundle/{chunk-V32L23NN.js → chunk-YSR2XBDO.js} +3 -3
  61. package/dist/bundle/{chunk-XUJEZ5YF.js → chunk-Z5D6CRY6.js} +5 -5
  62. package/dist/bundle/{chunk-PJ6YMNJG.js → chunk-ZIFB6KGQ.js} +447 -407
  63. package/dist/bundle/{chunk-LTZGLOKE.js → chunk-ZPVVSA5R.js} +1 -1
  64. package/dist/bundle/{command-contract-NNEXHZW5.js → command-contract-4PTK23CK.js} +15 -15
  65. package/dist/bundle/{command-server-entry-AIBWNC5D.js → command-server-entry-KSAHRZOO.js} +21 -21
  66. package/dist/bundle/{decode-H7KLRD33.js → decode-SIVT4JWX.js} +2 -2
  67. package/dist/bundle/{dist-YYSP43J3.js → dist-YWSF5MHP.js} +11 -11
  68. package/dist/bundle/{echarts-VSD3LS6D.js → echarts-CABLIXX7.js} +2 -2
  69. package/dist/bundle/{embed-UENZ5HN3.js → embed-OHENS6RB.js} +3 -3
  70. package/dist/bundle/{embedder-MJMGOJT7.js → embedder-JINT4Y4O.js} +6 -6
  71. package/dist/bundle/{first-run-HYALREFN.js → first-run-4XEWECC3.js} +6 -6
  72. package/dist/bundle/first-screen-YI2YNTYY.js +34 -0
  73. package/dist/bundle/{instructions-WOHRYOLN.js → instructions-3D22PA4T.js} +1 -1
  74. package/dist/bundle/mail.js +2 -2
  75. package/dist/bundle/{node-4BRWJJCE.js → node-42G4RGMW.js} +2 -2
  76. package/dist/bundle/{node-sqlite-D3QESEYQ.js → node-sqlite-KQZM5M3N.js} +4 -4
  77. package/dist/bundle/{oauth-T7TTOBIZ.js → oauth-7BNCNKQV.js} +4 -4
  78. package/dist/bundle/{open-6P6627QB.js → open-ULOQOP7K.js} +2 -2
  79. package/dist/bundle/{openai-FIMCJGAP.js → openai-O5AH6VGT.js} +12 -12
  80. package/dist/bundle/{process-35IH3WHC.js → process-6D767IDN.js} +1 -1
  81. package/dist/bundle/{program-IEXB72IK.js → program-UXFXSGIW.js} +400 -380
  82. package/dist/bundle/{prompt-HFBCPMVL.js → prompt-WN7EBVKT.js} +2 -2
  83. package/dist/bundle/{recognize-CNL4HJ7Z.js → recognize-IX33XEXZ.js} +1 -1
  84. package/dist/bundle/{remote-AYGZI7HT.js → remote-22N3FQUC.js} +6 -6
  85. package/dist/bundle/{rerank-5C2OZZXD.js → rerank-IGX4EFA2.js} +4 -4
  86. package/dist/bundle/{serve-S6OYBDIB.js → serve-XWIRR2QZ.js} +6 -6
  87. package/dist/bundle/server-DF2SECWB.js +68 -0
  88. package/dist/bundle/{server-VKO6E6PI.js → server-OQV2MVCA.js} +37 -35
  89. package/dist/bundle/{sqlite-runtime-DBTGNTVE.js → sqlite-runtime-WFBTXXXJ.js} +3 -3
  90. package/dist/bundle/{state-ZQG6AL2Y.js → state-4J5ERHJA.js} +3 -3
  91. package/dist/bundle/{store-LY4QKTOO.js → store-YRBX7XLM.js} +13 -13
  92. package/dist/bundle/{store-B7BXWILZ.js → store-YSP2NPRJ.js} +15 -15
  93. package/dist/bundle/store-maintenance-command-4TW6FABJ.js +58 -0
  94. package/dist/version.d.ts +1 -1
  95. package/dist/version.js +1 -1
  96. package/package.json +2 -2
  97. package/dist/bundle/first-screen-GPF5RHBX.js +0 -34
  98. package/dist/bundle/server-WXSHVDME.js +0 -68
  99. package/dist/bundle/store-maintenance-command-UR6NQDVV.js +0 -58
package/CHANGELOG.md CHANGED
@@ -2,6 +2,27 @@
2
2
 
3
3
  Notable changes to `@wirecat/mail-cli`. One section per version, newest first.
4
4
 
5
+ ## 0.28.0 — 13.11.2026
6
+
7
+ ### Fixed
8
+
9
+ - **Telemost meeting notes in Yandex's older layout get their summary** (cli-core 0.657.0). Most notes emails have no
10
+ «Итоги» heading: the summary is now the text before the first heading, and Yandex's footer is no longer stored.
11
+
12
+ ## 0.27.0 — 13.11.2026
13
+
14
+ ### Changed — may break callers
15
+
16
+ - **Built on cli-core 0.656.0** (was 0.653.0). See the
17
+ [cli-core changelog](https://github.com/WireCatLabs/cli-core/blob/main/CHANGELOG.md).
18
+
19
+ ### Fixed
20
+
21
+ - **Sync runs on a fresh install.** A shared WireCat config (`~/.config/WireCat/config.json`) that could not be
22
+ read (a byte-order mark, broken JSON, a folder in its place, an older `setup` shape) made every WireCat tool
23
+ read-only and refused `sync`. Now only the owner's own "read only" answer limits a tool, and even then a sync runs:
24
+ it only reads the service into the local store (cli-core 0.656.0).
25
+
5
26
  ## 0.26.0 — 13.11.2026
6
27
 
7
28
  ### Added
package/dist/bin/mail.js CHANGED
@@ -9,7 +9,7 @@ if (
9
9
  (words[0] === "--version" || words[0] === "-V") &&
10
10
  !Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
11
11
  ) {
12
- process.stdout.write("0.26.0\n")
12
+ process.stdout.write("0.28.0\n")
13
13
  } else {
14
14
  // Before the bundle compiles: the bundle's own call comes after its chunks.
15
15
  module.enableCompileCache()
@@ -28,7 +28,7 @@ if (
28
28
  : next(specifier, context),
29
29
  })
30
30
  }
31
- const chunks = ["../bundle/all-profiles-6NXVQLUQ.js","../bundle/anthropic-OLNFE2CL.js","../bundle/app-server-J76N6XIK.js","../bundle/bun-6PYDHXNR.js","../bundle/bun-sqlite-QD5PFHPS.js","../bundle/decode-H7KLRD33.js","../bundle/dispatch-DSVN7MNG.js","../bundle/dist-HFUVURJG.js","../bundle/dist-YYSP43J3.js","../bundle/echarts-VSD3LS6D.js","../bundle/embed-UENZ5HN3.js","../bundle/embedder-MJMGOJT7.js","../bundle/failure-COTPFUP4.js","../bundle/first-screen-GPF5RHBX.js","../bundle/instructions-WOHRYOLN.js","../bundle/mcp-TDKGDB4V.js","../bundle/node-4BRWJJCE.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-D3QESEYQ.js","../bundle/oauth-T7TTOBIZ.js","../bundle/open-6P6627QB.js","../bundle/openai-FIMCJGAP.js","../bundle/process-35IH3WHC.js","../bundle/program-IEXB72IK.js","../bundle/prompt-HFBCPMVL.js","../bundle/recognize-CNL4HJ7Z.js","../bundle/remote-AYGZI7HT.js","../bundle/rerank-5C2OZZXD.js","../bundle/serve-S6OYBDIB.js","../bundle/server-VKO6E6PI.js","../bundle/server-WXSHVDME.js","../bundle/sqlite-runtime-DBTGNTVE.js","../bundle/state-ZQG6AL2Y.js","../bundle/store-B7BXWILZ.js","../bundle/store-LY4QKTOO.js","../bundle/store-maintenance-command-UR6NQDVV.js"]
31
+ const chunks = ["../bundle/all-profiles-Q4E2LPB4.js","../bundle/anthropic-S3N4JDJU.js","../bundle/app-server-XS7ABUNU.js","../bundle/bun-RDYA5FCZ.js","../bundle/bun-sqlite-FPVHKI24.js","../bundle/decode-SIVT4JWX.js","../bundle/dispatch-DSVN7MNG.js","../bundle/dist-HFUVURJG.js","../bundle/dist-YWSF5MHP.js","../bundle/echarts-CABLIXX7.js","../bundle/embed-OHENS6RB.js","../bundle/embedder-JINT4Y4O.js","../bundle/failure-COTPFUP4.js","../bundle/first-screen-YI2YNTYY.js","../bundle/instructions-3D22PA4T.js","../bundle/mcp-TDKGDB4V.js","../bundle/node-42G4RGMW.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-KQZM5M3N.js","../bundle/oauth-7BNCNKQV.js","../bundle/open-ULOQOP7K.js","../bundle/openai-O5AH6VGT.js","../bundle/process-6D767IDN.js","../bundle/program-UXFXSGIW.js","../bundle/prompt-WN7EBVKT.js","../bundle/recognize-IX33XEXZ.js","../bundle/remote-22N3FQUC.js","../bundle/rerank-IGX4EFA2.js","../bundle/serve-XWIRR2QZ.js","../bundle/server-DF2SECWB.js","../bundle/server-OQV2MVCA.js","../bundle/sqlite-runtime-WFBTXXXJ.js","../bundle/state-4J5ERHJA.js","../bundle/store-YRBX7XLM.js","../bundle/store-YSP2NPRJ.js","../bundle/store-maintenance-command-4TW6FABJ.js"]
32
32
  if (((words) => words
33
33
  .filter((word) => !word.startsWith("-"))
34
34
  .slice(0, 2)
@@ -2,20 +2,20 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answeredWire
5
- } from "./chunk-BDYQQ6G2.js";
5
+ } from "./chunk-VFRI6RF7.js";
6
6
  import {
7
7
  CALLER_META_KEY,
8
8
  PROXY_CLIENT_NAME,
9
9
  StdioServerTransport,
10
10
  callerOf,
11
11
  serveStdio
12
- } from "./chunk-M4Y33SJJ.js";
12
+ } from "./chunk-VXHL3XI6.js";
13
13
  import {
14
14
  McpServer
15
15
  } from "./chunk-5D4AEUVA.js";
16
- import "./chunk-76VSHS5Y.js";
17
- import "./chunk-VJPLIXV4.js";
18
- import "./chunk-LTZGLOKE.js";
16
+ import "./chunk-XEMARUGS.js";
17
+ import "./chunk-NUHUTJTM.js";
18
+ import "./chunk-ZPVVSA5R.js";
19
19
  import "./chunk-XWBPP2HX.js";
20
20
  import "./chunk-7MEVD5PI.js";
21
21
  import "./chunk-ECZSYLSL.js";
@@ -25,7 +25,7 @@ import {
25
25
  __name
26
26
  } from "./chunk-ZVVMGPBJ.js";
27
27
 
28
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
28
+ // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
29
29
  import { spawn } from "node:child_process";
30
30
  import { randomUUID } from "node:crypto";
31
31
  var PROTOCOL = "2025-06-18";
@@ -259,7 +259,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
259
259
  }, "serveAllProfilesOverStdio");
260
260
  var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
261
261
  const { build, close } = allProfilesServer(options);
262
- const { serveOverHttp } = await import("./serve-S6OYBDIB.js");
262
+ const { serveOverHttp } = await import("./serve-XWIRR2QZ.js");
263
263
  const listening = await serveOverHttp(build, {
264
264
  ...http,
265
265
  appName: options.command,
@@ -8,7 +8,7 @@ import {
8
8
  checkedOptions,
9
9
  messagesFor,
10
10
  systemFor
11
- } from "./chunk-NMFPK3MU.js";
11
+ } from "./chunk-UUM7AF32.js";
12
12
  import "./chunk-7MEVD5PI.js";
13
13
  import {
14
14
  array,
@@ -26,7 +26,7 @@ import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/models/anthropic.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/models/anthropic.js
30
30
  var options = strictObject({
31
31
  stop_sequences: optional(array(string())),
32
32
  thinking: optional(strictObject({ type: picklist(["disabled", "adaptive"]) })),
@@ -3,84 +3,85 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PER_RUN,
5
5
  envelope
6
- } from "./chunk-LMTQMYUF.js";
6
+ } from "./chunk-P7TVXYJZ.js";
7
7
  import {
8
8
  mcpUrlOf
9
- } from "./chunk-T7SHPALQ.js";
10
- import "./chunk-EDWJ7IYH.js";
9
+ } from "./chunk-DZYGVA6V.js";
10
+ import "./chunk-ODPYXNHI.js";
11
11
  import {
12
12
  answered,
13
13
  failed,
14
14
  registerCommands,
15
15
  runCommandForAgent,
16
16
  toolsFromCommands
17
- } from "./chunk-YM345236.js";
17
+ } from "./chunk-EVO4FGYJ.js";
18
18
  import {
19
19
  agentJson,
20
20
  skillResource
21
- } from "./chunk-ZZSZN4CJ.js";
22
- import "./chunk-M2LATBP2.js";
21
+ } from "./chunk-LY2QIBFL.js";
22
+ import "./chunk-IZEK7JI7.js";
23
23
  import {
24
24
  appInstructions
25
- } from "./chunk-QI6EXKSH.js";
25
+ } from "./chunk-7E4KECG4.js";
26
26
  import {
27
27
  answeredWire
28
- } from "./chunk-BDYQQ6G2.js";
28
+ } from "./chunk-VFRI6RF7.js";
29
29
  import {
30
30
  StdioServerTransport,
31
31
  serveStdio
32
- } from "./chunk-M4Y33SJJ.js";
32
+ } from "./chunk-VXHL3XI6.js";
33
33
  import {
34
34
  McpServer
35
35
  } from "./chunk-5D4AEUVA.js";
36
36
  import {
37
37
  mcpHttpMarker
38
- } from "./chunk-VWRT57QU.js";
39
- import "./chunk-3J2UJFBJ.js";
40
- import "./chunk-CFBIPM7T.js";
41
- import "./chunk-UNJUCK5R.js";
42
- import "./chunk-UE2NKPA4.js";
43
- import "./chunk-NMFPK3MU.js";
44
- import "./chunk-HNSBXC6U.js";
45
- import "./chunk-HI5XUETY.js";
46
- import "./chunk-PY2IOVUN.js";
38
+ } from "./chunk-PIKOQWTL.js";
39
+ import "./chunk-54ZEOOL7.js";
40
+ import "./chunk-HFROBAHY.js";
41
+ import "./chunk-KBTVVHFP.js";
42
+ import "./chunk-YAQGWHMH.js";
43
+ import "./chunk-UUM7AF32.js";
44
+ import "./chunk-MVGFB7IS.js";
45
+ import "./chunk-FHQ32JKS.js";
46
+ import "./chunk-TV6OJBK6.js";
47
47
  import {
48
48
  DEFAULT_OUTPUT_BYTES,
49
49
  changesAuthorityAt,
50
50
  describeProgram,
51
51
  environmentOf,
52
+ fetchesOnlyAt,
52
53
  judgedTargets,
53
54
  readOnlyLockOf,
54
55
  readsOverMcpAt,
55
56
  rootOf2 as rootOf
56
- } from "./chunk-XELZCDWE.js";
57
- import "./chunk-5WROIMUV.js";
58
- import "./chunk-76VSHS5Y.js";
59
- import "./chunk-V4PFD25P.js";
57
+ } from "./chunk-HYMSFNTS.js";
58
+ import "./chunk-2MTIGJHQ.js";
59
+ import "./chunk-XEMARUGS.js";
60
+ import "./chunk-7ESXP4TG.js";
60
61
  import "./chunk-7C6FGWDH.js";
61
62
  import "./chunk-FIVFP53N.js";
62
- import "./chunk-M7ECSGSN.js";
63
- import "./chunk-AJ5K74X6.js";
64
- import "./chunk-M7RHPCXM.js";
65
- import "./chunk-PJ6YMNJG.js";
66
- import "./chunk-A6XETABW.js";
67
- import "./chunk-76EKZSDK.js";
68
- import "./chunk-2E2EV4HD.js";
69
- import "./chunk-VJPLIXV4.js";
70
- import "./chunk-LTZGLOKE.js";
71
- import "./chunk-NBJU6MBU.js";
72
- import "./chunk-A3EBRXOQ.js";
73
- import "./chunk-QJGG6QYV.js";
74
- import "./chunk-3RY4HC4V.js";
75
- import "./chunk-XUJEZ5YF.js";
76
- import "./chunk-GIG7F6UW.js";
77
- import "./chunk-XZ7CQ6NA.js";
63
+ import "./chunk-UQZJ2GFQ.js";
64
+ import "./chunk-44IAJV2T.js";
65
+ import "./chunk-45ET53MO.js";
66
+ import "./chunk-ZIFB6KGQ.js";
67
+ import "./chunk-WZNQ2P7H.js";
68
+ import "./chunk-BDWOTD7E.js";
69
+ import "./chunk-3RBUACSJ.js";
70
+ import "./chunk-NUHUTJTM.js";
71
+ import "./chunk-ZPVVSA5R.js";
72
+ import "./chunk-IKTBM64M.js";
73
+ import "./chunk-D4QALV67.js";
74
+ import "./chunk-KNTAOY5J.js";
75
+ import "./chunk-5PDWUD3W.js";
76
+ import "./chunk-Z5D6CRY6.js";
77
+ import "./chunk-MT5KDBOM.js";
78
+ import "./chunk-FOZXPSHA.js";
78
79
  import "./chunk-M4OP5ASJ.js";
79
80
  import "./chunk-XWBPP2HX.js";
80
81
  import "./chunk-D72URWJE.js";
81
- import "./chunk-3XTKQ5EM.js";
82
- import "./chunk-VA4V73SL.js";
83
- import "./chunk-2TCS4PLJ.js";
82
+ import "./chunk-TXDA437R.js";
83
+ import "./chunk-6B2BBL35.js";
84
+ import "./chunk-OLTJB5PW.js";
84
85
  import "./chunk-7MEVD5PI.js";
85
86
  import {
86
87
  mcpErrorResult
@@ -89,12 +90,12 @@ import "./chunk-Y5E2WNWB.js";
89
90
  import {
90
91
  CliError
91
92
  } from "./chunk-7KCBPAQS.js";
92
- import "./chunk-52M5BAEG.js";
93
+ import "./chunk-DMW6J2P3.js";
93
94
  import {
94
95
  __name
95
96
  } from "./chunk-ZVVMGPBJ.js";
96
97
 
97
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
98
+ // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
98
99
  var EXCLUDED = [["mcp"]];
99
100
  var aliasesOf = /* @__PURE__ */ __name((root, path) => {
100
101
  let at = root;
@@ -116,6 +117,7 @@ var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
116
117
  const levels = /* @__PURE__ */ __name(() => options.resolveSettings(flags, { env: context.env }).permissions, "levels");
117
118
  const readOnly = /* @__PURE__ */ __name(() => readOnlyLockOf(app, context.env) !== void 0, "readOnly");
118
119
  const authority = changesAuthorityAt(root);
120
+ const fetches = fetchesOnlyAt(root);
119
121
  const targets = judgedTargets(root);
120
122
  const passed = Object.fromEntries(Object.entries(environment).filter(([key]) => !PER_RUN.has(key)));
121
123
  const tools = toolsFromCommands(program.commands, {
@@ -126,6 +128,7 @@ var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
126
128
  readOnly: readOnly(),
127
129
  authority,
128
130
  fetchOnly: readsOverMcpAt(root),
131
+ fetches,
129
132
  permissions: options.permissions
130
133
  });
131
134
  const availability = /* @__PURE__ */ __name((one) => () => {
@@ -159,6 +162,7 @@ var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
159
162
  levels,
160
163
  overrides,
161
164
  authority,
165
+ fetches,
162
166
  permissions: options.permissions,
163
167
  environment: passed
164
168
  });
@@ -221,7 +225,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
221
225
  var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
222
226
  const { app } = options;
223
227
  const { build } = createAppServer(command, context, options);
224
- const { serveOverHttp } = await import("./serve-S6OYBDIB.js");
228
+ const { serveOverHttp } = await import("./serve-XWIRR2QZ.js");
225
229
  const listening = await serveOverHttp(build, {
226
230
  ...http,
227
231
  appName: app.command,
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-52M5BAEG.js";
21
+ } from "./chunk-DMW6J2P3.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
27
27
  import { Database } from "bun:sqlite";
28
28
  var bunSQLiteCodecs = refineSqliteCodecs({
29
29
  "integer:boolean": { normalize: booleanFromInteger },
@@ -3,10 +3,10 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-RXKIP2ML.js";
6
+ } from "./chunk-5ZJ6IHVE.js";
7
7
  import {
8
8
  refuseOwnerStoreInTests
9
- } from "./chunk-3XTKQ5EM.js";
9
+ } from "./chunk-TXDA437R.js";
10
10
  import "./chunk-7MEVD5PI.js";
11
11
  import "./chunk-ECZSYLSL.js";
12
12
  import {
@@ -17,7 +17,7 @@ import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
21
21
  var customised = false;
22
22
  var ownLibrary = /* @__PURE__ */ __name(async () => {
23
23
  try {
@@ -17,7 +17,7 @@ import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/sends/permissions.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/sends/permissions.js
21
21
  var LEVELS = ["deny", "readonly", "ask", "allow"];
22
22
  var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
23
23
  var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
@@ -421,7 +421,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
421
421
  }
422
422
  }, "assertRetentionEvidenceRead");
423
423
 
424
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
424
+ // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
425
425
  var named = /* @__PURE__ */ __name((work) => {
426
426
  try {
427
427
  return work();
@@ -448,7 +448,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
448
448
  return projectFields(value, fields);
449
449
  }), "projectFields");
450
450
 
451
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/output-detail.js
451
+ // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/output-detail.js
452
452
  var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
453
453
  var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
454
454
  var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
@@ -484,7 +484,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
484
484
  return value;
485
485
  }, "atDetail");
486
486
 
487
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/output.js
487
+ // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/output.js
488
488
  var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
489
489
  const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
490
490
  if (other)
@@ -12,7 +12,7 @@ import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.653.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_65220cf269874adf69135700bd89254b/node_modules/@wirecat/cli-core/dist/render/messages.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/render/messages.js
16
16
  import { styleText } from "node:util";
17
17
  var TIME_WIDTH = 8;
18
18
  var INDENT = " ".repeat(TIME_WIDTH + 2);