93c2ac60c5
- SKILL.md: Proper Agent Skills frontmatter with name/description - pi-extension.ts: Pi extension registering 4 custom tools (project_map_init/patch/validate/reinit) with prompt snippets/guidelines - pi-extension.ts: Auto-detects .pi-map.md files on session start, warns about dirty markers, injects maintenance hints before agent start - package.json: Added pi.extensions and pi.skills entries - CLI: Added picocolors, clean help screen, progress indicators, summary output with timing, colored check/warning icons - validate.ts: Added --fix flag that regenerates directories with discrepancies - config.ts: Reads .pi-project-map.json from project root with merge over defaults - init.ts: Added optional verbose parameter for programmatic use All 16 tests pass. TypeScript compiles clean. Build succeeds.
52 lines
1.1 KiB
JSON
52 lines
1.1 KiB
JSON
{
|
|
"name": "pi-project-map",
|
|
"version": "0.1.0",
|
|
"description": "Pi skill for hierarchical project analysis — generates and maintains .pi-map.md files",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"bin": {
|
|
"project-map": "dist/cli.js"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "tsc --watch",
|
|
"test": "vitest",
|
|
"lint": "eslint src/**/*.ts",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"keywords": [
|
|
"pi",
|
|
"skill",
|
|
"project-analysis",
|
|
"code-intelligence",
|
|
"agent-context"
|
|
],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"pi": {
|
|
"extensions": [
|
|
"./pi-extension.ts"
|
|
],
|
|
"skills": [
|
|
"./SKILL.md"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
"@typescript-eslint/parser": "^6.0.0",
|
|
"eslint": "^8.0.0",
|
|
"tsx": "^4.22.4",
|
|
"typescript": "^5.3.0",
|
|
"vitest": "^1.0.0"
|
|
},
|
|
"dependencies": {
|
|
"ignore": "^5.3.0",
|
|
"picocolors": "^1.1.1",
|
|
"tree-sitter": "^0.21.0",
|
|
"tree-sitter-go": "^0.25.0",
|
|
"tree-sitter-python": "^0.25.0",
|
|
"tree-sitter-typescript": "^0.21.0"
|
|
}
|
|
}
|