@dexto/agent-management 1.19.3 → 1.19.5
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.
|
@@ -34,25 +34,44 @@ var import_zod = require("zod");
|
|
|
34
34
|
var import_dexto_accounts = require("./dexto-accounts.js");
|
|
35
35
|
const DEXTO_CLI_CLIENT_ID = "dexto-cli";
|
|
36
36
|
const CLI_LOGIN_SCOPES = [
|
|
37
|
+
"applications:read",
|
|
37
38
|
"apps:execute",
|
|
38
39
|
"apps:read",
|
|
40
|
+
"apps:write",
|
|
39
41
|
"artifacts:read",
|
|
40
42
|
"artifacts:write",
|
|
43
|
+
"autobots:read",
|
|
44
|
+
"autobots:write",
|
|
45
|
+
"automations:read",
|
|
46
|
+
"automations:write",
|
|
41
47
|
"chats:sync",
|
|
42
48
|
"cloud:read",
|
|
43
49
|
"cloud:write",
|
|
44
50
|
"computers:read",
|
|
45
51
|
"computers:write",
|
|
52
|
+
"connections:read",
|
|
53
|
+
"contacts:read",
|
|
54
|
+
"contacts:write",
|
|
46
55
|
"drive:read",
|
|
47
56
|
"drive:write",
|
|
48
57
|
"functions:read",
|
|
49
58
|
"functions:write",
|
|
59
|
+
"marketplace:read",
|
|
60
|
+
"marketplace:write",
|
|
61
|
+
"messages:read",
|
|
62
|
+
"messages:write",
|
|
63
|
+
"network:read",
|
|
64
|
+
"network:write",
|
|
65
|
+
"notifications:read",
|
|
66
|
+
"notifications:write",
|
|
50
67
|
"projects:read",
|
|
51
68
|
"projects:write",
|
|
52
69
|
"sessions:read",
|
|
53
70
|
"sessions:write",
|
|
54
71
|
"sites:read",
|
|
55
|
-
"sites:write"
|
|
72
|
+
"sites:write",
|
|
73
|
+
"skills:read",
|
|
74
|
+
"skills:write"
|
|
56
75
|
];
|
|
57
76
|
const BASE_CLOUD_SCOPES = ["cloud:read"];
|
|
58
77
|
const DEVICE_CODE_GRANT_TYPE = "urn:ietf:params:oauth:grant-type:device_code";
|
|
@@ -6,7 +6,7 @@ export declare const DEXTO_CLI_CLIENT_ID = "dexto-cli";
|
|
|
6
6
|
* calling Cloud (and tell people to sign in again with), and Chat sync's `chats:sync`. Cloud's
|
|
7
7
|
* device and browser sign-in must accept each one; its drift test imports this list.
|
|
8
8
|
*/
|
|
9
|
-
export declare const CLI_LOGIN_SCOPES: readonly ["apps:execute", "apps:read", "artifacts:read", "artifacts:write", "chats:sync", "cloud:read", "cloud:write", "computers:read", "computers:write", "drive:read", "drive:write", "functions:read", "functions:write", "projects:read", "projects:write", "sessions:read", "sessions:write", "sites:read", "sites:write"];
|
|
9
|
+
export declare const CLI_LOGIN_SCOPES: readonly ["applications:read", "apps:execute", "apps:read", "apps:write", "artifacts:read", "artifacts:write", "autobots:read", "autobots:write", "automations:read", "automations:write", "chats:sync", "cloud:read", "cloud:write", "computers:read", "computers:write", "connections:read", "contacts:read", "contacts:write", "drive:read", "drive:write", "functions:read", "functions:write", "marketplace:read", "marketplace:write", "messages:read", "messages:write", "network:read", "network:write", "notifications:read", "notifications:write", "projects:read", "projects:write", "sessions:read", "sessions:write", "sites:read", "sites:write", "skills:read", "skills:write"];
|
|
10
10
|
/** A scope the CLI asks for by name. */
|
|
11
11
|
export type CliLoginScope = (typeof CLI_LOGIN_SCOPES)[number];
|
|
12
12
|
/** A loopback listener for the browser's redirect back to the CLI. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dexto-sign-in.d.ts","sourceRoot":"","sources":["../../src/auth/dexto-sign-in.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,UAAU,EAAoB,MAAM,qBAAqB,CAAC;AAExE,qFAAqF;AACrF,eAAO,MAAM,mBAAmB,cAAc,CAAC;AAE/C;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"dexto-sign-in.d.ts","sourceRoot":"","sources":["../../src/auth/dexto-sign-in.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,UAAU,EAAoB,MA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AAC,CAuBrB;AAED,+DAA+D;AAC/D,MAAM,MAAM,WAAW,GACjB;IAAE,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;CAAE,GAC5B;IAAE,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAE7D;;;GAGG;AACH,wBAAsB,SAAS,CAC3B,OAAO,EAAE,kBAAkB,EAC3B,KAAK,EAAE,UAAU,GAClB,OAAO,CAAC,WAAW,CAAC,CAgBtB;AAED,qBAAa,cAAe,SAAQ,KAAK;IACrC,6FAA6F;IAC7F,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;gBAEZ,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,EAAE,OAAO,EAAE,MAAM;CAMnE"}
|
|
@@ -3,25 +3,44 @@ import { z } from "zod";
|
|
|
3
3
|
import { SignedInAsSchema } from "./dexto-accounts.js";
|
|
4
4
|
const DEXTO_CLI_CLIENT_ID = "dexto-cli";
|
|
5
5
|
const CLI_LOGIN_SCOPES = [
|
|
6
|
+
"applications:read",
|
|
6
7
|
"apps:execute",
|
|
7
8
|
"apps:read",
|
|
9
|
+
"apps:write",
|
|
8
10
|
"artifacts:read",
|
|
9
11
|
"artifacts:write",
|
|
12
|
+
"autobots:read",
|
|
13
|
+
"autobots:write",
|
|
14
|
+
"automations:read",
|
|
15
|
+
"automations:write",
|
|
10
16
|
"chats:sync",
|
|
11
17
|
"cloud:read",
|
|
12
18
|
"cloud:write",
|
|
13
19
|
"computers:read",
|
|
14
20
|
"computers:write",
|
|
21
|
+
"connections:read",
|
|
22
|
+
"contacts:read",
|
|
23
|
+
"contacts:write",
|
|
15
24
|
"drive:read",
|
|
16
25
|
"drive:write",
|
|
17
26
|
"functions:read",
|
|
18
27
|
"functions:write",
|
|
28
|
+
"marketplace:read",
|
|
29
|
+
"marketplace:write",
|
|
30
|
+
"messages:read",
|
|
31
|
+
"messages:write",
|
|
32
|
+
"network:read",
|
|
33
|
+
"network:write",
|
|
34
|
+
"notifications:read",
|
|
35
|
+
"notifications:write",
|
|
19
36
|
"projects:read",
|
|
20
37
|
"projects:write",
|
|
21
38
|
"sessions:read",
|
|
22
39
|
"sessions:write",
|
|
23
40
|
"sites:read",
|
|
24
|
-
"sites:write"
|
|
41
|
+
"sites:write",
|
|
42
|
+
"skills:read",
|
|
43
|
+
"skills:write"
|
|
25
44
|
];
|
|
26
45
|
const BASE_CLOUD_SCOPES = ["cloud:read"];
|
|
27
46
|
const DEVICE_CODE_GRANT_TYPE = "urn:ietf:params:oauth:grant-type:device_code";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dexto/agent-management",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"yaml": "^2.8.3",
|
|
24
24
|
"zod": "^4.3.6",
|
|
25
|
-
"@dexto/agent-config": "1.19.
|
|
26
|
-
"@dexto/core": "1.19.
|
|
27
|
-
"@dexto/llm": "1.19.
|
|
28
|
-
"@dexto/tools-builtins": "1.19.
|
|
25
|
+
"@dexto/agent-config": "1.19.5",
|
|
26
|
+
"@dexto/core": "1.19.5",
|
|
27
|
+
"@dexto/llm": "1.19.5",
|
|
28
|
+
"@dexto/tools-builtins": "1.19.5"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "^22.13.5"
|