Files
pi-map/package.json
T
alex dbde651a2a feat: rich AST extraction with classes, methods, calls, and raises
- Upgrade tree-sitter to 0.22.4 with compatible grammar versions
- Add Python support via tree-sitter-python@0.23.6
- Add Go support via tree-sitter-go@0.23.4
- Extract class hierarchies with method signatures (params, returns)
- Extract call graphs including external library calls
- Extract exception raises (ValueError, Error, etc)
- Extract top-level functions with full signatures
- Encode rich AST data into compact markdown format:
  class:Name, method:name(params)→return, call:..., raise:...
- Deduplicate nested call chains (db.query vs db.query().where())
- Filter out simple export names when rich func/class entries exist
- All 55 tests passing
2026-06-10 15:58:52 +02:00

54 lines
1.2 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",
"openai": "^6.42.0",
"p-limit": "^7.3.0",
"picocolors": "^1.1.1",
"tree-sitter": "^0.22.4",
"tree-sitter-go": "^0.23.4",
"tree-sitter-python": "^0.23.6",
"tree-sitter-typescript": "^0.23.2"
}
}