@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,44 @@
|
|
|
1
|
+
import {
|
|
2
|
+
init_cjs_shims
|
|
3
|
+
} from "./chunk-VEVVJAL6.js";
|
|
4
|
+
|
|
5
|
+
// ../drizzle/dist/mrn.js
|
|
6
|
+
init_cjs_shims();
|
|
7
|
+
function parseMRN(mrn) {
|
|
8
|
+
const parts = mrn.split(":");
|
|
9
|
+
if (parts.length !== 6) {
|
|
10
|
+
throw new Error(`Invalid MRN format: ${mrn}`);
|
|
11
|
+
}
|
|
12
|
+
const [type, applicationName, versionId, module, itemOrKey, revision] = parts;
|
|
13
|
+
if (!type || !applicationName || !versionId) {
|
|
14
|
+
throw new Error(`MRN must contain type, applicationName, and versionId: ${mrn}`);
|
|
15
|
+
}
|
|
16
|
+
if (!["annotation", "label"].includes(type)) {
|
|
17
|
+
throw new Error(`Invalid MRN type: ${type}`);
|
|
18
|
+
}
|
|
19
|
+
const mrnObject = {
|
|
20
|
+
type,
|
|
21
|
+
applicationName,
|
|
22
|
+
versionId
|
|
23
|
+
};
|
|
24
|
+
if (module) {
|
|
25
|
+
mrnObject.module = module;
|
|
26
|
+
}
|
|
27
|
+
if (itemOrKey) {
|
|
28
|
+
if (itemOrKey.includes("^")) {
|
|
29
|
+
const [item, keyValue] = itemOrKey.split("^");
|
|
30
|
+
mrnObject.item = item;
|
|
31
|
+
mrnObject.key = keyValue || "";
|
|
32
|
+
} else {
|
|
33
|
+
mrnObject.key = itemOrKey;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
if (revision) {
|
|
37
|
+
mrnObject.revision = revision;
|
|
38
|
+
}
|
|
39
|
+
return mrnObject;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export {
|
|
43
|
+
parseMRN
|
|
44
|
+
};
|