@wirecat/zoom-cli 0.60.1 → 0.62.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 (182) hide show
  1. package/README.md +3 -3
  2. package/dist/answers.d.ts +16 -0
  3. package/dist/answers.d.ts.map +1 -1
  4. package/dist/bin/zm.js +2 -2
  5. package/dist/bundle/{chunk-3R437ICM.js → all-profiles-CGGNBINU.js} +11 -7
  6. package/dist/bundle/answer-policy-D46SGQ35.js +96 -0
  7. package/dist/bundle/{anthropic-CSLAACWX.js → anthropic-KVWPIHFG.js} +4 -4
  8. package/dist/bundle/{app-server-RYYXX6QV.js → app-server-NKKFBTQN.js} +50 -50
  9. package/dist/bundle/{bun-JVDJVDHL.js → bun-XRO6XJHQ.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-B5CZHAV4.js → bun-sqlite-FWNCLOAR.js} +3 -3
  11. package/dist/bundle/{chunk-HAUAEGGI.js → chunk-2DPMYUWQ.js} +10 -10
  12. package/dist/bundle/{chunk-HBYE4EP2.js → chunk-2LLNPNMB.js} +1 -1
  13. package/dist/bundle/{chunk-WB7MQHUI.js → chunk-2NAM2XQG.js} +2 -2
  14. package/dist/bundle/{chunk-PAEBFJUC.js → chunk-2T7MUSDB.js} +118 -95
  15. package/dist/bundle/{chunk-LPY2ISJK.js → chunk-3YBDRVOG.js} +6 -6
  16. package/dist/bundle/{chunk-WEUXLXOZ.js → chunk-4OQVRDTG.js} +31 -21
  17. package/dist/bundle/{chunk-Q7U627RY.js → chunk-4OTXE6CF.js} +79 -59
  18. package/dist/bundle/{chunk-LPDYI5GR.js → chunk-4UUQEQ5D.js} +1 -1
  19. package/dist/bundle/{chunk-FWJ3Q7NO.js → chunk-5LMQTEU5.js} +5 -5
  20. package/dist/bundle/{chunk-6BJQBVMN.js → chunk-5MYLM6SU.js} +45 -27
  21. package/dist/bundle/{chunk-Z5H47R4G.js → chunk-5NLFQ644.js} +1034 -870
  22. package/dist/bundle/{chunk-XS72YFPV.js → chunk-6R3GMSLR.js} +2 -2
  23. package/dist/bundle/{chunk-AZZPMHP2.js → chunk-6SK5SHCR.js} +2 -2
  24. package/dist/bundle/{chunk-TY5PBEH2.js → chunk-6SPWQCJF.js} +11 -11
  25. package/dist/bundle/{chunk-EUHQ5D4K.js → chunk-6URISMGR.js} +26 -26
  26. package/dist/bundle/{chunk-43BX56ZI.js → chunk-72S5TXFN.js} +9 -9
  27. package/dist/bundle/{chunk-OBUKZ2ZM.js → chunk-73BAQ7PH.js} +31 -211
  28. package/dist/bundle/{chunk-3LBA63D5.js → chunk-7AY3ADNV.js} +22 -5
  29. package/dist/bundle/{chunk-RACSKYNX.js → chunk-7CNRZSAV.js} +7 -5
  30. package/dist/bundle/{chunk-IQENQXUJ.js → chunk-7LQLJ7LW.js} +2 -2
  31. package/dist/bundle/{chunk-EN5DBDKW.js → chunk-AMIIU3UZ.js} +4 -4
  32. package/dist/bundle/{chunk-RUEPZTNA.js → chunk-BJPFWPKH.js} +2 -2
  33. package/dist/bundle/{chunk-KNAS4VEA.js → chunk-BNTAQADF.js} +2 -2
  34. package/dist/bundle/{chunk-PEMLI3T7.js → chunk-BPMKLWHV.js} +6 -4
  35. package/dist/bundle/chunk-CXPHUOJR.js +380 -0
  36. package/dist/bundle/{chunk-LVHZQCP4.js → chunk-D6FTCPXA.js} +14 -10
  37. package/dist/bundle/{chunk-IRX2YVAH.js → chunk-DIXC56OU.js} +4 -4
  38. package/dist/bundle/{chunk-WFT2GGFH.js → chunk-ECXRRW7J.js} +25 -22
  39. package/dist/bundle/{chunk-KXEC5FVT.js → chunk-EG7HC4EC.js} +2 -2
  40. package/dist/bundle/{chunk-GEVHI226.js → chunk-EJFSS65P.js} +6 -6
  41. package/dist/bundle/{chunk-HIAO4MPA.js → chunk-EOEDICIE.js} +1 -1
  42. package/dist/bundle/{chunk-BO7J5Z3T.js → chunk-FAOLCUKV.js} +17 -17
  43. package/dist/bundle/{chunk-ZK7Y5K63.js → chunk-FDCGTODC.js} +1 -1
  44. package/dist/bundle/{chunk-IQSBMAYB.js → chunk-GOESXUJQ.js} +3 -3
  45. package/dist/bundle/{chunk-AOZGGGUK.js → chunk-HIZQYFY3.js} +3 -3
  46. package/dist/bundle/{chunk-YLATWUE7.js → chunk-IK2OSV5C.js} +6 -6
  47. package/dist/bundle/{chunk-46R2JTGO.js → chunk-IOCS5FXW.js} +2 -2
  48. package/dist/bundle/{chunk-Y3YURIZF.js → chunk-IOUPXUFH.js} +52 -38
  49. package/dist/bundle/{chunk-ZXQCA3ZW.js → chunk-IR73ZZY6.js} +8 -8
  50. package/dist/bundle/{chunk-EF2RCQ3L.js → chunk-JBBZCTTF.js} +1 -1
  51. package/dist/bundle/{chunk-OEEMCNAO.js → chunk-JDJDVYGS.js} +6 -6
  52. package/dist/bundle/{chunk-PATM7JGR.js → chunk-JYVFFUIX.js} +1 -1
  53. package/dist/bundle/{chunk-W5EUHV3J.js → chunk-KM7Q67Z3.js} +1 -1
  54. package/dist/bundle/{chunk-FZMRHNOP.js → chunk-KMQUZ4YM.js} +3 -3
  55. package/dist/bundle/{chunk-VLE3FWE3.js → chunk-LXYC75D3.js} +120 -32
  56. package/dist/bundle/{chunk-V53IB5AU.js → chunk-M2WQWF3I.js} +47 -47
  57. package/dist/bundle/{chunk-X7YPTYM4.js → chunk-M6FCCVYZ.js} +16 -3
  58. package/dist/bundle/{chunk-4TCQT57W.js → chunk-M7YNOK4D.js} +408 -420
  59. package/dist/bundle/chunk-MI3JK6MW.js +335 -0
  60. package/dist/bundle/{chunk-ES6UWVTM.js → chunk-MIUPH3WA.js} +6 -6
  61. package/dist/bundle/{chunk-VJBVNDFR.js → chunk-MLNC5N7H.js} +3 -3
  62. package/dist/bundle/{chunk-UWVNY5CA.js → chunk-N3KQ7XND.js} +2 -2
  63. package/dist/bundle/{chunk-VKUS2V4L.js → chunk-NQCFUYC2.js} +8 -8
  64. package/dist/bundle/{chunk-KYUIU5UR.js → chunk-Q4ZE2LXE.js} +2 -2
  65. package/dist/bundle/{chunk-VVKHF6VJ.js → chunk-QLQ7VVLK.js} +49 -24
  66. package/dist/bundle/{chunk-K6NPOZUP.js → chunk-QUWMFBMS.js} +7 -7
  67. package/dist/bundle/{chunk-WWNZS7ZY.js → chunk-RWG44LQD.js} +16 -4
  68. package/dist/bundle/{chunk-R4SRXI7M.js → chunk-SB47UAW2.js} +187 -113
  69. package/dist/bundle/{chunk-N27LOY3D.js → chunk-SEH7DBAM.js} +7 -7
  70. package/dist/bundle/{chunk-YEZQ7SD7.js → chunk-SPJJCD2A.js} +13 -13
  71. package/dist/bundle/{chunk-CGCJ6P3A.js → chunk-TILW3EJY.js} +696 -418
  72. package/dist/bundle/{chunk-XLJV3ZOH.js → chunk-TQFCPUIM.js} +1 -1
  73. package/dist/bundle/{chunk-ZDRDCANC.js → chunk-TZE6WXID.js} +693 -336
  74. package/dist/bundle/{chunk-XX7KVQIG.js → chunk-UD4FKICZ.js} +4 -4
  75. package/dist/bundle/{chunk-MFS52LTZ.js → chunk-UIPT6IAU.js} +1 -1
  76. package/dist/bundle/{chunk-QKSCDALS.js → chunk-URJZK4GX.js} +1 -1
  77. package/dist/bundle/{decode-CTQJQYNU.js → chunk-VFJ3MOIR.js} +21 -18
  78. package/dist/bundle/{chunk-REC3AZP6.js → chunk-XAXXEZZ5.js} +2 -2
  79. package/dist/bundle/{chunk-Z4D6M62I.js → chunk-YBMOFCY5.js} +2 -2
  80. package/dist/bundle/{chunk-PPHUBORC.js → chunk-YF2PT5KA.js} +32 -34
  81. package/dist/bundle/chunk-YFIUXE25.js +217 -0
  82. package/dist/bundle/{chunk-7IDNHVJS.js → chunk-YI6ZNDPC.js} +22 -12
  83. package/dist/bundle/{chunk-HYZ545ON.js → chunk-YJN4XYNA.js} +2 -2
  84. package/dist/bundle/{cli-CYKEKT5P.js → cli-AHPIESAC.js} +70 -54
  85. package/dist/bundle/command-contract-HVLI3OKU.js +38 -0
  86. package/dist/bundle/config-UW6W34I2.js +78 -0
  87. package/dist/bundle/decode-ZU7WLMMV.js +20 -0
  88. package/dist/bundle/{dist-YLSQKPPY.js → dist-LTS7VI3S.js} +14 -14
  89. package/dist/bundle/{echarts-4OQHS575.js → echarts-YNGCOYHW.js} +2 -2
  90. package/dist/bundle/{embed-P2BKRRJD.js → embed-VWWOW7PP.js} +4 -4
  91. package/dist/bundle/{embedder-HC6ZARP5.js → embedder-T5GJC7M2.js} +7 -7
  92. package/dist/bundle/{first-run-UERFFXBV.js → first-run-PX3SHPUU.js} +8 -8
  93. package/dist/bundle/first-screen-RAPEZG57.js +36 -0
  94. package/dist/bundle/{folders-RSLPTZLJ.js → folders-VXMDFC2D.js} +2 -2
  95. package/dist/bundle/{instructions-3QZBKKPF.js → instructions-GJHHFV64.js} +1 -1
  96. package/dist/bundle/{main-2T6D77JC.js → main-IYCD6MBH.js} +16 -16
  97. package/dist/bundle/{mcp-OQBZXELQ.js → mcp-EMNFFY4N.js} +2 -2
  98. package/dist/bundle/{meetings-ZIDSQZBJ.js → meetings-GHYNIOHG.js} +4 -4
  99. package/dist/bundle/{node-R2BLYUSB.js → node-GFOH6FKP.js} +2 -2
  100. package/dist/bundle/{node-sqlite-7CGHAHIS.js → node-sqlite-QXKSPHTP.js} +3 -3
  101. package/dist/bundle/{oauth-UBCYXTWV.js → oauth-A6I2OMDD.js} +5 -5
  102. package/dist/bundle/{open-AWUB4Q7Z.js → open-TQKCU447.js} +2 -2
  103. package/dist/bundle/openai-XE3BJXOI.js +22 -0
  104. package/dist/bundle/{output-file-SN22HAVL.js → output-file-FQNFCUKE.js} +3 -3
  105. package/dist/bundle/{process-IX5YWGDP.js → process-XVDX4SPD.js} +1 -1
  106. package/dist/bundle/{program-STYPTNT3.js → program-UYK4AD2W.js} +415 -428
  107. package/dist/bundle/{prompt-MAYUHEGN.js → prompt-ISYG5RWM.js} +3 -3
  108. package/dist/bundle/{recognize-FVTNXRTF.js → recognize-KENPECLZ.js} +4 -2
  109. package/dist/bundle/{remote-WCPRU73L.js → remote-ZP5XTDCC.js} +5 -5
  110. package/dist/bundle/{rerank-6CBLZBCV.js → rerank-SG653RHT.js} +5 -5
  111. package/dist/bundle/{run-log-G4WZTOBW.js → run-log-HYKGQ42E.js} +53 -53
  112. package/dist/bundle/{chunk-XNUFDYR6.js → serve-6UJCZD7Z.js} +8 -6
  113. package/dist/bundle/server-AXE37E6Q.js +66 -0
  114. package/dist/bundle/{chunk-INARC5O7.js → server-ZAYEDPFR.js} +43 -10
  115. package/dist/bundle/{services-326Z3TNE.js → services-KMH7XZPY.js} +37 -26
  116. package/dist/bundle/{speech-KSZ7RKM3.js → speech-LINBLG5E.js} +28 -5
  117. package/dist/bundle/{state-EPB3L2JM.js → state-4RKZNHE7.js} +4 -4
  118. package/dist/bundle/{store-7WX7SW2R.js → store-253N7NUC.js} +15 -15
  119. package/dist/bundle/{store-KO242JBK.js → store-JTBHRQZK.js} +13 -13
  120. package/dist/bundle/store-connection-PWLUMCP7.js +76 -0
  121. package/dist/bundle/store-maintenance-command-XRNECVDU.js +55 -0
  122. package/dist/bundle/{streaming-M6VDKBBH.js → streaming-YW64OKKQ.js} +4 -4
  123. package/dist/bundle/{tokens-BTNXHR7T.js → tokens-DPBC2P3I.js} +4 -4
  124. package/dist/bundle/zm.js +1 -1
  125. package/dist/commands.d.ts +1 -2
  126. package/dist/commands.d.ts.map +1 -1
  127. package/dist/commands.js +3 -16
  128. package/dist/commands.js.map +1 -1
  129. package/dist/contract-overrides.d.ts +0 -2
  130. package/dist/contract-overrides.d.ts.map +1 -1
  131. package/dist/contract-overrides.js +0 -158
  132. package/dist/contract-overrides.js.map +1 -1
  133. package/dist/program-bindings.d.ts +1 -1
  134. package/dist/program-bindings.d.ts.map +1 -1
  135. package/dist/program-bindings.js +16 -18
  136. package/dist/program-bindings.js.map +1 -1
  137. package/dist/program.d.ts +2 -4
  138. package/dist/program.d.ts.map +1 -1
  139. package/dist/program.js.map +1 -1
  140. package/dist/read-only.d.ts.map +1 -1
  141. package/dist/read-only.js +3 -0
  142. package/dist/read-only.js.map +1 -1
  143. package/dist/run.d.ts.map +1 -1
  144. package/dist/run.js +82 -32
  145. package/dist/run.js.map +1 -1
  146. package/dist/setup-commands.d.ts.map +1 -1
  147. package/dist/setup-commands.js +8 -46
  148. package/dist/setup-commands.js.map +1 -1
  149. package/dist/store-commands.d.ts.map +1 -1
  150. package/dist/store-commands.js +4 -1
  151. package/dist/store-commands.js.map +1 -1
  152. package/dist/tokens.d.ts +6 -1
  153. package/dist/tokens.d.ts.map +1 -1
  154. package/dist/tokens.js +21 -10
  155. package/dist/tokens.js.map +1 -1
  156. package/dist/version.d.ts +1 -1
  157. package/dist/version.js +1 -1
  158. package/package.json +3 -3
  159. package/dist/bundle/all-profiles-E6KXASLY.js +0 -25
  160. package/dist/bundle/answer-policy-YWCC55NB.js +0 -96
  161. package/dist/bundle/chunk-DBSWVZES.js +0 -48
  162. package/dist/bundle/chunk-WYRYLBST.js +0 -390
  163. package/dist/bundle/chunk-YLBNPI7H.js +0 -2
  164. package/dist/bundle/command-contract-P45QCCXM.js +0 -38
  165. package/dist/bundle/config-JYKTLEA3.js +0 -79
  166. package/dist/bundle/first-screen-VFIS7FX3.js +0 -36
  167. package/dist/bundle/mcp-4VHVUMCR.js +0 -92
  168. package/dist/bundle/mcp-6CLW2IZM.js +0 -189
  169. package/dist/bundle/serve-3IDUVTZL.js +0 -19
  170. package/dist/bundle/server-7GU36TER.js +0 -66
  171. package/dist/bundle/server-VHRS5UAL.js +0 -53
  172. package/dist/bundle/store-connection-K3MNDCQQ.js +0 -76
  173. package/dist/bundle/store-maintenance-command-GJDJYI2U.js +0 -54
  174. package/dist/mcp-command.d.ts +0 -33
  175. package/dist/mcp-command.d.ts.map +0 -1
  176. package/dist/mcp-command.js +0 -143
  177. package/dist/mcp-command.js.map +0 -1
  178. package/dist/mcp.d.ts +0 -30
  179. package/dist/mcp.d.ts.map +0 -1
  180. package/dist/mcp.js +0 -110
  181. package/dist/mcp.js.map +0 -1
  182. /package/dist/bundle/{chunk-O5EHUB2V.js → chunk-NPGVOZVK.js} +0 -0
package/README.md CHANGED
@@ -94,7 +94,7 @@ More: [the local archive][docs/archive.md] · [search and evidence][docs/search.
94
94
  - **Command line + skill.** `zm skill install` adds the packaged guide for Claude Code, Codex and
95
95
  Gemini CLI. Every command speaks `--json` or `--jsonl`, and `zm commands --json` describes them all.
96
96
  - **MCP.** `zm personal mcp serve` serves zm's commands to Claude Desktop, Cursor and other MCP clients, as
97
- far as the profile's permissions allow; `zm mcp serve --profiles all` serves every profile from one server.
97
+ far as the profile's permissions allow; `zm mcp serve --profiles all` serves every profile from one server, and `--http` serves browser apps behind your tunnel.
98
98
  [Connecting a client][docs/mcp.md].
99
99
 
100
100
  Your agent. Your meetings. Your rules.
@@ -157,7 +157,7 @@ More: [compared with other tools](https://github.com/WireCatLabs/zoom-cli/blob/m
157
157
  | Zoom contacts | `contacts list [name:… email:… type:company\|external]`, `contacts show <member id\|email>` |
158
158
  | What zm did | `runs list [query]`, `runs show <run-id> [--problems]`, `runs path <run-id>`; `--record` keeps a successful run too |
159
159
  | Zoom's own search | `zoom search`: chat, docs and meetings zm does not archive, read live |
160
- | Agents | `mcp serve`, `skill show`, `skill install [--for claude\|agents\|all]`, `commands --json`, `complete -- <words...>` |
160
+ | Agents | `mcp serve [--profiles <names\|all>] [--http] [--permission <key=level>]`, `mcp add`, `mcp check`, `mcp config`, `mcp revoke`, `mcp server start\|stop\|status`, `skill show`, `skill install [--for claude\|agents\|all]`, `commands --json`, `complete -- <words...>` |
161
161
 
162
162
  Zoom meeting changes, links, transcription, schedules, explicit `meetings embeddings` generation and
163
163
  lock recovery preview by default and run once with `--yes`; `--dry-run` keeps the preview. Word search
@@ -332,7 +332,7 @@ More: [configuration][docs/configuration.md] · [Zoom on wirecat.dev][wirecat/en
332
332
  - Network: Zoom's API, plus an embedding endpoint only when you name one. `--offline` refuses both.
333
333
  - Manifests and saved jobs never hold signed URLs, tokens or credentials; diagnostics omit raw
334
334
  provider error text.
335
- - The MCP server offers reads and writes for one fixed profile, limited by its permissions; `ask` writes run without a terminal question.
335
+ - The MCP server offers reads and writes for the profile it serves (or each profile `--profiles` names), limited by its permissions; `ask` writes run without a terminal question.
336
336
  - `ZM_READ_ONLY=1` refuses changes to Zoom, the login, settings and anything you added (imports, links,
337
337
  transcripts, exports, jobs), with exit 5, before any network call; reads and the syncs that copy Zoom into
338
338
  the store or an archive still run. Give it to an agent that should only read.
package/dist/answers.d.ts CHANGED
@@ -9,11 +9,19 @@ export declare const answerSchema: v.UnionSchema<[v.StrictObjectSchema<{
9
9
  readonly limit: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
10
10
  readonly has_more: v.BooleanSchema<undefined>;
11
11
  readonly next_page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 2, undefined>]>, undefined>;
12
+ readonly total: v.OptionalSchema<v.StrictObjectSchema<{
13
+ readonly value: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
14
+ readonly relation: v.PicklistSchema<["eq", "gte"], undefined>;
15
+ }, undefined>, undefined>;
12
16
  }, undefined>, v.StrictObjectSchema<{
13
17
  readonly mode: v.LiteralSchema<"cursor", undefined>;
14
18
  readonly limit: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
15
19
  readonly has_more: v.BooleanSchema<undefined>;
16
20
  readonly next_cursor: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "must not be empty">]>, undefined>;
21
+ readonly total: v.OptionalSchema<v.StrictObjectSchema<{
22
+ readonly value: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
23
+ readonly relation: v.PicklistSchema<["eq", "gte"], undefined>;
24
+ }, undefined>, undefined>;
17
25
  }, undefined>], undefined>;
18
26
  readonly next: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.VariantSchema<"kind", [v.StrictObjectSchema<{
19
27
  readonly kind: v.LiteralSchema<"command", undefined>;
@@ -130,11 +138,19 @@ export declare const toolAnswer: (value: unknown, meta: Meta, registry?: Command
130
138
  limit: number;
131
139
  has_more: boolean;
132
140
  next_page?: number | undefined;
141
+ total?: {
142
+ value: number;
143
+ relation: "eq" | "gte";
144
+ } | undefined;
133
145
  } | {
134
146
  mode: "cursor";
135
147
  limit: number;
136
148
  has_more: boolean;
137
149
  next_cursor?: string | undefined;
150
+ total?: {
151
+ value: number;
152
+ relation: "eq" | "gte";
153
+ } | undefined;
138
154
  };
139
155
  next?: ({
140
156
  kind: "command";
@@ -1 +1 @@
1
- {"version":3,"file":"answers.d.ts","sourceRoot":"","sources":["../src/answers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAA;AAExD,OAAO,EAAmC,KAAK,IAAI,EAAE,MAAM,6BAA6B,CAAA;AAExF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACxC,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAG5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAAuB,CAAA;AAEhD,eAAO,MAAM,gBAAgB,EAAE,WAAW,CAAC,IAAI,CAAC,cAAc,CAAC,CAAuC,CAAA;AAEtG,eAAO,MAAM,YAAY,SAAS,MAAM,MAAM,UAAoB,MAAM,KAAkB,CAAC,MAAM,IAAI,CAGpG,CAAA;AAED,8GAA8G;AAC9G,eAAO,MAAM,UAAU,UAAW,OAAO,QAAQ,IAAI,aAAa,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAexE,CAAA"}
1
+ {"version":3,"file":"answers.d.ts","sourceRoot":"","sources":["../src/answers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAA;AAExD,OAAO,EAAmC,KAAK,IAAI,EAAE,MAAM,6BAA6B,CAAA;AAExF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACxC,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAG5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAAuB,CAAA;AAEhD,eAAO,MAAM,gBAAgB,EAAE,WAAW,CAAC,IAAI,CAAC,cAAc,CAAC,CAAuC,CAAA;AAEtG,eAAO,MAAM,YAAY,SAAS,MAAM,MAAM,UAAoB,MAAM,KAAkB,CAAC,MAAM,IAAI,CAGpG,CAAA;AAED,8GAA8G;AAC9G,eAAO,MAAM,UAAU,UAAW,OAAO,QAAQ,IAAI,aAAa,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAexE,CAAA"}
package/dist/bin/zm.js CHANGED
@@ -9,7 +9,7 @@ if (
9
9
  (words[0] === "--version" || words[0] === "-V") &&
10
10
  !Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
11
11
  ) {
12
- process.stdout.write("0.60.1\n")
12
+ process.stdout.write("0.62.0\n")
13
13
  } else {
14
14
  // Before the bundle compiles: the bundle's own call comes after its chunks.
15
15
  module.enableCompileCache()
@@ -29,7 +29,7 @@ if (
29
29
  })
30
30
  }
31
31
  const running = import("../bundle/zm.js")
32
- const chunks = ["../bundle/all-profiles-E6KXASLY.js","../bundle/answer-policy-YWCC55NB.js","../bundle/anthropic-CSLAACWX.js","../bundle/app-server-RYYXX6QV.js","../bundle/bun-JVDJVDHL.js","../bundle/bun-sqlite-B5CZHAV4.js","../bundle/cli-CYKEKT5P.js","../bundle/command-contract-P45QCCXM.js","../bundle/config-JYKTLEA3.js","../bundle/decode-CTQJQYNU.js","../bundle/dist-XUFQCJXW.js","../bundle/dist-YLSQKPPY.js","../bundle/echarts-4OQHS575.js","../bundle/embed-P2BKRRJD.js","../bundle/embedder-HC6ZARP5.js","../bundle/first-run-UERFFXBV.js","../bundle/first-screen-VFIS7FX3.js","../bundle/folders-RSLPTZLJ.js","../bundle/instructions-3QZBKKPF.js","../bundle/main-2T6D77JC.js","../bundle/mcp-4VHVUMCR.js","../bundle/mcp-6CLW2IZM.js","../bundle/mcp-OQBZXELQ.js","../bundle/meetings-ZIDSQZBJ.js","../bundle/node-P4E63KXA.js","../bundle/node-R2BLYUSB.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-7CGHAHIS.js","../bundle/oauth-UBCYXTWV.js","../bundle/open-AWUB4Q7Z.js","../bundle/output-file-SN22HAVL.js","../bundle/process-IX5YWGDP.js","../bundle/program-STYPTNT3.js","../bundle/prompt-MAYUHEGN.js","../bundle/recognize-FVTNXRTF.js","../bundle/remote-WCPRU73L.js","../bundle/rerank-6CBLZBCV.js","../bundle/run-log-G4WZTOBW.js","../bundle/serve-3IDUVTZL.js","../bundle/server-7GU36TER.js","../bundle/server-VHRS5UAL.js","../bundle/services-326Z3TNE.js","../bundle/speech-KSZ7RKM3.js","../bundle/state-EPB3L2JM.js","../bundle/store-7WX7SW2R.js","../bundle/store-KO242JBK.js","../bundle/store-connection-K3MNDCQQ.js","../bundle/store-maintenance-command-GJDJYI2U.js","../bundle/streaming-M6VDKBBH.js","../bundle/tokens-BTNXHR7T.js"]
32
+ const chunks = ["../bundle/all-profiles-CGGNBINU.js","../bundle/answer-policy-D46SGQ35.js","../bundle/anthropic-KVWPIHFG.js","../bundle/app-server-NKKFBTQN.js","../bundle/bun-XRO6XJHQ.js","../bundle/bun-sqlite-FWNCLOAR.js","../bundle/cli-AHPIESAC.js","../bundle/command-contract-HVLI3OKU.js","../bundle/config-UW6W34I2.js","../bundle/decode-ZU7WLMMV.js","../bundle/dist-LTS7VI3S.js","../bundle/dist-XUFQCJXW.js","../bundle/echarts-YNGCOYHW.js","../bundle/embed-VWWOW7PP.js","../bundle/embedder-T5GJC7M2.js","../bundle/first-run-PX3SHPUU.js","../bundle/first-screen-RAPEZG57.js","../bundle/folders-VXMDFC2D.js","../bundle/instructions-GJHHFV64.js","../bundle/main-IYCD6MBH.js","../bundle/mcp-EMNFFY4N.js","../bundle/meetings-GHYNIOHG.js","../bundle/node-GFOH6FKP.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-QXKSPHTP.js","../bundle/oauth-A6I2OMDD.js","../bundle/open-TQKCU447.js","../bundle/openai-XE3BJXOI.js","../bundle/output-file-FQNFCUKE.js","../bundle/process-XVDX4SPD.js","../bundle/program-UYK4AD2W.js","../bundle/prompt-ISYG5RWM.js","../bundle/recognize-KENPECLZ.js","../bundle/remote-ZP5XTDCC.js","../bundle/rerank-SG653RHT.js","../bundle/run-log-HYKGQ42E.js","../bundle/serve-6UJCZD7Z.js","../bundle/server-AXE37E6Q.js","../bundle/server-ZAYEDPFR.js","../bundle/services-KMH7XZPY.js","../bundle/speech-LINBLG5E.js","../bundle/state-4RKZNHE7.js","../bundle/store-253N7NUC.js","../bundle/store-JTBHRQZK.js","../bundle/store-connection-PWLUMCP7.js","../bundle/store-maintenance-command-XRNECVDU.js","../bundle/streaming-YW64OKKQ.js","../bundle/tokens-DPBC2P3I.js"]
33
33
  // After the server answers its first request, so it starts no later.
34
34
  if (serves) setTimeout(() => void Promise.allSettled(chunks.map((chunk) => import(chunk))), 2000).unref()
35
35
  await running
@@ -2,22 +2,27 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answeredWire
5
- } from "./chunk-EF2RCQ3L.js";
5
+ } from "./chunk-JBBZCTTF.js";
6
6
  import {
7
7
  CALLER_META_KEY,
8
8
  PROXY_CLIENT_NAME,
9
9
  StdioServerTransport,
10
10
  callerOf,
11
11
  serveStdio
12
- } from "./chunk-KNAS4VEA.js";
12
+ } from "./chunk-BNTAQADF.js";
13
13
  import {
14
14
  McpServer
15
15
  } from "./chunk-5D4AEUVA.js";
16
+ import "./chunk-NQCFUYC2.js";
17
+ import "./chunk-7LQLJ7LW.js";
18
+ import "./chunk-NPGVOZVK.js";
19
+ import "./chunk-SB47UAW2.js";
20
+ import "./chunk-Y5E2WNWB.js";
16
21
  import {
17
22
  __name
18
23
  } from "./chunk-ZVVMGPBJ.js";
19
24
 
20
- // 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/all-profiles.js
25
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
21
26
  import { spawn } from "node:child_process";
22
27
  import { randomUUID } from "node:crypto";
23
28
  var PROTOCOL = "2025-06-18";
@@ -251,7 +256,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
251
256
  }, "serveAllProfilesOverStdio");
252
257
  var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
253
258
  const { build, close } = allProfilesServer(options);
254
- const { serveOverHttp } = await import("./serve-3IDUVTZL.js");
259
+ const { serveOverHttp } = await import("./serve-6UJCZD7Z.js");
255
260
  const listening = await serveOverHttp(build, {
256
261
  ...http,
257
262
  appName: options.command,
@@ -271,11 +276,10 @@ var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
271
276
  }, "close")
272
277
  };
273
278
  }, "serveAllProfilesOverHttp");
274
-
275
279
  export {
276
280
  CHILD_IDLE_MS,
277
- withProfile,
278
281
  allProfilesServer,
282
+ serveAllProfilesOverHttp,
279
283
  serveAllProfilesOverStdio,
280
- serveAllProfilesOverHttp
284
+ withProfile
281
285
  };
@@ -0,0 +1,96 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ VERSION
5
+ } from "./chunk-JYVFFUIX.js";
6
+ import "./chunk-TZE6WXID.js";
7
+ import "./chunk-2DPMYUWQ.js";
8
+ import "./chunk-2LLNPNMB.js";
9
+ import "./chunk-FDCGTODC.js";
10
+ import "./chunk-LXYC75D3.js";
11
+ import "./chunk-SPJJCD2A.js";
12
+ import "./chunk-UD4FKICZ.js";
13
+ import "./chunk-M2WQWF3I.js";
14
+ import "./chunk-6URISMGR.js";
15
+ import "./chunk-ECXRRW7J.js";
16
+ import "./chunk-GOESXUJQ.js";
17
+ import "./chunk-5NLFQ644.js";
18
+ import "./chunk-CXPHUOJR.js";
19
+ import "./chunk-FAOLCUKV.js";
20
+ import "./chunk-SEH7DBAM.js";
21
+ import "./chunk-JDJDVYGS.js";
22
+ import "./chunk-2T7MUSDB.js";
23
+ import {
24
+ judgedEffects,
25
+ judgedTargets
26
+ } from "./chunk-IOUPXUFH.js";
27
+ import "./chunk-Q4ZE2LXE.js";
28
+ import "./chunk-KM7Q67Z3.js";
29
+ import "./chunk-NQCFUYC2.js";
30
+ import "./chunk-4OQVRDTG.js";
31
+ import "./chunk-7LQLJ7LW.js";
32
+ import "./chunk-RWG44LQD.js";
33
+ import "./chunk-6SPWQCJF.js";
34
+ import "./chunk-7CNRZSAV.js";
35
+ import "./chunk-UIPT6IAU.js";
36
+ import "./chunk-DIXC56OU.js";
37
+ import "./chunk-72S5TXFN.js";
38
+ import {
39
+ failureContext
40
+ } from "./chunk-M6FCCVYZ.js";
41
+ import "./chunk-YJN4XYNA.js";
42
+ import "./chunk-3YBDRVOG.js";
43
+ import "./chunk-HTQTIKWP.js";
44
+ import "./chunk-AMIIU3UZ.js";
45
+ import "./chunk-HIZQYFY3.js";
46
+ import "./chunk-MLNC5N7H.js";
47
+ import "./chunk-6SK5SHCR.js";
48
+ import "./chunk-XAXXEZZ5.js";
49
+ import "./chunk-2NAM2XQG.js";
50
+ import "./chunk-KMQUZ4YM.js";
51
+ import "./chunk-EJFSS65P.js";
52
+ import "./chunk-BPMKLWHV.js";
53
+ import "./chunk-TILW3EJY.js";
54
+ import "./chunk-QUWMFBMS.js";
55
+ import "./chunk-IR73ZZY6.js";
56
+ import "./chunk-5LMQTEU5.js";
57
+ import "./chunk-MIUPH3WA.js";
58
+ import "./chunk-YBMOFCY5.js";
59
+ import "./chunk-EG7HC4EC.js";
60
+ import "./chunk-IK2OSV5C.js";
61
+ import "./chunk-4OTXE6CF.js";
62
+ import "./chunk-D6FTCPXA.js";
63
+ import "./chunk-NPGVOZVK.js";
64
+ import {
65
+ errorObjectOf,
66
+ errorRecordOf,
67
+ exitCodeOfError,
68
+ renderError
69
+ } from "./chunk-SB47UAW2.js";
70
+ import "./chunk-Y5E2WNWB.js";
71
+ import "./chunk-EOEDICIE.js";
72
+ import {
73
+ __name
74
+ } from "./chunk-ZVVMGPBJ.js";
75
+
76
+ // dist/answer-policy.js
77
+ var hostFailureContext = /* @__PURE__ */ __name((registry, effects) => ({
78
+ ...failureContext(),
79
+ ...effects ? { effects: judgedEffects(effects) } : {},
80
+ ...registry ? { targets: judgedTargets(registry) } : {}
81
+ }), "hostFailureContext");
82
+ var reportFailure = /* @__PURE__ */ __name((failure, args, deps, command = "zm", context = hostFailureContext()) => {
83
+ const end = args.indexOf("--");
84
+ const flags = args.slice(0, end < 0 ? void 0 : end);
85
+ const machine = flags.some((word) => word === "--json" || word === "--jsonl");
86
+ const object = errorObjectOf(failure, context);
87
+ const record = flags.includes("--debug") ? errorRecordOf(failure, object, { command, service: "zm", version: VERSION }) : void 0;
88
+ const interactive = deps.outputIsTTY === true && !machine;
89
+ deps.diagnostic(`${renderError(object, { cli: "zm", interactive, ...record ? { record } : {} })}
90
+ `);
91
+ return exitCodeOfError(object);
92
+ }, "reportFailure");
93
+ export {
94
+ hostFailureContext,
95
+ reportFailure
96
+ };
@@ -2,11 +2,11 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  checkedOptions
5
- } from "./chunk-REC3AZP6.js";
5
+ } from "./chunk-XAXXEZZ5.js";
6
6
  import {
7
7
  messagesFor,
8
8
  systemFor
9
- } from "./chunk-WB7MQHUI.js";
9
+ } from "./chunk-2NAM2XQG.js";
10
10
  import {
11
11
  Anthropic
12
12
  } from "./chunk-ADLS6FVG.js";
@@ -15,13 +15,13 @@ import {
15
15
  optional,
16
16
  strictObject,
17
17
  string
18
- } from "./chunk-R4SRXI7M.js";
18
+ } from "./chunk-SB47UAW2.js";
19
19
  import "./chunk-Y5E2WNWB.js";
20
20
  import {
21
21
  __name
22
22
  } from "./chunk-ZVVMGPBJ.js";
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/models/anthropic.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/models/anthropic.js
25
25
  var options = strictObject({
26
26
  stop_sequences: optional(array(string()))
27
27
  });
@@ -3,45 +3,45 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PER_RUN,
5
5
  envelope
6
- } from "./chunk-PPHUBORC.js";
6
+ } from "./chunk-YF2PT5KA.js";
7
7
  import {
8
8
  answered,
9
9
  failed,
10
10
  registerCommands,
11
11
  runCommandForAgent,
12
12
  toolsFromCommands
13
- } from "./chunk-6BJQBVMN.js";
14
- import "./chunk-VLE3FWE3.js";
13
+ } from "./chunk-5MYLM6SU.js";
15
14
  import {
16
15
  mcpUrlOf
17
- } from "./chunk-DBSWVZES.js";
16
+ } from "./chunk-LXYC75D3.js";
18
17
  import {
19
18
  agentJson,
20
19
  skillResource
21
- } from "./chunk-YEZQ7SD7.js";
20
+ } from "./chunk-SPJJCD2A.js";
22
21
  import {
23
22
  appInstructions
24
- } from "./chunk-XLJV3ZOH.js";
23
+ } from "./chunk-TQFCPUIM.js";
25
24
  import {
26
25
  mcpHttpMarker
27
- } from "./chunk-XX7KVQIG.js";
26
+ } from "./chunk-UD4FKICZ.js";
28
27
  import {
29
28
  answeredWire
30
- } from "./chunk-EF2RCQ3L.js";
29
+ } from "./chunk-JBBZCTTF.js";
31
30
  import {
32
31
  StdioServerTransport,
33
32
  serveStdio
34
- } from "./chunk-KNAS4VEA.js";
33
+ } from "./chunk-BNTAQADF.js";
35
34
  import {
36
35
  McpServer
37
36
  } from "./chunk-5D4AEUVA.js";
38
- import "./chunk-EUHQ5D4K.js";
39
- import "./chunk-WFT2GGFH.js";
40
- import "./chunk-IQSBMAYB.js";
41
- import "./chunk-Z5H47R4G.js";
42
- import "./chunk-BO7J5Z3T.js";
43
- import "./chunk-OEEMCNAO.js";
44
- import "./chunk-PAEBFJUC.js";
37
+ import "./chunk-6URISMGR.js";
38
+ import "./chunk-ECXRRW7J.js";
39
+ import "./chunk-GOESXUJQ.js";
40
+ import "./chunk-5NLFQ644.js";
41
+ import "./chunk-CXPHUOJR.js";
42
+ import "./chunk-FAOLCUKV.js";
43
+ import "./chunk-JDJDVYGS.js";
44
+ import "./chunk-2T7MUSDB.js";
45
45
  import {
46
46
  DEFAULT_OUTPUT_BYTES,
47
47
  changesAuthorityAt,
@@ -50,49 +50,49 @@ import {
50
50
  fetchesOnlyAt,
51
51
  judgedTargets,
52
52
  rootOf2 as rootOf
53
- } from "./chunk-Y3YURIZF.js";
53
+ } from "./chunk-IOUPXUFH.js";
54
54
  import {
55
55
  readOnlyLockOf
56
- } from "./chunk-KYUIU5UR.js";
57
- import "./chunk-W5EUHV3J.js";
58
- import "./chunk-VKUS2V4L.js";
59
- import "./chunk-WEUXLXOZ.js";
60
- import "./chunk-IQENQXUJ.js";
61
- import "./chunk-WWNZS7ZY.js";
62
- import "./chunk-RACSKYNX.js";
63
- import "./chunk-MFS52LTZ.js";
64
- import "./chunk-IRX2YVAH.js";
65
- import "./chunk-X7YPTYM4.js";
66
- import "./chunk-LPY2ISJK.js";
67
- import "./chunk-EN5DBDKW.js";
68
- import "./chunk-AOZGGGUK.js";
69
- import "./chunk-AZZPMHP2.js";
70
- import "./chunk-WB7MQHUI.js";
71
- import "./chunk-FZMRHNOP.js";
72
- import "./chunk-GEVHI226.js";
73
- import "./chunk-PEMLI3T7.js";
74
- import "./chunk-CGCJ6P3A.js";
75
- import "./chunk-K6NPOZUP.js";
76
- import "./chunk-ZXQCA3ZW.js";
77
- import "./chunk-FWJ3Q7NO.js";
78
- import "./chunk-ES6UWVTM.js";
79
- import "./chunk-Z4D6M62I.js";
80
- import "./chunk-KXEC5FVT.js";
81
- import "./chunk-YLATWUE7.js";
82
- import "./chunk-Q7U627RY.js";
83
- import "./chunk-LVHZQCP4.js";
84
- import "./chunk-O5EHUB2V.js";
56
+ } from "./chunk-Q4ZE2LXE.js";
57
+ import "./chunk-KM7Q67Z3.js";
58
+ import "./chunk-NQCFUYC2.js";
59
+ import "./chunk-4OQVRDTG.js";
60
+ import "./chunk-7LQLJ7LW.js";
61
+ import "./chunk-RWG44LQD.js";
62
+ import "./chunk-7CNRZSAV.js";
63
+ import "./chunk-UIPT6IAU.js";
64
+ import "./chunk-DIXC56OU.js";
65
+ import "./chunk-M6FCCVYZ.js";
66
+ import "./chunk-3YBDRVOG.js";
67
+ import "./chunk-AMIIU3UZ.js";
68
+ import "./chunk-HIZQYFY3.js";
69
+ import "./chunk-6SK5SHCR.js";
70
+ import "./chunk-2NAM2XQG.js";
71
+ import "./chunk-KMQUZ4YM.js";
72
+ import "./chunk-EJFSS65P.js";
73
+ import "./chunk-BPMKLWHV.js";
74
+ import "./chunk-TILW3EJY.js";
75
+ import "./chunk-QUWMFBMS.js";
76
+ import "./chunk-IR73ZZY6.js";
77
+ import "./chunk-5LMQTEU5.js";
78
+ import "./chunk-MIUPH3WA.js";
79
+ import "./chunk-YBMOFCY5.js";
80
+ import "./chunk-EG7HC4EC.js";
81
+ import "./chunk-IK2OSV5C.js";
82
+ import "./chunk-4OTXE6CF.js";
83
+ import "./chunk-D6FTCPXA.js";
84
+ import "./chunk-NPGVOZVK.js";
85
85
  import {
86
86
  CliError,
87
87
  mcpErrorResult
88
- } from "./chunk-R4SRXI7M.js";
88
+ } from "./chunk-SB47UAW2.js";
89
89
  import "./chunk-Y5E2WNWB.js";
90
- import "./chunk-HIAO4MPA.js";
90
+ import "./chunk-EOEDICIE.js";
91
91
  import {
92
92
  __name
93
93
  } from "./chunk-ZVVMGPBJ.js";
94
94
 
95
- // 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/app-server.js
95
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
96
96
  var EXCLUDED = [["mcp"]];
97
97
  var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
98
98
  const { app } = options;
@@ -207,7 +207,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
207
207
  var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
208
208
  const { app } = options;
209
209
  const { build } = createAppServer(command, context, options);
210
- const { serveOverHttp } = await import("./serve-3IDUVTZL.js");
210
+ const { serveOverHttp } = await import("./serve-6UJCZD7Z.js");
211
211
  const listening = await serveOverHttp(build, {
212
212
  ...http,
213
213
  appName: app.command,
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-HIAO4MPA.js";
21
+ } from "./chunk-EOEDICIE.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
27
27
  import { Database } from "bun:sqlite";
28
28
  var bunSQLiteCodecs = refineSqliteCodecs({
29
29
  "integer:boolean": { normalize: booleanFromInteger },
@@ -3,8 +3,8 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-XS72YFPV.js";
7
- import "./chunk-R4SRXI7M.js";
6
+ } from "./chunk-6R3GMSLR.js";
7
+ import "./chunk-SB47UAW2.js";
8
8
  import {
9
9
  importFrom
10
10
  } from "./chunk-Y5E2WNWB.js";
@@ -12,7 +12,7 @@ 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/store/drivers/bun-sqlite.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
16
16
  var customised = false;
17
17
  var ownLibrary = /* @__PURE__ */ __name(async () => {
18
18
  try {
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  envName,
5
5
  readOnlyLockOf
6
- } from "./chunk-KYUIU5UR.js";
6
+ } from "./chunk-Q4ZE2LXE.js";
7
7
  import {
8
8
  CAPABILITY_STATEMENTS,
9
9
  storeCapable
10
- } from "./chunk-YLATWUE7.js";
10
+ } from "./chunk-IK2OSV5C.js";
11
11
  import {
12
12
  CliError,
13
13
  catchCrashes
14
- } from "./chunk-R4SRXI7M.js";
14
+ } from "./chunk-SB47UAW2.js";
15
15
  import {
16
16
  importFrom
17
17
  } from "./chunk-Y5E2WNWB.js";
@@ -19,10 +19,10 @@ import {
19
19
  __name
20
20
  } from "./chunk-ZVVMGPBJ.js";
21
21
 
22
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/entry.js
22
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/entry.js
23
23
  import { spawn as spawn2 } from "node:child_process";
24
24
 
25
- // 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/sqlite-runtime.js
25
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
26
26
  import { spawn, spawnSync } from "node:child_process";
27
27
  import { readFileSync } from "node:fs";
28
28
  import { dirname } from "node:path";
@@ -110,7 +110,7 @@ var relay = /* @__PURE__ */ __name((child, host = process) => new Promise(() =>
110
110
  });
111
111
  }), "relay");
112
112
 
113
- // 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/argv-log.js
113
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
114
114
  import { appendFileSync } from "node:fs";
115
115
  var logParsedArgv = /* @__PURE__ */ __name((file, action) => {
116
116
  const words = [];
@@ -134,7 +134,7 @@ var logVersion = /* @__PURE__ */ __name((file) => {
134
134
  `);
135
135
  }, "logVersion");
136
136
 
137
- // 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/entry.js
137
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/entry.js
138
138
  var processIo = /* @__PURE__ */ __name(() => ({
139
139
  argv: process.argv,
140
140
  env: process.env,
@@ -188,8 +188,8 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
188
188
  if (command.optsWithGlobals().dryRun === true)
189
189
  return;
190
190
  const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
191
- import("./first-run-UERFFXBV.js"),
192
- import("./command-contract-P45QCCXM.js")
191
+ import("./first-run-PX3SHPUU.js"),
192
+ import("./command-contract-HVLI3OKU.js")
193
193
  ]);
194
194
  await setupAtStart({
195
195
  command: entry.app.command,
@@ -204,7 +204,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
204
204
  ask: /* @__PURE__ */ __name(async (question, command) => {
205
205
  if (headless(command) || io.stdin.isTTY !== true)
206
206
  return false;
207
- const { readSecret } = await import("./prompt-MAYUHEGN.js");
207
+ const { readSecret } = await import("./prompt-ISYG5RWM.js");
208
208
  const answer = await readSecret(`${question} [y/N] `, {
209
209
  input: io.stdin,
210
210
  output: io.stderr,
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
8
8
  var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
9
9
  `The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
10
10
  "Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",
@@ -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-R4SRXI7M.js";
5
+ } from "./chunk-SB47UAW2.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/models/types.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/models/types.js
11
11
  var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
12
12
  var validateImages = /* @__PURE__ */ __name((images) => {
13
13
  if (images === void 0)