{
  "_comment": "REFERENCE ONLY - These hooks are integrated into .claude/hooks/*.sh scripts",
  "_usage": "The shell scripts call 'npx @aitytech/agentkits-memory hook <command>' for database integration",
  "hooks": {
    "SessionStart": [
      {
        "matcher": ".*",
        "hooks": [
          {
            "type": "command",
            "command": "npx @aitytech/agentkits-memory hook context",
            "_note": "Called by .claude/hooks/session-start.sh"
          }
        ]
      }
    ],
    "Stop": [
      {
        "matcher": ".*",
        "hooks": [
          {
            "type": "command",
            "command": "npx @aitytech/agentkits-memory hook summarize",
            "_note": "Called by .claude/hooks/on-stop.sh"
          }
        ]
      }
    ]
  },
  "cliCommands": {
    "hook": {
      "context": "Load context from database on session start",
      "session-init": "Initialize session in database",
      "observation": "Save tool observations to database",
      "summarize": "Create session summary on stop"
    },
    "save": {
      "description": "Save entry to database",
      "usage": "--content=X --category=X --tags=X --importance=X --project-dir=X"
    },
    "viewer": {
      "description": "View database contents",
      "usage": "--stats | --list | --namespace=X | --json | --export"
    }
  }
}
