@aigne/cli 1.59.1-beta → 1.60.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,30 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.60.0-beta](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.59.1-beta...cli-v1.60.0-beta) (2026-01-20)
4
+
5
+
6
+ ### Features
7
+
8
+ * **cli:** add init agent support for aigne.yaml#cli ([#929](https://github.com/AIGNE-io/aigne-framework/issues/929)) ([32249b3](https://github.com/AIGNE-io/aigne-framework/commit/32249b3f59b4c9b0cbece8c169c3c34529034ebc))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @aigne/afs-explorer bumped to 1.2.0-beta
16
+ * @aigne/afs-history bumped to 1.3.0-beta
17
+ * @aigne/afs-local-fs bumped to 1.5.0-beta
18
+ * @aigne/agent-library bumped to 1.24.1-beta
19
+ * @aigne/agentic-memory bumped to 1.1.7-beta
20
+ * @aigne/aigne-hub bumped to 0.10.17-beta.1
21
+ * @aigne/core bumped to 1.73.0-beta
22
+ * @aigne/default-memory bumped to 1.4.1-beta
23
+ * @aigne/openai bumped to 0.16.17-beta
24
+ * @aigne/secrets bumped to 0.1.7-beta
25
+ * devDependencies
26
+ * @aigne/test-utils bumped to 0.5.70-beta
27
+
3
28
  ## [1.59.1-beta](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.59.0...cli-v1.59.1-beta) (2026-01-17)
4
29
 
5
30
 
@@ -97,12 +97,23 @@ export async function invokeAgent(options) {
97
97
  const { agent, aigne } = options;
98
98
  try {
99
99
  const input = await parseAgentInput(options.input, agent);
100
+ const sessionId = options.input.sessionId || v7();
101
+ const userId = DEFAULT_USER_ID;
102
+ if (aigne.cli.init) {
103
+ await runAgentWithAIGNE(aigne, aigne.cli.init, {
104
+ ...options.input,
105
+ input,
106
+ interactive: false,
107
+ sessionId,
108
+ userId,
109
+ });
110
+ }
100
111
  await runAgentWithAIGNE(aigne, agent, {
101
112
  ...options.input,
102
113
  input,
103
114
  interactive: options.input.interactive,
104
- sessionId: options.input.sessionId || v7(),
105
- userId: DEFAULT_USER_ID,
115
+ sessionId,
116
+ userId,
106
117
  });
107
118
  }
108
119
  finally {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/cli",
3
- "version": "1.59.1-beta",
3
+ "version": "1.60.0-beta",
4
4
  "description": "Your command center for agent development",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -91,16 +91,16 @@
91
91
  "zod": "^3.25.67",
92
92
  "zod-to-json-schema": "^3.24.6",
93
93
  "@aigne/afs": "^1.4.0",
94
- "@aigne/afs-explorer": "^1.1.0",
95
- "@aigne/afs-history": "^1.2.0",
96
- "@aigne/afs-local-fs": "^1.4.0",
97
- "@aigne/agent-library": "^1.24.0",
98
- "@aigne/agentic-memory": "^1.1.6",
99
- "@aigne/aigne-hub": "^0.10.17-beta",
100
- "@aigne/core": "^1.72.0",
101
- "@aigne/default-memory": "^1.4.0",
102
- "@aigne/openai": "^0.16.16",
103
- "@aigne/secrets": "^0.1.6",
94
+ "@aigne/afs-history": "^1.3.0-beta",
95
+ "@aigne/afs-explorer": "^1.2.0-beta",
96
+ "@aigne/afs-local-fs": "^1.5.0-beta",
97
+ "@aigne/agent-library": "^1.24.1-beta",
98
+ "@aigne/agentic-memory": "^1.1.7-beta",
99
+ "@aigne/aigne-hub": "^0.10.17-beta.1",
100
+ "@aigne/core": "^1.73.0-beta",
101
+ "@aigne/default-memory": "^1.4.1-beta",
102
+ "@aigne/openai": "^0.16.17-beta",
103
+ "@aigne/secrets": "^0.1.7-beta",
104
104
  "@aigne/observability-api": "^0.11.14"
105
105
  },
106
106
  "devDependencies": {
@@ -119,7 +119,7 @@
119
119
  "rimraf": "^6.0.1",
120
120
  "typescript": "^5.9.2",
121
121
  "ufo": "^1.6.1",
122
- "@aigne/test-utils": "^0.5.69"
122
+ "@aigne/test-utils": "^0.5.70-beta"
123
123
  },
124
124
  "scripts": {
125
125
  "lint": "tsc --noEmit",