{
	"name": "@phi-code-admin/phi-code",
	"version": "0.87.0",
	"description": "Coding agent CLI with persistent memory, sub-agents, intelligent routing, and orchestration",
	"type": "module",
	"piConfig": {
		"name": "phi",
		"configDir": ".phi"
	},
	"bin": {
		"phi": "dist/cli.js"
	},
	"main": "./dist/index.js",
	"types": "./dist/index.d.ts",
	"exports": {
		".": {
			"types": "./dist/index.d.ts",
			"import": "./dist/index.js"
		},
		"./hooks": {
			"types": "./dist/core/hooks/index.d.ts",
			"import": "./dist/core/hooks/index.js"
		}
	},
	"files": [
		"dist",
		"docs",
		"examples",
		"skills",
		"agents",
		"extensions",
		"config",
		"README.md",
		"LICENSE",
		"CHANGELOG.md",
		"scripts"
	],
	"scripts": {
		"clean": "shx rm -rf dist",
		"dev": "tsgo -p tsconfig.build.json --watch --preserveWatchOutput",
		"build": "tsgo -p tsconfig.build.json && shx chmod +x dist/cli.js && npm run copy-assets",
		"check:ext": "tsgo -p tsconfig.ext.json --noEmit",
		"build:binary": "npm --prefix ../tui run build && npm --prefix ../ai run build && npm --prefix ../agent run build && npm run build && bun build --compile --external koffi ./dist/bun/cli.js --outfile dist/pi && npm run copy-binary-assets",
		"copy-assets": "shx mkdir -p dist/modes/interactive/theme dist/core/export-html/vendor dist/core && shx cp src/modes/interactive/theme/*.json dist/modes/interactive/theme/ && shx cp src/core/default-models.json dist/core/ && shx cp src/core/export-html/template.html src/core/export-html/template.css src/core/export-html/template.js dist/core/export-html/ && shx cp src/core/export-html/vendor/*.js dist/core/export-html/vendor/",
		"copy-binary-assets": "shx cp package.json dist/ && shx cp README.md dist/ && shx cp CHANGELOG.md dist/ && shx mkdir -p dist/theme && shx cp src/modes/interactive/theme/*.json dist/theme/ && shx mkdir -p dist/assets && shx cp -r src/modes/interactive/assets dist/ 2>/dev/null || true && shx mkdir -p dist/export-html/vendor && shx cp src/core/export-html/template.html dist/export-html/ && shx cp src/core/export-html/vendor/*.js dist/export-html/vendor/ && shx cp -r docs dist/ && shx cp -r examples dist/ && shx cp ../../node_modules/@silvia-odwyer/photon-node/photon_rs_bg.wasm dist/",
		"test": "vitest --run",
		"prepublishOnly": "npm run clean && npm run build",
		"postinstall": "node scripts/postinstall.cjs"
	},
	"dependencies": {
		"@mariozechner/jiti": "^2.6.5",
		"@modelcontextprotocol/sdk": "^1.29.0",
		"@phi-code-admin/browser": "^1.0.4",
		"@silvia-odwyer/photon-node": "^0.3.4",
		"chalk": "^5.5.0",
		"cli-highlight": "^2.1.11",
		"diff": "^8.0.2",
		"extract-zip": "^2.0.1",
		"file-type": "^21.1.1",
		"glob": "^13.0.1",
		"hosted-git-info": "^9.0.2",
		"ignore": "^7.0.5",
		"marked": "^15.0.12",
		"minimatch": "^10.2.3",
		"phi-code-agent": "^0.74.0",
		"phi-code-ai": "^0.74.0",
		"phi-code-tui": "^0.74.0",
		"proper-lockfile": "^4.1.2",
		"sigma-agents": "^0.1.7",
		"sigma-memory": "^0.2.2",
		"sigma-skills": "^0.1.2",
		"strip-ansi": "^7.1.0",
		"typebox": "^1.1.24",
		"undici": "^7.19.1",
		"uuid": "^14.0.0",
		"yaml": "^2.8.2",
		"zod": "^3.25.0"
	},
	"overrides": {
		"rimraf": "6.1.2",
		"gaxios": {
			"rimraf": "6.1.2"
		}
	},
	"optionalDependencies": {
		"@mariozechner/clipboard": "^0.3.5"
	},
	"devDependencies": {
		"@types/diff": "^7.0.2",
		"@types/hosted-git-info": "^3.0.5",
		"@types/ms": "^2.1.0",
		"@types/node": "^24.3.0",
		"@types/proper-lockfile": "^4.1.4",
		"shx": "^0.4.0",
		"typescript": "^5.7.3",
		"vitest": "^3.2.4"
	},
	"keywords": [
		"ai",
		"coding-agent",
		"cli",
		"typescript",
		"sub-agents",
		"memory",
		"phi-code"
	],
	"author": "Mario Zechner",
	"license": "MIT",
	"repository": {
		"type": "git",
		"url": "https://github.com/uglyswap/phi-code.git"
	},
	"homepage": "https://github.com/uglyswap/phi-code",
	"engines": {
		"node": ">=20.6.0"
	}
}
