{
  "name": "@cachly-dev/openclaw",
  "version": "0.3.1",
  "description": "Cut LLM API costs 60–90% in 3 lines of code. Semantic cache with BM25+ fuzzy matching, persistent sessions, AI memory adapter. Works with OpenAI, Anthropic, LangChain, Vercel AI SDK. No embeddings required for basic caching.",
  "type": "module",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    },
    "./session-store": {
      "types": "./dist/session-store.d.ts",
      "default": "./dist/session-store.js"
    },
    "./llm-cache": {
      "types": "./dist/llm-cache.d.ts",
      "default": "./dist/llm-cache.js"
    },
    "./memory-adapter": {
      "types": "./dist/memory-adapter.d.ts",
      "default": "./dist/memory-adapter.js"
    },
    "./brain": {
      "types": "./dist/brain.d.ts",
      "default": "./dist/brain.js"
    }
  },
  "scripts": {
    "build": "tsc",
    "dev": "tsc --watch",
    "test": "vitest run",
    "test:watch": "vitest",
    "typecheck": "tsc --noEmit",
    "postinstall": "node scripts/postinstall.js"
  },
  "keywords": [
    "llm-cache",
    "semantic-cache",
    "ai-cache",
    "openai-cache",
    "llm-cost",
    "token-savings",
    "bm25",
    "vector-cache",
    "session-store",
    "ai-memory",
    "langchain",
    "vercel-ai",
    "openai",
    "anthropic",
    "gpt",
    "claude",
    "redis",
    "valkey",
    "cache",
    "cachly",
    "openclaw",
    "llm",
    "ai-agent",
    "rag",
    "semantic-search"
  ],
  "dependencies": {
    "ioredis": "^5.11.1"
  },
  "peerDependencies": {
    "openclaw": ">=2026.1.0"
  },
  "peerDependenciesMeta": {
    "openclaw": {
      "optional": true
    }
  },
  "devDependencies": {
    "@types/node": "^22",
    "postcss": "^8.5.16",
    "typescript": "^5",
    "vite": "^6.4.3",
    "vitest": "^3.2.6"
  },
  "engines": {
    "node": ">=22.14.0"
  },
  "license": "Apache-2.0",
  "publishConfig": {
    "access": "public"
  },
  "homepage": "https://cachly.dev/docs/openclaw",
  "repository": {
    "type": "git",
    "url": "https://github.com/cachly-dev/cachly-js",
    "directory": "packages/openclaw"
  }
}
