@wirecat/cli-memo 0.131.31 → 0.131.33

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 (147) hide show
  1. package/dist/bin/memo.js +2 -2
  2. package/dist/bundle/{all-profiles-PFCNICOF.js → all-profiles-I67AQBML.js} +5 -5
  3. package/dist/bundle/{anthropic-QLGMYWVZ.js → anthropic-TAN7BXEI.js} +3 -3
  4. package/dist/bundle/{app-server-QD67I7V2.js → app-server-BB6D3T5A.js} +35 -35
  5. package/dist/bundle/auto-6555QOPH.js +86 -0
  6. package/dist/bundle/{bun-JRTUGKIJ.js → bun-UQEFISW2.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-HCZP2CNO.js → bun-sqlite-2QF3TO47.js} +2 -2
  8. package/dist/bundle/{chunk-HLJ6IUVF.js → chunk-2S5YZCD4.js} +2 -2
  9. package/dist/bundle/{chunk-3G44GDIZ.js → chunk-2Y2UWMJX.js} +5 -5
  10. package/dist/bundle/{chunk-GNY5YLNY.js → chunk-3CVPUL6V.js} +2 -2
  11. package/dist/bundle/{chunk-OS55OQ74.js → chunk-3DDGDOTM.js} +5 -5
  12. package/dist/bundle/{chunk-XWIRWBB5.js → chunk-3TEBUFO4.js} +1 -1
  13. package/dist/bundle/{chunk-3OH5DJ6X.js → chunk-4BDZUM4Z.js} +7 -1
  14. package/dist/bundle/{chunk-NG26I3JV.js → chunk-536BN5HJ.js} +1 -1
  15. package/dist/bundle/{chunk-7AMJFTJM.js → chunk-5DEHFWR4.js} +1 -1
  16. package/dist/bundle/{chunk-X6HXGL5E.js → chunk-5JAYP233.js} +7 -7
  17. package/dist/bundle/{chunk-63JF4E76.js → chunk-5M4CW3PM.js} +330 -247
  18. package/dist/bundle/{chunk-4D6BG353.js → chunk-62H5HS77.js} +6 -6
  19. package/dist/bundle/{chunk-ARVXP2UJ.js → chunk-6MDFXQ3P.js} +258 -258
  20. package/dist/bundle/{chunk-W4GV42D5.js → chunk-7OSMWDV3.js} +2 -2
  21. package/dist/bundle/{chunk-ZHDOELM7.js → chunk-ABORNS53.js} +7 -7
  22. package/dist/bundle/{chunk-CGI5EIIA.js → chunk-AFCZMG3T.js} +20 -20
  23. package/dist/bundle/{chunk-S3FQQRUM.js → chunk-AP3AG2BB.js} +4 -4
  24. package/dist/bundle/{chunk-FGJKBQCP.js → chunk-BFLYYQZ7.js} +3 -3
  25. package/dist/bundle/{chunk-5YVU6PXP.js → chunk-BSPNSDJR.js} +4 -4
  26. package/dist/bundle/{chunk-GKZ65EOY.js → chunk-BT6ZZUXC.js} +54 -54
  27. package/dist/bundle/{chunk-NDJUEFV2.js → chunk-BUYST3RY.js} +1 -1
  28. package/dist/bundle/{chunk-L34KLQIU.js → chunk-DUQGOBGY.js} +9 -9
  29. package/dist/bundle/{chunk-Q2ZIIXA2.js → chunk-EN3D3M3X.js} +2 -2
  30. package/dist/bundle/{chunk-JTSYAO5V.js → chunk-FQ23ENBP.js} +350 -280
  31. package/dist/bundle/{chunk-WGX6AEUP.js → chunk-FZXOHGOA.js} +3 -3
  32. package/dist/bundle/{chunk-ZB5ZZWFR.js → chunk-GUCICZ5E.js} +4 -4
  33. package/dist/bundle/{chunk-RO4YPDGF.js → chunk-HU2UNNN5.js} +1 -1
  34. package/dist/bundle/{chunk-RRDXT63A.js → chunk-IT5OORGL.js} +1 -1
  35. package/dist/bundle/{chunk-K6ZWFP2X.js → chunk-JCFO4LQL.js} +1 -1
  36. package/dist/bundle/{chunk-AZGQ7ABE.js → chunk-JOUN3RQQ.js} +165 -151
  37. package/dist/bundle/{chunk-42I4XE3O.js → chunk-KBSN3KOJ.js} +20 -20
  38. package/dist/bundle/{chunk-A56GDMFH.js → chunk-KJBKP66D.js} +3 -3
  39. package/dist/bundle/{chunk-PG4KORTB.js → chunk-KTGIARY4.js} +1 -1
  40. package/dist/bundle/{chunk-XUMYVRBZ.js → chunk-L5XW7SRP.js} +1 -1
  41. package/dist/bundle/{chunk-H24AL555.js → chunk-LDEPGWLS.js} +27 -27
  42. package/dist/bundle/{chunk-FE2SLKUO.js → chunk-LJZAVL4S.js} +2 -2
  43. package/dist/bundle/{chunk-5JTW3LNF.js → chunk-LUX5CPKS.js} +1 -1
  44. package/dist/bundle/{chunk-2N74ZVI6.js → chunk-MF2IXW4D.js} +1 -1
  45. package/dist/bundle/{chunk-CWHGN6HC.js → chunk-MI6OKBKQ.js} +4 -4
  46. package/dist/bundle/{chunk-7JWW4YEK.js → chunk-MZMKZ3FS.js} +8 -8
  47. package/dist/bundle/{chunk-2XBDA3XF.js → chunk-N75EWKKC.js} +1 -1
  48. package/dist/bundle/{chunk-TFEXCHMC.js → chunk-NAKJLG6G.js} +5 -5
  49. package/dist/bundle/{chunk-REUXOW2O.js → chunk-NOBWIWEE.js} +2 -2
  50. package/dist/bundle/{chunk-7MKROF5R.js → chunk-OGOMIZVL.js} +1 -1
  51. package/dist/bundle/{chunk-5BVGJBZX.js → chunk-P7AWDFQW.js} +1 -1
  52. package/dist/bundle/{chunk-MVFINUJS.js → chunk-PI5XHH3B.js} +6 -5
  53. package/dist/bundle/{chunk-QWA3MTHH.js → chunk-PVKETTTH.js} +7 -7
  54. package/dist/bundle/{chunk-Q3ZB4JGL.js → chunk-QMK5MB3I.js} +2 -2
  55. package/dist/bundle/{chunk-USMKR34T.js → chunk-R37MXUSP.js} +11 -11
  56. package/dist/bundle/{chunk-HGXTDMKN.js → chunk-RRLIMG4U.js} +85 -32
  57. package/dist/bundle/{chunk-K3CJHSLS.js → chunk-S6HHL43A.js} +1 -1
  58. package/dist/bundle/{chunk-UXA37BVT.js → chunk-SLY3522P.js} +4 -4
  59. package/dist/bundle/{chunk-QUQOKNAX.js → chunk-SN3VTCKM.js} +12 -12
  60. package/dist/bundle/{chunk-ROT4V3ZT.js → chunk-UMWPJXNA.js} +3 -3
  61. package/dist/bundle/{chunk-K3TUIQZ4.js → chunk-WSSMVWI6.js} +43 -43
  62. package/dist/bundle/{chunk-54DA525P.js → chunk-X5WJDJ7B.js} +14 -9
  63. package/dist/bundle/{chunk-URPBRYVA.js → chunk-YBSILL43.js} +4 -4
  64. package/dist/bundle/{chunk-WP3J2FNH.js → chunk-YGKZOBRU.js} +10 -10
  65. package/dist/bundle/{command-contract-DFXPO5Q7.js → command-contract-LRGVHRDS.js} +11 -11
  66. package/dist/bundle/{decode-7NGILAKQ.js → decode-AC2QFP22.js} +2 -2
  67. package/dist/bundle/{echarts-JERQI2HW.js → echarts-2LGYCSJM.js} +2 -2
  68. package/dist/bundle/{embed-3AO7KZXC.js → embed-5G5NJRTM.js} +3 -3
  69. package/dist/bundle/{embedder-WRQ7TDDB.js → embedder-AWGIIEIK.js} +6 -6
  70. package/dist/bundle/{entry-IBRPU7NO.js → entry-J2G7NST5.js} +4 -4
  71. package/dist/bundle/failure-7SDDOWOC.js +66 -0
  72. package/dist/bundle/{first-run-IJOREEQM.js → first-run-CIE4REGV.js} +5 -5
  73. package/dist/bundle/{first-screen-KYNY6ELY.js → first-screen-PLNL6V5J.js} +12 -12
  74. package/dist/bundle/{instructions-BET2PLGV.js → instructions-5236MVDG.js} +1 -1
  75. package/dist/bundle/{mcp-NUBFFPGF.js → mcp-IRYWZZMF.js} +35 -35
  76. package/dist/bundle/memo.js +6 -6
  77. package/dist/bundle/{node-NCSG7QX5.js → node-7746MVI2.js} +2 -2
  78. package/dist/bundle/{node-sqlite-QL4M5RIK.js → node-sqlite-2JD5RF5A.js} +3 -3
  79. package/dist/bundle/{oauth-BGMMED35.js → oauth-BUMW77DB.js} +4 -4
  80. package/dist/bundle/{open-YN3KJMMQ.js → open-CXUGW7QC.js} +2 -2
  81. package/dist/bundle/{openai-CTZUSKUS.js → openai-ORFEPFYD.js} +7 -7
  82. package/dist/bundle/{process-DW237TK4.js → process-JXXYNYHP.js} +1 -1
  83. package/dist/bundle/{program-Q7VXEIJ7.js → program-4RYVZYD2.js} +105 -81
  84. package/dist/bundle/{prompt-EZCCUYCS.js → prompt-EHLY4L77.js} +2 -2
  85. package/dist/bundle/{recognize-XP3LHQD6.js → recognize-ES7MH57V.js} +1 -1
  86. package/dist/bundle/{remote-RLR5ZKKT.js → remote-EZ76X2VI.js} +4 -4
  87. package/dist/bundle/{rerank-P7LE52AC.js → rerank-CDIZ6AA6.js} +4 -4
  88. package/dist/bundle/{serve-UA7RQDNK.js → serve-YRSGBTJY.js} +6 -6
  89. package/dist/bundle/server-EUYRPM4X.js +48 -0
  90. package/dist/bundle/{server-NWCYWOPZ.js → server-MW5247KA.js} +50 -50
  91. package/dist/bundle/server-OHIH2CMF.js +61 -0
  92. package/dist/bundle/{state-72Y55LBR.js → state-S6A5VAWR.js} +3 -3
  93. package/dist/bundle/{store-PED4JCBB.js → store-O5CDNS3U.js} +9 -9
  94. package/dist/bundle/store-maintenance-command-3OFVJT4R.js +48 -0
  95. package/dist/bundle/update-RC5CLYFY.js +69 -0
  96. package/dist/examples.d.ts.map +1 -1
  97. package/dist/examples.js +7 -1
  98. package/dist/examples.js.map +1 -1
  99. package/dist/findings/command.d.ts.map +1 -1
  100. package/dist/findings/command.js +4 -4
  101. package/dist/findings/command.js.map +1 -1
  102. package/dist/findings-input.d.ts +7 -0
  103. package/dist/findings-input.d.ts.map +1 -0
  104. package/dist/findings-input.js +23 -0
  105. package/dist/findings-input.js.map +1 -0
  106. package/dist/knowledge/project-actions-command.d.ts.map +1 -1
  107. package/dist/knowledge/project-actions-command.js +4 -4
  108. package/dist/knowledge/project-actions-command.js.map +1 -1
  109. package/dist/knowledge/project-actions.d.ts +2 -0
  110. package/dist/knowledge/project-actions.d.ts.map +1 -1
  111. package/dist/mail/findings-command.d.ts +1 -1
  112. package/dist/mail/findings-command.d.ts.map +1 -1
  113. package/dist/mail/findings-command.js +5 -6
  114. package/dist/mail/findings-command.js.map +1 -1
  115. package/dist/mail/review-command.d.ts +4 -3
  116. package/dist/mail/review-command.d.ts.map +1 -1
  117. package/dist/mail/review-command.js +9 -5
  118. package/dist/mail/review-command.js.map +1 -1
  119. package/dist/mcp/permissions.d.ts +1 -1
  120. package/dist/mcp/permissions.d.ts.map +1 -1
  121. package/dist/mcp/permissions.js +1 -0
  122. package/dist/mcp/permissions.js.map +1 -1
  123. package/dist/reasons.d.ts.map +1 -1
  124. package/dist/reasons.js +6 -0
  125. package/dist/reasons.js.map +1 -1
  126. package/dist/tasks/command.d.ts.map +1 -1
  127. package/dist/tasks/command.js +2 -0
  128. package/dist/tasks/command.js.map +1 -1
  129. package/dist/tasks/list.d.ts.map +1 -1
  130. package/dist/tasks/list.js +2 -0
  131. package/dist/tasks/list.js.map +1 -1
  132. package/dist/tasks/tasks.d.ts +4 -0
  133. package/dist/tasks/tasks.d.ts.map +1 -1
  134. package/dist/tasks/tasks.js +2 -0
  135. package/dist/tasks/tasks.js.map +1 -1
  136. package/dist/version.d.ts +1 -1
  137. package/dist/version.js +1 -1
  138. package/package.json +3 -3
  139. package/skills/cli-memo/topics/mail.md +2 -1
  140. package/skills/mail-triage/SKILL.md +28 -10
  141. package/dist/bundle/auto-MCSKUSPU.js +0 -86
  142. package/dist/bundle/failure-QBQMSEYX.js +0 -66
  143. package/dist/bundle/server-N6L3LGQO.js +0 -48
  144. package/dist/bundle/server-XU362INX.js +0 -61
  145. package/dist/bundle/store-maintenance-command-B364Q2O4.js +0 -48
  146. package/dist/bundle/update-X2A5CW5A.js +0 -69
  147. /package/dist/bundle/{chunk-QPPNLE7G.js → chunk-JB5P5WSQ.js} +0 -0
@@ -13,7 +13,7 @@ import {
13
13
  refuseLacking,
14
14
  servicesFor,
15
15
  throughWrapper
16
- } from "./chunk-ARVXP2UJ.js";
16
+ } from "./chunk-6MDFXQ3P.js";
17
17
  import {
18
18
  CEILING_KEY,
19
19
  LOG_ATTRIBUTES,
@@ -38,21 +38,21 @@ import {
38
38
  rememberAccount,
39
39
  rootOf2 as rootOf,
40
40
  skipFlagFor
41
- } from "./chunk-AZGQ7ABE.js";
41
+ } from "./chunk-JOUN3RQQ.js";
42
42
  import {
43
43
  isCliFailure,
44
44
  providerErrorKey
45
- } from "./chunk-X6HXGL5E.js";
45
+ } from "./chunk-5JAYP233.js";
46
46
  import {
47
47
  MESSENGER_CHANGE_REFUSAL,
48
48
  readOnlyRefusal
49
- } from "./chunk-NDJUEFV2.js";
49
+ } from "./chunk-BUYST3RY.js";
50
50
  import {
51
51
  servingProfiles
52
- } from "./chunk-REUXOW2O.js";
52
+ } from "./chunk-NOBWIWEE.js";
53
53
  import {
54
54
  openStore
55
- } from "./chunk-JTSYAO5V.js";
55
+ } from "./chunk-FQ23ENBP.js";
56
56
  import {
57
57
  logRecordOf,
58
58
  realSleep,
@@ -66,7 +66,7 @@ import {
66
66
  __name
67
67
  } from "./chunk-ZVVMGPBJ.js";
68
68
 
69
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
69
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
70
70
  import { openSync } from "node:fs";
71
71
  import { createInterface } from "node:readline";
72
72
  import { ReadStream } from "node:tty";
@@ -121,10 +121,10 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
121
121
  throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
122
122
  }, "terminalAsker");
123
123
 
124
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/sends/guard.js
124
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/sends/guard.js
125
125
  import { randomUUID } from "node:crypto";
126
126
 
127
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/sends/flood.js
127
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/sends/flood.js
128
128
  import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
129
129
  import { dirname, join } from "node:path";
130
130
  var MOST_DEADLINES = 50;
@@ -208,11 +208,11 @@ var FloodMemory = class {
208
208
  }
209
209
  };
210
210
 
211
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/sends/journal.js
211
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/sends/journal.js
212
212
  import { appendFileSync, mkdirSync as mkdirSync3, readFileSync as readFileSync2 } from "node:fs";
213
213
  import { dirname as dirname3, join as join2 } from "node:path";
214
214
 
215
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
215
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
216
216
  import { closeSync, mkdirSync as mkdirSync2, openSync as openSync2, statSync, unlinkSync } from "node:fs";
217
217
  import { dirname as dirname2 } from "node:path";
218
218
  var LOCK_WAIT_MS = 5e3;
@@ -279,7 +279,7 @@ var lockTime = /* @__PURE__ */ __name((lock) => {
279
279
  }
280
280
  }, "lockTime");
281
281
 
282
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/sends/journal.js
282
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/sends/journal.js
283
283
  var sendsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "sends", `${profile}.jsonl`), "sendsPathFor");
284
284
  var SendJournal = class {
285
285
  static {
@@ -356,7 +356,7 @@ var withSendId = /* @__PURE__ */ __name((entry) => {
356
356
  return cid === void 0 || rest.sendId !== void 0 ? rest : { ...rest, sendId: String(cid) };
357
357
  }, "withSendId");
358
358
 
359
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/sends/recipients.js
359
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/sends/recipients.js
360
360
  import { existsSync, readFileSync as readFileSync3, rmSync } from "node:fs";
361
361
  import { join as join3 } from "node:path";
362
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");
@@ -468,7 +468,7 @@ var RecipientList = class {
468
468
  }
469
469
  };
470
470
 
471
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/sends/guard.js
471
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/sends/guard.js
472
472
  var HOUR_MS = 60 * 60 * 1e3;
473
473
  var READS_UNDER_HOLD = /* @__PURE__ */ new Set([
474
474
  "attachments.extract",
@@ -661,7 +661,7 @@ var guardFor = /* @__PURE__ */ __name((app, settings, warn, env = process.env, a
661
661
  }), "guardFor");
662
662
  var journalFailure = /* @__PURE__ */ __name((error) => error?.code ?? (error instanceof Error ? error.name : "error"), "journalFailure");
663
663
 
664
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/sends/pace.js
664
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/sends/pace.js
665
665
  import { readFileSync as readFileSync4, renameSync as renameSync2, writeFileSync as writeFileSync2 } from "node:fs";
666
666
  import { join as join4 } from "node:path";
667
667
  var DEFAULT_PACE = { perMinute: 60, burst: 20 };
@@ -720,7 +720,7 @@ var Pacer = class {
720
720
  }
721
721
  };
722
722
 
723
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
723
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
724
724
  var pathOf = /* @__PURE__ */ __name((command) => {
725
725
  const words = [];
726
726
  for (let at = command; at?.parent; at = at.parent)
@@ -780,7 +780,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
780
780
  throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
781
781
  }, "refuseUnknownPermissionKeys");
782
782
 
783
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
783
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
784
784
  var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
785
785
  var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
786
786
  var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
@@ -899,7 +899,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
899
899
  });
900
900
  }, "flooded");
901
901
 
902
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
902
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
903
903
  var observed = /* @__PURE__ */ __name((messenger, events) => {
904
904
  const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
905
905
  const write = currentOperation();
@@ -998,7 +998,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
998
998
  counts[part] = (counts[part] ?? 0) + items.length;
999
999
  }, "byPart");
1000
1000
 
1001
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
1001
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
1002
1002
  var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
1003
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" }) => {
1004
1004
  let warned = false;
@@ -1574,7 +1574,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
1574
1574
  }
1575
1575
  }, "keep");
1576
1576
 
1577
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
1577
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
1578
1578
  var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
1579
1579
  let opened;
1580
1580
  return {
@@ -4,10 +4,10 @@ import {
4
4
  readSharedSection,
5
5
  sharedConfigPath,
6
6
  writeSharedSection
7
- } from "./chunk-URPBRYVA.js";
7
+ } from "./chunk-YBSILL43.js";
8
8
  import {
9
9
  storePath
10
- } from "./chunk-RRDXT63A.js";
10
+ } from "./chunk-IT5OORGL.js";
11
11
  import {
12
12
  CliError
13
13
  } from "./chunk-EB2IULWB.js";
@@ -15,7 +15,7 @@ import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
19
19
  var PERMISSION_ANSWERS = ["readonly", "allow"];
20
20
  var QUESTIONS = ["languages", "tools", "permissions"];
21
21
  var SECTION = "setup";
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
14
14
  import { readFileSync } from "node:fs";
15
15
  var musl = /* @__PURE__ */ __name(() => {
16
16
  if (process.platform !== "linux")
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/http/public-url.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/http/public-url.js
11
11
  var EXAMPLE = "--public-url https://<name>.ts.net";
12
12
  var publicUrlOf = /* @__PURE__ */ __name((given, { missing, reaches, path = false }) => {
13
13
  if (!given)
@@ -20,7 +20,7 @@ import {
20
20
  tool,
21
21
  toolKey,
22
22
  toolsFromCommands
23
- } from "./chunk-USMKR34T.js";
23
+ } from "./chunk-R37MXUSP.js";
24
24
  import {
25
25
  CHART_KINDS,
26
26
  CHART_SIZE,
@@ -33,24 +33,24 @@ import {
33
33
  registerPrompts,
34
34
  stdinFieldOf,
35
35
  syncsFirst
36
- } from "./chunk-CGI5EIIA.js";
36
+ } from "./chunk-AFCZMG3T.js";
37
37
  import {
38
38
  mcpUrlOf
39
- } from "./chunk-XUMYVRBZ.js";
39
+ } from "./chunk-L5XW7SRP.js";
40
40
  import {
41
41
  agentJson,
42
42
  skillResource
43
- } from "./chunk-54DA525P.js";
43
+ } from "./chunk-X5WJDJ7B.js";
44
44
  import {
45
45
  instructions
46
- } from "./chunk-XWIRWBB5.js";
46
+ } from "./chunk-3TEBUFO4.js";
47
47
  import {
48
48
  answeredWire
49
- } from "./chunk-7MKROF5R.js";
49
+ } from "./chunk-OGOMIZVL.js";
50
50
  import {
51
51
  callerOf,
52
52
  callingAgent
53
- } from "./chunk-FE2SLKUO.js";
53
+ } from "./chunk-LJZAVL4S.js";
54
54
  import {
55
55
  StdioServerTransport,
56
56
  serveStdio
@@ -62,7 +62,7 @@ import {
62
62
  import {
63
63
  connectedFor,
64
64
  guardFor
65
- } from "./chunk-42I4XE3O.js";
65
+ } from "./chunk-KBSN3KOJ.js";
66
66
  import {
67
67
  capability,
68
68
  dateWindow,
@@ -71,10 +71,10 @@ import {
71
71
  servicesFor,
72
72
  storedDeps,
73
73
  wholeList
74
- } from "./chunk-ARVXP2UJ.js";
74
+ } from "./chunk-6MDFXQ3P.js";
75
75
  import {
76
76
  findCommand
77
- } from "./chunk-HLJ6IUVF.js";
77
+ } from "./chunk-2S5YZCD4.js";
78
78
  import {
79
79
  DEFAULT_OUTPUT_BYTES,
80
80
  changesAuthorityAt,
@@ -90,27 +90,27 @@ import {
90
90
  sealed,
91
91
  snakeKeys,
92
92
  typedCommand
93
- } from "./chunk-AZGQ7ABE.js";
93
+ } from "./chunk-JOUN3RQQ.js";
94
94
  import {
95
95
  isCliFailure,
96
96
  withCaller
97
- } from "./chunk-X6HXGL5E.js";
97
+ } from "./chunk-5JAYP233.js";
98
98
  import {
99
99
  readOnlyLockOf
100
- } from "./chunk-NDJUEFV2.js";
100
+ } from "./chunk-BUYST3RY.js";
101
101
  import {
102
102
  mcpHttpMarker
103
- } from "./chunk-CWHGN6HC.js";
103
+ } from "./chunk-MI6OKBKQ.js";
104
104
  import {
105
105
  openStore,
106
106
  pdfPreviewLimits
107
- } from "./chunk-JTSYAO5V.js";
107
+ } from "./chunk-FQ23ENBP.js";
108
108
  import {
109
109
  timezoneOf
110
- } from "./chunk-GKZ65EOY.js";
110
+ } from "./chunk-BT6ZZUXC.js";
111
111
  import {
112
112
  warmEmbedders
113
- } from "./chunk-TFEXCHMC.js";
113
+ } from "./chunk-NAKJLG6G.js";
114
114
  import {
115
115
  description,
116
116
  integer,
@@ -135,10 +135,10 @@ import {
135
135
  __name
136
136
  } from "./chunk-ZVVMGPBJ.js";
137
137
 
138
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/mcp/server.js
138
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/mcp/server.js
139
139
  import { randomUUID } from "node:crypto";
140
140
 
141
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
141
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
142
142
  var agentLog = /* @__PURE__ */ __name((open) => {
143
143
  let held;
144
144
  return {
@@ -157,7 +157,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
157
157
  };
158
158
  }, "agentLog");
159
159
 
160
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/mcp/resources.js
160
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/mcp/resources.js
161
161
  var LISTED = 100;
162
162
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
163
163
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -195,7 +195,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
195
195
  });
196
196
  }, "registerResources");
197
197
 
198
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/mcp/session.js
198
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/mcp/session.js
199
199
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
200
200
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
201
201
  var MessengerSession = class {
@@ -270,7 +270,7 @@ var MessengerSession = class {
270
270
  }
271
271
  };
272
272
 
273
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
273
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
274
274
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
275
275
  const _command = messenger.app.command;
276
276
  return {
@@ -324,7 +324,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
324
324
  };
325
325
  }, "attachmentsTools");
326
326
 
327
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
327
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
328
328
  var PHOTO_LIMIT = 512 * 1024;
329
329
  var IMAGE_TYPES = [
330
330
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -378,7 +378,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
378
378
  return new Uint8Array(Buffer.concat(chunks));
379
379
  }, "readUpTo");
380
380
 
381
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
381
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
382
382
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
383
383
  stats_charts: tool({
384
384
  title: "A chart from a chat's statistics",
@@ -415,14 +415,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
415
415
  })
416
416
  }), "statsTools");
417
417
 
418
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/mcp/tools.js
418
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/mcp/tools.js
419
419
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
420
420
  ...messagesPhotoTools(messenger),
421
421
  ...attachmentsTools(messenger),
422
422
  ...statsTools(messenger)
423
423
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
424
424
 
425
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/mcp/server.js
425
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/mcp/server.js
426
426
  var PER_RUN = /* @__PURE__ */ new Set([
427
427
  "streams",
428
428
  "stdin",
@@ -746,7 +746,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
746
746
  }, "serveOverStdio");
747
747
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
748
748
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
749
- const { serveOverHttp } = await import("./serve-UA7RQDNK.js");
749
+ const { serveOverHttp } = await import("./serve-YRSGBTJY.js");
750
750
  const appName = messenger.app.command;
751
751
  const appEnvPrefix = messenger.app.envPrefix;
752
752
  const listening = await serveOverHttp(build, {
@@ -7,12 +7,12 @@ import {
7
7
  agentOf,
8
8
  clientHash,
9
9
  currentCaller
10
- } from "./chunk-X6HXGL5E.js";
10
+ } from "./chunk-5JAYP233.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/mcp/caller.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/mcp/caller.js
16
16
  var callingAgent = /* @__PURE__ */ __name((fallback, caller = currentCaller()) => {
17
17
  const client = caller?.agent?.client?.name;
18
18
  if (client && client !== "unknown")
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/http/listen.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/http/listen.js
8
8
  import { createServer } from "node:http";
9
9
  import { Readable } from "node:stream";
10
10
  var MAX_BODY = 4 * 1024 * 1024;
@@ -17,7 +17,7 @@ import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/models/options.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/models/options.js
21
21
  var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
22
22
  const parsed = safeParse(schema, options);
23
23
  if (!parsed.success) {
@@ -5,15 +5,15 @@ import {
5
5
  readLock,
6
6
  releaseLock,
7
7
  takeLock
8
- } from "./chunk-REUXOW2O.js";
8
+ } from "./chunk-NOBWIWEE.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
14
14
  import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
17
17
  import { randomBytes } from "node:crypto";
18
18
  import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
19
19
  import { dirname } from "node:path";
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
86
86
  };
87
87
  }, "activityRecorder");
88
88
 
89
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
89
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
90
90
  var ACCESS_SECONDS = 60 * 60;
91
91
  var REFRESH_SECONDS = 30 * 24 * 60 * 60;
92
92
  var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");
@@ -2,21 +2,21 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  botInstructions
5
- } from "./chunk-5BVGJBZX.js";
5
+ } from "./chunk-P7AWDFQW.js";
6
6
  import {
7
7
  answered,
8
8
  normal,
9
9
  registerCommands,
10
10
  runCommandForAgent,
11
11
  toolsFromCommands
12
- } from "./chunk-USMKR34T.js";
12
+ } from "./chunk-R37MXUSP.js";
13
13
  import {
14
14
  agentJson,
15
15
  skillResource
16
- } from "./chunk-54DA525P.js";
16
+ } from "./chunk-X5WJDJ7B.js";
17
17
  import {
18
18
  callerOf
19
- } from "./chunk-FE2SLKUO.js";
19
+ } from "./chunk-LJZAVL4S.js";
20
20
  import {
21
21
  serveStdio
22
22
  } from "./chunk-MM5NVP7F.js";
@@ -25,17 +25,17 @@ import {
25
25
  } from "./chunk-H3ZN4YLB.js";
26
26
  import {
27
27
  wholeList
28
- } from "./chunk-ARVXP2UJ.js";
28
+ } from "./chunk-6MDFXQ3P.js";
29
29
  import {
30
30
  changesMessenger,
31
31
  flatten,
32
32
  itemOf
33
- } from "./chunk-AZGQ7ABE.js";
33
+ } from "./chunk-JOUN3RQQ.js";
34
34
  import {
35
35
  MESSENGER_CHANGE_REFUSAL,
36
36
  readOnlyLockOf,
37
37
  readOnlyRefusal
38
- } from "./chunk-NDJUEFV2.js";
38
+ } from "./chunk-BUYST3RY.js";
39
39
  import {
40
40
  mcpErrorResult,
41
41
  object
@@ -44,7 +44,7 @@ import {
44
44
  __name
45
45
  } from "./chunk-ZVVMGPBJ.js";
46
46
 
47
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/mcp/bot/server.js
47
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/mcp/bot/server.js
48
48
  import { randomUUID } from "node:crypto";
49
49
  var body = /* @__PURE__ */ __name((command, value) => Array.isArray(value) ? wholeList(`bot ${command}`, value) : value !== null && typeof value === "object" && ("item" in value || "items" in value) ? value : itemOf(value !== null && typeof value === "object" ? value : { value }), "body");
50
50
  var createBotServer = /* @__PURE__ */ __name((options) => {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/runs/secrets.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/runs/secrets.js
8
8
  var SECRET_WORDS = /* @__PURE__ */ new Set([
9
9
  "authorization",
10
10
  "cookie",
@@ -5,7 +5,7 @@ import {
5
5
  installFiles,
6
6
  megabytes,
7
7
  sharedModelsDirectory
8
- } from "./chunk-FGJKBQCP.js";
8
+ } from "./chunk-BFLYYQZ7.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
@@ -16,12 +16,12 @@ import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
20
20
  import { readFileSync as readFileSync2 } from "node:fs";
21
21
  import { availableParallelism } from "node:os";
22
22
  import { basename, join as join2 } from "node:path";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
25
25
  import { createHash } from "node:crypto";
26
26
  import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
27
27
  import { join } from "node:path";
@@ -678,7 +678,7 @@ var Unzip = /* @__PURE__ */ (function() {
678
678
  return Unzip2;
679
679
  })();
680
680
 
681
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
681
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
682
682
  var ONNX_RUNTIME_VERSION = "1.30.0";
683
683
  var release = /* @__PURE__ */ __name((name, sha256, bytes) => ({
684
684
  name,
@@ -858,7 +858,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
858
858
  return { ort, session: await ort.InferenceSession.create(bytes, options) };
859
859
  }, "openSession");
860
860
 
861
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
861
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
862
862
  var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
863
863
  var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
864
864
  var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  alive
5
- } from "./chunk-RO4YPDGF.js";
5
+ } from "./chunk-HU2UNNN5.js";
6
6
  import {
7
7
  resolvePaths,
8
8
  writeSecurely
@@ -11,7 +11,7 @@ import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/background/lock.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/background/lock.js
15
15
  import { existsSync, linkSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
16
16
  import { dirname, join } from "node:path";
17
17
  var lockPath = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "serve", `${profile}.lock`), "lockPath");
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
8
8
  import { PassThrough, Writable } from "node:stream";
9
9
  var lineReader = /* @__PURE__ */ __name((onMessage) => {
10
10
  let rest = "";
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.576.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_8c38491da697a73b6a1be72960f7baeb/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.577.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_b456bb3dbfa5a2ab44c157391052a5e8/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
8
8
  var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
9
9
  `The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
10
10
  "Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",
@@ -4,7 +4,7 @@ import {
4
4
  inspectConfig,
5
5
  loadConfig,
6
6
  memoPermissionKeys
7
- } from "./chunk-HGXTDMKN.js";
7
+ } from "./chunk-RRLIMG4U.js";
8
8
  import {
9
9
  CEILING_KEY,
10
10
  changesAuthority,
@@ -13,17 +13,17 @@ import {
13
13
  layerPermissions,
14
14
  levelFor,
15
15
  metaOf
16
- } from "./chunk-AZGQ7ABE.js";
16
+ } from "./chunk-JOUN3RQQ.js";
17
17
  import {
18
18
  setupPermissionCeiling
19
- } from "./chunk-A56GDMFH.js";
19
+ } from "./chunk-KJBKP66D.js";
20
20
  import {
21
21
  readOnlyLockOf,
22
22
  readOnlyRefusal
23
- } from "./chunk-NDJUEFV2.js";
23
+ } from "./chunk-BUYST3RY.js";
24
24
  import {
25
25
  APP
26
- } from "./chunk-3OH5DJ6X.js";
26
+ } from "./chunk-4BDZUM4Z.js";
27
27
  import {
28
28
  CliError
29
29
  } from "./chunk-EB2IULWB.js";
@@ -68,6 +68,7 @@ var readOnlyAvailability = /* @__PURE__ */ __name((command, env) => {
68
68
  var OWNER_PERMISSIONS = [
69
69
  "meetings.actions.confirm",
70
70
  "meetings.actions.reject",
71
+ "messages.reset",
71
72
  "projects.annotations.restore",
72
73
  "review.confirm",
73
74
  "review.reject"