@wirecat/mail-cli 0.23.0 → 0.24.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 (121) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/bin/mail.js +2 -2
  3. package/dist/bundle/{all-profiles-CI32WFEV.js → all-profiles-VS7P6DJY.js} +11 -11
  4. package/dist/bundle/{anthropic-ICSOMJIN.js → anthropic-C5JXKGBS.js} +16 -7
  5. package/dist/bundle/{app-server-3F4ZB7DH.js → app-server-HU3LVU42.js} +51 -50
  6. package/dist/bundle/{bun-7AHNFZMZ.js → bun-QLFX47WZ.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-UIWRS4HI.js → bun-sqlite-W4PGAKVY.js} +5 -5
  8. package/dist/bundle/{chunk-ETIUB2DF.js → chunk-3FD3IATT.js} +6 -6
  9. package/dist/bundle/{chunk-6FSLEARF.js → chunk-3KSK5BBB.js} +2 -2
  10. package/dist/bundle/{chunk-I3YNNSGB.js → chunk-4QNHAM3J.js} +2 -2
  11. package/dist/bundle/{chunk-7SWWVDEZ.js → chunk-4W4EVVL4.js} +61 -21
  12. package/dist/bundle/{chunk-JDKC7EXM.js → chunk-5NLHDK7P.js} +50 -46
  13. package/dist/bundle/{chunk-AHRHP2H2.js → chunk-5X3GU5LI.js} +6 -6
  14. package/dist/bundle/{chunk-KNRONMVG.js → chunk-64ZG5ERD.js} +2 -2
  15. package/dist/bundle/{chunk-RIAZTS6C.js → chunk-6PWCQKMD.js} +12 -12
  16. package/dist/bundle/{chunk-4PNIZUEC.js → chunk-6VV7J2TN.js} +36 -57
  17. package/dist/bundle/{chunk-5AS5N7V5.js → chunk-A6J4MPTI.js} +3 -1
  18. package/dist/bundle/{chunk-ZYHBMDNU.js → chunk-AUTX2MLF.js} +11 -9
  19. package/dist/bundle/{chunk-5Y2WRUYP.js → chunk-B72343TK.js} +2 -2
  20. package/dist/bundle/{chunk-7SIWMF77.js → chunk-BFQQV22T.js} +1 -1
  21. package/dist/bundle/chunk-C3NYJW6B.js +1542 -0
  22. package/dist/bundle/{chunk-7ZDH2XEY.js → chunk-C5BMCLCQ.js} +4 -4
  23. package/dist/bundle/{chunk-JO4BJYVE.js → chunk-DW3F6DUW.js} +1 -1
  24. package/dist/bundle/chunk-EKGRNFYQ.js +18 -0
  25. package/dist/bundle/{chunk-4YTX5YAU.js → chunk-FKWUUCX2.js} +1361 -1539
  26. package/dist/bundle/{chunk-LLYVBO3R.js → chunk-FNLUKODV.js} +19 -19
  27. package/dist/bundle/{chunk-HGV7DSSA.js → chunk-H5FJTHVA.js} +2 -2
  28. package/dist/bundle/{chunk-3QVGB2CI.js → chunk-HBZAJINU.js} +4 -4
  29. package/dist/bundle/{chunk-BT7UUI6E.js → chunk-IRUN4XOV.js} +2 -2
  30. package/dist/bundle/{chunk-4TKQIXND.js → chunk-JMLIKXFO.js} +2 -2
  31. package/dist/bundle/{chunk-XV3M3NAN.js → chunk-JOQGJUFT.js} +1 -1
  32. package/dist/bundle/{chunk-NEDYKKJJ.js → chunk-JWMLMAHP.js} +4 -4
  33. package/dist/bundle/{chunk-5QQOUYNA.js → chunk-KGOVFEWZ.js} +3 -3
  34. package/dist/bundle/{chunk-NKDYHAHP.js → chunk-KV4VTKF3.js} +3 -3
  35. package/dist/bundle/chunk-LVGX7VTD.js +138 -0
  36. package/dist/bundle/{chunk-3DQYO7FB.js → chunk-MCPOZNWG.js} +1 -1
  37. package/dist/bundle/{chunk-SCH3NC5X.js → chunk-MTO6YVMN.js} +3 -3
  38. package/dist/bundle/{chunk-R4RAWEMV.js → chunk-NCRSE647.js} +286 -48
  39. package/dist/bundle/{chunk-UTLJQG6Q.js → chunk-NSIN5IM4.js} +8 -8
  40. package/dist/bundle/{chunk-IMIY7HQB.js → chunk-NWKKPDZV.js} +2 -2
  41. package/dist/bundle/chunk-O373QEAJ.js +1243 -0
  42. package/dist/bundle/{chunk-OMW37FXK.js → chunk-OQW6GHUA.js} +1 -1
  43. package/dist/bundle/{chunk-D6WTKSRA.js → chunk-PRQ2U7HF.js} +2 -2
  44. package/dist/bundle/{chunk-HRIYU2HJ.js → chunk-PT6MF2VU.js} +469 -120
  45. package/dist/bundle/{chunk-B6GITVDX.js → chunk-Q4OKEN3B.js} +7 -7
  46. package/dist/bundle/{chunk-ELGEHZK2.js → chunk-Q6K2XUGU.js} +1 -1
  47. package/dist/bundle/{chunk-CNYQ3TTZ.js → chunk-QI3PXUOJ.js} +43 -595
  48. package/dist/bundle/{chunk-SGMENSI6.js → chunk-QVMOEB3I.js} +391 -16
  49. package/dist/bundle/{chunk-S2U5BXWS.js → chunk-RLQZFZLK.js} +80 -5
  50. package/dist/bundle/{chunk-SETCGPFG.js → chunk-RN7OI5KL.js} +9 -8
  51. package/dist/bundle/{chunk-5J4WNTTM.js → chunk-RNZKQMFY.js} +14 -14
  52. package/dist/bundle/{chunk-WQRX4RQS.js → chunk-RUASZW3M.js} +5 -5
  53. package/dist/bundle/{chunk-UHC5I3JV.js → chunk-RX5CJ55S.js} +1 -1
  54. package/dist/bundle/{chunk-FHCOGR7S.js → chunk-SWKQ6IAR.js} +3 -3
  55. package/dist/bundle/{chunk-KJQZXCNK.js → chunk-TI7ZIPA2.js} +4 -4
  56. package/dist/bundle/{chunk-7DFWXIY5.js → chunk-TLEBSMC7.js} +1997 -768
  57. package/dist/bundle/{chunk-5Z7LZAVP.js → chunk-U6MMQNNK.js} +6 -6
  58. package/dist/bundle/{chunk-HN6PB7F5.js → chunk-VNKWSCN7.js} +99 -42
  59. package/dist/bundle/{chunk-DALBYUPC.js → chunk-VUBZFMGP.js} +2 -2
  60. package/dist/bundle/{chunk-XP5FBDIG.js → chunk-VVL4MKYH.js} +1 -1
  61. package/dist/bundle/{chunk-TEL2OMS5.js → chunk-WOX7FZJP.js} +686 -220
  62. package/dist/bundle/{chunk-2BAO4T4Z.js → chunk-X47BL4M5.js} +13 -13
  63. package/dist/bundle/{chunk-GOMJNH56.js → chunk-X7J3TTDO.js} +8 -8
  64. package/dist/bundle/{chunk-FVKZ55I2.js → chunk-XBEO472U.js} +29976 -16640
  65. package/dist/bundle/{chunk-UA4BOLIY.js → chunk-YA45XV6G.js} +4 -4
  66. package/dist/bundle/{chunk-FIZWQTUC.js → chunk-YBQ5AYLZ.js} +3 -3
  67. package/dist/bundle/{chunk-AFPETMXZ.js → chunk-YI544LHI.js} +13 -136
  68. package/dist/bundle/chunk-ZO4MQWIK.js +188 -0
  69. package/dist/bundle/{chunk-7OVVX4F4.js → chunk-ZR2BDNGG.js} +1 -1
  70. package/dist/bundle/command-contract-ERYYPAD2.js +35 -0
  71. package/dist/bundle/command-server-entry-5E3PPDE5.js +164 -0
  72. package/dist/bundle/{decode-BJXABRAN.js → decode-AVWV7SVZ.js} +5 -5
  73. package/dist/bundle/{dispatch-G4CYFWQ2.js → dispatch-BXPHSNK5.js} +10 -10
  74. package/dist/bundle/{dist-LLEA6R4V.js → dist-PIOOKBWT.js} +78 -44
  75. package/dist/bundle/{echarts-YPTKBOZV.js → echarts-7K6YQV52.js} +2 -2
  76. package/dist/bundle/{embed-DMROTI5M.js → embed-4NT76GJK.js} +6 -6
  77. package/dist/bundle/{embedder-DWMHXCHJ.js → embedder-ITQFF7EN.js} +9 -9
  78. package/dist/bundle/{failure-FFPK2WYB.js → failure-3Q65JOPD.js} +2 -2
  79. package/dist/bundle/{first-run-FQOEF2IO.js → first-run-PM74YU4X.js} +11 -11
  80. package/dist/bundle/first-screen-WBVGVSMY.js +33 -0
  81. package/dist/bundle/{instructions-OGKMROLD.js → instructions-JDSITYHV.js} +1 -1
  82. package/dist/bundle/mail.js +37 -13
  83. package/dist/bundle/{mcp-CFVG2OUS.js → mcp-7KQUJNFN.js} +2 -2
  84. package/dist/bundle/{node-HIKYE546.js → node-D6YIJOJI.js} +2 -2
  85. package/dist/bundle/{node-sqlite-3GJAG7VO.js → node-sqlite-PJOHHB4X.js} +6 -6
  86. package/dist/bundle/{oauth-H3DB6IHI.js → oauth-BOWJ3IBT.js} +7 -7
  87. package/dist/bundle/{open-DJ2PRG74.js → open-FIAKKZMW.js} +5 -5
  88. package/dist/bundle/{openai-MDBRYB55.js → openai-QL54VVLC.js} +16 -37
  89. package/dist/bundle/{process-4LBD72JH.js → process-AYHK7WRC.js} +1 -1
  90. package/dist/bundle/{program-F6WK6RX4.js → program-6FKWOTBK.js} +3206 -1603
  91. package/dist/bundle/{prompt-UNPUG6SO.js → prompt-XJZCBELC.js} +5 -5
  92. package/dist/bundle/{recognize-DMIO4PDB.js → recognize-OQKWAHBY.js} +4 -4
  93. package/dist/bundle/{remote-24HJA72D.js → remote-NLVUZ5WK.js} +7 -7
  94. package/dist/bundle/{rerank-PTNCHHIU.js → rerank-NRPZDTJ7.js} +7 -7
  95. package/dist/bundle/{serve-T6JHM2YD.js → serve-O4YUI7F6.js} +9 -9
  96. package/dist/bundle/server-6OT5ZEWL.js +66 -0
  97. package/dist/bundle/{server-BWEYRUR3.js → server-WAL3M4OO.js} +40 -40
  98. package/dist/bundle/{sqlite-runtime-ZJ4EH5ZM.js → sqlite-runtime-5YHGI4D4.js} +6 -6
  99. package/dist/bundle/{state-KSN4OFYW.js → state-WYYOJ7KK.js} +6 -6
  100. package/dist/bundle/{store-OIEZJEA7.js → store-6BJO3F2J.js} +22 -16
  101. package/dist/bundle/{store-GVBW2ZFK.js → store-X72GOJHD.js} +50 -22
  102. package/dist/bundle/store-maintenance-command-ASS7RBYC.js +54 -0
  103. package/dist/commands/rules.d.ts.map +1 -1
  104. package/dist/commands/rules.js +29 -7
  105. package/dist/commands/rules.js.map +1 -1
  106. package/dist/commands/sync.d.ts +0 -1
  107. package/dist/commands/sync.d.ts.map +1 -1
  108. package/dist/commands/sync.js +8 -2
  109. package/dist/commands/sync.js.map +1 -1
  110. package/dist/config.d.ts +4 -0
  111. package/dist/config.d.ts.map +1 -1
  112. package/dist/version.d.ts +1 -1
  113. package/dist/version.js +1 -1
  114. package/package.json +4 -4
  115. package/dist/bundle/chunk-5AQ4S4TZ.js +0 -12172
  116. package/dist/bundle/chunk-B4MWHI2V.js +0 -380
  117. package/dist/bundle/command-contract-UIRWJVEY.js +0 -35
  118. package/dist/bundle/first-screen-B6LF5464.js +0 -33
  119. package/dist/bundle/server-VUQNR5ZD.js +0 -65
  120. package/dist/bundle/store-maintenance-command-KJ54HLUQ.js +0 -54
  121. /package/dist/bundle/{chunk-QZLK2ISN.js → chunk-YVNHQFLC.js} +0 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,35 @@
2
2
 
3
3
  Notable changes to `@wirecat/mail-cli`. One section per version, newest first.
4
4
 
5
+ ## 0.24.0 — 10.11.2026
6
+
7
+ ### Changed — may break callers
8
+
9
+ - **Built on cli-core 0.630.0** (was 0.618.0). The store moves to version 63 on first open. A mailbox you connect
10
+ under another person's name is no longer joined to you: it waits for you as a proposal. What changed in between is
11
+ in [cli-core's changelog](https://github.com/WireCatLabs/cli-core/blob/main/CHANGELOG.md).
12
+ - **`schedule pause <name>` and `schedule resume <name>`** take a schedule off its timer and keep it; `schedule run`
13
+ still runs it. `--at` repeats: `--at 08:30 --at 18:00` runs twice a day.
14
+
15
+ ## 0.23.1 — 08.11.2026
16
+
17
+ ### Added
18
+
19
+ - **`MAIL_READ_ONLY` lets `rules add` through, narrowed**, so memo's scheduled mail triage can file a sender as
20
+ envelopes: only `--sender` or `--list-id` with `--do envelope`, only where no rule with those conditions exists,
21
+ recorded with `source: agent`. `--domain`, `--filter`, `--kind`, any other action or a tag, a replaced rule,
22
+ `rules remove|import|apply` and every change on the mail server stay refused.
23
+
24
+ ### Fixed
25
+
26
+ - **A `sync --rescan` that stops at its request cap now says so and says how to go on.** `--timeout` sets the cap (about
27
+ 85 requests at the default) and `--max-pages` can only lower it, so a high `--max-pages` looked ignored. Running the
28
+ same `--rescan` again starts over from the newest mail and never reaches the oldest; the hint and the next step now
29
+ name the cap and tell you to run `sync` without `--rescan`, which continues from where the run stopped.
30
+ - **cli-core 0.618.0 (was 0.614.0).** After `store recover run` (from memo, tg, max or wa) the recovered store makes
31
+ each mail folder forget the UIDs it listed past its last stored email from a day before the last deep check that
32
+ passed, so the next ordinary `mail sync` reads that mail again; `--rescan` is no longer needed for it.
33
+
5
34
  ## 0.22.0 — 08.11.2026
6
35
 
7
36
  ### 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.23.0\n")
12
+ process.stdout.write("0.24.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-CI32WFEV.js","../bundle/anthropic-ICSOMJIN.js","../bundle/app-server-3F4ZB7DH.js","../bundle/bun-7AHNFZMZ.js","../bundle/bun-sqlite-UIWRS4HI.js","../bundle/decode-BJXABRAN.js","../bundle/dispatch-G4CYFWQ2.js","../bundle/dist-HFUVURJG.js","../bundle/dist-LLEA6R4V.js","../bundle/echarts-YPTKBOZV.js","../bundle/embed-DMROTI5M.js","../bundle/embedder-DWMHXCHJ.js","../bundle/failure-FFPK2WYB.js","../bundle/first-screen-B6LF5464.js","../bundle/instructions-OGKMROLD.js","../bundle/mcp-CFVG2OUS.js","../bundle/node-HIKYE546.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-3GJAG7VO.js","../bundle/oauth-H3DB6IHI.js","../bundle/open-DJ2PRG74.js","../bundle/openai-MDBRYB55.js","../bundle/process-4LBD72JH.js","../bundle/program-F6WK6RX4.js","../bundle/prompt-UNPUG6SO.js","../bundle/recognize-DMIO4PDB.js","../bundle/remote-24HJA72D.js","../bundle/rerank-PTNCHHIU.js","../bundle/serve-T6JHM2YD.js","../bundle/server-BWEYRUR3.js","../bundle/server-VUQNR5ZD.js","../bundle/sqlite-runtime-ZJ4EH5ZM.js","../bundle/state-KSN4OFYW.js","../bundle/store-GVBW2ZFK.js","../bundle/store-OIEZJEA7.js","../bundle/store-maintenance-command-KJ54HLUQ.js"]
31
+ const chunks = ["../bundle/all-profiles-VS7P6DJY.js","../bundle/anthropic-C5JXKGBS.js","../bundle/app-server-HU3LVU42.js","../bundle/bun-QLFX47WZ.js","../bundle/bun-sqlite-W4PGAKVY.js","../bundle/decode-AVWV7SVZ.js","../bundle/dispatch-BXPHSNK5.js","../bundle/dist-HFUVURJG.js","../bundle/dist-PIOOKBWT.js","../bundle/echarts-7K6YQV52.js","../bundle/embed-4NT76GJK.js","../bundle/embedder-ITQFF7EN.js","../bundle/failure-3Q65JOPD.js","../bundle/first-screen-WBVGVSMY.js","../bundle/instructions-JDSITYHV.js","../bundle/mcp-7KQUJNFN.js","../bundle/node-D6YIJOJI.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-PJOHHB4X.js","../bundle/oauth-BOWJ3IBT.js","../bundle/open-FIAKKZMW.js","../bundle/openai-QL54VVLC.js","../bundle/process-AYHK7WRC.js","../bundle/program-6FKWOTBK.js","../bundle/prompt-XJZCBELC.js","../bundle/recognize-OQKWAHBY.js","../bundle/remote-NLVUZ5WK.js","../bundle/rerank-NRPZDTJ7.js","../bundle/serve-O4YUI7F6.js","../bundle/server-6OT5ZEWL.js","../bundle/server-WAL3M4OO.js","../bundle/sqlite-runtime-5YHGI4D4.js","../bundle/state-WYYOJ7KK.js","../bundle/store-6BJO3F2J.js","../bundle/store-X72GOJHD.js","../bundle/store-maintenance-command-ASS7RBYC.js"]
32
32
  if (((words) => words
33
33
  .filter((word) => !word.startsWith("-"))
34
34
  .slice(0, 2)
@@ -2,30 +2,30 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answeredWire
5
- } from "./chunk-7SIWMF77.js";
5
+ } from "./chunk-BFQQV22T.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-HGV7DSSA.js";
12
+ } from "./chunk-H5FJTHVA.js";
13
13
  import {
14
14
  McpServer
15
15
  } from "./chunk-5D4AEUVA.js";
16
- import "./chunk-ZYHBMDNU.js";
17
- import "./chunk-6FSLEARF.js";
18
- import "./chunk-ELGEHZK2.js";
19
- import "./chunk-QZLK2ISN.js";
20
- import "./chunk-LLYVBO3R.js";
21
- import "./chunk-GOMJNH56.js";
16
+ import "./chunk-AUTX2MLF.js";
17
+ import "./chunk-3KSK5BBB.js";
18
+ import "./chunk-Q6K2XUGU.js";
19
+ import "./chunk-YVNHQFLC.js";
20
+ import "./chunk-FNLUKODV.js";
21
+ import "./chunk-X7J3TTDO.js";
22
22
  import "./chunk-Y5E2WNWB.js";
23
- import "./chunk-DALBYUPC.js";
23
+ import "./chunk-VUBZFMGP.js";
24
24
  import {
25
25
  __name
26
26
  } from "./chunk-ZVVMGPBJ.js";
27
27
 
28
- // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_af5f2db22f61976c09fb28de9c7dc33e/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
28
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/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-T6JHM2YD.js");
262
+ const { serveOverHttp } = await import("./serve-O4YUI7F6.js");
263
263
  const listening = await serveOverHttp(build, {
264
264
  ...http,
265
265
  appName: options.command,
@@ -7,23 +7,32 @@ import {
7
7
  checkedOptions,
8
8
  messagesFor,
9
9
  systemFor
10
- } from "./chunk-NEDYKKJJ.js";
11
- import "./chunk-LLYVBO3R.js";
10
+ } from "./chunk-JWMLMAHP.js";
11
+ import "./chunk-FNLUKODV.js";
12
12
  import {
13
13
  array,
14
+ literal,
14
15
  optional,
16
+ picklist,
17
+ record,
15
18
  strictObject,
16
- string
17
- } from "./chunk-GOMJNH56.js";
19
+ string,
20
+ unknown
21
+ } from "./chunk-X7J3TTDO.js";
18
22
  import "./chunk-Y5E2WNWB.js";
19
- import "./chunk-DALBYUPC.js";
23
+ import "./chunk-VUBZFMGP.js";
20
24
  import {
21
25
  __name
22
26
  } from "./chunk-ZVVMGPBJ.js";
23
27
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_af5f2db22f61976c09fb28de9c7dc33e/node_modules/@wirecat/cli-core/dist/models/anthropic.js
28
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/node_modules/@wirecat/cli-core/dist/models/anthropic.js
25
29
  var options = strictObject({
26
- stop_sequences: optional(array(string()))
30
+ stop_sequences: optional(array(string())),
31
+ thinking: optional(strictObject({ type: picklist(["disabled", "adaptive"]) })),
32
+ output_config: optional(strictObject({
33
+ effort: optional(picklist(["low", "medium", "high"])),
34
+ format: optional(strictObject({ type: literal("json_schema"), schema: record(string(), unknown()) }))
35
+ }))
27
36
  });
28
37
  var anthropic = {
29
38
  images: true,
@@ -3,46 +3,47 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PER_RUN,
5
5
  envelope
6
- } from "./chunk-JDKC7EXM.js";
6
+ } from "./chunk-5NLHDK7P.js";
7
+ import {
8
+ mcpUrlOf
9
+ } from "./chunk-6VV7J2TN.js";
10
+ import "./chunk-EKGRNFYQ.js";
7
11
  import {
8
12
  answered,
9
13
  failed,
10
14
  registerCommands,
11
15
  runCommandForAgent,
12
16
  toolsFromCommands
13
- } from "./chunk-R4RAWEMV.js";
14
- import {
15
- mcpUrlOf
16
- } from "./chunk-4PNIZUEC.js";
17
+ } from "./chunk-NCRSE647.js";
17
18
  import {
18
19
  agentJson,
19
20
  skillResource
20
- } from "./chunk-5J4WNTTM.js";
21
- import "./chunk-S2U5BXWS.js";
21
+ } from "./chunk-RNZKQMFY.js";
22
+ import "./chunk-RLQZFZLK.js";
22
23
  import {
23
24
  appInstructions
24
- } from "./chunk-OMW37FXK.js";
25
+ } from "./chunk-OQW6GHUA.js";
25
26
  import {
26
27
  answeredWire
27
- } from "./chunk-7SIWMF77.js";
28
+ } from "./chunk-BFQQV22T.js";
28
29
  import {
29
30
  StdioServerTransport,
30
31
  serveStdio
31
- } from "./chunk-HGV7DSSA.js";
32
+ } from "./chunk-H5FJTHVA.js";
32
33
  import {
33
34
  McpServer
34
35
  } from "./chunk-5D4AEUVA.js";
35
36
  import {
36
37
  mcpHttpMarker
37
- } from "./chunk-UA4BOLIY.js";
38
- import "./chunk-CNYQ3TTZ.js";
39
- import "./chunk-7DFWXIY5.js";
40
- import "./chunk-2BAO4T4Z.js";
41
- import "./chunk-AFPETMXZ.js";
42
- import "./chunk-NEDYKKJJ.js";
43
- import "./chunk-FIZWQTUC.js";
44
- import "./chunk-IMIY7HQB.js";
45
- import "./chunk-WQRX4RQS.js";
38
+ } from "./chunk-YA45XV6G.js";
39
+ import "./chunk-QI3PXUOJ.js";
40
+ import "./chunk-TLEBSMC7.js";
41
+ import "./chunk-X47BL4M5.js";
42
+ import "./chunk-YI544LHI.js";
43
+ import "./chunk-JWMLMAHP.js";
44
+ import "./chunk-YBQ5AYLZ.js";
45
+ import "./chunk-NWKKPDZV.js";
46
+ import "./chunk-RUASZW3M.js";
46
47
  import {
47
48
  DEFAULT_OUTPUT_BYTES,
48
49
  changesAuthorityAt,
@@ -52,46 +53,46 @@ import {
52
53
  readOnlyLockOf,
53
54
  readsOverMcpAt,
54
55
  rootOf2 as rootOf
55
- } from "./chunk-4YTX5YAU.js";
56
- import "./chunk-B6GITVDX.js";
57
- import "./chunk-ZYHBMDNU.js";
58
- import "./chunk-JO4BJYVE.js";
59
- import "./chunk-3QVGB2CI.js";
60
- import "./chunk-3DQYO7FB.js";
61
- import "./chunk-FHCOGR7S.js";
62
- import "./chunk-HN6PB7F5.js";
63
- import "./chunk-SCH3NC5X.js";
64
- import "./chunk-FVKZ55I2.js";
65
- import "./chunk-5AQ4S4TZ.js";
66
- import "./chunk-B4MWHI2V.js";
67
- import "./chunk-TEL2OMS5.js";
68
- import "./chunk-6FSLEARF.js";
69
- import "./chunk-ELGEHZK2.js";
70
- import "./chunk-UTLJQG6Q.js";
71
- import "./chunk-ETIUB2DF.js";
72
- import "./chunk-NKDYHAHP.js";
73
- import "./chunk-AHRHP2H2.js";
74
- import "./chunk-KJQZXCNK.js";
75
- import "./chunk-5Y2WRUYP.js";
76
- import "./chunk-UHC5I3JV.js";
77
- import "./chunk-QZLK2ISN.js";
56
+ } from "./chunk-FKWUUCX2.js";
57
+ import "./chunk-Q4OKEN3B.js";
58
+ import "./chunk-AUTX2MLF.js";
59
+ import "./chunk-DW3F6DUW.js";
60
+ import "./chunk-HBZAJINU.js";
61
+ import "./chunk-MCPOZNWG.js";
62
+ import "./chunk-SWKQ6IAR.js";
63
+ import "./chunk-VNKWSCN7.js";
64
+ import "./chunk-MTO6YVMN.js";
65
+ import "./chunk-XBEO472U.js";
66
+ import "./chunk-C3NYJW6B.js";
67
+ import "./chunk-O373QEAJ.js";
68
+ import "./chunk-WOX7FZJP.js";
69
+ import "./chunk-3KSK5BBB.js";
70
+ import "./chunk-Q6K2XUGU.js";
71
+ import "./chunk-NSIN5IM4.js";
72
+ import "./chunk-3FD3IATT.js";
73
+ import "./chunk-KV4VTKF3.js";
74
+ import "./chunk-5X3GU5LI.js";
75
+ import "./chunk-TI7ZIPA2.js";
76
+ import "./chunk-B72343TK.js";
77
+ import "./chunk-RX5CJ55S.js";
78
+ import "./chunk-YVNHQFLC.js";
78
79
  import "./chunk-D72URWJE.js";
79
- import "./chunk-5Z7LZAVP.js";
80
- import "./chunk-5AS5N7V5.js";
81
- import "./chunk-LLYVBO3R.js";
80
+ import "./chunk-U6MMQNNK.js";
81
+ import "./chunk-A6J4MPTI.js";
82
+ import "./chunk-FNLUKODV.js";
82
83
  import {
83
84
  mcpErrorResult
84
- } from "./chunk-GOMJNH56.js";
85
+ } from "./chunk-X7J3TTDO.js";
85
86
  import "./chunk-Y5E2WNWB.js";
86
87
  import {
87
88
  CliError
88
- } from "./chunk-DALBYUPC.js";
89
- import "./chunk-XV3M3NAN.js";
89
+ } from "./chunk-VUBZFMGP.js";
90
+ import "./chunk-JOQGJUFT.js";
90
91
  import {
91
92
  __name
92
93
  } from "./chunk-ZVVMGPBJ.js";
93
94
 
94
- // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_af5f2db22f61976c09fb28de9c7dc33e/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
95
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
95
96
  var EXCLUDED = [["mcp"]];
96
97
  var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
97
98
  const { app } = options;
@@ -209,7 +210,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
209
210
  var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
210
211
  const { app } = options;
211
212
  const { build } = createAppServer(command, context, options);
212
- const { serveOverHttp } = await import("./serve-T6JHM2YD.js");
213
+ const { serveOverHttp } = await import("./serve-O4YUI7F6.js");
213
214
  const listening = await serveOverHttp(build, {
214
215
  ...http,
215
216
  appName: app.command,
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-XV3M3NAN.js";
21
+ } from "./chunk-JOQGJUFT.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_af5f2db22f61976c09fb28de9c7dc33e/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/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,18 +3,18 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-4TKQIXND.js";
7
- import "./chunk-LLYVBO3R.js";
8
- import "./chunk-GOMJNH56.js";
6
+ } from "./chunk-JMLIKXFO.js";
7
+ import "./chunk-FNLUKODV.js";
8
+ import "./chunk-X7J3TTDO.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
12
- import "./chunk-DALBYUPC.js";
12
+ import "./chunk-VUBZFMGP.js";
13
13
  import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_af5f2db22f61976c09fb28de9c7dc33e/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
18
18
  var customised = false;
19
19
  var ownLibrary = /* @__PURE__ */ __name(async () => {
20
20
  try {
@@ -2,23 +2,23 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  storePath
5
- } from "./chunk-5Y2WRUYP.js";
5
+ } from "./chunk-B72343TK.js";
6
6
  import {
7
7
  resolvePaths
8
- } from "./chunk-LLYVBO3R.js";
8
+ } from "./chunk-FNLUKODV.js";
9
9
  import {
10
10
  CliError,
11
11
  singleLine
12
- } from "./chunk-DALBYUPC.js";
12
+ } from "./chunk-VUBZFMGP.js";
13
13
  import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_af5f2db22f61976c09fb28de9c7dc33e/node_modules/@wirecat/cli-core/dist/store/shared-config.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/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.614.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_af5f2db22f61976c09fb28de9c7dc33e/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/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.614.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_af5f2db22f61976c09fb28de9c7dc33e/node_modules/@wirecat/cli-core/dist/store/shared-config.js
776
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/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 });
@@ -3,12 +3,12 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError,
5
5
  errorCodes
6
- } from "./chunk-DALBYUPC.js";
6
+ } from "./chunk-VUBZFMGP.js";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-ZVVMGPBJ.js";
10
10
 
11
- // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_af5f2db22f61976c09fb28de9c7dc33e/node_modules/@wirecat/cli-core/dist/errors/failures.js
11
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/node_modules/@wirecat/cli-core/dist/errors/failures.js
12
12
  var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
13
13
  var isCommanderFailure = /* @__PURE__ */ __name((value) => {
14
14
  const { code, exitCode } = value ?? {};
@@ -7,12 +7,12 @@ import {
7
7
  import {
8
8
  singleLine,
9
9
  visibleControls
10
- } from "./chunk-DALBYUPC.js";
10
+ } from "./chunk-VUBZFMGP.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_af5f2db22f61976c09fb28de9c7dc33e/node_modules/@wirecat/cli-core/dist/render/messages.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_4dc2b7e09a64a37f199c7e635efe1b87/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);
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  singleLine
5
- } from "./chunk-DALBYUPC.js";
5
+ } from "./chunk-VUBZFMGP.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/names.js
10
+ // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/names.js
11
11
  var FIRST_PARTY_TOOLS = [
12
12
  { name: "tg", package: "@wirecat/tg-cli" },
13
13
  { name: "max", package: "@wirecat/max-cli" },
@@ -28,17 +28,31 @@ var RESERVED_NAMES = [
28
28
  var TOOL_NAME = /^[a-z][a-z0-9-]{0,39}$/;
29
29
  var PROGRAM_PREFIX = "wcat-";
30
30
  var DESCRIBE_FLAG = "--wcat-describe";
31
+ var DESCRIBE_MAX_BYTES = 64 * 1024;
31
32
  var DISPATCH_FLAG = "--wcat-dispatch";
32
33
 
33
- // node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/describe.js
34
+ // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/describe.js
34
35
  var DESCRIBE_FORMAT = 1;
35
- var describeAnswer = /* @__PURE__ */ __name((tool) => ({
36
- wcat_describe: DESCRIBE_FORMAT,
37
- name: tool.command,
38
- version: tool.version,
39
- description: tool.description,
40
- ...tool.docs ? { docs_url: tool.docs } : {}
41
- }), "describeAnswer");
36
+ var DESCRIBE_MANIFEST_FORMAT = 2;
37
+ var describeAnswer = /* @__PURE__ */ __name((tool, manifest) => {
38
+ const answer = {
39
+ wcat_describe: DESCRIBE_FORMAT,
40
+ name: tool.command,
41
+ version: tool.version,
42
+ description: tool.description,
43
+ ...tool.docs ? { docs_url: tool.docs } : {}
44
+ };
45
+ if (!manifest)
46
+ return answer;
47
+ const full = {
48
+ ...answer,
49
+ wcat_describe: DESCRIBE_MANIFEST_FORMAT,
50
+ desktop: manifest.desktop,
51
+ manifest_sha256: manifest.sha256
52
+ };
53
+ return Buffer.byteLength(`${JSON.stringify(full)}
54
+ `) > DESCRIBE_MAX_BYTES ? answer : full;
55
+ }, "describeAnswer");
42
56
  var MAX_TEXT = 200;
43
57
  var clean = /* @__PURE__ */ __name((value) => typeof value === "string" && value.trim() !== "" ? singleLine(value.trim()).slice(0, MAX_TEXT) : void 0, "clean");
44
58
  var parseDescribe = /* @__PURE__ */ __name((text) => {
@@ -50,25 +64,48 @@ var parseDescribe = /* @__PURE__ */ __name((text) => {
50
64
  }
51
65
  if (typeof answer !== "object" || answer === null || !("wcat_describe" in answer))
52
66
  return void 0;
53
- const { version, description, docs_url: docs } = answer;
67
+ const { version, description, docs_url: docs, manifest_sha256: sha } = answer;
54
68
  const url = clean(docs);
55
69
  return {
56
70
  version: clean(version) ?? "",
57
71
  description: clean(description) ?? "",
58
- ...url && /^https?:\/\//.test(url) ? { docs: url } : {}
72
+ ...url && /^https?:\/\//.test(url) ? { docs: url } : {},
73
+ ...typeof sha === "string" && /^[0-9a-f]{64}$/.test(sha) ? { manifestSha256: sha } : {}
59
74
  };
60
75
  }, "parseDescribe");
61
76
 
62
- // node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/shim.js
77
+ // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/shim.js
63
78
  import { lstatSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
64
79
  import { join } from "node:path";
65
- var SHIM_FORMAT = 1;
80
+ var SHIM_FORMAT = 2;
66
81
  var MARK = /^(?:#|REM) wirecat-shim (\d+) (launcher|shortcut) (\S+)\r?$/m;
67
82
  var NOTE = {
68
83
  launcher: "Written by @wirecat/cli-base. Any WireCat tool rewrites it when it breaks; it is safe to delete.",
69
84
  shortcut: "Made by `wcat shortcuts add`; `wcat shortcuts remove` takes it out."
70
85
  };
71
86
  var shellQuote = /* @__PURE__ */ __name((text) => `'${text.replaceAll("'", `'\\''`)}'`, "shellQuote");
87
+ var launcherBody = /* @__PURE__ */ __name((dir, target, name) => [
88
+ 'ok() { [ -f "$1" ] && [ -x "$1" ]; }',
89
+ `dir=${shellQuote(dir)}`,
90
+ `target=${shellQuote(join(dir, target))}`,
91
+ 'if ! ok "$target"; then',
92
+ ' for t in "$dir"/wcat-*; do',
93
+ ' if ok "$t"; then target=$t; break; fi',
94
+ " done",
95
+ "fi",
96
+ `if ok "$target"; then exec "$target" ${DISPATCH_FLAG} "$@"; fi`,
97
+ 'if [ -z "$WIRECAT_LAUNCHER_SKIP" ]; then',
98
+ " WIRECAT_LAUNCHER_SKIP=1; export WIRECAT_LAUNCHER_SKIP",
99
+ " set -f; oldifs=$IFS; IFS=:",
100
+ " for d in $PATH; do",
101
+ ` if [ -n "$d" ] && [ "$d" != "$dir" ] && ok "$d/${name}"; then IFS=$oldifs; exec "$d/${name}" "$@"; fi`,
102
+ " done",
103
+ " IFS=$oldifs; set +f",
104
+ "fi",
105
+ `printf '%s\\n' "${name}: $target is missing and no other ${name}-* program was found in $dir or on PATH." \\`,
106
+ ` "This launcher is safe to delete: $dir/${name}" >&2`,
107
+ "exit 127"
108
+ ], "launcherBody");
72
109
  var shimFiles = /* @__PURE__ */ __name((kind, { dir, name, target, platform }) => {
73
110
  const mark = `wirecat-shim ${SHIM_FORMAT} ${kind} ${target}`;
74
111
  const extra = kind === "launcher" ? ` ${DISPATCH_FLAG}` : "";
@@ -76,11 +113,13 @@ var shimFiles = /* @__PURE__ */ __name((kind, { dir, name, target, platform }) =
76
113
  return [
77
114
  {
78
115
  path: join(dir, name),
79
- text: `#!/bin/sh
80
- # ${mark}
81
- # ${NOTE[kind]}
82
- exec ${shellQuote(join(dir, target))}${extra} "$@"
83
- `
116
+ text: [
117
+ "#!/bin/sh",
118
+ `# ${mark}`,
119
+ `# ${NOTE[kind]}`,
120
+ ...kind === "launcher" ? launcherBody(dir, target, name) : [`exec ${shellQuote(join(dir, target))} "$@"`],
121
+ ""
122
+ ].join("\n")
84
123
  }
85
124
  ];
86
125
  return [
@@ -150,14 +189,15 @@ var writeShim = /* @__PURE__ */ __name(({ path, text }) => {
150
189
  }, "writeShim");
151
190
 
152
191
  export {
153
- describeAnswer,
154
- parseDescribe,
155
192
  FIRST_PARTY_TOOLS,
156
193
  BUILT_IN_COMMANDS,
157
194
  TOOL_NAME,
158
195
  PROGRAM_PREFIX,
159
196
  DESCRIBE_FLAG,
197
+ DESCRIBE_MAX_BYTES,
160
198
  DISPATCH_FLAG,
199
+ describeAnswer,
200
+ parseDescribe,
161
201
  SHIM_FORMAT,
162
202
  shimFiles,
163
203
  fileState,