From 9e729a4d720b53b0b1cb75425568b3422c7c9369 Mon Sep 17 00:00:00 2001 From: felix Date: Thu, 2 Jul 2026 13:53:04 +0200 Subject: [PATCH] Update readme --- README.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 85d269a..5dd3f46 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# app-open-code-experiment +# app-opencode-experiment [opencode](https://opencode.ai/) in a Docker container, wired to [weave](https://weave.redpencil.io) as the model provider. Default model `weave/glm-5.2`. LSP baked in for TypeScript/JS and Python. @@ -22,11 +22,9 @@ docker compose up -d docker compose exec opencode opencode ``` -Or a one-shot against a registered model: +## TUI -``` -docker compose exec opencode opencode run --model weave/glm-5.2 "..." -``` +In the TUI, type `/models` to select a model from the registered weave models. ## Layout @@ -36,5 +34,4 @@ docker compose exec opencode opencode run --model weave/glm-5.2 "..." ## Caveats -- **No model discovery on weave.** I haven't found a way to discover models on weave.redpencil.io, so they are configured explicitly in `opencode.json` (see `provider.weave.models`). When the catalog changes, update that list by hand. -- **Copy from the TUI is broken over Docker.** `COPY` from the TUI isn't working properly in a container. I've only found messy workarounds, no real solution yet - kept things simple here instead. +- Copy from the TUI is weird over Docker: To copy text out of the opencode TUI running in a container, I have to do `Shift`+click to select the text, then `Ctrl`+`Shift`+`C` to copy. Plain `COPY` doesn't work.