@aigne/transport 0.10.8 → 0.11.1

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
@@ -1,5 +1,43 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.11.1](https://github.com/AIGNE-io/aigne-framework/compare/transport-v0.11.0...transport-v0.11.1) (2025-08-04)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **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))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @aigne/openai bumped to 0.10.10
16
+ * devDependencies
17
+ * @aigne/agent-library bumped to 1.21.10
18
+ * @aigne/core bumped to 1.43.0
19
+ * @aigne/default-memory bumped to 1.0.10
20
+ * @aigne/test-utils bumped to 0.5.18
21
+
22
+ ## [0.11.0](https://github.com/AIGNE-io/aigne-framework/compare/transport-v0.10.8...transport-v0.11.0) (2025-08-01)
23
+
24
+
25
+ ### Features
26
+
27
+ * support google model and skip check mode when connected to Hub ([#300](https://github.com/AIGNE-io/aigne-framework/issues/300)) ([e992c0f](https://github.com/AIGNE-io/aigne-framework/commit/e992c0f3335a7c512fa807d5b8ad10c9c3bf2351))
28
+
29
+
30
+ ### Dependencies
31
+
32
+ * The following workspace dependencies were updated
33
+ * dependencies
34
+ * @aigne/openai bumped to 0.10.9
35
+ * devDependencies
36
+ * @aigne/agent-library bumped to 1.21.9
37
+ * @aigne/core bumped to 1.42.0
38
+ * @aigne/default-memory bumped to 1.0.9
39
+ * @aigne/test-utils bumped to 0.5.17
40
+
3
41
  ## [0.10.8](https://github.com/AIGNE-io/aigne-framework/compare/transport-v0.10.7...transport-v0.10.8) (2025-07-31)
4
42
 
5
43
 
@@ -13,7 +13,7 @@ export interface BaseClientInvokeOptions extends InvokeOptions {
13
13
  }
14
14
  export interface BaseClientOptions {
15
15
  url: string;
16
- accessKey?: string;
16
+ apiKey?: string;
17
17
  model?: string;
18
18
  modelOptions?: ChatModelOptions;
19
19
  clientOptions?: OpenAIChatModelOptions["clientOptions"];
@@ -33,8 +33,8 @@ class BaseClient {
33
33
  "Content-Type": "application/json",
34
34
  ...options?.fetchOptions?.headers,
35
35
  };
36
- if (this.options?.accessKey) {
37
- headers["Authorization"] = `Bearer ${this.options.accessKey}`;
36
+ if (this.options?.apiKey) {
37
+ headers["Authorization"] = `Bearer ${this.options.apiKey}`;
38
38
  }
39
39
  const body = {
40
40
  model,
@@ -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.");
@@ -13,7 +13,7 @@ export interface BaseClientInvokeOptions extends InvokeOptions {
13
13
  }
14
14
  export interface BaseClientOptions {
15
15
  url: string;
16
- accessKey?: string;
16
+ apiKey?: string;
17
17
  model?: string;
18
18
  modelOptions?: ChatModelOptions;
19
19
  clientOptions?: OpenAIChatModelOptions["clientOptions"];
@@ -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;
@@ -13,7 +13,7 @@ export interface BaseClientInvokeOptions extends InvokeOptions {
13
13
  }
14
14
  export interface BaseClientOptions {
15
15
  url: string;
16
- accessKey?: string;
16
+ apiKey?: string;
17
17
  model?: string;
18
18
  modelOptions?: ChatModelOptions;
19
19
  clientOptions?: OpenAIChatModelOptions["clientOptions"];
@@ -30,8 +30,8 @@ export class BaseClient {
30
30
  "Content-Type": "application/json",
31
31
  ...options?.fetchOptions?.headers,
32
32
  };
33
- if (this.options?.accessKey) {
34
- headers["Authorization"] = `Bearer ${this.options.accessKey}`;
33
+ if (this.options?.apiKey) {
34
+ headers["Authorization"] = `Bearer ${this.options.apiKey}`;
35
35
  }
36
36
  const body = {
37
37
  model,
@@ -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;
@@ -34,6 +34,7 @@ export class AIGNEHTTPClient extends BaseClient {
34
34
  userContext = {};
35
35
  memories = [];
36
36
  model = new ClientChatModel(this);
37
+ agents = [];
37
38
  invoke(agent, message, options) {
38
39
  if (options?.returnActiveAgent)
39
40
  throw new Error("Method not implemented.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/transport",
3
- "version": "0.10.8",
3
+ "version": "0.11.1",
4
4
  "description": "AIGNE Transport SDK providing HTTP client and server implementations for communication between AIGNE components",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -42,7 +42,7 @@
42
42
  "content-type": "^1.0.5",
43
43
  "raw-body": "^3.0.0",
44
44
  "zod": "^3.25.67",
45
- "@aigne/openai": "^0.10.8"
45
+ "@aigne/openai": "^0.10.10"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/bun": "^1.2.18",
@@ -57,10 +57,10 @@
57
57
  "rimraf": "^6.0.1",
58
58
  "typescript": "^5.8.3",
59
59
  "uuid": "^11.1.0",
60
- "@aigne/core": "^1.41.0",
61
- "@aigne/agent-library": "^1.21.8",
62
- "@aigne/default-memory": "^1.0.8",
63
- "@aigne/test-utils": "^0.5.16"
60
+ "@aigne/agent-library": "^1.21.10",
61
+ "@aigne/core": "^1.43.0",
62
+ "@aigne/default-memory": "^1.0.10",
63
+ "@aigne/test-utils": "^0.5.18"
64
64
  },
65
65
  "scripts": {
66
66
  "lint": "tsc --noEmit",