@wirecat/drive-cli 0.59.0 → 0.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -5
- package/dist/bin/drive.js +2 -2
- package/dist/bin/drive.js.map +1 -1
- package/dist/bundle/{all-profiles-CVISDGMF.js → all-profiles-H4L3Z5UM.js} +14 -14
- package/dist/bundle/{anthropic-WLNQC23G.js → anthropic-PPGFISVP.js} +9 -9
- package/dist/bundle/{app-server-P2VOONXF.js → app-server-YXVK2FUZ.js} +52 -52
- package/dist/bundle/{bun-CDFBNTKV.js → bun-DKZAL6ML.js} +2 -2
- package/dist/bundle/{bun-sqlite-MNZICITP.js → bun-sqlite-MTZY36QK.js} +8 -8
- package/dist/bundle/{chunk-TFH5X46A.js → chunk-2RJA4BQB.js} +19 -19
- package/dist/bundle/{chunk-VVCZS42A.js → chunk-3252WXOL.js} +1 -1
- package/dist/bundle/{chunk-H2BKXPBL.js → chunk-36CWGEVX.js} +2 -2
- package/dist/bundle/{chunk-HWLLVLAB.js → chunk-3I2D5TK2.js} +14 -11
- package/dist/bundle/{chunk-PAEVBAM3.js → chunk-3SJQNS72.js} +5 -5
- package/dist/bundle/{chunk-GI5JBGXH.js → chunk-3UPIJ7DW.js} +615 -374
- package/dist/bundle/{chunk-EORMZCVF.js → chunk-3WZH3WV3.js} +3 -3
- package/dist/bundle/{chunk-ZSMCJKGP.js → chunk-5W56YMQS.js} +28 -27
- package/dist/bundle/{chunk-LJ7E4HLQ.js → chunk-5W7D5H2R.js} +1 -1
- package/dist/bundle/{chunk-6C6255U6.js → chunk-67HS46KM.js} +12 -12
- package/dist/bundle/{chunk-AD62XJKO.js → chunk-6DN4VPA7.js} +25 -25
- package/dist/bundle/{chunk-HIP43OGZ.js → chunk-6IBM4Z3V.js} +1 -1
- package/dist/bundle/{chunk-QTM7USFA.js → chunk-6SUGANRJ.js} +6 -6
- package/dist/bundle/{chunk-II7LST64.js → chunk-6Y2FWJZ4.js} +4 -3
- package/dist/bundle/{chunk-XCOCPXCM.js → chunk-73WSULMI.js} +2 -2
- package/dist/bundle/{chunk-V42KAPU3.js → chunk-AM4RIWOZ.js} +4 -4
- package/dist/bundle/{chunk-DI5Z4SH5.js → chunk-AWN22PJK.js} +3 -3
- package/dist/bundle/{chunk-HMZAMHKN.js → chunk-BCWUDTYQ.js} +2 -2
- package/dist/bundle/{chunk-EHEZSV6I.js → chunk-BF6TQMNB.js} +8 -8
- package/dist/bundle/chunk-BQMIDYBA.js +415 -0
- package/dist/bundle/{chunk-FVQCM7IQ.js → chunk-BXR7BKM3.js} +5 -5
- package/dist/bundle/{chunk-OKXSTWKW.js → chunk-CACYL36O.js} +8 -8
- package/dist/bundle/{chunk-CBM2XAEZ.js → chunk-DCBFNBEB.js} +113 -51
- package/dist/bundle/{chunk-GT5KTGCN.js → chunk-DEPMQHXQ.js} +4 -4
- package/dist/bundle/{chunk-3KJTJDDT.js → chunk-DXPOVLQC.js} +46 -28
- package/dist/bundle/{chunk-P7WPYKSB.js → chunk-E5EXJ2XS.js} +4 -4
- package/dist/bundle/{chunk-IGF6EXBR.js → chunk-E6J5YH2N.js} +34 -34
- package/dist/bundle/{chunk-IIP43FQJ.js → chunk-ECEYAQGN.js} +2 -2
- package/dist/bundle/{chunk-OMMEQJOB.js → chunk-EPCJUL6M.js} +3 -3
- package/dist/bundle/{chunk-JSDVK3JA.js → chunk-FE5JJXKA.js} +2 -2
- package/dist/bundle/{chunk-FICVPYE4.js → chunk-HFM653T3.js} +49 -49
- package/dist/bundle/{chunk-KPRGTTJH.js → chunk-HGOYQUT7.js} +1 -1
- package/dist/bundle/{chunk-3VSUT6BD.js → chunk-I26VL4W7.js} +2 -2
- package/dist/bundle/{chunk-V36RIXFA.js → chunk-J4HQVHMN.js} +6 -5
- package/dist/bundle/{chunk-P3ZTW2ZM.js → chunk-J5UDQD5S.js} +5 -5
- package/dist/bundle/{chunk-3KNZADHJ.js → chunk-JVBLXSAA.js} +437 -193
- package/dist/bundle/{chunk-TJXPJ3A5.js → chunk-K7LS3NGM.js} +137 -62
- package/dist/bundle/{chunk-2AXA5SKP.js → chunk-KV4267S4.js} +1 -1
- package/dist/bundle/{chunk-YU3PTU3D.js → chunk-LARQTWIL.js} +1 -1
- package/dist/bundle/{chunk-B5GBJ35N.js → chunk-N2RLJTIW.js} +4 -4
- package/dist/bundle/{chunk-K4LXGZTE.js → chunk-NIX2MWHZ.js} +242 -344
- package/dist/bundle/{chunk-L5SE2XZP.js → chunk-NZ2EIZLX.js} +14 -10
- package/dist/bundle/{chunk-F3FOL42A.js → chunk-O5CUFS7T.js} +2 -2
- package/dist/bundle/{chunk-UQPKAY6I.js → chunk-OFFA54TW.js} +2 -2
- package/dist/bundle/{chunk-W62CON5K.js → chunk-OGNOQDWB.js} +4 -4
- package/dist/bundle/{chunk-MUUHUHWC.js → chunk-OLPJRD4S.js} +1 -22
- package/dist/bundle/{chunk-YADXWQHV.js → chunk-PJTX2MOI.js} +26 -26
- package/dist/bundle/{chunk-M6I2SQN7.js → chunk-PY7LKNOS.js} +2 -2
- package/dist/bundle/{chunk-GJ4ZCIOP.js → chunk-Q4XVBKX4.js} +3 -3
- package/dist/bundle/{chunk-A6SLYOP2.js → chunk-QR5VQXQ5.js} +69 -36
- package/dist/bundle/{chunk-OZH4ALTI.js → chunk-QSGT4ZH4.js} +1 -1
- package/dist/bundle/{chunk-UWVNRPT7.js → chunk-RFRCOAWS.js} +22 -22
- package/dist/bundle/{chunk-A6EG7ZDS.js → chunk-S4YK6TTG.js} +13 -13
- package/dist/bundle/{chunk-LPHMAQJQ.js → chunk-TKGAYKXW.js} +16 -16
- package/dist/bundle/{chunk-KFZUODXB.js → chunk-UKOYQC5O.js} +39 -22
- package/dist/bundle/{chunk-MEAPA4EZ.js → chunk-UO2IUDVK.js} +2 -2
- package/dist/bundle/{chunk-HIOJRPCT.js → chunk-VPDAH7PJ.js} +1 -1
- package/dist/bundle/{chunk-3U22QTU6.js → chunk-VYXVPYA3.js} +24 -6
- package/dist/bundle/{chunk-VT6GZAF4.js → chunk-W767AUNR.js} +4 -4
- package/dist/bundle/{chunk-5C7K6XIT.js → chunk-WIU733D2.js} +1 -1
- package/dist/bundle/{chunk-IADOBOKB.js → chunk-WUP2MJDN.js} +2 -2
- package/dist/bundle/{chunk-EBLA7GXY.js → chunk-WZ5XK74U.js} +2 -1
- package/dist/bundle/{chunk-IBZ3IBO4.js → chunk-X2CXW4HM.js} +7 -7
- package/dist/bundle/{chunk-JW2CVCUH.js → chunk-XGMDWIUP.js} +4 -4
- package/dist/bundle/{chunk-BSGOM3BD.js → chunk-XGNC5OJG.js} +1 -1
- package/dist/bundle/{chunk-TI55J3BA.js → chunk-XLFJLZJL.js} +4 -4
- package/dist/bundle/{chunk-7QTVIZII.js → chunk-XYCCGGKN.js} +792 -327
- package/dist/bundle/{chunk-6CQO2FIN.js → chunk-XZBR2O63.js} +400 -291
- package/dist/bundle/{chunk-EVETU3TF.js → chunk-YMBFZA3H.js} +8 -8
- package/dist/bundle/{chunk-ZYCLPJ7U.js → chunk-YPF6OS37.js} +1 -1
- package/dist/bundle/{chunk-36B7AIGP.js → chunk-YWIU4HOT.js} +1 -1
- package/dist/bundle/{chunk-MKCNUI72.js → chunk-ZHYRHERD.js} +2 -2
- package/dist/bundle/{chunk-YV4ABH6J.js → chunk-ZMNYK3FC.js} +5 -5
- package/dist/bundle/command-contract-T3EO5AYD.js +39 -0
- package/dist/bundle/{decode-XTOMXMGN.js → decode-62A3HGPW.js} +8 -8
- package/dist/bundle/{dispatch-T6TW2JJB.js → dispatch-IE7PBEQC.js} +9 -9
- package/dist/bundle/drive.js +12 -12
- package/dist/bundle/{echarts-RKKIOYVV.js → echarts-BGBPRGR5.js} +2 -2
- package/dist/bundle/{embed-STHKKA6G.js → embed-J3IBVV2V.js} +9 -9
- package/dist/bundle/{embedder-3XZEWHRO.js → embedder-QFPMDRT2.js} +12 -12
- package/dist/bundle/entry-YQSYER66.js +22 -0
- package/dist/bundle/{failure-DNQYXP2T.js → failure-BKOGBMIC.js} +4 -4
- package/dist/bundle/first-run-ZIFPVZAI.js +30 -0
- package/dist/bundle/first-screen-L5U26EY7.js +37 -0
- package/dist/bundle/{google-BYNSAIQI.js → google-RXM2XEPD.js} +13 -13
- package/dist/bundle/{google-api-4VTZH7OP.js → google-api-NC65BZO4.js} +83 -64
- package/dist/bundle/grants-SEWUYYH3.js +105 -0
- package/dist/bundle/{identity-ARDPFYV5.js → identity-PI6F2GWA.js} +6 -6
- package/dist/bundle/{instructions-N3OH5X2Y.js → instructions-6LPDSKAD.js} +1 -1
- package/dist/bundle/{login-4VQEC7VI.js → login-HTY7GT2S.js} +66 -68
- package/dist/bundle/{mcp-WBHKX5E3.js → mcp-PPVOM4SE.js} +2 -2
- package/dist/bundle/{node-YU5JBNAA.js → node-IB246NCQ.js} +2 -2
- package/dist/bundle/{node-sqlite-3C6PSBIW.js → node-sqlite-G2Y5SFJM.js} +9 -9
- package/dist/bundle/oauth-MWBKBI4T.js +22 -0
- package/dist/bundle/{open-M2V2VYXO.js → open-WD4GFSJD.js} +8 -8
- package/dist/bundle/{openai-ST2IWNUX.js → openai-QVM4PMY7.js} +17 -17
- package/dist/bundle/{process-PYNNBBTV.js → process-SWPJGPQC.js} +1 -1
- package/dist/bundle/{program-Q4VWV2MR.js → program-WHYFAMXR.js} +142 -106
- package/dist/bundle/prompt-OVYCGZB7.js +17 -0
- package/dist/bundle/{reasons-LOQ5J73F.js → reasons-Q34DQWB6.js} +5 -5
- package/dist/bundle/{recognize-FBLMWXNE.js → recognize-DM3YWHSE.js} +7 -7
- package/dist/bundle/{remote-XC3OXE4T.js → remote-KXVWRK7J.js} +10 -10
- package/dist/bundle/{rerank-2XMKKF4S.js → rerank-TINXM3MY.js} +10 -10
- package/dist/bundle/{serve-Q2BQHNZB.js → serve-IY2WL656.js} +12 -12
- package/dist/bundle/server-EMWVVT2C.js +70 -0
- package/dist/bundle/{server-42HPV3AH.js → server-VPY3OWPC.js} +44 -44
- package/dist/bundle/{services-WU22S2MU.js → services-PXNBOCOC.js} +34 -32
- package/dist/bundle/{sqlite-runtime-CSO6K6B2.js → sqlite-runtime-5ZK2CV7Y.js} +9 -9
- package/dist/bundle/{start-TZWKM4AH.js → start-LDVCN3DK.js} +7 -7
- package/dist/bundle/{state-FLUT7U7R.js → state-3MKTT3VS.js} +9 -9
- package/dist/bundle/{store-TG6622NG.js → store-4VQOT5IJ.js} +18 -18
- package/dist/bundle/{store-HDWMJ44E.js → store-7M4MSUJV.js} +28 -22
- package/dist/bundle/store-maintenance-command-NRATYBWD.js +60 -0
- package/dist/bundle/tokens-XUKLM3SL.js +103 -0
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +15 -6
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/context.d.ts +4 -2
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +15 -4
- package/dist/commands/session.js.map +1 -1
- package/dist/config.d.ts +23 -5
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +33 -20
- package/dist/config.js.map +1 -1
- package/dist/download.d.ts +3 -2
- package/dist/download.d.ts.map +1 -1
- package/dist/download.js +21 -9
- package/dist/download.js.map +1 -1
- package/dist/errors.js +4 -4
- package/dist/errors.js.map +1 -1
- package/dist/google-api.d.ts +3 -1
- package/dist/google-api.d.ts.map +1 -1
- package/dist/google-api.js +27 -7
- package/dist/google-api.js.map +1 -1
- package/dist/login.d.ts.map +1 -1
- package/dist/login.js +4 -6
- package/dist/login.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +11 -7
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +1 -22
- package/dist/reasons.js.map +1 -1
- package/dist/registry.d.ts +1 -1
- package/dist/registry.d.ts.map +1 -1
- package/dist/registry.js +2 -1
- package/dist/registry.js.map +1 -1
- package/dist/tokens.js +5 -5
- package/dist/tokens.js.map +1 -1
- package/dist/upload.js +1 -1
- package/dist/upload.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/chunk-PGKIOSN3.js +0 -249
- package/dist/bundle/command-contract-LQDNHZJU.js +0 -39
- package/dist/bundle/entry-CNOYSSSD.js +0 -22
- package/dist/bundle/first-run-F2SI24PK.js +0 -30
- package/dist/bundle/first-screen-TYYF6VXY.js +0 -37
- package/dist/bundle/grants-EUQXSICG.js +0 -105
- package/dist/bundle/oauth-D6NJFPYU.js +0 -22
- package/dist/bundle/prompt-MFIOJMAF.js +0 -17
- package/dist/bundle/server-EWZYN323.js +0 -70
- package/dist/bundle/store-maintenance-command-RHWRUREJ.js +0 -60
- package/dist/bundle/tokens-TXYURU4S.js +0 -103
- package/dist/oauth-application.d.ts +0 -5
- package/dist/oauth-application.d.ts.map +0 -1
- package/dist/oauth-application.js +0 -9
- package/dist/oauth-application.js.map +0 -1
- /package/dist/bundle/{chunk-LK2E2ELG.js → chunk-LU3WKZBA.js} +0 -0
|
@@ -1,249 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
activeProfile,
|
|
5
|
-
credentialStorage,
|
|
6
|
-
driveSessionCodec,
|
|
7
|
-
paths,
|
|
8
|
-
tokenKeeper
|
|
9
|
-
} from "./chunk-K4LXGZTE.js";
|
|
10
|
-
import {
|
|
11
|
-
READ_SCOPE,
|
|
12
|
-
WRITE_SCOPE,
|
|
13
|
-
providerRequest
|
|
14
|
-
} from "./chunk-6CQO2FIN.js";
|
|
15
|
-
import {
|
|
16
|
-
googleError
|
|
17
|
-
} from "./chunk-FVQCM7IQ.js";
|
|
18
|
-
import {
|
|
19
|
-
Credentials,
|
|
20
|
-
isMovedRun,
|
|
21
|
-
systemKeyring
|
|
22
|
-
} from "./chunk-CBM2XAEZ.js";
|
|
23
|
-
import {
|
|
24
|
-
minLength,
|
|
25
|
-
nullable,
|
|
26
|
-
number,
|
|
27
|
-
object,
|
|
28
|
-
optional,
|
|
29
|
-
pipe,
|
|
30
|
-
safeParse,
|
|
31
|
-
string
|
|
32
|
-
} from "./chunk-3U22QTU6.js";
|
|
33
|
-
import {
|
|
34
|
-
CliError,
|
|
35
|
-
isCliError
|
|
36
|
-
} from "./chunk-EBLA7GXY.js";
|
|
37
|
-
import {
|
|
38
|
-
__name
|
|
39
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
40
|
-
|
|
41
|
-
// dist/tokens.js
|
|
42
|
-
import { OAuth2Client } from "google-auth-library";
|
|
43
|
-
var Session = object({
|
|
44
|
-
principal: string(),
|
|
45
|
-
clientId: string(),
|
|
46
|
-
clientSecret: optional(string()),
|
|
47
|
-
tokens: object({
|
|
48
|
-
access_token: optional(nullable(string())),
|
|
49
|
-
refresh_token: pipe(string(), minLength(1)),
|
|
50
|
-
expiry_date: optional(nullable(number())),
|
|
51
|
-
scope: optional(string()),
|
|
52
|
-
token_type: optional(nullable(string()))
|
|
53
|
-
})
|
|
54
|
-
});
|
|
55
|
-
var credentialOptions = /* @__PURE__ */ __name((env, storage, keyring) => ({
|
|
56
|
-
configDir: paths(env).config,
|
|
57
|
-
service: "drive-cli",
|
|
58
|
-
// The keyring falls back to the private file by itself (WC-SECR-4); `file` skips the keyring.
|
|
59
|
-
storage: storage === "keyring" ? "auto" : storage,
|
|
60
|
-
env,
|
|
61
|
-
isolated: isMovedRun({ appName: "drive-cli", prefix: "DRIVE", env }),
|
|
62
|
-
...keyring ? { keyring } : {}
|
|
63
|
-
}), "credentialOptions");
|
|
64
|
-
var credentials = /* @__PURE__ */ __name((env, storage, keyring) => new Credentials(credentialOptions(env, storage, keyring)), "credentials");
|
|
65
|
-
var notSaved = /* @__PURE__ */ __name(() => new CliError("configuration_error", "could not save Google sign-in: the private credentials file cannot be read; move it aside and sign in again", { reason: "sign-in.not-saved" }), "notSaved");
|
|
66
|
-
var saveSession = /* @__PURE__ */ __name((env, name, session, storage, keyring) => {
|
|
67
|
-
try {
|
|
68
|
-
credentials(env, storage, keyring).write(name, JSON.stringify(session));
|
|
69
|
-
} catch {
|
|
70
|
-
throw notSaved();
|
|
71
|
-
}
|
|
72
|
-
}, "saveSession");
|
|
73
|
-
var googleProvider = /* @__PURE__ */ __name((client) => ({
|
|
74
|
-
id: "google",
|
|
75
|
-
name: "Google",
|
|
76
|
-
authorizeUrl: "https://accounts.google.com/o/oauth2/v2/auth",
|
|
77
|
-
tokenUrl: "https://oauth2.googleapis.com/token",
|
|
78
|
-
revokeUrl: "https://oauth2.googleapis.com/revoke",
|
|
79
|
-
client,
|
|
80
|
-
redirect: { kind: "loopback" },
|
|
81
|
-
// Without offline access Google returns no refresh token; without consent it does not return one again.
|
|
82
|
-
authorizeParams: { access_type: "offline", prompt: "select_account consent" }
|
|
83
|
-
}), "googleProvider");
|
|
84
|
-
var sessionKeeper = /* @__PURE__ */ __name((options) => tokenKeeper({
|
|
85
|
-
provider: googleProvider(options.client),
|
|
86
|
-
storage: credentialStorage({
|
|
87
|
-
credentials: { ...credentialOptions(options.env, options.storage), keyring: options.keyring ?? systemKeyring },
|
|
88
|
-
account: options.name,
|
|
89
|
-
codec: driveSessionCodec
|
|
90
|
-
}),
|
|
91
|
-
lockDir: paths(options.env).config,
|
|
92
|
-
fetch: options.fetch ?? globalThis.fetch,
|
|
93
|
-
signInCommand: `drive ${options.name} session start`,
|
|
94
|
-
// Above the client's own 5-minute early refresh, so a token it asks to replace is replaced.
|
|
95
|
-
freshForMs: 6 * 6e4,
|
|
96
|
-
...options.signal ? { signal: options.signal } : {}
|
|
97
|
-
}), "sessionKeeper");
|
|
98
|
-
var authorizedClient = /* @__PURE__ */ __name((env, name, keyring, signal) => {
|
|
99
|
-
const profile = activeProfile(env, name);
|
|
100
|
-
let parsed;
|
|
101
|
-
try {
|
|
102
|
-
const secret = credentials(env, profile.storage, keyring).read(name)?.secret;
|
|
103
|
-
if (!secret)
|
|
104
|
-
throw new Error("missing login");
|
|
105
|
-
parsed = safeParse(Session, JSON.parse(secret));
|
|
106
|
-
} catch {
|
|
107
|
-
throw new CliError("authentication_error", `could not load Google sign-in \u2014 run drive ${name} session start again`, {
|
|
108
|
-
reason: "sign-in.expired"
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
|
-
if (!parsed.success || parsed.output.principal !== profile.principal)
|
|
112
|
-
throw new CliError("authentication_error", "saved sign-in is invalid or belongs to another account", {
|
|
113
|
-
reason: "sign-in.expired"
|
|
114
|
-
});
|
|
115
|
-
const session = parsed.output;
|
|
116
|
-
const keeper = sessionKeeper({
|
|
117
|
-
env,
|
|
118
|
-
name,
|
|
119
|
-
storage: profile.storage,
|
|
120
|
-
client: { clientId: session.clientId, ...session.clientSecret ? { clientSecret: session.clientSecret } : {} },
|
|
121
|
-
...keyring ? { keyring } : {},
|
|
122
|
-
...signal ? { signal } : {}
|
|
123
|
-
});
|
|
124
|
-
const client = new OAuth2Client({
|
|
125
|
-
clientId: session.clientId,
|
|
126
|
-
clientSecret: session.clientSecret,
|
|
127
|
-
transporterOptions: { timeout: 3e4, ...signal ? { signal } : {} }
|
|
128
|
-
});
|
|
129
|
-
client.refreshHandler = async () => {
|
|
130
|
-
try {
|
|
131
|
-
const tokens = await keeper.tokens();
|
|
132
|
-
if (!tokens.accessToken || tokens.expiresAt === void 0)
|
|
133
|
-
throw new Error("no access token");
|
|
134
|
-
return { access_token: tokens.accessToken, expiry_date: tokens.expiresAt };
|
|
135
|
-
} catch (error) {
|
|
136
|
-
if (isCliError(error) && error.code !== "authentication_error")
|
|
137
|
-
throw error;
|
|
138
|
-
throw new CliError("authentication_error", `Google sign-in expired \u2014 run drive ${name} session start again`, {
|
|
139
|
-
reason: "sign-in.expired"
|
|
140
|
-
});
|
|
141
|
-
}
|
|
142
|
-
};
|
|
143
|
-
const { refresh_token: _refresh, ...current } = session.tokens;
|
|
144
|
-
client.setCredentials(current);
|
|
145
|
-
return observeRequests(client);
|
|
146
|
-
}, "authorizedClient");
|
|
147
|
-
var covers = /* @__PURE__ */ __name((granted, required) => granted.includes(required) || required === READ_SCOPE && granted.includes(WRITE_SCOPE), "covers");
|
|
148
|
-
var grantedScopes = /* @__PURE__ */ __name((env, name, keyring) => {
|
|
149
|
-
try {
|
|
150
|
-
const secret = credentials(env, activeProfile(env, name).storage, keyring).read(name)?.secret;
|
|
151
|
-
const parsed = secret ? safeParse(Session, JSON.parse(secret)) : void 0;
|
|
152
|
-
if (!parsed?.success)
|
|
153
|
-
return [];
|
|
154
|
-
return parsed.output.tokens.scope?.split(/\s+/).filter(Boolean);
|
|
155
|
-
} catch {
|
|
156
|
-
return [];
|
|
157
|
-
}
|
|
158
|
-
}, "grantedScopes");
|
|
159
|
-
var checkAuthorization = /* @__PURE__ */ __name(async (client, required = READ_SCOPE) => {
|
|
160
|
-
try {
|
|
161
|
-
const { token } = await client.getAccessToken();
|
|
162
|
-
if (!token)
|
|
163
|
-
throw new CliError("authentication_error", "Google returned no access token");
|
|
164
|
-
const info = await client.getTokenInfo(token);
|
|
165
|
-
if (!covers(info.scopes, required))
|
|
166
|
-
throw new CliError("permission_error", "sign-in lacks the required permission; run drive <profile> session start --grant write, activity or apps when needed", { reason: "sign-in.scope-missing" });
|
|
167
|
-
} catch (error) {
|
|
168
|
-
throw googleError(error);
|
|
169
|
-
}
|
|
170
|
-
}, "checkAuthorization");
|
|
171
|
-
var WORD = /^[a-z][a-z_]{0,23}$/;
|
|
172
|
-
var VERB = /^[a-z][A-Za-z]{0,31}$/;
|
|
173
|
-
var segment = /* @__PURE__ */ __name((part) => {
|
|
174
|
-
if (/^v\d+$/.test(part) || WORD.test(part))
|
|
175
|
-
return part;
|
|
176
|
-
const verb = part.split(":")[1];
|
|
177
|
-
return verb !== void 0 && VERB.test(verb) ? `:id:${verb}` : ":id";
|
|
178
|
-
}, "segment");
|
|
179
|
-
var operationOf = /* @__PURE__ */ __name((method, url) => {
|
|
180
|
-
let path = "";
|
|
181
|
-
try {
|
|
182
|
-
path = new URL(String(url ?? "")).pathname;
|
|
183
|
-
} catch {
|
|
184
|
-
}
|
|
185
|
-
const template = path.split("/").filter(Boolean).map((part) => segment(decodeURIComponent(part))).join("/");
|
|
186
|
-
return `${(method ?? "GET").toUpperCase()} /${template}`;
|
|
187
|
-
}, "operationOf");
|
|
188
|
-
var reasonOf = /* @__PURE__ */ __name((data) => {
|
|
189
|
-
const error = data?.error;
|
|
190
|
-
const reason = error?.errors?.[0]?.reason ?? error?.status;
|
|
191
|
-
return typeof reason === "string" ? reason : void 0;
|
|
192
|
-
}, "reasonOf");
|
|
193
|
-
var observeRequests = /* @__PURE__ */ __name((client) => {
|
|
194
|
-
const transporter = client.transporter;
|
|
195
|
-
const request = transporter.request.bind(transporter);
|
|
196
|
-
transporter.request = (async (options) => {
|
|
197
|
-
const method = (options.method ?? "GET").toUpperCase();
|
|
198
|
-
const operation = operationOf(method, options.url);
|
|
199
|
-
const call = { method, endpointTemplate: operation.slice(method.length + 1), transport: "http" };
|
|
200
|
-
let ended;
|
|
201
|
-
const adapter = /* @__PURE__ */ __name(async (prepared, next) => {
|
|
202
|
-
const attempt = (prepared.retryConfig?.currentRetryAttempt ?? 0) + 1;
|
|
203
|
-
const waitMs = ended === void 0 ? void 0 : Math.round(performance.now() - ended);
|
|
204
|
-
const answered = providerRequest(operation, void 0, {
|
|
205
|
-
...call,
|
|
206
|
-
attempt,
|
|
207
|
-
...waitMs === void 0 ? {} : { waitMs }
|
|
208
|
-
});
|
|
209
|
-
try {
|
|
210
|
-
const response = await (options.adapter ? options.adapter(prepared, next) : next(prepared));
|
|
211
|
-
const failed = !(prepared.validateStatus?.(response.status) ?? response.status < 400);
|
|
212
|
-
const providerError = failed ? reasonOf(response.data) : void 0;
|
|
213
|
-
answered({
|
|
214
|
-
status: response.status,
|
|
215
|
-
...failed ? { errorCode: "provider_error" } : {},
|
|
216
|
-
...providerError ? { providerError } : {}
|
|
217
|
-
});
|
|
218
|
-
return response;
|
|
219
|
-
} catch (error) {
|
|
220
|
-
answered({ error, errorCode: googleError(error).code });
|
|
221
|
-
throw error;
|
|
222
|
-
} finally {
|
|
223
|
-
ended = performance.now();
|
|
224
|
-
}
|
|
225
|
-
}, "adapter");
|
|
226
|
-
try {
|
|
227
|
-
return await request({ ...options, adapter });
|
|
228
|
-
} catch (error) {
|
|
229
|
-
if (ended === void 0)
|
|
230
|
-
providerRequest(operation, void 0, { ...call, attempt: 1 })({ error, errorCode: googleError(error).code });
|
|
231
|
-
throw error;
|
|
232
|
-
}
|
|
233
|
-
});
|
|
234
|
-
return client;
|
|
235
|
-
}, "observeRequests");
|
|
236
|
-
|
|
237
|
-
export {
|
|
238
|
-
credentials,
|
|
239
|
-
notSaved,
|
|
240
|
-
saveSession,
|
|
241
|
-
googleProvider,
|
|
242
|
-
sessionKeeper,
|
|
243
|
-
authorizedClient,
|
|
244
|
-
covers,
|
|
245
|
-
grantedScopes,
|
|
246
|
-
checkAuthorization,
|
|
247
|
-
operationOf,
|
|
248
|
-
observeRequests
|
|
249
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
SCHEMA_DIALECT,
|
|
5
|
-
commandContract,
|
|
6
|
-
commandPathOf,
|
|
7
|
-
findCommand,
|
|
8
|
-
outputOf
|
|
9
|
-
} from "./chunk-PAEVBAM3.js";
|
|
10
|
-
import "./chunk-3KNZADHJ.js";
|
|
11
|
-
import "./chunk-EHEZSV6I.js";
|
|
12
|
-
import "./chunk-JW2CVCUH.js";
|
|
13
|
-
import "./chunk-IIP43FQJ.js";
|
|
14
|
-
import "./chunk-5C7K6XIT.js";
|
|
15
|
-
import "./chunk-AD62XJKO.js";
|
|
16
|
-
import "./chunk-HMZAMHKN.js";
|
|
17
|
-
import "./chunk-TI55J3BA.js";
|
|
18
|
-
import "./chunk-VT6GZAF4.js";
|
|
19
|
-
import "./chunk-TJXPJ3A5.js";
|
|
20
|
-
import "./chunk-L5SE2XZP.js";
|
|
21
|
-
import "./chunk-HIOJRPCT.js";
|
|
22
|
-
import "./chunk-IBZ3IBO4.js";
|
|
23
|
-
import "./chunk-3VSUT6BD.js";
|
|
24
|
-
import "./chunk-LK2E2ELG.js";
|
|
25
|
-
import "./chunk-CBM2XAEZ.js";
|
|
26
|
-
import "./chunk-V36RIXFA.js";
|
|
27
|
-
import "./chunk-Y5E2WNWB.js";
|
|
28
|
-
import "./chunk-HIP43OGZ.js";
|
|
29
|
-
import "./chunk-UQPKAY6I.js";
|
|
30
|
-
import "./chunk-3U22QTU6.js";
|
|
31
|
-
import "./chunk-EBLA7GXY.js";
|
|
32
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
33
|
-
export {
|
|
34
|
-
SCHEMA_DIALECT,
|
|
35
|
-
commandContract,
|
|
36
|
-
commandPathOf,
|
|
37
|
-
findCommand,
|
|
38
|
-
outputOf
|
|
39
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
openBrowser,
|
|
5
|
-
startCli
|
|
6
|
-
} from "./chunk-HWLLVLAB.js";
|
|
7
|
-
import "./chunk-IIP43FQJ.js";
|
|
8
|
-
import "./chunk-H2BKXPBL.js";
|
|
9
|
-
import "./chunk-QTM7USFA.js";
|
|
10
|
-
import "./chunk-KPRGTTJH.js";
|
|
11
|
-
import "./chunk-CBM2XAEZ.js";
|
|
12
|
-
import "./chunk-V36RIXFA.js";
|
|
13
|
-
import "./chunk-Y5E2WNWB.js";
|
|
14
|
-
import "./chunk-HIP43OGZ.js";
|
|
15
|
-
import "./chunk-UQPKAY6I.js";
|
|
16
|
-
import "./chunk-3U22QTU6.js";
|
|
17
|
-
import "./chunk-EBLA7GXY.js";
|
|
18
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
19
|
-
export {
|
|
20
|
-
openBrowser,
|
|
21
|
-
startCli
|
|
22
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
askSetupQuestions,
|
|
5
|
-
asksAtStart,
|
|
6
|
-
setupAtStart,
|
|
7
|
-
systemLanguage
|
|
8
|
-
} from "./chunk-6C6255U6.js";
|
|
9
|
-
import "./chunk-JW2CVCUH.js";
|
|
10
|
-
import "./chunk-P7WPYKSB.js";
|
|
11
|
-
import "./chunk-ZYCLPJ7U.js";
|
|
12
|
-
import "./chunk-OKXSTWKW.js";
|
|
13
|
-
import "./chunk-IBZ3IBO4.js";
|
|
14
|
-
import "./chunk-3VSUT6BD.js";
|
|
15
|
-
import "./chunk-D72URWJE.js";
|
|
16
|
-
import "./chunk-2AXA5SKP.js";
|
|
17
|
-
import "./chunk-CBM2XAEZ.js";
|
|
18
|
-
import "./chunk-V36RIXFA.js";
|
|
19
|
-
import "./chunk-Y5E2WNWB.js";
|
|
20
|
-
import "./chunk-HIP43OGZ.js";
|
|
21
|
-
import "./chunk-UQPKAY6I.js";
|
|
22
|
-
import "./chunk-3U22QTU6.js";
|
|
23
|
-
import "./chunk-EBLA7GXY.js";
|
|
24
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
25
|
-
export {
|
|
26
|
-
askSetupQuestions,
|
|
27
|
-
asksAtStart,
|
|
28
|
-
setupAtStart,
|
|
29
|
-
systemLanguage
|
|
30
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
WIRECAT_TOOLS,
|
|
5
|
-
firstScreen,
|
|
6
|
-
installHelp
|
|
7
|
-
} from "./chunk-EVETU3TF.js";
|
|
8
|
-
import "./chunk-HTQTIKWP.js";
|
|
9
|
-
import "./chunk-PAEVBAM3.js";
|
|
10
|
-
import "./chunk-3KNZADHJ.js";
|
|
11
|
-
import "./chunk-EHEZSV6I.js";
|
|
12
|
-
import "./chunk-JW2CVCUH.js";
|
|
13
|
-
import "./chunk-IIP43FQJ.js";
|
|
14
|
-
import "./chunk-5C7K6XIT.js";
|
|
15
|
-
import "./chunk-AD62XJKO.js";
|
|
16
|
-
import "./chunk-HMZAMHKN.js";
|
|
17
|
-
import "./chunk-TI55J3BA.js";
|
|
18
|
-
import "./chunk-VT6GZAF4.js";
|
|
19
|
-
import "./chunk-TJXPJ3A5.js";
|
|
20
|
-
import "./chunk-L5SE2XZP.js";
|
|
21
|
-
import "./chunk-HIOJRPCT.js";
|
|
22
|
-
import "./chunk-IBZ3IBO4.js";
|
|
23
|
-
import "./chunk-3VSUT6BD.js";
|
|
24
|
-
import "./chunk-LK2E2ELG.js";
|
|
25
|
-
import "./chunk-CBM2XAEZ.js";
|
|
26
|
-
import "./chunk-V36RIXFA.js";
|
|
27
|
-
import "./chunk-Y5E2WNWB.js";
|
|
28
|
-
import "./chunk-HIP43OGZ.js";
|
|
29
|
-
import "./chunk-UQPKAY6I.js";
|
|
30
|
-
import "./chunk-3U22QTU6.js";
|
|
31
|
-
import "./chunk-EBLA7GXY.js";
|
|
32
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
33
|
-
export {
|
|
34
|
-
WIRECAT_TOOLS,
|
|
35
|
-
firstScreen,
|
|
36
|
-
installHelp
|
|
37
|
-
};
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
covers,
|
|
5
|
-
grantedScopes
|
|
6
|
-
} from "./chunk-PGKIOSN3.js";
|
|
7
|
-
import {
|
|
8
|
-
GOOGLE_WRITE
|
|
9
|
-
} from "./chunk-II7LST64.js";
|
|
10
|
-
import "./chunk-K4LXGZTE.js";
|
|
11
|
-
import "./chunk-UWVNRPT7.js";
|
|
12
|
-
import {
|
|
13
|
-
apiMethod
|
|
14
|
-
} from "./chunk-B5GBJ35N.js";
|
|
15
|
-
import {
|
|
16
|
-
READ_SCOPE,
|
|
17
|
-
WRITE_SCOPE
|
|
18
|
-
} from "./chunk-6CQO2FIN.js";
|
|
19
|
-
import "./chunk-FVQCM7IQ.js";
|
|
20
|
-
import "./chunk-LJ7E4HLQ.js";
|
|
21
|
-
import "./chunk-SBZB7HMU.js";
|
|
22
|
-
import "./chunk-YU3PTU3D.js";
|
|
23
|
-
import "./chunk-A6SLYOP2.js";
|
|
24
|
-
import "./chunk-KFZUODXB.js";
|
|
25
|
-
import "./chunk-FICVPYE4.js";
|
|
26
|
-
import "./chunk-ZSMCJKGP.js";
|
|
27
|
-
import "./chunk-TFH5X46A.js";
|
|
28
|
-
import "./chunk-EVETU3TF.js";
|
|
29
|
-
import "./chunk-HTQTIKWP.js";
|
|
30
|
-
import "./chunk-PAEVBAM3.js";
|
|
31
|
-
import {
|
|
32
|
-
describeProgram,
|
|
33
|
-
flatten
|
|
34
|
-
} from "./chunk-3KNZADHJ.js";
|
|
35
|
-
import "./chunk-EHEZSV6I.js";
|
|
36
|
-
import "./chunk-6C6255U6.js";
|
|
37
|
-
import "./chunk-JW2CVCUH.js";
|
|
38
|
-
import "./chunk-HWLLVLAB.js";
|
|
39
|
-
import "./chunk-IIP43FQJ.js";
|
|
40
|
-
import "./chunk-GT5KTGCN.js";
|
|
41
|
-
import "./chunk-GJ4ZCIOP.js";
|
|
42
|
-
import "./chunk-5C7K6XIT.js";
|
|
43
|
-
import "./chunk-DI5Z4SH5.js";
|
|
44
|
-
import "./chunk-7QTVIZII.js";
|
|
45
|
-
import "./chunk-YADXWQHV.js";
|
|
46
|
-
import "./chunk-A6EG7ZDS.js";
|
|
47
|
-
import "./chunk-AD62XJKO.js";
|
|
48
|
-
import "./chunk-HMZAMHKN.js";
|
|
49
|
-
import "./chunk-P7WPYKSB.js";
|
|
50
|
-
import "./chunk-ZYCLPJ7U.js";
|
|
51
|
-
import "./chunk-JSDVK3JA.js";
|
|
52
|
-
import "./chunk-EORMZCVF.js";
|
|
53
|
-
import "./chunk-P3ZTW2ZM.js";
|
|
54
|
-
import "./chunk-5DPV7X27.js";
|
|
55
|
-
import "./chunk-TI55J3BA.js";
|
|
56
|
-
import "./chunk-LPHMAQJQ.js";
|
|
57
|
-
import "./chunk-VT6GZAF4.js";
|
|
58
|
-
import "./chunk-H2BKXPBL.js";
|
|
59
|
-
import "./chunk-GI5JBGXH.js";
|
|
60
|
-
import "./chunk-IADOBOKB.js";
|
|
61
|
-
import "./chunk-TJXPJ3A5.js";
|
|
62
|
-
import "./chunk-L5SE2XZP.js";
|
|
63
|
-
import "./chunk-HIOJRPCT.js";
|
|
64
|
-
import "./chunk-OKXSTWKW.js";
|
|
65
|
-
import "./chunk-IBZ3IBO4.js";
|
|
66
|
-
import "./chunk-3VSUT6BD.js";
|
|
67
|
-
import "./chunk-QTM7USFA.js";
|
|
68
|
-
import "./chunk-BSGOM3BD.js";
|
|
69
|
-
import "./chunk-OMMEQJOB.js";
|
|
70
|
-
import "./chunk-F3FOL42A.js";
|
|
71
|
-
import "./chunk-D72URWJE.js";
|
|
72
|
-
import "./chunk-2AXA5SKP.js";
|
|
73
|
-
import "./chunk-MEAPA4EZ.js";
|
|
74
|
-
import "./chunk-MUUHUHWC.js";
|
|
75
|
-
import "./chunk-LK2E2ELG.js";
|
|
76
|
-
import "./chunk-KPRGTTJH.js";
|
|
77
|
-
import "./chunk-CBM2XAEZ.js";
|
|
78
|
-
import "./chunk-V36RIXFA.js";
|
|
79
|
-
import "./chunk-Y5E2WNWB.js";
|
|
80
|
-
import "./chunk-HIP43OGZ.js";
|
|
81
|
-
import "./chunk-UQPKAY6I.js";
|
|
82
|
-
import "./chunk-3U22QTU6.js";
|
|
83
|
-
import "./chunk-EBLA7GXY.js";
|
|
84
|
-
import {
|
|
85
|
-
__name
|
|
86
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
87
|
-
|
|
88
|
-
// dist/grants.js
|
|
89
|
-
var requiredScope = /* @__PURE__ */ __name((command) => command.api_operation ? apiMethod(command.api_operation).scope : command.effects?.remote === GOOGLE_WRITE.remote && command.effects.local === GOOGLE_WRITE.local ? WRITE_SCOPE : void 0, "requiredScope");
|
|
90
|
-
var grantAvailability = /* @__PURE__ */ __name((program, env, keyring) => {
|
|
91
|
-
const commands = new Map(flatten(describeProgram(program)).map((info) => [info.path.join(" "), info]));
|
|
92
|
-
return (path, profile) => {
|
|
93
|
-
const command = commands.get(path.join(" "));
|
|
94
|
-
const required = command && requiredScope(command);
|
|
95
|
-
if (!required || required === READ_SCOPE)
|
|
96
|
-
return void 0;
|
|
97
|
-
const granted = grantedScopes(env, profile, keyring);
|
|
98
|
-
if (!granted || covers(granted, required))
|
|
99
|
-
return void 0;
|
|
100
|
-
return { available: false, reason: `the OAuth grant needs ${required}`, permission: "oauth.scope" };
|
|
101
|
-
};
|
|
102
|
-
}, "grantAvailability");
|
|
103
|
-
export {
|
|
104
|
-
grantAvailability
|
|
105
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
ownerLogin,
|
|
5
|
-
revokeAll
|
|
6
|
-
} from "./chunk-M6I2SQN7.js";
|
|
7
|
-
import "./chunk-5D4AEUVA.js";
|
|
8
|
-
import "./chunk-GT5KTGCN.js";
|
|
9
|
-
import "./chunk-GJ4ZCIOP.js";
|
|
10
|
-
import "./chunk-5C7K6XIT.js";
|
|
11
|
-
import "./chunk-CBM2XAEZ.js";
|
|
12
|
-
import "./chunk-V36RIXFA.js";
|
|
13
|
-
import "./chunk-Y5E2WNWB.js";
|
|
14
|
-
import "./chunk-HIP43OGZ.js";
|
|
15
|
-
import "./chunk-UQPKAY6I.js";
|
|
16
|
-
import "./chunk-3U22QTU6.js";
|
|
17
|
-
import "./chunk-EBLA7GXY.js";
|
|
18
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
19
|
-
export {
|
|
20
|
-
ownerLogin,
|
|
21
|
-
revokeAll
|
|
22
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
readSecret
|
|
5
|
-
} from "./chunk-OMMEQJOB.js";
|
|
6
|
-
import "./chunk-F3FOL42A.js";
|
|
7
|
-
import "./chunk-CBM2XAEZ.js";
|
|
8
|
-
import "./chunk-V36RIXFA.js";
|
|
9
|
-
import "./chunk-Y5E2WNWB.js";
|
|
10
|
-
import "./chunk-HIP43OGZ.js";
|
|
11
|
-
import "./chunk-UQPKAY6I.js";
|
|
12
|
-
import "./chunk-3U22QTU6.js";
|
|
13
|
-
import "./chunk-EBLA7GXY.js";
|
|
14
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
15
|
-
export {
|
|
16
|
-
readSecret
|
|
17
|
-
};
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
PER_RUN,
|
|
5
|
-
createServer,
|
|
6
|
-
envelope,
|
|
7
|
-
serveOverHttpUntilStopped,
|
|
8
|
-
serveOverStdio
|
|
9
|
-
} from "./chunk-IGF6EXBR.js";
|
|
10
|
-
import "./chunk-A6SLYOP2.js";
|
|
11
|
-
import "./chunk-3KJTJDDT.js";
|
|
12
|
-
import "./chunk-KFZUODXB.js";
|
|
13
|
-
import "./chunk-OZH4ALTI.js";
|
|
14
|
-
import "./chunk-XCOCPXCM.js";
|
|
15
|
-
import "./chunk-5D4AEUVA.js";
|
|
16
|
-
import "./chunk-ZSMCJKGP.js";
|
|
17
|
-
import "./chunk-TFH5X46A.js";
|
|
18
|
-
import "./chunk-PAEVBAM3.js";
|
|
19
|
-
import "./chunk-3KNZADHJ.js";
|
|
20
|
-
import "./chunk-EHEZSV6I.js";
|
|
21
|
-
import "./chunk-JW2CVCUH.js";
|
|
22
|
-
import "./chunk-IIP43FQJ.js";
|
|
23
|
-
import "./chunk-GT5KTGCN.js";
|
|
24
|
-
import "./chunk-GJ4ZCIOP.js";
|
|
25
|
-
import "./chunk-5C7K6XIT.js";
|
|
26
|
-
import "./chunk-36B7AIGP.js";
|
|
27
|
-
import "./chunk-7QTVIZII.js";
|
|
28
|
-
import "./chunk-YADXWQHV.js";
|
|
29
|
-
import "./chunk-A6EG7ZDS.js";
|
|
30
|
-
import "./chunk-AD62XJKO.js";
|
|
31
|
-
import "./chunk-HMZAMHKN.js";
|
|
32
|
-
import "./chunk-P7WPYKSB.js";
|
|
33
|
-
import "./chunk-ZYCLPJ7U.js";
|
|
34
|
-
import "./chunk-JSDVK3JA.js";
|
|
35
|
-
import "./chunk-EORMZCVF.js";
|
|
36
|
-
import "./chunk-P3ZTW2ZM.js";
|
|
37
|
-
import "./chunk-5DPV7X27.js";
|
|
38
|
-
import "./chunk-TI55J3BA.js";
|
|
39
|
-
import "./chunk-LPHMAQJQ.js";
|
|
40
|
-
import "./chunk-VT6GZAF4.js";
|
|
41
|
-
import "./chunk-GI5JBGXH.js";
|
|
42
|
-
import "./chunk-IADOBOKB.js";
|
|
43
|
-
import "./chunk-TJXPJ3A5.js";
|
|
44
|
-
import "./chunk-L5SE2XZP.js";
|
|
45
|
-
import "./chunk-HIOJRPCT.js";
|
|
46
|
-
import "./chunk-OKXSTWKW.js";
|
|
47
|
-
import "./chunk-IBZ3IBO4.js";
|
|
48
|
-
import "./chunk-3VSUT6BD.js";
|
|
49
|
-
import "./chunk-QTM7USFA.js";
|
|
50
|
-
import "./chunk-BSGOM3BD.js";
|
|
51
|
-
import "./chunk-F3FOL42A.js";
|
|
52
|
-
import "./chunk-D72URWJE.js";
|
|
53
|
-
import "./chunk-2AXA5SKP.js";
|
|
54
|
-
import "./chunk-LK2E2ELG.js";
|
|
55
|
-
import "./chunk-KPRGTTJH.js";
|
|
56
|
-
import "./chunk-CBM2XAEZ.js";
|
|
57
|
-
import "./chunk-V36RIXFA.js";
|
|
58
|
-
import "./chunk-Y5E2WNWB.js";
|
|
59
|
-
import "./chunk-HIP43OGZ.js";
|
|
60
|
-
import "./chunk-UQPKAY6I.js";
|
|
61
|
-
import "./chunk-3U22QTU6.js";
|
|
62
|
-
import "./chunk-EBLA7GXY.js";
|
|
63
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
64
|
-
export {
|
|
65
|
-
PER_RUN,
|
|
66
|
-
createServer,
|
|
67
|
-
envelope,
|
|
68
|
-
serveOverHttpUntilStopped,
|
|
69
|
-
serveOverStdio
|
|
70
|
-
};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
buildStems,
|
|
5
|
-
storeMaintenanceCommands,
|
|
6
|
-
storeSummary
|
|
7
|
-
} from "./chunk-FICVPYE4.js";
|
|
8
|
-
import "./chunk-ZSMCJKGP.js";
|
|
9
|
-
import "./chunk-TFH5X46A.js";
|
|
10
|
-
import "./chunk-HTQTIKWP.js";
|
|
11
|
-
import "./chunk-3KNZADHJ.js";
|
|
12
|
-
import "./chunk-EHEZSV6I.js";
|
|
13
|
-
import "./chunk-JW2CVCUH.js";
|
|
14
|
-
import "./chunk-IIP43FQJ.js";
|
|
15
|
-
import "./chunk-GJ4ZCIOP.js";
|
|
16
|
-
import "./chunk-5C7K6XIT.js";
|
|
17
|
-
import "./chunk-DI5Z4SH5.js";
|
|
18
|
-
import "./chunk-7QTVIZII.js";
|
|
19
|
-
import "./chunk-YADXWQHV.js";
|
|
20
|
-
import "./chunk-A6EG7ZDS.js";
|
|
21
|
-
import "./chunk-AD62XJKO.js";
|
|
22
|
-
import "./chunk-HMZAMHKN.js";
|
|
23
|
-
import "./chunk-P7WPYKSB.js";
|
|
24
|
-
import "./chunk-ZYCLPJ7U.js";
|
|
25
|
-
import "./chunk-JSDVK3JA.js";
|
|
26
|
-
import "./chunk-EORMZCVF.js";
|
|
27
|
-
import "./chunk-P3ZTW2ZM.js";
|
|
28
|
-
import "./chunk-5DPV7X27.js";
|
|
29
|
-
import "./chunk-TI55J3BA.js";
|
|
30
|
-
import "./chunk-LPHMAQJQ.js";
|
|
31
|
-
import "./chunk-VT6GZAF4.js";
|
|
32
|
-
import "./chunk-GI5JBGXH.js";
|
|
33
|
-
import "./chunk-IADOBOKB.js";
|
|
34
|
-
import "./chunk-TJXPJ3A5.js";
|
|
35
|
-
import "./chunk-L5SE2XZP.js";
|
|
36
|
-
import "./chunk-HIOJRPCT.js";
|
|
37
|
-
import "./chunk-OKXSTWKW.js";
|
|
38
|
-
import "./chunk-IBZ3IBO4.js";
|
|
39
|
-
import "./chunk-3VSUT6BD.js";
|
|
40
|
-
import "./chunk-QTM7USFA.js";
|
|
41
|
-
import "./chunk-BSGOM3BD.js";
|
|
42
|
-
import "./chunk-OMMEQJOB.js";
|
|
43
|
-
import "./chunk-F3FOL42A.js";
|
|
44
|
-
import "./chunk-D72URWJE.js";
|
|
45
|
-
import "./chunk-2AXA5SKP.js";
|
|
46
|
-
import "./chunk-LK2E2ELG.js";
|
|
47
|
-
import "./chunk-KPRGTTJH.js";
|
|
48
|
-
import "./chunk-CBM2XAEZ.js";
|
|
49
|
-
import "./chunk-V36RIXFA.js";
|
|
50
|
-
import "./chunk-Y5E2WNWB.js";
|
|
51
|
-
import "./chunk-HIP43OGZ.js";
|
|
52
|
-
import "./chunk-UQPKAY6I.js";
|
|
53
|
-
import "./chunk-3U22QTU6.js";
|
|
54
|
-
import "./chunk-EBLA7GXY.js";
|
|
55
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
56
|
-
export {
|
|
57
|
-
buildStems,
|
|
58
|
-
storeMaintenanceCommands,
|
|
59
|
-
storeSummary
|
|
60
|
-
};
|