@agentled/cli
Version:
CLI for Agentled — manage workflows, apps, and knowledge from the command line. Zero context-window cost for AI agents.
27 lines (26 loc) • 1.33 kB
TypeScript
/**
* `agentled setup` — single canonical entrypoint for new users.
*
* Orchestrates the seven-step flow:
* 1. Version check (warns if outdated)
* 2. Browser sign-in + workspace selection
* 3. Workspace folder scaffold (agentled_<slug>/)
* 4. MCP auto-config (Claude Code, Codex, Cursor, Claude Desktop, Windsurf)
* 5. Skill install (writes SKILL.md to the client's skill directory)
* 6. Knowledge probe (company.profile; if missing, prompt + write)
* 7. Restart prompt (printed at end of setup)
*
* Replaces the legacy `agentled setup` (company-profile-only) which required
* prior auth and only wrote workspace company info. The legacy company-profile
* prompt logic is preserved as `runOnboarding()` and called from step 6 —
* but it now writes to `company.profile` (the same key the probe
* reads), so the prompt does not re-fire on the next run.
*/
import { Command } from 'commander';
/**
* Interactive prompt to populate the workspace company profile. Called by
* step 6 of `agentled setup` when the workspace knowledge probe finds no
* existing `company.profile`, and by `auth login` for new users.
*/
export declare function runOnboarding(mode?: 'new-user' | 'existing-user-missing-profile'): Promise<void>;
export declare function registerOnboardingCommands(program: Command): void;