{
  "name": "@nxuss/lemma",
  "version": "1.26.0",
  "description": "Intelligent AI Gateway for IDEs & Agents — Semantic cache, Privacy Firewall, Infrastructure Command Center, and Autonomous Cost-Optimization.",
  "main": "./dist/cjs/index.js",
  "module": "./dist/esm/index.js",
  "types": "./dist/esm/index.d.ts",
  "bin": {
    "lemma": "lemma-proxy.cjs",
    "lemma-mcp-server": "mcp-server.js",
    "lemma-checkpoint": "bin/checkpoint.js",
    "lemma-brain-ingest": "bin/brain-ingest.js"
  },
  "exports": {
    ".": {
      "import": {
        "types": "./dist/esm/index.d.ts",
        "default": "./dist/esm/index.js"
      },
      "require": {
        "types": "./dist/cjs/index.d.ts",
        "default": "./dist/cjs/index.js"
      }
    },
    "./embed": {
      "import": {
        "types": "./dist/esm/embed.d.ts",
        "default": "./dist/esm/embed.js"
      },
      "require": {
        "types": "./dist/cjs/embed.d.ts",
        "default": "./dist/cjs/embed.js"
      }
    },
    "./consensus": {
      "import": {
        "types": "./dist/esm/consensus/index.d.ts",
        "default": "./dist/esm/consensus/index.js"
      },
      "require": {
        "types": "./dist/cjs/consensus/index.d.ts",
        "default": "./dist/cjs/consensus/index.js"
      }
    },
    "./speculative": {
      "import": {
        "types": "./dist/esm/speculative/index.d.ts",
        "default": "./dist/esm/speculative/index.js"
      },
      "require": {
        "types": "./dist/cjs/speculative/index.d.ts",
        "default": "./dist/cjs/speculative/index.js"
      }
    },
    "./security": {
      "import": {
        "types": "./dist/esm/security/index.d.ts",
        "default": "./dist/esm/security/index.js"
      },
      "require": {
        "types": "./dist/cjs/security/index.d.ts",
        "default": "./dist/cjs/security/index.js"
      }
    },
    "./protocol": {
      "import": {
        "types": "./dist/esm/protocol/index.d.ts",
        "default": "./dist/esm/protocol/index.js"
      },
      "require": {
        "types": "./dist/cjs/protocol/index.d.ts",
        "default": "./dist/cjs/protocol/index.js"
      }
    },
    "./crewai": {
      "types": "./sdks/crewai/dist/index.d.ts",
      "default": "./sdks/crewai/dist/index.js"
    }
  },
  "files": [
    "dist/esm/**/*",
    "dist/cjs/**/*",
    "src/**/*.js",
    "lemma-proxy.cjs",
    "mcp-server.js",
    "cache-proxy.js",
    "bin/init.js",
    "bin/cli.js",
    "bin/lemma-call.js",
    "bin/postinstall.js",
    "bin/doctor.js",
    "bin/checkpoint.js",
    "bin/brain-ingest.js",
    ".agents/skills/lemma/SKILL.md",
    "dashboard/dist/**/*",
    "sdks/crewai/dist/**/*",
    "!dist/examples/**",
    "README.md",
    "LICENSE"
  ],
  "scripts": {
    "proxy:start": "node lemma-proxy.cjs start",
    "proxy:stop": "node lemma-proxy.cjs stop",
    "proxy:stats": "node lemma-proxy.cjs stats",
    "proxy:status": "node lemma-proxy.cjs status",
    "build": "npm run build:esm && npm run build:cjs && npm run build:sdks",
    "build:full": "npm run build",
    "build:esm": "tsc --outDir ./dist/esm",
    "build:cjs": "tsc --project tsconfig.cjs.json",
    "build:sdks": "npm run sdk:build",
    "postbuild": "node scripts/post-build.js && node scripts/fix-esm-extensions.js",
    "prepare": "npm run build:cjs 2>&1 | tail -n 5 || true",
    "postinstall": "node bin/postinstall.js || true",
    "dev": "npx tsx start-dev.ts",
    "start": "node dist/cjs/index.js",
    "test": "jest",
    "test:eval": "npm run build:cjs && jest --config jest.eval.config.js",
    "test:eval:only": "jest --config jest.eval.config.js",
    "type-check": "tsc --noEmit",
    "format": "prettier --check 'src/**/*.ts' 'tests/**/*.ts' 'examples/**/*.ts' 'scripts/**/*.ts'",
    "format:fix": "prettier --write 'src/**/*.ts' 'tests/**/*.ts' 'examples/**/*.ts' 'scripts/**/*.ts'",
    "lint": "eslint src/**/*.ts",
    "clean": "rm -rf dist sdks/langchain/dist sdks/crewai/dist",
    "prepublishOnly": "npm run clean && npm run build && npm test && npm run test:eval:only",
    "cloud:start": "node dist/cjs/cloud/server.js",
    "cloud:dev": "npx tsx src/cloud/server.ts",
    "demo": "npx tsx examples/demo-visual.ts",
    "demo:comparison": "npx tsx examples/demo-comparison.ts",
    "example:simple": "npx tsx examples/simple-agent.ts",
    "example:swarm": "npx tsx examples/agent-swarm.ts",
    "example:secure": "npx tsx examples/secure-agent.ts",
    "example:langchain": "npx tsx examples/langchain-example.ts",
    "example:crewai": "npx tsx examples/crewai-example.ts",
    "example:speculative": "npx tsx examples/phase3-speculative.ts",
    "example:consensus": "npx tsx examples/phase3-consensus.ts",
    "example:semantic": "npx tsx examples/semantic-cache-demo.ts",
    "test:quick": "npx tsx examples/quick-test.ts",
    "test:real:ollama:1min": "npx tsx examples/real-world-ollama-1min.ts",
    "test:real:ollama": "npx tsx examples/real-world-ollama.ts",
    "test:real:1min": "npx tsx examples/real-world-1min.ts",
    "test:real:openai": "npx tsx examples/real-world-openai.ts",
    "test:real:anthropic": "npx tsx examples/real-world-anthropic.ts",
    "test:real:multi-agent": "npx tsx examples/real-world-multi-agent.ts",
    "dashboard": "cd dashboard && npm run dev",
    "dashboard:build": "cd dashboard && npm run build",
    "stack:all": "bash scripts/launch-all.sh",
    "sdk:langchain:build": "cd sdks/langchain && npm run build",
    "sdk:crewai:build": "cd sdks/crewai && npm run build",
    "sdk:build": "npm run sdk:crewai:build",
    "keys:generate": "npx tsx scripts/manage-keys.ts generate",
    "keys:list": "npx tsx scripts/manage-keys.ts list",
    "keys:revoke": "npx tsx scripts/manage-keys.ts revoke"
  },
  "keywords": [
    "semantic-cache",
    "privacy-firewall",
    "ai-security",
    "cost-optimization",
    "intelligent-proxy",
    "ai-agents",
    "orchestration",
    "ide-sync",
    "llm-gateway",
    "openai-proxy",
    "anthropic-proxy",
    "vector-database",
    "muse",
    "muse-code",
    "muse-spark",
    "claude-code",
    "cursor",
    "codex"
  ],
  "author": "Nxus Studio",
  "license": "MIT",
  "type": "commonjs",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Nxusbets/lemma.git"
  },
  "bugs": {
    "url": "https://github.com/Nxusbets/lemma/issues"
  },
  "homepage": "https://github.com/Nxusbets/lemma#readme",
  "dependencies": {
    "@chroma-core/default-embed": "^0.1.9",
    "@modelcontextprotocol/sdk": "^1.30.0",
    "axios": "^1.6.0",
    "commander": "^14.0.3",
    "cors": "^2.8.6",
    "express": "^4.18.2",
    "openai": "^6.37.0",
    "pg": "^8.11.0",
    "shell-quote": "^1.10.0",
    "socket.io": "^4.7.2",
    "typescript": "^5.3.3",
    "uuid": "^14.0.0"
  },
  "optionalDependencies": {
    "@xenova/transformers": "^2.17.0",
    "chromadb": "^3.4.3",
    "dotenv": "^17.4.2",
    "ws": "^8.16.0"
  },
  "devDependencies": {
    "@types/cors": "^2.8.19",
    "@types/express": "^4.17.21",
    "@types/jest": "^29.5.11",
    "@types/node": "^20.11.0",
    "@types/pg": "^8.20.0",
    "@types/shell-quote": "^1.7.5",
    "@types/uuid": "^10.0.0",
    "@types/ws": "^8.5.10",
    "jest": "^29.7.0",
    "prettier": "^3.0.0",
    "ts-jest": "^29.1.1",
    "ts-node": "^10.9.2"
  },
  "engines": {
    "node": ">=18.0.0"
  },
  "overrides": {
    "protobufjs": ">=7.2.5"
  }
}
