{
	"name": "@caupulican/pi-adaptative",
	"version": "0.96.5",
	"description": "Adaptive fork of Pi coding agent for self-evolving agent harness experiments",
	"type": "module",
	"piConfig": {
		"name": "pi-adaptative",
		"configDir": ".pi"
	},
	"bin": {
		"jscpd": "dist/jscpd-cli.js",
		"pi": "dist/cli.js",
		"pi-adaptative": "dist/cli.js"
	},
	"main": "./dist/index.js",
	"types": "./dist/index.d.ts",
	"exports": {
		".": {
			"types": "./dist/index.d.ts",
			"pi-source": "./src/index.ts",
			"import": "./dist/index.js"
		},
		"./hooks": {
			"types": "./dist/core/hooks/index.d.ts",
			"pi-source": "./src/core/hooks/index.ts",
			"import": "./dist/core/hooks/index.js"
		}
	},
	"files": [
		"dist",
		"docs",
		"!docs/adaptive-agent-evolution-design.md",
		"!docs/bug-ledger.md",
		"!docs/*bug-*.md",
		"!docs/context-management-rework.md",
		"!docs/context-management-rework/**",
		"!docs/cost-aggregation-design.md",
		"!docs/harness-bug-fix-plan.md",
		"!docs/hermes-parity-plan.md",
		"!docs/integration-sweep-builder-blueprint-2026-07-09.md",
		"!docs/integration-sweep-resume-2026-07-09.md",
		"!docs/live-resources-and-self-adaptation-plan.md",
		"!docs/memory-subsystem-design.md",
		"!docs/model-router-rework.md",
		"!docs/model-router-rework/**",
		"!docs/profile-correctness.md",
		"!docs/profiles-implementation-plan.md",
		"!docs/resource-management-design.md",
		"!docs/release-safety-remediation-roadmap-2026-07-20.md",
		"!docs/untrusted-content-boundary-design.md",
		"!dist/docs/adaptive-agent-evolution-design.md",
		"!dist/docs/bug-ledger.md",
		"!dist/docs/*bug-*.md",
		"!dist/docs/context-management-rework.md",
		"!dist/docs/context-management-rework/**",
		"!dist/docs/cost-aggregation-design.md",
		"!dist/docs/harness-bug-fix-plan.md",
		"!dist/docs/hermes-parity-plan.md",
		"!dist/docs/integration-sweep-builder-blueprint-2026-07-09.md",
		"!dist/docs/integration-sweep-resume-2026-07-09.md",
		"!dist/docs/live-resources-and-self-adaptation-plan.md",
		"!dist/docs/memory-subsystem-design.md",
		"!dist/docs/model-router-rework.md",
		"!dist/docs/model-router-rework/**",
		"!dist/docs/profile-correctness.md",
		"!dist/docs/profiles-implementation-plan.md",
		"!dist/docs/resource-management-design.md",
		"!dist/docs/release-safety-remediation-roadmap-2026-07-20.md",
		"!dist/docs/untrusted-content-boundary-design.md",
		"examples",
		"scripts/postinstall-python-runtime.mjs",
		"CHANGELOG.md",
		"npm-shrinkwrap.json"
	],
	"scripts": {
		"clean": "shx rm -rf dist",
		"build": "node ../../scripts/run-tsc.mjs -p tsconfig.build.json && shx chmod +x dist/cli.js dist/jscpd-cli.js && npm run copy-assets",
		"build:binary": "npm --prefix ../tui run build && npm --prefix ../ai run build && npm --prefix ../agent run build && npm run build && bun build --compile ./dist/bun/cli.js ./src/utils/image-resize-worker.ts ./src/core/memory/providers/transcript-recall-worker.ts --outfile dist/pi && npm run copy-binary-assets",
		"copy-assets": "shx mkdir -p dist/modes/interactive/theme && shx cp src/modes/interactive/theme/*.json dist/modes/interactive/theme/ && shx mkdir -p dist/modes/interactive/assets && shx cp src/modes/interactive/assets/*.png dist/modes/interactive/assets/ && shx mkdir -p dist/core/export-html/vendor && shx cp src/core/skill-block.mjs src/core/skill-block.d.mts dist/core/ && shx cp src/core/export-html/template.html src/core/export-html/template.css src/core/export-html/template.js src/core/export-html/session-tree-foundations.mjs src/core/export-html/session-tree-foundations.d.mts dist/core/export-html/ && shx cp src/core/export-html/vendor/*.js dist/core/export-html/vendor/ && shx mkdir -p dist/bundled-resources && shx cp -r src/bundled-resources/* dist/bundled-resources/",
		"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 src/modes/interactive/assets/*.png dist/assets/ && shx mkdir -p dist/export-html/vendor && shx cp src/core/skill-block.mjs dist/ && shx cp src/core/export-html/template.html src/core/export-html/template.css src/core/export-html/template.js src/core/export-html/session-tree-foundations.mjs dist/export-html/ && shx cp src/core/export-html/vendor/*.js dist/export-html/vendor/ && shx mkdir -p dist/bundled-resources && shx cp -r src/bundled-resources/* dist/bundled-resources/ && 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 --bail=1",
		"test:destructive": "vitest run --config vitest.destructive.config.ts",
		"test:destructive:crash": "vitest run --config vitest.destructive.config.ts test-destructive/crash",
		"test:destructive:chaos": "vitest run --config vitest.destructive.config.ts test-destructive/chaos",
		"test:destructive:stress": "vitest run --config vitest.destructive.config.ts test-destructive/stress",
		"test:destructive:soak": "vitest run --config vitest.destructive.config.ts test-destructive/soak",
		"shrinkwrap": "node ../../scripts/generate-coding-agent-shrinkwrap.mjs",
		"prepublishOnly": "npm run clean && npm run build && npm run shrinkwrap",
		"postinstall": "node scripts/postinstall-python-runtime.mjs"
	},
	"dependencies": {
		"@caupulican/pi-agent-core": "^0.96.5",
		"@caupulican/pi-ai": "^0.96.5",
		"@caupulican/pi-tui": "^0.96.5",
		"@silvia-odwyer/photon-node": "0.3.4",
		"chalk": "5.6.2",
		"cross-spawn": "7.0.6",
		"diff": "8.0.4",
		"glob": "13.0.6",
		"highlight.js": "10.7.3",
		"hosted-git-info": "9.0.3",
		"ignore": "7.0.5",
		"jiti": "2.7.0",
		"jscpd": "5.0.14",
		"minimatch": "10.2.5",
		"proper-lockfile": "4.1.2",
		"typebox": "1.1.38",
		"undici": "8.9.0",
		"yaml": "2.9.0"
	},
	"overrides": {
		"rimraf": "6.1.2",
		"gaxios": {
			"rimraf": "6.1.2"
		}
	},
	"optionalDependencies": {
		"@ff-labs/fff-node": "0.9.6",
		"@mariozechner/clipboard": "0.3.9"
	},
	"devDependencies": {
		"@types/cross-spawn": "6.0.6",
		"@types/diff": "7.0.2",
		"@types/hosted-git-info": "3.0.5",
		"@types/ms": "2.1.0",
		"@types/node": "24.12.4",
		"@types/proper-lockfile": "4.1.4",
		"shx": "0.4.0",
		"typescript": "7.0.2",
		"vitest": "4.1.10"
	},
	"keywords": [
		"coding-agent",
		"ai",
		"llm",
		"cli",
		"tui",
		"agent"
	],
	"author": "Mario Zechner",
	"license": "MIT",
	"repository": {
		"type": "git",
		"url": "git+https://github.com/Caupulican/pi-adaptative.git",
		"directory": "packages/coding-agent"
	},
	"engines": {
		"node": ">=24.18.0"
	}
}
