min-agent 0.1.2 → 0.1.3
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/README.md +2 -4
- package/package.json +4 -4
- package/bin/min-agent.js +0 -2
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# min-agent
|
|
2
2
|
|
|
3
|
-
轻量级 AI
|
|
3
|
+
轻量级 AI Agent,支持工具调用(读写文件、Shell、搜索)、MCP 与 Skill。
|
|
4
4
|
兼容 OpenAI 风格 API(OpenAI、Ollama、vLLM、MiniMax、DeepSeek 等)。
|
|
5
5
|
|
|
6
6
|
## 安装
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
需要 **Node.js 20+**。发布包内含 **`tsc` 编译后的 `dist/`**(多文件 ESM),安装时会随 **`package.json` 的 `dependencies`** 安装 `ai`、`glob` 等;npm 会与同级的其它包 **dedupe**,全局安装时依赖集中在全局 `node_modules` 下,便于复用。若需单文件、零依赖安装,可自行用 esbuild 等打 bundle(本仓库默认不发布 bundle)。
|
|
9
9
|
|
|
10
10
|
```bash
|
|
11
11
|
npm install -g min-agent
|
|
@@ -13,8 +13,6 @@ npm install -g min-agent
|
|
|
13
13
|
npx -y min-agent --help
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
从本仓库开发时:先执行 `npm install` 与 `npm run build`,再运行 `node bin/min-agent.js …`(或继续用 `bun run src/cli.ts` 做开发)。
|
|
17
|
-
|
|
18
16
|
## 快速开始
|
|
19
17
|
|
|
20
18
|
```bash
|
package/package.json
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "min-agent",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Minimal AI coding agent with tool use, MCP, and skills support",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"bin": {
|
|
8
|
-
"min-agent": "./
|
|
8
|
+
"min-agent": "./dist/cli.js"
|
|
9
9
|
},
|
|
10
10
|
"engines": {
|
|
11
11
|
"node": ">=20.0.0"
|
|
12
12
|
},
|
|
13
13
|
"files": [
|
|
14
|
-
"bin",
|
|
15
14
|
"dist",
|
|
16
15
|
"docs",
|
|
17
16
|
"README.md",
|
|
@@ -50,7 +49,8 @@
|
|
|
50
49
|
"@ai-sdk/provider": "3.0.8",
|
|
51
50
|
"@modelcontextprotocol/sdk": "1.27.1",
|
|
52
51
|
"ai": "6.0.168",
|
|
53
|
-
"glob": "13.0.5"
|
|
52
|
+
"glob": "13.0.5",
|
|
53
|
+
"zod": "^3.25.76"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@types/node": "22.13.9",
|
package/bin/min-agent.js
DELETED