Install oh-my-pi coding agent

- Install @oh-my-pi/pi-coding-agent globally via bun in Containerfile
- Persist agent config (~/.omp/) via compose volume (mounted at /root)
- Agent provides native Zed (ACP protocol) support
This commit is contained in:
2026-06-22 20:19:55 +08:00
parent 841c58943e
commit f77b2b1e99

View File

@@ -28,8 +28,9 @@ RUN curl -fsSL https://bun.sh/install | bash
# 使用 Bun 安装 opencode
RUN bun install -g opencode-ai
# 安装 oh-my-pi (omp) - 终端 AI 编码 agent原生支持 Zed (ACP 协议)
# 配置目录 ~/.omp/ 由 compose.yml 中 /root 挂载卷持久化
RUN bun install -g @oh-my-pi/pi-coding-agent
# 3. 配置 SSH 服务
RUN mkdir /var/run/sshd && \