@aigne/agent-library 1.13.2 → 1.15.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 +30 -0
- package/lib/cjs/data-mapper/agents/mapper.d.ts +7 -2
- package/lib/cjs/fs-memory/index.d.ts +2 -2
- package/lib/cjs/orchestrator/index.d.ts +1 -0
- package/lib/cjs/orchestrator/index.js +1 -0
- package/lib/dts/data-mapper/agents/mapper.d.ts +7 -2
- package/lib/dts/fs-memory/index.d.ts +2 -2
- package/lib/dts/orchestrator/index.d.ts +1 -0
- package/lib/esm/data-mapper/agents/mapper.d.ts +7 -2
- package/lib/esm/fs-memory/index.d.ts +2 -2
- package/lib/esm/orchestrator/index.d.ts +1 -0
- package/lib/esm/orchestrator/index.js +1 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,36 @@
|
|
|
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.15.0](https://github.com/AIGNE-io/aigne-framework/compare/agent-library-v1.14.0...agent-library-v1.15.0) (2025-06-24)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* support observability for cli and blocklet ([#155](https://github.com/AIGNE-io/aigne-framework/issues/155)) ([5baa705](https://github.com/AIGNE-io/aigne-framework/commit/5baa705a33cfdba1efc5ccbe18674c27513ca97d))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Dependencies
|
|
17
|
+
|
|
18
|
+
* The following workspace dependencies were updated
|
|
19
|
+
* dependencies
|
|
20
|
+
* @aigne/core bumped to 1.22.0
|
|
21
|
+
* @aigne/openai bumped to 0.3.4
|
|
22
|
+
|
|
23
|
+
## [1.14.0](https://github.com/AIGNE-io/aigne-framework/compare/agent-library-v1.13.2...agent-library-v1.14.0) (2025-06-20)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Features
|
|
27
|
+
|
|
28
|
+
* **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))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Dependencies
|
|
32
|
+
|
|
33
|
+
* The following workspace dependencies were updated
|
|
34
|
+
* dependencies
|
|
35
|
+
* @aigne/core bumped to 1.21.0
|
|
36
|
+
* @aigne/openai bumped to 0.3.3
|
|
37
|
+
|
|
8
38
|
## [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
39
|
|
|
10
40
|
|
|
@@ -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;
|
|
@@ -62,6 +62,7 @@ export interface OrchestratorAgentOptions<I extends Message = Message, O extends
|
|
|
62
62
|
* - Synthesizes final result through completer
|
|
63
63
|
*/
|
|
64
64
|
export declare class OrchestratorAgent<I extends Message = Message, O extends Message = Message> extends Agent<I, O> {
|
|
65
|
+
tag: string;
|
|
65
66
|
/**
|
|
66
67
|
* Factory method to create an OrchestratorAgent instance
|
|
67
68
|
* @param options - Configuration options for the Orchestrator Agent
|
|
@@ -51,6 +51,7 @@ __exportStar(require("./orchestrator-prompts.js"), exports);
|
|
|
51
51
|
* - Synthesizes final result through completer
|
|
52
52
|
*/
|
|
53
53
|
class OrchestratorAgent extends core_1.Agent {
|
|
54
|
+
tag = "OrchestratorAgent";
|
|
54
55
|
/**
|
|
55
56
|
* Factory method to create an OrchestratorAgent instance
|
|
56
57
|
* @param options - Configuration options for the Orchestrator Agent
|
|
@@ -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;
|
|
@@ -62,6 +62,7 @@ export interface OrchestratorAgentOptions<I extends Message = Message, O extends
|
|
|
62
62
|
* - Synthesizes final result through completer
|
|
63
63
|
*/
|
|
64
64
|
export declare class OrchestratorAgent<I extends Message = Message, O extends Message = Message> extends Agent<I, O> {
|
|
65
|
+
tag: string;
|
|
65
66
|
/**
|
|
66
67
|
* Factory method to create an OrchestratorAgent instance
|
|
67
68
|
* @param options - Configuration options for the Orchestrator Agent
|
|
@@ -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;
|
|
@@ -62,6 +62,7 @@ export interface OrchestratorAgentOptions<I extends Message = Message, O extends
|
|
|
62
62
|
* - Synthesizes final result through completer
|
|
63
63
|
*/
|
|
64
64
|
export declare class OrchestratorAgent<I extends Message = Message, O extends Message = Message> extends Agent<I, O> {
|
|
65
|
+
tag: string;
|
|
65
66
|
/**
|
|
66
67
|
* Factory method to create an OrchestratorAgent instance
|
|
67
68
|
* @param options - Configuration options for the Orchestrator Agent
|
|
@@ -31,6 +31,7 @@ export * from "./orchestrator-prompts.js";
|
|
|
31
31
|
* - Synthesizes final result through completer
|
|
32
32
|
*/
|
|
33
33
|
export class OrchestratorAgent extends Agent {
|
|
34
|
+
tag = "OrchestratorAgent";
|
|
34
35
|
/**
|
|
35
36
|
* Factory method to create an OrchestratorAgent instance
|
|
36
37
|
* @param options - Configuration options for the Orchestrator Agent
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/agent-library",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.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.22.0",
|
|
51
51
|
"@aigne/sqlite": "^0.1.1",
|
|
52
|
-
"@aigne/openai": "^0.3.
|
|
52
|
+
"@aigne/openai": "^0.3.4"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/bun": "^1.2.12",
|