@aigne/core 1.71.0-beta → 1.71.0-beta.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,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.71.0-beta.1](https://github.com/AIGNE-io/aigne-framework/compare/core-v1.71.0-beta...core-v1.71.0-beta.1) (2025-12-08)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * correct run example & doc improvements ([#707](https://github.com/AIGNE-io/aigne-framework/issues/707)) ([f98fc5d](https://github.com/AIGNE-io/aigne-framework/commit/f98fc5df28fd6ce6134128c2f0e5395c1554b740))
9
+
3
10
  ## [1.71.0-beta](https://github.com/AIGNE-io/aigne-framework/compare/core-v1.70.1...core-v1.71.0-beta) (2025-12-07)
4
11
 
5
12
 
@@ -238,5 +238,6 @@ export declare function loadAIGNEFile(path: string): Promise<{
238
238
  aigne: z.infer<typeof aigneFileSchema>;
239
239
  rootDir: string;
240
240
  }>;
241
+ export declare function findAIGNEFile(path: string): Promise<string>;
241
242
  export declare function instructionsToPromptBuilder(instructions: Instructions): PromptBuilder;
242
243
  export {};
@@ -5,6 +5,7 @@ exports.loadAgent = loadAgent;
5
5
  exports.loadNestAgent = loadNestAgent;
6
6
  exports.parseAgent = parseAgent;
7
7
  exports.loadAIGNEFile = loadAIGNEFile;
8
+ exports.findAIGNEFile = findAIGNEFile;
8
9
  exports.instructionsToPromptBuilder = instructionsToPromptBuilder;
9
10
  const afs_1 = require("@aigne/afs");
10
11
  const index_js_1 = require("@aigne/platform-helpers/nodejs/index.js");
@@ -238,5 +238,6 @@ export declare function loadAIGNEFile(path: string): Promise<{
238
238
  aigne: z.infer<typeof aigneFileSchema>;
239
239
  rootDir: string;
240
240
  }>;
241
+ export declare function findAIGNEFile(path: string): Promise<string>;
241
242
  export declare function instructionsToPromptBuilder(instructions: Instructions): PromptBuilder;
242
243
  export {};
@@ -238,5 +238,6 @@ export declare function loadAIGNEFile(path: string): Promise<{
238
238
  aigne: z.infer<typeof aigneFileSchema>;
239
239
  rootDir: string;
240
240
  }>;
241
+ export declare function findAIGNEFile(path: string): Promise<string>;
241
242
  export declare function instructionsToPromptBuilder(instructions: Instructions): PromptBuilder;
242
243
  export {};
@@ -269,7 +269,7 @@ export async function loadAIGNEFile(path) {
269
269
  const aigne = tryOrThrow(() => aigneFileSchema.parse({ ...json, model: json.model || json.chatModel || json.chat_model }), (error) => new Error(`Failed to validate aigne.yaml from ${file}: ${error.message}`));
270
270
  return { aigne, rootDir: nodejs.path.dirname(file) };
271
271
  }
272
- async function findAIGNEFile(path) {
272
+ export async function findAIGNEFile(path) {
273
273
  const possibleFiles = AIGNE_FILE_NAME.includes(nodejs.path.basename(path))
274
274
  ? [path]
275
275
  : AIGNE_FILE_NAME.map((name) => nodejs.path.join(path, name));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/core",
3
- "version": "1.71.0-beta",
3
+ "version": "1.71.0-beta.1",
4
4
  "description": "The functional core of agentic AI",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -92,10 +92,10 @@
92
92
  "zod": "^3.25.67",
93
93
  "zod-from-json-schema": "^0.0.5",
94
94
  "zod-to-json-schema": "^3.24.6",
95
- "@aigne/afs": "^1.3.0-beta",
96
95
  "@aigne/afs-history": "^1.1.3-beta",
97
96
  "@aigne/observability-api": "^0.11.12",
98
- "@aigne/platform-helpers": "^0.6.5"
97
+ "@aigne/platform-helpers": "^0.6.5",
98
+ "@aigne/afs": "^1.3.0-beta"
99
99
  },
100
100
  "devDependencies": {
101
101
  "@types/bun": "^1.2.22",