{ "name": "dsh-code-coverage", "version": "0.1.2", "description": "AI 给你写的代码,到底有多少在被测试保护着?解析 DSH session 日志归因 AI 生成文件,叠加 c8 覆盖率,产出「AI 代码 vs 人工代码」覆盖率对比、未测 AI 文件风险清单与信任分。", "type": "module", "bin": { "dsh-code-coverage": "./dist/cli.js" }, "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" }, "./plugin": { "types": "./dist/plugin.d.ts", "import": "./dist/plugin.js" } }, "files": [ "dist", "cordis.patch.yml", "README.md" ], "scripts": { "build": "tsup", "test": "vitest run", "test:watch": "vitest", "typecheck": "tsc --noEmit", "install:win": "powershell -ExecutionPolicy Bypass -File install-plugin.ps1", "install:unix": "chmod +x install.sh && ./install.sh" }, "keywords": [ "dsh", "deepseek-harness", "dsh-plugin", "code-coverage", "c8", "ai-code", "attribution", "testing" ], "author": "SleepEggTart", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/SleepEggTart/dsh-code-coverage.git" }, "bugs": { "url": "https://github.com/SleepEggTart/dsh-code-coverage/issues" }, "homepage": "https://github.com/SleepEggTart/dsh-code-coverage#readme", "engines": { "node": ">=18" }, "dsh": { "bundle": { "patch": "./cordis.patch.yml" } }, "dependencies": { "c8": "^10.1.3", "cac": "^6.7.14", "fzstd": "^0.1.1", "picocolors": "^1.1.1" }, "peerDependencies": { "@deepseek-ai/dsh-tools": ">=0.0.1-rc.1 <0.1.0 || >=0.1.0-rc.1 <0.2.0-0" }, "devDependencies": { "@deepseek-ai/dsh-tools": "^0.1.0-rc.6", "@types/node": "^22.15.0", "tsup": "^8.4.0", "typescript": "^5.7.0", "vitest": "^3.0.0" } }