@liquidmetal-ai/raindrop 0.8.0 → 0.9.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 +254 -207
- package/bundle/chunk-5AOMZVOJ.js +48 -0
- package/bundle/chunk-5AP5HNN3.js +133 -0
- package/bundle/chunk-6CDCK5IP.js +58 -0
- package/bundle/chunk-6GTBXHHK.js +502 -0
- package/bundle/chunk-A26NDSVL.js +12148 -0
- package/bundle/{chunk-6UE75KX2.js → chunk-AKNNZNIC.js} +1 -2
- package/bundle/{chunk-CW5ZHVPX.js → chunk-DOTQ3CSX.js} +2 -2
- package/bundle/chunk-FO7VH4GU.js +75 -0
- package/bundle/chunk-HEOY5F6W.js +147 -0
- package/bundle/chunk-HMD2JXLE.js +238722 -0
- package/bundle/chunk-KGZ7KWP4.js +44 -0
- package/bundle/chunk-MNUILM7W.js +380 -0
- package/bundle/chunk-OROAB5YF.js +805 -0
- package/bundle/chunk-OZWZILJX.js +4539 -0
- package/bundle/{chunk-6B4I2CKP.js → chunk-YDVG2SA2.js} +4 -4
- package/bundle/chunk-ZQQFKWNC.js +22452 -0
- package/bundle/commands/annotation/get.js +4 -4
- package/bundle/commands/annotation/list.js +4 -4
- package/bundle/commands/annotation/put.js +4 -4
- 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 +3 -3
- package/bundle/commands/bucket/delete-credential.js +3 -3
- package/bundle/commands/bucket/get-credential.js +3 -3
- package/bundle/commands/bucket/list-credentials.js +3 -3
- package/bundle/commands/build/branch.js +26 -14
- package/bundle/commands/build/checkout.js +6 -6
- package/bundle/commands/build/clone.js +5 -5
- package/bundle/commands/build/delete.js +24 -14
- package/bundle/commands/build/deploy.js +25 -13
- package/bundle/commands/build/env/get.js +19 -6
- package/bundle/commands/build/env/set.js +19 -6
- package/bundle/commands/build/find.js +18 -10
- package/bundle/commands/build/generate.js +4 -4
- package/bundle/commands/build/init.js +3 -3
- package/bundle/commands/build/list-templates.js +63 -0
- package/bundle/commands/build/list.js +4 -4
- package/bundle/commands/build/package-template.js +238 -0
- package/bundle/commands/build/sandbox.js +16 -10
- package/bundle/commands/build/start.js +10 -6
- package/bundle/commands/build/status.js +16 -11
- package/bundle/commands/build/stop.js +10 -6
- package/bundle/commands/build/tools/check.js +2 -2
- package/bundle/commands/build/tools/fmt.js +2 -2
- package/bundle/commands/build/unsandbox.js +16 -10
- package/bundle/commands/build/upload.js +23 -9
- package/bundle/commands/build/validate.js +5 -5
- package/bundle/commands/build/workos/delete.js +4 -4
- package/bundle/commands/build/workos/env/attach.js +20 -8
- package/bundle/commands/build/workos/env/create.js +60 -11
- package/bundle/commands/build/workos/env/delete.js +3 -3
- package/bundle/commands/build/workos/env/detach.js +20 -8
- package/bundle/commands/build/workos/env/get.js +21 -3
- package/bundle/commands/build/workos/env/list.js +3 -3
- package/bundle/commands/build/workos/env/set.js +91 -25
- package/bundle/commands/build/workos/invite.js +3 -3
- package/bundle/commands/build/workos/setup.js +14 -5
- package/bundle/commands/build/workos/status.js +116 -25
- 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 +15 -10
- package/bundle/commands/logs/tail.js +16 -11
- 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 +27 -14
- package/bundle/commands/object/get.js +27 -14
- package/bundle/commands/object/list.js +28 -15
- package/bundle/commands/object/put.js +27 -14
- package/bundle/commands/query/chunk-search.js +24 -10
- package/bundle/commands/query/document.js +39 -16
- package/bundle/commands/query/events.js +13 -8
- package/bundle/commands/query/reindex.js +14 -6
- package/bundle/commands/query/search.js +40 -17
- package/bundle/commands/tail.js +2 -2
- package/bundle/index.js +1 -1
- package/dist/base-command.d.ts.map +1 -1
- package/dist/base-command.js +27 -0
- package/dist/commands/annotation/get.js +1 -1
- package/dist/commands/annotation/list.js +1 -1
- package/dist/commands/annotation/put.js +1 -1
- package/dist/commands/bucket/create-credential.js +1 -1
- package/dist/commands/bucket/delete-credential.js +1 -1
- package/dist/commands/bucket/get-credential.js +1 -1
- package/dist/commands/bucket/list-credentials.js +1 -1
- package/dist/commands/build/branch.d.ts +2 -0
- package/dist/commands/build/branch.d.ts.map +1 -1
- package/dist/commands/build/branch.js +18 -5
- package/dist/commands/build/checkout.js +1 -1
- package/dist/commands/build/delete.d.ts +1 -0
- package/dist/commands/build/delete.d.ts.map +1 -1
- package/dist/commands/build/delete.js +25 -12
- package/dist/commands/build/deploy.d.ts +2 -0
- package/dist/commands/build/deploy.d.ts.map +1 -1
- package/dist/commands/build/deploy.js +17 -4
- package/dist/commands/build/env/get.d.ts +2 -0
- package/dist/commands/build/env/get.d.ts.map +1 -1
- package/dist/commands/build/env/get.js +18 -4
- package/dist/commands/build/env/set.d.ts +2 -0
- package/dist/commands/build/env/set.d.ts.map +1 -1
- package/dist/commands/build/env/set.js +18 -4
- package/dist/commands/build/find.d.ts +1 -0
- package/dist/commands/build/find.d.ts.map +1 -1
- package/dist/commands/build/find.js +18 -7
- package/dist/commands/build/generate.js +1 -1
- package/dist/commands/build/list-templates.d.ts +11 -0
- package/dist/commands/build/list-templates.d.ts.map +1 -0
- package/dist/commands/build/list-templates.js +47 -0
- package/dist/commands/build/list.js +1 -1
- package/dist/commands/build/package-template.d.ts +28 -0
- package/dist/commands/build/package-template.d.ts.map +1 -0
- package/dist/commands/build/package-template.js +256 -0
- package/dist/commands/build/sandbox.d.ts +1 -0
- package/dist/commands/build/sandbox.d.ts.map +1 -1
- package/dist/commands/build/sandbox.js +10 -3
- package/dist/commands/build/start.d.ts +1 -0
- package/dist/commands/build/start.d.ts.map +1 -1
- package/dist/commands/build/start.js +9 -4
- package/dist/commands/build/status.d.ts +1 -0
- package/dist/commands/build/status.d.ts.map +1 -1
- package/dist/commands/build/status.js +13 -7
- package/dist/commands/build/stop.d.ts +1 -0
- package/dist/commands/build/stop.d.ts.map +1 -1
- package/dist/commands/build/stop.js +9 -4
- package/dist/commands/build/unsandbox.d.ts +1 -0
- package/dist/commands/build/unsandbox.d.ts.map +1 -1
- package/dist/commands/build/unsandbox.js +10 -3
- package/dist/commands/build/upload.d.ts +3 -1
- package/dist/commands/build/upload.d.ts.map +1 -1
- package/dist/commands/build/upload.js +19 -4
- package/dist/commands/build/validate.js +1 -1
- package/dist/commands/build/workos/env/attach.d.ts +2 -0
- package/dist/commands/build/workos/env/attach.d.ts.map +1 -1
- package/dist/commands/build/workos/env/attach.js +17 -5
- package/dist/commands/build/workos/env/create.d.ts +3 -0
- package/dist/commands/build/workos/env/create.d.ts.map +1 -1
- package/dist/commands/build/workos/env/create.js +61 -8
- package/dist/commands/build/workos/env/detach.d.ts +2 -0
- package/dist/commands/build/workos/env/detach.d.ts.map +1 -1
- package/dist/commands/build/workos/env/detach.js +17 -5
- package/dist/commands/build/workos/env/get.d.ts.map +1 -1
- package/dist/commands/build/workos/env/get.js +19 -0
- package/dist/commands/build/workos/env/set.d.ts +12 -6
- package/dist/commands/build/workos/env/set.d.ts.map +1 -1
- package/dist/commands/build/workos/env/set.js +83 -22
- package/dist/commands/build/workos/setup.d.ts +1 -0
- package/dist/commands/build/workos/setup.d.ts.map +1 -1
- package/dist/commands/build/workos/setup.js +12 -3
- package/dist/commands/build/workos/status.d.ts +5 -0
- package/dist/commands/build/workos/status.d.ts.map +1 -1
- package/dist/commands/build/workos/status.js +128 -21
- package/dist/commands/logs/query.d.ts +1 -0
- package/dist/commands/logs/query.d.ts.map +1 -1
- package/dist/commands/logs/query.js +13 -7
- package/dist/commands/logs/tail.d.ts +1 -0
- package/dist/commands/logs/tail.d.ts.map +1 -1
- package/dist/commands/logs/tail.js +14 -8
- package/dist/commands/object/delete.d.ts +1 -0
- package/dist/commands/object/delete.d.ts.map +1 -1
- package/dist/commands/object/delete.js +25 -11
- package/dist/commands/object/get.d.ts +1 -0
- package/dist/commands/object/get.d.ts.map +1 -1
- package/dist/commands/object/get.js +25 -11
- package/dist/commands/object/list.d.ts +1 -0
- package/dist/commands/object/list.d.ts.map +1 -1
- package/dist/commands/object/list.js +26 -12
- package/dist/commands/object/put.d.ts +1 -0
- package/dist/commands/object/put.d.ts.map +1 -1
- package/dist/commands/object/put.js +25 -11
- package/dist/commands/query/chunk-search.d.ts +1 -0
- package/dist/commands/query/chunk-search.d.ts.map +1 -1
- package/dist/commands/query/chunk-search.js +21 -6
- package/dist/commands/query/document.d.ts +3 -1
- package/dist/commands/query/document.d.ts.map +1 -1
- package/dist/commands/query/document.js +36 -13
- package/dist/commands/query/events.d.ts +1 -0
- package/dist/commands/query/events.d.ts.map +1 -1
- package/dist/commands/query/events.js +12 -6
- package/dist/commands/query/reindex.d.ts +1 -0
- package/dist/commands/query/reindex.d.ts.map +1 -1
- package/dist/commands/query/reindex.js +13 -4
- package/dist/commands/query/search.d.ts +2 -0
- package/dist/commands/query/search.d.ts.map +1 -1
- package/dist/commands/query/search.js +37 -13
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/templates/registry.d.ts +38 -0
- package/dist/templates/registry.d.ts.map +1 -0
- package/dist/templates/registry.js +72 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/oclif.manifest.json +2823 -2047
- 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
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Template Registry for Raindrop Projects
|
|
3
|
+
*
|
|
4
|
+
* This registry defines all available templates that can be cloned via
|
|
5
|
+
* `raindrop build clone <template-id>`
|
|
6
|
+
*/
|
|
7
|
+
const GITHUB_DEMOS_REPO = 'https://github.com/LiquidMetal-AI/lm-raindrop-demos.git';
|
|
8
|
+
/**
|
|
9
|
+
* Registry of all available Raindrop templates
|
|
10
|
+
*/
|
|
11
|
+
export const TEMPLATE_REGISTRY = [
|
|
12
|
+
{
|
|
13
|
+
id: 'liquidmetal/smartbucket',
|
|
14
|
+
name: 'SmartBucket',
|
|
15
|
+
description: 'Initialize a new Raindrop project with SmartBucket and service components from scratch',
|
|
16
|
+
type: 'init',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
id: 'liquidmetal/agent-template',
|
|
20
|
+
name: 'Agent Template',
|
|
21
|
+
description: 'A foundational template for building agents on the LiquidMetal platform',
|
|
22
|
+
type: 'clone',
|
|
23
|
+
githubPath: 'agent-template',
|
|
24
|
+
githubRepo: GITHUB_DEMOS_REPO,
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
id: 'liquidmetal/git-haiku-demo',
|
|
28
|
+
name: 'Git Haiku Demo',
|
|
29
|
+
description: 'A demonstration application showcasing git integration capabilities',
|
|
30
|
+
type: 'clone',
|
|
31
|
+
githubPath: 'git-haiku-demo',
|
|
32
|
+
githubRepo: GITHUB_DEMOS_REPO,
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
id: 'liquidmetal/hello-world',
|
|
36
|
+
name: 'Hello World',
|
|
37
|
+
description: 'An introductory example for getting started with the platform',
|
|
38
|
+
type: 'clone',
|
|
39
|
+
githubPath: 'hello-world',
|
|
40
|
+
githubRepo: GITHUB_DEMOS_REPO,
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
id: 'liquidmetal/voice-agent-demo',
|
|
44
|
+
name: 'Voice Agent Demo',
|
|
45
|
+
description: 'A sample application demonstrating voice-based agent functionality',
|
|
46
|
+
type: 'clone',
|
|
47
|
+
githubPath: 'voice-agent-demo',
|
|
48
|
+
githubRepo: GITHUB_DEMOS_REPO,
|
|
49
|
+
},
|
|
50
|
+
];
|
|
51
|
+
/**
|
|
52
|
+
* Get a template definition by ID
|
|
53
|
+
*/
|
|
54
|
+
export function getTemplateById(id) {
|
|
55
|
+
return TEMPLATE_REGISTRY.find(template => template.id === id);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* List all available templates
|
|
59
|
+
*/
|
|
60
|
+
export function listTemplates() {
|
|
61
|
+
return TEMPLATE_REGISTRY;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Search templates by query string (searches name and description)
|
|
65
|
+
*/
|
|
66
|
+
export function searchTemplates(query) {
|
|
67
|
+
const lowerQuery = query.toLowerCase();
|
|
68
|
+
return TEMPLATE_REGISTRY.filter(template => {
|
|
69
|
+
const searchText = `${template.name} ${template.description}`.toLowerCase();
|
|
70
|
+
return searchText.includes(lowerQuery);
|
|
71
|
+
});
|
|
72
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"root":["../src/base-command.ts","../src/build.test.ts","../src/build.ts","../src/codegen.test.ts","../src/codegen.ts","../src/config.test.ts","../src/config.ts","../src/deploy.ts","../src/index.test.ts","../src/index.ts","../src/log-helpers.ts","../src/status.ts","../src/strict-client.ts","../src/trace.ts","../src/commands/tail.ts","../src/commands/annotation/get.ts","../src/commands/annotation/list.ts","../src/commands/annotation/put.ts","../src/commands/auth/list.ts","../src/commands/auth/login.ts","../src/commands/auth/logout.ts","../src/commands/auth/select.ts","../src/commands/bucket/create-credential.ts","../src/commands/bucket/delete-credential.ts","../src/commands/bucket/get-credential.ts","../src/commands/bucket/list-credentials.ts","../src/commands/build/branch.ts","../src/commands/build/checkout.ts","../src/commands/build/clone.ts","../src/commands/build/delete.ts","../src/commands/build/deploy.ts","../src/commands/build/find.ts","../src/commands/build/generate.ts","../src/commands/build/init.ts","../src/commands/build/list.ts","../src/commands/build/sandbox.ts","../src/commands/build/start.ts","../src/commands/build/status.ts","../src/commands/build/stop.ts","../src/commands/build/unsandbox.ts","../src/commands/build/upload.ts","../src/commands/build/validate.ts","../src/commands/build/env/get.ts","../src/commands/build/env/set.ts","../src/commands/build/tools/check.ts","../src/commands/build/tools/fmt.ts","../src/commands/build/workos/delete.ts","../src/commands/build/workos/invite.ts","../src/commands/build/workos/setup.ts","../src/commands/build/workos/status.ts","../src/commands/build/workos/env/attach.ts","../src/commands/build/workos/env/create.ts","../src/commands/build/workos/env/delete.ts","../src/commands/build/workos/env/detach.ts","../src/commands/build/workos/env/get.ts","../src/commands/build/workos/env/list.ts","../src/commands/build/workos/env/set.ts","../src/commands/dns/create.ts","../src/commands/dns/delete.ts","../src/commands/dns/get.ts","../src/commands/dns/list.ts","../src/commands/dns/records/create.ts","../src/commands/dns/records/delete.ts","../src/commands/dns/records/get.ts","../src/commands/dns/records/list.ts","../src/commands/dns/records/update.ts","../src/commands/logs/query.ts","../src/commands/logs/tail.ts","../src/commands/mcp/install-claude.ts","../src/commands/mcp/install-gemini.ts","../src/commands/mcp/install-goose.ts","../src/commands/mcp/status.ts","../src/commands/object/delete.ts","../src/commands/object/get.ts","../src/commands/object/list.ts","../src/commands/object/put.ts","../src/commands/query/chunk-search.ts","../src/commands/query/document.ts","../src/commands/query/events.ts","../src/commands/query/reindex.ts","../src/commands/query/search.ts","../src/lib/dns-utils.ts","../src/utils/directory-validation.ts"],"version":"5.8.3"}
|