@wirecat/zoom-cli 0.67.0 → 0.69.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/dist/answer-entities.d.ts +18 -0
- package/dist/answer-entities.d.ts.map +1 -1
- package/dist/answer-entities.js +12 -0
- package/dist/answer-entities.js.map +1 -1
- package/dist/answer-policy.d.ts.map +1 -1
- package/dist/answer-policy.js +2 -1
- package/dist/answer-policy.js.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-SEW2VL76.js → all-profiles-ZQWPCJEK.js} +12 -12
- package/dist/bundle/answer-policy-VBDYLUXI.js +104 -0
- package/dist/bundle/{anthropic-FSNASJML.js → anthropic-7FUQ2HYJ.js} +7 -7
- package/dist/bundle/{app-server-EVSRYJ3H.js → app-server-DNPE2EQB.js} +61 -58
- package/dist/bundle/{bun-DACL5SVO.js → bun-ZVQFCFCC.js} +2 -2
- package/dist/bundle/{bun-sqlite-HQ2KOXSI.js → bun-sqlite-EB2UMUPJ.js} +6 -6
- package/dist/bundle/{chunk-4ZR5DJ26.js → chunk-2SYWVIQJ.js} +3 -3
- package/dist/bundle/chunk-37B7A4RP.js +66 -0
- package/dist/bundle/{chunk-WHQ4ZCJI.js → chunk-3TPRYZUW.js} +214 -86
- package/dist/bundle/{chunk-L6CAUVMU.js → chunk-4APZQYCH.js} +5 -5
- package/dist/bundle/{chunk-ASCHAVNW.js → chunk-52DCABMU.js} +27 -27
- package/dist/bundle/{chunk-LM26DJOK.js → chunk-5GOE6PQK.js} +6 -6
- package/dist/bundle/{chunk-QX2MAT6I.js → chunk-5H6VTEEC.js} +3 -3
- package/dist/bundle/{chunk-V33VGWT3.js → chunk-5ZF6QVMC.js} +16 -6
- package/dist/bundle/{chunk-GP4NSYDU.js → chunk-5ZJXKASF.js} +254 -13
- package/dist/bundle/chunk-6AMMTXEA.js +12473 -0
- package/dist/bundle/{chunk-Q65SDEFN.js → chunk-6KMTQX3D.js} +2 -2
- package/dist/bundle/{chunk-TBRG2DPE.js → chunk-6N2D6JGX.js} +2 -2
- package/dist/bundle/{chunk-X67YD3QI.js → chunk-6TICX3MN.js} +2 -2
- package/dist/bundle/{chunk-4GCKDO2H.js → chunk-7AUP2WT3.js} +3 -3
- package/dist/bundle/{chunk-JVCHGI7W.js → chunk-B5D7NZI7.js} +1 -1
- package/dist/bundle/{chunk-AAZFLJSH.js → chunk-B6JMVB6R.js} +10 -10
- package/dist/bundle/{chunk-CRLBTNC4.js → chunk-BL36NSV5.js} +3 -3
- package/dist/bundle/{chunk-4UVT2QCO.js → chunk-BOAMDYLY.js} +4 -4
- package/dist/bundle/{chunk-VQTAU4DV.js → chunk-C6TEYKXV.js} +8 -8
- package/dist/bundle/{chunk-6AJDVJVZ.js → chunk-CKK6JOC4.js} +2 -2
- package/dist/bundle/{chunk-4U2555EQ.js → chunk-CUZHKYC2.js} +30 -28
- package/dist/bundle/{chunk-7LLUUXJB.js → chunk-DHD25JII.js} +1 -1
- package/dist/bundle/{chunk-RYKG6AEH.js → chunk-EPPSMCEV.js} +4 -2
- package/dist/bundle/chunk-F5DYBWH7.js +299 -0
- package/dist/bundle/{chunk-KIJLM5UL.js → chunk-FBLUKCIR.js} +1 -1
- package/dist/bundle/{chunk-WZ5XK74U.js → chunk-FEM2JQN2.js} +1 -1
- package/dist/bundle/{chunk-SSXCOUP3.js → chunk-G6IX2MD2.js} +500 -227
- package/dist/bundle/{chunk-OTMGAKUM.js → chunk-GR3QDHBU.js} +7 -7
- package/dist/bundle/{chunk-QEI55M2F.js → chunk-GXDOTUUO.js} +10 -10
- package/dist/bundle/chunk-H3MFBYTQ.js +261 -0
- package/dist/bundle/{chunk-DFUPETW7.js → chunk-HC56J5LB.js} +135 -76
- package/dist/bundle/{chunk-D6OXI2NV.js → chunk-HSI7YOYK.js} +229 -67
- package/dist/bundle/{chunk-FGTPREAZ.js → chunk-HW5QTRFF.js} +35 -35
- package/dist/bundle/{chunk-VNIBTNV4.js → chunk-IEC4E65G.js} +2 -2
- package/dist/bundle/{chunk-EUPZSR2G.js → chunk-IPBZKUC3.js} +4 -4
- package/dist/bundle/{chunk-EQ7XRRKV.js → chunk-JHFP3Z5S.js} +11 -11
- package/dist/bundle/{chunk-3GO3KME7.js → chunk-JX5JJZC3.js} +3 -3
- package/dist/bundle/{chunk-7HAIM7GV.js → chunk-JZ4YOAHA.js} +963 -622
- package/dist/bundle/{chunk-B3KWAULD.js → chunk-KAPJQGHE.js} +2 -2
- package/dist/bundle/{chunk-T6CZWSHF.js → chunk-KNE6VFHZ.js} +21 -21
- package/dist/bundle/{chunk-I7SOXH64.js → chunk-KX5MZVPX.js} +66 -39
- package/dist/bundle/chunk-L62EJDNZ.js +64 -0
- package/dist/bundle/{chunk-EPDRF66S.js → chunk-LDRQ5NAP.js} +22 -14
- package/dist/bundle/{chunk-7VU5UGRR.js → chunk-LEA4BGK7.js} +16 -16
- package/dist/bundle/{chunk-ZMPTO2WB.js → chunk-LQX74VKG.js} +1 -1
- package/dist/bundle/{chunk-LKJXTACE.js → chunk-MJMVIFSC.js} +7 -7
- package/dist/bundle/{chunk-KWRSC6O6.js → chunk-MNOVYS43.js} +18 -4
- package/dist/bundle/{chunk-M43MBWJX.js → chunk-MOTKS7XG.js} +20741 -14882
- package/dist/bundle/{chunk-MWEOVTIF.js → chunk-MSDCZ6GT.js} +4 -4
- package/dist/bundle/{chunk-SOZVC3SV.js → chunk-MVDPZRFE.js} +1 -1
- package/dist/bundle/{chunk-NTZDM5SJ.js → chunk-NRRI37NJ.js} +9 -9
- package/dist/bundle/{chunk-BKY4XVB4.js → chunk-O7L44JK2.js} +2632 -1870
- package/dist/bundle/{chunk-6IBM4Z3V.js → chunk-OE7EIP5L.js} +1 -1
- package/dist/bundle/{chunk-RAMPYIO2.js → chunk-OSBHEM2A.js} +11 -11
- package/dist/bundle/{chunk-KV4267S4.js → chunk-P3ASN72F.js} +1 -1
- package/dist/bundle/{chunk-DG4DWAU7.js → chunk-QLGG7S6F.js} +3 -3
- package/dist/bundle/{chunk-6UFWFKFH.js → chunk-QW5VPZEH.js} +2 -2
- package/dist/bundle/{chunk-C6UKW7JO.js → chunk-QXM7S3Y3.js} +6 -6
- package/dist/bundle/{chunk-ESFMHBHH.js → chunk-R2ULMWB4.js} +62 -53
- package/dist/bundle/{chunk-L6WUAGPN.js → chunk-R3JYPY3J.js} +3 -3
- package/dist/bundle/{chunk-2UW533HQ.js → chunk-RGJ7OWHU.js} +4 -4
- package/dist/bundle/{chunk-7K5TDTZY.js → chunk-RPQ3JOD3.js} +7 -7
- package/dist/bundle/{chunk-L643D4RJ.js → chunk-S2EAGDS7.js} +12 -12
- package/dist/bundle/{chunk-4KDZ22RA.js → chunk-SQT47CFW.js} +1 -1
- package/dist/bundle/{chunk-CLEZE65P.js → chunk-SZ3Z4ZNO.js} +1 -1
- package/dist/bundle/chunk-T5X4LGXE.js +380 -0
- package/dist/bundle/{chunk-SMVO5R3T.js → chunk-TFFEFEG2.js} +39 -26
- package/dist/bundle/{chunk-LFQ73UFK.js → chunk-TKXLWFM2.js} +3 -3
- package/dist/bundle/{chunk-SCFFCIIP.js → chunk-TN77LX6W.js} +2 -2
- package/dist/bundle/{chunk-VFIEYRYD.js → chunk-TWIC6JJG.js} +8 -8
- package/dist/bundle/{chunk-FXQPK742.js → chunk-UEZ6URJR.js} +29 -15
- package/dist/bundle/{chunk-OZEYFJX2.js → chunk-V4MM6GST.js} +1 -1
- package/dist/bundle/chunk-V74QFMSL.js +31 -0
- package/dist/bundle/{chunk-YPF6OS37.js → chunk-VW6BF6M7.js} +1 -1
- package/dist/bundle/{chunk-6TZF2JP7.js → chunk-WY4NYPPS.js} +13 -13
- package/dist/bundle/{chunk-B5Z4XPVS.js → chunk-XITUFTON.js} +2 -2
- package/dist/bundle/{chunk-FWU3ZYHE.js → chunk-XJBYGMZ4.js} +776 -134
- package/dist/bundle/{chunk-KANH7GBB.js → chunk-XRZDYWF6.js} +2 -2
- package/dist/bundle/{chunk-ZRMZBMOF.js → chunk-Z6TTGTMU.js} +156 -9
- package/dist/bundle/{chunk-IFDO3YPJ.js → chunk-ZRHMB3LQ.js} +1 -1
- package/dist/bundle/{cli-YUATSOLA.js → cli-P3BZUE6S.js} +106 -64
- package/dist/bundle/command-contract-TOLB32NJ.js +41 -0
- package/dist/bundle/config-4KLLIADY.js +90 -0
- package/dist/bundle/{decode-IL44LNC3.js → decode-QWOQXM7M.js} +6 -6
- package/dist/bundle/{dispatch-3BGIXSJR.js → dispatch-5MGDLOK4.js} +9 -9
- package/dist/bundle/{dist-3W27UQ2S.js → dist-OUE4MF37.js} +108 -28
- package/dist/bundle/{echarts-CO4D26JF.js → echarts-65IMPY43.js} +2 -2
- package/dist/bundle/{embed-XH2X4DFM.js → embed-4IULBCKL.js} +7 -7
- package/dist/bundle/{embedder-WTFWDXBJ.js → embedder-JW4W6IZI.js} +10 -10
- package/dist/bundle/{failure-HTIS3NLS.js → failure-CR64C4XA.js} +3 -3
- package/dist/bundle/{first-run-5RBH7FDO.js → first-run-CH6C674R.js} +12 -12
- package/dist/bundle/first-screen-OCAW5ZN6.js +39 -0
- package/dist/bundle/{folders-F4DNQPIY.js → folders-VU4IN35Y.js} +5 -5
- package/dist/bundle/{instructions-EPPBL6TT.js → instructions-G5QIH2TM.js} +1 -1
- package/dist/bundle/{main-LVQTCDZS.js → main-O4ZJIEWP.js} +21 -23
- package/dist/bundle/{mcp-PPVOM4SE.js → mcp-M4QN2E7R.js} +2 -2
- package/dist/bundle/{meetings-BMELXRTR.js → meetings-77CCAVYD.js} +13 -7
- package/dist/bundle/{node-CQVMWVIG.js → node-E6VQHU4Y.js} +2 -2
- package/dist/bundle/{node-sqlite-QQEX7LZT.js → node-sqlite-RJZ4PGLD.js} +7 -7
- package/dist/bundle/{oauth-AYGX7CQS.js → oauth-F4JKNRW4.js} +8 -8
- package/dist/bundle/{open-MIL2TOT6.js → open-NYOGMIAA.js} +6 -6
- package/dist/bundle/openai-5U6EQTFQ.js +25 -0
- package/dist/bundle/{output-file-4XADZPYH.js → output-file-6COFGPUL.js} +6 -6
- package/dist/bundle/{process-NJVQK6GB.js → process-OBWUKBMX.js} +1 -1
- package/dist/bundle/{program-WUYRS6H7.js → program-MU7DEJTO.js} +115 -187
- package/dist/bundle/{prompt-J4QPFLEA.js → prompt-2QWQTHWT.js} +6 -6
- package/dist/bundle/{recognize-OLJZVNWW.js → recognize-SNUNTUC3.js} +5 -5
- package/dist/bundle/{remote-JPUXNYLV.js → remote-2CTCIQGF.js} +8 -8
- package/dist/bundle/{rerank-XVV3X5TT.js → rerank-XDA7NJNH.js} +8 -8
- package/dist/bundle/{run-log-DJXBEVS5.js → run-log-NSG3DJVX.js} +59 -59
- package/dist/bundle/{serve-NYYUO3MR.js → serve-TWQFHOV2.js} +10 -10
- package/dist/bundle/{server-4Z5E4YTT.js → server-RIQ6HMH2.js} +47 -47
- package/dist/bundle/server-XO6XQQTJ.js +72 -0
- package/dist/bundle/{services-EKWM76HP.js → services-NKZQJQIV.js} +49 -33
- package/dist/bundle/{speech-WFJ44ACJ.js → speech-ZOB76SXA.js} +14 -14
- package/dist/bundle/{state-VIRCT4VW.js → state-7YYEIXQ5.js} +7 -7
- package/dist/bundle/{store-ZTDZ6UY5.js → store-E6RTSSNR.js} +29 -18
- package/dist/bundle/{store-2Q4GEZJS.js → store-OX4HRBLO.js} +80 -29
- package/dist/bundle/store-connection-55QPNUDS.js +83 -0
- package/dist/bundle/store-maintenance-command-Q5MSU6OK.js +62 -0
- package/dist/bundle/{streaming-7BPKIGAS.js → streaming-O53PIORL.js} +7 -7
- package/dist/bundle/{tokens-CQHMMKNX.js → tokens-QKNEP2GJ.js} +7 -7
- package/dist/bundle/zm.js +9 -10
- package/dist/bundle/zoom-app-TSI2MGVK.js +41 -0
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +1 -0
- package/dist/commands.js.map +1 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +2 -3
- package/dist/config.js.map +1 -1
- package/dist/identity.d.ts +1 -0
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +11 -0
- package/dist/identity.js.map +1 -1
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +7 -2
- package/dist/program-bindings.js.map +1 -1
- package/dist/setup-commands.d.ts +6 -0
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +24 -9
- package/dist/setup-commands.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/zoom-app.d.ts +32 -0
- package/dist/zoom-app.d.ts.map +1 -1
- package/dist/zoom-app.js +61 -0
- package/dist/zoom-app.js.map +1 -1
- package/package.json +3 -3
- package/dist/bundle/answer-policy-5OYUL6UF.js +0 -103
- package/dist/bundle/chunk-3ZIHUSMM.js +0 -22
- package/dist/bundle/chunk-54RTMQL6.js +0 -132
- package/dist/bundle/chunk-6VFORXL3.js +0 -101
- package/dist/bundle/chunk-D4KBD63W.js +0 -19
- package/dist/bundle/chunk-J3ZBEWQY.js +0 -880
- package/dist/bundle/chunk-SXFODCYK.js +0 -9
- package/dist/bundle/chunk-YRNZT4GQ.js +0 -176
- package/dist/bundle/chunk-Z3WXI4DK.js +0 -31
- package/dist/bundle/command-contract-UWHY55UE.js +0 -41
- package/dist/bundle/config-TGF6E6ZD.js +0 -89
- package/dist/bundle/first-screen-PGFIXJAX.js +0 -39
- package/dist/bundle/openai-7QZZXQW5.js +0 -25
- package/dist/bundle/server-VW5UVCH7.js +0 -72
- package/dist/bundle/store-connection-FKVVQLEF.js +0 -83
- package/dist/bundle/store-maintenance-command-AU73UVUQ.js +0 -62
- package/dist/bundle/zoom-app-OEKFMJS6.js +0 -25
- /package/dist/bundle/{chunk-LU3WKZBA.js → chunk-VOXIGICJ.js} +0 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
CliError,
|
|
5
|
+
errorCodes
|
|
6
|
+
} from "./chunk-FEM2JQN2.js";
|
|
7
|
+
import {
|
|
8
|
+
__name
|
|
9
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
10
|
+
|
|
11
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/errors/failures.js
|
|
12
|
+
var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
|
|
13
|
+
var isCommanderFailure = /* @__PURE__ */ __name((value) => {
|
|
14
|
+
const { code, exitCode } = value ?? {};
|
|
15
|
+
return value instanceof Error && typeof code === "string" && code.startsWith("commander.") && typeof exitCode === "number";
|
|
16
|
+
}, "isCommanderFailure");
|
|
17
|
+
var failureKey = /* @__PURE__ */ __name((error) => isCliFailure(error) ? error.code : error instanceof Error ? error.name : "error", "failureKey");
|
|
18
|
+
var SQLITE_CORRUPT = 11;
|
|
19
|
+
var SQLITE_NOTADB = 26;
|
|
20
|
+
var DAMAGED_TEXT = /database disk image is malformed|file is not a database|fts5: corruption/i;
|
|
21
|
+
var sqliteCode = /* @__PURE__ */ __name((error) => {
|
|
22
|
+
const { errcode, errno, name } = error ?? {};
|
|
23
|
+
const code = typeof errcode === "number" ? errcode : name === "SQLiteError" && typeof errno === "number" ? errno : null;
|
|
24
|
+
return code === null ? void 0 : code & 255;
|
|
25
|
+
}, "sqliteCode");
|
|
26
|
+
var damageIn = /* @__PURE__ */ __name((error) => {
|
|
27
|
+
if (isCliFailure(error) || isCommanderFailure(error))
|
|
28
|
+
return void 0;
|
|
29
|
+
let at = error;
|
|
30
|
+
for (let depth = 0; depth < 5 && at instanceof Error; depth += 1) {
|
|
31
|
+
const code = sqliteCode(at);
|
|
32
|
+
if (code !== void 0 && [SQLITE_CORRUPT, SQLITE_NOTADB].includes(code) || DAMAGED_TEXT.test(at.message))
|
|
33
|
+
return at;
|
|
34
|
+
at = at.cause;
|
|
35
|
+
}
|
|
36
|
+
return void 0;
|
|
37
|
+
}, "damageIn");
|
|
38
|
+
var wrapping = /* @__PURE__ */ __name((error, original) => {
|
|
39
|
+
Object.defineProperty(error, "cause", { value: original, configurable: true, writable: true });
|
|
40
|
+
if (original instanceof Error && original.stack)
|
|
41
|
+
error.stack = original.stack;
|
|
42
|
+
return error;
|
|
43
|
+
}, "wrapping");
|
|
44
|
+
var storeDamaged = /* @__PURE__ */ __name((error, next) => damageIn(error) ? wrapping(new CliError("configuration_error", `the store file is damaged${next ? `; \`${next}\` says what is damaged and what to do` : ""}`, { reason: "store.damaged" }), error) : error, "storeDamaged");
|
|
45
|
+
var damagedFile = /* @__PURE__ */ __name(async (files, work) => {
|
|
46
|
+
try {
|
|
47
|
+
return await work();
|
|
48
|
+
} catch (error) {
|
|
49
|
+
if (!damageIn(error))
|
|
50
|
+
throw error;
|
|
51
|
+
throw wrapping(new CliError("validation_error", `${files.join(" or ")} is damaged or not a database`, {
|
|
52
|
+
reason: "store.file-damaged"
|
|
53
|
+
}), error);
|
|
54
|
+
}
|
|
55
|
+
}, "damagedFile");
|
|
56
|
+
var isStoreDamage = /* @__PURE__ */ __name((error) => damageIn(error) !== void 0, "isStoreDamage");
|
|
57
|
+
|
|
58
|
+
export {
|
|
59
|
+
isCliFailure,
|
|
60
|
+
isCommanderFailure,
|
|
61
|
+
failureKey,
|
|
62
|
+
sqliteCode,
|
|
63
|
+
storeDamaged,
|
|
64
|
+
damagedFile,
|
|
65
|
+
isStoreDamage
|
|
66
|
+
};
|
|
@@ -6,23 +6,23 @@ import {
|
|
|
6
6
|
agentArguments,
|
|
7
7
|
agentJson,
|
|
8
8
|
commandAvailability
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LEA4BGK7.js";
|
|
10
10
|
import {
|
|
11
11
|
callerOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-XRZDYWF6.js";
|
|
13
13
|
import {
|
|
14
14
|
failureContext
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-Z6TTGTMU.js";
|
|
16
16
|
import {
|
|
17
17
|
QUERY_ARGUMENT,
|
|
18
18
|
lentConnection,
|
|
19
19
|
refuseLacking
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TFFEFEG2.js";
|
|
21
21
|
import {
|
|
22
22
|
onlineDeps,
|
|
23
23
|
servicesFor,
|
|
24
24
|
storeModeDeps
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-JZ4YOAHA.js";
|
|
26
26
|
import {
|
|
27
27
|
DEFAULT_OUTPUT_BYTES,
|
|
28
28
|
ENTITIES,
|
|
@@ -37,36 +37,39 @@ import {
|
|
|
37
37
|
refuseStoreChange,
|
|
38
38
|
sealed,
|
|
39
39
|
startRecording
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-G6IX2MD2.js";
|
|
41
41
|
import {
|
|
42
42
|
currentCaller,
|
|
43
43
|
keepsSuccess,
|
|
44
44
|
runContextOf,
|
|
45
45
|
withCaller
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-MJMVIFSC.js";
|
|
47
47
|
import {
|
|
48
48
|
enclosingTraceId,
|
|
49
49
|
inRun,
|
|
50
50
|
newRunId,
|
|
51
51
|
traceOf
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-CUZHKYC2.js";
|
|
53
53
|
import {
|
|
54
54
|
authorityAllowed,
|
|
55
55
|
botApiAllowed,
|
|
56
56
|
keyForCommand,
|
|
57
57
|
levelFor,
|
|
58
58
|
readKeysForCommand
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-IEC4E65G.js";
|
|
60
|
+
import {
|
|
61
|
+
storeDamaged
|
|
62
|
+
} from "./chunk-37B7A4RP.js";
|
|
60
63
|
import {
|
|
61
64
|
MAX_BUFFERED_INPUT
|
|
62
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-6N2D6JGX.js";
|
|
63
66
|
import {
|
|
64
67
|
queryDescription
|
|
65
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-B6JMVB6R.js";
|
|
66
69
|
import {
|
|
67
70
|
captureStreams,
|
|
68
71
|
traceIdOf
|
|
69
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-KNE6VFHZ.js";
|
|
70
73
|
import {
|
|
71
74
|
COMPACT_FLAG,
|
|
72
75
|
SNAKE_CASE,
|
|
@@ -105,19 +108,19 @@ import {
|
|
|
105
108
|
unknown,
|
|
106
109
|
word,
|
|
107
110
|
writes
|
|
108
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-NRRI37NJ.js";
|
|
109
112
|
import {
|
|
110
113
|
CliError,
|
|
111
114
|
errorCodes
|
|
112
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-FEM2JQN2.js";
|
|
113
116
|
import {
|
|
114
117
|
__name
|
|
115
118
|
} from "./chunk-ZVVMGPBJ.js";
|
|
116
119
|
|
|
117
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
120
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
118
121
|
import { Readable } from "node:stream";
|
|
119
122
|
|
|
120
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
123
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
|
|
121
124
|
var LINT_SEVERITIES = ["high", "medium", "low"];
|
|
122
125
|
var lintRuleSchema = strictObject({
|
|
123
126
|
id: word,
|
|
@@ -245,7 +248,7 @@ var overrideSchema = strictObject({
|
|
|
245
248
|
});
|
|
246
249
|
var overridesSchema = array(overrideSchema);
|
|
247
250
|
|
|
248
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
251
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
|
|
249
252
|
var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
|
|
250
253
|
var defineAuditRules = /* @__PURE__ */ __name((input) => parseRegistry("audit rules", array(auditRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineAuditRules");
|
|
251
254
|
var AUDIT_RULES = defineAuditRules([
|
|
@@ -341,6 +344,14 @@ var PARITY_GROUPS = defineParityGroups([
|
|
|
341
344
|
members: ["tg", "max", "memo", "drive", "zm", "wa", "gcal"],
|
|
342
345
|
covers: ["commands", "upgrade", "notes", "meetings"],
|
|
343
346
|
differences: []
|
|
347
|
+
},
|
|
348
|
+
// bitrix24-cli's search is cli-core's CRM `search all`, and beeline-cli's meetings take call recordings, not
|
|
349
|
+
// zoom-cli's: both are compared on the root commands every CLI shares, the way gcal and mail are on theirs.
|
|
350
|
+
{
|
|
351
|
+
name: "shared-roots",
|
|
352
|
+
members: ["tg", "max", "memo", "drive", "zm", "wa", "b24", "beeline"],
|
|
353
|
+
covers: ["commands", "doctor", "skill", "mcp", "upgrade"],
|
|
354
|
+
differences: MEMO_HAS_NO_PROFILES
|
|
344
355
|
}
|
|
345
356
|
]);
|
|
346
357
|
var requiredRootSchema = strictObject({ path: pipe(array(segment), minLength(1)), meaning: text });
|
|
@@ -354,7 +365,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
|
|
|
354
365
|
{ path: ["upgrade"], meaning: "updates the CLI" }
|
|
355
366
|
]);
|
|
356
367
|
|
|
357
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
368
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
|
|
358
369
|
var fieldRuleSchema = strictObject({ id: word, rule: text });
|
|
359
370
|
var defineFieldRules = /* @__PURE__ */ __name((input) => parseRegistry("output field rules", array(fieldRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineFieldRules");
|
|
360
371
|
var FIELD_RULES = defineFieldRules([
|
|
@@ -370,7 +381,7 @@ var FIELD_RULES = defineFieldRules([
|
|
|
370
381
|
}
|
|
371
382
|
]);
|
|
372
383
|
|
|
373
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
384
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
|
|
374
385
|
var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
|
|
375
386
|
var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
|
|
376
387
|
var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
|
|
@@ -392,7 +403,7 @@ var IDENTIFIERS = defineIdentifiers([
|
|
|
392
403
|
{ key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
|
|
393
404
|
]);
|
|
394
405
|
|
|
395
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
406
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
|
|
396
407
|
var CALENDAR_FLAGS = [
|
|
397
408
|
{ name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
|
|
398
409
|
{
|
|
@@ -466,7 +477,47 @@ var CALENDAR_FLAGS = [
|
|
|
466
477
|
}
|
|
467
478
|
];
|
|
468
479
|
|
|
469
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
480
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
|
|
481
|
+
var CRM_FLAGS = [
|
|
482
|
+
{
|
|
483
|
+
name: "--pipeline",
|
|
484
|
+
value: "<pipeline>",
|
|
485
|
+
role: "value",
|
|
486
|
+
type: "string",
|
|
487
|
+
meaning: "a CRM pipeline: pipeline:<id>, or a name only one pipeline has"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
name: "--stage",
|
|
491
|
+
value: "<stage>",
|
|
492
|
+
role: "value",
|
|
493
|
+
type: "string",
|
|
494
|
+
meaning: "a stage of the record's pipeline, by the CRM's id or its name"
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
name: "--amount",
|
|
498
|
+
value: "<decimal>",
|
|
499
|
+
role: "value",
|
|
500
|
+
type: "string",
|
|
501
|
+
meaning: "a sum of money as a decimal, such as 1500.50, in --currency"
|
|
502
|
+
},
|
|
503
|
+
{ name: "--currency", value: "<code>", role: "value", type: "string", meaning: "an ISO 4217 code, such as EUR" },
|
|
504
|
+
{
|
|
505
|
+
name: "--close-date",
|
|
506
|
+
value: "<date>",
|
|
507
|
+
role: "value",
|
|
508
|
+
type: "time",
|
|
509
|
+
meaning: "the day a deal or lead is expected to close, YYYY-MM-DD"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
name: "--owner",
|
|
513
|
+
value: "<user>",
|
|
514
|
+
role: "value",
|
|
515
|
+
type: "id",
|
|
516
|
+
meaning: "the CRM user a record is assigned to, by the CRM's id"
|
|
517
|
+
}
|
|
518
|
+
];
|
|
519
|
+
|
|
520
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
|
|
470
521
|
var HOW_FLAGS = [
|
|
471
522
|
{
|
|
472
523
|
name: "--limit",
|
|
@@ -791,6 +842,7 @@ var HOW_FLAGS = [
|
|
|
791
842
|
meaning: "tell the people it concerns about it: the chat's members, or an event's attendees"
|
|
792
843
|
},
|
|
793
844
|
{ name: "--no-notify", role: "mode", type: "switch", meaning: "tell nobody about it" },
|
|
845
|
+
{ name: "--open-new", role: "mode", type: "switch", meaning: "a read again for tasks also opens new tasks" },
|
|
794
846
|
{ name: "--offline", role: "mode", type: "switch", meaning: "answer from what was recorded and never connect" },
|
|
795
847
|
{
|
|
796
848
|
name: "--operation-id",
|
|
@@ -1460,7 +1512,7 @@ var HOW_FLAGS = [
|
|
|
1460
1512
|
}
|
|
1461
1513
|
];
|
|
1462
1514
|
|
|
1463
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1515
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
|
|
1464
1516
|
var MAIL_FLAGS = [
|
|
1465
1517
|
{
|
|
1466
1518
|
name: "--cc",
|
|
@@ -1490,7 +1542,94 @@ var MAIL_FLAGS = [
|
|
|
1490
1542
|
}
|
|
1491
1543
|
];
|
|
1492
1544
|
|
|
1493
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1545
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
|
|
1546
|
+
var PRIVACY_FLAGS = [
|
|
1547
|
+
{
|
|
1548
|
+
name: "--about-text",
|
|
1549
|
+
value: "<who>",
|
|
1550
|
+
role: "value",
|
|
1551
|
+
type: "choice",
|
|
1552
|
+
meaning: "who sees the about text: everyone, contacts or nobody"
|
|
1553
|
+
},
|
|
1554
|
+
{
|
|
1555
|
+
name: "--calls",
|
|
1556
|
+
value: "<who>",
|
|
1557
|
+
role: "value",
|
|
1558
|
+
type: "choice",
|
|
1559
|
+
meaning: "whose calls ring: everyone, contacts or nobody"
|
|
1560
|
+
},
|
|
1561
|
+
{
|
|
1562
|
+
name: "--chat-invites",
|
|
1563
|
+
value: "<who>",
|
|
1564
|
+
role: "value",
|
|
1565
|
+
type: "choice",
|
|
1566
|
+
meaning: "who may add the account to groups and channels: everyone, contacts or nobody"
|
|
1567
|
+
},
|
|
1568
|
+
{
|
|
1569
|
+
name: "--find-by-phone",
|
|
1570
|
+
value: "<who>",
|
|
1571
|
+
role: "value",
|
|
1572
|
+
type: "choice",
|
|
1573
|
+
meaning: "who finds the account by its number: everyone, contacts or nobody"
|
|
1574
|
+
},
|
|
1575
|
+
{
|
|
1576
|
+
name: "--hide-online",
|
|
1577
|
+
value: "<on|off>",
|
|
1578
|
+
role: "value",
|
|
1579
|
+
type: "choice",
|
|
1580
|
+
meaning: "hide online status and last seen"
|
|
1581
|
+
},
|
|
1582
|
+
{
|
|
1583
|
+
name: "--last-seen",
|
|
1584
|
+
value: "<who>",
|
|
1585
|
+
role: "value",
|
|
1586
|
+
type: "choice",
|
|
1587
|
+
meaning: "who sees when the account was last online: everyone, contacts or nobody"
|
|
1588
|
+
},
|
|
1589
|
+
{
|
|
1590
|
+
name: "--phone-number",
|
|
1591
|
+
value: "<who>",
|
|
1592
|
+
role: "value",
|
|
1593
|
+
type: "choice",
|
|
1594
|
+
meaning: "who sees the number: everyone, contacts or nobody"
|
|
1595
|
+
},
|
|
1596
|
+
{
|
|
1597
|
+
name: "--profile-photo",
|
|
1598
|
+
value: "<who>",
|
|
1599
|
+
role: "value",
|
|
1600
|
+
type: "choice",
|
|
1601
|
+
meaning: "who sees the profile photo: everyone, contacts or nobody"
|
|
1602
|
+
},
|
|
1603
|
+
{ name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
|
|
1604
|
+
];
|
|
1605
|
+
|
|
1606
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-schedule.js
|
|
1607
|
+
var SCHEDULE_FLAGS = [
|
|
1608
|
+
{
|
|
1609
|
+
name: "--notify-on",
|
|
1610
|
+
value: "<when>",
|
|
1611
|
+
role: "value",
|
|
1612
|
+
type: "choice",
|
|
1613
|
+
meaning: "when a scheduled run tells the owner: always, failures or never"
|
|
1614
|
+
},
|
|
1615
|
+
{
|
|
1616
|
+
name: "--deliver-to",
|
|
1617
|
+
value: "<route>",
|
|
1618
|
+
role: "value",
|
|
1619
|
+
type: "string",
|
|
1620
|
+
meaning: "where a scheduled run's result also goes, by the owner's own CLI: telegram-bot:<profile>/<chat> or email:<profile>/<address>; repeat it for more. Not --to, which names who a message is for"
|
|
1621
|
+
},
|
|
1622
|
+
{
|
|
1623
|
+
name: "--max-cost-per-day",
|
|
1624
|
+
value: "<usd>",
|
|
1625
|
+
role: "budget",
|
|
1626
|
+
type: "number",
|
|
1627
|
+
meaning: "start no run for the rest of the day once the day's runs cost this much; 0 for no cap",
|
|
1628
|
+
unit: "US dollars"
|
|
1629
|
+
}
|
|
1630
|
+
];
|
|
1631
|
+
|
|
1632
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
|
|
1494
1633
|
var WHAT_FLAGS = [
|
|
1495
1634
|
{
|
|
1496
1635
|
name: "--analysis-provider",
|
|
@@ -1913,6 +2052,20 @@ var WHAT_FLAGS = [
|
|
|
1913
2052
|
meaning: "look again from this day, for what arrived late"
|
|
1914
2053
|
},
|
|
1915
2054
|
{ name: "--run", value: "<id>", role: "target", type: "id", meaning: "the run it is about" },
|
|
2055
|
+
{
|
|
2056
|
+
name: "--who",
|
|
2057
|
+
value: "<side>",
|
|
2058
|
+
role: "target",
|
|
2059
|
+
type: "choice",
|
|
2060
|
+
meaning: "whose replies are measured: me (the owner's) or others (the other side's)"
|
|
2061
|
+
},
|
|
2062
|
+
{
|
|
2063
|
+
name: "--write",
|
|
2064
|
+
value: "<id>",
|
|
2065
|
+
role: "target",
|
|
2066
|
+
type: "id",
|
|
2067
|
+
meaning: "one write of a run, by the operation_id its answer listed: undo or act on that write alone"
|
|
2068
|
+
},
|
|
1916
2069
|
{
|
|
1917
2070
|
name: "--target",
|
|
1918
2071
|
value: "<ref>",
|
|
@@ -2115,63 +2268,6 @@ var WHAT_FLAGS = [
|
|
|
2115
2268
|
type: "path",
|
|
2116
2269
|
meaning: "an Ogg Opus file sent as a voice message"
|
|
2117
2270
|
},
|
|
2118
|
-
{
|
|
2119
|
-
name: "--about-text",
|
|
2120
|
-
value: "<who>",
|
|
2121
|
-
role: "value",
|
|
2122
|
-
type: "choice",
|
|
2123
|
-
meaning: "who sees the about text: everyone, contacts or nobody"
|
|
2124
|
-
},
|
|
2125
|
-
{
|
|
2126
|
-
name: "--calls",
|
|
2127
|
-
value: "<who>",
|
|
2128
|
-
role: "value",
|
|
2129
|
-
type: "choice",
|
|
2130
|
-
meaning: "whose calls ring: everyone, contacts or nobody"
|
|
2131
|
-
},
|
|
2132
|
-
{
|
|
2133
|
-
name: "--chat-invites",
|
|
2134
|
-
value: "<who>",
|
|
2135
|
-
role: "value",
|
|
2136
|
-
type: "choice",
|
|
2137
|
-
meaning: "who may add the account to groups and channels: everyone, contacts or nobody"
|
|
2138
|
-
},
|
|
2139
|
-
{
|
|
2140
|
-
name: "--find-by-phone",
|
|
2141
|
-
value: "<who>",
|
|
2142
|
-
role: "value",
|
|
2143
|
-
type: "choice",
|
|
2144
|
-
meaning: "who finds the account by its number: everyone, contacts or nobody"
|
|
2145
|
-
},
|
|
2146
|
-
{
|
|
2147
|
-
name: "--hide-online",
|
|
2148
|
-
value: "<on|off>",
|
|
2149
|
-
role: "value",
|
|
2150
|
-
type: "choice",
|
|
2151
|
-
meaning: "hide online status and last seen"
|
|
2152
|
-
},
|
|
2153
|
-
{
|
|
2154
|
-
name: "--last-seen",
|
|
2155
|
-
value: "<who>",
|
|
2156
|
-
role: "value",
|
|
2157
|
-
type: "choice",
|
|
2158
|
-
meaning: "who sees when the account was last online: everyone, contacts or nobody"
|
|
2159
|
-
},
|
|
2160
|
-
{
|
|
2161
|
-
name: "--phone-number",
|
|
2162
|
-
value: "<who>",
|
|
2163
|
-
role: "value",
|
|
2164
|
-
type: "choice",
|
|
2165
|
-
meaning: "who sees the number: everyone, contacts or nobody"
|
|
2166
|
-
},
|
|
2167
|
-
{
|
|
2168
|
-
name: "--profile-photo",
|
|
2169
|
-
value: "<who>",
|
|
2170
|
-
role: "value",
|
|
2171
|
-
type: "choice",
|
|
2172
|
-
meaning: "who sees the profile photo: everyone, contacts or nobody"
|
|
2173
|
-
},
|
|
2174
|
-
{ name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" },
|
|
2175
2271
|
{
|
|
2176
2272
|
name: "--until",
|
|
2177
2273
|
value: "<time>",
|
|
@@ -2274,6 +2370,13 @@ var WHAT_FLAGS = [
|
|
|
2274
2370
|
type: "id",
|
|
2275
2371
|
meaning: "never show this chat in it; repeat it for more"
|
|
2276
2372
|
},
|
|
2373
|
+
{
|
|
2374
|
+
name: "--field",
|
|
2375
|
+
value: "<key=value>",
|
|
2376
|
+
role: "value",
|
|
2377
|
+
type: "string",
|
|
2378
|
+
meaning: "set one named field on a write, as key=value; repeat it for more"
|
|
2379
|
+
},
|
|
2277
2380
|
{
|
|
2278
2381
|
name: "--file",
|
|
2279
2382
|
value: "<file>",
|
|
@@ -2488,7 +2591,7 @@ var WHAT_FLAGS = [
|
|
|
2488
2591
|
}
|
|
2489
2592
|
];
|
|
2490
2593
|
|
|
2491
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2594
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
|
|
2492
2595
|
var FLAG_TYPES = [
|
|
2493
2596
|
"switch",
|
|
2494
2597
|
"count",
|
|
@@ -2629,6 +2732,7 @@ var verbs = [
|
|
|
2629
2732
|
// Only when someone asks, never from a matching name: WC-ACCT-11 in docs/standards/accounts.md.
|
|
2630
2733
|
["link", "record that two identities are one person"],
|
|
2631
2734
|
["unlink", "undo a link"],
|
|
2735
|
+
["allocate", "match a payment to the invoice or order it settles, in whole or in part"],
|
|
2632
2736
|
["lookup", "ask the messenger who is behind a phone number"],
|
|
2633
2737
|
[
|
|
2634
2738
|
"inspect",
|
|
@@ -2729,6 +2833,20 @@ var collections = [
|
|
|
2729
2833
|
"derived records attached to a selected entity, with explicit coverage of included and omitted facets"
|
|
2730
2834
|
],
|
|
2731
2835
|
["organizations", "companies, teams, families or communities"],
|
|
2836
|
+
[
|
|
2837
|
+
"records",
|
|
2838
|
+
"documents of the owner's business, such as an invoice or a receipt, kept with the things they are about"
|
|
2839
|
+
],
|
|
2840
|
+
["invoices", "bills the owner sends or receives, with their amounts and due dates"],
|
|
2841
|
+
["orders", "what a customer asked for and the owner owes or delivers"],
|
|
2842
|
+
["payments", "money that moved in or out, each one matched to the invoices it settles"],
|
|
2843
|
+
["deals", "sales the owner works on, each at a stage of a pipeline, with an amount and an outcome"],
|
|
2844
|
+
["leads", "possible customers not yet qualified into a deal"],
|
|
2845
|
+
["pipelines", "ordered sets of stages a deal moves through"],
|
|
2846
|
+
["stages", "steps of a pipeline, each open, won or lost"],
|
|
2847
|
+
["products", "goods and services the owner sells, with their prices"],
|
|
2848
|
+
["users", "people who work in the owner's account at a service, such as a CRM's employees"],
|
|
2849
|
+
["fields", "a record type's field definitions: code, label, type and options, such as a CRM's custom fields"],
|
|
2732
2850
|
[
|
|
2733
2851
|
"identities",
|
|
2734
2852
|
"ways to reach a person or an organization: an account in one messenger or mailbox, an e-mail address, a phone"
|
|
@@ -2823,6 +2941,7 @@ var views = [
|
|
|
2823
2941
|
["newcomers", "members observed joining during the selected time window"],
|
|
2824
2942
|
["retention", "whether members of a selected cohort remain or return over time"],
|
|
2825
2943
|
["responses", "observed replies between participants and the time taken to answer"],
|
|
2944
|
+
["waiting", "chats whose newest message waits on the owner's reply"],
|
|
2826
2945
|
["discussion", "source posts compared by known views and observed discussion replies"],
|
|
2827
2946
|
["unanswered", "questions without an observed qualifying answer"],
|
|
2828
2947
|
["me", "the account a profile's token belongs to"],
|
|
@@ -2837,6 +2956,7 @@ var roots = [
|
|
|
2837
2956
|
["serve", "the long-running process"],
|
|
2838
2957
|
["setup", "the guided first run: log in or link the account, then install the agent skill"],
|
|
2839
2958
|
["doctor", "check this machine's setup"],
|
|
2959
|
+
["recover", "repair a damaged store: what it would do, then its run subcommand does it"],
|
|
2840
2960
|
["upgrade", "install a newer version of this tool"],
|
|
2841
2961
|
["commands", "the command tree as data"],
|
|
2842
2962
|
["guide", "scenarios: the commands for a common task, in order, and why each"],
|
|
@@ -2858,10 +2978,18 @@ var VOCABULARY = defineVocabulary({
|
|
|
2858
2978
|
],
|
|
2859
2979
|
views: views.map(([entry, meaning]) => ({ word: entry, meaning })),
|
|
2860
2980
|
roots: roots.map(([entry, meaning]) => ({ word: entry, meaning })),
|
|
2861
|
-
flags: [
|
|
2981
|
+
flags: [
|
|
2982
|
+
...HOW_FLAGS,
|
|
2983
|
+
...WHAT_FLAGS,
|
|
2984
|
+
...PRIVACY_FLAGS,
|
|
2985
|
+
...CALENDAR_FLAGS,
|
|
2986
|
+
...MAIL_FLAGS,
|
|
2987
|
+
...CRM_FLAGS,
|
|
2988
|
+
...SCHEDULE_FLAGS
|
|
2989
|
+
]
|
|
2862
2990
|
});
|
|
2863
2991
|
|
|
2864
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2992
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
2865
2993
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
2866
2994
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
2867
2995
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -3084,7 +3212,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
|
|
|
3084
3212
|
}
|
|
3085
3213
|
}, "runCommandForAgent");
|
|
3086
3214
|
|
|
3087
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3215
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/mcp/tool.js
|
|
3088
3216
|
var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
|
|
3089
3217
|
var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
|
|
3090
3218
|
var message = pipe(
|
|
@@ -3340,10 +3468,10 @@ var answered = /* @__PURE__ */ __name((answer, maxBytes = DEFAULT_OUTPUT_BYTES,
|
|
|
3340
3468
|
var failed = /* @__PURE__ */ __name((error, errors, effects) => {
|
|
3341
3469
|
const judged = judgedEffects(effects);
|
|
3342
3470
|
const context = { ...failureContext(errors), ...judged ? { effects: judged } : {} };
|
|
3343
|
-
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
|
|
3471
|
+
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
|
|
3344
3472
|
}, "failed");
|
|
3345
3473
|
|
|
3346
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3474
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/mcp/surface.js
|
|
3347
3475
|
import { randomUUID } from "node:crypto";
|
|
3348
3476
|
var MATCHES = 8;
|
|
3349
3477
|
var ANSWER = answerSchema();
|
|
@@ -6,21 +6,21 @@ import {
|
|
|
6
6
|
answerSchema,
|
|
7
7
|
describeOptions,
|
|
8
8
|
metaOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-G6IX2MD2.js";
|
|
10
10
|
import {
|
|
11
11
|
keyForCommand
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IEC4E65G.js";
|
|
13
13
|
import {
|
|
14
14
|
jsonSchemaOf
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NRRI37NJ.js";
|
|
16
16
|
import {
|
|
17
17
|
CliError
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FEM2JQN2.js";
|
|
19
19
|
import {
|
|
20
20
|
__name
|
|
21
21
|
} from "./chunk-ZVVMGPBJ.js";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
|
|
24
24
|
var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
|
|
25
25
|
var outputOf = /* @__PURE__ */ __name((command) => {
|
|
26
26
|
const entity = answerEntitySchema(command);
|