chore: merge dev into websocket support

This commit is contained in:
Aiden Cline
2026-05-26 20:09:21 -05:00
158 changed files with 5455 additions and 1500 deletions
+1 -1
View File
@@ -644,7 +644,7 @@ export async function CodexAuthPlugin(input: PluginInput, options: CodexAuthPlug
if (input.model.providerID !== "openai") return
output.headers.originator = "opencode"
output.headers["User-Agent"] = `opencode/${InstallationVersion} (${os.platform()} ${os.release()}; ${os.arch()})`
output.headers.session_id = input.sessionID
output.headers["session-id"] = input.sessionID
// Temporary fetch-layer hack: title generation currently shares the conversation
// session ID, so the OpenAI plugin marks it for HTTP fallback until transport
// context can be passed directly instead of smuggled through headers.
@@ -151,7 +151,7 @@ function invalidate(entry: PoolEntry) {
}
function poolKey(headers: Record<string, string>) {
const sessionID = headers["x-session-affinity"] ?? headers["session_id"]
const sessionID = headers["x-session-affinity"] ?? headers["session-id"]
if (!sessionID) return undefined
return [