@wirecat/zoom-cli 0.69.0 → 0.71.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 +1 -1
- package/dist/account-removal.d.ts +6 -0
- package/dist/account-removal.d.ts.map +1 -0
- package/dist/account-removal.js +43 -0
- package/dist/account-removal.js.map +1 -0
- package/dist/answer-entities.d.ts +2 -0
- package/dist/answer-entities.d.ts.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-ZQWPCJEK.js → all-profiles-O4YNVPZX.js} +9 -9
- package/dist/bundle/answer-policy-PPSPMCLH.js +104 -0
- package/dist/bundle/{anthropic-7FUQ2HYJ.js → anthropic-7GGRX3RX.js} +20 -9
- package/dist/bundle/{app-server-DNPE2EQB.js → app-server-CPMKM3HI.js} +50 -50
- package/dist/bundle/{bun-ZVQFCFCC.js → bun-POHZKEPV.js} +2 -2
- package/dist/bundle/{bun-sqlite-EB2UMUPJ.js → bun-sqlite-PGYMBPEL.js} +4 -4
- package/dist/bundle/{chunk-R2ULMWB4.js → chunk-2FV5JUQU.js} +39 -593
- package/dist/bundle/{chunk-R3JYPY3J.js → chunk-2KESWII5.js} +2 -2
- package/dist/bundle/{chunk-S2EAGDS7.js → chunk-2RUAMDVV.js} +11 -11
- package/dist/bundle/{chunk-H3MFBYTQ.js → chunk-2U27KIKU.js} +5 -5
- package/dist/bundle/{chunk-KAPJQGHE.js → chunk-2U6SER67.js} +1 -1
- package/dist/bundle/chunk-4LAQDZXU.js +1635 -0
- package/dist/bundle/{chunk-SQT47CFW.js → chunk-4QPQ7MDA.js} +1 -1
- package/dist/bundle/{chunk-MNOVYS43.js → chunk-4QUFFB2U.js} +3 -3
- package/dist/bundle/{chunk-V74QFMSL.js → chunk-54YDWBYG.js} +1 -1
- package/dist/bundle/{chunk-MSDCZ6GT.js → chunk-5J4AMBMM.js} +4 -4
- package/dist/bundle/{chunk-GR3QDHBU.js → chunk-5K7OGPGA.js} +5 -5
- package/dist/bundle/{chunk-WY4NYPPS.js → chunk-5LJTU4LY.js} +12 -12
- package/dist/bundle/{chunk-MJMVIFSC.js → chunk-633QXP57.js} +10 -8
- package/dist/bundle/{chunk-EPPSMCEV.js → chunk-64ZHF6PJ.js} +1 -1
- package/dist/bundle/{chunk-ZRHMB3LQ.js → chunk-77TCCHMP.js} +1 -1
- package/dist/bundle/{chunk-BOAMDYLY.js → chunk-7QC4M4HS.js} +2 -2
- package/dist/bundle/{chunk-O7L44JK2.js → chunk-7ROXXRGG.js} +3933 -1525
- package/dist/bundle/{chunk-MVDPZRFE.js → chunk-ALIT5QFT.js} +1 -1
- package/dist/bundle/{chunk-6N2D6JGX.js → chunk-BBTQIVFP.js} +1 -1
- package/dist/bundle/{chunk-QXM7S3Y3.js → chunk-BGTEVIW4.js} +5 -5
- package/dist/bundle/{chunk-JX5JJZC3.js → chunk-CFQF6IGY.js} +2 -2
- package/dist/bundle/{chunk-5GOE6PQK.js → chunk-CKPCVEXU.js} +5 -5
- package/dist/bundle/{chunk-6KMTQX3D.js → chunk-CRFOGYDG.js} +1 -1
- package/dist/bundle/{chunk-5H6VTEEC.js → chunk-CT4WVR4N.js} +2 -2
- package/dist/bundle/{chunk-3TPRYZUW.js → chunk-DHWBSXG3.js} +23 -23
- package/dist/bundle/{chunk-IPBZKUC3.js → chunk-DIQLXAAZ.js} +3 -3
- package/dist/bundle/{chunk-JZ4YOAHA.js → chunk-DK6ICIGL.js} +4558 -1670
- package/dist/bundle/{chunk-OSBHEM2A.js → chunk-DRBQDCDU.js} +10 -10
- package/dist/bundle/{chunk-G6IX2MD2.js → chunk-DSVZEXYJ.js} +1104 -948
- package/dist/bundle/{chunk-B6JMVB6R.js → chunk-EOSVN2ER.js} +1 -1
- package/dist/bundle/{chunk-MOTKS7XG.js → chunk-FSHCAWZS.js} +29354 -16490
- package/dist/bundle/{chunk-TKXLWFM2.js → chunk-GGS6D4W4.js} +3 -3
- package/dist/bundle/{chunk-4APZQYCH.js → chunk-GL3MYFMX.js} +4 -4
- package/dist/bundle/{chunk-LDRQ5NAP.js → chunk-GXF5HFFP.js} +3 -3
- package/dist/bundle/{chunk-5ZF6QVMC.js → chunk-HB6XJQ3Y.js} +4 -4
- package/dist/bundle/{chunk-QW5VPZEH.js → chunk-I4DFFR7F.js} +23 -1
- package/dist/bundle/{chunk-DHD25JII.js → chunk-IAV5BG3I.js} +1 -1
- package/dist/bundle/{chunk-52DCABMU.js → chunk-IED3NS7G.js} +30 -38
- package/dist/bundle/{chunk-LQX74VKG.js → chunk-INVTDIF6.js} +1 -1
- package/dist/bundle/{chunk-CKK6JOC4.js → chunk-KMV7GZB6.js} +2 -2
- package/dist/bundle/{chunk-XRZDYWF6.js → chunk-LE7MDAQG.js} +2 -2
- package/dist/bundle/{chunk-B5D7NZI7.js → chunk-M76MXMLY.js} +1 -1
- package/dist/bundle/{chunk-37B7A4RP.js → chunk-MEED7YFG.js} +1 -1
- package/dist/bundle/{chunk-LEA4BGK7.js → chunk-MRI6QMZ3.js} +11 -11
- package/dist/bundle/{chunk-6TICX3MN.js → chunk-MW4EGDDV.js} +2 -2
- package/dist/bundle/{chunk-SZ3Z4ZNO.js → chunk-N2FNMION.js} +1 -1
- package/dist/bundle/{chunk-CUZHKYC2.js → chunk-OHWMIUCT.js} +450 -641
- package/dist/bundle/{chunk-KNE6VFHZ.js → chunk-OORMSM6O.js} +1 -1
- package/dist/bundle/{chunk-Z6TTGTMU.js → chunk-OWEBWDHV.js} +76 -6
- package/dist/bundle/{chunk-5ZJXKASF.js → chunk-P3XC6EDU.js} +17 -21
- package/dist/bundle/chunk-Q2SUFGSH.js +136 -0
- package/dist/bundle/{chunk-TFFEFEG2.js → chunk-Q3XLZIY3.js} +18 -18
- package/dist/bundle/{chunk-IEC4E65G.js → chunk-Q5PI72CR.js} +5 -1
- package/dist/bundle/{chunk-V4MM6GST.js → chunk-QTHIU7CO.js} +1 -1
- package/dist/bundle/{chunk-JHFP3Z5S.js → chunk-QVSLSWAL.js} +8 -8
- package/dist/bundle/{chunk-QLGG7S6F.js → chunk-RN4EHCC5.js} +22 -4
- package/dist/bundle/{chunk-BL36NSV5.js → chunk-RQG5VOGH.js} +12 -2
- package/dist/bundle/{chunk-RPQ3JOD3.js → chunk-SELXER2Q.js} +5 -5
- package/dist/bundle/{chunk-KX5MZVPX.js → chunk-TM4JSVGQ.js} +60 -53
- package/dist/bundle/{chunk-TN77LX6W.js → chunk-UG447QY2.js} +1 -1
- package/dist/bundle/{chunk-HC56J5LB.js → chunk-ULDXZ6LH.js} +66 -59
- package/dist/bundle/chunk-USQ23X5V.js +1227 -0
- package/dist/bundle/{chunk-UEZ6URJR.js → chunk-VJXHIUFP.js} +19 -19
- package/dist/bundle/{chunk-TWIC6JJG.js → chunk-VRH7VRTK.js} +7 -7
- package/dist/bundle/{chunk-NRRI37NJ.js → chunk-WOIHSQAL.js} +44 -0
- package/dist/bundle/{chunk-L62EJDNZ.js → chunk-X277FBTF.js} +3 -3
- package/dist/bundle/{chunk-XITUFTON.js → chunk-X3ZDN3U7.js} +1 -1
- package/dist/bundle/{chunk-GXDOTUUO.js → chunk-X4GWR6GO.js} +9 -9
- package/dist/bundle/chunk-XI3VIQKW.js +756 -0
- package/dist/bundle/{chunk-FBLUKCIR.js → chunk-XRFHQGOD.js} +1 -1
- package/dist/bundle/{chunk-HW5QTRFF.js → chunk-YD2RYVMK.js} +36 -36
- package/dist/bundle/{chunk-XJBYGMZ4.js → chunk-YPO2U2YB.js} +669 -458
- package/dist/bundle/{chunk-C6TEYKXV.js → chunk-ZBFL5JPT.js} +8 -7
- package/dist/bundle/{chunk-7AUP2WT3.js → chunk-ZBKWRYRS.js} +2 -2
- package/dist/bundle/{chunk-HSI7YOYK.js → chunk-ZVI6TFQR.js} +100 -43
- package/dist/bundle/{cli-P3BZUE6S.js → cli-KHMEUXNG.js} +123 -68
- package/dist/bundle/command-contract-4K6XXZYE.js +41 -0
- package/dist/bundle/config-EEDB632I.js +90 -0
- package/dist/bundle/{decode-QWOQXM7M.js → decode-7RP4HSVE.js} +4 -4
- package/dist/bundle/{dispatch-5MGDLOK4.js → dispatch-IZCAK47P.js} +1 -1
- package/dist/bundle/{dist-OUE4MF37.js → dist-BFT2SUBV.js} +87 -51
- package/dist/bundle/{echarts-65IMPY43.js → echarts-T2BSQ2YV.js} +2 -2
- package/dist/bundle/{embed-4IULBCKL.js → embed-BAS6YPDT.js} +5 -5
- package/dist/bundle/{embedder-JW4W6IZI.js → embedder-5XD5FCAO.js} +8 -8
- package/dist/bundle/{failure-CR64C4XA.js → failure-R2OIHCE5.js} +1 -1
- package/dist/bundle/{first-run-CH6C674R.js → first-run-23WWZ2PW.js} +8 -8
- package/dist/bundle/first-screen-6HFUYVFR.js +39 -0
- package/dist/bundle/{folders-VU4IN35Y.js → folders-ZXTOFY4T.js} +3 -3
- package/dist/bundle/{instructions-G5QIH2TM.js → instructions-XZPROPKY.js} +1 -1
- package/dist/bundle/{main-O4ZJIEWP.js → main-TZXKGL3L.js} +18 -18
- package/dist/bundle/{meetings-77CCAVYD.js → meetings-JB2ISPND.js} +6 -4
- package/dist/bundle/{node-E6VQHU4Y.js → node-A3B3MJWX.js} +2 -2
- package/dist/bundle/{node-sqlite-RJZ4PGLD.js → node-sqlite-QVWDLGDX.js} +5 -5
- package/dist/bundle/{oauth-F4JKNRW4.js → oauth-YA6IYV4O.js} +6 -6
- package/dist/bundle/{open-NYOGMIAA.js → open-SY7TXJBS.js} +4 -4
- package/dist/bundle/{openai-5U6EQTFQ.js → openai-2AU24NRN.js} +10 -10
- package/dist/bundle/{output-file-6COFGPUL.js → output-file-YGQYZCBJ.js} +4 -4
- package/dist/bundle/{process-OBWUKBMX.js → process-6HNBTJIY.js} +1 -1
- package/dist/bundle/{program-MU7DEJTO.js → program-77BUCJ4H.js} +132 -100
- package/dist/bundle/{prompt-2QWQTHWT.js → prompt-YDG73YDS.js} +6 -4
- package/dist/bundle/{recognize-SNUNTUC3.js → recognize-ECXDGTB7.js} +3 -3
- package/dist/bundle/{remote-2CTCIQGF.js → remote-K4JHGBVJ.js} +6 -6
- package/dist/bundle/{rerank-XDA7NJNH.js → rerank-IU2YYD4T.js} +6 -6
- package/dist/bundle/{run-log-NSG3DJVX.js → run-log-LFEXNZ74.js} +54 -54
- package/dist/bundle/{serve-TWQFHOV2.js → serve-3XWIF3HI.js} +8 -8
- package/dist/bundle/{server-RIQ6HMH2.js → server-56VYOHWP.js} +42 -42
- package/dist/bundle/server-YSTMUZ22.js +72 -0
- package/dist/bundle/{services-NKZQJQIV.js → services-X7IPEGQ5.js} +118 -36
- package/dist/bundle/{speech-ZOB76SXA.js → speech-E2OBQWYA.js} +12 -12
- package/dist/bundle/{state-7YYEIXQ5.js → state-4GMJYK4H.js} +5 -5
- package/dist/bundle/{store-OX4HRBLO.js → store-KPI7GB5Y.js} +49 -22
- package/dist/bundle/{store-E6RTSSNR.js → store-LA4TV4DM.js} +39 -16
- package/dist/bundle/store-connection-AZTIF6IH.js +83 -0
- package/dist/bundle/store-maintenance-command-LR572PS4.js +61 -0
- package/dist/bundle/{streaming-O53PIORL.js → streaming-EJ3NM2C2.js} +5 -5
- package/dist/bundle/{tokens-QKNEP2GJ.js → tokens-BE6CJMR5.js} +5 -5
- package/dist/bundle/zm.js +3 -3
- package/dist/bundle/{zoom-app-TSI2MGVK.js → zoom-app-QEJBTIJ4.js} +6 -6
- package/dist/contract-overrides.d.ts.map +1 -1
- package/dist/contract-overrides.js +0 -6
- package/dist/contract-overrides.js.map +1 -1
- package/dist/first-screen.d.ts.map +1 -1
- package/dist/first-screen.js +1 -0
- package/dist/first-screen.js.map +1 -1
- package/dist/ingestion-search-commands.d.ts.map +1 -1
- package/dist/ingestion-search-commands.js +0 -10
- package/dist/ingestion-search-commands.js.map +1 -1
- package/dist/meeting-integration-commands.d.ts.map +1 -1
- package/dist/meeting-integration-commands.js +8 -6
- package/dist/meeting-integration-commands.js.map +1 -1
- package/dist/meeting-integration.d.ts +3 -1
- package/dist/meeting-integration.d.ts.map +1 -1
- package/dist/permissions.js +1 -1
- package/dist/permissions.js.map +1 -1
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +11 -0
- package/dist/setup-commands.js.map +1 -1
- package/dist/store-connection.d.ts.map +1 -1
- package/dist/store-connection.js +4 -3
- package/dist/store-connection.js.map +1 -1
- package/dist/tokens.d.ts +2 -0
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +11 -0
- package/dist/tokens.js.map +1 -1
- package/dist/unified-search.d.ts +4 -4
- package/dist/unified-search.d.ts.map +1 -1
- package/dist/unified-search.js +1 -24
- package/dist/unified-search.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/zoom-cli/SKILL.md +2 -2
- package/dist/bundle/answer-policy-VBDYLUXI.js +0 -104
- package/dist/bundle/chunk-2SYWVIQJ.js +0 -33
- package/dist/bundle/chunk-6AMMTXEA.js +0 -12473
- package/dist/bundle/chunk-F5DYBWH7.js +0 -299
- package/dist/bundle/chunk-T5X4LGXE.js +0 -380
- package/dist/bundle/command-contract-TOLB32NJ.js +0 -41
- package/dist/bundle/config-4KLLIADY.js +0 -90
- package/dist/bundle/first-screen-OCAW5ZN6.js +0 -39
- package/dist/bundle/server-XO6XQQTJ.js +0 -72
- package/dist/bundle/store-connection-55QPNUDS.js +0 -83
- package/dist/bundle/store-maintenance-command-Q5MSU6OK.js +0 -62
package/README.md
CHANGED
|
@@ -143,7 +143,7 @@ More: [compared with other tools](https://github.com/WireCatLabs/zoom-cli/blob/m
|
|
|
143
143
|
|
|
144
144
|
| Task | Commands |
|
|
145
145
|
|---|---|
|
|
146
|
-
| Set up and log in | `config show`, `config set <key> <value>`, `config unset <key>`, `session start [--browser <program>]`, `session status [--check]`, `doctor` |
|
|
146
|
+
| Set up and log in | `config show`, `config set <key> <value>`, `config unset <key>`, `session start [--browser <program>]`, `session status [--check]`, `session end`, `account remove --keep-data|--delete-data`, `doctor` |
|
|
147
147
|
| Bring meetings in | `meetings sync [--since-time <time>] [--lookback-days <days>]`, `meetings import <folder>`, `watch [api\|files] [folder] --jsonl` |
|
|
148
148
|
| Read stored meetings | `meetings list`, `meetings show <meeting>`, `meetings transcript <meeting>`, `meetings summary <meeting>`, `meetings export <meeting> --format markdown\|vtt`, `events list` |
|
|
149
149
|
| Search | `search meetings <query>`, `meetings people <query>`, `search all <query>` |
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type AccountRemoval } from "@wirecat/cli-core/cli";
|
|
2
|
+
import type { Command } from "commander";
|
|
3
|
+
import type { ProgramDeps } from "./program.js";
|
|
4
|
+
export declare const zoomRemoval: ({ configPath, tokens }: Pick<ProgramDeps, "configPath" | "tokens">) => AccountRemoval;
|
|
5
|
+
export declare const zoomAccountRemoveCommand: (deps: Pick<ProgramDeps, "configPath" | "tokens">) => Command;
|
|
6
|
+
//# sourceMappingURL=account-removal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account-removal.d.ts","sourceRoot":"","sources":["../src/account-removal.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAwB,MAAM,uBAAuB,CAAA;AACjF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAGxC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAwB/C,eAAO,MAAM,WAAW,2BAA4B,IAAI,CAAC,WAAW,EAAE,YAAY,GAAG,QAAQ,CAAC,KAAG,cAgB/F,CAAA;AAEF,eAAO,MAAM,wBAAwB,SAAU,IAAI,CAAC,WAAW,EAAE,YAAY,GAAG,QAAQ,CAAC,KAAG,OAC/C,CAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { readdirSync, readFileSync } from "node:fs";
|
|
2
|
+
import { dirname, join } from "node:path";
|
|
3
|
+
import { accountRemoveCommand } from "@wirecat/cli-core/cli";
|
|
4
|
+
import { zmPaths } from "./folders.js";
|
|
5
|
+
import { profileAccountKey } from "./profile.js";
|
|
6
|
+
import { ZM } from "./read-only.js";
|
|
7
|
+
/** The file of an archive schedule that still runs for the profile; its timer belongs to `schedule disable`. */
|
|
8
|
+
const activeSchedule = (configPath, profile) => {
|
|
9
|
+
const directory = join(dirname(configPath), "recording-schedules");
|
|
10
|
+
let names;
|
|
11
|
+
try {
|
|
12
|
+
names = readdirSync(directory).filter((name) => /^[a-f0-9]{64}\.json$/.test(name));
|
|
13
|
+
}
|
|
14
|
+
catch {
|
|
15
|
+
return undefined;
|
|
16
|
+
}
|
|
17
|
+
return names.find((name) => {
|
|
18
|
+
try {
|
|
19
|
+
const job = JSON.parse(readFileSync(join(directory, name), "utf8"));
|
|
20
|
+
return job.capture?.profile === profile && job.state !== "disabled";
|
|
21
|
+
}
|
|
22
|
+
catch {
|
|
23
|
+
return false;
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
export const zoomRemoval = ({ configPath, tokens }) => ({
|
|
28
|
+
signOut: async (profile) => ({
|
|
29
|
+
revoked: null,
|
|
30
|
+
removed: tokens.forProfile(profile).remove() ? ["the Zoom login"] : [],
|
|
31
|
+
}),
|
|
32
|
+
account: (profile) => ({ provider: "zoom", account: profileAccountKey(profile) }),
|
|
33
|
+
// zm keeps its files under `zm`, not under the `zoom-cli` folders its cli-core identity names.
|
|
34
|
+
ownFolders: ({ env }) => [dirname(configPath), zmPaths({ env }).state],
|
|
35
|
+
stateFiles: (profile, { env }) => [join(zmPaths({ env }).state, "checkpoints", profile)],
|
|
36
|
+
busy: (profile) => {
|
|
37
|
+
const file = activeSchedule(configPath, profile);
|
|
38
|
+
return (file &&
|
|
39
|
+
`an archive schedule (turn it off with \`zm ${profile} recordings schedule disable ${file.slice(0, -5)}\`)`);
|
|
40
|
+
},
|
|
41
|
+
});
|
|
42
|
+
export const zoomAccountRemoveCommand = (deps) => accountRemoveCommand(ZM, zoomRemoval(deps));
|
|
43
|
+
//# sourceMappingURL=account-removal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account-removal.js","sourceRoot":"","sources":["../src/account-removal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACnD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AACzC,OAAO,EAAuB,oBAAoB,EAAE,MAAM,uBAAuB,CAAA;AAEjF,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhD,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAA;AAEnC,gHAAgH;AAChH,MAAM,cAAc,GAAG,CAAC,UAAkB,EAAE,OAAe,EAAsB,EAAE;IACjF,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,qBAAqB,CAAC,CAAA;IAClE,IAAI,KAAe,CAAA;IACnB,IAAI,CAAC;QACH,KAAK,GAAG,WAAW,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,sBAAsB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA;IACpF,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,SAAS,CAAA;IAClB,CAAC;IACD,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,IAAI,CAAC;YACH,MAAM,GAAG,GAAyD,IAAI,CAAC,KAAK,CAC1E,YAAY,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,CAC5C,CAAA;YACD,OAAO,GAAG,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,IAAI,GAAG,CAAC,KAAK,KAAK,UAAU,CAAA;QACrE,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,KAAK,CAAA;QACd,CAAC;IACH,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"}
|
|
@@ -695,6 +695,7 @@ export declare const ZOOM_ANSWER_ENTITIES: {
|
|
|
695
695
|
readonly person_uid: v.StringSchema<undefined>;
|
|
696
696
|
readonly previous_person_uid: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
697
697
|
readonly changed: v.BooleanSchema<undefined>;
|
|
698
|
+
readonly proposal: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
698
699
|
}, undefined>], undefined>, undefined>;
|
|
699
700
|
}, undefined>;
|
|
700
701
|
shared: true;
|
|
@@ -731,6 +732,7 @@ export declare const ZOOM_ANSWER_ENTITIES: {
|
|
|
731
732
|
readonly person_uid: v.StringSchema<undefined>;
|
|
732
733
|
readonly previous_person_uid: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
733
734
|
readonly changed: v.BooleanSchema<undefined>;
|
|
735
|
+
readonly proposal: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
734
736
|
}, undefined>], undefined>, undefined>;
|
|
735
737
|
}, undefined>;
|
|
736
738
|
shared: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"answer-entities.d.ts","sourceRoot":"","sources":["../src/answer-entities.ts"],"names":[],"mappings":"AAEA,OAAO,EAAgB,KAAK,IAAI,EAA8C,MAAM,uBAAuB,CAAA;AAC3G,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACxC,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAsI5B,eAAO,MAAM,oBAAoB;;QACxB,IAAI;QAAoB,MAAM;;;;;;;;;;;;;;;;;QAChB,IAAI;QAAoB,MAAM;;;;;;;;;;;;;;;;;;QAC9B,IAAI;QAAoB,MAAM;;;;;;;;;;;;;;;;;;QAC1B,IAAI;QAAkB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QACxB,IAAI;QAA2B,MAAM;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBqC,CAAA;AAEvF,eAAO,MAAM,kBAAkB,YAAa,OAAO,KAAG,IAUrD,CAAA;AAYD,eAAO,MAAM,mBAAmB,SAAU,IAAI,WAAW,MAAM,KAAG,IAiBjE,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.71.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-O4YNVPZX.js","../bundle/answer-policy-PPSPMCLH.js","../bundle/anthropic-7GGRX3RX.js","../bundle/app-server-CPMKM3HI.js","../bundle/bun-POHZKEPV.js","../bundle/bun-sqlite-PGYMBPEL.js","../bundle/cli-KHMEUXNG.js","../bundle/command-contract-4K6XXZYE.js","../bundle/config-EEDB632I.js","../bundle/decode-7RP4HSVE.js","../bundle/dispatch-IZCAK47P.js","../bundle/dist-BFT2SUBV.js","../bundle/dist-XUFQCJXW.js","../bundle/echarts-T2BSQ2YV.js","../bundle/embed-BAS6YPDT.js","../bundle/embedder-5XD5FCAO.js","../bundle/failure-R2OIHCE5.js","../bundle/first-run-23WWZ2PW.js","../bundle/first-screen-6HFUYVFR.js","../bundle/folders-ZXTOFY4T.js","../bundle/instructions-XZPROPKY.js","../bundle/main-TZXKGL3L.js","../bundle/mcp-M4QN2E7R.js","../bundle/meetings-JB2ISPND.js","../bundle/node-A3B3MJWX.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-QVWDLGDX.js","../bundle/oauth-YA6IYV4O.js","../bundle/open-SY7TXJBS.js","../bundle/openai-2AU24NRN.js","../bundle/output-file-YGQYZCBJ.js","../bundle/process-6HNBTJIY.js","../bundle/program-77BUCJ4H.js","../bundle/prompt-YDG73YDS.js","../bundle/recognize-ECXDGTB7.js","../bundle/remote-K4JHGBVJ.js","../bundle/rerank-IU2YYD4T.js","../bundle/run-log-LFEXNZ74.js","../bundle/serve-3XWIF3HI.js","../bundle/server-56VYOHWP.js","../bundle/server-YSTMUZ22.js","../bundle/services-X7IPEGQ5.js","../bundle/speech-E2OBQWYA.js","../bundle/state-4GMJYK4H.js","../bundle/store-KPI7GB5Y.js","../bundle/store-LA4TV4DM.js","../bundle/store-connection-AZTIF6IH.js","../bundle/store-maintenance-command-LR572PS4.js","../bundle/streaming-EJ3NM2C2.js","../bundle/tokens-BE6CJMR5.js","../bundle/zoom-app-QEJBTIJ4.js"]
|
|
32
32
|
if (((words) => words
|
|
33
33
|
.filter((word) => !word.startsWith("-"))
|
|
34
34
|
.slice(0, 2)
|
|
@@ -2,23 +2,23 @@ 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-N2FNMION.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-LE7MDAQG.js";
|
|
13
13
|
import {
|
|
14
14
|
McpServer
|
|
15
15
|
} from "./chunk-5D4AEUVA.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-633QXP57.js";
|
|
17
|
+
import "./chunk-MEED7YFG.js";
|
|
18
|
+
import "./chunk-QTHIU7CO.js";
|
|
19
19
|
import "./chunk-VOXIGICJ.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-OORMSM6O.js";
|
|
21
|
+
import "./chunk-WOIHSQAL.js";
|
|
22
22
|
import "./chunk-Y5E2WNWB.js";
|
|
23
23
|
import "./chunk-FEM2JQN2.js";
|
|
24
24
|
import "./chunk-OE7EIP5L.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
__name
|
|
27
27
|
} from "./chunk-ZVVMGPBJ.js";
|
|
28
28
|
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_737712cd0065e7e21fd5896a79d0773d/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
30
30
|
import { spawn } from "node:child_process";
|
|
31
31
|
import { randomUUID } from "node:crypto";
|
|
32
32
|
var PROTOCOL = "2025-06-18";
|
|
@@ -260,7 +260,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
260
260
|
}, "serveAllProfilesOverStdio");
|
|
261
261
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
262
262
|
const { build, close } = allProfilesServer(options);
|
|
263
|
-
const { serveOverHttp } = await import("./serve-
|
|
263
|
+
const { serveOverHttp } = await import("./serve-3XWIF3HI.js");
|
|
264
264
|
const listening = await serveOverHttp(build, {
|
|
265
265
|
...http,
|
|
266
266
|
appName: options.command,
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import "./chunk-7ROXXRGG.js";
|
|
4
|
+
import "./chunk-DRBQDCDU.js";
|
|
5
|
+
import "./chunk-M76MXMLY.js";
|
|
6
|
+
import "./chunk-IAV5BG3I.js";
|
|
7
|
+
import "./chunk-2RUAMDVV.js";
|
|
8
|
+
import "./chunk-X4GWR6GO.js";
|
|
9
|
+
import "./chunk-Q2SUFGSH.js";
|
|
10
|
+
import "./chunk-4QPQ7MDA.js";
|
|
11
|
+
import "./chunk-TM4JSVGQ.js";
|
|
12
|
+
import "./chunk-MRI6QMZ3.js";
|
|
13
|
+
import {
|
|
14
|
+
failureContext
|
|
15
|
+
} from "./chunk-OWEBWDHV.js";
|
|
16
|
+
import "./chunk-5J4AMBMM.js";
|
|
17
|
+
import "./chunk-YPO2U2YB.js";
|
|
18
|
+
import "./chunk-X3ZDN3U7.js";
|
|
19
|
+
import "./chunk-2FV5JUQU.js";
|
|
20
|
+
import "./chunk-Q3XLZIY3.js";
|
|
21
|
+
import "./chunk-GGS6D4W4.js";
|
|
22
|
+
import "./chunk-DK6ICIGL.js";
|
|
23
|
+
import "./chunk-5LJTU4LY.js";
|
|
24
|
+
import "./chunk-7QC4M4HS.js";
|
|
25
|
+
import "./chunk-VW6BF6M7.js";
|
|
26
|
+
import "./chunk-P3XC6EDU.js";
|
|
27
|
+
import "./chunk-ZVI6TFQR.js";
|
|
28
|
+
import "./chunk-ZBFL5JPT.js";
|
|
29
|
+
import "./chunk-HTQTIKWP.js";
|
|
30
|
+
import "./chunk-GL3MYFMX.js";
|
|
31
|
+
import {
|
|
32
|
+
judgedEffects,
|
|
33
|
+
judgedTargets
|
|
34
|
+
} from "./chunk-DSVZEXYJ.js";
|
|
35
|
+
import "./chunk-633QXP57.js";
|
|
36
|
+
import "./chunk-DIQLXAAZ.js";
|
|
37
|
+
import "./chunk-SELXER2Q.js";
|
|
38
|
+
import "./chunk-ALIT5QFT.js";
|
|
39
|
+
import "./chunk-OHWMIUCT.js";
|
|
40
|
+
import "./chunk-UG447QY2.js";
|
|
41
|
+
import "./chunk-Q5PI72CR.js";
|
|
42
|
+
import "./chunk-X277FBTF.js";
|
|
43
|
+
import "./chunk-FSHCAWZS.js";
|
|
44
|
+
import "./chunk-VRH7VRTK.js";
|
|
45
|
+
import "./chunk-4LAQDZXU.js";
|
|
46
|
+
import "./chunk-USQ23X5V.js";
|
|
47
|
+
import "./chunk-MEED7YFG.js";
|
|
48
|
+
import "./chunk-5K7OGPGA.js";
|
|
49
|
+
import "./chunk-XI3VIQKW.js";
|
|
50
|
+
import "./chunk-QTHIU7CO.js";
|
|
51
|
+
import "./chunk-RN4EHCC5.js";
|
|
52
|
+
import "./chunk-BBTQIVFP.js";
|
|
53
|
+
import "./chunk-I4DFFR7F.js";
|
|
54
|
+
import "./chunk-CFQF6IGY.js";
|
|
55
|
+
import "./chunk-CKPCVEXU.js";
|
|
56
|
+
import "./chunk-GXF5HFFP.js";
|
|
57
|
+
import "./chunk-KMV7GZB6.js";
|
|
58
|
+
import {
|
|
59
|
+
VERSION,
|
|
60
|
+
ZM
|
|
61
|
+
} from "./chunk-54YDWBYG.js";
|
|
62
|
+
import "./chunk-P3ASN72F.js";
|
|
63
|
+
import "./chunk-D72URWJE.js";
|
|
64
|
+
import "./chunk-BGTEVIW4.js";
|
|
65
|
+
import "./chunk-64ZHF6PJ.js";
|
|
66
|
+
import "./chunk-ULDXZ6LH.js";
|
|
67
|
+
import "./chunk-EOSVN2ER.js";
|
|
68
|
+
import "./chunk-VOXIGICJ.js";
|
|
69
|
+
import "./chunk-OORMSM6O.js";
|
|
70
|
+
import {
|
|
71
|
+
errorObjectOf,
|
|
72
|
+
errorRecordOf,
|
|
73
|
+
exitCodeOfError,
|
|
74
|
+
renderError
|
|
75
|
+
} from "./chunk-WOIHSQAL.js";
|
|
76
|
+
import "./chunk-Y5E2WNWB.js";
|
|
77
|
+
import "./chunk-FEM2JQN2.js";
|
|
78
|
+
import "./chunk-OE7EIP5L.js";
|
|
79
|
+
import "./chunk-INVTDIF6.js";
|
|
80
|
+
import {
|
|
81
|
+
__name
|
|
82
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
83
|
+
|
|
84
|
+
// dist/answer-policy.js
|
|
85
|
+
var hostFailureContext = /* @__PURE__ */ __name((registry, effects) => ({
|
|
86
|
+
...failureContext(ZM.errors),
|
|
87
|
+
...effects ? { effects: judgedEffects(effects) } : {},
|
|
88
|
+
...registry ? { targets: judgedTargets(registry) } : {}
|
|
89
|
+
}), "hostFailureContext");
|
|
90
|
+
var reportFailure = /* @__PURE__ */ __name((failure, args, deps, command = "zm", context = hostFailureContext()) => {
|
|
91
|
+
const end = args.indexOf("--");
|
|
92
|
+
const flags = args.slice(0, end < 0 ? void 0 : end);
|
|
93
|
+
const machine = flags.some((word) => word === "--json" || word === "--jsonl");
|
|
94
|
+
const object = errorObjectOf(failure, context);
|
|
95
|
+
const record = flags.includes("--debug") ? errorRecordOf(failure, object, { command, service: "zm", version: VERSION }) : void 0;
|
|
96
|
+
const interactive = deps.outputIsTTY === true && !machine;
|
|
97
|
+
deps.diagnostic(`${renderError(object, { cli: "zm", interactive, ...record ? { record } : {} })}
|
|
98
|
+
`);
|
|
99
|
+
return exitCodeOfError(object);
|
|
100
|
+
}, "reportFailure");
|
|
101
|
+
export {
|
|
102
|
+
hostFailureContext,
|
|
103
|
+
reportFailure
|
|
104
|
+
};
|
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
|
-
checkedOptions
|
|
5
|
-
} from "./chunk-2SYWVIQJ.js";
|
|
6
|
-
import {
|
|
4
|
+
checkedOptions,
|
|
7
5
|
messagesFor,
|
|
8
6
|
systemFor
|
|
9
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-I4DFFR7F.js";
|
|
10
8
|
import {
|
|
11
9
|
Anthropic
|
|
12
10
|
} from "./chunk-ADLS6FVG.js";
|
|
13
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-OORMSM6O.js";
|
|
14
12
|
import {
|
|
15
13
|
array,
|
|
14
|
+
literal,
|
|
16
15
|
optional,
|
|
16
|
+
picklist,
|
|
17
|
+
record,
|
|
17
18
|
strictObject,
|
|
18
|
-
string
|
|
19
|
-
|
|
19
|
+
string,
|
|
20
|
+
unknown
|
|
21
|
+
} from "./chunk-WOIHSQAL.js";
|
|
20
22
|
import "./chunk-Y5E2WNWB.js";
|
|
21
23
|
import "./chunk-FEM2JQN2.js";
|
|
22
24
|
import "./chunk-OE7EIP5L.js";
|
|
@@ -24,9 +26,14 @@ import {
|
|
|
24
26
|
__name
|
|
25
27
|
} from "./chunk-ZVVMGPBJ.js";
|
|
26
28
|
|
|
27
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_737712cd0065e7e21fd5896a79d0773d/node_modules/@wirecat/cli-core/dist/models/anthropic.js
|
|
28
30
|
var options = strictObject({
|
|
29
|
-
stop_sequences: optional(array(string()))
|
|
31
|
+
stop_sequences: optional(array(string())),
|
|
32
|
+
thinking: optional(strictObject({ type: picklist(["disabled", "adaptive"]) })),
|
|
33
|
+
output_config: optional(strictObject({
|
|
34
|
+
effort: optional(picklist(["low", "medium", "high"])),
|
|
35
|
+
format: optional(strictObject({ type: literal("json_schema"), schema: record(string(), unknown()) }))
|
|
36
|
+
}))
|
|
30
37
|
});
|
|
31
38
|
var anthropic = {
|
|
32
39
|
images: true,
|
|
@@ -64,6 +71,10 @@ var anthropic = {
|
|
|
64
71
|
throw new Error("incomplete response");
|
|
65
72
|
return {
|
|
66
73
|
text: response.content.filter((block) => block.type === "text").map((block) => block.text).join(""),
|
|
74
|
+
usage: {
|
|
75
|
+
input: response.usage.input_tokens + (response.usage.cache_creation_input_tokens ?? 0) + (response.usage.cache_read_input_tokens ?? 0),
|
|
76
|
+
output: response.usage.output_tokens
|
|
77
|
+
},
|
|
67
78
|
tokens: response.usage.input_tokens + response.usage.output_tokens + (response.usage.cache_creation_input_tokens ?? 0) + (response.usage.cache_read_input_tokens ?? 0)
|
|
68
79
|
};
|
|
69
80
|
}, "complete")
|
|
@@ -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-YD2RYVMK.js";
|
|
7
7
|
import {
|
|
8
8
|
mcpUrlOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TM4JSVGQ.js";
|
|
10
10
|
import {
|
|
11
11
|
answeredWire
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-N2FNMION.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-DHWBSXG3.js";
|
|
20
20
|
import {
|
|
21
21
|
agentJson,
|
|
22
22
|
skillResource
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-MRI6QMZ3.js";
|
|
24
24
|
import {
|
|
25
25
|
StdioServerTransport,
|
|
26
26
|
serveStdio
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-LE7MDAQG.js";
|
|
28
|
+
import "./chunk-OWEBWDHV.js";
|
|
29
29
|
import {
|
|
30
30
|
appInstructions
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-77TCCHMP.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-
|
|
37
|
+
} from "./chunk-5J4AMBMM.js";
|
|
38
|
+
import "./chunk-2FV5JUQU.js";
|
|
39
|
+
import "./chunk-Q3XLZIY3.js";
|
|
40
|
+
import "./chunk-GGS6D4W4.js";
|
|
41
|
+
import "./chunk-DK6ICIGL.js";
|
|
42
|
+
import "./chunk-5LJTU4LY.js";
|
|
43
|
+
import "./chunk-7QC4M4HS.js";
|
|
44
44
|
import "./chunk-VW6BF6M7.js";
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-P3XC6EDU.js";
|
|
46
|
+
import "./chunk-ZVI6TFQR.js";
|
|
47
|
+
import "./chunk-GL3MYFMX.js";
|
|
48
48
|
import {
|
|
49
49
|
DEFAULT_OUTPUT_BYTES,
|
|
50
50
|
changesAuthorityAt,
|
|
@@ -53,53 +53,53 @@ import {
|
|
|
53
53
|
judgedTargets,
|
|
54
54
|
readsOverMcpAt,
|
|
55
55
|
rootOf2 as rootOf
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-DSVZEXYJ.js";
|
|
57
|
+
import "./chunk-633QXP57.js";
|
|
58
|
+
import "./chunk-DIQLXAAZ.js";
|
|
59
|
+
import "./chunk-SELXER2Q.js";
|
|
60
|
+
import "./chunk-ALIT5QFT.js";
|
|
61
|
+
import "./chunk-OHWMIUCT.js";
|
|
57
62
|
import {
|
|
58
63
|
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-QW5VPZEH.js";
|
|
77
|
-
import "./chunk-JX5JJZC3.js";
|
|
78
|
-
import "./chunk-5GOE6PQK.js";
|
|
79
|
-
import "./chunk-LDRQ5NAP.js";
|
|
80
|
-
import "./chunk-CKK6JOC4.js";
|
|
64
|
+
} from "./chunk-UG447QY2.js";
|
|
65
|
+
import "./chunk-Q5PI72CR.js";
|
|
66
|
+
import "./chunk-X277FBTF.js";
|
|
67
|
+
import "./chunk-FSHCAWZS.js";
|
|
68
|
+
import "./chunk-VRH7VRTK.js";
|
|
69
|
+
import "./chunk-4LAQDZXU.js";
|
|
70
|
+
import "./chunk-USQ23X5V.js";
|
|
71
|
+
import "./chunk-MEED7YFG.js";
|
|
72
|
+
import "./chunk-5K7OGPGA.js";
|
|
73
|
+
import "./chunk-XI3VIQKW.js";
|
|
74
|
+
import "./chunk-QTHIU7CO.js";
|
|
75
|
+
import "./chunk-BBTQIVFP.js";
|
|
76
|
+
import "./chunk-I4DFFR7F.js";
|
|
77
|
+
import "./chunk-CFQF6IGY.js";
|
|
78
|
+
import "./chunk-CKPCVEXU.js";
|
|
79
|
+
import "./chunk-GXF5HFFP.js";
|
|
80
|
+
import "./chunk-KMV7GZB6.js";
|
|
81
81
|
import "./chunk-P3ASN72F.js";
|
|
82
82
|
import "./chunk-D72URWJE.js";
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-
|
|
83
|
+
import "./chunk-BGTEVIW4.js";
|
|
84
|
+
import "./chunk-64ZHF6PJ.js";
|
|
85
|
+
import "./chunk-ULDXZ6LH.js";
|
|
86
|
+
import "./chunk-EOSVN2ER.js";
|
|
87
87
|
import "./chunk-VOXIGICJ.js";
|
|
88
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-OORMSM6O.js";
|
|
89
89
|
import {
|
|
90
90
|
mcpErrorResult
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-WOIHSQAL.js";
|
|
92
92
|
import "./chunk-Y5E2WNWB.js";
|
|
93
93
|
import {
|
|
94
94
|
CliError
|
|
95
95
|
} from "./chunk-FEM2JQN2.js";
|
|
96
96
|
import "./chunk-OE7EIP5L.js";
|
|
97
|
-
import "./chunk-
|
|
97
|
+
import "./chunk-INVTDIF6.js";
|
|
98
98
|
import {
|
|
99
99
|
__name
|
|
100
100
|
} from "./chunk-ZVVMGPBJ.js";
|
|
101
101
|
|
|
102
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
102
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.620.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_737712cd0065e7e21fd5896a79d0773d/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
|
|
103
103
|
var EXCLUDED = [["mcp"]];
|
|
104
104
|
var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
|
|
105
105
|
const { app } = options;
|
|
@@ -217,7 +217,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
217
217
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
218
218
|
const { app } = options;
|
|
219
219
|
const { build } = createAppServer(command, context, options);
|
|
220
|
-
const { serveOverHttp } = await import("./serve-
|
|
220
|
+
const { serveOverHttp } = await import("./serve-3XWIF3HI.js");
|
|
221
221
|
const listening = await serveOverHttp(build, {
|
|
222
222
|
...http,
|
|
223
223
|
appName: app.command,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-INVTDIF6.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.620.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_737712cd0065e7e21fd5896a79d0773d/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,9 +3,9 @@ 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-CRFOGYDG.js";
|
|
7
|
+
import "./chunk-OORMSM6O.js";
|
|
8
|
+
import "./chunk-WOIHSQAL.js";
|
|
9
9
|
import {
|
|
10
10
|
importFrom
|
|
11
11
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -15,7 +15,7 @@ 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.620.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_737712cd0065e7e21fd5896a79d0773d/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 {
|