summaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorSaatvik Arya <[email protected]>2025-06-21 02:57:58 +0530
committerGitHub <[email protected]>2025-06-20 17:27:58 -0400
commit53c18a64b48e715d65491392a013769d69ab0295 (patch)
tree381d12fe3f347c83d4cf7b98da0f55f3099cf91c /README.md
parentb8144c56540fe0e138ba63a1f55497063eefec63 (diff)
downloadopencode-53c18a64b48e715d65491392a013769d69ab0295.tar.gz
opencode-53c18a64b48e715d65491392a013769d69ab0295.zip
docs: add API client generation instructions to README and AGENTS.md (#273)
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4e29b92b4..fca247af5 100644
--- a/README.md
+++ b/README.md
@@ -50,6 +50,17 @@ $ bun install
$ bun run packages/opencode/src/index.ts
```
+#### Development Notes
+
+**API Client Generation**: After making changes to the TypeScript API endpoints in `packages/opencode/src/server/server.ts`, you need to regenerate the Go client and OpenAPI specification:
+
+```bash
+$ cd packages/tui
+$ go generate ./pkg/client/
+```
+
+This updates the generated Go client code that the TUI uses to communicate with the backend server.
+
### FAQ
#### How is this different than Claude Code?