@aigne/cli 1.8.0 → 1.9.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,28 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.9.0](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.8.1...cli-v1.9.0) (2025-05-12)
4
+
5
+
6
+ ### Features
7
+
8
+ * **docs:** use typedoc build and publish docs to gh-pages ([#100](https://github.com/AIGNE-io/aigne-framework/issues/100)) ([b9074c0](https://github.com/AIGNE-io/aigne-framework/commit/b9074c0148ea343ada92b5919a52b47537a1ad48))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @aigne/core bumped to 1.14.0
16
+
17
+ ## [1.8.1](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.8.0...cli-v1.8.1) (2025-04-30)
18
+
19
+
20
+ ### Dependencies
21
+
22
+ * The following workspace dependencies were updated
23
+ * dependencies
24
+ * @aigne/core bumped to 1.13.0
25
+
3
26
  ## [1.8.0](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.7.0...cli-v1.8.0) (2025-04-27)
4
27
 
5
28
 
package/README.md CHANGED
@@ -25,14 +25,21 @@ Command-line tool for [AIGNE Framework](https://github.com/AIGNE-io/aigne-framew
25
25
 
26
26
  ## Installation
27
27
 
28
+ ### Using npm
29
+
28
30
  ```bash
29
- # Using npm
30
31
  npm install -g @aigne/cli
32
+ ```
33
+
34
+ ### Using yarn
31
35
 
32
- # Using yarn
36
+ ```bash
33
37
  yarn global add @aigne/cli
38
+ ```
34
39
 
35
- # Using pnpm
40
+ ### Using pnpm
41
+
42
+ ```bash
36
43
  pnpm add -g @aigne/cli
37
44
  ```
38
45
 
@@ -122,14 +129,6 @@ aigne serve --mcp --port 3001
122
129
  aigne serve path/to/agents --mcp
123
130
  ```
124
131
 
125
- ## Documentation
126
-
127
- For more detailed CLI usage guides, please refer to:
128
-
129
- - [CLI Guide](../../docs/cli.md)
130
- - [Agent Development Guide](../../docs/agent-development.md)
131
- - [Cookbook](../../docs/cookbook.md)
132
-
133
132
  ## License
134
133
 
135
134
  Elastic-2.0
package/README.zh.md CHANGED
@@ -25,14 +25,21 @@
25
25
 
26
26
  ## 安装
27
27
 
28
+ ### 使用 npm
29
+
28
30
  ```bash
29
- # 使用 npm
30
31
  npm install -g @aigne/cli
32
+ ```
33
+
34
+ ### 使用 yarn
31
35
 
32
- # 使用 yarn
36
+ ```bash
33
37
  yarn global add @aigne/cli
38
+ ```
34
39
 
35
- # 使用 pnpm
40
+ ### 使用 pnpm
41
+
42
+ ```bash
36
43
  pnpm add -g @aigne/cli
37
44
  ```
38
45
 
@@ -122,14 +129,6 @@ aigne serve --mcp --port 3001
122
129
  aigne serve path/to/agents --mcp
123
130
  ```
124
131
 
125
- ## 文档
126
-
127
- 更多详细的 CLI 使用指南,请参考:
128
-
129
- - [CLI 指南](../../docs/cli.zh.md)
130
- - [代理开发指南](../../docs/agent-development.zh.md)
131
- - [Cookbook](../../docs/cookbook.zh.md)
132
-
133
132
  ## 协议
134
133
 
135
134
  Elastic-2.0
@@ -95,7 +95,7 @@ async function loadAIGNE(path, options) {
95
95
  const model = options.modelProvider
96
96
  ? await loadModel({ provider: options.modelProvider, name: options.modelName })
97
97
  : undefined;
98
- return await AIGNE.load({ path, model });
98
+ return await AIGNE.load(path, { model });
99
99
  }
100
100
  async function downloadPackage(url, downloadDir) {
101
101
  await rm(downloadDir, { recursive: true, force: true });
@@ -23,7 +23,7 @@ export function createServeCommand() {
23
23
  .action(async (path, options) => {
24
24
  const absolutePath = isAbsolute(path) ? path : resolve(process.cwd(), path);
25
25
  const port = options.port || DEFAULT_PORT();
26
- const aigne = await AIGNE.load({ path: absolutePath });
26
+ const aigne = await AIGNE.load(absolutePath);
27
27
  if (options.mcp)
28
28
  await serveMCPServer({
29
29
  aigne,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/cli",
3
- "version": "1.8.0",
3
+ "version": "1.9.0",
4
4
  "description": "cli for AIGNE framework",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -35,30 +35,30 @@
35
35
  }
36
36
  },
37
37
  "dependencies": {
38
- "@aigne/listr2": "^1.0.8",
38
+ "@aigne/listr2": "^1.0.9",
39
39
  "@aigne/marked-terminal": "^7.3.1",
40
- "@modelcontextprotocol/sdk": "^1.9.0",
40
+ "@modelcontextprotocol/sdk": "^1.11.0",
41
41
  "chalk": "^5.4.1",
42
42
  "commander": "^13.1.0",
43
43
  "express": "^5.1.0",
44
- "glob": "^11.0.1",
44
+ "glob": "^11.0.2",
45
45
  "gradient-string": "^3.0.0",
46
- "inquirer": "^12.5.2",
47
- "marked": "^15.0.9",
48
- "openai": "^4.94.0",
46
+ "inquirer": "^12.6.0",
47
+ "marked": "^15.0.11",
48
+ "openai": "^4.97.0",
49
49
  "prettier": "^3.5.3",
50
50
  "pretty-error": "^4.0.0",
51
51
  "tar": "^7.4.3",
52
- "zod": "^3.24.2",
53
- "@aigne/core": "^1.12.0"
52
+ "zod": "^3.24.4",
53
+ "@aigne/core": "^1.14.0"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@types/archiver": "^6.0.3",
57
- "@types/bun": "^1.2.9",
57
+ "@types/bun": "^1.2.12",
58
58
  "@types/express": "^5.0.1",
59
59
  "@types/glob": "^8.1.0",
60
60
  "@types/gradient-string": "^1.1.6",
61
- "@types/node": "^22.14.1",
61
+ "@types/node": "^22.15.15",
62
62
  "archiver": "^7.0.1",
63
63
  "detect-port": "^2.1.0",
64
64
  "npm-run-all": "^4.1.5",
File without changes