@liquidmetal-ai/raindrop 0.2.5 → 0.2.6

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.
Files changed (78) hide show
  1. package/README.md +41 -41
  2. package/dist/base-command.d.ts +8 -0
  3. package/dist/base-command.d.ts.map +1 -1
  4. package/dist/base-command.js +35 -1
  5. package/dist/codegen.js +2 -2
  6. package/dist/codegen.test.js +1 -1
  7. package/dist/commands/build/branch.d.ts +5 -2
  8. package/dist/commands/build/branch.d.ts.map +1 -1
  9. package/dist/commands/build/branch.js +1 -17
  10. package/dist/commands/build/checkout.d.ts +4 -1
  11. package/dist/commands/build/checkout.d.ts.map +1 -1
  12. package/dist/commands/build/checkout.js +1 -17
  13. package/dist/commands/build/delete.d.ts +4 -1
  14. package/dist/commands/build/delete.d.ts.map +1 -1
  15. package/dist/commands/build/delete.js +1 -17
  16. package/dist/commands/build/deploy.d.ts +6 -3
  17. package/dist/commands/build/deploy.d.ts.map +1 -1
  18. package/dist/commands/build/deploy.js +1 -17
  19. package/dist/commands/build/env/get.d.ts +5 -2
  20. package/dist/commands/build/env/get.d.ts.map +1 -1
  21. package/dist/commands/build/env/get.js +1 -17
  22. package/dist/commands/build/env/set.d.ts +4 -1
  23. package/dist/commands/build/env/set.d.ts.map +1 -1
  24. package/dist/commands/build/env/set.js +1 -17
  25. package/dist/commands/build/find.d.ts +4 -1
  26. package/dist/commands/build/find.d.ts.map +1 -1
  27. package/dist/commands/build/find.js +2 -25
  28. package/dist/commands/build/list.d.ts +4 -0
  29. package/dist/commands/build/list.d.ts.map +1 -1
  30. package/dist/commands/build/list.js +10 -18
  31. package/dist/commands/build/sandbox.d.ts +5 -2
  32. package/dist/commands/build/sandbox.d.ts.map +1 -1
  33. package/dist/commands/build/sandbox.js +1 -14
  34. package/dist/commands/build/start.d.ts +4 -1
  35. package/dist/commands/build/start.d.ts.map +1 -1
  36. package/dist/commands/build/start.js +1 -17
  37. package/dist/commands/build/status.d.ts +7 -2
  38. package/dist/commands/build/status.d.ts.map +1 -1
  39. package/dist/commands/build/status.js +64 -30
  40. package/dist/commands/build/stop.d.ts +4 -1
  41. package/dist/commands/build/stop.d.ts.map +1 -1
  42. package/dist/commands/build/stop.js +2 -18
  43. package/dist/commands/build/unsandbox.d.ts +5 -2
  44. package/dist/commands/build/unsandbox.d.ts.map +1 -1
  45. package/dist/commands/build/unsandbox.js +2 -15
  46. package/dist/commands/build/upload.d.ts +4 -1
  47. package/dist/commands/build/upload.d.ts.map +1 -1
  48. package/dist/commands/build/upload.js +1 -17
  49. package/dist/commands/object/delete.d.ts +4 -0
  50. package/dist/commands/object/delete.d.ts.map +1 -1
  51. package/dist/commands/object/delete.js +1 -10
  52. package/dist/commands/object/get.d.ts +4 -0
  53. package/dist/commands/object/get.d.ts.map +1 -1
  54. package/dist/commands/object/get.js +1 -10
  55. package/dist/commands/object/list.d.ts +4 -0
  56. package/dist/commands/object/list.d.ts.map +1 -1
  57. package/dist/commands/object/list.js +2 -11
  58. package/dist/commands/object/put.d.ts +4 -0
  59. package/dist/commands/object/put.d.ts.map +1 -1
  60. package/dist/commands/object/put.js +1 -10
  61. package/dist/commands/query/chunk-search.d.ts +4 -0
  62. package/dist/commands/query/chunk-search.d.ts.map +1 -1
  63. package/dist/commands/query/chunk-search.js +1 -10
  64. package/dist/commands/query/register-retriever.d.ts +7 -2
  65. package/dist/commands/query/register-retriever.d.ts.map +1 -1
  66. package/dist/commands/query/register-retriever.js +6 -10
  67. package/dist/commands/query/search.d.ts +4 -0
  68. package/dist/commands/query/search.d.ts.map +1 -1
  69. package/dist/commands/query/search.js +1 -10
  70. package/dist/index.d.ts +12 -32
  71. package/dist/index.d.ts.map +1 -1
  72. package/dist/index.js +23 -40
  73. package/oclif.manifest.json +3407 -1125
  74. package/package.json +3 -1
  75. package/templates/handlers/{r2-event-notification → bucket-event-notification}/index.ts.hbs +5 -1
  76. package/templates/handlers/queue-consumer/index.ts.hbs +1 -1
  77. package/templates/init/package.json.hbs +1 -1
  78. /package/templates/handlers/{r2-event-notification → bucket-event-notification}/index.test.ts +0 -0
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.2.5 darwin-arm64 node-v23.7.0
23
+ @liquidmetal-ai/raindrop/0.2.6 darwin-arm64 node-v23.10.0
24
24
  $ raindrop --help [COMMAND]
25
25
  USAGE
26
26
  $ raindrop COMMAND
@@ -70,7 +70,7 @@ USAGE
70
70
  * [`raindrop plugins unlink [PLUGIN]`](#raindrop-plugins-unlink-plugin)
71
71
  * [`raindrop plugins update`](#raindrop-plugins-update)
72
72
  * [`raindrop query chunk-search QUERY`](#raindrop-query-chunk-search-query)
73
- * [`raindrop query register-retriever BUCKET URL DELETE_URL BUCKET_NAME`](#raindrop-query-register-retriever-bucket-url-delete_url-bucket_name)
73
+ * [`raindrop query register-retriever BUCKET URL DELETEURL BUCKETNAME`](#raindrop-query-register-retriever-bucket-url-deleteurl-bucketname)
74
74
  * [`raindrop query search [QUERY]`](#raindrop-query-search-query)
75
75
  * [`raindrop tail`](#raindrop-tail)
76
76
 
@@ -90,7 +90,7 @@ DESCRIPTION
90
90
  List authentications
91
91
  ```
92
92
 
93
- _See code: [src/commands/auth/list.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/auth/list.ts)_
93
+ _See code: [src/commands/auth/list.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/auth/list.ts)_
94
94
 
95
95
  ## `raindrop auth login`
96
96
 
@@ -104,7 +104,7 @@ DESCRIPTION
104
104
  Logs a user into the LiquidMetal platform. Supports browser-based authentication.
105
105
  ```
106
106
 
107
- _See code: [src/commands/auth/login.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/auth/login.ts)_
107
+ _See code: [src/commands/auth/login.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/auth/login.ts)_
108
108
 
109
109
  ## `raindrop auth logout`
110
110
 
@@ -118,7 +118,7 @@ DESCRIPTION
118
118
  Logout authentications
119
119
  ```
120
120
 
121
- _See code: [src/commands/auth/logout.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/auth/logout.ts)_
121
+ _See code: [src/commands/auth/logout.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/auth/logout.ts)_
122
122
 
123
123
  ## `raindrop auth select`
124
124
 
@@ -135,7 +135,7 @@ DESCRIPTION
135
135
  Select active organization
136
136
  ```
137
137
 
138
- _See code: [src/commands/auth/select.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/auth/select.ts)_
138
+ _See code: [src/commands/auth/select.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/auth/select.ts)_
139
139
 
140
140
  ## `raindrop build branch BRANCH`
141
141
 
@@ -164,7 +164,7 @@ EXAMPLES
164
164
  Created new branch 1234
165
165
  ```
166
166
 
167
- _See code: [src/commands/build/branch.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/build/branch.ts)_
167
+ _See code: [src/commands/build/branch.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/build/branch.ts)_
168
168
 
169
169
  ## `raindrop build checkout [VERSION]`
170
170
 
@@ -190,7 +190,7 @@ EXAMPLES
190
190
  Switched to version: 01jux6z20m4gbhn5kaa4mcm2jr
191
191
  ```
192
192
 
193
- _See code: [src/commands/build/checkout.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/build/checkout.ts)_
193
+ _See code: [src/commands/build/checkout.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/build/checkout.ts)_
194
194
 
195
195
  ## `raindrop build delete [APPLICATION]`
196
196
 
@@ -219,7 +219,7 @@ EXAMPLES
219
219
  Deleted (application) at version (version)
220
220
  ```
221
221
 
222
- _See code: [src/commands/build/delete.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/build/delete.ts)_
222
+ _See code: [src/commands/build/delete.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/build/delete.ts)_
223
223
 
224
224
  ## `raindrop build deploy`
225
225
 
@@ -245,7 +245,7 @@ EXAMPLES
245
245
  Deploy a Raindrop application.
246
246
  ```
247
247
 
248
- _See code: [src/commands/build/deploy.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/build/deploy.ts)_
248
+ _See code: [src/commands/build/deploy.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/build/deploy.ts)_
249
249
 
250
250
  ## `raindrop build env get VAR`
251
251
 
@@ -272,7 +272,7 @@ EXAMPLES
272
272
  sets an env var/secret.
273
273
  ```
274
274
 
275
- _See code: [src/commands/build/env/get.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/build/env/get.ts)_
275
+ _See code: [src/commands/build/env/get.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/build/env/get.ts)_
276
276
 
277
277
  ## `raindrop build env set VAR [VALUE]`
278
278
 
@@ -301,7 +301,7 @@ EXAMPLES
301
301
  sets an env var/secret.
302
302
  ```
303
303
 
304
- _See code: [src/commands/build/env/set.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/build/env/set.ts)_
304
+ _See code: [src/commands/build/env/set.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/build/env/set.ts)_
305
305
 
306
306
  ## `raindrop build find`
307
307
 
@@ -326,7 +326,7 @@ EXAMPLES
326
326
  $ raindrop build find .
327
327
  ```
328
328
 
329
- _See code: [src/commands/build/find.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/build/find.ts)_
329
+ _See code: [src/commands/build/find.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/build/find.ts)_
330
330
 
331
331
  ## `raindrop build generate`
332
332
 
@@ -348,7 +348,7 @@ EXAMPLES
348
348
  $ raindrop build generate
349
349
  ```
350
350
 
351
- _See code: [src/commands/build/generate.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/build/generate.ts)_
351
+ _See code: [src/commands/build/generate.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/build/generate.ts)_
352
352
 
353
353
  ## `raindrop build init [PATH]`
354
354
 
@@ -372,7 +372,7 @@ EXAMPLES
372
372
  Initialize a project in the current directory.
373
373
  ```
374
374
 
375
- _See code: [src/commands/build/init.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/build/init.ts)_
375
+ _See code: [src/commands/build/init.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/build/init.ts)_
376
376
 
377
377
  ## `raindrop build list`
378
378
 
@@ -395,7 +395,7 @@ EXAMPLES
395
395
  List Raindrop catalog resources.
396
396
  ```
397
397
 
398
- _See code: [src/commands/build/list.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/build/list.ts)_
398
+ _See code: [src/commands/build/list.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/build/list.ts)_
399
399
 
400
400
  ## `raindrop build sandbox [VERSIONID]`
401
401
 
@@ -418,7 +418,7 @@ EXAMPLES
418
418
  $ raindrop build sandbox
419
419
  ```
420
420
 
421
- _See code: [src/commands/build/sandbox.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/build/sandbox.ts)_
421
+ _See code: [src/commands/build/sandbox.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/build/sandbox.ts)_
422
422
 
423
423
  ## `raindrop build start`
424
424
 
@@ -442,7 +442,7 @@ EXAMPLES
442
442
  Start a Raindrop application.
443
443
  ```
444
444
 
445
- _See code: [src/commands/build/start.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/build/start.ts)_
445
+ _See code: [src/commands/build/start.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/build/start.ts)_
446
446
 
447
447
  ## `raindrop build status`
448
448
 
@@ -450,13 +450,13 @@ show the status of an application in Raindrop
450
450
 
451
451
  ```
452
452
  USAGE
453
- $ raindrop build status [-r <value>] [-m <value>] [-a <value>] [-v <value>] [-o text|table|json]
453
+ $ raindrop build status [-r <value>] [-m <value>] [-a <value>] [-v <value>] [-o watch|table|json]
454
454
 
455
455
  FLAGS
456
456
  -a, --application=<value> application
457
457
  -m, --manifest=<value> [default: raindrop.manifest] project manifest
458
458
  -o, --output=<option> [default: table] output format
459
- <options: text|table|json>
459
+ <options: watch|table|json>
460
460
  -r, --root=<value> [default: /Users/ian/liquidmetal/packages/raindrop] root directory
461
461
  -v, --version=<value> application version
462
462
 
@@ -467,7 +467,7 @@ EXAMPLES
467
467
  $ raindrop build status .
468
468
  ```
469
469
 
470
- _See code: [src/commands/build/status.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/build/status.ts)_
470
+ _See code: [src/commands/build/status.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/build/status.ts)_
471
471
 
472
472
  ## `raindrop build stop`
473
473
 
@@ -491,7 +491,7 @@ EXAMPLES
491
491
  Stop a Raindrop application.
492
492
  ```
493
493
 
494
- _See code: [src/commands/build/stop.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/build/stop.ts)_
494
+ _See code: [src/commands/build/stop.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/build/stop.ts)_
495
495
 
496
496
  ## `raindrop build tools check`
497
497
 
@@ -512,7 +512,7 @@ EXAMPLES
512
512
  $ raindrop build tools check
513
513
  ```
514
514
 
515
- _See code: [src/commands/build/tools/check.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/build/tools/check.ts)_
515
+ _See code: [src/commands/build/tools/check.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/build/tools/check.ts)_
516
516
 
517
517
  ## `raindrop build tools fmt`
518
518
 
@@ -533,7 +533,7 @@ EXAMPLES
533
533
  $ raindrop build tools fmt
534
534
  ```
535
535
 
536
- _See code: [src/commands/build/tools/fmt.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/build/tools/fmt.ts)_
536
+ _See code: [src/commands/build/tools/fmt.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/build/tools/fmt.ts)_
537
537
 
538
538
  ## `raindrop build unsandbox [VERSIONID]`
539
539
 
@@ -556,7 +556,7 @@ EXAMPLES
556
556
  $ raindrop build unsandbox
557
557
  ```
558
558
 
559
- _See code: [src/commands/build/unsandbox.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/build/unsandbox.ts)_
559
+ _See code: [src/commands/build/unsandbox.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/build/unsandbox.ts)_
560
560
 
561
561
  ## `raindrop build upload`
562
562
 
@@ -579,7 +579,7 @@ EXAMPLES
579
579
  $ raindrop build upload
580
580
  ```
581
581
 
582
- _See code: [src/commands/build/upload.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/build/upload.ts)_
582
+ _See code: [src/commands/build/upload.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/build/upload.ts)_
583
583
 
584
584
  ## `raindrop build validate`
585
585
 
@@ -601,7 +601,7 @@ EXAMPLES
601
601
  $ raindrop build validate
602
602
  ```
603
603
 
604
- _See code: [src/commands/build/validate.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/build/validate.ts)_
604
+ _See code: [src/commands/build/validate.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/build/validate.ts)_
605
605
 
606
606
  ## `raindrop help [COMMAND]`
607
607
 
@@ -647,7 +647,7 @@ EXAMPLES
647
647
  Delete file with key 'my-key' from my-bucket
648
648
  ```
649
649
 
650
- _See code: [src/commands/object/delete.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/object/delete.ts)_
650
+ _See code: [src/commands/object/delete.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/object/delete.ts)_
651
651
 
652
652
  ## `raindrop object get KEY [OUTPUT]`
653
653
 
@@ -677,7 +677,7 @@ EXAMPLES
677
677
  Download file with key 'my-key' from my-bucket to output.txt
678
678
  ```
679
679
 
680
- _See code: [src/commands/object/get.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/object/get.ts)_
680
+ _See code: [src/commands/object/get.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/object/get.ts)_
681
681
 
682
682
  ## `raindrop object list`
683
683
 
@@ -700,7 +700,7 @@ EXAMPLES
700
700
  List all objects in my-bucket
701
701
  ```
702
702
 
703
- _See code: [src/commands/object/list.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/object/list.ts)_
703
+ _See code: [src/commands/object/list.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/object/list.ts)_
704
704
 
705
705
  ## `raindrop object put FILE KEY`
706
706
 
@@ -728,7 +728,7 @@ EXAMPLES
728
728
  Upload myfile.txt to my-bucket with key 'my-key'
729
729
  ```
730
730
 
731
- _See code: [src/commands/object/put.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/object/put.ts)_
731
+ _See code: [src/commands/object/put.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/object/put.ts)_
732
732
 
733
733
  ## `raindrop plugins`
734
734
 
@@ -1042,21 +1042,21 @@ EXAMPLES
1042
1042
  Run a RAG search query against a Smart Bucket.
1043
1043
  ```
1044
1044
 
1045
- _See code: [src/commands/query/chunk-search.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/query/chunk-search.ts)_
1045
+ _See code: [src/commands/query/chunk-search.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/query/chunk-search.ts)_
1046
1046
 
1047
- ## `raindrop query register-retriever BUCKET URL DELETE_URL BUCKET_NAME`
1047
+ ## `raindrop query register-retriever BUCKET URL DELETEURL BUCKETNAME`
1048
1048
 
1049
1049
  Register a new retriever tool with the catalog service
1050
1050
 
1051
1051
  ```
1052
1052
  USAGE
1053
- $ raindrop query register-retriever BUCKET URL DELETE_URL BUCKET_NAME
1053
+ $ raindrop query register-retriever BUCKET URL DELETEURL BUCKETNAME
1054
1054
 
1055
1055
  ARGUMENTS
1056
- BUCKET bucket identifier for the retriever
1057
- URL URL endpoint for the retriever
1058
- DELETE_URL Delete endpoint for the retriever
1059
- BUCKET_NAME Name of the bucket
1056
+ BUCKET bucket identifier for the retriever
1057
+ URL URL endpoint for the retriever
1058
+ DELETEURL Delete endpoint for the retriever
1059
+ BUCKETNAME Name of the bucket
1060
1060
 
1061
1061
  DESCRIPTION
1062
1062
  Register a new retriever tool with the catalog service
@@ -1066,7 +1066,7 @@ EXAMPLES
1066
1066
  Register a new retriever tool.
1067
1067
  ```
1068
1068
 
1069
- _See code: [src/commands/query/register-retriever.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/query/register-retriever.ts)_
1069
+ _See code: [src/commands/query/register-retriever.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/query/register-retriever.ts)_
1070
1070
 
1071
1071
  ## `raindrop query search [QUERY]`
1072
1072
 
@@ -1096,7 +1096,7 @@ EXAMPLES
1096
1096
  Get page 2 of previous search results.
1097
1097
  ```
1098
1098
 
1099
- _See code: [src/commands/query/search.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/query/search.ts)_
1099
+ _See code: [src/commands/query/search.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/query/search.ts)_
1100
1100
 
1101
1101
  ## `raindrop tail`
1102
1102
 
@@ -1110,5 +1110,5 @@ DESCRIPTION
1110
1110
  tail logs of applications deployed
1111
1111
  ```
1112
1112
 
1113
- _See code: [src/commands/tail.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.5/src/commands/tail.ts)_
1113
+ _See code: [src/commands/tail.ts](https://github.com/liquidmetal-ai/liquidmetal/blob/v0.2.6/src/commands/tail.ts)_
1114
1114
  <!-- commandsstop -->
@@ -11,6 +11,14 @@ import { ServiceIdentity } from './index.js';
11
11
  export type Flags<T extends typeof Command> = Interfaces.InferredFlags<(typeof BaseCommand)['baseFlags'] & T['flags']>;
12
12
  export type Args<T extends typeof Command> = Interfaces.InferredArgs<T['args']>;
13
13
  export declare abstract class BaseCommand<T extends typeof Command> extends Command {
14
+ static HIDDEN_FLAGS: {
15
+ config: Interfaces.OptionFlag<string, Interfaces.CustomOptions>;
16
+ rainbowAuthService: Interfaces.OptionFlag<string, Interfaces.CustomOptions>;
17
+ raindropCatalogService: Interfaces.OptionFlag<string | undefined, Interfaces.CustomOptions>;
18
+ rainbowAuthToken: Interfaces.OptionFlag<string | undefined, Interfaces.CustomOptions>;
19
+ rainbowOrganizationId: Interfaces.OptionFlag<string | undefined, Interfaces.CustomOptions>;
20
+ rainbowUserId: Interfaces.OptionFlag<string | undefined, Interfaces.CustomOptions>;
21
+ };
14
22
  static baseFlags: {};
15
23
  static baseArgs: {};
16
24
  protected flags: Flags<T>;
@@ -1 +1 @@
1
- {"version":3,"file":"base-command.d.ts","sourceRoot":"","sources":["../src/base-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzE,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAEnE,OA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al-ai/drizzle/appify/index';
4
4
  import { RainbowPublicService } from '@liquidmetal-ai/drizzle/liquidmetal/v1alpha1/rainbow_public_connect';
5
5
  import { FRAMEWORK_PACKAGE, getPackageVersion } from '@liquidmetal-ai/drizzle/unsafe/framework';
6
- import { Command } from '@oclif/core';
6
+ import { Command, Flags } from '@oclif/core';
7
7
  import * as fs from 'node:fs/promises';
8
8
  import path from 'node:path';
9
9
  import { loadConfig, saveConfig } from './config.js';
10
10
  import { catalogService, createAuthenticateInterceptor, objectService, rainbowAuthService, searchAgentService, selectedOrganization, } from './index.js';
11
11
  export class BaseCommand extends Command {
12
+ static HIDDEN_FLAGS = {
13
+ config: Flags.string({
14
+ char: 'c',
15
+ description: 'config file',
16
+ required: false,
17
+ hidden: true,
18
+ default: '.raindrop/config.json',
19
+ }),
20
+ rainbowAuthService: Flags.string({
21
+ default: 'https://liquidmetal.run/api/connect',
22
+ hidden: true,
23
+ env: 'LIQUIDMETAL_RAINBOW_AUTH_SERVICE',
24
+ }),
25
+ raindropCatalogService: Flags.string({
26
+ env: 'RAINDROP_CATALOG_SERVICE',
27
+ description: 'URL of the catalog service',
28
+ hidden: true,
29
+ }),
30
+ rainbowAuthToken: Flags.string({
31
+ env: 'RAINBOW_AUTH_TOKEN',
32
+ description: 'Override the Rainbow auth token derived from the CLI config',
33
+ hidden: true,
34
+ }),
35
+ rainbowOrganizationId: Flags.string({
36
+ env: 'RAINBOW_ORGANIZATION_ID',
37
+ description: 'Override the Rainbow organization ID derived from the CLI config',
38
+ hidden: true,
39
+ }),
40
+ rainbowUserId: Flags.string({
41
+ env: 'RAINBOW_USER_ID',
42
+ description: 'Override the Rainbow user ID derived from the CLI config',
43
+ hidden: true,
44
+ }),
45
+ };
12
46
  static baseFlags = {};
13
47
  static baseArgs = {};
14
48
  flags;
package/dist/codegen.js CHANGED
@@ -9,7 +9,7 @@ export const TEMPLATE_INIT = 'init';
9
9
  export const GENERATED_EXTENSION = '.gen';
10
10
  export const HANDLERS_DIR = 'src';
11
11
  export const RAINDROP_TYPES_FILENAME = 'raindrop.gen.ts';
12
- const TEMPLATE_R2_EVENT_NOTIFICATION = path.join('handlers', 'r2-event-notification');
12
+ const TEMPLATE_BUCKET_EVENT_NOTIFICATION = path.join('handlers', 'bucket-event-notification');
13
13
  const TEMPLATE_QUEUE_CONSUMER = path.join('handlers', 'queue-consumer');
14
14
  const TEMPLATE_HTTP_SERVICE = path.join('handlers', 'http-service');
15
15
  const TEMPLATE_ACTOR = path.join('handlers', 'actor');
@@ -96,7 +96,7 @@ export function codegenPlan(apps) {
96
96
  // Technically HCL is allowing multiple sources. This may or may not be something we want to support
97
97
  // for raindrop build, but for now let's codegen only on the first available source
98
98
  const primeSource = observer.source[0];
99
- const templateName = primeSource?.bucket ? TEMPLATE_R2_EVENT_NOTIFICATION : TEMPLATE_QUEUE_CONSUMER;
99
+ const templateName = primeSource?.bucket ? TEMPLATE_BUCKET_EVENT_NOTIFICATION : TEMPLATE_QUEUE_CONSUMER;
100
100
  plan.push({
101
101
  templateName: path.join(TEMPLATES_DIR, templateName),
102
102
  outPath: path.join(HANDLERS_DIR, valueOf(observer.name)),
@@ -30,7 +30,7 @@ test('codegens from app with observer', async () => {
30
30
  `);
31
31
  const plan = codegenPlan(apps);
32
32
  expect(Object.keys(plan)).toHaveLength(2);
33
- expect(plan[1]?.templateName).toMatch('templates/handlers/r2-event-notification');
33
+ expect(plan[1]?.templateName).toMatch('templates/handlers/bucket-event-notification');
34
34
  expect(plan[1]?.outPath).toEqual('src/process');
35
35
  });
36
36
  test('codegens from app with service', async () => {
@@ -8,14 +8,17 @@ export default class Branch extends BaseCommand<typeof Branch> {
8
8
  static flags: {
9
9
  root: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
10
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
11
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
13
12
  versionId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
14
13
  start: import("@oclif/core/interfaces").BooleanFlag<boolean>;
15
14
  impersonate: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
15
+ show: import("@oclif/core/interfaces").BooleanFlag<boolean>;
16
+ config: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
16
17
  rainbowAuthService: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
17
18
  raindropCatalogService: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
18
- show: import("@oclif/core/interfaces").BooleanFlag<boolean>;
19
+ rainbowAuthToken: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
20
+ rainbowOrganizationId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
21
+ rainbowUserId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
19
22
  };
20
23
  run(): Promise<void>;
21
24
  }
@@ -1 +1 @@
1
- {"version":3,"file":"branch.d.ts","sourceRoot":"","sources":["../../../src/commands/build/branch.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGpD,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,WAAW,CAAC,OAAO,MAAM,CAAC;IAC5D,MAAM,CAAC,IAAI;;MAET;IAEF,MAAM,CAAC,WAAW,SAAiD;IAEnE,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,KAAK;;;;;;;;;;;MA4CV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAqH3B"}
1
+ {"version":3,"file":"branch.d.ts","sourceRoot":"","sources":["../../../src/commands/build/branch.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGpD,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,WAAW,CAAC,OAAO,MAAM,CAAC;IAC5D,MAAM,CAAC,IAAI;;MAET;IAEF,MAAM,CAAC,WAAW,SAAiD;IAEnE,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,KAAK;;;;;;;;;;;;;;MA4BV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAqH3B"}
@@ -18,6 +18,7 @@ Created new branch 1234
18
18
  `,
19
19
  ];
20
20
  static flags = {
21
+ ...BaseCommand.HIDDEN_FLAGS,
21
22
  root: Flags.string({ char: 'r', description: 'root directory', required: false, default: process.cwd() }),
22
23
  manifest: Flags.string({
23
24
  char: 'm',
@@ -25,13 +26,6 @@ Created new branch 1234
25
26
  required: false,
26
27
  default: 'raindrop.manifest',
27
28
  }),
28
- config: Flags.string({
29
- char: 'c',
30
- description: 'config file',
31
- required: false,
32
- hidden: true,
33
- default: '.raindrop/config.json',
34
- }),
35
29
  output: Flags.string({ char: 'o', description: 'output directory', required: false, default: 'dist' }),
36
30
  versionId: Flags.string({
37
31
  char: 'p',
@@ -50,16 +44,6 @@ Created new branch 1234
50
44
  required: false,
51
45
  hidden: true,
52
46
  }),
53
- rainbowAuthService: Flags.string({
54
- default: 'https://liquidmetal.run/api/connect',
55
- hidden: true,
56
- env: 'LIQUIDMETAL_RAINBOW_AUTH_SERVICE',
57
- }),
58
- raindropCatalogService: Flags.string({
59
- env: 'RAINDROP_CATALOG_SERVICE',
60
- description: 'URL of the catalog service',
61
- hidden: true,
62
- }),
63
47
  show: Flags.boolean({ description: 'show the current branch', required: false }),
64
48
  };
65
49
  async run() {
@@ -6,10 +6,13 @@ export default class Branch extends BaseCommand<typeof Branch> {
6
6
  static description: string;
7
7
  static examples: string[];
8
8
  static flags: {
9
- config: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
10
9
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
10
+ config: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
11
11
  rainbowAuthService: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
12
12
  raindropCatalogService: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
+ rainbowAuthToken: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
14
+ rainbowOrganizationId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
15
+ rainbowUserId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
16
  };
14
17
  run(): Promise<void>;
15
18
  }
@@ -1 +1 @@
1
- {"version":3,"file":"checkout.d.ts","sourceRoot":"","sources":["../../../src/commands/build/checkout.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,WAAW,CAAC,OAAO,MAAM,CAAC;IAC5D,MAAM,CAAC,IAAI;;MAET;IAEF,MAAM,CAAC,WAAW,SAAsD;IAExE,MAAM,CAAC,QAAQ,WAOb;IAEF,MAAM,CAAC,KAAK;;;;;MAmBV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CA+B3B"}
1
+ {"version":3,"file":"checkout.d.ts","sourceRoot":"","sources":["../../../src/commands/build/checkout.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,WAAW,CAAC,OAAO,MAAM,CAAC;IAC5D,MAAM,CAAC,IAAI;;MAET;IAEF,MAAM,CAAC,WAAW,SAAsD;IAExE,MAAM,CAAC,QAAQ,WAOb;IAEF,MAAM,CAAC,KAAK;;;;;;;;MAGV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CA+B3B"}
@@ -14,24 +14,8 @@ Switched to version: 01jux6z20m4gbhn5kaa4mcm2jr
14
14
  `,
15
15
  ];
16
16
  static flags = {
17
- config: Flags.string({
18
- char: 'c',
19
- description: 'config file',
20
- required: false,
21
- hidden: true,
22
- default: '.raindrop/config.json',
23
- }),
17
+ ...BaseCommand.HIDDEN_FLAGS,
24
18
  output: Flags.string({ char: 'o', description: 'output format', required: false, default: 'text' }),
25
- rainbowAuthService: Flags.string({
26
- default: 'https://liquidmetal.run/api/connect',
27
- hidden: true,
28
- env: 'LIQUIDMETAL_RAINBOW_AUTH_SERVICE',
29
- }),
30
- raindropCatalogService: Flags.string({
31
- env: 'RAINDROP_CATALOG_SERVICE',
32
- description: 'URL of the catalog service',
33
- hidden: true,
34
- }),
35
19
  };
36
20
  async run() {
37
21
  if (['text', 'json'].indexOf(this.flags.output) === -1) {
@@ -8,13 +8,16 @@ export default class Delete extends BaseCommand<typeof Delete> {
8
8
  static flags: {
9
9
  root: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
10
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
11
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
13
12
  version: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
14
13
  all: import("@oclif/core/interfaces").BooleanFlag<boolean>;
15
14
  impersonate: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
15
+ config: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
16
16
  rainbowAuthService: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
17
17
  raindropCatalogService: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
18
+ rainbowAuthToken: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
19
+ rainbowOrganizationId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
20
+ rainbowUserId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
18
21
  };
19
22
  run(): Promise<void>;
20
23
  }
@@ -1 +1 @@
1
- {"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../src/commands/build/delete.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGpD,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,WAAW,CAAC,OAAO,MAAM,CAAC;IAC5D,MAAM,CAAC,IAAI;;MAET;IAEF,MAAM,CAAC,WAAW,SAAkC;IAEpD,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,KAAK;;;;;;;;;;MAiDV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAsD3B"}
1
+ {"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../src/commands/build/delete.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGpD,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,WAAW,CAAC,OAAO,MAAM,CAAC;IAC5D,MAAM,CAAC,IAAI;;MAET;IAEF,MAAM,CAAC,WAAW,SAAkC;IAEpD,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,KAAK;;;;;;;;;;;;;MAiCV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAsD3B"}
@@ -13,6 +13,7 @@ Deleted (application) at version (version)
13
13
  `,
14
14
  ];
15
15
  static flags = {
16
+ ...BaseCommand.HIDDEN_FLAGS,
16
17
  root: Flags.string({ char: 'r', description: 'root directory', required: false, default: process.cwd() }),
17
18
  manifest: Flags.string({
18
19
  char: 'm',
@@ -20,13 +21,6 @@ Deleted (application) at version (version)
20
21
  required: false,
21
22
  default: 'raindrop.manifest',
22
23
  }),
23
- config: Flags.string({
24
- char: 'c',
25
- description: 'config file',
26
- required: false,
27
- hidden: true,
28
- default: '.raindrop/config.json',
29
- }),
30
24
  output: Flags.string({
31
25
  char: 'o',
32
26
  description: 'output format',
@@ -51,16 +45,6 @@ Deleted (application) at version (version)
51
45
  required: false,
52
46
  hidden: true,
53
47
  }),
54
- rainbowAuthService: Flags.string({
55
- default: 'https://liquidmetal.run/api/connect',
56
- hidden: true,
57
- env: 'LIQUIDMETAL_RAINBOW_AUTH_SERVICE',
58
- }),
59
- raindropCatalogService: Flags.string({
60
- env: 'RAINDROP_CATALOG_SERVICE',
61
- description: 'URL of the catalog service',
62
- hidden: true,
63
- }),
64
48
  };
65
49
  async run() {
66
50
  const { client: catalogService, userId, organizationId } = await this.catalogService();
@@ -6,14 +6,17 @@ export default class Deploy extends BaseCommand<typeof Deploy> {
6
6
  static flags: {
7
7
  root: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
8
8
  manifest: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
9
- config: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
10
9
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
11
10
  versionId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
12
11
  impersonate: import("@oclif/core/interfaces").OptionFlag<string | undefined, 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
12
  start: import("@oclif/core/interfaces").BooleanFlag<boolean>;
16
13
  amend: import("@oclif/core/interfaces").BooleanFlag<boolean>;
14
+ config: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
15
+ rainbowAuthService: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
16
+ raindropCatalogService: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
17
+ rainbowAuthToken: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
18
+ rainbowOrganizationId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
19
+ rainbowUserId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
17
20
  };
18
21
  run(): Promise<void>;
19
22
  }
@@ -1 +1 @@
1
- {"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../src/commands/build/deploy.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGpD,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,WAAW,CAAC,OAAO,MAAM,CAAC;IAC5D,MAAM,CAAC,IAAI,KAAM;IAEjB,MAAM,CAAC,WAAW,SAAmC;IAErD,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,KAAK;;;;;;;;;;;MA6CV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CA4H3B"}
1
+ {"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../src/commands/build/deploy.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGpD,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,WAAW,CAAC,OAAO,MAAM,CAAC;IAC5D,MAAM,CAAC,IAAI,KAAM;IAEjB,MAAM,CAAC,WAAW,SAAmC;IAErD,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,KAAK;;;;;;;;;;;;;;MA6BV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CA4H3B"}