@aigne/cli 1.50.1-beta.3 → 1.51.0-beta.4

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,50 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.51.0-beta.4](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.51.0-beta.3...cli-v1.51.0-beta.4) (2025-10-12)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * The following workspace dependencies were updated
9
+ * dependencies
10
+ * @aigne/afs-system-fs bumped to 1.0.1-beta
11
+ * @aigne/agent-library bumped to 1.21.48-beta.4
12
+ * @aigne/agentic-memory bumped to 1.0.48-beta.4
13
+ * @aigne/aigne-hub bumped to 0.10.2-beta.4
14
+ * @aigne/core bumped to 1.63.0-beta.4
15
+ * @aigne/default-memory bumped to 1.2.11-beta.4
16
+ * @aigne/openai bumped to 0.16.2-beta.4
17
+ * devDependencies
18
+ * @aigne/test-utils bumped to 0.5.55-beta.4
19
+
20
+ ## [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)
21
+
22
+
23
+ ### Features
24
+
25
+ * **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))
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * 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))
31
+
32
+
33
+ ### Dependencies
34
+
35
+ * The following workspace dependencies were updated
36
+ * dependencies
37
+ * @aigne/afs-system-fs bumped to 1.0.0
38
+ * @aigne/agent-library bumped to 1.21.48-beta.3
39
+ * @aigne/agentic-memory bumped to 1.0.48-beta.3
40
+ * @aigne/aigne-hub bumped to 0.10.2-beta.3
41
+ * @aigne/core bumped to 1.63.0-beta.3
42
+ * @aigne/default-memory bumped to 1.2.11-beta.3
43
+ * @aigne/observability-api bumped to 0.11.2-beta.1
44
+ * @aigne/openai bumped to 0.16.2-beta.3
45
+ * devDependencies
46
+ * @aigne/test-utils bumped to 0.5.55-beta.3
47
+
3
48
  ## [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
49
 
5
50
 
@@ -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
  },
@@ -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.50.1-beta.3",
3
+ "version": "1.51.0-beta.4",
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/agent-library": "^1.21.48-beta.2",
93
- "@aigne/aigne-hub": "^0.10.2-beta.2",
94
- "@aigne/agentic-memory": "^1.0.48-beta.2",
95
- "@aigne/core": "^1.63.0-beta.2",
96
- "@aigne/default-memory": "^1.2.11-beta.2",
97
- "@aigne/observability-api": "^0.11.2-beta",
98
- "@aigne/openai": "^0.16.2-beta.2"
92
+ "@aigne/afs-system-fs": "^1.0.1-beta",
93
+ "@aigne/agent-library": "^1.21.48-beta.4",
94
+ "@aigne/agentic-memory": "^1.0.48-beta.4",
95
+ "@aigne/aigne-hub": "^0.10.2-beta.4",
96
+ "@aigne/core": "^1.63.0-beta.4",
97
+ "@aigne/observability-api": "^0.11.2-beta.1",
98
+ "@aigne/default-memory": "^1.2.11-beta.4",
99
+ "@aigne/openai": "^0.16.2-beta.4"
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.2"
116
+ "@aigne/test-utils": "^0.5.55-beta.4"
116
117
  },
117
118
  "scripts": {
118
119
  "lint": "tsc --noEmit",