mirror of
https://github.com/openai/codex.git
synced 2026-11-17 22:10:37 +00:00
feat: dispatch queued user messages from thread idle
This commit is contained in:
@@ -1275,6 +1275,9 @@ pub enum EventMsg {
|
||||
/// Updated long-running goal metadata for the thread.
|
||||
ThreadGoalUpdated(ThreadGoalUpdatedEvent),
|
||||
|
||||
/// The durable user-submission queue for a thread changed.
|
||||
ThreadQueueChanged(ThreadQueueChangedEvent),
|
||||
|
||||
/// Incremental MCP startup progress updates.
|
||||
McpStartupUpdate(McpStartupUpdateEvent),
|
||||
|
||||
@@ -3769,6 +3772,13 @@ pub struct ThreadGoalUpdatedEvent {
|
||||
pub goal: ThreadGoal,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Deserialize, Serialize, PartialEq, Eq, JsonSchema, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[ts(export_to = "protocol/")]
|
||||
pub struct ThreadQueueChangedEvent {
|
||||
pub thread_id: ThreadId,
|
||||
}
|
||||
|
||||
/// User's decision in response to an ExecApprovalRequest.
|
||||
#[derive(Debug, Default, Clone, Deserialize, Serialize, PartialEq, Eq, Display, JsonSchema, TS)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
|
||||
Reference in New Issue
Block a user