feat(web): add workspace-aware session flow

This commit is contained in:
imccyu
2026-07-25 16:04:48 +08:00
parent 755e2a8c51
commit 9eb9c70a8a
170 changed files with 7573 additions and 3006 deletions
+2 -2
View File
@@ -74,8 +74,8 @@ export interface SessionStandardProps {}
/**
* Framework standard kit delivered to EVERY slot component (the global seat).
* Declared empty here; the runtime package merges `useSessions` (the session
* list selector hook the sidebar tree's single derivation source).
* Declared empty here; the runtime package merges the global object-layer
* selector hooks that shared page composition consumes.
*/
export interface GlobalStandardProps {}
+5
View File
@@ -98,6 +98,11 @@ export interface SlotRendererHost {
*/
cell(id: string): SessionCell | undefined
}
/** Workspace-side standard-kit sources. */
workspaces: {
/** Workspace list source backing the useWorkspaces standard hook. */
list: HostObservable<unknown>
}
}
/** The install seam: runtime owns install()/renderSlot(); web-react implements rendering. */