@wirecat/zoom-cli 0.72.0 → 0.73.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/contracts/wirecat.json +1478 -0
- package/dist/account-removal.d.ts.map +1 -1
- package/dist/account-removal.js +0 -2
- package/dist/account-removal.js.map +1 -1
- package/dist/answers.d.ts +1 -3
- package/dist/answers.d.ts.map +1 -1
- package/dist/answers.js +0 -3
- package/dist/answers.js.map +1 -1
- package/dist/bin/main.js +13 -5
- package/dist/bin/main.js.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-XFIPF4GF.js → all-profiles-V47CUJFK.js} +12 -12
- package/dist/bundle/answer-policy-W6H72X2R.js +112 -0
- package/dist/bundle/{anthropic-SSUBR3BC.js → anthropic-SID7Z3QN.js} +7 -7
- package/dist/bundle/{app-server-7DJHHF2F.js → app-server-KCMUSY4A.js} +67 -61
- package/dist/bundle/{bun-6HBYWQIX.js → bun-PWMM6L45.js} +2 -2
- package/dist/bundle/{bun-sqlite-4L3Q55NB.js → bun-sqlite-3TLKUN5A.js} +7 -7
- package/dist/bundle/{chunk-OY6N2ABP.js → chunk-2BAZRRJP.js} +19 -19
- package/dist/bundle/{chunk-KWURWGGB.js → chunk-2NQPB6MT.js} +28 -9
- package/dist/bundle/chunk-2PYZTRRC.js +84 -0
- package/dist/bundle/chunk-2VYEGKQ3.js +13 -0
- package/dist/bundle/{chunk-X2MP634F.js → chunk-35CYSRGJ.js} +4 -4
- package/dist/bundle/{chunk-SXZGCD6E.js → chunk-3ADFJ3UP.js} +3 -3
- package/dist/bundle/{chunk-63QXCE5Z.js → chunk-3HTJBGNP.js} +10 -10
- package/dist/bundle/{chunk-OHCLQJOV.js → chunk-44YVZIA4.js} +3 -3
- package/dist/bundle/{chunk-D24OQAHM.js → chunk-4LFFDUUW.js} +4 -4
- package/dist/bundle/{chunk-UVZLK3M4.js → chunk-4RJL32PF.js} +25 -10
- package/dist/bundle/{chunk-CANRIRNZ.js → chunk-6AO2RSYH.js} +951 -692
- package/dist/bundle/{chunk-37NF5CBJ.js → chunk-6NI4FE5G.js} +6 -8
- package/dist/bundle/{chunk-QW7YTRV2.js → chunk-6WUTUCKH.js} +3 -3
- package/dist/bundle/{chunk-WOAYHCM2.js → chunk-AIEMFRBU.js} +1 -1
- package/dist/bundle/{chunk-B3SILJBU.js → chunk-CIUJEQH4.js} +30 -22
- package/dist/bundle/{chunk-MSQHSW4C.js → chunk-CMWFYZ45.js} +2 -2
- package/dist/bundle/{chunk-2MIBRVSV.js → chunk-CQBLPBZU.js} +2 -2
- package/dist/bundle/{chunk-U3NJBGLA.js → chunk-DPSTOVKC.js} +185 -34
- package/dist/bundle/{chunk-OP5PGE2N.js → chunk-DYLYH7VE.js} +4 -4
- package/dist/bundle/{chunk-ELJUBPY4.js → chunk-EA2OB75T.js} +1 -1
- package/dist/bundle/{chunk-3KRTEX5M.js → chunk-ERQRY6WZ.js} +3 -2
- package/dist/bundle/{chunk-H53WFZBN.js → chunk-ETQNHS3A.js} +12 -12
- package/dist/bundle/{chunk-JG4MNYG2.js → chunk-EXWZCI5G.js} +1 -1
- package/dist/bundle/{chunk-MCPOZNWG.js → chunk-FIVFP53N.js} +1 -1
- package/dist/bundle/{chunk-7OD3522V.js → chunk-FJMRDRPN.js} +180 -149
- package/dist/bundle/{chunk-RZUJMAMK.js → chunk-FT7X74RT.js} +4 -4
- package/dist/bundle/{chunk-ADLS6FVG.js → chunk-FXBHOCJK.js} +1 -1
- package/dist/bundle/{chunk-JRCH4YZP.js → chunk-FZLJ2G7A.js} +17 -121
- package/dist/bundle/{chunk-ZW5KHKMA.js → chunk-G2TSDMTA.js} +5 -5
- package/dist/bundle/{chunk-7S4D5SM2.js → chunk-G3SIY4MQ.js} +29 -28
- package/dist/bundle/{chunk-M3DMXDX6.js → chunk-GCZMYDKU.js} +6 -6
- package/dist/bundle/{chunk-4XQWF3U2.js → chunk-HAMDPWEZ.js} +6 -6
- package/dist/bundle/{chunk-6DCLZLGX.js → chunk-HCZYJMBP.js} +1 -1
- package/dist/bundle/{chunk-S7SXSHRC.js → chunk-HNWDEDMU.js} +61 -30
- package/dist/bundle/{chunk-24OFZNRC.js → chunk-HO3GBTIT.js} +4038 -3729
- package/dist/bundle/chunk-IE7YBRUO.js +25 -0
- package/dist/bundle/{chunk-XPWZSW6Y.js → chunk-IJCUAKR5.js} +4 -4
- package/dist/bundle/{chunk-RLCVPECY.js → chunk-IKNOTHG2.js} +110 -64
- package/dist/bundle/{chunk-QA6KIL7Q.js → chunk-ILDGZBZD.js} +11 -8
- package/dist/bundle/{chunk-W3YTVEWV.js → chunk-JIS34MLC.js} +9 -9
- package/dist/bundle/{chunk-KFZL67JP.js → chunk-JQF4LM3V.js} +128 -47
- package/dist/bundle/{chunk-ZHA56THL.js → chunk-K5JFX5TK.js} +927 -904
- package/dist/bundle/{chunk-WXTYYWZI.js → chunk-K7EMVFJ7.js} +115 -113
- package/dist/bundle/{chunk-7GLJSJ7M.js → chunk-KHBZ4OEP.js} +1 -1
- package/dist/bundle/{chunk-PJWSGXOB.js → chunk-KK2IVZUQ.js} +7 -7
- package/dist/bundle/{chunk-YVVJ6Y5C.js → chunk-KQD4ZVNC.js} +7 -7
- package/dist/bundle/{chunk-TF2WKPNW.js → chunk-KSNJK4QM.js} +15 -15
- package/dist/bundle/{chunk-KPIQXFNB.js → chunk-KUL7S5Y3.js} +16 -15
- package/dist/bundle/{chunk-JZ4XNNL7.js → chunk-L6YSKCC3.js} +1 -1
- package/dist/bundle/chunk-LQYMN36C.js +73 -0
- package/dist/bundle/{chunk-5MGICK47.js → chunk-LSVQCI6V.js} +26 -26
- package/dist/bundle/{chunk-CW46FWKW.js → chunk-LVDTSCIN.js} +14 -12
- package/dist/bundle/{chunk-RX5CJ55S.js → chunk-M4OP5ASJ.js} +1 -1
- package/dist/bundle/{chunk-FSCPQQS5.js → chunk-MAE5UGRQ.js} +150 -93
- package/dist/bundle/{chunk-4YIGXTBP.js → chunk-MG2CCAVG.js} +3 -3
- package/dist/bundle/{chunk-N4QNYWWG.js → chunk-MOKEB656.js} +2 -2
- package/dist/bundle/{chunk-RN5SU2RN.js → chunk-N3SOTKXC.js} +6 -6
- package/dist/bundle/{chunk-7SUWPMZG.js → chunk-NBA2V6LB.js} +8 -8
- package/dist/bundle/{chunk-LLUNHAZ7.js → chunk-OFA22L4G.js} +4 -4
- package/dist/bundle/{chunk-RJTGENHZ.js → chunk-OKOJEBHK.js} +4 -7
- package/dist/bundle/{chunk-LA6QUVGQ.js → chunk-OMLVWOEF.js} +6 -2
- package/dist/bundle/{chunk-5X4IY5JH.js → chunk-OU5OXA6Q.js} +531 -416
- package/dist/bundle/{chunk-DEPXZJ2V.js → chunk-P4FU6R3Z.js} +17 -13
- package/dist/bundle/{chunk-5AELTC52.js → chunk-PACLT6IW.js} +102 -99
- package/dist/bundle/{chunk-EFF2XBHP.js → chunk-PGPHEC2X.js} +2 -2
- package/dist/bundle/{chunk-NMZQTYKJ.js → chunk-PJ3FKBXG.js} +1 -1
- package/dist/bundle/{chunk-7IFO43Q5.js → chunk-PKON63JH.js} +2 -2
- package/dist/bundle/{chunk-23J2ANZ7.js → chunk-Q43KX56Z.js} +2 -2
- package/dist/bundle/{chunk-VIV64MQM.js → chunk-QS6DWXDB.js} +26 -17
- package/dist/bundle/{chunk-IXO4SCKE.js → chunk-QVJMFZFW.js} +1 -1
- package/dist/bundle/{chunk-U32VL3MA.js → chunk-QWGEOQHA.js} +3 -2
- package/dist/bundle/{chunk-QQUY4MZY.js → chunk-R5FTCNLJ.js} +1 -1
- package/dist/bundle/{chunk-IFBIXU6C.js → chunk-SO52EJ2W.js} +2 -2
- package/dist/bundle/{chunk-JFPUYQSP.js → chunk-SYIOT45G.js} +5 -5
- package/dist/bundle/{chunk-ADKMBXY4.js → chunk-TI2OANJZ.js} +1 -1
- package/dist/bundle/{chunk-IACWKZWS.js → chunk-UIKVP23D.js} +1 -1
- package/dist/bundle/{chunk-JAEPK457.js → chunk-USIMMGWS.js} +23 -23
- package/dist/bundle/{chunk-WZGKHTA4.js → chunk-UYBLNGZ2.js} +8 -2
- package/dist/bundle/{chunk-4SY67IUA.js → chunk-V5Q2QKYM.js} +26 -33
- package/dist/bundle/{chunk-WLVG4RBZ.js → chunk-VJVYGTPM.js} +15 -2
- package/dist/bundle/{chunk-IU4DUUB3.js → chunk-VPPNYUQM.js} +8 -8
- package/dist/bundle/{chunk-D5EUMWD5.js → chunk-X2FILY5F.js} +3 -3
- package/dist/bundle/{chunk-LTWJM3ED.js → chunk-XLY7V2LB.js} +17 -17
- package/dist/bundle/chunk-XWBPP2HX.js +2 -0
- package/dist/bundle/{chunk-ZVFYGTGJ.js → chunk-Y3IH7EZC.js} +17 -17
- package/dist/bundle/{chunk-7JYMGXLI.js → chunk-Z5XCU4S7.js} +45 -41
- package/dist/bundle/{chunk-I7CUMZD6.js → chunk-ZAIE3G5I.js} +3 -3
- package/dist/bundle/{chunk-ERJYJ36F.js → chunk-ZMHZ6CQS.js} +2 -2
- package/dist/bundle/{chunk-T27IMG6X.js → chunk-ZVQDOKDY.js} +1 -1
- package/dist/bundle/{chunk-DOCVEKP2.js → chunk-ZX4QWTMQ.js} +36 -32
- package/dist/bundle/{cli-IYYI7GAM.js → cli-4ZYJ6OZE.js} +109 -101
- package/dist/bundle/command-contract-FJDDCHYP.js +43 -0
- package/dist/bundle/{command-server-entry-FXX4LJWF.js → command-server-entry-CASONRIJ.js} +35 -33
- package/dist/bundle/config-4DZHX2WX.js +99 -0
- package/dist/bundle/{decode-SRGOOGBW.js → decode-KEFCVGEB.js} +6 -6
- package/dist/bundle/{dispatch-OUHRPFUL.js → dispatch-EU67WGME.js} +9 -9
- package/dist/bundle/{dist-UZLNLAIO.js → dist-GCQ7KCKN.js} +26 -22
- package/dist/bundle/{echarts-7CM2MCMW.js → echarts-SDZA2SWG.js} +2 -2
- package/dist/bundle/{embed-VEE56BOB.js → embed-43VJEPM6.js} +7 -7
- package/dist/bundle/{embedder-SZFYR543.js → embedder-Q4ZHAGRP.js} +10 -10
- package/dist/bundle/{failure-MZBNM7M5.js → failure-CTJLEB2R.js} +3 -3
- package/dist/bundle/first-run-CPOLQVNA.js +29 -0
- package/dist/bundle/first-screen-XYESRGWW.js +41 -0
- package/dist/bundle/folders-MSBTAPAG.js +24 -0
- package/dist/bundle/{instructions-R7OHVAWH.js → instructions-7T6JJIFS.js} +1 -1
- package/dist/bundle/{main-EFUN2O3K.js → main-NA3QVPXS.js} +39 -26
- package/dist/bundle/{mcp-7KQUJNFN.js → mcp-TDKGDB4V.js} +2 -2
- package/dist/bundle/{meetings-5I2BDNTA.js → meetings-7CVIQJTA.js} +9 -7
- package/dist/bundle/{node-3N2JGZ7V.js → node-BZDMUFTW.js} +2 -2
- package/dist/bundle/{node-P4E63KXA.js → node-KM3CUABH.js} +9 -9
- package/dist/bundle/{node-sqlite-2UVEE2WM.js → node-sqlite-QHGB23B4.js} +10 -10
- package/dist/bundle/{oauth-AYGD7UU3.js → oauth-BMEMCM2I.js} +8 -8
- package/dist/bundle/{open-3GUVDLGD.js → open-JGU2NRJP.js} +6 -6
- package/dist/bundle/openai-VTXXFNCS.js +28 -0
- package/dist/bundle/{output-file-72JFXVHQ.js → output-file-VDOCYH2G.js} +6 -6
- package/dist/bundle/{process-YAHHUFR5.js → process-756VBE7E.js} +1 -1
- package/dist/bundle/{program-OSZROCTK.js → program-XM6CDIJ2.js} +138 -139
- package/dist/bundle/{prompt-HMCW4XQJ.js → prompt-2IPFXJ4B.js} +6 -6
- package/dist/bundle/{recognize-VF5CA7EM.js → recognize-672E2RIB.js} +5 -5
- package/dist/bundle/{remote-5C6VTPR2.js → remote-YLHRVPDS.js} +11 -10
- package/dist/bundle/{rerank-ER7NEDOI.js → rerank-NBXQG3OS.js} +8 -8
- package/dist/bundle/run-log-3WITBT2F.js +126 -0
- package/dist/bundle/{serve-QJWXJOM7.js → serve-FNLOUMYP.js} +10 -10
- package/dist/bundle/{server-KCIK3Y2P.js → server-7ZB5AK5H.js} +54 -50
- package/dist/bundle/server-GGRGD4SH.js +77 -0
- package/dist/bundle/{services-LQMYJQG3.js → services-Z4UWN64R.js} +46 -44
- package/dist/bundle/{speech-74GJQNQH.js → speech-XSYVCKR3.js} +20 -20
- package/dist/bundle/sqlite-runtime-GAPXJNWU.js +20 -0
- package/dist/bundle/{state-4XDGCHDF.js → state-QSA53EF5.js} +7 -7
- package/dist/bundle/{store-5Y5HK2L2.js → store-EKI4OAJH.js} +20 -20
- package/dist/bundle/{store-Y56AHJ2Y.js → store-NOF5EYUC.js} +30 -28
- package/dist/bundle/store-connection-2OZQGEIO.js +92 -0
- package/dist/bundle/store-maintenance-command-GNX3SOZ6.js +67 -0
- package/dist/bundle/{streaming-E5CR6HSR.js → streaming-PQEXKTE5.js} +7 -7
- package/dist/bundle/tokens-WJQYQ3FK.js +24 -0
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-NVL7HEAX.js → zoom-app-Y7RMWLVU.js} +9 -8
- package/dist/folders.d.ts +12 -2
- package/dist/folders.d.ts.map +1 -1
- package/dist/folders.js +81 -3
- package/dist/folders.js.map +1 -1
- package/dist/identity.d.ts +5 -0
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +14 -0
- package/dist/identity.js.map +1 -1
- package/dist/recording-schedule-setup.d.ts.map +1 -1
- package/dist/recording-schedule-setup.js +4 -7
- package/dist/recording-schedule-setup.js.map +1 -1
- package/dist/remote-http.d.ts +1 -1
- package/dist/remote-http.d.ts.map +1 -1
- package/dist/remote-http.js +21 -23
- package/dist/remote-http.js.map +1 -1
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +2 -4
- package/dist/setup-commands.js.map +1 -1
- package/dist/tokens.d.ts +17 -2
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +109 -29
- package/dist/tokens.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wcat.d.ts +3 -0
- package/dist/wcat.d.ts.map +1 -0
- package/dist/wcat.js +4 -0
- package/dist/wcat.js.map +1 -0
- package/package.json +15 -14
- package/dist/bundle/answer-policy-AT6CDEE5.js +0 -110
- package/dist/bundle/chunk-EG25AY4L.js +0 -17
- package/dist/bundle/chunk-K6HR6HCO.js +0 -32
- package/dist/bundle/command-contract-TX7NSUBM.js +0 -42
- package/dist/bundle/config-YKNM33J7.js +0 -96
- package/dist/bundle/first-run-KWC7RKF2.js +0 -29
- package/dist/bundle/first-screen-DWKMNSEI.js +0 -40
- package/dist/bundle/folders-UQXRSDJJ.js +0 -16
- package/dist/bundle/openai-NHCDLWWY.js +0 -28
- package/dist/bundle/run-log-JKTLKXSK.js +0 -124
- package/dist/bundle/server-LLGFDLLJ.js +0 -75
- package/dist/bundle/store-connection-4WI32AYU.js +0 -89
- package/dist/bundle/store-maintenance-command-PCXO5AH4.js +0 -65
- package/dist/bundle/tokens-E2QNVC4F.js +0 -20
- /package/dist/bundle/{chunk-YVNHQFLC.js → chunk-7O7XM37N.js} +0 -0
|
@@ -2,19 +2,19 @@ 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-UYBLNGZ2.js";
|
|
6
6
|
import {
|
|
7
7
|
secretNamed,
|
|
8
8
|
withoutSecrets
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QWGEOQHA.js";
|
|
10
10
|
import {
|
|
11
11
|
isContentKey
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-HNWDEDMU.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.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/runs/events.js
|
|
18
18
|
var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
|
|
19
19
|
var renderEvent = /* @__PURE__ */ __name((event) => {
|
|
20
20
|
if (event.event === "store")
|
|
@@ -66,11 +66,11 @@ var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!
|
|
|
66
66
|
var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
|
|
67
67
|
var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
|
|
68
68
|
|
|
69
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
69
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/runs/run-context.js
|
|
70
70
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
71
71
|
import { createHash } from "node:crypto";
|
|
72
72
|
|
|
73
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
73
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
|
|
74
74
|
import { homedir } from "node:os";
|
|
75
75
|
var MESSAGE_AT_MOST = 500;
|
|
76
76
|
var CAUSES_AT_MOST = 5;
|
|
@@ -157,9 +157,12 @@ var endpointTemplate = /* @__PURE__ */ __name((raw) => {
|
|
|
157
157
|
const origin = /^[a-z][a-z0-9+.-]*:\/\/(?:[^@/]*@)?([^/]*)/i.exec(trimmed);
|
|
158
158
|
const path = origin ? trimmed.slice(origin[0].length) : trimmed;
|
|
159
159
|
const scheme = origin ? `${trimmed.slice(0, trimmed.indexOf("://"))}://${origin[1]}` : "";
|
|
160
|
-
const
|
|
160
|
+
const parts = path.split("/");
|
|
161
|
+
const segments = parts.map((segment, at) => {
|
|
161
162
|
if (segment === "" || /^[:{].+/.test(segment))
|
|
162
163
|
return segment;
|
|
164
|
+
if (at >= 2 && parts[at - 2] === "rest" && /^\d+$/.test(parts[at - 1] ?? ""))
|
|
165
|
+
return ":token";
|
|
163
166
|
if (/^bot\d+:/.test(segment) || /^\d{6,}:[\w-]{20,}$/.test(segment))
|
|
164
167
|
return ":token";
|
|
165
168
|
if (/^-?\d+$/.test(segment) || /^[0-9a-f-]{16,}$/i.test(segment))
|
|
@@ -180,7 +183,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
|
|
|
180
183
|
return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
|
|
181
184
|
}, "redactText");
|
|
182
185
|
|
|
183
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
186
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/runs/run-context.js
|
|
184
187
|
var REDACTED = "[redacted]";
|
|
185
188
|
var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
|
|
186
189
|
if (!record)
|
|
@@ -2,20 +2,20 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
unit
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HAMDPWEZ.js";
|
|
6
6
|
import {
|
|
7
7
|
PLAIN_HTTP_REFUSED,
|
|
8
8
|
modelAddressAllowed,
|
|
9
9
|
onThisComputer
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LQYMN36C.js";
|
|
11
11
|
import {
|
|
12
12
|
readSharedSection,
|
|
13
13
|
sharedConfigPath,
|
|
14
14
|
writeSharedSection
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VPPNYUQM.js";
|
|
16
16
|
import {
|
|
17
17
|
storePath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ERQRY6WZ.js";
|
|
19
19
|
import {
|
|
20
20
|
boolean,
|
|
21
21
|
isoTimestamp,
|
|
@@ -23,18 +23,18 @@ import {
|
|
|
23
23
|
safeParse,
|
|
24
24
|
strictObject,
|
|
25
25
|
string
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-4RJL32PF.js";
|
|
27
27
|
import {
|
|
28
28
|
CliError
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-EA2OB75T.js";
|
|
30
30
|
import {
|
|
31
31
|
__name
|
|
32
32
|
} from "./chunk-ZVVMGPBJ.js";
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
|
|
35
35
|
import { setTimeout } from "node:timers/promises";
|
|
36
36
|
|
|
37
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/models/local-only.js
|
|
38
38
|
var SECTION = "local_only";
|
|
39
39
|
var Setting = strictObject({
|
|
40
40
|
on: boolean(),
|
|
@@ -68,7 +68,7 @@ var refuseModelAddress = /* @__PURE__ */ __name((env, address, what) => {
|
|
|
68
68
|
refuseOffComputer(env, address, what);
|
|
69
69
|
}, "refuseModelAddress");
|
|
70
70
|
|
|
71
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
71
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
|
|
72
72
|
var OPENAI_URL = "https://api.openai.com/v1";
|
|
73
73
|
var OPENAI_MODELS = {
|
|
74
74
|
"text-embedding-3-small": { dims: 1536, perMillion: 0.02 },
|
|
@@ -6,26 +6,23 @@ import {
|
|
|
6
6
|
agentArguments,
|
|
7
7
|
agentJson,
|
|
8
8
|
commandAvailability
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CIUJEQH4.js";
|
|
10
10
|
import {
|
|
11
11
|
callerOf
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import {
|
|
14
|
-
failureContext
|
|
15
|
-
} from "./chunk-KWURWGGB.js";
|
|
12
|
+
} from "./chunk-CQBLPBZU.js";
|
|
16
13
|
import {
|
|
17
14
|
QUERY_ARGUMENT,
|
|
18
15
|
lentConnection,
|
|
19
16
|
refuseLacking
|
|
20
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2BAZRRJP.js";
|
|
18
|
+
import {
|
|
19
|
+
failureContext
|
|
20
|
+
} from "./chunk-2NQPB6MT.js";
|
|
21
21
|
import {
|
|
22
22
|
onlineDeps,
|
|
23
23
|
servicesFor,
|
|
24
24
|
storeModeDeps
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import {
|
|
27
|
-
MAX_BUFFERED_INPUT
|
|
28
|
-
} from "./chunk-EFF2XBHP.js";
|
|
25
|
+
} from "./chunk-OU5OXA6Q.js";
|
|
29
26
|
import {
|
|
30
27
|
DEFAULT_OUTPUT_BYTES,
|
|
31
28
|
ENTITIES,
|
|
@@ -40,36 +37,39 @@ import {
|
|
|
40
37
|
refuseStoreChange,
|
|
41
38
|
sealed,
|
|
42
39
|
startRecording
|
|
43
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-FJMRDRPN.js";
|
|
44
41
|
import {
|
|
45
42
|
currentCaller,
|
|
46
43
|
keepsSuccess,
|
|
47
44
|
runContextOf,
|
|
48
45
|
withCaller
|
|
49
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-ILDGZBZD.js";
|
|
50
47
|
import {
|
|
51
48
|
authorityAllowed,
|
|
52
49
|
botApiAllowed,
|
|
53
50
|
keyForCommand,
|
|
54
51
|
levelFor,
|
|
55
52
|
readKeysForCommand
|
|
56
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-OMLVWOEF.js";
|
|
54
|
+
import {
|
|
55
|
+
MAX_BUFFERED_INPUT
|
|
56
|
+
} from "./chunk-PGPHEC2X.js";
|
|
57
57
|
import {
|
|
58
58
|
enclosingTraceId,
|
|
59
59
|
inRun,
|
|
60
60
|
newRunId,
|
|
61
61
|
traceOf
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-LSVQCI6V.js";
|
|
63
63
|
import {
|
|
64
64
|
storeDamaged
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-UYBLNGZ2.js";
|
|
66
66
|
import {
|
|
67
67
|
queryDescription
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-3HTJBGNP.js";
|
|
69
69
|
import {
|
|
70
70
|
captureStreams,
|
|
71
71
|
traceIdOf
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-HNWDEDMU.js";
|
|
73
73
|
import {
|
|
74
74
|
COMPACT_FLAG,
|
|
75
75
|
SNAKE_CASE,
|
|
@@ -108,25 +108,25 @@ import {
|
|
|
108
108
|
unknown,
|
|
109
109
|
word,
|
|
110
110
|
writes
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-4RJL32PF.js";
|
|
112
112
|
import {
|
|
113
113
|
CliError,
|
|
114
114
|
errorCodes
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-EA2OB75T.js";
|
|
116
116
|
import {
|
|
117
117
|
__name
|
|
118
118
|
} from "./chunk-ZVVMGPBJ.js";
|
|
119
119
|
|
|
120
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
120
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
121
121
|
import { Readable } from "node:stream";
|
|
122
122
|
|
|
123
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
123
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_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
|
|
124
124
|
var LINT_SEVERITIES = ["high", "medium", "low"];
|
|
125
125
|
var lintRuleSchema = strictObject({
|
|
126
126
|
id: word,
|
|
127
127
|
severity: picklist(LINT_SEVERITIES),
|
|
128
128
|
/** What the rule looks at; a violation's target names one of these. */
|
|
129
|
-
scope: picklist(["command", "group", "argument", "option", "flag", "key", "source"]),
|
|
129
|
+
scope: picklist(["command", "group", "argument", "option", "flag", "key", "source", "type"]),
|
|
130
130
|
summary: text
|
|
131
131
|
});
|
|
132
132
|
var defineLintRules = /* @__PURE__ */ __name((input) => parseRegistry("lint rules", array(lintRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineLintRules");
|
|
@@ -164,7 +164,7 @@ var LINT_RULES = defineLintRules([
|
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
166
|
id: "command-example-count",
|
|
167
|
-
severity: "
|
|
167
|
+
severity: "low",
|
|
168
168
|
scope: "command",
|
|
169
169
|
summary: "a leaf command has one to three examples; generated commands are exempt"
|
|
170
170
|
},
|
|
@@ -247,6 +247,12 @@ var LINT_RULES = defineLintRules([
|
|
|
247
247
|
severity: "medium",
|
|
248
248
|
scope: "source",
|
|
249
249
|
summary: "every `http(s)://` host in the CLI's own source is in the manifest's `network.hosts`"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
id: "result-shape",
|
|
253
|
+
severity: "medium",
|
|
254
|
+
scope: "type",
|
|
255
|
+
summary: "a list or search in the published TypeScript API returns `{ items, hasMore, nextOffset?, total? }`: no bare array, no `hits` or `has_more`"
|
|
250
256
|
}
|
|
251
257
|
]);
|
|
252
258
|
var baselineSchema = array(text);
|
|
@@ -260,7 +266,7 @@ var overrideSchema = strictObject({
|
|
|
260
266
|
});
|
|
261
267
|
var overridesSchema = array(overrideSchema);
|
|
262
268
|
|
|
263
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
269
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_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
|
|
264
270
|
var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
|
|
265
271
|
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");
|
|
266
272
|
var AUDIT_RULES = defineAuditRules([
|
|
@@ -305,14 +311,19 @@ var parityGroupSchema = strictObject({
|
|
|
305
311
|
/** Permanent differences, each with its reason; they count against the override budget of the group. */
|
|
306
312
|
differences: array(strictObject({
|
|
307
313
|
rule: word,
|
|
308
|
-
/**
|
|
314
|
+
/**
|
|
315
|
+
* `<clis> <path> <flag>`; with `absent` or `only`, only `<path> <flag>`: the CLI list is whoever else was compared.
|
|
316
|
+
* same-entity-schema and same-error-reason name no CLI list either: `entity hit`, `reason profile.unknown: code`.
|
|
317
|
+
*/
|
|
309
318
|
target: text,
|
|
310
319
|
expected: optional(text),
|
|
311
320
|
/** The CLI that lacks the path or flag by design; the rest must agree, so other CLIs joining do not stale it. */
|
|
312
321
|
absent: optional(word),
|
|
313
322
|
/** The one CLI that has the path or flag by design; every other CLI compared must lack it. */
|
|
314
323
|
only: optional(word),
|
|
315
|
-
reason: pipe(text, minLength(10, "say why, in a sentence"))
|
|
324
|
+
reason: pipe(text, minLength(10, "say why, in a sentence")),
|
|
325
|
+
/** Warns from 14 days before and fails 14 days after, as a lint override does. */
|
|
326
|
+
review_after: optional(pipe(string(), isoDate("a date, YYYY-MM-DD")))
|
|
316
327
|
}))
|
|
317
328
|
});
|
|
318
329
|
var defineParityGroups = /* @__PURE__ */ __name((input) => parseRegistry("parity groups", array(parityGroupSchema), input, (groups) => [
|
|
@@ -341,8 +352,26 @@ var MEMO_DOCTOR_DEEP = {
|
|
|
341
352
|
only: "memo",
|
|
342
353
|
reason: "memo's doctor --deep also checks its own store (cli-memo #672); cli-core's shared doctor leaves --deep to each CLI, and no other CLI has one"
|
|
343
354
|
};
|
|
355
|
+
var review = /* @__PURE__ */ __name((rule, target, reason) => ({ rule, target, reason, review_after: "2026-11-27" }), "review");
|
|
356
|
+
var ENTITY = "same-entity-schema";
|
|
357
|
+
var REASON = "same-error-reason";
|
|
358
|
+
var MESSENGERS_SINCE_0_98 = [
|
|
359
|
+
review(ENTITY, "entity contact_context", "max, tg and wa print it in different schemas (measured 2026-11-13)"),
|
|
360
|
+
review(ENTITY, "entity contact_preparation", "max, tg and wa print it in different schemas (measured 2026-11-13)"),
|
|
361
|
+
review(ENTITY, "entity linked_person", "max, tg and wa print it in different schemas (measured 2026-11-13)")
|
|
362
|
+
];
|
|
363
|
+
var FAMILY_SINCE_0_98 = [
|
|
364
|
+
review(ENTITY, "entity api_method", "b24's schema differs from drive and gcal's (measured 2026-11-13)"),
|
|
365
|
+
review(ENTITY, "entity scheduled_job", "three schemas: b24, mail, memo / gcal / max, tg (measured 2026-11-13)"),
|
|
366
|
+
review(ENTITY, "entity hit", "three schemas: b24, memo, zm / gcal / max, tg, wa (measured 2026-11-13)"),
|
|
367
|
+
review(ENTITY, "entity deal", "b24's CRM deal and memo's differ (measured 2026-11-13)"),
|
|
368
|
+
review(ENTITY, "entity lead", "b24's CRM lead and memo's differ (measured 2026-11-13)"),
|
|
369
|
+
review(ENTITY, "entity product", "b24's CRM product and memo's differ (measured 2026-11-13)"),
|
|
370
|
+
review(REASON, "reason ai.address-refused=model.address-refused", "one failure under two names; cli-core 0.650.0 keeps one"),
|
|
371
|
+
review(REASON, "reason profile.unknown: code", "b24 gives it not_found, drive validation_error (measured 2026-11-13)")
|
|
372
|
+
];
|
|
344
373
|
var PARITY_GROUPS = defineParityGroups([
|
|
345
|
-
{ name: "messengers", members: ["tg", "max"], covers: "tree", differences:
|
|
374
|
+
{ name: "messengers", members: ["tg", "max"], covers: "tree", differences: MESSENGERS_SINCE_0_98 },
|
|
346
375
|
{
|
|
347
376
|
name: "all",
|
|
348
377
|
members: ["tg", "max", "memo", "drive", "zm", "wa"],
|
|
@@ -364,7 +393,7 @@ var PARITY_GROUPS = defineParityGroups([
|
|
|
364
393
|
name: "gcal-shared",
|
|
365
394
|
members: ["tg", "max", "memo", "drive", "zm", "wa", "gcal"],
|
|
366
395
|
covers: ["commands", "upgrade", "notes", "meetings"],
|
|
367
|
-
differences:
|
|
396
|
+
differences: FAMILY_SINCE_0_98
|
|
368
397
|
},
|
|
369
398
|
// bitrix24-cli's search is cli-core's CRM `search all`, and beeline-cli's meetings take call recordings, not
|
|
370
399
|
// zoom-cli's: both are compared on the root commands every CLI shares, the way gcal and mail are on theirs.
|
|
@@ -386,7 +415,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
|
|
|
386
415
|
{ path: ["upgrade"], meaning: "updates the CLI" }
|
|
387
416
|
]);
|
|
388
417
|
|
|
389
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
418
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_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
|
|
390
419
|
var fieldRuleSchema = strictObject({ id: word, rule: text });
|
|
391
420
|
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");
|
|
392
421
|
var FIELD_RULES = defineFieldRules([
|
|
@@ -402,7 +431,7 @@ var FIELD_RULES = defineFieldRules([
|
|
|
402
431
|
}
|
|
403
432
|
]);
|
|
404
433
|
|
|
405
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
434
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_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
|
|
406
435
|
var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
|
|
407
436
|
var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
|
|
408
437
|
var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
|
|
@@ -424,7 +453,44 @@ var IDENTIFIERS = defineIdentifiers([
|
|
|
424
453
|
{ key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
|
|
425
454
|
]);
|
|
426
455
|
|
|
427
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
456
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-account.js
|
|
457
|
+
var ACCOUNT_FLAGS = [
|
|
458
|
+
{
|
|
459
|
+
name: "--client-id",
|
|
460
|
+
value: "<id>",
|
|
461
|
+
role: "mode",
|
|
462
|
+
type: "id",
|
|
463
|
+
meaning: "sign in through the owner's own OAuth app with this client ID instead of WireCat's (WC-SECR-25)"
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
name: "--client-file",
|
|
467
|
+
value: "<file>",
|
|
468
|
+
role: "mode",
|
|
469
|
+
type: "path",
|
|
470
|
+
meaning: "sign in through the owner's own OAuth app read from this client JSON instead of WireCat's (WC-SECR-25)"
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
name: "--keep-data",
|
|
474
|
+
role: "mode",
|
|
475
|
+
type: "switch",
|
|
476
|
+
meaning: "remove the account but leave what the store holds of it, still searchable"
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
name: "--delete-data",
|
|
480
|
+
role: "mode",
|
|
481
|
+
type: "switch",
|
|
482
|
+
meaning: "remove the account and delete what the store and the tool's files hold of it"
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
name: "--answer-stdin",
|
|
486
|
+
role: "mode",
|
|
487
|
+
type: "switch",
|
|
488
|
+
meaning: "a sign-in step asks its question as a JSON line and reads the answer from stdin"
|
|
489
|
+
},
|
|
490
|
+
{ name: "--hide-phone", role: "output", type: "switch", meaning: "leave the phone number out of the answer" }
|
|
491
|
+
];
|
|
492
|
+
|
|
493
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_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
|
|
428
494
|
var CALENDAR_FLAGS = [
|
|
429
495
|
{ name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
|
|
430
496
|
{
|
|
@@ -498,7 +564,7 @@ var CALENDAR_FLAGS = [
|
|
|
498
564
|
}
|
|
499
565
|
];
|
|
500
566
|
|
|
501
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
567
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_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
|
|
502
568
|
var CRM_FLAGS = [
|
|
503
569
|
{
|
|
504
570
|
name: "--pipeline",
|
|
@@ -648,7 +714,7 @@ var CRM_FLAGS = [
|
|
|
648
714
|
}
|
|
649
715
|
];
|
|
650
716
|
|
|
651
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
717
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_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
|
|
652
718
|
var HOW_FLAGS = [
|
|
653
719
|
{
|
|
654
720
|
name: "--limit",
|
|
@@ -875,7 +941,6 @@ var HOW_FLAGS = [
|
|
|
875
941
|
meaning: "expose meeting preparation tools, including their remote schedule reads"
|
|
876
942
|
},
|
|
877
943
|
{ name: "--dry-run", role: "mode", type: "switch", meaning: "judge and plan; do nothing", replaces: ["--estimate"] },
|
|
878
|
-
{ name: "--accept-terms", role: "mode", type: "switch", meaning: "accept the model's licence terms" },
|
|
879
944
|
{
|
|
880
945
|
name: "--as-owner",
|
|
881
946
|
role: "mode",
|
|
@@ -1646,8 +1711,14 @@ var HOW_FLAGS = [
|
|
|
1646
1711
|
}
|
|
1647
1712
|
];
|
|
1648
1713
|
|
|
1649
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1714
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-knowledge.js
|
|
1650
1715
|
var KNOWLEDGE_FLAGS = [
|
|
1716
|
+
{
|
|
1717
|
+
name: "--accept-terms",
|
|
1718
|
+
role: "mode",
|
|
1719
|
+
type: "switch",
|
|
1720
|
+
meaning: "no longer needed; kept so older scripts still run"
|
|
1721
|
+
},
|
|
1651
1722
|
{
|
|
1652
1723
|
name: "--quote",
|
|
1653
1724
|
value: "<ref=words...>",
|
|
@@ -1678,7 +1749,7 @@ var KNOWLEDGE_FLAGS = [
|
|
|
1678
1749
|
}
|
|
1679
1750
|
];
|
|
1680
1751
|
|
|
1681
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1752
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_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
|
|
1682
1753
|
var MAIL_FLAGS = [
|
|
1683
1754
|
{
|
|
1684
1755
|
name: "--cc",
|
|
@@ -1708,7 +1779,7 @@ var MAIL_FLAGS = [
|
|
|
1708
1779
|
}
|
|
1709
1780
|
];
|
|
1710
1781
|
|
|
1711
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1782
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_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
|
|
1712
1783
|
var PRIVACY_FLAGS = [
|
|
1713
1784
|
{
|
|
1714
1785
|
name: "--about-text",
|
|
@@ -1769,7 +1840,7 @@ var PRIVACY_FLAGS = [
|
|
|
1769
1840
|
{ name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
|
|
1770
1841
|
];
|
|
1771
1842
|
|
|
1772
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1843
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_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
|
|
1773
1844
|
var SCHEDULE_FLAGS = [
|
|
1774
1845
|
{
|
|
1775
1846
|
name: "--locale",
|
|
@@ -1802,7 +1873,7 @@ var SCHEDULE_FLAGS = [
|
|
|
1802
1873
|
}
|
|
1803
1874
|
];
|
|
1804
1875
|
|
|
1805
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1876
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_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
|
|
1806
1877
|
var WHAT_FLAGS = [
|
|
1807
1878
|
{
|
|
1808
1879
|
name: "--analysis-provider",
|
|
@@ -2118,6 +2189,13 @@ var WHAT_FLAGS = [
|
|
|
2118
2189
|
type: "list",
|
|
2119
2190
|
meaning: "the agents to install for, comma-separated"
|
|
2120
2191
|
},
|
|
2192
|
+
{
|
|
2193
|
+
name: "--from",
|
|
2194
|
+
value: "<person>",
|
|
2195
|
+
role: "target",
|
|
2196
|
+
type: "id",
|
|
2197
|
+
meaning: "a person: the one identities leave, or the one who sent it; a search takes it repeated for any of several"
|
|
2198
|
+
},
|
|
2121
2199
|
{
|
|
2122
2200
|
name: "--from-dir",
|
|
2123
2201
|
value: "<dir>",
|
|
@@ -2792,7 +2870,7 @@ var WHAT_FLAGS = [
|
|
|
2792
2870
|
}
|
|
2793
2871
|
];
|
|
2794
2872
|
|
|
2795
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2873
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.99.0_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
|
|
2796
2874
|
var FLAG_TYPES = [
|
|
2797
2875
|
"switch",
|
|
2798
2876
|
"count",
|
|
@@ -2946,6 +3024,7 @@ var verbs = [
|
|
|
2946
3024
|
"look at a source before taking anything from it: a chat link without joining, a mailbox without importing"
|
|
2947
3025
|
],
|
|
2948
3026
|
["send", "send a message"],
|
|
3027
|
+
["call", "call one provider API method by its own name, generated from the provider's method list"],
|
|
2949
3028
|
["edit", "change a sent message"],
|
|
2950
3029
|
["forward", "send an existing message on to another chat"],
|
|
2951
3030
|
["pin", "pin a message or chat"],
|
|
@@ -3152,6 +3231,7 @@ var views = [
|
|
|
3152
3231
|
["categories", "the categories a thing takes, with what each means"],
|
|
3153
3232
|
["domains", "the internet domains links point to, most linked first"],
|
|
3154
3233
|
["places", "the street addresses confirmed as places, most mentioned first"],
|
|
3234
|
+
["mentions", "the people and organizations named in a selected thing's text"],
|
|
3155
3235
|
["comments", "replies attached to a selected source item"],
|
|
3156
3236
|
["links", "links held for a selected thing"],
|
|
3157
3237
|
["voters", "people whose recorded votes are visible for a selected poll"],
|
|
@@ -3200,6 +3280,7 @@ var VOCABULARY = defineVocabulary({
|
|
|
3200
3280
|
...HOW_FLAGS,
|
|
3201
3281
|
...WHAT_FLAGS,
|
|
3202
3282
|
...PRIVACY_FLAGS,
|
|
3283
|
+
...ACCOUNT_FLAGS,
|
|
3203
3284
|
...CALENDAR_FLAGS,
|
|
3204
3285
|
...MAIL_FLAGS,
|
|
3205
3286
|
...KNOWLEDGE_FLAGS,
|
|
@@ -3208,7 +3289,7 @@ var VOCABULARY = defineVocabulary({
|
|
|
3208
3289
|
]
|
|
3209
3290
|
});
|
|
3210
3291
|
|
|
3211
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3292
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
3212
3293
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
3213
3294
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
3214
3295
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -3322,12 +3403,12 @@ var keywordsOf = /* @__PURE__ */ __name((examples) => [
|
|
|
3322
3403
|
...new Set(examples.flatMap((example) => example.split(/\s+/u).filter((word2) => word2 !== "" && !word2.startsWith("-"))))
|
|
3323
3404
|
], "keywordsOf");
|
|
3324
3405
|
var toolsFromCommands = /* @__PURE__ */ __name((commands, options = {}) => {
|
|
3325
|
-
const { root = [], exclude = [], levels, keyOf, authority, readOnly = false, permissions } = options;
|
|
3406
|
+
const { root = [], exclude = [], levels, keyOf, authority, readOnly = false, permissions, fetches } = options;
|
|
3326
3407
|
return flatten(commands).filter((info) => (
|
|
3327
3408
|
// A group is offered only when it runs on its own; without an action it only prints its help.
|
|
3328
|
-
(info.commands.length === 0 || info.runnable === true) && info.path.length > root.length && startsWith(info.path, root) && !exclude.some((skipped) => startsWith(info.path.slice(root.length), skipped)) && info.mcp !== false && info.lifetime === void 0 && (options.includeUnavailable === true || !(readOnly && (changesMessenger(info) || authority?.(info.path))) && (levels === void 0 && !(readOnly && permissions) ? true : commandAvailability(info, levels ?? {}, keyOf, authority, readOnly, true, permissions).available))
|
|
3409
|
+
(info.commands.length === 0 || info.runnable === true) && info.path.length > root.length && startsWith(info.path, root) && !exclude.some((skipped) => startsWith(info.path.slice(root.length), skipped)) && info.mcp !== false && info.lifetime === void 0 && (options.includeUnavailable === true || !(readOnly && (changesMessenger(info) || authority?.(info.path))) && (levels === void 0 && !(readOnly && permissions) ? true : commandAvailability(info, levels ?? {}, keyOf, authority, readOnly, true, permissions, fetches).available))
|
|
3329
3410
|
)).map((info) => ({
|
|
3330
|
-
availability: /* @__PURE__ */ __name(() => commandAvailability(info, options.currentLevels?.() ?? levels ?? {}, keyOf, authority, readOnly, true, permissions), "availability"),
|
|
3411
|
+
availability: /* @__PURE__ */ __name(() => commandAvailability(info, options.currentLevels?.() ?? levels ?? {}, keyOf, authority, readOnly, true, permissions, fetches), "availability"),
|
|
3331
3412
|
command: info.path.slice(root.length).join(" "),
|
|
3332
3413
|
path: info.path,
|
|
3333
3414
|
title: info.summary ?? info.description,
|
|
@@ -3370,7 +3451,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
|
|
|
3370
3451
|
if (info.lifetime)
|
|
3371
3452
|
throw new CliError("validation_error", `"${path.join(" ")}" runs until it is stopped; an agent call must return`);
|
|
3372
3453
|
const levels = ctx.levels?.();
|
|
3373
|
-
const availability = (levels || ctx.readOnly || ctx.permissions) && commandAvailability(info, levels ?? {}, ctx.keyOf, ctx.authority, ctx.readOnly, true, ctx.permissions);
|
|
3454
|
+
const availability = (levels || ctx.readOnly || ctx.permissions) && commandAvailability(info, levels ?? {}, ctx.keyOf, ctx.authority, ctx.readOnly, true, ctx.permissions, ctx.fetches);
|
|
3374
3455
|
if (availability && !availability.available)
|
|
3375
3456
|
throw new CliError("permission_error", `${path.join(" ")}: ${availability.reason}`, {
|
|
3376
3457
|
sent: false,
|
|
@@ -3435,7 +3516,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
|
|
|
3435
3516
|
}
|
|
3436
3517
|
}, "runCommandForAgent");
|
|
3437
3518
|
|
|
3438
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3519
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/tool.js
|
|
3439
3520
|
var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
|
|
3440
3521
|
var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
|
|
3441
3522
|
var message = pipe(
|
|
@@ -3694,7 +3775,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
|
|
|
3694
3775
|
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
|
|
3695
3776
|
}, "failed");
|
|
3696
3777
|
|
|
3697
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3778
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/surface.js
|
|
3698
3779
|
import { randomUUID } from "node:crypto";
|
|
3699
3780
|
var MATCHES = 8;
|
|
3700
3781
|
var ANSWER = answerSchema();
|