feat(status-ui): improve concurrent session workflows

Add in-place session renewal, searchable model selection, clearer progress feedback, tool-result previews, and per-session presentation state.

Keep commands, errors, loading, and lifecycle indicators attached to their owning runtime so parallel tabs cannot interfere.
This commit is contained in:
2026-08-25 14:56:42 +02:00
parent 9f2c840ae7
commit 166b065ad4
20 changed files with 2211 additions and 430 deletions
+2 -4
View File
@@ -32,6 +32,7 @@ const requestOperations = new Map([
["extension_response", { agent: true, payload: "extensionResponse" }],
["retry", { agent: true, payload: "none" }],
["restart", { agent: true, payload: "none" }],
["renew_session", { agent: true, payload: "none" }],
["get_available_models", { agent: true, payload: "none" }],
["get_commands", { agent: true, payload: "none" }],
["set_session_name", { agent: true, payload: "sessionName" }],
@@ -102,10 +103,7 @@ function assertString(value, field, { maxLength = 4096, pattern } = {}) {
);
}
if (pattern && !pattern.test(value))
throw new ProtocolError(
"invalid_message",
`${field} has an invalid format`,
);
throw new ProtocolError("invalid_message", `${field} has an invalid format`);
return value;
}