@wirecat/zoom-cli 0.68.0 → 0.70.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/account-removal.d.ts +6 -0
- package/dist/account-removal.d.ts.map +1 -0
- package/dist/account-removal.js +43 -0
- package/dist/account-removal.js.map +1 -0
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-R66UM3HM.js → all-profiles-GE2TFJJP.js} +9 -9
- package/dist/bundle/answer-policy-GOXSDYDD.js +104 -0
- package/dist/bundle/{anthropic-4ZI2BPLG.js → anthropic-FA6NHENI.js} +9 -7
- package/dist/bundle/{app-server-64O5IQI5.js → app-server-IRADMSNX.js} +50 -50
- package/dist/bundle/{bun-HUHQD76Z.js → bun-ZYZGGCX5.js} +2 -2
- package/dist/bundle/{bun-sqlite-VOVHPTIF.js → bun-sqlite-Y24TUIGS.js} +4 -4
- package/dist/bundle/{chunk-W42BJ65M.js → chunk-2JEM2YNV.js} +1 -1
- package/dist/bundle/{chunk-3BRV2YU2.js → chunk-2QFPVUM3.js} +2 -2
- package/dist/bundle/{chunk-KAPJQGHE.js → chunk-2U6SER67.js} +1 -1
- package/dist/bundle/{chunk-77I67HWF.js → chunk-3KC7C465.js} +7 -7
- package/dist/bundle/{chunk-YQRNFG2E.js → chunk-4DSIWYGO.js} +7661 -13544
- package/dist/bundle/{chunk-7DUYFITC.js → chunk-56OV5ASY.js} +11 -11
- package/dist/bundle/{chunk-AVEIQMHZ.js → chunk-5XWCBLUR.js} +1 -1
- package/dist/bundle/{chunk-HXOAPH47.js → chunk-6HJFIMT7.js} +1 -1
- package/dist/bundle/{chunk-SSPSNSC5.js → chunk-6IF5ZHDS.js} +1 -1
- package/dist/bundle/{chunk-BOAMDYLY.js → chunk-7QC4M4HS.js} +2 -2
- package/dist/bundle/{chunk-6T3P226D.js → chunk-AISJCF7A.js} +4 -4
- package/dist/bundle/chunk-AT2XKNFN.js +342 -0
- package/dist/bundle/{chunk-BSM43OMN.js → chunk-AUNW7N4I.js} +1 -1
- package/dist/bundle/{chunk-R7LFGEDE.js → chunk-BSS6HX4O.js} +2 -2
- package/dist/bundle/{chunk-FMQS7HCC.js → chunk-BVWF4B33.js} +251 -10
- package/dist/bundle/{chunk-DGNPJGD3.js → chunk-CEJJBZAE.js} +9 -15
- package/dist/bundle/{chunk-L4WVLRXM.js → chunk-CHGUNZ3L.js} +3 -3
- package/dist/bundle/{chunk-LBOSTBAY.js → chunk-CIZ25UPK.js} +3841 -2497
- package/dist/bundle/{chunk-TN3FH2GQ.js → chunk-CSEBB4OP.js} +8 -8
- package/dist/bundle/{chunk-JO4YADNV.js → chunk-D3PNCJD5.js} +5 -5
- package/dist/bundle/{chunk-US5C3WAY.js → chunk-DCUWJITQ.js} +30 -30
- package/dist/bundle/{chunk-QXTREL2M.js → chunk-DNR4B5YV.js} +2 -2
- package/dist/bundle/{chunk-PUTGTW6W.js → chunk-DXCTW3MV.js} +1 -1
- package/dist/bundle/{chunk-B6JMVB6R.js → chunk-EOSVN2ER.js} +1 -1
- package/dist/bundle/{chunk-ZRD3NDOX.js → chunk-GB5X3GBE.js} +23 -1
- package/dist/bundle/{chunk-32FPA7P2.js → chunk-GVT5363M.js} +2 -2
- package/dist/bundle/{chunk-EWIBLDQQ.js → chunk-IINZIP73.js} +7 -7
- package/dist/bundle/{chunk-5JAYUG3X.js → chunk-IS3ZTT2Z.js} +5 -5
- package/dist/bundle/{chunk-LYWUG43B.js → chunk-IWPXWGF7.js} +34 -34
- package/dist/bundle/{chunk-JRCYFCPL.js → chunk-J3SKXICS.js} +350 -136
- package/dist/bundle/{chunk-UDJTRFRV.js → chunk-JRO2FWO2.js} +1 -1
- package/dist/bundle/chunk-JULBAECW.js +126 -0
- package/dist/bundle/{chunk-FNQASORM.js → chunk-KM736RMJ.js} +1 -1
- package/dist/bundle/{chunk-4TLPOY22.js → chunk-KWRCP55G.js} +11 -11
- package/dist/bundle/{chunk-SRP6SFFD.js → chunk-L24UOUWG.js} +1 -1
- package/dist/bundle/{chunk-AJ7CMUGD.js → chunk-LAG5O2FV.js} +218 -231
- package/dist/bundle/{chunk-UU5PLDRA.js → chunk-LXXCLQCW.js} +2 -2
- package/dist/bundle/{chunk-65T3PU75.js → chunk-M6JIXMQZ.js} +5 -1
- package/dist/bundle/{chunk-LV7QRR5S.js → chunk-M7E44TMT.js} +5 -5
- package/dist/bundle/{chunk-6XO7RTJY.js → chunk-M7VUXXGS.js} +110 -8
- package/dist/bundle/{chunk-A63ZFOQJ.js → chunk-MVOMLJYQ.js} +3 -3
- package/dist/bundle/{chunk-DVA6MQWK.js → chunk-OA37BWE5.js} +1 -1
- package/dist/bundle/{chunk-77KFLU5F.js → chunk-OAQLVV6W.js} +2 -2
- package/dist/bundle/{chunk-KNE6VFHZ.js → chunk-OORMSM6O.js} +1 -1
- package/dist/bundle/{chunk-TZUKDM72.js → chunk-PV6OHXHN.js} +16 -16
- package/dist/bundle/{chunk-2OSBCYJT.js → chunk-QL7EMFIC.js} +18 -18
- package/dist/bundle/{chunk-4YFJYSSK.js → chunk-QO2KPU26.js} +45 -29
- package/dist/bundle/{chunk-GOXDBCDM.js → chunk-RB33VTUW.js} +297 -397
- package/dist/bundle/{chunk-TDGZMC6K.js → chunk-RIPAUCKJ.js} +59 -55
- package/dist/bundle/{chunk-6CJ7NHIP.js → chunk-RO3ZR4VP.js} +12 -12
- package/dist/bundle/{chunk-BL36NSV5.js → chunk-RQG5VOGH.js} +12 -2
- package/dist/bundle/{chunk-YTF2WPV4.js → chunk-RRRJCHUC.js} +2162 -1250
- package/dist/bundle/chunk-RWIILYKW.js +66 -0
- package/dist/bundle/{chunk-YJY3W2ZT.js → chunk-SNIY3JDN.js} +21 -18
- package/dist/bundle/{chunk-EH5QGQFR.js → chunk-SVF3NDAO.js} +3 -3
- package/dist/bundle/{chunk-VLD7Y4SY.js → chunk-UVPL7YAY.js} +5 -5
- package/dist/bundle/{chunk-2T6XHWDX.js → chunk-V2E7QFZ3.js} +1 -1
- package/dist/bundle/{chunk-K67V24AT.js → chunk-V5GRSOCZ.js} +4 -4
- package/dist/bundle/{chunk-DWSUSWAX.js → chunk-VE2VNECR.js} +131 -12
- package/dist/bundle/{chunk-RRYUD2EF.js → chunk-VJ5ZU4UF.js} +22 -4
- package/dist/bundle/{chunk-7QNJICKZ.js → chunk-VNU5L37V.js} +26 -26
- package/dist/bundle/{chunk-6TJ62LZQ.js → chunk-VSLDWT4E.js} +3 -3
- package/dist/bundle/{chunk-P2TISY3R.js → chunk-W7ZEEC4K.js} +1 -1
- package/dist/bundle/{chunk-NRRI37NJ.js → chunk-WOIHSQAL.js} +44 -0
- package/dist/bundle/{chunk-EJDV5IIF.js → chunk-X4ZF4XXI.js} +1 -1
- package/dist/bundle/{chunk-FBLUKCIR.js → chunk-XRFHQGOD.js} +1 -1
- package/dist/bundle/{chunk-KUB2U5NT.js → chunk-XWQNJKTP.js} +5 -5
- package/dist/bundle/chunk-Y6C3N7YG.js +12434 -0
- package/dist/bundle/{chunk-474WF55M.js → chunk-YJSPBUGB.js} +63 -32
- package/dist/bundle/{chunk-RP3U3J53.js → chunk-YTN2JN6N.js} +7 -7
- package/dist/bundle/{chunk-Y5LP5SHV.js → chunk-YUHM2OJM.js} +10 -10
- package/dist/bundle/{chunk-7AUP2WT3.js → chunk-ZBKWRYRS.js} +2 -2
- package/dist/bundle/{chunk-355PHJYX.js → chunk-ZS55EERO.js} +1 -1
- package/dist/bundle/{chunk-TUNQ6NE2.js → chunk-ZSKE7N2U.js} +3 -3
- package/dist/bundle/{chunk-PIHBD3YS.js → chunk-ZV3INEKM.js} +4 -4
- package/dist/bundle/{cli-VQJ7ZRYR.js → cli-VRSQ7HAE.js} +76 -60
- package/dist/bundle/command-contract-RPRKHVU6.js +41 -0
- package/dist/bundle/config-QU6A6VIO.js +90 -0
- package/dist/bundle/{decode-L3ENO2XH.js → decode-523PUQMR.js} +4 -4
- package/dist/bundle/{dispatch-5MGDLOK4.js → dispatch-IZCAK47P.js} +1 -1
- package/dist/bundle/{dist-WQLS7U23.js → dist-6WWKPEVW.js} +98 -22
- package/dist/bundle/{echarts-5LLJ6JXC.js → echarts-S5UMX2D3.js} +2 -2
- package/dist/bundle/{embed-37MYTCU7.js → embed-ODPDVHUK.js} +5 -5
- package/dist/bundle/{embedder-GNGHVJAO.js → embedder-PAXRBSZE.js} +8 -8
- package/dist/bundle/{failure-CR64C4XA.js → failure-R2OIHCE5.js} +1 -1
- package/dist/bundle/{first-run-NR5JKYP3.js → first-run-NVTDR5VO.js} +8 -8
- package/dist/bundle/first-screen-5RWZDWLK.js +39 -0
- package/dist/bundle/{folders-VU4IN35Y.js → folders-ZXTOFY4T.js} +3 -3
- package/dist/bundle/{instructions-P72XX4AK.js → instructions-DUB7E6C5.js} +1 -1
- package/dist/bundle/{main-QYFCYSTW.js → main-A7JSYQI6.js} +18 -18
- package/dist/bundle/{meetings-66UQINKI.js → meetings-BDZQV3HR.js} +4 -4
- package/dist/bundle/{node-ZB4RNICS.js → node-E25KP53H.js} +2 -2
- package/dist/bundle/{node-sqlite-XPRKBDF3.js → node-sqlite-PHWDFZCP.js} +5 -5
- package/dist/bundle/{oauth-WJRDUU5J.js → oauth-G2K46IYP.js} +6 -6
- package/dist/bundle/{open-S2YSIEOW.js → open-INWS5HIZ.js} +4 -4
- package/dist/bundle/{openai-CRNZFNZD.js → openai-T44ORVGQ.js} +10 -10
- package/dist/bundle/{output-file-6COFGPUL.js → output-file-YGQYZCBJ.js} +4 -4
- package/dist/bundle/{process-XNN4WG6N.js → process-UJ2JHMJN.js} +1 -1
- package/dist/bundle/{program-BRPJKRCX.js → program-LYTGFV6L.js} +115 -72
- package/dist/bundle/{prompt-7RQOL25I.js → prompt-VTUCRCE4.js} +6 -4
- package/dist/bundle/{recognize-N5WADGQB.js → recognize-3CEPOW2F.js} +3 -3
- package/dist/bundle/{remote-WHYV35IF.js → remote-DRQEXEZL.js} +6 -6
- package/dist/bundle/{rerank-FBMZVWSH.js → rerank-UL4KNNVN.js} +6 -6
- package/dist/bundle/{run-log-TOCHREH2.js → run-log-UZAB5CWF.js} +54 -54
- package/dist/bundle/{serve-4BABX4WS.js → serve-P5UWUOWQ.js} +8 -8
- package/dist/bundle/server-F3NPVMS2.js +72 -0
- package/dist/bundle/{server-CDVI6LOB.js → server-M6XK2Y3X.js} +42 -42
- package/dist/bundle/{services-PIY33I7R.js → services-4HRYNY62.js} +66 -30
- package/dist/bundle/{speech-LS5Q4FL2.js → speech-BBPBMFAO.js} +12 -12
- package/dist/bundle/{state-YUX5R2R7.js → state-GDSUNUSY.js} +5 -5
- package/dist/bundle/{store-BD7HAXAA.js → store-LBQ6FZP2.js} +41 -15
- package/dist/bundle/{store-ERMGBF2B.js → store-VWLABMLF.js} +57 -17
- package/dist/bundle/store-connection-XEBFP56U.js +83 -0
- package/dist/bundle/store-maintenance-command-G43JN57J.js +61 -0
- package/dist/bundle/{streaming-O53PIORL.js → streaming-EJ3NM2C2.js} +5 -5
- package/dist/bundle/{tokens-QKNEP2GJ.js → tokens-BE6CJMR5.js} +5 -5
- package/dist/bundle/zm.js +3 -3
- package/dist/bundle/{zoom-app-XJXZ4ZBX.js → zoom-app-YIEJLWCW.js} +6 -6
- package/dist/first-screen.d.ts.map +1 -1
- package/dist/first-screen.js +1 -0
- package/dist/first-screen.js.map +1 -1
- package/dist/permissions.js +1 -1
- package/dist/permissions.js.map +1 -1
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +11 -0
- package/dist/setup-commands.js.map +1 -1
- package/dist/tokens.d.ts +2 -0
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +11 -0
- package/dist/tokens.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/answer-policy-UCGUO53A.js +0 -104
- package/dist/bundle/chunk-AYEVBAGO.js +0 -178
- package/dist/bundle/chunk-EZRPSZJS.js +0 -33
- package/dist/bundle/chunk-NUJMJQXV.js +0 -787
- package/dist/bundle/chunk-YOAEZSDG.js +0 -22
- package/dist/bundle/command-contract-JPUWWYIV.js +0 -41
- package/dist/bundle/config-YGLLR77A.js +0 -90
- package/dist/bundle/first-screen-RCR7ATO2.js +0 -39
- package/dist/bundle/server-XOFQKFVO.js +0 -72
- package/dist/bundle/store-connection-JBR6CMTJ.js +0 -83
- package/dist/bundle/store-maintenance-command-I5DUSO2C.js +0 -62
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
agentOf,
|
|
30
30
|
clientHash,
|
|
31
31
|
currentCaller
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-YTN2JN6N.js";
|
|
33
33
|
import {
|
|
34
34
|
__name
|
|
35
35
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -541,7 +541,7 @@ function toError(value) {
|
|
|
541
541
|
}
|
|
542
542
|
__name(toError, "toError");
|
|
543
543
|
|
|
544
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
544
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/mcp/caller.js
|
|
545
545
|
var callingAgent = /* @__PURE__ */ __name((fallback, caller = currentCaller()) => {
|
|
546
546
|
const client = caller?.agent?.client?.name;
|
|
547
547
|
if (client && client !== "unknown")
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
11
11
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
12
12
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
13
13
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -36,6 +36,10 @@ var DEFAULT_PERMISSIONS = {
|
|
|
36
36
|
"server.stop": "ask",
|
|
37
37
|
"server.restart": "ask",
|
|
38
38
|
"models.download": "ask",
|
|
39
|
+
// NEED-2357.f: many MCP clients (ChatGPT) cannot answer a question, and a switch deletes nothing; kept as a key so a
|
|
40
|
+
// profile can still deny it.
|
|
41
|
+
"models.set": "allow",
|
|
42
|
+
"models.add": "ask",
|
|
39
43
|
"images.models.download": "ask",
|
|
40
44
|
"schedule.run": "ask",
|
|
41
45
|
"schedule.exec": "ask",
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
PRAGMAS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DXCTW3MV.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
8
|
} from "./chunk-FEM2JQN2.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
|
|
14
14
|
var SQLITE_WARNING = "SQLite is an experimental feature";
|
|
15
15
|
var quieted = /* @__PURE__ */ new WeakSet();
|
|
16
16
|
var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
|
|
@@ -31,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
|
|
|
31
31
|
return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
|
|
32
32
|
}, "isSqliteWarning");
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/store/open.js
|
|
35
35
|
var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
36
36
|
const database = await openFile(path);
|
|
37
37
|
try {
|
|
@@ -44,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
|
44
44
|
}, "openCache");
|
|
45
45
|
var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
|
|
46
46
|
var openUnderBun = /* @__PURE__ */ __name(async (path) => {
|
|
47
|
-
const { openWithBunSqlite } = await import("./bun-sqlite-
|
|
47
|
+
const { openWithBunSqlite } = await import("./bun-sqlite-Y24TUIGS.js");
|
|
48
48
|
return await openWithBunSqlite(path);
|
|
49
49
|
}, "openUnderBun");
|
|
50
50
|
var openUnderNode = /* @__PURE__ */ __name(async (path) => {
|
|
51
51
|
quietSqliteWarning();
|
|
52
|
-
const { openWithNodeSqlite } = await import("./node-sqlite-
|
|
52
|
+
const { openWithNodeSqlite } = await import("./node-sqlite-PHWDFZCP.js");
|
|
53
53
|
return openWithNodeSqlite(path);
|
|
54
54
|
}, "openUnderNode");
|
|
55
55
|
var runtime = /* @__PURE__ */ __name(() => {
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
QUERY_REASONS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EOSVN2ER.js";
|
|
6
6
|
import {
|
|
7
7
|
defineReasons
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WOIHSQAL.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.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/errors/reasons.js
|
|
14
14
|
var validation = /* @__PURE__ */ __name((reason, message) => [reason, "validation_error", message], "validation");
|
|
15
15
|
var QUERY = [
|
|
16
16
|
["query.aborted", "the search was stopped before it finished"],
|
|
@@ -29,7 +29,8 @@ var SIGN_IN = [
|
|
|
29
29
|
["oauth.declined", "authentication_error", "the provider's consent was declined"],
|
|
30
30
|
["oauth.timeout", "timeout", "the sign-in was not finished in time"],
|
|
31
31
|
["oauth.mismatch", "authentication_error", "the pasted sign-in result belongs to another sign-in"],
|
|
32
|
-
["oauth.missing", "authentication_error", "this profile is not signed in"],
|
|
32
|
+
["oauth.missing", "authentication_error", "this profile is not signed in to the provider"],
|
|
33
|
+
["session.missing", "authentication_error", "this profile has no API token saved"],
|
|
33
34
|
["oauth.locked", "provider_unavailable", "another process holds this sign-in's lock"],
|
|
34
35
|
["oauth.no-response", "outcome_unknown", "the token request did not finish"],
|
|
35
36
|
["oauth.unavailable", "provider_unavailable", "the provider's token endpoint is unavailable"],
|
|
@@ -43,7 +44,17 @@ var SIGN_IN = [
|
|
|
43
44
|
["sign-in.client-file-invalid", "configuration_error", "the file is not a Desktop app OAuth client JSON"],
|
|
44
45
|
["oauth.scope-missing", "permission_error", "the sign-in lacks a permission this command needs"],
|
|
45
46
|
["sign-in.client-rejected", "configuration_error", "the provider rejected the OAuth client"],
|
|
46
|
-
["sign-in.secret-without-id", "configuration_error", "an OAuth client secret is set without its client id"]
|
|
47
|
+
["sign-in.secret-without-id", "configuration_error", "an OAuth client secret is set without its client id"],
|
|
48
|
+
validation("account-remove.no-choice", "account remove needs --keep-data or --delete-data, one of them"),
|
|
49
|
+
["account-remove.unknown-profile", "not_found", "no profile by this name on this computer"],
|
|
50
|
+
["account-remove.busy", "conflict", "a serve or a sync runs for this profile; stop it first"],
|
|
51
|
+
["account-remove.unconfirmed", "confirmation_required", "removing an account asks first; add --yes"],
|
|
52
|
+
["account-remove.path-outside", "configuration_error", "the tool named a path outside its own folders"],
|
|
53
|
+
[
|
|
54
|
+
"account-remove.folder-outside",
|
|
55
|
+
"configuration_error",
|
|
56
|
+
"the tool named a folder of its own outside the home folder"
|
|
57
|
+
]
|
|
47
58
|
];
|
|
48
59
|
var PROVIDER_API = [
|
|
49
60
|
["offline.refused", "permission_error", "this command needs the provider; --offline was given"],
|
|
@@ -56,6 +67,7 @@ var PROVIDER_API = [
|
|
|
56
67
|
];
|
|
57
68
|
var OTHERS = [
|
|
58
69
|
["query.time-limit", "timeout", "the search took longer than its time limit; the query itself is valid"],
|
|
70
|
+
["enrichment.owner-only", "permission_error", "only the owner turns enrichment on, not an agent"],
|
|
59
71
|
["model.offline", "permission_error", "downloading a model needs the network; --offline was requested"],
|
|
60
72
|
[
|
|
61
73
|
"contract.unacknowledged-override",
|
|
@@ -71,6 +83,11 @@ var OTHERS = [
|
|
|
71
83
|
validation("mail-findings.partial", "a cited email is not stored whole yet; cite it once it is"),
|
|
72
84
|
validation("evidence-findings.dedicated-review", "review evidence findings through the dedicated findings command"),
|
|
73
85
|
validation("mail-findings.dedicated-review", "review mail findings through the dedicated findings command"),
|
|
86
|
+
validation("source-review.dedicated-review", "decide a source review through the review of memories and facts"),
|
|
87
|
+
validation("source-review.reason-required", "a challenge says why in 1\u20132000 characters"),
|
|
88
|
+
validation("source-review.evidence-required", "a challenge cites 1\u201320 references that contradict it"),
|
|
89
|
+
validation("source-review.suggestion-length", "a suggestion with a challenge takes 1\u20132000 characters"),
|
|
90
|
+
validation("source-review.not-holding", "the memory or fact no longer holds, so there is nothing to challenge"),
|
|
74
91
|
validation("mail-findings.invalid", "a checked mail findings batch would be refused; details.problems names why, finding by finding"),
|
|
75
92
|
validation("mail-findings.key-used", "the findings batch key was already used for different input"),
|
|
76
93
|
validation("finding.unknown-field", "a finding has a field its kind does not take"),
|
|
@@ -137,6 +154,21 @@ var OTHERS = [
|
|
|
137
154
|
["feed.gone", "not_found", "the feed's server has no feed at this address any more"],
|
|
138
155
|
["feed.timeout", "timeout", "the feed's server did not answer in time"],
|
|
139
156
|
["feed.unreachable", "network_error", "the feed's server could not be reached"],
|
|
157
|
+
validation("source.url-refused", "the link is not an http or https page on the public internet"),
|
|
158
|
+
["source.url-status", "provider_error", "the page's server answered with an error status"],
|
|
159
|
+
["source.url-timeout", "timeout", "the page did not arrive in time"],
|
|
160
|
+
["source.url-redirects", "provider_error", "the page sent the request on too many times"],
|
|
161
|
+
["source.url-unreachable", "network_error", "the page's server could not be found or reached"],
|
|
162
|
+
[
|
|
163
|
+
"source.needs-sign-in",
|
|
164
|
+
"authentication_error",
|
|
165
|
+
"the page asks for a sign-in; a private Google document is read through Drive"
|
|
166
|
+
],
|
|
167
|
+
validation("source.too-large", "the source is larger than one read takes"),
|
|
168
|
+
validation("source.unsupported", "no reader takes this kind of source"),
|
|
169
|
+
validation("source.no-text", "the source holds no text to keep"),
|
|
170
|
+
validation("source.unreadable", "the reader could not read the source"),
|
|
171
|
+
["source.engine-missing", "configuration_error", "reading this source needs a reader package that is not installed"],
|
|
140
172
|
validation("busy.feed", "a feed calendar has no busy times to ask; read its events with events list"),
|
|
141
173
|
["calendar.unsynced", "not_found", "the calendar account has no synced calendar in the store"],
|
|
142
174
|
["calendar.sync-incomplete", "not_found", "a synced calendar's sync never finished or is mid-round"],
|
|
@@ -166,6 +198,17 @@ var OTHERS = [
|
|
|
166
198
|
],
|
|
167
199
|
validation("store.refused", "the local store refused the document text"),
|
|
168
200
|
["store.not-writable", "permission_error", "the message store cannot be written from this process"],
|
|
201
|
+
[
|
|
202
|
+
"store.damaged",
|
|
203
|
+
"configuration_error",
|
|
204
|
+
"the store file is damaged; store recover says what is lost and recovers it"
|
|
205
|
+
],
|
|
206
|
+
validation("store.file-damaged", "the named store file is damaged or not a database"),
|
|
207
|
+
[
|
|
208
|
+
"store.unreadable",
|
|
209
|
+
"configuration_error",
|
|
210
|
+
"the store file's header or schema is damaged, so it cannot be recovered"
|
|
211
|
+
],
|
|
169
212
|
validation("store.in-use", "a process or a scheduled timer has the store open; stop it, then recover the store"),
|
|
170
213
|
[
|
|
171
214
|
"store.sqlite3-missing",
|
|
@@ -183,9 +226,12 @@ var OTHERS = [
|
|
|
183
226
|
["store.vector-extension-failed", "configuration_error", "the sqlite-vec extension did not load; reinstall the CLI"],
|
|
184
227
|
validation("store.vector-invalid", "a vector to store had a non-finite value"),
|
|
185
228
|
validation("catalog.scope-limit", "the selected catalog exceeds its entry limit"),
|
|
229
|
+
validation("evidence.quote-length", "a quote from the evidence is empty or over 500 characters"),
|
|
230
|
+
validation("evidence.quote-not-found", "the cited source does not say the quoted words"),
|
|
186
231
|
validation("evidence.row-too-large", "one evidence row is over its size limit"),
|
|
187
232
|
validation("index.not-ready", "the search index is still being built"),
|
|
188
233
|
validation("input.closed", "the input closed before the answer"),
|
|
234
|
+
validation("input.empty", "a hidden prompt got an empty answer three times"),
|
|
189
235
|
validation("input.required", "the command needs an answer and cannot ask for one"),
|
|
190
236
|
validation("input.too-large", "the input is over its size limit"),
|
|
191
237
|
["meeting-project.stale", "configuration_error", "the meeting's project changed meanwhile"],
|
|
@@ -194,20 +240,34 @@ var OTHERS = [
|
|
|
194
240
|
validation("fact.payment-retired", "a payment is a payments row in store.finance, not a fact"),
|
|
195
241
|
validation("fact.revoke-correction", "an accepted correction cannot be revoked; its superseded fact stays"),
|
|
196
242
|
validation("finance.allocate", "the invoice or payment cannot take an allocation in its state"),
|
|
243
|
+
validation("finance.below-paid", "the invoice's lines would total less than is paid on it"),
|
|
197
244
|
validation("finance.currency", "the payment and the invoice are in different currencies; nothing is converted"),
|
|
198
245
|
validation("finance.field", "a field of the invoice or payment is not valid"),
|
|
199
|
-
validation("finance.line-amount", "
|
|
246
|
+
validation("finance.line-amount", "an invoice line's amount is not its quantity times its unit price"),
|
|
247
|
+
validation("finance.line", "an invoice keeps at least one line: reject or void it instead"),
|
|
200
248
|
validation("finance.lines", "the invoice's lines are not valid"),
|
|
249
|
+
["finance.no-line", "not_found", "the invoice has no line at that position"],
|
|
201
250
|
["finance.not-allocated", "not_found", "the payment is not allocated to that invoice"],
|
|
202
251
|
validation("finance.over-invoice", "the allocation would settle more than the invoice's total"),
|
|
203
252
|
validation("finance.over-payment", "the allocation would use more than the payment's amount"),
|
|
204
253
|
["finance.owner-only", "permission_error", "only the owner does this with money"],
|
|
254
|
+
validation("finance.over-refund", "the refunds would take back more than the payment, or than it gave an invoice"),
|
|
205
255
|
validation("finance.party", "a party is a person: or organization: reference"),
|
|
206
256
|
validation("finance.ref", "the reference names no invoice or payment"),
|
|
257
|
+
validation("finance.refund", "a refund goes the other way in the same currency, of a live payment confirmed first, to an invoice it paid"),
|
|
258
|
+
validation("finance.refunded", "a refund of the payment still stands; reject it or take it back first"),
|
|
207
259
|
validation("finance.status", "the invoice's status does not allow this"),
|
|
208
260
|
validation("finance.total", "the invoice's total is not the sum of its lines"),
|
|
209
261
|
validation("finance.unallocate", "a rejected or deleted payment's allocations are not taken back"),
|
|
210
|
-
validation("record.entity", "the
|
|
262
|
+
validation("record.entity", "the entity or proposal the record stands for was refused"),
|
|
263
|
+
validation("record.provider-not-imported", "SMS and calls are imported only under an import-only provider, such as phone"),
|
|
264
|
+
validation("record.chat", "the chat an SMS names is not an imported one: a sync owns it"),
|
|
265
|
+
validation("record.moved", "an SMS stays in its thread: delete it and send it again under a new external_id"),
|
|
266
|
+
validation("record.phone-region", "a phone without + is read only in the envelope's phone_region; kept as data"),
|
|
267
|
+
validation("record.separated", "the owner told the one entity these identifiers match apart from them"),
|
|
268
|
+
["store.dry-run", "conflict", "a dry run of an import holds the store; the read or write waits for it to end"],
|
|
269
|
+
validation("record.ambiguous", "the record's identifiers point at more than one entity; the owner says which"),
|
|
270
|
+
validation("record.identifier", "a free-mail domain names no organization: anyone has an address there"),
|
|
211
271
|
["record.map-owner-only", "permission_error", "only the owner says which entity a source record is"],
|
|
212
272
|
validation("record.map-type", "a record maps only to an entity of its own type"),
|
|
213
273
|
validation("record.mapped", "the record already stands for another entity"),
|
|
@@ -217,6 +277,7 @@ var OTHERS = [
|
|
|
217
277
|
validation("record.reference-not-found", "a reference in the record's fields is not in the store"),
|
|
218
278
|
validation("record.relation-ambiguous", "the record names more than one target for a role that takes one"),
|
|
219
279
|
validation("record.stale-revision", "the store holds a newer revision of the record"),
|
|
280
|
+
validation("memory.already-superseded", "the memory was already replaced by another"),
|
|
220
281
|
validation("memory.evidence-required", "a memory needs its evidence"),
|
|
221
282
|
validation("memory.scope-required", "a memory needs its scope"),
|
|
222
283
|
validation("money.amount", "the amount is not a decimal string in the currency's scale"),
|
|
@@ -233,13 +294,45 @@ var OTHERS = [
|
|
|
233
294
|
["pipeline.not-found", "not_found", "no stored pipeline has that name or reference"],
|
|
234
295
|
validation("crm.stage-unknown", "a CRM item stands in a stage the store does not hold; it was not kept"),
|
|
235
296
|
validation("crm.item-invalid", "a CRM item has a field the store refuses, such as a currency it does not keep"),
|
|
236
|
-
validation("crm.pipeline-required", "the CRM has more than one pipeline of the kind; the
|
|
297
|
+
validation("crm.pipeline-required", "the CRM has more than one pipeline of the kind; the command names one"),
|
|
237
298
|
validation("field.unknown", "no custom field of the kind has that code or label; `fields list` lists them"),
|
|
238
299
|
validation("field.ambiguous", "more than one custom field has that label; name one by its code"),
|
|
239
300
|
validation("field.unknown-option", "the list field has no option with that id or label"),
|
|
240
301
|
validation("field.unknown-kind", "fields are listed for deals, leads, people and organizations only"),
|
|
241
302
|
validation("crm.write-unsupported", "the CRM does not take this write, or does not recognise a repeated one"),
|
|
242
303
|
validation("crm.unlisted-held", "a list of every id would mark most of a kind deleted; nothing was, until --rescan"),
|
|
304
|
+
validation("crm.not-reported", "the CRM did not list users or departments; what they would say is unknown, nothing withdrawn"),
|
|
305
|
+
validation("crm.reference-unknown", "a CRM row names a contact, company or user the store does not hold; that link was not made"),
|
|
306
|
+
validation("crm.pending-dropped", "relationships waited too long for an end that never came; they were dropped"),
|
|
307
|
+
validation("crm.email-ambiguous", "a CRM contact's email belongs to more than one person; the owner decides"),
|
|
308
|
+
validation("crm.own-unknown", "no own company of the CRM account is stored, so its users are no one's employees yet"),
|
|
309
|
+
validation("relationship.reference-unknown", "a reported relationship names something the store does not hold"),
|
|
310
|
+
validation("relationship.invalid", "a reported relationship joins ends or takes a role the registry refuses"),
|
|
311
|
+
validation("contract.field", "a field of the contract is not valid"),
|
|
312
|
+
validation("contract.ref", "the reference names no contract, or no deal for it"),
|
|
313
|
+
validation("order.currency", "the product is priced in another currency than the order"),
|
|
314
|
+
validation("order.line", "an order keeps at least one line: reject or cancel it instead"),
|
|
315
|
+
validation("order.line-amount", "an order line's amount is not its quantity times its unit price"),
|
|
316
|
+
validation("order.lines", "the order's lines are not valid"),
|
|
317
|
+
["order.no-line", "not_found", "the order has no line at that position"],
|
|
318
|
+
["order.owner-only", "permission_error", "only the owner changes a confirmed order's lines"],
|
|
319
|
+
validation("order.total", "an order with lines names its currency and totals their sum"),
|
|
320
|
+
validation("product.duplicate", "a product with that code is already stored for that supplier"),
|
|
321
|
+
validation("product.field", "a field of the product is not valid"),
|
|
322
|
+
validation("product.ref", "the reference names no product"),
|
|
323
|
+
validation("subscription.field", "a field of the subscription is not valid"),
|
|
324
|
+
validation("subscription.interval", "an interval is a count and a unit, such as 1-month"),
|
|
325
|
+
["subscription.no-price", "not_found", "no stored subscription price has that id"],
|
|
326
|
+
validation("subscription.price", "a price is never changed: reject it and add a new one, after its subscription"),
|
|
327
|
+
validation("subscription.ref", "the reference names no subscription, product or contract for it"),
|
|
328
|
+
validation("transaction.field", "a field of the transaction is not valid"),
|
|
329
|
+
validation("transaction.payment", "the payment is not the same money: currency, direction and amount differ"),
|
|
330
|
+
validation("transaction.ref", "the reference names no transaction or wallet"),
|
|
331
|
+
["transaction.no-split", "not_found", "the transaction has no split at that position"],
|
|
332
|
+
validation("transaction.split", "the splits come to more than the transaction, or name no category"),
|
|
333
|
+
validation("wallet.field", "a field of the wallet is not valid"),
|
|
334
|
+
validation("wallet.number", "a wallet keeps only the last 4 characters of a number"),
|
|
335
|
+
validation("wallet.ref", "the reference names no wallet"),
|
|
243
336
|
validation("order.duplicate", "the shop's order with this number is already stored; change its status instead"),
|
|
244
337
|
validation("order.proposed", "the shop's order with this number already waits for the owner in a findings batch"),
|
|
245
338
|
validation("order.field", "a field of the order is not valid"),
|
|
@@ -249,6 +342,11 @@ var OTHERS = [
|
|
|
249
342
|
validation("order.status", "a rejected or deleted order's status does not change"),
|
|
250
343
|
["model.not-downloaded", "not_found", "the model is not downloaded on this machine"],
|
|
251
344
|
["person.no-owner", "not_found", "no person is marked as the owner in the store"],
|
|
345
|
+
[
|
|
346
|
+
"identity.separated",
|
|
347
|
+
"conflict",
|
|
348
|
+
"the owner separated this identity from that person; only the owner links it again"
|
|
349
|
+
],
|
|
252
350
|
["transcription.no-key", "authentication_error", "no OpenAI key is set for transcription"],
|
|
253
351
|
validation("transcription.too-large", "the audio is over the transcription provider's size limit"),
|
|
254
352
|
[
|
|
@@ -286,6 +384,10 @@ var OTHERS = [
|
|
|
286
384
|
["proposals.agent-decisions-off", "permission_error", "agent decisions are turned off; the owner decides"],
|
|
287
385
|
["proposal.unknown-kind", "not_found", "no registered proposal kind holds this id"],
|
|
288
386
|
validation("relationship.exists", "a confirmed relationship already links them"),
|
|
387
|
+
validation("relationship.role-exists", "the role list holds that role already"),
|
|
388
|
+
validation("relationship.role-built-in", "a built-in role stays on its list"),
|
|
389
|
+
validation("relationship.role-in-use", "relationships still hold that role; change them first (details.count)"),
|
|
390
|
+
validation("relationship.role-unknown", "the role is not one the relationship takes; the message lists them"),
|
|
289
391
|
validation("ranking.invalid", "the ranking is not valid"),
|
|
290
392
|
validation("ref.malformed", "the reference has a known kind but not its shape"),
|
|
291
393
|
validation("ref.unknown-kind", "the text names no kind of reference"),
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/speech/recognize.js
|
|
14
14
|
import { createRequire } from "node:module";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
|
|
17
17
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "local transcription needs a complete mono or stereo Ogg Opus recording"), "invalid");
|
|
18
18
|
var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
19
19
|
const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
@@ -70,7 +70,7 @@ var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
|
70
70
|
throw invalid();
|
|
71
71
|
}, "checkOggDuration");
|
|
72
72
|
|
|
73
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
73
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/speech/recognize.js
|
|
74
74
|
var SAMPLE_RATE = 16e3;
|
|
75
75
|
var LEAD = SAMPLE_RATE / 2;
|
|
76
76
|
var toModelRate = /* @__PURE__ */ __name((samples, rate) => {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/background/processes.js
|
|
8
8
|
import { execFileSync } from "node:child_process";
|
|
9
9
|
import { readdirSync, readFileSync, readlinkSync } from "node:fs";
|
|
10
10
|
var alive = /* @__PURE__ */ __name((pid) => {
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
openOrdinaryFile
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-RO3ZR4VP.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
8
|
} from "./chunk-FEM2JQN2.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/speech/wav.js
|
|
14
14
|
import { createHash } from "node:crypto";
|
|
15
15
|
import { basename, resolve } from "node:path";
|
|
16
16
|
var prepared = /* @__PURE__ */ new WeakMap();
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
meetingResultItem,
|
|
7
7
|
runsCommand,
|
|
8
8
|
suggest
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CIZ25UPK.js";
|
|
10
10
|
import {
|
|
11
11
|
checkedClientId
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IS3ZTT2Z.js";
|
|
13
13
|
import {
|
|
14
14
|
sharedStoreCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RB33VTUW.js";
|
|
16
16
|
import {
|
|
17
17
|
NO_EFFECTS,
|
|
18
18
|
REMOTE_READ,
|
|
@@ -37,37 +37,37 @@ import {
|
|
|
37
37
|
snakeKeys,
|
|
38
38
|
usableProfileName,
|
|
39
39
|
withSettingDefaults
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import {
|
|
42
|
-
readOnlyLockOf,
|
|
43
|
-
readOnlyRefusal
|
|
44
|
-
} from "./chunk-AVEIQMHZ.js";
|
|
40
|
+
} from "./chunk-LAG5O2FV.js";
|
|
45
41
|
import {
|
|
46
42
|
setupPermissionCeiling
|
|
47
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-CHGUNZ3L.js";
|
|
48
44
|
import {
|
|
49
45
|
KEEP_RUNS_FOR_DAYS,
|
|
50
46
|
KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
|
|
51
47
|
RUNS_SIZE_LIMIT_MB
|
|
52
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-J3SKXICS.js";
|
|
49
|
+
import {
|
|
50
|
+
readOnlyLockOf,
|
|
51
|
+
readOnlyRefusal
|
|
52
|
+
} from "./chunk-5XWCBLUR.js";
|
|
53
53
|
import {
|
|
54
54
|
CEILING_KEY,
|
|
55
55
|
DEFAULT_PERMISSIONS,
|
|
56
56
|
LEVELS,
|
|
57
57
|
keyForCommand,
|
|
58
58
|
levelFor
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-M6JIXMQZ.js";
|
|
60
60
|
import {
|
|
61
61
|
ZM
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-AUNW7N4I.js";
|
|
63
63
|
import {
|
|
64
64
|
MEETING_RESULT_ENTITIES
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-RIPAUCKJ.js";
|
|
66
66
|
import {
|
|
67
67
|
createRenderer,
|
|
68
68
|
projectFields,
|
|
69
69
|
saveConfigFile
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-OORMSM6O.js";
|
|
71
71
|
import {
|
|
72
72
|
array,
|
|
73
73
|
boolean,
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
strictObject,
|
|
93
93
|
string,
|
|
94
94
|
union
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-WOIHSQAL.js";
|
|
96
96
|
import {
|
|
97
97
|
CliError
|
|
98
98
|
} from "./chunk-FEM2JQN2.js";
|
|
@@ -670,7 +670,7 @@ var discoveryLevels = /* @__PURE__ */ __name((own, env) => {
|
|
|
670
670
|
...readOnlyLockOf(ZM, env) ? { [CEILING_KEY]: "readonly" } : {}
|
|
671
671
|
};
|
|
672
672
|
}, "discoveryLevels");
|
|
673
|
-
var HOUSEKEEPING = /* @__PURE__ */ new Set([...PROFILE_FREE, "session", "mcp"]);
|
|
673
|
+
var HOUSEKEEPING = /* @__PURE__ */ new Set([...PROFILE_FREE, "session", "account", "mcp"]);
|
|
674
674
|
var pathOf3 = /* @__PURE__ */ __name((command) => {
|
|
675
675
|
const words = [];
|
|
676
676
|
for (let at = command; at?.parent; at = at.parent)
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
AUDIT_MIN_SCORE,
|
|
5
5
|
throughWrapper
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RRRJCHUC.js";
|
|
7
7
|
import {
|
|
8
8
|
Command,
|
|
9
9
|
InvalidArgumentError,
|
|
@@ -17,13 +17,13 @@ import {
|
|
|
17
17
|
renderAnswer,
|
|
18
18
|
sharedCommand,
|
|
19
19
|
snakeKeys
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-LAG5O2FV.js";
|
|
21
21
|
import {
|
|
22
22
|
readOnlyLockOf
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-5XWCBLUR.js";
|
|
24
24
|
import {
|
|
25
25
|
formatReference
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-Y6C3N7YG.js";
|
|
27
27
|
import {
|
|
28
28
|
EVENT_QUERY,
|
|
29
29
|
MEETING_PROJECT_EVIDENCE_QUERY,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
readMeetingProjectEvidence,
|
|
47
47
|
validateMeetingHitSearch,
|
|
48
48
|
validateMeetingPassage
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-RIPAUCKJ.js";
|
|
50
50
|
import {
|
|
51
51
|
OPERATORS_BY_TYPE,
|
|
52
52
|
QUERY_LIMITS,
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
timezoneOf,
|
|
62
62
|
validateQuery,
|
|
63
63
|
zonedMoment
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-EOSVN2ER.js";
|
|
65
65
|
import {
|
|
66
66
|
array,
|
|
67
67
|
boolean,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
safeParse,
|
|
75
75
|
strictObject,
|
|
76
76
|
string
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-WOIHSQAL.js";
|
|
78
78
|
import {
|
|
79
79
|
CliError
|
|
80
80
|
} from "./chunk-FEM2JQN2.js";
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
__name
|
|
83
83
|
} from "./chunk-ZVVMGPBJ.js";
|
|
84
84
|
|
|
85
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
85
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
|
|
86
86
|
var COMMAND_NEEDS = {
|
|
87
87
|
"account update": ["updateProfile", "change the profile"],
|
|
88
88
|
"account sessions list": ["sessions", "list the account's sessions"],
|
|
@@ -132,7 +132,7 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
|
|
|
132
132
|
return group;
|
|
133
133
|
}, "hideNever");
|
|
134
134
|
|
|
135
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
135
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
|
|
136
136
|
var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
|
|
137
137
|
var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
|
|
138
138
|
const zone = timezoneOf();
|
|
@@ -218,7 +218,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
|
|
|
218
218
|
var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
|
|
219
219
|
var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
|
|
220
220
|
|
|
221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
|
|
222
222
|
var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
223
223
|
command.allowUnknownOption();
|
|
224
224
|
const parse = command.parseOptions.bind(command);
|
|
@@ -238,7 +238,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
|
238
238
|
return command;
|
|
239
239
|
}, "queryWordsAfterOptions");
|
|
240
240
|
|
|
241
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
241
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
|
|
242
242
|
var count = /* @__PURE__ */ __name((value) => {
|
|
243
243
|
if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
244
244
|
throw new CliError("validation_error", "expected a nonnegative safe integer");
|
|
@@ -280,7 +280,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
|
|
|
280
280
|
var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
|
|
281
281
|
var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
|
|
282
282
|
|
|
283
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
283
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
|
|
284
284
|
var integer2 = /* @__PURE__ */ __name((value) => {
|
|
285
285
|
if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
286
286
|
throw new CliError("validation_error", "expected a positive safe integer");
|
|
@@ -303,7 +303,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
|
|
|
303
303
|
}, "addMeetingProjectEvidenceCommandDefinition");
|
|
304
304
|
var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
|
|
305
305
|
|
|
306
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
306
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
|
|
307
307
|
var integer3 = /* @__PURE__ */ __name((text) => {
|
|
308
308
|
if (!/^[1-9]\d*$/.test(text) || !Number.isSafeInteger(Number(text)))
|
|
309
309
|
throw new InvalidArgumentError("expected a positive integer");
|
|
@@ -447,7 +447,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
|
|
|
447
447
|
}, "addMeetingCommandsDefinition");
|
|
448
448
|
var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
|
|
449
449
|
|
|
450
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
450
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/cli/list-query.js
|
|
451
451
|
var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
|
|
452
452
|
var QUERY_ARGUMENT = "field:value terms that narrow the list \u2014 the fields are below";
|
|
453
453
|
var withQuery = /* @__PURE__ */ __name((command, registry) => {
|
|
@@ -588,7 +588,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
|
|
|
588
588
|
var queryHelp = /* @__PURE__ */ __name((registry) => `
|
|
589
589
|
${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
|
|
590
590
|
|
|
591
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
591
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/cli/paging.js
|
|
592
592
|
var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
593
593
|
if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
|
|
594
594
|
throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
|
|
@@ -597,7 +597,7 @@ var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
|
597
597
|
var withPaging = /* @__PURE__ */ __name((command) => command.option("--limit <n>", "how many to show", positiveCount("--limit")).option("--page <n>", "which page, starting at 1", positiveCount("--page")).option("--all", "every row, no paging"), "withPaging");
|
|
598
598
|
var window = /* @__PURE__ */ __name(({ limit, page, all }) => all ? { offset: 0 } : { limit, offset: (page - 1) * limit }, "window");
|
|
599
599
|
|
|
600
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
600
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
|
|
601
601
|
var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
|
|
602
602
|
var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
|
|
603
603
|
var settingsOf = /* @__PURE__ */ __name((settings) => defined({
|
|
@@ -859,7 +859,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
|
|
|
859
859
|
...createdAt === void 0 ? {} : { created_at: createdAt }
|
|
860
860
|
}), "sessionAnswer");
|
|
861
861
|
|
|
862
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
862
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/background/relay.js
|
|
863
863
|
import { createHash } from "node:crypto";
|
|
864
864
|
import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
|
|
865
865
|
import { createConnection, createServer } from "node:net";
|
|
@@ -1080,7 +1080,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
|
|
|
1080
1080
|
}, () => finish({ error: stopped() }));
|
|
1081
1081
|
}), "relayCommand");
|
|
1082
1082
|
|
|
1083
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1083
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
|
|
1084
1084
|
var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
|
|
1085
1085
|
close: /* @__PURE__ */ __name(async () => {
|
|
1086
1086
|
}, "close"),
|