Agent 会话:Claude Agent SDK 与 Codex 沿用 Space 的工作目录,支持在界面内审批调用并接续终端中启动的会话。
# 1. TypeScript: shared packages, the Core and the web tools (a minute or two)
corepack enable && corepack prepare pnpm@9 --activatepnpm install
pnpm build
# 2. Engine: Chromium as Melon.framework (once, or when engine/ C++ changes; many hours, tens of GB)cd engine
./build/00-bootstrap.sh --install && ./build/10-sync.sh # dependencies, then fetch the Chromium source
MELON_INTEGRATE=1 ./build/20-apply.sh && ./build/25-configure.sh
./build/30-build.sh && ./build/35-build-framework.sh # build Chromium, then link Melon.framework
cd ..
# 3. Assemble, sign and run
./tooling/build-app.sh # swift build + embed framework -> dist/Melon.app
MELON_FORCE_ENGINE=1 dist/Melon.app/Contents/MacOS/Melon
按 RepoForAI 实时快照,cline 总 Star 72,052(7日 +116),melon 总 Star 87(7日 +87),近期增速由 cline 领先。
团队技术选型时该如何二选一?
适合选用 cline(TypeScript):希望在现有 IDE 或终端完成跨文件修改,自主管理模型端点,并通过共享 SDK 接入内部工具或 CI 自动化的团队;适合选用 melon(Swift):使用 Apple silicon Mac,频繁切换本地与 SSH 项目,希望浏览器登录态、预览页、终端和 Claude 或 Codex 会话都随项目保留。