@liquidmetal-ai/raindrop 0.9.1 → 0.9.2
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 +111 -85
- package/bundle/{chunk-ZHYJWVIA.js → chunk-33VVNTZ7.js} +2 -2
- package/bundle/{chunk-SP4Q3T7T.js → chunk-3EXF5SKZ.js} +1 -1
- package/bundle/{chunk-JXNZYHAI.js → chunk-3TJC2HRW.js} +89 -105
- package/bundle/{chunk-HBDFBL3W.js → chunk-44MKXST7.js} +1 -1
- package/bundle/{chunk-GDYEPR67.js → chunk-4RZFURCF.js} +1 -1
- package/bundle/{chunk-67CBWZ7Y.js → chunk-4UNXUMLE.js} +3 -3
- package/bundle/chunk-4VJ2X7ZI.js +48 -0
- package/bundle/{chunk-IMQTVYRB.js → chunk-4WGY3ATR.js} +1 -1
- package/bundle/{chunk-ORPX7FPP.js → chunk-5TPOE7P2.js} +1 -5
- package/bundle/chunk-7JFKALLH.js +133 -0
- package/bundle/chunk-7O6U3ZAR.js +75 -0
- package/bundle/chunk-AWUA3C2V.js +114 -0
- package/bundle/{chunk-QKHN66ZN.js → chunk-BEN3KZQU.js} +1 -1
- package/bundle/{chunk-JDMAG4KE.js → chunk-BPZWIRQS.js} +2 -2
- package/bundle/chunk-C7G6I3MQ.js +292 -0
- package/bundle/chunk-D23L4WLL.js +502 -0
- package/bundle/chunk-E2TCXKAT.js +48 -0
- package/bundle/{chunk-FTG32FZ4.js → chunk-E7K6Y6GO.js} +1 -1
- package/bundle/chunk-EBK2SJTZ.js +805 -0
- package/bundle/chunk-FTH4A227.js +46 -0
- package/bundle/chunk-HBWEGYBW.js +4486 -0
- package/bundle/chunk-HFEVZZHW.js +46 -0
- package/bundle/chunk-I5M6WZPS.js +384 -0
- package/bundle/chunk-J44ZDCXF.js +44 -0
- package/bundle/{chunk-D5TOYPUE.js → chunk-J6XV5EH5.js} +1 -1
- package/bundle/chunk-KE7CMLHP.js +292 -0
- package/bundle/{chunk-ZLRYUJ5P.js → chunk-KHYRZQSK.js} +4 -4
- package/bundle/chunk-KOYRAC7N.js +74 -0
- package/bundle/chunk-KQ3F5KG7.js +231 -0
- package/bundle/chunk-KSXGB4ZG.js +4539 -0
- package/bundle/{chunk-7ERI6IFL.js → chunk-LP3LXBGR.js} +1 -1
- package/bundle/chunk-MH3BACIP.js +238722 -0
- package/bundle/chunk-MM7BYDBJ.js +238725 -0
- package/bundle/chunk-MQUFNQI5.js +231 -0
- package/bundle/{chunk-4RVUC2XX.js → chunk-N3LTFUBJ.js} +1 -1
- package/bundle/chunk-NWYJJVCF.js +22452 -0
- package/bundle/chunk-OAMLVMOY.js +133 -0
- package/bundle/chunk-PBVMMANP.js +4480 -0
- package/bundle/chunk-PT6CYFBD.js +74 -0
- package/bundle/chunk-QAG6TIB7.js +12148 -0
- package/bundle/chunk-RSLQIAJB.js +12148 -0
- package/bundle/chunk-SAU2NEDC.js +147 -0
- package/bundle/chunk-SZ6TMVT4.js +22452 -0
- package/bundle/chunk-T3MAVQWW.js +292 -0
- package/bundle/chunk-TCGZNSBY.js +4539 -0
- package/bundle/chunk-TRIIBQDR.js +4480 -0
- package/bundle/chunk-UUTXTOE3.js +231 -0
- package/bundle/chunk-VMKGSIXK.js +75 -0
- package/bundle/chunk-XDCRA7Y2.js +805 -0
- package/bundle/chunk-XEMONOX2.js +384 -0
- package/bundle/chunk-YAPQ2CKV.js +115 -0
- package/bundle/chunk-YDDBYUDC.js +502 -0
- package/bundle/chunk-ZGLCW5YO.js +380 -0
- package/bundle/chunk-ZQ6BFQSX.js +44 -0
- package/bundle/chunk-ZZTNAQSE.js +147 -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 +6 -5
- package/bundle/commands/build/clone.js +5 -5
- package/bundle/commands/build/delete.js +6 -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 +7 -3
- package/bundle/commands/build/generate.js +3 -3
- package/bundle/commands/build/init-workspace.js +102 -0
- package/bundle/commands/build/init.js +3 -3
- package/bundle/commands/build/list.js +5 -4
- package/bundle/commands/build/sandbox.js +7 -7
- package/bundle/commands/build/start.js +2 -2
- package/bundle/commands/build/status.js +8 -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/commands/build/find.d.ts.map +1 -1
- package/dist/commands/build/find.js +3 -0
- package/dist/commands/build/init-workspace.d.ts +16 -0
- package/dist/commands/build/init-workspace.d.ts.map +1 -0
- package/dist/commands/build/init-workspace.js +95 -0
- package/dist/commands/build/list.d.ts.map +1 -1
- package/dist/commands/build/list.js +3 -0
- package/dist/commands/build/status.d.ts.map +1 -1
- package/dist/commands/build/status.js +3 -0
- package/dist/killswitch-utils.d.ts +30 -0
- package/dist/killswitch-utils.d.ts.map +1 -0
- package/dist/killswitch-utils.js +83 -0
- package/oclif.manifest.json +2114 -2007
- package/package.json +3 -3
- package/templates/claude-code/debug-raindrop-app.md +12 -39
- package/templates/claude-code/update-raindrop-app.md +5 -6
- 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/templates/gemini-code/debug-raindrop-app.toml +12 -39
- package/templates/gemini-code/update-raindrop-app.toml +5 -6
- package/templates/goose/debug-raindrop-app.yaml +12 -39
- package/templates/goose/update-raindrop-app.yaml +5 -6
- package/templates/workspace/.gitignore.hbs +40 -0
- package/templates/workspace/package.json.hbs +22 -0
- package/dist/commands/killswitch.d.ts +0 -20
- package/dist/commands/killswitch.d.ts.map +0 -1
- package/dist/commands/killswitch.js +0 -58
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/utils/mixpanel.d.ts +0 -10
- package/dist/utils/mixpanel.d.ts.map +0 -1
- package/dist/utils/mixpanel.js +0 -43
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
esm_default2 as esm_default
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-J6XV5EH5.js";
|
|
4
4
|
import {
|
|
5
5
|
BaseCommand
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-TCGZNSBY.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-3TJC2HRW.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-TCGZNSBY.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-3TJC2HRW.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-TCGZNSBY.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-3TJC2HRW.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-TCGZNSBY.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-3TJC2HRW.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-TCGZNSBY.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-3TJC2HRW.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-BPZWIRQS.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-MQUFNQI5.js";
|
|
8
|
+
import "../../chunk-XDCRA7Y2.js";
|
|
9
|
+
import "../../chunk-KE7CMLHP.js";
|
|
10
|
+
import "../../chunk-HBWEGYBW.js";
|
|
11
|
+
import "../../chunk-YDDBYUDC.js";
|
|
12
|
+
import "../../chunk-NWYJJVCF.js";
|
|
13
13
|
import {
|
|
14
14
|
BaseCommand
|
|
15
|
-
} from "../../chunk-
|
|
15
|
+
} from "../../chunk-TCGZNSBY.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM,
|
|
18
18
|
init_cjs_shims,
|
|
19
19
|
require_lib
|
|
20
|
-
} from "../../chunk-
|
|
20
|
+
} from "../../chunk-3TJC2HRW.js";
|
|
21
21
|
|
|
22
22
|
// src/commands/build/branch.ts
|
|
23
23
|
init_cjs_shims();
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
statusString
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-I5M6WZPS.js";
|
|
4
|
+
import "../../chunk-PT6CYFBD.js";
|
|
4
5
|
import {
|
|
5
6
|
source_default
|
|
6
|
-
} from "../../chunk-
|
|
7
|
+
} from "../../chunk-YDDBYUDC.js";
|
|
7
8
|
import {
|
|
8
9
|
esm_default2 as esm_default
|
|
9
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-J6XV5EH5.js";
|
|
10
11
|
import {
|
|
11
12
|
BaseCommand
|
|
12
|
-
} from "../../chunk-
|
|
13
|
+
} from "../../chunk-TCGZNSBY.js";
|
|
13
14
|
import {
|
|
14
15
|
EPOCH_TS,
|
|
15
16
|
UnitState,
|
|
@@ -18,7 +19,7 @@ import {
|
|
|
18
19
|
require_lib,
|
|
19
20
|
timestampDate,
|
|
20
21
|
valueOf
|
|
21
|
-
} from "../../chunk-
|
|
22
|
+
} from "../../chunk-3TJC2HRW.js";
|
|
22
23
|
|
|
23
24
|
// src/commands/build/checkout.ts
|
|
24
25
|
init_cjs_shims();
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
codegenPlan,
|
|
3
3
|
fileExists,
|
|
4
4
|
renderCodegenPlan
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-HBWEGYBW.js";
|
|
6
6
|
import {
|
|
7
7
|
$,
|
|
8
8
|
spinner
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-NWYJJVCF.js";
|
|
10
10
|
import {
|
|
11
11
|
esm_default
|
|
12
|
-
} from "../../chunk-
|
|
12
|
+
} from "../../chunk-J6XV5EH5.js";
|
|
13
13
|
import {
|
|
14
14
|
BaseCommand
|
|
15
|
-
} from "../../chunk-
|
|
15
|
+
} from "../../chunk-TCGZNSBY.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-3TJC2HRW.js";
|
|
24
24
|
|
|
25
25
|
// src/commands/build/clone.ts
|
|
26
26
|
init_cjs_shims();
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
statusString
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-I5M6WZPS.js";
|
|
4
|
+
import "../../chunk-PT6CYFBD.js";
|
|
4
5
|
import {
|
|
5
6
|
source_default
|
|
6
|
-
} from "../../chunk-
|
|
7
|
+
} from "../../chunk-YDDBYUDC.js";
|
|
7
8
|
import {
|
|
8
9
|
esm_default2 as esm_default
|
|
9
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-J6XV5EH5.js";
|
|
10
11
|
import {
|
|
11
12
|
BaseCommand
|
|
12
|
-
} from "../../chunk-
|
|
13
|
+
} from "../../chunk-TCGZNSBY.js";
|
|
13
14
|
import {
|
|
14
15
|
EPOCH_TS,
|
|
15
16
|
UnitState,
|
|
@@ -18,7 +19,7 @@ import {
|
|
|
18
19
|
require_lib,
|
|
19
20
|
timestampDate,
|
|
20
21
|
valueOf
|
|
21
|
-
} from "../../chunk-
|
|
22
|
+
} from "../../chunk-3TJC2HRW.js";
|
|
22
23
|
|
|
23
24
|
// src/commands/build/delete.ts
|
|
24
25
|
init_cjs_shims();
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
watchStatus
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-BPZWIRQS.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-MQUFNQI5.js";
|
|
8
|
+
import "../../chunk-XDCRA7Y2.js";
|
|
9
|
+
import "../../chunk-KE7CMLHP.js";
|
|
10
|
+
import "../../chunk-HBWEGYBW.js";
|
|
11
|
+
import "../../chunk-YDDBYUDC.js";
|
|
12
|
+
import "../../chunk-NWYJJVCF.js";
|
|
13
13
|
import {
|
|
14
14
|
BaseCommand
|
|
15
|
-
} from "../../chunk-
|
|
15
|
+
} from "../../chunk-TCGZNSBY.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM,
|
|
18
18
|
init_cjs_shims,
|
|
19
19
|
require_lib
|
|
20
|
-
} from "../../chunk-
|
|
20
|
+
} from "../../chunk-3TJC2HRW.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-TCGZNSBY.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-3TJC2HRW.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-TCGZNSBY.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-3TJC2HRW.js";
|
|
10
10
|
|
|
11
11
|
// src/commands/build/env/set.ts
|
|
12
12
|
init_cjs_shims();
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
checkAndDisplayKillswitchStatus
|
|
3
|
+
} from "../../chunk-PT6CYFBD.js";
|
|
1
4
|
import {
|
|
2
5
|
source_default
|
|
3
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-YDDBYUDC.js";
|
|
4
7
|
import {
|
|
5
8
|
BaseCommand
|
|
6
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-TCGZNSBY.js";
|
|
7
10
|
import {
|
|
8
11
|
EPOCH_TS,
|
|
9
12
|
QueryModulesResponseSchema,
|
|
@@ -14,7 +17,7 @@ import {
|
|
|
14
17
|
timestampDate,
|
|
15
18
|
toJsonString,
|
|
16
19
|
valueOf
|
|
17
|
-
} from "../../chunk-
|
|
20
|
+
} from "../../chunk-3TJC2HRW.js";
|
|
18
21
|
|
|
19
22
|
// src/commands/build/find.ts
|
|
20
23
|
init_cjs_shims();
|
|
@@ -329,6 +332,7 @@ ${source_default.bold(appKey)}${workosInfo} ${source_default.dim(`(${modules.len
|
|
|
329
332
|
}
|
|
330
333
|
}
|
|
331
334
|
async run() {
|
|
335
|
+
await checkAndDisplayKillswitchStatus(this);
|
|
332
336
|
if (this.flags.sudo) {
|
|
333
337
|
await this.queryResources(this.flags);
|
|
334
338
|
} else {
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
codegenPlan,
|
|
5
5
|
gatherEnvForHandler,
|
|
6
6
|
renderCodegenPlan
|
|
7
|
-
} from "../../chunk-
|
|
7
|
+
} from "../../chunk-HBWEGYBW.js";
|
|
8
8
|
import {
|
|
9
9
|
BaseCommand
|
|
10
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-TCGZNSBY.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-3TJC2HRW.js";
|
|
18
18
|
|
|
19
19
|
// src/commands/build/generate.ts
|
|
20
20
|
init_cjs_shims();
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TEMPLATES_DIR,
|
|
3
|
+
fileExists,
|
|
4
|
+
renderTemplateFromFile
|
|
5
|
+
} from "../../chunk-HBWEGYBW.js";
|
|
6
|
+
import {
|
|
7
|
+
BaseCommand
|
|
8
|
+
} from "../../chunk-TCGZNSBY.js";
|
|
9
|
+
import {
|
|
10
|
+
__toESM,
|
|
11
|
+
init_cjs_shims,
|
|
12
|
+
require_lib
|
|
13
|
+
} from "../../chunk-3TJC2HRW.js";
|
|
14
|
+
|
|
15
|
+
// src/commands/build/init-workspace.ts
|
|
16
|
+
init_cjs_shims();
|
|
17
|
+
var import_core = __toESM(require_lib(), 1);
|
|
18
|
+
import fs from "node:fs/promises";
|
|
19
|
+
import * as path from "node:path";
|
|
20
|
+
var MIN_NODE_VERSION = ">=18.0.0";
|
|
21
|
+
var WORKSPACE_DESCRIPTION = "LiquidMetal AI workspace";
|
|
22
|
+
var InitWorkspace = class extends BaseCommand {
|
|
23
|
+
static args = {
|
|
24
|
+
path: import_core.Args.directory({ default: ".", description: "Path to initialize the workspace in", required: false })
|
|
25
|
+
};
|
|
26
|
+
static description = "initialize a new npm workspace for Raindrop applications";
|
|
27
|
+
static examples = [
|
|
28
|
+
`<%= config.bin %> <%= command.id %> .
|
|
29
|
+
Initialize a workspace in the current directory.
|
|
30
|
+
`
|
|
31
|
+
];
|
|
32
|
+
static flags = {
|
|
33
|
+
overwrite: import_core.Flags.boolean({ description: "Overwrite existing files", default: false }),
|
|
34
|
+
name: import_core.Flags.string({ char: "n", description: "Name of the workspace" })
|
|
35
|
+
};
|
|
36
|
+
async run() {
|
|
37
|
+
const workspacePath = path.resolve(this.args.path);
|
|
38
|
+
const workspaceName = this.flags.name || path.basename(workspacePath);
|
|
39
|
+
this.log(`Initializing npm workspace at: ${workspacePath}`);
|
|
40
|
+
if (!await fileExists(workspacePath)) {
|
|
41
|
+
try {
|
|
42
|
+
await fs.mkdir(workspacePath, { recursive: true });
|
|
43
|
+
} catch (error) {
|
|
44
|
+
this.error(`Could not create directory ${workspacePath}: ${error}`, { exit: 1 });
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
const pathStat = await fs.lstat(workspacePath);
|
|
48
|
+
if (!pathStat.isDirectory()) {
|
|
49
|
+
this.error(`${workspacePath} is not a directory.`, { exit: 1 });
|
|
50
|
+
}
|
|
51
|
+
const packageJsonPath = path.join(workspacePath, "package.json");
|
|
52
|
+
if (!this.flags.overwrite && await fileExists(packageJsonPath)) {
|
|
53
|
+
let existingPackageJson;
|
|
54
|
+
try {
|
|
55
|
+
existingPackageJson = JSON.parse(await fs.readFile(packageJsonPath, "utf-8"));
|
|
56
|
+
} catch (error) {
|
|
57
|
+
this.error(`Invalid package.json in ${workspacePath}: ${error}`, { exit: 1 });
|
|
58
|
+
}
|
|
59
|
+
if (existingPackageJson.workspaces) {
|
|
60
|
+
this.error(`This directory already contains an npm workspace.`, { exit: 1 });
|
|
61
|
+
} else {
|
|
62
|
+
this.error(`A package.json already exists in ${workspacePath}. Use --overwrite to replace it.`, { exit: 1 });
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
const appsDir = path.join(workspacePath, "apps");
|
|
66
|
+
if (!this.flags.overwrite && await fileExists(appsDir)) {
|
|
67
|
+
this.error(`Apps directory already exists. Use --overwrite to replace it.`, { exit: 1 });
|
|
68
|
+
}
|
|
69
|
+
try {
|
|
70
|
+
const templatePath = path.join(TEMPLATES_DIR, "workspace", "package.json.hbs");
|
|
71
|
+
const packageJsonContent = await renderTemplateFromFile(
|
|
72
|
+
templatePath,
|
|
73
|
+
{
|
|
74
|
+
workspaceName,
|
|
75
|
+
workspaceDescription: WORKSPACE_DESCRIPTION,
|
|
76
|
+
minNodeVersion: MIN_NODE_VERSION
|
|
77
|
+
}
|
|
78
|
+
);
|
|
79
|
+
await fs.writeFile(packageJsonPath, packageJsonContent);
|
|
80
|
+
await fs.mkdir(appsDir, { recursive: true });
|
|
81
|
+
const gitignorePath = path.join(workspacePath, ".gitignore");
|
|
82
|
+
if (!this.flags.overwrite || !await fileExists(gitignorePath)) {
|
|
83
|
+
const gitignoreTemplatePath = path.join(TEMPLATES_DIR, "workspace", ".gitignore.hbs");
|
|
84
|
+
const gitignoreContent = await renderTemplateFromFile(gitignoreTemplatePath, {});
|
|
85
|
+
await fs.writeFile(gitignorePath, gitignoreContent);
|
|
86
|
+
}
|
|
87
|
+
this.log(`\u2705 Successfully initialized npm workspace at ${workspacePath}`);
|
|
88
|
+
this.log(`\u{1F4C1} Created apps/ directory for your Raindrop applications`);
|
|
89
|
+
this.log(`\u{1F4DD} Next steps:`);
|
|
90
|
+
this.log(` 1. cd ${workspacePath}`);
|
|
91
|
+
this.log(` 2. npm install`);
|
|
92
|
+
this.log(` 3. cd apps`);
|
|
93
|
+
this.log(` 4. raindrop build init <app-name>`);
|
|
94
|
+
} catch (error) {
|
|
95
|
+
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
96
|
+
this.error(`Could not initialize workspace at ${workspacePath}: ${errorMessage}`, { exit: 1 });
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
export {
|
|
101
|
+
InitWorkspace as default
|
|
102
|
+
};
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
codegenPlan,
|
|
3
3
|
fileExists,
|
|
4
4
|
renderCodegenPlan
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-HBWEGYBW.js";
|
|
6
6
|
import {
|
|
7
7
|
BaseCommand
|
|
8
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-TCGZNSBY.js";
|
|
9
9
|
import {
|
|
10
10
|
__toESM,
|
|
11
11
|
getCurrentVersion,
|
|
12
12
|
init_cjs_shims,
|
|
13
13
|
mustManifestFromString,
|
|
14
14
|
require_lib
|
|
15
|
-
} from "../../chunk-
|
|
15
|
+
} from "../../chunk-3TJC2HRW.js";
|
|
16
16
|
|
|
17
17
|
// src/commands/build/init.ts
|
|
18
18
|
init_cjs_shims();
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
List,
|
|
3
3
|
statusString
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-I5M6WZPS.js";
|
|
5
|
+
import "../../chunk-PT6CYFBD.js";
|
|
6
|
+
import "../../chunk-YDDBYUDC.js";
|
|
7
|
+
import "../../chunk-TCGZNSBY.js";
|
|
8
|
+
import "../../chunk-3TJC2HRW.js";
|
|
8
9
|
export {
|
|
9
10
|
List as default,
|
|
10
11
|
statusString
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sandbox
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-MQUFNQI5.js";
|
|
4
|
+
import "../../chunk-XDCRA7Y2.js";
|
|
5
|
+
import "../../chunk-KE7CMLHP.js";
|
|
6
|
+
import "../../chunk-HBWEGYBW.js";
|
|
7
|
+
import "../../chunk-NWYJJVCF.js";
|
|
8
8
|
import {
|
|
9
9
|
BaseCommand
|
|
10
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-TCGZNSBY.js";
|
|
11
11
|
import {
|
|
12
12
|
__toESM,
|
|
13
13
|
init_cjs_shims,
|
|
14
14
|
require_lib
|
|
15
|
-
} from "../../chunk-
|
|
15
|
+
} from "../../chunk-3TJC2HRW.js";
|
|
16
16
|
|
|
17
17
|
// src/commands/build/sandbox.ts
|
|
18
18
|
init_cjs_shims();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BaseCommand
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-TCGZNSBY.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-3TJC2HRW.js";
|
|
10
10
|
|
|
11
11
|
// src/commands/build/start.ts
|
|
12
12
|
init_cjs_shims();
|
|
@@ -3,11 +3,14 @@ import {
|
|
|
3
3
|
getStatus,
|
|
4
4
|
statusString,
|
|
5
5
|
watchStatus
|
|
6
|
-
} from "../../chunk-
|
|
7
|
-
import
|
|
6
|
+
} from "../../chunk-BPZWIRQS.js";
|
|
7
|
+
import {
|
|
8
|
+
checkAndDisplayKillswitchStatus
|
|
9
|
+
} from "../../chunk-PT6CYFBD.js";
|
|
10
|
+
import "../../chunk-YDDBYUDC.js";
|
|
8
11
|
import {
|
|
9
12
|
BaseCommand
|
|
10
|
-
} from "../../chunk-
|
|
13
|
+
} from "../../chunk-TCGZNSBY.js";
|
|
11
14
|
import {
|
|
12
15
|
StatusResponseSchema,
|
|
13
16
|
__commonJS,
|
|
@@ -17,7 +20,7 @@ import {
|
|
|
17
20
|
require_lib,
|
|
18
21
|
require_string_width,
|
|
19
22
|
toJsonString
|
|
20
|
-
} from "../../chunk-
|
|
23
|
+
} from "../../chunk-3TJC2HRW.js";
|
|
21
24
|
|
|
22
25
|
// ../../node_modules/.pnpm/cli-table3@0.6.5/node_modules/cli-table3/src/debug.js
|
|
23
26
|
var require_debug = __commonJS({
|
|
@@ -1793,6 +1796,7 @@ var Status = class _Status extends BaseCommand {
|
|
|
1793
1796
|
})
|
|
1794
1797
|
};
|
|
1795
1798
|
async run() {
|
|
1799
|
+
await checkAndDisplayKillswitchStatus(this);
|
|
1796
1800
|
const flags = (await this.parse(_Status)).flags;
|
|
1797
1801
|
const versionId = flags["version-id"] || flags.version;
|
|
1798
1802
|
const status = await getStatus({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BaseCommand
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-TCGZNSBY.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-3TJC2HRW.js";
|
|
10
10
|
|
|
11
11
|
// src/commands/build/stop.ts
|
|
12
12
|
init_cjs_shims();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BaseCommand
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-TCGZNSBY.js";
|
|
4
4
|
import {
|
|
5
5
|
__toESM,
|
|
6
6
|
init_cjs_shims,
|
|
7
7
|
require_lib
|
|
8
|
-
} from "../../../chunk-
|
|
8
|
+
} from "../../../chunk-3TJC2HRW.js";
|
|
9
9
|
|
|
10
10
|
// src/commands/build/tools/check.ts
|
|
11
11
|
init_cjs_shims();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BaseCommand
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-TCGZNSBY.js";
|
|
4
4
|
import {
|
|
5
5
|
Parser,
|
|
6
6
|
Tokenizer,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
fmt,
|
|
9
9
|
init_cjs_shims,
|
|
10
10
|
require_lib
|
|
11
|
-
} from "../../../chunk-
|
|
11
|
+
} from "../../../chunk-3TJC2HRW.js";
|
|
12
12
|
|
|
13
13
|
// src/commands/build/tools/fmt.ts
|
|
14
14
|
init_cjs_shims();
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sandbox
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-MQUFNQI5.js";
|
|
4
|
+
import "../../chunk-XDCRA7Y2.js";
|
|
5
|
+
import "../../chunk-KE7CMLHP.js";
|
|
6
|
+
import "../../chunk-HBWEGYBW.js";
|
|
7
|
+
import "../../chunk-NWYJJVCF.js";
|
|
8
8
|
import {
|
|
9
9
|
BaseCommand
|
|
10
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-TCGZNSBY.js";
|
|
11
11
|
import {
|
|
12
12
|
__toESM,
|
|
13
13
|
init_cjs_shims,
|
|
14
14
|
require_lib
|
|
15
|
-
} from "../../chunk-
|
|
15
|
+
} from "../../chunk-3TJC2HRW.js";
|
|
16
16
|
|
|
17
17
|
// src/commands/build/unsandbox.ts
|
|
18
18
|
init_cjs_shims();
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FileSystemBundle,
|
|
3
3
|
archive
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-XDCRA7Y2.js";
|
|
5
5
|
import {
|
|
6
6
|
buildHandlers
|
|
7
|
-
} from "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
7
|
+
} from "../../chunk-KE7CMLHP.js";
|
|
8
|
+
import "../../chunk-HBWEGYBW.js";
|
|
9
9
|
import {
|
|
10
10
|
BaseCommand
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-TCGZNSBY.js";
|
|
12
12
|
import {
|
|
13
13
|
BundleArchiveType,
|
|
14
14
|
__toESM,
|
|
15
15
|
init_cjs_shims,
|
|
16
16
|
require_lib,
|
|
17
17
|
valueOf
|
|
18
|
-
} from "../../chunk-
|
|
18
|
+
} from "../../chunk-3TJC2HRW.js";
|
|
19
19
|
|
|
20
20
|
// src/commands/build/upload.ts
|
|
21
21
|
init_cjs_shims();
|