@xpert-ai/plugin-sdk 3.17.3 → 3.17.4
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/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xpert-ai/plugin-sdk",
|
|
3
|
-
"version": "3.17.
|
|
3
|
+
"version": "3.17.4",
|
|
4
4
|
"license": "AGPL-3.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@langchain/openai": "0.6.9",
|
|
20
|
-
"@xpert-ai/contracts": "3.17.
|
|
20
|
+
"@xpert-ai/contracts": "3.17.4",
|
|
21
21
|
"express": "^4.22.1",
|
|
22
22
|
"js-tiktoken": "^1.0.21"
|
|
23
23
|
},
|
|
@@ -12,6 +12,17 @@ export type AgentMiddlewareAssistantTaskFile = {
|
|
|
12
12
|
size?: number;
|
|
13
13
|
role?: string;
|
|
14
14
|
};
|
|
15
|
+
/**
|
|
16
|
+
* Stable plugin skill reference used by Assistant Tasks.
|
|
17
|
+
*
|
|
18
|
+
* Plugin-owned callers must not persist workspace-local SkillPackage UUIDs.
|
|
19
|
+
* The host resolves this portable identity to the installed package and verifies
|
|
20
|
+
* that the target Agent is directly connected to the owning Skills Middleware.
|
|
21
|
+
*/
|
|
22
|
+
export type AgentMiddlewareAssistantTaskSkillRef = {
|
|
23
|
+
pluginName: string;
|
|
24
|
+
componentKey: string;
|
|
25
|
+
};
|
|
15
26
|
export type AgentMiddlewareAssistantTaskInput = {
|
|
16
27
|
xpertId: string;
|
|
17
28
|
agentKey?: string;
|
|
@@ -22,6 +33,8 @@ export type AgentMiddlewareAssistantTaskInput = {
|
|
|
22
33
|
clientMessageId?: string;
|
|
23
34
|
prompt: string;
|
|
24
35
|
files?: AgentMiddlewareAssistantTaskFile[];
|
|
36
|
+
/** Skills that this task is expected to load through its target Agent's Skills Middleware. */
|
|
37
|
+
selectedSkillRefs?: AgentMiddlewareAssistantTaskSkillRef[];
|
|
25
38
|
/** Additional bounded human-input fields exposed to runtime-state fixed filters. */
|
|
26
39
|
humanInput?: Record<string, JSONValue>;
|
|
27
40
|
context?: Record<string, unknown>;
|