mirror of
https://github.com/SikongJueluo/pi-extensions.git
synced 2026-10-05 11:52:55 +08:00
- stage-ify judgeAuthorize into auditEnrollment, runPreflightGates, prepareModelCall, and enforceAndEmit - extract tallyJoinedRows and tallyAttributable from computeMetrics, removing three dead locals - extract validateVerdictResponse from requestStructuredVerdict - extract collectUserTexts and charBudgetStart from buildConversationEvidence - table-drive corpus-replay parseArgs and split main into resolveReplayModel, selectCorpusCases, and replayCorpus - split analyzer cli main into loadReviewEvents, withinWindow, loadAuditEnrolled, and printReport with a run-as-script guard - add 81 tests covering parseEntry, extractBashCommandEvidence, validateVerdictResponse, forcedToolChoice, classifyGit dry-run paths, CLI arg/window/report rendering, and the infra-failure result path - add @vitest/coverage-istanbul for exact per-function CRAP scoring via fallow health --coverage
36 lines
730 B
JSON
36 lines
730 B
JSON
{
|
|
"name": "@sikongjueluo/pi-permission-inner-cmd",
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"keywords": [
|
|
"pi-package",
|
|
"pi-extension"
|
|
],
|
|
"pi": {
|
|
"extensions": [
|
|
"./src/index.ts"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@gotgenes/pi-permission-system": "^25.4.0"
|
|
},
|
|
"bundledDependencies": [
|
|
"@gotgenes/pi-permission-system"
|
|
],
|
|
"peerDependencies": {
|
|
"@earendil-works/pi-coding-agent": "*"
|
|
},
|
|
"devDependencies": {
|
|
"@earendil-works/pi-coding-agent": "*",
|
|
"@types/node": "^26.0.0",
|
|
"@vitest/coverage-istanbul": "3.2.7",
|
|
"@vitest/coverage-v8": "^3.2.7",
|
|
"typescript": "^5",
|
|
"vitest": "^3"
|
|
},
|
|
"scripts": {
|
|
"check": "tsc --noEmit",
|
|
"test": "vitest run"
|
|
}
|
|
}
|