@liquidmetal-ai/raindrop 0.4.8 → 0.4.10
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 +95 -58
- package/bin/dev.js +0 -0
- package/dist/base-command.d.ts +12 -0
- package/dist/base-command.d.ts.map +1 -1
- package/dist/base-command.js +30 -1
- package/dist/codegen.js +4 -4
- package/dist/commands/query/events.d.ts +17 -0
- package/dist/commands/query/events.d.ts.map +1 -0
- package/dist/commands/query/events.js +81 -0
- package/dist/commands/tail.d.ts +15 -1
- package/dist/commands/tail.d.ts.map +1 -1
- package/dist/commands/tail.js +207 -2
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/oclif.manifest.json +1418 -1138
- package/package.json +18 -16
- package/templates/db/node_modules/.bin/prisma +17 -0
- package/templates/db/node_modules/.bin/prisma-kysely +17 -0
- package/templates/db/node_modules/.bin/zx +17 -0
- package/templates/db/package.json +2 -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.4.
|
|
23
|
+
@liquidmetal-ai/raindrop/0.4.10 darwin-arm64 node-v23.10.0
|
|
24
24
|
$ raindrop --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ raindrop COMMAND
|
|
@@ -75,6 +75,7 @@ USAGE
|
|
|
75
75
|
* [`raindrop plugins update`](#raindrop-plugins-update)
|
|
76
76
|
* [`raindrop query chunk-search QUERY`](#raindrop-query-chunk-search-query)
|
|
77
77
|
* [`raindrop query document QUERY`](#raindrop-query-document-query)
|
|
78
|
+
* [`raindrop query events`](#raindrop-query-events)
|
|
78
79
|
* [`raindrop query search [QUERY]`](#raindrop-query-search-query)
|
|
79
80
|
* [`raindrop tail`](#raindrop-tail)
|
|
80
81
|
|
|
@@ -108,7 +109,7 @@ EXAMPLES
|
|
|
108
109
|
Get annotation by partial MRN and output as JSON
|
|
109
110
|
```
|
|
110
111
|
|
|
111
|
-
_See code: [src/commands/annotation/get.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
112
|
+
_See code: [src/commands/annotation/get.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/annotation/get.ts)_
|
|
112
113
|
|
|
113
114
|
## `raindrop annotation list [MRNPREFIX]`
|
|
114
115
|
|
|
@@ -141,7 +142,7 @@ EXAMPLES
|
|
|
141
142
|
List annotations for a specific module using full MRN prefix in JSON format
|
|
142
143
|
```
|
|
143
144
|
|
|
144
|
-
_See code: [src/commands/annotation/list.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
145
|
+
_See code: [src/commands/annotation/list.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/annotation/list.ts)_
|
|
145
146
|
|
|
146
147
|
## `raindrop annotation put MRN ANNOTATION`
|
|
147
148
|
|
|
@@ -174,7 +175,7 @@ EXAMPLES
|
|
|
174
175
|
Create an annotation from stdin using partial MRN
|
|
175
176
|
```
|
|
176
177
|
|
|
177
|
-
_See code: [src/commands/annotation/put.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
178
|
+
_See code: [src/commands/annotation/put.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/annotation/put.ts)_
|
|
178
179
|
|
|
179
180
|
## `raindrop auth list`
|
|
180
181
|
|
|
@@ -192,7 +193,7 @@ DESCRIPTION
|
|
|
192
193
|
List authentications
|
|
193
194
|
```
|
|
194
195
|
|
|
195
|
-
_See code: [src/commands/auth/list.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
196
|
+
_See code: [src/commands/auth/list.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/auth/list.ts)_
|
|
196
197
|
|
|
197
198
|
## `raindrop auth login`
|
|
198
199
|
|
|
@@ -206,7 +207,7 @@ DESCRIPTION
|
|
|
206
207
|
Logs a user into the LiquidMetal platform. Supports browser-based authentication.
|
|
207
208
|
```
|
|
208
209
|
|
|
209
|
-
_See code: [src/commands/auth/login.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
210
|
+
_See code: [src/commands/auth/login.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/auth/login.ts)_
|
|
210
211
|
|
|
211
212
|
## `raindrop auth logout`
|
|
212
213
|
|
|
@@ -220,7 +221,7 @@ DESCRIPTION
|
|
|
220
221
|
Logout authentications
|
|
221
222
|
```
|
|
222
223
|
|
|
223
|
-
_See code: [src/commands/auth/logout.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
224
|
+
_See code: [src/commands/auth/logout.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/auth/logout.ts)_
|
|
224
225
|
|
|
225
226
|
## `raindrop auth select`
|
|
226
227
|
|
|
@@ -237,7 +238,7 @@ DESCRIPTION
|
|
|
237
238
|
Select active organization
|
|
238
239
|
```
|
|
239
240
|
|
|
240
|
-
_See code: [src/commands/auth/select.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
241
|
+
_See code: [src/commands/auth/select.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/auth/select.ts)_
|
|
241
242
|
|
|
242
243
|
## `raindrop build branch BRANCH`
|
|
243
244
|
|
|
@@ -254,7 +255,7 @@ FLAGS
|
|
|
254
255
|
-M, --manifest=<value> [default: raindrop.manifest] project manifest
|
|
255
256
|
-o, --output=<value> [default: dist] output directory
|
|
256
257
|
-p, --versionId=<value> branch from this version
|
|
257
|
-
-r, --root=<value> [default: /Users/
|
|
258
|
+
-r, --root=<value> [default: /Users/ian/liquidmetal/packages/raindrop] root directory
|
|
258
259
|
--show show the current branch
|
|
259
260
|
--start start the application after deploying
|
|
260
261
|
|
|
@@ -266,7 +267,7 @@ EXAMPLES
|
|
|
266
267
|
Branch a Raindrop application.
|
|
267
268
|
```
|
|
268
269
|
|
|
269
|
-
_See code: [src/commands/build/branch.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
270
|
+
_See code: [src/commands/build/branch.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/build/branch.ts)_
|
|
270
271
|
|
|
271
272
|
## `raindrop build checkout [VERSION]`
|
|
272
273
|
|
|
@@ -292,7 +293,7 @@ EXAMPLES
|
|
|
292
293
|
Switched to version: 01jux6z20m4gbhn5kaa4mcm2jr
|
|
293
294
|
```
|
|
294
295
|
|
|
295
|
-
_See code: [src/commands/build/checkout.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
296
|
+
_See code: [src/commands/build/checkout.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/build/checkout.ts)_
|
|
296
297
|
|
|
297
298
|
## `raindrop build clone ID [PATH]`
|
|
298
299
|
|
|
@@ -320,7 +321,7 @@ EXAMPLES
|
|
|
320
321
|
Clone a project in the specified directory.
|
|
321
322
|
```
|
|
322
323
|
|
|
323
|
-
_See code: [src/commands/build/clone.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
324
|
+
_See code: [src/commands/build/clone.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/build/clone.ts)_
|
|
324
325
|
|
|
325
326
|
## `raindrop build delete [APPLICATION]`
|
|
326
327
|
|
|
@@ -338,7 +339,7 @@ FLAGS
|
|
|
338
339
|
-a, --all delete all application versions
|
|
339
340
|
-o, --output=<option> [default: table] output format
|
|
340
341
|
<options: text|table|json>
|
|
341
|
-
-r, --root=<value> [default: /Users/
|
|
342
|
+
-r, --root=<value> [default: /Users/ian/liquidmetal/packages/raindrop] root directory
|
|
342
343
|
-v, --version=<value> application version to delete
|
|
343
344
|
|
|
344
345
|
DESCRIPTION
|
|
@@ -349,7 +350,7 @@ EXAMPLES
|
|
|
349
350
|
Deleted (application) at version (version)
|
|
350
351
|
```
|
|
351
352
|
|
|
352
|
-
_See code: [src/commands/build/delete.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
353
|
+
_See code: [src/commands/build/delete.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/build/delete.ts)_
|
|
353
354
|
|
|
354
355
|
## `raindrop build deploy`
|
|
355
356
|
|
|
@@ -363,7 +364,7 @@ FLAGS
|
|
|
363
364
|
-M, --manifest=<value> [default: raindrop.manifest] project manifest
|
|
364
365
|
-a, --amend amend an existing application
|
|
365
366
|
-o, --output=<value> [default: dist] output directory
|
|
366
|
-
-r, --root=<value> [default: /Users/
|
|
367
|
+
-r, --root=<value> [default: /Users/ian/liquidmetal/packages/raindrop] root directory
|
|
367
368
|
-s, --start start the application after deploying
|
|
368
369
|
-v, --versionId=<value> version ID
|
|
369
370
|
--lock=<value> override lock ID to resume deployment
|
|
@@ -377,7 +378,7 @@ EXAMPLES
|
|
|
377
378
|
Deploy a Raindrop application version.
|
|
378
379
|
```
|
|
379
380
|
|
|
380
|
-
_See code: [src/commands/build/deploy.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
381
|
+
_See code: [src/commands/build/deploy.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/build/deploy.ts)_
|
|
381
382
|
|
|
382
383
|
## `raindrop build env get VAR`
|
|
383
384
|
|
|
@@ -404,7 +405,7 @@ EXAMPLES
|
|
|
404
405
|
sets an env var/secret.
|
|
405
406
|
```
|
|
406
407
|
|
|
407
|
-
_See code: [src/commands/build/env/get.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
408
|
+
_See code: [src/commands/build/env/get.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/build/env/get.ts)_
|
|
408
409
|
|
|
409
410
|
## `raindrop build env set VAR [VALUE]`
|
|
410
411
|
|
|
@@ -422,7 +423,7 @@ FLAGS
|
|
|
422
423
|
-M, --manifest=<value> [default: raindrop.manifest] project manifest
|
|
423
424
|
-a, --application=<value> application to start
|
|
424
425
|
-o, --output=<value> [default: table] output format
|
|
425
|
-
-r, --root=<value> [default: /Users/
|
|
426
|
+
-r, --root=<value> [default: /Users/ian/liquidmetal/packages/raindrop] root directory
|
|
426
427
|
-v, --versionId=<value> version ID
|
|
427
428
|
|
|
428
429
|
DESCRIPTION
|
|
@@ -433,7 +434,7 @@ EXAMPLES
|
|
|
433
434
|
sets an env var/secret.
|
|
434
435
|
```
|
|
435
436
|
|
|
436
|
-
_See code: [src/commands/build/env/set.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
437
|
+
_See code: [src/commands/build/env/set.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/build/env/set.ts)_
|
|
437
438
|
|
|
438
439
|
## `raindrop build find`
|
|
439
440
|
|
|
@@ -449,7 +450,7 @@ FLAGS
|
|
|
449
450
|
-a, --application=<value> application
|
|
450
451
|
-o, --output=<option> [default: table] output format
|
|
451
452
|
<options: text|table|json>
|
|
452
|
-
-r, --root=<value> [default: /Users/
|
|
453
|
+
-r, --root=<value> [default: /Users/ian/liquidmetal/packages/raindrop] root directory
|
|
453
454
|
-v, --version=<value> application version
|
|
454
455
|
--all query modules for all applications
|
|
455
456
|
--moduleType=<value> filter by module type (e.g. smartbucket)
|
|
@@ -461,7 +462,7 @@ EXAMPLES
|
|
|
461
462
|
$ raindrop build find .
|
|
462
463
|
```
|
|
463
464
|
|
|
464
|
-
_See code: [src/commands/build/find.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
465
|
+
_See code: [src/commands/build/find.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/build/find.ts)_
|
|
465
466
|
|
|
466
467
|
## `raindrop build generate`
|
|
467
468
|
|
|
@@ -474,7 +475,7 @@ USAGE
|
|
|
474
475
|
FLAGS
|
|
475
476
|
-M, --manifest=<value> [default: raindrop.manifest] project manifest
|
|
476
477
|
-o, --output=<value> [default: dist] output directory
|
|
477
|
-
-r, --root=<value> [default: /Users/
|
|
478
|
+
-r, --root=<value> [default: /Users/ian/liquidmetal/packages/raindrop] root directory
|
|
478
479
|
|
|
479
480
|
DESCRIPTION
|
|
480
481
|
(re)generate all code for a LiquidMetal.AI project
|
|
@@ -483,7 +484,7 @@ EXAMPLES
|
|
|
483
484
|
$ raindrop build generate
|
|
484
485
|
```
|
|
485
486
|
|
|
486
|
-
_See code: [src/commands/build/generate.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
487
|
+
_See code: [src/commands/build/generate.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/build/generate.ts)_
|
|
487
488
|
|
|
488
489
|
## `raindrop build init [PATH]`
|
|
489
490
|
|
|
@@ -507,7 +508,7 @@ EXAMPLES
|
|
|
507
508
|
Initialize a project in the current directory.
|
|
508
509
|
```
|
|
509
510
|
|
|
510
|
-
_See code: [src/commands/build/init.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
511
|
+
_See code: [src/commands/build/init.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/build/init.ts)_
|
|
511
512
|
|
|
512
513
|
## `raindrop build list`
|
|
513
514
|
|
|
@@ -530,7 +531,7 @@ EXAMPLES
|
|
|
530
531
|
List Raindrop catalog resources.
|
|
531
532
|
```
|
|
532
533
|
|
|
533
|
-
_See code: [src/commands/build/list.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
534
|
+
_See code: [src/commands/build/list.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/build/list.ts)_
|
|
534
535
|
|
|
535
536
|
## `raindrop build sandbox`
|
|
536
537
|
|
|
@@ -551,7 +552,7 @@ EXAMPLES
|
|
|
551
552
|
$ raindrop build sandbox
|
|
552
553
|
```
|
|
553
554
|
|
|
554
|
-
_See code: [src/commands/build/sandbox.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
555
|
+
_See code: [src/commands/build/sandbox.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/build/sandbox.ts)_
|
|
555
556
|
|
|
556
557
|
## `raindrop build start`
|
|
557
558
|
|
|
@@ -564,7 +565,7 @@ USAGE
|
|
|
564
565
|
FLAGS
|
|
565
566
|
-M, --manifest=<value> [default: raindrop.manifest] project manifest
|
|
566
567
|
-a, --application=<value> application to start
|
|
567
|
-
-r, --root=<value> [default: /Users/
|
|
568
|
+
-r, --root=<value> [default: /Users/ian/liquidmetal/packages/raindrop] root directory
|
|
568
569
|
-v, --version=<value> application version to start
|
|
569
570
|
|
|
570
571
|
DESCRIPTION
|
|
@@ -575,7 +576,7 @@ EXAMPLES
|
|
|
575
576
|
Start a Raindrop application.
|
|
576
577
|
```
|
|
577
578
|
|
|
578
|
-
_See code: [src/commands/build/start.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
579
|
+
_See code: [src/commands/build/start.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/build/start.ts)_
|
|
579
580
|
|
|
580
581
|
## `raindrop build status`
|
|
581
582
|
|
|
@@ -590,7 +591,7 @@ FLAGS
|
|
|
590
591
|
-a, --application=<value> application
|
|
591
592
|
-o, --output=<option> [default: table] output format
|
|
592
593
|
<options: watch|table|json>
|
|
593
|
-
-r, --root=<value> [default: /Users/
|
|
594
|
+
-r, --root=<value> [default: /Users/ian/liquidmetal/packages/raindrop] root directory
|
|
594
595
|
-v, --version=<value> application version
|
|
595
596
|
|
|
596
597
|
DESCRIPTION
|
|
@@ -600,7 +601,7 @@ EXAMPLES
|
|
|
600
601
|
$ raindrop build status .
|
|
601
602
|
```
|
|
602
603
|
|
|
603
|
-
_See code: [src/commands/build/status.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
604
|
+
_See code: [src/commands/build/status.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/build/status.ts)_
|
|
604
605
|
|
|
605
606
|
## `raindrop build stop`
|
|
606
607
|
|
|
@@ -613,7 +614,7 @@ USAGE
|
|
|
613
614
|
FLAGS
|
|
614
615
|
-M, --manifest=<value> [default: raindrop.manifest] project manifest
|
|
615
616
|
-a, --application=<value> application to stop
|
|
616
|
-
-r, --root=<value> [default: /Users/
|
|
617
|
+
-r, --root=<value> [default: /Users/ian/liquidmetal/packages/raindrop] root directory
|
|
617
618
|
-v, --version=<value> application version to start
|
|
618
619
|
|
|
619
620
|
DESCRIPTION
|
|
@@ -624,7 +625,7 @@ EXAMPLES
|
|
|
624
625
|
Stop a Raindrop application.
|
|
625
626
|
```
|
|
626
627
|
|
|
627
|
-
_See code: [src/commands/build/stop.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
628
|
+
_See code: [src/commands/build/stop.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/build/stop.ts)_
|
|
628
629
|
|
|
629
630
|
## `raindrop build tools check`
|
|
630
631
|
|
|
@@ -636,7 +637,7 @@ USAGE
|
|
|
636
637
|
|
|
637
638
|
FLAGS
|
|
638
639
|
-m, --manifest=<value> [default: raindrop.manifest] project manifest
|
|
639
|
-
-r, --root=<value> [default: /Users/
|
|
640
|
+
-r, --root=<value> [default: /Users/ian/liquidmetal/packages/raindrop] root directory
|
|
640
641
|
|
|
641
642
|
DESCRIPTION
|
|
642
643
|
validate a LiquidMetal.AI raindrop.manifest
|
|
@@ -645,7 +646,7 @@ EXAMPLES
|
|
|
645
646
|
$ raindrop build tools check
|
|
646
647
|
```
|
|
647
648
|
|
|
648
|
-
_See code: [src/commands/build/tools/check.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
649
|
+
_See code: [src/commands/build/tools/check.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/build/tools/check.ts)_
|
|
649
650
|
|
|
650
651
|
## `raindrop build tools fmt`
|
|
651
652
|
|
|
@@ -657,7 +658,7 @@ USAGE
|
|
|
657
658
|
|
|
658
659
|
FLAGS
|
|
659
660
|
-m, --manifest=<value> [default: raindrop.manifest] project manifest
|
|
660
|
-
-r, --root=<value> [default: /Users/
|
|
661
|
+
-r, --root=<value> [default: /Users/ian/liquidmetal/packages/raindrop] root directory
|
|
661
662
|
|
|
662
663
|
DESCRIPTION
|
|
663
664
|
format a LiquidMetal.AI raindrop.manifest
|
|
@@ -666,7 +667,7 @@ EXAMPLES
|
|
|
666
667
|
$ raindrop build tools fmt
|
|
667
668
|
```
|
|
668
669
|
|
|
669
|
-
_See code: [src/commands/build/tools/fmt.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
670
|
+
_See code: [src/commands/build/tools/fmt.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/build/tools/fmt.ts)_
|
|
670
671
|
|
|
671
672
|
## `raindrop build unsandbox`
|
|
672
673
|
|
|
@@ -687,7 +688,7 @@ EXAMPLES
|
|
|
687
688
|
$ raindrop build unsandbox
|
|
688
689
|
```
|
|
689
690
|
|
|
690
|
-
_See code: [src/commands/build/unsandbox.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
691
|
+
_See code: [src/commands/build/unsandbox.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/build/unsandbox.ts)_
|
|
691
692
|
|
|
692
693
|
## `raindrop build upload`
|
|
693
694
|
|
|
@@ -700,7 +701,7 @@ USAGE
|
|
|
700
701
|
FLAGS
|
|
701
702
|
-M, --manifest=<value> [default: raindrop.manifest] project manifest
|
|
702
703
|
-o, --output=<value> [default: dist] output directory
|
|
703
|
-
-r, --root=<value> [default: /Users/
|
|
704
|
+
-r, --root=<value> [default: /Users/ian/liquidmetal/packages/raindrop] root directory
|
|
704
705
|
-v, --versionId=<value> (required) version ID
|
|
705
706
|
|
|
706
707
|
DESCRIPTION
|
|
@@ -710,7 +711,7 @@ EXAMPLES
|
|
|
710
711
|
$ raindrop build upload
|
|
711
712
|
```
|
|
712
713
|
|
|
713
|
-
_See code: [src/commands/build/upload.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
714
|
+
_See code: [src/commands/build/upload.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/build/upload.ts)_
|
|
714
715
|
|
|
715
716
|
## `raindrop build validate`
|
|
716
717
|
|
|
@@ -723,7 +724,7 @@ USAGE
|
|
|
723
724
|
FLAGS
|
|
724
725
|
-M, --manifest=<value> [default: raindrop.manifest] project manifest
|
|
725
726
|
-o, --output=<value> [default: dist] output directory
|
|
726
|
-
-r, --root=<value> [default: /Users/
|
|
727
|
+
-r, --root=<value> [default: /Users/ian/liquidmetal/packages/raindrop] root directory
|
|
727
728
|
|
|
728
729
|
DESCRIPTION
|
|
729
730
|
build and validate a LiquidMetal.AI project
|
|
@@ -732,7 +733,7 @@ EXAMPLES
|
|
|
732
733
|
$ raindrop build validate
|
|
733
734
|
```
|
|
734
735
|
|
|
735
|
-
_See code: [src/commands/build/validate.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
736
|
+
_See code: [src/commands/build/validate.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/build/validate.ts)_
|
|
736
737
|
|
|
737
738
|
## `raindrop help [COMMAND]`
|
|
738
739
|
|
|
@@ -752,7 +753,7 @@ DESCRIPTION
|
|
|
752
753
|
Display help for raindrop.
|
|
753
754
|
```
|
|
754
755
|
|
|
755
|
-
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.
|
|
756
|
+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.29/src/commands/help.ts)_
|
|
756
757
|
|
|
757
758
|
## `raindrop object delete KEY`
|
|
758
759
|
|
|
@@ -779,7 +780,7 @@ EXAMPLES
|
|
|
779
780
|
Delete file with key 'my-key' from my-bucket
|
|
780
781
|
```
|
|
781
782
|
|
|
782
|
-
_See code: [src/commands/object/delete.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
783
|
+
_See code: [src/commands/object/delete.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/object/delete.ts)_
|
|
783
784
|
|
|
784
785
|
## `raindrop object get KEY [OUTPUT]`
|
|
785
786
|
|
|
@@ -810,7 +811,7 @@ EXAMPLES
|
|
|
810
811
|
Download file with key 'my-key' from my-bucket to output.txt
|
|
811
812
|
```
|
|
812
813
|
|
|
813
|
-
_See code: [src/commands/object/get.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
814
|
+
_See code: [src/commands/object/get.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/object/get.ts)_
|
|
814
815
|
|
|
815
816
|
## `raindrop object list`
|
|
816
817
|
|
|
@@ -834,7 +835,7 @@ EXAMPLES
|
|
|
834
835
|
List all objects in my-bucket
|
|
835
836
|
```
|
|
836
837
|
|
|
837
|
-
_See code: [src/commands/object/list.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
838
|
+
_See code: [src/commands/object/list.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/object/list.ts)_
|
|
838
839
|
|
|
839
840
|
## `raindrop object put FILE KEY`
|
|
840
841
|
|
|
@@ -863,7 +864,7 @@ EXAMPLES
|
|
|
863
864
|
Upload myfile.txt to my-bucket with key 'my-key'
|
|
864
865
|
```
|
|
865
866
|
|
|
866
|
-
_See code: [src/commands/object/put.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
867
|
+
_See code: [src/commands/object/put.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/object/put.ts)_
|
|
867
868
|
|
|
868
869
|
## `raindrop plugins`
|
|
869
870
|
|
|
@@ -886,7 +887,7 @@ EXAMPLES
|
|
|
886
887
|
$ raindrop plugins
|
|
887
888
|
```
|
|
888
889
|
|
|
889
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.
|
|
890
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.42/src/commands/plugins/index.ts)_
|
|
890
891
|
|
|
891
892
|
## `raindrop plugins add PLUGIN`
|
|
892
893
|
|
|
@@ -960,7 +961,7 @@ EXAMPLES
|
|
|
960
961
|
$ raindrop plugins inspect myplugin
|
|
961
962
|
```
|
|
962
963
|
|
|
963
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.
|
|
964
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.42/src/commands/plugins/inspect.ts)_
|
|
964
965
|
|
|
965
966
|
## `raindrop plugins install PLUGIN`
|
|
966
967
|
|
|
@@ -1009,7 +1010,7 @@ EXAMPLES
|
|
|
1009
1010
|
$ raindrop plugins install someuser/someplugin
|
|
1010
1011
|
```
|
|
1011
1012
|
|
|
1012
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.
|
|
1013
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.42/src/commands/plugins/install.ts)_
|
|
1013
1014
|
|
|
1014
1015
|
## `raindrop plugins link PATH`
|
|
1015
1016
|
|
|
@@ -1040,7 +1041,7 @@ EXAMPLES
|
|
|
1040
1041
|
$ raindrop plugins link myplugin
|
|
1041
1042
|
```
|
|
1042
1043
|
|
|
1043
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.
|
|
1044
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.42/src/commands/plugins/link.ts)_
|
|
1044
1045
|
|
|
1045
1046
|
## `raindrop plugins remove [PLUGIN]`
|
|
1046
1047
|
|
|
@@ -1081,7 +1082,7 @@ FLAGS
|
|
|
1081
1082
|
--reinstall Reinstall all plugins after uninstalling.
|
|
1082
1083
|
```
|
|
1083
1084
|
|
|
1084
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.
|
|
1085
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.42/src/commands/plugins/reset.ts)_
|
|
1085
1086
|
|
|
1086
1087
|
## `raindrop plugins uninstall [PLUGIN]`
|
|
1087
1088
|
|
|
@@ -1109,7 +1110,7 @@ EXAMPLES
|
|
|
1109
1110
|
$ raindrop plugins uninstall myplugin
|
|
1110
1111
|
```
|
|
1111
1112
|
|
|
1112
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.
|
|
1113
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.42/src/commands/plugins/uninstall.ts)_
|
|
1113
1114
|
|
|
1114
1115
|
## `raindrop plugins unlink [PLUGIN]`
|
|
1115
1116
|
|
|
@@ -1153,7 +1154,7 @@ DESCRIPTION
|
|
|
1153
1154
|
Update installed plugins.
|
|
1154
1155
|
```
|
|
1155
1156
|
|
|
1156
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.
|
|
1157
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.42/src/commands/plugins/update.ts)_
|
|
1157
1158
|
|
|
1158
1159
|
## `raindrop query chunk-search QUERY`
|
|
1159
1160
|
|
|
@@ -1180,7 +1181,7 @@ EXAMPLES
|
|
|
1180
1181
|
Run a RAG search query against a Smart Bucket.
|
|
1181
1182
|
```
|
|
1182
1183
|
|
|
1183
|
-
_See code: [src/commands/query/chunk-search.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
1184
|
+
_See code: [src/commands/query/chunk-search.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/query/chunk-search.ts)_
|
|
1184
1185
|
|
|
1185
1186
|
## `raindrop query document QUERY`
|
|
1186
1187
|
|
|
@@ -1211,7 +1212,30 @@ EXAMPLES
|
|
|
1211
1212
|
Chat with a document in a Smart Bucket using module ID.
|
|
1212
1213
|
```
|
|
1213
1214
|
|
|
1214
|
-
_See code: [src/commands/query/document.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
1215
|
+
_See code: [src/commands/query/document.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/query/document.ts)_
|
|
1216
|
+
|
|
1217
|
+
## `raindrop query events`
|
|
1218
|
+
|
|
1219
|
+
query and stream Raindrop application events
|
|
1220
|
+
|
|
1221
|
+
```
|
|
1222
|
+
USAGE
|
|
1223
|
+
$ raindrop query events [-o text|table|json] [-a <value>] [-v <value>]
|
|
1224
|
+
|
|
1225
|
+
FLAGS
|
|
1226
|
+
-a, --application=<value> application
|
|
1227
|
+
-o, --output=<option> [default: table] output format
|
|
1228
|
+
<options: text|table|json>
|
|
1229
|
+
-v, --version=<value> application version
|
|
1230
|
+
|
|
1231
|
+
DESCRIPTION
|
|
1232
|
+
query and stream Raindrop application events
|
|
1233
|
+
|
|
1234
|
+
EXAMPLES
|
|
1235
|
+
$ raindrop query events .
|
|
1236
|
+
```
|
|
1237
|
+
|
|
1238
|
+
_See code: [src/commands/query/events.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/query/events.ts)_
|
|
1215
1239
|
|
|
1216
1240
|
## `raindrop query search [QUERY]`
|
|
1217
1241
|
|
|
@@ -1243,7 +1267,7 @@ EXAMPLES
|
|
|
1243
1267
|
Get page 2 of previous search results.
|
|
1244
1268
|
```
|
|
1245
1269
|
|
|
1246
|
-
_See code: [src/commands/query/search.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
1270
|
+
_See code: [src/commands/query/search.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/query/search.ts)_
|
|
1247
1271
|
|
|
1248
1272
|
## `raindrop tail`
|
|
1249
1273
|
|
|
@@ -1251,11 +1275,24 @@ tail logs of applications deployed
|
|
|
1251
1275
|
|
|
1252
1276
|
```
|
|
1253
1277
|
USAGE
|
|
1254
|
-
$ raindrop tail
|
|
1278
|
+
$ raindrop tail [-o text|json] [-a <value>] [-v <value>]
|
|
1279
|
+
|
|
1280
|
+
FLAGS
|
|
1281
|
+
-a, --application=<value> application
|
|
1282
|
+
-o, --output=<option> [default: text] output format
|
|
1283
|
+
<options: text|json>
|
|
1284
|
+
-v, --version=<value> application version
|
|
1255
1285
|
|
|
1256
1286
|
DESCRIPTION
|
|
1257
1287
|
tail logs of applications deployed
|
|
1288
|
+
|
|
1289
|
+
EXAMPLES
|
|
1290
|
+
$ raindrop tail
|
|
1291
|
+
|
|
1292
|
+
$ raindrop tail --application my-app
|
|
1293
|
+
|
|
1294
|
+
$ raindrop tail --application my-app --version v1.2.3
|
|
1258
1295
|
```
|
|
1259
1296
|
|
|
1260
|
-
_See code: [src/commands/tail.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.
|
|
1297
|
+
_See code: [src/commands/tail.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.4.10/src/commands/tail.ts)_
|
|
1261
1298
|
<!-- commandsstop -->
|
package/bin/dev.js
CHANGED
|
File without changes
|
package/dist/base-command.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ import { ObjectService } from '@liquidmetal-ai/drizzle/liquidmetal/v1alpha1/obje
|
|
|
4
4
|
import { RainbowAuthService } from '@liquidmetal-ai/drizzle/liquidmetal/v1alpha1/rainbow_auth_pb';
|
|
5
5
|
import { SearchAgentService } from '@liquidmetal-ai/drizzle/liquidmetal/v1alpha1/search_agent_pb';
|
|
6
6
|
import { AnnotationService } from '@liquidmetal-ai/drizzle/liquidmetal/v1alpha1/annotation_pb';
|
|
7
|
+
import { EventStreamService } from '@liquidmetal-ai/drizzle/liquidmetal/v1alpha1/events_pb';
|
|
8
|
+
import { RiverjackService } from '@liquidmetal-ai/drizzle/liquidmetal/v1alpha1/riverjack_pb';
|
|
7
9
|
import { Command, Interfaces } from '@oclif/core';
|
|
8
10
|
import { Config } from './config.js';
|
|
9
11
|
import { ServiceIdentity } from './index.js';
|
|
@@ -55,6 +57,16 @@ export declare abstract class BaseCommand<T extends typeof Command> extends Comm
|
|
|
55
57
|
organizationId: string;
|
|
56
58
|
userId: string;
|
|
57
59
|
}>;
|
|
60
|
+
protected eventStreamService(configDir?: string): Promise<{
|
|
61
|
+
client: StrictClient<typeof EventStreamService>;
|
|
62
|
+
userId: string;
|
|
63
|
+
organizationId: string;
|
|
64
|
+
}>;
|
|
65
|
+
protected riverjackService(appName: string, versionId: string): Promise<{
|
|
66
|
+
client: StrictClient<typeof RiverjackService>;
|
|
67
|
+
organizationId: string;
|
|
68
|
+
userId: string;
|
|
69
|
+
}>;
|
|
58
70
|
protected rainbowAuthService(): Promise<{
|
|
59
71
|
client: StrictClient<typeof RainbowAuthService>;
|
|
60
72
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-command.d.ts","sourceRoot":"","sources":["../src/base-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAEnE,OAAO,EAAE,cAAc,EAAE,MAAM,yDAAyD,CAAC;AACzF,OAAO,EAAE,aAAa,EAAE,MAAM,wDAAwD,CAAC;AACvF,OAAO,EAAE,kBAAkB,EAAE,MAAM,8DAA8D,CAAC;AAClG,OAAO,EAAE,kBAAkB,EAAE,MAAM,8DAA8D,CAAC;AAClG,OAAO,EAAE,iBAAiB,EAAE,MAAM,4DAA4D,CAAC;
|
|
1
|
+
{"version":3,"file":"base-command.d.ts","sourceRoot":"","sources":["../src/base-command.ts"],"names":[],"mappings":"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"}
|
package/dist/base-command.js
CHANGED
|
@@ -5,7 +5,7 @@ import { Command, Flags } from '@oclif/core';
|
|
|
5
5
|
import * as fs from 'node:fs/promises';
|
|
6
6
|
import path from 'node:path';
|
|
7
7
|
import { loadConfig, saveConfig } from './config.js';
|
|
8
|
-
import { catalogService, objectService, rainbowAuthService, searchAgentService, selectedOrganization, annotationService, } from './index.js';
|
|
8
|
+
import { catalogService, objectService, rainbowAuthService, searchAgentService, selectedOrganization, annotationService, eventStreamService, riverjackService, } from './index.js';
|
|
9
9
|
export class BaseCommand extends Command {
|
|
10
10
|
static HIDDEN_FLAGS = {
|
|
11
11
|
config: Flags.string({
|
|
@@ -184,6 +184,35 @@ export class BaseCommand extends Command {
|
|
|
184
184
|
});
|
|
185
185
|
return result;
|
|
186
186
|
}
|
|
187
|
+
async eventStreamService(configDir) {
|
|
188
|
+
if (this.flags.raindropCatalogService) {
|
|
189
|
+
console.debug(`[DEBUG] Using catalog-service: ${this.flags.raindropCatalogService}`);
|
|
190
|
+
}
|
|
191
|
+
return eventStreamService({
|
|
192
|
+
rainbowAuth: (await this.rainbowAuthService()).client,
|
|
193
|
+
configDir: configDir ?? this.config.configDir,
|
|
194
|
+
identity: await this.catalogIdentity(),
|
|
195
|
+
overrideAuthToken: this.flags.rainbowAuthToken,
|
|
196
|
+
logger: this,
|
|
197
|
+
enableSendVersion: this.flags.sendVersionMetadata === 'true',
|
|
198
|
+
});
|
|
199
|
+
}
|
|
200
|
+
async riverjackService(appName, versionId) {
|
|
201
|
+
const { client: rainbowAuth } = await this.rainbowAuthService();
|
|
202
|
+
const identity = await this.catalogIdentity();
|
|
203
|
+
const baseUrl = `https://riverjack-${appName}-${versionId}.${urlifyOrganizationId(identity.organizationId)}.lmapp.run`;
|
|
204
|
+
const result = await riverjackService({
|
|
205
|
+
rainbowAuth,
|
|
206
|
+
configDir: this.config.configDir,
|
|
207
|
+
identity: {
|
|
208
|
+
...identity,
|
|
209
|
+
baseUrl,
|
|
210
|
+
},
|
|
211
|
+
logger: this,
|
|
212
|
+
enableSendVersion: this.flags.sendVersionMetadata === 'true',
|
|
213
|
+
});
|
|
214
|
+
return result;
|
|
215
|
+
}
|
|
187
216
|
async rainbowAuthService() {
|
|
188
217
|
const baseUrl = this.flags.rainbowAuthService;
|
|
189
218
|
return rainbowAuthService(baseUrl);
|
package/dist/codegen.js
CHANGED
|
@@ -185,22 +185,22 @@ export function codegenPlan(apps) {
|
|
|
185
185
|
plan.push({
|
|
186
186
|
templateName: path.join(TEMPLATES_DIR, TEMPLATE_DB_DB),
|
|
187
187
|
outPath: path.join(DB_DIR, valueOf(db.name)),
|
|
188
|
-
context: { dbName:
|
|
188
|
+
context: { dbName: valueOf(db.name) },
|
|
189
189
|
});
|
|
190
190
|
plan.push({
|
|
191
191
|
templateName: path.join(TEMPLATES_DIR, TEMPLATE_DB_COMMON),
|
|
192
192
|
outPath: path.join(HANDLERS_DIR, COMMON_DIR),
|
|
193
|
-
context: { dbName:
|
|
193
|
+
context: { dbName: valueOf(db.name) },
|
|
194
194
|
});
|
|
195
195
|
plan.push({
|
|
196
196
|
templateName: path.join(TEMPLATES_DIR, TEMPLATE_DB_PRISMA),
|
|
197
197
|
outPath: path.join(PRISMA_DIR, valueOf(db.name)),
|
|
198
|
-
context: { dbName:
|
|
198
|
+
context: { dbName: valueOf(db.name) },
|
|
199
199
|
});
|
|
200
200
|
plan.push({
|
|
201
201
|
templateName: path.join(TEMPLATES_DIR, TEMPLATE_DB_SCRIPT),
|
|
202
202
|
outPath: path.join(DB_SCRIPT_DIR),
|
|
203
|
-
context: { dbName:
|
|
203
|
+
context: { dbName: valueOf(db.name) },
|
|
204
204
|
});
|
|
205
205
|
}
|
|
206
206
|
}
|