@wirecat/zoom-cli 0.73.0 → 0.74.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 (133) hide show
  1. package/dist/bin/zm.js +2 -2
  2. package/dist/bundle/{all-profiles-V47CUJFK.js → all-profiles-SDOAABLC.js} +7 -7
  3. package/dist/bundle/answer-policy-RHS74QYY.js +110 -0
  4. package/dist/bundle/{anthropic-SID7Z3QN.js → anthropic-HCVY2PIN.js} +2 -2
  5. package/dist/bundle/{app-server-KCMUSY4A.js → app-server-V64VS6KN.js} +48 -50
  6. package/dist/bundle/{bun-PWMM6L45.js → bun-EBQHHLKR.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-3TLKUN5A.js → bun-sqlite-PVMXO2JB.js} +3 -3
  8. package/dist/bundle/chunk-2PNG76LV.js +707 -0
  9. package/dist/bundle/{chunk-OU5OXA6Q.js → chunk-3ROL6MBJ.js} +1535 -649
  10. package/dist/bundle/{chunk-MOKEB656.js → chunk-3TYNBHBK.js} +1 -1
  11. package/dist/bundle/{chunk-NBA2V6LB.js → chunk-4ELLWJT4.js} +7 -7
  12. package/dist/bundle/{chunk-KK2IVZUQ.js → chunk-4EZKR6Q4.js} +5 -5
  13. package/dist/bundle/{chunk-XLY7V2LB.js → chunk-5KDBLEUF.js} +10 -10
  14. package/dist/bundle/{chunk-PKON63JH.js → chunk-5R6EBM5Z.js} +1 -1
  15. package/dist/bundle/{chunk-44YVZIA4.js → chunk-6EMOZGSN.js} +2 -2
  16. package/dist/bundle/{chunk-4LFFDUUW.js → chunk-6GPBDVQ2.js} +3 -3
  17. package/dist/bundle/{chunk-IE7YBRUO.js → chunk-7NE3LB7A.js} +1 -1
  18. package/dist/bundle/{chunk-QS6DWXDB.js → chunk-7R4UU65O.js} +12 -12
  19. package/dist/bundle/{chunk-HAMDPWEZ.js → chunk-7W23N2YW.js} +5 -5
  20. package/dist/bundle/{chunk-N3SOTKXC.js → chunk-AFUHT7F7.js} +5 -5
  21. package/dist/bundle/{chunk-3ADFJ3UP.js → chunk-APLV37JA.js} +2 -2
  22. package/dist/bundle/{chunk-OFA22L4G.js → chunk-BKMC4ETU.js} +4 -4
  23. package/dist/bundle/{chunk-UIKVP23D.js → chunk-BOGGQOVO.js} +1 -1
  24. package/dist/bundle/{chunk-DPSTOVKC.js → chunk-DSRG5NRF.js} +2 -2
  25. package/dist/bundle/{chunk-35CYSRGJ.js → chunk-DXZN3DU6.js} +2 -2
  26. package/dist/bundle/{chunk-Y3IH7EZC.js → chunk-F6PUM6ZK.js} +16 -16
  27. package/dist/bundle/{chunk-AIEMFRBU.js → chunk-FL2TKSZY.js} +1 -1
  28. package/dist/bundle/{chunk-ZAIE3G5I.js → chunk-FY2X6U6O.js} +2 -2
  29. package/dist/bundle/{chunk-JIS34MLC.js → chunk-GPGIU3OG.js} +7 -7
  30. package/dist/bundle/{chunk-VPPNYUQM.js → chunk-HGUYJUNO.js} +322 -11
  31. package/dist/bundle/{chunk-PJ3FKBXG.js → chunk-HZUUVNWC.js} +1 -1
  32. package/dist/bundle/{chunk-G3SIY4MQ.js → chunk-I2D4ZZOD.js} +19 -21
  33. package/dist/bundle/{chunk-R5FTCNLJ.js → chunk-IJONJTST.js} +1 -1
  34. package/dist/bundle/{chunk-LQYMN36C.js → chunk-IS6FUZCP.js} +1 -1
  35. package/dist/bundle/{chunk-G2TSDMTA.js → chunk-IZUOL4Q6.js} +3 -3
  36. package/dist/bundle/{chunk-ETQNHS3A.js → chunk-KBRIMLVN.js} +6 -6
  37. package/dist/bundle/{chunk-CQBLPBZU.js → chunk-KCPRTZBZ.js} +2 -2
  38. package/dist/bundle/{chunk-2VYEGKQ3.js → chunk-KYL5FYOW.js} +1 -1
  39. package/dist/bundle/{chunk-V5Q2QKYM.js → chunk-LHPYSVGP.js} +23 -25
  40. package/dist/bundle/{chunk-EXWZCI5G.js → chunk-LN2LWPN2.js} +1 -1
  41. package/dist/bundle/{chunk-LVDTSCIN.js → chunk-LQR4V5EY.js} +10 -10
  42. package/dist/bundle/{chunk-CIUJEQH4.js → chunk-LUBG5GKK.js} +9 -9
  43. package/dist/bundle/{chunk-ERQRY6WZ.js → chunk-LZ4AVHBS.js} +1 -1
  44. package/dist/bundle/{chunk-KUL7S5Y3.js → chunk-N7KCNMKL.js} +10 -10
  45. package/dist/bundle/{chunk-IKNOTHG2.js → chunk-NKBMLSWK.js} +53 -53
  46. package/dist/bundle/{chunk-ZVQDOKDY.js → chunk-NV2REPY6.js} +1 -1
  47. package/dist/bundle/{chunk-PGPHEC2X.js → chunk-OP6HK2QL.js} +1 -1
  48. package/dist/bundle/{chunk-VJVYGTPM.js → chunk-OPUGV7VW.js} +1 -1
  49. package/dist/bundle/{chunk-PACLT6IW.js → chunk-P53CLAXD.js} +64 -66
  50. package/dist/bundle/{chunk-2NQPB6MT.js → chunk-PKM2UKAZ.js} +5 -1
  51. package/dist/bundle/{chunk-Z5XCU4S7.js → chunk-PMHMKZEJ.js} +32 -32
  52. package/dist/bundle/{chunk-Q43KX56Z.js → chunk-QAGSAOYS.js} +2 -2
  53. package/dist/bundle/{chunk-L6YSKCC3.js → chunk-QLKCKTM4.js} +1 -1
  54. package/dist/bundle/{chunk-DYLYH7VE.js → chunk-QSWR7VDA.js} +3 -3
  55. package/dist/bundle/{chunk-OMLVWOEF.js → chunk-R35YGFKQ.js} +158 -15
  56. package/dist/bundle/{chunk-6AO2RSYH.js → chunk-R4J4DLJV.js} +1167 -839
  57. package/dist/bundle/{chunk-6WUTUCKH.js → chunk-RJJ4OYNH.js} +2 -2
  58. package/dist/bundle/{chunk-ZX4QWTMQ.js → chunk-RQJ2RXFO.js} +25 -27
  59. package/dist/bundle/{chunk-KSNJK4QM.js → chunk-RRW54FK6.js} +12 -12
  60. package/dist/bundle/{chunk-JQF4LM3V.js → chunk-SKDQNYKA.js} +16 -16
  61. package/dist/bundle/{chunk-KHBZ4OEP.js → chunk-SPWKGRTO.js} +1 -1
  62. package/dist/bundle/{chunk-CMWFYZ45.js → chunk-SY4MIIWF.js} +1 -1
  63. package/dist/bundle/{chunk-K5JFX5TK.js → chunk-TKPIDOW5.js} +18 -18
  64. package/dist/bundle/{chunk-K7EMVFJ7.js → chunk-TLNZUPGU.js} +13 -13
  65. package/dist/bundle/{chunk-UYBLNGZ2.js → chunk-TMCXUWTY.js} +1 -1
  66. package/dist/bundle/{chunk-FJMRDRPN.js → chunk-TN2YUZBF.js} +1147 -482
  67. package/dist/bundle/{chunk-SYIOT45G.js → chunk-UGLNVUFX.js} +4 -4
  68. package/dist/bundle/{chunk-SO52EJ2W.js → chunk-UVWNUY3W.js} +2 -2
  69. package/dist/bundle/{chunk-LSVQCI6V.js → chunk-UW3BB2XW.js} +22 -22
  70. package/dist/bundle/{chunk-HO3GBTIT.js → chunk-UXSTXFZQ.js} +1526 -912
  71. package/dist/bundle/{chunk-QWGEOQHA.js → chunk-WRRGO246.js} +1 -1
  72. package/dist/bundle/{chunk-ILDGZBZD.js → chunk-WYV5IITK.js} +6 -6
  73. package/dist/bundle/{chunk-MG2CCAVG.js → chunk-XCC7R47Z.js} +2 -2
  74. package/dist/bundle/{chunk-6NI4FE5G.js → chunk-XFT3YIHU.js} +3 -3
  75. package/dist/bundle/{chunk-QVJMFZFW.js → chunk-XGEPAJBY.js} +1 -1
  76. package/dist/bundle/{chunk-OKOJEBHK.js → chunk-Y4KWWPIO.js} +2 -2
  77. package/dist/bundle/{chunk-P4FU6R3Z.js → chunk-YFLTHGB3.js} +7 -7
  78. package/dist/bundle/{chunk-FZLJ2G7A.js → chunk-YM6ZATEK.js} +4 -4
  79. package/dist/bundle/{chunk-TI2OANJZ.js → chunk-YNI57LTZ.js} +1 -1
  80. package/dist/bundle/{chunk-GCZMYDKU.js → chunk-ZYMTS3CI.js} +2 -2
  81. package/dist/bundle/{cli-4ZYJ6OZE.js → cli-5ALOQCAC.js} +103 -82
  82. package/dist/bundle/command-contract-WO5QJVLZ.js +41 -0
  83. package/dist/bundle/{command-server-entry-CASONRIJ.js → command-server-entry-ICOMIJIH.js} +24 -26
  84. package/dist/bundle/config-YQA5TJ7Y.js +97 -0
  85. package/dist/bundle/{decode-KEFCVGEB.js → decode-7LFOROWF.js} +2 -2
  86. package/dist/bundle/{dist-GCQ7KCKN.js → dist-KJOOYNCP.js} +13 -14
  87. package/dist/bundle/{echarts-SDZA2SWG.js → echarts-EJXBKCJT.js} +2 -2
  88. package/dist/bundle/{embed-43VJEPM6.js → embed-TOZCKRRO.js} +3 -3
  89. package/dist/bundle/{embedder-Q4ZHAGRP.js → embedder-QKEKUCS5.js} +6 -6
  90. package/dist/bundle/{first-run-CPOLQVNA.js → first-run-S7CQVGK6.js} +6 -6
  91. package/dist/bundle/first-screen-6GW6FD6S.js +39 -0
  92. package/dist/bundle/{instructions-7T6JJIFS.js → instructions-Z7GVGWXS.js} +1 -1
  93. package/dist/bundle/{main-NA3QVPXS.js → main-RL3GC4OX.js} +15 -15
  94. package/dist/bundle/{meetings-7CVIQJTA.js → meetings-JCMLE5AO.js} +1 -1
  95. package/dist/bundle/{node-BZDMUFTW.js → node-L2PVEW3N.js} +2 -2
  96. package/dist/bundle/{node-sqlite-QHGB23B4.js → node-sqlite-4YW3W4XI.js} +4 -4
  97. package/dist/bundle/{oauth-BMEMCM2I.js → oauth-NNHWAT6A.js} +4 -4
  98. package/dist/bundle/{open-JGU2NRJP.js → open-PF2JHJIY.js} +2 -2
  99. package/dist/bundle/{openai-VTXXFNCS.js → openai-C72ADYMD.js} +10 -10
  100. package/dist/bundle/{process-756VBE7E.js → process-MNZTQ2DA.js} +1 -1
  101. package/dist/bundle/{program-XM6CDIJ2.js → program-FOCBZZZS.js} +81 -85
  102. package/dist/bundle/{prompt-2IPFXJ4B.js → prompt-RBSUKMV7.js} +2 -2
  103. package/dist/bundle/{recognize-672E2RIB.js → recognize-RM6TQKK3.js} +1 -1
  104. package/dist/bundle/{remote-YLHRVPDS.js → remote-UKHTU3YR.js} +6 -6
  105. package/dist/bundle/{rerank-NBXQG3OS.js → rerank-3LBRVESU.js} +4 -4
  106. package/dist/bundle/{run-log-3WITBT2F.js → run-log-UXINNGKA.js} +55 -57
  107. package/dist/bundle/{serve-FNLOUMYP.js → serve-OOZFTW3W.js} +6 -6
  108. package/dist/bundle/server-DM5ZPFZB.js +75 -0
  109. package/dist/bundle/{server-7ZB5AK5H.js → server-YNQPNIJD.js} +39 -41
  110. package/dist/bundle/{services-Z4UWN64R.js → services-SLEOMN4B.js} +43 -28
  111. package/dist/bundle/{speech-XSYVCKR3.js → speech-FZZ6QVGU.js} +12 -12
  112. package/dist/bundle/{sqlite-runtime-GAPXJNWU.js → sqlite-runtime-WUR4PWYB.js} +3 -3
  113. package/dist/bundle/{state-QSA53EF5.js → state-ET36L4TY.js} +3 -3
  114. package/dist/bundle/{store-EKI4OAJH.js → store-DI6OUBXA.js} +14 -14
  115. package/dist/bundle/{store-NOF5EYUC.js → store-SQB2DOVJ.js} +20 -16
  116. package/dist/bundle/store-connection-M6LVRAZ5.js +90 -0
  117. package/dist/bundle/store-maintenance-command-B66KWG6K.js +65 -0
  118. package/dist/bundle/{tokens-WJQYQ3FK.js → tokens-SUHRRQ25.js} +4 -4
  119. package/dist/bundle/zm.js +2 -2
  120. package/dist/bundle/{zoom-app-Y7RMWLVU.js → zoom-app-GE4SSHOP.js} +2 -2
  121. package/dist/version.d.ts +1 -1
  122. package/dist/version.js +1 -1
  123. package/package.json +2 -2
  124. package/dist/bundle/answer-policy-W6H72X2R.js +0 -112
  125. package/dist/bundle/chunk-2BAZRRJP.js +0 -1239
  126. package/dist/bundle/chunk-KQD4ZVNC.js +0 -153
  127. package/dist/bundle/chunk-USIMMGWS.js +0 -997
  128. package/dist/bundle/command-contract-FJDDCHYP.js +0 -43
  129. package/dist/bundle/config-4DZHX2WX.js +0 -99
  130. package/dist/bundle/first-screen-XYESRGWW.js +0 -41
  131. package/dist/bundle/server-GGRGD4SH.js +0 -77
  132. package/dist/bundle/store-connection-2OZQGEIO.js +0 -92
  133. package/dist/bundle/store-maintenance-command-GNX3SOZ6.js +0 -67
@@ -12,10 +12,10 @@ import {
12
12
  refuseWriteBeforeConnecting,
13
13
  registerPrompts,
14
14
  syncsFirst
15
- } from "./chunk-ZX4QWTMQ.js";
15
+ } from "./chunk-RQJ2RXFO.js";
16
16
  import {
17
17
  answeredWire
18
- } from "./chunk-R5FTCNLJ.js";
18
+ } from "./chunk-IJONJTST.js";
19
19
  import {
20
20
  BinaryResource,
21
21
  Picture,
@@ -36,34 +36,34 @@ import {
36
36
  tool,
37
37
  toolKey,
38
38
  toolsFromCommands
39
- } from "./chunk-JQF4LM3V.js";
39
+ } from "./chunk-SKDQNYKA.js";
40
40
  import {
41
41
  agentJson,
42
42
  skillResource
43
- } from "./chunk-CIUJEQH4.js";
43
+ } from "./chunk-LUBG5GKK.js";
44
44
  import {
45
45
  StdioServerTransport,
46
46
  callerOf,
47
47
  callingAgent,
48
48
  serveStdio
49
- } from "./chunk-CQBLPBZU.js";
49
+ } from "./chunk-KCPRTZBZ.js";
50
50
  import {
51
51
  McpServer,
52
52
  ResourceTemplate
53
53
  } from "./chunk-5D4AEUVA.js";
54
54
  import {
55
55
  connectedFor
56
- } from "./chunk-G3SIY4MQ.js";
56
+ } from "./chunk-I2D4ZZOD.js";
57
57
  import {
58
58
  lackedNeed,
59
59
  wholeList
60
- } from "./chunk-2BAZRRJP.js";
60
+ } from "./chunk-2PNG76LV.js";
61
61
  import {
62
62
  mcpHttpMarker
63
- } from "./chunk-OFA22L4G.js";
63
+ } from "./chunk-BKMC4ETU.js";
64
64
  import {
65
65
  instructions
66
- } from "./chunk-AIEMFRBU.js";
66
+ } from "./chunk-FL2TKSZY.js";
67
67
  import {
68
68
  capability,
69
69
  dateWindow,
@@ -71,16 +71,16 @@ import {
71
71
  imageSize,
72
72
  servicesFor,
73
73
  storedDeps
74
- } from "./chunk-OU5OXA6Q.js";
74
+ } from "./chunk-3ROL6MBJ.js";
75
75
  import {
76
76
  warmEmbedders
77
- } from "./chunk-HAMDPWEZ.js";
77
+ } from "./chunk-7W23N2YW.js";
78
78
  import {
79
79
  stdinFieldOf
80
- } from "./chunk-PJ3FKBXG.js";
80
+ } from "./chunk-HZUUVNWC.js";
81
81
  import {
82
82
  findCommand
83
- } from "./chunk-G2TSDMTA.js";
83
+ } from "./chunk-IZUOL4Q6.js";
84
84
  import {
85
85
  DEFAULT_OUTPUT_BYTES,
86
86
  changesAuthorityAt,
@@ -94,27 +94,27 @@ import {
94
94
  rootOf2 as rootOf,
95
95
  sealed,
96
96
  snakeKeys
97
- } from "./chunk-FJMRDRPN.js";
98
- import {
99
- withCaller
100
- } from "./chunk-ILDGZBZD.js";
97
+ } from "./chunk-TN2YUZBF.js";
101
98
  import {
102
99
  readOnlyLockOf
103
- } from "./chunk-MOKEB656.js";
100
+ } from "./chunk-3TYNBHBK.js";
101
+ import {
102
+ withCaller
103
+ } from "./chunk-WYV5IITK.js";
104
104
  import {
105
105
  levelFor,
106
106
  readKeysForCommand
107
- } from "./chunk-OMLVWOEF.js";
107
+ } from "./chunk-R35YGFKQ.js";
108
108
  import {
109
109
  openStore,
110
110
  pdfPreviewLimits
111
- } from "./chunk-HO3GBTIT.js";
111
+ } from "./chunk-UXSTXFZQ.js";
112
112
  import {
113
113
  typedCommand
114
- } from "./chunk-LSVQCI6V.js";
114
+ } from "./chunk-UW3BB2XW.js";
115
115
  import {
116
116
  isCliFailure
117
- } from "./chunk-UYBLNGZ2.js";
117
+ } from "./chunk-TMCXUWTY.js";
118
118
  import {
119
119
  timezoneOf
120
120
  } from "./chunk-3HTJBGNP.js";
@@ -144,10 +144,10 @@ import {
144
144
  __name
145
145
  } from "./chunk-ZVVMGPBJ.js";
146
146
 
147
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/server.js
147
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/server.js
148
148
  import { randomUUID } from "node:crypto";
149
149
 
150
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
150
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
151
151
  var agentLog = /* @__PURE__ */ __name((open) => {
152
152
  let held;
153
153
  return {
@@ -166,7 +166,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
166
166
  };
167
167
  }, "agentLog");
168
168
 
169
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/resources.js
169
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/resources.js
170
170
  var LISTED = 100;
171
171
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
172
172
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -204,7 +204,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
204
204
  });
205
205
  }, "registerResources");
206
206
 
207
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/session.js
207
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/session.js
208
208
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
209
209
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
210
210
  var MessengerSession = class {
@@ -279,7 +279,7 @@ var MessengerSession = class {
279
279
  }
280
280
  };
281
281
 
282
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
282
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
283
283
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
284
284
  const _command = messenger.app.command;
285
285
  return {
@@ -333,7 +333,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
333
333
  };
334
334
  }, "attachmentsTools");
335
335
 
336
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
336
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
337
337
  var PHOTO_LIMIT = 512 * 1024;
338
338
  var IMAGE_TYPES = [
339
339
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -387,7 +387,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
387
387
  return new Uint8Array(Buffer.concat(chunks));
388
388
  }, "readUpTo");
389
389
 
390
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
390
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
391
391
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
392
392
  stats_charts: tool({
393
393
  title: "A chart from a chat's statistics",
@@ -424,14 +424,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
424
424
  })
425
425
  }), "statsTools");
426
426
 
427
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/tools.js
427
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/tools.js
428
428
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
429
429
  ...messagesPhotoTools(messenger),
430
430
  ...attachmentsTools(messenger),
431
431
  ...statsTools(messenger)
432
432
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
433
433
 
434
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/server.js
434
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/server.js
435
435
  var PER_RUN = /* @__PURE__ */ new Set([
436
436
  "streams",
437
437
  "stdin",
@@ -758,7 +758,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
758
758
  }, "serveOverStdio");
759
759
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
760
760
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
761
- const { serveOverHttp } = await import("./serve-FNLOUMYP.js");
761
+ const { serveOverHttp } = await import("./serve-OOZFTW3W.js");
762
762
  const appName = messenger.app.command;
763
763
  const appEnvPrefix = messenger.app.envPrefix;
764
764
  const listening = await serveOverHttp(build, {
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  parseReference
5
- } from "./chunk-QS6DWXDB.js";
5
+ } from "./chunk-7R4UU65O.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/domain/links.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/domain/links.js
11
11
  var LINK_VERSION = "v1";
12
12
  var DEFAULT_LINK_CONFIG = { base: "https://wirecat.dev/o", enabled: true };
13
13
  var APP_PREFIX = "wirecat://open";
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/messenger/private-files.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/messenger/private-files.js
8
8
  import { existsSync, statSync } from "node:fs";
9
9
  var shellQuoted = /* @__PURE__ */ __name((path) => `'${path.replaceAll("'", `'\\''`)}'`, "shellQuoted");
10
10
  var privateFiles = /* @__PURE__ */ __name(({ files, dirs }, platform = process.platform) => {
@@ -10,10 +10,10 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/speech/recognize.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/speech/recognize.js
14
14
  import { createRequire } from "node:module";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
17
17
  var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "local transcription needs a complete mono or stereo Ogg Opus recording"), "invalid");
18
18
  var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
19
19
  const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
@@ -70,7 +70,7 @@ var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
70
70
  throw invalid();
71
71
  }, "checkOggDuration");
72
72
 
73
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/speech/recognize.js
73
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/speech/recognize.js
74
74
  var SAMPLE_RATE = 16e3;
75
75
  var LEAD = SAMPLE_RATE / 2;
76
76
  var toModelRate = /* @__PURE__ */ __name((samples, rate) => {
@@ -1,26 +1,39 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ createRenderer,
5
+ fieldsOf,
6
+ processStreams,
7
+ projectFields
8
+ } from "./chunk-HNWDEDMU.js";
9
+ import {
10
+ COMPACT_FLAG
11
+ } from "./chunk-4RJL32PF.js";
3
12
  import {
4
13
  CliError
5
14
  } from "./chunk-EA2OB75T.js";
15
+ import {
16
+ singleLine
17
+ } from "./chunk-HCZYJMBP.js";
6
18
  import {
7
19
  __name
8
20
  } from "./chunk-ZVVMGPBJ.js";
9
21
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/sends/permissions.js
22
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/sends/permissions.js
11
23
  var LEVELS = ["deny", "readonly", "ask", "allow"];
12
24
  var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
13
25
  var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
14
26
  var DEFAULT_PERMISSIONS = {
15
- "messages.delete": "ask",
27
+ // Owner, 2026-11-14: deleting a message does not ask; a profile that wants the question sets `ask`.
28
+ "messages.delete": "allow",
16
29
  "account.sessions.end": "ask",
17
- "bot.messages.delete": "ask",
30
+ "bot.messages.delete": "allow",
18
31
  "topics.enable": "ask",
19
32
  "topics.delete": "ask",
20
33
  "chats.delete": "ask",
21
34
  "chats.clear": "ask",
22
- // NEED-568: a rule writes to people with nobody typing a command; it waits for the owner's own allow.
23
- "replies.send": "deny",
35
+ // Owner, 2026-11-14 (replaces NEED-568): a rule the owner enabled may send; `deny` stops every automatic reply.
36
+ "replies.send": "allow",
24
37
  // NEED-1662: an agent that changes settings, schedules or recipients could lift its own limits; the owner opts in.
25
38
  "mcp.authority": "deny",
26
39
  // NEED-1663: writes no level stopped before, so MCP could not offer them; over MCP `ask` goes ahead.
@@ -93,7 +106,7 @@ var layerPermissions = /* @__PURE__ */ __name((layers) => {
93
106
  for (const [from, layer] of layers) {
94
107
  const nearer = Object.keys(levels);
95
108
  for (const [key, level] of Object.entries(layer ?? {})) {
96
- if (nearer.some((named) => key === named || key.startsWith(`${named}.`)))
109
+ if (nearer.some((named2) => key === named2 || key.startsWith(`${named2}.`)))
97
110
  continue;
98
111
  levels[key] = level;
99
112
  sources[key] = from;
@@ -106,10 +119,10 @@ var ALLOWED = { level: "allow", key: null };
106
119
  var ORDER = { deny: 0, readonly: 1, ask: 2, allow: 3 };
107
120
  var nearest = /* @__PURE__ */ __name((levels, key) => {
108
121
  for (let parts = key.split("."); parts.length > 0; parts = parts.slice(0, -1)) {
109
- const named = parts.join(".");
110
- const level = levels[named];
122
+ const named2 = parts.join(".");
123
+ const level = levels[named2];
111
124
  if (level)
112
- return { level, key: named, depth: parts.length };
125
+ return { level, key: named2, depth: parts.length };
113
126
  }
114
127
  return void 0;
115
128
  }, "nearest");
@@ -188,16 +201,16 @@ var keyForWrite = /* @__PURE__ */ __name((kind, action) => {
188
201
  return KIND_KEYS[kind];
189
202
  }, "keyForWrite");
190
203
  var writeOfKey = /* @__PURE__ */ __name((key) => {
191
- const account = Object.entries(ACCOUNT_KEYS).find(([, named]) => named === key)?.[0];
204
+ const account = Object.entries(ACCOUNT_KEYS).find(([, named2]) => named2 === key)?.[0];
192
205
  if (account)
193
206
  return { kind: "account", action: account };
194
- const kind = Object.entries(KIND_KEYS).find(([, named]) => named === key || key.startsWith(`${named}.`))?.[0];
207
+ const kind = Object.entries(KIND_KEYS).find(([, named2]) => named2 === key || key.startsWith(`${named2}.`))?.[0];
195
208
  if (kind)
196
209
  return { kind };
197
210
  if (key === "messages.unpin")
198
211
  return { kind: "pin" };
199
212
  if (key.startsWith("chats.")) {
200
- const action = Object.entries(CHAT_KEYS).find(([, named]) => named === key)?.[0] ?? key.slice("chats.".length);
213
+ const action = Object.entries(CHAT_KEYS).find(([, named2]) => named2 === key)?.[0] ?? key.slice("chats.".length);
201
214
  return { kind: "chat", action };
202
215
  }
203
216
  return {};
@@ -398,8 +411,8 @@ var permissionOverrides = /* @__PURE__ */ __name((entries = [], shape = RESOURCE
398
411
  }, "permissionOverrides");
399
412
  var assertOverridesTighten = /* @__PURE__ */ __name((overrides, profile, defaults = DEFAULT_PERMISSIONS) => {
400
413
  for (const [key, level] of Object.entries(overrides)) {
401
- const under = Object.keys(profile).filter((named) => named.startsWith(`${key}.`));
402
- const lifted = [key, ...under].find((named) => ORDER[level] > ORDER[levelFor(profile, named, defaults).level]);
414
+ const under = Object.keys(profile).filter((named2) => named2.startsWith(`${key}.`));
415
+ const lifted = [key, ...under].find((named2) => ORDER[level] > ORDER[levelFor(profile, named2, defaults).level]);
403
416
  if (lifted !== void 0)
404
417
  throw new CliError("validation_error", `--permission ${key}=${level} would loosen ${lifted} from ${levelFor(profile, lifted, defaults).level}; it only tightens \u2014 change the profile's permissions to loosen it`, { key, lifted });
405
418
  }
@@ -411,6 +424,133 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
411
424
  }
412
425
  }, "assertRetentionEvidenceRead");
413
426
 
427
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
428
+ var named = /* @__PURE__ */ __name((work) => {
429
+ try {
430
+ return work();
431
+ } catch (error) {
432
+ if (error instanceof CliError && error.code === "validation_error")
433
+ throw new CliError("validation_error", "--json takes comma-separated field paths, for example --json=id,text", {
434
+ param: "--json"
435
+ });
436
+ throw error;
437
+ }
438
+ }, "named");
439
+ var fieldsOf2 = /* @__PURE__ */ __name((value) => named(() => fieldsOf(value)), "fieldsOf");
440
+ var projectCommands = /* @__PURE__ */ __name((commands, fields) => commands.map((command) => ({
441
+ ...projectFields(command, fields),
442
+ path: command.path,
443
+ name: command.name,
444
+ origin: command.origin,
445
+ effects: command.effects,
446
+ commands: projectCommands(command.commands, fields)
447
+ })), "projectCommands");
448
+ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
449
+ if (value && typeof value === "object" && "cli" in value && typeof value.cli === "string" && "contract" in value && "commands" in value && Array.isArray(value.commands))
450
+ return { ...value, commands: projectCommands(value.commands, fields) };
451
+ return projectFields(value, fields);
452
+ }), "projectFields");
453
+
454
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/output-detail.js
455
+ var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
456
+ var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
457
+ var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
458
+ var isRecord = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null, "isRecord");
459
+ var isSnakeHit = /* @__PURE__ */ __name((value) => isRecord(value) && typeof value.ref === "string" && typeof value.excerpt === "string", "isSnakeHit");
460
+ var isHit = /* @__PURE__ */ __name((value) => isSnakeHit(value) || isRecord(value) && typeof value.locator === "string" && typeof value.text === "string", "isHit");
461
+ var picked = /* @__PURE__ */ __name((hit, keys) => Object.fromEntries(keys.flatMap((key) => hit[key] === void 0 || hit[key] === null ? [] : [[key, hit[key]]])), "picked");
462
+ var shaped = /* @__PURE__ */ __name((hit, detail) => {
463
+ if (isSnakeHit(hit))
464
+ return detail === "brief" ? picked(hit, SNAKE_BRIEF) : hit;
465
+ if (detail === "brief")
466
+ return picked(hit, BRIEF);
467
+ const { text, providerMetadata, ...rest } = hit;
468
+ for (const key of RARELY_SET)
469
+ if (rest[key] === null)
470
+ delete rest[key];
471
+ const metadata = rest.email ? void 0 : providerMetadata;
472
+ return {
473
+ ...rest,
474
+ ...typeof rest.excerpt === "string" ? {} : { text },
475
+ ...metadata === void 0 ? {} : { providerMetadata: metadata }
476
+ };
477
+ }, "shaped");
478
+ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
479
+ if (detail === "full")
480
+ return value;
481
+ if (Array.isArray(value))
482
+ return value.map((item) => isHit(item) ? shaped(item, detail) : item);
483
+ if (isHit(value))
484
+ return shaped(value, detail);
485
+ if (typeof value === "object" && value !== null && Array.isArray(value.items))
486
+ return { ...value, items: atDetail(value.items, detail) };
487
+ return value;
488
+ }, "atDetail");
489
+
490
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/output.js
491
+ var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
492
+ const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
493
+ if (other)
494
+ throw new CliError("validation_error", `${COMPACT_FLAG} and ${other} ask for different output \u2014 pick one`, {
495
+ reason: "output.conflict",
496
+ param: COMPACT_FLAG
497
+ });
498
+ }, "refuseCompact");
499
+ var resolveOutput = /* @__PURE__ */ __name(({ json, jsonl, quiet, streams = processStreams, tty, color, fields, hitDetail, env = process.env, capture, compact } = {}) => {
500
+ if (compact)
501
+ refuseCompact({ json, jsonl, fields, hitDetail });
502
+ const interactive = tty ?? process.stdout.isTTY === true;
503
+ const format = jsonl ? "jsonl" : json || compact || !interactive ? "json" : "pretty";
504
+ const painted = format === "pretty" && (color ?? (env.NO_COLOR === void 0 && env.TERM !== "dumb" && !env.CI));
505
+ const printing = createRenderer({ format, color: painted, streams });
506
+ const rendered = capture ? { ...printing, result: capture, stream: /* @__PURE__ */ __name((items) => capture([...items]), "stream") } : printing;
507
+ const level = hitDetail ?? (fields === void 0 ? "default" : "full");
508
+ const standard = format === "pretty" ? rendered : {
509
+ ...rendered,
510
+ result: /* @__PURE__ */ __name((value) => rendered.result(atDetail(value, level)), "result"),
511
+ stream: /* @__PURE__ */ __name((items) => rendered.stream(atDetail([...items], level)), "stream")
512
+ };
513
+ const created = standard;
514
+ const paths = fields === void 0 ? void 0 : fieldsOf2(fields);
515
+ const renderer = format === "pretty" ? oneLineFields(created) : paths ? {
516
+ ...created,
517
+ result: /* @__PURE__ */ __name((value) => created.result(projectFields2(value, paths)), "result"),
518
+ stream: /* @__PURE__ */ __name((items) => created.stream([...items].map((item) => projectFields2(item, paths))), "stream")
519
+ } : created;
520
+ return {
521
+ format,
522
+ color: painted,
523
+ streams,
524
+ renderer: quiet ? silence(renderer) : renderer,
525
+ ...compact ? { compact: true, full: hitDetail === "full" } : {}
526
+ };
527
+ }, "resolveOutput");
528
+ var MULTI_LINE = /* @__PURE__ */ new Set(["text", "description"]);
529
+ var oneLineFields = /* @__PURE__ */ __name((renderer) => ({
530
+ ...renderer,
531
+ result: /* @__PURE__ */ __name((value) => renderer.result(oneLine(value)), "result"),
532
+ stream: /* @__PURE__ */ __name((items) => renderer.stream([...items].map((item) => oneLine(item))), "stream")
533
+ }), "oneLineFields");
534
+ var oneLine = /* @__PURE__ */ __name((value, key) => {
535
+ if (typeof value === "string")
536
+ return key !== void 0 && MULTI_LINE.has(key) ? value : singleLine(value);
537
+ if (Array.isArray(value))
538
+ return value.map((item) => oneLine(item, key));
539
+ if (value !== null && typeof value === "object" && Object.getPrototypeOf(value) === Object.prototype) {
540
+ return Object.fromEntries(Object.entries(value).map(([field, item]) => [field, oneLine(item, field)]));
541
+ }
542
+ return value;
543
+ }, "oneLine");
544
+ var silence = /* @__PURE__ */ __name((renderer) => ({
545
+ ...renderer,
546
+ note: /* @__PURE__ */ __name(() => {
547
+ }, "note"),
548
+ success: /* @__PURE__ */ __name(() => {
549
+ }, "success"),
550
+ warn: /* @__PURE__ */ __name(() => {
551
+ }, "warn")
552
+ }), "silence");
553
+
414
554
  export {
415
555
  LEVELS,
416
556
  skipFlagFor,
@@ -434,5 +574,8 @@ export {
434
574
  COMMAND_PATH_KEY,
435
575
  permissionOverrides,
436
576
  assertOverridesTighten,
437
- assertRetentionEvidenceRead
577
+ assertRetentionEvidenceRead,
578
+ fieldsOf2 as fieldsOf,
579
+ projectFields2 as projectFields,
580
+ resolveOutput
438
581
  };