#!/usr/bin/env node /** * optimus-capture-prompt — Cursor hook to capture and store prompt text * * Runs on beforeSubmitPrompt hook. Reads the prompt from stdin (if available), * stores it in a temp file keyed by session ID, so that the tool-call hook * can retrieve it when processing tool invocations. * * Cursor hook protocol for beforeSubmitPrompt: * - stdin: JSON with prompt text (format varies by Cursor version) * - stdout: {"continue": true|false} JSON */ export {}; //# sourceMappingURL=capture-prompt.d.ts.map