@wirecat/zoom-cli 0.60.0 → 0.61.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 (191) hide show
  1. package/README.md +7 -6
  2. package/dist/answers.d.ts +16 -0
  3. package/dist/answers.d.ts.map +1 -1
  4. package/dist/bin/main.js +1 -0
  5. package/dist/bin/main.js.map +1 -1
  6. package/dist/bin/zm.js +2 -2
  7. package/dist/bundle/{chunk-PUOBYJFI.js → all-profiles-HZLIU6RZ.js} +11 -7
  8. package/dist/bundle/answer-policy-GRODO2DY.js +96 -0
  9. package/dist/bundle/{anthropic-TT2XV74T.js → anthropic-O2YYPCVK.js} +4 -4
  10. package/dist/bundle/{app-server-POMYD6QV.js → app-server-YYCANTUE.js} +50 -50
  11. package/dist/bundle/{bun-JVDJVDHL.js → bun-UEFRULAT.js} +2 -2
  12. package/dist/bundle/{bun-sqlite-BBOPAQVG.js → bun-sqlite-VVYKOY7S.js} +3 -3
  13. package/dist/bundle/{chunk-KVPYI52N.js → chunk-2M2U43IF.js} +2 -2
  14. package/dist/bundle/{chunk-7GVNQOV6.js → chunk-35X6G276.js} +1 -1
  15. package/dist/bundle/{chunk-RH5YXXAB.js → chunk-3TGR4RDD.js} +32 -34
  16. package/dist/bundle/{chunk-YZZ6NBXC.js → chunk-4XI4PDEH.js} +31 -21
  17. package/dist/bundle/{chunk-W5EUHV3J.js → chunk-4XPIOW5L.js} +1 -1
  18. package/dist/bundle/{chunk-PU4FKK5T.js → chunk-5NRBNGR3.js} +2 -2
  19. package/dist/bundle/{chunk-LYZNVNJA.js → chunk-67WW33JB.js} +49 -24
  20. package/dist/bundle/{chunk-3P4LUGXI.js → chunk-6LHTWR3X.js} +2 -2
  21. package/dist/bundle/{chunk-SG3WSP7Y.js → chunk-6RV7KXDF.js} +7 -7
  22. package/dist/bundle/{chunk-VYUSEJE4.js → chunk-6SLGIPLT.js} +2 -2
  23. package/dist/bundle/{chunk-EOZWDEJL.js → chunk-77GJITSU.js} +2 -2
  24. package/dist/bundle/{chunk-72A7CIPL.js → chunk-7ATLKYBN.js} +17 -17
  25. package/dist/bundle/{chunk-YSZQ5SZK.js → chunk-7DMMNCY2.js} +3 -3
  26. package/dist/bundle/chunk-ABCHE4YP.js +217 -0
  27. package/dist/bundle/{chunk-G3MXAGF2.js → chunk-AOSIU5T6.js} +51 -38
  28. package/dist/bundle/{chunk-TAQKNWCD.js → chunk-B3PTSX5D.js} +2 -2
  29. package/dist/bundle/{chunk-J3N2LL37.js → chunk-B45MFBBF.js} +6 -6
  30. package/dist/bundle/{chunk-GNRYFESK.js → chunk-BNUNZTOU.js} +25 -25
  31. package/dist/bundle/{chunk-SK3K2VHF.js → chunk-BPQNTYLN.js} +388 -299
  32. package/dist/bundle/{chunk-LKV3NRCJ.js → chunk-CMG54Q4X.js} +120 -32
  33. package/dist/bundle/{chunk-DP5DX45H.js → chunk-COU66X3X.js} +7 -5
  34. package/dist/bundle/{chunk-NKFRV2LB.js → chunk-CUSGSXSR.js} +2 -2
  35. package/dist/bundle/{chunk-MFS52LTZ.js → chunk-DLAFGSTN.js} +1 -1
  36. package/dist/bundle/{chunk-DKIIKMSE.js → chunk-E4QPLXZT.js} +47 -47
  37. package/dist/bundle/{chunk-MGYFSXI5.js → chunk-E4T7IJJO.js} +26 -26
  38. package/dist/bundle/{chunk-AJA5ZAV6.js → chunk-F32GKBMF.js} +22 -5
  39. package/dist/bundle/{chunk-DN7VHENQ.js → chunk-FAOVUALC.js} +13 -13
  40. package/dist/bundle/{chunk-EF2RCQ3L.js → chunk-FBJC7OCI.js} +1 -1
  41. package/dist/bundle/{chunk-HIAO4MPA.js → chunk-FQ54A7GI.js} +1 -1
  42. package/dist/bundle/{chunk-EXFAA4N3.js → chunk-FXY45HU7.js} +6 -6
  43. package/dist/bundle/{chunk-2EVRKK75.js → chunk-GNHPYQMM.js} +2 -2
  44. package/dist/bundle/{chunk-M5WLBRL7.js → chunk-H5EAHMQN.js} +11 -11
  45. package/dist/bundle/chunk-HF233RN4.js +335 -0
  46. package/dist/bundle/{chunk-24DLFGES.js → chunk-HTGBUE2U.js} +2 -2
  47. package/dist/bundle/{chunk-RSLXLUTS.js → chunk-IKZFR645.js} +10 -10
  48. package/dist/bundle/chunk-JKWYXBGK.js +380 -0
  49. package/dist/bundle/{chunk-DAQXO6SM.js → chunk-KGZHRJ7H.js} +4 -4
  50. package/dist/bundle/{chunk-ZK7Y5K63.js → chunk-KPZIQKOF.js} +1 -1
  51. package/dist/bundle/{chunk-7T3BUWJK.js → chunk-KXYURHVE.js} +118 -95
  52. package/dist/bundle/{chunk-4HZRZDMC.js → chunk-KZGHGU2M.js} +4 -4
  53. package/dist/bundle/{chunk-2TV7UTHK.js → chunk-KZV5GU7G.js} +8 -8
  54. package/dist/bundle/{chunk-YIMI6O7R.js → chunk-L7VIPVHL.js} +263 -199
  55. package/dist/bundle/{chunk-XLJV3ZOH.js → chunk-LPJ3S6GE.js} +1 -1
  56. package/dist/bundle/{chunk-HBYE4EP2.js → chunk-LX6DO44O.js} +1 -1
  57. package/dist/bundle/{chunk-3UMXCNDI.js → chunk-LXOSBFWW.js} +7 -7
  58. package/dist/bundle/{chunk-KUBCUE6T.js → chunk-M3EVVGR6.js} +2 -2
  59. package/dist/bundle/{chunk-WVXAQVLG.js → chunk-MBMDF5EL.js} +6 -6
  60. package/dist/bundle/{chunk-KUBWRI5E.js → chunk-MTAVA2LS.js} +2 -2
  61. package/dist/bundle/{chunk-AQDWGJZT.js → chunk-MVRCLMQL.js} +39 -2
  62. package/dist/bundle/{chunk-UOFOMU3T.js → chunk-NVN4O5IC.js} +14 -10
  63. package/dist/bundle/{chunk-SKENSSY2.js → chunk-O3WVOAT7.js} +408 -420
  64. package/dist/bundle/{chunk-EROQ5SC7.js → chunk-OLZE27RS.js} +2 -2
  65. package/dist/bundle/{chunk-22UBF6U6.js → chunk-OMUX4LSS.js} +4 -4
  66. package/dist/bundle/{chunk-QJCVOVNR.js → chunk-OU46OTTE.js} +3 -3
  67. package/dist/bundle/{chunk-JBGYI5BY.js → chunk-OVVDOVLN.js} +2 -2
  68. package/dist/bundle/{chunk-I45V6AFG.js → chunk-P2NRA7E5.js} +2 -2
  69. package/dist/bundle/{chunk-7PQY4ISY.js → chunk-PCUPOGKR.js} +6 -4
  70. package/dist/bundle/{chunk-4MC4Z45G.js → chunk-QHT2LZRW.js} +6 -6
  71. package/dist/bundle/{decode-UBPIHVNG.js → chunk-RGOBGHWE.js} +21 -18
  72. package/dist/bundle/{chunk-UOL4ILXT.js → chunk-RSXLI5GP.js} +79 -59
  73. package/dist/bundle/{chunk-RNX73QCL.js → chunk-S726LZCH.js} +6 -6
  74. package/dist/bundle/{chunk-TB72GE55.js → chunk-SVBM6F4Z.js} +1 -1
  75. package/dist/bundle/{chunk-GXACHTB2.js → chunk-T7IQMYPW.js} +15 -3
  76. package/dist/bundle/{chunk-Q4NDCDFG.js → chunk-TD4Y5LXG.js} +25 -22
  77. package/dist/bundle/{chunk-V2QOLHPM.js → chunk-U4Y2QQ2D.js} +3 -3
  78. package/dist/bundle/{chunk-ODFIV4OS.js → chunk-UPWHCUVA.js} +617 -380
  79. package/dist/bundle/{chunk-E3AMUYNB.js → chunk-UYAKSUT5.js} +5 -5
  80. package/dist/bundle/{chunk-J5ZVGKSZ.js → chunk-VARX3SBT.js} +1 -1
  81. package/dist/bundle/{chunk-IFXPNXAH.js → chunk-WVYSOV3C.js} +16 -4
  82. package/dist/bundle/{chunk-LZBWU2IA.js → chunk-XOJGXWTK.js} +8 -8
  83. package/dist/bundle/{chunk-4FTPE5SB.js → chunk-XX2PDQ54.js} +31 -211
  84. package/dist/bundle/{chunk-D6L35XQS.js → chunk-XZ4OVTA5.js} +9 -9
  85. package/dist/bundle/{chunk-XAF2LHZG.js → chunk-YESOQEOB.js} +735 -826
  86. package/dist/bundle/{cli-WIMAOCXF.js → cli-O4LAGYXI.js} +60 -54
  87. package/dist/bundle/command-contract-67QKBY6M.js +38 -0
  88. package/dist/bundle/config-ABURZDD2.js +78 -0
  89. package/dist/bundle/decode-WRMZJJCR.js +20 -0
  90. package/dist/bundle/{dist-YYDTME5J.js → dist-SQK4GIJT.js} +14 -14
  91. package/dist/bundle/{echarts-4OQHS575.js → echarts-3DOOJSQR.js} +2 -2
  92. package/dist/bundle/{embed-7JHEPBFD.js → embed-OYRHTMFI.js} +4 -4
  93. package/dist/bundle/{embedder-HTRPWR6T.js → embedder-ZAYCL22W.js} +7 -7
  94. package/dist/bundle/{first-run-I52ADRJ2.js → first-run-QXSPIXOQ.js} +8 -8
  95. package/dist/bundle/first-screen-MD6HWIJW.js +36 -0
  96. package/dist/bundle/{folders-5ZBUQHAM.js → folders-EXQLKXVK.js} +2 -2
  97. package/dist/bundle/{instructions-3QZBKKPF.js → instructions-GFEOB7XJ.js} +1 -1
  98. package/dist/bundle/{main-64VVZ5QG.js → main-RADF3CRI.js} +17 -16
  99. package/dist/bundle/{mcp-OQBZXELQ.js → mcp-WSGVVZWI.js} +2 -2
  100. package/dist/bundle/{meetings-RD3NU6NN.js → meetings-6BIIT42H.js} +4 -4
  101. package/dist/bundle/{node-R2BLYUSB.js → node-A3B2YRQI.js} +2 -2
  102. package/dist/bundle/{node-sqlite-DGEEDBXV.js → node-sqlite-XRP5FUDY.js} +3 -3
  103. package/dist/bundle/{oauth-NRZMCFH3.js → oauth-YICY4AN4.js} +5 -5
  104. package/dist/bundle/{open-SUGCOCAU.js → open-4CNKSQRB.js} +2 -2
  105. package/dist/bundle/openai-YYRO3X7I.js +22 -0
  106. package/dist/bundle/{output-file-SXV2ANW7.js → output-file-7BXYV6OL.js} +3 -3
  107. package/dist/bundle/{process-IX5YWGDP.js → process-A45QXKID.js} +1 -1
  108. package/dist/bundle/{program-WGNTV7NS.js → program-DTP7BRTW.js} +422 -431
  109. package/dist/bundle/{prompt-NICXDWN3.js → prompt-5LMKO7SE.js} +3 -3
  110. package/dist/bundle/{recognize-6DAHO6X6.js → recognize-MB6WRGUD.js} +4 -2
  111. package/dist/bundle/{remote-JZ3TXP6I.js → remote-PD7WMTTS.js} +5 -5
  112. package/dist/bundle/{rerank-YSXWCAGZ.js → rerank-7E6GQ5Y6.js} +5 -5
  113. package/dist/bundle/{run-log-APHZZWC7.js → run-log-TCFK4LEC.js} +53 -53
  114. package/dist/bundle/{chunk-HWZXQLR5.js → serve-JBT2BWHK.js} +8 -6
  115. package/dist/bundle/server-CFIKEPLG.js +66 -0
  116. package/dist/bundle/{chunk-EH6G2LEU.js → server-H2UPGGBI.js} +43 -10
  117. package/dist/bundle/{services-D64U72OE.js → services-SJOTKL5V.js} +33 -26
  118. package/dist/bundle/{speech-QLCQAT4O.js → speech-4SL25GSC.js} +28 -5
  119. package/dist/bundle/{state-KAD3R27T.js → state-FVMTDZ6B.js} +4 -4
  120. package/dist/bundle/{store-7UNPRLZ3.js → store-DNPKBUVO.js} +13 -13
  121. package/dist/bundle/{store-2BHHS77S.js → store-TI77SCNL.js} +15 -15
  122. package/dist/bundle/store-connection-GIFWWMNO.js +76 -0
  123. package/dist/bundle/store-maintenance-command-WBKGF2CZ.js +55 -0
  124. package/dist/bundle/{streaming-AK6Q2ZGQ.js → streaming-UHAHGPH5.js} +4 -4
  125. package/dist/bundle/{tokens-CCM3D4ZT.js → tokens-Y2MX6JBL.js} +4 -4
  126. package/dist/bundle/zm.js +1 -1
  127. package/dist/commands.d.ts +1 -2
  128. package/dist/commands.d.ts.map +1 -1
  129. package/dist/commands.js +3 -16
  130. package/dist/commands.js.map +1 -1
  131. package/dist/contract-overrides.d.ts +0 -2
  132. package/dist/contract-overrides.d.ts.map +1 -1
  133. package/dist/contract-overrides.js +0 -158
  134. package/dist/contract-overrides.js.map +1 -1
  135. package/dist/login.d.ts +1 -0
  136. package/dist/login.d.ts.map +1 -1
  137. package/dist/login.js +1 -1
  138. package/dist/login.js.map +1 -1
  139. package/dist/program-bindings.d.ts +1 -1
  140. package/dist/program-bindings.d.ts.map +1 -1
  141. package/dist/program-bindings.js +16 -18
  142. package/dist/program-bindings.js.map +1 -1
  143. package/dist/program.d.ts +2 -4
  144. package/dist/program.d.ts.map +1 -1
  145. package/dist/program.js.map +1 -1
  146. package/dist/read-only.d.ts.map +1 -1
  147. package/dist/read-only.js +3 -0
  148. package/dist/read-only.js.map +1 -1
  149. package/dist/recording-schedule-setup.d.ts.map +1 -1
  150. package/dist/recording-schedule-setup.js +1 -0
  151. package/dist/recording-schedule-setup.js.map +1 -1
  152. package/dist/run.d.ts.map +1 -1
  153. package/dist/run.js +82 -32
  154. package/dist/run.js.map +1 -1
  155. package/dist/setup-commands.d.ts.map +1 -1
  156. package/dist/setup-commands.js +14 -47
  157. package/dist/setup-commands.js.map +1 -1
  158. package/dist/store-commands.d.ts.map +1 -1
  159. package/dist/store-commands.js +4 -1
  160. package/dist/store-commands.js.map +1 -1
  161. package/dist/tokens.d.ts +15 -0
  162. package/dist/tokens.d.ts.map +1 -1
  163. package/dist/tokens.js +40 -1
  164. package/dist/tokens.js.map +1 -1
  165. package/dist/version.d.ts +1 -1
  166. package/dist/version.js +1 -1
  167. package/package.json +3 -3
  168. package/dist/bundle/all-profiles-7OZPJY76.js +0 -25
  169. package/dist/bundle/answer-policy-PVWMA2QC.js +0 -96
  170. package/dist/bundle/chunk-57LT4A2E.js +0 -48
  171. package/dist/bundle/chunk-XMCVB4Q4.js +0 -390
  172. package/dist/bundle/chunk-YLBNPI7H.js +0 -2
  173. package/dist/bundle/command-contract-J7PDZQMC.js +0 -38
  174. package/dist/bundle/config-G62PBNZF.js +0 -79
  175. package/dist/bundle/first-screen-XNCFWOLC.js +0 -36
  176. package/dist/bundle/mcp-5SJXWEJW.js +0 -92
  177. package/dist/bundle/mcp-ZMIPDB4R.js +0 -189
  178. package/dist/bundle/serve-7VWL475U.js +0 -19
  179. package/dist/bundle/server-7LABFAA5.js +0 -53
  180. package/dist/bundle/server-VFXB5WRG.js +0 -66
  181. package/dist/bundle/store-connection-QTMLZ7LR.js +0 -76
  182. package/dist/bundle/store-maintenance-command-ND6PQCVZ.js +0 -54
  183. package/dist/mcp-command.d.ts +0 -33
  184. package/dist/mcp-command.d.ts.map +0 -1
  185. package/dist/mcp-command.js +0 -143
  186. package/dist/mcp-command.js.map +0 -1
  187. package/dist/mcp.d.ts +0 -30
  188. package/dist/mcp.d.ts.map +0 -1
  189. package/dist/mcp.js +0 -110
  190. package/dist/mcp.js.map +0 -1
  191. /package/dist/bundle/{chunk-O5EHUB2V.js → chunk-62EDJKGP.js} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  envName,
5
5
  readOnlyLockOf,
6
6
  readOnlyRefusal
7
- } from "./chunk-3P4LUGXI.js";
7
+ } from "./chunk-6LHTWR3X.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-LZBWU2IA.js";
17
+ } from "./chunk-XOJGXWTK.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-YZZ6NBXC.js";
39
+ } from "./chunk-4XI4PDEH.js";
40
40
  import {
41
41
  isCliFailure
42
- } from "./chunk-EOZWDEJL.js";
42
+ } from "./chunk-77GJITSU.js";
43
43
  import {
44
44
  count,
45
45
  text
46
- } from "./chunk-IFXPNXAH.js";
46
+ } from "./chunk-WVYSOV3C.js";
47
47
  import {
48
48
  permissionCeiling
49
- } from "./chunk-4HZRZDMC.js";
49
+ } from "./chunk-KZGHGU2M.js";
50
50
  import {
51
51
  fieldsOf,
52
52
  projectFields,
53
53
  resolveOutput
54
- } from "./chunk-DAQXO6SM.js";
54
+ } from "./chunk-KGZHRJ7H.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-NKFRV2LB.js";
65
+ } from "./chunk-CUSGSXSR.js";
66
66
  import {
67
67
  sharedConfigPath
68
- } from "./chunk-E3AMUYNB.js";
68
+ } from "./chunk-UYAKSUT5.js";
69
69
  import {
70
70
  storePath
71
- } from "./chunk-KUBCUE6T.js";
71
+ } from "./chunk-M3EVVGR6.js";
72
72
  import {
73
73
  FIELD_TYPES,
74
74
  QUERY_BACKENDS,
75
75
  describeQuery
76
- } from "./chunk-UOFOMU3T.js";
76
+ } from "./chunk-NVN4O5IC.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-YIMI6O7R.js";
122
+ } from "./chunk-L7VIPVHL.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_esbuild@0.28.2_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.67.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_esbuild@0.28.2_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.67.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_esbuild@0.28.2_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.67.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_esbuild@0.28.2_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.67.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.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
3921
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/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.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
3955
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/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.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
4140
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/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.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
4166
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/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.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
4348
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/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.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
4417
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/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.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
4427
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/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.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
4496
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/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.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
4540
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/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.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
4831
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/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.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
4860
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/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.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
4882
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/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.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
5273
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/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.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
5316
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/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.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
5433
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/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.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
5535
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/steps.js
5536
5536
  var STEPS2 = defineSteps([
5537
5537
  ...STEPS,
5538
5538
  {
@@ -5541,6 +5541,7 @@ var STEPS2 = defineSteps([
5541
5541
  args: [
5542
5542
  { name: "chat", required: false },
5543
5543
  { name: "all", required: false },
5544
+ { name: "since_time", required: false },
5544
5545
  { name: "background", required: false }
5545
5546
  ],
5546
5547
  why: "the local copy is missing messages; syncing brings them in"
@@ -5798,7 +5799,7 @@ var stepLine = /* @__PURE__ */ __name((root, step) => {
5798
5799
  ].join(" ");
5799
5800
  }, "stepLine");
5800
5801
 
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
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
5802
5803
  var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
5803
5804
  var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
5804
5805
  var strip = /* @__PURE__ */ __name((value) => {
@@ -5812,11 +5813,11 @@ var strip = /* @__PURE__ */ __name((value) => {
5812
5813
  return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
5813
5814
  }, "strip");
5814
5815
 
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
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/cli/envelope.js
5816
5817
  var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
5817
5818
  var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
5818
5819
  var listOf = /* @__PURE__ */ __name((command, input) => {
5819
- const { items, limit, has_more, cursor, paging, page, args = {}, next = [], missing, meta } = input;
5820
+ const { items, limit, has_more, cursor, paging, page, total, args = {}, next = [], missing, meta } = input;
5820
5821
  const byCursor = paging === "cursor" || cursor !== void 0;
5821
5822
  const more = has_more ? [
5822
5823
  nextStep("page.next", {
@@ -5827,7 +5828,19 @@ var listOf = /* @__PURE__ */ __name((command, input) => {
5827
5828
  ] : [];
5828
5829
  const body = {
5829
5830
  items,
5830
- page: byCursor ? { mode: "cursor", limit, has_more, ...has_more && cursor !== void 0 ? { next_cursor: cursor } : {} } : { mode: "page", limit, has_more, ...has_more ? { next_page: (page ?? 1) + 1 } : {} },
5831
+ page: byCursor ? {
5832
+ mode: "cursor",
5833
+ limit,
5834
+ has_more,
5835
+ ...has_more && cursor !== void 0 ? { next_cursor: cursor } : {},
5836
+ ...total ? { total } : {}
5837
+ } : {
5838
+ mode: "page",
5839
+ limit,
5840
+ has_more,
5841
+ ...has_more ? { next_page: (page ?? 1) + 1 } : {},
5842
+ ...total ? { total } : {}
5843
+ },
5831
5844
  ...capped2([...more, ...next]),
5832
5845
  ...missing && missing.length > 0 ? { missing } : {},
5833
5846
  ...meta ? { meta } : {}
@@ -5934,7 +5947,7 @@ var printItem = /* @__PURE__ */ __name(({ renderer, format }, item) => {
5934
5947
  renderer.result(item);
5935
5948
  }, "printItem");
5936
5949
 
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
5950
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/entities/store-table.js
5938
5951
  var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
5939
5952
  var storeTable = strictObject({
5940
5953
  name: text,
@@ -5943,7 +5956,7 @@ var storeTable = strictObject({
5943
5956
  bytes: optional(nullable(count))
5944
5957
  });
5945
5958
 
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
5959
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/runs/record-log.js
5947
5960
  var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
5948
5961
  const run = currentRun();
5949
5962
  const trace = traceId ?? run.traceId;
@@ -7,12 +7,12 @@ import {
7
7
  import {
8
8
  singleLine,
9
9
  visibleControls
10
- } from "./chunk-YIMI6O7R.js";
10
+ } from "./chunk-L7VIPVHL.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // 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/render/messages.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/render/messages.js
16
16
  import { styleText } from "node:util";
17
17
  var TIME_WIDTH = 8;
18
18
  var INDENT = " ".repeat(TIME_WIDTH + 2);
@@ -5,10 +5,10 @@ import {
5
5
  installFiles,
6
6
  megabytes,
7
7
  sharedModelsDirectory
8
- } from "./chunk-7PQY4ISY.js";
8
+ } from "./chunk-PCUPOGKR.js";
9
9
  import {
10
10
  CliError
11
- } from "./chunk-YIMI6O7R.js";
11
+ } from "./chunk-L7VIPVHL.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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
681
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
861
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/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");
@@ -6,22 +6,22 @@ import {
6
6
  agentArguments,
7
7
  agentJson,
8
8
  commandAvailability
9
- } from "./chunk-DN7VHENQ.js";
9
+ } from "./chunk-FAOVUALC.js";
10
10
  import {
11
11
  callerOf
12
- } from "./chunk-KVPYI52N.js";
12
+ } from "./chunk-2M2U43IF.js";
13
13
  import {
14
14
  lentConnection,
15
15
  refuseLacking
16
- } from "./chunk-Q4NDCDFG.js";
16
+ } from "./chunk-TD4Y5LXG.js";
17
17
  import {
18
18
  onlineDeps,
19
19
  servicesFor,
20
20
  storeModeDeps
21
- } from "./chunk-XAF2LHZG.js";
21
+ } from "./chunk-YESOQEOB.js";
22
22
  import {
23
23
  ENTITIES
24
- } from "./chunk-7T3BUWJK.js";
24
+ } from "./chunk-KXYURHVE.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-G3MXAGF2.js";
38
+ } from "./chunk-AOSIU5T6.js";
39
39
  import {
40
40
  currentCaller,
41
41
  keepsSuccess,
42
42
  runContextOf,
43
43
  withCaller
44
- } from "./chunk-LZBWU2IA.js";
44
+ } from "./chunk-XOJGXWTK.js";
45
45
  import {
46
46
  enclosingTraceId,
47
47
  inRun,
48
48
  newRunId,
49
49
  traceOf
50
- } from "./chunk-YZZ6NBXC.js";
50
+ } from "./chunk-4XI4PDEH.js";
51
51
  import {
52
52
  failureContext
53
- } from "./chunk-GXACHTB2.js";
53
+ } from "./chunk-T7IQMYPW.js";
54
54
  import {
55
55
  authorityAllowed,
56
56
  botApiAllowed,
57
57
  keyForCommand,
58
58
  levelFor,
59
59
  readKeysForCommand
60
- } from "./chunk-NKFRV2LB.js";
60
+ } from "./chunk-CUSGSXSR.js";
61
61
  import {
62
62
  MAX_BUFFERED_INPUT
63
- } from "./chunk-KUBWRI5E.js";
63
+ } from "./chunk-MTAVA2LS.js";
64
64
  import {
65
65
  CliError,
66
66
  SNAKE_CASE,
@@ -102,15 +102,15 @@ import {
102
102
  unknown,
103
103
  word,
104
104
  writes
105
- } from "./chunk-YIMI6O7R.js";
105
+ } from "./chunk-L7VIPVHL.js";
106
106
  import {
107
107
  __name
108
108
  } from "./chunk-ZVVMGPBJ.js";
109
109
 
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
110
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/mcp/agent.js
111
111
  import { Readable } from "node:stream";
112
112
 
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
113
+ // node_modules/.pnpm/@wirecat+cli-base@0.67.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
114
114
  var LINT_SEVERITIES = ["high", "medium", "low"];
115
115
  var lintRuleSchema = strictObject({
116
116
  id: word,
@@ -237,7 +237,7 @@ var overridesSchema = array(strictObject({
237
237
  review_after: pipe(string(), isoDate("a date, YYYY-MM-DD"))
238
238
  }));
239
239
 
240
- // 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/audit.js
240
+ // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
241
241
  var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
242
242
  var defineAuditRules = /* @__PURE__ */ __name((input) => parseRegistry("audit rules", array(auditRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineAuditRules");
243
243
  var AUDIT_RULES = defineAuditRules([
@@ -295,7 +295,7 @@ var PARITY_GROUPS = defineParityGroups([
295
295
  { name: "messengers", members: ["tg", "max"], covers: "tree", differences: [] },
296
296
  {
297
297
  name: "all",
298
- members: ["tg", "max", "memo", "drive", "zm", "wa"],
298
+ members: ["tg", "max", "memo", "drive", "zm", "wa", "mail"],
299
299
  covers: ["commands", "doctor", "skill", "mcp", "upgrade", "search", "notes", "meetings"],
300
300
  differences: []
301
301
  },
@@ -319,7 +319,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
319
319
  { path: ["upgrade"], meaning: "updates the CLI" }
320
320
  ]);
321
321
 
322
- // 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/fields.js
322
+ // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
323
323
  var fieldRuleSchema = strictObject({ id: word, rule: text });
324
324
  var defineFieldRules = /* @__PURE__ */ __name((input) => parseRegistry("output field rules", array(fieldRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineFieldRules");
325
325
  var FIELD_RULES = defineFieldRules([
@@ -335,7 +335,7 @@ var FIELD_RULES = defineFieldRules([
335
335
  }
336
336
  ]);
337
337
 
338
- // 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/identifiers.js
338
+ // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
339
339
  var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
340
340
  var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
341
341
  var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
@@ -357,7 +357,7 @@ var IDENTIFIERS = defineIdentifiers([
357
357
  { key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
358
358
  ]);
359
359
 
360
- // 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/flags-calendar.js
360
+ // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
361
361
  var CALENDAR_FLAGS = [
362
362
  { name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
363
363
  {
@@ -431,7 +431,7 @@ var CALENDAR_FLAGS = [
431
431
  }
432
432
  ];
433
433
 
434
- // 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/flags-how.js
434
+ // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
435
435
  var HOW_FLAGS = [
436
436
  {
437
437
  name: "--limit",
@@ -1411,7 +1411,7 @@ var HOW_FLAGS = [
1411
1411
  }
1412
1412
  ];
1413
1413
 
1414
- // 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/flags-what.js
1414
+ // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
1415
1415
  var WHAT_FLAGS = [
1416
1416
  {
1417
1417
  name: "--analysis-provider",
@@ -2401,7 +2401,7 @@ var WHAT_FLAGS = [
2401
2401
  }
2402
2402
  ];
2403
2403
 
2404
- // 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/vocabulary.js
2404
+ // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
2405
2405
  var FLAG_TYPES = [
2406
2406
  "switch",
2407
2407
  "count",
@@ -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.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
2758
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/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.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
2979
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/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.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
3238
+ // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/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();