trellis
Version:
Agentic State Engine — event-sourced causal graph with branching, decision traces, and realtime sync for AI-native applications
14 lines • 561 B
TypeScript
/**
* Open a URL in the system browser, reusing an existing tab on the same
* local origin when possible (macOS Chrome-family + Safari).
*
* Plain `open` / `xdg-open` always spawn a new tab — painful when `trellis
* admin` / `lane watch` restart during a pipeline.
*/
/**
* Open `url` in the default browser. On macOS, if a Chromium or Safari tab is
* already on the same loopback host:port, navigate/reload that tab instead of
* spawning another.
*/
export declare function openBrowser(url: string): void;
//# sourceMappingURL=open-browser.d.ts.map