@luban-code/luban-code 1.137.9 → 1.138.0
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 +1 -1
- package/README.zh.md +1 -1
- package/dist/acp.js +334 -334
- package/dist/cli-plugin.js +138 -138
- package/dist/cli.js +366 -366
- package/dist/extension.js +414 -414
- package/package.json +3 -1
- package/registry/registry.json +57 -24
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
- **Optional real-browser view** — `browser` drives a local headless Chrome/Edge over CDP (open, accessibility snapshot, screenshot, console, failed requests; plus `click` / `type` / `scroll` to drive the page in Agent mode — not available in Plan mode, first use asks for confirmation). Off by default via `luban.browser.enabled`; screenshots are only visible to models with `vision` enabled.
|
|
28
28
|
- **Optional desktop control (macOS and Windows)** — `computer` screenshots the real screen, reads on-screen text via OCR (macOS; on Windows it falls back to viewing the screenshot), lists windows, and can click / double-click / drag / scroll / type / send key combos. Off by default via `luban.computer.enabled`; the first action that touches mouse or keyboard asks for confirmation; unavailable in Plan mode; models without `vision` automatically fall back to OCR text.
|
|
29
29
|
- **Optional tab completion** — DeepSeek FIM completion, off by default.
|
|
30
|
-
- **A Markdown preview you can live with** — the built-in VSCodium preview is awkward, so Luban ships its own: **Luban: Markdown preview** (or the M↓ markdown icon in the editor title bar — icons only there, the title bar has no room for words) opens a side-by-side panel with syntax-highlighted code blocks, local images resolved relative to the file, and one-way scroll sync from the editor. It reuses the same renderer as the chat panel and the same highlighter as the CLI terminal — one set of rules, three surfaces.
|
|
30
|
+
- **A Markdown preview you can live with** — the built-in VSCodium preview is awkward, so Luban ships its own: **Luban: Markdown preview** (or the M↓ markdown icon in the editor title bar — icons only there, the title bar has no room for words) opens a side-by-side panel with syntax-highlighted code blocks, local images resolved relative to the file, and one-way scroll sync from the editor. Math (`$…$`, `$$…$$`, `\(…\)`, `\[…\]`) is typeset with a locally vendored KaTeX — no CDN, no network — and the CLI terminal degrades the same formulas to readable plain text. It reuses the same renderer as the chat panel and the same highlighter as the CLI terminal — one set of rules, three surfaces.
|
|
31
31
|
- **Status-bar light** — one line in the status bar: `(o.o) run_command npm test`. The little carpenter's ASCII face plus what the agent is doing right now (thinking / writing / running a tool / waiting / done / error) — the same face you see in the terminal. Hover for the full picture of this turn, click to open the panel, and it falls asleep (`-_-`) when idle for a while. Turn it off with `luban.statusBar.enabled`.
|
|
32
32
|
|
|
33
33
|
## CLI
|
package/README.zh.md
CHANGED
|
@@ -229,7 +229,7 @@ cd ~/luban
|
|
|
229
229
|
|---|---|
|
|
230
230
|
| [用法与能力](docs/usage.md) | 快捷键、三档模式、Plan 计划文件、`@` `#` 引用、联网搜索 |
|
|
231
231
|
| [工具集、MCP 与技能](docs/tools.md) | 每个内置工具的参数与限制、stdio MCP、`SKILL.md` |
|
|
232
|
-
| [在 Orca 里用](docs/orca.md) | Orca 的 agent
|
|
232
|
+
| [在 Orca 里用](docs/orca.md) | Orca 的 agent 目录编译期固定:借内置槽位怎么填(含「权限下拉必须选自身,否则被自动补 `--yolo`」)、`CI=1` 让 REPL 起不来等十一条已知坑、纯 CLI 复现路径、shim 何时才需要 |
|
|
233
233
|
| [审阅变更](docs/review.md) | 编辑器内 diff、逐块保留 / 撤销 |
|
|
234
234
|
| [会话、多轮记忆与消息队列](docs/sessions.md) | 会话落盘、多标签、记忆派生、排队接力 |
|
|
235
235
|
| [工作原理与内部机制](docs/internals.md) | 请求链路、工具循环闸门、前缀缓存、usage、用量看板 |
|