@wirecat/zoom-cli 0.57.0 → 0.59.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 (137) hide show
  1. package/dist/bin/zm.js +2 -2
  2. package/dist/bundle/{all-profiles-EKHWTGOY.js → all-profiles-RS5IWIGR.js} +7 -7
  3. package/dist/bundle/answer-policy-K56DZ3AS.js +96 -0
  4. package/dist/bundle/{anthropic-VL54IUGF.js → anthropic-5QHQR4WF.js} +4 -4
  5. package/dist/bundle/app-server-7LANSZGE.js +232 -0
  6. package/dist/bundle/{bun-ADJVI4HY.js → bun-O6RL6LRQ.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-2SDA3YOT.js → bun-sqlite-PEJM6CS4.js} +3 -3
  8. package/dist/bundle/{chunk-SQJ7EH2D.js → chunk-24DLFGES.js} +2 -2
  9. package/dist/bundle/{chunk-SB6WOSHG.js → chunk-27P22POE.js} +24 -24
  10. package/dist/bundle/{chunk-BW52AJ4R.js → chunk-3SCTDFNO.js} +38 -27
  11. package/dist/bundle/{chunk-ICSKEDPI.js → chunk-3SERIWJD.js} +220 -220
  12. package/dist/bundle/{chunk-S4S7E54J.js → chunk-4AURKUDZ.js} +4 -4
  13. package/dist/bundle/{chunk-IP4OK7RQ.js → chunk-4NGLRHWO.js} +1 -1
  14. package/dist/bundle/{chunk-2IKY7VBH.js → chunk-4ZIROI4H.js} +1 -1
  15. package/dist/bundle/{server-WLJCU7KK.js → chunk-5DVW77VC.js} +37 -60
  16. package/dist/bundle/{chunk-NN5B24KP.js → chunk-5RM5TCUY.js} +27 -27
  17. package/dist/bundle/{chunk-7A6PZUDR.js → chunk-62NCJILK.js} +22 -12
  18. package/dist/bundle/{chunk-NW3X3G5X.js → chunk-6FL25KC5.js} +4 -4
  19. package/dist/bundle/{chunk-TLQUKHEM.js → chunk-7D2CD3E3.js} +5 -5
  20. package/dist/bundle/{chunk-6MX5T6AQ.js → chunk-7GVNQOV6.js} +1 -1
  21. package/dist/bundle/{chunk-VPPYYWOH.js → chunk-7H3ZRDLW.js} +2 -2
  22. package/dist/bundle/{chunk-EOQFWJJD.js → chunk-7Z4ANTAK.js} +20 -20
  23. package/dist/bundle/{chunk-NO7CJEYV.js → chunk-A6323R5P.js} +2 -2
  24. package/dist/bundle/{chunk-PIN5RZ3D.js → chunk-AIXLOMH4.js} +1 -1
  25. package/dist/bundle/{chunk-R3HPOCZD.js → chunk-AQDWGJZT.js} +2 -2
  26. package/dist/bundle/{chunk-CB5UTASG.js → chunk-B32SF7J3.js} +2 -2
  27. package/dist/bundle/{chunk-GKMGS7G5.js → chunk-BAQLQIMI.js} +26 -26
  28. package/dist/bundle/{chunk-I4VQDXFR.js → chunk-BXZ6WSVF.js} +4 -4
  29. package/dist/bundle/{chunk-6M6FJV5D.js → chunk-CTGI4ES2.js} +6 -6
  30. package/dist/bundle/{chunk-AN3GVZTU.js → chunk-CVIKKIGE.js} +1 -1
  31. package/dist/bundle/{chunk-UC44ZMQV.js → chunk-DDYR6DYL.js} +1 -1
  32. package/dist/bundle/{chunk-OIHDCGV4.js → chunk-DP5DX45H.js} +3 -3
  33. package/dist/bundle/{chunk-DCTXOMOR.js → chunk-DXKVEOSS.js} +20 -2
  34. package/dist/bundle/{chunk-YB4DMKYX.js → chunk-DXZTLB24.js} +5 -4
  35. package/dist/bundle/{chunk-HCNMFFG3.js → chunk-G27MRA24.js} +2 -2
  36. package/dist/bundle/{chunk-2WOGZDZG.js → chunk-IYAGQXED.js} +10 -8
  37. package/dist/bundle/{chunk-LQ3T2ZIX.js → chunk-K76WFW4I.js} +4 -4
  38. package/dist/bundle/{chunk-7GUG6UZS.js → chunk-KVHRHBLY.js} +5 -5
  39. package/dist/bundle/{chunk-SE75DPBY.js → chunk-L2UIJDWB.js} +2 -2
  40. package/dist/bundle/{chunk-RMV4C2YL.js → chunk-L3VS3H34.js} +6 -6
  41. package/dist/bundle/{chunk-HG5KRV55.js → chunk-MBT7GP7K.js} +9 -9
  42. package/dist/bundle/{chunk-LW2G4U6W.js → chunk-MFS52LTZ.js} +1 -1
  43. package/dist/bundle/{chunk-4YLS4YLS.js → chunk-MMT46EN4.js} +2 -2
  44. package/dist/bundle/{chunk-MAEFLDHG.js → chunk-MNUTWGSA.js} +39 -37
  45. package/dist/bundle/{chunk-HKYLSIZ2.js → chunk-N7GAQ27N.js} +3 -3
  46. package/dist/bundle/{chunk-GARCOIB6.js → chunk-NDXAZB5Z.js} +6 -6
  47. package/dist/bundle/{chunk-CLMXBW53.js → chunk-NOKFJJPA.js} +6 -6
  48. package/dist/bundle/{chunk-LY26NW3I.js → chunk-NW7IMGRR.js} +1 -1
  49. package/dist/bundle/{chunk-K72SEMYI.js → chunk-OBZWUNO4.js} +9 -9
  50. package/dist/bundle/{chunk-6P3YHT54.js → chunk-OZS7QXCQ.js} +4 -4
  51. package/dist/bundle/{chunk-WQ24UC44.js → chunk-PACC5N6T.js} +4 -3
  52. package/dist/bundle/{chunk-TKCHUT2H.js → chunk-PF25S7L4.js} +2 -2
  53. package/dist/bundle/{chunk-O66V2WHK.js → chunk-PKTFZAXG.js} +2 -2
  54. package/dist/bundle/{chunk-WJHK5D7Z.js → chunk-PNBEREOU.js} +258 -244
  55. package/dist/bundle/{chunk-LXB6ONWC.js → chunk-PP3JGQQE.js} +51 -51
  56. package/dist/bundle/{chunk-MZH4GDR4.js → chunk-QCFHL4ES.js} +2 -2
  57. package/dist/bundle/{chunk-7JZJMHQY.js → chunk-QFGBMS67.js} +12 -7
  58. package/dist/bundle/{chunk-BW2WPOXP.js → chunk-RXDIG23Z.js} +6 -6
  59. package/dist/bundle/{chunk-OVSWVPXL.js → chunk-SIA7HJE2.js} +49 -47
  60. package/dist/bundle/{chunk-TZ2MKETI.js → chunk-SL3SXQZ5.js} +6 -6
  61. package/dist/bundle/{chunk-RRRBMQ2E.js → chunk-T6AAM7UT.js} +19 -17
  62. package/dist/bundle/{chunk-NTDWAAGL.js → chunk-U6QW67SU.js} +797 -559
  63. package/dist/bundle/{chunk-Z4TZ6TAF.js → chunk-UKR7KH3H.js} +2 -2
  64. package/dist/bundle/{chunk-LSVI3A5X.js → chunk-UOFOMU3T.js} +9 -9
  65. package/dist/bundle/{chunk-G4R4ZIGD.js → chunk-URO44C5T.js} +95 -94
  66. package/dist/bundle/{chunk-5F7IOESV.js → chunk-UXM7I35J.js} +4 -4
  67. package/dist/bundle/{chunk-4R7HYNZS.js → chunk-UYJUTZTT.js} +3 -3
  68. package/dist/bundle/{chunk-QLIB3PEC.js → chunk-VOAVOK4I.js} +18 -18
  69. package/dist/bundle/{chunk-LPTIQLDW.js → chunk-VSUY7PDW.js} +2 -2
  70. package/dist/bundle/{chunk-A4ETXPMZ.js → chunk-VYUSEJE4.js} +2 -2
  71. package/dist/bundle/{chunk-OCGPZHXW.js → chunk-XFCSPOLZ.js} +2 -2
  72. package/dist/bundle/{chunk-LHRCJYFC.js → chunk-XPNFF6SE.js} +1 -1
  73. package/dist/bundle/{chunk-4VCA7QU3.js → chunk-XT7XVPEM.js} +13 -13
  74. package/dist/bundle/{chunk-QTR6D5HT.js → chunk-YIFIY7ZE.js} +2 -2
  75. package/dist/bundle/{chunk-AE4BOXH7.js → chunk-YIMI6O7R.js} +25 -25
  76. package/dist/bundle/{chunk-UI5UTMSZ.js → chunk-YJRMMZI5.js} +10 -10
  77. package/dist/bundle/{chunk-QUJPQMHJ.js → chunk-YSHSCBPM.js} +8 -8
  78. package/dist/bundle/{chunk-BAYNCCNM.js → chunk-ZC5UXEIH.js} +11 -11
  79. package/dist/bundle/{chunk-G4VZDINN.js → chunk-ZHXIXDH5.js} +4 -4
  80. package/dist/bundle/{chunk-5QESMCQK.js → chunk-ZTOAAYFV.js} +3 -3
  81. package/dist/bundle/{cli-72EQATJF.js → cli-IQTASP44.js} +59 -53
  82. package/dist/bundle/command-contract-WHZPF7NA.js +38 -0
  83. package/dist/bundle/config-N7ENOITZ.js +79 -0
  84. package/dist/bundle/{dist-IBNHCQXT.js → dist-WT73DF46.js} +14 -14
  85. package/dist/bundle/{echarts-RFTK737T.js → echarts-LD3AI55P.js} +2 -2
  86. package/dist/bundle/{embed-7QYA2ZZE.js → embed-XEMH4LNX.js} +4 -4
  87. package/dist/bundle/{embedder-YNN6PCHG.js → embedder-ZCYKSKAE.js} +7 -7
  88. package/dist/bundle/{first-run-EVSRQKZJ.js → first-run-LGYDLIUM.js} +8 -8
  89. package/dist/bundle/first-screen-LYQKPNF4.js +36 -0
  90. package/dist/bundle/{folders-JEPOMYM4.js → folders-5ZBUQHAM.js} +2 -2
  91. package/dist/bundle/{instructions-FHNL7CMW.js → instructions-RZMSW3OC.js} +3 -1
  92. package/dist/bundle/{main-NYGJXPH7.js → main-C2V7TVLV.js} +16 -16
  93. package/dist/bundle/{mcp-VGSZDCKK.js → mcp-44GCZJZF.js} +64 -64
  94. package/dist/bundle/{mcp-IXFC2VVR.js → mcp-OQBZXELQ.js} +2 -2
  95. package/dist/bundle/mcp-VISEXTVC.js +92 -0
  96. package/dist/bundle/{meetings-IBPI4MM4.js → meetings-XPBHVZAU.js} +4 -4
  97. package/dist/bundle/{node-ZMCACJVS.js → node-ZRLYQL7J.js} +2 -2
  98. package/dist/bundle/{node-sqlite-ZNGOBA5Q.js → node-sqlite-BBEDYBWO.js} +3 -3
  99. package/dist/bundle/{oauth-Q6LKF7DB.js → oauth-UHVRGKZU.js} +5 -5
  100. package/dist/bundle/{open-LJ332Y5O.js → open-J4FCAUAJ.js} +2 -2
  101. package/dist/bundle/{output-file-RYQZ3RTE.js → output-file-SXV2ANW7.js} +3 -3
  102. package/dist/bundle/{process-ZPTLNVQS.js → process-LL77573L.js} +1 -1
  103. package/dist/bundle/{program-IBRQBQ6W.js → program-GPY5SU7M.js} +80 -80
  104. package/dist/bundle/{prompt-RT7GUUXH.js → prompt-LUUMQTMY.js} +3 -3
  105. package/dist/bundle/{recognize-QXGE7YJH.js → recognize-EMHQX4XF.js} +4 -4
  106. package/dist/bundle/{remote-FD4MZQV3.js → remote-ZXS6D7VB.js} +5 -5
  107. package/dist/bundle/{rerank-V6AVV755.js → rerank-WP7RKZNB.js} +5 -5
  108. package/dist/bundle/{run-log-RE2EI3UU.js → run-log-GS2L66G6.js} +53 -53
  109. package/dist/bundle/{serve-HIJTFAW7.js → serve-L6KLLXK2.js} +7 -7
  110. package/dist/bundle/server-NOFYENP5.js +53 -0
  111. package/dist/bundle/server-P5TXAPBY.js +66 -0
  112. package/dist/bundle/{services-KC5KQFBS.js → services-SPOEWVK3.js} +26 -26
  113. package/dist/bundle/{speech-5JOXLYDA.js → speech-6OBAKMND.js} +4 -4
  114. package/dist/bundle/{state-PPGRB3T6.js → state-HN5EJKXQ.js} +4 -4
  115. package/dist/bundle/{store-WB5BICTG.js → store-LEU3M6IN.js} +13 -13
  116. package/dist/bundle/{store-LODVDPK3.js → store-ZP2URKET.js} +15 -15
  117. package/dist/bundle/store-connection-5MOUQ2MU.js +76 -0
  118. package/dist/bundle/store-maintenance-command-PSCHEHHY.js +54 -0
  119. package/dist/bundle/{streaming-UGFFNOXL.js → streaming-AK6Q2ZGQ.js} +4 -4
  120. package/dist/bundle/{tokens-AF5CPY2F.js → tokens-CCM3D4ZT.js} +4 -4
  121. package/dist/bundle/zm.js +1 -1
  122. package/dist/contract-overrides.d.ts.map +1 -1
  123. package/dist/contract-overrides.js +12 -2
  124. package/dist/contract-overrides.js.map +1 -1
  125. package/dist/version.d.ts +1 -1
  126. package/dist/version.js +1 -1
  127. package/package.json +2 -2
  128. package/dist/bundle/answer-policy-KH2IFXPN.js +0 -96
  129. package/dist/bundle/command-contract-4MHSZUN3.js +0 -38
  130. package/dist/bundle/config-GFIJK6G2.js +0 -79
  131. package/dist/bundle/first-screen-RG4GUKW7.js +0 -36
  132. package/dist/bundle/mcp-XKP2PXLS.js +0 -92
  133. package/dist/bundle/server-3QOXOYYL.js +0 -53
  134. package/dist/bundle/store-connection-EG6Z5ITP.js +0 -76
  135. package/dist/bundle/store-maintenance-command-Q5WMFUZ2.js +0 -54
  136. /package/dist/bundle/{chunk-IVQ6342B.js → chunk-O5EHUB2V.js} +0 -0
  137. /package/dist/bundle/{chunk-X5DFDGWS.js → chunk-Q2Z3VCM4.js} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  envName,
5
5
  readOnlyLockOf,
6
6
  readOnlyRefusal
7
- } from "./chunk-OCGPZHXW.js";
7
+ } from "./chunk-XFCSPOLZ.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-2WOGZDZG.js";
17
+ } from "./chunk-IYAGQXED.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-EOQFWJJD.js";
39
+ } from "./chunk-7Z4ANTAK.js";
40
40
  import {
41
41
  isCliFailure
42
- } from "./chunk-NO7CJEYV.js";
42
+ } from "./chunk-A6323R5P.js";
43
43
  import {
44
44
  count,
45
45
  text
46
- } from "./chunk-YB4DMKYX.js";
46
+ } from "./chunk-DXZTLB24.js";
47
47
  import {
48
48
  permissionCeiling
49
- } from "./chunk-S4S7E54J.js";
49
+ } from "./chunk-4AURKUDZ.js";
50
50
  import {
51
51
  fieldsOf,
52
52
  projectFields,
53
53
  resolveOutput
54
- } from "./chunk-LQ3T2ZIX.js";
54
+ } from "./chunk-K76WFW4I.js";
55
55
  import {
56
56
  CEILING_KEY,
57
57
  COMMAND_PATH_KEY,
@@ -62,18 +62,18 @@ import {
62
62
  keyForCommand,
63
63
  layerPermissions,
64
64
  permissionOverrides
65
- } from "./chunk-TKCHUT2H.js";
65
+ } from "./chunk-PF25S7L4.js";
66
66
  import {
67
67
  sharedConfigPath
68
- } from "./chunk-7GUG6UZS.js";
68
+ } from "./chunk-KVHRHBLY.js";
69
69
  import {
70
70
  storePath
71
- } from "./chunk-CB5UTASG.js";
71
+ } from "./chunk-B32SF7J3.js";
72
72
  import {
73
73
  FIELD_TYPES,
74
74
  QUERY_BACKENDS,
75
75
  describeQuery
76
- } from "./chunk-LSVI3A5X.js";
76
+ } from "./chunk-UOFOMU3T.js";
77
77
  import {
78
78
  CliError,
79
79
  MAX_NEXT_STEPS,
@@ -119,12 +119,12 @@ import {
119
119
  unknown,
120
120
  writeSecurely,
121
121
  writes
122
- } from "./chunk-AE4BOXH7.js";
122
+ } from "./chunk-YIMI6O7R.js";
123
123
  import {
124
124
  __name
125
125
  } from "./chunk-ZVVMGPBJ.js";
126
126
 
127
- // node_modules/.pnpm/@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
127
+ // 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/commands/registry.js
128
128
  var labels = /* @__PURE__ */ new WeakMap();
129
129
  var annotate = /* @__PURE__ */ __name((command, meta) => {
130
130
  labels.set(command, { ...labels.get(command), ...meta });
@@ -3625,7 +3625,7 @@ __name(useColor, "useColor");
3625
3625
  // node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
3626
3626
  var program = new Command();
3627
3627
 
3628
- // node_modules/.pnpm/@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
3628
+ // 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/commands/contracts.js
3629
3629
  import { isDeepStrictEqual } from "node:util";
3630
3630
  var protectedCommands = /* @__PURE__ */ new WeakMap();
3631
3631
  var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
@@ -3827,7 +3827,7 @@ var customizeSharedCommand = /* @__PURE__ */ __name((reference, reason, build, e
3827
3827
  return command;
3828
3828
  }, "customizeSharedCommand");
3829
3829
 
3830
- // node_modules/.pnpm/@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
3830
+ // 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/commands/document.js
3831
3831
  var argumentInfoSchema = object({
3832
3832
  name: string(),
3833
3833
  required: boolean(),
@@ -3900,7 +3900,7 @@ var commandsDocumentSchema = strictObject({
3900
3900
  exit_codes: record(string(), pipe(number(), integer()))
3901
3901
  });
3902
3902
 
3903
- // node_modules/.pnpm/@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
3903
+ // 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/commands/index.js
3904
3904
  var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
3905
3905
  let command = root;
3906
3906
  const path2 = [];
@@ -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.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/runs/log-events.js
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
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.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/runs/recording.js
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
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.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/cli/deadline.js
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
4141
4141
  var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
4142
4142
  if (ms === void 0)
4143
4143
  return body();
@@ -4163,9 +4163,10 @@ var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
4163
4163
  }
4164
4164
  }, "withDeadline");
4165
4165
 
4166
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/cli/execution.js
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
4167
4167
  var DEFAULT_COMMAND_MS = 3e4;
4168
4168
  var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
4169
+ var DEFAULT_SYNC_MS = 15 * 6e4;
4169
4170
  var DEFAULT_AGENT_COOPERATIVE_MS = 45e3;
4170
4171
  var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
4171
4172
  var byteCount = /* @__PURE__ */ __name((value, option, zero = false) => {
@@ -4344,7 +4345,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
4344
4345
  }
4345
4346
  }, "withAbort");
4346
4347
 
4347
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/cli/profile.js
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
4349
  var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
4349
4350
  var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
4350
4351
  var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
@@ -4413,7 +4414,7 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
4413
4414
  return void 0;
4414
4415
  }, "sampleCommand");
4415
4416
 
4416
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/models/endpoint.js
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
4418
  var endpoint = /* @__PURE__ */ __name((value) => {
4418
4419
  try {
4419
4420
  const url2 = new URL(value);
@@ -4423,7 +4424,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
4423
4424
  }
4424
4425
  }, "endpoint");
4425
4426
 
4426
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/models/settings.js
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
4428
  var MODEL_FIELDS = ["provider", "model", "base_url"];
4428
4429
  var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
4429
4430
  provider: optional(picklist(["off", "openai", "anthropic"])),
@@ -4492,7 +4493,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
4492
4493
  };
4493
4494
  }, "modelTarget");
4494
4495
 
4495
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/analysis/settings.js
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
4497
  var model = pipe(string(), trim(), minLength(1), maxLength(200));
4497
4498
  var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
4498
4499
  var AI_FIELDS = {
@@ -4536,7 +4537,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
4536
4537
  };
4537
4538
  }, "resolveAISettings");
4538
4539
 
4539
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
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
4541
  import { readFileSync } from "node:fs";
4541
4542
  var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
4542
4543
  var SECTIONS = ["personal", "bot"];
@@ -4827,7 +4828,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
4827
4828
  return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
4828
4829
  }, "readConfigFile");
4829
4830
 
4830
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/cli/default-config.js
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
4832
  import { existsSync, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
4832
4833
  import { dirname, join } from "node:path";
4833
4834
  var DEFAULT_CONFIG = {
@@ -4856,7 +4857,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
4856
4857
  }
4857
4858
  __name(ensureDefaultConfig, "ensureDefaultConfig");
4858
4859
 
4859
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
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
4861
  import { existsSync as existsSync2, readdirSync, readFileSync as readFileSync2 } from "node:fs";
4861
4862
  import { join as join2 } from "node:path";
4862
4863
  var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
@@ -4878,7 +4879,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
4878
4879
  }, "profilesWithAccounts");
4879
4880
  var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
4880
4881
 
4881
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/cli/settings.js
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
4883
  import { existsSync as existsSync3 } from "node:fs";
4883
4884
  var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
4884
4885
  var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
@@ -5269,7 +5270,7 @@ var given = /* @__PURE__ */ __name((value) => {
5269
5270
  return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
5270
5271
  }, "given");
5271
5272
 
5272
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/background/budget.js
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
5274
  var DEADLINE_MARGIN_MS = 5e3;
5274
5275
  var DEADLINE_MARGIN_SHARE = 0.15;
5275
5276
  var DEFAULT_REQUEST_MS = 2e3;
@@ -5312,7 +5313,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests, deadline, requestMs, signal,
5312
5313
  };
5313
5314
  }, "runBudget");
5314
5315
 
5315
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/cli/context.js
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
5317
  var runBudgetOf = /* @__PURE__ */ __name((command, requests) => {
5317
5318
  const { deadline, signal, app } = environmentOf(command);
5318
5319
  const now = deadline?.();
@@ -5429,7 +5430,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
5429
5430
  return words.join(" ");
5430
5431
  }, "commandPath");
5431
5432
 
5432
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/cli/effects.js
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
5434
  var REMOTE_READ = { remote: "read", local: "read" };
5434
5435
  var FETCH = { remote: "read", local: "write" };
5435
5436
  var REMOTE_WRITE = { remote: "write", local: "write" };
@@ -5531,7 +5532,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
5531
5532
  throw readOnlyRefusal(lock, what);
5532
5533
  }, "refuseUnderReadOnly");
5533
5534
 
5534
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/cli/steps.js
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
5536
  var STEPS2 = defineSteps([
5536
5537
  ...STEPS,
5537
5538
  {
@@ -5715,7 +5716,7 @@ var STEPS2 = defineSteps([
5715
5716
  {
5716
5717
  id: "mcp.config",
5717
5718
  command: "mcp config",
5718
- args: [],
5719
+ args: [{ name: "profiles", required: false }],
5719
5720
  why: "the entry names one Node version's path; after switching or upgrading Node, print it again"
5720
5721
  },
5721
5722
  {
@@ -5797,7 +5798,7 @@ var stepLine = /* @__PURE__ */ __name((root, step) => {
5797
5798
  ].join(" ");
5798
5799
  }, "stepLine");
5799
5800
 
5800
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
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
5802
  var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
5802
5803
  var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
5803
5804
  var strip = /* @__PURE__ */ __name((value) => {
@@ -5811,7 +5812,7 @@ var strip = /* @__PURE__ */ __name((value) => {
5811
5812
  return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
5812
5813
  }, "strip");
5813
5814
 
5814
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/cli/envelope.js
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
5816
  var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
5816
5817
  var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
5817
5818
  var listOf = /* @__PURE__ */ __name((command, input) => {
@@ -5933,7 +5934,7 @@ var printItem = /* @__PURE__ */ __name(({ renderer, format }, item) => {
5933
5934
  renderer.result(item);
5934
5935
  }, "printItem");
5935
5936
 
5936
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/entities/store-table.js
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
5938
  var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
5938
5939
  var storeTable = strictObject({
5939
5940
  name: text,
@@ -5942,7 +5943,7 @@ var storeTable = strictObject({
5942
5943
  bytes: optional(nullable(count))
5943
5944
  });
5944
5945
 
5945
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/runs/record-log.js
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
5947
  var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
5947
5948
  const run = currentRun();
5948
5949
  const trace = traceId ?? run.traceId;
@@ -5984,6 +5985,7 @@ export {
5984
5985
  withDeadline,
5985
5986
  DEFAULT_COMMAND_MS,
5986
5987
  DEFAULT_COOPERATIVE_MS,
5988
+ DEFAULT_SYNC_MS,
5987
5989
  DEFAULT_AGENT_COOPERATIVE_MS,
5988
5990
  DEFAULT_OUTPUT_BYTES,
5989
5991
  byteCount,
@@ -4,15 +4,15 @@ import {
4
4
  MAX_SECRET_INPUT,
5
5
  bufferedInput,
6
6
  inputPolicy
7
- } from "./chunk-HCNMFFG3.js";
7
+ } from "./chunk-G27MRA24.js";
8
8
  import {
9
9
  CliError
10
- } from "./chunk-AE4BOXH7.js";
10
+ } from "./chunk-YIMI6O7R.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
15
+ // 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/terminal/prompt.js
16
16
  import { createInterface } from "node:readline";
17
17
  import { Writable } from "node:stream";
18
18
  var readSecret = /* @__PURE__ */ __name(async (prompt, { input = process.stdin, output = process.stderr, echo = false, signal: givenSignal } = {}) => {
@@ -3,12 +3,12 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError,
5
5
  singleLine
6
- } from "./chunk-AE4BOXH7.js";
6
+ } from "./chunk-YIMI6O7R.js";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-ZVVMGPBJ.js";
10
10
 
11
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/domain/providers.js
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
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.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/domain/locator.js
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
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.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/domain/references.js
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
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.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/domain/counters.js
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
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.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/domain/rankings-options.js
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
229
229
  var MESSAGE_MEASURES = ["views", "reactions", "forwards", "comments", "replies", "thread-size"];
230
230
  var AUTHOR_MEASURES = [
231
231
  "messages",
@@ -5,10 +5,10 @@ import {
5
5
  installFiles,
6
6
  megabytes,
7
7
  sharedModelsDirectory
8
- } from "./chunk-NW3X3G5X.js";
8
+ } from "./chunk-6FL25KC5.js";
9
9
  import {
10
10
  CliError
11
- } from "./chunk-AE4BOXH7.js";
11
+ } from "./chunk-YIMI6O7R.js";
12
12
  import {
13
13
  importFrom
14
14
  } 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.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
19
+ // 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/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.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
24
+ // 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/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.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
681
+ // 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/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.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
861
+ // 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/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");
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
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
8
8
  var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
9
9
  var kindsByConstructor = /* @__PURE__ */ new WeakMap();
10
10
  function collectKinds(ctor) {
@@ -2,47 +2,47 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  botInstructions
5
- } from "./chunk-IP4OK7RQ.js";
5
+ } from "./chunk-4NGLRHWO.js";
6
6
  import {
7
7
  answered,
8
8
  normal,
9
9
  registerCommands,
10
10
  runCommandForAgent,
11
11
  toolsFromCommands
12
- } from "./chunk-BW52AJ4R.js";
12
+ } from "./chunk-3SCTDFNO.js";
13
13
  import {
14
14
  agentJson,
15
15
  skillResource
16
- } from "./chunk-4VCA7QU3.js";
16
+ } from "./chunk-XT7XVPEM.js";
17
17
  import {
18
18
  callerOf,
19
19
  serveStdio
20
- } from "./chunk-VPPYYWOH.js";
20
+ } from "./chunk-7H3ZRDLW.js";
21
21
  import {
22
22
  McpServer
23
23
  } from "./chunk-5D4AEUVA.js";
24
24
  import {
25
25
  wholeList
26
- } from "./chunk-QLIB3PEC.js";
26
+ } from "./chunk-VOAVOK4I.js";
27
27
  import {
28
28
  changesMessenger,
29
29
  flatten,
30
30
  itemOf
31
- } from "./chunk-MAEFLDHG.js";
31
+ } from "./chunk-MNUTWGSA.js";
32
32
  import {
33
33
  MESSENGER_CHANGE_REFUSAL,
34
34
  readOnlyLockOf,
35
35
  readOnlyRefusal
36
- } from "./chunk-OCGPZHXW.js";
36
+ } from "./chunk-XFCSPOLZ.js";
37
37
  import {
38
38
  mcpErrorResult,
39
39
  object
40
- } from "./chunk-AE4BOXH7.js";
40
+ } from "./chunk-YIMI6O7R.js";
41
41
  import {
42
42
  __name
43
43
  } from "./chunk-ZVVMGPBJ.js";
44
44
 
45
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/mcp/bot/server.js
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
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) => {
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  parsePermissions
5
- } from "./chunk-7A6PZUDR.js";
5
+ } from "./chunk-62NCJILK.js";
6
6
  import {
7
7
  checkConfigText,
8
8
  issueMessage,
9
9
  usableProfileName
10
- } from "./chunk-MAEFLDHG.js";
10
+ } from "./chunk-MNUTWGSA.js";
11
11
  import {
12
12
  LEVELS
13
- } from "./chunk-TKCHUT2H.js";
13
+ } from "./chunk-PF25S7L4.js";
14
14
  import {
15
15
  CliError,
16
16
  array,
@@ -33,7 +33,7 @@ import {
33
33
  strictObject,
34
34
  string,
35
35
  union
36
- } from "./chunk-AE4BOXH7.js";
36
+ } from "./chunk-YIMI6O7R.js";
37
37
  import {
38
38
  __name
39
39
  } from "./chunk-ZVVMGPBJ.js";
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  QUERY_REASONS
5
- } from "./chunk-LSVI3A5X.js";
5
+ } from "./chunk-UOFOMU3T.js";
6
6
  import {
7
7
  defineReasons
8
- } from "./chunk-AE4BOXH7.js";
8
+ } from "./chunk-YIMI6O7R.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/errors/reasons.js
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
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"],
@@ -57,6 +57,7 @@ var OTHERS = [
57
57
  ["extraction.invalid-proposals", "invalid_response", "the model's memory proposals could not be used"],
58
58
  validation("extraction.text-too-long", "the text is too long for memory extraction"),
59
59
  validation("file.locked", "another process holds the file's lock"),
60
+ ["mail.source-failed", "provider_error", "the mail server refused or did not complete a request"],
60
61
  ["mirror.partial", "provider_error", "some mirrored files were not synced"],
61
62
  ["profile.wrong-account", "authentication_error", "the signed-in source account does not match this profile"],
62
63
  validation("push.too-many-files", "the folder holds more files than one push takes"),
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-AE4BOXH7.js";
5
+ } from "./chunk-YIMI6O7R.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/sends/permissions.js
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/sends/permissions.js
11
11
  var LEVELS = ["deny", "readonly", "ask", "allow"];
12
12
  var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
13
13
  var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-AE4BOXH7.js";
5
+ } from "./chunk-YIMI6O7R.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.469.0_@wirecat+cli-base@0.65.0_commander@15.0.0_typescript@7.0.2_vi_80b586dbc8b099637a6e461856c2ee6b/node_modules/@wirecat/cli-core/dist/http/public-url.js
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/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)