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

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.20](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.59.0-beta.19...cli-v1.59.0-beta.20) (2026-01-10)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * The following workspace dependencies were updated
9
+ * dependencies
10
+ * @aigne/afs-local-fs bumped to 1.4.0-beta.16
11
+ * @aigne/agent-library bumped to 1.24.0-beta.17
12
+ * @aigne/agentic-memory bumped to 1.1.6-beta.15
13
+ * @aigne/aigne-hub bumped to 0.10.16-beta.20
14
+ * @aigne/core bumped to 1.72.0-beta.15
15
+ * @aigne/default-memory bumped to 1.4.0-beta.14
16
+ * @aigne/openai bumped to 0.16.16-beta.15
17
+ * @aigne/secrets bumped to 0.1.6-beta.15
18
+ * devDependencies
19
+ * @aigne/test-utils bumped to 0.5.69-beta.15
20
+
21
+ ## [1.59.0-beta.19](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.59.0-beta.18...cli-v1.59.0-beta.19) (2026-01-09)
22
+
23
+
24
+ ### Bug Fixes
25
+
26
+ * **cli:** cache approved commands in run-skill to avoid redundant prompts ([d07fe6d](https://github.com/AIGNE-io/aigne-framework/commit/d07fe6d049cd063e750e5b3fe231c74dae26bc9d))
27
+
28
+
29
+ ### Dependencies
30
+
31
+ * The following workspace dependencies were updated
32
+ * dependencies
33
+ * @aigne/afs-local-fs bumped to 1.4.0-beta.15
34
+ * @aigne/agent-library bumped to 1.24.0-beta.16
35
+ * @aigne/agentic-memory bumped to 1.1.6-beta.14
36
+ * @aigne/aigne-hub bumped to 0.10.16-beta.19
37
+ * @aigne/core bumped to 1.72.0-beta.14
38
+ * @aigne/default-memory bumped to 1.4.0-beta.13
39
+ * @aigne/openai bumped to 0.16.16-beta.14
40
+ * @aigne/secrets bumped to 0.1.6-beta.14
41
+ * devDependencies
42
+ * @aigne/test-utils bumped to 0.5.69-beta.14
43
+
3
44
  ## [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
45
 
5
46
 
@@ -41,6 +41,7 @@ export function createRunSkillCommand() {
41
41
  model: options.model || "aignehub/anthropic/claude-sonnet-4-5",
42
42
  });
43
43
  const aigne = new AIGNE({ model });
44
+ const approvedCmds = new Set();
44
45
  const agent = new AgentSkillManager({
45
46
  inputKey: "message",
46
47
  taskRenderMode: "collapse",
@@ -50,10 +51,18 @@ export function createRunSkillCommand() {
50
51
  permissions: {
51
52
  defaultMode: "ask",
52
53
  guard: FunctionAgent.from(async (input, options) => {
54
+ if (approvedCmds.has(input.script || "")) {
55
+ return {
56
+ approved: true,
57
+ };
58
+ }
53
59
  const confirm = options.prompts?.confirm;
54
60
  if (!confirm)
55
61
  throw new Error("No confirm prompt available for permission guard.");
56
62
  const approved = await confirm({ message: `Run command ${input.script}?` });
63
+ if (approved && input.script) {
64
+ approvedCmds.add(input.script);
65
+ }
57
66
  return {
58
67
  approved,
59
68
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/cli",
3
- "version": "1.59.0-beta.18",
3
+ "version": "1.59.0-beta.20",
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-beta.7",
94
- "@aigne/afs-local-fs": "^1.4.0-beta.14",
94
+ "@aigne/afs-local-fs": "^1.4.0-beta.16",
95
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",
96
+ "@aigne/agentic-memory": "^1.1.6-beta.15",
97
+ "@aigne/agent-library": "^1.24.0-beta.17",
98
+ "@aigne/core": "^1.72.0-beta.15",
99
+ "@aigne/aigne-hub": "^0.10.16-beta.20",
100
+ "@aigne/openai": "^0.16.16-beta.15",
101
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"
102
+ "@aigne/secrets": "^0.1.6-beta.15",
103
+ "@aigne/default-memory": "^1.4.0-beta.14"
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.13"
120
+ "@aigne/test-utils": "^0.5.69-beta.15"
121
121
  },
122
122
  "scripts": {
123
123
  "lint": "tsc --noEmit",