feat(chat): per-chat permission modes for Claude, Codex and OpenCode
This commit is contained in:
@@ -210,6 +210,11 @@ type Message struct {
|
||||
ChatModels []ChatModel `json:"chat_models,omitempty"`
|
||||
// ModelRequest is the chat_model body and echoed selection.
|
||||
ModelRequest *ChatModelRequest `json:"chat_model,omitempty"`
|
||||
// ChatModes is the chat_modes reply: the permission modes the session's
|
||||
// harness offers, with the session's current mode in ModeRequest.
|
||||
ChatModes []ChatMode `json:"chat_modes,omitempty"`
|
||||
// ModeRequest is the chat_mode body and echoed selection.
|
||||
ModeRequest *ChatModeRequest `json:"chat_mode,omitempty"`
|
||||
// ChatSubscribe attaches this connection to one session's shared stream; the
|
||||
// body names the session like ChatQuery. A chat_prompt response sets
|
||||
// ChatQueued when the prompt had to wait for an in-flight turn and was
|
||||
|
||||
Reference in New Issue
Block a user