@aigne/core 1.62.0-beta.1 → 1.62.0-beta.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,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.62.0-beta.2](https://github.com/AIGNE-io/aigne-framework/compare/core-v1.62.0-beta.1...core-v1.62.0-beta.2) (2025-10-01)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **core:** add `include_input_in_output` option for agent definition ([#575](https://github.com/AIGNE-io/aigne-framework/issues/575)) ([9e28b72](https://github.com/AIGNE-io/aigne-framework/commit/9e28b729963faa8bea90ee42fde855868889396d))
|
|
9
|
+
|
|
3
10
|
## [1.62.0-beta.1](https://github.com/AIGNE-io/aigne-framework/compare/core-v1.62.0-beta...core-v1.62.0-beta.1) (2025-10-01)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -29,6 +29,7 @@ export interface BaseAgentSchema {
|
|
|
29
29
|
inputSchema?: ZodType<Record<string, any>>;
|
|
30
30
|
defaultInput?: Record<string, any>;
|
|
31
31
|
outputSchema?: ZodType<Record<string, any>>;
|
|
32
|
+
includeInputInOutput?: boolean;
|
|
32
33
|
skills?: NestAgentSchema[];
|
|
33
34
|
hooks?: HooksSchema | HooksSchema[];
|
|
34
35
|
memory?: boolean | {
|
|
@@ -43,6 +43,7 @@ async function parseAgentFile(path, data) {
|
|
|
43
43
|
inputSchema: (0, schema_js_1.optionalize)((0, schema_js_1.inputOutputSchema)({ path })).transform((v) => v ? (0, json_schema_to_zod_1.jsonSchemaToZod)(v) : undefined),
|
|
44
44
|
defaultInput: (0, schema_js_1.optionalize)(schema_js_1.defaultInputSchema),
|
|
45
45
|
outputSchema: (0, schema_js_1.optionalize)((0, schema_js_1.inputOutputSchema)({ path })).transform((v) => v ? (0, json_schema_to_zod_1.jsonSchemaToZod)(v) : undefined),
|
|
46
|
+
includeInputInOutput: (0, schema_js_1.optionalize)(zod_1.z.boolean()),
|
|
46
47
|
hooks: (0, schema_js_1.optionalize)(zod_1.z.union([hooksSchema, zod_1.z.array(hooksSchema)])),
|
|
47
48
|
skills: (0, schema_js_1.optionalize)(zod_1.z.array(nestAgentSchema)),
|
|
48
49
|
memory: (0, schema_js_1.optionalize)(zod_1.z.union([
|
|
@@ -29,6 +29,7 @@ export interface BaseAgentSchema {
|
|
|
29
29
|
inputSchema?: ZodType<Record<string, any>>;
|
|
30
30
|
defaultInput?: Record<string, any>;
|
|
31
31
|
outputSchema?: ZodType<Record<string, any>>;
|
|
32
|
+
includeInputInOutput?: boolean;
|
|
32
33
|
skills?: NestAgentSchema[];
|
|
33
34
|
hooks?: HooksSchema | HooksSchema[];
|
|
34
35
|
memory?: boolean | {
|
|
@@ -29,6 +29,7 @@ export interface BaseAgentSchema {
|
|
|
29
29
|
inputSchema?: ZodType<Record<string, any>>;
|
|
30
30
|
defaultInput?: Record<string, any>;
|
|
31
31
|
outputSchema?: ZodType<Record<string, any>>;
|
|
32
|
+
includeInputInOutput?: boolean;
|
|
32
33
|
skills?: NestAgentSchema[];
|
|
33
34
|
hooks?: HooksSchema | HooksSchema[];
|
|
34
35
|
memory?: boolean | {
|
|
@@ -39,6 +39,7 @@ export async function parseAgentFile(path, data) {
|
|
|
39
39
|
inputSchema: optionalize(inputOutputSchema({ path })).transform((v) => v ? jsonSchemaToZod(v) : undefined),
|
|
40
40
|
defaultInput: optionalize(defaultInputSchema),
|
|
41
41
|
outputSchema: optionalize(inputOutputSchema({ path })).transform((v) => v ? jsonSchemaToZod(v) : undefined),
|
|
42
|
+
includeInputInOutput: optionalize(z.boolean()),
|
|
42
43
|
hooks: optionalize(z.union([hooksSchema, z.array(hooksSchema)])),
|
|
43
44
|
skills: optionalize(z.array(nestAgentSchema)),
|
|
44
45
|
memory: optionalize(z.union([
|