docs(httpapi): update migration spec to current state#25173
Merged
kitlangton merged 1 commit intodevfrom Apr 30, 2026
Merged
Conversation
Reflect the actual current architecture: backend selection at startup (server/backend.ts + server.ts) replacing the earlier in-Hono bridge, central Effect Config-based auth, and the implemented-but-opt-in Effect HttpApi OpenAPI/SDK generation. Document the remaining schema-shape gaps between hono-openapi output and OpenApi.fromApi(PublicApi) output that block flipping the SDK generator default.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Docs-only update to
packages/opencode/specs/effect/http-api.mdso it reflects what's actually shipped:server/backend.ts+server.ts), replacing the earlier in-Hono path-mounting bridge model.cee9610d2 refactor: use Effect config for HttpApi authorization,3250b814c Fix HttpApi raw route authorization) rather than re-attached per route module.bun dev generate --httpapi,OPENCODE_SDK_OPENAPI=httpapi), and document the schema-shape gaps in the Effect-generated spec that block flipping the SDK generator default:patternconstraints not propagated (~169 missing).descriptionannotations not propagated (~107 missing).Event.*/SyncEvent.*component-name dotted vs PascalCase divergence.Session9,SyncEvent.session.updated.11).hono/streaming.panic: status service not initialized. Call status.InitService() at application startup.when running opencode #15 reframed aroundbackend.tsdefault flip rather than per-route flag.Test plan