@wirecat/zoom-cli 0.78.0 → 0.80.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 +5 -4
- package/dist/answer-output.d.ts +1 -1
- package/dist/answer-output.js +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-7JN3N3E6.js → all-profiles-5GOKWOT4.js} +11 -11
- package/dist/bundle/answer-policy-7PYXHK2I.js +122 -0
- package/dist/bundle/{anthropic-U6O7UYGZ.js → anthropic-NHXMOFYS.js} +6 -6
- package/dist/bundle/{app-server-G7BTC6CE.js → app-server-HFW5Z5PI.js} +68 -68
- package/dist/bundle/{bun-VLROVUFK.js → bun-M5IGY2TG.js} +2 -2
- package/dist/bundle/{bun-sqlite-C5JLANDE.js → bun-sqlite-MTP5JJQ2.js} +7 -7
- package/dist/bundle/{chunk-7HEZQCHL.js → chunk-2P6MQH4V.js} +6 -6
- package/dist/bundle/{chunk-HGBZBQAE.js → chunk-2XZ2YKW4.js} +3 -3
- package/dist/bundle/{chunk-3NZJKY7A.js → chunk-3AOESMW6.js} +34 -24
- package/dist/bundle/{chunk-HI4QICF7.js → chunk-3BTRJYIT.js} +12 -12
- package/dist/bundle/{chunk-GQ6EJDMV.js → chunk-3UONR5HW.js} +1 -1
- package/dist/bundle/{chunk-NS5XSCHC.js → chunk-3Z7CFQTI.js} +1 -1
- package/dist/bundle/{chunk-RJIJR6KH.js → chunk-475P3LWG.js} +1 -1
- package/dist/bundle/{chunk-MVLLWSV7.js → chunk-4F7Q5CET.js} +16 -16
- package/dist/bundle/{chunk-7K5O2VWO.js → chunk-4OAR7BGU.js} +1 -1
- package/dist/bundle/{chunk-ZZJ5IWNT.js → chunk-5CJ6AAUI.js} +4 -4
- package/dist/bundle/{chunk-4XPVRZXE.js → chunk-5K54M6RD.js} +1 -1
- package/dist/bundle/{chunk-LX532BXO.js → chunk-5QXQIZJY.js} +1 -1
- package/dist/bundle/{chunk-WJTXO2EI.js → chunk-5RVXXDN7.js} +1 -1
- package/dist/bundle/{chunk-M5R2DURM.js → chunk-5XO2AY6D.js} +10 -10
- package/dist/bundle/{chunk-MSMFYW6N.js → chunk-6CDMGT6Q.js} +2 -2
- package/dist/bundle/{chunk-AEVSVVTP.js → chunk-6I4C4ZFT.js} +2 -2
- package/dist/bundle/{chunk-YNYQGZUW.js → chunk-6LY4LBSD.js} +7 -7
- package/dist/bundle/{chunk-OOLNK3Y5.js → chunk-6MDL2LZA.js} +8 -8
- package/dist/bundle/{chunk-532FNLON.js → chunk-6PIXP5IH.js} +20 -20
- package/dist/bundle/{chunk-VMA7SILL.js → chunk-6QCBTBDA.js} +1 -1
- package/dist/bundle/{chunk-BIUHLXL2.js → chunk-75JW7X2W.js} +33 -33
- package/dist/bundle/{chunk-FXHZHQKU.js → chunk-7U5X37TE.js} +6 -6
- package/dist/bundle/{chunk-VW36ZSAE.js → chunk-A3TUG2DP.js} +1 -1
- package/dist/bundle/{chunk-FCGRXUAU.js → chunk-ARL2TTPZ.js} +9 -9
- package/dist/bundle/{chunk-TXDCIM5D.js → chunk-BIKHHFD2.js} +1162 -771
- package/dist/bundle/{chunk-OAYAGQ7C.js → chunk-BNEJKGG7.js} +31 -22
- package/dist/bundle/{chunk-P5QO7Y3H.js → chunk-BPSURRAD.js} +6 -6
- package/dist/bundle/{chunk-6MFEWAK4.js → chunk-BRMV33MO.js} +4 -4
- package/dist/bundle/{chunk-HOJOVUO6.js → chunk-BW5JEOBE.js} +12 -12
- package/dist/bundle/{chunk-HUSIS3XO.js → chunk-CHEHK6IW.js} +64 -61
- package/dist/bundle/{chunk-XCOGI4JE.js → chunk-CW6CPQHI.js} +4 -4
- package/dist/bundle/{chunk-BAHXR4PA.js → chunk-CWCDCNXA.js} +6 -6
- package/dist/bundle/{chunk-NO2LIHWA.js → chunk-CWXOXIWS.js} +1 -1
- package/dist/bundle/{chunk-F7IDYQLM.js → chunk-D4HKTC2T.js} +2 -2
- package/dist/bundle/{chunk-YZKVCTZI.js → chunk-DYRISFHZ.js} +8 -8
- package/dist/bundle/{chunk-OI4563JI.js → chunk-DZ6H3YJH.js} +13 -13
- package/dist/bundle/{chunk-YHQ3TEGB.js → chunk-E3JVLVVB.js} +29 -27
- package/dist/bundle/{chunk-MJMHUU3J.js → chunk-EI37UXDR.js} +1 -1
- package/dist/bundle/{chunk-3A3B3JX4.js → chunk-EMYRUJCV.js} +35 -12
- package/dist/bundle/{chunk-B4V4DRVO.js → chunk-EPIA2UUM.js} +12 -12
- package/dist/bundle/{chunk-H74NENWA.js → chunk-FIJREKLA.js} +3 -3
- package/dist/bundle/chunk-FPUGMDJV.js +7 -0
- package/dist/bundle/{chunk-JOIAE3NO.js → chunk-FSLR2YGR.js} +7 -7
- package/dist/bundle/{chunk-2LMD3JUD.js → chunk-G5VH4WUF.js} +2 -2
- package/dist/bundle/{chunk-LERF2FIK.js → chunk-GCPO7T2X.js} +3 -3
- package/dist/bundle/{chunk-IBINGDYF.js → chunk-GCUOZ2OA.js} +6 -6
- package/dist/bundle/{chunk-XSF5OBVZ.js → chunk-GGKEQQME.js} +8 -8
- package/dist/bundle/{chunk-H34KEXTN.js → chunk-GRYXOSN6.js} +10 -10
- package/dist/bundle/{chunk-DLJPN47R.js → chunk-GVKZZT7E.js} +6 -5
- package/dist/bundle/{chunk-M2M3U4UU.js → chunk-HGSBLY6M.js} +12 -12
- package/dist/bundle/{chunk-7AMKSXMB.js → chunk-HH7GR6TN.js} +6 -6
- package/dist/bundle/{chunk-WOYPWXZK.js → chunk-IQWBGMCR.js} +4 -4
- package/dist/bundle/{chunk-F2KZNAFF.js → chunk-JGSVWLL2.js} +2 -2
- package/dist/bundle/{chunk-XOG7B7K5.js → chunk-JJX4HKDV.js} +4 -4
- package/dist/bundle/{chunk-C56OYYFG.js → chunk-JXSEH64A.js} +3 -3
- package/dist/bundle/{chunk-Q4AKIAIA.js → chunk-K672XJ2P.js} +12 -12
- package/dist/bundle/{chunk-LBV4673S.js → chunk-L2TURFT6.js} +3 -3
- package/dist/bundle/{chunk-H7SRM26V.js → chunk-L6FM5RQY.js} +3 -3
- package/dist/bundle/{chunk-EV7QCFQR.js → chunk-M4LAF627.js} +45 -23
- package/dist/bundle/{chunk-B6TUEQ4O.js → chunk-MH4L5LL6.js} +3 -3
- package/dist/bundle/{chunk-5SM2IOAS.js → chunk-N5YUHN6S.js} +14 -29
- package/dist/bundle/{chunk-TEFHNXXX.js → chunk-NMETTKCV.js} +31 -16
- package/dist/bundle/{chunk-6NTNAEZF.js → chunk-NRVMK5H3.js} +1390 -1039
- package/dist/bundle/{chunk-53TV72JG.js → chunk-NXFKZFTC.js} +2 -2
- package/dist/bundle/{chunk-YAPDU3SV.js → chunk-O3DYRCIT.js} +1 -1
- package/dist/bundle/{chunk-XXD4YPHQ.js → chunk-O4ZBFATF.js} +12 -12
- package/dist/bundle/{chunk-UKYO3HNO.js → chunk-ONJPUFLX.js} +1 -1
- package/dist/bundle/{chunk-WEAMGNST.js → chunk-OXPHJEJ2.js} +3 -3
- package/dist/bundle/{chunk-ZDZASHSQ.js → chunk-P2JTVRGU.js} +17 -17
- package/dist/bundle/{chunk-U2Z35B3W.js → chunk-PCPOO5FS.js} +2 -2
- package/dist/bundle/{chunk-7IIQU5RA.js → chunk-PKW3TPNP.js} +13 -13
- package/dist/bundle/{chunk-5DLK4OXF.js → chunk-PMO2Z6DQ.js} +3 -3
- package/dist/bundle/{chunk-3QWYRZME.js → chunk-Q5LUGY2V.js} +8 -8
- package/dist/bundle/{chunk-KBTINKQF.js → chunk-Q6MISDKJ.js} +3 -3
- package/dist/bundle/{chunk-BGO7IEHY.js → chunk-QIK2IBJ4.js} +21 -7
- package/dist/bundle/{chunk-2AWWMROP.js → chunk-RFXJLG5V.js} +7495 -7138
- package/dist/bundle/{chunk-UHBQM54J.js → chunk-RMX2WPWS.js} +4 -4
- package/dist/bundle/{chunk-2USGT7LE.js → chunk-RT7C3SSJ.js} +1 -1
- package/dist/bundle/{chunk-FNLXFQN6.js → chunk-ST3ZB7LS.js} +1 -1
- package/dist/bundle/{chunk-INJK7FNM.js → chunk-SUG6YGAF.js} +201 -175
- package/dist/bundle/{chunk-FURKMNC2.js → chunk-TDBVM2SS.js} +3 -3
- package/dist/bundle/{chunk-FHOQWPQ6.js → chunk-TMYZKDQ7.js} +307 -268
- package/dist/bundle/{chunk-LBTANUUH.js → chunk-TNL3YQ33.js} +2 -2
- package/dist/bundle/{chunk-V53TIJLY.js → chunk-U5N2PKKM.js} +2 -2
- package/dist/bundle/{chunk-FMMCGQNT.js → chunk-UX4JZMA4.js} +28 -4
- package/dist/bundle/{chunk-ZCVO6GAT.js → chunk-VN7TKMOW.js} +1 -1
- package/dist/bundle/{chunk-OAE6XR7E.js → chunk-W2QDYMAM.js} +7 -7
- package/dist/bundle/{chunk-2O66KMOR.js → chunk-W32HK7KG.js} +2 -2
- package/dist/bundle/{chunk-UIBKGH5P.js → chunk-W3GZ7JUO.js} +1 -1
- package/dist/bundle/{chunk-ORSTSBWU.js → chunk-W7M4JYEE.js} +1 -1
- package/dist/bundle/{chunk-KEAKNNXU.js → chunk-XIHENZW6.js} +4 -4
- package/dist/bundle/{chunk-C26V2XNV.js → chunk-XKLU5KV2.js} +1 -1
- package/dist/bundle/{chunk-Q4CNLEAY.js → chunk-XL4ND7CZ.js} +26 -26
- package/dist/bundle/{chunk-7EVB4UV7.js → chunk-XTCAWNBP.js} +4 -4
- package/dist/bundle/{chunk-4QCLPSJ7.js → chunk-YAA2D6RP.js} +5 -5
- package/dist/bundle/{chunk-YLNUKNGD.js → chunk-YR5TRWT2.js} +35 -34
- package/dist/bundle/{chunk-TFDD4Q5Z.js → chunk-Z3CPZ4I4.js} +10 -10
- package/dist/bundle/{chunk-PJMQE4PW.js → chunk-ZPZT46O6.js} +15 -9
- package/dist/bundle/{cli-YALONJ4V.js → cli-QNBYDOKV.js} +91 -77
- package/dist/bundle/command-contract-CT6MV6YG.js +45 -0
- package/dist/bundle/{command-server-entry-W4XTBUZE.js → command-server-entry-WMA4SWJ5.js} +35 -35
- package/dist/bundle/config-ZFQFDEVL.js +109 -0
- package/dist/bundle/{decode-IFQHVCFX.js → decode-7PXUXNIP.js} +6 -6
- package/dist/bundle/{dispatch-GOJB4TDK.js → dispatch-AWDROXWN.js} +9 -9
- package/dist/bundle/{dist-H7XFUMRX.js → dist-TSBH4FOU.js} +21 -21
- package/dist/bundle/{echarts-HPUHPJCO.js → echarts-WIDIUEO6.js} +2 -2
- package/dist/bundle/{embed-ESU3WZYW.js → embed-EIRVQF5E.js} +7 -7
- package/dist/bundle/{embedder-BV6O76B3.js → embedder-MXPM6OXK.js} +10 -10
- package/dist/bundle/{failure-SWVCYFQX.js → failure-JZW73RP7.js} +3 -3
- package/dist/bundle/first-run-K6EHRAIM.js +29 -0
- package/dist/bundle/first-screen-C6AF4KT4.js +45 -0
- package/dist/bundle/{folders-VQGKBM3P.js → folders-TGFOE7DY.js} +5 -5
- package/dist/bundle/{instructions-UUX57I3V.js → instructions-D5LNE6NJ.js} +1 -1
- package/dist/bundle/{main-UIKADOFB.js → main-OHW5Z56X.js} +24 -24
- package/dist/bundle/{mcp-VMS6PBCU.js → mcp-RGNRW77S.js} +2 -2
- package/dist/bundle/meeting-combined-3OKFXZNA.js +26 -0
- package/dist/bundle/meeting-model-4XNF725D.js +26 -0
- package/dist/bundle/{meeting-semantic-F6GUICB7.js → meeting-semantic-FYOVY4S2.js} +8 -8
- package/dist/bundle/{meetings-KIBUPLPW.js → meetings-WI4SXPBJ.js} +9 -7
- package/dist/bundle/{node-AM3JCAWB.js → node-UEWUFR7N.js} +2 -2
- package/dist/bundle/{node-sqlite-VM6VS3RU.js → node-sqlite-FJWKJHYU.js} +8 -8
- package/dist/bundle/{oauth-AX5Z32H6.js → oauth-KOONTGLW.js} +8 -8
- package/dist/bundle/{open-SSGOOOZG.js → open-EFYTWUGC.js} +6 -6
- package/dist/bundle/openai-6Y2JRDNY.js +28 -0
- package/dist/bundle/{output-file-FR226A64.js → output-file-J4SU6X4I.js} +6 -6
- package/dist/bundle/{process-5ZEK2VFY.js → process-U5PLNIDC.js} +1 -1
- package/dist/bundle/{program-ROJAJHCB.js → program-3JICCSA6.js} +98 -95
- package/dist/bundle/{prompt-6Y7A4453.js → prompt-YPDMSOKC.js} +6 -6
- package/dist/bundle/{recognize-R5W25WKH.js → recognize-Z2SSWUKH.js} +5 -5
- package/dist/bundle/{remote-PA4FQUZK.js → remote-R5HMDHOG.js} +11 -11
- package/dist/bundle/{rerank-CYX3UFTM.js → rerank-6NGBEMQ2.js} +8 -8
- package/dist/bundle/run-log-LG3TI3WI.js +136 -0
- package/dist/bundle/{serve-MM5QEZJW.js → serve-CU3RMWU7.js} +10 -10
- package/dist/bundle/{server-JQQAH7E5.js → server-SOQSVX2Q.js} +60 -60
- package/dist/bundle/server-X7JYRMKX.js +85 -0
- package/dist/bundle/{services-Y2DOQONM.js → services-LROZ3RDT.js} +54 -54
- package/dist/bundle/{speech-O6WLX34V.js → speech-AS77HFIF.js} +25 -25
- package/dist/bundle/{sqlite-runtime-LQTBZMFH.js → sqlite-runtime-U25NS6BK.js} +7 -7
- package/dist/bundle/{state-AIDPZLVH.js → state-CPEVKK66.js} +7 -7
- package/dist/bundle/{store-BA4FQS5V.js → store-6CHRMJM7.js} +28 -24
- package/dist/bundle/{store-UNDS2TBG.js → store-QKHCZOYR.js} +26 -26
- package/dist/bundle/store-connection-FCDVOPWB.js +102 -0
- package/dist/bundle/store-maintenance-command-6HVOAHOZ.js +77 -0
- package/dist/bundle/{streaming-UFHT5MR2.js → streaming-VDJOYGMO.js} +7 -7
- package/dist/bundle/{tokens-Z32UKGQB.js → tokens-JBN2OHQB.js} +10 -10
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-6U46XBTG.js → zoom-app-Q4IKYNG3.js} +8 -8
- 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/store-commands.d.ts.map +1 -1
- package/dist/store-commands.js +2 -2
- package/dist/store-commands.js.map +1 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +3 -0
- package/dist/tokens.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -3
- package/dist/bundle/answer-policy-G2BNMPEX.js +0 -122
- package/dist/bundle/chunk-SHTHNBHG.js +0 -2
- package/dist/bundle/command-contract-DMR5EOIN.js +0 -45
- package/dist/bundle/config-4TLDRXRL.js +0 -109
- package/dist/bundle/first-run-OEJGAQAE.js +0 -29
- package/dist/bundle/first-screen-QLM4IABL.js +0 -45
- package/dist/bundle/meeting-combined-SKJISCC7.js +0 -26
- package/dist/bundle/meeting-model-YG3Z5KCB.js +0 -26
- package/dist/bundle/openai-YIP73X2B.js +0 -28
- package/dist/bundle/run-log-FHERL3H6.js +0 -136
- package/dist/bundle/server-W2BBONCQ.js +0 -85
- package/dist/bundle/store-connection-ADBJ36T4.js +0 -102
- package/dist/bundle/store-maintenance-command-IB6ML4UI.js +0 -77
|
@@ -19,14 +19,14 @@ import {
|
|
|
19
19
|
string,
|
|
20
20
|
text,
|
|
21
21
|
unknown
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ZPZT46O6.js";
|
|
23
23
|
import {
|
|
24
24
|
CliError,
|
|
25
25
|
isCliError
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ST3ZB7LS.js";
|
|
27
27
|
import {
|
|
28
28
|
visibleControls
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-5RVXXDN7.js";
|
|
30
30
|
import {
|
|
31
31
|
__commonJS,
|
|
32
32
|
__name,
|
|
@@ -1899,7 +1899,7 @@ var require_cli_table3 = __commonJS({
|
|
|
1899
1899
|
}
|
|
1900
1900
|
});
|
|
1901
1901
|
|
|
1902
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1902
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/result-fields.js
|
|
1903
1903
|
var forbidden = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
|
|
1904
1904
|
var validate = /* @__PURE__ */ __name((paths) => {
|
|
1905
1905
|
if (paths.length === 0 || paths.length > 128 || paths.some((path) => path.length > 256 || !/^[A-Za-z][A-Za-z0-9_]*(?:\.[A-Za-z][A-Za-z0-9_]*)*$/.test(path) || path.split(".").some((part) => forbidden.has(part))))
|
|
@@ -1964,7 +1964,7 @@ var projectFields = /* @__PURE__ */ __name((value, fields) => {
|
|
|
1964
1964
|
return project(value, fields);
|
|
1965
1965
|
}, "projectFields");
|
|
1966
1966
|
|
|
1967
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1967
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/batch.js
|
|
1968
1968
|
var BATCH_LIMITS = Object.freeze({
|
|
1969
1969
|
requests: 32,
|
|
1970
1970
|
input_bytes: 262144,
|
|
@@ -2111,7 +2111,7 @@ var runBatch = /* @__PURE__ */ __name(async (requests, options = {}) => {
|
|
|
2111
2111
|
};
|
|
2112
2112
|
}, "runBatch");
|
|
2113
2113
|
|
|
2114
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2114
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/config.js
|
|
2115
2115
|
import { randomBytes } from "node:crypto";
|
|
2116
2116
|
import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
2117
2117
|
import { dirname, join } from "node:path";
|
|
@@ -2155,7 +2155,7 @@ var saveConfigFile = /* @__PURE__ */ __name((path, config) => {
|
|
|
2155
2155
|
`, 384);
|
|
2156
2156
|
}, "saveConfigFile");
|
|
2157
2157
|
|
|
2158
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2158
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/keyring.js
|
|
2159
2159
|
import { createRequire } from "node:module";
|
|
2160
2160
|
var ENTRY_OPTIONS = { linux: { store: "secret-service" } };
|
|
2161
2161
|
var require2 = createRequire(new URL("keyring.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
@@ -2181,7 +2181,7 @@ var systemKeyring = {
|
|
|
2181
2181
|
delete: /* @__PURE__ */ __name((service, account) => entry(service, account).deletePassword(), "delete")
|
|
2182
2182
|
};
|
|
2183
2183
|
|
|
2184
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2184
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/paths.js
|
|
2185
2185
|
import { realpathSync } from "node:fs";
|
|
2186
2186
|
import { homedir, userInfo } from "node:os";
|
|
2187
2187
|
import { join as join2, posix, win32 } from "node:path";
|
|
@@ -2255,7 +2255,7 @@ var homeIsMoved = /* @__PURE__ */ __name(({ env = process.env, platform = proces
|
|
|
2255
2255
|
var isMovedRun = /* @__PURE__ */ __name((options) => pathsAreOverridden(options) || homeIsMoved(options), "isMovedRun");
|
|
2256
2256
|
var configFilePath = /* @__PURE__ */ __name((configDir, fileName = "config.json") => join2(configDir, fileName), "configFilePath");
|
|
2257
2257
|
|
|
2258
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2258
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
|
|
2259
2259
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
2260
2260
|
import { join as join3, resolve } from "node:path";
|
|
2261
2261
|
var movedRunService = /* @__PURE__ */ __name((service, configDir) => `${service}:${resolve(configDir)}`, "movedRunService");
|
|
@@ -2296,7 +2296,12 @@ var Credentials = class {
|
|
|
2296
2296
|
return { secret: fromFile, source: "file" };
|
|
2297
2297
|
if (this.#storage !== "file") {
|
|
2298
2298
|
const temporary = this.#temporaryService;
|
|
2299
|
-
|
|
2299
|
+
let fromKeyring;
|
|
2300
|
+
try {
|
|
2301
|
+
fromKeyring = temporary && this.#keyring.get(temporary, account) || this.#keyring.get(this.#service, account);
|
|
2302
|
+
} catch (error) {
|
|
2303
|
+
throw this.#unreachable(account, error);
|
|
2304
|
+
}
|
|
2300
2305
|
if (fromKeyring)
|
|
2301
2306
|
return { secret: fromKeyring, source: "keyring" };
|
|
2302
2307
|
}
|
|
@@ -2377,6 +2382,10 @@ var Credentials = class {
|
|
|
2377
2382
|
writeSecurely(this.#path(), `${JSON.stringify(store, null, 2)}
|
|
2378
2383
|
`, 384);
|
|
2379
2384
|
}
|
|
2385
|
+
#unreachable(account, error) {
|
|
2386
|
+
const where = this.#storage === "keyring" ? "" : `, and ${this.#path()} holds no sign-in for ${account}`;
|
|
2387
|
+
return new CliError("configuration_error", `the OS keyring did not answer (${error instanceof Error ? error.message : String(error)})${where}. On Linux a restarted session bus is a known cause: log out and back in, or set DBUS_SESSION_BUS_ADDRESS=unix:path=$XDG_RUNTIME_DIR/bus. On a machine with no keyring, sign in with file storage.`, { reason: "keyring.unreachable" });
|
|
2388
|
+
}
|
|
2380
2389
|
#tryKeyring(operation) {
|
|
2381
2390
|
if (this.#storage === "keyring")
|
|
2382
2391
|
return operation();
|
|
@@ -2392,10 +2401,10 @@ var Credentials = class {
|
|
|
2392
2401
|
}
|
|
2393
2402
|
};
|
|
2394
2403
|
|
|
2395
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2404
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
|
|
2396
2405
|
import { appendFileSync } from "node:fs";
|
|
2397
2406
|
|
|
2398
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2407
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/log.js
|
|
2399
2408
|
var LOG_SEVERITIES = ["trace", "debug", "info", "warn", "error", "fatal"];
|
|
2400
2409
|
var logRecordSchema = strictObject({
|
|
2401
2410
|
time: isoTime,
|
|
@@ -2473,7 +2482,7 @@ var traceIdOf = /* @__PURE__ */ __name((traceparent) => {
|
|
|
2473
2482
|
return traceId;
|
|
2474
2483
|
}, "traceIdOf");
|
|
2475
2484
|
|
|
2476
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2485
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
|
|
2477
2486
|
var REDACTED_FIELDS = [
|
|
2478
2487
|
"authorization",
|
|
2479
2488
|
"Authorization",
|
|
@@ -2567,7 +2576,7 @@ var silent = {
|
|
|
2567
2576
|
}, "error")
|
|
2568
2577
|
};
|
|
2569
2578
|
|
|
2570
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2579
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/output-buffer.js
|
|
2571
2580
|
var createOutputBuffer = /* @__PURE__ */ __name(({ maxOutputBytes = 4 * 1024 * 1024, fields, format } = {}) => {
|
|
2572
2581
|
if (!Number.isSafeInteger(maxOutputBytes) || maxOutputBytes < 0)
|
|
2573
2582
|
throw new CliError("validation_error", "maxOutputBytes must be a nonnegative whole byte count");
|
|
@@ -2628,7 +2637,7 @@ var createOutputBuffer = /* @__PURE__ */ __name(({ maxOutputBytes = 4 * 1024 * 1
|
|
|
2628
2637
|
};
|
|
2629
2638
|
}, "createOutputBuffer");
|
|
2630
2639
|
|
|
2631
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2640
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/retry.js
|
|
2632
2641
|
var DEFAULT_RETRY = {
|
|
2633
2642
|
retries: 1,
|
|
2634
2643
|
baseDelayMs: 250,
|
|
@@ -2640,7 +2649,7 @@ var backoffMs = /* @__PURE__ */ __name((attempt, config, random) => {
|
|
|
2640
2649
|
return Math.round(random() * ceiling);
|
|
2641
2650
|
}, "backoffMs");
|
|
2642
2651
|
|
|
2643
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2652
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/constants.js
|
|
2644
2653
|
import { fileURLToPath } from "node:url";
|
|
2645
2654
|
var BASE_CONSTANTS = new URL("../constants.json", new URL("constants.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
2646
2655
|
var baseConstantsSchema = object({});
|
|
@@ -2695,7 +2704,7 @@ var loadConstants = /* @__PURE__ */ __name((layers, schema) => {
|
|
|
2695
2704
|
return deepFreeze(result.output);
|
|
2696
2705
|
}, "loadConstants");
|
|
2697
2706
|
|
|
2698
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2707
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/time.js
|
|
2699
2708
|
var abortError = /* @__PURE__ */ __name(() => new DOMException("The operation was aborted.", "AbortError"), "abortError");
|
|
2700
2709
|
var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, reject) => {
|
|
2701
2710
|
if (signal?.aborted) {
|
|
@@ -2710,7 +2719,7 @@ var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, re
|
|
|
2710
2719
|
}), "realSleep");
|
|
2711
2720
|
var wallClock = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "wallClock");
|
|
2712
2721
|
|
|
2713
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2722
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/deadline.js
|
|
2714
2723
|
var createDeadline = /* @__PURE__ */ __name(({ timeoutMs, signal, sleep = realSleep } = {}) => {
|
|
2715
2724
|
if (timeoutMs !== void 0 && (!Number.isSafeInteger(timeoutMs) || timeoutMs < 0 || timeoutMs > 2147483647))
|
|
2716
2725
|
throw new CliError("validation_error", "timeoutMs must be an integer from zero through 2147483647");
|
|
@@ -2794,7 +2803,7 @@ var createDeadline = /* @__PURE__ */ __name(({ timeoutMs, signal, sleep = realSl
|
|
|
2794
2803
|
};
|
|
2795
2804
|
}, "createDeadline");
|
|
2796
2805
|
|
|
2797
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2806
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/pretty.js
|
|
2798
2807
|
var import_cli_table3 = __toESM(require_cli_table3(), 1);
|
|
2799
2808
|
import { styleText } from "node:util";
|
|
2800
2809
|
var renderPretty = /* @__PURE__ */ __name((value, options) => {
|
|
@@ -2869,7 +2878,7 @@ var BORDERLESS = {
|
|
|
2869
2878
|
middle: ""
|
|
2870
2879
|
};
|
|
2871
2880
|
|
|
2872
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2881
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/drain.js
|
|
2873
2882
|
var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
2874
2883
|
if (signal?.aborted)
|
|
2875
2884
|
return Promise.reject(signal.reason);
|
|
@@ -2897,7 +2906,7 @@ var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
|
2897
2906
|
});
|
|
2898
2907
|
}, "waitForDrain");
|
|
2899
2908
|
|
|
2900
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2909
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/streams.js
|
|
2901
2910
|
var processStreams = {
|
|
2902
2911
|
drain: /* @__PURE__ */ __name(async (signal) => {
|
|
2903
2912
|
await Promise.all([waitForDrain(process.stdout, signal), waitForDrain(process.stderr, signal)]);
|
|
@@ -2926,7 +2935,7 @@ var captureStreams = /* @__PURE__ */ __name(() => {
|
|
|
2926
2935
|
};
|
|
2927
2936
|
}, "captureStreams");
|
|
2928
2937
|
|
|
2929
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2938
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/renderer.js
|
|
2930
2939
|
var createRenderer = /* @__PURE__ */ __name(({ format, color, streams = processStreams, quiet = false }) => {
|
|
2931
2940
|
const mark = /* @__PURE__ */ __name((symbol, message) => format === "pretty" ? `${symbol} ${visibleControls(message)}` : visibleControls(message), "mark");
|
|
2932
2941
|
const say = /* @__PURE__ */ __name((symbol) => (message) => {
|
|
@@ -5,23 +5,23 @@ import {
|
|
|
5
5
|
installFiles,
|
|
6
6
|
megabytes,
|
|
7
7
|
sharedModelsDirectory
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CW6CPQHI.js";
|
|
9
9
|
import {
|
|
10
10
|
importFrom
|
|
11
11
|
} from "./chunk-Y5E2WNWB.js";
|
|
12
12
|
import {
|
|
13
13
|
CliError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ST3ZB7LS.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
20
20
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
21
21
|
import { availableParallelism } from "node:os";
|
|
22
22
|
import { basename, join as join2 } from "node:path";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
25
25
|
import { createHash } from "node:crypto";
|
|
26
26
|
import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
27
27
|
import { join } from "node:path";
|
|
@@ -678,7 +678,7 @@ var Unzip = /* @__PURE__ */ (function() {
|
|
|
678
678
|
return Unzip2;
|
|
679
679
|
})();
|
|
680
680
|
|
|
681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
682
682
|
var ONNX_RUNTIME_VERSION = "1.30.0";
|
|
683
683
|
var release = /* @__PURE__ */ __name((name, sha256, bytes) => ({
|
|
684
684
|
name,
|
|
@@ -858,7 +858,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
|
|
|
858
858
|
return { ort, session: await ort.InferenceSession.create(bytes, options) };
|
|
859
859
|
}, "openSession");
|
|
860
860
|
|
|
861
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
861
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
862
862
|
var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
|
|
863
863
|
var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
|
|
864
864
|
var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
|
|
@@ -9,15 +9,15 @@ import {
|
|
|
9
9
|
optional,
|
|
10
10
|
pipe,
|
|
11
11
|
safeParse
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZPZT46O6.js";
|
|
13
13
|
import {
|
|
14
14
|
CliError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ST3ZB7LS.js";
|
|
16
16
|
import {
|
|
17
17
|
__name
|
|
18
18
|
} from "./chunk-ZVVMGPBJ.js";
|
|
19
19
|
|
|
20
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/models/options.js
|
|
21
21
|
var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
|
|
22
22
|
const parsed = safeParse(schema, options);
|
|
23
23
|
if (!parsed.success) {
|
|
@@ -27,7 +27,7 @@ var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
|
|
|
27
27
|
}, "checkedOptions");
|
|
28
28
|
var range = /* @__PURE__ */ __name((min, max) => optional(pipe(number(), finite(), minValue(min), maxValue(max))), "range");
|
|
29
29
|
|
|
30
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/models/types.js
|
|
31
31
|
var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
32
32
|
var validateImages = /* @__PURE__ */ __name((images) => {
|
|
33
33
|
if (images === void 0)
|
|
@@ -2,31 +2,31 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
updateCommand
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-RMX2WPWS.js";
|
|
6
6
|
import {
|
|
7
7
|
QUESTIONS,
|
|
8
8
|
readSetupAnswers,
|
|
9
9
|
unanswered,
|
|
10
10
|
writeSetupAnswers
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IQWBGMCR.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_STEMMERS,
|
|
14
14
|
LANGUAGES
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-EMYRUJCV.js";
|
|
16
16
|
import {
|
|
17
17
|
sharedConfigPath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6MDL2LZA.js";
|
|
19
19
|
import {
|
|
20
20
|
installerOf
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-O3DYRCIT.js";
|
|
22
22
|
import {
|
|
23
23
|
storePath
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-TNL3YQ33.js";
|
|
25
25
|
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.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/cli/first-run.js
|
|
30
30
|
import { spawnSync } from "node:child_process";
|
|
31
31
|
import { accessSync, constants, realpathSync } from "node:fs";
|
|
32
32
|
import { delimiter, join } from "node:path";
|
|
@@ -84,7 +84,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
|
|
|
84
84
|
return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
|
|
85
85
|
}, "suggested");
|
|
86
86
|
var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
|
|
87
|
-
const { openStore } = await import("./store-
|
|
87
|
+
const { openStore } = await import("./store-6CHRMJM7.js");
|
|
88
88
|
const store = await openStore({ env });
|
|
89
89
|
let rebuild = false;
|
|
90
90
|
try {
|
|
@@ -113,8 +113,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
113
113
|
if (!rebuild)
|
|
114
114
|
return;
|
|
115
115
|
const [{ openCache }, { buildStems }] = await Promise.all([
|
|
116
|
-
import("./open-
|
|
117
|
-
import("./store-maintenance-command-
|
|
116
|
+
import("./open-EFYTWUGC.js"),
|
|
117
|
+
import("./store-maintenance-command-6HVOAHOZ.js")
|
|
118
118
|
]);
|
|
119
119
|
const database = await openCache(storePath(env));
|
|
120
120
|
try {
|
|
@@ -126,7 +126,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
126
126
|
var askTools = /* @__PURE__ */ __name(async (run) => {
|
|
127
127
|
const { command, env, io } = run;
|
|
128
128
|
const installed = run.installed ?? ((name) => onPath(name, env));
|
|
129
|
-
const { WIRECAT_TOOLS } = await import("./first-screen-
|
|
129
|
+
const { WIRECAT_TOOLS } = await import("./first-screen-C6AF4KT4.js");
|
|
130
130
|
const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
|
|
131
131
|
const missing = others.filter((tool) => !installed(tool.command));
|
|
132
132
|
io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
|
|
@@ -200,7 +200,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
|
|
|
200
200
|
// `setup describe` and `setup apply` are a program's; only the bare walk-through asks everything again.
|
|
201
201
|
all: start.path.length === 1 && start.path[0] === "setup",
|
|
202
202
|
io: {
|
|
203
|
-
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-
|
|
203
|
+
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-YPDMSOKC.js")).readSecret(prompt, { input, echo: true }), "ask"),
|
|
204
204
|
say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
|
|
205
205
|
`), "say")
|
|
206
206
|
}
|