tako-cli 0.3.1 → 0.3.2

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.
Files changed (3) hide show
  1. package/README.md +58 -1
  2. package/dist/index.js +265 -319
  3. package/package.json +25 -4
package/README.md CHANGED
@@ -13,6 +13,47 @@
13
13
 
14
14
  ---
15
15
 
16
+ ## Why Tako? / 为什么用 Tako
17
+
18
+ - 🚀 **One launcher, every tool** — switch between Claude Code, Codex, Gemini in one TUI; no more juggling separate installs / 一个启动器管所有工具,不用分别折腾安装
19
+ - 🤖 **Multi-agent sessions** — run, monitor, and approve persistent agent sessions from the CLI; perfect for fan-out tasks / 多 agent 会话,CLI 里批量派活/监控/审批,适合并行任务
20
+ - 🔄 **Per-session model switching** — swap models via env var without polluting global config / 按会话切模型,不污染全局配置
21
+ - 🔌 **Provider-agnostic** — Tako API, Anthropic, DeepSeek, Xiaomi, or your own endpoint / 任意服务商,含自定义端点
22
+ - 🇨🇳 **China-optimized** — auto mirror detection + npmmirror acceleration / 自动镜像检测加速
23
+
24
+ ## Table of Contents / 目录
25
+
26
+ - [Quick Install / 快速安装](#quick-install--快速安装)
27
+ - [Usage / 使用方式](#usage--使用方式)
28
+ - [Agent Session Management / Agent 会话管理](#agent-session-management--agent-会话管理)
29
+ - [Skills / 技能](#skills--技能)
30
+ - [Features / 功能特性](#features--功能特性)
31
+ - [Documentation / 文档](#documentation--文档)
32
+ - [Development / 开发](#development--开发)
33
+
34
+ ## What it looks like / 效果一览
35
+
36
+ ```console
37
+ $ tako
38
+ 🐙 Tako — AI Coding Tools Launcher
39
+
40
+ ▸ Claude Code claude-sonnet-4-6 ● ready
41
+ Codex gpt-5.5 ● ready
42
+ Gemini gemini-2.5-pro ● ready
43
+
44
+ [←→] switch [↑↓] projects [a] agents [p] providers [Enter] launch
45
+
46
+ $ tako agent run claude --name fix-tests --json \
47
+ --prompt "find and fix the failing auth tests"
48
+ → run a1b2c3d4 (claude claude-sonnet-4-6)
49
+ $ go test ./...
50
+ ✗ FAILED (exit 1)
51
+ ◀ turn done
52
+ {"sid":"a1b2c3d4-...","status":"ok","text":"Fixed 2 tests in auth_test.go"}
53
+ ```
54
+
55
+ ---
56
+
16
57
  ## Quick Install / 快速安装
17
58
 
18
59
  ```bash
@@ -59,10 +100,12 @@ Manage persistent AI agent sessions from CLI or TUI. Sessions survive shell rest
59
100
  从 CLI 或 TUI 管理持久化的 AI agent 会话。会话跨 shell 重启保持。
60
101
 
61
102
  ```bash
103
+ tako agent run claude --prompt "fix the failing tests" --json # One-shot task / 一次性任务
62
104
  tako agent start claude --model claude-sonnet-4-6 # Create session / 创建会话
63
- tako agent list # List sessions / 列出会话
105
+ tako agent list [--status idle --name-prefix fg-] # List + filter / 列出+筛选
64
106
  tako agent send <sid> "your prompt" # Send message / 发送消息
65
107
  tako agent attach <sid> # Live-tail log / 实时跟踪
108
+ tako agent show <sid> --errors-only # Inspect failures / 查看失败详情
66
109
  tako agent cancel <sid> # Cancel current turn / 中止当前轮
67
110
  tako agent close <sid> [--purge] # Close session / 关闭会话
68
111
  ```
@@ -136,6 +179,18 @@ curl -fsSL https://raw.githubusercontent.com/tako-dev/cli/main/skills/model-benc
136
179
 
137
180
  ---
138
181
 
182
+ ## Documentation / 文档
183
+
184
+ | Topic | Link |
185
+ |-------|------|
186
+ | 📖 Agent module design / Agent 模块设计 | [`docs/agent/DESIGN.md`](docs/agent/DESIGN.md) |
187
+ | 🧪 Agent test plan / 测试计划 | [`docs/agent/TESTPLAN.md`](docs/agent/TESTPLAN.md) |
188
+ | 🤖 tako-agent skill | [`skills/tako-agent/SKILL.md`](skills/tako-agent/SKILL.md) |
189
+ | 📊 Model benchmark & picker / 选模型指南 | [`skills/model-benchmark/SKILL.md`](skills/model-benchmark/SKILL.md) |
190
+ | 🐛 Issues & feedback | [GitHub Issues](https://github.com/tako-dev/cli/issues) |
191
+
192
+ ---
193
+
139
194
  ## Development / 开发
140
195
 
141
196
  ```bash
@@ -144,6 +199,8 @@ bun run build
144
199
  bun test
145
200
  ```
146
201
 
202
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for the full workflow. / 完整流程见 CONTRIBUTING.md。
203
+
147
204
  ---
148
205
 
149
206
  ## License