Files
pi-commandcode-provider/package.json
T
Fei Yan e8f7410a0a test(pricing): verify MODEL_COSTS entries and promotional notes
Add tests/test-pricing.ts to assert that known models have non-zero
pricing, promotional deals are documented in comments, and Claude models
include cache pricing. Fix test-pi-local to match against combined
stdout+stderr since pi may output model listing to either stream.
2026-05-27 07:32:50 +08:00

60 lines
1.7 KiB
JSON

{
"name": "pi-commandcode-provider",
"version": "0.2.0",
"description": "pi custom provider for Command Code API (commandcode.ai)",
"type": "module",
"keywords": [
"pi-package",
"pi-extension",
"commandcode",
"provider"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/patlux/pi-commandcode-provider.git"
},
"homepage": "https://github.com/patlux/pi-commandcode-provider#readme",
"bugs": {
"url": "https://github.com/patlux/pi-commandcode-provider/issues"
},
"files": [
"index.ts",
"src/",
"README.md",
"CHANGELOG.md",
"CONTRIBUTING.md",
"RELEASE.md",
"LICENSE"
],
"scripts": {
"test": "npm run typecheck && tsx tests/test-pure-functions.ts && tsx tests/test-models.ts && tsx tests/test-pricing.ts && tsx tests/test-oauth.ts && tsx tests/test-abort.ts && tsx tests/test-stream.ts && node tests/test-pi-local.mjs",
"typecheck": "tsc --noEmit",
"format:check": "prettier --check '**/*.{ts,mjs,json,md}'",
"format": "prettier --write '**/*.{ts,mjs,json,md}'",
"test:unit": "tsx tests/test-pure-functions.ts",
"test:models": "tsx tests/test-models.ts",
"test:pricing": "tsx tests/test-pricing.ts",
"test:oauth": "tsx tests/test-oauth.ts",
"test:abort": "tsx tests/test-abort.ts",
"test:stream": "tsx tests/test-stream.ts",
"test:pi-local": "node tests/test-pi-local.mjs",
"test:smoke": "node tests/test-smoke.mjs"
},
"pi": {
"extensions": [
"./index.ts"
]
},
"devDependencies": {
"@mariozechner/pi-coding-agent": "0.72.0",
"@types/node": "25.6.0",
"prettier": "^3.5.0",
"tsx": "4.21.0",
"typescript": "6.0.3"
},
"dependencies": {
"@mariozechner/pi-ai": "0.72.0"
}
}