/** * Generic Platform Adapter (Fallback) * * Accepts an already-normalized JSON format on stdin (camelCase fields). * Useful for testing, scripting, and future platforms that adopt * a standardized hook format. * * @module @agentkits/memory/hooks/adapters/generic-adapter */ import type { PlatformAdapter } from './platform-adapter.js'; import type { NormalizedHookInput, HookResult } from '../types.js'; /** * Generic platform adapter. * * Input format (camelCase, already normalized): * { sessionId, cwd, prompt?, toolName?, toolInput?, * toolResponse?, transcriptPath?, stopReason? } * * Output format: * { continue, additionalContext?, error? } */ export declare class GenericAdapter implements PlatformAdapter { readonly name = "generic"; readonly supportedEvents: readonly ["context", "session-init", "observation", "summarize"]; parseInput(stdin: string): NormalizedHookInput; formatOutput(result: HookResult): string; } //# sourceMappingURL=generic-adapter.d.ts.map