@wirecat/cli-memo 0.131.20 → 0.131.21

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 (179) hide show
  1. package/README.md +2 -3
  2. package/dist/actions/command.d.ts +1 -1
  3. package/dist/actions/command.d.ts.map +1 -1
  4. package/dist/actions/command.js +12 -1
  5. package/dist/actions/command.js.map +1 -1
  6. package/dist/bin/memo.js +2 -2
  7. package/dist/bin/memo.js.map +1 -1
  8. package/dist/bundle/{all-profiles-MVF2XGZK.js → all-profiles-EZLU6CY7.js} +9 -7
  9. package/dist/bundle/{anthropic-OPFHMF2S.js → anthropic-XC34PJH5.js} +6 -4
  10. package/dist/bundle/{app-server-VHVC55S3.js → app-server-26YPLJ7M.js} +53 -48
  11. package/dist/bundle/auto-QHTPHGNA.js +86 -0
  12. package/dist/bundle/{bun-P6TMDZGU.js → bun-CKGKUKW5.js} +2 -2
  13. package/dist/bundle/{bun-sqlite-3G3NLK4O.js → bun-sqlite-S6KUSMTC.js} +5 -3
  14. package/dist/bundle/{chunk-XZWUBDBG.js → chunk-2NJUPIAO.js} +1 -1
  15. package/dist/bundle/{chunk-RFB5LOYR.js → chunk-2TBIVKBH.js} +8 -6
  16. package/dist/bundle/{chunk-3DVKC2XM.js → chunk-3V4WIGWC.js} +8 -19
  17. package/dist/bundle/{chunk-BMHSGZNE.js → chunk-5RBLNI6C.js} +4 -4
  18. package/dist/bundle/{chunk-LKYHSVQL.js → chunk-7F6FGMCC.js} +8 -8
  19. package/dist/bundle/{chunk-FMSA2X3E.js → chunk-7MLWSUEK.js} +1 -1
  20. package/dist/bundle/{chunk-3BMUVKC7.js → chunk-7NEWBM2O.js} +13 -9
  21. package/dist/bundle/{chunk-SO6VNTF6.js → chunk-AIIQ7YU4.js} +1 -1
  22. package/dist/bundle/{chunk-G7TF4E7B.js → chunk-B3YV6Z7Y.js} +8 -2
  23. package/dist/bundle/{chunk-IW3U6XXI.js → chunk-BB2MGFOZ.js} +6 -6
  24. package/dist/bundle/chunk-CCHHEMPM.js +71 -0
  25. package/dist/bundle/{chunk-6DG7VK3H.js → chunk-CCOYC6HL.js} +5 -5
  26. package/dist/bundle/{chunk-MXP4J6BJ.js → chunk-CDZZ2DZO.js} +70 -2517
  27. package/dist/bundle/{chunk-VUWUSGSN.js → chunk-CP5N3KH3.js} +4 -4
  28. package/dist/bundle/{chunk-NKTAEBCU.js → chunk-CRZSJHAK.js} +13 -9
  29. package/dist/bundle/{chunk-LPUFOWL3.js → chunk-D72URWJE.js} +1 -39
  30. package/dist/bundle/{chunk-BINR6MJ5.js → chunk-DNGHE2Q4.js} +1 -1
  31. package/dist/bundle/{chunk-KVVDRD7M.js → chunk-DZSWKA3K.js} +2 -2
  32. package/dist/bundle/{chunk-63XICXGM.js → chunk-E5FQ7U7L.js} +5 -3
  33. package/dist/bundle/{chunk-BPYQYZXA.js → chunk-EAYYWS67.js} +14 -12
  34. package/dist/bundle/chunk-EG2OMKWH.js +2423 -0
  35. package/dist/bundle/chunk-EW3XTUPB.js +166 -0
  36. package/dist/bundle/{chunk-KIEBEYKH.js → chunk-FFWK5NEZ.js} +10 -8
  37. package/dist/bundle/{chunk-3ORDQ62F.js → chunk-GV2FSWFS.js} +10 -8
  38. package/dist/bundle/chunk-ILHTNOIV.js +23 -0
  39. package/dist/bundle/{chunk-VQGVPDMH.js → chunk-INURBEAO.js} +20 -16
  40. package/dist/bundle/{chunk-OVFMY6ZP.js → chunk-IRDGD3QQ.js} +1 -1
  41. package/dist/bundle/{chunk-D6G23NFJ.js → chunk-J4GC33JU.js} +2 -2
  42. package/dist/bundle/{chunk-XWS4PTES.js → chunk-J55Z6EJ3.js} +363 -278
  43. package/dist/bundle/{chunk-TQNQS6TR.js → chunk-JJ3C5AYK.js} +64 -60
  44. package/dist/bundle/{chunk-LQJ4KHXK.js → chunk-JXH22ZGA.js} +15 -15
  45. package/dist/bundle/{chunk-5KUPVC5M.js → chunk-KUNA6MQZ.js} +2 -2
  46. package/dist/bundle/{chunk-LDVU22MF.js → chunk-LGNS4JVK.js} +8 -8
  47. package/dist/bundle/{chunk-57Q6NXQT.js → chunk-LR5EY5JY.js} +4 -4
  48. package/dist/bundle/{chunk-ZYM4M62Q.js → chunk-MCPDL5YU.js} +4 -4
  49. package/dist/bundle/{chunk-V7DZG62U.js → chunk-MHDLZCEO.js} +11 -9
  50. package/dist/bundle/{chunk-SHDZVM3B.js → chunk-NELE7AIX.js} +2 -2
  51. package/dist/bundle/{chunk-WRPRPVZF.js → chunk-NOG5O2NS.js} +44 -42
  52. package/dist/bundle/{chunk-FRB4UXJG.js → chunk-NWB5NAGB.js} +6 -6
  53. package/dist/bundle/{chunk-UC4IL2P7.js → chunk-OJRLTJRS.js} +1 -1
  54. package/dist/bundle/{chunk-OTHEM74Z.js → chunk-OUF6RCRZ.js} +6 -6
  55. package/dist/bundle/{chunk-JDJDNMCP.js → chunk-PF3ALSAV.js} +1 -1
  56. package/dist/bundle/{chunk-GJKM32WA.js → chunk-PO5C7VNC.js} +24 -22
  57. package/dist/bundle/chunk-PQLBPYJR.js +46 -0
  58. package/dist/bundle/{chunk-66YZUX2C.js → chunk-QMMUPDRK.js} +10 -10
  59. package/dist/bundle/{chunk-2MNEM2CH.js → chunk-R26CXR5Z.js} +9 -7
  60. package/dist/bundle/{chunk-F5CQ2NVA.js → chunk-RC7TIYUZ.js} +11 -9
  61. package/dist/bundle/{chunk-P22V2OLJ.js → chunk-RG6ITTLQ.js} +22 -16
  62. package/dist/bundle/{chunk-T557KUST.js → chunk-RHJC4PHV.js} +3 -3
  63. package/dist/bundle/{chunk-Z54GPSVH.js → chunk-RNXYDBQO.js} +186 -162
  64. package/dist/bundle/{chunk-YVECM7XA.js → chunk-SMDWUPXE.js} +4 -4
  65. package/dist/bundle/{chunk-KO455254.js → chunk-SXGAIQ5X.js} +13 -13
  66. package/dist/bundle/{chunk-EMKFG5BP.js → chunk-THGFFQCK.js} +3 -3
  67. package/dist/bundle/{chunk-2R25UBIH.js → chunk-TMNHNZVA.js} +26 -24
  68. package/dist/bundle/{chunk-WOIRWVDJ.js → chunk-UXCSNSUU.js} +563 -351
  69. package/dist/bundle/{chunk-EFKEG2BA.js → chunk-VECICKTE.js} +5 -5
  70. package/dist/bundle/{chunk-4MIPN37I.js → chunk-VQM3H422.js} +266 -176
  71. package/dist/bundle/chunk-VXHN3SWW.js +35 -0
  72. package/dist/bundle/{chunk-EL4ZKQUN.js → chunk-WEOFWTWZ.js} +6 -4
  73. package/dist/bundle/{chunk-LEUNYKL6.js → chunk-WUCQ56RP.js} +3 -3
  74. package/dist/bundle/{chunk-SJLVBJ2L.js → chunk-XA6YO24S.js} +2 -2
  75. package/dist/bundle/{chunk-36ULPM2W.js → chunk-XPRYBLTS.js} +6 -6
  76. package/dist/bundle/{chunk-2KOVYXWK.js → chunk-YAUDFROV.js} +1243 -743
  77. package/dist/bundle/{chunk-4G46QFK5.js → chunk-YUFUUQUO.js} +7 -5
  78. package/dist/bundle/{chunk-JHKTN6NL.js → chunk-ZCKU6WMX.js} +13 -11
  79. package/dist/bundle/{chunk-5XDYV2YT.js → chunk-ZD3STMY7.js} +1 -1
  80. package/dist/bundle/command-contract-TMVGYSQQ.js +32 -0
  81. package/dist/bundle/{decode-BUTF6VGO.js → decode-6XSZIZAA.js} +5 -3
  82. package/dist/bundle/dispatch-VUMQPYMA.js +411 -0
  83. package/dist/bundle/{echarts-KH3YOWMK.js → echarts-NGS4QG4E.js} +2 -2
  84. package/dist/bundle/{embed-WBVM7KQ2.js → embed-YNH5M6UL.js} +6 -4
  85. package/dist/bundle/{embedder-27HQIFHM.js → embedder-LLNK4JF4.js} +11 -9
  86. package/dist/bundle/{entry-K2WWMF2B.js → entry-DO6ZBFIS.js} +7 -5
  87. package/dist/bundle/failure-LHMJNFY6.js +66 -0
  88. package/dist/bundle/failure-Z2FXWIBY.js +24 -0
  89. package/dist/bundle/first-run-BXFQN6M5.js +27 -0
  90. package/dist/bundle/first-screen-56KZKY77.js +30 -0
  91. package/dist/bundle/{instructions-POJKHKRZ.js → instructions-4EJ4BBWD.js} +1 -1
  92. package/dist/bundle/mcp-A4HPKQK5.js +90 -0
  93. package/dist/bundle/{mcp-FUSDPAOL.js → mcp-MNI62HHE.js} +4 -2
  94. package/dist/bundle/memo.js +182 -39
  95. package/dist/bundle/{node-W245R2OP.js → node-QQXKQWNC.js} +2 -2
  96. package/dist/bundle/{node-sqlite-FUYOXFW5.js → node-sqlite-GJI2GMLW.js} +6 -4
  97. package/dist/bundle/{oauth-ATB3NWQA.js → oauth-Q5VGUPUR.js} +7 -5
  98. package/dist/bundle/{open-HEBEWCYB.js → open-NSXIYF3N.js} +5 -3
  99. package/dist/bundle/{openai-DN7NA2IU.js → openai-LHH7MSGQ.js} +10 -8
  100. package/dist/bundle/{process-QTIDOJMF.js → process-PI6XUJWP.js} +1 -1
  101. package/dist/bundle/{program-62ISSWCE.js → program-3ZTQ5FEM.js} +8288 -8293
  102. package/dist/bundle/{prompt-RQXVPJ4A.js → prompt-VFXA7IKL.js} +5 -3
  103. package/dist/bundle/{recognize-G7NIZ3IT.js → recognize-UWAARXOH.js} +4 -2
  104. package/dist/bundle/{remote-H452UBSK.js → remote-KGEVCB2Q.js} +7 -5
  105. package/dist/bundle/{rerank-77UYD2UD.js → rerank-SCBTCBPO.js} +7 -5
  106. package/dist/bundle/{serve-L6R4ODZV.js → serve-WPVKVR24.js} +9 -7
  107. package/dist/bundle/{server-NB3U4PPW.js → server-BMQBWBBN.js} +69 -63
  108. package/dist/bundle/server-NQK5EX7P.js +48 -0
  109. package/dist/bundle/server-UN43Y6BY.js +61 -0
  110. package/dist/bundle/{setup-ZGH5OZ7A.js → setup-FGSVWQ32.js} +47 -43
  111. package/dist/bundle/{state-KHMYDV4I.js → state-KGHS4C6J.js} +6 -4
  112. package/dist/bundle/{store-M7KGTLUG.js → store-VCVOIQES.js} +12 -10
  113. package/dist/bundle/store-maintenance-command-QTEWWDST.js +48 -0
  114. package/dist/bundle/update-XC6KAVCK.js +69 -0
  115. package/dist/config.d.ts +1 -1
  116. package/dist/config.d.ts.map +1 -1
  117. package/dist/config.js +2 -2
  118. package/dist/config.js.map +1 -1
  119. package/dist/contract-overrides/skill.d.ts.map +1 -1
  120. package/dist/contract-overrides/skill.js +14 -0
  121. package/dist/contract-overrides/skill.js.map +1 -1
  122. package/dist/examples.d.ts.map +1 -1
  123. package/dist/examples.js +26 -0
  124. package/dist/examples.js.map +1 -1
  125. package/dist/knowledge/project-actions-command.js +1 -1
  126. package/dist/knowledge/project-actions-command.js.map +1 -1
  127. package/dist/mail/command.d.ts.map +1 -1
  128. package/dist/mail/command.js +11 -1
  129. package/dist/mail/command.js.map +1 -1
  130. package/dist/mail/findings-command.d.ts +8 -0
  131. package/dist/mail/findings-command.d.ts.map +1 -0
  132. package/dist/mail/findings-command.js +80 -0
  133. package/dist/mail/findings-command.js.map +1 -0
  134. package/dist/mail/messages-command.d.ts.map +1 -1
  135. package/dist/mail/messages-command.js +27 -3
  136. package/dist/mail/messages-command.js.map +1 -1
  137. package/dist/mail/review-command.d.ts +12 -0
  138. package/dist/mail/review-command.d.ts.map +1 -0
  139. package/dist/mail/review-command.js +46 -0
  140. package/dist/mail/review-command.js.map +1 -0
  141. package/dist/mcp/catalogue.d.ts.map +1 -1
  142. package/dist/mcp/catalogue.js +1 -1
  143. package/dist/mcp/catalogue.js.map +1 -1
  144. package/dist/mcp/server.js +1 -1
  145. package/dist/mcp/server.js.map +1 -1
  146. package/dist/program.d.ts.map +1 -1
  147. package/dist/program.js +1 -1
  148. package/dist/program.js.map +1 -1
  149. package/dist/read-only.d.ts +1 -1
  150. package/dist/reasons.d.ts.map +1 -1
  151. package/dist/reasons.js +6 -0
  152. package/dist/reasons.js.map +1 -1
  153. package/dist/review/kinds.d.ts +0 -6
  154. package/dist/review/kinds.d.ts.map +1 -1
  155. package/dist/review/kinds.js +14 -45
  156. package/dist/review/kinds.js.map +1 -1
  157. package/dist/review/status.d.ts +1 -0
  158. package/dist/review/status.d.ts.map +1 -1
  159. package/dist/schedule/command.d.ts +3 -1
  160. package/dist/schedule/command.d.ts.map +1 -1
  161. package/dist/schedule/command.js +6 -1
  162. package/dist/schedule/command.js.map +1 -1
  163. package/dist/version.d.ts +1 -1
  164. package/dist/version.js +1 -1
  165. package/package.json +4 -3
  166. package/skills/cli-memo/SKILL.md +12 -4
  167. package/skills/mail-triage/SKILL.md +120 -0
  168. package/dist/bundle/auto-GDLRYDYK.js +0 -82
  169. package/dist/bundle/chunk-7J5HTZCM.js +0 -18
  170. package/dist/bundle/command-contract-NMJKYTS4.js +0 -30
  171. package/dist/bundle/failure-OJI6C5JA.js +0 -62
  172. package/dist/bundle/first-run-7P5N72VR.js +0 -23
  173. package/dist/bundle/first-screen-3GM5HC4Y.js +0 -28
  174. package/dist/bundle/mcp-YGWNSJUH.js +0 -86
  175. package/dist/bundle/server-SWUSQSRW.js +0 -44
  176. package/dist/bundle/server-W4IKTTUY.js +0 -57
  177. package/dist/bundle/store-maintenance-command-ZPN2ZUL4.js +0 -44
  178. package/dist/bundle/update-2IYA7RJU.js +0 -65
  179. /package/dist/bundle/{chunk-7YF2MSEC.js → chunk-YYQN5ES2.js} +0 -0
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-MXP4J6BJ.js";
5
+ } from "./chunk-CCHHEMPM.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/ports/app.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/ports/app.js
11
11
  var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
12
12
  var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
13
13
  const name = envName(app, "READ_ONLY");
@@ -20,7 +20,7 @@ import {
20
20
  tool,
21
21
  toolKey,
22
22
  toolsFromCommands
23
- } from "./chunk-VQGVPDMH.js";
23
+ } from "./chunk-INURBEAO.js";
24
24
  import {
25
25
  CHART_KINDS,
26
26
  CHART_SIZE,
@@ -33,25 +33,36 @@ import {
33
33
  registerPrompts,
34
34
  stdinFieldOf,
35
35
  syncsFirst
36
- } from "./chunk-2R25UBIH.js";
36
+ } from "./chunk-TMNHNZVA.js";
37
37
  import {
38
38
  mcpUrlOf
39
- } from "./chunk-SJLVBJ2L.js";
39
+ } from "./chunk-XA6YO24S.js";
40
40
  import {
41
41
  agentJson,
42
42
  skillResource
43
- } from "./chunk-P22V2OLJ.js";
43
+ } from "./chunk-RG6ITTLQ.js";
44
+ import {
45
+ instructions
46
+ } from "./chunk-OJRLTJRS.js";
44
47
  import {
45
48
  answeredWire
46
- } from "./chunk-OVFMY6ZP.js";
49
+ } from "./chunk-IRDGD3QQ.js";
47
50
  import {
48
51
  callerOf,
49
52
  callingAgent
50
- } from "./chunk-6DG7VK3H.js";
53
+ } from "./chunk-CCOYC6HL.js";
54
+ import {
55
+ StdioServerTransport,
56
+ serveStdio
57
+ } from "./chunk-MM5NVP7F.js";
58
+ import {
59
+ McpServer,
60
+ ResourceTemplate
61
+ } from "./chunk-H3ZN4YLB.js";
51
62
  import {
52
63
  connectedFor,
53
64
  guardFor
54
- } from "./chunk-GJKM32WA.js";
65
+ } from "./chunk-PO5C7VNC.js";
55
66
  import {
56
67
  capability,
57
68
  dateWindow,
@@ -60,10 +71,10 @@ import {
60
71
  servicesFor,
61
72
  storedDeps,
62
73
  wholeList
63
- } from "./chunk-XWS4PTES.js";
74
+ } from "./chunk-J55Z6EJ3.js";
64
75
  import {
65
76
  findCommand
66
- } from "./chunk-EL4ZKQUN.js";
77
+ } from "./chunk-WEOFWTWZ.js";
67
78
  import {
68
79
  DEFAULT_OUTPUT_BYTES,
69
80
  changesAuthorityAt,
@@ -79,40 +90,28 @@ import {
79
90
  sealed,
80
91
  snakeKeys,
81
92
  typedCommand
82
- } from "./chunk-4MIPN37I.js";
93
+ } from "./chunk-VQM3H422.js";
83
94
  import {
84
95
  isCliFailure,
85
96
  withCaller
86
- } from "./chunk-F5CQ2NVA.js";
97
+ } from "./chunk-RC7TIYUZ.js";
87
98
  import {
88
99
  readOnlyLockOf
89
- } from "./chunk-SHDZVM3B.js";
100
+ } from "./chunk-NELE7AIX.js";
90
101
  import {
91
102
  mcpHttpMarker
92
- } from "./chunk-VUWUSGSN.js";
93
- import {
94
- StdioServerTransport,
95
- serveStdio
96
- } from "./chunk-MM5NVP7F.js";
97
- import {
98
- McpServer,
99
- ResourceTemplate
100
- } from "./chunk-H3ZN4YLB.js";
101
- import {
102
- instructions
103
- } from "./chunk-UC4IL2P7.js";
104
- import {
105
- warmEmbedders
106
- } from "./chunk-LDVU22MF.js";
103
+ } from "./chunk-CP5N3KH3.js";
107
104
  import {
108
105
  openStore,
109
106
  pdfPreviewLimits
110
- } from "./chunk-2KOVYXWK.js";
107
+ } from "./chunk-YAUDFROV.js";
111
108
  import {
112
109
  timezoneOf
113
- } from "./chunk-Z54GPSVH.js";
110
+ } from "./chunk-RNXYDBQO.js";
111
+ import {
112
+ warmEmbedders
113
+ } from "./chunk-LGNS4JVK.js";
114
114
  import {
115
- CliError,
116
115
  description,
117
116
  integer,
118
117
  maxValue,
@@ -126,17 +125,20 @@ import {
126
125
  pipe,
127
126
  regex,
128
127
  strictObject,
129
- string,
128
+ string
129
+ } from "./chunk-EG2OMKWH.js";
130
+ import {
131
+ CliError,
130
132
  visibleControls
131
- } from "./chunk-MXP4J6BJ.js";
133
+ } from "./chunk-CCHHEMPM.js";
132
134
  import {
133
135
  __name
134
136
  } from "./chunk-ZVVMGPBJ.js";
135
137
 
136
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/mcp/server.js
138
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/mcp/server.js
137
139
  import { randomUUID } from "node:crypto";
138
140
 
139
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
141
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
140
142
  var agentLog = /* @__PURE__ */ __name((open) => {
141
143
  let held;
142
144
  return {
@@ -155,7 +157,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
155
157
  };
156
158
  }, "agentLog");
157
159
 
158
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/mcp/resources.js
160
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/mcp/resources.js
159
161
  var LISTED = 100;
160
162
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
161
163
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -193,7 +195,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
193
195
  });
194
196
  }, "registerResources");
195
197
 
196
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/mcp/session.js
198
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/mcp/session.js
197
199
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
198
200
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
199
201
  var MessengerSession = class {
@@ -268,7 +270,7 @@ var MessengerSession = class {
268
270
  }
269
271
  };
270
272
 
271
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
273
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
272
274
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
273
275
  const _command = messenger.app.command;
274
276
  return {
@@ -322,7 +324,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
322
324
  };
323
325
  }, "attachmentsTools");
324
326
 
325
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
327
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
326
328
  var PHOTO_LIMIT = 512 * 1024;
327
329
  var IMAGE_TYPES = [
328
330
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -376,7 +378,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
376
378
  return new Uint8Array(Buffer.concat(chunks));
377
379
  }, "readUpTo");
378
380
 
379
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
381
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
380
382
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
381
383
  stats_charts: tool({
382
384
  title: "A chart from a chat's statistics",
@@ -413,14 +415,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
413
415
  })
414
416
  }), "statsTools");
415
417
 
416
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/mcp/tools.js
418
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/mcp/tools.js
417
419
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
418
420
  ...messagesPhotoTools(messenger),
419
421
  ...attachmentsTools(messenger),
420
422
  ...statsTools(messenger)
421
423
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
422
424
 
423
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/mcp/server.js
425
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/mcp/server.js
424
426
  var PER_RUN = /* @__PURE__ */ new Set([
425
427
  "streams",
426
428
  "stdin",
@@ -744,7 +746,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
744
746
  }, "serveOverStdio");
745
747
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
746
748
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
747
- const { serveOverHttp } = await import("./serve-L6R4ODZV.js");
749
+ const { serveOverHttp } = await import("./serve-WPVKVR24.js");
748
750
  const appName = messenger.app.command;
749
751
  const appEnvPrefix = messenger.app.envPrefix;
750
752
  const listening = await serveOverHttp(build, {
@@ -4,7 +4,7 @@ import {
4
4
  inspectConfig,
5
5
  loadConfig,
6
6
  memoPermissionKeys
7
- } from "./chunk-NKTAEBCU.js";
7
+ } from "./chunk-CRZSJHAK.js";
8
8
  import {
9
9
  CEILING_KEY,
10
10
  changesAuthority,
@@ -13,20 +13,20 @@ import {
13
13
  layerPermissions,
14
14
  levelFor,
15
15
  metaOf
16
- } from "./chunk-4MIPN37I.js";
16
+ } from "./chunk-VQM3H422.js";
17
17
  import {
18
18
  setupPermissionCeiling
19
- } from "./chunk-YVECM7XA.js";
19
+ } from "./chunk-SMDWUPXE.js";
20
20
  import {
21
21
  readOnlyLockOf,
22
22
  readOnlyRefusal
23
- } from "./chunk-SHDZVM3B.js";
23
+ } from "./chunk-NELE7AIX.js";
24
24
  import {
25
25
  APP
26
- } from "./chunk-G7TF4E7B.js";
26
+ } from "./chunk-B3YV6Z7Y.js";
27
27
  import {
28
28
  CliError
29
- } from "./chunk-MXP4J6BJ.js";
29
+ } from "./chunk-CCHHEMPM.js";
30
30
  import {
31
31
  __name
32
32
  } from "./chunk-ZVVMGPBJ.js";
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
8
8
  var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
9
9
  const all = typeof profile !== "string";
10
10
  const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PRAGMAS
5
- } from "./chunk-XZWUBDBG.js";
5
+ } from "./chunk-2NJUPIAO.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-MXP4J6BJ.js";
8
+ } from "./chunk-CCHHEMPM.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
14
14
  var SQLITE_WARNING = "SQLite is an experimental feature";
15
15
  var quieted = /* @__PURE__ */ new WeakSet();
16
16
  var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
@@ -31,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
31
31
  return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
32
32
  }, "isSqliteWarning");
33
33
 
34
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/store/open.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/store/open.js
35
35
  var openCache = /* @__PURE__ */ __name(async (path) => {
36
36
  const database = await openFile(path);
37
37
  try {
@@ -44,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
44
44
  }, "openCache");
45
45
  var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
46
46
  var openUnderBun = /* @__PURE__ */ __name(async (path) => {
47
- const { openWithBunSqlite } = await import("./bun-sqlite-3G3NLK4O.js");
47
+ const { openWithBunSqlite } = await import("./bun-sqlite-S6KUSMTC.js");
48
48
  return await openWithBunSqlite(path);
49
49
  }, "openUnderBun");
50
50
  var openUnderNode = /* @__PURE__ */ __name(async (path) => {
51
51
  quietSqliteWarning();
52
- const { openWithNodeSqlite } = await import("./node-sqlite-FUYOXFW5.js");
52
+ const { openWithNodeSqlite } = await import("./node-sqlite-GJI2GMLW.js");
53
53
  return openWithNodeSqlite(path);
54
54
  }, "openUnderNode");
55
55
  var runtime = /* @__PURE__ */ __name(() => {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/runs/secrets.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/runs/secrets.js
8
8
  var SECRET_WORDS = /* @__PURE__ */ new Set([
9
9
  "authorization",
10
10
  "cookie",
@@ -13,7 +13,7 @@ import {
13
13
  refuseLacking,
14
14
  servicesFor,
15
15
  throughWrapper
16
- } from "./chunk-XWS4PTES.js";
16
+ } from "./chunk-J55Z6EJ3.js";
17
17
  import {
18
18
  CEILING_KEY,
19
19
  LOG_ATTRIBUTES,
@@ -38,33 +38,35 @@ import {
38
38
  rememberAccount,
39
39
  rootOf2 as rootOf,
40
40
  skipFlagFor
41
- } from "./chunk-4MIPN37I.js";
41
+ } from "./chunk-VQM3H422.js";
42
42
  import {
43
43
  isCliFailure,
44
44
  providerErrorKey
45
- } from "./chunk-F5CQ2NVA.js";
45
+ } from "./chunk-RC7TIYUZ.js";
46
46
  import {
47
47
  MESSENGER_CHANGE_REFUSAL,
48
48
  readOnlyRefusal
49
- } from "./chunk-SHDZVM3B.js";
49
+ } from "./chunk-NELE7AIX.js";
50
50
  import {
51
51
  servingProfiles
52
- } from "./chunk-T557KUST.js";
52
+ } from "./chunk-RHJC4PHV.js";
53
53
  import {
54
54
  openStore
55
- } from "./chunk-2KOVYXWK.js";
55
+ } from "./chunk-YAUDFROV.js";
56
56
  import {
57
- CliError,
58
57
  logRecordOf,
59
58
  realSleep,
60
59
  resolvePaths,
61
60
  writeSecurely
62
- } from "./chunk-MXP4J6BJ.js";
61
+ } from "./chunk-CDZZ2DZO.js";
62
+ import {
63
+ CliError
64
+ } from "./chunk-CCHHEMPM.js";
63
65
  import {
64
66
  __name
65
67
  } from "./chunk-ZVVMGPBJ.js";
66
68
 
67
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
69
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
68
70
  import { openSync } from "node:fs";
69
71
  import { createInterface } from "node:readline";
70
72
  import { ReadStream } from "node:tty";
@@ -119,10 +121,10 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
119
121
  throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
120
122
  }, "terminalAsker");
121
123
 
122
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/sends/guard.js
124
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/sends/guard.js
123
125
  import { randomUUID } from "node:crypto";
124
126
 
125
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/sends/flood.js
127
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/sends/flood.js
126
128
  import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
127
129
  import { dirname, join } from "node:path";
128
130
  var MOST_DEADLINES = 50;
@@ -206,11 +208,11 @@ var FloodMemory = class {
206
208
  }
207
209
  };
208
210
 
209
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/sends/journal.js
211
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/sends/journal.js
210
212
  import { appendFileSync, mkdirSync as mkdirSync3, readFileSync as readFileSync2 } from "node:fs";
211
213
  import { dirname as dirname3, join as join2 } from "node:path";
212
214
 
213
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
215
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
214
216
  import { closeSync, mkdirSync as mkdirSync2, openSync as openSync2, statSync, unlinkSync } from "node:fs";
215
217
  import { dirname as dirname2 } from "node:path";
216
218
  var LOCK_WAIT_MS = 5e3;
@@ -277,7 +279,7 @@ var lockTime = /* @__PURE__ */ __name((lock) => {
277
279
  }
278
280
  }, "lockTime");
279
281
 
280
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/sends/journal.js
282
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/sends/journal.js
281
283
  var sendsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "sends", `${profile}.jsonl`), "sendsPathFor");
282
284
  var SendJournal = class {
283
285
  static {
@@ -354,7 +356,7 @@ var withSendId = /* @__PURE__ */ __name((entry) => {
354
356
  return cid === void 0 || rest.sendId !== void 0 ? rest : { ...rest, sendId: String(cid) };
355
357
  }, "withSendId");
356
358
 
357
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/sends/recipients.js
359
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/sends/recipients.js
358
360
  import { existsSync, readFileSync as readFileSync3, rmSync } from "node:fs";
359
361
  import { join as join3 } from "node:path";
360
362
  var recipientsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "profiles", `${profile}.recipients.json`), "recipientsPathFor");
@@ -466,7 +468,7 @@ var RecipientList = class {
466
468
  }
467
469
  };
468
470
 
469
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/sends/guard.js
471
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/sends/guard.js
470
472
  var HOUR_MS = 60 * 60 * 1e3;
471
473
  var READS_UNDER_HOLD = /* @__PURE__ */ new Set([
472
474
  "attachments.extract",
@@ -659,7 +661,7 @@ var guardFor = /* @__PURE__ */ __name((app, settings, warn, env = process.env, a
659
661
  }), "guardFor");
660
662
  var journalFailure = /* @__PURE__ */ __name((error) => error?.code ?? (error instanceof Error ? error.name : "error"), "journalFailure");
661
663
 
662
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/sends/pace.js
664
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/sends/pace.js
663
665
  import { readFileSync as readFileSync4, renameSync as renameSync2, writeFileSync as writeFileSync2 } from "node:fs";
664
666
  import { join as join4 } from "node:path";
665
667
  var DEFAULT_PACE = { perMinute: 60, burst: 20 };
@@ -718,7 +720,7 @@ var Pacer = class {
718
720
  }
719
721
  };
720
722
 
721
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
723
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
722
724
  var pathOf = /* @__PURE__ */ __name((command) => {
723
725
  const words = [];
724
726
  for (let at = command; at?.parent; at = at.parent)
@@ -778,7 +780,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
778
780
  throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
779
781
  }, "refuseUnknownPermissionKeys");
780
782
 
781
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
783
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
782
784
  var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
783
785
  var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
784
786
  var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
@@ -897,7 +899,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
897
899
  });
898
900
  }, "flooded");
899
901
 
900
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
902
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
901
903
  var observed = /* @__PURE__ */ __name((messenger, events) => {
902
904
  const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
903
905
  const write = currentOperation();
@@ -996,7 +998,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
996
998
  counts[part] = (counts[part] ?? 0) + items.length;
997
999
  }, "byPart");
998
1000
 
999
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
1001
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
1000
1002
  var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
1001
1003
  var stored = /* @__PURE__ */ __name((messenger, { account, store, warn, events, pending, announcing, deletedWithoutChat, profile, rekeyed, rekeyPacing = REKEY_PACING, closing, namesFromStore, recipientIds, countsUnread = false, historyLimits, command = "cli" }) => {
1002
1004
  let warned = false;
@@ -1572,7 +1574,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
1572
1574
  }
1573
1575
  }, "keep");
1574
1576
 
1575
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
1577
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
1576
1578
  var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
1577
1579
  let opened;
1578
1580
  return {
@@ -0,0 +1,46 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ __name
5
+ } from "./chunk-ZVVMGPBJ.js";
6
+
7
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/executable.js
8
+ import { existsSync } from "node:fs";
9
+ import { win32 } from "node:path";
10
+ var variable = /* @__PURE__ */ __name((env, name) => Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1], "variable");
11
+ var executableOnPath = /* @__PURE__ */ __name((command, env, platform = process.platform, exists = existsSync) => {
12
+ if (platform !== "win32" || win32.isAbsolute(command))
13
+ return command;
14
+ if (/[\\/]/.test(command))
15
+ return command;
16
+ const extensions = win32.extname(command) ? [""] : (variable(env, "PATHEXT") ?? ".EXE;.COM;.CMD;.BAT").split(";").filter((ext) => /^\.[a-z0-9]+$/i.test(ext));
17
+ for (const entry of (variable(env, "PATH") ?? "").split(";")) {
18
+ const directory = entry.replace(/^"(.*)"$/, "$1");
19
+ for (const extension of extensions) {
20
+ const candidate = win32.join(directory, command + extension);
21
+ if (exists(candidate))
22
+ return candidate;
23
+ }
24
+ }
25
+ return command;
26
+ }, "executableOnPath");
27
+ var executableEnvironment = /* @__PURE__ */ __name((env, platform = process.platform) => {
28
+ if (platform !== "win32")
29
+ return env;
30
+ const configured = variable(env, "COMSPEC");
31
+ const system = variable(env, "SYSTEMROOT");
32
+ const shell = configured ? configured : system && win32.isAbsolute(system) ? win32.join(system, "System32", "cmd.exe") : void 0;
33
+ if (!shell)
34
+ return env;
35
+ const result = { ...env };
36
+ for (const key of Object.keys(result))
37
+ if (key.toUpperCase() === "COMSPEC")
38
+ delete result[key];
39
+ result.comspec = shell;
40
+ return result;
41
+ }, "executableEnvironment");
42
+
43
+ export {
44
+ executableOnPath,
45
+ executableEnvironment
46
+ };
@@ -2,35 +2,35 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  listen
5
- } from "./chunk-BINR6MJ5.js";
5
+ } from "./chunk-DNGHE2Q4.js";
6
6
  import {
7
7
  ownerLogin
8
- } from "./chunk-36ULPM2W.js";
8
+ } from "./chunk-XPRYBLTS.js";
9
9
  import {
10
10
  WebStandardStreamableHTTPServerTransport,
11
11
  createMcpHandler,
12
12
  hostHeaderValidationResponse,
13
13
  isLegacyRequest
14
14
  } from "./chunk-3X4JM3ZR.js";
15
- import {
16
- activityRecorder,
17
- calledTools,
18
- httpActivityFile,
19
- httpLock
20
- } from "./chunk-VUWUSGSN.js";
21
15
  import {
22
16
  getOAuthProtectedResourceMetadataUrl,
23
17
  oauthMetadataResponse,
24
18
  requireBearerAuth
25
19
  } from "./chunk-H3ZN4YLB.js";
20
+ import {
21
+ activityRecorder,
22
+ calledTools,
23
+ httpActivityFile,
24
+ httpLock
25
+ } from "./chunk-CP5N3KH3.js";
26
26
  import {
27
27
  CliError
28
- } from "./chunk-MXP4J6BJ.js";
28
+ } from "./chunk-CCHHEMPM.js";
29
29
  import {
30
30
  __name
31
31
  } from "./chunk-ZVVMGPBJ.js";
32
32
 
33
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/mcp/http/serve.js
33
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/mcp/http/serve.js
34
34
  import { randomUUID } from "node:crypto";
35
35
  var MCP_PATH = "/mcp";
36
36
  var AS_METADATA = "/.well-known/oauth-authorization-server";
@@ -3,28 +3,30 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answers,
5
5
  itemAnswer
6
- } from "./chunk-3BMUVKC7.js";
6
+ } from "./chunk-7NEWBM2O.js";
7
7
  import {
8
8
  loadConfig,
9
9
  updateConfig
10
- } from "./chunk-NKTAEBCU.js";
10
+ } from "./chunk-CRZSJHAK.js";
11
11
  import {
12
12
  failingNotice,
13
13
  recordRun
14
- } from "./chunk-WOIRWVDJ.js";
14
+ } from "./chunk-UXCSNSUU.js";
15
15
  import {
16
16
  InvalidArgumentError,
17
17
  LOCAL_READ,
18
18
  LOCAL_WRITE,
19
19
  annotate
20
- } from "./chunk-4MIPN37I.js";
20
+ } from "./chunk-VQM3H422.js";
21
21
  import {
22
22
  installerOf
23
- } from "./chunk-3DVKC2XM.js";
23
+ } from "./chunk-ILHTNOIV.js";
24
24
  import {
25
- CliError,
26
25
  resolvePaths
27
- } from "./chunk-MXP4J6BJ.js";
26
+ } from "./chunk-CDZZ2DZO.js";
27
+ import {
28
+ CliError
29
+ } from "./chunk-CCHHEMPM.js";
28
30
  import {
29
31
  __name
30
32
  } from "./chunk-ZVVMGPBJ.js";