/** * Nexus PreToolUse Hook Installer * * Installs a shell script handler at ~/.cleo/hooks/nexus-augment.sh that intercepts * PreToolUse events for Grep/Glob/Read tool calls and injects symbol context via * `cleo nexus augment`. * * Hook output is sent to stderr so it surfaces in tool results without breaking parsing. * * Hook location: packages/core/src/nexus/hooks-augment.ts (not cleo-os, since it's * invoked by the CLI and the shell script is a plain text file, not a harness component). * * @task T1061 * @epic T1042 */ /** * Install the Nexus augment hook to ~/.cleo/hooks/nexus-augment.sh. * * Creates the hook directory and writes a shell script that: * 1. Extracts the pattern/file argument from PreToolUse event env vars * 2. Calls `cleo nexus augment ` * 3. Emits output to stderr for hook injection * * Idempotent: overwrites existing hook file. * * @param homedir - User home directory (for ~/.cleo/hooks) * @task T1061 * @epic T1042 */ export declare function installNexusAugmentHook(homedir: string): void; //# sourceMappingURL=hooks-augment.d.ts.map