fix(web): hide session lineage in header

This commit is contained in:
kingwl
2026-07-31 21:08:57 +08:00
parent 5c4b701afe
commit 07b0efc49e
32 changed files with 46 additions and 155 deletions

View File

@@ -496,7 +496,7 @@ export async function seedSession(scaffold: WebScaffold, fixtureText: string, id
* volatility collapse to stable tokens.
*/
function normalizeAria(snapshot: string, workspaceCwd: string): string {
// The header breadcrumb renders the workspace's basename, not the full
// The session heading renders the workspace's basename, not the full
// path, so both spellings must collapse to the token.
const base = workspaceCwd.split('/').pop()!
return snapshot