The best way to control Claude Code, Codex and more from any computer or phone

main
tsx 10 lines 329 Bytes
Raw
1 import { createContext, use } from "react";
2
3 /** Which workspace column a screen renders in. Sheets and full-screen overlays are in none. */
4 export type PaneRole = "sidebar" | "content" | "inspector";
5
6 export const PaneContext = createContext<PaneRole | null>(null);
7
8 export function usePaneRole() {
9 return use(PaneContext);
10 }