Lines 1-40json
2 "name": "oh-my-codex-pennix",
4 "description": "Multi-agent orchestration layer for OpenAI Codex CLI — Pennix fork",
6 "main": "dist/index.js",
8 "omx": "dist/cli/omx.js"
11 "build": "node -e \"const fs=require('fs'); fs.rmSync('dist',{recursive:true,force:true});\" && tsc && node -e \"require('fs').chmodSync('dist/cli/omx.js', 0o755)\"",
12 "build:explore": "cargo build -p omx-explore-harness",
13 "build:full": "npm run build && npm run build:explore:release && npm run build:sparkshell && npm run build:api",
14 "build:explore:release": "node dist/scripts/build-explore-harness.js",
15 "check:no-unused": "tsc -p tsconfig.no-unused.json",
16 "clean:native-package-assets": "node dist/scripts/cleanup-explore-harness.js",
18 "lint": "biome lint src",
19 "prepack": "npm run build && npm run verify:native-agents && npm run sync:plugin && npm run verify:plugin-bundle && npm run clean:native-package-assets",
20 "postinstall": "node -e \"const fs=require('fs');const p='./dist/scripts/postinstall.js';if(fs.existsSync(p))import(p).then(m=>m.main?.()).catch(e=>console.warn('[omx] Postinstall skipped after a non-fatal error: '+(e?.message??e)))\"",
CriticalRed Install Lifecycle Script
Install-time lifecycle script matches a deterministic static-gate block pattern.
package.jsonView on unpkg · L20 HighInstall Time Lifecycle Scripts
Package defines install-time lifecycle scripts.
package.jsonView on unpkg · L20 21 "setup": "node dist/cli/omx.js setup",
22 "doctor": "node dist/cli/omx.js doctor",
23 "ask:claude": "./src/scripts/ask-claude.sh",
24 "ask:gemini": "./src/scripts/ask-gemini.sh",
25 "test:explore": "cargo test -p omx-explore-harness && node --test dist/cli/__tests__/explore.test.js dist/hooks/__tests__/explore-routing.test.js dist/hooks/__tests__/explore-sparkshell-guidance-contract.test.js",
26 "test:team:cross-rebase-smoke": "npm run build && npm run test:team:cross-rebase-smoke:compiled",
27 "test:team:cross-rebase-smoke:compiled": "node dist/scripts/run-test-files.js dist/team/__tests__/cross-rebase-smoke.test.js",
28 "test:team:worker-runtime-identity": "npm run build && npm run test:team:worker-runtime-identity:compiled",
29 "test:team:worker-runtime-identity:compiled": "node dist/scripts/run-test-files.js dist/team/__tests__/worker-runtime-identity.test.js",
30 "test:recent-bug-regressions": "npm run build && npm run test:recent-bug-regressions:compiled",
31 "test:recent-bug-regressions:compiled": "node dist/scripts/run-test-files.js dist/hooks/__tests__/keyword-detector.test.js dist/scripts/__tests__/codex-native-hook.test.js dist/cli/__tests__/launch-fallback.test.js dist/team/__tests__/runtime.test.js dist/team/__tests__/hardening-e2e.test.js",
32 "test:plugin-boundaries:compiled": "node dist/scripts/run-test-files.js dist/cli/__tests__/codex-plugin-layout.test.js dist/cli/__tests__/package-bin-contract.test.js dist/cli/__tests__/setup-hooks-shared-ownership.test.js dist/catalog/__tests__/plugin-bundle-ssot.test.js",
33 "test:node": "node dist/scripts/run-test-files.js dist",
34 "test:node:cross-platform": "npm run test:node",
35 "test": "npm run build && npm run verify:native-agents && npm run verify:plugin-bundle && npm run test:node && node dist/scripts/generate-catalog-docs.js --check",
36 "test:ci:compiled": "npm run verify:native-agents && npm run verify:plugin-bundle && npm run test:node && node dist/scripts/generate-catalog-docs.js --check",
37 "coverage:team-critical": "npm run build && npm run coverage:team-critical:compiled",
38 "coverage:team-critical:compiled": "c8 --all --src dist/team --src dist/state --include 'dist/team/**/*.js' --include 'dist/state/**/*.js' --exclude '**/__tests__/**' --reporter=text-summary --reporter=lcov --reporter=json-summary --report-dir coverage/team --check-coverage --lines=78 --functions=90 --branches=70 --statements=78 node dist/scripts/run-test-files.js dist/team/__tests__ dist/state/__tests__",
39 "coverage:team-critical:cross-platform": "npm run coverage:team-critical",
40 "coverage:ts:full": "npm run build && npm run coverage:ts:full:compiled",