@liquidmetal-ai/raindrop 0.9.0 → 0.9.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/README.md +85 -134
- package/bundle/chunk-2NAMGQLL.js +805 -0
- package/bundle/chunk-4C3ZVVH7.js +502 -0
- package/bundle/chunk-4RVUC2XX.js +4539 -0
- package/bundle/chunk-5QVCT2XX.js +380 -0
- package/bundle/chunk-67CBWZ7Y.js +380 -0
- package/bundle/chunk-7ERI6IFL.js +22452 -0
- package/bundle/chunk-CZCDV5DC.js +147 -0
- package/bundle/chunk-D5TOYPUE.js +12148 -0
- package/bundle/chunk-DIDBQB37.js +12148 -0
- package/bundle/chunk-DV2VD4JX.js +44 -0
- package/bundle/chunk-FQ3UM2WC.js +4480 -0
- package/bundle/chunk-FTG32FZ4.js +44 -0
- package/bundle/chunk-GCLJVMUS.js +4539 -0
- package/bundle/chunk-GDYEPR67.js +75 -0
- package/bundle/chunk-HBDFBL3W.js +133 -0
- package/bundle/chunk-IMQTVYRB.js +502 -0
- package/bundle/chunk-IXNEFD7W.js +133 -0
- package/bundle/chunk-JDMAG4KE.js +147 -0
- package/bundle/chunk-JXNZYHAI.js +238750 -0
- package/bundle/chunk-OMXHWEID.js +75 -0
- package/bundle/chunk-ORPX7FPP.js +4484 -0
- package/bundle/chunk-QKHN66ZN.js +805 -0
- package/bundle/chunk-SP4Q3T7T.js +48 -0
- package/bundle/chunk-UA3E47QH.js +231 -0
- package/bundle/chunk-UL64FJVV.js +22452 -0
- package/bundle/chunk-VEVVJAL6.js +238722 -0
- package/bundle/chunk-Z2AQLL53.js +292 -0
- package/bundle/chunk-ZHLA64FP.js +48 -0
- package/bundle/chunk-ZHYJWVIA.js +292 -0
- package/bundle/chunk-ZLRYUJ5P.js +231 -0
- package/bundle/commands/annotation/get.js +3 -3
- package/bundle/commands/annotation/list.js +3 -3
- package/bundle/commands/annotation/put.js +3 -3
- package/bundle/commands/auth/list.js +2 -2
- package/bundle/commands/auth/login.js +3 -3
- package/bundle/commands/auth/logout.js +2 -2
- package/bundle/commands/auth/select.js +3 -3
- package/bundle/commands/bucket/create-credential.js +2 -2
- package/bundle/commands/bucket/delete-credential.js +2 -2
- package/bundle/commands/bucket/get-credential.js +2 -2
- package/bundle/commands/bucket/list-credentials.js +2 -2
- package/bundle/commands/build/branch.js +9 -9
- package/bundle/commands/build/checkout.js +5 -5
- package/bundle/commands/build/clone.js +5 -5
- package/bundle/commands/build/delete.js +5 -5
- package/bundle/commands/build/deploy.js +9 -9
- package/bundle/commands/build/env/get.js +2 -2
- package/bundle/commands/build/env/set.js +2 -2
- package/bundle/commands/build/find.js +3 -3
- package/bundle/commands/build/generate.js +3 -3
- package/bundle/commands/build/init.js +3 -3
- package/bundle/commands/build/list.js +4 -4
- package/bundle/commands/build/sandbox.js +7 -7
- package/bundle/commands/build/start.js +2 -2
- package/bundle/commands/build/status.js +4 -4
- package/bundle/commands/build/stop.js +2 -2
- package/bundle/commands/build/tools/check.js +2 -2
- package/bundle/commands/build/tools/fmt.js +2 -2
- package/bundle/commands/build/unsandbox.js +7 -7
- package/bundle/commands/build/upload.js +5 -5
- package/bundle/commands/build/validate.js +4 -4
- package/bundle/commands/build/workos/delete.js +4 -4
- package/bundle/commands/build/workos/env/attach.js +3 -3
- package/bundle/commands/build/workos/env/create.js +3 -3
- package/bundle/commands/build/workos/env/delete.js +3 -3
- package/bundle/commands/build/workos/env/detach.js +3 -3
- package/bundle/commands/build/workos/env/get.js +3 -3
- package/bundle/commands/build/workos/env/list.js +3 -3
- package/bundle/commands/build/workos/env/set.js +3 -3
- package/bundle/commands/build/workos/invite.js +3 -3
- package/bundle/commands/build/workos/setup.js +3 -3
- package/bundle/commands/build/workos/status.js +3 -3
- package/bundle/commands/dns/create.js +2 -2
- package/bundle/commands/dns/delete.js +4 -4
- package/bundle/commands/dns/get.js +4 -4
- package/bundle/commands/dns/list.js +3 -3
- package/bundle/commands/dns/records/create.js +2 -2
- package/bundle/commands/dns/records/delete.js +3 -3
- package/bundle/commands/dns/records/get.js +2 -2
- package/bundle/commands/dns/records/list.js +2 -2
- package/bundle/commands/dns/records/update.js +2 -2
- package/bundle/commands/logs/query.js +3 -3
- package/bundle/commands/logs/tail.js +3 -3
- package/bundle/commands/mcp/install-claude.js +2 -2
- package/bundle/commands/mcp/install-gemini.js +2 -2
- package/bundle/commands/mcp/install-goose.js +2 -2
- package/bundle/commands/mcp/status.js +2 -2
- package/bundle/commands/object/delete.js +2 -2
- package/bundle/commands/object/get.js +2 -2
- package/bundle/commands/object/list.js +2 -2
- package/bundle/commands/object/put.js +2 -2
- package/bundle/commands/query/chunk-search.js +3 -3
- package/bundle/commands/query/document.js +3 -3
- package/bundle/commands/query/events.js +2 -2
- package/bundle/commands/query/reindex.js +2 -2
- package/bundle/commands/query/search.js +3 -3
- package/bundle/commands/tail.js +2 -2
- package/bundle/index.js +1 -1
- package/dist/base-command.d.ts +4 -4
- package/dist/base-command.d.ts.map +1 -1
- package/dist/base-command.js +2 -2
- package/dist/commands/{build/package-template.d.ts → killswitch.d.ts} +7 -15
- package/dist/commands/killswitch.d.ts.map +1 -0
- package/dist/commands/killswitch.js +58 -0
- package/dist/index.d.ts +5 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/utils/mixpanel.d.ts +10 -0
- package/dist/utils/mixpanel.d.ts.map +1 -0
- package/dist/utils/mixpanel.js +43 -0
- package/oclif.manifest.json +1920 -2187
- package/package.json +3 -3
- package/templates/db/node_modules/.bin/prisma +2 -2
- package/templates/db/node_modules/.bin/prisma-kysely +2 -2
- package/templates/db/node_modules/.bin/tsc +2 -2
- package/templates/db/node_modules/.bin/tsserver +2 -2
- package/templates/db/node_modules/.bin/zx +2 -2
- package/bundle/chunk-6CDCK5IP.js +0 -58
- package/bundle/commands/build/list-templates.js +0 -63
- package/bundle/commands/build/package-template.js +0 -238
- package/dist/commands/build/list-templates.d.ts +0 -11
- package/dist/commands/build/list-templates.d.ts.map +0 -1
- package/dist/commands/build/list-templates.js +0 -47
- package/dist/commands/build/package-template.d.ts.map +0 -1
- package/dist/commands/build/package-template.js +0 -256
- package/dist/templates/registry.d.ts +0 -38
- package/dist/templates/registry.d.ts.map +0 -1
- package/dist/templates/registry.js +0 -72
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import {
|
|
2
|
+
FileSystemBundle,
|
|
3
|
+
archive
|
|
4
|
+
} from "./chunk-QKHN66ZN.js";
|
|
5
|
+
import {
|
|
6
|
+
buildHandlers
|
|
7
|
+
} from "./chunk-ZHYJWVIA.js";
|
|
8
|
+
import {
|
|
9
|
+
tmpdir
|
|
10
|
+
} from "./chunk-7ERI6IFL.js";
|
|
11
|
+
import {
|
|
12
|
+
BundleArchiveType,
|
|
13
|
+
Code,
|
|
14
|
+
ConnectError,
|
|
15
|
+
ReleaseRequest_LockSchema,
|
|
16
|
+
create,
|
|
17
|
+
init_cjs_shims,
|
|
18
|
+
listEnvVars,
|
|
19
|
+
valueOf
|
|
20
|
+
} from "./chunk-JXNZYHAI.js";
|
|
21
|
+
|
|
22
|
+
// src/deploy.ts
|
|
23
|
+
init_cjs_shims();
|
|
24
|
+
import fs from "node:fs/promises";
|
|
25
|
+
import * as path from "node:path";
|
|
26
|
+
async function deploy(options) {
|
|
27
|
+
const { command, root, manifest, output } = options;
|
|
28
|
+
const manifestPath = path.isAbsolute(manifest) ? manifest : path.join(root, manifest);
|
|
29
|
+
const buildDir = path.isAbsolute(output) ? output : path.join(root, output);
|
|
30
|
+
const apps = await command.loadManifest();
|
|
31
|
+
if (apps[0] === void 0) {
|
|
32
|
+
command.error("There are no applications in the manifest");
|
|
33
|
+
return "";
|
|
34
|
+
}
|
|
35
|
+
const app = apps[0];
|
|
36
|
+
const manifestContents = await fs.readFile(manifestPath, "utf8");
|
|
37
|
+
await buildHandlers(command, apps, buildDir, root);
|
|
38
|
+
const runtimeVersion = await command.raindropFrameworkVersion();
|
|
39
|
+
const { client: catalogService, userId, organizationId: defaultOrganizationId } = await command.catalogService();
|
|
40
|
+
const organizationId = options.impersonate ?? defaultOrganizationId;
|
|
41
|
+
let deployResp;
|
|
42
|
+
try {
|
|
43
|
+
deployResp = await catalogService.deploy({
|
|
44
|
+
userId,
|
|
45
|
+
organizationId,
|
|
46
|
+
applications: [
|
|
47
|
+
{
|
|
48
|
+
application: valueOf(app.name),
|
|
49
|
+
previousVersionId: options.previousVersionId,
|
|
50
|
+
currentVersionId: options.currentVersionId,
|
|
51
|
+
branch: options.branch,
|
|
52
|
+
amend: options.amend,
|
|
53
|
+
metadata: {
|
|
54
|
+
runtimeVersion
|
|
55
|
+
},
|
|
56
|
+
manifest: manifestContents,
|
|
57
|
+
lock: options.lock,
|
|
58
|
+
suite: ""
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
});
|
|
62
|
+
} catch (err) {
|
|
63
|
+
if (err instanceof ConnectError && err.code === Code.FailedPrecondition) {
|
|
64
|
+
command.error(
|
|
65
|
+
`Failed to ${options.amend ? "amend" : "deploy"} ${valueOf(app.name)}@${options.previousVersionId}=>${options.currentVersionId}: ${err.message}`
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
throw err;
|
|
69
|
+
}
|
|
70
|
+
if (deployResp.applications[0] === void 0) {
|
|
71
|
+
command.error("Failed to deploy application");
|
|
72
|
+
}
|
|
73
|
+
const currentVersionId = deployResp.applications[0].currentVersionId;
|
|
74
|
+
if (!currentVersionId) {
|
|
75
|
+
command.error("Failed to retrieve current version ID from deployment response.");
|
|
76
|
+
}
|
|
77
|
+
const lock = deployResp.applications[0].lock;
|
|
78
|
+
const config = await command.loadConfig();
|
|
79
|
+
config.versionId = currentVersionId;
|
|
80
|
+
config.lock = lock;
|
|
81
|
+
await command.saveConfig(config);
|
|
82
|
+
await checkEnvironmentVariables(command, app, catalogService, userId, organizationId, currentVersionId);
|
|
83
|
+
await uploadBundles(command, app, buildDir, catalogService, userId, organizationId, currentVersionId);
|
|
84
|
+
await uploadDbBundle(command, root, catalogService, userId, organizationId, app, currentVersionId);
|
|
85
|
+
if (options.start) {
|
|
86
|
+
await catalogService.setActive({
|
|
87
|
+
userId,
|
|
88
|
+
organizationId,
|
|
89
|
+
applications: deployResp.applications.map((a) => ({
|
|
90
|
+
applicationName: a.applicationName,
|
|
91
|
+
currentVersionId: a.currentVersionId,
|
|
92
|
+
isActive: options.start
|
|
93
|
+
}))
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
await catalogService.release({
|
|
97
|
+
userId,
|
|
98
|
+
organizationId,
|
|
99
|
+
locks: deployResp.applications.map(
|
|
100
|
+
(a) => create(ReleaseRequest_LockSchema, {
|
|
101
|
+
applicationName: a.applicationName,
|
|
102
|
+
currentVersionId: a.currentVersionId,
|
|
103
|
+
lock: a.lock
|
|
104
|
+
})
|
|
105
|
+
)
|
|
106
|
+
});
|
|
107
|
+
config.lock = void 0;
|
|
108
|
+
await command.saveConfig(config);
|
|
109
|
+
return currentVersionId;
|
|
110
|
+
}
|
|
111
|
+
async function checkEnvironmentVariables(command, app, catalogService, userId, organizationId, currentVersionId) {
|
|
112
|
+
const envVars = listEnvVars(app);
|
|
113
|
+
if (Object.keys(envVars).length > 0) {
|
|
114
|
+
const getEnvsResp = await catalogService.getEnvs({
|
|
115
|
+
userId,
|
|
116
|
+
organizationId,
|
|
117
|
+
envs: Object.keys(envVars).map((key) => ({
|
|
118
|
+
applicationName: valueOf(app.name),
|
|
119
|
+
currentVersionId,
|
|
120
|
+
key
|
|
121
|
+
}))
|
|
122
|
+
});
|
|
123
|
+
let unset = false;
|
|
124
|
+
const remoteEnvVars = Object.fromEntries(getEnvsResp.envs.map((env) => [env.key, env.value]));
|
|
125
|
+
for (const key of Object.keys(envVars)) {
|
|
126
|
+
const manifestDefault = envVars[key]?.default;
|
|
127
|
+
const remoteValue = remoteEnvVars[key];
|
|
128
|
+
if (remoteValue === void 0 && manifestDefault === void 0) {
|
|
129
|
+
if (!unset) {
|
|
130
|
+
command.warn(`The following environment variables were not set and are required for deployment:`);
|
|
131
|
+
}
|
|
132
|
+
unset = true;
|
|
133
|
+
command.warn(key);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
if (unset) {
|
|
137
|
+
command.error(
|
|
138
|
+
"Please set environment variables before deploying. You can resume using `raindrop build deploy --amend`"
|
|
139
|
+
);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
async function uploadBundles(command, app, buildDir, catalogService, userId, organizationId, currentVersionId) {
|
|
144
|
+
await Promise.all(
|
|
145
|
+
app.handlers().map(async (handler) => {
|
|
146
|
+
const bundle = new FileSystemBundle(path.join(buildDir, valueOf(handler.name)));
|
|
147
|
+
await catalogService.uploadBundle({
|
|
148
|
+
userId,
|
|
149
|
+
organizationId,
|
|
150
|
+
applicationName: valueOf(app.name),
|
|
151
|
+
applicationVersionId: currentVersionId,
|
|
152
|
+
archiveType: BundleArchiveType.ZIP,
|
|
153
|
+
bundleName: valueOf(handler.name),
|
|
154
|
+
archive: Buffer.from(await archive(bundle))
|
|
155
|
+
});
|
|
156
|
+
command.log(`Uploaded bundle "${valueOf(handler.name)}"`);
|
|
157
|
+
})
|
|
158
|
+
);
|
|
159
|
+
}
|
|
160
|
+
async function uploadDbBundle(command, root, catalogService, userId, organizationId, app, currentVersionId) {
|
|
161
|
+
const dbDir = path.join(root, "db");
|
|
162
|
+
let dbExists = false;
|
|
163
|
+
try {
|
|
164
|
+
const stat = await fs.lstat(dbDir);
|
|
165
|
+
dbExists = stat.isDirectory();
|
|
166
|
+
} catch (_e) {
|
|
167
|
+
}
|
|
168
|
+
if (dbExists) {
|
|
169
|
+
command.log(`Checking for SQL files in ${dbDir}`);
|
|
170
|
+
const files = await fs.readdir(dbDir, {
|
|
171
|
+
withFileTypes: true
|
|
172
|
+
});
|
|
173
|
+
const folders = files.filter((file) => file.isDirectory());
|
|
174
|
+
try {
|
|
175
|
+
const tempDir = tmpdir();
|
|
176
|
+
for (const folder of folders) {
|
|
177
|
+
const sqlFiles = (await fs.readdir(path.join(dbDir, folder.name))).filter((file) => file.endsWith(".sql"));
|
|
178
|
+
const tmpDbFolder = await fs.mkdir(path.join(tempDir, folder.name), { recursive: true });
|
|
179
|
+
for (const sqlFile of sqlFiles) {
|
|
180
|
+
await fs.copyFile(path.join(dbDir, folder.name, sqlFile), path.join(tmpDbFolder, sqlFile));
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
const dbBundle = new FileSystemBundle(tempDir);
|
|
184
|
+
await catalogService.uploadBundle({
|
|
185
|
+
userId,
|
|
186
|
+
organizationId,
|
|
187
|
+
applicationName: valueOf(app.name),
|
|
188
|
+
applicationVersionId: currentVersionId,
|
|
189
|
+
archiveType: BundleArchiveType.ZIP,
|
|
190
|
+
bundleName: "db",
|
|
191
|
+
archive: Buffer.from(await archive(dbBundle))
|
|
192
|
+
});
|
|
193
|
+
command.log(`Uploaded db bundle with SQL files`);
|
|
194
|
+
await fs.rm(tempDir, { recursive: true, force: true });
|
|
195
|
+
} catch (error) {
|
|
196
|
+
command.log(`Failed to upload db bundle: ${error}`);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
async function sandbox(options) {
|
|
201
|
+
const { command, versionId: versionIdRaw, impersonate, isSandboxed } = options;
|
|
202
|
+
const config = await command.loadConfig();
|
|
203
|
+
const { client: catalogService, userId, organizationId: defaultOrganizationId } = await command.catalogService();
|
|
204
|
+
const organizationId = impersonate ?? defaultOrganizationId;
|
|
205
|
+
const apps = await command.loadManifest();
|
|
206
|
+
const app = apps[0];
|
|
207
|
+
const versionId = versionIdRaw ?? config.versionId;
|
|
208
|
+
if (!app) {
|
|
209
|
+
throw new Error("No application found");
|
|
210
|
+
}
|
|
211
|
+
const applications = [
|
|
212
|
+
{
|
|
213
|
+
applicationName: valueOf(app.name),
|
|
214
|
+
currentVersionId: versionId,
|
|
215
|
+
isSandboxed
|
|
216
|
+
}
|
|
217
|
+
];
|
|
218
|
+
await catalogService.setSandbox({
|
|
219
|
+
userId,
|
|
220
|
+
organizationId,
|
|
221
|
+
applications
|
|
222
|
+
});
|
|
223
|
+
config.sandbox = isSandboxed;
|
|
224
|
+
await command.saveConfig(config);
|
|
225
|
+
return applications;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
export {
|
|
229
|
+
deploy,
|
|
230
|
+
sandbox
|
|
231
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseMRN
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-DV2VD4JX.js";
|
|
4
4
|
import {
|
|
5
5
|
BaseCommand
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-GCLJVMUS.js";
|
|
7
7
|
import {
|
|
8
8
|
AnnotationLocatorSchema,
|
|
9
9
|
GetAnnotationRequestSchema,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
init_cjs_shims,
|
|
13
13
|
require_lib,
|
|
14
14
|
valueOf
|
|
15
|
-
} from "../../chunk-
|
|
15
|
+
} from "../../chunk-VEVVJAL6.js";
|
|
16
16
|
|
|
17
17
|
// src/commands/annotation/get.ts
|
|
18
18
|
init_cjs_shims();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseMRN
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-DV2VD4JX.js";
|
|
4
4
|
import {
|
|
5
5
|
BaseCommand
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-GCLJVMUS.js";
|
|
7
7
|
import {
|
|
8
8
|
AnnotationLocatorSchema,
|
|
9
9
|
ListAnnotationsRequestSchema,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
init_cjs_shims,
|
|
13
13
|
require_lib,
|
|
14
14
|
valueOf
|
|
15
|
-
} from "../../chunk-
|
|
15
|
+
} from "../../chunk-VEVVJAL6.js";
|
|
16
16
|
|
|
17
17
|
// src/commands/annotation/list.ts
|
|
18
18
|
init_cjs_shims();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseMRN
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-DV2VD4JX.js";
|
|
4
4
|
import {
|
|
5
5
|
BaseCommand
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-GCLJVMUS.js";
|
|
7
7
|
import {
|
|
8
8
|
AnnotationLocatorSchema,
|
|
9
9
|
PutAnnotationRequestSchema,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
init_cjs_shims,
|
|
13
13
|
require_lib,
|
|
14
14
|
valueOf
|
|
15
|
-
} from "../../chunk-
|
|
15
|
+
} from "../../chunk-VEVVJAL6.js";
|
|
16
16
|
|
|
17
17
|
// src/commands/annotation/put.ts
|
|
18
18
|
init_cjs_shims();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BaseCommand
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-GCLJVMUS.js";
|
|
4
4
|
import {
|
|
5
5
|
__toESM,
|
|
6
6
|
init_cjs_shims,
|
|
7
7
|
readState,
|
|
8
8
|
require_lib
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-VEVVJAL6.js";
|
|
10
10
|
|
|
11
11
|
// src/commands/auth/list.ts
|
|
12
12
|
init_cjs_shims();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spinner
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-UL64FJVV.js";
|
|
4
4
|
import {
|
|
5
5
|
BaseCommand
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-GCLJVMUS.js";
|
|
7
7
|
import {
|
|
8
8
|
__commonJS,
|
|
9
9
|
__toESM,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
replaceState,
|
|
13
13
|
require_lib,
|
|
14
14
|
timestampDate
|
|
15
|
-
} from "../../chunk-
|
|
15
|
+
} from "../../chunk-VEVVJAL6.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/.pnpm/qrcode-terminal@0.12.0/node_modules/qrcode-terminal/vendor/QRCode/QRMode.js
|
|
18
18
|
var require_QRMode = __commonJS({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BaseCommand
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-GCLJVMUS.js";
|
|
4
4
|
import {
|
|
5
5
|
init_cjs_shims,
|
|
6
6
|
readState,
|
|
7
7
|
replaceState
|
|
8
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-VEVVJAL6.js";
|
|
9
9
|
|
|
10
10
|
// src/commands/auth/logout.ts
|
|
11
11
|
init_cjs_shims();
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
esm_default2 as esm_default
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-DIDBQB37.js";
|
|
4
4
|
import {
|
|
5
5
|
BaseCommand
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-GCLJVMUS.js";
|
|
7
7
|
import {
|
|
8
8
|
__toESM,
|
|
9
9
|
init_cjs_shims,
|
|
10
10
|
readState,
|
|
11
11
|
replaceState,
|
|
12
12
|
require_lib
|
|
13
|
-
} from "../../chunk-
|
|
13
|
+
} from "../../chunk-VEVVJAL6.js";
|
|
14
14
|
|
|
15
15
|
// src/commands/auth/select.ts
|
|
16
16
|
init_cjs_shims();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BaseCommand
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-GCLJVMUS.js";
|
|
4
4
|
import {
|
|
5
5
|
CreateCredentialResponseSchema,
|
|
6
6
|
__toESM,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
timestampFromDate,
|
|
11
11
|
toJsonString,
|
|
12
12
|
valueOf
|
|
13
|
-
} from "../../chunk-
|
|
13
|
+
} from "../../chunk-VEVVJAL6.js";
|
|
14
14
|
|
|
15
15
|
// src/commands/bucket/create-credential.ts
|
|
16
16
|
init_cjs_shims();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BaseCommand
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-GCLJVMUS.js";
|
|
4
4
|
import {
|
|
5
5
|
DeleteCredentialResponseSchema,
|
|
6
6
|
__toESM,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
require_lib,
|
|
9
9
|
toJsonString,
|
|
10
10
|
valueOf
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-VEVVJAL6.js";
|
|
12
12
|
|
|
13
13
|
// src/commands/bucket/delete-credential.ts
|
|
14
14
|
init_cjs_shims();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BaseCommand
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-GCLJVMUS.js";
|
|
4
4
|
import {
|
|
5
5
|
GetCredentialResponseSchema,
|
|
6
6
|
__toESM,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
timestampDate,
|
|
10
10
|
toJsonString,
|
|
11
11
|
valueOf
|
|
12
|
-
} from "../../chunk-
|
|
12
|
+
} from "../../chunk-VEVVJAL6.js";
|
|
13
13
|
|
|
14
14
|
// src/commands/bucket/get-credential.ts
|
|
15
15
|
init_cjs_shims();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BaseCommand
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-GCLJVMUS.js";
|
|
4
4
|
import {
|
|
5
5
|
ListCredentialsResponseSchema,
|
|
6
6
|
__toESM,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
timestampDate,
|
|
10
10
|
toJsonString,
|
|
11
11
|
valueOf
|
|
12
|
-
} from "../../chunk-
|
|
12
|
+
} from "../../chunk-VEVVJAL6.js";
|
|
13
13
|
|
|
14
14
|
// src/commands/bucket/list-credentials.ts
|
|
15
15
|
init_cjs_shims();
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
watchStatus
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-CZCDV5DC.js";
|
|
4
4
|
import {
|
|
5
5
|
deploy,
|
|
6
6
|
sandbox
|
|
7
|
-
} from "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
7
|
+
} from "../../chunk-UA3E47QH.js";
|
|
8
|
+
import "../../chunk-2NAMGQLL.js";
|
|
9
|
+
import "../../chunk-Z2AQLL53.js";
|
|
10
|
+
import "../../chunk-FQ3UM2WC.js";
|
|
11
|
+
import "../../chunk-4C3ZVVH7.js";
|
|
12
|
+
import "../../chunk-UL64FJVV.js";
|
|
13
13
|
import {
|
|
14
14
|
BaseCommand
|
|
15
|
-
} from "../../chunk-
|
|
15
|
+
} from "../../chunk-GCLJVMUS.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM,
|
|
18
18
|
init_cjs_shims,
|
|
19
19
|
require_lib
|
|
20
|
-
} from "../../chunk-
|
|
20
|
+
} from "../../chunk-VEVVJAL6.js";
|
|
21
21
|
|
|
22
22
|
// src/commands/build/branch.ts
|
|
23
23
|
init_cjs_shims();
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
statusString
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-5QVCT2XX.js";
|
|
4
4
|
import {
|
|
5
5
|
source_default
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-4C3ZVVH7.js";
|
|
7
7
|
import {
|
|
8
8
|
esm_default2 as esm_default
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-DIDBQB37.js";
|
|
10
10
|
import {
|
|
11
11
|
BaseCommand
|
|
12
|
-
} from "../../chunk-
|
|
12
|
+
} from "../../chunk-GCLJVMUS.js";
|
|
13
13
|
import {
|
|
14
14
|
EPOCH_TS,
|
|
15
15
|
UnitState,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
require_lib,
|
|
19
19
|
timestampDate,
|
|
20
20
|
valueOf
|
|
21
|
-
} from "../../chunk-
|
|
21
|
+
} from "../../chunk-VEVVJAL6.js";
|
|
22
22
|
|
|
23
23
|
// src/commands/build/checkout.ts
|
|
24
24
|
init_cjs_shims();
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
codegenPlan,
|
|
3
3
|
fileExists,
|
|
4
4
|
renderCodegenPlan
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-FQ3UM2WC.js";
|
|
6
6
|
import {
|
|
7
7
|
$,
|
|
8
8
|
spinner
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-UL64FJVV.js";
|
|
10
10
|
import {
|
|
11
11
|
esm_default
|
|
12
|
-
} from "../../chunk-
|
|
12
|
+
} from "../../chunk-DIDBQB37.js";
|
|
13
13
|
import {
|
|
14
14
|
BaseCommand
|
|
15
|
-
} from "../../chunk-
|
|
15
|
+
} from "../../chunk-GCLJVMUS.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM,
|
|
18
18
|
getCurrentVersion,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
mustManifestFromString,
|
|
21
21
|
readState,
|
|
22
22
|
require_lib
|
|
23
|
-
} from "../../chunk-
|
|
23
|
+
} from "../../chunk-VEVVJAL6.js";
|
|
24
24
|
|
|
25
25
|
// src/commands/build/clone.ts
|
|
26
26
|
init_cjs_shims();
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
statusString
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-5QVCT2XX.js";
|
|
4
4
|
import {
|
|
5
5
|
source_default
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-4C3ZVVH7.js";
|
|
7
7
|
import {
|
|
8
8
|
esm_default2 as esm_default
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-DIDBQB37.js";
|
|
10
10
|
import {
|
|
11
11
|
BaseCommand
|
|
12
|
-
} from "../../chunk-
|
|
12
|
+
} from "../../chunk-GCLJVMUS.js";
|
|
13
13
|
import {
|
|
14
14
|
EPOCH_TS,
|
|
15
15
|
UnitState,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
require_lib,
|
|
19
19
|
timestampDate,
|
|
20
20
|
valueOf
|
|
21
|
-
} from "../../chunk-
|
|
21
|
+
} from "../../chunk-VEVVJAL6.js";
|
|
22
22
|
|
|
23
23
|
// src/commands/build/delete.ts
|
|
24
24
|
init_cjs_shims();
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
watchStatus
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-CZCDV5DC.js";
|
|
4
4
|
import {
|
|
5
5
|
deploy,
|
|
6
6
|
sandbox
|
|
7
|
-
} from "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
7
|
+
} from "../../chunk-UA3E47QH.js";
|
|
8
|
+
import "../../chunk-2NAMGQLL.js";
|
|
9
|
+
import "../../chunk-Z2AQLL53.js";
|
|
10
|
+
import "../../chunk-FQ3UM2WC.js";
|
|
11
|
+
import "../../chunk-4C3ZVVH7.js";
|
|
12
|
+
import "../../chunk-UL64FJVV.js";
|
|
13
13
|
import {
|
|
14
14
|
BaseCommand
|
|
15
|
-
} from "../../chunk-
|
|
15
|
+
} from "../../chunk-GCLJVMUS.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM,
|
|
18
18
|
init_cjs_shims,
|
|
19
19
|
require_lib
|
|
20
|
-
} from "../../chunk-
|
|
20
|
+
} from "../../chunk-VEVVJAL6.js";
|
|
21
21
|
|
|
22
22
|
// src/commands/build/deploy.ts
|
|
23
23
|
init_cjs_shims();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BaseCommand
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-GCLJVMUS.js";
|
|
4
4
|
import {
|
|
5
5
|
__toESM,
|
|
6
6
|
init_cjs_shims,
|
|
7
7
|
require_lib,
|
|
8
8
|
valueOf
|
|
9
|
-
} from "../../../chunk-
|
|
9
|
+
} from "../../../chunk-VEVVJAL6.js";
|
|
10
10
|
|
|
11
11
|
// src/commands/build/env/get.ts
|
|
12
12
|
init_cjs_shims();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BaseCommand
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-GCLJVMUS.js";
|
|
4
4
|
import {
|
|
5
5
|
__toESM,
|
|
6
6
|
init_cjs_shims,
|
|
7
7
|
require_lib,
|
|
8
8
|
valueOf
|
|
9
|
-
} from "../../../chunk-
|
|
9
|
+
} from "../../../chunk-VEVVJAL6.js";
|
|
10
10
|
|
|
11
11
|
// src/commands/build/env/set.ts
|
|
12
12
|
init_cjs_shims();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
source_default
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-4C3ZVVH7.js";
|
|
4
4
|
import {
|
|
5
5
|
BaseCommand
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-GCLJVMUS.js";
|
|
7
7
|
import {
|
|
8
8
|
EPOCH_TS,
|
|
9
9
|
QueryModulesResponseSchema,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
timestampDate,
|
|
15
15
|
toJsonString,
|
|
16
16
|
valueOf
|
|
17
|
-
} from "../../chunk-
|
|
17
|
+
} from "../../chunk-VEVVJAL6.js";
|
|
18
18
|
|
|
19
19
|
// src/commands/build/find.ts
|
|
20
20
|
init_cjs_shims();
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
codegenPlan,
|
|
5
5
|
gatherEnvForHandler,
|
|
6
6
|
renderCodegenPlan
|
|
7
|
-
} from "../../chunk-
|
|
7
|
+
} from "../../chunk-FQ3UM2WC.js";
|
|
8
8
|
import {
|
|
9
9
|
BaseCommand
|
|
10
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-GCLJVMUS.js";
|
|
11
11
|
import {
|
|
12
12
|
__toESM,
|
|
13
13
|
getCurrentVersion,
|
|
14
14
|
init_cjs_shims,
|
|
15
15
|
require_lib,
|
|
16
16
|
valueOf
|
|
17
|
-
} from "../../chunk-
|
|
17
|
+
} from "../../chunk-VEVVJAL6.js";
|
|
18
18
|
|
|
19
19
|
// src/commands/build/generate.ts
|
|
20
20
|
init_cjs_shims();
|