@aigne/cli 1.40.0 → 1.41.0

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.41.0](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.40.0...cli-v1.41.0) (2025-08-25)
4
+
5
+
6
+ ### Features
7
+
8
+ * **ux:** use standard blocklet layout in aigne runtime ([#403](https://github.com/AIGNE-io/aigne-framework/issues/403)) ([a14274d](https://github.com/AIGNE-io/aigne-framework/commit/a14274dbf970bae7fed0eff150933ecf0f65eb64))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **cli:** prefer variables from process.env when loadChatModel ([#407](https://github.com/AIGNE-io/aigne-framework/issues/407)) ([d32b2db](https://github.com/AIGNE-io/aigne-framework/commit/d32b2db20435a022d944a674e90333899d881daf))
14
+
15
+
16
+ ### Dependencies
17
+
18
+ * The following workspace dependencies were updated
19
+ * dependencies
20
+ * @aigne/agent-library bumped to 1.21.27
21
+ * @aigne/agentic-memory bumped to 1.0.27
22
+ * @aigne/aigne-hub bumped to 0.6.9
23
+ * @aigne/default-memory bumped to 1.1.9
24
+ * @aigne/openai bumped to 0.12.3
25
+ * devDependencies
26
+ * @aigne/test-utils bumped to 0.5.35
27
+
3
28
  ## [1.40.0](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.39.1...cli-v1.40.0) (2025-08-22)
4
29
 
5
30
 
@@ -80,8 +80,6 @@ export function createRunCommand({ aigneFilePath, } = {}) {
80
80
  path: dir,
81
81
  modelOptions: {
82
82
  ...options,
83
- model: options.model || process.env.MODEL,
84
- aigneHubUrl: options?.aigneHubUrl,
85
83
  inquirerPromptFn: (prompt) => {
86
84
  if (prompt.type === "input") {
87
85
  return task
@@ -30,7 +30,11 @@ export async function loadAIGNE({ path, modelOptions, }) {
30
30
  if (path) {
31
31
  aigne = await AIGNE.load(path, {
32
32
  memories: availableMemories,
33
- model: (options) => loadChatModel({ ...options, ...omitBy(modelOptions ?? {}, (v) => isNil(v)) }),
33
+ model: (options) => loadChatModel({
34
+ ...options,
35
+ ...omitBy(modelOptions ?? {}, (v) => isNil(v)),
36
+ model: modelOptions?.model || process.env.MODEL || options?.model,
37
+ }),
34
38
  imageModel: () => new OpenAIImageModel(),
35
39
  });
36
40
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/cli",
3
- "version": "1.40.0",
3
+ "version": "1.41.0",
4
4
  "description": "Your command center for agent development",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -75,13 +75,13 @@
75
75
  "yaml": "^2.8.0",
76
76
  "yargs": "^18.0.0",
77
77
  "zod": "^3.25.67",
78
- "@aigne/agent-library": "^1.21.26",
79
- "@aigne/aigne-hub": "^0.6.8",
80
- "@aigne/agentic-memory": "^1.0.26",
78
+ "@aigne/agent-library": "^1.21.27",
79
+ "@aigne/aigne-hub": "^0.6.9",
81
80
  "@aigne/core": "^1.55.0",
82
- "@aigne/default-memory": "^1.1.8",
81
+ "@aigne/agentic-memory": "^1.0.27",
82
+ "@aigne/default-memory": "^1.1.9",
83
83
  "@aigne/observability-api": "^0.10.0",
84
- "@aigne/openai": "^0.12.2"
84
+ "@aigne/openai": "^0.12.3"
85
85
  },
86
86
  "devDependencies": {
87
87
  "@types/archiver": "^6.0.3",
@@ -96,7 +96,8 @@
96
96
  "npm-run-all": "^4.1.5",
97
97
  "rimraf": "^6.0.1",
98
98
  "typescript": "^5.8.3",
99
- "ufo": "^1.6.1"
99
+ "ufo": "^1.6.1",
100
+ "@aigne/test-utils": "^0.5.35"
100
101
  },
101
102
  "scripts": {
102
103
  "lint": "tsc --noEmit",
@@ -54,4 +54,3 @@ capabilities:
54
54
  component: true
55
55
  navigation: true
56
56
  components: []
57
-
Binary file