@aigne/transport 0.11.0 → 0.11.2
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 +33 -0
- package/README.md +8 -0
- package/lib/cjs/http-client/client.d.ts +1 -0
- package/lib/cjs/http-client/client.js +1 -0
- package/lib/dts/http-client/client.d.ts +1 -0
- package/lib/esm/http-client/client.d.ts +1 -0
- package/lib/esm/http-client/client.js +1 -0
- package/package.json +10 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.11.2](https://github.com/AIGNE-io/aigne-framework/compare/transport-v0.11.1...transport-v0.11.2) (2025-08-05)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* The following workspace dependencies were updated
|
|
9
|
+
* dependencies
|
|
10
|
+
* @aigne/openai bumped to 0.10.11
|
|
11
|
+
* devDependencies
|
|
12
|
+
* @aigne/agent-library bumped to 1.21.11
|
|
13
|
+
* @aigne/core bumped to 1.43.1
|
|
14
|
+
* @aigne/default-memory bumped to 1.0.11
|
|
15
|
+
* @aigne/test-utils bumped to 0.5.19
|
|
16
|
+
|
|
17
|
+
## [0.11.1](https://github.com/AIGNE-io/aigne-framework/compare/transport-v0.11.0...transport-v0.11.1) (2025-08-04)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **core:** share skills/agents from context ([#309](https://github.com/AIGNE-io/aigne-framework/issues/309)) ([88dd849](https://github.com/AIGNE-io/aigne-framework/commit/88dd849954c6f3fb68df238be22be3371c734e6e))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Dependencies
|
|
26
|
+
|
|
27
|
+
* The following workspace dependencies were updated
|
|
28
|
+
* dependencies
|
|
29
|
+
* @aigne/openai bumped to 0.10.10
|
|
30
|
+
* devDependencies
|
|
31
|
+
* @aigne/agent-library bumped to 1.21.10
|
|
32
|
+
* @aigne/core bumped to 1.43.0
|
|
33
|
+
* @aigne/default-memory bumped to 1.0.10
|
|
34
|
+
* @aigne/test-utils bumped to 0.5.18
|
|
35
|
+
|
|
3
36
|
## [0.11.0](https://github.com/AIGNE-io/aigne-framework/compare/transport-v0.10.8...transport-v0.11.0) (2025-08-01)
|
|
4
37
|
|
|
5
38
|
|
package/README.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @aigne/transport
|
|
2
2
|
|
|
3
|
+
<p align="center">
|
|
4
|
+
<picture>
|
|
5
|
+
<source srcset="https://raw.githubusercontent.com/AIGNE-io/aigne-framework/main/logo-dark.svg" media="(prefers-color-scheme: dark)">
|
|
6
|
+
<source srcset="https://raw.githubusercontent.com/AIGNE-io/aigne-framework/main/logo.svg" media="(prefers-color-scheme: light)">
|
|
7
|
+
<img src="https://raw.githubusercontent.com/AIGNE-io/aigne-framework/main/logo.svg" alt="AIGNE Logo" width="400" />
|
|
8
|
+
</picture>
|
|
9
|
+
</p>
|
|
10
|
+
|
|
3
11
|
[](https://star-history.com/#AIGNE-io/aigne-framework)
|
|
4
12
|
[](https://github.com/AIGNE-io/aigne-framework/issues)
|
|
5
13
|
[](https://codecov.io/gh/AIGNE-io/aigne-framework)
|
|
@@ -41,6 +41,7 @@ export declare class AIGNEHTTPClient<U extends UserContext = UserContext> extend
|
|
|
41
41
|
userContext: U;
|
|
42
42
|
memories: Context["memories"];
|
|
43
43
|
model: ClientChatModel;
|
|
44
|
+
agents: never[];
|
|
44
45
|
invoke<I extends Message, O extends Message>(agent: Agent<I, O> | string): UserAgent<I, O>;
|
|
45
46
|
invoke<I extends Message, O extends Message>(agent: Agent<I, O> | string, message: I, options: AIGNEHTTPClientInvokeOptions & {
|
|
46
47
|
returnActiveAgent: true;
|
|
@@ -37,6 +37,7 @@ class AIGNEHTTPClient extends base_client_js_1.BaseClient {
|
|
|
37
37
|
userContext = {};
|
|
38
38
|
memories = [];
|
|
39
39
|
model = new client_chat_model_js_1.ClientChatModel(this);
|
|
40
|
+
agents = [];
|
|
40
41
|
invoke(agent, message, options) {
|
|
41
42
|
if (options?.returnActiveAgent)
|
|
42
43
|
throw new Error("Method not implemented.");
|
|
@@ -41,6 +41,7 @@ export declare class AIGNEHTTPClient<U extends UserContext = UserContext> extend
|
|
|
41
41
|
userContext: U;
|
|
42
42
|
memories: Context["memories"];
|
|
43
43
|
model: ClientChatModel;
|
|
44
|
+
agents: never[];
|
|
44
45
|
invoke<I extends Message, O extends Message>(agent: Agent<I, O> | string): UserAgent<I, O>;
|
|
45
46
|
invoke<I extends Message, O extends Message>(agent: Agent<I, O> | string, message: I, options: AIGNEHTTPClientInvokeOptions & {
|
|
46
47
|
returnActiveAgent: true;
|
|
@@ -41,6 +41,7 @@ export declare class AIGNEHTTPClient<U extends UserContext = UserContext> extend
|
|
|
41
41
|
userContext: U;
|
|
42
42
|
memories: Context["memories"];
|
|
43
43
|
model: ClientChatModel;
|
|
44
|
+
agents: never[];
|
|
44
45
|
invoke<I extends Message, O extends Message>(agent: Agent<I, O> | string): UserAgent<I, O>;
|
|
45
46
|
invoke<I extends Message, O extends Message>(agent: Agent<I, O> | string, message: I, options: AIGNEHTTPClientInvokeOptions & {
|
|
46
47
|
returnActiveAgent: true;
|
package/package.json
CHANGED
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/transport",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.2",
|
|
4
4
|
"description": "AIGNE Transport SDK providing HTTP client and server implementations for communication between AIGNE components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
8
|
"author": "Arcblock <blocklet@arcblock.io> https://github.com/blocklet",
|
|
9
|
-
"homepage": "https://
|
|
9
|
+
"homepage": "https://www.aigne.io/framework",
|
|
10
10
|
"license": "Elastic-2.0",
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
13
|
"url": "git+https://github.com/AIGNE-io/aigne-framework"
|
|
14
14
|
},
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/AIGNE-io/aigne-framework/issues"
|
|
17
|
+
},
|
|
15
18
|
"files": [
|
|
16
19
|
"lib/cjs",
|
|
17
20
|
"lib/dts",
|
|
@@ -42,7 +45,7 @@
|
|
|
42
45
|
"content-type": "^1.0.5",
|
|
43
46
|
"raw-body": "^3.0.0",
|
|
44
47
|
"zod": "^3.25.67",
|
|
45
|
-
"@aigne/openai": "^0.10.
|
|
48
|
+
"@aigne/openai": "^0.10.11"
|
|
46
49
|
},
|
|
47
50
|
"devDependencies": {
|
|
48
51
|
"@types/bun": "^1.2.18",
|
|
@@ -57,10 +60,10 @@
|
|
|
57
60
|
"rimraf": "^6.0.1",
|
|
58
61
|
"typescript": "^5.8.3",
|
|
59
62
|
"uuid": "^11.1.0",
|
|
60
|
-
"@aigne/agent-library": "^1.21.
|
|
61
|
-
"@aigne/
|
|
62
|
-
"@aigne/
|
|
63
|
-
"@aigne/test-utils": "^0.5.
|
|
63
|
+
"@aigne/agent-library": "^1.21.11",
|
|
64
|
+
"@aigne/default-memory": "^1.0.11",
|
|
65
|
+
"@aigne/core": "^1.43.1",
|
|
66
|
+
"@aigne/test-utils": "^0.5.19"
|
|
64
67
|
},
|
|
65
68
|
"scripts": {
|
|
66
69
|
"lint": "tsc --noEmit",
|