gatelineAPI reference

One repository's engine, in a process that may run several (#502).

interface RepositoryEngineConfig {
    adapters?: string[];
    dispatcher?: Dispatcher;
    displayName?: string;
    frameworkPrefix?: string;
    localOnly?: boolean;
    push?: boolean;
    repoDir: string;
    repositoryId: string;
    requireBudget?: boolean;
    roleTimeoutSeconds?: number;
    runner?: { enabled: boolean };
    spendLimitUsd?: null | number;
}

Properties

adapters?: string[]
dispatcher?: Dispatcher

See OrchestratorOptions.dispatcher.

displayName?: string

How log lines and the governor's refusal words name it. Default: the id's last segment.

frameworkPrefix?: string
localOnly?: boolean
push?: boolean

Per repository, over engineDefaults; see OrchestratorOptions.

repoDir: string

The repository's top directory, already resolved by the caller.

repositoryId: string

The repository's id, as the caller derived it (#494): github.com/acme/billing, local/billing. The engine's source id and its key with the governor. Two entries may not share one, compared without case.

requireBudget?: boolean
roleTimeoutSeconds?: number
runner?: { enabled: boolean }

The remote runner (#507): refused unless this is the only repository.

spendLimitUsd?: null | number

This repository's own spend ceiling per window, beneath the machine's (MULTI-REPO.md §7.4).