@wirecat/zoom-cli 0.59.1 → 0.60.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 (124) hide show
  1. package/dist/bin/zm.js +2 -2
  2. package/dist/bundle/{all-profiles-RS5IWIGR.js → all-profiles-7OZPJY76.js} +5 -5
  3. package/dist/bundle/{answer-policy-7BYG6XWZ.js → answer-policy-PVWMA2QC.js} +50 -50
  4. package/dist/bundle/{anthropic-5QHQR4WF.js → anthropic-TT2XV74T.js} +3 -3
  5. package/dist/bundle/{app-server-7LANSZGE.js → app-server-POMYD6QV.js} +45 -45
  6. package/dist/bundle/{bun-O6RL6LRQ.js → bun-JVDJVDHL.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-PEJM6CS4.js → bun-sqlite-BBOPAQVG.js} +2 -2
  8. package/dist/bundle/{chunk-ZHXIXDH5.js → chunk-22UBF6U6.js} +4 -4
  9. package/dist/bundle/{chunk-L2UIJDWB.js → chunk-2EVRKK75.js} +1 -1
  10. package/dist/bundle/{chunk-YSHSCBPM.js → chunk-2TV7UTHK.js} +7 -7
  11. package/dist/bundle/{chunk-XFCSPOLZ.js → chunk-3P4LUGXI.js} +1 -1
  12. package/dist/bundle/{chunk-QFGBMS67.js → chunk-3UMXCNDI.js} +13 -6
  13. package/dist/bundle/{chunk-JUS4H7Z5.js → chunk-4FTPE5SB.js} +23 -23
  14. package/dist/bundle/{chunk-4AURKUDZ.js → chunk-4HZRZDMC.js} +3 -3
  15. package/dist/bundle/{chunk-RXDIG23Z.js → chunk-4MC4Z45G.js} +5 -5
  16. package/dist/bundle/{chunk-PKTFZAXG.js → chunk-57LT4A2E.js} +1 -1
  17. package/dist/bundle/{chunk-T6AAM7UT.js → chunk-72A7CIPL.js} +18 -15
  18. package/dist/bundle/{chunk-6FL25KC5.js → chunk-7PQY4ISY.js} +3 -3
  19. package/dist/bundle/{chunk-URO44C5T.js → chunk-7T3BUWJK.js} +156 -144
  20. package/dist/bundle/{chunk-BXZ6WSVF.js → chunk-AJA5ZAV6.js} +3 -3
  21. package/dist/bundle/{chunk-MBT7GP7K.js → chunk-D6L35XQS.js} +8 -8
  22. package/dist/bundle/{chunk-K76WFW4I.js → chunk-DAQXO6SM.js} +3 -3
  23. package/dist/bundle/{chunk-SIA7HJE2.js → chunk-DKIIKMSE.js} +54 -47
  24. package/dist/bundle/{chunk-XT7XVPEM.js → chunk-DN7VHENQ.js} +9 -9
  25. package/dist/bundle/{chunk-KVHRHBLY.js → chunk-E3AMUYNB.js} +4 -4
  26. package/dist/bundle/{chunk-CVIKKIGE.js → chunk-EF2RCQ3L.js} +1 -1
  27. package/dist/bundle/{chunk-OBZWUNO4.js → chunk-EH6G2LEU.js} +8 -8
  28. package/dist/bundle/{chunk-A6323R5P.js → chunk-EOZWDEJL.js} +1 -1
  29. package/dist/bundle/{chunk-UKR7KH3H.js → chunk-EROQ5SC7.js} +2 -2
  30. package/dist/bundle/{chunk-NDXAZB5Z.js → chunk-EXFAA4N3.js} +5 -5
  31. package/dist/bundle/{chunk-MNUTWGSA.js → chunk-G3MXAGF2.js} +30 -30
  32. package/dist/bundle/{chunk-3SCTDFNO.js → chunk-GNRYFESK.js} +15 -15
  33. package/dist/bundle/{chunk-PACC5N6T.js → chunk-GXACHTB2.js} +8 -1
  34. package/dist/bundle/{chunk-4NGLRHWO.js → chunk-HBYE4EP2.js} +1 -1
  35. package/dist/bundle/{chunk-NW7IMGRR.js → chunk-HIAO4MPA.js} +1 -1
  36. package/dist/bundle/{chunk-7D2CD3E3.js → chunk-HWZXQLR5.js} +4 -4
  37. package/dist/bundle/{chunk-QCFHL4ES.js → chunk-I45V6AFG.js} +1 -1
  38. package/dist/bundle/{chunk-DXZTLB24.js → chunk-IFXPNXAH.js} +3 -3
  39. package/dist/bundle/{chunk-NOKFJJPA.js → chunk-J3N2LL37.js} +5 -5
  40. package/dist/bundle/{chunk-KDYPY6IL.js → chunk-J5ZVGKSZ.js} +1 -1
  41. package/dist/bundle/{chunk-MMT46EN4.js → chunk-JBGYI5BY.js} +1 -1
  42. package/dist/bundle/{chunk-B32SF7J3.js → chunk-KUBCUE6T.js} +1 -1
  43. package/dist/bundle/{chunk-G27MRA24.js → chunk-KUBWRI5E.js} +1 -1
  44. package/dist/bundle/{chunk-7H3ZRDLW.js → chunk-KVPYI52N.js} +2 -2
  45. package/dist/bundle/{chunk-27P22POE.js → chunk-LKV3NRCJ.js} +29 -25
  46. package/dist/bundle/{recognize-EMHQX4XF.js → chunk-LYZNVNJA.js} +6 -5
  47. package/dist/bundle/{chunk-IYAGQXED.js → chunk-LZBWU2IA.js} +7 -7
  48. package/dist/bundle/{chunk-ZC5UXEIH.js → chunk-M5WLBRL7.js} +10 -10
  49. package/dist/bundle/{chunk-BAQLQIMI.js → chunk-MGYFSXI5.js} +30 -26
  50. package/dist/bundle/{chunk-PF25S7L4.js → chunk-NKFRV2LB.js} +1 -1
  51. package/dist/bundle/{chunk-PNBEREOU.js → chunk-ODFIV4OS.js} +1904 -1527
  52. package/dist/bundle/{chunk-YIFIY7ZE.js → chunk-PU4FKK5T.js} +1 -1
  53. package/dist/bundle/{chunk-UXM7I35J.js → chunk-PUOBYJFI.js} +4 -4
  54. package/dist/bundle/{chunk-VOAVOK4I.js → chunk-Q4NDCDFG.js} +55 -16
  55. package/dist/bundle/{chunk-UYJUTZTT.js → chunk-QJCVOVNR.js} +2 -2
  56. package/dist/bundle/{chunk-5DVW77VC.js → chunk-RH5YXXAB.js} +30 -30
  57. package/dist/bundle/{chunk-L3VS3H34.js → chunk-RNX73QCL.js} +5 -5
  58. package/dist/bundle/{chunk-YJRMMZI5.js → chunk-RSLXLUTS.js} +9 -9
  59. package/dist/bundle/{chunk-CTGI4ES2.js → chunk-SG3WSP7Y.js} +5 -5
  60. package/dist/bundle/{chunk-U6QW67SU.js → chunk-SK3K2VHF.js} +371 -314
  61. package/dist/bundle/{chunk-2EYP23NY.js → chunk-SKENSSY2.js} +9 -9
  62. package/dist/bundle/{chunk-VSUY7PDW.js → chunk-TAQKNWCD.js} +6 -3
  63. package/dist/bundle/{chunk-EUQ7XFPK.js → chunk-TB72GE55.js} +1 -1
  64. package/dist/bundle/{chunk-PP3JGQQE.js → chunk-UOL4ILXT.js} +108 -52
  65. package/dist/bundle/{chunk-ZTOAAYFV.js → chunk-V2QOLHPM.js} +2 -2
  66. package/dist/bundle/{chunk-AIXLOMH4.js → chunk-W5EUHV3J.js} +1 -1
  67. package/dist/bundle/{chunk-SL3SXQZ5.js → chunk-WVXAQVLG.js} +5 -5
  68. package/dist/bundle/{chunk-3SERIWJD.js → chunk-XAF2LHZG.js} +7853 -7815
  69. package/dist/bundle/{chunk-DXKVEOSS.js → chunk-XLJV3ZOH.js} +1 -1
  70. package/dist/bundle/{chunk-MIGIKHER.js → chunk-XMCVB4Q4.js} +3 -3
  71. package/dist/bundle/{chunk-N7GAQ27N.js → chunk-YSZQ5SZK.js} +2 -2
  72. package/dist/bundle/{chunk-7Z4ANTAK.js → chunk-YZZ6NBXC.js} +27 -19
  73. package/dist/bundle/{chunk-DDYR6DYL.js → chunk-ZK7Y5K63.js} +1 -1
  74. package/dist/bundle/{cli-IQTASP44.js → cli-WIMAOCXF.js} +51 -51
  75. package/dist/bundle/command-contract-J7PDZQMC.js +38 -0
  76. package/dist/bundle/config-G62PBNZF.js +79 -0
  77. package/dist/bundle/decode-UBPIHVNG.js +158 -0
  78. package/dist/bundle/{dist-WT73DF46.js → dist-YYDTME5J.js} +11 -11
  79. package/dist/bundle/{echarts-LD3AI55P.js → echarts-4OQHS575.js} +2 -2
  80. package/dist/bundle/{embed-XEMH4LNX.js → embed-7JHEPBFD.js} +3 -3
  81. package/dist/bundle/{embedder-ZCYKSKAE.js → embedder-HTRPWR6T.js} +6 -6
  82. package/dist/bundle/{first-run-LGYDLIUM.js → first-run-I52ADRJ2.js} +5 -5
  83. package/dist/bundle/first-screen-XNCFWOLC.js +36 -0
  84. package/dist/bundle/{instructions-RZMSW3OC.js → instructions-3QZBKKPF.js} +1 -1
  85. package/dist/bundle/{main-LDCSYBV3.js → main-64VVZ5QG.js} +11 -11
  86. package/dist/bundle/mcp-5SJXWEJW.js +92 -0
  87. package/dist/bundle/{mcp-M7MW5EGT.js → mcp-ZMIPDB4R.js} +59 -59
  88. package/dist/bundle/{meetings-XPBHVZAU.js → meetings-RD3NU6NN.js} +5 -1
  89. package/dist/bundle/{node-ZRLYQL7J.js → node-R2BLYUSB.js} +2 -2
  90. package/dist/bundle/node-sqlite-DGEEDBXV.js +61 -0
  91. package/dist/bundle/{oauth-UHVRGKZU.js → oauth-NRZMCFH3.js} +4 -4
  92. package/dist/bundle/{open-J4FCAUAJ.js → open-SUGCOCAU.js} +1 -1
  93. package/dist/bundle/{process-LL77573L.js → process-IX5YWGDP.js} +1 -1
  94. package/dist/bundle/{program-4S5BJVSW.js → program-WGNTV7NS.js} +61 -61
  95. package/dist/bundle/{prompt-LUUMQTMY.js → prompt-NICXDWN3.js} +2 -2
  96. package/dist/bundle/recognize-6DAHO6X6.js +21 -0
  97. package/dist/bundle/{remote-ZXS6D7VB.js → remote-JZ3TXP6I.js} +4 -4
  98. package/dist/bundle/{rerank-WP7RKZNB.js → rerank-YSXWCAGZ.js} +4 -4
  99. package/dist/bundle/{run-log-GS2L66G6.js → run-log-APHZZWC7.js} +48 -48
  100. package/dist/bundle/{serve-L6KLLXK2.js → serve-7VWL475U.js} +6 -6
  101. package/dist/bundle/server-7LABFAA5.js +53 -0
  102. package/dist/bundle/server-VFXB5WRG.js +66 -0
  103. package/dist/bundle/{services-SPOEWVK3.js → services-D64U72OE.js} +21 -21
  104. package/dist/bundle/{speech-6OBAKMND.js → speech-QLCQAT4O.js} +3 -3
  105. package/dist/bundle/{state-HN5EJKXQ.js → state-KAD3R27T.js} +3 -3
  106. package/dist/bundle/{store-ZP2URKET.js → store-2BHHS77S.js} +12 -12
  107. package/dist/bundle/{store-LEU3M6IN.js → store-7UNPRLZ3.js} +10 -10
  108. package/dist/bundle/store-connection-QTMLZ7LR.js +76 -0
  109. package/dist/bundle/store-maintenance-command-ND6PQCVZ.js +54 -0
  110. package/dist/bundle/zm.js +1 -1
  111. package/dist/version.d.ts +1 -1
  112. package/dist/version.js +1 -1
  113. package/package.json +2 -2
  114. package/skills/zoom-cli/SKILL.md +1 -0
  115. package/dist/bundle/command-contract-WHZPF7NA.js +0 -38
  116. package/dist/bundle/config-AXMQ2PXT.js +0 -79
  117. package/dist/bundle/first-screen-LYQKPNF4.js +0 -36
  118. package/dist/bundle/mcp-VISEXTVC.js +0 -92
  119. package/dist/bundle/node-sqlite-BBEDYBWO.js +0 -45
  120. package/dist/bundle/server-NOFYENP5.js +0 -53
  121. package/dist/bundle/server-P5TXAPBY.js +0 -66
  122. package/dist/bundle/store-connection-3UZBORXK.js +0 -76
  123. package/dist/bundle/store-maintenance-command-PSCHEHHY.js +0 -54
  124. /package/dist/bundle/{chunk-Q2Z3VCM4.js → chunk-YLBNPI7H.js} +0 -0
@@ -2,38 +2,38 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  botInstructions
5
- } from "./chunk-4NGLRHWO.js";
5
+ } from "./chunk-HBYE4EP2.js";
6
6
  import {
7
7
  answered,
8
8
  normal,
9
9
  registerCommands,
10
10
  runCommandForAgent,
11
11
  toolsFromCommands
12
- } from "./chunk-3SCTDFNO.js";
12
+ } from "./chunk-GNRYFESK.js";
13
13
  import {
14
14
  agentJson,
15
15
  skillResource
16
- } from "./chunk-XT7XVPEM.js";
16
+ } from "./chunk-DN7VHENQ.js";
17
17
  import {
18
18
  callerOf,
19
19
  serveStdio
20
- } from "./chunk-7H3ZRDLW.js";
20
+ } from "./chunk-KVPYI52N.js";
21
21
  import {
22
22
  McpServer
23
23
  } from "./chunk-5D4AEUVA.js";
24
24
  import {
25
25
  wholeList
26
- } from "./chunk-VOAVOK4I.js";
26
+ } from "./chunk-Q4NDCDFG.js";
27
27
  import {
28
28
  changesMessenger,
29
29
  flatten,
30
30
  itemOf
31
- } from "./chunk-MNUTWGSA.js";
31
+ } from "./chunk-G3MXAGF2.js";
32
32
  import {
33
33
  MESSENGER_CHANGE_REFUSAL,
34
34
  readOnlyLockOf,
35
35
  readOnlyRefusal
36
- } from "./chunk-XFCSPOLZ.js";
36
+ } from "./chunk-3P4LUGXI.js";
37
37
  import {
38
38
  mcpErrorResult,
39
39
  object
@@ -42,7 +42,7 @@ import {
42
42
  __name
43
43
  } from "./chunk-ZVVMGPBJ.js";
44
44
 
45
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/mcp/bot/server.js
45
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/bot/server.js
46
46
  import { randomUUID } from "node:crypto";
47
47
  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");
48
48
  var createBotServer = /* @__PURE__ */ __name((options) => {
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/errors/failures.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/errors/failures.js
11
11
  var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
12
12
  var isCommanderFailure = /* @__PURE__ */ __name((value) => {
13
13
  const { code, exitCode } = value ?? {};
@@ -4,7 +4,7 @@ import {
4
4
  ACCESS_SECONDS,
5
5
  REFRESH_SECONDS,
6
6
  readStored
7
- } from "./chunk-ZHXIXDH5.js";
7
+ } from "./chunk-22UBF6U6.js";
8
8
  import {
9
9
  OAuthError,
10
10
  OAuthErrorCode
@@ -13,7 +13,7 @@ import {
13
13
  __name
14
14
  } from "./chunk-ZVVMGPBJ.js";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
17
17
  import { createHash, randomBytes, randomInt, timingSafeEqual } from "node:crypto";
18
18
  import { chmodSync, mkdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
19
19
  import { dirname } from "node:path";
@@ -8,7 +8,7 @@ import {
8
8
  __name
9
9
  } from "./chunk-ZVVMGPBJ.js";
10
10
 
11
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/domain/providers.js
11
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/domain/providers.js
12
12
  var KINDS = ["messages", "mail", "notes", "documents", "meetings", "events"];
13
13
  var PROVIDERS = [
14
14
  { name: "telegram", kind: "messages", aliases: ["tg"] },
@@ -102,7 +102,7 @@ var providerNamed = /* @__PURE__ */ __name((word) => {
102
102
  var kindIn = /* @__PURE__ */ __name((provider) => isFolderProvider(provider) ? "notes" : registry.find(({ name }) => name === provider)?.kind, "kindIn");
103
103
  var kindOf = /* @__PURE__ */ __name((provider) => kindIn(provider) ?? "messages", "kindOf");
104
104
 
105
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/domain/locator.js
105
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/domain/locator.js
106
106
  var SCHEME = "msg:";
107
107
  var formatLocator = /* @__PURE__ */ __name(({ provider, account, chat, message }) => SCHEME + [provider, account, chat, message].map(encodeURIComponent).join("/"), "formatLocator");
108
108
  var isLocator = /* @__PURE__ */ __name((reference) => reference.trim().startsWith(SCHEME), "isLocator");
@@ -116,7 +116,7 @@ var parseLocator = /* @__PURE__ */ __name((reference) => {
116
116
  return { provider, account, chat, message };
117
117
  }, "parseLocator");
118
118
 
119
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/domain/references.js
119
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/domain/references.js
120
120
  var SIMPLE_REFERENCES = [
121
121
  "note",
122
122
  "document",
@@ -188,7 +188,7 @@ var folderPath = /* @__PURE__ */ __name((path) => {
188
188
  }, "folderPath");
189
189
  var canonicalReference = /* @__PURE__ */ __name((text) => formatReference(parseReference(text)), "canonicalReference");
190
190
 
191
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/domain/counters.js
191
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/domain/counters.js
192
192
  var COUNTER_FIELDS = ["views", "reactions", "comments"];
193
193
  var validCounter = /* @__PURE__ */ __name((value) => typeof value === "number" && Number.isFinite(value) && value >= 0, "validCounter");
194
194
  var counterValue = /* @__PURE__ */ __name((message, field) => {
@@ -225,7 +225,7 @@ var counterFreshness = /* @__PURE__ */ __name((states) => {
225
225
  return states.some((one) => one.freshness === "stale") ? "stale" : "fresh";
226
226
  }, "counterFreshness");
227
227
 
228
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/domain/rankings-options.js
228
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/domain/rankings-options.js
229
229
  var MESSAGE_MEASURES = ["views", "reactions", "forwards", "comments", "replies", "thread-size"];
230
230
  var AUTHOR_MEASURES = [
231
231
  "messages",
@@ -4,7 +4,7 @@ import {
4
4
  envName,
5
5
  readOnlyLockOf,
6
6
  readOnlyRefusal
7
- } from "./chunk-XFCSPOLZ.js";
7
+ } from "./chunk-3P4LUGXI.js";
8
8
  import {
9
9
  currentCaller,
10
10
  endpointTemplate,
@@ -14,7 +14,7 @@ import {
14
14
  providerErrorKey,
15
15
  renderEvent,
16
16
  runContextOf
17
- } from "./chunk-IYAGQXED.js";
17
+ } from "./chunk-LZBWU2IA.js";
18
18
  import {
19
19
  DEFAULT_RERANK_MODEL,
20
20
  IMAGE_MODELS,
@@ -36,22 +36,22 @@ import {
36
36
  typedCommand,
37
37
  useAsProcessRun,
38
38
  withWriteScope
39
- } from "./chunk-7Z4ANTAK.js";
39
+ } from "./chunk-YZZ6NBXC.js";
40
40
  import {
41
41
  isCliFailure
42
- } from "./chunk-A6323R5P.js";
42
+ } from "./chunk-EOZWDEJL.js";
43
43
  import {
44
44
  count,
45
45
  text
46
- } from "./chunk-DXZTLB24.js";
46
+ } from "./chunk-IFXPNXAH.js";
47
47
  import {
48
48
  permissionCeiling
49
- } from "./chunk-4AURKUDZ.js";
49
+ } from "./chunk-4HZRZDMC.js";
50
50
  import {
51
51
  fieldsOf,
52
52
  projectFields,
53
53
  resolveOutput
54
- } from "./chunk-K76WFW4I.js";
54
+ } from "./chunk-DAQXO6SM.js";
55
55
  import {
56
56
  CEILING_KEY,
57
57
  COMMAND_PATH_KEY,
@@ -62,13 +62,13 @@ import {
62
62
  keyForCommand,
63
63
  layerPermissions,
64
64
  permissionOverrides
65
- } from "./chunk-PF25S7L4.js";
65
+ } from "./chunk-NKFRV2LB.js";
66
66
  import {
67
67
  sharedConfigPath
68
- } from "./chunk-KVHRHBLY.js";
68
+ } from "./chunk-E3AMUYNB.js";
69
69
  import {
70
70
  storePath
71
- } from "./chunk-B32SF7J3.js";
71
+ } from "./chunk-KUBCUE6T.js";
72
72
  import {
73
73
  FIELD_TYPES,
74
74
  QUERY_BACKENDS,
@@ -3918,7 +3918,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
3918
3918
  }
3919
3919
  }, "refuseJoinedPath");
3920
3920
 
3921
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/runs/log-events.js
3921
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/runs/log-events.js
3922
3922
  var CORE_LOG_EVENTS = defineLogEvents([
3923
3923
  { id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
3924
3924
  { id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
@@ -3952,7 +3952,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
3952
3952
  cache: "cache.answered"
3953
3953
  };
3954
3954
 
3955
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/runs/recording.js
3955
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/runs/recording.js
3956
3956
  var recorded = /* @__PURE__ */ __name(async (options, body) => {
3957
3957
  const recording = startRecording(options);
3958
3958
  try {
@@ -4137,7 +4137,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
4137
4137
  return void 0;
4138
4138
  }, "partialOutcome");
4139
4139
 
4140
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/deadline.js
4140
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/deadline.js
4141
4141
  var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
4142
4142
  if (ms === void 0)
4143
4143
  return body();
@@ -4163,7 +4163,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
4163
4163
  }
4164
4164
  }, "withDeadline");
4165
4165
 
4166
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/execution.js
4166
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/execution.js
4167
4167
  var DEFAULT_COMMAND_MS = 3e4;
4168
4168
  var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
4169
4169
  var DEFAULT_SYNC_MS = 15 * 6e4;
@@ -4345,7 +4345,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
4345
4345
  }
4346
4346
  }, "withAbort");
4347
4347
 
4348
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/profile.js
4348
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/profile.js
4349
4349
  var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
4350
4350
  var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
4351
4351
  var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
@@ -4414,7 +4414,7 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
4414
4414
  return void 0;
4415
4415
  }, "sampleCommand");
4416
4416
 
4417
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/models/endpoint.js
4417
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/models/endpoint.js
4418
4418
  var endpoint = /* @__PURE__ */ __name((value) => {
4419
4419
  try {
4420
4420
  const url2 = new URL(value);
@@ -4424,7 +4424,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
4424
4424
  }
4425
4425
  }, "endpoint");
4426
4426
 
4427
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/models/settings.js
4427
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/models/settings.js
4428
4428
  var MODEL_FIELDS = ["provider", "model", "base_url"];
4429
4429
  var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
4430
4430
  provider: optional(picklist(["off", "openai", "anthropic"])),
@@ -4493,7 +4493,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
4493
4493
  };
4494
4494
  }, "modelTarget");
4495
4495
 
4496
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/analysis/settings.js
4496
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/analysis/settings.js
4497
4497
  var model = pipe(string(), trim(), minLength(1), maxLength(200));
4498
4498
  var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
4499
4499
  var AI_FIELDS = {
@@ -4537,7 +4537,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
4537
4537
  };
4538
4538
  }, "resolveAISettings");
4539
4539
 
4540
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
4540
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
4541
4541
  import { readFileSync } from "node:fs";
4542
4542
  var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
4543
4543
  var SECTIONS = ["personal", "bot"];
@@ -4828,7 +4828,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
4828
4828
  return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
4829
4829
  }, "readConfigFile");
4830
4830
 
4831
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/default-config.js
4831
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/default-config.js
4832
4832
  import { existsSync, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
4833
4833
  import { dirname, join } from "node:path";
4834
4834
  var DEFAULT_CONFIG = {
@@ -4857,7 +4857,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
4857
4857
  }
4858
4858
  __name(ensureDefaultConfig, "ensureDefaultConfig");
4859
4859
 
4860
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
4860
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
4861
4861
  import { existsSync as existsSync2, readdirSync, readFileSync as readFileSync2 } from "node:fs";
4862
4862
  import { join as join2 } from "node:path";
4863
4863
  var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
@@ -4879,7 +4879,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
4879
4879
  }, "profilesWithAccounts");
4880
4880
  var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
4881
4881
 
4882
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/settings.js
4882
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/settings.js
4883
4883
  import { existsSync as existsSync3 } from "node:fs";
4884
4884
  var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
4885
4885
  var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
@@ -5270,7 +5270,7 @@ var given = /* @__PURE__ */ __name((value) => {
5270
5270
  return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
5271
5271
  }, "given");
5272
5272
 
5273
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/background/budget.js
5273
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/background/budget.js
5274
5274
  var DEADLINE_MARGIN_MS = 5e3;
5275
5275
  var DEADLINE_MARGIN_SHARE = 0.15;
5276
5276
  var DEFAULT_REQUEST_MS = 2e3;
@@ -5313,7 +5313,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests, deadline, requestMs, signal,
5313
5313
  };
5314
5314
  }, "runBudget");
5315
5315
 
5316
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/context.js
5316
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/context.js
5317
5317
  var runBudgetOf = /* @__PURE__ */ __name((command, requests) => {
5318
5318
  const { deadline, signal, app } = environmentOf(command);
5319
5319
  const now = deadline?.();
@@ -5430,7 +5430,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
5430
5430
  return words.join(" ");
5431
5431
  }, "commandPath");
5432
5432
 
5433
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/effects.js
5433
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/effects.js
5434
5434
  var REMOTE_READ = { remote: "read", local: "read" };
5435
5435
  var FETCH = { remote: "read", local: "write" };
5436
5436
  var REMOTE_WRITE = { remote: "write", local: "write" };
@@ -5532,7 +5532,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
5532
5532
  throw readOnlyRefusal(lock, what);
5533
5533
  }, "refuseUnderReadOnly");
5534
5534
 
5535
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/steps.js
5535
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/steps.js
5536
5536
  var STEPS2 = defineSteps([
5537
5537
  ...STEPS,
5538
5538
  {
@@ -5798,7 +5798,7 @@ var stepLine = /* @__PURE__ */ __name((root, step) => {
5798
5798
  ].join(" ");
5799
5799
  }, "stepLine");
5800
5800
 
5801
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
5801
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
5802
5802
  var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
5803
5803
  var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
5804
5804
  var strip = /* @__PURE__ */ __name((value) => {
@@ -5812,7 +5812,7 @@ var strip = /* @__PURE__ */ __name((value) => {
5812
5812
  return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
5813
5813
  }, "strip");
5814
5814
 
5815
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/envelope.js
5815
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/envelope.js
5816
5816
  var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
5817
5817
  var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
5818
5818
  var listOf = /* @__PURE__ */ __name((command, input) => {
@@ -5934,7 +5934,7 @@ var printItem = /* @__PURE__ */ __name(({ renderer, format }, item) => {
5934
5934
  renderer.result(item);
5935
5935
  }, "printItem");
5936
5936
 
5937
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/entities/store-table.js
5937
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/store-table.js
5938
5938
  var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
5939
5939
  var storeTable = strictObject({
5940
5940
  name: text,
@@ -5943,7 +5943,7 @@ var storeTable = strictObject({
5943
5943
  bytes: optional(nullable(count))
5944
5944
  });
5945
5945
 
5946
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/runs/record-log.js
5946
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/runs/record-log.js
5947
5947
  var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
5948
5948
  const run = currentRun();
5949
5949
  const trace = traceId ?? run.traceId;
@@ -6,22 +6,22 @@ import {
6
6
  agentArguments,
7
7
  agentJson,
8
8
  commandAvailability
9
- } from "./chunk-XT7XVPEM.js";
9
+ } from "./chunk-DN7VHENQ.js";
10
10
  import {
11
11
  callerOf
12
- } from "./chunk-7H3ZRDLW.js";
12
+ } from "./chunk-KVPYI52N.js";
13
13
  import {
14
14
  lentConnection,
15
15
  refuseLacking
16
- } from "./chunk-VOAVOK4I.js";
16
+ } from "./chunk-Q4NDCDFG.js";
17
17
  import {
18
18
  onlineDeps,
19
19
  servicesFor,
20
20
  storeModeDeps
21
- } from "./chunk-3SERIWJD.js";
21
+ } from "./chunk-XAF2LHZG.js";
22
22
  import {
23
23
  ENTITIES
24
- } from "./chunk-URO44C5T.js";
24
+ } from "./chunk-7T3BUWJK.js";
25
25
  import {
26
26
  DEFAULT_OUTPUT_BYTES,
27
27
  LOCAL_WRITE,
@@ -35,32 +35,32 @@ import {
35
35
  refuseStoreChange,
36
36
  sealed,
37
37
  startRecording
38
- } from "./chunk-MNUTWGSA.js";
38
+ } from "./chunk-G3MXAGF2.js";
39
39
  import {
40
40
  currentCaller,
41
41
  keepsSuccess,
42
42
  runContextOf,
43
43
  withCaller
44
- } from "./chunk-IYAGQXED.js";
44
+ } from "./chunk-LZBWU2IA.js";
45
45
  import {
46
46
  enclosingTraceId,
47
47
  inRun,
48
48
  newRunId,
49
49
  traceOf
50
- } from "./chunk-7Z4ANTAK.js";
50
+ } from "./chunk-YZZ6NBXC.js";
51
51
  import {
52
52
  failureContext
53
- } from "./chunk-PACC5N6T.js";
53
+ } from "./chunk-GXACHTB2.js";
54
54
  import {
55
55
  authorityAllowed,
56
56
  botApiAllowed,
57
57
  keyForCommand,
58
58
  levelFor,
59
59
  readKeysForCommand
60
- } from "./chunk-PF25S7L4.js";
60
+ } from "./chunk-NKFRV2LB.js";
61
61
  import {
62
62
  MAX_BUFFERED_INPUT
63
- } from "./chunk-G27MRA24.js";
63
+ } from "./chunk-KUBWRI5E.js";
64
64
  import {
65
65
  CliError,
66
66
  SNAKE_CASE,
@@ -107,7 +107,7 @@ import {
107
107
  __name
108
108
  } from "./chunk-ZVVMGPBJ.js";
109
109
 
110
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/mcp/agent.js
110
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/agent.js
111
111
  import { Readable } from "node:stream";
112
112
 
113
113
  // node_modules/.pnpm/@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
@@ -2755,7 +2755,7 @@ var VOCABULARY = defineVocabulary({
2755
2755
  flags: [...HOW_FLAGS, ...WHAT_FLAGS, ...CALENDAR_FLAGS]
2756
2756
  });
2757
2757
 
2758
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2758
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2759
2759
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
2760
2760
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
2761
2761
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -2976,7 +2976,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
2976
2976
  }
2977
2977
  }, "runCommandForAgent");
2978
2978
 
2979
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/mcp/tool.js
2979
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/tool.js
2980
2980
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
2981
2981
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
2982
2982
  var message = pipe(
@@ -3235,7 +3235,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
3235
3235
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
3236
3236
  }, "failed");
3237
3237
 
3238
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3238
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3239
3239
  import { randomUUID } from "node:crypto";
3240
3240
  var MATCHES = 8;
3241
3241
  var ANSWER = answerSchema();
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/errors/reasons.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/errors/reasons.js
14
14
  var validation = /* @__PURE__ */ __name((reason, message) => [reason, "validation_error", message], "validation");
15
15
  var QUERY = [
16
16
  ["query.aborted", "the search was stopped before it finished"],
@@ -69,6 +69,10 @@ var OTHERS = [
69
69
  validation("event.notify-required", "the event has other attendees; say whether to notify them"),
70
70
  validation("event.repeat-invalid", "the repeat rule is outside the RFC 5545 subset the calendars take"),
71
71
  validation("event.repeat-kind", "the series' rule holds a date or a time of the kind the event is leaving"),
72
+ validation("event.repeat-split", "the series cannot be split at this occurrence, or was split there already"),
73
+ validation("event.repeat-count", "a COUNT series is split only with a rule for its new part"),
74
+ validation("event.unmovable", "the provider keeps this kind of event on its calendar"),
75
+ ["calendar.read-only", "permission_error", "the calendar takes no new events from this account"],
72
76
  ["busy.offline", "permission_error", "calendars busy asks the provider; --offline was given"],
73
77
  validation("busy.no-calendars", "no calendar syncs and no person was named, so there is nobody to ask"),
74
78
  validation("store.refused", "the local store refused the document text"),
@@ -109,6 +113,8 @@ var OTHERS = [
109
113
  validation("tag-review.required", "the tag needs the owner's review first"),
110
114
  ["tag-review.stale", "configuration_error", "the tag review changed meanwhile"],
111
115
  validation("tag.invalid", "the tag is not valid"),
116
+ ["reactions.list-hidden", "permission_error", "the chat does not let its members see who reacted"],
117
+ ["reactions.broadcast", "permission_error", "a channel does not show who reacted to its posts"],
112
118
  validation("task.category-unknown", "the category is not in the task category list"),
113
119
  validation("task.claimed", "someone else holds the task"),
114
120
  validation("task.closed", "the task is already closed"),
@@ -153,6 +159,7 @@ var REASONS = defineReasons([
153
159
  ]);
154
160
  var DETAILS = [
155
161
  "contracts",
162
+ "calendars",
156
163
  "allowed",
157
164
  "alternative",
158
165
  "arguments",
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/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
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
8
8
  var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
9
9
  var kindsByConstructor = /* @__PURE__ */ new WeakMap();
10
10
  function collectKinds(ctor) {
@@ -2,16 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  listen
5
- } from "./chunk-DDYR6DYL.js";
5
+ } from "./chunk-ZK7Y5K63.js";
6
6
  import {
7
7
  ownerLogin
8
- } from "./chunk-UKR7KH3H.js";
8
+ } from "./chunk-EROQ5SC7.js";
9
9
  import {
10
10
  activityRecorder,
11
11
  calledTools,
12
12
  httpActivityFile,
13
13
  httpLock
14
- } from "./chunk-ZHXIXDH5.js";
14
+ } from "./chunk-22UBF6U6.js";
15
15
  import {
16
16
  WebStandardStreamableHTTPServerTransport,
17
17
  createMcpHandler,
@@ -28,7 +28,7 @@ import {
28
28
  __name
29
29
  } from "./chunk-ZVVMGPBJ.js";
30
30
 
31
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/mcp/http/serve.js
31
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/http/serve.js
32
32
  import { randomUUID } from "node:crypto";
33
33
  var MCP_PATH = "/mcp";
34
34
  var AS_METADATA = "/.well-known/oauth-authorization-server";
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/models/types.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/models/types.js
11
11
  var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
12
12
  var validateImages = /* @__PURE__ */ __name((images) => {
13
13
  if (images === void 0)
@@ -19,7 +19,7 @@ import {
19
19
  unknown
20
20
  } from "./chunk-YIMI6O7R.js";
21
21
 
22
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/entities/fields.js
22
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/fields.js
23
23
  var text = string();
24
24
  var id = pipe(string(), minLength(1));
25
25
  var time = isoTime;
@@ -33,7 +33,7 @@ var author = strictObject({
33
33
  name: nullable(text)
34
34
  });
35
35
 
36
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/entities/note.js
36
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/note.js
37
37
  var link = {
38
38
  target_text: nullable(text),
39
39
  kind: text,
@@ -74,7 +74,7 @@ var note = strictObject({
74
74
  backlinks: optional(array(strictObject({ from: reference, ...link })))
75
75
  });
76
76
 
77
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
77
+ // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
78
78
  var organization = strictObject({
79
79
  id,
80
80
  ref: reference,