@liquidmetal-ai/raindrop 0.0.6 → 0.0.8

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 (48) hide show
  1. package/README.md +62 -46
  2. package/dist/base-command.d.ts.map +1 -1
  3. package/dist/base-command.js +16 -9
  4. package/dist/commands/auth/login.d.ts.map +1 -1
  5. package/dist/commands/auth/login.js +2 -3
  6. package/dist/commands/build/branch.d.ts +3 -2
  7. package/dist/commands/build/branch.d.ts.map +1 -1
  8. package/dist/commands/build/branch.js +14 -5
  9. package/dist/commands/build/delete.d.ts +3 -2
  10. package/dist/commands/build/delete.d.ts.map +1 -1
  11. package/dist/commands/build/delete.js +14 -2
  12. package/dist/commands/build/deploy.d.ts +1 -1
  13. package/dist/commands/build/deploy.d.ts.map +1 -1
  14. package/dist/commands/build/deploy.js +9 -1
  15. package/dist/commands/build/env/get.d.ts.map +1 -1
  16. package/dist/commands/build/env/get.js +9 -3
  17. package/dist/commands/build/env/set.d.ts +3 -2
  18. package/dist/commands/build/env/set.d.ts.map +1 -1
  19. package/dist/commands/build/env/set.js +12 -9
  20. package/dist/commands/build/find.d.ts +3 -2
  21. package/dist/commands/build/find.d.ts.map +1 -1
  22. package/dist/commands/build/find.js +14 -2
  23. package/dist/commands/build/generate.d.ts +1 -0
  24. package/dist/commands/build/generate.d.ts.map +1 -1
  25. package/dist/commands/build/generate.js +14 -2
  26. package/dist/commands/build/list.d.ts.map +1 -1
  27. package/dist/commands/build/list.js +2 -7
  28. package/dist/commands/build/start.d.ts +2 -1
  29. package/dist/commands/build/start.d.ts.map +1 -1
  30. package/dist/commands/build/start.js +8 -1
  31. package/dist/commands/build/stop.d.ts +3 -1
  32. package/dist/commands/build/stop.d.ts.map +1 -1
  33. package/dist/commands/build/stop.js +14 -1
  34. package/dist/commands/build/upload.d.ts.map +1 -1
  35. package/dist/commands/build/upload.js +7 -1
  36. package/dist/commands/build/validate.d.ts +1 -0
  37. package/dist/commands/build/validate.d.ts.map +1 -1
  38. package/dist/commands/build/validate.js +7 -0
  39. package/dist/commands/tail.js +1 -1
  40. package/dist/index.d.ts +29 -6
  41. package/dist/index.d.ts.map +1 -1
  42. package/dist/index.js +56 -43
  43. package/oclif.manifest.json +211 -92
  44. package/package.json +2 -2
  45. package/templates/handlers/actor/index.test.ts +1 -0
  46. package/templates/handlers/http-service/index.test.ts +1 -0
  47. package/templates/handlers/queue-consumer/index.test.ts +1 -0
  48. package/templates/handlers/r2-event-notification/index.test.ts +1 -0
package/dist/index.js CHANGED
@@ -1,6 +1,9 @@
1
1
  import { createPromiseClient } from '@connectrpc/connect';
2
2
  import { createConnectTransport } from '@connectrpc/connect-web';
3
3
  import { mustManifestFromString } from '@liquidmetal-ai/drizzle/appify/index';
4
+ import { CatalogService } from '@liquidmetal-ai/drizzle/liquidmetal/v1alpha1/catalog_connect';
5
+ import { RainbowAuthService } from '@liquidmetal-ai/drizzle/liquidmetal/v1alpha1/rainbow_auth_connect';
6
+ import { RainbowPublicService } from '@liquidmetal-ai/drizzle/liquidmetal/v1alpha1/rainbow_public_connect';
4
7
  import { RaindropState } from '@liquidmetal-ai/drizzle/liquidmetal/v1alpha1/raindrop_pb';
5
8
  import { Mutex } from 'async-mutex';
6
9
  import * as fs from 'node:fs/promises';
@@ -14,13 +17,6 @@ export async function configFromAppFile(appFile) {
14
17
  export function joinPath(...parts) {
15
18
  return parts.join('/').replace(/\/+/g, '/');
16
19
  }
17
- // useClient returns a promise client for the given service at baseUrl.
18
- export function useClient(service, baseUrl) {
19
- const transport = createConnectTransport({
20
- baseUrl,
21
- });
22
- return createPromiseClient(service, transport);
23
- }
24
20
  const accessTokenAndRefreshMutex = new Mutex();
25
21
  // bearerTokenAndRefresh returns an access token for the currently selected
26
22
  // organization based on the raindrop state found in the config directory. If
@@ -57,50 +53,32 @@ async function bearerTokenAndRefresh(configDir, rainbowAuth) {
57
53
  return token;
58
54
  });
59
55
  }
56
+ export async function selectedOrganization(configDir) {
57
+ const state = await readState(configDir);
58
+ if (!state.currentOrganizationId) {
59
+ throw new Error('not logged in');
60
+ }
61
+ const token = state.organizationIdToBearerToken[state.currentOrganizationId];
62
+ if (!token) {
63
+ throw new Error('no credentials set for current organization');
64
+ }
65
+ return {
66
+ catalogServiceBaseUrl: token.catalogServiceBaseUrl,
67
+ organizationId: token.organizationId,
68
+ userId: token.userId,
69
+ };
70
+ }
60
71
  // createAuthenticateInterceptor returns a connect rpc interceptor which ensures
61
72
  // that the user is logged in with an active access token and automatically
62
73
  // refreshes the access tokens when making requests.
63
- async function createAuthenticateInterceptor(service, configDir, rainbowAuth) {
64
- const { userId, organizationId, catalogServiceBaseUrl } = await bearerTokenAndRefresh(configDir, rainbowAuth);
65
- const interceptor = (next) => async (req) => {
74
+ export function createAuthenticateInterceptor(configDir, rainbowAuth) {
75
+ const authenticate = (next) => async (req) => {
66
76
  const { accessToken } = await bearerTokenAndRefresh(configDir, rainbowAuth);
67
77
  req.header.set('Authorization', `Bearer ${accessToken}`);
68
78
  return await next(req);
69
79
  };
70
- let baseUrl = '';
71
- switch (service.typeName) {
72
- case 'liquidmetal.v1alpha1.CatalogService':
73
- baseUrl = catalogServiceBaseUrl;
74
- if (process.env.RAINDROP_CATALOG_API_BASE_URL) {
75
- baseUrl = process.env.RAINDROP_CATALOG_API_BASE_URL;
76
- // Prepend missing protocol if missing
77
- if (!baseUrl.match(/^http(s):\/\//)) {
78
- baseUrl = `https://${baseUrl}`;
79
- }
80
- }
81
- break;
82
- default:
83
- throw new Error(`unable to determine baseUrl for service=${service.typeName}`);
84
- }
85
80
  return {
86
- interceptor,
87
- userId,
88
- organizationId,
89
- baseUrl,
90
- };
91
- }
92
- // createAuthenticatingClient should be used for instantiating any connect rpc
93
- // client that needs to authenticate the requests.
94
- export async function createAuthenticatingClient(service, configDir, rainbowAuth) {
95
- const { interceptor: authenticate, baseUrl, userId, organizationId, } = await createAuthenticateInterceptor(service, configDir, rainbowAuth);
96
- const transport = createConnectTransport({
97
- baseUrl,
98
- interceptors: [authenticate],
99
- });
100
- return {
101
- client: createPromiseClient(service, transport),
102
- userId,
103
- organizationId,
81
+ authenticate,
104
82
  };
105
83
  }
106
84
  const configBasename = 'raindrop.json';
@@ -138,3 +116,38 @@ export async function ensureDirectory(dir) {
138
116
  }
139
117
  }
140
118
  }
119
+ export async function catalogService({ rainbowAuth, configDir, }) {
120
+ const { catalogServiceBaseUrl, organizationId, userId } = await selectedOrganization(configDir);
121
+ const { authenticate } = createAuthenticateInterceptor(configDir, rainbowAuth);
122
+ let baseUrl = catalogServiceBaseUrl;
123
+ if (process.env.RAINDROP_CATALOG_API_BASE_URL) {
124
+ baseUrl = process.env.RAINDROP_CATALOG_API_BASE_URL;
125
+ }
126
+ return {
127
+ client: createPromiseClient(CatalogService, createConnectTransport({
128
+ baseUrl,
129
+ interceptors: [authenticate],
130
+ })),
131
+ userId,
132
+ organizationId,
133
+ };
134
+ }
135
+ export async function rainbowAuthService(baseUrl) {
136
+ return {
137
+ client: createPromiseClient(RainbowAuthService, createConnectTransport({
138
+ baseUrl,
139
+ })),
140
+ };
141
+ }
142
+ export async function rainbowPublicService({ baseUrl, configDir, rainbowAuth, }) {
143
+ const { organizationId, userId } = await selectedOrganization(configDir);
144
+ const { authenticate } = createAuthenticateInterceptor(configDir, rainbowAuth);
145
+ return {
146
+ client: createPromiseClient(RainbowPublicService, createConnectTransport({
147
+ baseUrl,
148
+ interceptors: [authenticate],
149
+ })),
150
+ organizationId,
151
+ userId,
152
+ };
153
+ }
@@ -174,6 +174,37 @@
174
174
  "<%= config.bin %> <%= command.id %> .\nCreated new branch 1234\n"
175
175
  ],
176
176
  "flags": {
177
+ "root": {
178
+ "char": "r",
179
+ "description": "root directory",
180
+ "name": "root",
181
+ "required": false,
182
+ "default": "/Users/bosgood/dev/src/github.com/LiquidMetal-AI/liquidmetal/packages/raindrop",
183
+ "hasDynamicHelp": false,
184
+ "multiple": false,
185
+ "type": "option"
186
+ },
187
+ "manifest": {
188
+ "char": "m",
189
+ "description": "project manifest",
190
+ "name": "manifest",
191
+ "required": false,
192
+ "default": "raindrop.manifest",
193
+ "hasDynamicHelp": false,
194
+ "multiple": false,
195
+ "type": "option"
196
+ },
197
+ "config": {
198
+ "char": "c",
199
+ "description": "config file",
200
+ "hidden": true,
201
+ "name": "config",
202
+ "required": false,
203
+ "default": ".raindrop/config.json",
204
+ "hasDynamicHelp": false,
205
+ "multiple": false,
206
+ "type": "option"
207
+ },
177
208
  "previousVersionId": {
178
209
  "aliases": [
179
210
  "prev"
@@ -220,22 +251,6 @@
220
251
  "multiple": false,
221
252
  "type": "option"
222
253
  },
223
- "config": {
224
- "hidden": true,
225
- "name": "config",
226
- "default": ".raindrop/config.json",
227
- "hasDynamicHelp": false,
228
- "multiple": false,
229
- "type": "option"
230
- },
231
- "manifest": {
232
- "description": "project manifest",
233
- "name": "manifest",
234
- "default": "raindrop.manifest",
235
- "hasDynamicHelp": false,
236
- "multiple": false,
237
- "type": "option"
238
- },
239
254
  "show": {
240
255
  "description": "show the current branch",
241
256
  "name": "show",
@@ -274,6 +289,37 @@
274
289
  "<%= config.bin %> <%= command.id %> .\nDeleted (application) at version (version)\n"
275
290
  ],
276
291
  "flags": {
292
+ "root": {
293
+ "char": "r",
294
+ "description": "root directory",
295
+ "name": "root",
296
+ "required": false,
297
+ "default": "/Users/bosgood/dev/src/github.com/LiquidMetal-AI/liquidmetal/packages/raindrop",
298
+ "hasDynamicHelp": false,
299
+ "multiple": false,
300
+ "type": "option"
301
+ },
302
+ "manifest": {
303
+ "char": "m",
304
+ "description": "project manifest",
305
+ "name": "manifest",
306
+ "required": false,
307
+ "default": "raindrop.manifest",
308
+ "hasDynamicHelp": false,
309
+ "multiple": false,
310
+ "type": "option"
311
+ },
312
+ "config": {
313
+ "char": "c",
314
+ "description": "config file",
315
+ "hidden": true,
316
+ "name": "config",
317
+ "required": false,
318
+ "default": ".raindrop/config.json",
319
+ "hasDynamicHelp": false,
320
+ "multiple": false,
321
+ "type": "option"
322
+ },
277
323
  "output": {
278
324
  "char": "o",
279
325
  "description": "output format",
@@ -329,22 +375,6 @@
329
375
  "hasDynamicHelp": false,
330
376
  "multiple": false,
331
377
  "type": "option"
332
- },
333
- "manifest": {
334
- "description": "project manifest",
335
- "name": "manifest",
336
- "default": "raindrop.manifest",
337
- "hasDynamicHelp": false,
338
- "multiple": false,
339
- "type": "option"
340
- },
341
- "config": {
342
- "hidden": true,
343
- "name": "config",
344
- "default": ".raindrop/config.json",
345
- "hasDynamicHelp": false,
346
- "multiple": false,
347
- "type": "option"
348
378
  }
349
379
  },
350
380
  "hasDynamicHelp": false,
@@ -376,7 +406,7 @@
376
406
  "description": "root directory",
377
407
  "name": "root",
378
408
  "required": false,
379
- "default": "/Users/ian/liquidmetal/packages/raindrop",
409
+ "default": "/Users/bosgood/dev/src/github.com/LiquidMetal-AI/liquidmetal/packages/raindrop",
380
410
  "hasDynamicHelp": false,
381
411
  "multiple": false,
382
412
  "type": "option"
@@ -391,6 +421,17 @@
391
421
  "multiple": false,
392
422
  "type": "option"
393
423
  },
424
+ "config": {
425
+ "char": "c",
426
+ "description": "config file",
427
+ "hidden": true,
428
+ "name": "config",
429
+ "required": false,
430
+ "default": ".raindrop/config.json",
431
+ "hasDynamicHelp": false,
432
+ "multiple": false,
433
+ "type": "option"
434
+ },
394
435
  "output": {
395
436
  "char": "o",
396
437
  "description": "output directory",
@@ -440,14 +481,6 @@
440
481
  "allowNo": false,
441
482
  "type": "boolean"
442
483
  },
443
- "config": {
444
- "hidden": true,
445
- "name": "config",
446
- "default": ".raindrop/config.json",
447
- "hasDynamicHelp": false,
448
- "multiple": false,
449
- "type": "option"
450
- },
451
484
  "amend": {
452
485
  "char": "a",
453
486
  "description": "amend an existing application",
@@ -481,6 +514,37 @@
481
514
  "<%= config.bin %> <%= command.id %> .\n"
482
515
  ],
483
516
  "flags": {
517
+ "root": {
518
+ "char": "r",
519
+ "description": "root directory",
520
+ "name": "root",
521
+ "required": false,
522
+ "default": "/Users/bosgood/dev/src/github.com/LiquidMetal-AI/liquidmetal/packages/raindrop",
523
+ "hasDynamicHelp": false,
524
+ "multiple": false,
525
+ "type": "option"
526
+ },
527
+ "manifest": {
528
+ "char": "m",
529
+ "description": "project manifest",
530
+ "name": "manifest",
531
+ "required": false,
532
+ "default": "raindrop.manifest",
533
+ "hasDynamicHelp": false,
534
+ "multiple": false,
535
+ "type": "option"
536
+ },
537
+ "config": {
538
+ "char": "c",
539
+ "description": "config file",
540
+ "hidden": true,
541
+ "name": "config",
542
+ "required": false,
543
+ "default": ".raindrop/config.json",
544
+ "hasDynamicHelp": false,
545
+ "multiple": false,
546
+ "type": "option"
547
+ },
484
548
  "application": {
485
549
  "char": "a",
486
550
  "description": "application",
@@ -540,22 +604,6 @@
540
604
  "hasDynamicHelp": false,
541
605
  "multiple": false,
542
606
  "type": "option"
543
- },
544
- "manifest": {
545
- "description": "project manifest",
546
- "name": "manifest",
547
- "default": "raindrop.manifest",
548
- "hasDynamicHelp": false,
549
- "multiple": false,
550
- "type": "option"
551
- },
552
- "config": {
553
- "hidden": true,
554
- "name": "config",
555
- "default": ".raindrop/config.json",
556
- "hasDynamicHelp": false,
557
- "multiple": false,
558
- "type": "option"
559
607
  }
560
608
  },
561
609
  "hasDynamicHelp": false,
@@ -586,20 +634,33 @@
586
634
  "char": "r",
587
635
  "description": "root directory",
588
636
  "name": "root",
589
- "default": "/Users/ian/liquidmetal/packages/raindrop",
637
+ "required": false,
638
+ "default": "/Users/bosgood/dev/src/github.com/LiquidMetal-AI/liquidmetal/packages/raindrop",
590
639
  "hasDynamicHelp": false,
591
640
  "multiple": false,
592
641
  "type": "option"
593
642
  },
594
643
  "manifest": {
595
644
  "char": "m",
596
- "description": "manifest file",
645
+ "description": "project manifest",
597
646
  "name": "manifest",
647
+ "required": false,
598
648
  "default": "raindrop.manifest",
599
649
  "hasDynamicHelp": false,
600
650
  "multiple": false,
601
651
  "type": "option"
602
652
  },
653
+ "config": {
654
+ "char": "c",
655
+ "description": "config file",
656
+ "hidden": true,
657
+ "name": "config",
658
+ "required": false,
659
+ "default": ".raindrop/config.json",
660
+ "hasDynamicHelp": false,
661
+ "multiple": false,
662
+ "type": "option"
663
+ },
603
664
  "output": {
604
665
  "char": "o",
605
666
  "description": "output directory",
@@ -812,12 +873,12 @@
812
873
  "<%= config.bin %> <%= command.id %> .\nStart a Raindrop application.\n"
813
874
  ],
814
875
  "flags": {
815
- "config": {
816
- "char": "c",
817
- "description": "config file",
818
- "name": "config",
876
+ "root": {
877
+ "char": "r",
878
+ "description": "root directory",
879
+ "name": "root",
819
880
  "required": false,
820
- "default": ".raindrop/config.json",
881
+ "default": "/Users/bosgood/dev/src/github.com/LiquidMetal-AI/liquidmetal/packages/raindrop",
821
882
  "hasDynamicHelp": false,
822
883
  "multiple": false,
823
884
  "type": "option"
@@ -832,6 +893,17 @@
832
893
  "multiple": false,
833
894
  "type": "option"
834
895
  },
896
+ "config": {
897
+ "char": "c",
898
+ "description": "config file",
899
+ "hidden": true,
900
+ "name": "config",
901
+ "required": false,
902
+ "default": ".raindrop/config.json",
903
+ "hasDynamicHelp": false,
904
+ "multiple": false,
905
+ "type": "option"
906
+ },
835
907
  "application": {
836
908
  "char": "a",
837
909
  "description": "application to start",
@@ -894,6 +966,37 @@
894
966
  "<%= config.bin %> <%= command.id %> .\nStop a Raindrop application.\n"
895
967
  ],
896
968
  "flags": {
969
+ "root": {
970
+ "char": "r",
971
+ "description": "root directory",
972
+ "name": "root",
973
+ "required": false,
974
+ "default": "/Users/bosgood/dev/src/github.com/LiquidMetal-AI/liquidmetal/packages/raindrop",
975
+ "hasDynamicHelp": false,
976
+ "multiple": false,
977
+ "type": "option"
978
+ },
979
+ "manifest": {
980
+ "char": "m",
981
+ "description": "project manifest",
982
+ "name": "manifest",
983
+ "required": false,
984
+ "default": "raindrop.manifest",
985
+ "hasDynamicHelp": false,
986
+ "multiple": false,
987
+ "type": "option"
988
+ },
989
+ "config": {
990
+ "char": "c",
991
+ "description": "config file",
992
+ "hidden": true,
993
+ "name": "config",
994
+ "required": false,
995
+ "default": ".raindrop/config.json",
996
+ "hasDynamicHelp": false,
997
+ "multiple": false,
998
+ "type": "option"
999
+ },
897
1000
  "application": {
898
1001
  "char": "a",
899
1002
  "description": "application to stop",
@@ -930,14 +1033,6 @@
930
1033
  "hasDynamicHelp": false,
931
1034
  "multiple": false,
932
1035
  "type": "option"
933
- },
934
- "config": {
935
- "hidden": true,
936
- "name": "config",
937
- "default": ".raindrop/config.json",
938
- "hasDynamicHelp": false,
939
- "multiple": false,
940
- "type": "option"
941
1036
  }
942
1037
  },
943
1038
  "hasDynamicHelp": false,
@@ -1057,7 +1152,7 @@
1057
1152
  "description": "root directory",
1058
1153
  "name": "root",
1059
1154
  "required": false,
1060
- "default": "/Users/ian/liquidmetal/packages/raindrop",
1155
+ "default": "/Users/bosgood/dev/src/github.com/LiquidMetal-AI/liquidmetal/packages/raindrop",
1061
1156
  "hasDynamicHelp": false,
1062
1157
  "multiple": false,
1063
1158
  "type": "option"
@@ -1075,6 +1170,7 @@
1075
1170
  "config": {
1076
1171
  "char": "c",
1077
1172
  "description": "config file",
1173
+ "hidden": true,
1078
1174
  "name": "config",
1079
1175
  "required": false,
1080
1176
  "default": ".raindrop/config.json",
@@ -1150,7 +1246,7 @@
1150
1246
  "description": "root directory",
1151
1247
  "name": "root",
1152
1248
  "required": false,
1153
- "default": "/Users/ian/liquidmetal/packages/raindrop",
1249
+ "default": "/Users/bosgood/dev/src/github.com/LiquidMetal-AI/liquidmetal/packages/raindrop",
1154
1250
  "hasDynamicHelp": false,
1155
1251
  "multiple": false,
1156
1252
  "type": "option"
@@ -1165,6 +1261,17 @@
1165
1261
  "multiple": false,
1166
1262
  "type": "option"
1167
1263
  },
1264
+ "config": {
1265
+ "char": "c",
1266
+ "description": "config file",
1267
+ "hidden": true,
1268
+ "name": "config",
1269
+ "required": false,
1270
+ "default": ".raindrop/config.json",
1271
+ "hasDynamicHelp": false,
1272
+ "multiple": false,
1273
+ "type": "option"
1274
+ },
1168
1275
  "output": {
1169
1276
  "char": "o",
1170
1277
  "description": "output directory",
@@ -1268,6 +1375,7 @@
1268
1375
  "config": {
1269
1376
  "char": "c",
1270
1377
  "description": "config file",
1378
+ "hidden": true,
1271
1379
  "name": "config",
1272
1380
  "required": false,
1273
1381
  "default": ".raindrop/config.json",
@@ -1312,11 +1420,12 @@
1312
1420
  "<%= config.bin %> <%= command.id %> .\nsets an env var/secret.\n"
1313
1421
  ],
1314
1422
  "flags": {
1315
- "output": {
1316
- "char": "o",
1317
- "description": "output format",
1318
- "name": "output",
1319
- "default": "table",
1423
+ "root": {
1424
+ "char": "r",
1425
+ "description": "root directory",
1426
+ "name": "root",
1427
+ "required": false,
1428
+ "default": "/Users/bosgood/dev/src/github.com/LiquidMetal-AI/liquidmetal/packages/raindrop",
1320
1429
  "hasDynamicHelp": false,
1321
1430
  "multiple": false,
1322
1431
  "type": "option"
@@ -1331,6 +1440,26 @@
1331
1440
  "multiple": false,
1332
1441
  "type": "option"
1333
1442
  },
1443
+ "config": {
1444
+ "char": "c",
1445
+ "description": "config file",
1446
+ "hidden": true,
1447
+ "name": "config",
1448
+ "required": false,
1449
+ "default": ".raindrop/config.json",
1450
+ "hasDynamicHelp": false,
1451
+ "multiple": false,
1452
+ "type": "option"
1453
+ },
1454
+ "output": {
1455
+ "char": "o",
1456
+ "description": "output format",
1457
+ "name": "output",
1458
+ "default": "table",
1459
+ "hasDynamicHelp": false,
1460
+ "multiple": false,
1461
+ "type": "option"
1462
+ },
1334
1463
  "versionId": {
1335
1464
  "aliases": [
1336
1465
  "version"
@@ -1370,16 +1499,6 @@
1370
1499
  "hasDynamicHelp": false,
1371
1500
  "multiple": false,
1372
1501
  "type": "option"
1373
- },
1374
- "config": {
1375
- "char": "c",
1376
- "description": "config file",
1377
- "name": "config",
1378
- "required": false,
1379
- "default": ".raindrop/config.json",
1380
- "hasDynamicHelp": false,
1381
- "multiple": false,
1382
- "type": "option"
1383
1502
  }
1384
1503
  },
1385
1504
  "hasDynamicHelp": false,
@@ -1412,7 +1531,7 @@
1412
1531
  "description": "root directory",
1413
1532
  "name": "root",
1414
1533
  "required": false,
1415
- "default": "/Users/ian/liquidmetal/packages/raindrop",
1534
+ "default": "/Users/bosgood/dev/src/github.com/LiquidMetal-AI/liquidmetal/packages/raindrop",
1416
1535
  "hasDynamicHelp": false,
1417
1536
  "multiple": false,
1418
1537
  "type": "option"
@@ -1458,7 +1577,7 @@
1458
1577
  "description": "root directory",
1459
1578
  "name": "root",
1460
1579
  "required": false,
1461
- "default": "/Users/ian/liquidmetal/packages/raindrop",
1580
+ "default": "/Users/bosgood/dev/src/github.com/LiquidMetal-AI/liquidmetal/packages/raindrop",
1462
1581
  "hasDynamicHelp": false,
1463
1582
  "multiple": false,
1464
1583
  "type": "option"
@@ -1492,5 +1611,5 @@
1492
1611
  ]
1493
1612
  }
1494
1613
  },
1495
- "version": "0.0.6"
1614
+ "version": "0.0.8"
1496
1615
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@liquidmetal-ai/raindrop",
3
3
  "description": "CLI for the Raindrop platform",
4
- "version": "0.0.6",
4
+ "version": "0.0.8",
5
5
  "author": "bosgood",
6
6
  "bin": {
7
7
  "raindrop": "./bin/run.js"
@@ -106,4 +106,4 @@
106
106
  "types": "./dist/*.d.ts"
107
107
  }
108
108
  }
109
- }
109
+ }
@@ -1,3 +1,4 @@
1
+ import '@liquidmetal-ai/raindrop-framework/testing';
1
2
  import { expect, test } from 'vitest';
2
3
 
3
4
  test('dummy test', async () => {
@@ -1,3 +1,4 @@
1
+ import '@liquidmetal-ai/raindrop-framework/testing';
1
2
  import { expect, test } from 'vitest';
2
3
 
3
4
  test('dummy test', async () => {
@@ -1,3 +1,4 @@
1
+ import '@liquidmetal-ai/raindrop-framework/testing';
1
2
  import { expect, test } from 'vitest';
2
3
 
3
4
  test('dummy test', async () => {
@@ -1,3 +1,4 @@
1
+ import '@liquidmetal-ai/raindrop-framework/testing';
1
2
  import { expect, test } from 'vitest';
2
3
 
3
4
  test('dummy test', async () => {