@liquidmetal-ai/raindrop 0.2.4 → 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.
- package/README.md +39 -39
- package/dist/base-command.d.ts +8 -0
- package/dist/base-command.d.ts.map +1 -1
- package/dist/base-command.js +35 -1
- package/dist/codegen.js +2 -2
- package/dist/codegen.test.js +1 -1
- package/dist/commands/build/branch.d.ts +5 -2
- package/dist/commands/build/branch.d.ts.map +1 -1
- package/dist/commands/build/branch.js +1 -17
- package/dist/commands/build/checkout.d.ts +4 -1
- package/dist/commands/build/checkout.d.ts.map +1 -1
- package/dist/commands/build/checkout.js +1 -17
- package/dist/commands/build/delete.d.ts +4 -1
- package/dist/commands/build/delete.d.ts.map +1 -1
- package/dist/commands/build/delete.js +1 -17
- package/dist/commands/build/deploy.d.ts +6 -3
- package/dist/commands/build/deploy.d.ts.map +1 -1
- package/dist/commands/build/deploy.js +1 -17
- package/dist/commands/build/env/get.d.ts +5 -2
- package/dist/commands/build/env/get.d.ts.map +1 -1
- package/dist/commands/build/env/get.js +1 -17
- package/dist/commands/build/env/set.d.ts +4 -1
- package/dist/commands/build/env/set.d.ts.map +1 -1
- package/dist/commands/build/env/set.js +1 -17
- package/dist/commands/build/find.d.ts +4 -1
- package/dist/commands/build/find.d.ts.map +1 -1
- package/dist/commands/build/find.js +2 -25
- package/dist/commands/build/list.d.ts +4 -0
- package/dist/commands/build/list.d.ts.map +1 -1
- package/dist/commands/build/list.js +10 -18
- package/dist/commands/build/sandbox.d.ts +5 -2
- package/dist/commands/build/sandbox.d.ts.map +1 -1
- package/dist/commands/build/sandbox.js +1 -14
- package/dist/commands/build/start.d.ts +4 -1
- package/dist/commands/build/start.d.ts.map +1 -1
- package/dist/commands/build/start.js +1 -17
- package/dist/commands/build/status.d.ts +7 -2
- package/dist/commands/build/status.d.ts.map +1 -1
- package/dist/commands/build/status.js +64 -30
- package/dist/commands/build/stop.d.ts +4 -1
- package/dist/commands/build/stop.d.ts.map +1 -1
- package/dist/commands/build/stop.js +2 -18
- package/dist/commands/build/unsandbox.d.ts +5 -2
- package/dist/commands/build/unsandbox.d.ts.map +1 -1
- package/dist/commands/build/unsandbox.js +2 -15
- package/dist/commands/build/upload.d.ts +4 -1
- package/dist/commands/build/upload.d.ts.map +1 -1
- package/dist/commands/build/upload.js +1 -17
- package/dist/commands/object/delete.d.ts +4 -0
- package/dist/commands/object/delete.d.ts.map +1 -1
- package/dist/commands/object/delete.js +1 -10
- package/dist/commands/object/get.d.ts +4 -0
- package/dist/commands/object/get.d.ts.map +1 -1
- package/dist/commands/object/get.js +1 -10
- package/dist/commands/object/list.d.ts +4 -0
- package/dist/commands/object/list.d.ts.map +1 -1
- package/dist/commands/object/list.js +2 -11
- package/dist/commands/object/put.d.ts +4 -0
- package/dist/commands/object/put.d.ts.map +1 -1
- package/dist/commands/object/put.js +1 -10
- package/dist/commands/query/chunk-search.d.ts +4 -0
- package/dist/commands/query/chunk-search.d.ts.map +1 -1
- package/dist/commands/query/chunk-search.js +1 -10
- package/dist/commands/query/register-retriever.d.ts +7 -2
- package/dist/commands/query/register-retriever.d.ts.map +1 -1
- package/dist/commands/query/register-retriever.js +6 -10
- package/dist/commands/query/search.d.ts +4 -0
- package/dist/commands/query/search.d.ts.map +1 -1
- package/dist/commands/query/search.js +1 -10
- package/dist/index.d.ts +12 -32
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +23 -40
- package/oclif.manifest.json +3411 -1129
- package/package.json +3 -1
- package/templates/handlers/{r2-event-notification → bucket-event-notification}/index.ts.hbs +5 -1
- package/templates/handlers/queue-consumer/index.ts.hbs +1 -1
- package/templates/init/package.json.hbs +1 -1
- /package/templates/handlers/{r2-event-notification → bucket-event-notification}/index.test.ts +0 -0
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { valueOf } from '@liquidmetal-ai/drizzle/appify/build';
|
|
2
2
|
import { UnitState } from '@liquidmetal-ai/drizzle/liquidmetal/v1alpha1/catalog_pb';
|
|
3
|
-
import { Flags } from '@oclif/core';
|
|
3
|
+
import { Flags, ux } from '@oclif/core';
|
|
4
4
|
import Table from 'cli-table3';
|
|
5
|
+
import * as readline from 'readline';
|
|
5
6
|
import { BaseCommand } from '../../base-command.js';
|
|
6
7
|
export const statusString = {
|
|
7
8
|
[UnitState.UNSPECIFIED]: '<unknown>',
|
|
@@ -21,6 +22,7 @@ export default class Status extends BaseCommand {
|
|
|
21
22
|
`,
|
|
22
23
|
];
|
|
23
24
|
static flags = {
|
|
25
|
+
...BaseCommand.HIDDEN_FLAGS,
|
|
24
26
|
root: Flags.string({ char: 'r', description: 'root directory', required: false, default: process.cwd() }),
|
|
25
27
|
manifest: Flags.string({
|
|
26
28
|
char: 'm',
|
|
@@ -28,13 +30,6 @@ export default class Status extends BaseCommand {
|
|
|
28
30
|
required: false,
|
|
29
31
|
default: 'raindrop.manifest',
|
|
30
32
|
}),
|
|
31
|
-
config: Flags.string({
|
|
32
|
-
char: 'c',
|
|
33
|
-
description: 'config file',
|
|
34
|
-
required: false,
|
|
35
|
-
hidden: true,
|
|
36
|
-
default: '.raindrop/config.json',
|
|
37
|
-
}),
|
|
38
33
|
application: Flags.string({
|
|
39
34
|
char: 'a',
|
|
40
35
|
description: 'application',
|
|
@@ -49,7 +44,7 @@ export default class Status extends BaseCommand {
|
|
|
49
44
|
char: 'o',
|
|
50
45
|
description: 'output format',
|
|
51
46
|
default: 'table',
|
|
52
|
-
options: ['
|
|
47
|
+
options: ['watch', 'table', 'json'],
|
|
53
48
|
}),
|
|
54
49
|
sudo: Flags.boolean({
|
|
55
50
|
char: 's',
|
|
@@ -64,16 +59,6 @@ export default class Status extends BaseCommand {
|
|
|
64
59
|
required: false,
|
|
65
60
|
hidden: true,
|
|
66
61
|
}),
|
|
67
|
-
rainbowAuthService: Flags.string({
|
|
68
|
-
default: 'https://liquidmetal.run/api/connect',
|
|
69
|
-
hidden: true,
|
|
70
|
-
env: 'LIQUIDMETAL_RAINBOW_AUTH_SERVICE',
|
|
71
|
-
}),
|
|
72
|
-
raindropCatalogService: Flags.string({
|
|
73
|
-
env: 'RAINDROP_CATALOG_SERVICE',
|
|
74
|
-
description: 'URL of the catalog service',
|
|
75
|
-
hidden: true,
|
|
76
|
-
}),
|
|
77
62
|
};
|
|
78
63
|
async run() {
|
|
79
64
|
const { flags } = await this.parse(Status);
|
|
@@ -100,16 +85,65 @@ export default class Status extends BaseCommand {
|
|
|
100
85
|
if (applicationStatus === undefined) {
|
|
101
86
|
this.error(`Application ${flags.application} not found`, { exit: 1 });
|
|
102
87
|
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
module
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
88
|
+
if (flags.output === 'table') {
|
|
89
|
+
// Display the status of each module in the application using console.table
|
|
90
|
+
const statusTable = applicationStatus.modules.map((module) => ({
|
|
91
|
+
module: module.name,
|
|
92
|
+
status: statusString[module.state],
|
|
93
|
+
urls: module.urls.join(', '),
|
|
94
|
+
}));
|
|
95
|
+
const table = new Table({
|
|
96
|
+
head: ['Module', 'Status', 'URLs'],
|
|
97
|
+
});
|
|
98
|
+
table.push(...statusTable.map((row) => [row.module, row.status, row.urls]));
|
|
99
|
+
this.log(table.toString());
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
if (flags.output === 'json') {
|
|
103
|
+
this.log(JSON.stringify(applicationStatus, null, 2));
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
let watchStatus = applicationStatus;
|
|
107
|
+
if (flags.output === 'watch') {
|
|
108
|
+
while (true) {
|
|
109
|
+
await this.renderLive(watchStatus);
|
|
110
|
+
if (watchStatus.state === UnitState.RUNNING || watchStatus.state === UnitState.STOPPED) {
|
|
111
|
+
break;
|
|
112
|
+
}
|
|
113
|
+
await new Promise((resolve) => setTimeout(resolve, 1000));
|
|
114
|
+
watchStatus = await catalogService.status({
|
|
115
|
+
userId,
|
|
116
|
+
organizationId,
|
|
117
|
+
applicationName: flags.application,
|
|
118
|
+
currentVersionId: flags.version,
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
linesLastRendered = 0;
|
|
124
|
+
async renderLive(status) {
|
|
125
|
+
if (this.linesLastRendered > 0) {
|
|
126
|
+
readline.moveCursor(process.stdout, 0, -this.linesLastRendered);
|
|
127
|
+
readline.clearScreenDown(process.stdout);
|
|
128
|
+
}
|
|
129
|
+
const lines = [];
|
|
130
|
+
const statusStateString = (state) => ux.colorize({
|
|
131
|
+
[UnitState.UNSPECIFIED]: 'gray',
|
|
132
|
+
[UnitState.PENDING]: 'gray',
|
|
133
|
+
[UnitState.STARTING]: 'yellow',
|
|
134
|
+
[UnitState.RUNNING]: 'green',
|
|
135
|
+
[UnitState.STOPPING]: 'yellow',
|
|
136
|
+
[UnitState.STOPPED]: 'red',
|
|
137
|
+
[UnitState.DELETING]: 'gray',
|
|
138
|
+
[UnitState.DELETED]: 'gray',
|
|
139
|
+
}[state], statusString[state]);
|
|
140
|
+
for (const module of status.modules) {
|
|
141
|
+
const padding = ' '.repeat(32 - module.name.length);
|
|
142
|
+
lines.push(`${padding}${module.name}: ${statusStateString(module.state)} ${module.urls.join(', ')}`);
|
|
143
|
+
}
|
|
144
|
+
for (const line of lines) {
|
|
145
|
+
this.log(line);
|
|
146
|
+
}
|
|
147
|
+
this.linesLastRendered = lines.length;
|
|
114
148
|
}
|
|
115
149
|
}
|
|
@@ -6,12 +6,15 @@ export default class Stop extends BaseCommand<typeof Stop> {
|
|
|
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
|
application: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
10
|
version: 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>;
|
|
12
|
+
config: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
13
13
|
rainbowAuthService: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
14
14
|
raindropCatalogService: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
15
|
+
rainbowAuthToken: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
16
|
+
rainbowOrganizationId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
17
|
+
rainbowUserId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
15
18
|
};
|
|
16
19
|
run(): Promise<void>;
|
|
17
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stop.d.ts","sourceRoot":"","sources":["../../../src/commands/build/stop.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,WAAW,CAAC,OAAO,IAAI,CAAC;IACxD,MAAM,CAAC,IAAI,KAAM;IAEjB,MAAM,CAAC,WAAW,SAAiC;IAEnD,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,KAAK
|
|
1
|
+
{"version":3,"file":"stop.d.ts","sourceRoot":"","sources":["../../../src/commands/build/stop.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,WAAW,CAAC,OAAO,IAAI,CAAC;IACxD,MAAM,CAAC,IAAI,KAAM;IAEjB,MAAM,CAAC,WAAW,SAAiC;IAEnD,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,KAAK;;;;;;;;;;;;MAyBV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CA2B3B"}
|
|
@@ -10,6 +10,7 @@ Stop a Raindrop application.
|
|
|
10
10
|
`,
|
|
11
11
|
];
|
|
12
12
|
static flags = {
|
|
13
|
+
...BaseCommand.HIDDEN_FLAGS,
|
|
13
14
|
root: Flags.string({ char: 'r', description: 'root directory', required: false, default: process.cwd() }),
|
|
14
15
|
manifest: Flags.string({
|
|
15
16
|
char: 'm',
|
|
@@ -17,13 +18,6 @@ Stop a Raindrop application.
|
|
|
17
18
|
required: false,
|
|
18
19
|
default: 'raindrop.manifest',
|
|
19
20
|
}),
|
|
20
|
-
config: Flags.string({
|
|
21
|
-
char: 'c',
|
|
22
|
-
description: 'config file',
|
|
23
|
-
required: false,
|
|
24
|
-
hidden: true,
|
|
25
|
-
default: '.raindrop/config.json',
|
|
26
|
-
}),
|
|
27
21
|
application: Flags.string({
|
|
28
22
|
char: 'a',
|
|
29
23
|
description: 'application to stop',
|
|
@@ -40,16 +34,6 @@ Stop a Raindrop application.
|
|
|
40
34
|
required: false,
|
|
41
35
|
hidden: true,
|
|
42
36
|
}),
|
|
43
|
-
rainbowAuthService: Flags.string({
|
|
44
|
-
default: 'https://liquidmetal.run/api/connect',
|
|
45
|
-
hidden: true,
|
|
46
|
-
env: 'LIQUIDMETAL_RAINBOW_AUTH_SERVICE',
|
|
47
|
-
}),
|
|
48
|
-
raindropCatalogService: Flags.string({
|
|
49
|
-
env: 'RAINDROP_CATALOG_SERVICE',
|
|
50
|
-
description: 'URL of the catalog service',
|
|
51
|
-
hidden: true,
|
|
52
|
-
}),
|
|
53
37
|
};
|
|
54
38
|
async run() {
|
|
55
39
|
const { client: catalogService, userId, organizationId: defaultOrganizationId } = await this.catalogService();
|
|
@@ -76,6 +60,6 @@ Stop a Raindrop application.
|
|
|
76
60
|
},
|
|
77
61
|
],
|
|
78
62
|
});
|
|
79
|
-
this.log(`Set ${applicationName}@${currentVersionId} as
|
|
63
|
+
this.log(`Set ${applicationName}@${currentVersionId} as stopped.`);
|
|
80
64
|
}
|
|
81
65
|
}
|
|
@@ -7,10 +7,13 @@ export default class Unsandbox extends BaseCommand<typeof Unsandbox> {
|
|
|
7
7
|
static examples: string[];
|
|
8
8
|
static flags: {
|
|
9
9
|
impersonate: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
10
|
+
manifest: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
|
+
config: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
10
12
|
rainbowAuthService: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
13
|
raindropCatalogService: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
+
rainbowAuthToken: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
15
|
+
rainbowOrganizationId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
16
|
+
rainbowUserId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
14
17
|
};
|
|
15
18
|
run(): Promise<void>;
|
|
16
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unsandbox.d.ts","sourceRoot":"","sources":["../../../src/commands/build/unsandbox.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,WAAW,CAAC,OAAO,SAAS,CAAC;IAClE,MAAM,CAAC,IAAI;;MAET;IAEF,MAAM,CAAC,WAAW,SAA2D;IAE7E,MAAM,CAAC,QAAQ,WAGb;IAEF,MAAM,CAAC,KAAK
|
|
1
|
+
{"version":3,"file":"unsandbox.d.ts","sourceRoot":"","sources":["../../../src/commands/build/unsandbox.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,WAAW,CAAC,OAAO,SAAS,CAAC;IAClE,MAAM,CAAC,IAAI;;MAET;IAEF,MAAM,CAAC,WAAW,SAA2D;IAE7E,MAAM,CAAC,QAAQ,WAGb;IAEF,MAAM,CAAC,KAAK;;;;;;;;;MASV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAuB3B"}
|
|
@@ -11,26 +11,13 @@ export default class Unsandbox extends BaseCommand {
|
|
|
11
11
|
`,
|
|
12
12
|
];
|
|
13
13
|
static flags = {
|
|
14
|
+
...BaseCommand.HIDDEN_FLAGS,
|
|
14
15
|
impersonate: Flags.string({
|
|
15
16
|
char: 'i',
|
|
16
17
|
description: 'impersonate organization',
|
|
17
18
|
required: false,
|
|
18
19
|
hidden: true,
|
|
19
20
|
}),
|
|
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
|
-
config: Flags.string({
|
|
31
|
-
default: '.raindrop/config.json',
|
|
32
|
-
hidden: true,
|
|
33
|
-
}),
|
|
34
21
|
manifest: Flags.string({ default: 'raindrop.manifest', description: 'project manifest' }),
|
|
35
22
|
};
|
|
36
23
|
async run() {
|
|
@@ -54,6 +41,6 @@ export default class Unsandbox extends BaseCommand {
|
|
|
54
41
|
},
|
|
55
42
|
],
|
|
56
43
|
});
|
|
57
|
-
this.log(`Set ${valueOf(app.name)}@${versionId} as
|
|
44
|
+
this.log(`Set ${valueOf(app.name)}@${versionId} as unsandboxed.`);
|
|
58
45
|
}
|
|
59
46
|
}
|
|
@@ -6,12 +6,15 @@ export default class Upload extends BaseCommand<typeof Upload> {
|
|
|
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, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
11
|
impersonate: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
|
+
config: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
13
13
|
rainbowAuthService: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
14
14
|
raindropCatalogService: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
15
|
+
rainbowAuthToken: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
16
|
+
rainbowOrganizationId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
17
|
+
rainbowUserId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
15
18
|
};
|
|
16
19
|
run(): Promise<void>;
|
|
17
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["../../../src/commands/build/upload.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGpD,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,WAAW,CAAC,OAAO,MAAM,CAAC;IAC5D,OAAgB,IAAI,KAAM;IAE1B,OAAgB,WAAW,SAAiD;IAE5E,OAAgB,QAAQ,WAA2C;IAEnE,OAAgB,KAAK
|
|
1
|
+
{"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["../../../src/commands/build/upload.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGpD,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,WAAW,CAAC,OAAO,MAAM,CAAC;IAC5D,OAAgB,IAAI,KAAM;IAE1B,OAAgB,WAAW,SAAiD;IAE5E,OAAgB,QAAQ,WAA2C;IAEnE,OAAgB,KAAK;;;;;;;;;;;;MAiBnB;IAEW,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAwClC"}
|
|
@@ -11,6 +11,7 @@ export default class Upload extends BaseCommand {
|
|
|
11
11
|
static description = 'build and validate a LiquidMetal.AI project';
|
|
12
12
|
static examples = ['<%= config.bin %> <%= command.id %>'];
|
|
13
13
|
static flags = {
|
|
14
|
+
...BaseCommand.HIDDEN_FLAGS,
|
|
14
15
|
root: Flags.string({ char: 'r', description: 'root directory', required: false, default: process.cwd() }),
|
|
15
16
|
manifest: Flags.string({
|
|
16
17
|
char: 'm',
|
|
@@ -18,13 +19,6 @@ export default class Upload extends BaseCommand {
|
|
|
18
19
|
required: false,
|
|
19
20
|
default: 'raindrop.manifest',
|
|
20
21
|
}),
|
|
21
|
-
config: Flags.string({
|
|
22
|
-
char: 'c',
|
|
23
|
-
description: 'config file',
|
|
24
|
-
required: false,
|
|
25
|
-
hidden: true,
|
|
26
|
-
default: '.raindrop/config.json',
|
|
27
|
-
}),
|
|
28
22
|
output: Flags.string({ char: 'o', description: 'output directory', required: false, default: 'dist' }),
|
|
29
23
|
versionId: Flags.string({ char: 'v', description: 'version ID', required: true }),
|
|
30
24
|
impersonate: Flags.string({
|
|
@@ -33,16 +27,6 @@ export default class Upload extends BaseCommand {
|
|
|
33
27
|
required: false,
|
|
34
28
|
hidden: true,
|
|
35
29
|
}),
|
|
36
|
-
rainbowAuthService: Flags.string({
|
|
37
|
-
default: 'https://liquidmetal.run/api/connect',
|
|
38
|
-
hidden: true,
|
|
39
|
-
env: 'LIQUIDMETAL_RAINBOW_AUTH_SERVICE',
|
|
40
|
-
}),
|
|
41
|
-
raindropCatalogService: Flags.string({
|
|
42
|
-
env: 'RAINDROP_CATALOG_SERVICE',
|
|
43
|
-
description: 'URL of the catalog service',
|
|
44
|
-
hidden: true,
|
|
45
|
-
}),
|
|
46
30
|
};
|
|
47
31
|
async run() {
|
|
48
32
|
const apps = await this.loadManifest();
|
|
@@ -10,8 +10,12 @@ export default class ObjectDelete extends BaseCommand<typeof ObjectDelete> {
|
|
|
10
10
|
output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
11
|
impersonate: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
12
|
manifest: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
13
|
+
config: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
13
14
|
rainbowAuthService: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
14
15
|
raindropCatalogService: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
16
|
+
rainbowAuthToken: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
17
|
+
rainbowOrganizationId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
18
|
+
rainbowUserId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
15
19
|
};
|
|
16
20
|
run(): Promise<void>;
|
|
17
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../src/commands/object/delete.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,WAAW,CAAC,OAAO,YAAY,CAAC;IACxE,MAAM,CAAC,IAAI;;MAKT;IAEF,MAAM,CAAC,WAAW,SAA2C;IAE7D,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,KAAK
|
|
1
|
+
{"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../src/commands/object/delete.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,WAAW,CAAC,OAAO,YAAY,CAAC;IACxE,MAAM,CAAC,IAAI;;MAKT;IAEF,MAAM,CAAC,WAAW,SAA2C;IAE7D,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,KAAK;;;;;;;;;;;MA0BV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAgB3B"}
|
|
@@ -14,6 +14,7 @@ Delete file with key 'my-key' from my-bucket
|
|
|
14
14
|
`,
|
|
15
15
|
];
|
|
16
16
|
static flags = {
|
|
17
|
+
...BaseCommand.HIDDEN_FLAGS,
|
|
17
18
|
bucket: Flags.string({
|
|
18
19
|
char: 'b',
|
|
19
20
|
description: 'bucket name',
|
|
@@ -38,16 +39,6 @@ Delete file with key 'my-key' from my-bucket
|
|
|
38
39
|
default: 'raindrop.manifest',
|
|
39
40
|
hidden: true,
|
|
40
41
|
}),
|
|
41
|
-
rainbowAuthService: Flags.string({
|
|
42
|
-
default: 'https://liquidmetal.run/api/connect',
|
|
43
|
-
hidden: true,
|
|
44
|
-
env: 'LIQUIDMETAL_RAINBOW_AUTH_SERVICE',
|
|
45
|
-
}),
|
|
46
|
-
raindropCatalogService: Flags.string({
|
|
47
|
-
env: 'RAINDROP_CATALOG_SERVICE',
|
|
48
|
-
description: 'URL of the catalog service',
|
|
49
|
-
hidden: true,
|
|
50
|
-
}),
|
|
51
42
|
};
|
|
52
43
|
async run() {
|
|
53
44
|
const { args, flags } = await this.parse(ObjectDelete);
|
|
@@ -13,8 +13,12 @@ export default class ObjectGet extends BaseCommand<typeof ObjectGet> {
|
|
|
13
13
|
format: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
14
14
|
impersonate: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
15
15
|
manifest: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
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>;
|
|
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>;
|
|
18
22
|
};
|
|
19
23
|
run(): Promise<void>;
|
|
20
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/commands/object/get.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAIpD,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,WAAW,CAAC,OAAO,SAAS,CAAC;IAClE,MAAM,CAAC,IAAI;;;;;MAST;IAEF,MAAM,CAAC,WAAW,SAA6C;IAE/D,MAAM,CAAC,QAAQ,WAOb;IAEF,MAAM,CAAC,KAAK
|
|
1
|
+
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/commands/object/get.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAIpD,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,WAAW,CAAC,OAAO,SAAS,CAAC;IAClE,MAAM,CAAC,IAAI;;;;;MAST;IAEF,MAAM,CAAC,WAAW,SAA6C;IAE/D,MAAM,CAAC,QAAQ,WAOb;IAEF,MAAM,CAAC,KAAK;;;;;;;;;;;MA0BV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CA8C3B"}
|
|
@@ -23,6 +23,7 @@ Download file with key 'my-key' from my-bucket to output.txt
|
|
|
23
23
|
`,
|
|
24
24
|
];
|
|
25
25
|
static flags = {
|
|
26
|
+
...BaseCommand.HIDDEN_FLAGS,
|
|
26
27
|
bucket: Flags.string({
|
|
27
28
|
char: 'b',
|
|
28
29
|
description: 'bucket name',
|
|
@@ -47,16 +48,6 @@ Download file with key 'my-key' from my-bucket to output.txt
|
|
|
47
48
|
default: 'raindrop.manifest',
|
|
48
49
|
hidden: true,
|
|
49
50
|
}),
|
|
50
|
-
rainbowAuthService: Flags.string({
|
|
51
|
-
default: 'https://liquidmetal.run/api/connect',
|
|
52
|
-
hidden: true,
|
|
53
|
-
env: 'LIQUIDMETAL_RAINBOW_AUTH_SERVICE',
|
|
54
|
-
}),
|
|
55
|
-
raindropCatalogService: Flags.string({
|
|
56
|
-
env: 'RAINDROP_CATALOG_SERVICE',
|
|
57
|
-
description: 'URL of the catalog service',
|
|
58
|
-
hidden: true,
|
|
59
|
-
}),
|
|
60
51
|
};
|
|
61
52
|
async run() {
|
|
62
53
|
const { args, flags } = await this.parse(ObjectGet);
|
|
@@ -7,8 +7,12 @@ export default class ObjectList extends BaseCommand<typeof ObjectList> {
|
|
|
7
7
|
output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
8
|
impersonate: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
9
9
|
manifest: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
10
|
+
config: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
10
11
|
rainbowAuthService: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
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>;
|
|
12
16
|
};
|
|
13
17
|
run(): Promise<void>;
|
|
14
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/commands/object/list.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,WAAW,CAAC,OAAO,UAAU,CAAC;IACpE,MAAM,CAAC,WAAW,SAA8B;IAEhD,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,KAAK
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/commands/object/list.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,WAAW,CAAC,OAAO,UAAU,CAAC;IACpE,MAAM,CAAC,WAAW,SAA8B;IAEhD,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,KAAK;;;;;;;;;;;MA0BV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAyC3B"}
|
|
@@ -8,6 +8,7 @@ List all objects in my-bucket
|
|
|
8
8
|
`,
|
|
9
9
|
];
|
|
10
10
|
static flags = {
|
|
11
|
+
...BaseCommand.HIDDEN_FLAGS,
|
|
11
12
|
bucket: Flags.string({
|
|
12
13
|
char: 'b',
|
|
13
14
|
description: 'bucket name',
|
|
@@ -32,16 +33,6 @@ List all objects in my-bucket
|
|
|
32
33
|
default: 'raindrop.manifest',
|
|
33
34
|
hidden: true,
|
|
34
35
|
}),
|
|
35
|
-
rainbowAuthService: Flags.string({
|
|
36
|
-
default: 'https://liquidmetal.run/api/connect',
|
|
37
|
-
hidden: true,
|
|
38
|
-
env: 'LIQUIDMETAL_RAINBOW_AUTH_SERVICE',
|
|
39
|
-
}),
|
|
40
|
-
raindropCatalogService: Flags.string({
|
|
41
|
-
env: 'RAINDROP_CATALOG_SERVICE',
|
|
42
|
-
description: 'URL of the catalog service',
|
|
43
|
-
hidden: true,
|
|
44
|
-
}),
|
|
45
36
|
};
|
|
46
37
|
async run() {
|
|
47
38
|
const { flags } = await this.parse(ObjectList);
|
|
@@ -58,7 +49,7 @@ List all objects in my-bucket
|
|
|
58
49
|
this.log(JSON.stringify(response, null, 2));
|
|
59
50
|
break;
|
|
60
51
|
case 'table':
|
|
61
|
-
console.table(response.objects.map(obj => ({
|
|
52
|
+
console.table(response.objects.map((obj) => ({
|
|
62
53
|
key: obj.key,
|
|
63
54
|
size: obj.size,
|
|
64
55
|
contentType: obj.contentType,
|
|
@@ -14,8 +14,12 @@ export default class ObjectPut extends BaseCommand<typeof ObjectPut> {
|
|
|
14
14
|
output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
15
15
|
impersonate: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
16
16
|
manifest: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
17
|
+
config: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
17
18
|
rainbowAuthService: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
18
19
|
raindropCatalogService: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
20
|
+
rainbowAuthToken: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
21
|
+
rainbowOrganizationId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
22
|
+
rainbowUserId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
19
23
|
};
|
|
20
24
|
run(): Promise<void>;
|
|
21
25
|
private getContentType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"put.d.ts","sourceRoot":"","sources":["../../../src/commands/object/put.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAIpD,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,WAAW,CAAC,OAAO,SAAS,CAAC;IAClE,MAAM,CAAC,IAAI;;;;;MAUT;IAEF,MAAM,CAAC,WAAW,SAAyC;IAE3D,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,KAAK
|
|
1
|
+
{"version":3,"file":"put.d.ts","sourceRoot":"","sources":["../../../src/commands/object/put.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAIpD,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,WAAW,CAAC,OAAO,SAAS,CAAC;IAClE,MAAM,CAAC,IAAI;;;;;MAUT;IAEF,MAAM,CAAC,WAAW,SAAyC;IAE3D,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,KAAK;;;;;;;;;;;;MA+BV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;IA4B1B,OAAO,CAAC,cAAc;CAavB"}
|
|
@@ -21,6 +21,7 @@ Upload myfile.txt to my-bucket with key 'my-key'
|
|
|
21
21
|
`,
|
|
22
22
|
];
|
|
23
23
|
static flags = {
|
|
24
|
+
...BaseCommand.HIDDEN_FLAGS,
|
|
24
25
|
bucket: Flags.string({
|
|
25
26
|
char: 'b',
|
|
26
27
|
description: 'bucket name',
|
|
@@ -50,16 +51,6 @@ Upload myfile.txt to my-bucket with key 'my-key'
|
|
|
50
51
|
default: 'raindrop.manifest',
|
|
51
52
|
hidden: true,
|
|
52
53
|
}),
|
|
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
54
|
};
|
|
64
55
|
async run() {
|
|
65
56
|
const { args, flags } = await this.parse(ObjectPut);
|
|
@@ -9,8 +9,12 @@ export default class RagSearch extends BaseCommand<typeof RagSearch> {
|
|
|
9
9
|
output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
10
10
|
impersonate: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
11
|
manifest: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
|
+
config: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
13
|
rainbowAuthService: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
13
14
|
raindropCatalogService: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
15
|
+
rainbowAuthToken: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
16
|
+
rainbowOrganizationId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
17
|
+
rainbowUserId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
14
18
|
};
|
|
15
19
|
searchAgent(query: string): Promise<void>;
|
|
16
20
|
run(): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chunk-search.d.ts","sourceRoot":"","sources":["../../../src/commands/query/chunk-search.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGpD,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,WAAW,CAAC,OAAO,SAAS,CAAC;IAClE,MAAM,CAAC,IAAI;;MAKT;IAEF,MAAM,CAAC,WAAW,SAAoF;IAEtG,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,KAAK
|
|
1
|
+
{"version":3,"file":"chunk-search.d.ts","sourceRoot":"","sources":["../../../src/commands/query/chunk-search.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGpD,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,WAAW,CAAC,OAAO,SAAS,CAAC;IAClE,MAAM,CAAC,IAAI;;MAKT;IAEF,MAAM,CAAC,WAAW,SAAoF;IAEtG,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,KAAK;;;;;;;;;;MAqBV;IAEI,WAAW,CAAC,KAAK,EAAE,MAAM;IA+BzB,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAI3B"}
|
|
@@ -15,6 +15,7 @@ Run a RAG search query against a Smart Bucket.
|
|
|
15
15
|
`,
|
|
16
16
|
];
|
|
17
17
|
static flags = {
|
|
18
|
+
...BaseCommand.HIDDEN_FLAGS,
|
|
18
19
|
output: Flags.string({
|
|
19
20
|
char: 'o',
|
|
20
21
|
description: 'output format',
|
|
@@ -34,16 +35,6 @@ Run a RAG search query against a Smart Bucket.
|
|
|
34
35
|
default: 'raindrop.manifest',
|
|
35
36
|
hidden: true,
|
|
36
37
|
}),
|
|
37
|
-
rainbowAuthService: Flags.string({
|
|
38
|
-
default: 'https://liquidmetal.run/api/connect',
|
|
39
|
-
hidden: true,
|
|
40
|
-
env: 'LIQUIDMETAL_RAINBOW_AUTH_SERVICE',
|
|
41
|
-
}),
|
|
42
|
-
raindropCatalogService: Flags.string({
|
|
43
|
-
env: 'RAINDROP_CATALOG_SERVICE',
|
|
44
|
-
description: 'URL of the catalog service',
|
|
45
|
-
hidden: true,
|
|
46
|
-
}),
|
|
47
38
|
};
|
|
48
39
|
async searchAgent(query) {
|
|
49
40
|
const { client: searchAgentService } = await this.searchAgentService();
|
|
@@ -3,13 +3,18 @@ export default class RegisterRetriever extends BaseCommand<typeof RegisterRetrie
|
|
|
3
3
|
static args: {
|
|
4
4
|
bucket: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
5
5
|
url: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
deleteUrl: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
7
|
+
bucketName: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
8
8
|
};
|
|
9
9
|
static description: string;
|
|
10
10
|
static examples: string[];
|
|
11
11
|
static flags: {
|
|
12
|
+
config: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
13
|
+
rainbowAuthService: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
14
|
raindropCatalogService: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
15
|
+
rainbowAuthToken: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
16
|
+
rainbowOrganizationId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
17
|
+
rainbowUserId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
13
18
|
};
|
|
14
19
|
run(): Promise<void>;
|
|
15
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register-retriever.d.ts","sourceRoot":"","sources":["../../../src/commands/query/register-retriever.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,WAAW,CAAC,OAAO,iBAAiB,CAAC;IAClF,MAAM,CAAC,IAAI;;;;;MAiBT;IAEF,MAAM,CAAC,WAAW,SAA4D;IAE9E,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,KAAK
|
|
1
|
+
{"version":3,"file":"register-retriever.d.ts","sourceRoot":"","sources":["../../../src/commands/query/register-retriever.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,WAAW,CAAC,OAAO,iBAAiB,CAAC;IAClF,MAAM,CAAC,IAAI;;;;;MAiBT;IAEF,MAAM,CAAC,WAAW,SAA4D;IAE9E,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,KAAK;;;;;;;MAEV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAqB3B"}
|