/** * Consumer wear check — not leftover OpenCode init.sh. * * `npx 0xray validate` used to shell `.opencode/init.sh` (macOS `md5`, * `.opencode/enforcer-config.json`). That is factory boot theater, not wear. */ /** Same paths as `REQUIRED_PACK_PATHS` in assert-packed-dist-cli.mjs — typed here so src/cli does not import untyped .mjs. */ export declare const VALIDATE_PACK_PATHS: readonly string[]; export declare const CONSUMER_WEAR_PATHS: readonly ["AGENTS.md", ".mcp.json", ".xray/codex.json", ".xray/features.json", ".cursor/hooks.json", ".cursor/hooks/pre-tool-use.sh", ".cursor/hooks/xray-cloud-hook.sh"]; /** Skipped on a folder that is not a git work tree. Wear does not install them there. */ export declare const CONSUMER_HOOK_PATHS: readonly [".cursor/hooks.json", ".cursor/hooks/pre-tool-use.sh", ".cursor/hooks/xray-cloud-hook.sh"]; export declare const HOOKS_SKIPPED_DETAIL = "hooks skipped because this folder is not a git work tree"; export declare const MILL_PLANT_SKILLS: readonly ["mill", "inspect"]; export type ValidateCheck = { id: string; ok: boolean; detail: string; }; export type ValidateReport = { ok: boolean; consumer: boolean; packageRoot: string; checks: ValidateCheck[]; }; export declare function resolveInstalledPackageRoot(cwd: string): string | null; export declare function isConsumerInstall(cwd: string, packageRoot: string): boolean; export declare function collectValidateReport(cwd: string): ValidateReport; export declare function validateCommand(cwd?: string): Promise; export default validateCommand;