diff --git a/CLAUDE.md b/CLAUDE.md index 9791f97..6c774d8 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -49,7 +49,7 @@ directory, one mounted at `/workspace`. The home volume holds settings, credentials and CLI logins; `/workspace` holds the code. Point whatever variable selects the working directory at `/workspace`. -`code-server`, `paseo` and `opencode-web` all follow this. A service with no +`code-server`, `paseo` and `opencode` all follow this. A service with no human inside it does not — one that spawns a container per session keeps only its own state volume. @@ -60,7 +60,7 @@ your extensions and logins. Check who owns `/workspace` on a fresh volume. Docker creates it `root:root` unless the image ships the directory, and an image that drops to a non-root user will not be able to write there. `code-server` needs an explicit `chown` -for this reason; `paseo` and `opencode-web` do not. +for this reason; `paseo` and `opencode` do not. ## Environment variable order diff --git a/README.md b/README.md index 01b33ec..6579525 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ Each links to its own README for variables, ports, and storage. | [diun](diun/README.md) | Image-update notifier, reading the Docker API through a read-only proxy | | [gitea-mirror](gitea-mirror/README.md) | Gitea + PostgreSQL + gitea-mirror, mirroring GitHub repos | | [goclaw](goclaw/README.md) | Multi-tenant AI agent gateway, with pgvector PostgreSQL | -| [opencode-web](opencode-web/README.md) | opencode coding agent, served as a browser UI | +| [opencode](opencode/README.md) | opencode coding agent, served as a browser UI | | [paseo](paseo/README.md) | Paseo coding-agent daemon and web UI | | [traffmonetizer](traffmonetizer/README.md) | TraffMonetizer bandwidth-sharing client | diff --git a/code-server/README.md b/code-server/README.md index ef730ad..ddc398c 100644 --- a/code-server/README.md +++ b/code-server/README.md @@ -64,7 +64,7 @@ Coolify or Dokploy. See the [root README](../README.md) for why. | `code-server-workspace` | `/workspace` | Code you work on | Two volumes, the same split [paseo](../paseo/README.md) and -[opencode-web](../opencode-web/README.md) use: home in one, the workspace in +[opencode](../opencode/README.md) use: home in one, the workspace in the other. Code survives a wipe of the editor's state, and the editor's state survives a wipe of the code. diff --git a/opencode-web/.env.example b/opencode/.env.example similarity index 100% rename from opencode-web/.env.example rename to opencode/.env.example diff --git a/opencode-web/Dockerfile b/opencode/Dockerfile similarity index 100% rename from opencode-web/Dockerfile rename to opencode/Dockerfile diff --git a/opencode-web/README.md b/opencode/README.md similarity index 98% rename from opencode-web/README.md rename to opencode/README.md index cb1e06c..9dfb0a0 100644 --- a/opencode-web/README.md +++ b/opencode/README.md @@ -1,4 +1,4 @@ -# opencode-web +# opencode [opencode](https://opencode.ai) served as a browser UI by `opencode web`, which starts the headless server and its web interface together. The agent runs in @@ -16,7 +16,7 @@ apk layer puts them back. 3. Log in to a model provider — the UI cannot do it, so use a shell: ```sh - docker compose exec opencode-web opencode auth login + docker compose exec opencode opencode auth login ``` It is interactive, which is why it is not an environment variable; `exec` diff --git a/opencode-web/compose.yml b/opencode/compose.yml similarity index 97% rename from opencode-web/compose.yml rename to opencode/compose.yml index 8db20e0..5fce87e 100644 --- a/opencode-web/compose.yml +++ b/opencode/compose.yml @@ -1,5 +1,5 @@ services: - opencode-web: + opencode: build: . restart: unless-stopped command: