chat: add the Codex backend

Store a chat's harness with its operator session, expose chat_backends and a
backend choice in New chat, and route each session through a manager. The Codex
adapter uses the App Server's Unix WebSocket for threads, turns, history,
questions and interrupt; OpenCode remains the default and Claude is not
advertised until its sidecar and login are wired.
This commit is contained in:
2026-10-20 12:10:39 +01:00
parent 74b74adee7
commit f7a3a49f94
25 changed files with 1287 additions and 32 deletions
+16
View File
@@ -949,3 +949,19 @@
.chat-composer-input { padding: 10px 12px; font-size: 15px; }
.chat-turn { font-size: 15px; }
}
/* Chat harness selection and the row's non-OpenCode backend chip. */
.chat-create-backends { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-create-backend { padding: 6px 12px; border: 1px solid var(--border); color: var(--muted); }
.chat-create-backend.selected { border-color: var(--accent); background: var(--tint-selected); color: var(--text); }
.chat-backend-chip {
flex: 0 0 auto;
padding: 1px 6px;
border: 1px solid var(--border);
border-radius: var(--radius-pill);
color: var(--muted);
font-size: 10px;
line-height: 16px;
text-transform: uppercase;
letter-spacing: 0.04em;
}