{
  "name": "@theihtisham/agent-shadow-brain",
  "version": "6.3.0",
  "description": "Local-first memory and coordination layer for AI coding agents. Shadow Brain stores source-backed project lessons, recalls them across Codex, Claude Code, Cursor, Cline, OpenCode, and other tools, generates resume briefings, audits memory quality, exports training/eval JSONL, and exposes CLI/API/MCP surfaces with zero telemetry.",
  "main": "dist/index.js",
  "exports": {
    ".": "./dist/index.js"
  },
  "bin": {
    "shadow-brain": "dist/cli.js",
    "asb": "dist/cli.js"
  },
  "scripts": {
    "build": "tsc",
    "dev": "ts-node src/cli.ts",
    "watch": "tsc --watch",
    "test": "vitest run",
    "lint": "tsc --noEmit",
    "verify": "npm run build && npm test",
    "pack:dry": "npm pack --dry-run",
    "prepublishOnly": "npm run build",
    "postinstall": "node dist/brain/auto-setup.js 2>>~/.shadow-brain/install.log || true"
  },
  "keywords": [
    "ai",
    "agent",
    "brain",
    "shadow",
    "shadow-brain",
    "agent-shadow-brain",
    "subconscious",
    "singleton-brain",
    "global-brain",
    "session-hook",
    "agent-handoff",
    "agent-firewall",
    "mcp-security",
    "prompt-injection",
    "secret-scanning",
    "auto-attach",
    "claude-code",
    "claude",
    "cursor",
    "cursor-ai",
    "kilo-code",
    "cline",
    "opencode",
    "codex",
    "openai-codex",
    "roo-code",
    "rovodev",
    "aider",
    "copilot",
    "github-copilot",
    "windsurf",
    "codeium",
    "review",
    "intelligence",
    "mcp",
    "mcp-server",
    "model-context-protocol",
    "lsp",
    "language-server",
    "llm",
    "anthropic",
    "openai",
    "gemini",
    "ollama",
    "deepseek",
    "turbo-quant",
    "infinite-memory",
    "hierarchical-memory",
    "context-recall",
    "context-injection",
    "consensus-engine",
    "collective-learning",
    "cross-agent",
    "cross-project",
    "cross-session",
    "sssp",
    "self-evolution",
    "swarm-intelligence",
    "knowledge-graph",
    "adversarial-defense",
    "hallucination-defense",
    "bug-prediction",
    "pagerank",
    "neural-mesh",
    "multi-agent",
    "agentic",
    "agentic-ai",
    "zero-config",
    "auto-setup",
    "dashboard",
    "plugin-system",
    "brain-export",
    "code-analysis",
    "developer-tools",
    "ai-coding",
    "ai-pair-programming",
    "coding-assistant",
    "smart-fix",
    "health-score",
    "pattern-memory",
    "smart-cache",
    "predictive-prefetch",
    "code-dna",
    "temporal-intelligence",
    "fine-tuning",
    "intent-engine",
    "git-hooks",
    "ci-cd",
    "team-collaboration",
    "developer-productivity",
    "trending",
    "viral",
    "open-source",
    "hive-mind",
    "subagent-bridge",
    "sabb",
    "causal-chains",
    "dream-engine",
    "agent-reputation",
    "swarm-debate",
    "pre-mortem",
    "branch-brain",
    "attention-heatmap",
    "token-economy",
    "formal-verification",
    "calibration-monitor",
    "air-gap",
    "e2e-encryption",
    "voice-mode",
    "brain-garden",
    "pr-review",
    "team-brain",
    "brain-exchange",
    "local-first",
    "ollama",
    "forgetting-curve",
    "sleep-consolidation",
    "live-brain",
    "resume-pack",
    "memory-quality",
    "training-jsonl",
    "source-backed-memory"
  ],
  "author": "ihtisham",
  "license": "MIT",
  "dependencies": {
    "@anthropic-ai/sdk": "^0.90.0",
    "chalk": "^4.1.2",
    "chokidar": "^5.0.0",
    "commander": "^12.1.0",
    "conf": "^13.0.0",
    "diff": "^5.2.0",
    "execa": "^9.6.1",
    "ink": "^4.4.1",
    "inquirer": "^8.2.6",
    "marked": "^18.0.2",
    "ora": "^9.3.0",
    "react": "^18.3.1",
    "simple-git": "^3.36.0",
    "ws": "^8.18.0",
    "zod": "^3.23.8"
  },
  "devDependencies": {
    "@types/diff": "^5.2.3",
    "@types/inquirer": "^9.0.7",
    "@types/node": "^20.14.0",
    "@types/react": "^18.3.0",
    "@types/ws": "^8.5.13",
    "ts-node": "^10.9.2",
    "typescript": "^6.0.3",
    "vitest": "^1.6.0"
  },
  "engines": {
    "node": ">=18.0.0"
  },
  "files": [
    "dist/**/*",
    "README.md",
    "CHANGELOG.md",
    "LICENSE",
    "docs/launch/RELEASE_CHECKLIST_v6.0.3.md",
    "docs/launch/RELEASE_NOTES_v6.0.3.md",
    "docs/launch/RELEASE_NOTES_v6.1.0.md",
    "docs/launch/RELEASE_NOTES_v6.2.0.md",
    "tools/export-resume-pack.mjs",
    "tools/record-global-memory.mjs"
  ],
  "publishConfig": {
    "access": "public"
  },
  "type": "module",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/theihtisham/agent-shadow-brain.git"
  },
  "bugs": {
    "url": "https://github.com/theihtisham/agent-shadow-brain/issues"
  },
  "homepage": "https://github.com/theihtisham/agent-shadow-brain#readme"
}
