Read Code and Cowork metadata when native CLI transcripts are absent,
including current/prior CLI IDs and renames. Keep gateway identity,
accounting and capabilities. Desktop titles take precedence over the
recorded first-prompt fallback added upstream; unknown names keep it.
Rebased onto 751e05d8. All three new regressions fail on that unmodified
base and pass with the patch. Full Go suite, targeted race checks repeated
20 times, and macOS/Linux/Windows vet/builds pass. Baseline and patched
binaries reproduce UUID/title display in Chromium and WebKit with the
same synthetic Code/Cowork metadata and recording off. The patch applies
cleanly to newer origin/main 84cd8153. Linux/Windows runtime UI was not
executed. No live gateway or agent files were modified.