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

main
ts 9 lines 230 Bytes
Raw
1 import { createContext, use } from "react";
2
3 export const ActiveNewTaskContext = createContext<{ readonly pendingKey: string | null } | null>(
4 null,
5 );
6
7 export function useActiveNewTask() {
8 return use(ActiveNewTaskContext);
9 }