@wirecat/zoom-cli 0.68.0 → 0.70.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/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-R66UM3HM.js → all-profiles-GE2TFJJP.js} +9 -9
- package/dist/bundle/answer-policy-GOXSDYDD.js +104 -0
- package/dist/bundle/{anthropic-4ZI2BPLG.js → anthropic-FA6NHENI.js} +9 -7
- package/dist/bundle/{app-server-64O5IQI5.js → app-server-IRADMSNX.js} +50 -50
- package/dist/bundle/{bun-HUHQD76Z.js → bun-ZYZGGCX5.js} +2 -2
- package/dist/bundle/{bun-sqlite-VOVHPTIF.js → bun-sqlite-Y24TUIGS.js} +4 -4
- package/dist/bundle/{chunk-W42BJ65M.js → chunk-2JEM2YNV.js} +1 -1
- package/dist/bundle/{chunk-3BRV2YU2.js → chunk-2QFPVUM3.js} +2 -2
- package/dist/bundle/{chunk-KAPJQGHE.js → chunk-2U6SER67.js} +1 -1
- package/dist/bundle/{chunk-77I67HWF.js → chunk-3KC7C465.js} +7 -7
- package/dist/bundle/{chunk-YQRNFG2E.js → chunk-4DSIWYGO.js} +7661 -13544
- package/dist/bundle/{chunk-7DUYFITC.js → chunk-56OV5ASY.js} +11 -11
- package/dist/bundle/{chunk-AVEIQMHZ.js → chunk-5XWCBLUR.js} +1 -1
- package/dist/bundle/{chunk-HXOAPH47.js → chunk-6HJFIMT7.js} +1 -1
- package/dist/bundle/{chunk-SSPSNSC5.js → chunk-6IF5ZHDS.js} +1 -1
- package/dist/bundle/{chunk-BOAMDYLY.js → chunk-7QC4M4HS.js} +2 -2
- package/dist/bundle/{chunk-6T3P226D.js → chunk-AISJCF7A.js} +4 -4
- package/dist/bundle/chunk-AT2XKNFN.js +342 -0
- package/dist/bundle/{chunk-BSM43OMN.js → chunk-AUNW7N4I.js} +1 -1
- package/dist/bundle/{chunk-R7LFGEDE.js → chunk-BSS6HX4O.js} +2 -2
- package/dist/bundle/{chunk-FMQS7HCC.js → chunk-BVWF4B33.js} +251 -10
- package/dist/bundle/{chunk-DGNPJGD3.js → chunk-CEJJBZAE.js} +9 -15
- package/dist/bundle/{chunk-L4WVLRXM.js → chunk-CHGUNZ3L.js} +3 -3
- package/dist/bundle/{chunk-LBOSTBAY.js → chunk-CIZ25UPK.js} +3841 -2497
- package/dist/bundle/{chunk-TN3FH2GQ.js → chunk-CSEBB4OP.js} +8 -8
- package/dist/bundle/{chunk-JO4YADNV.js → chunk-D3PNCJD5.js} +5 -5
- package/dist/bundle/{chunk-US5C3WAY.js → chunk-DCUWJITQ.js} +30 -30
- package/dist/bundle/{chunk-QXTREL2M.js → chunk-DNR4B5YV.js} +2 -2
- package/dist/bundle/{chunk-PUTGTW6W.js → chunk-DXCTW3MV.js} +1 -1
- package/dist/bundle/{chunk-B6JMVB6R.js → chunk-EOSVN2ER.js} +1 -1
- package/dist/bundle/{chunk-ZRD3NDOX.js → chunk-GB5X3GBE.js} +23 -1
- package/dist/bundle/{chunk-32FPA7P2.js → chunk-GVT5363M.js} +2 -2
- package/dist/bundle/{chunk-EWIBLDQQ.js → chunk-IINZIP73.js} +7 -7
- package/dist/bundle/{chunk-5JAYUG3X.js → chunk-IS3ZTT2Z.js} +5 -5
- package/dist/bundle/{chunk-LYWUG43B.js → chunk-IWPXWGF7.js} +34 -34
- package/dist/bundle/{chunk-JRCYFCPL.js → chunk-J3SKXICS.js} +350 -136
- package/dist/bundle/{chunk-UDJTRFRV.js → chunk-JRO2FWO2.js} +1 -1
- package/dist/bundle/chunk-JULBAECW.js +126 -0
- package/dist/bundle/{chunk-FNQASORM.js → chunk-KM736RMJ.js} +1 -1
- package/dist/bundle/{chunk-4TLPOY22.js → chunk-KWRCP55G.js} +11 -11
- package/dist/bundle/{chunk-SRP6SFFD.js → chunk-L24UOUWG.js} +1 -1
- package/dist/bundle/{chunk-AJ7CMUGD.js → chunk-LAG5O2FV.js} +218 -231
- package/dist/bundle/{chunk-UU5PLDRA.js → chunk-LXXCLQCW.js} +2 -2
- package/dist/bundle/{chunk-65T3PU75.js → chunk-M6JIXMQZ.js} +5 -1
- package/dist/bundle/{chunk-LV7QRR5S.js → chunk-M7E44TMT.js} +5 -5
- package/dist/bundle/{chunk-6XO7RTJY.js → chunk-M7VUXXGS.js} +110 -8
- package/dist/bundle/{chunk-A63ZFOQJ.js → chunk-MVOMLJYQ.js} +3 -3
- package/dist/bundle/{chunk-DVA6MQWK.js → chunk-OA37BWE5.js} +1 -1
- package/dist/bundle/{chunk-77KFLU5F.js → chunk-OAQLVV6W.js} +2 -2
- package/dist/bundle/{chunk-KNE6VFHZ.js → chunk-OORMSM6O.js} +1 -1
- package/dist/bundle/{chunk-TZUKDM72.js → chunk-PV6OHXHN.js} +16 -16
- package/dist/bundle/{chunk-2OSBCYJT.js → chunk-QL7EMFIC.js} +18 -18
- package/dist/bundle/{chunk-4YFJYSSK.js → chunk-QO2KPU26.js} +45 -29
- package/dist/bundle/{chunk-GOXDBCDM.js → chunk-RB33VTUW.js} +297 -397
- package/dist/bundle/{chunk-TDGZMC6K.js → chunk-RIPAUCKJ.js} +59 -55
- package/dist/bundle/{chunk-6CJ7NHIP.js → chunk-RO3ZR4VP.js} +12 -12
- package/dist/bundle/{chunk-BL36NSV5.js → chunk-RQG5VOGH.js} +12 -2
- package/dist/bundle/{chunk-YTF2WPV4.js → chunk-RRRJCHUC.js} +2162 -1250
- package/dist/bundle/chunk-RWIILYKW.js +66 -0
- package/dist/bundle/{chunk-YJY3W2ZT.js → chunk-SNIY3JDN.js} +21 -18
- package/dist/bundle/{chunk-EH5QGQFR.js → chunk-SVF3NDAO.js} +3 -3
- package/dist/bundle/{chunk-VLD7Y4SY.js → chunk-UVPL7YAY.js} +5 -5
- package/dist/bundle/{chunk-2T6XHWDX.js → chunk-V2E7QFZ3.js} +1 -1
- package/dist/bundle/{chunk-K67V24AT.js → chunk-V5GRSOCZ.js} +4 -4
- package/dist/bundle/{chunk-DWSUSWAX.js → chunk-VE2VNECR.js} +131 -12
- package/dist/bundle/{chunk-RRYUD2EF.js → chunk-VJ5ZU4UF.js} +22 -4
- package/dist/bundle/{chunk-7QNJICKZ.js → chunk-VNU5L37V.js} +26 -26
- package/dist/bundle/{chunk-6TJ62LZQ.js → chunk-VSLDWT4E.js} +3 -3
- package/dist/bundle/{chunk-P2TISY3R.js → chunk-W7ZEEC4K.js} +1 -1
- package/dist/bundle/{chunk-NRRI37NJ.js → chunk-WOIHSQAL.js} +44 -0
- package/dist/bundle/{chunk-EJDV5IIF.js → chunk-X4ZF4XXI.js} +1 -1
- package/dist/bundle/{chunk-FBLUKCIR.js → chunk-XRFHQGOD.js} +1 -1
- package/dist/bundle/{chunk-KUB2U5NT.js → chunk-XWQNJKTP.js} +5 -5
- package/dist/bundle/chunk-Y6C3N7YG.js +12434 -0
- package/dist/bundle/{chunk-474WF55M.js → chunk-YJSPBUGB.js} +63 -32
- package/dist/bundle/{chunk-RP3U3J53.js → chunk-YTN2JN6N.js} +7 -7
- package/dist/bundle/{chunk-Y5LP5SHV.js → chunk-YUHM2OJM.js} +10 -10
- package/dist/bundle/{chunk-7AUP2WT3.js → chunk-ZBKWRYRS.js} +2 -2
- package/dist/bundle/{chunk-355PHJYX.js → chunk-ZS55EERO.js} +1 -1
- package/dist/bundle/{chunk-TUNQ6NE2.js → chunk-ZSKE7N2U.js} +3 -3
- package/dist/bundle/{chunk-PIHBD3YS.js → chunk-ZV3INEKM.js} +4 -4
- package/dist/bundle/{cli-VQJ7ZRYR.js → cli-VRSQ7HAE.js} +76 -60
- package/dist/bundle/command-contract-RPRKHVU6.js +41 -0
- package/dist/bundle/config-QU6A6VIO.js +90 -0
- package/dist/bundle/{decode-L3ENO2XH.js → decode-523PUQMR.js} +4 -4
- package/dist/bundle/{dispatch-5MGDLOK4.js → dispatch-IZCAK47P.js} +1 -1
- package/dist/bundle/{dist-WQLS7U23.js → dist-6WWKPEVW.js} +98 -22
- package/dist/bundle/{echarts-5LLJ6JXC.js → echarts-S5UMX2D3.js} +2 -2
- package/dist/bundle/{embed-37MYTCU7.js → embed-ODPDVHUK.js} +5 -5
- package/dist/bundle/{embedder-GNGHVJAO.js → embedder-PAXRBSZE.js} +8 -8
- package/dist/bundle/{failure-CR64C4XA.js → failure-R2OIHCE5.js} +1 -1
- package/dist/bundle/{first-run-NR5JKYP3.js → first-run-NVTDR5VO.js} +8 -8
- package/dist/bundle/first-screen-5RWZDWLK.js +39 -0
- package/dist/bundle/{folders-VU4IN35Y.js → folders-ZXTOFY4T.js} +3 -3
- package/dist/bundle/{instructions-P72XX4AK.js → instructions-DUB7E6C5.js} +1 -1
- package/dist/bundle/{main-QYFCYSTW.js → main-A7JSYQI6.js} +18 -18
- package/dist/bundle/{meetings-66UQINKI.js → meetings-BDZQV3HR.js} +4 -4
- package/dist/bundle/{node-ZB4RNICS.js → node-E25KP53H.js} +2 -2
- package/dist/bundle/{node-sqlite-XPRKBDF3.js → node-sqlite-PHWDFZCP.js} +5 -5
- package/dist/bundle/{oauth-WJRDUU5J.js → oauth-G2K46IYP.js} +6 -6
- package/dist/bundle/{open-S2YSIEOW.js → open-INWS5HIZ.js} +4 -4
- package/dist/bundle/{openai-CRNZFNZD.js → openai-T44ORVGQ.js} +10 -10
- package/dist/bundle/{output-file-6COFGPUL.js → output-file-YGQYZCBJ.js} +4 -4
- package/dist/bundle/{process-XNN4WG6N.js → process-UJ2JHMJN.js} +1 -1
- package/dist/bundle/{program-BRPJKRCX.js → program-LYTGFV6L.js} +115 -72
- package/dist/bundle/{prompt-7RQOL25I.js → prompt-VTUCRCE4.js} +6 -4
- package/dist/bundle/{recognize-N5WADGQB.js → recognize-3CEPOW2F.js} +3 -3
- package/dist/bundle/{remote-WHYV35IF.js → remote-DRQEXEZL.js} +6 -6
- package/dist/bundle/{rerank-FBMZVWSH.js → rerank-UL4KNNVN.js} +6 -6
- package/dist/bundle/{run-log-TOCHREH2.js → run-log-UZAB5CWF.js} +54 -54
- package/dist/bundle/{serve-4BABX4WS.js → serve-P5UWUOWQ.js} +8 -8
- package/dist/bundle/server-F3NPVMS2.js +72 -0
- package/dist/bundle/{server-CDVI6LOB.js → server-M6XK2Y3X.js} +42 -42
- package/dist/bundle/{services-PIY33I7R.js → services-4HRYNY62.js} +66 -30
- package/dist/bundle/{speech-LS5Q4FL2.js → speech-BBPBMFAO.js} +12 -12
- package/dist/bundle/{state-YUX5R2R7.js → state-GDSUNUSY.js} +5 -5
- package/dist/bundle/{store-BD7HAXAA.js → store-LBQ6FZP2.js} +41 -15
- package/dist/bundle/{store-ERMGBF2B.js → store-VWLABMLF.js} +57 -17
- package/dist/bundle/store-connection-XEBFP56U.js +83 -0
- package/dist/bundle/store-maintenance-command-G43JN57J.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-XJXZ4ZBX.js → zoom-app-YIEJLWCW.js} +6 -6
- 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/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/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/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/answer-policy-UCGUO53A.js +0 -104
- package/dist/bundle/chunk-AYEVBAGO.js +0 -178
- package/dist/bundle/chunk-EZRPSZJS.js +0 -33
- package/dist/bundle/chunk-NUJMJQXV.js +0 -787
- package/dist/bundle/chunk-YOAEZSDG.js +0 -22
- package/dist/bundle/command-contract-JPUWWYIV.js +0 -41
- package/dist/bundle/config-YGLLR77A.js +0 -90
- package/dist/bundle/first-screen-RCR7ATO2.js +0 -39
- package/dist/bundle/server-XOFQKFVO.js +0 -72
- package/dist/bundle/store-connection-JBR6CMTJ.js +0 -83
- package/dist/bundle/store-maintenance-command-I5DUSO2C.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,CAAC,CAAC,CAAA;AACJ,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,EAAE,UAAU,EAAE,MAAM,EAA8C,EAAkB,EAAE,CAAC,CAAC;IAClH,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC;QAC3B,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,EAAE;KACvE,CAAC;IACF,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,CAAC,OAAO,CAAC,EAAE,CAAC;IACjF,+FAA+F;IAC/F,UAAU,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC;IACtE,UAAU,EAAE,CAAC,OAAO,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,EAAE,aAAa,EAAE,OAAO,CAAC,CAAC;IACxF,IAAI,EAAE,CAAC,OAAO,EAAE,EAAE;QAChB,MAAM,IAAI,GAAG,cAAc,CAAC,UAAU,EAAE,OAAO,CAAC,CAAA;QAChD,OAAO,CACL,IAAI;YACJ,8CAA8C,OAAO,gCAAgC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAC5G,CAAA;IACH,CAAC;CACF,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,IAAgD,EAAW,EAAE,CACpG,oBAAoB,CAAC,EAAE,EAAE,WAAW,CAAC,IAAI,CAAC,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.70.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-GE2TFJJP.js","../bundle/answer-policy-GOXSDYDD.js","../bundle/anthropic-FA6NHENI.js","../bundle/app-server-IRADMSNX.js","../bundle/bun-ZYZGGCX5.js","../bundle/bun-sqlite-Y24TUIGS.js","../bundle/cli-VRSQ7HAE.js","../bundle/command-contract-RPRKHVU6.js","../bundle/config-QU6A6VIO.js","../bundle/decode-523PUQMR.js","../bundle/dispatch-IZCAK47P.js","../bundle/dist-6WWKPEVW.js","../bundle/dist-XUFQCJXW.js","../bundle/echarts-S5UMX2D3.js","../bundle/embed-ODPDVHUK.js","../bundle/embedder-PAXRBSZE.js","../bundle/failure-R2OIHCE5.js","../bundle/first-run-NVTDR5VO.js","../bundle/first-screen-5RWZDWLK.js","../bundle/folders-ZXTOFY4T.js","../bundle/instructions-DUB7E6C5.js","../bundle/main-A7JSYQI6.js","../bundle/mcp-M4QN2E7R.js","../bundle/meetings-BDZQV3HR.js","../bundle/node-E25KP53H.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-PHWDFZCP.js","../bundle/oauth-G2K46IYP.js","../bundle/open-INWS5HIZ.js","../bundle/openai-T44ORVGQ.js","../bundle/output-file-YGQYZCBJ.js","../bundle/process-UJ2JHMJN.js","../bundle/program-LYTGFV6L.js","../bundle/prompt-VTUCRCE4.js","../bundle/recognize-3CEPOW2F.js","../bundle/remote-DRQEXEZL.js","../bundle/rerank-UL4KNNVN.js","../bundle/run-log-UZAB5CWF.js","../bundle/serve-P5UWUOWQ.js","../bundle/server-F3NPVMS2.js","../bundle/server-M6XK2Y3X.js","../bundle/services-4HRYNY62.js","../bundle/speech-BBPBMFAO.js","../bundle/state-GDSUNUSY.js","../bundle/store-LBQ6FZP2.js","../bundle/store-VWLABMLF.js","../bundle/store-connection-XEBFP56U.js","../bundle/store-maintenance-command-G43JN57J.js","../bundle/streaming-EJ3NM2C2.js","../bundle/tokens-BE6CJMR5.js","../bundle/zoom-app-YIEJLWCW.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-6HJFIMT7.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-LXXCLQCW.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-YTN2JN6N.js";
|
|
17
|
+
import "./chunk-RWIILYKW.js";
|
|
18
|
+
import "./chunk-X4ZF4XXI.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.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/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-P5UWUOWQ.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-CIZ25UPK.js";
|
|
4
|
+
import "./chunk-YUHM2OJM.js";
|
|
5
|
+
import "./chunk-2JEM2YNV.js";
|
|
6
|
+
import "./chunk-ZS55EERO.js";
|
|
7
|
+
import "./chunk-KWRCP55G.js";
|
|
8
|
+
import "./chunk-CEJJBZAE.js";
|
|
9
|
+
import "./chunk-JULBAECW.js";
|
|
10
|
+
import "./chunk-6IF5ZHDS.js";
|
|
11
|
+
import "./chunk-YJSPBUGB.js";
|
|
12
|
+
import "./chunk-56OV5ASY.js";
|
|
13
|
+
import {
|
|
14
|
+
failureContext
|
|
15
|
+
} from "./chunk-M7VUXXGS.js";
|
|
16
|
+
import "./chunk-AISJCF7A.js";
|
|
17
|
+
import "./chunk-RB33VTUW.js";
|
|
18
|
+
import "./chunk-KM736RMJ.js";
|
|
19
|
+
import "./chunk-DCUWJITQ.js";
|
|
20
|
+
import "./chunk-QL7EMFIC.js";
|
|
21
|
+
import "./chunk-SVF3NDAO.js";
|
|
22
|
+
import "./chunk-RRRJCHUC.js";
|
|
23
|
+
import "./chunk-RO3ZR4VP.js";
|
|
24
|
+
import "./chunk-7QC4M4HS.js";
|
|
25
|
+
import "./chunk-VW6BF6M7.js";
|
|
26
|
+
import "./chunk-BVWF4B33.js";
|
|
27
|
+
import "./chunk-QO2KPU26.js";
|
|
28
|
+
import "./chunk-IINZIP73.js";
|
|
29
|
+
import "./chunk-HTQTIKWP.js";
|
|
30
|
+
import "./chunk-V5GRSOCZ.js";
|
|
31
|
+
import {
|
|
32
|
+
judgedEffects,
|
|
33
|
+
judgedTargets
|
|
34
|
+
} from "./chunk-LAG5O2FV.js";
|
|
35
|
+
import "./chunk-YTN2JN6N.js";
|
|
36
|
+
import "./chunk-CHGUNZ3L.js";
|
|
37
|
+
import "./chunk-D3PNCJD5.js";
|
|
38
|
+
import "./chunk-OA37BWE5.js";
|
|
39
|
+
import "./chunk-J3SKXICS.js";
|
|
40
|
+
import "./chunk-5XWCBLUR.js";
|
|
41
|
+
import "./chunk-M6JIXMQZ.js";
|
|
42
|
+
import "./chunk-ZSKE7N2U.js";
|
|
43
|
+
import "./chunk-4DSIWYGO.js";
|
|
44
|
+
import "./chunk-3KC7C465.js";
|
|
45
|
+
import "./chunk-Y6C3N7YG.js";
|
|
46
|
+
import "./chunk-VE2VNECR.js";
|
|
47
|
+
import "./chunk-RWIILYKW.js";
|
|
48
|
+
import "./chunk-UVPL7YAY.js";
|
|
49
|
+
import "./chunk-AT2XKNFN.js";
|
|
50
|
+
import "./chunk-X4ZF4XXI.js";
|
|
51
|
+
import "./chunk-VJ5ZU4UF.js";
|
|
52
|
+
import "./chunk-V2E7QFZ3.js";
|
|
53
|
+
import "./chunk-GB5X3GBE.js";
|
|
54
|
+
import "./chunk-2QFPVUM3.js";
|
|
55
|
+
import "./chunk-XWQNJKTP.js";
|
|
56
|
+
import "./chunk-VSLDWT4E.js";
|
|
57
|
+
import "./chunk-GVT5363M.js";
|
|
58
|
+
import {
|
|
59
|
+
VERSION,
|
|
60
|
+
ZM
|
|
61
|
+
} from "./chunk-AUNW7N4I.js";
|
|
62
|
+
import "./chunk-P3ASN72F.js";
|
|
63
|
+
import "./chunk-D72URWJE.js";
|
|
64
|
+
import "./chunk-M7E44TMT.js";
|
|
65
|
+
import "./chunk-DXCTW3MV.js";
|
|
66
|
+
import "./chunk-RIPAUCKJ.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-W7ZEEC4K.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,20 @@
|
|
|
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-EZRPSZJS.js";
|
|
6
|
-
import {
|
|
4
|
+
checkedOptions,
|
|
7
5
|
messagesFor,
|
|
8
6
|
systemFor
|
|
9
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GB5X3GBE.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,
|
|
16
14
|
optional,
|
|
17
15
|
strictObject,
|
|
18
16
|
string
|
|
19
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-WOIHSQAL.js";
|
|
20
18
|
import "./chunk-Y5E2WNWB.js";
|
|
21
19
|
import "./chunk-FEM2JQN2.js";
|
|
22
20
|
import "./chunk-OE7EIP5L.js";
|
|
@@ -24,7 +22,7 @@ import {
|
|
|
24
22
|
__name
|
|
25
23
|
} from "./chunk-ZVVMGPBJ.js";
|
|
26
24
|
|
|
27
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/models/anthropic.js
|
|
28
26
|
var options = strictObject({
|
|
29
27
|
stop_sequences: optional(array(string()))
|
|
30
28
|
});
|
|
@@ -64,6 +62,10 @@ var anthropic = {
|
|
|
64
62
|
throw new Error("incomplete response");
|
|
65
63
|
return {
|
|
66
64
|
text: response.content.filter((block) => block.type === "text").map((block) => block.text).join(""),
|
|
65
|
+
usage: {
|
|
66
|
+
input: response.usage.input_tokens + (response.usage.cache_creation_input_tokens ?? 0) + (response.usage.cache_read_input_tokens ?? 0),
|
|
67
|
+
output: response.usage.output_tokens
|
|
68
|
+
},
|
|
67
69
|
tokens: response.usage.input_tokens + response.usage.output_tokens + (response.usage.cache_creation_input_tokens ?? 0) + (response.usage.cache_read_input_tokens ?? 0)
|
|
68
70
|
};
|
|
69
71
|
}, "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-IWPXWGF7.js";
|
|
7
7
|
import {
|
|
8
8
|
mcpUrlOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YJSPBUGB.js";
|
|
10
10
|
import {
|
|
11
11
|
answeredWire
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6HJFIMT7.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-SNIY3JDN.js";
|
|
20
20
|
import {
|
|
21
21
|
agentJson,
|
|
22
22
|
skillResource
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-56OV5ASY.js";
|
|
24
24
|
import {
|
|
25
25
|
StdioServerTransport,
|
|
26
26
|
serveStdio
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-LXXCLQCW.js";
|
|
28
|
+
import "./chunk-M7VUXXGS.js";
|
|
29
29
|
import {
|
|
30
30
|
appInstructions
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-JRO2FWO2.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-AISJCF7A.js";
|
|
38
|
+
import "./chunk-DCUWJITQ.js";
|
|
39
|
+
import "./chunk-QL7EMFIC.js";
|
|
40
|
+
import "./chunk-SVF3NDAO.js";
|
|
41
|
+
import "./chunk-RRRJCHUC.js";
|
|
42
|
+
import "./chunk-RO3ZR4VP.js";
|
|
43
|
+
import "./chunk-7QC4M4HS.js";
|
|
44
44
|
import "./chunk-VW6BF6M7.js";
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-BVWF4B33.js";
|
|
46
|
+
import "./chunk-QO2KPU26.js";
|
|
47
|
+
import "./chunk-V5GRSOCZ.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-LAG5O2FV.js";
|
|
57
|
+
import "./chunk-YTN2JN6N.js";
|
|
58
|
+
import "./chunk-CHGUNZ3L.js";
|
|
59
|
+
import "./chunk-D3PNCJD5.js";
|
|
60
|
+
import "./chunk-OA37BWE5.js";
|
|
61
|
+
import "./chunk-J3SKXICS.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-ZRD3NDOX.js";
|
|
77
|
-
import "./chunk-3BRV2YU2.js";
|
|
78
|
-
import "./chunk-KUB2U5NT.js";
|
|
79
|
-
import "./chunk-6TJ62LZQ.js";
|
|
80
|
-
import "./chunk-32FPA7P2.js";
|
|
64
|
+
} from "./chunk-5XWCBLUR.js";
|
|
65
|
+
import "./chunk-M6JIXMQZ.js";
|
|
66
|
+
import "./chunk-ZSKE7N2U.js";
|
|
67
|
+
import "./chunk-4DSIWYGO.js";
|
|
68
|
+
import "./chunk-3KC7C465.js";
|
|
69
|
+
import "./chunk-Y6C3N7YG.js";
|
|
70
|
+
import "./chunk-VE2VNECR.js";
|
|
71
|
+
import "./chunk-RWIILYKW.js";
|
|
72
|
+
import "./chunk-UVPL7YAY.js";
|
|
73
|
+
import "./chunk-AT2XKNFN.js";
|
|
74
|
+
import "./chunk-X4ZF4XXI.js";
|
|
75
|
+
import "./chunk-V2E7QFZ3.js";
|
|
76
|
+
import "./chunk-GB5X3GBE.js";
|
|
77
|
+
import "./chunk-2QFPVUM3.js";
|
|
78
|
+
import "./chunk-XWQNJKTP.js";
|
|
79
|
+
import "./chunk-VSLDWT4E.js";
|
|
80
|
+
import "./chunk-GVT5363M.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-M7E44TMT.js";
|
|
84
|
+
import "./chunk-DXCTW3MV.js";
|
|
85
|
+
import "./chunk-RIPAUCKJ.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-W7ZEEC4K.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.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/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-P5UWUOWQ.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-W7ZEEC4K.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.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/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-L24UOUWG.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.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/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 {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/cli/messenger/private-files.js
|
|
8
8
|
import { existsSync, statSync } from "node:fs";
|
|
9
9
|
var shellQuoted = /* @__PURE__ */ __name((path) => `'${path.replaceAll("'", `'\\''`)}'`, "shellQuoted");
|
|
10
10
|
var privateFiles = /* @__PURE__ */ __name(({ files, dirs }, platform = process.platform) => {
|
|
@@ -2,7 +2,7 @@ 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-XWQNJKTP.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
8
|
} from "./chunk-FEM2JQN2.js";
|
|
@@ -10,7 +10,7 @@ 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.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/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 = {
|
|
@@ -7,7 +7,7 @@ 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.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/search/languages.js
|
|
11
11
|
var LANGUAGES = [
|
|
12
12
|
{ name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
|
|
13
13
|
{ name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
|
|
@@ -15,12 +15,12 @@ var LANGUAGES = [
|
|
|
15
15
|
];
|
|
16
16
|
var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/store/normalize.js
|
|
19
19
|
var NORMALIZER_VERSION = 1;
|
|
20
20
|
var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
|
|
21
21
|
var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
|
|
24
24
|
var BaseStemmer = class {
|
|
25
25
|
static {
|
|
26
26
|
__name(this, "BaseStemmer");
|
|
@@ -395,7 +395,7 @@ var BaseStemmer = class {
|
|
|
395
395
|
}
|
|
396
396
|
};
|
|
397
397
|
|
|
398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
398
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
|
|
399
399
|
var a_0 = [
|
|
400
400
|
["arsen", -1],
|
|
401
401
|
["commun", -1],
|
|
@@ -1096,7 +1096,7 @@ var english_stemmer_default = class extends BaseStemmer {
|
|
|
1096
1096
|
stemWord = this.stem;
|
|
1097
1097
|
};
|
|
1098
1098
|
|
|
1099
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1099
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
|
|
1100
1100
|
var a_02 = [
|
|
1101
1101
|
["\u0432", 1],
|
|
1102
1102
|
["\u0438\u0432", 2, 1],
|
|
@@ -1519,7 +1519,7 @@ var russian_stemmer_default = class extends BaseStemmer {
|
|
|
1519
1519
|
stemWord = this.stem;
|
|
1520
1520
|
};
|
|
1521
1521
|
|
|
1522
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1522
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
|
|
1523
1523
|
var a_03 = [
|
|
1524
1524
|
["", 6],
|
|
1525
1525
|
["\xE1", 1, 1],
|
|
@@ -2195,7 +2195,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
|
|
|
2195
2195
|
stemWord = this.stem;
|
|
2196
2196
|
};
|
|
2197
2197
|
|
|
2198
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2198
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/search/stem.js
|
|
2199
2199
|
var SNOWBALL_VERSION = "3.1.1";
|
|
2200
2200
|
var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
|
|
2201
2201
|
var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
|