@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
15 lines • 776 B
TypeScript
/**
* A page is a static snapshot: everything it shows is in the document (inline,
* data: or blob:), and it reaches no network. Its scripts run whenever it
* opens, but fetch, XHR, WebSocket, EventSource, remote scripts, styles,
* images and fonts, frames, form posts and <base> are refused. The policy is
* the document's first element, so nothing the page writes loads before it.
* Mirrors the desktop's packages/shared/src/htmlRenderBootstrap.ts.
*/
export declare const HTML_RENDER_CONTENT_SECURITY_POLICY: string;
/**
* Inserts the theme bootstrap at the start of the document head, and the
* snapshot policy ahead of everything the page wrote.
*/
export declare function injectHtmlRenderBootstrap(html: string): string;
//# sourceMappingURL=bootstrap.d.ts.map