@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.
- package/README.md +27 -13
- package/README.zh-CN.md +18 -10
- 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
|
|
6
|
-
|
|
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
|
[](https://asciinema.org/a/1266474)
|
|
9
14
|
|
|
10
15
|
## Why keke?
|
|
11
16
|
|
|
12
|
-
- **
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
`keke-core`
|
|
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**
|
|
6
|
-
|
|
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
|
[](https://asciinema.org/a/1266474)
|
|
9
13
|
|
|
10
14
|
## 为什么选择 keke?
|
|
11
15
|
|
|
12
|
-
-
|
|
13
|
-
|
|
16
|
+
- **完整的 agent,不是薄 CLI。** 交互式 TUI 与面向脚本和 CI 的 `keke exec`
|
|
17
|
+
共用一套会话协议。并发子 agent(有上限,子 agent 不能再派生子 agent)、后台
|
|
18
|
+
shell 任务,以及 `/loop`:一条稍后会再送回来的提示。规划模式可以调研并写下计划,但不能改仓库。
|
|
14
19
|
|
|
15
|
-
-
|
|
16
|
-
|
|
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
|
-
-
|
|
19
|
-
|
|
25
|
+
- **能力在,但默认不自动启用。** Skills 可以禁用。持久记忆在设定目录之前是关闭的。
|
|
26
|
+
随仓库提供的 hooks 和 MCP 服务器不会因为 `git clone` 就执行;必须由人批准其确切的命令行,
|
|
27
|
+
而且它们不能把已有的拒绝改回允许。
|
|
20
28
|
|
|
21
|
-
-
|
|
22
|
-
|
|
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.
|
|
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.
|
|
22
|
-
"@milisp/keke-darwin-arm64": "0.1.
|
|
23
|
-
"@milisp/keke-linux-x64": "0.1.
|
|
24
|
-
"@milisp/keke-linux-arm64": "0.1.
|
|
25
|
-
"@milisp/keke-win32-x64": "0.1.
|
|
26
|
-
"@milisp/keke-win32-arm64": "0.1.
|
|
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",
|