@wirecat/drive-cli 0.54.0 → 0.54.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/drive.js +2 -2
- package/dist/bundle/{all-profiles-LFIPUPZI.js → all-profiles-I5KJKZPF.js} +9 -9
- package/dist/bundle/{anthropic-G5ZRRWG4.js → anthropic-DPM7BRKX.js} +5 -5
- package/dist/bundle/{app-server-UVWATOQC.js → app-server-FTGLOZ2K.js} +46 -46
- package/dist/bundle/{bun-DNEFTPTR.js → bun-XRO6XJHQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-FWBYHIXB.js → bun-sqlite-7JJX6OUT.js} +4 -4
- package/dist/bundle/{chunk-2HWOGSTA.js → chunk-2DZMGPUC.js} +25 -25
- package/dist/bundle/{chunk-VCGQMTHW.js → chunk-2KARCTUU.js} +255 -255
- package/dist/bundle/{chunk-AAHIBA36.js → chunk-2LLNPNMB.js} +1 -1
- package/dist/bundle/{chunk-5WQN2TUM.js → chunk-2OGANEKA.js} +1 -1
- package/dist/bundle/{chunk-KIQIF5M7.js → chunk-3K4H2DTA.js} +2 -2
- package/dist/bundle/{chunk-Q46JLJ5O.js → chunk-4I7EBJJV.js} +6 -6
- package/dist/bundle/{chunk-W5SYBHRX.js → chunk-4LZFESHQ.js} +4 -2
- package/dist/bundle/{chunk-WYDYSQ7T.js → chunk-4XRLPQ3N.js} +2 -2
- package/dist/bundle/{chunk-FHW4ENRF.js → chunk-5DEEBWDI.js} +32 -32
- package/dist/bundle/{chunk-6SOQJRGI.js → chunk-67A2YFAT.js} +4 -4
- package/dist/bundle/{chunk-P7E7K467.js → chunk-7GJBKGRZ.js} +3 -3
- package/dist/bundle/{chunk-7WCZ2OZ5.js → chunk-7MVKSPEG.js} +6 -6
- package/dist/bundle/{chunk-ZMMOVTUB.js → chunk-ALMQEGYO.js} +2 -2
- package/dist/bundle/{chunk-OYGEBFFO.js → chunk-AQNY57J2.js} +7 -7
- package/dist/bundle/{chunk-WSX5UQNT.js → chunk-AR2HRFQO.js} +2 -2
- package/dist/bundle/{chunk-4RDXCE45.js → chunk-BO7ZKZCH.js} +38 -38
- package/dist/bundle/{chunk-UBJX5D2O.js → chunk-C4QKY33N.js} +2 -2
- package/dist/bundle/{chunk-5LNOVPOR.js → chunk-DNJ43DT5.js} +2 -2
- package/dist/bundle/{chunk-VKYCMXEQ.js → chunk-E7RDXCV2.js} +5 -5
- package/dist/bundle/{chunk-6MGSFYGL.js → chunk-EOEDICIE.js} +1 -1
- package/dist/bundle/{chunk-NDWWGBSM.js → chunk-FDCGTODC.js} +1 -1
- package/dist/bundle/{chunk-CVALO727.js → chunk-FDM3JMQZ.js} +24 -24
- package/dist/bundle/{chunk-IOMSC4ZG.js → chunk-FKHWVVMV.js} +3 -3
- package/dist/bundle/{chunk-MATUQFYL.js → chunk-FNDQFFLP.js} +11 -11
- package/dist/bundle/{chunk-75DSLCPC.js → chunk-FUKJQZED.js} +1 -1
- package/dist/bundle/{chunk-2CQT2WWN.js → chunk-GB5YM5HK.js} +5 -5
- package/dist/bundle/{chunk-O6YYFVDD.js → chunk-GC4JNVYF.js} +36 -25
- package/dist/bundle/{chunk-L3RV42O3.js → chunk-GIRVMZD3.js} +16 -16
- package/dist/bundle/{chunk-IKODUUQG.js → chunk-HNR2BJJU.js} +16 -16
- package/dist/bundle/{chunk-WJRE45Z6.js → chunk-IDK5QUBJ.js} +4 -4
- package/dist/bundle/{chunk-6RAEXK7Y.js → chunk-IXXVCKWL.js} +26 -26
- package/dist/bundle/{chunk-LQXLWHKM.js → chunk-J6XLM4QW.js} +9 -9
- package/dist/bundle/{chunk-AACQA2CO.js → chunk-JBBZCTTF.js} +1 -1
- package/dist/bundle/{chunk-2MSJVFAS.js → chunk-JPFF6MNK.js} +8 -8
- package/dist/bundle/{chunk-IBRXVPBI.js → chunk-K2DMCTTF.js} +95 -95
- package/dist/bundle/{chunk-2NWFZ43Q.js → chunk-KM7Q67Z3.js} +1 -1
- package/dist/bundle/{chunk-QUJCD5U7.js → chunk-KWKRTYRL.js} +4 -4
- package/dist/bundle/{chunk-WQPTZHHR.js → chunk-KXWJT72E.js} +11 -11
- package/dist/bundle/{chunk-2Q3S47BC.js → chunk-LAVWTS4P.js} +195 -195
- package/dist/bundle/{chunk-2D6AAGBP.js → chunk-N4VNUOOD.js} +18 -18
- package/dist/bundle/{chunk-KT5G3KVS.js → chunk-NCCL4QWR.js} +3 -3
- package/dist/bundle/{chunk-U3BOQ63L.js → chunk-NDG6LHX7.js} +8 -8
- package/dist/bundle/{chunk-BWBVBW5T.js → chunk-NDUYK676.js} +8 -8
- package/dist/bundle/{chunk-PU4GANCD.js → chunk-NFOUG7ES.js} +2 -2
- package/dist/bundle/{chunk-RWEFKLXJ.js → chunk-NPKFXGYG.js} +18 -18
- package/dist/bundle/{chunk-RIYXQFKU.js → chunk-NPMVPKBD.js} +46 -46
- package/dist/bundle/{chunk-2HQPJ366.js → chunk-ORRQDSDH.js} +3 -3
- package/dist/bundle/{chunk-76JIVDKC.js → chunk-P4ABC6C4.js} +2 -2
- package/dist/bundle/{chunk-YOHOQ6ZR.js → chunk-PFTIYWOK.js} +4 -4
- package/dist/bundle/{chunk-WGSTTWM5.js → chunk-RMQGFLT2.js} +6 -6
- package/dist/bundle/{chunk-JKEAZBEZ.js → chunk-TBD362SJ.js} +7 -7
- package/dist/bundle/{chunk-YZ5VMR2S.js → chunk-TD4RAOMZ.js} +3 -3
- package/dist/bundle/{chunk-QKHFQHE7.js → chunk-TIEEVT2Z.js} +1 -1
- package/dist/bundle/{chunk-7XU3TR7K.js → chunk-TIVC4DB5.js} +2 -2
- package/dist/bundle/{chunk-VX4RAT3A.js → chunk-TQFCPUIM.js} +1 -1
- package/dist/bundle/{chunk-47MEPBWG.js → chunk-UDWMRZL6.js} +21 -21
- package/dist/bundle/{chunk-NHDSJMAR.js → chunk-UIPT6IAU.js} +1 -1
- package/dist/bundle/{chunk-XCUUYQN7.js → chunk-ULPS2OAL.js} +4 -4
- package/dist/bundle/{chunk-A4FTLORC.js → chunk-VGTDXEYD.js} +12 -12
- package/dist/bundle/{chunk-SBOTSSYV.js → chunk-VVMCGF5X.js} +250 -250
- package/dist/bundle/{chunk-MULPNGM2.js → chunk-VXZULAWV.js} +10 -10
- package/dist/bundle/{chunk-5BPOAHVD.js → chunk-VY2AUZMJ.js} +2 -2
- package/dist/bundle/{chunk-PKNTBZXN.js → chunk-VY3TYRCK.js} +51 -51
- package/dist/bundle/{chunk-HAHARAJD.js → chunk-W6DMCGMK.js} +22 -22
- package/dist/bundle/{chunk-N4OO3SPQ.js → chunk-XTNEYXAQ.js} +5 -5
- package/dist/bundle/{chunk-2FFXRWI2.js → chunk-YP5FDMTG.js} +2 -2
- package/dist/bundle/command-contract-VXLGE6NV.js +35 -0
- package/dist/bundle/{decode-DN2DDFET.js → decode-3LX3BLZM.js} +4 -4
- package/dist/bundle/drive.js +6 -6
- package/dist/bundle/{echarts-VMHZ2UYP.js → echarts-YNGCOYHW.js} +2 -2
- package/dist/bundle/{embed-MDN7R7BA.js → embed-FICTRZJL.js} +5 -5
- package/dist/bundle/{embedder-KEVEDNDJ.js → embedder-DSMRCRSH.js} +8 -8
- package/dist/bundle/{entry-HTNK5TJQ.js → entry-4ZX3BNXK.js} +6 -6
- package/dist/bundle/{first-run-QNMCMP67.js → first-run-GRBQ3SQ5.js} +9 -9
- package/dist/bundle/first-screen-JK3MZVCU.js +33 -0
- package/dist/bundle/{google-QAKMV57Q.js → google-QV2B2KZA.js} +9 -9
- package/dist/bundle/{google-api-UJJS7ECO.js → google-api-EVO7F3WB.js} +51 -51
- package/dist/bundle/grants-VJDGD3BG.js +98 -0
- package/dist/bundle/identity-25CTQZS3.js +14 -0
- package/dist/bundle/{instructions-IWLHCDC7.js → instructions-GJHHFV64.js} +1 -1
- package/dist/bundle/{login-GIZXEN7I.js → login-54G4F4EP.js} +57 -57
- package/dist/bundle/{mcp-RUYPQVYS.js → mcp-EMNFFY4N.js} +2 -2
- package/dist/bundle/{node-25IJLDBZ.js → node-GFOH6FKP.js} +2 -2
- package/dist/bundle/{node-sqlite-DYR4FEI4.js → node-sqlite-NZIBED3C.js} +4 -4
- package/dist/bundle/{oauth-FLHXEDDY.js → oauth-WUHT2JII.js} +6 -6
- package/dist/bundle/{open-FWDZB7KX.js → open-INBNHORD.js} +3 -3
- package/dist/bundle/{openai-HB7UGKPW.js → openai-BMREUGJP.js} +13 -13
- package/dist/bundle/{process-P6TW37HQ.js → process-XVDX4SPD.js} +1 -1
- package/dist/bundle/{program-DVUNLXXS.js → program-5OBA53CL.js} +75 -75
- package/dist/bundle/{prompt-MKWMYO3B.js → prompt-S7GHCPGR.js} +4 -4
- package/dist/bundle/{reasons-25BEO2NE.js → reasons-T24V3AYS.js} +3 -3
- package/dist/bundle/{recognize-VXGNPROM.js → recognize-T3DABMW5.js} +3 -3
- package/dist/bundle/{remote-H5ZWLJHR.js → remote-ASYGFT6E.js} +6 -6
- package/dist/bundle/{rerank-5A3JDK7O.js → rerank-BQ5U252K.js} +6 -6
- package/dist/bundle/{serve-QNPNEZVR.js → serve-JMLNKCUZ.js} +8 -8
- package/dist/bundle/{server-GWBVIRLY.js → server-5E6RC7GZ.js} +38 -38
- package/dist/bundle/server-QI4C3CQT.js +63 -0
- package/dist/bundle/{services-PFXEWHJG.js → services-NFB3XSON.js} +25 -25
- package/dist/bundle/{sqlite-runtime-RGFISYXM.js → sqlite-runtime-TAMYMQFR.js} +4 -4
- package/dist/bundle/{state-BUSX5BXF.js → state-DS4G3ZXV.js} +5 -5
- package/dist/bundle/{store-FIEE5HHG.js → store-HAS2LRFE.js} +14 -14
- package/dist/bundle/{store-HFF5KQ44.js → store-MLMKYJLC.js} +12 -12
- package/dist/bundle/store-maintenance-command-LI3JR22B.js +52 -0
- package/dist/bundle/tokens-AJF2D5TA.js +96 -0
- package/dist/commands/upgrade.d.ts.map +1 -1
- package/dist/commands/upgrade.js +1 -1
- package/dist/commands/upgrade.js.map +1 -1
- package/dist/identity.d.ts +1 -0
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +1 -0
- package/dist/identity.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +2 -1
- package/dist/program.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/command-contract-VZ3ZJLEF.js +0 -35
- package/dist/bundle/first-screen-RQBEHUQC.js +0 -33
- package/dist/bundle/grants-VMPKFEC2.js +0 -98
- package/dist/bundle/identity-UODE3QAL.js +0 -12
- package/dist/bundle/server-QJU3HEGM.js +0 -63
- package/dist/bundle/store-maintenance-command-Z4SPEQUM.js +0 -52
- package/dist/bundle/tokens-B6MUZRFM.js +0 -96
- /package/dist/bundle/{chunk-HEA3XVAJ.js → chunk-NPGVOZVK.js} +0 -0
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
safeParse,
|
|
15
15
|
stepOf,
|
|
16
16
|
writes
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-TBD362SJ.js";
|
|
18
18
|
import {
|
|
19
19
|
__commonJS,
|
|
20
20
|
__name,
|
|
@@ -1887,7 +1887,7 @@ var require_cli_table3 = __commonJS({
|
|
|
1887
1887
|
}
|
|
1888
1888
|
});
|
|
1889
1889
|
|
|
1890
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.68.
|
|
1890
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/exit-codes.js
|
|
1891
1891
|
var EXIT_CODES = {
|
|
1892
1892
|
validation_error: 2,
|
|
1893
1893
|
configuration_error: 3,
|
|
@@ -1907,7 +1907,7 @@ var EXIT_CODES = {
|
|
|
1907
1907
|
var exitCodeFor = /* @__PURE__ */ __name((code) => EXIT_CODES[code], "exitCodeFor");
|
|
1908
1908
|
var GENERIC_FAILURE = 1;
|
|
1909
1909
|
|
|
1910
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.68.
|
|
1910
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/sanitize.js
|
|
1911
1911
|
var CONTROL = (
|
|
1912
1912
|
// biome-ignore lint/suspicious/noControlCharactersInRegex: matching them is the whole point
|
|
1913
1913
|
/[\u0000-\u0008\u000B-\u001F\u007F-\u009F\u200B\u200E\u200F\u202A-\u202E\u2066-\u2069\uFEFF\u{E0000}-\u{E007F}]/gu
|
|
@@ -1931,7 +1931,7 @@ var visibleControls = /* @__PURE__ */ __name((text) => {
|
|
|
1931
1931
|
}, "visibleControls");
|
|
1932
1932
|
var singleLine = /* @__PURE__ */ __name((text) => visibleControls(text).replace(LINE_BREAKS, escaped), "singleLine");
|
|
1933
1933
|
|
|
1934
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.68.
|
|
1934
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/failure.js
|
|
1935
1935
|
var recognise = /* @__PURE__ */ __name((failure) => {
|
|
1936
1936
|
if (isCliError(failure))
|
|
1937
1937
|
return failure;
|
|
@@ -2078,7 +2078,7 @@ var catchCrashes = /* @__PURE__ */ __name((options) => {
|
|
|
2078
2078
|
};
|
|
2079
2079
|
}, "catchCrashes");
|
|
2080
2080
|
|
|
2081
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.68.
|
|
2081
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/keyring.js
|
|
2082
2082
|
import { createRequire } from "node:module";
|
|
2083
2083
|
var ENTRY_OPTIONS = { linux: { store: "secret-service" } };
|
|
2084
2084
|
var require2 = createRequire(new URL("keyring.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
@@ -2098,7 +2098,7 @@ var systemKeyring = {
|
|
|
2098
2098
|
delete: /* @__PURE__ */ __name((service, account) => entry(service, account).deletePassword(), "delete")
|
|
2099
2099
|
};
|
|
2100
2100
|
|
|
2101
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.68.
|
|
2101
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/paths.js
|
|
2102
2102
|
import { homedir, userInfo } from "node:os";
|
|
2103
2103
|
import { join, posix, win32 } from "node:path";
|
|
2104
2104
|
var PATH_KINDS = ["config", "state", "cache"];
|
|
@@ -2150,11 +2150,11 @@ var homeIsMoved = /* @__PURE__ */ __name(({ env = process.env, platform = proces
|
|
|
2150
2150
|
var isMovedRun = /* @__PURE__ */ __name((options) => pathsAreOverridden(options) || homeIsMoved(options), "isMovedRun");
|
|
2151
2151
|
var configFilePath = /* @__PURE__ */ __name((configDir, fileName = "config.json") => join(configDir, fileName), "configFilePath");
|
|
2152
2152
|
|
|
2153
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.68.
|
|
2153
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
|
|
2154
2154
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
2155
2155
|
import { join as join3, resolve } from "node:path";
|
|
2156
2156
|
|
|
2157
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.68.
|
|
2157
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/config.js
|
|
2158
2158
|
import { randomBytes } from "node:crypto";
|
|
2159
2159
|
import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
2160
2160
|
import { dirname, join as join2 } from "node:path";
|
|
@@ -2198,7 +2198,7 @@ var saveConfigFile = /* @__PURE__ */ __name((path, config) => {
|
|
|
2198
2198
|
`, 384);
|
|
2199
2199
|
}, "saveConfigFile");
|
|
2200
2200
|
|
|
2201
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.68.
|
|
2201
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
|
|
2202
2202
|
var keyringService = /* @__PURE__ */ __name((service, _configDir, _isolated) => service, "keyringService");
|
|
2203
2203
|
var movedRunService = /* @__PURE__ */ __name((service, configDir) => `${service}:${resolve(configDir)}`, "movedRunService");
|
|
2204
2204
|
var warnedRuns = /* @__PURE__ */ new WeakSet();
|
|
@@ -2334,7 +2334,7 @@ var Credentials = class {
|
|
|
2334
2334
|
}
|
|
2335
2335
|
};
|
|
2336
2336
|
|
|
2337
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.68.
|
|
2337
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/drain.js
|
|
2338
2338
|
var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
2339
2339
|
if (signal?.aborted)
|
|
2340
2340
|
return Promise.reject(signal.reason);
|
|
@@ -2362,7 +2362,7 @@ var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
|
2362
2362
|
});
|
|
2363
2363
|
}, "waitForDrain");
|
|
2364
2364
|
|
|
2365
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.68.
|
|
2365
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/streams.js
|
|
2366
2366
|
var processStreams = {
|
|
2367
2367
|
drain: /* @__PURE__ */ __name(async (signal) => {
|
|
2368
2368
|
await Promise.all([waitForDrain(process.stdout, signal), waitForDrain(process.stderr, signal)]);
|
|
@@ -2391,7 +2391,7 @@ var captureStreams = /* @__PURE__ */ __name(() => {
|
|
|
2391
2391
|
};
|
|
2392
2392
|
}, "captureStreams");
|
|
2393
2393
|
|
|
2394
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.68.
|
|
2394
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/retry.js
|
|
2395
2395
|
var DEFAULT_RETRY = {
|
|
2396
2396
|
retries: 1,
|
|
2397
2397
|
baseDelayMs: 250,
|
|
@@ -2403,7 +2403,7 @@ var backoffMs = /* @__PURE__ */ __name((attempt, config, random) => {
|
|
|
2403
2403
|
return Math.round(random() * ceiling);
|
|
2404
2404
|
}, "backoffMs");
|
|
2405
2405
|
|
|
2406
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.68.
|
|
2406
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/result-fields.js
|
|
2407
2407
|
var forbidden = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
|
|
2408
2408
|
var validate = /* @__PURE__ */ __name((paths) => {
|
|
2409
2409
|
if (paths.length === 0 || paths.length > 128 || paths.some((path) => path.length > 256 || !/^[A-Za-z][A-Za-z0-9_]*(?:\.[A-Za-z][A-Za-z0-9_]*)*$/.test(path) || path.split(".").some((part) => forbidden.has(part))))
|
|
@@ -2468,7 +2468,7 @@ var projectFields = /* @__PURE__ */ __name((value, fields) => {
|
|
|
2468
2468
|
return project(value, fields);
|
|
2469
2469
|
}, "projectFields");
|
|
2470
2470
|
|
|
2471
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.68.
|
|
2471
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/batch.js
|
|
2472
2472
|
var BATCH_LIMITS = Object.freeze({
|
|
2473
2473
|
requests: 32,
|
|
2474
2474
|
input_bytes: 262144,
|
|
@@ -2595,7 +2595,7 @@ var runBatch = /* @__PURE__ */ __name(async (requests, options = {}) => {
|
|
|
2595
2595
|
};
|
|
2596
2596
|
}, "runBatch");
|
|
2597
2597
|
|
|
2598
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.68.
|
|
2598
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/time.js
|
|
2599
2599
|
var abortError = /* @__PURE__ */ __name(() => new DOMException("The operation was aborted.", "AbortError"), "abortError");
|
|
2600
2600
|
var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, reject) => {
|
|
2601
2601
|
if (signal?.aborted) {
|
|
@@ -2609,7 +2609,7 @@ var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, re
|
|
|
2609
2609
|
}, { once: true });
|
|
2610
2610
|
}), "realSleep");
|
|
2611
2611
|
|
|
2612
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.68.
|
|
2612
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
|
|
2613
2613
|
import { appendFileSync } from "node:fs";
|
|
2614
2614
|
var REDACTED_FIELDS = [
|
|
2615
2615
|
"authorization",
|
|
@@ -2704,7 +2704,7 @@ var silent = {
|
|
|
2704
2704
|
}, "error")
|
|
2705
2705
|
};
|
|
2706
2706
|
|
|
2707
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.68.
|
|
2707
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/pretty.js
|
|
2708
2708
|
var import_cli_table3 = __toESM(require_cli_table3(), 1);
|
|
2709
2709
|
import { styleText } from "node:util";
|
|
2710
2710
|
var renderPretty = /* @__PURE__ */ __name((value, options) => {
|
|
@@ -2778,7 +2778,7 @@ var BORDERLESS = {
|
|
|
2778
2778
|
middle: ""
|
|
2779
2779
|
};
|
|
2780
2780
|
|
|
2781
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.68.
|
|
2781
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/renderer.js
|
|
2782
2782
|
var createRenderer = /* @__PURE__ */ __name(({ format, color, streams = processStreams, quiet = false }) => {
|
|
2783
2783
|
const mark = /* @__PURE__ */ __name((symbol, message) => format === "pretty" ? `${symbol} ${visibleControls(message)}` : visibleControls(message), "mark");
|
|
2784
2784
|
const say = /* @__PURE__ */ __name((symbol) => (message) => {
|
|
@@ -2,16 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
alive
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KM7Q67Z3.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths,
|
|
8
8
|
writeSecurely
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-N4VNUOOD.js";
|
|
10
10
|
import {
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
14
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/background/lock.js
|
|
15
15
|
import { existsSync, linkSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
16
16
|
import { dirname, join } from "node:path";
|
|
17
17
|
var lockPath = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "serve", `${profile}.lock`), "lockPath");
|
|
@@ -2,31 +2,31 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
operations
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2KARCTUU.js";
|
|
6
6
|
import {
|
|
7
7
|
DRIVE_APP
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4LZFESHQ.js";
|
|
9
9
|
import {
|
|
10
10
|
commandPathKey,
|
|
11
11
|
commandPermissions
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2DZMGPUC.js";
|
|
13
13
|
import {
|
|
14
14
|
AI_ENTRIES,
|
|
15
15
|
checkConfigText,
|
|
16
16
|
issueMessage,
|
|
17
17
|
settingsFor,
|
|
18
18
|
usableProfileName
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-BO7ZKZCH.js";
|
|
20
20
|
import {
|
|
21
21
|
LEVELS
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-W6DMCGMK.js";
|
|
23
23
|
import {
|
|
24
24
|
MAX_TEXT_CHARS
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-AR2HRFQO.js";
|
|
26
26
|
import {
|
|
27
27
|
resolvePaths,
|
|
28
28
|
saveConfigFile
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-N4VNUOOD.js";
|
|
30
30
|
import {
|
|
31
31
|
CliError,
|
|
32
32
|
array,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
strictObject,
|
|
48
48
|
string,
|
|
49
49
|
union
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-TBD362SJ.js";
|
|
51
51
|
import {
|
|
52
52
|
__name
|
|
53
53
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -2,22 +2,22 @@ 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-P4ABC6C4.js";
|
|
6
6
|
import {
|
|
7
7
|
isContentKey
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TBD362SJ.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/runs/run-context.js
|
|
14
14
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
15
15
|
import { createHash } from "node:crypto";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
|
|
18
18
|
import { homedir } from "node:os";
|
|
19
19
|
|
|
20
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
20
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/runs/events.js
|
|
21
21
|
var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
|
|
22
22
|
var renderEvent = /* @__PURE__ */ __name((event) => {
|
|
23
23
|
if (event.event === "warning") {
|
|
@@ -65,7 +65,7 @@ var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!
|
|
|
65
65
|
var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
|
|
66
66
|
var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
|
|
67
67
|
|
|
68
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
68
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/runs/secrets.js
|
|
69
69
|
var SECRET_WORDS = /* @__PURE__ */ new Set([
|
|
70
70
|
"authorization",
|
|
71
71
|
"cookie",
|
|
@@ -146,7 +146,7 @@ var withoutSecrets = /* @__PURE__ */ __name((text, mark = "[redacted]") => text.
|
|
|
146
146
|
var RUN = /(?<![A-Za-z0-9_+/-])[A-Za-z0-9_+/-]{20,}/g;
|
|
147
147
|
var HEX = /(?<![A-Za-z0-9])(?=[0-9]*[a-f])[0-9a-f]{20,}(?![A-Za-z0-9])/g;
|
|
148
148
|
|
|
149
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
149
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
|
|
150
150
|
var MESSAGE_AT_MOST = 500;
|
|
151
151
|
var CAUSES_AT_MOST = 5;
|
|
152
152
|
var FRAMES_AT_MOST = 15;
|
|
@@ -254,7 +254,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
|
|
|
254
254
|
return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
|
|
255
255
|
}, "redactText");
|
|
256
256
|
|
|
257
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
257
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/runs/run-context.js
|
|
258
258
|
var REDACTED = "[redacted]";
|
|
259
259
|
var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
|
|
260
260
|
if (!record)
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
ACCESS_SECONDS,
|
|
9
9
|
REFRESH_SECONDS,
|
|
10
10
|
readStored
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KWKRTYRL.js";
|
|
12
12
|
import {
|
|
13
13
|
__name
|
|
14
14
|
} from "./chunk-ZVVMGPBJ.js";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
|
|
17
17
|
import { createHash, randomBytes, randomInt, timingSafeEqual } from "node:crypto";
|
|
18
18
|
import { chmodSync, mkdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -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-LAVWTS4P.js";
|
|
7
7
|
import {
|
|
8
8
|
Command,
|
|
9
9
|
InvalidArgumentError,
|
|
@@ -16,13 +16,13 @@ import {
|
|
|
16
16
|
renderAnswer,
|
|
17
17
|
sharedCommand,
|
|
18
18
|
snakeKeys
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-BO7ZKZCH.js";
|
|
20
20
|
import {
|
|
21
21
|
readOnlyLockOf
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ALMQEGYO.js";
|
|
23
23
|
import {
|
|
24
24
|
formatReference
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-VVMCGF5X.js";
|
|
26
26
|
import {
|
|
27
27
|
EVENT_QUERY,
|
|
28
28
|
MEETING_PROJECT_EVIDENCE_QUERY,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
readMeetingProjectEvidence,
|
|
46
46
|
validateMeetingHitSearch,
|
|
47
47
|
validateMeetingPassage
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-VY3TYRCK.js";
|
|
49
49
|
import {
|
|
50
50
|
OPERATORS_BY_TYPE,
|
|
51
51
|
dateRange,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
timezoneOf,
|
|
59
59
|
validateQuery,
|
|
60
60
|
zonedMoment
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-J6XLM4QW.js";
|
|
62
62
|
import {
|
|
63
63
|
CliError,
|
|
64
64
|
array,
|
|
@@ -69,12 +69,12 @@ import {
|
|
|
69
69
|
safeParse,
|
|
70
70
|
strictObject,
|
|
71
71
|
string
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-TBD362SJ.js";
|
|
73
73
|
import {
|
|
74
74
|
__name
|
|
75
75
|
} from "./chunk-ZVVMGPBJ.js";
|
|
76
76
|
|
|
77
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
77
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
|
|
78
78
|
var COMMAND_NEEDS = {
|
|
79
79
|
"account update": ["updateProfile", "change the profile"],
|
|
80
80
|
"account sessions list": ["sessions", "list the account's sessions"],
|
|
@@ -124,7 +124,7 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
|
|
|
124
124
|
return group;
|
|
125
125
|
}, "hideNever");
|
|
126
126
|
|
|
127
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
127
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
|
|
128
128
|
var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
129
129
|
command.allowUnknownOption();
|
|
130
130
|
const parse = command.parseOptions.bind(command);
|
|
@@ -144,7 +144,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
|
144
144
|
return command;
|
|
145
145
|
}, "queryWordsAfterOptions");
|
|
146
146
|
|
|
147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
147
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
|
|
148
148
|
var count = /* @__PURE__ */ __name((value) => {
|
|
149
149
|
if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
150
150
|
throw new CliError("validation_error", "expected a nonnegative safe integer");
|
|
@@ -186,7 +186,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
|
|
|
186
186
|
var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
|
|
187
187
|
var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
|
|
188
188
|
|
|
189
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
189
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
|
|
190
190
|
var integer = /* @__PURE__ */ __name((value) => {
|
|
191
191
|
if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
192
192
|
throw new CliError("validation_error", "expected a positive safe integer");
|
|
@@ -209,7 +209,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
|
|
|
209
209
|
}, "addMeetingProjectEvidenceCommandDefinition");
|
|
210
210
|
var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
|
|
211
211
|
|
|
212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
212
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
|
|
213
213
|
var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
|
|
214
214
|
var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
|
|
215
215
|
const zone = timezoneOf();
|
|
@@ -295,7 +295,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
|
|
|
295
295
|
var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
|
|
296
296
|
var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
|
|
297
297
|
|
|
298
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
298
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
|
|
299
299
|
var integer3 = /* @__PURE__ */ __name((text) => {
|
|
300
300
|
if (!/^[1-9]\d*$/.test(text) || !Number.isSafeInteger(Number(text)))
|
|
301
301
|
throw new InvalidArgumentError("expected a positive integer");
|
|
@@ -415,7 +415,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
|
|
|
415
415
|
}, "addMeetingCommandsDefinition");
|
|
416
416
|
var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
|
|
417
417
|
|
|
418
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
418
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/list-query.js
|
|
419
419
|
var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
|
|
420
420
|
var withQuery = /* @__PURE__ */ __name((command, registry) => {
|
|
421
421
|
const query = defineQuery(registry);
|
|
@@ -531,7 +531,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
|
|
|
531
531
|
var queryHelp = /* @__PURE__ */ __name((registry) => `
|
|
532
532
|
${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
|
|
533
533
|
|
|
534
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
534
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/paging.js
|
|
535
535
|
var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
536
536
|
if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
|
|
537
537
|
throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
|
|
@@ -540,7 +540,7 @@ var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
|
540
540
|
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");
|
|
541
541
|
var window = /* @__PURE__ */ __name(({ limit, page, all }) => all ? { offset: 0 } : { limit, offset: (page - 1) * limit }, "window");
|
|
542
542
|
|
|
543
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
543
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
|
|
544
544
|
var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
|
|
545
545
|
var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
|
|
546
546
|
var settingsOf = /* @__PURE__ */ __name((settings) => defined({
|
|
@@ -802,7 +802,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
|
|
|
802
802
|
...createdAt === void 0 ? {} : { created_at: createdAt }
|
|
803
803
|
}), "sessionAnswer");
|
|
804
804
|
|
|
805
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
805
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/background/relay.js
|
|
806
806
|
import { createHash } from "node:crypto";
|
|
807
807
|
import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
|
|
808
808
|
import { createConnection, createServer } from "node:net";
|
|
@@ -1023,7 +1023,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
|
|
|
1023
1023
|
}, () => finish({ error: stopped() }));
|
|
1024
1024
|
}), "relayCommand");
|
|
1025
1025
|
|
|
1026
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
1026
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
|
|
1027
1027
|
var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
|
|
1028
1028
|
close: /* @__PURE__ */ __name(async () => {
|
|
1029
1029
|
}, "close"),
|