fix(agents): restore archived tasks for continued conversation (#349)

Archived agent tasks could be opened but never returned to the active list, so their message composer stayed disabled. Unarchive is now available in the task header, in the archived-task notice above the composer, and in the task context menu (including mixed bulk selections). Restoring a task moves it back to the active list, keeps its conversation and worktree, and reconnects the existing agent session on the next message; the backend persists and broadcasts the restored status and refuses restoration while a stopped turn is still settling.
This commit is contained in:
l0ng-ai authored and GitHub committed 2026-10-30 13:55:26 +08:00
1 parent 2203938491
commit 9a5b44bebb
11 files changed
+132 -3

No files matched your search

+7 -1
View File
@@ -4899,5 +4899,11 @@
"Credentials the IDE answers git's HTTPS prompts with, stored in the app's own secret file (not git's credential.helper). A rejected credential is forgotten automatically.": "IDE 用于应答 git HTTPS 提示的凭据,存储在应用自己的密钥文件中(而非 git 的 credential.helper)。被拒绝的凭据会自动删除。",
"Saved git credentials": "已保存的 git 凭据",
"Forget": "忘记",
"Remember for this host": "记住此主机"
"Remember for this host": "记住此主机",
"Unarchive Task": "取消归档任务",
"This task is archived. Unarchive it to continue the conversation.": "此任务已归档。取消归档后即可继续对话。",
"Unarchive": "取消归档",
"Unarchive Agent Tasks": "取消归档 Agent 任务",
"Cannot unarchive agent tasks": "无法取消归档 Agent 任务",
"Unarchive ({archived})": "取消归档({archived})"
}