{
    "$schema": "https://json.schemastore.org/package.json",
    "name": "@keakon/opencode-dcp",
    "version": "1.2.8",
    "type": "module",
    "description": "OpenCode plugin that optimizes token usage by pruning obsolete tool outputs from conversation context",
    "main": "./dist/index.js",
    "types": "./dist/index.d.ts",
    "files": [
        "dist/",
        "README.md",
        "LICENSE"
    ],
    "scripts": {
        "clean": "rm -rf dist",
        "build": "npm run clean && tsc",
        "postbuild": "rm -rf dist/logs",
        "prepublishOnly": "npm run build",
        "dev": "opencode plugin dev",
        "typecheck": "tsc --noEmit",
        "test": "node --import tsx --test tests/*.test.ts",
        "format": "prettier --write .",
        "format:check": "prettier --check ."
    },
    "keywords": [
        "opencode",
        "opencode-plugin",
        "plugin",
        "context",
        "pruning",
        "optimization",
        "tokens"
    ],
    "repository": {
        "type": "git",
        "url": "git+https://github.com/Tarquinen/opencode-dynamic-context-pruning.git"
    },
    "bugs": {
        "url": "https://github.com/Tarquinen/opencode-dynamic-context-pruning/issues"
    },
    "homepage": "https://github.com/Tarquinen/opencode-dynamic-context-pruning#readme",
    "author": "tarquinen",
    "license": "MIT",
    "peerDependencies": {
        "@opencode-ai/plugin": ">=0.13.7"
    },
    "dependencies": {
        "@anthropic-ai/tokenizer": "^0.0.4",
        "@opencode-ai/sdk": "^1.1.3",
        "jsonc-parser": "^3.3.1",
        "zod": "^4.1.13"
    },
    "devDependencies": {
        "@opencode-ai/plugin": "^1.0.143",
        "@types/node": "^24.10.1",
        "prettier": "^3.4.2",
        "tsx": "^4.21.0",
        "typescript": "^5.9.3"
    },
    "publishConfig": {
        "access": "public"
    }
}
