@wirecat/zoom-cli 0.66.0 → 0.67.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.
- package/README.md +2 -1
- package/constants.json +7 -0
- package/dist/answers.d.ts +4 -4
- package/dist/bin/main.js +3 -2
- package/dist/bin/main.js.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-D5CFH2OK.js → all-profiles-SEW2VL76.js} +12 -11
- package/dist/bundle/answer-policy-5OYUL6UF.js +103 -0
- package/dist/bundle/{anthropic-K2E2JS4S.js → anthropic-FSNASJML.js} +7 -7
- package/dist/bundle/{app-server-TVXDG6HZ.js → app-server-EVSRYJ3H.js} +55 -54
- package/dist/bundle/{bun-O4WHGL2F.js → bun-DACL5SVO.js} +2 -2
- package/dist/bundle/{bun-sqlite-HGBEHQI3.js → bun-sqlite-HQ2KOXSI.js} +6 -6
- package/dist/bundle/{chunk-IDWHJ35K.js → chunk-2UW533HQ.js} +4 -4
- package/dist/bundle/{chunk-NMQUCHTX.js → chunk-3GO3KME7.js} +3 -3
- package/dist/bundle/{chunk-6GSJLNP4.js → chunk-3ZIHUSMM.js} +2 -2
- package/dist/bundle/{chunk-2YLNUZ3T.js → chunk-4GCKDO2H.js} +3 -3
- package/dist/bundle/{chunk-7SQJCKR6.js → chunk-4KDZ22RA.js} +1 -1
- package/dist/bundle/{chunk-5A26IBAR.js → chunk-4U2555EQ.js} +23 -23
- package/dist/bundle/{chunk-RMKHYUHK.js → chunk-4UVT2QCO.js} +4 -4
- package/dist/bundle/{chunk-GHAPWKG2.js → chunk-4ZR5DJ26.js} +3 -3
- package/dist/bundle/{chunk-2T5BOLBS.js → chunk-54RTMQL6.js} +4 -4
- package/dist/bundle/chunk-6AJDVJVZ.js +35 -0
- package/dist/bundle/{chunk-UYV2JGLQ.js → chunk-6IBM4Z3V.js} +1 -1
- package/dist/bundle/{chunk-QAPU2JNO.js → chunk-6TZF2JP7.js} +13 -13
- package/dist/bundle/{chunk-CZ4KLUJG.js → chunk-6UFWFKFH.js} +2 -2
- package/dist/bundle/chunk-6VFORXL3.js +101 -0
- package/dist/bundle/{chunk-RO44LANT.js → chunk-7HAIM7GV.js} +1577 -633
- package/dist/bundle/{chunk-QV5ZGRK3.js → chunk-7K5TDTZY.js} +7 -7
- package/dist/bundle/{chunk-NO24PJNW.js → chunk-7LLUUXJB.js} +1 -1
- package/dist/bundle/{chunk-7PF56S6U.js → chunk-7VU5UGRR.js} +24 -22
- package/dist/bundle/{chunk-SU4WPBQE.js → chunk-AAZFLJSH.js} +22 -23
- package/dist/bundle/{chunk-ZKTXUDSR.js → chunk-ASCHAVNW.js} +30 -26
- package/dist/bundle/{chunk-BXSAROQP.js → chunk-B3KWAULD.js} +2 -2
- package/dist/bundle/{chunk-ZNFPDTQM.js → chunk-B5Z4XPVS.js} +2 -2
- package/dist/bundle/{chunk-756RS4PH.js → chunk-BKY4XVB4.js} +1688 -1133
- package/dist/bundle/{chunk-62GOOZO3.js → chunk-C6UKW7JO.js} +6 -6
- package/dist/bundle/{chunk-U3ZUT557.js → chunk-CLEZE65P.js} +1 -1
- package/dist/bundle/{chunk-YLEQN6PB.js → chunk-CRLBTNC4.js} +3 -3
- package/dist/bundle/{chunk-P2SYZNM4.js → chunk-D4KBD63W.js} +1 -1
- package/dist/bundle/{chunk-CR4CXOLX.js → chunk-D6OXI2NV.js} +17 -17
- package/dist/bundle/{chunk-Q47C3QZW.js → chunk-DFUPETW7.js} +444 -307
- package/dist/bundle/{chunk-JX3V35A5.js → chunk-DG4DWAU7.js} +3 -3
- package/dist/bundle/{chunk-P3XVLHIQ.js → chunk-EPDRF66S.js} +4 -4
- package/dist/bundle/{chunk-EXXM4RNI.js → chunk-EQ7XRRKV.js} +11 -11
- package/dist/bundle/{chunk-5GD2XZ6X.js → chunk-ESFMHBHH.js} +30 -29
- package/dist/bundle/{chunk-GI6QVSCW.js → chunk-EUPZSR2G.js} +4 -4
- package/dist/bundle/{chunk-J4EZL6HY.js → chunk-FGTPREAZ.js} +33 -33
- package/dist/bundle/{chunk-GKXFL35E.js → chunk-FWU3ZYHE.js} +50 -50
- package/dist/bundle/{chunk-CAW6IMFZ.js → chunk-FXQPK742.js} +55 -17
- package/dist/bundle/{chunk-P2G4KGTR.js → chunk-GP4NSYDU.js} +11 -11
- package/dist/bundle/{chunk-GNGBG5BT.js → chunk-I7SOXH64.js} +71 -38
- package/dist/bundle/{chunk-S4GDDO5S.js → chunk-IFDO3YPJ.js} +1 -1
- package/dist/bundle/{chunk-N5JRRBEG.js → chunk-J3ZBEWQY.js} +373 -9
- package/dist/bundle/chunk-JVCHGI7W.js +37 -0
- package/dist/bundle/{chunk-7KCTPGOF.js → chunk-KANH7GBB.js} +2 -2
- package/dist/bundle/{chunk-QJHRYUMJ.js → chunk-KIJLM5UL.js} +1 -1
- package/dist/bundle/{chunk-ILHTNOIV.js → chunk-KV4267S4.js} +1 -1
- package/dist/bundle/{chunk-XWDSEJWP.js → chunk-KWRSC6O6.js} +4 -4
- package/dist/bundle/{chunk-O5FKJV3T.js → chunk-L643D4RJ.js} +12 -12
- package/dist/bundle/{chunk-ZTL7ANSG.js → chunk-L6CAUVMU.js} +5 -5
- package/dist/bundle/{chunk-TUEEXECZ.js → chunk-L6WUAGPN.js} +3 -3
- package/dist/bundle/{chunk-H5ZVZAOD.js → chunk-LFQ73UFK.js} +3 -3
- package/dist/bundle/{chunk-3Y2F65AY.js → chunk-LKJXTACE.js} +10 -89
- package/dist/bundle/{chunk-AZ7ICKIA.js → chunk-LM26DJOK.js} +6 -6
- package/dist/bundle/{chunk-IKQ73INC.js → chunk-M43MBWJX.js} +3229 -1236
- package/dist/bundle/{chunk-LN2S3RA3.js → chunk-MWEOVTIF.js} +4 -4
- package/dist/bundle/{chunk-N67BLTBV.js → chunk-NTZDM5SJ.js} +28 -9
- package/dist/bundle/{chunk-6TIKPRVQ.js → chunk-OTMGAKUM.js} +7 -7
- package/dist/bundle/chunk-OZEYFJX2.js +93 -0
- package/dist/bundle/{chunk-XFUID5NY.js → chunk-Q65SDEFN.js} +2 -2
- package/dist/bundle/{chunk-67RNZGAG.js → chunk-QEI55M2F.js} +10 -10
- package/dist/bundle/{chunk-3B7L2UX4.js → chunk-QX2MAT6I.js} +3 -3
- package/dist/bundle/{chunk-KDKFGQWG.js → chunk-RAMPYIO2.js} +15 -12
- package/dist/bundle/{chunk-BLT3LR3U.js → chunk-RYKG6AEH.js} +1 -1
- package/dist/bundle/{chunk-Z6U3MEGJ.js → chunk-SCFFCIIP.js} +4 -2
- package/dist/bundle/{chunk-N6JMJN5A.js → chunk-SMVO5R3T.js} +19 -19
- package/dist/bundle/{chunk-Y3EIK4XW.js → chunk-SOZVC3SV.js} +1 -1
- package/dist/bundle/{chunk-A2SCXNA7.js → chunk-SSXCOUP3.js} +1084 -258
- package/dist/bundle/{chunk-TN7K66PU.js → chunk-SXFODCYK.js} +1 -1
- package/dist/bundle/{chunk-TFDVFD4N.js → chunk-T6CZWSHF.js} +97 -38
- package/dist/bundle/{chunk-7JMBEPW2.js → chunk-TBRG2DPE.js} +2 -2
- package/dist/bundle/{chunk-UOIXBEFR.js → chunk-V33VGWT3.js} +5 -5
- package/dist/bundle/{chunk-K5CIN4JP.js → chunk-VFIEYRYD.js} +8 -8
- package/dist/bundle/{chunk-5HPALDUO.js → chunk-VNIBTNV4.js} +3 -2
- package/dist/bundle/{chunk-3WTKZ2ZS.js → chunk-VQTAU4DV.js} +8 -8
- package/dist/bundle/{chunk-TMVKZMDO.js → chunk-WHQ4ZCJI.js} +49 -30
- package/dist/bundle/{chunk-S6S3KVJI.js → chunk-WZ5XK74U.js} +2 -1
- package/dist/bundle/{chunk-2VPHQFO5.js → chunk-X67YD3QI.js} +2 -2
- package/dist/bundle/{chunk-PQLBPYJR.js → chunk-YPF6OS37.js} +1 -1
- package/dist/bundle/{chunk-AU4JHT3R.js → chunk-YRNZT4GQ.js} +7 -7
- package/dist/bundle/{chunk-HKQWV3KT.js → chunk-Z3WXI4DK.js} +3 -3
- package/dist/bundle/{chunk-U4RVOSX3.js → chunk-ZMPTO2WB.js} +1 -1
- package/dist/bundle/{chunk-FWFFQV4D.js → chunk-ZRMZBMOF.js} +69 -9
- package/dist/bundle/{cli-HWQIL2AC.js → cli-YUATSOLA.js} +94 -67
- package/dist/bundle/command-contract-UWHY55UE.js +41 -0
- package/dist/bundle/config-TGF6E6ZD.js +89 -0
- package/dist/bundle/{decode-XPAPPUGE.js → decode-IL44LNC3.js} +6 -6
- package/dist/bundle/{dispatch-AKVJGP2S.js → dispatch-3BGIXSJR.js} +9 -9
- package/dist/bundle/{dist-LDIUQBM7.js → dist-3W27UQ2S.js} +46 -17
- package/dist/bundle/{echarts-FMACRZQC.js → echarts-CO4D26JF.js} +2 -2
- package/dist/bundle/{embed-LK45GRQ7.js → embed-XH2X4DFM.js} +7 -7
- package/dist/bundle/{embedder-QPBC5XBY.js → embedder-WTFWDXBJ.js} +10 -10
- package/dist/bundle/{failure-7OULAOWQ.js → failure-HTIS3NLS.js} +3 -3
- package/dist/bundle/{first-run-J5FG773Q.js → first-run-5RBH7FDO.js} +12 -12
- package/dist/bundle/first-screen-PGFIXJAX.js +39 -0
- package/dist/bundle/{folders-RHPUVMDI.js → folders-F4DNQPIY.js} +5 -5
- package/dist/bundle/{instructions-E5FXYCWF.js → instructions-EPPBL6TT.js} +1 -1
- package/dist/bundle/{main-FJHE5YHU.js → main-LVQTCDZS.js} +23 -22
- package/dist/bundle/{mcp-MNI62HHE.js → mcp-PPVOM4SE.js} +2 -2
- package/dist/bundle/{meetings-MYIDGYGW.js → meetings-BMELXRTR.js} +31 -7
- package/dist/bundle/{node-4SNKUPXT.js → node-CQVMWVIG.js} +2 -2
- package/dist/bundle/{node-sqlite-SYZUTVPC.js → node-sqlite-QQEX7LZT.js} +7 -7
- package/dist/bundle/{oauth-QPS5VTN6.js → oauth-AYGX7CQS.js} +8 -8
- package/dist/bundle/{open-OVCASRSJ.js → open-MIL2TOT6.js} +6 -6
- package/dist/bundle/openai-7QZZXQW5.js +25 -0
- package/dist/bundle/{output-file-K5JEL33Z.js → output-file-4XADZPYH.js} +6 -6
- package/dist/bundle/{process-HQZOTT6U.js → process-NJVQK6GB.js} +1 -1
- package/dist/bundle/{program-A546WC4F.js → program-WUYRS6H7.js} +152 -104
- package/dist/bundle/{prompt-CYBKP7S5.js → prompt-J4QPFLEA.js} +6 -6
- package/dist/bundle/{recognize-3H3YDCFI.js → recognize-OLJZVNWW.js} +5 -5
- package/dist/bundle/{remote-VAYVTJBS.js → remote-JPUXNYLV.js} +8 -8
- package/dist/bundle/{rerank-XA4GA5PS.js → rerank-XVV3X5TT.js} +8 -8
- package/dist/bundle/{run-log-XAFHMI3F.js → run-log-DJXBEVS5.js} +59 -57
- package/dist/bundle/{serve-KGHEDUHB.js → serve-NYYUO3MR.js} +10 -10
- package/dist/bundle/{server-ZYTSMDTP.js → server-4Z5E4YTT.js} +47 -46
- package/dist/bundle/server-VW5UVCH7.js +72 -0
- package/dist/bundle/{services-ZHMZC2OQ.js → services-EKWM76HP.js} +49 -32
- package/dist/bundle/{speech-7CJEFKM3.js → speech-WFJ44ACJ.js} +14 -14
- package/dist/bundle/{state-U6KSYVOH.js → state-VIRCT4VW.js} +7 -7
- package/dist/bundle/{store-WS4CQGYU.js → store-2Q4GEZJS.js} +30 -21
- package/dist/bundle/{store-DJE3LAEG.js → store-ZTDZ6UY5.js} +20 -17
- package/dist/bundle/store-connection-FKVVQLEF.js +83 -0
- package/dist/bundle/store-maintenance-command-AU73UVUQ.js +62 -0
- package/dist/bundle/{streaming-QMHH7L6N.js → streaming-7BPKIGAS.js} +7 -7
- package/dist/bundle/{tokens-PWQ56OXO.js → tokens-CQHMMKNX.js} +7 -7
- package/dist/bundle/zm.js +10 -10
- package/dist/bundle/zoom-app-OEKFMJS6.js +25 -0
- package/dist/config.d.ts +9 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +46 -7
- package/dist/config.js.map +1 -1
- package/dist/meeting-source.d.ts.map +1 -1
- package/dist/meeting-source.js +2 -1
- package/dist/meeting-source.js.map +1 -1
- package/dist/meeting-stats-commands.d.ts +4 -2
- package/dist/meeting-stats-commands.d.ts.map +1 -1
- package/dist/meeting-stats-commands.js +27 -2
- package/dist/meeting-stats-commands.js.map +1 -1
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +3 -2
- package/dist/program-bindings.js.map +1 -1
- package/dist/recording-schedule-setup.d.ts.map +1 -1
- package/dist/recording-schedule-setup.js +5 -5
- package/dist/recording-schedule-setup.js.map +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +2 -6
- package/dist/run.js.map +1 -1
- package/dist/setup-commands.d.ts +1 -1
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +30 -8
- package/dist/setup-commands.js.map +1 -1
- package/dist/store-commands.d.ts.map +1 -1
- package/dist/store-commands.js +6 -0
- package/dist/store-commands.js.map +1 -1
- package/dist/store-connection.d.ts +2 -1
- package/dist/store-connection.d.ts.map +1 -1
- package/dist/store-connection.js +4 -0
- package/dist/store-connection.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/watch-service.d.ts +1 -1
- package/dist/watch-service.d.ts.map +1 -1
- package/dist/watch-service.js +5 -3
- package/dist/watch-service.js.map +1 -1
- package/dist/zoom-app.d.ts +17 -0
- package/dist/zoom-app.d.ts.map +1 -0
- package/dist/zoom-app.js +22 -0
- package/dist/zoom-app.js.map +1 -0
- package/package.json +4 -3
- package/skills/zoom-cli/SKILL.md +4 -1
- package/dist/bundle/answer-policy-YAYMKRRD.js +0 -101
- package/dist/bundle/chunk-L7IK4FOA.js +0 -18
- package/dist/bundle/command-contract-CQFJXWX6.js +0 -40
- package/dist/bundle/config-R2Y6ZVQS.js +0 -83
- package/dist/bundle/first-screen-MULOBUHN.js +0 -38
- package/dist/bundle/openai-VEVT7D7L.js +0 -25
- package/dist/bundle/server-IDNSJXF3.js +0 -71
- package/dist/bundle/store-connection-T5WGOOPH.js +0 -81
- package/dist/bundle/store-maintenance-command-5CBQCEQQ.js +0 -61
- /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-LU3WKZBA.js} +0 -0
package/README.md
CHANGED
|
@@ -313,7 +313,7 @@ More: [usage][docs/usage.md] · [Zoom on wirecat.dev][wirecat/en/docs/zoom]
|
|
|
313
313
|
|
|
314
314
|
| Setting | Meaning |
|
|
315
315
|
|---|---|
|
|
316
|
-
| `zoom.client_id` | your Zoom app's Public Client ID |
|
|
316
|
+
| `zoom.client_id` | your Zoom app's Public Client ID; `ZM_ZOOM_CLIENT_ID` or `session start --client-id` win over it ([which app][docs/configuration.md#which-zoom-app-zm-uses]) |
|
|
317
317
|
| `source` | `api` or `files` for `meetings sync` and `watch` |
|
|
318
318
|
| `files.folder`, `files.timezone` | the transcript folder and the zone of its filenames |
|
|
319
319
|
| `ZM_CONFIG_DIR` | another configuration directory (also changes the keyring entry) |
|
|
@@ -412,6 +412,7 @@ More: [development setup][docs/dev/development.md] · [test matrix][docs/dev/tes
|
|
|
412
412
|
[docs/archive.md#where-meetings-are-stored]: https://github.com/WireCatLabs/zoom-cli/blob/main/docs/archive.md#where-meetings-are-stored
|
|
413
413
|
[docs/commands.md]: https://github.com/WireCatLabs/zoom-cli/blob/main/docs/commands.md
|
|
414
414
|
[docs/configuration.md]: https://github.com/WireCatLabs/zoom-cli/blob/main/docs/configuration.md
|
|
415
|
+
[docs/configuration.md#which-zoom-app-zm-uses]: https://github.com/WireCatLabs/zoom-cli/blob/main/docs/configuration.md#which-zoom-app-zm-uses
|
|
415
416
|
[docs/dev/architecture.md]: https://github.com/WireCatLabs/zoom-cli/blob/main/docs/dev/ARCHITECTURE.md
|
|
416
417
|
[docs/dev/development.md]: https://github.com/WireCatLabs/zoom-cli/blob/main/docs/dev/DEVELOPMENT.md
|
|
417
418
|
[docs/dev/releasing.md]: https://github.com/WireCatLabs/zoom-cli/blob/main/docs/dev/RELEASING.md
|
package/constants.json
ADDED
package/dist/answers.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ export declare const answerSchema: v.UnionSchema<[v.StrictObjectSchema<{
|
|
|
63
63
|
readonly accounts: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "must not be empty">]>, undefined>, undefined>;
|
|
64
64
|
readonly complete: v.BooleanSchema<undefined>;
|
|
65
65
|
readonly issues: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
66
|
-
readonly code: v.PicklistSchema<readonly ["validation_error", "configuration_error", "authentication_error", "permission_error", "not_found", "confirmation_required", "rate_limited", "timeout", "network_error", "provider_error", "provider_unavailable", "invalid_response", "outcome_unknown", "cancelled"], undefined>;
|
|
66
|
+
readonly code: v.PicklistSchema<readonly ["validation_error", "configuration_error", "authentication_error", "permission_error", "not_found", "confirmation_required", "rate_limited", "timeout", "network_error", "provider_error", "provider_unavailable", "invalid_response", "outcome_unknown", "conflict", "cancelled"], undefined>;
|
|
67
67
|
readonly reason: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "dotted lower-case words, such as `page.next`">]>, undefined>;
|
|
68
68
|
readonly source: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "must not be empty">]>;
|
|
69
69
|
}, undefined>, undefined>, undefined>;
|
|
@@ -118,7 +118,7 @@ export declare const answerSchema: v.UnionSchema<[v.StrictObjectSchema<{
|
|
|
118
118
|
readonly accounts: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "must not be empty">]>, undefined>, undefined>;
|
|
119
119
|
readonly complete: v.BooleanSchema<undefined>;
|
|
120
120
|
readonly issues: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
121
|
-
readonly code: v.PicklistSchema<readonly ["validation_error", "configuration_error", "authentication_error", "permission_error", "not_found", "confirmation_required", "rate_limited", "timeout", "network_error", "provider_error", "provider_unavailable", "invalid_response", "outcome_unknown", "cancelled"], undefined>;
|
|
121
|
+
readonly code: v.PicklistSchema<readonly ["validation_error", "configuration_error", "authentication_error", "permission_error", "not_found", "confirmation_required", "rate_limited", "timeout", "network_error", "provider_error", "provider_unavailable", "invalid_response", "outcome_unknown", "conflict", "cancelled"], undefined>;
|
|
122
122
|
readonly reason: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "dotted lower-case words, such as `page.next`">]>, undefined>;
|
|
123
123
|
readonly source: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "must not be empty">]>;
|
|
124
124
|
}, undefined>, undefined>, undefined>;
|
|
@@ -183,7 +183,7 @@ export declare const toolAnswer: (value: unknown, meta: Meta, registry?: Command
|
|
|
183
183
|
accounts?: string[] | undefined;
|
|
184
184
|
complete: boolean;
|
|
185
185
|
issues?: {
|
|
186
|
-
code: "authentication_error" | "cancelled" | "configuration_error" | "confirmation_required" | "invalid_response" | "network_error" | "not_found" | "outcome_unknown" | "permission_error" | "provider_error" | "provider_unavailable" | "rate_limited" | "timeout" | "validation_error";
|
|
186
|
+
code: "authentication_error" | "cancelled" | "configuration_error" | "confirmation_required" | "conflict" | "invalid_response" | "network_error" | "not_found" | "outcome_unknown" | "permission_error" | "provider_error" | "provider_unavailable" | "rate_limited" | "timeout" | "validation_error";
|
|
187
187
|
reason?: string | undefined;
|
|
188
188
|
source: string;
|
|
189
189
|
}[] | undefined;
|
|
@@ -225,7 +225,7 @@ export declare const toolAnswer: (value: unknown, meta: Meta, registry?: Command
|
|
|
225
225
|
accounts?: string[] | undefined;
|
|
226
226
|
complete: boolean;
|
|
227
227
|
issues?: {
|
|
228
|
-
code: "authentication_error" | "cancelled" | "configuration_error" | "confirmation_required" | "invalid_response" | "network_error" | "not_found" | "outcome_unknown" | "permission_error" | "provider_error" | "provider_unavailable" | "rate_limited" | "timeout" | "validation_error";
|
|
228
|
+
code: "authentication_error" | "cancelled" | "configuration_error" | "confirmation_required" | "conflict" | "invalid_response" | "network_error" | "not_found" | "outcome_unknown" | "permission_error" | "provider_error" | "provider_unavailable" | "rate_limited" | "timeout" | "validation_error";
|
|
229
229
|
reason?: string | undefined;
|
|
230
230
|
source: string;
|
|
231
231
|
}[] | undefined;
|
package/dist/bin/main.js
CHANGED
|
@@ -13,7 +13,7 @@ await startCli({
|
|
|
13
13
|
run: async (entry) => {
|
|
14
14
|
// These load cli-core's command tree, which a bare --version never needs.
|
|
15
15
|
answerPolicy = await import("../answer-policy.js");
|
|
16
|
-
const [{ runsDirFor }, { readConfig }, { loginService, zmPaths }, { writeExportFile }, { run }, { lazyRunLog }, { createStoreConnector }, { writeStream }, { TOKEN_LOG_ALLOW, TokenManager },] = await Promise.all([
|
|
16
|
+
const [{ runsDirFor }, { readConfig }, { loginService, zmPaths }, { writeExportFile }, { run }, { lazyRunLog }, { createStoreConnector }, { writeStream }, { TOKEN_LOG_ALLOW, TokenManager }, { zoomClientId },] = await Promise.all([
|
|
17
17
|
import("@wirecat/cli-core/cli"),
|
|
18
18
|
import("../config.js"),
|
|
19
19
|
import("../folders.js"),
|
|
@@ -23,6 +23,7 @@ await startCli({
|
|
|
23
23
|
import("../store-connection.js"),
|
|
24
24
|
import("../streaming.js"),
|
|
25
25
|
import("../tokens.js"),
|
|
26
|
+
import("../zoom-app.js"),
|
|
26
27
|
]);
|
|
27
28
|
const paths = zmPaths();
|
|
28
29
|
const configPath = join(paths.config, "config.json");
|
|
@@ -36,7 +37,7 @@ await startCli({
|
|
|
36
37
|
try {
|
|
37
38
|
const tokens = new TokenManager({
|
|
38
39
|
get clientId() {
|
|
39
|
-
return readConfig(configPath).
|
|
40
|
+
return zoomClientId(readConfig(configPath), entry.env) ?? "";
|
|
40
41
|
},
|
|
41
42
|
keyring: systemKeyring,
|
|
42
43
|
service: loginService(paths.config),
|
package/dist/bin/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.js","sourceRoot":"","sources":["../../src/bin/main.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AACxC,OAAO,EACL,QAAQ,EACR,aAAa,EACb,eAAe,EACf,UAAU,EACV,cAAc,EACd,WAAW,EACX,aAAa,GACd,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAA;AACtD,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAA;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAEvC,IAAI,YAA8D,CAAA;AAClE,MAAM,QAAQ,CAAC;IACb,GAAG,EAAE,EAAE;IACP,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE;QACnB,0EAA0E;QAC1E,YAAY,GAAG,MAAM,MAAM,CAAC,qBAAqB,CAAC,CAAA;QAClD,MAAM,CACJ,EAAE,UAAU,EAAE,EACd,EAAE,UAAU,EAAE,EACd,EAAE,YAAY,EAAE,OAAO,EAAE,EACzB,EAAE,eAAe,EAAE,EACnB,EAAE,GAAG,EAAE,EACP,EAAE,UAAU,EAAE,EACd,EAAE,oBAAoB,EAAE,EACxB,EAAE,WAAW,EAAE,EACf,EAAE,eAAe,EAAE,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"main.js","sourceRoot":"","sources":["../../src/bin/main.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,eAAe,EAAE,MAAM,wB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AG,EAAE,EAAE,CAAC,OAAO,EAAE,WAAW,EAAE,KAAK,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,CAAA;QACnF,OAAO,eAAe,CAAC,MAAM,CAAC,CAAA;IAChC,CAAC;CACF,CAAC,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.
|
|
12
|
+
process.stdout.write("0.67.0\n")
|
|
13
13
|
} else {
|
|
14
14
|
// Before the bundle compiles: the bundle's own call comes after its chunks.
|
|
15
15
|
module.enableCompileCache()
|
|
@@ -28,7 +28,7 @@ if (
|
|
|
28
28
|
: next(specifier, context),
|
|
29
29
|
})
|
|
30
30
|
}
|
|
31
|
-
const chunks = ["../bundle/all-profiles-
|
|
31
|
+
const chunks = ["../bundle/all-profiles-SEW2VL76.js","../bundle/answer-policy-5OYUL6UF.js","../bundle/anthropic-FSNASJML.js","../bundle/app-server-EVSRYJ3H.js","../bundle/bun-DACL5SVO.js","../bundle/bun-sqlite-HQ2KOXSI.js","../bundle/cli-YUATSOLA.js","../bundle/command-contract-UWHY55UE.js","../bundle/config-TGF6E6ZD.js","../bundle/decode-IL44LNC3.js","../bundle/dispatch-3BGIXSJR.js","../bundle/dist-3W27UQ2S.js","../bundle/dist-XUFQCJXW.js","../bundle/echarts-CO4D26JF.js","../bundle/embed-XH2X4DFM.js","../bundle/embedder-WTFWDXBJ.js","../bundle/failure-HTIS3NLS.js","../bundle/first-run-5RBH7FDO.js","../bundle/first-screen-PGFIXJAX.js","../bundle/folders-F4DNQPIY.js","../bundle/instructions-EPPBL6TT.js","../bundle/main-LVQTCDZS.js","../bundle/mcp-PPVOM4SE.js","../bundle/meetings-BMELXRTR.js","../bundle/node-CQVMWVIG.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-QQEX7LZT.js","../bundle/oauth-AYGX7CQS.js","../bundle/open-MIL2TOT6.js","../bundle/openai-7QZZXQW5.js","../bundle/output-file-4XADZPYH.js","../bundle/process-NJVQK6GB.js","../bundle/program-WUYRS6H7.js","../bundle/prompt-J4QPFLEA.js","../bundle/recognize-OLJZVNWW.js","../bundle/remote-JPUXNYLV.js","../bundle/rerank-XVV3X5TT.js","../bundle/run-log-DJXBEVS5.js","../bundle/serve-NYYUO3MR.js","../bundle/server-4Z5E4YTT.js","../bundle/server-VW5UVCH7.js","../bundle/services-EKWM76HP.js","../bundle/speech-WFJ44ACJ.js","../bundle/state-VIRCT4VW.js","../bundle/store-2Q4GEZJS.js","../bundle/store-ZTDZ6UY5.js","../bundle/store-connection-FKVVQLEF.js","../bundle/store-maintenance-command-AU73UVUQ.js","../bundle/streaming-7BPKIGAS.js","../bundle/tokens-CQHMMKNX.js","../bundle/zoom-app-OEKFMJS6.js"]
|
|
32
32
|
if (((words) => words
|
|
33
33
|
.filter((word) => !word.startsWith("-"))
|
|
34
34
|
.slice(0, 2)
|
|
@@ -2,30 +2,31 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
answeredWire
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CLEZE65P.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-
|
|
12
|
+
} from "./chunk-KANH7GBB.js";
|
|
13
13
|
import {
|
|
14
14
|
McpServer
|
|
15
15
|
} from "./chunk-5D4AEUVA.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-LKJXTACE.js";
|
|
17
|
+
import "./chunk-3ZIHUSMM.js";
|
|
18
|
+
import "./chunk-OZEYFJX2.js";
|
|
19
|
+
import "./chunk-LU3WKZBA.js";
|
|
20
|
+
import "./chunk-T6CZWSHF.js";
|
|
21
|
+
import "./chunk-NTZDM5SJ.js";
|
|
21
22
|
import "./chunk-Y5E2WNWB.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-WZ5XK74U.js";
|
|
24
|
+
import "./chunk-6IBM4Z3V.js";
|
|
24
25
|
import {
|
|
25
26
|
__name
|
|
26
27
|
} from "./chunk-ZVVMGPBJ.js";
|
|
27
28
|
|
|
28
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
29
30
|
import { spawn } from "node:child_process";
|
|
30
31
|
import { randomUUID } from "node:crypto";
|
|
31
32
|
var PROTOCOL = "2025-06-18";
|
|
@@ -259,7 +260,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
259
260
|
}, "serveAllProfilesOverStdio");
|
|
260
261
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
261
262
|
const { build, close } = allProfilesServer(options);
|
|
262
|
-
const { serveOverHttp } = await import("./serve-
|
|
263
|
+
const { serveOverHttp } = await import("./serve-NYYUO3MR.js");
|
|
263
264
|
const listening = await serveOverHttp(build, {
|
|
264
265
|
...http,
|
|
265
266
|
appName: options.command,
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import "./chunk-BKY4XVB4.js";
|
|
4
|
+
import "./chunk-RAMPYIO2.js";
|
|
5
|
+
import "./chunk-JVCHGI7W.js";
|
|
6
|
+
import "./chunk-7LLUUXJB.js";
|
|
7
|
+
import "./chunk-L643D4RJ.js";
|
|
8
|
+
import "./chunk-QEI55M2F.js";
|
|
9
|
+
import "./chunk-4KDZ22RA.js";
|
|
10
|
+
import "./chunk-I7SOXH64.js";
|
|
11
|
+
import "./chunk-7VU5UGRR.js";
|
|
12
|
+
import {
|
|
13
|
+
failureContext
|
|
14
|
+
} from "./chunk-ZRMZBMOF.js";
|
|
15
|
+
import "./chunk-MWEOVTIF.js";
|
|
16
|
+
import "./chunk-FWU3ZYHE.js";
|
|
17
|
+
import "./chunk-B5Z4XPVS.js";
|
|
18
|
+
import "./chunk-ESFMHBHH.js";
|
|
19
|
+
import "./chunk-SMVO5R3T.js";
|
|
20
|
+
import "./chunk-LFQ73UFK.js";
|
|
21
|
+
import "./chunk-7HAIM7GV.js";
|
|
22
|
+
import "./chunk-6TZF2JP7.js";
|
|
23
|
+
import "./chunk-4UVT2QCO.js";
|
|
24
|
+
import "./chunk-YPF6OS37.js";
|
|
25
|
+
import "./chunk-GP4NSYDU.js";
|
|
26
|
+
import "./chunk-D6OXI2NV.js";
|
|
27
|
+
import "./chunk-VQTAU4DV.js";
|
|
28
|
+
import "./chunk-HTQTIKWP.js";
|
|
29
|
+
import "./chunk-L6CAUVMU.js";
|
|
30
|
+
import {
|
|
31
|
+
judgedEffects,
|
|
32
|
+
judgedTargets
|
|
33
|
+
} from "./chunk-SSXCOUP3.js";
|
|
34
|
+
import "./chunk-SCFFCIIP.js";
|
|
35
|
+
import "./chunk-LKJXTACE.js";
|
|
36
|
+
import "./chunk-EUPZSR2G.js";
|
|
37
|
+
import "./chunk-7K5TDTZY.js";
|
|
38
|
+
import "./chunk-SOZVC3SV.js";
|
|
39
|
+
import "./chunk-4U2555EQ.js";
|
|
40
|
+
import "./chunk-3ZIHUSMM.js";
|
|
41
|
+
import "./chunk-VNIBTNV4.js";
|
|
42
|
+
import "./chunk-54RTMQL6.js";
|
|
43
|
+
import "./chunk-M43MBWJX.js";
|
|
44
|
+
import "./chunk-VFIEYRYD.js";
|
|
45
|
+
import "./chunk-J3ZBEWQY.js";
|
|
46
|
+
import "./chunk-YRNZT4GQ.js";
|
|
47
|
+
import "./chunk-OTMGAKUM.js";
|
|
48
|
+
import "./chunk-Z3WXI4DK.js";
|
|
49
|
+
import "./chunk-OZEYFJX2.js";
|
|
50
|
+
import "./chunk-DG4DWAU7.js";
|
|
51
|
+
import "./chunk-TBRG2DPE.js";
|
|
52
|
+
import "./chunk-4ZR5DJ26.js";
|
|
53
|
+
import "./chunk-6UFWFKFH.js";
|
|
54
|
+
import "./chunk-3GO3KME7.js";
|
|
55
|
+
import "./chunk-LM26DJOK.js";
|
|
56
|
+
import "./chunk-EPDRF66S.js";
|
|
57
|
+
import "./chunk-6AJDVJVZ.js";
|
|
58
|
+
import {
|
|
59
|
+
VERSION
|
|
60
|
+
} from "./chunk-SXFODCYK.js";
|
|
61
|
+
import "./chunk-KV4267S4.js";
|
|
62
|
+
import "./chunk-D72URWJE.js";
|
|
63
|
+
import "./chunk-C6UKW7JO.js";
|
|
64
|
+
import "./chunk-RYKG6AEH.js";
|
|
65
|
+
import "./chunk-DFUPETW7.js";
|
|
66
|
+
import "./chunk-AAZFLJSH.js";
|
|
67
|
+
import "./chunk-LU3WKZBA.js";
|
|
68
|
+
import "./chunk-T6CZWSHF.js";
|
|
69
|
+
import {
|
|
70
|
+
errorObjectOf,
|
|
71
|
+
errorRecordOf,
|
|
72
|
+
exitCodeOfError,
|
|
73
|
+
renderError
|
|
74
|
+
} from "./chunk-NTZDM5SJ.js";
|
|
75
|
+
import "./chunk-Y5E2WNWB.js";
|
|
76
|
+
import "./chunk-WZ5XK74U.js";
|
|
77
|
+
import "./chunk-6IBM4Z3V.js";
|
|
78
|
+
import "./chunk-ZMPTO2WB.js";
|
|
79
|
+
import {
|
|
80
|
+
__name
|
|
81
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
82
|
+
|
|
83
|
+
// dist/answer-policy.js
|
|
84
|
+
var hostFailureContext = /* @__PURE__ */ __name((registry, effects) => ({
|
|
85
|
+
...failureContext(),
|
|
86
|
+
...effects ? { effects: judgedEffects(effects) } : {},
|
|
87
|
+
...registry ? { targets: judgedTargets(registry) } : {}
|
|
88
|
+
}), "hostFailureContext");
|
|
89
|
+
var reportFailure = /* @__PURE__ */ __name((failure, args, deps, command = "zm", context = hostFailureContext()) => {
|
|
90
|
+
const end = args.indexOf("--");
|
|
91
|
+
const flags = args.slice(0, end < 0 ? void 0 : end);
|
|
92
|
+
const machine = flags.some((word) => word === "--json" || word === "--jsonl");
|
|
93
|
+
const object = errorObjectOf(failure, context);
|
|
94
|
+
const record = flags.includes("--debug") ? errorRecordOf(failure, object, { command, service: "zm", version: VERSION }) : void 0;
|
|
95
|
+
const interactive = deps.outputIsTTY === true && !machine;
|
|
96
|
+
deps.diagnostic(`${renderError(object, { cli: "zm", interactive, ...record ? { record } : {} })}
|
|
97
|
+
`);
|
|
98
|
+
return exitCodeOfError(object);
|
|
99
|
+
}, "reportFailure");
|
|
100
|
+
export {
|
|
101
|
+
hostFailureContext,
|
|
102
|
+
reportFailure
|
|
103
|
+
};
|
|
@@ -2,29 +2,29 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
checkedOptions
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4ZR5DJ26.js";
|
|
6
6
|
import {
|
|
7
7
|
messagesFor,
|
|
8
8
|
systemFor
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6UFWFKFH.js";
|
|
10
10
|
import {
|
|
11
11
|
Anthropic
|
|
12
12
|
} from "./chunk-ADLS6FVG.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-T6CZWSHF.js";
|
|
14
14
|
import {
|
|
15
15
|
array,
|
|
16
16
|
optional,
|
|
17
17
|
strictObject,
|
|
18
18
|
string
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-NTZDM5SJ.js";
|
|
20
20
|
import "./chunk-Y5E2WNWB.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-WZ5XK74U.js";
|
|
22
|
+
import "./chunk-6IBM4Z3V.js";
|
|
23
23
|
import {
|
|
24
24
|
__name
|
|
25
25
|
} from "./chunk-ZVVMGPBJ.js";
|
|
26
26
|
|
|
27
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/models/anthropic.js
|
|
28
28
|
var options = strictObject({
|
|
29
29
|
stop_sequences: optional(array(string()))
|
|
30
30
|
});
|
|
@@ -3,48 +3,48 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FGTPREAZ.js";
|
|
7
7
|
import {
|
|
8
8
|
mcpUrlOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-I7SOXH64.js";
|
|
10
10
|
import {
|
|
11
11
|
answeredWire
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CLEZE65P.js";
|
|
13
13
|
import {
|
|
14
14
|
answered,
|
|
15
15
|
failed,
|
|
16
16
|
registerCommands,
|
|
17
17
|
runCommandForAgent,
|
|
18
18
|
toolsFromCommands
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WHQ4ZCJI.js";
|
|
20
20
|
import {
|
|
21
21
|
agentJson,
|
|
22
22
|
skillResource
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-7VU5UGRR.js";
|
|
24
24
|
import {
|
|
25
25
|
StdioServerTransport,
|
|
26
26
|
serveStdio
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-KANH7GBB.js";
|
|
28
|
+
import "./chunk-ZRMZBMOF.js";
|
|
29
29
|
import {
|
|
30
30
|
appInstructions
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-IFDO3YPJ.js";
|
|
32
32
|
import {
|
|
33
33
|
McpServer
|
|
34
34
|
} from "./chunk-5D4AEUVA.js";
|
|
35
35
|
import {
|
|
36
36
|
mcpHttpMarker
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-MWEOVTIF.js";
|
|
38
|
+
import "./chunk-ESFMHBHH.js";
|
|
39
|
+
import "./chunk-SMVO5R3T.js";
|
|
40
|
+
import "./chunk-LFQ73UFK.js";
|
|
41
|
+
import "./chunk-7HAIM7GV.js";
|
|
42
|
+
import "./chunk-6TZF2JP7.js";
|
|
43
|
+
import "./chunk-4UVT2QCO.js";
|
|
44
|
+
import "./chunk-YPF6OS37.js";
|
|
45
|
+
import "./chunk-GP4NSYDU.js";
|
|
46
|
+
import "./chunk-D6OXI2NV.js";
|
|
47
|
+
import "./chunk-L6CAUVMU.js";
|
|
48
48
|
import {
|
|
49
49
|
DEFAULT_OUTPUT_BYTES,
|
|
50
50
|
changesAuthorityAt,
|
|
@@ -53,52 +53,53 @@ import {
|
|
|
53
53
|
judgedTargets,
|
|
54
54
|
readsOverMcpAt,
|
|
55
55
|
rootOf2 as rootOf
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-SSXCOUP3.js";
|
|
57
57
|
import {
|
|
58
58
|
readOnlyLockOf
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
59
|
+
} from "./chunk-SCFFCIIP.js";
|
|
60
|
+
import "./chunk-LKJXTACE.js";
|
|
61
|
+
import "./chunk-EUPZSR2G.js";
|
|
62
|
+
import "./chunk-7K5TDTZY.js";
|
|
63
|
+
import "./chunk-SOZVC3SV.js";
|
|
64
|
+
import "./chunk-4U2555EQ.js";
|
|
65
|
+
import "./chunk-3ZIHUSMM.js";
|
|
66
|
+
import "./chunk-VNIBTNV4.js";
|
|
67
|
+
import "./chunk-54RTMQL6.js";
|
|
68
|
+
import "./chunk-M43MBWJX.js";
|
|
69
|
+
import "./chunk-VFIEYRYD.js";
|
|
70
|
+
import "./chunk-J3ZBEWQY.js";
|
|
71
|
+
import "./chunk-YRNZT4GQ.js";
|
|
72
|
+
import "./chunk-OTMGAKUM.js";
|
|
73
|
+
import "./chunk-Z3WXI4DK.js";
|
|
74
|
+
import "./chunk-OZEYFJX2.js";
|
|
75
|
+
import "./chunk-TBRG2DPE.js";
|
|
76
|
+
import "./chunk-6UFWFKFH.js";
|
|
77
|
+
import "./chunk-3GO3KME7.js";
|
|
78
|
+
import "./chunk-LM26DJOK.js";
|
|
79
|
+
import "./chunk-EPDRF66S.js";
|
|
80
|
+
import "./chunk-6AJDVJVZ.js";
|
|
81
|
+
import "./chunk-KV4267S4.js";
|
|
81
82
|
import "./chunk-D72URWJE.js";
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-
|
|
87
|
-
import "./chunk-
|
|
83
|
+
import "./chunk-C6UKW7JO.js";
|
|
84
|
+
import "./chunk-RYKG6AEH.js";
|
|
85
|
+
import "./chunk-DFUPETW7.js";
|
|
86
|
+
import "./chunk-AAZFLJSH.js";
|
|
87
|
+
import "./chunk-LU3WKZBA.js";
|
|
88
|
+
import "./chunk-T6CZWSHF.js";
|
|
88
89
|
import {
|
|
89
90
|
mcpErrorResult
|
|
90
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-NTZDM5SJ.js";
|
|
91
92
|
import "./chunk-Y5E2WNWB.js";
|
|
92
93
|
import {
|
|
93
94
|
CliError
|
|
94
|
-
} from "./chunk-
|
|
95
|
-
import "./chunk-
|
|
96
|
-
import "./chunk-
|
|
95
|
+
} from "./chunk-WZ5XK74U.js";
|
|
96
|
+
import "./chunk-6IBM4Z3V.js";
|
|
97
|
+
import "./chunk-ZMPTO2WB.js";
|
|
97
98
|
import {
|
|
98
99
|
__name
|
|
99
100
|
} from "./chunk-ZVVMGPBJ.js";
|
|
100
101
|
|
|
101
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
102
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
|
|
102
103
|
var EXCLUDED = [["mcp"]];
|
|
103
104
|
var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
|
|
104
105
|
const { app } = options;
|
|
@@ -213,7 +214,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
213
214
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
214
215
|
const { app } = options;
|
|
215
216
|
const { build } = createAppServer(command, context, options);
|
|
216
|
-
const { serveOverHttp } = await import("./serve-
|
|
217
|
+
const { serveOverHttp } = await import("./serve-NYYUO3MR.js");
|
|
217
218
|
const listening = await serveOverHttp(build, {
|
|
218
219
|
...http,
|
|
219
220
|
appName: app.command,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ZMPTO2WB.js";
|
|
22
22
|
import {
|
|
23
23
|
__name
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/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,19 +3,19 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-Q65SDEFN.js";
|
|
7
|
+
import "./chunk-T6CZWSHF.js";
|
|
8
|
+
import "./chunk-NTZDM5SJ.js";
|
|
9
9
|
import {
|
|
10
10
|
importFrom
|
|
11
11
|
} from "./chunk-Y5E2WNWB.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-WZ5XK74U.js";
|
|
13
|
+
import "./chunk-6IBM4Z3V.js";
|
|
14
14
|
import {
|
|
15
15
|
__name
|
|
16
16
|
} from "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
|
|
19
19
|
var customised = false;
|
|
20
20
|
var ownLibrary = /* @__PURE__ */ __name(async () => {
|
|
21
21
|
try {
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
singleLine
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6IBM4Z3V.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/names.js
|
|
11
11
|
var FIRST_PARTY_TOOLS = [
|
|
12
12
|
{ name: "tg", package: "@wirecat/tg-cli" },
|
|
13
13
|
{ name: "max", package: "@wirecat/max-cli" },
|
|
@@ -30,7 +30,7 @@ var PROGRAM_PREFIX = "wcat-";
|
|
|
30
30
|
var DESCRIBE_FLAG = "--wcat-describe";
|
|
31
31
|
var DISPATCH_FLAG = "--wcat-dispatch";
|
|
32
32
|
|
|
33
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
33
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/describe.js
|
|
34
34
|
var DESCRIBE_FORMAT = 1;
|
|
35
35
|
var describeAnswer = /* @__PURE__ */ __name((tool) => ({
|
|
36
36
|
wcat_describe: DESCRIBE_FORMAT,
|
|
@@ -59,7 +59,7 @@ var parseDescribe = /* @__PURE__ */ __name((text) => {
|
|
|
59
59
|
};
|
|
60
60
|
}, "parseDescribe");
|
|
61
61
|
|
|
62
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
62
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/shim.js
|
|
63
63
|
import { lstatSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
64
64
|
import { join } from "node:path";
|
|
65
65
|
var SHIM_FORMAT = 1;
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
unit
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LM26DJOK.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WZ5XK74U.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
|
|
14
14
|
import { setTimeout } from "node:timers/promises";
|
|
15
15
|
var OPENAI_URL = "https://api.openai.com/v1";
|
|
16
16
|
var OPENAI_MODELS = {
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
errorCodes
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WZ5XK74U.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.570.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_093219d088c44dcb3d8868e1fe992f3e/node_modules/@wirecat/cli-core/dist/errors/failures.js
|
|
11
11
|
var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
|
|
12
12
|
var isCommanderFailure = /* @__PURE__ */ __name((value) => {
|
|
13
13
|
const { code, exitCode } = value ?? {};
|
|
@@ -2,13 +2,13 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
checkCancelled
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-B3KWAULD.js";
|
|
6
6
|
import {
|
|
7
7
|
createOutputBuffer
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-T6CZWSHF.js";
|
|
9
9
|
import {
|
|
10
10
|
CliError
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WZ5XK74U.js";
|
|
12
12
|
import {
|
|
13
13
|
__name
|
|
14
14
|
} from "./chunk-ZVVMGPBJ.js";
|