a6715fb8f0
- Embedded assets (themes, templates, agents, commands) directly into binary at compile time using Bun imports. - Removed runtime filesystem reads for bundled assets in favor of static build-time imports. - Simplified build scripts by removing copy-assets steps and compiling directly from TypeScript source. - Updated publish workflow to use bun publish with NPM_CONFIG_TOKEN environment variable. - Added TypeScript declarations for importing .md, .css, .html, and .js files as text strings.
82 lines
1.7 KiB
JSON
82 lines
1.7 KiB
JSON
{
|
|
"name": "@oh-my-pi/pi-coding-agent",
|
|
"version": "2.0.1337",
|
|
"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": {
|
|
"check": "tsgo --noEmit",
|
|
"clean": "rm -rf dist",
|
|
"build": "tsgo -p tsconfig.build.json && chmod +x dist/cli.js",
|
|
"build:binary": "bun build --compile ./src/cli.ts --outfile dist/pi",
|
|
"test": "bun test",
|
|
"prepublishOnly": "npm run clean && npm run build"
|
|
},
|
|
"dependencies": {
|
|
"@oh-my-pi/pi-agent-core": "workspace:*",
|
|
"@oh-my-pi/pi-ai": "workspace:*",
|
|
"@oh-my-pi/pi-tui": "workspace:*",
|
|
"@sinclair/typebox": "^0.34.46",
|
|
"ajv": "^8.17.1",
|
|
"chalk": "^5.5.0",
|
|
"node-html-parser": "^6.1.13",
|
|
"cli-highlight": "^2.1.11",
|
|
"diff": "^8.0.2",
|
|
"file-type": "^21.1.1",
|
|
"glob": "^11.0.3",
|
|
"highlight.js": "^11.11.1",
|
|
"marked": "^15.0.12",
|
|
"minimatch": "^10.1.1",
|
|
"strip-ansi": "^7.1.2",
|
|
"winston": "^3.17.0",
|
|
"winston-daily-rotate-file": "^5.0.0"
|
|
},
|
|
"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/can1357/oh-my-pi.git",
|
|
"directory": "packages/coding-agent"
|
|
},
|
|
"engines": {
|
|
"bun": ">=1.0.0"
|
|
}
|
|
}
|