@wirecat/zoom-cli 0.63.0 → 0.65.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 +3 -0
- package/dist/answer-entities.d.ts +13 -0
- package/dist/answer-entities.d.ts.map +1 -1
- package/dist/answer-entities.js +5 -0
- package/dist/answer-entities.js.map +1 -1
- package/dist/answers.d.ts +8 -0
- package/dist/answers.d.ts.map +1 -1
- package/dist/archive-import.d.ts +1 -1
- package/dist/archive-import.d.ts.map +1 -1
- package/dist/archive-import.js +2 -1
- package/dist/archive-import.js.map +1 -1
- package/dist/bin/zm.js +6 -2
- package/dist/bundle/{all-profiles-CGGNBINU.js → all-profiles-SKMLZJSY.js} +8 -8
- package/dist/bundle/answer-policy-BHDNSJWX.js +96 -0
- package/dist/bundle/{anthropic-KVWPIHFG.js → anthropic-TVHK7CY2.js} +4 -4
- package/dist/bundle/{app-server-NKKFBTQN.js → app-server-44ASFH47.js} +53 -52
- package/dist/bundle/{bun-XRO6XJHQ.js → bun-O4WHGL2F.js} +2 -2
- package/dist/bundle/{bun-sqlite-FWNCLOAR.js → bun-sqlite-NS32GMM4.js} +3 -3
- package/dist/bundle/{chunk-M6FCCVYZ.js → chunk-24F7JBLY.js} +72 -4
- package/dist/bundle/{chunk-4OQVRDTG.js → chunk-25IDWPEN.js} +166 -96
- package/dist/bundle/{chunk-QLQ7VVLK.js → chunk-266WOOB3.js} +4 -4
- package/dist/bundle/{chunk-ECXRRW7J.js → chunk-2H5SXK7K.js} +57 -27
- package/dist/bundle/{chunk-YI6ZNDPC.js → chunk-37PHGASE.js} +2 -2
- package/dist/bundle/{chunk-URJZK4GX.js → chunk-3CZIWGZ6.js} +1 -1
- package/dist/bundle/{chunk-6URISMGR.js → chunk-5NGOP4EZ.js} +125 -35
- package/dist/bundle/{chunk-IOUPXUFH.js → chunk-6CS7ETBK.js} +4496 -386
- package/dist/bundle/{chunk-FDCGTODC.js → chunk-7SQJCKR6.js} +1 -1
- package/dist/bundle/{chunk-EG7HC4EC.js → chunk-A6OA2EH2.js} +2 -2
- package/dist/bundle/{chunk-QUWMFBMS.js → chunk-AMMD6YCJ.js} +49 -11
- package/dist/bundle/chunk-BLT3LR3U.js +34 -0
- package/dist/bundle/{chunk-MI3JK6MW.js → chunk-BNXH73OU.js} +10 -10
- package/dist/bundle/{chunk-GOESXUJQ.js → chunk-BWRBALXG.js} +3 -3
- package/dist/bundle/{chunk-6SPWQCJF.js → chunk-C6BG57FA.js} +11 -11
- package/dist/bundle/{chunk-CXPHUOJR.js → chunk-CNEE6TPE.js} +26 -13
- package/dist/bundle/{chunk-RWG44LQD.js → chunk-CVCRQW3A.js} +35 -35
- package/dist/bundle/{chunk-FAOLCUKV.js → chunk-DNCKH7CO.js} +17 -17
- package/dist/bundle/{chunk-LTE6WH22.js → chunk-DYJXAY7Q.js} +26 -25
- package/dist/bundle/{chunk-IOCS5FXW.js → chunk-EA63UGWE.js} +2 -2
- package/dist/bundle/{chunk-5LMQTEU5.js → chunk-ERPRAYA7.js} +5 -5
- package/dist/bundle/{chunk-KMQUZ4YM.js → chunk-FYJL276J.js} +3 -3
- package/dist/bundle/{chunk-AMIIU3UZ.js → chunk-FYM27FCG.js} +32 -9
- package/dist/bundle/{chunk-NQCFUYC2.js → chunk-GBZF4IIP.js} +10 -9
- package/dist/bundle/{chunk-DIXC56OU.js → chunk-GEX4V5TM.js} +4 -4
- package/dist/bundle/{chunk-4OTXE6CF.js → chunk-GMTXCFI7.js} +683 -504
- package/dist/bundle/{chunk-TILW3EJY.js → chunk-GXCNCMUY.js} +2865 -924
- package/dist/bundle/{chunk-YJN4XYNA.js → chunk-H7762LDA.js} +2 -2
- package/dist/bundle/{chunk-JDJDVYGS.js → chunk-IPTI3Y2E.js} +6 -41
- package/dist/bundle/{chunk-SB47UAW2.js → chunk-JF7ZEUXU.js} +34 -26
- package/dist/bundle/{chunk-7AY3ADNV.js → chunk-K6ATTKQR.js} +13 -6
- package/dist/bundle/{chunk-6SK5SHCR.js → chunk-KYLS5QGC.js} +2 -2
- package/dist/bundle/{chunk-YF2PT5KA.js → chunk-KZE3G4ZT.js} +38 -36
- package/dist/bundle/{chunk-MIUPH3WA.js → chunk-LOL6JYYN.js} +211 -106
- package/dist/bundle/{chunk-UIPT6IAU.js → chunk-LPUFOWL3.js} +1 -1
- package/dist/bundle/{chunk-5NLFQ644.js → chunk-M6IDHQ7N.js} +6739 -4659
- package/dist/bundle/{chunk-M2WQWF3I.js → chunk-MH7AWCB4.js} +179 -50
- package/dist/bundle/{chunk-VFJ3MOIR.js → chunk-MIB5X2XW.js} +3 -3
- package/dist/bundle/{chunk-SLBMXXOW.js → chunk-MPKKIL3U.js} +15 -12
- package/dist/bundle/{chunk-BJPFWPKH.js → chunk-MRWIXUYT.js} +2 -2
- package/dist/bundle/{chunk-BNTAQADF.js → chunk-MZ6U6HNJ.js} +12 -3
- package/dist/bundle/{chunk-6R3GMSLR.js → chunk-NJSIHMAE.js} +2 -2
- package/dist/bundle/{chunk-5MYLM6SU.js → chunk-NNNEVWFF.js} +108 -41
- package/dist/bundle/{chunk-2LLNPNMB.js → chunk-NO24PJNW.js} +1 -1
- package/dist/bundle/{chunk-HIZQYFY3.js → chunk-OXUHTKO2.js} +8 -2
- package/dist/bundle/{chunk-3YBDRVOG.js → chunk-PV3UDPCI.js} +82 -6
- package/dist/bundle/{chunk-IK2OSV5C.js → chunk-QI7BZS2G.js} +8 -13
- package/dist/bundle/{chunk-2NAM2XQG.js → chunk-QLCYAQ66.js} +2 -2
- package/dist/bundle/{chunk-RUJBN7ZP.js → chunk-R5BAF5XE.js} +1 -1
- package/dist/bundle/{chunk-IR73ZZY6.js → chunk-RZLNHNSS.js} +8 -8
- package/dist/bundle/{chunk-TQFCPUIM.js → chunk-S4GDDO5S.js} +1 -1
- package/dist/bundle/{chunk-YFIUXE25.js → chunk-SQWRZZOQ.js} +3 -3
- package/dist/bundle/{chunk-EJFSS65P.js → chunk-T3KICUOK.js} +6 -6
- package/dist/bundle/{chunk-UD4FKICZ.js → chunk-TC7PD3LH.js} +4 -4
- package/dist/bundle/{chunk-YBMOFCY5.js → chunk-TUIEDVI6.js} +2 -2
- package/dist/bundle/{chunk-JBBZCTTF.js → chunk-U3ZUT557.js} +1 -1
- package/dist/bundle/{chunk-EOEDICIE.js → chunk-U4RVOSX3.js} +1 -1
- package/dist/bundle/{chunk-BPMKLWHV.js → chunk-U5ASRBBF.js} +6 -4
- package/dist/bundle/{chunk-7CNRZSAV.js → chunk-UKU6MYUI.js} +4 -4
- package/dist/bundle/{chunk-72S5TXFN.js → chunk-UMHJZWZU.js} +9 -9
- package/dist/bundle/{chunk-TZE6WXID.js → chunk-UPJXN2CO.js} +10651 -9814
- package/dist/bundle/{chunk-NVC4VQ2B.js → chunk-VH4F2EK4.js} +1 -1
- package/dist/bundle/{chunk-SPJJCD2A.js → chunk-VJTGYBJJ.js} +18 -13
- package/dist/bundle/{chunk-MLNC5N7H.js → chunk-VW2SW7ME.js} +3 -3
- package/dist/bundle/{chunk-Q4ZE2LXE.js → chunk-WLSF3GCC.js} +2 -2
- package/dist/bundle/{chunk-N3KQ7XND.js → chunk-XJQB47IL.js} +4 -4
- package/dist/bundle/{chunk-KM7Q67Z3.js → chunk-Y3EIK4XW.js} +1 -1
- package/dist/bundle/{chunk-7LQLJ7LW.js → chunk-Z5424QL6.js} +2 -2
- package/dist/bundle/{chunk-LXYC75D3.js → chunk-ZFNM3FNI.js} +199 -141
- package/dist/bundle/{chunk-D6FTCPXA.js → chunk-ZH743WNV.js} +41 -12
- package/dist/bundle/{chunk-XAXXEZZ5.js → chunk-ZOGYTDHG.js} +2 -2
- package/dist/bundle/{chunk-SEH7DBAM.js → chunk-ZREFYKUB.js} +7 -7
- package/dist/bundle/{chunk-2DPMYUWQ.js → chunk-ZXGRK44F.js} +14 -13
- package/dist/bundle/{cli-AHPIESAC.js → cli-FDO6CP6R.js} +124 -60
- package/dist/bundle/command-contract-O4FDXM4U.js +37 -0
- package/dist/bundle/config-UBHKZG3J.js +78 -0
- package/dist/bundle/{decode-ZU7WLMMV.js → decode-7SZI3TGZ.js} +3 -3
- package/dist/bundle/{dist-LTS7VI3S.js → dist-5GWUXW27.js} +18 -14
- package/dist/bundle/{echarts-YNGCOYHW.js → echarts-FMACRZQC.js} +2 -2
- package/dist/bundle/{embed-VWWOW7PP.js → embed-24YSXHLP.js} +4 -4
- package/dist/bundle/{embedder-T5GJC7M2.js → embedder-MEXN2TFB.js} +7 -7
- package/dist/bundle/{first-run-PX3SHPUU.js → first-run-OCVEJH63.js} +8 -8
- package/dist/bundle/first-screen-KJIU25MH.js +35 -0
- package/dist/bundle/{folders-VXMDFC2D.js → folders-DBAAMU26.js} +2 -2
- package/dist/bundle/{instructions-GJHHFV64.js → instructions-E5FXYCWF.js} +1 -1
- package/dist/bundle/{main-APVJXUJE.js → main-EIUCXXDW.js} +17 -16
- package/dist/bundle/{mcp-EMNFFY4N.js → mcp-FUSDPAOL.js} +2 -2
- package/dist/bundle/{meetings-GHYNIOHG.js → meetings-JDTRGXZJ.js} +16 -6
- package/dist/bundle/{node-GFOH6FKP.js → node-4SNKUPXT.js} +2 -2
- package/dist/bundle/{node-sqlite-QXKSPHTP.js → node-sqlite-O4BAODFR.js} +9 -3
- package/dist/bundle/{oauth-A6I2OMDD.js → oauth-3YLHXGUW.js} +5 -5
- package/dist/bundle/{open-TQKCU447.js → open-QGRMSNM2.js} +3 -2
- package/dist/bundle/{openai-XE3BJXOI.js → openai-7PSCSTH7.js} +9 -9
- package/dist/bundle/{output-file-FQNFCUKE.js → output-file-J26UQKRA.js} +3 -3
- package/dist/bundle/{process-XVDX4SPD.js → process-HQZOTT6U.js} +1 -1
- package/dist/bundle/{program-QRKEXYDG.js → program-47DT7SHE.js} +75 -75
- package/dist/bundle/{prompt-ISYG5RWM.js → prompt-IUD7HCDC.js} +3 -3
- package/dist/bundle/{recognize-KENPECLZ.js → recognize-DMJJHHXF.js} +2 -2
- package/dist/bundle/{remote-ZP5XTDCC.js → remote-5WFSOVVB.js} +5 -5
- package/dist/bundle/{rerank-SG653RHT.js → rerank-UKQ65ECH.js} +5 -5
- package/dist/bundle/{run-log-HYKGQ42E.js → run-log-UGYL6NW2.js} +53 -53
- package/dist/bundle/{serve-6UJCZD7Z.js → serve-WAOSED3I.js} +9 -8
- package/dist/bundle/server-HAXN772R.js +66 -0
- package/dist/bundle/{server-ZAYEDPFR.js → server-NWZFNXC5.js} +42 -42
- package/dist/bundle/{services-KMH7XZPY.js → services-VPANRE72.js} +101 -28
- package/dist/bundle/{speech-LINBLG5E.js → speech-O6UNUDRW.js} +11 -11
- package/dist/bundle/{state-4RKZNHE7.js → state-BNE7I65A.js} +4 -4
- package/dist/bundle/{store-253N7NUC.js → store-4IIVSCJ4.js} +56 -19
- package/dist/bundle/{store-JTBHRQZK.js → store-QQH4FJXJ.js} +16 -13
- package/dist/bundle/store-connection-PPEQK2K3.js +76 -0
- package/dist/bundle/store-maintenance-command-JZXCT6NY.js +56 -0
- package/dist/bundle/{streaming-YW64OKKQ.js → streaming-S4EZB6P2.js} +4 -4
- package/dist/bundle/{tokens-DPBC2P3I.js → tokens-VCXIH7WZ.js} +4 -4
- package/dist/bundle/zm.js +1 -1
- package/dist/local-transcription.d.ts.map +1 -1
- package/dist/local-transcription.js +1 -0
- package/dist/local-transcription.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/answer-policy-V2KDPLDO.js +0 -96
- package/dist/bundle/chunk-2T7MUSDB.js +0 -3605
- package/dist/bundle/command-contract-HVLI3OKU.js +0 -38
- package/dist/bundle/config-3SFEGYZO.js +0 -78
- package/dist/bundle/first-screen-RAPEZG57.js +0 -36
- package/dist/bundle/server-AXE37E6Q.js +0 -66
- package/dist/bundle/store-connection-ID2ETC7F.js +0 -76
- package/dist/bundle/store-maintenance-command-XRNECVDU.js +0 -55
- /package/dist/bundle/{chunk-NPGVOZVK.js → chunk-NUN6OGOV.js} +0 -0
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
singleLine,
|
|
9
9
|
visibleControls
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JF7ZEUXU.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/render/messages.js
|
|
16
16
|
import { styleText } from "node:util";
|
|
17
17
|
var TIME_WIDTH = 8;
|
|
18
18
|
var INDENT = " ".repeat(TIME_WIDTH + 2);
|
|
@@ -1,56 +1,24 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import {
|
|
7
|
-
annotate,
|
|
4
|
+
answerEntitySchema,
|
|
5
|
+
answerProjectionSchema,
|
|
8
6
|
answerSchema,
|
|
9
7
|
describeOptions,
|
|
10
8
|
metaOf
|
|
11
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6CS7ETBK.js";
|
|
12
10
|
import {
|
|
13
11
|
keyForCommand
|
|
14
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OXUHTKO2.js";
|
|
15
13
|
import {
|
|
16
14
|
CliError,
|
|
17
15
|
jsonSchemaOf
|
|
18
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-JF7ZEUXU.js";
|
|
19
17
|
import {
|
|
20
18
|
__name
|
|
21
19
|
} from "./chunk-ZVVMGPBJ.js";
|
|
22
20
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
-
var schemas = /* @__PURE__ */ new WeakMap();
|
|
25
|
-
var answerEntity = /* @__PURE__ */ __name((command, name, schema, options = {}) => {
|
|
26
|
-
if (Object.hasOwn(ENTITIES, name))
|
|
27
|
-
throw new Error(`${name} is a shared entity; use its existing schema`);
|
|
28
|
-
if (!/^[a-z][a-z0-9_]*$/.test(name))
|
|
29
|
-
throw new Error("an answer entity needs a lowercase name");
|
|
30
|
-
if (!("entries" in schema) && schema.type !== "union")
|
|
31
|
-
throw new Error("an answer entity needs an object schema or a union of object schemas");
|
|
32
|
-
if (options.project && !("entries" in options.project) && options.project.type !== "union")
|
|
33
|
-
throw new Error("projection needs an object schema or a union of object schemas");
|
|
34
|
-
schemas.set(command, { name, schema, ...options });
|
|
35
|
-
return annotate(command, { output: { entity: name } });
|
|
36
|
-
}, "answerEntity");
|
|
37
|
-
var answerEntitySchema = /* @__PURE__ */ __name((command) => {
|
|
38
|
-
const output = command && metaOf(command).output;
|
|
39
|
-
if (!output)
|
|
40
|
-
return void 0;
|
|
41
|
-
const name = output.view ? `${output.entity}.${output.view}` : output.entity;
|
|
42
|
-
const shared = ENTITIES[name];
|
|
43
|
-
if (shared)
|
|
44
|
-
return shared;
|
|
45
|
-
const own = schemas.get(command);
|
|
46
|
-
return own?.name === name ? own.schema : void 0;
|
|
47
|
-
}, "answerEntitySchema");
|
|
48
|
-
var answerProjectionSchema = /* @__PURE__ */ __name((command) => {
|
|
49
|
-
const own = command && schemas.get(command);
|
|
50
|
-
return own && metaOf(command).output?.entity === own.name ? own.project : void 0;
|
|
51
|
-
}, "answerProjectionSchema");
|
|
52
|
-
|
|
53
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
|
|
54
22
|
var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
|
|
55
23
|
var outputOf = /* @__PURE__ */ __name((command) => {
|
|
56
24
|
const entity = answerEntitySchema(command);
|
|
@@ -155,9 +123,6 @@ var commandContract = /* @__PURE__ */ __name((command) => {
|
|
|
155
123
|
}, "commandContract");
|
|
156
124
|
|
|
157
125
|
export {
|
|
158
|
-
answerEntity,
|
|
159
|
-
answerEntitySchema,
|
|
160
|
-
answerProjectionSchema,
|
|
161
126
|
SCHEMA_DIALECT,
|
|
162
127
|
outputOf,
|
|
163
128
|
commandPathOf,
|
|
@@ -1872,7 +1872,7 @@ var require_cli_table3 = __commonJS({
|
|
|
1872
1872
|
}
|
|
1873
1873
|
});
|
|
1874
1874
|
|
|
1875
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1875
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/errors.js
|
|
1876
1876
|
var errorCodes = [
|
|
1877
1877
|
"validation_error",
|
|
1878
1878
|
"configuration_error",
|
|
@@ -3769,7 +3769,7 @@ function toStandardJsonSchema(schema) {
|
|
|
3769
3769
|
}
|
|
3770
3770
|
__name(toStandardJsonSchema, "toStandardJsonSchema");
|
|
3771
3771
|
|
|
3772
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3772
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
|
|
3773
3773
|
var word = pipe(string(), regex(/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/, "a lower-case word, words joined by -"));
|
|
3774
3774
|
var SNAKE_CASE = /^[a-z][a-z0-9]*(_[a-z0-9]+)*$/;
|
|
3775
3775
|
var text = pipe(string(), regex(/\S/, "must not be empty"));
|
|
@@ -3811,7 +3811,7 @@ var fill = /* @__PURE__ */ __name((template, values) => template.replace(PLACEHO
|
|
|
3811
3811
|
return String(value);
|
|
3812
3812
|
}), "fill");
|
|
3813
3813
|
|
|
3814
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3814
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/exit-codes.js
|
|
3815
3815
|
var EXIT_CODES = {
|
|
3816
3816
|
validation_error: 2,
|
|
3817
3817
|
configuration_error: 3,
|
|
@@ -3831,7 +3831,7 @@ var EXIT_CODES = {
|
|
|
3831
3831
|
var exitCodeFor = /* @__PURE__ */ __name((code) => EXIT_CODES[code], "exitCodeFor");
|
|
3832
3832
|
var GENERIC_FAILURE = 1;
|
|
3833
3833
|
|
|
3834
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3834
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/sanitize.js
|
|
3835
3835
|
var CONTROL = (
|
|
3836
3836
|
// biome-ignore lint/suspicious/noControlCharactersInRegex: matching them is the whole point
|
|
3837
3837
|
/[\u0000-\u0008\u000B-\u001F\u007F-\u009F\u200B\u200E\u200F\u202A-\u202E\u2066-\u2069\uFEFF\u{E0000}-\u{E007F}]/gu
|
|
@@ -3855,7 +3855,7 @@ var visibleControls = /* @__PURE__ */ __name((text2) => {
|
|
|
3855
3855
|
}, "visibleControls");
|
|
3856
3856
|
var singleLine = /* @__PURE__ */ __name((text2) => visibleControls(text2).replace(LINE_BREAKS, escaped), "singleLine");
|
|
3857
3857
|
|
|
3858
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3858
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
|
|
3859
3859
|
var EFFECT_LEVELS = ["none", "read", "write"];
|
|
3860
3860
|
var effectsSchema = strictObject({
|
|
3861
3861
|
remote: picklist(EFFECT_LEVELS),
|
|
@@ -3863,9 +3863,11 @@ var effectsSchema = strictObject({
|
|
|
3863
3863
|
});
|
|
3864
3864
|
var writes = /* @__PURE__ */ __name((effects) => effects === void 0 || effects.remote === "write" || effects.local === "write", "writes");
|
|
3865
3865
|
|
|
3866
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3866
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
|
|
3867
3867
|
var MAX_NEXT_STEPS = 2;
|
|
3868
|
+
var COMPACT_FLAG = "--compact";
|
|
3868
3869
|
var isoTime = pipe(string(), isoTimestamp("an ISO 8601 time in UTC"), endsWith("Z", "an ISO 8601 time in UTC, ending in `Z`"));
|
|
3870
|
+
var localTime = pipe(string(), regex(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}[+-]\d{2}:\d{2}$/, "an ISO 8601 time with its offset"));
|
|
3869
3871
|
var reference = pipe(string(), regex(/^[a-z]+:\S+$/, "a reference such as `note:42`"));
|
|
3870
3872
|
var nextStepSchema = variant("kind", [
|
|
3871
3873
|
strictObject({
|
|
@@ -3932,6 +3934,9 @@ var metaSchema = strictObject({
|
|
|
3932
3934
|
issues: optional(array(issueSchema)),
|
|
3933
3935
|
truncated: optional(boolean()),
|
|
3934
3936
|
timezone: optional(text),
|
|
3937
|
+
/** When the command answered, for an agent that plans from "now" (WC-TIME-7); `timezone` names the zone of `now_local`. */
|
|
3938
|
+
now: optional(isoTime),
|
|
3939
|
+
now_local: optional(localTime),
|
|
3935
3940
|
window: optional(strictObject({ since: optional(isoTime), until: optional(isoTime) }))
|
|
3936
3941
|
});
|
|
3937
3942
|
var nextSteps = optional(pipe(array(nextStepSchema), maxLength(MAX_NEXT_STEPS)));
|
|
@@ -3959,7 +3964,7 @@ var jsonlOf = /* @__PURE__ */ __name(({ items, page, meta }) => [
|
|
|
3959
3964
|
JSON.stringify({ type: "end", complete: meta.complete, ...meta.issues ? { issues: meta.issues } : {}, page })
|
|
3960
3965
|
].join("\n"), "jsonlOf");
|
|
3961
3966
|
|
|
3962
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3967
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
|
|
3963
3968
|
var CRASH_CODE = "internal_error";
|
|
3964
3969
|
var CRASH_REASON = "command.crashed";
|
|
3965
3970
|
var errorObjectSchema = strictObject({
|
|
@@ -4046,7 +4051,7 @@ var BASE_REASONS = defineReasons([
|
|
|
4046
4051
|
{ reason: CRASH_REASON, code: CRASH_CODE, message: "the command failed; this is a bug", details: [] }
|
|
4047
4052
|
]);
|
|
4048
4053
|
|
|
4049
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4054
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
|
|
4050
4055
|
var SAME_COMMAND = "*";
|
|
4051
4056
|
var commandPath = pipe(string(), regex(/^[a-z][a-z0-9-]*( [a-z][a-z0-9-]*)*$/, "a command path such as `messages sync`"));
|
|
4052
4057
|
var stepSchema = union([
|
|
@@ -4125,7 +4130,7 @@ var STEPS = defineSteps([
|
|
|
4125
4130
|
}
|
|
4126
4131
|
]);
|
|
4127
4132
|
|
|
4128
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4133
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/failure.js
|
|
4129
4134
|
var recognise = /* @__PURE__ */ __name((failure) => {
|
|
4130
4135
|
if (isCliError(failure))
|
|
4131
4136
|
return failure;
|
|
@@ -4272,7 +4277,7 @@ var catchCrashes = /* @__PURE__ */ __name((options) => {
|
|
|
4272
4277
|
};
|
|
4273
4278
|
}, "catchCrashes");
|
|
4274
4279
|
|
|
4275
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4280
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.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
|
|
4276
4281
|
var forbidden = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
|
|
4277
4282
|
var validate = /* @__PURE__ */ __name((paths) => {
|
|
4278
4283
|
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))))
|
|
@@ -4337,7 +4342,7 @@ var projectFields = /* @__PURE__ */ __name((value, fields) => {
|
|
|
4337
4342
|
return project(value, fields);
|
|
4338
4343
|
}, "projectFields");
|
|
4339
4344
|
|
|
4340
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4345
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.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
|
|
4341
4346
|
var BATCH_LIMITS = Object.freeze({
|
|
4342
4347
|
requests: 32,
|
|
4343
4348
|
input_bytes: 262144,
|
|
@@ -4484,7 +4489,7 @@ var runBatch = /* @__PURE__ */ __name(async (requests, options = {}) => {
|
|
|
4484
4489
|
};
|
|
4485
4490
|
}, "runBatch");
|
|
4486
4491
|
|
|
4487
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4492
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.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
|
|
4488
4493
|
import { randomBytes } from "node:crypto";
|
|
4489
4494
|
import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
4490
4495
|
import { dirname, join } from "node:path";
|
|
@@ -4528,7 +4533,7 @@ var saveConfigFile = /* @__PURE__ */ __name((path, config) => {
|
|
|
4528
4533
|
`, 384);
|
|
4529
4534
|
}, "saveConfigFile");
|
|
4530
4535
|
|
|
4531
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4536
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.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
|
|
4532
4537
|
import { createRequire } from "node:module";
|
|
4533
4538
|
var ENTRY_OPTIONS = { linux: { store: "secret-service" } };
|
|
4534
4539
|
var require2 = createRequire(new URL("keyring.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
@@ -4548,7 +4553,7 @@ var systemKeyring = {
|
|
|
4548
4553
|
delete: /* @__PURE__ */ __name((service, account) => entry(service, account).deletePassword(), "delete")
|
|
4549
4554
|
};
|
|
4550
4555
|
|
|
4551
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4556
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.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
|
|
4552
4557
|
import { homedir, userInfo } from "node:os";
|
|
4553
4558
|
import { join as join2, posix, win32 } from "node:path";
|
|
4554
4559
|
var PATH_KINDS = ["config", "state", "cache"];
|
|
@@ -4597,9 +4602,10 @@ var homeIsMoved = /* @__PURE__ */ __name(({ env = process.env, platform = proces
|
|
|
4597
4602
|
const owners = defaultPaths({ appName, env: { HOME: home, USERPROFILE: home }, platform });
|
|
4598
4603
|
return PATH_KINDS.some((kind) => actual[kind] !== owners[kind]);
|
|
4599
4604
|
}, "homeIsMoved");
|
|
4605
|
+
var isMovedRun = /* @__PURE__ */ __name((options) => pathsAreOverridden(options) || homeIsMoved(options), "isMovedRun");
|
|
4600
4606
|
var configFilePath = /* @__PURE__ */ __name((configDir, fileName = "config.json") => join2(configDir, fileName), "configFilePath");
|
|
4601
4607
|
|
|
4602
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4608
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.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
|
|
4603
4609
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
4604
4610
|
import { join as join3, resolve } from "node:path";
|
|
4605
4611
|
var movedRunService = /* @__PURE__ */ __name((service, configDir) => `${service}:${resolve(configDir)}`, "movedRunService");
|
|
@@ -4736,10 +4742,10 @@ var Credentials = class {
|
|
|
4736
4742
|
}
|
|
4737
4743
|
};
|
|
4738
4744
|
|
|
4739
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4745
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.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
|
|
4740
4746
|
import { appendFileSync } from "node:fs";
|
|
4741
4747
|
|
|
4742
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4748
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.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
|
|
4743
4749
|
var LOG_SEVERITIES = ["trace", "debug", "info", "warn", "error", "fatal"];
|
|
4744
4750
|
var logRecordSchema = strictObject({
|
|
4745
4751
|
time: isoTime,
|
|
@@ -4817,7 +4823,7 @@ var traceIdOf = /* @__PURE__ */ __name((traceparent) => {
|
|
|
4817
4823
|
return traceId;
|
|
4818
4824
|
}, "traceIdOf");
|
|
4819
4825
|
|
|
4820
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4826
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.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
|
|
4821
4827
|
var REDACTED_FIELDS = [
|
|
4822
4828
|
"authorization",
|
|
4823
4829
|
"Authorization",
|
|
@@ -4911,7 +4917,7 @@ var silent = {
|
|
|
4911
4917
|
}, "error")
|
|
4912
4918
|
};
|
|
4913
4919
|
|
|
4914
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4920
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.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
|
|
4915
4921
|
var createOutputBuffer = /* @__PURE__ */ __name(({ maxOutputBytes = 4 * 1024 * 1024, fields, format } = {}) => {
|
|
4916
4922
|
if (!Number.isSafeInteger(maxOutputBytes) || maxOutputBytes < 0)
|
|
4917
4923
|
throw new CliError("validation_error", "maxOutputBytes must be a nonnegative whole byte count");
|
|
@@ -4972,7 +4978,7 @@ var createOutputBuffer = /* @__PURE__ */ __name(({ maxOutputBytes = 4 * 1024 * 1
|
|
|
4972
4978
|
};
|
|
4973
4979
|
}, "createOutputBuffer");
|
|
4974
4980
|
|
|
4975
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4981
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.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
|
|
4976
4982
|
var DEFAULT_RETRY = {
|
|
4977
4983
|
retries: 1,
|
|
4978
4984
|
baseDelayMs: 250,
|
|
@@ -4984,7 +4990,7 @@ var backoffMs = /* @__PURE__ */ __name((attempt, config, random) => {
|
|
|
4984
4990
|
return Math.round(random() * ceiling);
|
|
4985
4991
|
}, "backoffMs");
|
|
4986
4992
|
|
|
4987
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
4993
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.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
|
|
4988
4994
|
var abortError = /* @__PURE__ */ __name(() => new DOMException("The operation was aborted.", "AbortError"), "abortError");
|
|
4989
4995
|
var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, reject) => {
|
|
4990
4996
|
if (signal?.aborted) {
|
|
@@ -4998,7 +5004,7 @@ var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, re
|
|
|
4998
5004
|
}, { once: true });
|
|
4999
5005
|
}), "realSleep");
|
|
5000
5006
|
|
|
5001
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
5007
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.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
|
|
5002
5008
|
var createDeadline = /* @__PURE__ */ __name(({ timeoutMs, signal, sleep = realSleep } = {}) => {
|
|
5003
5009
|
if (timeoutMs !== void 0 && (!Number.isSafeInteger(timeoutMs) || timeoutMs < 0 || timeoutMs > 2147483647))
|
|
5004
5010
|
throw new CliError("validation_error", "timeoutMs must be an integer from zero through 2147483647");
|
|
@@ -5082,7 +5088,7 @@ var createDeadline = /* @__PURE__ */ __name(({ timeoutMs, signal, sleep = realSl
|
|
|
5082
5088
|
};
|
|
5083
5089
|
}, "createDeadline");
|
|
5084
5090
|
|
|
5085
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
5091
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.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
|
|
5086
5092
|
var import_cli_table3 = __toESM(require_cli_table3(), 1);
|
|
5087
5093
|
import { styleText } from "node:util";
|
|
5088
5094
|
var renderPretty = /* @__PURE__ */ __name((value, options) => {
|
|
@@ -5157,7 +5163,7 @@ var BORDERLESS = {
|
|
|
5157
5163
|
middle: ""
|
|
5158
5164
|
};
|
|
5159
5165
|
|
|
5160
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
5166
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.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
|
|
5161
5167
|
var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
5162
5168
|
if (signal?.aborted)
|
|
5163
5169
|
return Promise.reject(signal.reason);
|
|
@@ -5185,7 +5191,7 @@ var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
|
5185
5191
|
});
|
|
5186
5192
|
}, "waitForDrain");
|
|
5187
5193
|
|
|
5188
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
5194
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.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
|
|
5189
5195
|
var processStreams = {
|
|
5190
5196
|
drain: /* @__PURE__ */ __name(async (signal) => {
|
|
5191
5197
|
await Promise.all([waitForDrain(process.stdout, signal), waitForDrain(process.stderr, signal)]);
|
|
@@ -5214,7 +5220,7 @@ var captureStreams = /* @__PURE__ */ __name(() => {
|
|
|
5214
5220
|
};
|
|
5215
5221
|
}, "captureStreams");
|
|
5216
5222
|
|
|
5217
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
5223
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.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
|
|
5218
5224
|
var createRenderer = /* @__PURE__ */ __name(({ format, color, streams = processStreams, quiet = false }) => {
|
|
5219
5225
|
const mark = /* @__PURE__ */ __name((symbol, message) => format === "pretty" ? `${symbol} ${visibleControls(message)}` : visibleControls(message), "mark");
|
|
5220
5226
|
const say = /* @__PURE__ */ __name((symbol) => (message) => {
|
|
@@ -5316,6 +5322,7 @@ export {
|
|
|
5316
5322
|
duplicates,
|
|
5317
5323
|
jsonSchemaOf,
|
|
5318
5324
|
MAX_NEXT_STEPS,
|
|
5325
|
+
COMPACT_FLAG,
|
|
5319
5326
|
isoTime,
|
|
5320
5327
|
reference,
|
|
5321
5328
|
pageSchema,
|
|
@@ -5347,6 +5354,7 @@ export {
|
|
|
5347
5354
|
systemKeyring,
|
|
5348
5355
|
resolvePaths,
|
|
5349
5356
|
pathsAreOverridden,
|
|
5357
|
+
isMovedRun,
|
|
5350
5358
|
configFilePath,
|
|
5351
5359
|
Credentials,
|
|
5352
5360
|
realSleep,
|
|
@@ -7,15 +7,15 @@ import {
|
|
|
7
7
|
modelsDirectory,
|
|
8
8
|
speechModel,
|
|
9
9
|
vadPath
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-U5ASRBBF.js";
|
|
11
11
|
import {
|
|
12
12
|
CliError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-JF7ZEUXU.js";
|
|
14
14
|
import {
|
|
15
15
|
__name
|
|
16
16
|
} from "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/speech/local.js
|
|
19
19
|
import { createHash } from "node:crypto";
|
|
20
20
|
import { isAbsolute } from "node:path";
|
|
21
21
|
import { setImmediate } from "node:timers/promises";
|
|
@@ -35,7 +35,14 @@ var localSpeechRecognitionModel = /* @__PURE__ */ __name((id) => {
|
|
|
35
35
|
vad: VAD.sha256,
|
|
36
36
|
featureDim: model.featureDim
|
|
37
37
|
})).digest("hex");
|
|
38
|
-
return Object.freeze({
|
|
38
|
+
return Object.freeze({
|
|
39
|
+
engine: "sherpa-onnx",
|
|
40
|
+
model: model.id,
|
|
41
|
+
version,
|
|
42
|
+
...model.language === void 0 ? {} : { language: model.language },
|
|
43
|
+
sampleRate: 16e3,
|
|
44
|
+
maxChunkSamples: 48e4
|
|
45
|
+
});
|
|
39
46
|
}, "localSpeechRecognitionModel");
|
|
40
47
|
var notInstalled = /* @__PURE__ */ __name((id) => new CliError("not_found", `speech model ${id} is not installed; download it explicitly with a WireCat messenger's models download command`, { reason: "model.not-downloaded", model: id }), "notInstalled");
|
|
41
48
|
var recognizeLocalPieces = /* @__PURE__ */ __name(async (id, audio, options = {}) => {
|
|
@@ -43,7 +50,7 @@ var recognizeLocalPieces = /* @__PURE__ */ __name(async (id, audio, options = {}
|
|
|
43
50
|
const directory = options.directory ?? modelsDirectory(options.env);
|
|
44
51
|
if (!isInstalled(model, directory))
|
|
45
52
|
throw notInstalled(model.id);
|
|
46
|
-
const { openRecognizer, toModelRate } = await import("./recognize-
|
|
53
|
+
const { openRecognizer, toModelRate } = await import("./recognize-DMJJHHXF.js");
|
|
47
54
|
const engine = (options.open ?? openRecognizer)(model, modelPath(directory, model), vadPath(directory));
|
|
48
55
|
try {
|
|
49
56
|
if (!engine.pieces)
|
|
@@ -64,7 +71,7 @@ var openLocalSpeechRecognizer = /* @__PURE__ */ __name(async (id, input = {}) =>
|
|
|
64
71
|
cancelled(options.signal);
|
|
65
72
|
if (!isInstalled(model, directory))
|
|
66
73
|
throw notInstalled(description.model);
|
|
67
|
-
const { openRecognizer, toModelRate } = await import("./recognize-
|
|
74
|
+
const { openRecognizer, toModelRate } = await import("./recognize-DMJJHHXF.js");
|
|
68
75
|
cancelled(options.signal);
|
|
69
76
|
const engine = (options.open ?? openRecognizer)(model, modelPath(directory, model), vadPath(directory));
|
|
70
77
|
let closing = false;
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JF7ZEUXU.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
|
|
11
11
|
var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
|
|
12
12
|
var MAX_SECRET_INPUT = 64 * 1024;
|
|
13
13
|
var policies = /* @__PURE__ */ new WeakMap();
|