gatelineAPI reference
interface ServeOptions {
    demo?: boolean;
    host?: string;
    localOnly?: boolean;
    open?: boolean;
    port?: number;
    push?: boolean;
    repoOverrides?: string[];
    runnerCallback?: RunnerCallback;
}

Properties

demo?: boolean
host?: string
localOnly?: boolean

Explicit local-only designator (mirrors push's two explicit tiers) — forwarded to loadSources, which resolves it onto the existing push precedence chain (auto-detect included) rather than a second mechanism.

open?: boolean
port?: number
push?: boolean

Zero-config sources push human writes when the repo has an origin (#149); false honors an operator's explicit no-push ceiling.

repoOverrides?: string[]
runnerCallback?: RunnerCallback

The runner agent's relay callback (RemoteDispatcher, orchestrator package), adapted to this file's zero-argument RunnerCallback shape by whoever assembles the orchestrator alongside the server (task 05). Absent → the runner-agent routes do not exist regardless of RUNNER_TOKEN.