diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4b1fe56302b..701fa021139 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -140,6 +140,11 @@ jobs: working-directory: packages/client run: bun run check:generated + - name: Check generated OpenAPI document + if: runner.os == 'Linux' + working-directory: packages/protocol + run: bun run check:generated + - name: Check generated documentation if: runner.os == 'Linux' working-directory: services/www diff --git a/.opencode/skills/opencode-dev/SKILL.md b/.opencode/skills/opencode-dev/SKILL.md index befc8c0177f..3f0c488c78a 100644 --- a/.opencode/skills/opencode-dev/SKILL.md +++ b/.opencode/skills/opencode-dev/SKILL.md @@ -130,7 +130,9 @@ On every platform, including Windows, capture the running background server with opencode debug heap-dump ``` -It discovers the already-running service (never starts or replaces one), calls `POST /api/debug/heap-dump`, waits until the file is complete, and prints its server-local path. Pass `--server ` (with `OPENCODE_PASSWORD`) for a server started with `serve`. A 404 means the running server predates the endpoint. +It discovers the already-running service (never starts or replaces one), calls `POST /api/debug/heap-dump`, waits until the file is complete, and prints its server-local path. Pass `--server ` (with `OPENCODE_PASSWORD`) for a server started with `serve`, and `--directory ` to write somewhere other than the server's log directory (the server creates it; a server that predates the option ignores it and the CLI warns). A 404 means the running server predates the endpoint. + +For desktop memory, run **Capture heap snapshots** from the desktop command palette (`packages/gui-extensions/src/debug/main.ts`). It writes `~/Downloads/opencode-heap-