b85d3f6aa4
Merged 53 commits from pi/main including: - Export HTML rewrite with tree sidebar and /share command - Hooks API enhancements (custom status, editor, session management) - Edit diff preview before tool execution - TUI fixes (Unicode format chars, OSC 8 hyperlinks, emoji optimization) - Gemini CLI rate limit retry with server-provided delay - Various bug fixes and documentation updates Resolved conflicts by preserving Bun migration (spawn→Bun.spawn, fs→Bun.file) while accepting upstream's new features and APIs.
79 lines
2.4 KiB
JSON
79 lines
2.4 KiB
JSON
{
|
|
"name": "@mariozechner/pi-coding-agent",
|
|
"version": "1.337.0",
|
|
"description": "Coding agent CLI with read, bash, edit, write tools and session management",
|
|
"type": "module",
|
|
"piConfig": {
|
|
"name": "pi",
|
|
"configDir": ".pi"
|
|
},
|
|
"bin": {
|
|
"pi": "src/cli.ts"
|
|
},
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./src/index.ts",
|
|
"import": "./src/index.ts"
|
|
},
|
|
"./hooks": {
|
|
"types": "./src/core/hooks/index.ts",
|
|
"import": "./src/core/hooks/index.ts"
|
|
}
|
|
},
|
|
"files": [
|
|
"src",
|
|
"docs",
|
|
"examples",
|
|
"CHANGELOG.md"
|
|
],
|
|
"scripts": {
|
|
"clean": "rm -rf dist",
|
|
"build": "tsgo -p tsconfig.build.json && chmod +x dist/cli.js && npm run copy-assets",
|
|
"build:binary": "npm run build && bun build --compile ./dist/cli.js --outfile dist/pi && npm run copy-binary-assets",
|
|
"copy-assets": "mkdir -p dist/modes/interactive/theme && cp src/modes/interactive/theme/*.json dist/modes/interactive/theme/ && mkdir -p dist/core/export-html/vendor && cp src/core/export-html/template.html src/core/export-html/template.css src/core/export-html/template.js dist/core/export-html/ && cp src/core/export-html/vendor/*.js dist/core/export-html/vendor/",
|
|
"copy-binary-assets": "cp package.json dist/ && cp README.md dist/ && cp CHANGELOG.md dist/ && mkdir -p dist/theme && cp src/modes/interactive/theme/*.json dist/theme/ && mkdir -p dist/export-html/vendor && cp src/core/export-html/template.html dist/export-html/ && cp src/core/export-html/vendor/*.js dist/export-html/vendor/ && cp -r docs dist/ && cp -r examples dist/",
|
|
"test": "vitest --run",
|
|
"prepublishOnly": "npm run clean && npm run build"
|
|
},
|
|
"dependencies": {
|
|
"@mariozechner/pi-agent-core": "workspace:*",
|
|
"@mariozechner/pi-ai": "workspace:*",
|
|
"@mariozechner/pi-tui": "workspace:*",
|
|
"chalk": "^5.5.0",
|
|
"cli-highlight": "^2.1.11",
|
|
"diff": "^8.0.2",
|
|
"file-type": "^21.1.1",
|
|
"glob": "^11.0.3",
|
|
"highlight.js": "^11.11.1",
|
|
"jiti": "^2.6.1",
|
|
"marked": "^15.0.12",
|
|
"minimatch": "^10.1.1",
|
|
"strip-ansi": "^7.1.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/diff": "^7.0.2",
|
|
"@types/node": "^24.3.0",
|
|
"vitest": "^3.2.4"
|
|
},
|
|
"keywords": [
|
|
"coding-agent",
|
|
"ai",
|
|
"llm",
|
|
"cli",
|
|
"tui",
|
|
"agent"
|
|
],
|
|
"author": "Mario Zechner",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/badlogic/pi-mono.git",
|
|
"directory": "packages/coding-agent"
|
|
},
|
|
"engines": {
|
|
"bun": ">=1.0.0"
|
|
}
|
|
}
|