Skip to content

fix(httpapi): document instance query parameters#24809

Merged
kitlangton merged 1 commit intodevfrom
kit/httpapi-sdk-query-parity
Apr 28, 2026
Merged

fix(httpapi): document instance query parameters#24809
kitlangton merged 1 commit intodevfrom
kit/httpapi-sdk-query-parity

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

  • document the shared directory and workspace query params on Effect HttpApi instance routes to match legacy OpenAPI/SDK generation
  • suppress the PTY websocket cursor query param from the contract-only OpenAPI route because legacy SDK does not expose it
  • add focused OpenAPI parameter parity coverage against the legacy generated spec

Parity

  • OpenAPI route count remains 116 vs 116
  • OpenAPI parameter mismatches reduced from 107 to 0
  • HttpApi-generated SDK method signature mismatches reduced from 111 to 43

Verification

  • bun typecheck
  • bun run test:ci test/server/httpapi-bridge.test.ts
  • ./packages/sdk/js/script/build.ts with default Hono source produced no generated diff

@kitlangton kitlangton merged commit ea3c6c3 into dev Apr 28, 2026
11 checks passed
@kitlangton kitlangton deleted the kit/httpapi-sdk-query-parity branch April 28, 2026 15:10
oleksii-honchar pushed a commit to oleksii-honchar/better-opencode that referenced this pull request Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant