/** * Claude Code Platform Adapter * * Handles the stdin JSON format from Claude Code hooks. * This is the default adapter and matches the existing behavior * of parseHookInput() and formatResponse() in types.ts. * * @module @agentkits/memory/hooks/adapters/claude-code-adapter */ import type { PlatformAdapter } from './platform-adapter.js'; import type { NormalizedHookInput, HookResult } from '../types.js'; /** * Claude Code platform adapter. * * Input format: * { session_id, cwd, prompt, tool_name, tool_input, tool_result, * transcript_path, stop_reason } * * Output format: * { continue, suppressOutput, hookSpecificOutput: { * hookEventName, additionalContext } } */ export declare class ClaudeCodeAdapter implements PlatformAdapter { readonly name = "claude-code"; readonly supportedEvents: readonly ["context", "session-init", "observation", "summarize", "user-message"]; parseInput(stdin: string): NormalizedHookInput; formatOutput(result: HookResult): string; } //# sourceMappingURL=claude-code-adapter.d.ts.map