@aigne/test-utils 0.4.16 → 0.5.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 CHANGED
@@ -1,5 +1,37 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.5.2](https://github.com/AIGNE-io/aigne-framework/compare/test-utils-v0.5.1...test-utils-v0.5.2) (2025-07-08)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * The following workspace dependencies were updated
9
+ * dependencies
10
+ * @aigne/core bumped to 1.32.0
11
+
12
+ ## [0.5.1](https://github.com/AIGNE-io/aigne-framework/compare/test-utils-v0.5.0...test-utils-v0.5.1) (2025-07-04)
13
+
14
+
15
+ ### Dependencies
16
+
17
+ * The following workspace dependencies were updated
18
+ * dependencies
19
+ * @aigne/core bumped to 1.31.0
20
+
21
+ ## [0.5.0](https://github.com/AIGNE-io/aigne-framework/compare/test-utils-v0.4.16...test-utils-v0.5.0) (2025-07-03)
22
+
23
+
24
+ ### Features
25
+
26
+ * upgrade dependencies and adapt code to breaking changes ([#216](https://github.com/AIGNE-io/aigne-framework/issues/216)) ([f215ced](https://github.com/AIGNE-io/aigne-framework/commit/f215cedc1a57e321164064c33316e496eae8d25f))
27
+
28
+
29
+ ### Dependencies
30
+
31
+ * The following workspace dependencies were updated
32
+ * dependencies
33
+ * @aigne/core bumped to 1.30.0
34
+
3
35
  ## [0.4.16](https://github.com/AIGNE-io/aigne-framework/compare/test-utils-v0.4.15...test-utils-v0.4.16) (2025-07-02)
4
36
 
5
37
 
@@ -1,7 +1,7 @@
1
1
  import { type ChatModelInputResponseFormat, type ChatModelInputTool, type ChatModelOutputToolCall, type Message } from "@aigne/core";
2
2
  export declare const COMMON_TOOLS: ChatModelInputTool[];
3
3
  export declare const COMMON_RESPONSE_FORMAT: ChatModelInputResponseFormat;
4
- export declare const createWeatherToolMessages: () => import("@aigne/core").ChatModelInputMessage[];
4
+ export declare const createWeatherToolMessages: () => Promise<import("@aigne/core").ChatModelInputMessage[]>;
5
5
  export declare const createWeatherToolExpected: () => any;
6
- export declare const createWeatherToolCallMessages: () => import("@aigne/core").ChatModelInputMessage[];
6
+ export declare const createWeatherToolCallMessages: () => Promise<import("@aigne/core").ChatModelInputMessage[]>;
7
7
  export declare function createToolCallResponse(functionName: string, args: Message): ChatModelOutputToolCall;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/test-utils",
3
- "version": "0.4.16",
3
+ "version": "0.5.2",
4
4
  "description": "Test utils for AIGNE framework",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -24,11 +24,11 @@
24
24
  }
25
25
  },
26
26
  "dependencies": {
27
- "@aigne/core": "^1.29.1"
27
+ "@aigne/core": "^1.32.0"
28
28
  },
29
29
  "devDependencies": {
30
- "@types/bun": "^1.2.12",
31
- "@types/node": "^22.15.15",
30
+ "@types/bun": "^1.2.17",
31
+ "@types/node": "^24.0.10",
32
32
  "rimraf": "^6.0.1",
33
33
  "typescript": "^5.8.3"
34
34
  },
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  type AgentResponseChunk,
3
3
  type AgentResponseStream,
4
- type Message,
5
4
  isAgentResponseProgress,
5
+ type Message,
6
6
  } from "@aigne/core";
7
7
  import { readableStreamToArray } from "@aigne/core/utils/stream-utils.js";
8
8