import z from "@deepseek-ai/schemastery"; import { Context } from "@deepseek-ai/cordis"; //#region src/app/host/web-preferences.d.ts /** Stable Cordis plugin name (the Loader row id in `cordis.patch.yml`). */ declare const name = "pi-tui-web-preferences"; /** * The row's profile-wide preference document. * * `autoStart` is the NEXT Split Host's cold-boot behavior; it is independent of * the CURRENT Host's Web state and is never a second runtime authority. The * field is volatile so the official Settings form can project it and the * Loader commits a saved value into the running reference. */ interface Config { /** Enable the official Web frontend while a new Split Host boots. */ autoStart: boolean; } /** The Config schema the Loader resolves (default OFF, live form field). */ declare const Config: z; /** * No execution: the preference is read only by the Host cold-boot sequence. * * @param ctx - the Host context this row is mounted in (unused by contract). * @param config - the resolved preference document (unused by contract). */ declare function apply(ctx: Context, config: Config): void; //#endregion export { Config, apply, name };