@aigne/cli 1.54.1-beta.4 → 1.55.0-beta

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,52 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.55.0-beta](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.54.1...cli-v1.55.0-beta) (2025-11-14)
4
+
5
+
6
+ ### Features
7
+
8
+ * support mount mcp agent into AFS ([#740](https://github.com/AIGNE-io/aigne-framework/issues/740)) ([6d474fc](https://github.com/AIGNE-io/aigne-framework/commit/6d474fc05845a15e2c3e8fa97727b409bdd70945))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * properly handle SIGINT to flush observability data before exit ([#739](https://github.com/AIGNE-io/aigne-framework/issues/739)) ([99b4503](https://github.com/AIGNE-io/aigne-framework/commit/99b45033d5f3bcc1f830b583f9cca7258b00606f))
14
+
15
+
16
+ ### Dependencies
17
+
18
+ * The following workspace dependencies were updated
19
+ * dependencies
20
+ * @aigne/afs bumped to 1.2.0-beta
21
+ * @aigne/afs-history bumped to 1.0.0
22
+ * @aigne/afs-local-fs bumped to 1.1.0-beta
23
+ * @aigne/agent-library bumped to 1.21.53-beta
24
+ * @aigne/agentic-memory bumped to 1.0.53-beta
25
+ * @aigne/aigne-hub bumped to 0.10.7-beta
26
+ * @aigne/core bumped to 1.68.0-beta
27
+ * @aigne/default-memory bumped to 1.2.16-beta
28
+ * @aigne/openai bumped to 0.16.7-beta
29
+ * devDependencies
30
+ * @aigne/test-utils bumped to 0.5.60-beta
31
+
32
+ ## [1.54.1](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.54.1-beta.4...cli-v1.54.1) (2025-11-12)
33
+
34
+
35
+ ### Dependencies
36
+
37
+ * The following workspace dependencies were updated
38
+ * dependencies
39
+ * @aigne/afs-system-fs bumped to 1.0.5
40
+ * @aigne/agent-library bumped to 1.21.52
41
+ * @aigne/agentic-memory bumped to 1.0.52
42
+ * @aigne/aigne-hub bumped to 0.10.6
43
+ * @aigne/core bumped to 1.67.0
44
+ * @aigne/default-memory bumped to 1.2.15
45
+ * @aigne/observability-api bumped to 0.11.6
46
+ * @aigne/openai bumped to 0.16.6
47
+ * devDependencies
48
+ * @aigne/test-utils bumped to 0.5.59
49
+
3
50
  ## [1.54.1-beta.4](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.54.1-beta.3...cli-v1.54.1-beta.4) (2025-11-12)
4
51
 
5
52
 
@@ -32,7 +32,7 @@ export class TerminalTracer {
32
32
  const listr = new AIGNEListr({
33
33
  formatRequest: (options) => this.formatRequest(agent, context, input, options),
34
34
  formatResult: (result, options) => this.formatResult(agent, context, result, options),
35
- }, [], { concurrent: true, exitOnError: false });
35
+ }, [], { concurrent: true, exitOnError: false, registerSignalListeners: false });
36
36
  this.listr = listr;
37
37
  const collapsedMap = new Map();
38
38
  const hideContextIds = new Set();
@@ -38,7 +38,9 @@ export async function runEvaluationPipeline(params) {
38
38
  ctx.items = await dataset.loadWithOptions();
39
39
  },
40
40
  },
41
- ]);
41
+ ], {
42
+ registerSignalListeners: false,
43
+ });
42
44
  const { items } = await task1.run();
43
45
  const task2 = new Listr(items.map((item) => {
44
46
  const input = JSON.stringify(item.input);
@@ -70,6 +72,7 @@ export async function runEvaluationPipeline(params) {
70
72
  rendererOptions: {
71
73
  collapseSubtasks: false,
72
74
  },
75
+ registerSignalListeners: false,
73
76
  });
74
77
  await task2.run();
75
78
  const summary = aggregateSummary(results, (Date.now() - now) / 1000);
@@ -47,8 +47,13 @@ export async function loadAIGNE({ path, modelOptions, imageModelOptions, skipMod
47
47
  afs: {
48
48
  availableModules: [
49
49
  {
50
- module: "system-fs",
51
- create: (options) => import("@aigne/afs-system-fs").then((m) => new m.SystemFS(options)),
50
+ module: "history",
51
+ create: (options) => import("@aigne/afs-history").then((m) => new m.AFSHistory(options)),
52
+ },
53
+ {
54
+ module: "local-fs",
55
+ alias: ["system-fs"],
56
+ create: (options) => import("@aigne/afs-local-fs").then((m) => new m.LocalFS(options)),
52
57
  },
53
58
  ],
54
59
  },
@@ -7,7 +7,9 @@ export declare function parseAgentInputByCommander(agent: Agent, options?: Agent
7
7
  argv?: string[];
8
8
  defaultInput?: string | Message;
9
9
  }): Promise<Message>;
10
- export declare function runWithAIGNE(agentCreator: ((aigne: AIGNE) => PromiseOrValue<Agent>) | Agent, { argv, chatLoopOptions, modelOptions, outputKey, }?: {
10
+ export declare function loadAIGNEWithCmdOptions(): Promise<AIGNE<import("@aigne/core").UserContext>>;
11
+ export declare function runWithAIGNE(agentCreator: ((aigne: AIGNE) => PromiseOrValue<Agent>) | Agent, { aigne, argv, chatLoopOptions, modelOptions, outputKey, }?: {
12
+ aigne?: AIGNE;
11
13
  argv?: typeof process.argv;
12
14
  chatLoopOptions?: ChatLoopOptions;
13
15
  modelOptions?: ChatModelInputOptions;
@@ -30,13 +30,23 @@ export async function parseAgentInputByCommander(agent, options = {}) {
30
30
  }
31
31
  return input;
32
32
  }
33
- export async function runWithAIGNE(agentCreator, { argv = process.argv, chatLoopOptions, modelOptions, outputKey, } = {}) {
33
+ export async function loadAIGNEWithCmdOptions() {
34
+ const options = await withRunAgentCommonOptions(yargs())
35
+ .strict(false)
36
+ .parseAsync(hideBin(process.argv));
37
+ return await loadAIGNE({
38
+ modelOptions: {
39
+ ...omitBy(pick(options, "model", "temperature", "topP", "presencePenalty", "frequencyPenalty"), (v) => isNil(v)),
40
+ },
41
+ });
42
+ }
43
+ export async function runWithAIGNE(agentCreator, { aigne, argv = process.argv, chatLoopOptions, modelOptions, outputKey, } = {}) {
34
44
  await yargs()
35
45
  .command("$0", "Execute an AI agent using the AIGNE framework with specified configuration", (yargs) => withRunAgentCommonOptions(yargs), async (options) => {
36
46
  if (options.logLevel) {
37
47
  logger.level = options.logLevel;
38
48
  }
39
- const aigne = await loadAIGNE({
49
+ aigne ??= await loadAIGNE({
40
50
  modelOptions: {
41
51
  ...modelOptions,
42
52
  ...omitBy(pick(options, "model", "temperature", "topP", "presencePenalty", "frequencyPenalty"), (v) => isNil(v)),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/cli",
3
- "version": "1.54.1-beta.4",
3
+ "version": "1.55.0-beta",
4
4
  "description": "Your command center for agent development",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -89,14 +89,16 @@
89
89
  "yoctocolors-cjs": "^2.1.3",
90
90
  "zod": "^3.25.67",
91
91
  "zod-to-json-schema": "^3.24.6",
92
- "@aigne/afs-system-fs": "^1.0.5-beta.4",
93
- "@aigne/agent-library": "^1.21.52-beta.4",
94
- "@aigne/agentic-memory": "^1.0.52-beta.4",
95
- "@aigne/aigne-hub": "^0.10.6-beta.4",
96
- "@aigne/core": "^1.67.0-beta.4",
97
- "@aigne/default-memory": "^1.2.15-beta.4",
98
- "@aigne/openai": "^0.16.6-beta.4",
99
- "@aigne/observability-api": "^0.11.6-beta.2"
92
+ "@aigne/afs": "^1.2.0-beta",
93
+ "@aigne/afs-local-fs": "^1.1.0-beta",
94
+ "@aigne/afs-history": "^1.0.0",
95
+ "@aigne/agent-library": "^1.21.53-beta",
96
+ "@aigne/agentic-memory": "^1.0.53-beta",
97
+ "@aigne/aigne-hub": "^0.10.7-beta",
98
+ "@aigne/observability-api": "^0.11.6",
99
+ "@aigne/default-memory": "^1.2.16-beta",
100
+ "@aigne/core": "^1.68.0-beta",
101
+ "@aigne/openai": "^0.16.7-beta"
100
102
  },
101
103
  "devDependencies": {
102
104
  "@inquirer/testing": "^2.1.50",
@@ -114,7 +116,7 @@
114
116
  "rimraf": "^6.0.1",
115
117
  "typescript": "^5.9.2",
116
118
  "ufo": "^1.6.1",
117
- "@aigne/test-utils": "^0.5.59-beta.4"
119
+ "@aigne/test-utils": "^0.5.60-beta"
118
120
  },
119
121
  "scripts": {
120
122
  "lint": "tsc --noEmit",