@aigne/agent-library 1.13.2 → 1.14.0
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 +15 -0
- package/lib/cjs/data-mapper/agents/mapper.d.ts +7 -2
- package/lib/cjs/fs-memory/index.d.ts +2 -2
- package/lib/dts/data-mapper/agents/mapper.d.ts +7 -2
- package/lib/dts/fs-memory/index.d.ts +2 -2
- package/lib/esm/data-mapper/agents/mapper.d.ts +7 -2
- package/lib/esm/fs-memory/index.d.ts +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,21 @@
|
|
|
5
5
|
|
|
6
6
|
* add schema transform ([#35](https://github.com/AIGNE-io/aigne-framework/issues/35)) ([c7d9a2c](https://github.com/AIGNE-io/aigne-framework/commit/c7d9a2c9fcab8d384d4198db5ff6ba4603846cdf))
|
|
7
7
|
|
|
8
|
+
## [1.14.0](https://github.com/AIGNE-io/aigne-framework/compare/agent-library-v1.13.2...agent-library-v1.14.0) (2025-06-20)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **cli:** support pass named input to agent by --input-xxx ([#167](https://github.com/AIGNE-io/aigne-framework/issues/167)) ([cda5bb6](https://github.com/AIGNE-io/aigne-framework/commit/cda5bb6baab680787de1a042664fe34c17a84bb1))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Dependencies
|
|
17
|
+
|
|
18
|
+
* The following workspace dependencies were updated
|
|
19
|
+
* dependencies
|
|
20
|
+
* @aigne/core bumped to 1.21.0
|
|
21
|
+
* @aigne/openai bumped to 0.3.3
|
|
22
|
+
|
|
8
23
|
## [1.13.2](https://github.com/AIGNE-io/aigne-framework/compare/agent-library-v1.13.1...agent-library-v1.13.2) (2025-06-19)
|
|
9
24
|
|
|
10
25
|
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { AIAgent } from "@aigne/core";
|
|
2
|
-
declare const mapper: AIAgent<
|
|
3
|
-
|
|
2
|
+
declare const mapper: AIAgent<{
|
|
3
|
+
sourceData: string;
|
|
4
|
+
responseSchema: string;
|
|
5
|
+
sourceSchema?: string | undefined;
|
|
6
|
+
instruction?: string | undefined;
|
|
7
|
+
responseData?: string | undefined;
|
|
8
|
+
feedback?: string | undefined;
|
|
4
9
|
}, {
|
|
5
10
|
jsonata: string;
|
|
6
11
|
confidence: number;
|
|
@@ -36,7 +36,7 @@ export declare class FSMemory extends MemoryAgent {
|
|
|
36
36
|
*/
|
|
37
37
|
constructor(options: FSMemoryOptions);
|
|
38
38
|
}
|
|
39
|
-
interface FSMemoryRetrieverOptions extends AIAgentOptions<
|
|
39
|
+
interface FSMemoryRetrieverOptions extends AIAgentOptions<FSMemoryRetrieverAgentInput, FSMemoryRetrieverAgentOutput> {
|
|
40
40
|
memoryFileName: string;
|
|
41
41
|
}
|
|
42
42
|
interface FSMemoryRetrieverAgentInput extends MemoryRetrieverInput {
|
|
@@ -47,7 +47,7 @@ interface FSMemoryRetrieverAgentOutput extends Message {
|
|
|
47
47
|
content: string;
|
|
48
48
|
}[];
|
|
49
49
|
}
|
|
50
|
-
interface FSMemoryRecorderOptions extends AIAgentOptions<
|
|
50
|
+
interface FSMemoryRecorderOptions extends AIAgentOptions<FSMemoryRecorderAgentInput, FSMemoryRecorderAgentOutput> {
|
|
51
51
|
memoryFileName: string;
|
|
52
52
|
}
|
|
53
53
|
type FSMemoryRecorderAgentInput = MemoryRecorderInput;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { AIAgent } from "@aigne/core";
|
|
2
|
-
declare const mapper: AIAgent<
|
|
3
|
-
|
|
2
|
+
declare const mapper: AIAgent<{
|
|
3
|
+
sourceData: string;
|
|
4
|
+
responseSchema: string;
|
|
5
|
+
sourceSchema?: string | undefined;
|
|
6
|
+
instruction?: string | undefined;
|
|
7
|
+
responseData?: string | undefined;
|
|
8
|
+
feedback?: string | undefined;
|
|
4
9
|
}, {
|
|
5
10
|
jsonata: string;
|
|
6
11
|
confidence: number;
|
|
@@ -36,7 +36,7 @@ export declare class FSMemory extends MemoryAgent {
|
|
|
36
36
|
*/
|
|
37
37
|
constructor(options: FSMemoryOptions);
|
|
38
38
|
}
|
|
39
|
-
interface FSMemoryRetrieverOptions extends AIAgentOptions<
|
|
39
|
+
interface FSMemoryRetrieverOptions extends AIAgentOptions<FSMemoryRetrieverAgentInput, FSMemoryRetrieverAgentOutput> {
|
|
40
40
|
memoryFileName: string;
|
|
41
41
|
}
|
|
42
42
|
interface FSMemoryRetrieverAgentInput extends MemoryRetrieverInput {
|
|
@@ -47,7 +47,7 @@ interface FSMemoryRetrieverAgentOutput extends Message {
|
|
|
47
47
|
content: string;
|
|
48
48
|
}[];
|
|
49
49
|
}
|
|
50
|
-
interface FSMemoryRecorderOptions extends AIAgentOptions<
|
|
50
|
+
interface FSMemoryRecorderOptions extends AIAgentOptions<FSMemoryRecorderAgentInput, FSMemoryRecorderAgentOutput> {
|
|
51
51
|
memoryFileName: string;
|
|
52
52
|
}
|
|
53
53
|
type FSMemoryRecorderAgentInput = MemoryRecorderInput;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { AIAgent } from "@aigne/core";
|
|
2
|
-
declare const mapper: AIAgent<
|
|
3
|
-
|
|
2
|
+
declare const mapper: AIAgent<{
|
|
3
|
+
sourceData: string;
|
|
4
|
+
responseSchema: string;
|
|
5
|
+
sourceSchema?: string | undefined;
|
|
6
|
+
instruction?: string | undefined;
|
|
7
|
+
responseData?: string | undefined;
|
|
8
|
+
feedback?: string | undefined;
|
|
4
9
|
}, {
|
|
5
10
|
jsonata: string;
|
|
6
11
|
confidence: number;
|
|
@@ -36,7 +36,7 @@ export declare class FSMemory extends MemoryAgent {
|
|
|
36
36
|
*/
|
|
37
37
|
constructor(options: FSMemoryOptions);
|
|
38
38
|
}
|
|
39
|
-
interface FSMemoryRetrieverOptions extends AIAgentOptions<
|
|
39
|
+
interface FSMemoryRetrieverOptions extends AIAgentOptions<FSMemoryRetrieverAgentInput, FSMemoryRetrieverAgentOutput> {
|
|
40
40
|
memoryFileName: string;
|
|
41
41
|
}
|
|
42
42
|
interface FSMemoryRetrieverAgentInput extends MemoryRetrieverInput {
|
|
@@ -47,7 +47,7 @@ interface FSMemoryRetrieverAgentOutput extends Message {
|
|
|
47
47
|
content: string;
|
|
48
48
|
}[];
|
|
49
49
|
}
|
|
50
|
-
interface FSMemoryRecorderOptions extends AIAgentOptions<
|
|
50
|
+
interface FSMemoryRecorderOptions extends AIAgentOptions<FSMemoryRecorderAgentInput, FSMemoryRecorderAgentOutput> {
|
|
51
51
|
memoryFileName: string;
|
|
52
52
|
}
|
|
53
53
|
type FSMemoryRecorderAgentInput = MemoryRecorderInput;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/agent-library",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.0",
|
|
4
4
|
"description": "Collection of agent libraries for AIGNE framework",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
"uuid": "^11.1.0",
|
|
48
48
|
"yaml": "^2.7.1",
|
|
49
49
|
"zod": "^3.24.4",
|
|
50
|
-
"@aigne/core": "^1.
|
|
50
|
+
"@aigne/core": "^1.21.0",
|
|
51
51
|
"@aigne/sqlite": "^0.1.1",
|
|
52
|
-
"@aigne/openai": "^0.3.
|
|
52
|
+
"@aigne/openai": "^0.3.3"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/bun": "^1.2.12",
|