mirror of
https://github.com/SikongJueluo/pi-extensions.git
synced 2026-10-05 20:02:55 +08:00
- delegate widget line truncation to pi-tui truncateToWidth so ANSI styling and double-width CJK reasons count visible cells only - replace the code-point clamp that crashed the TUI when a Chinese reason rendered wider than the terminal - add @earendil-works/pi-tui peer and dev dependencies - cover CJK reasons at several terminal widths in tests
53 lines
1.3 KiB
JSON
53 lines
1.3 KiB
JSON
{
|
|
"name": "@sikongjueluo/pi-permission-ai-judge",
|
|
"version": "0.1.0",
|
|
"description": "pi extension: AI judge for pending Bash permission prompts — allow / deny / defer verdicts in shadow or enforce mode",
|
|
"type": "module",
|
|
"license": "GPL-3.0-only",
|
|
"author": "SikongJueluo",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/SikongJueluo/pi-extensions.git",
|
|
"directory": "packages/pi-permission-ai-judge"
|
|
},
|
|
"keywords": [
|
|
"pi-package",
|
|
"pi-extension"
|
|
],
|
|
"files": [
|
|
"src",
|
|
"models-catalog.json",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"pi": {
|
|
"extensions": [
|
|
"./src/index.ts"
|
|
]
|
|
},
|
|
"peerDependencies": {
|
|
"@earendil-works/pi-ai": "*",
|
|
"@earendil-works/pi-coding-agent": "*",
|
|
"@earendil-works/pi-tui": "*",
|
|
"@gotgenes/pi-permission-system": ">=32.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@earendil-works/pi-ai": "^0.85.1",
|
|
"@earendil-works/pi-coding-agent": "^0.85.1",
|
|
"@earendil-works/pi-tui": "^0.85.1",
|
|
"@gotgenes/pi-permission-system": "^32.0.2",
|
|
"@types/node": "^26.5.1",
|
|
"@vitest/coverage-istanbul": "5.0.1",
|
|
"@vitest/coverage-v8": "^5.0.1",
|
|
"typescript": "^7.0.2",
|
|
"vitest": "^5.0.1"
|
|
},
|
|
"scripts": {
|
|
"check": "tsc --noEmit",
|
|
"test": "vitest run"
|
|
}
|
|
}
|