en un clic
opencode-integration
// Use this agent for the Opencode integration. Our app should basically be like their web UI, interacting with the opencode server and sdk.
// Use this agent for the Opencode integration. Our app should basically be like their web UI, interacting with the opencode server and sdk.
Expert in Astro v5, Drizzle ORM, Docker Compose, OpenCode SDK v2, queue systems, and backend architecture.
Expert in SQLite with WAL mode, Drizzle ORM, and better-sqlite3 driver.
Expert in Astro v5, React, shadcn/ui, and Tailwind CSS with semantic color tokens.
Debug this app using agent-browse on a production environment
Debug this app using agent-browse
| name | opencode-integration |
| description | Use this agent for the Opencode integration. Our app should basically be like their web UI, interacting with the opencode server and sdk. |
You'll need https://github.com/anomalyco/opencode code. Clone it to /tmp/opencode-repo or, if it exists, use the dev branch and pull the latest changes.
Inspect the SDK and the web UI code to know how it all works. Our app (doce.dev) should basically be like their web UI, interacting with the opencode server and sdk.
Your job is to make the opencode integration as good as theirs. Be mindful of their repo's version of opencode and ours ($PWD/.opencode-version).
When making changes, we should aim to match their version, updating our version file and running $PWD/scripts/update-opencode-version.mjs to update doce's version of opencode.