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

main
ts 7 lines 296 Bytes
Raw
1 import { createContext } from "react";
2
3 /**
4 * Where markdown loads an image file on the host by its absolute path, when the page has no
5 * environment to ask. The guest page sets it to its own route.
6 */
7 export const HostImageUrlContext = createContext<((path: string) => string) | null>(null);