@milisp/keke 0.1.41 → 0.1.42

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 +27 -13
  2. package/README.zh-CN.md +18 -10
  3. package/package.json +7 -7
package/README.md CHANGED
@@ -2,24 +2,38 @@
2
2
 
3
3
  [中文文档](README.zh-CN.md) | [Architecture](docs/architecture.md) | [Config](docs/config.md) | [Roadmap](docs/ROADMAP.md)
4
4
 
5
- **keke** is a local terminal coding agent built in Rust for zero vendor lock-in.
6
- **7 MB download · zero external runtime dependencies · instant startup.**
5
+ **keke** is a local coding agent: a ~7 MB native binary, no Node or Python
6
+ runtime, with the agent surface — not just a chat box that runs a shell.
7
+
8
+ Subagents, MCP, skills, Claude-compatible plugins, hooks, plan mode,
9
+ per-turn checkpoints, OS sandboxing, ACP (so a desktop app can drive the same
10
+ session as the TUI), and multi-provider routing. Memory and repository plugins
11
+ stay off until you turn them on.
7
12
 
8
13
  [![asciicast](https://asciinema.org/a/1266474.svg)](https://asciinema.org/a/1266474)
9
14
 
10
15
  ## Why keke?
11
16
 
12
- - **Use what you already pay for**
13
- Sign in with ChatGPT (Codex) or Grok subscriptions, or drop in any API key. No need to switch providers just to try a different model.
14
-
15
- - **Multi-account, per-directory routing**
16
- Log in to work and personal accounts once. keke automatically picks the right one based on the directory you’re in.
17
-
18
- - **Script- and CI-friendly**
19
- `keke exec "..."` runs one-shot tasks non-interactively — ready for scripts and pipelines.
20
-
21
- - **Vendor-isolated core**
22
- `keke-core` contains zero vendor-specific logic. Point it at any OpenAI-compatible endpoint with a few lines in `config.toml`.
17
+ - **A full agent, not a thin CLI.** Interactive TUI and `keke exec` for scripts
18
+ and CI, both on one session protocol. Concurrent subagents (bounded, and a
19
+ child cannot spawn another), background shell tasks, and `/loop` for a prompt
20
+ that comes back later. Plan mode can research and write a plan, not the repo.
21
+
22
+ - **Use what you already pay for.** Sign in with ChatGPT (Codex) or Grok, or
23
+ any API key. Codex, Grok, Claude, OpenAI-compatible endpoints, Ollama, and
24
+ vLLM — Chat Completions, Responses, or Anthropic Messages. Several accounts
25
+ for one provider, picked by the directory you are in. A compatible endpoint
26
+ is a few lines of `config.toml`; it does not require a new build, and
27
+ `keke-core` has no vendor-specific code.
28
+
29
+ - **Capable, but not on by default.** Skills can be disabled. Persistent memory
30
+ is off until you set a directory. Hooks and MCP servers that ship with a
31
+ repository do not run on `git clone`; a person approves their exact command
32
+ lines, and nothing they add can undo a denial.
33
+
34
+ - **Undo without touching your git history.** Each turn snapshots the working
35
+ tree in a store outside your repository, so reverting the agent's edits is
36
+ not a stash and not a commit.
23
37
 
24
38
  ## Install
25
39
 
package/README.zh-CN.md CHANGED
@@ -2,24 +2,32 @@
2
2
 
3
3
  [English](README.md) | [架构设计](docs/architecture.md) | [配置文档](docs/config.md) | [路线图](docs/ROADMAP.md)
4
4
 
5
- **keke** 是用 Rust 编写的本地终端编码 agent,目标是零厂商锁定。
6
- **下载约 7 MB · 无外部运行时依赖 · 即开即用。**
5
+ **keke** 是本地编码 agent:约 7 MB 的原生二进制,不需要 Node 或 Python
6
+ 运行时,带的是完整的 agent 能力,而不只是一个能跑 shell 的聊天框。
7
+
8
+ 子 agent、MCP、skills、兼容 Claude 目录结构的插件、hooks、规划模式、
9
+ 按轮次的检查点、操作系统级沙箱、ACP(桌面应用与 TUI 走同一套会话),以及多供应商路由。
10
+ 记忆和仓库自带的插件默认关闭,直到你打开它们。
7
11
 
8
12
  [![asciicast](https://asciinema.org/a/1266474.svg)](https://asciinema.org/a/1266474)
9
13
 
10
14
  ## 为什么选择 keke?
11
15
 
12
- - **用你已经在付的账**
13
- 用 ChatGPT(Codex)或 Grok 订阅登录,或直接填入任意 API Key。不必为了试另一个模型而换供应商。
16
+ - **完整的 agent,不是薄 CLI。** 交互式 TUI 与面向脚本和 CI 的 `keke exec`
17
+ 共用一套会话协议。并发子 agent(有上限,子 agent 不能再派生子 agent)、后台
18
+ shell 任务,以及 `/loop`:一条稍后会再送回来的提示。规划模式可以调研并写下计划,但不能改仓库。
14
19
 
15
- - **多账户、按目录路由**
16
- 工作和私人账户各登录一次。keke 会根据当前目录自动选用对应账户。
20
+ - **用你已经在付的账。** 用 ChatGPT(Codex)或 Grok 订阅登录,或任意 API Key。
21
+ Codex、Grok、Claude、OpenAI 兼容端点、Ollama、vLLM —— Chat Completions、
22
+ Responses 或 Anthropic Messages。同一供应商可登录多个账户,按所在目录选用。
23
+ 兼容端点在 `config.toml` 里写几行即可,不必重新编译;`keke-core` 不含厂商特定代码。
17
24
 
18
- - **适合脚本和 CI**
19
- `keke exec "..."` 以非交互方式跑一次性任务,可直接放进脚本和流水线。
25
+ - **能力在,但默认不自动启用。** Skills 可以禁用。持久记忆在设定目录之前是关闭的。
26
+ 随仓库提供的 hooks 和 MCP 服务器不会因为 `git clone` 就执行;必须由人批准其确切的命令行,
27
+ 而且它们不能把已有的拒绝改回允许。
20
28
 
21
- - **与厂商隔离的核心**
22
- `keke-core` 不含任何厂商特定逻辑。在 `config.toml` 里写几行,即可指向任意 OpenAI 兼容端点。
29
+ - **撤销,但不碰你的 git 历史。** 每一轮都把工作区快照存到仓库之外的存储里,
30
+ 回退 agent 的修改既不是 stash,也不是一次提交。
23
31
 
24
32
  ## 安装
25
33
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@milisp/keke",
3
- "version": "0.1.41",
3
+ "version": "0.1.42",
4
4
  "description": "keke is a multi-vendor terminal coding agent.",
5
5
  "license": "Apache-2.0",
6
6
  "bin": {
@@ -18,12 +18,12 @@
18
18
  "win32"
19
19
  ],
20
20
  "optionalDependencies": {
21
- "@milisp/keke-darwin-x64": "0.1.41",
22
- "@milisp/keke-darwin-arm64": "0.1.41",
23
- "@milisp/keke-linux-x64": "0.1.41",
24
- "@milisp/keke-linux-arm64": "0.1.41",
25
- "@milisp/keke-win32-x64": "0.1.41",
26
- "@milisp/keke-win32-arm64": "0.1.41"
21
+ "@milisp/keke-darwin-x64": "0.1.42",
22
+ "@milisp/keke-darwin-arm64": "0.1.42",
23
+ "@milisp/keke-linux-x64": "0.1.42",
24
+ "@milisp/keke-linux-arm64": "0.1.42",
25
+ "@milisp/keke-win32-x64": "0.1.42",
26
+ "@milisp/keke-win32-arm64": "0.1.42"
27
27
  },
28
28
  "repository": {
29
29
  "type": "git",