Skip to content

feat(core): allow passing workspaceID into session create endpoint#16798

Merged
jlongster merged 1 commit intodevfrom
jlongster/session-workspace-id-route
Mar 10, 2026
Merged

feat(core): allow passing workspaceID into session create endpoint#16798
jlongster merged 1 commit intodevfrom
jlongster/session-workspace-id-route

Conversation

@jlongster
Copy link
Contributor

We should be moving away from headers, not using a x-opencode-workspace header. Instead, just pass the workspace id into the session create endpoint. Now when using workspaces sessions will actually have the workspace id in the db.

After this, I'll update the router to lookup the session and if it has a workspace id route it to the right workspace automatically, no header needed

@jlongster jlongster merged commit a4330a2 into dev Mar 10, 2026
12 checks passed
@jlongster jlongster deleted the jlongster/session-workspace-id-route branch March 10, 2026 15:12
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