@xpert-ai/plugin-sdk 3.22.2 → 3.23.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xpert-ai/plugin-sdk",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.23.0",
|
|
4
4
|
"license": "AGPL-3.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"@langchain/openai": "0.6.9",
|
|
65
|
-
"@xpert-ai/contracts": "3.
|
|
65
|
+
"@xpert-ai/contracts": "3.22.0",
|
|
66
66
|
"express": "^4.22.1",
|
|
67
67
|
"js-tiktoken": "^1.0.21"
|
|
68
68
|
},
|
|
@@ -14,25 +14,25 @@ export declare const agentRuntimeEventSchema: z.ZodDiscriminatedUnion<"kind", [z
|
|
|
14
14
|
completed: z.ZodNumber;
|
|
15
15
|
total: z.ZodNumber;
|
|
16
16
|
}, "strict", z.ZodTypeAny, {
|
|
17
|
-
total?: number;
|
|
18
17
|
completed?: number;
|
|
19
|
-
}, {
|
|
20
18
|
total?: number;
|
|
19
|
+
}, {
|
|
21
20
|
completed?: number;
|
|
22
|
-
}>, {
|
|
23
21
|
total?: number;
|
|
22
|
+
}>, {
|
|
24
23
|
completed?: number;
|
|
25
|
-
}, {
|
|
26
24
|
total?: number;
|
|
25
|
+
}, {
|
|
27
26
|
completed?: number;
|
|
27
|
+
total?: number;
|
|
28
28
|
}>>;
|
|
29
29
|
}, "strict", z.ZodTypeAny, {
|
|
30
30
|
source?: "executor" | "host";
|
|
31
31
|
startedAt?: string;
|
|
32
32
|
summary?: string;
|
|
33
33
|
steps?: {
|
|
34
|
-
total?: number;
|
|
35
34
|
completed?: number;
|
|
35
|
+
total?: number;
|
|
36
36
|
};
|
|
37
37
|
observedAt?: string;
|
|
38
38
|
phase?: string;
|
|
@@ -41,8 +41,8 @@ export declare const agentRuntimeEventSchema: z.ZodDiscriminatedUnion<"kind", [z
|
|
|
41
41
|
startedAt?: string;
|
|
42
42
|
summary?: string;
|
|
43
43
|
steps?: {
|
|
44
|
-
total?: number;
|
|
45
44
|
completed?: number;
|
|
45
|
+
total?: number;
|
|
46
46
|
};
|
|
47
47
|
observedAt?: string;
|
|
48
48
|
phase?: string;
|
|
@@ -77,8 +77,8 @@ export declare const agentRuntimeEventSchema: z.ZodDiscriminatedUnion<"kind", [z
|
|
|
77
77
|
startedAt?: string;
|
|
78
78
|
summary?: string;
|
|
79
79
|
steps?: {
|
|
80
|
-
total?: number;
|
|
81
80
|
completed?: number;
|
|
81
|
+
total?: number;
|
|
82
82
|
};
|
|
83
83
|
observedAt?: string;
|
|
84
84
|
phase?: string;
|
|
@@ -98,8 +98,8 @@ export declare const agentRuntimeEventSchema: z.ZodDiscriminatedUnion<"kind", [z
|
|
|
98
98
|
startedAt?: string;
|
|
99
99
|
summary?: string;
|
|
100
100
|
steps?: {
|
|
101
|
-
total?: number;
|
|
102
101
|
completed?: number;
|
|
102
|
+
total?: number;
|
|
103
103
|
};
|
|
104
104
|
observedAt?: string;
|
|
105
105
|
phase?: string;
|
|
@@ -22,6 +22,12 @@ export type SandboxWorkspaceBinding = {
|
|
|
22
22
|
*/
|
|
23
23
|
workspaceRoot: string;
|
|
24
24
|
};
|
|
25
|
+
/** A mount resolved by the application after resource authorization. Never accept it from HTTP input. */
|
|
26
|
+
export type SandboxWorkspaceMount = {
|
|
27
|
+
source: string;
|
|
28
|
+
destination: string;
|
|
29
|
+
readOnly: boolean;
|
|
30
|
+
};
|
|
25
31
|
export type SandboxProviderCreateOptions = {
|
|
26
32
|
/**
|
|
27
33
|
* Working space directory for the sandbox instance
|
|
@@ -37,6 +43,8 @@ export type SandboxProviderCreateOptions = {
|
|
|
37
43
|
* Canonical sandbox environment identifier that owns the container lifecycle.
|
|
38
44
|
*/
|
|
39
45
|
environmentId?: string;
|
|
46
|
+
/** Authorized mount configuration; providers enforce physical mount identity, not business access. */
|
|
47
|
+
workspaceMounts?: SandboxWorkspaceMount[];
|
|
40
48
|
/**
|
|
41
49
|
* Tenant identifier
|
|
42
50
|
*/
|