@capgo/cli
Version:
A CLI to upload to capgo servers
15 lines (14 loc) • 808 B
TypeScript
import type { TrackBuilderOnboardingActionInput } from '../telemetry.js';
import type { NextStepResult } from './contract.js';
export interface StartSetupReportDeps {
getApiKey: () => string | undefined;
getAppId: () => Promise<string | undefined>;
resolveOrgId: (apikey: string, appId: string) => Promise<string | undefined>;
track: (input: TrackBuilderOnboardingActionInput) => Promise<void>;
}
/**
* The console's Builder checklist only learns which platform the user is setting up from the
* `start_setup` action (the TUI sends it once the platform is known). The MCP flow sends the same
* action, once per app and platform, so the dashboard can follow along.
*/
export declare function createStartSetupReporter(deps: StartSetupReportDeps): (result: NextStepResult) => Promise<void>;