@agent-commons/sdk 0.1.10 → 0.1.12
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/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/package.json +7 -7
package/dist/index.d.mts
CHANGED
|
@@ -61,6 +61,8 @@ interface RunParams {
|
|
|
61
61
|
agentId: string;
|
|
62
62
|
messages: ChatMessage[];
|
|
63
63
|
sessionId?: string;
|
|
64
|
+
/** Extra text injected into the agent's system prompt. Used by the CLI to deliver the local tools manifest. */
|
|
65
|
+
cliContext?: string;
|
|
64
66
|
}
|
|
65
67
|
interface ChatMessage {
|
|
66
68
|
role: 'user' | 'assistant' | 'system' | 'tool';
|
package/dist/index.d.ts
CHANGED
|
@@ -61,6 +61,8 @@ interface RunParams {
|
|
|
61
61
|
agentId: string;
|
|
62
62
|
messages: ChatMessage[];
|
|
63
63
|
sessionId?: string;
|
|
64
|
+
/** Extra text injected into the agent's system prompt. Used by the CLI to deliver the local tools manifest. */
|
|
65
|
+
cliContext?: string;
|
|
64
66
|
}
|
|
65
67
|
interface ChatMessage {
|
|
66
68
|
role: 'user' | 'assistant' | 'system' | 'tool';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-commons/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"description": "Typed client SDK for the Agent Commons API",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -16,11 +16,6 @@
|
|
|
16
16
|
"require": "./dist/index.cjs"
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
|
-
"scripts": {
|
|
20
|
-
"build": "tsup",
|
|
21
|
-
"dev": "tsup --watch",
|
|
22
|
-
"test": "jest --passWithNoTests"
|
|
23
|
-
},
|
|
24
19
|
"publishConfig": {
|
|
25
20
|
"access": "public"
|
|
26
21
|
},
|
|
@@ -31,5 +26,10 @@
|
|
|
31
26
|
"jest": "^29.0.0",
|
|
32
27
|
"ts-jest": "^29.0.0",
|
|
33
28
|
"@types/jest": "^29.0.0"
|
|
29
|
+
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "tsup",
|
|
32
|
+
"dev": "tsup --watch",
|
|
33
|
+
"test": "jest --passWithNoTests"
|
|
34
34
|
}
|
|
35
|
-
}
|
|
35
|
+
}
|