Skip to content

feat(server): extract question httpapi contract into packages/server#22502

Merged
nexxeln merged 1 commit intodevfrom
nxl/extract-question-contract
Apr 14, 2026
Merged

feat(server): extract question httpapi contract into packages/server#22502
nexxeln merged 1 commit intodevfrom
nxl/extract-question-contract

Conversation

@nexxeln
Copy link
Copy Markdown
Member

@nexxeln nexxeln commented Apr 14, 2026

summary

  • move the experimental question HttpApi contract into packages/server and export it from the server definition surface
  • generate packages/server OpenAPI from the extracted contract while keeping temporary transport-local schemas cycle-free
  • switch the existing opencode question handler to consume the extracted contract without changing runtime behavior

testing

  • bun typecheck in packages/server
  • bun typecheck in packages/opencode
  • bun test test/server/question-httpapi.test.ts --timeout 30000 in packages/opencode

@nexxeln nexxeln changed the title extract question httpapi contract into packages/server feat(server): extract question httpapi contract into packages/server Apr 14, 2026
@nexxeln nexxeln merged commit 678d8f6 into dev Apr 14, 2026
15 of 16 checks passed
@nexxeln nexxeln deleted the nxl/extract-question-contract branch April 14, 2026 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant