/** * RemoteTrigger — Vigil-parity webhook ingest. * * The agent calls RemoteTriggerCreate to register a deliverable * trigger; the user (or any external caller) can POST to the * portal-relayed URL with a JSON body, which lands in * /.vigil/triggers/.json. RemoteTriggerWait blocks * the agent until the file appears (or a timeout is hit). Used for * "page me when this CI finishes" / "wake me when the user clicks". * * The actual external-facing URL is provisioned by AWS Lambda; the * CLI's role is to register the trigger id + description and to * watch the local drop file. Synthetic local-only triggers (for * tests and offline use) just rely on a file write. */ import type { ToolDefinition } from '../core/toolRuntime.js'; export interface TriggerRecord { id: string; description?: string; createdAt: string; webhookToken?: string; payload?: unknown; delivered: boolean; deliveredAt?: string; } export declare function listTriggers(workingDir: string): TriggerRecord[]; export declare function deliverTrigger(workingDir: string, id: string, payload: unknown): TriggerRecord; export declare function createTriggerTools(workingDir: string): ToolDefinition[]; //# sourceMappingURL=triggerTools.d.ts.map