@aigne/cli 1.59.0-beta.16 → 1.59.0-beta.18

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.59.0-beta.18](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.59.0-beta.17...cli-v1.59.0-beta.18) (2026-01-08)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **cli:** ask user retry when model request respond error ([#884](https://github.com/AIGNE-io/aigne-framework/issues/884)) ([60aabbb](https://github.com/AIGNE-io/aigne-framework/commit/60aabbb34be6104f25f0383c2279f7f089268631))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @aigne/aigne-hub bumped to 0.10.16-beta.18
16
+
17
+ ## [1.59.0-beta.17](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.59.0-beta.16...cli-v1.59.0-beta.17) (2026-01-08)
18
+
19
+
20
+ ### Features
21
+
22
+ * **afs,bash:** add physical path mapping for AFS modules in bash execution ([#881](https://github.com/AIGNE-io/aigne-framework/issues/881)) ([50dbda2](https://github.com/AIGNE-io/aigne-framework/commit/50dbda224bd666d951494d2449779830d8db57fc))
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * bump version ([696560f](https://github.com/AIGNE-io/aigne-framework/commit/696560fa2673eddcb4d00ac0523fbbbde7273cb3))
28
+
29
+
30
+ ### Dependencies
31
+
32
+ * The following workspace dependencies were updated
33
+ * dependencies
34
+ * @aigne/afs bumped to 1.4.0-beta.7
35
+ * @aigne/afs-history bumped to 1.2.0-beta.8
36
+ * @aigne/afs-local-fs bumped to 1.4.0-beta.14
37
+ * @aigne/agent-library bumped to 1.24.0-beta.15
38
+ * @aigne/agentic-memory bumped to 1.1.6-beta.13
39
+ * @aigne/aigne-hub bumped to 0.10.16-beta.17
40
+ * @aigne/core bumped to 1.72.0-beta.13
41
+ * @aigne/default-memory bumped to 1.4.0-beta.12
42
+ * @aigne/observability-api bumped to 0.11.14-beta.2
43
+ * @aigne/openai bumped to 0.16.16-beta.13
44
+ * @aigne/secrets bumped to 0.1.6-beta.13
45
+ * devDependencies
46
+ * @aigne/test-utils bumped to 0.5.69-beta.13
47
+
3
48
  ## [1.59.0-beta.16](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.59.0-beta.15...cli-v1.59.0-beta.16) (2026-01-07)
4
49
 
5
50
 
@@ -154,6 +154,7 @@ export class TerminalTracer {
154
154
  }
155
155
  task.resolve();
156
156
  };
157
+ let retryPromptPromise;
157
158
  const onError = async ({ context, agent, error, ...event }) => {
158
159
  if ("type" in error && error.type === AIGNE_HUB_CREDITS_NOT_ENOUGH_ERROR_TYPE) {
159
160
  if (!Object.hasOwn(error, CREDITS_ERROR_PROCESSED_FLAG)) {
@@ -168,6 +169,23 @@ export class TerminalTracer {
168
169
  }
169
170
  }
170
171
  }
172
+ if (agent instanceof ChatModel) {
173
+ retryPromptPromise ??= this.proxiedPrompts
174
+ .select({
175
+ message: chalk.red(`Error: ${error.message}`),
176
+ choices: [
177
+ { value: "retry", name: "Retry" },
178
+ { value: "exit", name: "Exit" },
179
+ ],
180
+ })
181
+ .then((result) => ({ retry: result === "retry" }))
182
+ .finally(() => {
183
+ retryPromptPromise = undefined;
184
+ });
185
+ const { retry } = await retryPromptPromise;
186
+ if (retry)
187
+ return { retry: true };
188
+ }
171
189
  const contextId = context.id;
172
190
  const task = this.tasks[contextId];
173
191
  if (!task)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/cli",
3
- "version": "1.59.0-beta.16",
3
+ "version": "1.59.0-beta.18",
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.6",
94
- "@aigne/afs-local-fs": "^1.4.0-beta.13",
95
- "@aigne/agentic-memory": "^1.1.6-beta.12",
96
- "@aigne/agent-library": "^1.24.0-beta.14",
97
- "@aigne/afs-history": "^1.2.0-beta.7",
98
- "@aigne/aigne-hub": "^0.10.16-beta.16",
99
- "@aigne/core": "^1.72.0-beta.12",
100
- "@aigne/default-memory": "^1.4.0-beta.11",
101
- "@aigne/openai": "^0.16.16-beta.12",
102
- "@aigne/observability-api": "^0.11.14-beta.1",
103
- "@aigne/secrets": "^0.1.6-beta.12"
93
+ "@aigne/afs": "^1.4.0-beta.7",
94
+ "@aigne/afs-local-fs": "^1.4.0-beta.14",
95
+ "@aigne/afs-history": "^1.2.0-beta.8",
96
+ "@aigne/agent-library": "^1.24.0-beta.15",
97
+ "@aigne/agentic-memory": "^1.1.6-beta.13",
98
+ "@aigne/aigne-hub": "^0.10.16-beta.18",
99
+ "@aigne/default-memory": "^1.4.0-beta.12",
100
+ "@aigne/core": "^1.72.0-beta.13",
101
+ "@aigne/observability-api": "^0.11.14-beta.2",
102
+ "@aigne/openai": "^0.16.16-beta.13",
103
+ "@aigne/secrets": "^0.1.6-beta.13"
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.12"
120
+ "@aigne/test-utils": "^0.5.69-beta.13"
121
121
  },
122
122
  "scripts": {
123
123
  "lint": "tsc --noEmit",