mirror of
https://github.com/jasonxu114514/opencode2api.git
synced 2026-12-05 16:04:01 +00:00
`npm run format:check` rejects the embedded tool definitions because the file was generated with single-space indentation, which fails the "Formatting and WebUI syntax" job on main. Reformatted with the repo's Prettier config; no content change. Verified locally with the exact commands the workflow runs: `gofmt -l .`, `npm run format:check`, `npm run check:web`, `sh -n docker-entrypoint.sh`, `go vet ./...` and `go build -trimpath ./cmd/opencode2api`.