@capgo/cli
Version:
A CLI to upload to capgo servers
14 lines (13 loc) • 830 B
TypeScript
export declare function isAgentInvocation(environment?: NodeJS.ProcessEnv): boolean;
/** An active free trial, as shown to AI agents. */
export interface AgentTrial {
/** Trial end, in epoch milliseconds. */
endsAt: number;
plansUrl: string;
}
/** Agents read raw output: no box, gutter, color or wrapping, so links stay on one line. */
export declare function printAgentText(text: string): void;
export declare function formatAgentTrialStep(trial: AgentTrial, now?: number, builder?: boolean): string;
export declare function formatAgentTodoTrialItem(trial: AgentTrial, builder?: boolean): string;
export declare function formatAgentUploadTrialNote(trialDaysLeft: number, plansUrl: string, now?: number): string;
export declare function formatAgentPlanRequiredMessage(plansUrl: string, directOffer: boolean): string;