{
  "name": "@geraldmaron/construct",
  "version": "1.5.3",
  "type": "module",
  "packageManager": "npm@11.5.1",
  "description": "Construct — agent orchestration layer for OpenCode, Claude Code, and other coding surfaces",
  "bin": {
    "construct": "bin/construct"
  },
  "exports": {
    ".": "./lib/embedded-contract/index.mjs",
    "./embedded-contract": "./lib/embedded-contract/index.mjs",
    "./lib/*": "./lib/*",
    "./package.json": "./package.json"
  },
  "files": [
    "bin/construct",
    "bin/construct-postinstall.mjs",
    "lib/**",
    "specialists/**",
    "examples/**",
    "personas/**",
    "commands/**",
    "skills/**",
    "rules/**",
    "platforms/**",
    "templates/**",
    "templates/distribution/**",
    "schemas/**",
    "registry/**",
    "config/**",
    "vendor/**",
    "scripts/sync-specialists.mjs",
    "README.md",
    ".env.example"
  ],
  "engines": {
    "node": ">=20"
  },
  "workspaces": [
    "apps/*",
    "packages/*"
  ],
  "license": "Apache-2.0",
  "publishConfig": {
    "access": "public"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/geraldmaron/construct.git"
  },
  "homepage": "https://github.com/geraldmaron/construct",
  "bugs": {
    "url": "https://github.com/geraldmaron/construct/issues"
  },
  "scripts": {
    "mcp": "node lib/mcp/server.mjs",
    "doctor": "node ./bin/construct doctor",
    "test": "node scripts/run-tests.mjs",
    "test:functional": "XDG_CONFIG_HOME= XDG_STATE_HOME= XDG_CACHE_HOME= ANTHROPIC_API_KEY= OPENAI_API_KEY= OPENROUTER_API_KEY= CX_MODEL_REASONING= CX_MODEL_STANDARD= CX_MODEL_FAST= CONSTRUCT_MODEL_REASONING= CONSTRUCT_MODEL_STANDARD= CONSTRUCT_MODEL_FAST= CONSTRUCT_PROVIDER_TIMEOUT_MS= WEB_SEARCH_URL= CX_USER_ENV_PATH= CONSTRUCT_TELEMETRY_URL= node --test --test-timeout=120000 --test-concurrency=1 tests/functional/*.functional.test.mjs",
    "test:visual": "node --test --test-timeout=120000 tests/visual/*.test.mjs",
    "test:unit": "node scripts/run-tests.mjs --exclude=tests/functional",
    "ci:local": "bash scripts/ci-repro/run.sh",
    "lint:js": "eslint bin/construct \"lib/**/*.mjs\" \"scripts/**/*.mjs\" \"tests/**/*.mjs\"",
    "coverage": "c8 --reporter=text-summary --reporter=lcov --src=lib --src=bin node scripts/run-tests.mjs --exclude=tests/functional",
    "docs:init": "node -e \"console.error('docs:init is deprecated — use: construct init --docs-preset=lean|product|full'); process.exit(1)\"",
    "docs:verify": "node ./bin/construct docs:verify",
    "docs:update": "node ./bin/construct docs:update",
    "docs:site": "node ./bin/construct docs:site",
    "docs:dev": "node scripts/npm-run.mjs npm --prefix apps/docs run dev",
    "docs:build": "node scripts/npm-run.mjs npm --prefix apps/docs run build",
    "lint:comments": "node ./bin/construct lint:comments",
    "lint:contracts": "node ./bin/construct lint:contracts",
    "graph:gate": "node scripts/run-graph-gate.mjs",
    "lint:agents": "node ./bin/construct lint:agents",
    "gates:audit": "node ./bin/construct gates:audit",
    "evals": "node ./bin/construct evals",
    "certify:demos": "node ./bin/construct certify demos",
    "build:sea": "esbuild bin/construct --bundle --platform=node --target=node20 --packages=external --outfile=dist/construct-bundle.cjs 2>&1 || (echo 'esbuild not found — install with: npm install -g esbuild' && exit 1)",
    "build:binary": "node scripts/build-binary.mjs",
    "build:binary:fallback": "node scripts/build-sea.mjs",
    "examples:deck": "node scripts/generate-deck-examples.mjs",
    "examples:distribution": "node scripts/generate-distribution-examples.mjs",
    "clean:artifacts": "node scripts/clean-artifacts.mjs",
    "lint:scopes": "node scripts/lint-scopes.mjs",
    "catalog:regen": "node scripts/catalog-regen.mjs",
    "catalog:validate": "node scripts/catalog-validate.mjs",
    "workflow-defs:check": "node scripts/check-workflow-defs-drift.mjs --check",
    "docs:sync": "node scripts/docs-sync.mjs",
    "learning:status": "node scripts/learning-status.mjs",
    "lint:templates": "node scripts/lint-commits-pr.mjs",
    "eval:routing": "node scripts/eval/score-intent-classifier.mjs",
    "adapters": "node lib/adapters-sync.mjs",
    "release:check": "npm run doctor && node ./bin/construct registry:validate --unified && npm run catalog:validate -- --check && npm run workflow-defs:check && npm test && node scripts/release-evidence-gate.mjs --skip-tests && npm run docs:update -- --check && npm run docs:site -- --check && npm run docs:sync -- --check && node ./bin/construct registry:generate-docs --check && npm run docs:verify -- --strict && node scripts/alignment/census.mjs --ratchet && npm run lint:comments && node ./bin/construct certify gate && npm run graph:gate && npm run lint:templates",
    "release:gate": "node --test tests/functional/release-gate.functional.test.mjs",
    "audit:published": "node scripts/audit-published-artifact.mjs",
    "version": "node scripts/sync-construct-version.mjs && git add -f .construct/version",
    "release:preflight": "node scripts/pre-release-check.mjs",
    "release:preflight:no-auth": "node scripts/pre-release-check.mjs --skip-auth",
    "npm:publish": "npm run release:check && npm publish --access public",
    "postinstall": "node ./bin/construct-postinstall.mjs",
    "deps:check": "node scripts/validate-dep-intent.mjs"
  },
  "dependencies": {
    "@lancedb/lancedb": "^0.31.0",
    "@modelcontextprotocol/sdk": "^1.12.0",
    "apache-arrow": "^18.1.0",
    "js-yaml": "^4.2.0"
  },
  "optionalDependencies": {
    "@ai-sdk/anthropic": "^3.0.85",
    "@ai-sdk/openai": "^3.0.73",
    "@ai-sdk/openai-compatible": "^2.0.51",
    "@huggingface/transformers": "^4.2.0",
    "@opentelemetry/api": "^1.9.0",
    "ai": "^6.0.208",
    "ink": "^7.1.0",
    "mammoth": "^1.12.0",
    "postgres": "^3.4.9",
    "pptx-embed-fonts": "^0.0.6",
    "pptxgenjs": "^4.0.1",
    "react": "^19.2.7",
    "unpdf": "^1.6.2",
    "zod": "^4.4.3"
  },
  "devDependencies": {
    "@eslint/js": "^9.39.4",
    "c8": "^11.0.0",
    "esbuild": "^0.28.1",
    "eslint": "^10.4.1",
    "globals": "^17.6.0",
    "ink-testing-library": "^4.0.0",
    "playwright": "^1.61.1",
    "postject": "1.0.0-alpha.6"
  }
}
