@catladder/pipeline
Version:
Panter workflow for cloud CI/CD and DevOps
23 lines • 610 B
TypeScript
import type { Config } from "../../types";
export declare class AgentContext {
private readonly agentName;
private readonly config;
constructor(agentName: string, config: Config);
readonly type = "agent";
get name(): string;
get agentConfig(): import("../../types").AgentConfig;
get agentUser(): {
username: string;
userId: string;
};
get reviews(): {
byUser: Record<string, {
automatic: boolean;
}> | "all-automatic";
};
get fullConfig(): Config;
}
export declare const createAgentContext: (ctx: {
agentName: string;
config: Config;
}) => Promise<AgentContext>;