Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ npm run dev
npm start
```

See also [Development guide](./docs/development.md) and [Main README](./README.md).

## Testing

- Unit tests: `npm run test:unit`
Expand Down
278 changes: 30 additions & 248 deletions README.md

Large diffs are not rendered by default.

296 changes: 34 additions & 262 deletions README.zh-CN.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ services:
- opencode-config:/home/node/.config/opencode
restart: unless-stopped
# Guard small (1GB) hosts: cap memory/CPU so one slow request cannot wedge
# the whole machine (see docs/host-deployments.md §9). Raw `docker run`
# the whole machine (see `docs/host-deployments.md` §9). Raw `docker run`
# hosts should pass the equivalents: --memory=768m --memory-reservation=256m
# --cpus=1.5 --pids-limit=256.
mem_limit: 768m
Expand Down
2 changes: 2 additions & 0 deletions docs/AI_BOT.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# AI Bot (GitHub Actions)

> 📖 [Docs Index](./README.md) | 🏠 [Main README](../README.md)

In-repo advisory bot for OpenCode2API: issue investigation, multi-agent PR
review, PR explanations, scheduled repo scans with auto-issue, and fix-plan
proposals with opt-in draft PRs.
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<img src="https://img.shields.io/badge/version-1.6.0-blue" alt="Version">
</p>

> **Language:** [English](./README.md) | [简体中文](./README.zh-CN.md) *(per-guide Chinese versions, see Translation status below)*
> **Language:** **English** | [简体中文](./README.zh-CN.md) *(per-guide Chinese versions, see Translation status below)*
>
> 🏠 [Main README](../README.md) | [简体中文 README](../README.zh-CN.md) | 🐛 [Issues](https://github.com/samson910022/OpenCode2API/issues)

Expand Down
4 changes: 2 additions & 2 deletions docs/README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<img src="https://img.shields.io/badge/version-1.6.0-blue" alt="Version">
</p>

> **語言:** [English](./README.md) | [简体中文](./README.zh-CN.md)
> **语言:** [English](./README.md) | **简体中文**
>
> 🏠 [主 README(English)](../README.md) | [主 README(简体中文)](../README.zh-CN.md)
> 🏠 [主 README(English)](../README.md) | [主 README(简体中文)](../README.zh-CN.md) | 🐛 [Issues](https://github.com/samson910022/OpenCode2API/issues)
>
> 欢迎查看 OpenCode2API 文档

Expand Down
2 changes: 2 additions & 0 deletions docs/api-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<img src="https://img.shields.io/badge/version-1.6.0-blue" alt="Version">
</p>

> 📖 [Docs Index](./README.md) | 🏠 [Main README](../README.md)

---

## 📋 基础信息
Expand Down
2 changes: 2 additions & 0 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

> 配置优先级:**环境变量 > config.json > 默认值**

> 📖 [Docs Index](./README.md) | 🏠 [Main README](../README.md)

---

## 🔧 环境变量
Expand Down
4 changes: 4 additions & 0 deletions docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,7 @@ OpenCode2API/
## 📄 许可证

MIT License - 详见 [LICENSE](../LICENSE.md)

---

> 📖 [Docs Index](./README.md) | 🏠 [Main README](../README.md) | 🤝 [CONTRIBUTING](../CONTRIBUTING.md)
4 changes: 4 additions & 0 deletions docs/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,3 +154,7 @@ docker compose logs
### 挂载权限问题

确保 PUID/PGID 配置正确 (默认 1000:1000)。

---

> 📖 [Docs Index](./README.md) | 🚀 [Getting Started](./getting-started.md)
2 changes: 2 additions & 0 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,5 @@ curl -N -X POST http://127.0.0.1:10000/v1/responses \

- ⚙️ 查看 [Configuration](./configuration.md) 了解更多配置选项
- 🐳 查看 [Docker Deployment](./docker.md) 了解 Docker 部署详情

> 📖 [Docs Index](./README.md) | 🏠 [Main README](../README.md)
2 changes: 2 additions & 0 deletions docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,5 @@ OPENCODE_PROXY_DEBUG=true
## 🆘 获取帮助

- 🐛 [GitHub Issues](https://github.com/samson910022/OpenCode2API/issues)

> 📖 [Docs Index](./README.md) | 🏠 [Main README](../README.md)
Loading