Skip to content

fix(opencode): send required session header - #1652

Merged
jhrozek merged 1 commit into
mainfrom
opencode-go
Sep 16, 2026
Merged

jhrozek merged 1 commit into
mainfrom
opencode-go

Conversation

@jhrozek

@jhrozek jhrozek commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • send OpenCode Go's required X-OpenCode-Session header from the authoritative run session ID
  • retain Mecatl's existing session-correlation header and leave generic Chat Completions endpoints unchanged
  • cover the provider header and registry wiring with offline HTTP tests

Verification

  • cd provider/openaichat && go test ./...
  • go test ./internal/app -run 'Test(OpenCodeEntrySendsRequiredSessionHeader|RegistryOpenCode)'

Full repository gates intentionally skipped at requester direction. A prior task test run was also blocked by a reproducible unrelated macOS UNIX-socket-path failure in cmd/mecatui/embed.

@jhrozek
jhrozek merged commit 6a392dd into main Sep 16, 2026
35 checks passed
@jhrozek
jhrozek deleted the opencode-go branch September 16, 2026 19:44
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Sep 21, 2026
2 tasks
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