mirror of
https://github.com/openai/codex.git
synced 2026-04-25 15:15:15 +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:
@@ -296,6 +296,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"
|
||||
},
|
||||
"ContentItem": {
|
||||
"oneOf": [
|
||||
{
|
||||
@@ -2548,6 +2617,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": [
|
||||
{
|
||||
@@ -2653,6 +2736,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": [
|
||||
{
|
||||
@@ -2703,6 +2800,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": {
|
||||
@@ -2738,6 +2842,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"
|
||||
@@ -2821,6 +2932,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": [
|
||||
{
|
||||
@@ -2870,6 +2995,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": [
|
||||
{
|
||||
@@ -2910,6 +3049,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