feat(subagent): add session-owned task messaging and cancellation (#5985)

let's go!
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-05 05:16:33 +08:00
1 parent f75470e72f
commit 6ff96f2a8f
93 files changed
+5632 -1156

No files matched your search

+45 -3
View File
@@ -1761,6 +1761,36 @@
"error": "Connection error"
},
"thread": {
"subagents": {
"loadFailed": "Could not load subtasks.",
"stopFailed": "Could not stop this task.",
"stopTask": "Stop {{label}}",
"receiptHelp": "Delivered means the message was included in the subtask’s next model request. It does not mean the instructions have been carried out.",
"states": {
"queued": "Queued",
"running": "Running",
"stopping": "Stopping",
"done": "Completed",
"incomplete": "Incomplete",
"error": "Failed",
"cancelled": "Cancelled",
"interrupted": "Interrupted"
},
"receipts": {
"accepted": "Queued: {{count}}",
"delivered": "Delivered: {{count}}",
"undelivered": "Undelivered: {{count}}"
},
"interruptedHelp": "The host restarted before this task finished. It has not been restarted automatically.",
"workTitle": "Delegated work",
"otherWorkTitle": "Other delegated work",
"unlinkedHelp": "These tasks have no matching request in the displayed messages.",
"progress": "{{completed}} of {{total}} completed",
"running": "Running: {{count}}",
"finished": "Finished: {{count}}",
"needsReview": "Review needed: {{count}}",
"messages": "Message delivery"
},
"compaction": {
"cancelled": "Context compaction cancelled",
"empty": "Nothing to compact.",
@@ -2136,9 +2166,21 @@
"generatingImage": "Generating image",
"generatedImage": "Generated image",
"generateImageFailed": "Could not generate image",
"delegatingTask": "Delegating task",
"delegatedTask": "Delegated task",
"delegateTaskFailed": "Could not delegate task",
"delegatingTask": "Creating subtask",
"delegatedTask": "Subtask created",
"delegateTaskFailed": "Could not create subtask",
"checkingSubtask": "Checking subtask status",
"checkedSubtask": "Subtask status retrieved",
"checkSubtaskFailed": "Could not check subtask status",
"messagingSubtask": "Sending message to subtask",
"queuedSubtaskMessage": "Message queued for subtask",
"messageSubtaskFailed": "Could not send message to subtask",
"stoppingSubtask": "Stopping subtask",
"requestedSubtaskStop": "Stop request processed",
"stopSubtaskFailed": "Could not stop subtask",
"managingSubtasks": "Managing subtasks",
"managedSubtasks": "Subtask operation complete",
"manageSubtasksFailed": "Subtask operation failed",
"sendingMessage": "Sending message",
"sentMessage": "Sent message",
"sendMessageFailed": "Could not send message",