Fix Work Hub session inventory (#2268)

Port the app workspace and runtime session inventory fixes from the personal James Hub canvas into the generic Work Hub extension. This lets the cleanup and recent-session surfaces read current app workspaces before falling back to the legacy session store.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
James Montemagno
2026-07-12 17:05:43 -07:00
committed by GitHub
parent 52d4c4a8fa
commit dab055f03d
2 changed files with 181 additions and 5 deletions
+2
View File
@@ -14,6 +14,7 @@ import {
readConfig,
getItemDetail,
runItemAction,
setCopilotSession,
} from "./data.mjs";
import { renderHtml } from "./renderer.mjs";
@@ -374,3 +375,4 @@ sessionRef = await joinSession({
}),
],
});
setCopilotSession(sessionRef);