e22d123009
- Converted readdirSync, readFileSync, and statSync to async readdir, readFile, stat across skills and agent discovery. - Made scanDirectoryForSkills async and refactored custom directory scanning to use Promise.all for concurrent processing. - Updated agent discovery to use fs/promises for async file reading and refactored helper patterns. - Added AgentParsingError exception class for better error handling during agent parsing. - Added filesystem error type guards (isEnoent, isEacces, isPerm, etc.) to pi-utils for safe error checking. - Added color manipulation utilities to pi-utils for accessibility features. - Added color-blind mode setting to settings manager. - Migrated plugins, settings, and config modules from sync to async file operations. - Updated error handling to use new pi-utils type guards for type-safe checking.
28 lines
704 B
JSON
28 lines
704 B
JSON
{
|
|
"name": "@oh-my-pi/react-edit-benchmark",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"description": "Edit benchmark suite using React source code mutations",
|
|
"type": "module",
|
|
"main": "./index.ts",
|
|
"bin": {
|
|
"react-edit-benchmark": "index.ts"
|
|
},
|
|
"scripts": {
|
|
"start": "bun run index.ts",
|
|
"generate": "bun run generate.ts --react-dir /tmp/react-source --count-per-type 4",
|
|
"check": "tsgo -p tsconfig.json --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@oh-my-pi/pi-agent-core": "workspace:*",
|
|
"@oh-my-pi/pi-coding-agent": "workspace:*",
|
|
"@oh-my-pi/pi-utils": "workspace:*",
|
|
"diff": "^8.0.2",
|
|
"prettier": "^3.3.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/diff": "^7.0.2",
|
|
"bun-types": "^1.2.19"
|
|
}
|
|
}
|