@ai-zen/cli 1.0.0-alpha.10 → 1.0.0-alpha.11
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 +15 -0
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## [1.0.0-alpha.11] - 2026-10-20
|
|
2
|
+
|
|
3
|
+
### ⚠️ 依赖
|
|
4
|
+
|
|
5
|
+
- `@ai-zen/agents-sdk` `1.0.0-alpha.10 → 1.0.0-alpha.11`(`createCallMcpTool` 新增 `env` 参数为破坏性变更;CLI 不直接调用该工厂,无代码改动)。
|
|
6
|
+
|
|
7
|
+
### 🔧 变更(随 SDK)
|
|
8
|
+
|
|
9
|
+
- **`call_mcp_tool` 输出保护**:调用 MCP 工具时,文本输出超过 `maxToolOutput`(默认 32768 字符)会完整落盘为 `result.txt`,只返回警告 + 头尾预览,可用 `read` 分批读取——不再一次把上万字符灌进上下文。
|
|
10
|
+
- **图片 / 音频 / 二进制资源原样返回**:MCP 返回的 `image` / `audio` / `resource.blob` 转成 `image_url` / `file` 内容块透传(`resource.text` 并入正文、`resource_link` 转为可读线索),不再静默丢弃;媒体不受 `maxToolOutput` 约束。
|
|
11
|
+
|
|
12
|
+
### 📄 文档
|
|
13
|
+
|
|
14
|
+
- `docs/{zh,en}/mcp.md` 说明「仅文本受输出保护、媒体不受上限约束」;`docs/{zh,en}/getting-started.md`、`docs/manifest.json`、`README{,.zh}.md` 版本同步。
|
|
15
|
+
|
|
1
16
|
## [1.0.0-alpha.10] - 2026-10-20
|
|
2
17
|
|
|
3
18
|
### 💥 变更
|
package/README.md
CHANGED
|
@@ -66,7 +66,7 @@ When run with no arguments on an interactive terminal, the CLI opens a full-scre
|
|
|
66
66
|
╚═╝ ╚═╝╚═╝ ╚══════╝╚══════╝╚═╝ ╚═══╝
|
|
67
67
|
|
|
68
68
|
AI workbench in your terminal
|
|
69
|
-
v1.0.0-alpha.
|
|
69
|
+
v1.0.0-alpha.11 · sdk x · core y
|
|
70
70
|
```
|
|
71
71
|
|
|
72
72
|
After the splash, you land **directly in the chat screen** (resuming the last session if there is one, otherwise starting a new conversation). The chat screen is **bottom-pinned**: a divider, the input line, and the status bar (model · agent · this-round / cumulative tokens · generating) always sit at the bottom of the terminal, while the conversation scrolls above them. While generating, the spinner replaces the input line.
|
package/README.zh.md
CHANGED
|
@@ -66,7 +66,7 @@ ai --version
|
|
|
66
66
|
╚═╝ ╚═╝╚═╝ ╚══════╝╚══════╝╚═╝ ╚═══╝
|
|
67
67
|
|
|
68
68
|
终端里的 AI 协作台
|
|
69
|
-
v1.0.0-alpha.
|
|
69
|
+
v1.0.0-alpha.11 · sdk x · core y
|
|
70
70
|
```
|
|
71
71
|
|
|
72
72
|
启动界面结束后**直接进入对话界面**(若存在「上一轮会话」则自动续接,否则新建对话)。对话界面采用**底部固定**布局:分隔线、输入行与状态栏(模型 · Agent · 本轮/累计 token 用量 · 生成状态)始终贴在终端底部,对话内容在其上方滚动;生成中时输入行位置显示进度指示。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-zen/cli",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.11",
|
|
4
4
|
"description": "AI-ZEN CLI - dual-mode AI terminal: pure stdio pipelines and an interactive TUI",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@ai-zen/agents-core": "^4.5.1",
|
|
25
|
-
"@ai-zen/agents-sdk": "1.0.0-alpha.
|
|
25
|
+
"@ai-zen/agents-sdk": "1.0.0-alpha.11",
|
|
26
26
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
27
27
|
"dayjs": "^1.11.21",
|
|
28
28
|
"highlight.js": "^11.12.0",
|