{"_id":"@benredmond/apex","_rev":"7-54d1cf3c5fc31dc4ea0ce7bdb94f09ac","name":"@benredmond/apex","dist-tags":{"latest":"0.4.4"},"versions":{"0.1.0":{"name":"@benredmond/apex","version":"0.1.0","keywords":["ai","development","workflow","claude","automation","patterns","apex"],"author":{"name":"Ben"},"license":"MIT","_id":"@benredmond/apex@0.1.0","maintainers":[{"name":"benredmond","email":"bjr0206@gmail.com"}],"homepage":"https://github.com/yourusername/apex#readme","bugs":{"url":"https://github.com/yourusername/apex/issues"},"bin":{"apex":"src/cli/apex.js"},"dist":{"shasum":"535600882a82a5be38910212d30fc12a94dc20a7","tarball":"https://registry.npmjs.org/@benredmond/apex/-/apex-0.1.0.tgz","fileCount":30,"integrity":"sha512-8HuDTOXOYhJzIVovVlPPp7LpGUz56rf8CUQwGV/yS+otIqHHS/qNH5ktxdiCdynyLs+0Ds333A0IOKwaXild0w==","signatures":[{"sig":"MEQCIDAZOqJkoimz5psJ8p5CkdtcqiKLBlRA6UYexekwpdP3AiB3OecbUoiwCLUJDLf8ytod7Az0mSQ9t3gzu5QMAAtvpQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":275269},"main":"src/index.js","type":"module","engines":{"node":">=16.0.0"},"gitHead":"eaf4169c432fc162280f67125974818389b370a9","scripts":{"lint":"eslint src/","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","build":"node scripts/build.js","format":"prettier --write src/","pack:test":"npm pack --dry-run","test:watch":"node --experimental-vm-modules node_modules/jest/bin/jest.js --watch","release:major":"npm test && npm run lint && npm version major && npm publish","release:minor":"npm test && npm run lint && npm version minor && npm publish","release:patch":"npm test && npm run lint && npm version patch && npm publish","prepublishOnly":"npm test && npm run lint"},"_npmUser":{"name":"benredmond","actor":{"name":"benredmond","type":"user","email":"bjr0206@gmail.com"},"email":"bjr0206@gmail.com"},"repository":{"url":"git+https://github.com/yourusername/apex.git","type":"git"},"_npmVersion":"11.3.0","description":"APEX - Autonomous Pattern-Enhanced eXecution. AI-powered development workflow with APEX Intelligence for pattern recognition and task execution","directories":{},"_nodeVersion":"24.2.0","dependencies":{"ora":"^7.0.1","chalk":"^5.3.0","fs-extra":"^11.2.0","inquirer":"^9.2.12","commander":"^11.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.56.0","prettier":"^3.1.1"},"_npmOperationalInternal":{"tmp":"tmp/apex_0.1.0_1751511213835_0.47702379142105467","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@benredmond/apex","version":"0.2.0","keywords":["ai","development","workflow","claude","automation","patterns","apex"],"author":{"name":"Ben"},"license":"MIT","_id":"@benredmond/apex@0.2.0","maintainers":[{"name":"benredmond","email":"bjr0206@gmail.com"}],"homepage":"https://github.com/yourusername/apex#readme","bugs":{"url":"https://github.com/yourusername/apex/issues"},"bin":{"apex":"src/cli/apex.js"},"dist":{"shasum":"e0a024d58b6cbb90b77c427a74d4111395f473e4","tarball":"https://registry.npmjs.org/@benredmond/apex/-/apex-0.2.0.tgz","fileCount":30,"integrity":"sha512-tluoU5FnPEF+akduyufE2vN8Q5j6QziuUN6u4BpK4iyb5Rp671FsGPLncPiqRBt+XD6HycxaDawa9ZkkS1HoBg==","signatures":[{"sig":"MEUCIQDr24aKrHfTVFfgQLln+tPPQxorMZGMdJ1RSwgI9c03LQIgFOae7CTBKh7qI/xWPVQS3prtez3FjoYgZjO+jOoesRg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":275269},"main":"src/index.js","type":"module","engines":{"node":">=16.0.0"},"gitHead":"3cf340334f172afcfb459ed07d89c7c86871c17e","scripts":{"lint":"eslint src/","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","build":"node scripts/build.js","format":"prettier --write src/","pack:test":"npm pack --dry-run","test:watch":"node --experimental-vm-modules node_modules/jest/bin/jest.js --watch","release:major":"npm test && npm run lint && npm version major && npm publish","release:minor":"npm test && npm run lint && npm version minor && npm publish","release:patch":"npm test && npm run lint && npm version patch && npm publish","prepublishOnly":"npm test && npm run lint"},"_npmUser":{"name":"benredmond","actor":{"name":"benredmond","type":"user","email":"bjr0206@gmail.com"},"email":"bjr0206@gmail.com"},"repository":{"url":"git+https://github.com/yourusername/apex.git","type":"git"},"_npmVersion":"11.3.0","description":"APEX - Autonomous Pattern-Enhanced eXecution. AI-powered development workflow with APEX Intelligence for pattern recognition and task execution","directories":{},"_nodeVersion":"24.2.0","dependencies":{"ora":"^7.0.1","chalk":"^5.3.0","fs-extra":"^11.2.0","inquirer":"^9.2.12","commander":"^11.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.56.0","prettier":"^3.1.1"},"_npmOperationalInternal":{"tmp":"tmp/apex_0.2.0_1751511263089_0.3156610551046084","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@benredmond/apex","version":"0.3.0","keywords":["ai","development","workflow","claude","automation","patterns","apex"],"author":{"name":"Ben"},"license":"MIT","_id":"@benredmond/apex@0.3.0","maintainers":[{"name":"benredmond","email":"bjr0206@gmail.com"}],"homepage":"https://github.com/benredmond/apex#readme","bugs":{"url":"https://github.com/benredmond/apex/issues"},"bin":{"apex":"src/cli/apex.js"},"dist":{"shasum":"745828039826bde4c22cc2fc3928288141710564","tarball":"https://registry.npmjs.org/@benredmond/apex/-/apex-0.3.0.tgz","fileCount":30,"integrity":"sha512-1p+up/tk9IFbbmEeHvgVu9AqsFo0fuiu5YaqgJcE48gy/hE1UovdysqWEPqDdxWf7u3xCUD6SIk+/rEZXfOHJw==","signatures":[{"sig":"MEYCIQDHwi47y9wa0Ud/VRcFlvz2S+g5MyxVdVw4I/DTsQPZwQIhAIn4IGEopIJxc6cZRZuMkhF6654HqD4y1kk9z4r2zTMt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":275186},"main":"src/index.js","type":"module","engines":{"node":">=16.0.0"},"gitHead":"a7c0174f9cca3d96ff7da39380f3d1bf19cd055e","scripts":{"lint":"eslint src/","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","build":"node scripts/build.js","format":"prettier --write src/","pack:test":"npm pack --dry-run","test:watch":"node --experimental-vm-modules node_modules/jest/bin/jest.js --watch","release:major":"npm test && npm run lint && npm version major && npm publish","release:minor":"npm test && npm run lint && npm version minor && npm publish","release:patch":"npm test && npm run lint && npm version patch && npm publish","prepublishOnly":"npm test && npm run lint"},"_npmUser":{"name":"benredmond","actor":{"name":"benredmond","type":"user","email":"bjr0206@gmail.com"},"email":"bjr0206@gmail.com"},"repository":{"url":"git+https://github.com/benredmond/apex.git","type":"git"},"_npmVersion":"11.3.0","description":"APEX - Autonomous Pattern-Enhanced eXecution. AI-powered development workflow with APEX Intelligence for pattern recognition and task execution","directories":{},"_nodeVersion":"24.2.0","dependencies":{"ora":"^7.0.1","chalk":"^5.3.0","fs-extra":"^11.2.0","inquirer":"^9.2.12","commander":"^11.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.56.0","prettier":"^3.1.1"},"_npmOperationalInternal":{"tmp":"tmp/apex_0.3.0_1751511602915_0.14983922437101582","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@benredmond/apex","version":"0.4.0","keywords":["ai","development","workflow","claude","automation","patterns","apex"],"author":{"name":"Ben"},"license":"MIT","_id":"@benredmond/apex@0.4.0","maintainers":[{"name":"benredmond","email":"bjr0206@gmail.com"}],"homepage":"https://github.com/benredmond/apex#readme","bugs":{"url":"https://github.com/benredmond/apex/issues"},"bin":{"apex":"src/cli/apex.js"},"dist":{"shasum":"0cc824e9670300d0508d87f47dcdb77da1a8267b","tarball":"https://registry.npmjs.org/@benredmond/apex/-/apex-0.4.0.tgz","fileCount":30,"integrity":"sha512-n6EFzHxiHbCqhHWJMfGSEgfhLk6/vE6EzfDtYwy6j2AbGi+W+SKWhoEN8zideb+YNs6ri57SaU5Uz8KK4JKrMA==","signatures":[{"sig":"MEQCIHsm60lvwz4iuPsQFF55XB/s8Gy9sYRgx43fPRZPuJPfAiBsoxJZlj6i9BNxiJaw+R+JWC4hlYEVPUZ1pTwW6WVqow==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":274540},"main":"src/index.js","type":"module","engines":{"node":">=16.0.0"},"gitHead":"7ee9154f6ac3d359496b43453714d4f157d0007a","scripts":{"lint":"eslint src/","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","build":"node scripts/build.js","format":"prettier --write src/","pack:test":"npm pack --dry-run","test:watch":"node --experimental-vm-modules node_modules/jest/bin/jest.js --watch","release:major":"npm test && npm run lint && npm version major && npm publish","release:minor":"npm test && npm run lint && npm version minor && npm publish","release:patch":"npm test && npm run lint && npm version patch && npm publish","prepublishOnly":"npm test && npm run lint"},"_npmUser":{"name":"benredmond","actor":{"name":"benredmond","type":"user","email":"bjr0206@gmail.com"},"email":"bjr0206@gmail.com"},"repository":{"url":"git+https://github.com/benredmond/apex.git","type":"git"},"_npmVersion":"11.3.0","description":"APEX - Autonomous Pattern-Enhanced eXecution. AI-powered development workflow with APEX Intelligence for pattern recognition and task execution","directories":{},"_nodeVersion":"24.2.0","dependencies":{"ora":"^7.0.1","chalk":"^5.3.0","fs-extra":"^11.2.0","inquirer":"^9.2.12","commander":"^11.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.56.0","prettier":"^3.1.1"},"_npmOperationalInternal":{"tmp":"tmp/apex_0.4.0_1751512744698_0.8305123425386922","host":"s3://npm-registry-packages-npm-production"}},"0.4.2":{"name":"@benredmond/apex","version":"0.4.2","keywords":["ai","development","workflow","claude","automation","patterns","apex"],"author":{"name":"Ben"},"license":"MIT","_id":"@benredmond/apex@0.4.2","maintainers":[{"name":"benredmond","email":"bjr0206@gmail.com"}],"homepage":"https://github.com/benredmond/apex#readme","bugs":{"url":"https://github.com/benredmond/apex/issues"},"bin":{"apex":"bin/apex-wrapper.js"},"pkg":{"assets":["dist/**/*","templates/**/*","node_modules/better-sqlite3/build/Release/better_sqlite3.node"],"scripts":["dist/**/*.js","dist/**/*.cjs"],"targets":["node20-macos-x64","node20-macos-arm64","node20-linux-x64","node20-win-x64"],"outputPath":"binaries"},"dist":{"shasum":"9ad83dd4a28a8cf7a636dbe8c1059c664241c718","tarball":"https://registry.npmjs.org/@benredmond/apex/-/apex-0.4.2.tgz","fileCount":200,"integrity":"sha512-Krs/Iwt3bufYpRXerpoM+Y7IpON0txk0YZbXZkb5zANcasaA7thrbZem5S8ey4Dp4KcAi+fzIGqISYArsZYiRw==","signatures":[{"sig":"MEUCIQCLHKaHJB2itxGDcwEyFZ43j17SEEN4+2mU0MvD2BCYiwIgTdoya0dFFReGqm6DyPZnr6Q2tKwC02qUW8lHDeRH3RU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":56660978},"main":"src/index.js","type":"module","engines":{"node":">=16.0.0"},"gitHead":"d161129ce8f29bfc1a95dd35afb92e6638b6d1c6","scripts":{"lint":"eslint src/","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","build":"rm -rf dist && npm run type-check && tsc -p tsconfig.build.json","bundle":"node scripts/bundle-cli.js","format":"prettier --write src/","pack:test":"npm pack --dry-run","mcp:server":"node src/mcp/index.js","test:watch":"node --experimental-vm-modules node_modules/jest/bin/jest.js --watch","type-check":"tsc --noEmit","build:binary":"node scripts/build-binary.js","release:major":"npm test && npm run lint && npm run type-check && npm version major && npm publish","release:minor":"npm test && npm run lint && npm run type-check && npm version minor && npm publish","release:patch":"npm test && npm run lint && npm run type-check && npm version patch && npm publish","prepublishOnly":"npm test && npm run lint && npm run type-check","prebuild:binary":"npm run build","build:binary:all":"node scripts/build-binary.js --all","type-check:watch":"tsc --noEmit --watch"},"_npmUser":{"name":"benredmond","email":"bjr0206@gmail.com"},"repository":{"url":"git+https://github.com/benredmond/apex.git","type":"git"},"_npmVersion":"11.5.1","description":"APEX - Autonomous Pattern-Enhanced eXecution. AI-powered development workflow with APEX Intelligence for pattern recognition and task execution","directories":{},"_nodeVersion":"24.6.0","dependencies":{"ora":"^7.0.1","zod":"^3.23.8","glob":"^10.3.10","yaml":"^2.8.1","chalk":"^5.3.0","nanoid":"^5.1.5","semver":"^7.7.2","js-yaml":"^4.1.0","chokidar":"^3.6.0","fs-extra":"^11.2.0","inquirer":"^9.2.12","commander":"^11.1.0","lru-cache":"^10.2.0","minimatch":"^10.0.3","pdf-parse":"^1.1.1","cli-table3":"^0.6.5","better-sqlite3":"^11.3.0","@modelcontextprotocol/sdk":"^0.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.56.0","esbuild":"^0.19.0","ts-jest":"^29.4.1","prettier":"^3.1.1","typescript":"^5.3.3","@types/jest":"^29.5.14","@types/node":"^20.10.5","@yao-pkg/pkg":"^6.6.0","@types/js-yaml":"^4.0.9","@types/fs-extra":"^11.0.4","@types/inquirer":"^9.0.7","@types/better-sqlite3":"^7.6.9"},"_npmOperationalInternal":{"tmp":"tmp/apex_0.4.2_1756598292560_0.0785055933732739","host":"s3://npm-registry-packages-npm-production"}},"0.4.3":{"name":"@benredmond/apex","version":"0.4.3","keywords":["ai","development","workflow","claude","automation","patterns","apex"],"author":{"name":"Ben"},"license":"MIT","_id":"@benredmond/apex@0.4.3","maintainers":[{"name":"benredmond","email":"bjr0206@gmail.com"}],"homepage":"https://github.com/benredmond/apex#readme","bugs":{"url":"https://github.com/benredmond/apex/issues"},"bin":{"apex":"bin/apex-wrapper.js"},"pkg":{"assets":["dist/**/*","templates/**/*","node_modules/better-sqlite3/build/Release/better_sqlite3.node"],"scripts":["dist/**/*.js","dist/**/*.cjs"],"targets":["node20-macos-x64","node20-macos-arm64","node20-linux-x64","node20-win-x64"],"outputPath":"binaries"},"dist":{"shasum":"68e23d9d82fcd8e38292c0b3317bde1dc6c8a7c5","tarball":"https://registry.npmjs.org/@benredmond/apex/-/apex-0.4.3.tgz","fileCount":199,"integrity":"sha512-qqBGfqJEu1ALK96xf/7NvPYRUDZVJtpqQmCZgidEg3aVcsKpQ9p5pybFlMlOUIHwF5QwVHCZZgZTbAYytnZ2WQ==","signatures":[{"sig":"MEYCIQCRBXlFDIy1H4xEJgOpHTHlPM5c4PUnKB8toP3ysBAh4AIhAKP1mtgLVJxOl5oNmq14sdBqOWoaGsnGzAYHVJkgAIFu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1364955},"main":"src/index.js","type":"module","engines":{"node":">=16.0.0"},"gitHead":"2640301438b46f947b3dc60dd40f32a9cc26ac06","scripts":{"lint":"eslint src/","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","build":"rm -rf dist && npm run type-check && tsc -p tsconfig.build.json","bundle":"node scripts/bundle-cli.js","format":"prettier --write src/","pack:test":"npm pack --dry-run","mcp:server":"node src/mcp/index.js","test:watch":"node --experimental-vm-modules node_modules/jest/bin/jest.js --watch","type-check":"tsc --noEmit","postinstall":"node -e \"try { require('better-sqlite3') } catch(e) { console.log('Note: better-sqlite3 will be rebuilt on first use') }\" || true","build:binary":"node scripts/build-binary.js","release:major":"npm test && npm run lint && npm run type-check && npm version major && npm publish","release:minor":"npm test && npm run lint && npm run type-check && npm version minor && npm publish","release:patch":"npm test && npm run lint && npm run type-check && npm version patch && npm publish","prepublishOnly":"npm test && npm run lint && npm run type-check","prebuild:binary":"npm run build","build:binary:all":"node scripts/build-binary.js --all","type-check:watch":"tsc --noEmit --watch"},"_npmUser":{"name":"benredmond","email":"bjr0206@gmail.com"},"repository":{"url":"git+https://github.com/benredmond/apex.git","type":"git"},"_npmVersion":"11.5.1","description":"APEX - Autonomous Pattern-Enhanced eXecution. AI-powered development workflow with APEX Intelligence for pattern recognition and task execution","directories":{},"_nodeVersion":"24.6.0","dependencies":{"ora":"^7.0.1","zod":"^3.23.8","glob":"^10.3.10","yaml":"^2.8.1","chalk":"^5.3.0","nanoid":"^5.1.5","semver":"^7.7.2","js-yaml":"^4.1.0","chokidar":"^3.6.0","fs-extra":"^11.2.0","inquirer":"^9.2.12","commander":"^11.1.0","lru-cache":"^10.2.0","minimatch":"^10.0.3","pdf-parse":"^1.1.1","cli-table3":"^0.6.5","better-sqlite3":"^11.3.0","@modelcontextprotocol/sdk":"^0.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.56.0","esbuild":"^0.19.0","ts-jest":"^29.4.1","prettier":"^3.1.1","typescript":"^5.3.3","@types/jest":"^29.5.14","@types/node":"^20.10.5","@yao-pkg/pkg":"^6.6.0","@types/js-yaml":"^4.0.9","@types/fs-extra":"^11.0.4","@types/inquirer":"^9.0.7","@types/better-sqlite3":"^7.6.9"},"_npmOperationalInternal":{"tmp":"tmp/apex_0.4.3_1756599745373_0.557859464206558","host":"s3://npm-registry-packages-npm-production"}},"0.4.4":{"name":"@benredmond/apex","version":"0.4.4","description":"APEX - Autonomous Pattern-Enhanced eXecution. AI-powered development workflow with APEX Intelligence for pattern recognition and task execution","publishConfig":{"access":"public"},"keywords":["ai","development","workflow","claude","automation","patterns","apex"],"author":{"name":"Ben"},"license":"MIT","type":"module","main":"src/index.js","bin":{"apex":"bin/apex-wrapper.js"},"scripts":{"test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","test:watch":"node --experimental-vm-modules node_modules/jest/bin/jest.js --watch","lint":"eslint src/","format":"prettier --write src/","type-check":"tsc --noEmit","type-check:watch":"tsc --noEmit --watch","build":"rm -rf dist && npm run type-check && tsc -p tsconfig.build.json","postinstall":"node -e \"try { require('better-sqlite3') } catch(e) { console.log('Note: better-sqlite3 will be rebuilt on first use') }\" || true","prepublishOnly":"npm test && npm run lint && npm run type-check","release:patch":"npm test && npm run lint && npm run type-check && npm version patch && npm publish","release:minor":"npm test && npm run lint && npm run type-check && npm version minor && npm publish","release:major":"npm test && npm run lint && npm run type-check && npm version major && npm publish","pack:test":"npm pack --dry-run","mcp:server":"node src/mcp/index.js","bundle":"node scripts/bundle-cli.js","build:binary":"node scripts/build-binary.js","build:binary:all":"node scripts/build-binary.js --all","prebuild:binary":"npm run build"},"dependencies":{"@modelcontextprotocol/sdk":"^0.6.1","better-sqlite3":"^11.3.0","chalk":"^5.3.0","chokidar":"^3.6.0","cli-table3":"^0.6.5","commander":"^11.1.0","fs-extra":"^11.2.0","glob":"^10.3.10","inquirer":"^9.2.12","js-yaml":"^4.1.0","lru-cache":"^10.2.0","minimatch":"^10.0.3","nanoid":"^5.1.5","ora":"^7.0.1","pdf-parse":"^1.1.1","semver":"^7.7.2","yaml":"^2.8.1","zod":"^3.23.8"},"devDependencies":{"@types/better-sqlite3":"^7.6.9","@types/fs-extra":"^11.0.4","@types/inquirer":"^9.0.7","@types/jest":"^29.5.14","@types/js-yaml":"^4.0.9","@types/node":"^20.10.5","@yao-pkg/pkg":"^6.6.0","esbuild":"^0.19.0","eslint":"^8.56.0","jest":"^29.7.0","prettier":"^3.1.1","ts-jest":"^29.4.1","typescript":"^5.3.3"},"engines":{"node":">=16.0.0"},"repository":{"type":"git","url":"git+https://github.com/benredmond/apex.git"},"bugs":{"url":"https://github.com/benredmond/apex/issues"},"homepage":"https://github.com/benredmond/apex#readme","pkg":{"assets":["dist/**/*","templates/**/*","node_modules/better-sqlite3/build/Release/**/*"],"scripts":["dist/**/*.js","dist/**/*.cjs"],"targets":["node22-macos-x64","node22-macos-arm64","node22-linux-x64","node22-win-x64"],"outputPath":"binaries"},"_id":"@benredmond/apex@0.4.4","gitHead":"7f5e45ea4d402756beb4b3f54b68f614a0511ada","_nodeVersion":"24.6.0","_npmVersion":"11.5.1","dist":{"integrity":"sha512-BjuY2PnM4nIaOMQcmaJ7/+tfjYypOulYTUsOLKq5twRHtjOR8IBGtZq7zFgyxCRufVaxOgcOmGYSLIxEWLfZMw==","shasum":"f7b37d2a7e12b27f2a7fc95be0cef66000b490ac","tarball":"https://registry.npmjs.org/@benredmond/apex/-/apex-0.4.4.tgz","fileCount":200,"unpackedSize":69935293,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBbx5p2xjYW/3Df/7cg9KOGL01pKxTgHmRRoiKYqS08yAiBseijxhahUSDUu0gxX1v/ghPHlkT8awxb8O6GC8pdPIg=="}]},"_npmUser":{"name":"benredmond","email":"bjr0206@gmail.com"},"directories":{},"maintainers":[{"name":"benredmond","email":"bjr0206@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/apex_0.4.4_1756600039299_0.6552391498647805"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-03T02:53:33.756Z","modified":"2025-08-31T00:27:20.069Z","0.1.0":"2025-07-03T02:53:34.030Z","0.2.0":"2025-07-03T02:54:23.245Z","0.3.0":"2025-07-03T03:00:03.108Z","0.4.0":"2025-07-03T03:19:04.849Z","0.4.2":"2025-08-30T23:58:13.057Z","0.4.3":"2025-08-31T00:22:25.626Z","0.4.4":"2025-08-31T00:27:19.870Z"},"bugs":{"url":"https://github.com/benredmond/apex/issues"},"author":{"name":"Ben"},"license":"MIT","homepage":"https://github.com/benredmond/apex#readme","keywords":["ai","development","workflow","claude","automation","patterns","apex"],"repository":{"type":"git","url":"git+https://github.com/benredmond/apex.git"},"description":"APEX - Autonomous Pattern-Enhanced eXecution. AI-powered development workflow with APEX Intelligence for pattern recognition and task execution","maintainers":[{"name":"benredmond","email":"bjr0206@gmail.com"}],"readme":"# APEX - Stop Your AI From Making The Same Mistakes Twice\n\n> APEX gives AI assistants memory, learning, and pattern recognition for 40-55% faster development\n\n[![npm version](https://badge.fury.io/js/%40benredmond%2Fapex.svg)](https://badge.fury.io/js/%40benredmond%2Fapex)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n```bash\n# See APEX in action - no installation required!\nnpx @benredmond/apex start\n```\n\n## The Problem\n\nYour AI coding assistant is powerful, but it:\n- 🔄 Repeats the same mistakes\n- 🤷 Doesn't learn from your codebase\n- 📋 Lacks memory between sessions\n- 🎯 Misses patterns that could save hours\n\n## The Solution\n\nAPEX transforms your AI assistant into an intelligent development partner that learns and improves:\n\n```\nWithout APEX: AI suggests generic solution → Often wrong → You fix it → AI forgets\nWith APEX:    AI recalls what worked → Applies proven patterns → Prevents past failures → Gets smarter\n```\n\n## Why APEX?|\n\n### 🎯 Three Key Differentiators\n\n1. **Zero-Runtime Intelligence** - No background processes, no performance impact\n2. **Pattern Evolution** - Discovers, validates, and promotes patterns automatically\n3. **Failure Prevention** - Learns from mistakes to prevent repetition\n\n### 💬 Real Developer Experience\n\n> \"After 50 tasks, APEX prevented every single MongoDB async/await error that used to waste 30 minutes each time. The pattern system is like having a senior developer's knowledge built into my AI.\" - APEX User\n\n## Getting Started\n\nChoose your preferred way to start:\n\n### 🚀 Try It Now (Recommended)\n```bash\n# Run this in any project - installs nothing globally\nnpx @benredmond/apex start\n\n# That's it! APEX is now active in your AI assistant\n```\n\n### 📦 Install Globally\n```bash\n# Install once, use everywhere\nnpm install -g @benredmond/apex\napex start\n```\n\n### 🛠️ Available Commands (MVP)\n```bash\napex start              # Quick setup (simplified from apex init)\napex patterns list      # View available patterns\napex patterns search    # Find patterns by text\napex tasks list         # View tasks\napex tasks stats        # Task metrics\napex doctor             # System health check\napex mcp install        # Setup MCP integration\n```\n\n## Your First APEX Workflow\n\nLet's fix a bug using APEX intelligence - this takes less than 5 minutes:\n\n```bash\n# 1. In your project with a failing test\nnpx @benredmond/apex start\n\n# 2. Open your AI assistant (Claude Code, Cursor, etc.)\n\n# 3. Create a task for the bug\n/create_task \"Fix authentication test timeout error\"\n\n# 4. Let APEX guide the fix\n/task T001\n```\n\n### What APEX Does Behind the Scenes\n\n```\n🧠 ANALYZING... Complexity: 3/10\n📚 LOADING... Found 3 similar past fixes\n⚡ PATTERN... Applying [FIX:TEST:ASYNC_TIMEOUT] (★★★★★ 98% success)\n🛡️ PREVENTING... Warning: This error often caused by missing await\n✅ EXECUTING... Test fixed in one try (vs 3 tries typically)\n📈 LEARNING... Pattern trust score increased\n```\n\n## Core Concepts\n\n### 🧠 APEX Intelligence Engine\n\nThink of APEX as your AI's long-term memory and pattern recognition system:\n\n```\nYour Code → APEX Learns → AI Remembers → Better Suggestions → Less Debugging\n```\n\n**Key Components:**\n- **Pattern Recognition**: Tracks what works with trust scores (★★★★★)\n- **Failure Database**: Never repeat the same mistake\n- **Smart Context**: Loads only relevant patterns per task\n- **Complexity Routing**: Simple tasks stay fast, complex tasks get deep analysis\n\n### 📊 Pattern Lifecycle\n\nWatch patterns evolve from discovery to trusted solution:\n\n```\nNEW DISCOVERY          TESTING              VALIDATED            TRUSTED\n     ↓                    ↓                    ↓                   ↓\n[untracked] ──→ [★★★☆☆ 1 use] ──→ [★★★★☆ 3 uses] ──→ [★★★★★ 47 uses]\n              CONVENTIONS.pending.md                    CONVENTIONS.md\n```\n\nReal example:\n```javascript\n[PAT:AUTH:JWT] ★★★★★ (47 uses, 98% success)\n// Secure JWT implementation - discovered in T012, now prevents auth vulnerabilities\nconst token = jwt.sign(payload, process.env.JWT_SECRET, { expiresIn: '24h' });\n```\n\n### 🔄 5-Phase Workflow\n\nEvery task follows a proven methodology:\n\n```\nARCHITECT → BUILDER → VALIDATOR → REVIEWER → DOCUMENTER\n    ↓          ↓          ↓           ↓            ↓\n Research   Implement    Test      Review    Learn & Document\n```\n\nThis isn't just process - it's intelligence-driven:\n- **ARCHITECT**: Loads similar task solutions\n- **BUILDER**: Applies proven patterns\n- **VALIDATOR**: Runs learned test strategies  \n- **REVIEWER**: AI + Gemini review (complex tasks)\n- **DOCUMENTER**: Captures new patterns\n\n### 📋 Task Hierarchy\n\nOrganize work the way you think:\n\n```\n📌 Milestone: \"User Authentication System\"\n  └── 📅 Sprint: \"Core Auth Features\"\n        ├── 📋 Task: \"Design auth schema\"     [2h]\n        ├── 📋 Task: \"Build login API\"       [3h]\n        └── 📋 Task: \"Add JWT middleware\"    [2h]\n```\n\n## Workflows & Examples\n\n### 🐛 Workflow 1: Fixing a Bug\n\n**Scenario**: Your test suite has a flaky test that fails intermittently.\n\n```bash\n# Create the bug fix task\n/create_task \"Fix flaky user creation test\"\n# Output: Created task T001\n\n# Execute with APEX intelligence\n/task T001\n```\n\n**APEX in Action:**\n```\n🧠 ANALYZING... \n- Complexity: 3/10 (single test file)\n- Similar issues: Found 5 flaky test fixes\n- Pattern match: [FIX:TEST:ASYNC_RACE] likely applies\n\n📚 INTELLIGENCE LOADED:\n- TX089: Fixed similar race condition (2h → 15min with pattern)\n- Pattern: Always await user.save() before assertions\n- Warning: db.clean() must complete before test\n\n🔨 IMPLEMENTING...\nApplied [FIX:TEST:ASYNC_RACE] pattern:\n  - Added await before user.save()\n  - Wrapped in act() for React updates\n  - Added afterEach cleanup\n\n✅ VALIDATING...\n- Ran test 50x: 0 failures (was failing 30% before)\n- All related tests still passing\n\n📝 DOCUMENTING...\n- Pattern success rate: 94% → 95%\n- Saved to learning database\n- Estimated time saved: 1.5 hours\n```\n\n### 🚀 Workflow 2: Adding a Feature\n\n**Scenario**: Add email notifications to your application.\n\n```bash\n# Create a sprint for the feature\n/sprint M01 \"Email Integration\" \n# Output: Created sprint S03\n\n# Break down into tasks\n/create_task \"Design email template system\" --sprint S03\n/create_task \"Integrate SendGrid API\" --sprint S03  \n/create_task \"Add email preferences to user model\" --sprint S03\n\n# Execute first task\n/task T001\n```\n\n**APEX Intelligence Throughout:**\n```\nARCHITECT PHASE:\n🧠 Loading email patterns from 12 previous implementations\n📊 Complexity: 6/10 - Will engage Gemini for architecture review\n🎯 Suggested approach: Template-based with provider abstraction\n\nBUILDER PHASE:\n⚡ Auto-applied patterns:\n- [PAT:EMAIL:TEMPLATE_ENGINE] - Handlebars with layouts\n- [PAT:API:RETRY_LOGIC] - Exponential backoff for sends\n- [PAT:CONFIG:ENV_VALIDATION] - Ensure API keys present\n\nVALIDATOR PHASE:\n✅ Tests generated using [PAT:TEST:EMAIL_MOCK] pattern\n🛡️ Prevented common issue: Emails sending in test environment\n\nRESULT: Feature complete in 2.5h (vs 5h estimated)\n```\n\n### 🔧 Workflow 3: Refactoring Legacy Code\n\n**Scenario**: Modernize callback-based code to async/await.\n\n```bash\n# Create refactoring task\n/create_task \"Refactor payment.js from callbacks to async/await\"\n\n# Execute with intelligence\n/task T001\n```\n\n**Pattern Discovery in Action:**\n```\n🧠 ANALYZING payment.js...\n- 147 callback chains detected\n- Error handling inconsistent\n- Similar refactor: TX142 (saved 3 hours)\n\n📋 APPLYING PATTERNS:\n1. [PAT:REFACTOR:CALLBACK_TO_ASYNC] ★★★★★\n   - Preserve error handling semantics\n   - Maintain callback API for backwards compatibility\n\n2. [PAT:REFACTOR:PROGRESSIVE] ★★★★☆  \n   - Refactor in testable chunks\n   - Keep tests green throughout\n\n🔄 DISCOVERING NEW PATTERN:\nFound repeated pattern not in database:\n- Payment providers need .catch() → try/catch wrapper\n- Adding to CONVENTIONS.pending.md for validation\n\n✅ RESULT:\n- 147 callbacks → clean async/await\n- All tests passing\n- 0 production issues after deploy\n- New pattern discovered for future use\n```\n\n## Command Reference\n\nAPEX commands are organized by development phase:\n\n### 📅 Planning Commands\n```bash\n/milestone \"Project Goal\"           # Create high-level milestone\n/sprint M01 \"Sprint Name\"          # Create sprint in milestone  \n/create_task \"Task\" --sprint S01   # Create task in sprint\n/plan                              # View current plan\n```\n\n### 🚀 Execution Commands\n```bash\n/task T001                         # Execute task with full intelligence\n/task                             # Continue current task\n/yolo                            # Autonomous multi-task mode\n```\n\n### ✅ Quality Commands\n```bash\n/review                          # AI code review with learning\n/test                           # Run tests with pattern analysis\n/debug \"error message\"          # Debug with failure database\n/design \"component\"             # Architecture assistance\n```\n\n### 📝 Finalization Commands\n```bash\n/commit                         # Smart commit with context\n/reflect                       # Extract and save learnings\n```\n\n### ⚙️ System Commands\n```bash\napex start                     # Initialize APEX patterns database (in terminal)\n/prime                        # Load APEX context into AI\n/verify                      # Check APEX health\n```\n\n## Advanced Usage\n\n### Pattern Management\n\nView and manage your pattern library:\n\n```bash\n# In terminal\nnpx @benredmond/apex patterns         # List all active patterns\nnpx @benredmond/apex patterns pending  # Show patterns being tested\nnpx @benredmond/apex patterns stats    # Pattern usage statistics\n```\n\nShare patterns with your team:\n```bash\n# Patterns are stored in version control\ngit add .apex/CONVENTIONS.md\ngit commit -m \"Share authentication patterns\"\n```\n\n### Gemini Integration\n\nFor complex tasks (complexity ≥7), APEX automatically engages Gemini for deeper analysis:\n\n```json\n// .apex/config.json\n{\n  \"apex\": {\n    \"geminiApiKey\": \"your-api-key\",\n    \"complexityThreshold\": 7,  // When to engage Gemini\n    \"geminiModel\": \"gemini-pro\"\n  }\n}\n```\n\n### Custom Configuration\n\nFine-tune APEX behavior:\n\n```json\n{\n  \"apex\": {\n    \"patternPromotionThreshold\": 3,    // Uses before promotion\n    \"trustScoreThreshold\": 0.8,        // Success rate for promotion\n    \"autoPatternDiscovery\": true,      // Find patterns automatically\n    \"contextTokenBudget\": 30000,       // Max context size\n    \"enableFailurePrevention\": true    // Warn about past failures\n  }\n}\n```\n\n## Project Structure\n\nAPEX creates an intelligent project organization:\n\n```\nyour-project/\n├── .apex/                          # APEX Intelligence Hub\n│   ├── CONVENTIONS.md              # Trusted patterns (★★★★☆+)\n│   ├── CONVENTIONS.pending.md      # Testing patterns (<3 uses)\n│   ├── 09_LEARNING/               \n│   │   ├── failures.jsonl          # What went wrong & how to prevent\n│   │   └── TASK_LEARNINGS.md       # Successful approaches\n│   └── PATTERN_METADATA.json       # Pattern statistics & trust scores\n│\n└── .claude/commands/apex/          # AI command templates\n    ├── 01_plan/                    # Planning phase commands\n    ├── 02_execute/                 # Execution with intelligence\n    ├── 03_quality/                 # Smart testing & review\n    └── 04_finalize/                # Learning capture\n```\n\n## Troubleshooting\n\n### Common Issues\n\n**\"Command not found\" in AI assistant**\n- Run `/prime` to load APEX commands into context\n- Ensure you ran `apex start` in your project root\n- Check that `.claude/commands/apex/` exists\n\n**Patterns not being applied**\n- Check pattern trust score - must be ★★★☆☆ or higher\n- Verify pattern context matches your use case\n- Run `apex patterns stats` to see pattern health\n\n**High complexity score on simple task**\n- Review task description for trigger words\n- Check if task touches multiple systems\n- Complexity can be manually overridden in task file\n\n### FAQ\n\n**Q: How does APEX work with my AI assistant?**\nA: APEX provides markdown-based commands that guide your AI through proven workflows. It's like giving your AI a memory and a methodology.\n\n**Q: Is my code/data private?**\nA: Yes. APEX runs locally and stores all patterns/learnings in your project. Nothing is sent to external servers except optional Gemini API calls for complex tasks.\n\n**Q: Can I use APEX with [Cursor/GitHub Copilot/other AI]?**\nA: Yes! APEX works with any AI that can read markdown files and execute commands. The commands are universal.\n\n**Q: How long before I see productivity gains?**\nA: Immediately for workflow organization. Pattern benefits appear after 5-10 tasks. Full 40-55% gains typically seen after 50+ tasks as the pattern library grows.\n\n**Q: Can I share patterns with my team?**\nA: Yes! Patterns are stored in `.apex/CONVENTIONS.md` which can be committed to version control and shared.\n\n## Contributing\n\nWe welcome contributions! See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.\n\nKey areas for contribution:\n- Domain-specific pattern libraries\n- AI assistant integrations  \n- Workflow improvements\n- Documentation examples\n\n## License\n\nMIT License - see [LICENSE](LICENSE) for details\n\n## Acknowledgments\n\nAPEX was inspired by the need for AI assistants that truly learn and improve. Special thanks to:\n- The Claude, Cursor, and Copilot communities\n- Early adopters who provided pattern data\n- Contributors who shaped the workflow methodology\n\n---\n\n**Ready to stop repeating mistakes?** Run `npx @benredmond/apex start` and watch your AI assistant get smarter with every task.\n\nBuilt with ❤️ and Intelligence by the APEX Community","readmeFilename":"README.md"}