import type { WizardPrompter } from '../prompter/interface.js';
import type { WizardState } from '../types.js';
import { VERSION } from '../constants.js';

export async function welcomeStage(p: WizardPrompter, _state: WizardState): Promise<void> {
  p.intro(`Mosaic Installation Wizard v${VERSION}`);
  p.note(
    `Mosaic is an agent framework that gives AI coding assistants\n` +
      `a persistent identity, shared skills, and structured workflows.\n\n` +
      `It works with Claude Code, Codex, OpenCode, and Pi SDK.\n\n` +
      `All config is stored locally in ~/.config/mosaic/.\n` +
      `No data is sent anywhere. No accounts required.`,
    'What is Mosaic?',
  );
}
