/** * Managed instruction block `engineer init` writes into the customer repo's * CLAUDE.md / AGENTS.md so their coding agent knows how to report AgentCard * issues through the daemon. Same marker discipline as commands/agents.ts * (which manages HOME-level files with its own markers) but repo-scoped and * with engineer-specific markers so the two never collide. */ export declare const ENGINEER_SNIPPET_START = ""; export declare const ENGINEER_SNIPPET_END = ""; export declare function engineerSnippetBlock(): string; /** * Install (or refresh) the managed engineer block in one instruction file. * Replaces the first well-formed marker pair; strips any stray marker lines * (they are ours — the user's surrounding content is not); appends otherwise. */ export declare function installEngineerSnippet(filePath: string, block?: string): 'added' | 'updated' | 'unchanged'; /** Remove the managed block. Returns true when something was removed. */ export declare function removeEngineerSnippet(filePath: string): boolean; export interface RepoAgentFile { agent: 'claude-code' | 'codex' | 'generic'; file: string; filePath: string; exists: boolean; detected: boolean; } /** * The repo-level instruction files worth writing the snippet into. CLAUDE.md * covers Claude Code; AGENTS.md covers Codex and the growing set of agents * that read the agents.md convention. */ export declare function detectRepoAgentFiles(repoRoot: string): RepoAgentFile[]; //# sourceMappingURL=snippet.d.ts.map