@liquidmetal-ai/raindrop 0.5.1 → 0.6.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 +89 -43
- package/dist/codegen.js +3 -3
- package/dist/commands/build/find.js +2 -2
- package/dist/commands/mcp/install-claude.d.ts +19 -0
- package/dist/commands/mcp/install-claude.d.ts.map +1 -0
- package/dist/commands/mcp/install-claude.js +66 -0
- package/dist/commands/query/chunk-search.d.ts.map +1 -1
- package/dist/commands/query/chunk-search.js +5 -1
- package/dist/commands/query/document.d.ts.map +1 -1
- package/dist/commands/query/document.js +5 -1
- package/dist/commands/query/reindex.d.ts +21 -0
- package/dist/commands/query/reindex.d.ts.map +1 -0
- package/dist/commands/query/reindex.js +145 -0
- package/dist/commands/query/search.d.ts.map +1 -1
- package/dist/commands/query/search.js +5 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/oclif.manifest.json +1838 -1489
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ $ npm install -g @liquidmetal-ai/raindrop
|
|
|
20
20
|
$ raindrop COMMAND
|
|
21
21
|
running command...
|
|
22
22
|
$ raindrop (--version)
|
|
23
|
-
@liquidmetal-ai/raindrop/0.
|
|
23
|
+
@liquidmetal-ai/raindrop/0.6.0 darwin-arm64 node-v24.5.0
|
|
24
24
|
$ raindrop --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ raindrop COMMAND
|
|
@@ -65,6 +65,7 @@ USAGE
|
|
|
65
65
|
* [`raindrop help [COMMAND]`](#raindrop-help-command)
|
|
66
66
|
* [`raindrop logs query`](#raindrop-logs-query)
|
|
67
67
|
* [`raindrop logs tail`](#raindrop-logs-tail)
|
|
68
|
+
* [`raindrop mcp install-claude`](#raindrop-mcp-install-claude)
|
|
68
69
|
* [`raindrop object delete KEY`](#raindrop-object-delete-key)
|
|
69
70
|
* [`raindrop object get KEY [OUTPUT]`](#raindrop-object-get-key-output)
|
|
70
71
|
* [`raindrop object list`](#raindrop-object-list)
|
|
@@ -82,6 +83,7 @@ USAGE
|
|
|
82
83
|
* [`raindrop query chunk-search QUERY`](#raindrop-query-chunk-search-query)
|
|
83
84
|
* [`raindrop query document QUERY`](#raindrop-query-document-query)
|
|
84
85
|
* [`raindrop query events`](#raindrop-query-events)
|
|
86
|
+
* [`raindrop query reindex`](#raindrop-query-reindex)
|
|
85
87
|
* [`raindrop query search [QUERY]`](#raindrop-query-search-query)
|
|
86
88
|
* [`raindrop tail`](#raindrop-tail)
|
|
87
89
|
|
|
@@ -115,7 +117,7 @@ EXAMPLES
|
|
|
115
117
|
Get annotation by partial MRN and output as JSON
|
|
116
118
|
```
|
|
117
119
|
|
|
118
|
-
_See code: [src/commands/annotation/get.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
120
|
+
_See code: [src/commands/annotation/get.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/annotation/get.ts)_
|
|
119
121
|
|
|
120
122
|
## `raindrop annotation list [MRNPREFIX]`
|
|
121
123
|
|
|
@@ -148,7 +150,7 @@ EXAMPLES
|
|
|
148
150
|
List annotations for a specific module using full MRN prefix in JSON format
|
|
149
151
|
```
|
|
150
152
|
|
|
151
|
-
_See code: [src/commands/annotation/list.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
153
|
+
_See code: [src/commands/annotation/list.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/annotation/list.ts)_
|
|
152
154
|
|
|
153
155
|
## `raindrop annotation put MRN ANNOTATION`
|
|
154
156
|
|
|
@@ -181,7 +183,7 @@ EXAMPLES
|
|
|
181
183
|
Create an annotation from stdin using partial MRN
|
|
182
184
|
```
|
|
183
185
|
|
|
184
|
-
_See code: [src/commands/annotation/put.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
186
|
+
_See code: [src/commands/annotation/put.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/annotation/put.ts)_
|
|
185
187
|
|
|
186
188
|
## `raindrop auth list`
|
|
187
189
|
|
|
@@ -199,7 +201,7 @@ DESCRIPTION
|
|
|
199
201
|
List authentications
|
|
200
202
|
```
|
|
201
203
|
|
|
202
|
-
_See code: [src/commands/auth/list.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
204
|
+
_See code: [src/commands/auth/list.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/auth/list.ts)_
|
|
203
205
|
|
|
204
206
|
## `raindrop auth login`
|
|
205
207
|
|
|
@@ -213,7 +215,7 @@ DESCRIPTION
|
|
|
213
215
|
Logs a user into the LiquidMetal platform. Supports browser-based authentication.
|
|
214
216
|
```
|
|
215
217
|
|
|
216
|
-
_See code: [src/commands/auth/login.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
218
|
+
_See code: [src/commands/auth/login.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/auth/login.ts)_
|
|
217
219
|
|
|
218
220
|
## `raindrop auth logout`
|
|
219
221
|
|
|
@@ -227,7 +229,7 @@ DESCRIPTION
|
|
|
227
229
|
Logout authentications
|
|
228
230
|
```
|
|
229
231
|
|
|
230
|
-
_See code: [src/commands/auth/logout.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
232
|
+
_See code: [src/commands/auth/logout.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/auth/logout.ts)_
|
|
231
233
|
|
|
232
234
|
## `raindrop auth select`
|
|
233
235
|
|
|
@@ -244,7 +246,7 @@ DESCRIPTION
|
|
|
244
246
|
Select active organization
|
|
245
247
|
```
|
|
246
248
|
|
|
247
|
-
_See code: [src/commands/auth/select.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
249
|
+
_See code: [src/commands/auth/select.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/auth/select.ts)_
|
|
248
250
|
|
|
249
251
|
## `raindrop bucket create-credential`
|
|
250
252
|
|
|
@@ -279,7 +281,7 @@ EXAMPLES
|
|
|
279
281
|
Create a credential using a direct API URL
|
|
280
282
|
```
|
|
281
283
|
|
|
282
|
-
_See code: [src/commands/bucket/create-credential.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
284
|
+
_See code: [src/commands/bucket/create-credential.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/bucket/create-credential.ts)_
|
|
283
285
|
|
|
284
286
|
## `raindrop bucket delete-credential`
|
|
285
287
|
|
|
@@ -310,7 +312,7 @@ EXAMPLES
|
|
|
310
312
|
Delete credential using a direct API URL
|
|
311
313
|
```
|
|
312
314
|
|
|
313
|
-
_See code: [src/commands/bucket/delete-credential.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
315
|
+
_See code: [src/commands/bucket/delete-credential.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/bucket/delete-credential.ts)_
|
|
314
316
|
|
|
315
317
|
## `raindrop bucket get-credential`
|
|
316
318
|
|
|
@@ -341,7 +343,7 @@ EXAMPLES
|
|
|
341
343
|
Get credential details using a direct API URL
|
|
342
344
|
```
|
|
343
345
|
|
|
344
|
-
_See code: [src/commands/bucket/get-credential.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
346
|
+
_See code: [src/commands/bucket/get-credential.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/bucket/get-credential.ts)_
|
|
345
347
|
|
|
346
348
|
## `raindrop bucket list-credentials`
|
|
347
349
|
|
|
@@ -370,7 +372,7 @@ EXAMPLES
|
|
|
370
372
|
List all credentials using a direct API URL
|
|
371
373
|
```
|
|
372
374
|
|
|
373
|
-
_See code: [src/commands/bucket/list-credentials.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
375
|
+
_See code: [src/commands/bucket/list-credentials.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/bucket/list-credentials.ts)_
|
|
374
376
|
|
|
375
377
|
## `raindrop build branch BRANCH`
|
|
376
378
|
|
|
@@ -401,7 +403,7 @@ EXAMPLES
|
|
|
401
403
|
Branch a Raindrop application.
|
|
402
404
|
```
|
|
403
405
|
|
|
404
|
-
_See code: [src/commands/build/branch.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
406
|
+
_See code: [src/commands/build/branch.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/build/branch.ts)_
|
|
405
407
|
|
|
406
408
|
## `raindrop build checkout [VERSION]`
|
|
407
409
|
|
|
@@ -427,7 +429,7 @@ EXAMPLES
|
|
|
427
429
|
Switched to version: 01jux6z20m4gbhn5kaa4mcm2jr
|
|
428
430
|
```
|
|
429
431
|
|
|
430
|
-
_See code: [src/commands/build/checkout.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
432
|
+
_See code: [src/commands/build/checkout.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/build/checkout.ts)_
|
|
431
433
|
|
|
432
434
|
## `raindrop build clone ID [PATH]`
|
|
433
435
|
|
|
@@ -455,7 +457,7 @@ EXAMPLES
|
|
|
455
457
|
Clone a project in the specified directory.
|
|
456
458
|
```
|
|
457
459
|
|
|
458
|
-
_See code: [src/commands/build/clone.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
460
|
+
_See code: [src/commands/build/clone.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/build/clone.ts)_
|
|
459
461
|
|
|
460
462
|
## `raindrop build delete [APPLICATION]`
|
|
461
463
|
|
|
@@ -484,7 +486,7 @@ EXAMPLES
|
|
|
484
486
|
Deleted (application) at version (version)
|
|
485
487
|
```
|
|
486
488
|
|
|
487
|
-
_See code: [src/commands/build/delete.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
489
|
+
_See code: [src/commands/build/delete.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/build/delete.ts)_
|
|
488
490
|
|
|
489
491
|
## `raindrop build deploy`
|
|
490
492
|
|
|
@@ -513,7 +515,7 @@ EXAMPLES
|
|
|
513
515
|
Deploy a Raindrop application version.
|
|
514
516
|
```
|
|
515
517
|
|
|
516
|
-
_See code: [src/commands/build/deploy.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
518
|
+
_See code: [src/commands/build/deploy.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/build/deploy.ts)_
|
|
517
519
|
|
|
518
520
|
## `raindrop build env get VAR`
|
|
519
521
|
|
|
@@ -540,7 +542,7 @@ EXAMPLES
|
|
|
540
542
|
sets an env var/secret.
|
|
541
543
|
```
|
|
542
544
|
|
|
543
|
-
_See code: [src/commands/build/env/get.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
545
|
+
_See code: [src/commands/build/env/get.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/build/env/get.ts)_
|
|
544
546
|
|
|
545
547
|
## `raindrop build env set VAR [VALUE]`
|
|
546
548
|
|
|
@@ -569,7 +571,7 @@ EXAMPLES
|
|
|
569
571
|
sets an env var/secret.
|
|
570
572
|
```
|
|
571
573
|
|
|
572
|
-
_See code: [src/commands/build/env/set.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
574
|
+
_See code: [src/commands/build/env/set.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/build/env/set.ts)_
|
|
573
575
|
|
|
574
576
|
## `raindrop build find`
|
|
575
577
|
|
|
@@ -608,7 +610,7 @@ EXAMPLES
|
|
|
608
610
|
Find modules for a specific application and version.
|
|
609
611
|
```
|
|
610
612
|
|
|
611
|
-
_See code: [src/commands/build/find.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
613
|
+
_See code: [src/commands/build/find.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/build/find.ts)_
|
|
612
614
|
|
|
613
615
|
## `raindrop build generate`
|
|
614
616
|
|
|
@@ -630,7 +632,7 @@ EXAMPLES
|
|
|
630
632
|
$ raindrop build generate
|
|
631
633
|
```
|
|
632
634
|
|
|
633
|
-
_See code: [src/commands/build/generate.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
635
|
+
_See code: [src/commands/build/generate.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/build/generate.ts)_
|
|
634
636
|
|
|
635
637
|
## `raindrop build init [PATH]`
|
|
636
638
|
|
|
@@ -654,7 +656,7 @@ EXAMPLES
|
|
|
654
656
|
Initialize a project in the current directory.
|
|
655
657
|
```
|
|
656
658
|
|
|
657
|
-
_See code: [src/commands/build/init.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
659
|
+
_See code: [src/commands/build/init.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/build/init.ts)_
|
|
658
660
|
|
|
659
661
|
## `raindrop build list`
|
|
660
662
|
|
|
@@ -688,7 +690,7 @@ EXAMPLES
|
|
|
688
690
|
Show only running/active versions.
|
|
689
691
|
```
|
|
690
692
|
|
|
691
|
-
_See code: [src/commands/build/list.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
693
|
+
_See code: [src/commands/build/list.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/build/list.ts)_
|
|
692
694
|
|
|
693
695
|
## `raindrop build sandbox`
|
|
694
696
|
|
|
@@ -709,7 +711,7 @@ EXAMPLES
|
|
|
709
711
|
$ raindrop build sandbox
|
|
710
712
|
```
|
|
711
713
|
|
|
712
|
-
_See code: [src/commands/build/sandbox.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
714
|
+
_See code: [src/commands/build/sandbox.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/build/sandbox.ts)_
|
|
713
715
|
|
|
714
716
|
## `raindrop build start`
|
|
715
717
|
|
|
@@ -733,7 +735,7 @@ EXAMPLES
|
|
|
733
735
|
Start a Raindrop application.
|
|
734
736
|
```
|
|
735
737
|
|
|
736
|
-
_See code: [src/commands/build/start.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
738
|
+
_See code: [src/commands/build/start.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/build/start.ts)_
|
|
737
739
|
|
|
738
740
|
## `raindrop build status`
|
|
739
741
|
|
|
@@ -758,7 +760,7 @@ EXAMPLES
|
|
|
758
760
|
$ raindrop build status .
|
|
759
761
|
```
|
|
760
762
|
|
|
761
|
-
_See code: [src/commands/build/status.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
763
|
+
_See code: [src/commands/build/status.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/build/status.ts)_
|
|
762
764
|
|
|
763
765
|
## `raindrop build stop`
|
|
764
766
|
|
|
@@ -782,7 +784,7 @@ EXAMPLES
|
|
|
782
784
|
Stop a Raindrop application.
|
|
783
785
|
```
|
|
784
786
|
|
|
785
|
-
_See code: [src/commands/build/stop.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
787
|
+
_See code: [src/commands/build/stop.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/build/stop.ts)_
|
|
786
788
|
|
|
787
789
|
## `raindrop build tools check`
|
|
788
790
|
|
|
@@ -803,7 +805,7 @@ EXAMPLES
|
|
|
803
805
|
$ raindrop build tools check
|
|
804
806
|
```
|
|
805
807
|
|
|
806
|
-
_See code: [src/commands/build/tools/check.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
808
|
+
_See code: [src/commands/build/tools/check.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/build/tools/check.ts)_
|
|
807
809
|
|
|
808
810
|
## `raindrop build tools fmt`
|
|
809
811
|
|
|
@@ -824,7 +826,7 @@ EXAMPLES
|
|
|
824
826
|
$ raindrop build tools fmt
|
|
825
827
|
```
|
|
826
828
|
|
|
827
|
-
_See code: [src/commands/build/tools/fmt.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
829
|
+
_See code: [src/commands/build/tools/fmt.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/build/tools/fmt.ts)_
|
|
828
830
|
|
|
829
831
|
## `raindrop build unsandbox`
|
|
830
832
|
|
|
@@ -845,7 +847,7 @@ EXAMPLES
|
|
|
845
847
|
$ raindrop build unsandbox
|
|
846
848
|
```
|
|
847
849
|
|
|
848
|
-
_See code: [src/commands/build/unsandbox.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
850
|
+
_See code: [src/commands/build/unsandbox.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/build/unsandbox.ts)_
|
|
849
851
|
|
|
850
852
|
## `raindrop build upload`
|
|
851
853
|
|
|
@@ -868,7 +870,7 @@ EXAMPLES
|
|
|
868
870
|
$ raindrop build upload
|
|
869
871
|
```
|
|
870
872
|
|
|
871
|
-
_See code: [src/commands/build/upload.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
873
|
+
_See code: [src/commands/build/upload.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/build/upload.ts)_
|
|
872
874
|
|
|
873
875
|
## `raindrop build validate`
|
|
874
876
|
|
|
@@ -890,7 +892,7 @@ EXAMPLES
|
|
|
890
892
|
$ raindrop build validate
|
|
891
893
|
```
|
|
892
894
|
|
|
893
|
-
_See code: [src/commands/build/validate.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
895
|
+
_See code: [src/commands/build/validate.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/build/validate.ts)_
|
|
894
896
|
|
|
895
897
|
## `raindrop help [COMMAND]`
|
|
896
898
|
|
|
@@ -947,7 +949,7 @@ EXAMPLES
|
|
|
947
949
|
$ raindrop logs query --application my-app --start-time 1638360000000 --end-time 1638363600000
|
|
948
950
|
```
|
|
949
951
|
|
|
950
|
-
_See code: [src/commands/logs/query.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
952
|
+
_See code: [src/commands/logs/query.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/logs/query.ts)_
|
|
951
953
|
|
|
952
954
|
## `raindrop logs tail`
|
|
953
955
|
|
|
@@ -974,7 +976,25 @@ EXAMPLES
|
|
|
974
976
|
$ raindrop logs tail --application my-app --version v1.2.3
|
|
975
977
|
```
|
|
976
978
|
|
|
977
|
-
_See code: [src/commands/logs/tail.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
979
|
+
_See code: [src/commands/logs/tail.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/logs/tail.ts)_
|
|
980
|
+
|
|
981
|
+
## `raindrop mcp install-claude`
|
|
982
|
+
|
|
983
|
+
Install MCP (Model Context Protocol) integration for Claude IDE
|
|
984
|
+
|
|
985
|
+
```
|
|
986
|
+
USAGE
|
|
987
|
+
$ raindrop mcp install-claude
|
|
988
|
+
|
|
989
|
+
DESCRIPTION
|
|
990
|
+
Install MCP (Model Context Protocol) integration for Claude IDE
|
|
991
|
+
|
|
992
|
+
EXAMPLES
|
|
993
|
+
$ raindrop mcp install-claude
|
|
994
|
+
Install MCP integration for Claude IDE
|
|
995
|
+
```
|
|
996
|
+
|
|
997
|
+
_See code: [src/commands/mcp/install-claude.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/mcp/install-claude.ts)_
|
|
978
998
|
|
|
979
999
|
## `raindrop object delete KEY`
|
|
980
1000
|
|
|
@@ -1001,7 +1021,7 @@ EXAMPLES
|
|
|
1001
1021
|
Delete file with key 'my-key' from my-bucket
|
|
1002
1022
|
```
|
|
1003
1023
|
|
|
1004
|
-
_See code: [src/commands/object/delete.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
1024
|
+
_See code: [src/commands/object/delete.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/object/delete.ts)_
|
|
1005
1025
|
|
|
1006
1026
|
## `raindrop object get KEY [OUTPUT]`
|
|
1007
1027
|
|
|
@@ -1032,7 +1052,7 @@ EXAMPLES
|
|
|
1032
1052
|
Download file with key 'my-key' from my-bucket to output.txt
|
|
1033
1053
|
```
|
|
1034
1054
|
|
|
1035
|
-
_See code: [src/commands/object/get.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
1055
|
+
_See code: [src/commands/object/get.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/object/get.ts)_
|
|
1036
1056
|
|
|
1037
1057
|
## `raindrop object list`
|
|
1038
1058
|
|
|
@@ -1056,7 +1076,7 @@ EXAMPLES
|
|
|
1056
1076
|
List all objects in my-bucket
|
|
1057
1077
|
```
|
|
1058
1078
|
|
|
1059
|
-
_See code: [src/commands/object/list.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
1079
|
+
_See code: [src/commands/object/list.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/object/list.ts)_
|
|
1060
1080
|
|
|
1061
1081
|
## `raindrop object put FILE KEY`
|
|
1062
1082
|
|
|
@@ -1085,7 +1105,7 @@ EXAMPLES
|
|
|
1085
1105
|
Upload myfile.txt to my-bucket with key 'my-key'
|
|
1086
1106
|
```
|
|
1087
1107
|
|
|
1088
|
-
_See code: [src/commands/object/put.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
1108
|
+
_See code: [src/commands/object/put.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/object/put.ts)_
|
|
1089
1109
|
|
|
1090
1110
|
## `raindrop plugins`
|
|
1091
1111
|
|
|
@@ -1402,7 +1422,7 @@ EXAMPLES
|
|
|
1402
1422
|
Run a RAG search query against a Smart Bucket.
|
|
1403
1423
|
```
|
|
1404
1424
|
|
|
1405
|
-
_See code: [src/commands/query/chunk-search.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
1425
|
+
_See code: [src/commands/query/chunk-search.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/query/chunk-search.ts)_
|
|
1406
1426
|
|
|
1407
1427
|
## `raindrop query document QUERY`
|
|
1408
1428
|
|
|
@@ -1433,7 +1453,7 @@ EXAMPLES
|
|
|
1433
1453
|
Chat with a document in a Smart Bucket using module ID.
|
|
1434
1454
|
```
|
|
1435
1455
|
|
|
1436
|
-
_See code: [src/commands/query/document.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
1456
|
+
_See code: [src/commands/query/document.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/query/document.ts)_
|
|
1437
1457
|
|
|
1438
1458
|
## `raindrop query events`
|
|
1439
1459
|
|
|
@@ -1456,7 +1476,33 @@ EXAMPLES
|
|
|
1456
1476
|
$ raindrop query events .
|
|
1457
1477
|
```
|
|
1458
1478
|
|
|
1459
|
-
_See code: [src/commands/query/events.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
1479
|
+
_See code: [src/commands/query/events.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/query/events.ts)_
|
|
1480
|
+
|
|
1481
|
+
## `raindrop query reindex`
|
|
1482
|
+
|
|
1483
|
+
Reindex all objects in a bucket by downloading and re-uploading them
|
|
1484
|
+
|
|
1485
|
+
```
|
|
1486
|
+
USAGE
|
|
1487
|
+
$ raindrop query reindex -b <value> [-p <value>] [-d]
|
|
1488
|
+
|
|
1489
|
+
FLAGS
|
|
1490
|
+
-b, --bucket=<value> (required) bucket name version can be specified with #, e.g. my-bucket#versionId
|
|
1491
|
+
-d, --dryRun show what would be reindexed without actually doing it
|
|
1492
|
+
-p, --parallel=<value> [default: 10] number of parallel operations
|
|
1493
|
+
|
|
1494
|
+
DESCRIPTION
|
|
1495
|
+
Reindex all objects in a bucket by downloading and re-uploading them
|
|
1496
|
+
|
|
1497
|
+
EXAMPLES
|
|
1498
|
+
$ raindrop query reindex -b my-bucket
|
|
1499
|
+
Reindex all objects in my-bucket by downloading and re-uploading them
|
|
1500
|
+
|
|
1501
|
+
$ raindrop query reindex -b my-bucket --parallel 5
|
|
1502
|
+
Reindex objects with 5 parallel operations instead of the default 10
|
|
1503
|
+
```
|
|
1504
|
+
|
|
1505
|
+
_See code: [src/commands/query/reindex.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/query/reindex.ts)_
|
|
1460
1506
|
|
|
1461
1507
|
## `raindrop query search [QUERY]`
|
|
1462
1508
|
|
|
@@ -1488,7 +1534,7 @@ EXAMPLES
|
|
|
1488
1534
|
Get page 2 of previous search results.
|
|
1489
1535
|
```
|
|
1490
1536
|
|
|
1491
|
-
_See code: [src/commands/query/search.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
1537
|
+
_See code: [src/commands/query/search.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/query/search.ts)_
|
|
1492
1538
|
|
|
1493
1539
|
## `raindrop tail`
|
|
1494
1540
|
|
|
@@ -1509,5 +1555,5 @@ EXAMPLES
|
|
|
1509
1555
|
$ raindrop logs tail --application my-app --version v1.2.3
|
|
1510
1556
|
```
|
|
1511
1557
|
|
|
1512
|
-
_See code: [src/commands/tail.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.
|
|
1558
|
+
_See code: [src/commands/tail.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.6.0/src/commands/tail.ts)_
|
|
1513
1559
|
<!-- commandsstop -->
|
package/dist/codegen.js
CHANGED
|
@@ -279,9 +279,9 @@ export function gatherEnvForHandler(handler, app) {
|
|
|
279
279
|
bindings[kebabCaseToConstantCase(valueOf(appVectorizeIndex.name))] = 'VectorIndex';
|
|
280
280
|
types.add('VectorIndex');
|
|
281
281
|
}
|
|
282
|
-
for (const
|
|
283
|
-
bindings[kebabCaseToConstantCase(valueOf(
|
|
284
|
-
types.add('
|
|
282
|
+
for (const appKvCache of app.kvCache) {
|
|
283
|
+
bindings[kebabCaseToConstantCase(valueOf(appKvCache.name))] = 'KvCache';
|
|
284
|
+
types.add('KvCache');
|
|
285
285
|
}
|
|
286
286
|
for (const appSmartBucket of app.smartBucket) {
|
|
287
287
|
bindings[kebabCaseToConstantCase(valueOf(appSmartBucket.name))] = 'SmartBucket';
|
|
@@ -230,8 +230,8 @@ Find modules for a specific application and version.
|
|
|
230
230
|
return this.flattenObject(module.vectorIndex);
|
|
231
231
|
if (module.queue)
|
|
232
232
|
return this.flattenObject(module.queue);
|
|
233
|
-
if (module.
|
|
234
|
-
return this.flattenObject(module.
|
|
233
|
+
if (module.kvCache)
|
|
234
|
+
return this.flattenObject(module.kvCache);
|
|
235
235
|
if (module.smartMemory)
|
|
236
236
|
return this.flattenObject(module.smartMemory);
|
|
237
237
|
if (module.actor)
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BaseCommand } from '../../base-command.js';
|
|
2
|
+
export default class McpInstallClaude extends BaseCommand<typeof McpInstallClaude> {
|
|
3
|
+
static description: string;
|
|
4
|
+
static examples: string[];
|
|
5
|
+
static flags: {
|
|
6
|
+
config: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
7
|
+
rainbowAuthService: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
|
+
raindropCatalogService: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
9
|
+
rainbowAuthToken: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
10
|
+
rainbowOrganizationId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
|
+
rainbowUserId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
|
+
sendVersionMetadata: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
13
|
+
};
|
|
14
|
+
run(): Promise<void>;
|
|
15
|
+
private installClaudeIntegration;
|
|
16
|
+
private checkClaudeInstalled;
|
|
17
|
+
private executeClaudeCommand;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=install-claude.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"install-claude.d.ts","sourceRoot":"","sources":["../../../src/commands/mcp/install-claude.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,WAAW,CAAC,OAAO,gBAAgB,CAAC;IAChF,MAAM,CAAC,WAAW,SAAqE;IAEvF,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,KAAK;;;;;;;;MAEV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;YAIZ,wBAAwB;YA6BxB,oBAAoB;YAQpB,oBAAoB;CAmBnC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { urlifyOrganizationId } from '@liquidmetal-ai/drizzle/raindrop/index';
|
|
2
|
+
import { spawn } from 'node:child_process';
|
|
3
|
+
import { BaseCommand } from '../../base-command.js';
|
|
4
|
+
export default class McpInstallClaude extends BaseCommand {
|
|
5
|
+
static description = 'Install MCP (Model Context Protocol) integration for Claude IDE';
|
|
6
|
+
static examples = [
|
|
7
|
+
`<%= config.bin %> mcp install-claude
|
|
8
|
+
Install MCP integration for Claude IDE
|
|
9
|
+
`,
|
|
10
|
+
];
|
|
11
|
+
static flags = {
|
|
12
|
+
...BaseCommand.HIDDEN_FLAGS,
|
|
13
|
+
};
|
|
14
|
+
async run() {
|
|
15
|
+
await this.installClaudeIntegration();
|
|
16
|
+
}
|
|
17
|
+
async installClaudeIntegration() {
|
|
18
|
+
// Check if Claude CLI is installed
|
|
19
|
+
if (!(await this.checkClaudeInstalled())) {
|
|
20
|
+
this.error('Claude CLI is not installed. Please install it first: https://claude.ai/download', { exit: 1 });
|
|
21
|
+
}
|
|
22
|
+
// Use existing pattern to get organization identity (already handles "not logged in")
|
|
23
|
+
const identity = await this.catalogIdentity();
|
|
24
|
+
// Use existing utility to convert org ID to URL-safe format
|
|
25
|
+
const urlSafeOrgId = urlifyOrganizationId(identity.organizationId);
|
|
26
|
+
// Construct MCP server URL
|
|
27
|
+
const mcpUrl = `https://raindrop-mcp.${urlSafeOrgId}.lmapp.run/mcp`;
|
|
28
|
+
try {
|
|
29
|
+
// Execute claude command silently
|
|
30
|
+
await this.executeClaudeCommand(['mcp', 'add', '--transport', 'http', 'raindrop-mcp', mcpUrl]);
|
|
31
|
+
// TODO: These success messages need more specifics about what was actually configured,
|
|
32
|
+
// where the config file is located, and more detailed next steps for the user
|
|
33
|
+
console.log('✅ MCP integration for Claude IDE installed successfully');
|
|
34
|
+
console.log(`📡 Server URL: ${mcpUrl}`);
|
|
35
|
+
console.log('🔧 Restart Claude IDE for changes to take effect');
|
|
36
|
+
}
|
|
37
|
+
catch (error) {
|
|
38
|
+
this.error(`Failed to configure Claude MCP integration: ${error.message}`, { exit: 1 });
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
async checkClaudeInstalled() {
|
|
42
|
+
return new Promise((resolve) => {
|
|
43
|
+
const childProcess = spawn('claude', ['--version'], { stdio: 'ignore' });
|
|
44
|
+
childProcess.on('close', (code) => resolve(code === 0));
|
|
45
|
+
childProcess.on('error', () => resolve(false));
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
async executeClaudeCommand(args) {
|
|
49
|
+
return new Promise((resolve, reject) => {
|
|
50
|
+
const childProcess = spawn('claude', args, {
|
|
51
|
+
stdio: 'ignore' // Hide output from user
|
|
52
|
+
});
|
|
53
|
+
childProcess.on('close', (code) => {
|
|
54
|
+
if (code === 0) {
|
|
55
|
+
resolve();
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
reject(new Error(`Claude MCP command failed with exit code ${code}`));
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
childProcess.on('error', (error) => {
|
|
62
|
+
reject(new Error(`Failed to execute Claude CLI: ${error.message}`));
|
|
63
|
+
});
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chunk-search.d.ts","sourceRoot":"","sources":["../../../src/commands/query/chunk-search.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAKpD,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,WAAW,CAAC,OAAO,SAAS,CAAC;IAClE,MAAM,CAAC,IAAI;;MAKT;IAEF,MAAM,CAAC,WAAW,SAAoF;IAEtG,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,KAAK;;;;;;;;;;;;;MAiCV;IAEI,WAAW,CAAC,KAAK,EAAE,MAAM;
|
|
1
|
+
{"version":3,"file":"chunk-search.d.ts","sourceRoot":"","sources":["../../../src/commands/query/chunk-search.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAKpD,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,WAAW,CAAC,OAAO,SAAS,CAAC;IAClE,MAAM,CAAC,IAAI;;MAKT;IAEF,MAAM,CAAC,WAAW,SAAoF;IAEtG,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,KAAK;;;;;;;;;;;;;MAiCV;IAEI,WAAW,CAAC,KAAK,EAAE,MAAM;IAgEzB,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAI3B"}
|
|
@@ -55,6 +55,10 @@ Run a RAG search query against a Smart Bucket.
|
|
|
55
55
|
if (this.flags.buckets?.length && this.flags.moduleIds?.length) {
|
|
56
56
|
this.error('Cannot specify both --buckets and --moduleIds flags. Please use only one type of filter.');
|
|
57
57
|
}
|
|
58
|
+
// Load config if any bucket doesn't have a version specified
|
|
59
|
+
if (this.flags.buckets?.some(bucket => !bucket.includes('#'))) {
|
|
60
|
+
await this.loadConfig();
|
|
61
|
+
}
|
|
58
62
|
const { client: searchAgentService, userId, organizationId } = await this.searchAgentService();
|
|
59
63
|
// Run the RAG search
|
|
60
64
|
const response = await searchAgentService.ragSearch({
|
|
@@ -69,7 +73,7 @@ Run a RAG search query against a Smart Bucket.
|
|
|
69
73
|
case: 'bucket',
|
|
70
74
|
value: {
|
|
71
75
|
name: bucketName,
|
|
72
|
-
version: version || '',
|
|
76
|
+
version: version || this.raindropConfig?.versionId || '',
|
|
73
77
|
},
|
|
74
78
|
},
|
|
75
79
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../../../src/commands/query/document.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAKpD,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,WAAW,CAAC,OAAO,YAAY,CAAC;IACxE,MAAM,CAAC,IAAI;;MAKT;IAEF,MAAM,CAAC,WAAW,SAAmD;IAErE,MAAM,CAAC,QAAQ,WAOb;IAEF,MAAM,CAAC,KAAK;;;;;;;;;;;;;;MAoCV;IAEI,YAAY,CAAC,KAAK,EAAE,MAAM;
|
|
1
|
+
{"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../../../src/commands/query/document.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAKpD,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,WAAW,CAAC,OAAO,YAAY,CAAC;IACxE,MAAM,CAAC,IAAI;;MAKT;IAEF,MAAM,CAAC,WAAW,SAAmD;IAErE,MAAM,CAAC,QAAQ,WAOb;IAEF,MAAM,CAAC,KAAK;;;;;;;;;;;;;;MAoCV;IAEI,YAAY,CAAC,KAAK,EAAE,MAAM;IAgE1B,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAI3B"}
|
|
@@ -65,6 +65,10 @@ Chat with a document in a Smart Bucket using module ID.
|
|
|
65
65
|
if (!this.flags.bucket && !this.flags.moduleId) {
|
|
66
66
|
this.error('Must specify either --bucket or --moduleId flag to identify the document location.');
|
|
67
67
|
}
|
|
68
|
+
// Load config if bucket doesn't have a version specified
|
|
69
|
+
if (this.flags.bucket && !this.flags.bucket.includes('#')) {
|
|
70
|
+
await this.loadConfig();
|
|
71
|
+
}
|
|
68
72
|
const { client: searchAgentService, userId, organizationId } = await this.searchAgentService();
|
|
69
73
|
let bucketLocation;
|
|
70
74
|
// Create bucket location based on which flag is used
|
|
@@ -76,7 +80,7 @@ Chat with a document in a Smart Bucket using module ID.
|
|
|
76
80
|
case: 'bucket',
|
|
77
81
|
value: {
|
|
78
82
|
name: bucketName,
|
|
79
|
-
version: version || '',
|
|
83
|
+
version: version || this.raindropConfig?.versionId || '',
|
|
80
84
|
},
|
|
81
85
|
},
|
|
82
86
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { BaseCommand } from '../../base-command.js';
|
|
2
|
+
export default class QueryReindex extends BaseCommand<typeof QueryReindex> {
|
|
3
|
+
static description: string;
|
|
4
|
+
static examples: string[];
|
|
5
|
+
static flags: {
|
|
6
|
+
bucket: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
7
|
+
parallel: import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
|
+
dryRun: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
9
|
+
impersonate: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
10
|
+
manifest: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
|
+
config: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
|
+
rainbowAuthService: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
13
|
+
raindropCatalogService: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
14
|
+
rainbowAuthToken: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
15
|
+
rainbowOrganizationId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
16
|
+
rainbowUserId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
17
|
+
sendVersionMetadata: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
18
|
+
};
|
|
19
|
+
run(): Promise<void>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=reindex.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reindex.d.ts","sourceRoot":"","sources":["../../../src/commands/query/reindex.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,WAAW,CAAC,OAAO,YAAY,CAAC;IACxE,MAAM,CAAC,WAAW,SAA0E;IAE5F,MAAM,CAAC,QAAQ,WAOb;IAEF,MAAM,CAAC,KAAK;;;;;;;;;;;;;MA8BV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAmH3B"}
|