@liquidmetal-ai/raindrop 0.2.11 → 0.2.12

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.
@@ -1225,7 +1225,7 @@
1225
1225
  "description": "root directory",
1226
1226
  "name": "root",
1227
1227
  "required": false,
1228
- "default": "/Users/ian/liquidmetal/packages/raindrop",
1228
+ "default": "/Users/bosgood/dev/src/github.com/LiquidMetal-AI/liquidmetal/packages/raindrop",
1229
1229
  "hasDynamicHelp": false,
1230
1230
  "multiple": false,
1231
1231
  "type": "option"
@@ -1581,7 +1581,7 @@
1581
1581
  "description": "root directory",
1582
1582
  "name": "root",
1583
1583
  "required": false,
1584
- "default": "/Users/ian/liquidmetal/packages/raindrop",
1584
+ "default": "/Users/bosgood/dev/src/github.com/LiquidMetal-AI/liquidmetal/packages/raindrop",
1585
1585
  "hasDynamicHelp": false,
1586
1586
  "multiple": false,
1587
1587
  "type": "option"
@@ -1782,7 +1782,7 @@
1782
1782
  "description": "root directory",
1783
1783
  "name": "root",
1784
1784
  "required": false,
1785
- "default": "/Users/ian/liquidmetal/packages/raindrop",
1785
+ "default": "/Users/bosgood/dev/src/github.com/LiquidMetal-AI/liquidmetal/packages/raindrop",
1786
1786
  "hasDynamicHelp": false,
1787
1787
  "multiple": false,
1788
1788
  "type": "option"
@@ -1999,7 +1999,7 @@
1999
1999
  "description": "root directory",
2000
2000
  "name": "root",
2001
2001
  "required": false,
2002
- "default": "/Users/ian/liquidmetal/packages/raindrop",
2002
+ "default": "/Users/bosgood/dev/src/github.com/LiquidMetal-AI/liquidmetal/packages/raindrop",
2003
2003
  "hasDynamicHelp": false,
2004
2004
  "multiple": false,
2005
2005
  "type": "option"
@@ -2032,6 +2032,14 @@
2032
2032
  "multiple": false,
2033
2033
  "type": "option"
2034
2034
  },
2035
+ "moduleType": {
2036
+ "description": "filter by module type (e.g. smartbucket)",
2037
+ "name": "moduleType",
2038
+ "required": false,
2039
+ "hasDynamicHelp": false,
2040
+ "multiple": false,
2041
+ "type": "option"
2042
+ },
2035
2043
  "output": {
2036
2044
  "char": "o",
2037
2045
  "description": "output format",
@@ -2148,7 +2156,7 @@
2148
2156
  "description": "root directory",
2149
2157
  "name": "root",
2150
2158
  "required": false,
2151
- "default": "/Users/ian/liquidmetal/packages/raindrop",
2159
+ "default": "/Users/bosgood/dev/src/github.com/LiquidMetal-AI/liquidmetal/packages/raindrop",
2152
2160
  "hasDynamicHelp": false,
2153
2161
  "multiple": false,
2154
2162
  "type": "option"
@@ -2523,13 +2531,7 @@
2523
2531
  },
2524
2532
  "build:sandbox": {
2525
2533
  "aliases": [],
2526
- "args": {
2527
- "versionId": {
2528
- "description": "version to sandbox",
2529
- "name": "versionId",
2530
- "required": false
2531
- }
2532
- },
2534
+ "args": {},
2533
2535
  "description": "mark a version as sandboxed in the Raindrop catalog",
2534
2536
  "examples": [
2535
2537
  "<%= config.bin %> <%= command.id %>\n"
@@ -2608,6 +2610,15 @@
2608
2610
  "hasDynamicHelp": false,
2609
2611
  "multiple": false,
2610
2612
  "type": "option"
2613
+ },
2614
+ "version": {
2615
+ "char": "v",
2616
+ "description": "application version to sandbox",
2617
+ "name": "version",
2618
+ "required": false,
2619
+ "hasDynamicHelp": false,
2620
+ "multiple": false,
2621
+ "type": "option"
2611
2622
  }
2612
2623
  },
2613
2624
  "hasDynamicHelp": false,
@@ -2748,7 +2759,7 @@
2748
2759
  "description": "root directory",
2749
2760
  "name": "root",
2750
2761
  "required": false,
2751
- "default": "/Users/ian/liquidmetal/packages/raindrop",
2762
+ "default": "/Users/bosgood/dev/src/github.com/LiquidMetal-AI/liquidmetal/packages/raindrop",
2752
2763
  "hasDynamicHelp": false,
2753
2764
  "multiple": false,
2754
2765
  "type": "option"
@@ -2930,7 +2941,7 @@
2930
2941
  "description": "root directory",
2931
2942
  "name": "root",
2932
2943
  "required": false,
2933
- "default": "/Users/ian/liquidmetal/packages/raindrop",
2944
+ "default": "/Users/bosgood/dev/src/github.com/LiquidMetal-AI/liquidmetal/packages/raindrop",
2934
2945
  "hasDynamicHelp": false,
2935
2946
  "multiple": false,
2936
2947
  "type": "option"
@@ -3135,7 +3146,7 @@
3135
3146
  "description": "root directory",
3136
3147
  "name": "root",
3137
3148
  "required": false,
3138
- "default": "/Users/ian/liquidmetal/packages/raindrop",
3149
+ "default": "/Users/bosgood/dev/src/github.com/LiquidMetal-AI/liquidmetal/packages/raindrop",
3139
3150
  "hasDynamicHelp": false,
3140
3151
  "multiple": false,
3141
3152
  "type": "option"
@@ -3250,13 +3261,7 @@
3250
3261
  },
3251
3262
  "build:unsandbox": {
3252
3263
  "aliases": [],
3253
- "args": {
3254
- "versionId": {
3255
- "description": "version to sandbox",
3256
- "name": "versionId",
3257
- "required": false
3258
- }
3259
- },
3264
+ "args": {},
3260
3265
  "description": "mark a version as unsandboxed in the Raindrop catalog",
3261
3266
  "examples": [
3262
3267
  "<%= config.bin %> <%= command.id %>\n"
@@ -3335,6 +3340,15 @@
3335
3340
  "hasDynamicHelp": false,
3336
3341
  "multiple": false,
3337
3342
  "type": "option"
3343
+ },
3344
+ "version": {
3345
+ "char": "v",
3346
+ "description": "application version to unsandbox",
3347
+ "name": "version",
3348
+ "required": false,
3349
+ "hasDynamicHelp": false,
3350
+ "multiple": false,
3351
+ "type": "option"
3338
3352
  }
3339
3353
  },
3340
3354
  "hasDynamicHelp": false,
@@ -3475,7 +3489,7 @@
3475
3489
  "description": "root directory",
3476
3490
  "name": "root",
3477
3491
  "required": false,
3478
- "default": "/Users/ian/liquidmetal/packages/raindrop",
3492
+ "default": "/Users/bosgood/dev/src/github.com/LiquidMetal-AI/liquidmetal/packages/raindrop",
3479
3493
  "hasDynamicHelp": false,
3480
3494
  "multiple": false,
3481
3495
  "type": "option"
@@ -3602,7 +3616,7 @@
3602
3616
  "description": "root directory",
3603
3617
  "name": "root",
3604
3618
  "required": false,
3605
- "default": "/Users/ian/liquidmetal/packages/raindrop",
3619
+ "default": "/Users/bosgood/dev/src/github.com/LiquidMetal-AI/liquidmetal/packages/raindrop",
3606
3620
  "hasDynamicHelp": false,
3607
3621
  "multiple": false,
3608
3622
  "type": "option"
@@ -3882,161 +3896,6 @@
3882
3896
  "chunk-search.js"
3883
3897
  ]
3884
3898
  },
3885
- "query:register-retriever": {
3886
- "aliases": [],
3887
- "args": {
3888
- "bucket": {
3889
- "description": "bucket identifier for the retriever",
3890
- "name": "bucket",
3891
- "required": true
3892
- },
3893
- "url": {
3894
- "description": "URL endpoint for the retriever",
3895
- "name": "url",
3896
- "required": true
3897
- },
3898
- "deleteUrl": {
3899
- "description": "Delete endpoint for the retriever",
3900
- "name": "deleteUrl",
3901
- "required": true
3902
- },
3903
- "bucketName": {
3904
- "description": "Name of the bucket",
3905
- "name": "bucketName",
3906
- "required": true
3907
- }
3908
- },
3909
- "description": "Register a new retriever tool with the catalog service",
3910
- "examples": [
3911
- "<%= config.bin %> query register-retriever my-bucket https://my-retriever-endpoint.com https://my-delete-endpoint.com \"My Bucket\"\nRegister a new retriever tool.\n"
3912
- ],
3913
- "flags": {
3914
- "config": {
3915
- "char": "c",
3916
- "description": "config file",
3917
- "hidden": true,
3918
- "name": "config",
3919
- "required": false,
3920
- "default": ".raindrop/config.json",
3921
- "hasDynamicHelp": false,
3922
- "multiple": false,
3923
- "type": "option"
3924
- },
3925
- "rainbowAuthService": {
3926
- "env": "LIQUIDMETAL_RAINBOW_AUTH_SERVICE",
3927
- "hidden": true,
3928
- "name": "rainbowAuthService",
3929
- "default": "https://liquidmetal.run/api/connect",
3930
- "hasDynamicHelp": false,
3931
- "multiple": false,
3932
- "type": "option"
3933
- },
3934
- "raindropCatalogService": {
3935
- "description": "URL of the catalog service",
3936
- "env": "RAINDROP_CATALOG_SERVICE",
3937
- "hidden": true,
3938
- "name": "raindropCatalogService",
3939
- "hasDynamicHelp": false,
3940
- "multiple": false,
3941
- "type": "option"
3942
- },
3943
- "rainbowAuthToken": {
3944
- "description": "Override the Rainbow auth token derived from the CLI config",
3945
- "env": "RAINBOW_AUTH_TOKEN",
3946
- "hidden": true,
3947
- "name": "rainbowAuthToken",
3948
- "hasDynamicHelp": false,
3949
- "multiple": false,
3950
- "type": "option"
3951
- },
3952
- "rainbowOrganizationId": {
3953
- "description": "Override the Rainbow organization ID derived from the CLI config",
3954
- "env": "RAINBOW_ORGANIZATION_ID",
3955
- "hidden": true,
3956
- "name": "rainbowOrganizationId",
3957
- "hasDynamicHelp": false,
3958
- "multiple": false,
3959
- "type": "option"
3960
- },
3961
- "rainbowUserId": {
3962
- "description": "Override the Rainbow user ID derived from the CLI config",
3963
- "env": "RAINBOW_USER_ID",
3964
- "hidden": true,
3965
- "name": "rainbowUserId",
3966
- "hasDynamicHelp": false,
3967
- "multiple": false,
3968
- "type": "option"
3969
- }
3970
- },
3971
- "hasDynamicHelp": false,
3972
- "hiddenAliases": [],
3973
- "id": "query:register-retriever",
3974
- "pluginAlias": "@liquidmetal-ai/raindrop",
3975
- "pluginName": "@liquidmetal-ai/raindrop",
3976
- "pluginType": "core",
3977
- "strict": true,
3978
- "enableJsonFlag": false,
3979
- "HIDDEN_FLAGS": {
3980
- "config": {
3981
- "char": "c",
3982
- "description": "config file",
3983
- "required": false,
3984
- "hidden": true,
3985
- "default": ".raindrop/config.json",
3986
- "input": [],
3987
- "multiple": false,
3988
- "type": "option"
3989
- },
3990
- "rainbowAuthService": {
3991
- "default": "https://liquidmetal.run/api/connect",
3992
- "hidden": true,
3993
- "env": "LIQUIDMETAL_RAINBOW_AUTH_SERVICE",
3994
- "input": [],
3995
- "multiple": false,
3996
- "type": "option"
3997
- },
3998
- "raindropCatalogService": {
3999
- "env": "RAINDROP_CATALOG_SERVICE",
4000
- "description": "URL of the catalog service",
4001
- "hidden": true,
4002
- "input": [],
4003
- "multiple": false,
4004
- "type": "option"
4005
- },
4006
- "rainbowAuthToken": {
4007
- "env": "RAINBOW_AUTH_TOKEN",
4008
- "description": "Override the Rainbow auth token derived from the CLI config",
4009
- "hidden": true,
4010
- "input": [],
4011
- "multiple": false,
4012
- "type": "option"
4013
- },
4014
- "rainbowOrganizationId": {
4015
- "env": "RAINBOW_ORGANIZATION_ID",
4016
- "description": "Override the Rainbow organization ID derived from the CLI config",
4017
- "hidden": true,
4018
- "input": [],
4019
- "multiple": false,
4020
- "type": "option"
4021
- },
4022
- "rainbowUserId": {
4023
- "env": "RAINBOW_USER_ID",
4024
- "description": "Override the Rainbow user ID derived from the CLI config",
4025
- "hidden": true,
4026
- "input": [],
4027
- "multiple": false,
4028
- "type": "option"
4029
- }
4030
- },
4031
- "baseArgs": {},
4032
- "isESM": true,
4033
- "relativePath": [
4034
- "dist",
4035
- "commands",
4036
- "query",
4037
- "register-retriever.js"
4038
- ]
4039
- },
4040
3899
  "query:search": {
4041
3900
  "aliases": [],
4042
3901
  "args": {
@@ -4500,7 +4359,7 @@
4500
4359
  "description": "root directory",
4501
4360
  "name": "root",
4502
4361
  "required": false,
4503
- "default": "/Users/ian/liquidmetal/packages/raindrop",
4362
+ "default": "/Users/bosgood/dev/src/github.com/LiquidMetal-AI/liquidmetal/packages/raindrop",
4504
4363
  "hasDynamicHelp": false,
4505
4364
  "multiple": false,
4506
4365
  "type": "option"
@@ -4639,7 +4498,7 @@
4639
4498
  "description": "root directory",
4640
4499
  "name": "root",
4641
4500
  "required": false,
4642
- "default": "/Users/ian/liquidmetal/packages/raindrop",
4501
+ "default": "/Users/bosgood/dev/src/github.com/LiquidMetal-AI/liquidmetal/packages/raindrop",
4643
4502
  "hasDynamicHelp": false,
4644
4503
  "multiple": false,
4645
4504
  "type": "option"
@@ -4738,7 +4597,7 @@
4738
4597
  "description": "root directory",
4739
4598
  "name": "root",
4740
4599
  "required": false,
4741
- "default": "/Users/ian/liquidmetal/packages/raindrop",
4600
+ "default": "/Users/bosgood/dev/src/github.com/LiquidMetal-AI/liquidmetal/packages/raindrop",
4742
4601
  "hasDynamicHelp": false,
4743
4602
  "multiple": false,
4744
4603
  "type": "option"
@@ -4825,5 +4684,5 @@
4825
4684
  ]
4826
4685
  }
4827
4686
  },
4828
- "version": "0.2.11"
4687
+ "version": "0.2.12"
4829
4688
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@liquidmetal-ai/raindrop",
3
3
  "description": "CLI for the Raindrop platform",
4
- "version": "0.2.11",
4
+ "version": "0.2.12",
5
5
  "author": "bosgood",
6
6
  "bin": {
7
7
  "raindrop": "./bin/run.js"
@@ -110,4 +110,4 @@
110
110
  "types": "./dist/*.d.ts"
111
111
  }
112
112
  }
113
- }
113
+ }
@@ -18,6 +18,6 @@
18
18
  "vitest": "^2.0.2"
19
19
  },
20
20
  "dependencies": {
21
- "@liquidmetal-ai/raindrop-framework": "^0.2.3"
21
+ "@liquidmetal-ai/raindrop-framework": "^0.2.12"
22
22
  }
23
23
  }
@@ -1,21 +0,0 @@
1
- import { BaseCommand } from '../../base-command.js';
2
- export default class RegisterRetriever extends BaseCommand<typeof RegisterRetriever> {
3
- static args: {
4
- bucket: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
5
- url: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
6
- deleteUrl: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
7
- bucketName: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
8
- };
9
- static description: string;
10
- static examples: string[];
11
- static flags: {
12
- config: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
13
- rainbowAuthService: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
14
- raindropCatalogService: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
15
- rainbowAuthToken: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
16
- rainbowOrganizationId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
17
- rainbowUserId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
18
- };
19
- run(): Promise<void>;
20
- }
21
- //# sourceMappingURL=register-retriever.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"register-retriever.d.ts","sourceRoot":"","sources":["../../../src/commands/query/register-retriever.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,WAAW,CAAC,OAAO,iBAAiB,CAAC;IAClF,MAAM,CAAC,IAAI;;;;;MAiBT;IAEF,MAAM,CAAC,WAAW,SAA4D;IAE9E,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,KAAK;;;;;;;MAEV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAkB3B"}
@@ -1,47 +0,0 @@
1
- import { Args } from '@oclif/core';
2
- import { BaseCommand } from '../../base-command.js';
3
- export default class RegisterRetriever extends BaseCommand {
4
- static args = {
5
- bucket: Args.string({
6
- description: 'bucket identifier for the retriever',
7
- required: true,
8
- }),
9
- url: Args.string({
10
- description: 'URL endpoint for the retriever',
11
- required: true,
12
- }),
13
- deleteUrl: Args.string({
14
- description: 'Delete endpoint for the retriever',
15
- required: true,
16
- }),
17
- bucketName: Args.string({
18
- description: 'Name of the bucket',
19
- required: true,
20
- }),
21
- };
22
- static description = 'Register a new retriever tool with the catalog service';
23
- static examples = [
24
- `<%= config.bin %> query register-retriever my-bucket https://my-retriever-endpoint.com https://my-delete-endpoint.com "My Bucket"
25
- Register a new retriever tool.
26
- `,
27
- ];
28
- static flags = {
29
- ...BaseCommand.HIDDEN_FLAGS,
30
- };
31
- async run() {
32
- const { args } = await this.parse(RegisterRetriever);
33
- const { client: searchAgentService } = await this.searchAgentService();
34
- try {
35
- await searchAgentService.registerRetrieverTool({
36
- bucket: args.bucket,
37
- url: args.url,
38
- deleteUrl: args.deleteUrl,
39
- bucketName: args.bucketName,
40
- });
41
- console.log(`Retriever registered successfully: bucket_id=${args.bucket}, url=${args.url}, deleteUrl=${args.deleteUrl}, bucketName=${args.bucketName}`);
42
- }
43
- catch (error) {
44
- this.error(`Failed to register retriever: ${error instanceof Error ? error.message : 'Unknown error occurred'}`);
45
- }
46
- }
47
- }