跳到正文
GitHub·· 8 天前AI 评分58

atelier 发布基于 GPUI 的原生代码编辑器,面向编码智能体

flazouh/atelier

AI 导读

atelier 是一个基于 GPUI 的原生代码编辑器,专为与编码智能体协作而设计,可在代码旁运行智能体会话、展示每一轮改动供审查并打开 pull request,支持本地文件夹或通过 SSH 使用。

正文

A native code editor on GPUI, made for work with coding agents. It runs agent sessions next to your code, shows what each turn changed for review, and opens pull requests, on a local folder or over SSH.

Agents plug in through one model of atelier's own (crates/agents): Claude Code, Cursor and Codex (over the Agent Client Protocol), and atelier's own agent.

Build and run

Rust 2024 (stable). macOS and Linux.

cargo run -p atelier-app       # the editor
cargo run -p atelier-gallery   # every component in each state
tools/check.sh                 # every check a change needs: tests, clippy, the gallery, the vendored crates

An agent runs as its own program on the project's host, so install and sign in to the agent you want there (for example claude for Claude Code, agent for Cursor).

Layout

The UI is built from atelier-ui, the design system, which lives in its own repo.

Path What it holds
crates/app The window: projects, sessions, review, PR view, tasks, settings.
crates/agents Agent sessions: the model, and a backend for each agent. See docs/agents.md.
crates/editor, crates/lsp The code editor and language servers.
crates/project, crates/remote A project on this machine or on an SSH host.
crates/review, crates/pr-view, crates/forge Review of agent turns, pull requests, and the code host.
crates/tracker, crates/settings Tasks, and the settings file.
crates/gallery The gallery: every component in each state, with sample data.
vendor Patched copies of gpui-base and gpui-component. See each one's PATCHES.md.
docs How each part works.

Contributing

See CONTRIBUTING.md.

License

Apache-2.0. The copies in vendor keep their own Apache-2.0 license. atelier-ui has its own license (GPL-3.0 or commercial), so a build of atelier as a whole is under the GPL-3.0. Agent and lab logos in crates/agents/assets belong to their owners and show which agent or model is in use.

来源:GitHub · github.com