/** * `peaks workspace init` — the registrar. * * Extracted from `src/cli/commands/workspace-commands.ts` (slice * 800-line Karpathy cap). Split further by responsibility. * The option/outcome shapes, the first-time hooks * decision, project-root + session resolution, the nextAction/warning * collectors, the codegraph stake, the envelope builder and the typed failure * arms each live in their own module under `./`. This file wires them up. * * Imports the shared hooks-decision marker helpers from `./helpers.ts`. */ import type { Command } from 'commander'; import { type ProgramIO } from '../../cli-helpers.js'; export { resolveFirstTimeHooksInstall } from './init-hooks-decision.js'; export type { FirstTimeHooksInstallOutcome, ResolveFirstTimeHooksInstallOptions, WorkspaceInitOptions } from './init-options.js'; export declare function registerWorkspaceInitCommand(workspace: Command, io: ProgramIO): void;