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:
@@ -18,11 +18,12 @@ test("wires the desktop to stable runtime workspace APIs", async () => {
|
||||
"close_session_runtime",
|
||||
"list_directory_sessions",
|
||||
"get_session_runtime_snapshot",
|
||||
"renew_session",
|
||||
"subscribe_workspace",
|
||||
])
|
||||
assert.match(`${app}\n${hook}`, new RegExp(operation));
|
||||
assert.doesNotMatch(app, /switch_session/);
|
||||
assert.doesNotMatch(app, /new_session/);
|
||||
assert.doesNotMatch(app, /["']new_session["']/);
|
||||
assert.match(reducer, /WorkspaceState\["runtimesById"\]/);
|
||||
assert.match(reducer, /requestGeneration/);
|
||||
assert.match(reducer, /loadedThroughSeq/);
|
||||
@@ -54,6 +55,10 @@ test("renders directory sidebar, accessible session tabs, warnings, and reduced
|
||||
assert.match(app, /Many Pi sessions are open/);
|
||||
assert.match(css, /prefers-reduced-motion/);
|
||||
assert.match(css, /grid-template-columns:\s*178px minmax\(0, 1fr\)/);
|
||||
assert.match(
|
||||
css,
|
||||
/\.session-row-content\s*>\s*strong\s*\{[^}]*color:\s*#f1f3f4/s,
|
||||
);
|
||||
});
|
||||
|
||||
test("preserves native session naming, compaction, composer, and extension responses", async () => {
|
||||
|
||||
Reference in New Issue
Block a user