@wirecat/drive-cli 0.51.0 → 0.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/drive.js +2 -2
- package/dist/bundle/{all-profiles-H3APJWSO.js → all-profiles-CYW6XBBS.js} +8 -8
- package/dist/bundle/{anthropic-P7DXFYFE.js → anthropic-KW6KU36Y.js} +5 -5
- package/dist/bundle/{app-server-IQUR7ZC2.js → app-server-TCJZ333E.js} +53 -52
- package/dist/bundle/{bun-LZUEW2ML.js → bun-7SYKSCLA.js} +2 -2
- package/dist/bundle/{bun-sqlite-6LUE7UA6.js → bun-sqlite-RI7DR6RZ.js} +4 -4
- package/dist/bundle/{chunk-7ZNM6KXP.js → chunk-234MHU76.js} +7 -7
- package/dist/bundle/{chunk-U7DPS46V.js → chunk-2623YE5I.js} +107 -96
- package/dist/bundle/{chunk-UW7VXKKZ.js → chunk-2AUXBJRX.js} +19 -19
- package/dist/bundle/{chunk-OQVJQSEH.js → chunk-2UIMEMWU.js} +3 -3
- package/dist/bundle/{chunk-NO34DAIB.js → chunk-33NVQGUY.js} +6 -6
- package/dist/bundle/{chunk-D3UFQC7K.js → chunk-43QVYW3K.js} +49 -49
- package/dist/bundle/{chunk-WX2NQO2D.js → chunk-4A2PIGC6.js} +1 -1
- package/dist/bundle/{chunk-D222O57O.js → chunk-4CPLOMRK.js} +6 -6
- package/dist/bundle/{chunk-U3OS6V6S.js → chunk-4Z6TCU5T.js} +1 -1
- package/dist/bundle/{chunk-POFLDSTX.js → chunk-54O62JWP.js} +10 -10
- package/dist/bundle/{chunk-HBRTKJ3J.js → chunk-5PLJKSG4.js} +7 -7
- package/dist/bundle/{chunk-PRBPVOW4.js → chunk-6DHQTUB2.js} +1 -1
- package/dist/bundle/{chunk-BVDAP3FQ.js → chunk-725OHXKR.js} +9 -9
- package/dist/bundle/chunk-7SH4JHYW.js +379 -0
- package/dist/bundle/{chunk-FCZ762RV.js → chunk-7XKAVMCF.js} +8 -8
- package/dist/bundle/{chunk-PNUS224S.js → chunk-7YMDL4JQ.js} +8 -6
- package/dist/bundle/{chunk-FV5WG4WU.js → chunk-A4UNTWAX.js} +29 -25
- package/dist/bundle/{chunk-I7EP3VPJ.js → chunk-ALJWBGD5.js} +1 -1
- package/dist/bundle/{chunk-CX7HQ6KK.js → chunk-BSSCTWWK.js} +12 -12
- package/dist/bundle/{chunk-HYT3FJVB.js → chunk-C6Z25IBJ.js} +49 -24
- package/dist/bundle/{chunk-XCXUP76D.js → chunk-CB7SBYLO.js} +27 -27
- package/dist/bundle/{chunk-YXHMEFL7.js → chunk-CITFEQ6S.js} +1 -1
- package/dist/bundle/{chunk-Y73IZWRI.js → chunk-CKBHR7QO.js} +1 -1
- package/dist/bundle/{chunk-AKW5MNQP.js → chunk-CM7GAXGD.js} +5 -5
- package/dist/bundle/{chunk-OKSS7YUN.js → chunk-DLAFGSTN.js} +1 -1
- package/dist/bundle/{chunk-MPTD5P53.js → chunk-DO4PDQY5.js} +2 -2
- package/dist/bundle/{chunk-P3T2SZW2.js → chunk-DW46P2DY.js} +1 -1
- package/dist/bundle/{chunk-ZKAAFY4C.js → chunk-F7UUZATI.js} +11 -11
- package/dist/bundle/{chunk-XBENRRBS.js → chunk-FCJAHD4R.js} +2 -2
- package/dist/bundle/{chunk-5C7RKU7O.js → chunk-FDWYPONW.js} +46 -34
- package/dist/bundle/{chunk-TVJU245P.js → chunk-FG4XXZZE.js} +2 -2
- package/dist/bundle/{chunk-BMI5VCR4.js → chunk-FJW3DDCF.js} +5 -5
- package/dist/bundle/{chunk-LZKPT7GY.js → chunk-G6QF5KWF.js} +35 -35
- package/dist/bundle/{chunk-K6JSVXDN.js → chunk-G7DCVJ4F.js} +5 -5
- package/dist/bundle/{chunk-Q5CLTK5R.js → chunk-GR5GGZKH.js} +3 -3
- package/dist/bundle/{chunk-SZWQFR5X.js → chunk-GVCN3GLZ.js} +16 -4
- package/dist/bundle/{chunk-CT6Z6Z64.js → chunk-H47W2J6S.js} +523 -778
- package/dist/bundle/{chunk-HGWMX7BM.js → chunk-HQVJK5E7.js} +44 -22
- package/dist/bundle/{chunk-35IHF562.js → chunk-HX7Y2ASG.js} +350 -281
- package/dist/bundle/{chunk-7LYVWMKD.js → chunk-I7UH5CTA.js} +8 -8
- package/dist/bundle/{chunk-YVQJPLPU.js → chunk-IDUNJCFO.js} +2 -2
- package/dist/bundle/{chunk-6FXFYXTR.js → chunk-IWFBAWZK.js} +15 -15
- package/dist/bundle/{chunk-3KTDFSSK.js → chunk-JEOYFKUK.js} +2 -2
- package/dist/bundle/{chunk-4GFAOETW.js → chunk-KYVXMEBC.js} +3 -3
- package/dist/bundle/{chunk-PT6XDCOY.js → chunk-LJAX6YCF.js} +2 -2
- package/dist/bundle/{chunk-XXLTVVMT.js → chunk-LONV6HIK.js} +20 -20
- package/dist/bundle/{chunk-G75FZQAZ.js → chunk-NHBUTCNR.js} +10 -10
- package/dist/bundle/{chunk-OASIFIXM.js → chunk-NPSZPUK6.js} +2 -2
- package/dist/bundle/{chunk-Z3GWVRW3.js → chunk-NSIFQ5OP.js} +1 -1
- package/dist/bundle/{chunk-TSZJXI4N.js → chunk-O6IOL6RX.js} +21 -21
- package/dist/bundle/{chunk-YLC4JVQZ.js → chunk-PAXKALHV.js} +5 -5
- package/dist/bundle/{chunk-AUW45JPI.js → chunk-PDGECM5D.js} +7 -7
- package/dist/bundle/{chunk-NRWDEBJB.js → chunk-PEOCBV2Z.js} +8 -8
- package/dist/bundle/{chunk-VCPS7Q2W.js → chunk-PQJYM5ES.js} +3 -3
- package/dist/bundle/{chunk-TEH76MZK.js → chunk-PQYVPCJ2.js} +26 -26
- package/dist/bundle/{chunk-WYWXOIGT.js → chunk-PSNHPFSK.js} +1 -1
- package/dist/bundle/{chunk-Y4YBW5S4.js → chunk-Q765VPZY.js} +2 -2
- package/dist/bundle/{chunk-YOABRW2M.js → chunk-R276546S.js} +1 -1
- package/dist/bundle/{chunk-SRIPLP7N.js → chunk-RNSP57TC.js} +4 -4
- package/dist/bundle/{chunk-WACVI3CS.js → chunk-UC22Q5KU.js} +11 -11
- package/dist/bundle/{chunk-VH4GVA2N.js → chunk-UR32UWTQ.js} +2 -2
- package/dist/bundle/{chunk-Z6KTSXE3.js → chunk-VJZST5RD.js} +2 -2
- package/dist/bundle/{chunk-LLMHJE5Q.js → chunk-VSOLLTYT.js} +2 -2
- package/dist/bundle/{chunk-PQGIV36R.js → chunk-VZ2I62HN.js} +2 -2
- package/dist/bundle/{chunk-DEVPGI27.js → chunk-W7IK7E4B.js} +17 -17
- package/dist/bundle/{chunk-NVHPYKYC.js → chunk-WBTVGFXI.js} +11 -11
- package/dist/bundle/{chunk-2TPENYCK.js → chunk-WLFUBNFX.js} +4 -4
- package/dist/bundle/{chunk-SRONUWOM.js → chunk-WQJBAWQP.js} +515 -344
- package/dist/bundle/{chunk-K3EK4MTU.js → chunk-WQRGA75U.js} +15 -3
- package/dist/bundle/{chunk-XE2GEE3E.js → chunk-WUX7AUOQ.js} +26 -26
- package/dist/bundle/{chunk-J2S7QDOP.js → chunk-X6ID5EAR.js} +16 -16
- package/dist/bundle/{chunk-JI5KFKTL.js → chunk-XOLQSCMF.js} +6 -6
- package/dist/bundle/{chunk-EY4CUQW2.js → chunk-YKZ4IPLB.js} +26 -9
- package/dist/bundle/{chunk-GK2VUKQY.js → chunk-YNFELLNQ.js} +2 -2
- package/dist/bundle/{chunk-F3PPSIKI.js → chunk-YVPHJHIL.js} +3 -3
- package/dist/bundle/{chunk-4YG2FZ53.js → chunk-Z47LOJUS.js} +7 -7
- package/dist/bundle/{chunk-DDD3FS6G.js → chunk-ZDLIO76S.js} +2 -2
- package/dist/bundle/{chunk-UMY4IQE2.js → chunk-ZNZUZGSV.js} +54 -47
- package/dist/bundle/{chunk-UM4E2OFL.js → chunk-ZSXRDF6I.js} +1 -1
- package/dist/bundle/{chunk-N33EOINW.js → chunk-ZWSG7OCA.js} +4 -4
- package/dist/bundle/command-contract-I2YB5IXI.js +38 -0
- package/dist/bundle/{decode-4EENADOV.js → decode-EDN2ARXZ.js} +19 -17
- package/dist/bundle/drive.js +7 -7
- package/dist/bundle/{echarts-ZFC37XW7.js → echarts-GXY34GHA.js} +2 -2
- package/dist/bundle/{embed-UZMNP26C.js → embed-3GSQIQXE.js} +5 -5
- package/dist/bundle/{embedder-7VDWDBKF.js → embedder-6ULWRG3R.js} +8 -8
- package/dist/bundle/{entry-JJKCHVIK.js → entry-IPRJLFHO.js} +6 -6
- package/dist/bundle/failure-4CVEVY45.js +37 -0
- package/dist/bundle/{first-run-FJTEUJBF.js → first-run-FGHGWHC2.js} +9 -9
- package/dist/bundle/first-screen-M62KTPZG.js +36 -0
- package/dist/bundle/{google-JBJASYKY.js → google-BD3ZNFVJ.js} +9 -9
- package/dist/bundle/google-api-BDUWZMRV.js +83 -0
- package/dist/bundle/{identity-XE73ALJH.js → identity-QLBSASO5.js} +2 -2
- package/dist/bundle/{instructions-Q4ASITKO.js → instructions-K5BEQM4C.js} +1 -1
- package/dist/bundle/{login-BD2WQT5F.js → login-VNZKRSAD.js} +65 -64
- package/dist/bundle/{mcp-G6U2Q63E.js → mcp-5SNSMI2M.js} +82 -81
- package/dist/bundle/mcp-JZSYPQA4.js +96 -0
- package/dist/bundle/{mcp-ZYZ4DFW2.js → mcp-WSGVVZWI.js} +2 -2
- package/dist/bundle/{node-CYM7VXFR.js → node-ZYWB7IET.js} +2 -2
- package/dist/bundle/{node-sqlite-RK4MHW57.js → node-sqlite-J3OODPYK.js} +4 -4
- package/dist/bundle/{oauth-CQXQRHJR.js → oauth-L4VTCBLF.js} +6 -6
- package/dist/bundle/{open-WSE4NBD2.js → open-SGUN7ZVF.js} +3 -3
- package/dist/bundle/openai-RLVISEDH.js +251 -0
- package/dist/bundle/{process-7HHZZZLA.js → process-ZXO2MWRJ.js} +1 -1
- package/dist/bundle/{program-ZMQYZNV5.js → program-6S5EH7BS.js} +103 -101
- package/dist/bundle/{prompt-YSBBQJGF.js → prompt-AUWTBLO7.js} +4 -4
- package/dist/bundle/{reasons-366PI7OV.js → reasons-M5AKCNCU.js} +3 -3
- package/dist/bundle/{recognize-AZKGPCAS.js → recognize-ORX2UBQW.js} +5 -3
- package/dist/bundle/{remote-EYSK3XKD.js → remote-AGIJY73X.js} +6 -6
- package/dist/bundle/{rerank-LOW6VIDF.js → rerank-R6PE44M5.js} +6 -6
- package/dist/bundle/{serve-UJ52HGA7.js → serve-VOBAQHAQ.js} +8 -8
- package/dist/bundle/server-24PS4M7U.js +70 -0
- package/dist/bundle/server-G6HFZ2CK.js +57 -0
- package/dist/bundle/{services-B4QUSCFN.js → services-HZFTTZSF.js} +35 -28
- package/dist/bundle/{sqlite-runtime-GEURBVK5.js → sqlite-runtime-DTGPR2T2.js} +4 -4
- package/dist/bundle/{state-OJNSKOXO.js → state-WG3JKJM3.js} +5 -5
- package/dist/bundle/{store-62SBP45X.js → store-33VHIMEO.js} +14 -14
- package/dist/bundle/{store-FTS2HVVB.js → store-EV72MT5U.js} +16 -16
- package/dist/bundle/store-maintenance-command-ZTUEI4EC.js +58 -0
- package/dist/bundle/tokens-XDQXUFDQ.js +104 -0
- package/dist/knowledge-query.d.ts +1 -1
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js +1 -0
- package/dist/store.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/command-contract-R6CGYG7L.js +0 -38
- package/dist/bundle/failure-VBQBKCD5.js +0 -37
- package/dist/bundle/first-screen-NSPQWNMQ.js +0 -36
- package/dist/bundle/google-api-2FKF4UUN.js +0 -82
- package/dist/bundle/mcp-H3XD47NW.js +0 -95
- package/dist/bundle/server-CA2VLY25.js +0 -56
- package/dist/bundle/server-TW75RDEP.js +0 -69
- package/dist/bundle/store-maintenance-command-FQMB3R4E.js +0 -57
- package/dist/bundle/tokens-JALZUGEM.js +0 -103
- /package/dist/bundle/{chunk-2WNDZFGG.js → chunk-62EDJKGP.js} +0 -0
- /package/dist/bundle/{chunk-UO5O3665.js → chunk-FQRJWVEB.js} +0 -0
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
safeParse,
|
|
15
15
|
stepOf,
|
|
16
16
|
writes
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-YKZ4IPLB.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.
|
|
1890
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/sanitize.js
|
|
1891
1891
|
var CONTROL = (
|
|
1892
1892
|
// biome-ignore lint/suspicious/noControlCharactersInRegex: matching them is the whole point
|
|
1893
1893
|
/[\u0000-\u0008\u000B-\u001F\u007F-\u009F\u200B\u200E\u200F\u202A-\u202E\u2066-\u2069\uFEFF\u{E0000}-\u{E007F}]/gu
|
|
@@ -1911,7 +1911,7 @@ var visibleControls = /* @__PURE__ */ __name((text) => {
|
|
|
1911
1911
|
}, "visibleControls");
|
|
1912
1912
|
var singleLine = /* @__PURE__ */ __name((text) => visibleControls(text).replace(LINE_BREAKS, escaped), "singleLine");
|
|
1913
1913
|
|
|
1914
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1914
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_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
|
|
1915
1915
|
var EXIT_CODES = {
|
|
1916
1916
|
validation_error: 2,
|
|
1917
1917
|
configuration_error: 3,
|
|
@@ -1931,7 +1931,7 @@ var EXIT_CODES = {
|
|
|
1931
1931
|
var exitCodeFor = /* @__PURE__ */ __name((code) => EXIT_CODES[code], "exitCodeFor");
|
|
1932
1932
|
var GENERIC_FAILURE = 1;
|
|
1933
1933
|
|
|
1934
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1934
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_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.
|
|
2081
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_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
|
|
2082
2082
|
var forbidden = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
|
|
2083
2083
|
var validate = /* @__PURE__ */ __name((paths) => {
|
|
2084
2084
|
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))))
|
|
@@ -2143,7 +2143,7 @@ var projectFields = /* @__PURE__ */ __name((value, fields) => {
|
|
|
2143
2143
|
return project(value, fields);
|
|
2144
2144
|
}, "projectFields");
|
|
2145
2145
|
|
|
2146
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2146
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/keyring.js
|
|
2147
2147
|
import { createRequire } from "node:module";
|
|
2148
2148
|
var ENTRY_OPTIONS = { linux: { store: "secret-service" } };
|
|
2149
2149
|
var require2 = createRequire(new URL("keyring.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
@@ -2163,7 +2163,7 @@ var systemKeyring = {
|
|
|
2163
2163
|
delete: /* @__PURE__ */ __name((service, account) => entry(service, account).deletePassword(), "delete")
|
|
2164
2164
|
};
|
|
2165
2165
|
|
|
2166
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2166
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/paths.js
|
|
2167
2167
|
import { homedir, userInfo } from "node:os";
|
|
2168
2168
|
import { join, posix, win32 } from "node:path";
|
|
2169
2169
|
var PATH_KINDS = ["config", "state", "cache"];
|
|
@@ -2215,11 +2215,11 @@ var homeIsMoved = /* @__PURE__ */ __name(({ env = process.env, platform = proces
|
|
|
2215
2215
|
var isMovedRun = /* @__PURE__ */ __name((options) => pathsAreOverridden(options) || homeIsMoved(options), "isMovedRun");
|
|
2216
2216
|
var configFilePath = /* @__PURE__ */ __name((configDir, fileName = "config.json") => join(configDir, fileName), "configFilePath");
|
|
2217
2217
|
|
|
2218
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2218
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
|
|
2219
2219
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
2220
2220
|
import { join as join3, resolve } from "node:path";
|
|
2221
2221
|
|
|
2222
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2222
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/config.js
|
|
2223
2223
|
import { randomBytes } from "node:crypto";
|
|
2224
2224
|
import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
2225
2225
|
import { dirname, join as join2 } from "node:path";
|
|
@@ -2263,7 +2263,7 @@ var saveConfigFile = /* @__PURE__ */ __name((path, config) => {
|
|
|
2263
2263
|
`, 384);
|
|
2264
2264
|
}, "saveConfigFile");
|
|
2265
2265
|
|
|
2266
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2266
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
|
|
2267
2267
|
var keyringService = /* @__PURE__ */ __name((service, _configDir, _isolated) => service, "keyringService");
|
|
2268
2268
|
var movedRunService = /* @__PURE__ */ __name((service, configDir) => `${service}:${resolve(configDir)}`, "movedRunService");
|
|
2269
2269
|
var Credentials = class {
|
|
@@ -2330,8 +2330,8 @@ var Credentials = class {
|
|
|
2330
2330
|
if (this.#tryKeyring(() => this.#keyring.delete(this.#temporaryService ?? this.#service, account))) {
|
|
2331
2331
|
removed.push("keyring");
|
|
2332
2332
|
}
|
|
2333
|
-
if (this.#temporaryService) {
|
|
2334
|
-
this.#warn(`kept ${account} in the OS keyring: it is the owner's sign-in, shared with every run, and a run with moved folders never removes it`);
|
|
2333
|
+
if (this.#temporaryService && this.#ownersEntryExists(account)) {
|
|
2334
|
+
this.#warn(removed.includes("keyring") ? `removed this run's own sign-in of ${account} from the OS keyring and kept the owner's: a run with moved folders never removes it` : `kept ${account} in the OS keyring: it is the owner's sign-in, shared with every run, and a run with moved folders never removes it`);
|
|
2335
2335
|
}
|
|
2336
2336
|
}
|
|
2337
2337
|
const store = this.#readFile();
|
|
@@ -2342,6 +2342,14 @@ var Credentials = class {
|
|
|
2342
2342
|
}
|
|
2343
2343
|
return removed;
|
|
2344
2344
|
}
|
|
2345
|
+
/** Only for the warning: a keyring that fails here must not fail a removal that already happened. */
|
|
2346
|
+
#ownersEntryExists(account) {
|
|
2347
|
+
try {
|
|
2348
|
+
return this.#keyring.get(this.#service, account) !== null;
|
|
2349
|
+
} catch {
|
|
2350
|
+
return false;
|
|
2351
|
+
}
|
|
2352
|
+
}
|
|
2345
2353
|
#path() {
|
|
2346
2354
|
return join3(this.#configDir, this.#fileName);
|
|
2347
2355
|
}
|
|
@@ -2381,7 +2389,7 @@ var Credentials = class {
|
|
|
2381
2389
|
}
|
|
2382
2390
|
};
|
|
2383
2391
|
|
|
2384
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2392
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/time.js
|
|
2385
2393
|
var abortError = /* @__PURE__ */ __name(() => new DOMException("The operation was aborted.", "AbortError"), "abortError");
|
|
2386
2394
|
var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, reject) => {
|
|
2387
2395
|
if (signal?.aborted) {
|
|
@@ -2395,7 +2403,7 @@ var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, re
|
|
|
2395
2403
|
}, { once: true });
|
|
2396
2404
|
}), "realSleep");
|
|
2397
2405
|
|
|
2398
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2406
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/deadline.js
|
|
2399
2407
|
var createDeadline = /* @__PURE__ */ __name(({ timeoutMs, signal, sleep = realSleep } = {}) => {
|
|
2400
2408
|
if (timeoutMs !== void 0 && (!Number.isSafeInteger(timeoutMs) || timeoutMs < 0 || timeoutMs > 2147483647))
|
|
2401
2409
|
throw new CliError("validation_error", "timeoutMs must be an integer from zero through 2147483647");
|
|
@@ -2479,7 +2487,7 @@ var createDeadline = /* @__PURE__ */ __name(({ timeoutMs, signal, sleep = realSl
|
|
|
2479
2487
|
};
|
|
2480
2488
|
}, "createDeadline");
|
|
2481
2489
|
|
|
2482
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2490
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/output-buffer.js
|
|
2483
2491
|
var createOutputBuffer = /* @__PURE__ */ __name(({ maxOutputBytes = 4 * 1024 * 1024, fields, format } = {}) => {
|
|
2484
2492
|
if (!Number.isSafeInteger(maxOutputBytes) || maxOutputBytes < 0)
|
|
2485
2493
|
throw new CliError("validation_error", "maxOutputBytes must be a nonnegative whole byte count");
|
|
@@ -2540,7 +2548,7 @@ var createOutputBuffer = /* @__PURE__ */ __name(({ maxOutputBytes = 4 * 1024 * 1
|
|
|
2540
2548
|
};
|
|
2541
2549
|
}, "createOutputBuffer");
|
|
2542
2550
|
|
|
2543
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2551
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/drain.js
|
|
2544
2552
|
var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
2545
2553
|
if (signal?.aborted)
|
|
2546
2554
|
return Promise.reject(signal.reason);
|
|
@@ -2568,7 +2576,7 @@ var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
|
2568
2576
|
});
|
|
2569
2577
|
}, "waitForDrain");
|
|
2570
2578
|
|
|
2571
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2579
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/streams.js
|
|
2572
2580
|
var processStreams = {
|
|
2573
2581
|
drain: /* @__PURE__ */ __name(async (signal) => {
|
|
2574
2582
|
await Promise.all([waitForDrain(process.stdout, signal), waitForDrain(process.stderr, signal)]);
|
|
@@ -2597,7 +2605,7 @@ var captureStreams = /* @__PURE__ */ __name(() => {
|
|
|
2597
2605
|
};
|
|
2598
2606
|
}, "captureStreams");
|
|
2599
2607
|
|
|
2600
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2608
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/pretty.js
|
|
2601
2609
|
var import_cli_table3 = __toESM(require_cli_table3(), 1);
|
|
2602
2610
|
import { styleText } from "node:util";
|
|
2603
2611
|
var renderPretty = /* @__PURE__ */ __name((value, options) => {
|
|
@@ -2671,7 +2679,7 @@ var BORDERLESS = {
|
|
|
2671
2679
|
middle: ""
|
|
2672
2680
|
};
|
|
2673
2681
|
|
|
2674
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2682
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/renderer.js
|
|
2675
2683
|
var createRenderer = /* @__PURE__ */ __name(({ format, color, streams = processStreams, quiet = false }) => {
|
|
2676
2684
|
const mark = /* @__PURE__ */ __name((symbol, message) => format === "pretty" ? `${symbol} ${visibleControls(message)}` : visibleControls(message), "mark");
|
|
2677
2685
|
const say = /* @__PURE__ */ __name((symbol) => (message) => {
|
|
@@ -2708,7 +2716,19 @@ var createRenderer = /* @__PURE__ */ __name(({ format, color, streams = processS
|
|
|
2708
2716
|
};
|
|
2709
2717
|
}, "createRenderer");
|
|
2710
2718
|
|
|
2711
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2719
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/retry.js
|
|
2720
|
+
var DEFAULT_RETRY = {
|
|
2721
|
+
retries: 1,
|
|
2722
|
+
baseDelayMs: 250,
|
|
2723
|
+
maxDelayMs: 1e4,
|
|
2724
|
+
maxRetryAfterMs: 3e4
|
|
2725
|
+
};
|
|
2726
|
+
var backoffMs = /* @__PURE__ */ __name((attempt, config, random) => {
|
|
2727
|
+
const ceiling = Math.min(config.maxDelayMs, config.baseDelayMs * 2 ** (attempt - 1));
|
|
2728
|
+
return Math.round(random() * ceiling);
|
|
2729
|
+
}, "backoffMs");
|
|
2730
|
+
|
|
2731
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/batch.js
|
|
2712
2732
|
var BATCH_LIMITS = Object.freeze({
|
|
2713
2733
|
requests: 32,
|
|
2714
2734
|
input_bytes: 262144,
|
|
@@ -2835,7 +2855,7 @@ var runBatch = /* @__PURE__ */ __name(async (requests, options = {}) => {
|
|
|
2835
2855
|
};
|
|
2836
2856
|
}, "runBatch");
|
|
2837
2857
|
|
|
2838
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2858
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
|
|
2839
2859
|
import { appendFileSync } from "node:fs";
|
|
2840
2860
|
var REDACTED_FIELDS = [
|
|
2841
2861
|
"authorization",
|
|
@@ -2965,5 +2985,7 @@ export {
|
|
|
2965
2985
|
createOutputBuffer,
|
|
2966
2986
|
processStreams,
|
|
2967
2987
|
captureStreams,
|
|
2968
|
-
createRenderer
|
|
2988
|
+
createRenderer,
|
|
2989
|
+
DEFAULT_RETRY,
|
|
2990
|
+
backoffMs
|
|
2969
2991
|
};
|