| 03-unified-runtime-workspace |
01 |
ui |
| runtime |
| typescript |
| react |
| diagnostics |
|
| phase |
provides |
| 02-lifecycle-command-safety |
lifecycle metadata (active_command, last_command_result), applyImpact, restart-required field list |
|
|
| RuntimeWorkspaceSummary type with statusLabel, modeLabel, endpointLabel, modelLabel |
| RuntimeWorkspaceHealth type with headline, detail, tone |
| getRuntimeWorkspaceSummary helper function |
| getRuntimeHealthSummary helper function |
| workspaceSummary and workspaceHealth from useRuntimeManager hook |
|
|
| added |
patterns |
|
|
| manager-owned diagnostic contract |
| derived workspace summary |
|
|
| created |
modified |
|
|
| tauri-app/src/features/runtime/types.ts - Added RuntimeWorkspaceSummary, RuntimeWorkspaceHealth types |
| tauri-app/src/features/runtime/runtime-utils.ts - Added getRuntimeWorkspaceSummary, getRuntimeHealthSummary |
| tauri-app/src/features/runtime/useRuntimeManager.ts - Exposed workspaceSummary, workspaceHealth |
| tauri-app/src/features/runtime/components/RuntimeSurface.test.tsx - Added regression tests |
|
|
| Reuse existing restart-impact field list and lifecycle labels instead of creating parallel heuristics |
| Derive diagnostics from backend-owned snapshot fields (status, ready, process_running, resolved_url, config.*, binary_path, last_error) |
|
| Manager-owned workspace summary: single authoritative source for endpoint, mode, model, readiness |
| Health tone mapping: neutral=remote, success=ready, warning=starting/stopping/degraded, danger=error |
|
|
6min |
2026-03-29 |