mirror of
https://github.com/openai/codex.git
synced 2026-04-25 07:05:38 +00:00
feat: cleaner TUI for sub-agents (#12327)
<img width="760" height="496" alt="Screenshot 2026-02-20 at 14 31 25" src="https://github.com/user-attachments/assets/1983b825-bb47-417e-9925-6f727af56765" />
This commit is contained in:
@@ -2029,6 +2029,75 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"CollabAgentRef": {
|
||||
"properties": {
|
||||
"agent_nickname": {
|
||||
"description": "Optional nickname assigned to an AgentControl-spawned sub-agent.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"agent_role": {
|
||||
"description": "Optional role (agent_role) assigned to an AgentControl-spawned sub-agent.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"thread_id": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ThreadId"
|
||||
}
|
||||
],
|
||||
"description": "Thread ID of the receiver/new agent."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"thread_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"CollabAgentStatusEntry": {
|
||||
"properties": {
|
||||
"agent_nickname": {
|
||||
"description": "Optional nickname assigned to an AgentControl-spawned sub-agent.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"agent_role": {
|
||||
"description": "Optional role (agent_role) assigned to an AgentControl-spawned sub-agent.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/AgentStatus"
|
||||
}
|
||||
],
|
||||
"description": "Last known status of the agent."
|
||||
},
|
||||
"thread_id": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ThreadId"
|
||||
}
|
||||
],
|
||||
"description": "Thread ID of the receiver/new agent."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"status",
|
||||
"thread_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"CommandExecutionApprovalDecision": {
|
||||
"oneOf": [
|
||||
{
|
||||
@@ -4592,6 +4661,20 @@
|
||||
"description": "Identifier for the collab tool call.",
|
||||
"type": "string"
|
||||
},
|
||||
"new_agent_nickname": {
|
||||
"description": "Optional nickname assigned to the new agent.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"new_agent_role": {
|
||||
"description": "Optional role assigned to the new agent.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"new_thread_id": {
|
||||
"anyOf": [
|
||||
{
|
||||
@@ -4697,6 +4780,20 @@
|
||||
"description": "Prompt sent from the sender to the receiver. Can be empty to prevent CoT leaking at the beginning.",
|
||||
"type": "string"
|
||||
},
|
||||
"receiver_agent_nickname": {
|
||||
"description": "Optional nickname assigned to the receiver agent.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"receiver_agent_role": {
|
||||
"description": "Optional role assigned to the receiver agent.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"receiver_thread_id": {
|
||||
"allOf": [
|
||||
{
|
||||
@@ -4747,6 +4844,13 @@
|
||||
"description": "ID of the waiting call.",
|
||||
"type": "string"
|
||||
},
|
||||
"receiver_agents": {
|
||||
"description": "Optional nicknames/roles for receivers.",
|
||||
"items": {
|
||||
"$ref": "#/definitions/CollabAgentRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"receiver_thread_ids": {
|
||||
"description": "Thread ID of the receivers.",
|
||||
"items": {
|
||||
@@ -4782,6 +4886,13 @@
|
||||
{
|
||||
"description": "Collab interaction: waiting end.",
|
||||
"properties": {
|
||||
"agent_statuses": {
|
||||
"description": "Optional receiver metadata paired with final statuses.",
|
||||
"items": {
|
||||
"$ref": "#/definitions/CollabAgentStatusEntry"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"call_id": {
|
||||
"description": "ID of the waiting call.",
|
||||
"type": "string"
|
||||
@@ -4865,6 +4976,20 @@
|
||||
"description": "Identifier for the collab tool call.",
|
||||
"type": "string"
|
||||
},
|
||||
"receiver_agent_nickname": {
|
||||
"description": "Optional nickname assigned to the receiver agent.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"receiver_agent_role": {
|
||||
"description": "Optional role assigned to the receiver agent.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"receiver_thread_id": {
|
||||
"allOf": [
|
||||
{
|
||||
@@ -4914,6 +5039,20 @@
|
||||
"description": "Identifier for the collab tool call.",
|
||||
"type": "string"
|
||||
},
|
||||
"receiver_agent_nickname": {
|
||||
"description": "Optional nickname assigned to the receiver agent.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"receiver_agent_role": {
|
||||
"description": "Optional role assigned to the receiver agent.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"receiver_thread_id": {
|
||||
"allOf": [
|
||||
{
|
||||
@@ -4954,6 +5093,20 @@
|
||||
"description": "Identifier for the collab tool call.",
|
||||
"type": "string"
|
||||
},
|
||||
"receiver_agent_nickname": {
|
||||
"description": "Optional nickname assigned to the receiver agent.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"receiver_agent_role": {
|
||||
"description": "Optional role assigned to the receiver agent.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"receiver_thread_id": {
|
||||
"allOf": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user