@agentuity/cli 0.1.21 → 0.1.22
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/dist/cmd/cloud/keyvalue/util.d.ts +2 -1
- package/dist/cmd/cloud/keyvalue/util.d.ts.map +1 -1
- package/dist/cmd/cloud/keyvalue/util.js +3 -1
- package/dist/cmd/cloud/keyvalue/util.js.map +1 -1
- package/dist/cmd/cloud/vector/util.d.ts +2 -1
- package/dist/cmd/cloud/vector/util.d.ts.map +1 -1
- package/dist/cmd/cloud/vector/util.js +3 -1
- package/dist/cmd/cloud/vector/util.js.map +1 -1
- package/package.json +6 -6
- package/src/cmd/cloud/keyvalue/util.ts +6 -2
- package/src/cmd/cloud/vector/util.ts +6 -2
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { KeyValueStorageService, type Logger } from '@agentuity/core';
|
|
2
|
-
import type { AuthData, GlobalOptions, ProjectConfig } from '../../../types';
|
|
2
|
+
import type { AuthData, Config, GlobalOptions, ProjectConfig } from '../../../types';
|
|
3
3
|
export declare function createStorageAdapter(ctx: {
|
|
4
4
|
logger: Logger;
|
|
5
5
|
auth: AuthData;
|
|
6
6
|
region: string;
|
|
7
7
|
project?: ProjectConfig;
|
|
8
|
+
config: Config | null;
|
|
8
9
|
options: GlobalOptions;
|
|
9
10
|
}): KeyValueStorageService;
|
|
10
11
|
//# sourceMappingURL=util.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../src/cmd/cloud/keyvalue/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,KAAK,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEtE,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../src/cmd/cloud/keyvalue/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,KAAK,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEtE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAGrF,wBAAgB,oBAAoB,CAAC,GAAG,EAAE;IACzC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,QAAQ,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,OAAO,EAAE,aAAa,CAAC;CACvB,0BAwBA"}
|
|
@@ -2,7 +2,9 @@ import { KeyValueStorageService } from '@agentuity/core';
|
|
|
2
2
|
import { createServerFetchAdapter, getServiceUrls } from '@agentuity/server';
|
|
3
3
|
import * as tui from '../../../tui';
|
|
4
4
|
export function createStorageAdapter(ctx) {
|
|
5
|
-
const orgId = ctx.project?.orgId ??
|
|
5
|
+
const orgId = ctx.project?.orgId ??
|
|
6
|
+
ctx.options.orgId ??
|
|
7
|
+
(process.env.AGENTUITY_CLOUD_ORG_ID || ctx.config?.preferences?.orgId);
|
|
6
8
|
if (!orgId) {
|
|
7
9
|
tui.fatal('Organization ID is required. Either run from a project directory or use --org-id flag.');
|
|
8
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.js","sourceRoot":"","sources":["../../../../src/cmd/cloud/keyvalue/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAe,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAAE,wBAAwB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAE7E,OAAO,KAAK,GAAG,MAAM,cAAc,CAAC;AAEpC,MAAM,UAAU,oBAAoB,CAAC,
|
|
1
|
+
{"version":3,"file":"util.js","sourceRoot":"","sources":["../../../../src/cmd/cloud/keyvalue/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAe,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAAE,wBAAwB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAE7E,OAAO,KAAK,GAAG,MAAM,cAAc,CAAC;AAEpC,MAAM,UAAU,oBAAoB,CAAC,GAOpC;IACA,MAAM,KAAK,GACV,GAAG,CAAC,OAAO,EAAE,KAAK;QAClB,GAAG,CAAC,OAAO,CAAC,KAAK;QACjB,CAAC,OAAO,CAAC,GAAG,CAAC,sBAAsB,IAAI,GAAG,CAAC,MAAM,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC;IACxE,IAAI,CAAC,KAAK,EAAE,CAAC;QACZ,GAAG,CAAC,KAAK,CACR,wFAAwF,CACxF,CAAC;IACH,CAAC;IAED,MAAM,OAAO,GAAG,wBAAwB,CACvC;QACC,OAAO,EAAE;YACR,aAAa,EAAE,UAAU,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE;YAC1C,mBAAmB,EAAE,KAAK;SAC1B;KACD,EACD,GAAG,CAAC,MAAM,CACV,CAAC;IAEF,MAAM,IAAI,GAAG,cAAc,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACxC,MAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC;IAC9B,OAAO,IAAI,sBAAsB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;AACrD,CAAC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { type Logger, VectorStorageService } from '@agentuity/core';
|
|
2
|
-
import type { AuthData, GlobalOptions, ProjectConfig } from '../../../types';
|
|
2
|
+
import type { AuthData, Config, GlobalOptions, ProjectConfig } from '../../../types';
|
|
3
3
|
export declare function createStorageAdapter(ctx: {
|
|
4
4
|
logger: Logger;
|
|
5
5
|
auth: AuthData;
|
|
6
6
|
region: string;
|
|
7
7
|
project?: ProjectConfig;
|
|
8
|
+
config: Config | null;
|
|
8
9
|
options: GlobalOptions;
|
|
9
10
|
}): VectorStorageService;
|
|
10
11
|
//# sourceMappingURL=util.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../src/cmd/cloud/vector/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEpE,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../src/cmd/cloud/vector/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEpE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAGrF,wBAAgB,oBAAoB,CAAC,GAAG,EAAE;IACzC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,QAAQ,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,OAAO,EAAE,aAAa,CAAC;CACvB,wBAwBA"}
|
|
@@ -2,7 +2,9 @@ import { VectorStorageService } from '@agentuity/core';
|
|
|
2
2
|
import { createServerFetchAdapter, getServiceUrls } from '@agentuity/server';
|
|
3
3
|
import * as tui from '../../../tui';
|
|
4
4
|
export function createStorageAdapter(ctx) {
|
|
5
|
-
const orgId = ctx.project?.orgId ??
|
|
5
|
+
const orgId = ctx.project?.orgId ??
|
|
6
|
+
ctx.options.orgId ??
|
|
7
|
+
(process.env.AGENTUITY_CLOUD_ORG_ID || ctx.config?.preferences?.orgId);
|
|
6
8
|
if (!orgId) {
|
|
7
9
|
tui.fatal('Organization ID is required. Either run from a project directory or use --org-id flag.');
|
|
8
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.js","sourceRoot":"","sources":["../../../../src/cmd/cloud/vector/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACpE,OAAO,EAAE,wBAAwB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAE7E,OAAO,KAAK,GAAG,MAAM,cAAc,CAAC;AAEpC,MAAM,UAAU,oBAAoB,CAAC,
|
|
1
|
+
{"version":3,"file":"util.js","sourceRoot":"","sources":["../../../../src/cmd/cloud/vector/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACpE,OAAO,EAAE,wBAAwB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAE7E,OAAO,KAAK,GAAG,MAAM,cAAc,CAAC;AAEpC,MAAM,UAAU,oBAAoB,CAAC,GAOpC;IACA,MAAM,KAAK,GACV,GAAG,CAAC,OAAO,EAAE,KAAK;QAClB,GAAG,CAAC,OAAO,CAAC,KAAK;QACjB,CAAC,OAAO,CAAC,GAAG,CAAC,sBAAsB,IAAI,GAAG,CAAC,MAAM,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC;IACxE,IAAI,CAAC,KAAK,EAAE,CAAC;QACZ,GAAG,CAAC,KAAK,CACR,wFAAwF,CACxF,CAAC;IACH,CAAC;IAED,MAAM,OAAO,GAAG,wBAAwB,CACvC;QACC,OAAO,EAAE;YACR,aAAa,EAAE,UAAU,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE;YAC1C,mBAAmB,EAAE,KAAK;SAC1B;KACD,EACD,GAAG,CAAC,MAAM,CACV,CAAC;IAEF,MAAM,IAAI,GAAG,cAAc,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACxC,MAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC;IAC9B,OAAO,IAAI,oBAAoB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;AACnD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentuity/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.22",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"author": "Agentuity employees and contributors",
|
|
6
6
|
"type": "module",
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"prepublishOnly": "bun run clean && bun run build"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@agentuity/auth": "0.1.
|
|
44
|
-
"@agentuity/core": "0.1.
|
|
45
|
-
"@agentuity/server": "0.1.
|
|
43
|
+
"@agentuity/auth": "0.1.22",
|
|
44
|
+
"@agentuity/core": "0.1.22",
|
|
45
|
+
"@agentuity/server": "0.1.22",
|
|
46
46
|
"@datasert/cronjs-parser": "^1.4.0",
|
|
47
47
|
"@terascope/fetch-github-release": "^2.2.1",
|
|
48
48
|
"@vitejs/plugin-react": "^5.1.2",
|
|
@@ -60,10 +60,10 @@
|
|
|
60
60
|
"typescript": "^5.9.0",
|
|
61
61
|
"vite": "^7.2.7",
|
|
62
62
|
"zod": "^4.3.5",
|
|
63
|
-
"@agentuity/frontend": "0.1.
|
|
63
|
+
"@agentuity/frontend": "0.1.22"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@agentuity/test-utils": "0.1.
|
|
66
|
+
"@agentuity/test-utils": "0.1.22",
|
|
67
67
|
"@types/adm-zip": "^0.5.7",
|
|
68
68
|
"@types/bun": "latest",
|
|
69
69
|
"@types/tar-fs": "^2.0.4",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { KeyValueStorageService, type Logger } from '@agentuity/core';
|
|
2
2
|
import { createServerFetchAdapter, getServiceUrls } from '@agentuity/server';
|
|
3
|
-
import type { AuthData, GlobalOptions, ProjectConfig } from '../../../types';
|
|
3
|
+
import type { AuthData, Config, GlobalOptions, ProjectConfig } from '../../../types';
|
|
4
4
|
import * as tui from '../../../tui';
|
|
5
5
|
|
|
6
6
|
export function createStorageAdapter(ctx: {
|
|
@@ -8,9 +8,13 @@ export function createStorageAdapter(ctx: {
|
|
|
8
8
|
auth: AuthData;
|
|
9
9
|
region: string;
|
|
10
10
|
project?: ProjectConfig;
|
|
11
|
+
config: Config | null;
|
|
11
12
|
options: GlobalOptions;
|
|
12
13
|
}) {
|
|
13
|
-
const orgId =
|
|
14
|
+
const orgId =
|
|
15
|
+
ctx.project?.orgId ??
|
|
16
|
+
ctx.options.orgId ??
|
|
17
|
+
(process.env.AGENTUITY_CLOUD_ORG_ID || ctx.config?.preferences?.orgId);
|
|
14
18
|
if (!orgId) {
|
|
15
19
|
tui.fatal(
|
|
16
20
|
'Organization ID is required. Either run from a project directory or use --org-id flag.'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Logger, VectorStorageService } from '@agentuity/core';
|
|
2
2
|
import { createServerFetchAdapter, getServiceUrls } from '@agentuity/server';
|
|
3
|
-
import type { AuthData, GlobalOptions, ProjectConfig } from '../../../types';
|
|
3
|
+
import type { AuthData, Config, GlobalOptions, ProjectConfig } from '../../../types';
|
|
4
4
|
import * as tui from '../../../tui';
|
|
5
5
|
|
|
6
6
|
export function createStorageAdapter(ctx: {
|
|
@@ -8,9 +8,13 @@ export function createStorageAdapter(ctx: {
|
|
|
8
8
|
auth: AuthData;
|
|
9
9
|
region: string;
|
|
10
10
|
project?: ProjectConfig;
|
|
11
|
+
config: Config | null;
|
|
11
12
|
options: GlobalOptions;
|
|
12
13
|
}) {
|
|
13
|
-
const orgId =
|
|
14
|
+
const orgId =
|
|
15
|
+
ctx.project?.orgId ??
|
|
16
|
+
ctx.options.orgId ??
|
|
17
|
+
(process.env.AGENTUITY_CLOUD_ORG_ID || ctx.config?.preferences?.orgId);
|
|
14
18
|
if (!orgId) {
|
|
15
19
|
tui.fatal(
|
|
16
20
|
'Organization ID is required. Either run from a project directory or use --org-id flag.'
|