Skip to content

Commit 641577f

Browse files
committed
docs: update README and SPEC for v0.4.0 features
1 parent bffb0ff commit 641577f

File tree

3 files changed

+25
-3
lines changed

3 files changed

+25
-3
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ Pin specific versions with `skill@v1.0` syntax. Track exact commits in `ask.lock
5252
### 📊 Progress Tracking
5353
Real-time progress bars during installation and updates. Clear feedback on what's happening.
5454

55+
### 🔌 Offline Mode
56+
Use `--offline` flag to work without network. Search uses cached results; perfect for air-gapped environments.
57+
58+
### ⏱️ Performance Benchmarking
59+
Run `ask benchmark` to measure CLI performance (cold/hot search, config loading).
60+
5561
---
5662

5763
## 🚀 Quick Start
@@ -105,6 +111,9 @@ ask skill list # View installed skills
105111
| `ask repo remove <name>` | Remove a source |
106112
| **Shell Completion** | |
107113
| `ask completion <shell>` | Generate completion script |
114+
| **Utilities** | |
115+
| `ask benchmark` | Run performance benchmarks |
116+
| `--offline` | Global flag: run without network |
108117

109118
---
110119

README_zh.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@
5252
### 📊 进度追踪
5353
安装和更新过程中实时显示进度条。清晰反馈当前操作状态。
5454

55+
### 🔌 离线模式
56+
使用 `--offline` 标志无需网络即可工作。搜索使用缓存结果,适用于无网络环境。
57+
58+
### ⏱️ 性能基准测试
59+
运行 `ask benchmark` 测量 CLI 性能(冷/热搜索、配置加载)。
60+
5561
---
5662

5763
## 🚀 快速开始
@@ -103,6 +109,10 @@ ask skill list # 查看已安装技能
103109
| `ask repo list` | 列出技能来源 |
104110
| `ask repo add <url>` | 添加自定义来源 |
105111
| `ask repo remove <名称>` | 移除来源 |
112+
| **工具命令** | |
113+
| `ask benchmark` | 运行性能基准测试 |
114+
| `ask completion <shell>` | 生成 shell 补全脚本 |
115+
| `--offline` | 全局标志:无网络模式 |
106116

107117
---
108118

SPEC.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,11 @@ ASK 是一个用于管理 AI Agent 技能的命令行工具,类似于 Homebrew
3636

3737
### 待实现功能 ⏳
3838

39-
无(v0.3.0 建议功能):
40-
- [ ] 性能基准测试
41-
- [ ] 离线模式
39+
v0.4.0 已实现:
40+
- [x] 性能基准测试 (`ask benchmark`)
41+
- [x] 离线模式 (`--offline`)
42+
43+
v0.5.0 建议功能:
4244
- [ ] 插件系统
4345

4446
---
@@ -254,5 +256,6 @@ ask/
254256
255257
| 日期 | 版本 | 变更 |
256258
|------|------|------|
259+
| 2026-01-16 | 0.4.0 | 新增离线模式 (`--offline`) 和性能基准测试 (`ask benchmark`) |
257260
| 2026-01-15 | 0.2.0 | CLI 重构:技能命令移至 `ask skill` 子命令;技能安装路径改为 `.agent/skills/`;新增 OpenAI 等默认仓库 |
258261
| 2026-01-15 | 0.1.0 | 初始版本,基本功能实现 |

0 commit comments

Comments
 (0)