{
  "name": "@snap-agent/core",
  "version": "0.2.7",
  "description": "SnapAgent - The lightweight, snap-in AI agent SDK. Multi-provider support. Edge-runtime compatible.",
  "main": "./dist/index.js",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "edge-light": "./dist/index.mjs",
      "worker": "./dist/index.mjs",
      "types": "./dist/index.d.ts",
      "import": "./dist/index.mjs",
      "require": "./dist/index.js"
    },
    "./edge": {
      "edge-light": "./dist/index.mjs",
      "worker": "./dist/index.mjs",
      "types": "./dist/index.d.ts",
      "import": "./dist/index.mjs"
    },
    "./storage": {
      "types": "./dist/storage/index.d.ts",
      "import": "./dist/storage/index.mjs",
      "require": "./dist/storage/index.js"
    },
    "./storage/memory": {
      "types": "./dist/storage/MemoryStorage.d.ts",
      "import": "./dist/storage/MemoryStorage.mjs",
      "require": "./dist/storage/MemoryStorage.js"
    },
    "./storage/mongodb": {
      "types": "./dist/storage/MongoDBStorage.d.ts",
      "import": "./dist/storage/MongoDBStorage.mjs",
      "require": "./dist/storage/MongoDBStorage.js"
    },
    "./storage/upstash": {
      "types": "./dist/storage/UpstashStorage.d.ts",
      "import": "./dist/storage/UpstashStorage.mjs",
      "require": "./dist/storage/UpstashStorage.js"
    }
  },
  "files": [
    "dist",
    "README.md",
    "LICENSE"
  ],
  "scripts": {
    "build": "tsup src/index.ts src/storage/index.ts src/storage/MemoryStorage.ts src/storage/MongoDBStorage.ts src/storage/UpstashStorage.ts --format cjs,esm --dts --clean --splitting",
    "dev": "tsup src/index.ts src/storage/index.ts src/storage/MemoryStorage.ts src/storage/MongoDBStorage.ts src/storage/UpstashStorage.ts --format cjs,esm --dts --watch --splitting",
    "test": "vitest run --exclude tests/integration/**",
    "test:watch": "vitest --exclude tests/integration/**",
    "test:integration": "vitest run tests/integration/",
    "test:all": "vitest run",
    "lint": "eslint src/",
    "prepublishOnly": "npm run build"
  },
  "keywords": [
    "ai",
    "agents",
    "llm",
    "openai",
    "anthropic",
    "gemini",
    "claude",
    "gpt",
    "chatgpt",
    "multi-provider",
    "typescript",
    "conversational-ai",
    "chatbot",
    "assistant",
    "edge",
    "cloudflare-workers",
    "vercel-edge",
    "serverless",
    "huggingface",
    "llama",
    "open-source"
  ],
  "author": "ViloTech",
  "license": "MIT",
  "peerDependencies": {
    "@ai-sdk/anthropic": "^3.0.0",
    "@ai-sdk/google": "^3.0.0",
    "@ai-sdk/huggingface": "^1.0.0",
    "@ai-sdk/openai": "^2.0.0 || ^3.0.0",
    "ai": "^5.0.0 || ^6.0.0",
    "mongodb": "^6.0.0 || ^7.0.0",
    "zod": "^3.25.76 || ^4.0.0"
  },
  "peerDependenciesMeta": {
    "@ai-sdk/anthropic": {
      "optional": true
    },
    "@ai-sdk/google": {
      "optional": true
    },
    "@ai-sdk/huggingface": {
      "optional": true
    },
    "mongodb": {
      "optional": true
    },
    "@upstash/redis": {
      "optional": true
    },
    "zod": {
      "optional": true
    }
  },
  "devDependencies": {
    "@ai-sdk/anthropic": "^3.0.64",
    "@ai-sdk/google": "^3.0.54",
    "@ai-sdk/huggingface": "^1.0.39",
    "@types/node": "^24.0.0",
    "dotenv": "^17.2.3",
    "eslint": "^8.0.0",
    "mongodb": "^7.0.0",
    "tsup": "^8.0.0",
    "tsx": "^4.21.0",
    "typescript": "^5.8.0",
    "unpdf": "^1.6.2",
    "vitest": "^1.0.0"
  },
  "dependencies": {
    "openai": "^6.36.0"
  },
  "publishConfig": {
    "access": "public"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/vilo-hq/snap-agent.git"
  },
  "bugs": {
    "url": "https://github.com/vilo-hq/snap-agent/issues"
  },
  "homepage": "https://vilotech.co",
  "directories": {
    "doc": "docs",
    "example": "examples",
    "test": "tests"
  }
}
