Skip to content

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

524 B
Raw Blame

export type CursorInstallTarget = 'project' | 'user' | 'enterprise';

export interface CursorHooksJson {
  version: number;
  hooks: {
    beforeSubmitPrompt?: Array<{ command: string }>;
    afterMCPExecution?: Array<{ command: string }>;
    afterShellExecution?: Array<{ command: string }>;
    afterFileEdit?: Array<{ command: string }>;
    postToolUse?: Array<{ command: string; matcher?: string }>;
    postToolUseFailure?: Array<{ command: string; matcher?: string }>;
    stop?: Array<{ command: string }>;
  };
}