@wirecat/zoom-cli 0.60.0 → 0.61.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 +7 -6
- package/dist/answers.d.ts +16 -0
- package/dist/answers.d.ts.map +1 -1
- package/dist/bin/main.js +1 -0
- package/dist/bin/main.js.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{chunk-PUOBYJFI.js → all-profiles-HZLIU6RZ.js} +11 -7
- package/dist/bundle/answer-policy-GRODO2DY.js +96 -0
- package/dist/bundle/{anthropic-TT2XV74T.js → anthropic-O2YYPCVK.js} +4 -4
- package/dist/bundle/{app-server-POMYD6QV.js → app-server-YYCANTUE.js} +50 -50
- package/dist/bundle/{bun-JVDJVDHL.js → bun-UEFRULAT.js} +2 -2
- package/dist/bundle/{bun-sqlite-BBOPAQVG.js → bun-sqlite-VVYKOY7S.js} +3 -3
- package/dist/bundle/{chunk-KVPYI52N.js → chunk-2M2U43IF.js} +2 -2
- package/dist/bundle/{chunk-7GVNQOV6.js → chunk-35X6G276.js} +1 -1
- package/dist/bundle/{chunk-RH5YXXAB.js → chunk-3TGR4RDD.js} +32 -34
- package/dist/bundle/{chunk-YZZ6NBXC.js → chunk-4XI4PDEH.js} +31 -21
- package/dist/bundle/{chunk-W5EUHV3J.js → chunk-4XPIOW5L.js} +1 -1
- package/dist/bundle/{chunk-PU4FKK5T.js → chunk-5NRBNGR3.js} +2 -2
- package/dist/bundle/{chunk-LYZNVNJA.js → chunk-67WW33JB.js} +49 -24
- package/dist/bundle/{chunk-3P4LUGXI.js → chunk-6LHTWR3X.js} +2 -2
- package/dist/bundle/{chunk-SG3WSP7Y.js → chunk-6RV7KXDF.js} +7 -7
- package/dist/bundle/{chunk-VYUSEJE4.js → chunk-6SLGIPLT.js} +2 -2
- package/dist/bundle/{chunk-EOZWDEJL.js → chunk-77GJITSU.js} +2 -2
- package/dist/bundle/{chunk-72A7CIPL.js → chunk-7ATLKYBN.js} +17 -17
- package/dist/bundle/{chunk-YSZQ5SZK.js → chunk-7DMMNCY2.js} +3 -3
- package/dist/bundle/chunk-ABCHE4YP.js +217 -0
- package/dist/bundle/{chunk-G3MXAGF2.js → chunk-AOSIU5T6.js} +51 -38
- package/dist/bundle/{chunk-TAQKNWCD.js → chunk-B3PTSX5D.js} +2 -2
- package/dist/bundle/{chunk-J3N2LL37.js → chunk-B45MFBBF.js} +6 -6
- package/dist/bundle/{chunk-GNRYFESK.js → chunk-BNUNZTOU.js} +25 -25
- package/dist/bundle/{chunk-SK3K2VHF.js → chunk-BPQNTYLN.js} +388 -299
- package/dist/bundle/{chunk-LKV3NRCJ.js → chunk-CMG54Q4X.js} +120 -32
- package/dist/bundle/{chunk-DP5DX45H.js → chunk-COU66X3X.js} +7 -5
- package/dist/bundle/{chunk-NKFRV2LB.js → chunk-CUSGSXSR.js} +2 -2
- package/dist/bundle/{chunk-MFS52LTZ.js → chunk-DLAFGSTN.js} +1 -1
- package/dist/bundle/{chunk-DKIIKMSE.js → chunk-E4QPLXZT.js} +47 -47
- package/dist/bundle/{chunk-MGYFSXI5.js → chunk-E4T7IJJO.js} +26 -26
- package/dist/bundle/{chunk-AJA5ZAV6.js → chunk-F32GKBMF.js} +22 -5
- package/dist/bundle/{chunk-DN7VHENQ.js → chunk-FAOVUALC.js} +13 -13
- package/dist/bundle/{chunk-EF2RCQ3L.js → chunk-FBJC7OCI.js} +1 -1
- package/dist/bundle/{chunk-HIAO4MPA.js → chunk-FQ54A7GI.js} +1 -1
- package/dist/bundle/{chunk-EXFAA4N3.js → chunk-FXY45HU7.js} +6 -6
- package/dist/bundle/{chunk-2EVRKK75.js → chunk-GNHPYQMM.js} +2 -2
- package/dist/bundle/{chunk-M5WLBRL7.js → chunk-H5EAHMQN.js} +11 -11
- package/dist/bundle/chunk-HF233RN4.js +335 -0
- package/dist/bundle/{chunk-24DLFGES.js → chunk-HTGBUE2U.js} +2 -2
- package/dist/bundle/{chunk-RSLXLUTS.js → chunk-IKZFR645.js} +10 -10
- package/dist/bundle/chunk-JKWYXBGK.js +380 -0
- package/dist/bundle/{chunk-DAQXO6SM.js → chunk-KGZHRJ7H.js} +4 -4
- package/dist/bundle/{chunk-ZK7Y5K63.js → chunk-KPZIQKOF.js} +1 -1
- package/dist/bundle/{chunk-7T3BUWJK.js → chunk-KXYURHVE.js} +118 -95
- package/dist/bundle/{chunk-4HZRZDMC.js → chunk-KZGHGU2M.js} +4 -4
- package/dist/bundle/{chunk-2TV7UTHK.js → chunk-KZV5GU7G.js} +8 -8
- package/dist/bundle/{chunk-YIMI6O7R.js → chunk-L7VIPVHL.js} +263 -199
- package/dist/bundle/{chunk-XLJV3ZOH.js → chunk-LPJ3S6GE.js} +1 -1
- package/dist/bundle/{chunk-HBYE4EP2.js → chunk-LX6DO44O.js} +1 -1
- package/dist/bundle/{chunk-3UMXCNDI.js → chunk-LXOSBFWW.js} +7 -7
- package/dist/bundle/{chunk-KUBCUE6T.js → chunk-M3EVVGR6.js} +2 -2
- package/dist/bundle/{chunk-WVXAQVLG.js → chunk-MBMDF5EL.js} +6 -6
- package/dist/bundle/{chunk-KUBWRI5E.js → chunk-MTAVA2LS.js} +2 -2
- package/dist/bundle/{chunk-AQDWGJZT.js → chunk-MVRCLMQL.js} +39 -2
- package/dist/bundle/{chunk-UOFOMU3T.js → chunk-NVN4O5IC.js} +14 -10
- package/dist/bundle/{chunk-SKENSSY2.js → chunk-O3WVOAT7.js} +408 -420
- package/dist/bundle/{chunk-EROQ5SC7.js → chunk-OLZE27RS.js} +2 -2
- package/dist/bundle/{chunk-22UBF6U6.js → chunk-OMUX4LSS.js} +4 -4
- package/dist/bundle/{chunk-QJCVOVNR.js → chunk-OU46OTTE.js} +3 -3
- package/dist/bundle/{chunk-JBGYI5BY.js → chunk-OVVDOVLN.js} +2 -2
- package/dist/bundle/{chunk-I45V6AFG.js → chunk-P2NRA7E5.js} +2 -2
- package/dist/bundle/{chunk-7PQY4ISY.js → chunk-PCUPOGKR.js} +6 -4
- package/dist/bundle/{chunk-4MC4Z45G.js → chunk-QHT2LZRW.js} +6 -6
- package/dist/bundle/{decode-UBPIHVNG.js → chunk-RGOBGHWE.js} +21 -18
- package/dist/bundle/{chunk-UOL4ILXT.js → chunk-RSXLI5GP.js} +79 -59
- package/dist/bundle/{chunk-RNX73QCL.js → chunk-S726LZCH.js} +6 -6
- package/dist/bundle/{chunk-TB72GE55.js → chunk-SVBM6F4Z.js} +1 -1
- package/dist/bundle/{chunk-GXACHTB2.js → chunk-T7IQMYPW.js} +15 -3
- package/dist/bundle/{chunk-Q4NDCDFG.js → chunk-TD4Y5LXG.js} +25 -22
- package/dist/bundle/{chunk-V2QOLHPM.js → chunk-U4Y2QQ2D.js} +3 -3
- package/dist/bundle/{chunk-ODFIV4OS.js → chunk-UPWHCUVA.js} +617 -380
- package/dist/bundle/{chunk-E3AMUYNB.js → chunk-UYAKSUT5.js} +5 -5
- package/dist/bundle/{chunk-J5ZVGKSZ.js → chunk-VARX3SBT.js} +1 -1
- package/dist/bundle/{chunk-IFXPNXAH.js → chunk-WVYSOV3C.js} +16 -4
- package/dist/bundle/{chunk-LZBWU2IA.js → chunk-XOJGXWTK.js} +8 -8
- package/dist/bundle/{chunk-4FTPE5SB.js → chunk-XX2PDQ54.js} +31 -211
- package/dist/bundle/{chunk-D6L35XQS.js → chunk-XZ4OVTA5.js} +9 -9
- package/dist/bundle/{chunk-XAF2LHZG.js → chunk-YESOQEOB.js} +735 -826
- package/dist/bundle/{cli-WIMAOCXF.js → cli-O4LAGYXI.js} +60 -54
- package/dist/bundle/command-contract-67QKBY6M.js +38 -0
- package/dist/bundle/config-ABURZDD2.js +78 -0
- package/dist/bundle/decode-WRMZJJCR.js +20 -0
- package/dist/bundle/{dist-YYDTME5J.js → dist-SQK4GIJT.js} +14 -14
- package/dist/bundle/{echarts-4OQHS575.js → echarts-3DOOJSQR.js} +2 -2
- package/dist/bundle/{embed-7JHEPBFD.js → embed-OYRHTMFI.js} +4 -4
- package/dist/bundle/{embedder-HTRPWR6T.js → embedder-ZAYCL22W.js} +7 -7
- package/dist/bundle/{first-run-I52ADRJ2.js → first-run-QXSPIXOQ.js} +8 -8
- package/dist/bundle/first-screen-MD6HWIJW.js +36 -0
- package/dist/bundle/{folders-5ZBUQHAM.js → folders-EXQLKXVK.js} +2 -2
- package/dist/bundle/{instructions-3QZBKKPF.js → instructions-GFEOB7XJ.js} +1 -1
- package/dist/bundle/{main-64VVZ5QG.js → main-RADF3CRI.js} +17 -16
- package/dist/bundle/{mcp-OQBZXELQ.js → mcp-WSGVVZWI.js} +2 -2
- package/dist/bundle/{meetings-RD3NU6NN.js → meetings-6BIIT42H.js} +4 -4
- package/dist/bundle/{node-R2BLYUSB.js → node-A3B2YRQI.js} +2 -2
- package/dist/bundle/{node-sqlite-DGEEDBXV.js → node-sqlite-XRP5FUDY.js} +3 -3
- package/dist/bundle/{oauth-NRZMCFH3.js → oauth-YICY4AN4.js} +5 -5
- package/dist/bundle/{open-SUGCOCAU.js → open-4CNKSQRB.js} +2 -2
- package/dist/bundle/openai-YYRO3X7I.js +22 -0
- package/dist/bundle/{output-file-SXV2ANW7.js → output-file-7BXYV6OL.js} +3 -3
- package/dist/bundle/{process-IX5YWGDP.js → process-A45QXKID.js} +1 -1
- package/dist/bundle/{program-WGNTV7NS.js → program-DTP7BRTW.js} +422 -431
- package/dist/bundle/{prompt-NICXDWN3.js → prompt-5LMKO7SE.js} +3 -3
- package/dist/bundle/{recognize-6DAHO6X6.js → recognize-MB6WRGUD.js} +4 -2
- package/dist/bundle/{remote-JZ3TXP6I.js → remote-PD7WMTTS.js} +5 -5
- package/dist/bundle/{rerank-YSXWCAGZ.js → rerank-7E6GQ5Y6.js} +5 -5
- package/dist/bundle/{run-log-APHZZWC7.js → run-log-TCFK4LEC.js} +53 -53
- package/dist/bundle/{chunk-HWZXQLR5.js → serve-JBT2BWHK.js} +8 -6
- package/dist/bundle/server-CFIKEPLG.js +66 -0
- package/dist/bundle/{chunk-EH6G2LEU.js → server-H2UPGGBI.js} +43 -10
- package/dist/bundle/{services-D64U72OE.js → services-SJOTKL5V.js} +33 -26
- package/dist/bundle/{speech-QLCQAT4O.js → speech-4SL25GSC.js} +28 -5
- package/dist/bundle/{state-KAD3R27T.js → state-FVMTDZ6B.js} +4 -4
- package/dist/bundle/{store-7UNPRLZ3.js → store-DNPKBUVO.js} +13 -13
- package/dist/bundle/{store-2BHHS77S.js → store-TI77SCNL.js} +15 -15
- package/dist/bundle/store-connection-GIFWWMNO.js +76 -0
- package/dist/bundle/store-maintenance-command-WBKGF2CZ.js +55 -0
- package/dist/bundle/{streaming-AK6Q2ZGQ.js → streaming-UHAHGPH5.js} +4 -4
- package/dist/bundle/{tokens-CCM3D4ZT.js → tokens-Y2MX6JBL.js} +4 -4
- package/dist/bundle/zm.js +1 -1
- package/dist/commands.d.ts +1 -2
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +3 -16
- package/dist/commands.js.map +1 -1
- package/dist/contract-overrides.d.ts +0 -2
- package/dist/contract-overrides.d.ts.map +1 -1
- package/dist/contract-overrides.js +0 -158
- package/dist/contract-overrides.js.map +1 -1
- package/dist/login.d.ts +1 -0
- package/dist/login.d.ts.map +1 -1
- package/dist/login.js +1 -1
- package/dist/login.js.map +1 -1
- package/dist/program-bindings.d.ts +1 -1
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +16 -18
- package/dist/program-bindings.js.map +1 -1
- package/dist/program.d.ts +2 -4
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js.map +1 -1
- package/dist/read-only.d.ts.map +1 -1
- package/dist/read-only.js +3 -0
- package/dist/read-only.js.map +1 -1
- package/dist/recording-schedule-setup.d.ts.map +1 -1
- package/dist/recording-schedule-setup.js +1 -0
- package/dist/recording-schedule-setup.js.map +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +82 -32
- package/dist/run.js.map +1 -1
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +14 -47
- package/dist/setup-commands.js.map +1 -1
- package/dist/store-commands.d.ts.map +1 -1
- package/dist/store-commands.js +4 -1
- package/dist/store-commands.js.map +1 -1
- package/dist/tokens.d.ts +15 -0
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +40 -1
- package/dist/tokens.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/all-profiles-7OZPJY76.js +0 -25
- package/dist/bundle/answer-policy-PVWMA2QC.js +0 -96
- package/dist/bundle/chunk-57LT4A2E.js +0 -48
- package/dist/bundle/chunk-XMCVB4Q4.js +0 -390
- package/dist/bundle/chunk-YLBNPI7H.js +0 -2
- package/dist/bundle/command-contract-J7PDZQMC.js +0 -38
- package/dist/bundle/config-G62PBNZF.js +0 -79
- package/dist/bundle/first-screen-XNCFWOLC.js +0 -36
- package/dist/bundle/mcp-5SJXWEJW.js +0 -92
- package/dist/bundle/mcp-ZMIPDB4R.js +0 -189
- package/dist/bundle/serve-7VWL475U.js +0 -19
- package/dist/bundle/server-7LABFAA5.js +0 -53
- package/dist/bundle/server-VFXB5WRG.js +0 -66
- package/dist/bundle/store-connection-QTMLZ7LR.js +0 -76
- package/dist/bundle/store-maintenance-command-ND6PQCVZ.js +0 -54
- package/dist/mcp-command.d.ts +0 -33
- package/dist/mcp-command.d.ts.map +0 -1
- package/dist/mcp-command.js +0 -143
- package/dist/mcp-command.js.map +0 -1
- package/dist/mcp.d.ts +0 -30
- package/dist/mcp.d.ts.map +0 -1
- package/dist/mcp.js +0 -110
- package/dist/mcp.js.map +0 -1
- /package/dist/bundle/{chunk-O5EHUB2V.js → chunk-62EDJKGP.js} +0 -0
|
@@ -2,21 +2,21 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
storePath
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-M3EVVGR6.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError,
|
|
8
8
|
resolvePaths,
|
|
9
9
|
singleLine
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-L7VIPVHL.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.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
16
16
|
import { mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
|
|
17
17
|
import { dirname, join, resolve } from "node:path";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
|
|
20
20
|
var DEFAULT_TASK_CATEGORIES = [
|
|
21
21
|
{
|
|
22
22
|
name: "taxes",
|
|
@@ -771,7 +771,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
|
|
|
771
771
|
}
|
|
772
772
|
}, "storedTaskCategories");
|
|
773
773
|
|
|
774
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
774
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
775
775
|
var SECTION = "task_categories";
|
|
776
776
|
var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
|
|
777
777
|
const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
|
|
@@ -2,6 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
array,
|
|
5
|
+
boolean,
|
|
5
6
|
integer,
|
|
6
7
|
isoTime,
|
|
7
8
|
isoTimestamp,
|
|
@@ -17,9 +18,9 @@ import {
|
|
|
17
18
|
strictObject,
|
|
18
19
|
string,
|
|
19
20
|
unknown
|
|
20
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-L7VIPVHL.js";
|
|
21
22
|
|
|
22
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/entities/fields.js
|
|
23
24
|
var text = string();
|
|
24
25
|
var id = pipe(string(), minLength(1));
|
|
25
26
|
var time = isoTime;
|
|
@@ -27,13 +28,23 @@ var zonedTime = pipe(string(), isoTimestamp("an ISO 8601 time with a zone"));
|
|
|
27
28
|
var count = pipe(number(), integer(), minValue(0));
|
|
28
29
|
var untrusted = optional(array(text));
|
|
29
30
|
var providerMetadata = optional(record(string(), unknown()));
|
|
31
|
+
var evidenceSource = strictObject({
|
|
32
|
+
ref: nullable(reference),
|
|
33
|
+
kind: text,
|
|
34
|
+
title: nullable(text),
|
|
35
|
+
sender: nullable(text),
|
|
36
|
+
at: nullable(time),
|
|
37
|
+
excerpt: nullable(text),
|
|
38
|
+
tool: nullable(text),
|
|
39
|
+
missing: boolean()
|
|
40
|
+
});
|
|
30
41
|
var author = strictObject({
|
|
31
42
|
type: picklist(["person", "bot"]),
|
|
32
43
|
id,
|
|
33
44
|
name: nullable(text)
|
|
34
45
|
});
|
|
35
46
|
|
|
36
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
47
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
37
48
|
var link = {
|
|
38
49
|
target_text: nullable(text),
|
|
39
50
|
kind: text,
|
|
@@ -74,7 +85,7 @@ var note = strictObject({
|
|
|
74
85
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
75
86
|
});
|
|
76
87
|
|
|
77
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
88
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
78
89
|
var organization = strictObject({
|
|
79
90
|
id,
|
|
80
91
|
ref: reference,
|
|
@@ -112,6 +123,7 @@ export {
|
|
|
112
123
|
count,
|
|
113
124
|
untrusted,
|
|
114
125
|
providerMetadata,
|
|
126
|
+
evidenceSource,
|
|
115
127
|
author,
|
|
116
128
|
note,
|
|
117
129
|
organization,
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
isCliFailure
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-77GJITSU.js";
|
|
6
6
|
import {
|
|
7
7
|
isContentKey
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-L7VIPVHL.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/runs/events.js
|
|
14
14
|
var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
|
|
15
15
|
var renderEvent = /* @__PURE__ */ __name((event) => {
|
|
16
16
|
if (event.event === "warning") {
|
|
@@ -58,14 +58,14 @@ var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!
|
|
|
58
58
|
var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
|
|
59
59
|
var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
|
|
60
60
|
|
|
61
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
61
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/runs/run-context.js
|
|
62
62
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
63
63
|
import { createHash } from "node:crypto";
|
|
64
64
|
|
|
65
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
65
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
|
|
66
66
|
import { homedir } from "node:os";
|
|
67
67
|
|
|
68
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
68
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/runs/secrets.js
|
|
69
69
|
var SECRET_WORDS = /* @__PURE__ */ new Set([
|
|
70
70
|
"authorization",
|
|
71
71
|
"cookie",
|
|
@@ -146,7 +146,7 @@ var withoutSecrets = /* @__PURE__ */ __name((text, mark = "[redacted]") => text.
|
|
|
146
146
|
var RUN = /(?<![A-Za-z0-9_+/-])[A-Za-z0-9_+/-]{20,}/g;
|
|
147
147
|
var HEX = /(?<![A-Za-z0-9])(?=[0-9]*[a-f])[0-9a-f]{20,}(?![A-Za-z0-9])/g;
|
|
148
148
|
|
|
149
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
149
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
|
|
150
150
|
var MESSAGE_AT_MOST = 500;
|
|
151
151
|
var CAUSES_AT_MOST = 5;
|
|
152
152
|
var FRAMES_AT_MOST = 15;
|
|
@@ -254,7 +254,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
|
|
|
254
254
|
return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
|
|
255
255
|
}, "redactText");
|
|
256
256
|
|
|
257
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
257
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/runs/run-context.js
|
|
258
258
|
var REDACTED = "[redacted]";
|
|
259
259
|
var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
|
|
260
260
|
if (!record)
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
checkCancelled
|
|
5
|
-
} from "./chunk-VYUSEJE4.js";
|
|
6
3
|
import {
|
|
7
4
|
profileAccountKey,
|
|
8
5
|
profilePattern
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-O3WVOAT7.js";
|
|
7
|
+
import {
|
|
8
|
+
checkCancelled
|
|
9
|
+
} from "./chunk-6SLGIPLT.js";
|
|
10
|
+
import {
|
|
11
|
+
openWavAudio,
|
|
12
|
+
preflightWavAudio
|
|
13
|
+
} from "./chunk-ABCHE4YP.js";
|
|
10
14
|
import {
|
|
11
15
|
createMeetingSearchCommand,
|
|
12
16
|
meetingHitSearchRequest,
|
|
13
17
|
meetingSearchArguments,
|
|
14
18
|
meetingSearchMeta
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import {
|
|
17
|
-
openOrdinaryFile
|
|
18
|
-
} from "./chunk-XAF2LHZG.js";
|
|
19
|
+
} from "./chunk-TD4Y5LXG.js";
|
|
19
20
|
import {
|
|
20
21
|
Command,
|
|
21
22
|
FETCH,
|
|
@@ -28,17 +29,17 @@ import {
|
|
|
28
29
|
metaNow,
|
|
29
30
|
metaOf,
|
|
30
31
|
overrideSharedContract
|
|
31
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-AOSIU5T6.js";
|
|
32
33
|
import {
|
|
33
34
|
parseDuration
|
|
34
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-4XI4PDEH.js";
|
|
35
36
|
import {
|
|
36
37
|
canonicalMeetingReference,
|
|
37
38
|
meetingHitsList,
|
|
38
39
|
parseMeetingReference,
|
|
39
40
|
validateMeetingContextChange,
|
|
40
41
|
validateMeetingHitSearch
|
|
41
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-RSXLI5GP.js";
|
|
42
43
|
import {
|
|
43
44
|
CliError,
|
|
44
45
|
createOutputBuffer,
|
|
@@ -46,7 +47,7 @@ import {
|
|
|
46
47
|
isCliError,
|
|
47
48
|
jsonSchemaOf,
|
|
48
49
|
union
|
|
49
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-L7VIPVHL.js";
|
|
50
51
|
import {
|
|
51
52
|
__name
|
|
52
53
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -54,187 +55,6 @@ import {
|
|
|
54
55
|
// dist/local-transcription.js
|
|
55
56
|
import { isAbsolute } from "node:path";
|
|
56
57
|
|
|
57
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/speech/wav.js
|
|
58
|
-
import { createHash } from "node:crypto";
|
|
59
|
-
import { basename, resolve } from "node:path";
|
|
60
|
-
var prepared = /* @__PURE__ */ new WeakMap();
|
|
61
|
-
var checkCancelled2 = /* @__PURE__ */ __name((signal) => {
|
|
62
|
-
if (!signal?.aborted)
|
|
63
|
-
return;
|
|
64
|
-
if (signal.reason instanceof CliError)
|
|
65
|
-
throw signal.reason;
|
|
66
|
-
const timedOut = signal.reason instanceof Error && signal.reason.name === "TimeoutError";
|
|
67
|
-
throw new CliError(timedOut ? "timeout" : "cancelled", timedOut ? "command timed out" : "command cancelled");
|
|
68
|
-
}, "checkCancelled");
|
|
69
|
-
var invalid = /* @__PURE__ */ __name(() => {
|
|
70
|
-
throw new CliError("validation_error", "local transcription requires PCM16 mono/stereo WAV at 16 or 48 kHz; convert the media locally to PCM WAV first");
|
|
71
|
-
}, "invalid");
|
|
72
|
-
var validate = /* @__PURE__ */ __name((options) => {
|
|
73
|
-
if (!Number.isSafeInteger(options.maxBytes) || options.maxBytes < 1 || options.maxBytes > 4 * 1024 ** 3 || !Number.isSafeInteger(options.maxDurationMs) || options.maxDurationMs < 1 || options.maxDurationMs > 24 * 36e5)
|
|
74
|
-
throw new CliError("validation_error", "audio byte and duration budgets must be positive bounded integers");
|
|
75
|
-
checkCancelled2(options.signal);
|
|
76
|
-
}, "validate");
|
|
77
|
-
var exact = /* @__PURE__ */ __name(async (file, offset, size, signal) => {
|
|
78
|
-
const bytes2 = Buffer.alloc(size);
|
|
79
|
-
let read = 0;
|
|
80
|
-
while (read < size) {
|
|
81
|
-
checkCancelled2(signal);
|
|
82
|
-
const result = await file.read(bytes2, read, size - read, offset + read);
|
|
83
|
-
if (!result.bytesRead)
|
|
84
|
-
throw new CliError("validation_error", "WAV changed or was truncated while reading");
|
|
85
|
-
read += result.bytesRead;
|
|
86
|
-
}
|
|
87
|
-
return bytes2;
|
|
88
|
-
}, "exact");
|
|
89
|
-
var layoutOf = /* @__PURE__ */ __name(async (file, size, options) => {
|
|
90
|
-
if (size < 44 || size > options.maxBytes)
|
|
91
|
-
invalid();
|
|
92
|
-
const header = await exact(file, 0, 12, options.signal);
|
|
93
|
-
if (header.toString("ascii", 0, 4) !== "RIFF" || header.toString("ascii", 8, 12) !== "WAVE" || header.readUInt32LE(4) + 8 !== size)
|
|
94
|
-
invalid();
|
|
95
|
-
let format;
|
|
96
|
-
let data;
|
|
97
|
-
let at = 12;
|
|
98
|
-
let chunks = 0;
|
|
99
|
-
while (at < size) {
|
|
100
|
-
checkCancelled2(options.signal);
|
|
101
|
-
if (++chunks > 1024 || size - at < 8)
|
|
102
|
-
invalid();
|
|
103
|
-
const chunk = await exact(file, at, 8, options.signal);
|
|
104
|
-
const kind = chunk.toString("ascii", 0, 4);
|
|
105
|
-
const length = chunk.readUInt32LE(4);
|
|
106
|
-
const start = at + 8;
|
|
107
|
-
const next = start + length + length % 2;
|
|
108
|
-
if (next > size)
|
|
109
|
-
invalid();
|
|
110
|
-
if (kind === "fmt ") {
|
|
111
|
-
if (format || ![16, 18].includes(length))
|
|
112
|
-
invalid();
|
|
113
|
-
const bytes2 = await exact(file, start, length, options.signal);
|
|
114
|
-
const channels = bytes2.readUInt16LE(2);
|
|
115
|
-
const sampleRate = bytes2.readUInt32LE(4);
|
|
116
|
-
if (bytes2.readUInt16LE(0) !== 1 || ![1, 2].includes(channels) || ![16e3, 48e3].includes(sampleRate) || bytes2.readUInt16LE(14) !== 16 || bytes2.readUInt16LE(12) !== channels * 2 || bytes2.readUInt32LE(8) !== sampleRate * channels * 2 || length === 18 && bytes2.readUInt16LE(16) !== 0)
|
|
117
|
-
invalid();
|
|
118
|
-
format = { sampleRate, channels };
|
|
119
|
-
} else if (kind === "data") {
|
|
120
|
-
if (data || !length)
|
|
121
|
-
invalid();
|
|
122
|
-
data = { offset: start, size: length };
|
|
123
|
-
}
|
|
124
|
-
at = next;
|
|
125
|
-
}
|
|
126
|
-
if (!format || !data || data.size % (format.channels * 2) !== 0)
|
|
127
|
-
return invalid();
|
|
128
|
-
const frames = data.size / (format.channels * 2);
|
|
129
|
-
if (Math.ceil(frames * 1e3 / format.sampleRate) > options.maxDurationMs)
|
|
130
|
-
throw new CliError("validation_error", "WAV exceeds the configured duration limit");
|
|
131
|
-
return { ...format, dataOffset: data.offset, dataSize: data.size, frames };
|
|
132
|
-
}, "layoutOf");
|
|
133
|
-
var hashRange = /* @__PURE__ */ __name(async (file, hash, start, end, signal) => {
|
|
134
|
-
let at = start;
|
|
135
|
-
while (at < end) {
|
|
136
|
-
const bytes2 = await exact(file, at, Math.min(65536, end - at), signal);
|
|
137
|
-
hash.update(bytes2);
|
|
138
|
-
at += bytes2.length;
|
|
139
|
-
}
|
|
140
|
-
}, "hashRange");
|
|
141
|
-
var hashFile = /* @__PURE__ */ __name(async (file, size, signal) => {
|
|
142
|
-
const hash = createHash("sha256");
|
|
143
|
-
await hashRange(file, hash, 0, size, signal);
|
|
144
|
-
if ((await file.stat()).size !== size)
|
|
145
|
-
throw new CliError("validation_error", "WAV changed while verifying its content");
|
|
146
|
-
return hash.digest("hex");
|
|
147
|
-
}, "hashFile");
|
|
148
|
-
var preflightWavAudio = /* @__PURE__ */ __name(async (path, input) => {
|
|
149
|
-
const options = { ...input };
|
|
150
|
-
validate(options);
|
|
151
|
-
if (typeof path !== "string" || !path.trim() || /\0/.test(path))
|
|
152
|
-
throw new CliError("validation_error", "local audio file is required");
|
|
153
|
-
const absolute = resolve(path);
|
|
154
|
-
const file = await openOrdinaryFile(absolute);
|
|
155
|
-
try {
|
|
156
|
-
const stat = await file.stat({ bigint: true });
|
|
157
|
-
const size = Number(stat.size);
|
|
158
|
-
const layout = await layoutOf(file, size, options);
|
|
159
|
-
const contentHash = await hashFile(file, size, options.signal);
|
|
160
|
-
const after = await file.stat({ bigint: true });
|
|
161
|
-
if (stat.size !== after.size || stat.mtimeNs !== after.mtimeNs)
|
|
162
|
-
throw new CliError("validation_error", "WAV changed while preparing the transcription");
|
|
163
|
-
const media = Object.freeze({
|
|
164
|
-
id: createHash("sha256").update(basename(absolute)).digest("hex"),
|
|
165
|
-
contentHash,
|
|
166
|
-
size,
|
|
167
|
-
durationMs: Math.ceil(layout.frames * 1e3 / layout.sampleRate),
|
|
168
|
-
format: "wav",
|
|
169
|
-
sampleRate: layout.sampleRate,
|
|
170
|
-
channels: layout.channels
|
|
171
|
-
});
|
|
172
|
-
const plan = Object.freeze({ media });
|
|
173
|
-
prepared.set(plan, { path: absolute, dev: stat.dev, ino: stat.ino, layout });
|
|
174
|
-
return plan;
|
|
175
|
-
} finally {
|
|
176
|
-
await file.close();
|
|
177
|
-
}
|
|
178
|
-
}, "preflightWavAudio");
|
|
179
|
-
var openWavAudio = /* @__PURE__ */ __name(async (plan, input) => {
|
|
180
|
-
const options = { ...input };
|
|
181
|
-
validate(options);
|
|
182
|
-
const known = prepared.get(plan);
|
|
183
|
-
if (!known)
|
|
184
|
-
throw new CliError("validation_error", "audio plan was not prepared by this adapter");
|
|
185
|
-
const file = await openOrdinaryFile(known.path);
|
|
186
|
-
try {
|
|
187
|
-
const stat = await file.stat({ bigint: true });
|
|
188
|
-
if (stat.dev !== known.dev || stat.ino !== known.ino || Number(stat.size) !== plan.media.size)
|
|
189
|
-
throw new CliError("validation_error", "WAV identity changed before transcription");
|
|
190
|
-
const layout = await layoutOf(file, plan.media.size, options);
|
|
191
|
-
if (JSON.stringify(layout) !== JSON.stringify(known.layout) || await hashFile(file, plan.media.size, options.signal) !== plan.media.contentHash)
|
|
192
|
-
throw new CliError("validation_error", "WAV content changed before transcription");
|
|
193
|
-
let closed = false;
|
|
194
|
-
let consumed = false;
|
|
195
|
-
return {
|
|
196
|
-
async *windows() {
|
|
197
|
-
if (closed || consumed)
|
|
198
|
-
throw new CliError("configuration_error", "audio source can be consumed once before closing");
|
|
199
|
-
consumed = true;
|
|
200
|
-
const hash = createHash("sha256");
|
|
201
|
-
await hashRange(file, hash, 0, layout.dataOffset, options.signal);
|
|
202
|
-
const step = layout.sampleRate / 16e3;
|
|
203
|
-
for (let frame = 0; frame < layout.frames; ) {
|
|
204
|
-
checkCancelled2(options.signal);
|
|
205
|
-
const count = Math.min(layout.sampleRate * 30, layout.frames - frame);
|
|
206
|
-
const bytes2 = await exact(file, layout.dataOffset + frame * layout.channels * 2, count * layout.channels * 2, options.signal);
|
|
207
|
-
hash.update(bytes2);
|
|
208
|
-
const samples = new Float32Array(Math.floor(count / step));
|
|
209
|
-
for (let index = 0; index < samples.length; index++) {
|
|
210
|
-
let sum = 0;
|
|
211
|
-
for (let offset = 0; offset < step; offset++)
|
|
212
|
-
for (let channel = 0; channel < layout.channels; channel++)
|
|
213
|
-
sum += bytes2.readInt16LE(((index * step + offset) * layout.channels + channel) * 2);
|
|
214
|
-
samples[index] = sum / (32768 * step * layout.channels);
|
|
215
|
-
}
|
|
216
|
-
const startMs = Math.floor(frame * 1e3 / layout.sampleRate);
|
|
217
|
-
frame += count;
|
|
218
|
-
if (samples.length)
|
|
219
|
-
yield { startMs, endMs: Math.ceil(frame * 1e3 / layout.sampleRate), samples };
|
|
220
|
-
}
|
|
221
|
-
await hashRange(file, hash, layout.dataOffset + layout.dataSize, plan.media.size, options.signal);
|
|
222
|
-
if (hash.digest("hex") !== plan.media.contentHash || (await file.stat()).size !== plan.media.size)
|
|
223
|
-
throw new CliError("validation_error", "WAV changed during recognition; no transcript may be stored");
|
|
224
|
-
},
|
|
225
|
-
async close() {
|
|
226
|
-
if (!closed) {
|
|
227
|
-
closed = true;
|
|
228
|
-
await file.close();
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
};
|
|
232
|
-
} catch (error) {
|
|
233
|
-
await file.close();
|
|
234
|
-
throw error;
|
|
235
|
-
}
|
|
236
|
-
}, "openWavAudio");
|
|
237
|
-
|
|
238
58
|
// dist/media-decode.js
|
|
239
59
|
import { execFile } from "node:child_process";
|
|
240
60
|
import { mkdtemp, open, rm } from "node:fs/promises";
|
|
@@ -273,9 +93,9 @@ var wavFor = /* @__PURE__ */ __name(async (file, options = {}) => {
|
|
|
273
93
|
const args = ["-nostdin", "-hide_banner", "-loglevel", "error", "-i", file, "-vn", "-ac", "1", "-ar", "16000"];
|
|
274
94
|
args.push("-c:a", "pcm_s16le", "-fflags", "+bitexact", "-flags:a", "+bitexact", "-map_metadata", "-1", path);
|
|
275
95
|
try {
|
|
276
|
-
await new Promise((
|
|
96
|
+
await new Promise((resolve, reject) => execFile(options.ffmpeg ?? "ffmpeg", args, { signal: options.signal, maxBuffer: 1024 * 1024 }, (error, _out, err) => {
|
|
277
97
|
if (!error)
|
|
278
|
-
return
|
|
98
|
+
return resolve();
|
|
279
99
|
if (error.code === "ENOENT")
|
|
280
100
|
return reject(new CliError("configuration_error", "decoding a recording that is not WAV needs ffmpeg on PATH; zm does not install it"));
|
|
281
101
|
if (options.signal?.aborted)
|
|
@@ -340,7 +160,7 @@ var engineFailure = /* @__PURE__ */ __name(async (model, work) => {
|
|
|
340
160
|
}
|
|
341
161
|
}, "engineFailure");
|
|
342
162
|
var loadSpeech = /* @__PURE__ */ __name(async () => {
|
|
343
|
-
const speech = await import("./speech-
|
|
163
|
+
const speech = await import("./speech-4SL25GSC.js");
|
|
344
164
|
return { describe: speech.localSpeechRecognitionModel, open: speech.openLocalSpeechRecognizer };
|
|
345
165
|
}, "loadSpeech");
|
|
346
166
|
var createWavTranscriptionSource = /* @__PURE__ */ __name((file, options) => {
|
|
@@ -425,7 +245,7 @@ var createLocalTranscriptionCapabilities = /* @__PURE__ */ __name((store, input
|
|
|
425
245
|
env: options.env,
|
|
426
246
|
speech: options.speech
|
|
427
247
|
});
|
|
428
|
-
const { transcribeMeeting } = await import("./meetings-
|
|
248
|
+
const { transcribeMeeting } = await import("./meetings-6BIIT42H.js");
|
|
429
249
|
return await transcribeMeeting(source, {
|
|
430
250
|
appendTranscriptsWithReceipt(value) {
|
|
431
251
|
if (value.accountId !== accountId || value.externalId !== target.externalId)
|
|
@@ -461,7 +281,7 @@ var validateTaskProposal = /* @__PURE__ */ __name((value) => {
|
|
|
461
281
|
throw new CliError("invalid_response", "task proposal must be unapplied and proposal-only");
|
|
462
282
|
}, "validateTaskProposal");
|
|
463
283
|
var loadProducer = /* @__PURE__ */ __name(async () => {
|
|
464
|
-
const [domain, services] = await Promise.all([import("./dist-
|
|
284
|
+
const [domain, services] = await Promise.all([import("./dist-SQK4GIJT.js"), import("./services-SJOTKL5V.js")]);
|
|
465
285
|
return { ...services, ...domain };
|
|
466
286
|
}, "loadProducer");
|
|
467
287
|
var createMeetingContextCapabilities = /* @__PURE__ */ __name((store, meetings, accountId, load = loadProducer) => {
|
|
@@ -773,7 +593,7 @@ var addMeetingSearchCommands = /* @__PURE__ */ __name((program, deps) => {
|
|
|
773
593
|
}, "addMeetingSearchCommands");
|
|
774
594
|
|
|
775
595
|
// dist/meeting-semantic.js
|
|
776
|
-
var loadProducer2 = /* @__PURE__ */ __name(async () => import("./services-
|
|
596
|
+
var loadProducer2 = /* @__PURE__ */ __name(async () => import("./services-SJOTKL5V.js"), "loadProducer");
|
|
777
597
|
var createMeetingSemanticCapabilities = /* @__PURE__ */ __name((store, accountId, options = {}) => {
|
|
778
598
|
if (!Number.isSafeInteger(accountId) || accountId < 1)
|
|
779
599
|
throw new CliError("validation_error", "meeting vectors require a selected positive account ID");
|
|
@@ -930,7 +750,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
930
750
|
throw new CliError("validation_error", "expected a selected Zoom profile and read or ingestion intent");
|
|
931
751
|
let store;
|
|
932
752
|
try {
|
|
933
|
-
const open2 = options.openStore ?? (await import("./store-
|
|
753
|
+
const open2 = options.openStore ?? (await import("./store-TI77SCNL.js")).openStore;
|
|
934
754
|
store = await open2({
|
|
935
755
|
path: options.path,
|
|
936
756
|
env: options.env,
|
|
@@ -951,7 +771,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
951
771
|
let cachedBatchReader;
|
|
952
772
|
const batchReader = /* @__PURE__ */ __name(async () => {
|
|
953
773
|
if (!cachedBatchReader) {
|
|
954
|
-
const { createMeetingBatchReader } = await import("./services-
|
|
774
|
+
const { createMeetingBatchReader } = await import("./services-SJOTKL5V.js");
|
|
955
775
|
cachedBatchReader = createMeetingBatchReader(connected, accountId);
|
|
956
776
|
}
|
|
957
777
|
return cachedBatchReader;
|
|
@@ -960,7 +780,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
960
780
|
meetingPreparation: {
|
|
961
781
|
scope: key,
|
|
962
782
|
create: /* @__PURE__ */ __name(async (upcoming) => {
|
|
963
|
-
const { createMeetingPreparationService } = await import("./services-
|
|
783
|
+
const { createMeetingPreparationService } = await import("./services-SJOTKL5V.js");
|
|
964
784
|
const reader = connected.contextEvidence;
|
|
965
785
|
if (context && !reader)
|
|
966
786
|
throw new CliError("configuration_error", "the installed store does not support bounded communications");
|
|
@@ -985,7 +805,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
985
805
|
close: /* @__PURE__ */ __name(() => connected.close(), "close"),
|
|
986
806
|
appendTranscriptsWithReceipt: /* @__PURE__ */ __name((input) => meetings.appendTranscriptsWithReceipt(ownAccount(input, "append")), "appendTranscriptsWithReceipt"),
|
|
987
807
|
meetingProjectCandidates: /* @__PURE__ */ __name(async (reference, request2) => {
|
|
988
|
-
const { createStoredMeetingProjectCandidateReader } = await import("./services-
|
|
808
|
+
const { createStoredMeetingProjectCandidateReader } = await import("./services-SJOTKL5V.js");
|
|
989
809
|
const read = createStoredMeetingProjectCandidateReader(key, accountId, {
|
|
990
810
|
meetings,
|
|
991
811
|
vocabulary: connected.knowledge
|
|
@@ -993,7 +813,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
993
813
|
return read(reference, request2);
|
|
994
814
|
}, "meetingProjectCandidates"),
|
|
995
815
|
meetingProjectEvidence: /* @__PURE__ */ __name(async (project, request2) => {
|
|
996
|
-
const { readMeetingProjectDiscovery } = await import("./services-
|
|
816
|
+
const { readMeetingProjectDiscovery } = await import("./services-SJOTKL5V.js");
|
|
997
817
|
return readMeetingProjectDiscovery({
|
|
998
818
|
vocabulary: connected.knowledge,
|
|
999
819
|
search: { searchHits: /* @__PURE__ */ __name((query, hits) => meetings.searchHits(query, hits), "searchHits") }
|
|
@@ -1020,7 +840,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
1020
840
|
},
|
|
1021
841
|
meetingSearch: /* @__PURE__ */ __name(async (query, request2) => {
|
|
1022
842
|
validateMeetingHitSearch(query, request2);
|
|
1023
|
-
const { searchMeetingHits } = await import("./services-
|
|
843
|
+
const { searchMeetingHits } = await import("./services-SJOTKL5V.js");
|
|
1024
844
|
return searchMeetingHits({ meetings, knowledge: connected.knowledge }, query, { ...request2, accountId });
|
|
1025
845
|
}, "meetingSearch"),
|
|
1026
846
|
meetingIntegration: {
|
|
@@ -1031,7 +851,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
1031
851
|
const change = validateMeetingContextChange(input);
|
|
1032
852
|
if (change.action !== "event.link" && change.action !== "person.link")
|
|
1033
853
|
throw new CliError("validation_error", "meeting linking supports only explicit event or person changes");
|
|
1034
|
-
const api = await import("./services-
|
|
854
|
+
const api = await import("./services-SJOTKL5V.js");
|
|
1035
855
|
await api.resolveMeetingReference(meetings, accountId, source.reference, { signal: mutation.signal });
|
|
1036
856
|
const service = await api.createMeetingContextService({
|
|
1037
857
|
accounts: connected.accounts,
|
|
@@ -1052,25 +872,25 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
1052
872
|
},
|
|
1053
873
|
unifiedSearch: /* @__PURE__ */ __name(async (input) => {
|
|
1054
874
|
const request2 = validateUnifiedSearch(input);
|
|
1055
|
-
const { searchAllIncludingMeetings } = await import("./services-
|
|
875
|
+
const { searchAllIncludingMeetings } = await import("./services-SJOTKL5V.js");
|
|
1056
876
|
return searchAllIncludingMeetings(connected, key, { ...request2, meetingAccount: key, env: options.env });
|
|
1057
877
|
}, "unifiedSearch"),
|
|
1058
878
|
meetingContext: createMeetingContextCapabilities(connected, meetings, accountId),
|
|
1059
879
|
meetingSemantic: createMeetingSemanticCapabilities(connected, accountId, { env: options.env }),
|
|
1060
880
|
meetingSearches: await (async () => {
|
|
1061
|
-
const { meetingSearchesService } = await import("./services-
|
|
881
|
+
const { meetingSearchesService } = await import("./services-SJOTKL5V.js");
|
|
1062
882
|
return meetingSearchesService(async () => connected.searches);
|
|
1063
883
|
})(),
|
|
1064
884
|
meetingStats: /* @__PURE__ */ __name(async (request2) => {
|
|
1065
|
-
const { readMeetingStats } = await import("./services-
|
|
885
|
+
const { readMeetingStats } = await import("./services-SJOTKL5V.js");
|
|
1066
886
|
return readMeetingStats(connected, { ...request2, accountId });
|
|
1067
887
|
}, "meetingStats"),
|
|
1068
888
|
meetingReview: /* @__PURE__ */ __name(async (request2) => {
|
|
1069
|
-
const { readMeetingReview } = await import("./services-
|
|
889
|
+
const { readMeetingReview } = await import("./services-SJOTKL5V.js");
|
|
1070
890
|
return readMeetingReview(connected, { ...request2, accountId });
|
|
1071
891
|
}, "meetingReview"),
|
|
1072
892
|
meetingLinks: /* @__PURE__ */ __name(async (request2) => {
|
|
1073
|
-
const { readMeetingLinks } = await import("./services-
|
|
893
|
+
const { readMeetingLinks } = await import("./services-SJOTKL5V.js");
|
|
1074
894
|
return readMeetingLinks(connected, { ...request2, accountId });
|
|
1075
895
|
}, "meetingLinks")
|
|
1076
896
|
};
|
|
@@ -2,24 +2,24 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
validateFormattedText
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-S726LZCH.js";
|
|
6
6
|
import {
|
|
7
7
|
inputPolicy
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MTAVA2LS.js";
|
|
9
9
|
import {
|
|
10
10
|
CliError,
|
|
11
11
|
indent
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-L7VIPVHL.js";
|
|
13
13
|
import {
|
|
14
14
|
__name
|
|
15
15
|
} from "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/domain/checks.js
|
|
18
18
|
var spelled = /* @__PURE__ */ __name((check, args) => `${check.replaceAll(".", " ")}${args === void 0 ? "" : ` ${args}`}`, "spelled");
|
|
19
19
|
var bareCheck = /* @__PURE__ */ __name((check, args) => `\`${spelled(check, args)}\``, "bareCheck");
|
|
20
20
|
var checkWords = /* @__PURE__ */ __name((command, profile) => (check, args) => `\`${command} ${profile === void 0 ? "" : `${profile} `}${spelled(check, args)}\``, "checkWords");
|
|
21
21
|
|
|
22
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/domain/markdown.js
|
|
23
23
|
var MARKERS = [
|
|
24
24
|
["**", "bold"],
|
|
25
25
|
["~~", "strike"],
|
|
@@ -65,7 +65,7 @@ var closing = /* @__PURE__ */ __name((input, open, marker) => {
|
|
|
65
65
|
return end;
|
|
66
66
|
}, "closing");
|
|
67
67
|
|
|
68
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
68
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/domain/markdown-spans.js
|
|
69
69
|
var STYLES = [
|
|
70
70
|
["**", "bold"],
|
|
71
71
|
["__", "underline"],
|
|
@@ -225,7 +225,7 @@ var parseMarkdownSpans = /* @__PURE__ */ __name((input) => {
|
|
|
225
225
|
return validateFormattedText(result);
|
|
226
226
|
}, "parseMarkdownSpans");
|
|
227
227
|
|
|
228
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
228
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/domain/polls.js
|
|
229
229
|
var countedPoll = /* @__PURE__ */ __name((poll, votes, self) => {
|
|
230
230
|
const cast = votes.filter((vote) => vote.answers.length > 0);
|
|
231
231
|
const mine = self === null ? void 0 : votes.find((vote) => vote.person.id === self);
|
|
@@ -1874,7 +1874,7 @@ var createDataURL = /* @__PURE__ */ __name(function(width, height, getPixel) {
|
|
|
1874
1874
|
var qrcode_default = qrcode;
|
|
1875
1875
|
var stringToBytes = qrcode.stringToBytes;
|
|
1876
1876
|
|
|
1877
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1877
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/terminal/qr.js
|
|
1878
1878
|
var QUIET_ZONE = 4;
|
|
1879
1879
|
var BLACK_ON_WHITE = "\x1B[30;107m";
|
|
1880
1880
|
var RESET = "\x1B[0m";
|
|
@@ -1921,7 +1921,7 @@ var plainQr = /* @__PURE__ */ __name((link) => {
|
|
|
1921
1921
|
return lines.join("\n");
|
|
1922
1922
|
}, "plainQr");
|
|
1923
1923
|
|
|
1924
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1924
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/terminal/login-qr.js
|
|
1925
1925
|
var MARGIN = 2;
|
|
1926
1926
|
var atTerminal = /* @__PURE__ */ __name((input) => input.isTTY === true && !inputPolicy(input).noInput, "atTerminal");
|
|
1927
1927
|
var PASTE_QR = "agents: paste the QR code above into the chat as a code block, exactly as printed; when a new one is printed, paste it and say the old one expired";
|