@aigne/cli 1.59.0-beta.23 → 1.59.0-beta.25

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,46 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.59.0-beta.25](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.59.0-beta.24...cli-v1.59.0-beta.25) (2026-01-14)
4
+
5
+
6
+ ### Features
7
+
8
+ * **afs:** add module access control and schema validation support ([#904](https://github.com/AIGNE-io/aigne-framework/issues/904)) ([d0b279a](https://github.com/AIGNE-io/aigne-framework/commit/d0b279aac07ebe2bcc1fd4148498fc3f6bbcd561))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **cli:** default enter interactive mode ([#906](https://github.com/AIGNE-io/aigne-framework/issues/906)) ([0791040](https://github.com/AIGNE-io/aigne-framework/commit/0791040557dd135c8feb4ceb8eab66d0578382b2))
14
+ * improve test coverage tracking and reporting ([#903](https://github.com/AIGNE-io/aigne-framework/issues/903)) ([031144e](https://github.com/AIGNE-io/aigne-framework/commit/031144e74f29e882cffe52ffda8f7a18c76ace7f))
15
+
16
+
17
+ ### Dependencies
18
+
19
+ * The following workspace dependencies were updated
20
+ * dependencies
21
+ * @aigne/afs bumped to 1.4.0-beta.9
22
+ * @aigne/afs-history bumped to 1.2.0-beta.10
23
+ * @aigne/afs-local-fs bumped to 1.4.0-beta.20
24
+ * @aigne/agent-library bumped to 1.24.0-beta.21
25
+ * @aigne/agentic-memory bumped to 1.1.6-beta.19
26
+ * @aigne/aigne-hub bumped to 0.10.16-beta.25
27
+ * @aigne/core bumped to 1.72.0-beta.19
28
+ * @aigne/default-memory bumped to 1.4.0-beta.18
29
+ * @aigne/observability-api bumped to 0.11.14-beta.4
30
+ * @aigne/openai bumped to 0.16.16-beta.19
31
+ * @aigne/secrets bumped to 0.1.6-beta.19
32
+ * devDependencies
33
+ * @aigne/test-utils bumped to 0.5.69-beta.19
34
+
35
+ ## [1.59.0-beta.24](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.59.0-beta.23...cli-v1.59.0-beta.24) (2026-01-13)
36
+
37
+
38
+ ### Dependencies
39
+
40
+ * The following workspace dependencies were updated
41
+ * dependencies
42
+ * @aigne/aigne-hub bumped to 0.10.16-beta.24
43
+
3
44
  ## [1.59.0-beta.23](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.59.0-beta.22...cli-v1.59.0-beta.23) (2026-01-13)
4
45
 
5
46
 
@@ -10,10 +10,10 @@ export declare const serveMcpCommandModule: ({ aigne, name, }: {
10
10
  port?: number;
11
11
  pathname: string;
12
12
  }>;
13
- export declare const agentCommandModule: ({ aigne, agent, chat, }: {
13
+ export declare const agentCommandModule: ({ aigne, agent, interactive, }: {
14
14
  aigne: AIGNE;
15
15
  agent: Agent;
16
- chat?: boolean;
16
+ interactive?: boolean;
17
17
  }) => CommandModule<unknown, AgentRunCommonOptions>;
18
18
  export declare const cliAgentCommandModule: ({ aigne, cliAgent, }: {
19
19
  aigne: AIGNE;
@@ -32,7 +32,7 @@ export const serveMcpCommandModule = ({ aigne, name, }) => ({
32
32
  });
33
33
  },
34
34
  });
35
- export const agentCommandModule = ({ aigne, agent, chat, }) => {
35
+ export const agentCommandModule = ({ aigne, agent, interactive, }) => {
36
36
  return {
37
37
  command: agent.name,
38
38
  aliases: agent.alias || [],
@@ -40,7 +40,9 @@ export const agentCommandModule = ({ aigne, agent, chat, }) => {
40
40
  builder: async (yargs) => {
41
41
  return withAgentInputSchema(yargs, {
42
42
  inputSchema: agent.inputSchema,
43
- optionalInputs: chat && "inputKey" in agent && typeof agent.inputKey === "string" ? [agent.inputKey] : [],
43
+ optionalInputs: interactive && "inputKey" in agent && typeof agent.inputKey === "string"
44
+ ? [agent.inputKey]
45
+ : [],
44
46
  });
45
47
  },
46
48
  handler: async (options) => {
@@ -49,7 +51,7 @@ export const agentCommandModule = ({ aigne, agent, chat, }) => {
49
51
  await invokeAgent({
50
52
  aigne,
51
53
  agent,
52
- input: { ...options, chat: chat ?? options.chat },
54
+ input: { ...options, interactive: interactive ?? options.interactive },
53
55
  });
54
56
  },
55
57
  };
@@ -38,7 +38,7 @@ export async function runAppCLI({ appName = process.env.AIGNE_APP_NAME, appPacka
38
38
  ...agentCommandModule({
39
39
  aigne,
40
40
  agent: aigne.cli.chat,
41
- chat: true,
41
+ interactive: true,
42
42
  }),
43
43
  command: "$0",
44
44
  });
@@ -83,14 +83,14 @@ export function createRunCommand({ aigneFilePath, } = {}) {
83
83
  const subYargs = yargs().scriptName("").usage("aigne run <path> <agent> [...options]");
84
84
  if (aigne.cli.chat) {
85
85
  subYargs.command({
86
- ...agentCommandModule({ aigne, agent: aigne.cli.chat, chat: true }),
86
+ ...agentCommandModule({ aigne, agent: aigne.cli.chat, interactive: true }),
87
87
  command: "$0",
88
88
  });
89
89
  }
90
90
  // Allow user to run all of agents in the AIGNE instances
91
91
  const allAgents = flat(aigne.agents, aigne.skills, aigne.cli.chat, aigne.mcpServer.agents);
92
92
  for (const agent of allAgents) {
93
- subYargs.command(agentCommandModule({ aigne, agent, chat: options.interactive }));
93
+ subYargs.command(agentCommandModule({ aigne, agent, interactive: options.interactive }));
94
94
  }
95
95
  for (const cliAgent of aigne.cli.agents ?? []) {
96
96
  subYargs.command(cliAgentCommandModule({
@@ -55,7 +55,7 @@ export async function loadAIGNE({ path, modelOptions, imageModelOptions, skipMod
55
55
  availableModules: [
56
56
  {
57
57
  module: "history",
58
- load: (options) => import("@aigne/afs-history").then((m) => new m.AFSHistory(options.parsed)),
58
+ load: (options) => import("@aigne/afs-history").then((m) => m.AFSHistory.load(options)),
59
59
  },
60
60
  {
61
61
  module: "local-fs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/cli",
3
- "version": "1.59.0-beta.23",
3
+ "version": "1.59.0-beta.25",
4
4
  "description": "Your command center for agent development",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -90,17 +90,17 @@
90
90
  "yoctocolors-cjs": "^2.1.3",
91
91
  "zod": "^3.25.67",
92
92
  "zod-to-json-schema": "^3.24.6",
93
- "@aigne/afs": "^1.4.0-beta.8",
94
- "@aigne/afs-history": "^1.2.0-beta.9",
95
- "@aigne/afs-local-fs": "^1.4.0-beta.19",
96
- "@aigne/agent-library": "^1.24.0-beta.20",
97
- "@aigne/agentic-memory": "^1.1.6-beta.18",
98
- "@aigne/aigne-hub": "^0.10.16-beta.23",
99
- "@aigne/core": "^1.72.0-beta.18",
100
- "@aigne/default-memory": "^1.4.0-beta.17",
101
- "@aigne/observability-api": "^0.11.14-beta.3",
102
- "@aigne/secrets": "^0.1.6-beta.18",
103
- "@aigne/openai": "^0.16.16-beta.18"
93
+ "@aigne/afs": "^1.4.0-beta.9",
94
+ "@aigne/afs-history": "^1.2.0-beta.10",
95
+ "@aigne/afs-local-fs": "^1.4.0-beta.20",
96
+ "@aigne/agent-library": "^1.24.0-beta.21",
97
+ "@aigne/agentic-memory": "^1.1.6-beta.19",
98
+ "@aigne/aigne-hub": "^0.10.16-beta.25",
99
+ "@aigne/core": "^1.72.0-beta.19",
100
+ "@aigne/default-memory": "^1.4.0-beta.18",
101
+ "@aigne/observability-api": "^0.11.14-beta.4",
102
+ "@aigne/openai": "^0.16.16-beta.19",
103
+ "@aigne/secrets": "^0.1.6-beta.19"
104
104
  },
105
105
  "devDependencies": {
106
106
  "@inquirer/testing": "^2.1.50",
@@ -117,7 +117,7 @@
117
117
  "rimraf": "^6.0.1",
118
118
  "typescript": "^5.9.2",
119
119
  "ufo": "^1.6.1",
120
- "@aigne/test-utils": "^0.5.69-beta.18"
120
+ "@aigne/test-utils": "^0.5.69-beta.19"
121
121
  },
122
122
  "scripts": {
123
123
  "lint": "tsc --noEmit",