@aigne/cli 1.50.1-beta.3 → 1.51.0-beta.3
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,33 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.51.0-beta.3](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.50.1-beta.3...cli-v1.51.0-beta.3) (2025-10-11)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **afs:** add module system fs for afs ([#594](https://github.com/AIGNE-io/aigne-framework/issues/594)) ([83c7b65](https://github.com/AIGNE-io/aigne-framework/commit/83c7b6555d21c606a5005eb05f6686882fb8ffa3))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* improve exit event handling for cli ([#609](https://github.com/AIGNE-io/aigne-framework/issues/609)) ([00211f8](https://github.com/AIGNE-io/aigne-framework/commit/00211f8ad4686ea673ea8e2eac5b850bcbd8c1f6))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Dependencies
|
|
17
|
+
|
|
18
|
+
* The following workspace dependencies were updated
|
|
19
|
+
* dependencies
|
|
20
|
+
* @aigne/afs-system-fs bumped to 1.0.0
|
|
21
|
+
* @aigne/agent-library bumped to 1.21.48-beta.3
|
|
22
|
+
* @aigne/agentic-memory bumped to 1.0.48-beta.3
|
|
23
|
+
* @aigne/aigne-hub bumped to 0.10.2-beta.3
|
|
24
|
+
* @aigne/core bumped to 1.63.0-beta.3
|
|
25
|
+
* @aigne/default-memory bumped to 1.2.11-beta.3
|
|
26
|
+
* @aigne/observability-api bumped to 0.11.2-beta.1
|
|
27
|
+
* @aigne/openai bumped to 0.16.2-beta.3
|
|
28
|
+
* devDependencies
|
|
29
|
+
* @aigne/test-utils bumped to 0.5.55-beta.3
|
|
30
|
+
|
|
3
31
|
## [1.50.1-beta.3](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.50.1-beta.2...cli-v1.50.1-beta.3) (2025-10-09)
|
|
4
32
|
|
|
5
33
|
|
package/dist/commands/app.js
CHANGED
|
@@ -147,7 +147,7 @@ export const agentCommandModule = ({ dir, agent, chat, }) => {
|
|
|
147
147
|
await runAIGNEInChildProcess("invokeCLIAgentFromDir", {
|
|
148
148
|
dir,
|
|
149
149
|
agent: agent.name,
|
|
150
|
-
input: { ...options, chat },
|
|
150
|
+
input: { ...options, chat: chat ?? options.chat },
|
|
151
151
|
});
|
|
152
152
|
process.exit(0);
|
|
153
153
|
},
|
package/dist/utils/load-aigne.js
CHANGED
|
@@ -36,6 +36,14 @@ export async function loadAIGNE({ path, modelOptions, imageModelOptions, printTi
|
|
|
36
36
|
...omitBy(imageModelOptions ?? {}, (v) => isNil(v)),
|
|
37
37
|
model: imageModelOptions?.model || process.env.IMAGE_MODEL || options?.model,
|
|
38
38
|
}),
|
|
39
|
+
afs: {
|
|
40
|
+
availableModules: [
|
|
41
|
+
{
|
|
42
|
+
module: "system-fs",
|
|
43
|
+
create: (options) => import("@aigne/afs-system-fs").then((m) => new m.SystemFS(options)),
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
},
|
|
39
47
|
});
|
|
40
48
|
}
|
|
41
49
|
else {
|
|
@@ -14,6 +14,7 @@ export function serializeAgent(agent) {
|
|
|
14
14
|
}
|
|
15
15
|
export async function runAIGNEInChildProcess(method, ...args) {
|
|
16
16
|
return await new Promise((resolve, reject) => {
|
|
17
|
+
let completed = false;
|
|
17
18
|
const child = fork(join(dirname(fileURLToPath(import.meta.url)), "./run-aigne-in-child-process-worker.js"));
|
|
18
19
|
child.on("message", (event) => {
|
|
19
20
|
if (event.method !== method)
|
|
@@ -22,8 +23,11 @@ export async function runAIGNEInChildProcess(method, ...args) {
|
|
|
22
23
|
reject(new Error(event.error.message));
|
|
23
24
|
else
|
|
24
25
|
resolve(event.result);
|
|
26
|
+
completed = true;
|
|
25
27
|
});
|
|
26
28
|
child.on("exit", (code) => {
|
|
29
|
+
if (!completed)
|
|
30
|
+
process.exit(code);
|
|
27
31
|
reject(new Error(`Child process exited with code ${code}`));
|
|
28
32
|
});
|
|
29
33
|
child.send({ method, args, logLevel: logger.level });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.51.0-beta.3",
|
|
4
4
|
"description": "Your command center for agent development",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -89,13 +89,14 @@
|
|
|
89
89
|
"yoctocolors-cjs": "^2.1.3",
|
|
90
90
|
"zod": "^3.25.67",
|
|
91
91
|
"zod-to-json-schema": "^3.24.6",
|
|
92
|
-
"@aigne/
|
|
93
|
-
"@aigne/
|
|
94
|
-
"@aigne/
|
|
95
|
-
"@aigne/core": "^1.63.0-beta.
|
|
96
|
-
"@aigne/
|
|
97
|
-
"@aigne/
|
|
98
|
-
"@aigne/
|
|
92
|
+
"@aigne/afs-system-fs": "^1.0.0",
|
|
93
|
+
"@aigne/agentic-memory": "^1.0.48-beta.3",
|
|
94
|
+
"@aigne/aigne-hub": "^0.10.2-beta.3",
|
|
95
|
+
"@aigne/core": "^1.63.0-beta.3",
|
|
96
|
+
"@aigne/agent-library": "^1.21.48-beta.3",
|
|
97
|
+
"@aigne/default-memory": "^1.2.11-beta.3",
|
|
98
|
+
"@aigne/observability-api": "^0.11.2-beta.1",
|
|
99
|
+
"@aigne/openai": "^0.16.2-beta.3"
|
|
99
100
|
},
|
|
100
101
|
"devDependencies": {
|
|
101
102
|
"@inquirer/testing": "^2.1.50",
|
|
@@ -112,7 +113,7 @@
|
|
|
112
113
|
"rimraf": "^6.0.1",
|
|
113
114
|
"typescript": "^5.9.2",
|
|
114
115
|
"ufo": "^1.6.1",
|
|
115
|
-
"@aigne/test-utils": "^0.5.55-beta.
|
|
116
|
+
"@aigne/test-utils": "^0.5.55-beta.3"
|
|
116
117
|
},
|
|
117
118
|
"scripts": {
|
|
118
119
|
"lint": "tsc --noEmit",
|