新增wiki命令文件
This commit is contained in:
38
wiki/sources/opencode-ubuntu-install.md
Normal file
38
wiki/sources/opencode-ubuntu-install.md
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
id: opencode-ubuntu-install
|
||||
title: "在 Ubuntu 上安装 OpenCode 并配置 Vibe-Kanban"
|
||||
type: source
|
||||
tags: [opencode, ubuntu, vibe-coding, vibe-kanban]
|
||||
sources: []
|
||||
last_updated: 2026-04-14
|
||||
---
|
||||
|
||||
## Summary
|
||||
- 核心主题:OpenCode AI 编码 Agent 的安装配置及其与 Vibe-Kanban 的集成
|
||||
- 问题域:开源 AI 编码工具的本地部署和 LLM Provider 配置
|
||||
- 方法/机制:通过官方安装脚本一键安装,配置 API Key 后初始化项目
|
||||
- 结论/价值:OpenCode 支持任意 LLM Provider,通过 AGENTS.md 文件理解项目结构
|
||||
|
||||
## Key Claims
|
||||
- OpenCode 可通过 `curl -fsSL https://opencode.ai/install | bash` 一键安装
|
||||
- OpenCode 支持任意 LLM Provider(需配置 API Key),也提供 OpenCode Zen 托管服务
|
||||
- 初始化项目后会自动创建 `AGENTS.md` 文件,建议提交到 Git
|
||||
- OpenCode 提供 Plan 模式和 Build 模式切换(Tab 键),支持 /undo 和 /redo 命令
|
||||
- Vibe-Kanban 使用 GitHub CLI 创建 Pull Request
|
||||
|
||||
## Key Concepts
|
||||
- [[OpenCode]]:开源 AI 编码 Agent,支持终端界面、桌面应用和 IDE 扩展
|
||||
- [[Vibe-Kanban]]:任务看板,用于管理 AI 编码 Agent 的工作流
|
||||
- [[AGENTS-md]]:OpenCode 项目初始化时生成的文件,记录项目结构和编码规范
|
||||
- [[Plan模式]]:OpenCode 的规划模式,只生成实现计划不执行代码修改
|
||||
- [[Build模式]]:OpenCode 的构建模式,执行代码修改
|
||||
|
||||
## Key Entities
|
||||
- [[BloopAI]]:OpenCode 的开发公司
|
||||
|
||||
## Connections
|
||||
- [[OpenCode]] ← 支持 ← [[LLM-Provider]]
|
||||
- [[Vibe-Kanban]] ← 集成 ← [[OpenCode]]
|
||||
- [[OpenCode]] ← 生成 ← [[AGENTS-md]]
|
||||
|
||||
## Contradictions
|
||||
Reference in New Issue
Block a user