mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Add experimental thread queue APIs to app server (#38456)
## What changed - Add experimental `thread/queue/add`, `list`, `update`, `delete`, `reorder`, and `start` requests for persistent queued user submissions. - Automatically dispatch queued submissions in FIFO order after completed or failed turns, while leaving the queue paused after interruption. - Emit `thread/queue/changed` notifications and expose paginated queue contents with stable submission and client message IDs. - Export the new protocol types through the generated JSON Schema and TypeScript bindings. ## Testing - Add app-server integration coverage for capability gating, CRUD, pagination, capacity limits, notifications, automatic dispatch, cold-thread resume, interruption, and explicit queue starts. GitOrigin-RevId: 89caf5577192199bda77cf6c372a59d26cdd910e
This commit is contained in:
1 parent
4d9f3021c8
commit
9341b38310
35 files changed
+1952
-105
No files matched your search
@@ -61,6 +61,8 @@ pub(crate) enum ThreadListenerCommand {
|
||||
turn_id: Option<String>,
|
||||
goal: ThreadGoal,
|
||||
},
|
||||
// EmitThreadQueueChanged orders durable queue updates with thread notifications.
|
||||
EmitThreadQueueChanged,
|
||||
// EmitWarning is used to order extension warnings with other thread notifications.
|
||||
EmitWarning {
|
||||
message: String,
|
||||
|
||||
Reference in new issue
Block a user