@liquidmetal-ai/raindrop 0.13.0 → 0.15.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 +327 -89
- package/bundle/build-CBEGQPJT.js +62 -0
- package/bundle/{chunk-IEF2XC25.js → chunk-2PH3PHH3.js} +5 -3
- package/bundle/{chunk-4HZ22KOV.js → chunk-3CMR7ES5.js} +4 -4
- package/bundle/{chunk-JSBM2JYW.js → chunk-3EYKCHIK.js} +1 -1
- package/bundle/chunk-5XHDP4VK.js +1697 -0
- package/bundle/{chunk-TSQK4HH6.js → chunk-674GMSXY.js} +1 -1
- package/bundle/{chunk-PS3WZBDF.js → chunk-6L4V66WZ.js} +1105 -2728
- package/bundle/{chunk-5245CEUM.js → chunk-AGG7JZVH.js} +2 -2
- package/bundle/{chunk-3GFKUF5D.js → chunk-B3IY2XS6.js} +4 -2
- package/bundle/{chunk-WIDI65NO.js → chunk-CBAXTRCS.js} +1 -1
- package/bundle/{chunk-JLVDTXO2.js → chunk-DPV5HIG7.js} +4 -4
- package/bundle/{chunk-36GNZK4A.js → chunk-EVXLXWP7.js} +1 -1
- package/bundle/{chunk-4YVU5KEQ.js → chunk-HN3AAKRY.js} +4 -2
- package/bundle/{chunk-NVNEQXHN.js → chunk-IGLE4Y3B.js} +7 -5
- package/bundle/{chunk-FGSYWVBA.js → chunk-IQ6HFRA6.js} +1 -1
- package/bundle/{chunk-O3QZDJ75.js → chunk-JQONDSHY.js} +2 -2
- package/bundle/{chunk-W4IPOFZC.js → chunk-KADMFJLN.js} +8 -6
- package/bundle/chunk-KG5BLUGU.js +246 -0
- package/bundle/{chunk-V5LHJTYS.js → chunk-KLOYSTZY.js} +13 -2
- package/bundle/{chunk-ETC5VU7H.js → chunk-KXHVSLAI.js} +1 -1
- package/bundle/{chunk-Y4WFGNPM.js → chunk-L6FRQULN.js} +1 -1
- package/bundle/{chunk-3QCVYSRU.js → chunk-LT3BFQ4O.js} +1 -1
- package/bundle/{chunk-KQZJHBNG.js → chunk-MBLKVNI5.js} +1 -1
- package/bundle/{chunk-6AIUQUUM.js → chunk-MFMVJZW6.js} +71 -15
- package/bundle/{chunk-25T7MEKO.js → chunk-MJBLNWG3.js} +1 -1
- package/bundle/{chunk-MSJ33O5Y.js → chunk-NRCQIE3Z.js} +95 -115
- package/bundle/{chunk-XKKPPSPC.js → chunk-OCYTN4IH.js} +2 -2
- package/bundle/{chunk-2GAMWFJE.js → chunk-QEF5D4VE.js} +1 -1
- package/bundle/{chunk-4B3QYXBA.js → chunk-T7MQCLXF.js} +5 -3
- package/bundle/{chunk-LDFYPOXJ.js → chunk-TFQY5TSY.js} +1 -1
- package/bundle/{chunk-BWK4MC7Y.js → chunk-USZXZZAR.js} +8 -6
- package/bundle/{chunk-ER2RCPCY.js → chunk-V54KHS5B.js} +2 -2
- package/bundle/{chunk-YSKASURB.js → chunk-V6J23FL2.js} +1 -1
- package/bundle/{chunk-UHSTDJ7X.js → chunk-VN2QYX4C.js} +1 -1
- package/bundle/{chunk-Z4OWKG7J.js → chunk-VOT5MMEY.js} +1 -1
- package/bundle/{chunk-W6GU26WO.js → chunk-WG6BDFPZ.js} +1 -1
- package/bundle/{chunk-AK77X5GL.js → chunk-XX74I5RK.js} +4 -2
- package/bundle/{chunk-6BT265R3.js → chunk-YQCRWPNI.js} +1 -1
- 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/apikey.js +2 -2
- package/bundle/commands/auth/list.js +2 -2
- package/bundle/commands/auth/login.js +2 -2
- 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/actor/setup.js +124 -0
- package/bundle/commands/build/branch.js +10 -10
- package/bundle/commands/build/bucket-events/setup.js +146 -0
- package/bundle/commands/build/checkout.js +8 -8
- package/bundle/commands/build/clone.js +6 -6
- package/bundle/commands/build/delete.js +8 -8
- package/bundle/commands/build/deploy.js +10 -10
- package/bundle/commands/build/env/get.js +3 -3
- package/bundle/commands/build/env/list.js +2 -2
- package/bundle/commands/build/env/set.js +3 -3
- package/bundle/commands/build/env.js +2 -2
- package/bundle/commands/build/features.js +192 -0
- package/bundle/commands/build/find.js +4 -4
- package/bundle/commands/build/generate.js +52 -3
- package/bundle/commands/build/init-workspace.js +3 -3
- package/bundle/commands/build/init.js +15 -3
- package/bundle/commands/build/list.js +5 -5
- package/bundle/commands/build/queue/setup.js +133 -0
- package/bundle/commands/build/sandbox.js +6 -6
- package/bundle/commands/build/smartbucket/setup.js +165 -0
- package/bundle/commands/build/smartmemory/setup.js +171 -0
- package/bundle/commands/build/smartsql/setup.js +167 -0
- package/bundle/commands/build/start.js +2 -2
- package/bundle/commands/build/status.js +5 -5
- package/bundle/commands/build/stop.js +2 -2
- package/bundle/commands/build/stripe/dashboard.js +3 -3
- package/bundle/commands/build/stripe/onboard.js +3 -3
- package/bundle/commands/build/stripe/setup.js +3 -3
- package/bundle/commands/build/stripe/start.js +14 -14
- package/bundle/commands/build/stripe/status.js +3 -3
- package/bundle/commands/build/stripe/subscription/create.js +4 -4
- package/bundle/commands/build/stripe/subscription/get.js +4 -4
- package/bundle/commands/build/stripe/subscription/update.js +4 -4
- package/bundle/commands/build/tools/check.js +2 -2
- package/bundle/commands/build/tools/fmt.js +2 -2
- package/bundle/commands/build/unsandbox.js +6 -6
- package/bundle/commands/build/upload.js +5 -5
- package/bundle/commands/build/validate.js +85 -14
- package/bundle/commands/build/workos/delete.js +6 -6
- package/bundle/commands/build/workos/env/attach.js +3 -3
- package/bundle/commands/build/workos/env/attached.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/dev-login.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/jwt.js +172 -0
- 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 +6 -6
- package/bundle/commands/dns/get.js +6 -6
- 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/doctor.js +309 -0
- 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 +5 -37
- package/bundle/commands/object/get.js +5 -37
- package/bundle/commands/object/list.js +7 -39
- package/bundle/commands/object/put.js +5 -37
- package/bundle/commands/query/chunk-search.js +14 -46
- package/bundle/commands/query/document.js +17 -55
- package/bundle/commands/query/events.js +2 -2
- package/bundle/commands/query/reindex.js +2 -2
- package/bundle/commands/query/search.js +14 -46
- package/bundle/commands/tail.js +2 -2
- package/bundle/index.js +1 -1
- package/dist/commands/build/actor/setup.d.ts +22 -0
- package/dist/commands/build/actor/setup.d.ts.map +1 -0
- package/dist/commands/build/actor/setup.js +116 -0
- package/dist/commands/build/bucket-events/setup.d.ts +22 -0
- package/dist/commands/build/bucket-events/setup.d.ts.map +1 -0
- package/dist/commands/build/bucket-events/setup.js +134 -0
- package/dist/commands/build/features.d.ts +19 -0
- package/dist/commands/build/features.d.ts.map +1 -0
- package/dist/commands/build/features.js +97 -0
- package/dist/commands/build/generate.d.ts +2 -0
- package/dist/commands/build/generate.d.ts.map +1 -1
- package/dist/commands/build/generate.js +52 -0
- package/dist/commands/build/init.d.ts.map +1 -1
- package/dist/commands/build/init.js +10 -0
- package/dist/commands/build/queue/setup.d.ts +21 -0
- package/dist/commands/build/queue/setup.d.ts.map +1 -0
- package/dist/commands/build/queue/setup.js +120 -0
- package/dist/commands/build/smartbucket/setup.d.ts +23 -0
- package/dist/commands/build/smartbucket/setup.d.ts.map +1 -0
- package/dist/commands/build/smartbucket/setup.js +167 -0
- package/dist/commands/build/smartmemory/setup.d.ts +23 -0
- package/dist/commands/build/smartmemory/setup.d.ts.map +1 -0
- package/dist/commands/build/smartmemory/setup.js +172 -0
- package/dist/commands/build/smartsql/setup.d.ts +23 -0
- package/dist/commands/build/smartsql/setup.d.ts.map +1 -0
- package/dist/commands/build/smartsql/setup.js +169 -0
- package/dist/commands/build/validate.d.ts +2 -0
- package/dist/commands/build/validate.d.ts.map +1 -1
- package/dist/commands/build/validate.js +80 -8
- package/dist/commands/build/workos/jwt.d.ts +23 -0
- package/dist/commands/build/workos/jwt.d.ts.map +1 -0
- package/dist/commands/build/workos/jwt.js +172 -0
- package/dist/commands/doctor.d.ts +27 -0
- package/dist/commands/doctor.d.ts.map +1 -0
- package/dist/commands/doctor.js +328 -0
- package/dist/commands/object/delete.d.ts +0 -2
- package/dist/commands/object/delete.d.ts.map +1 -1
- package/dist/commands/object/delete.js +3 -38
- package/dist/commands/object/get.d.ts +0 -2
- package/dist/commands/object/get.d.ts.map +1 -1
- package/dist/commands/object/get.js +3 -38
- package/dist/commands/object/list.d.ts +0 -2
- package/dist/commands/object/list.d.ts.map +1 -1
- package/dist/commands/object/list.js +5 -40
- package/dist/commands/object/put.d.ts +0 -2
- package/dist/commands/object/put.d.ts.map +1 -1
- package/dist/commands/object/put.js +3 -38
- package/dist/commands/query/chunk-search.d.ts +0 -2
- package/dist/commands/query/chunk-search.d.ts.map +1 -1
- package/dist/commands/query/chunk-search.js +12 -46
- package/dist/commands/query/document.d.ts +1 -3
- package/dist/commands/query/document.d.ts.map +1 -1
- package/dist/commands/query/document.js +16 -60
- package/dist/commands/query/search.d.ts +0 -2
- package/dist/commands/query/search.d.ts.map +1 -1
- package/dist/commands/query/search.js +12 -46
- package/dist/feature-catalog.d.ts +28 -0
- package/dist/feature-catalog.d.ts.map +1 -0
- package/dist/feature-catalog.js +104 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -2
- package/oclif.manifest.json +4811 -3433
- package/package.json +3 -3
- package/templates/examples/smartbucket-minimal.ts.hbs +87 -0
- package/templates/examples/smartmemory-minimal.ts.hbs +82 -0
- package/templates/examples/smartsql-minimal.ts.hbs +69 -0
- package/templates/handlers/actor/index.test.ts.hbs +48 -85
- package/templates/handlers/actor/index.ts.hbs +16 -316
- package/templates/handlers/bucket-event-notification/index.ts.hbs +32 -235
- package/templates/handlers/bucket-event-observer.ts.hbs +79 -0
- package/templates/handlers/http-service/index.test.ts.hbs +3 -0
- package/templates/handlers/http-service/index.ts.hbs +43 -15
- package/templates/handlers/queue-consumer-setup.ts.hbs +45 -0
- package/templates/handlers/task/index.test.ts.hbs +30 -112
- package/templates/handlers/task/index.ts.hbs +19 -58
- package/templates/init/RAINDROP.md.hbs +97 -1
- package/templates/init/eslint.config.js +43 -0
- package/templates/init/package.json.hbs +4 -1
- package/templates/init/tsconfig.json +3 -3
- package/bundle/chunk-23UBI7BN.js +0 -48
- package/bundle/chunk-2QWMBNE3.js +0 -384
- package/bundle/chunk-45IYWQDC.js +0 -384
- package/bundle/chunk-5YUO23QU.js +0 -4585
- package/bundle/chunk-6MIGCNUO.js +0 -75
- package/bundle/chunk-7ZJWA6HP.js +0 -805
- package/bundle/chunk-AIYVX2M7.js +0 -44
- package/bundle/chunk-BB5TNIEM.js +0 -48
- package/bundle/chunk-BUR3HFKH.js +0 -488
- package/bundle/chunk-BYSBS7KT.js +0 -488
- package/bundle/chunk-CX3RWI62.js +0 -28658
- package/bundle/chunk-DLH7MI57.js +0 -305
- package/bundle/chunk-E3WJIYJZ.js +0 -12148
- package/bundle/chunk-EX7NOPRF.js +0 -12148
- package/bundle/chunk-F76JQS2J.js +0 -231
- package/bundle/chunk-FBOXMVKD.js +0 -28679
- package/bundle/chunk-FTPZ6SQW.js +0 -238909
- package/bundle/chunk-H3CFZ7ZH.js +0 -74
- package/bundle/chunk-HXOILVWA.js +0 -384
- package/bundle/chunk-IMP7O5AC.js +0 -22452
- package/bundle/chunk-IPYOAKRE.js +0 -231
- package/bundle/chunk-J7HN6XF2.js +0 -4461
- package/bundle/chunk-JOLOAALA.js +0 -231
- package/bundle/chunk-JZ2G4Q35.js +0 -4585
- package/bundle/chunk-KVAWPWF7.js +0 -231
- package/bundle/chunk-MEUAAIXV.js +0 -28657
- package/bundle/chunk-QBWFE57Z.js +0 -384
- package/bundle/chunk-SP3LOXPC.js +0 -46
- package/bundle/chunk-T7C564PR.js +0 -28678
- package/bundle/chunk-UFH545WJ.js +0 -22452
- package/bundle/chunk-UHVMPWM5.js +0 -315
- package/bundle/chunk-VB7ZTSZV.js +0 -1089
- package/bundle/chunk-VBIJDFMJ.js +0 -384
- package/bundle/chunk-VR7RLTE3.js +0 -231
- package/bundle/chunk-WFZUJLEC.js +0 -231
- package/bundle/chunk-YDGJTLVZ.js +0 -133
- package/bundle/chunk-YPNQ7UFK.js +0 -502
- package/bundle/chunk-YXFDRMSN.js +0 -384
- package/dist/lib/dns-utils.d.ts +0 -7
- package/dist/lib/dns-utils.d.ts.map +0 -1
- package/dist/lib/dns-utils.js +0 -44
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
__commonJS,
|
|
3
|
-
__export,
|
|
4
|
-
__require,
|
|
5
|
-
__toESM,
|
|
6
2
|
annotationService,
|
|
7
3
|
bucketApiService,
|
|
8
4
|
catalogService,
|
|
9
5
|
dnsService,
|
|
10
6
|
ensureDirectory,
|
|
11
7
|
eventStreamService,
|
|
12
|
-
init_cjs_shims,
|
|
13
8
|
manifestFromString,
|
|
14
9
|
objectService,
|
|
15
10
|
paymentsService,
|
|
@@ -23,9 +18,16 @@ import {
|
|
|
23
18
|
stripeIntegrationService,
|
|
24
19
|
timestampDate,
|
|
25
20
|
urlifyOrganizationId,
|
|
26
|
-
valueOf,
|
|
27
21
|
workosIntegrationService
|
|
28
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-6L4V66WZ.js";
|
|
23
|
+
import {
|
|
24
|
+
__commonJS,
|
|
25
|
+
__export,
|
|
26
|
+
__require,
|
|
27
|
+
__toESM,
|
|
28
|
+
init_cjs_shims,
|
|
29
|
+
valueOf
|
|
30
|
+
} from "./chunk-5XHDP4VK.js";
|
|
29
31
|
|
|
30
32
|
// ../../node_modules/.pnpm/zx@8.6.0/node_modules/zx/build/esblib.cjs
|
|
31
33
|
var require_esblib = __commonJS({
|
|
@@ -488,7 +490,7 @@ var require_vendor_core = __commonJS({
|
|
|
488
490
|
VoidStream: () => VoidStream,
|
|
489
491
|
buildCmd: () => buildCmd,
|
|
490
492
|
chalk: () => chalk22,
|
|
491
|
-
exec: () =>
|
|
493
|
+
exec: () => exec,
|
|
492
494
|
isStringLiteral: () => isStringLiteral2,
|
|
493
495
|
ps: () => ps3,
|
|
494
496
|
which: () => which3
|
|
@@ -1116,7 +1118,7 @@ var require_vendor_core = __commonJS({
|
|
|
1116
1118
|
unix: parseUnixGrid,
|
|
1117
1119
|
win: parseWinGrid
|
|
1118
1120
|
};
|
|
1119
|
-
var
|
|
1121
|
+
var parse = (input, { format = "unix" } = {}) => {
|
|
1120
1122
|
const parser = parsers[format];
|
|
1121
1123
|
if (!parser)
|
|
1122
1124
|
throw new Error(`unsupported format: ${format}`);
|
|
@@ -1364,7 +1366,7 @@ var require_vendor_core = __commonJS({
|
|
|
1364
1366
|
}
|
|
1365
1367
|
return c;
|
|
1366
1368
|
};
|
|
1367
|
-
var
|
|
1369
|
+
var exec = (ctx) => invoke(normalizeCtx(ctx));
|
|
1368
1370
|
var EOL2 = /\n\r?|\r\n?/;
|
|
1369
1371
|
var IS_WIN = import_node_process42.default.platform === "win32";
|
|
1370
1372
|
var isBin = (f) => {
|
|
@@ -1415,7 +1417,7 @@ var require_vendor_core = __commonJS({
|
|
|
1415
1417
|
cb2();
|
|
1416
1418
|
}
|
|
1417
1419
|
};
|
|
1418
|
-
|
|
1420
|
+
exec(ctx);
|
|
1419
1421
|
return Object.assign(promise, result);
|
|
1420
1422
|
};
|
|
1421
1423
|
var parseProcessList = (output, query = {}) => {
|
|
@@ -1527,7 +1529,7 @@ var require_vendor_core = __commonJS({
|
|
|
1527
1529
|
}
|
|
1528
1530
|
return promise;
|
|
1529
1531
|
};
|
|
1530
|
-
var parseGrid = (output) => output ? formatOutput(
|
|
1532
|
+
var parseGrid = (output) => output ? formatOutput(parse(output, { format: IS_WIN ? "win" : "unix" })) : [];
|
|
1531
1533
|
var formatOutput = (data) => data.reduce((m, d) => {
|
|
1532
1534
|
var _a, _b, _c, _d;
|
|
1533
1535
|
const pid = ((_a = d.PID) == null ? void 0 : _a[0]) || ((_b = d.ProcessId) == null ? void 0 : _b[0]);
|
|
@@ -13970,10 +13972,10 @@ Content-Type: ${m.type || "application/octet-stream"}\r
|
|
|
13970
13972
|
var isFileSync = isTypeSync.bind(void 0, "statSync", "isFile");
|
|
13971
13973
|
var isDirectorySync = isTypeSync.bind(void 0, "statSync", "isDirectory");
|
|
13972
13974
|
var isSymlinkSync = isTypeSync.bind(void 0, "lstatSync", "isSymbolicLink");
|
|
13973
|
-
var
|
|
13974
|
-
var
|
|
13975
|
+
var import_node_util6 = __require("util");
|
|
13976
|
+
var import_node_child_process6 = __require("child_process");
|
|
13975
13977
|
var import_node_url3 = __require("url");
|
|
13976
|
-
var execFileOriginal = (0,
|
|
13978
|
+
var execFileOriginal = (0, import_node_util6.promisify)(import_node_child_process6.execFile);
|
|
13977
13979
|
function toPath(urlOrPath) {
|
|
13978
13980
|
return urlOrPath instanceof URL ? (0, import_node_url3.fileURLToPath)(urlOrPath) : urlOrPath;
|
|
13979
13981
|
}
|
|
@@ -14285,7 +14287,7 @@ Content-Type: ${m.type || "application/octet-stream"}\r
|
|
|
14285
14287
|
isPair: () => isPair,
|
|
14286
14288
|
isScalar: () => isScalar,
|
|
14287
14289
|
isSeq: () => isSeq,
|
|
14288
|
-
parse: () =>
|
|
14290
|
+
parse: () => parse,
|
|
14289
14291
|
parseAllDocuments: () => parseAllDocuments,
|
|
14290
14292
|
parseDocument: () => parseDocument,
|
|
14291
14293
|
stringify: () => stringify3,
|
|
@@ -14317,7 +14319,7 @@ Content-Type: ${m.type || "application/octet-stream"}\r
|
|
|
14317
14319
|
isPair: () => isPair,
|
|
14318
14320
|
isScalar: () => isScalar,
|
|
14319
14321
|
isSeq: () => isSeq,
|
|
14320
|
-
parse: () =>
|
|
14322
|
+
parse: () => parse,
|
|
14321
14323
|
parseAllDocuments: () => parseAllDocuments,
|
|
14322
14324
|
parseDocument: () => parseDocument,
|
|
14323
14325
|
stringify: () => stringify3,
|
|
@@ -20714,7 +20716,7 @@ ${end.comment}` : end.comment;
|
|
|
20714
20716
|
}
|
|
20715
20717
|
return doc;
|
|
20716
20718
|
}
|
|
20717
|
-
function
|
|
20719
|
+
function parse(src, reviver, options) {
|
|
20718
20720
|
let _reviver = void 0;
|
|
20719
20721
|
if (typeof reviver === "function") {
|
|
20720
20722
|
_reviver = reviver;
|
|
@@ -20853,7 +20855,7 @@ ${end.comment}` : end.comment;
|
|
|
20853
20855
|
var KR = /^[a-zA-Z_]\w*$/;
|
|
20854
20856
|
var SR = /\s/;
|
|
20855
20857
|
var decoder = new import_node_util32.TextDecoder();
|
|
20856
|
-
var
|
|
20858
|
+
var parse2 = (content) => {
|
|
20857
20859
|
const e = {};
|
|
20858
20860
|
let k2 = "";
|
|
20859
20861
|
let b = "";
|
|
@@ -20917,11 +20919,11 @@ ${end.comment}` : end.comment;
|
|
|
20917
20919
|
if (!q1 && !q2 && !q3 && !s) return v2;
|
|
20918
20920
|
if (!q1) return `${Q1}${v2}${Q1}`;
|
|
20919
20921
|
if (!q2) return `${Q2}${v2}${Q2}`;
|
|
20920
|
-
if (
|
|
20922
|
+
if (parse2(`V=${Q3}${v2}${Q3}`).V !== v2) throw new Error(`Invalid value: ${v2}`);
|
|
20921
20923
|
return `${Q3}${v2}${Q3}`;
|
|
20922
20924
|
};
|
|
20923
20925
|
var stringify4 = (env) => Object.entries(env).map(([k2, v2]) => `${k2}=${formatValue(v2 || "")}`).join("\n");
|
|
20924
|
-
var _load = (read, ...files) => files.reverse().reduce((m, f2) => Object.assign(m,
|
|
20926
|
+
var _load = (read, ...files) => files.reverse().reduce((m, f2) => Object.assign(m, parse2(read(import_node_path42.default.resolve(f2)))), {});
|
|
20925
20927
|
var load = (...files) => _load((file) => import_node_fs52.default.readFileSync(file, "utf8"), ...files);
|
|
20926
20928
|
var loadSafe = (...files) => _load(
|
|
20927
20929
|
(file) => import_node_fs52.default.existsSync(file) ? import_node_fs52.default.readFileSync(file, "utf8") : "",
|
|
@@ -20929,7 +20931,7 @@ ${end.comment}` : end.comment;
|
|
|
20929
20931
|
);
|
|
20930
20932
|
var populate = (env, extra) => Object.assign(env, extra);
|
|
20931
20933
|
var config = (def = DOTENV, ...files) => populate(process.env, loadSafe(def, ...files));
|
|
20932
|
-
var index_default = { parse:
|
|
20934
|
+
var index_default = { parse: parse2, stringify: stringify4, load, loadSafe, config };
|
|
20933
20935
|
var import_internals = require_internals();
|
|
20934
20936
|
var { wrap } = import_internals.bus;
|
|
20935
20937
|
var globalVar = "Deno" in globalThis ? globalThis : global;
|
|
@@ -21140,7 +21142,7 @@ var require_core = __commonJS({
|
|
|
21140
21142
|
within: () => within2
|
|
21141
21143
|
});
|
|
21142
21144
|
module.exports = __toCommonJS(core_exports);
|
|
21143
|
-
var
|
|
21145
|
+
var import_node_child_process6 = __require("child_process");
|
|
21144
21146
|
var import_node_async_hooks = __require("async_hooks");
|
|
21145
21147
|
var import_node_fs4 = __toESM2(__require("fs"), 1);
|
|
21146
21148
|
var import_node_util22 = __require("util");
|
|
@@ -21344,7 +21346,7 @@ ${details}`;
|
|
|
21344
21346
|
var import_vendor_core2 = require_vendor_core();
|
|
21345
21347
|
var import_util4 = require_util();
|
|
21346
21348
|
var import_vendor_core = require_vendor_core();
|
|
21347
|
-
var
|
|
21349
|
+
var import_node_util6 = __require("util");
|
|
21348
21350
|
var import_node_process6 = __toESM2(__require("process"), 1);
|
|
21349
21351
|
var formatters = {
|
|
21350
21352
|
cmd({ cmd }) {
|
|
@@ -21360,7 +21362,7 @@ ${details}`;
|
|
|
21360
21362
|
return data;
|
|
21361
21363
|
},
|
|
21362
21364
|
fetch(entry) {
|
|
21363
|
-
const init = entry.init ? " " + (0,
|
|
21365
|
+
const init = entry.init ? " " + (0, import_node_util6.inspect)(entry.init) : "";
|
|
21364
21366
|
return `$ ${import_vendor_core.chalk.greenBright("fetch")} ${entry.url}${init}
|
|
21365
21367
|
`;
|
|
21366
21368
|
},
|
|
@@ -21520,8 +21522,8 @@ ${details}`;
|
|
|
21520
21522
|
postfix: "",
|
|
21521
21523
|
detached: false,
|
|
21522
21524
|
preferLocal: false,
|
|
21523
|
-
spawn:
|
|
21524
|
-
spawnSync:
|
|
21525
|
+
spawn: import_node_child_process6.spawn,
|
|
21526
|
+
spawnSync: import_node_child_process6.spawnSync,
|
|
21525
21527
|
log: log2,
|
|
21526
21528
|
kill: kill2,
|
|
21527
21529
|
killSignal: SIGTERM,
|
|
@@ -24034,43 +24036,52 @@ init_cjs_shims();
|
|
|
24034
24036
|
|
|
24035
24037
|
// ../drizzle/dist/unsafe/framework.js
|
|
24036
24038
|
init_cjs_shims();
|
|
24037
|
-
import { exec } from "node:child_process";
|
|
24038
24039
|
import { lstat } from "node:fs/promises";
|
|
24039
|
-
import {
|
|
24040
|
-
import { promisify as promisify5 } from "node:util";
|
|
24040
|
+
import { join } from "node:path";
|
|
24041
24041
|
import { readFile } from "node:fs/promises";
|
|
24042
24042
|
var FRAMEWORK_PACKAGE = "@liquidmetal-ai/raindrop-framework";
|
|
24043
|
-
|
|
24044
|
-
|
|
24045
|
-
|
|
24046
|
-
|
|
24047
|
-
|
|
24048
|
-
|
|
24049
|
-
|
|
24050
|
-
|
|
24051
|
-
|
|
24052
|
-
|
|
24053
|
-
|
|
24054
|
-
|
|
24055
|
-
|
|
24056
|
-
console.error(`Error reading version from linked package at ${absolutePath}:`, error);
|
|
24057
|
-
return null;
|
|
24043
|
+
async function resolveWorkspaceLink(version2, currentDir, packageName) {
|
|
24044
|
+
if (version2.startsWith("file:")) {
|
|
24045
|
+
const filePath = version2.substring(5);
|
|
24046
|
+
const absolutePath = join(currentDir, filePath);
|
|
24047
|
+
try {
|
|
24048
|
+
const packageJsonPath = join(absolutePath, "package.json");
|
|
24049
|
+
const packageJsonContent = await readFile(packageJsonPath, "utf8");
|
|
24050
|
+
const packageJson = JSON.parse(packageJsonContent);
|
|
24051
|
+
return packageJson.version || null;
|
|
24052
|
+
} catch (error) {
|
|
24053
|
+
console.error(`Error reading version from file reference at ${absolutePath}:`, error);
|
|
24054
|
+
return null;
|
|
24055
|
+
}
|
|
24058
24056
|
}
|
|
24059
|
-
|
|
24060
|
-
|
|
24061
|
-
|
|
24062
|
-
|
|
24063
|
-
|
|
24064
|
-
|
|
24057
|
+
if (version2.startsWith("link:")) {
|
|
24058
|
+
const linkPath = version2.substring(5);
|
|
24059
|
+
const absolutePath = join(currentDir, linkPath);
|
|
24060
|
+
try {
|
|
24061
|
+
const packageJsonPath = join(absolutePath, "package.json");
|
|
24062
|
+
const packageJsonContent = await readFile(packageJsonPath, "utf8");
|
|
24063
|
+
const packageJson = JSON.parse(packageJsonContent);
|
|
24064
|
+
return packageJson.version || null;
|
|
24065
|
+
} catch (error) {
|
|
24066
|
+
console.error(`Error reading version from linked package at ${absolutePath}:`, error);
|
|
24067
|
+
return null;
|
|
24068
|
+
}
|
|
24065
24069
|
}
|
|
24066
|
-
|
|
24067
|
-
|
|
24068
|
-
|
|
24069
|
-
|
|
24070
|
-
|
|
24070
|
+
if (version2.startsWith("workspace:")) {
|
|
24071
|
+
const nodeModulesPackageJson = join(currentDir, "node_modules", packageName, "package.json");
|
|
24072
|
+
if (await fileExists(nodeModulesPackageJson)) {
|
|
24073
|
+
try {
|
|
24074
|
+
const packageJsonContent = await readFile(nodeModulesPackageJson, "utf8");
|
|
24075
|
+
const packageJson = JSON.parse(packageJsonContent);
|
|
24076
|
+
return packageJson.version || null;
|
|
24077
|
+
} catch (error) {
|
|
24078
|
+
console.error(`Error reading workspace package version:`, error);
|
|
24079
|
+
return null;
|
|
24080
|
+
}
|
|
24071
24081
|
}
|
|
24082
|
+
return null;
|
|
24072
24083
|
}
|
|
24073
|
-
return
|
|
24084
|
+
return version2;
|
|
24074
24085
|
}
|
|
24075
24086
|
async function fileExists(path6) {
|
|
24076
24087
|
try {
|
|
@@ -24080,68 +24091,36 @@ async function fileExists(path6) {
|
|
|
24080
24091
|
return false;
|
|
24081
24092
|
}
|
|
24082
24093
|
}
|
|
24083
|
-
async function
|
|
24084
|
-
let currentDir = dir;
|
|
24085
|
-
while (currentDir !== parse(currentDir).root) {
|
|
24086
|
-
if (await fileExists(join(currentDir, "package-lock.json")))
|
|
24087
|
-
return "npm";
|
|
24088
|
-
if (await fileExists(join(currentDir, "yarn.lock")))
|
|
24089
|
-
return "yarn";
|
|
24090
|
-
if (await fileExists(join(currentDir, "pnpm-lock.yaml")))
|
|
24091
|
-
return "pnpm";
|
|
24092
|
-
currentDir = dirname(currentDir);
|
|
24093
|
-
}
|
|
24094
|
-
return null;
|
|
24095
|
-
}
|
|
24096
|
-
var getVersionFromCommand = async (packageName, packageManager, currentDir) => {
|
|
24094
|
+
async function getPackageVersion(packageName, startDir = process.cwd()) {
|
|
24097
24095
|
try {
|
|
24098
|
-
const
|
|
24099
|
-
|
|
24100
|
-
|
|
24101
|
-
|
|
24102
|
-
|
|
24103
|
-
|
|
24104
|
-
|
|
24105
|
-
|
|
24106
|
-
|
|
24107
|
-
|
|
24108
|
-
|
|
24109
|
-
const match = parsed.data.trees.find((t) => t.name === packageName);
|
|
24110
|
-
if (match) {
|
|
24111
|
-
return await resolveWorkspaceLink(match.version, currentDir);
|
|
24096
|
+
const currentDir = startDir;
|
|
24097
|
+
const localPackageJsonPath = join(currentDir, "package.json");
|
|
24098
|
+
if (await fileExists(localPackageJsonPath)) {
|
|
24099
|
+
try {
|
|
24100
|
+
const packageJsonContent = await readFile(localPackageJsonPath, "utf8");
|
|
24101
|
+
const packageJson = JSON.parse(packageJsonContent);
|
|
24102
|
+
const version2 = packageJson.dependencies?.[packageName] || packageJson.devDependencies?.[packageName] || packageJson.peerDependencies?.[packageName];
|
|
24103
|
+
if (version2) {
|
|
24104
|
+
const resolvedVersion = await resolveWorkspaceLink(version2, currentDir, packageName);
|
|
24105
|
+
if (resolvedVersion) {
|
|
24106
|
+
return resolvedVersion;
|
|
24112
24107
|
}
|
|
24113
24108
|
}
|
|
24114
|
-
}
|
|
24115
|
-
|
|
24116
|
-
const data = JSON.parse(stdout);
|
|
24117
|
-
let dependencies;
|
|
24118
|
-
if (Array.isArray(data)) {
|
|
24119
|
-
dependencies = data[0]?.dependencies;
|
|
24120
|
-
} else {
|
|
24121
|
-
dependencies = data.dependencies;
|
|
24122
|
-
}
|
|
24123
|
-
const version2 = findDependencyVersion(dependencies, packageName);
|
|
24124
|
-
if (version2) {
|
|
24125
|
-
return await resolveWorkspaceLink(version2, currentDir);
|
|
24109
|
+
} catch (error) {
|
|
24110
|
+
console.debug(`Error reading local package.json:`, error);
|
|
24126
24111
|
}
|
|
24127
24112
|
}
|
|
24128
|
-
|
|
24129
|
-
|
|
24130
|
-
|
|
24131
|
-
|
|
24132
|
-
|
|
24133
|
-
|
|
24134
|
-
|
|
24135
|
-
|
|
24136
|
-
|
|
24137
|
-
|
|
24138
|
-
const packageManager = await detectPackageManager(currentDir);
|
|
24139
|
-
if (packageManager) {
|
|
24140
|
-
const version2 = await getVersionFromCommand(packageName, packageManager, currentDir);
|
|
24141
|
-
if (version2)
|
|
24142
|
-
return version2;
|
|
24113
|
+
const nodeModulesPackageJson = join(currentDir, "node_modules", packageName, "package.json");
|
|
24114
|
+
if (await fileExists(nodeModulesPackageJson)) {
|
|
24115
|
+
try {
|
|
24116
|
+
const installedPkgContent = await readFile(nodeModulesPackageJson, "utf8");
|
|
24117
|
+
const installedPkg = JSON.parse(installedPkgContent);
|
|
24118
|
+
if (installedPkg.version) {
|
|
24119
|
+
return installedPkg.version;
|
|
24120
|
+
}
|
|
24121
|
+
} catch (error) {
|
|
24122
|
+
console.debug(`Error reading installed package version from ${nodeModulesPackageJson}:`, error);
|
|
24143
24123
|
}
|
|
24144
|
-
currentDir = dirname(currentDir);
|
|
24145
24124
|
}
|
|
24146
24125
|
throw new Error("Package version not found");
|
|
24147
24126
|
} catch (error) {
|
|
@@ -28651,8 +28630,9 @@ var BaseCommand = class extends import_core.Command {
|
|
|
28651
28630
|
}
|
|
28652
28631
|
});
|
|
28653
28632
|
}
|
|
28654
|
-
async raindropFrameworkVersion() {
|
|
28655
|
-
const
|
|
28633
|
+
async raindropFrameworkVersion(root) {
|
|
28634
|
+
const startDir = root ?? process.cwd();
|
|
28635
|
+
const version2 = await getPackageVersion(FRAMEWORK_PACKAGE, startDir);
|
|
28656
28636
|
if (version2 === null) {
|
|
28657
28637
|
throw new Error("Failed to determine @liquidmetal-ai/raindrop-framework version; is it installed?");
|
|
28658
28638
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HANDLERS_DIR
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XX74I5RK.js";
|
|
4
4
|
import {
|
|
5
5
|
Actor,
|
|
6
6
|
Service,
|
|
7
7
|
init_cjs_shims,
|
|
8
8
|
valueOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5XHDP4VK.js";
|
|
10
10
|
|
|
11
11
|
// src/build.ts
|
|
12
12
|
init_cjs_shims();
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
source_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EVXLXWP7.js";
|
|
4
4
|
import {
|
|
5
5
|
UnitState,
|
|
6
|
+
timestampDate
|
|
7
|
+
} from "./chunk-6L4V66WZ.js";
|
|
8
|
+
import {
|
|
6
9
|
init_cjs_shims,
|
|
7
|
-
timestampDate,
|
|
8
10
|
valueOf
|
|
9
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5XHDP4VK.js";
|
|
10
12
|
|
|
11
13
|
// src/status.ts
|
|
12
14
|
init_cjs_shims();
|
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkAndDisplayKillswitchStatus
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2PH3PHH3.js";
|
|
4
4
|
import {
|
|
5
5
|
source_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-EVXLXWP7.js";
|
|
7
7
|
import {
|
|
8
8
|
BaseCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NRCQIE3Z.js";
|
|
10
10
|
import {
|
|
11
11
|
ApplicationsResponseSchema,
|
|
12
12
|
EPOCH_TS,
|
|
13
13
|
UnitState,
|
|
14
|
-
__toESM,
|
|
15
|
-
init_cjs_shims,
|
|
16
14
|
require_lib,
|
|
17
15
|
timestampDate,
|
|
18
16
|
toJsonString
|
|
19
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6L4V66WZ.js";
|
|
18
|
+
import {
|
|
19
|
+
__toESM,
|
|
20
|
+
init_cjs_shims
|
|
21
|
+
} from "./chunk-5XHDP4VK.js";
|
|
20
22
|
|
|
21
23
|
// src/commands/build/list.ts
|
|
22
24
|
init_cjs_shims();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
source_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-V6J23FL2.js";
|
|
4
4
|
import {
|
|
5
5
|
GetKillswitchStatusResponse_State,
|
|
6
6
|
init_cjs_shims,
|
|
7
7
|
timestampDate
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KLOYSTZY.js";
|
|
9
9
|
|
|
10
10
|
// src/killswitch-utils.ts
|
|
11
11
|
init_cjs_shims();
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
require_source_map
|
|
3
|
+
} from "./chunk-6L4V66WZ.js";
|
|
1
4
|
import {
|
|
2
5
|
__commonJS,
|
|
3
6
|
__require,
|
|
4
7
|
__toESM,
|
|
5
8
|
init_cjs_shims,
|
|
6
|
-
require_source_map,
|
|
7
9
|
valueOf
|
|
8
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5XHDP4VK.js";
|
|
9
11
|
|
|
10
12
|
// ../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/utils.js
|
|
11
13
|
var require_utils = __commonJS({
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
require_ansi_styles,
|
|
8
8
|
require_string_width,
|
|
9
9
|
require_strip_ansi
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KLOYSTZY.js";
|
|
11
11
|
|
|
12
12
|
// ../../node_modules/.pnpm/yoctocolors-cjs@2.1.2/node_modules/yoctocolors-cjs/index.js
|
|
13
13
|
var require_yoctocolors_cjs = __commonJS({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseMRN
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-674GMSXY.js";
|
|
4
4
|
import {
|
|
5
5
|
BaseCommand
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-TFQY5TSY.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-KLOYSTZY.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-674GMSXY.js";
|
|
4
4
|
import {
|
|
5
5
|
BaseCommand
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-TFQY5TSY.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-KLOYSTZY.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-674GMSXY.js";
|
|
4
4
|
import {
|
|
5
5
|
BaseCommand
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-TFQY5TSY.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-KLOYSTZY.js";
|
|
16
16
|
|
|
17
17
|
// src/commands/annotation/put.ts
|
|
18
18
|
init_cjs_shims();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BaseCommand
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-TFQY5TSY.js";
|
|
4
4
|
import {
|
|
5
5
|
RainbowAuthServiceCreateApiKeyRequestSchema,
|
|
6
6
|
__toESM,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
init_cjs_shims,
|
|
9
9
|
readState,
|
|
10
10
|
require_lib
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-KLOYSTZY.js";
|
|
12
12
|
|
|
13
13
|
// src/commands/auth/apikey.ts
|
|
14
14
|
init_cjs_shims();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BaseCommand
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-TFQY5TSY.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-KLOYSTZY.js";
|
|
10
10
|
|
|
11
11
|
// src/commands/auth/list.ts
|
|
12
12
|
init_cjs_shims();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BaseCommand
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-TFQY5TSY.js";
|
|
4
4
|
import {
|
|
5
5
|
__toESM,
|
|
6
6
|
init_cjs_shims,
|
|
7
7
|
require_lib
|
|
8
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-KLOYSTZY.js";
|
|
9
9
|
|
|
10
10
|
// src/commands/auth/login.ts
|
|
11
11
|
init_cjs_shims();
|