{
  "name": "pi-extensible-workflows",
  "version": "5.8.0",
  "description": "Deterministic multi-agent workflow orchestration for Pi",
  "homepage": "https://vekexasia.github.io/pi-extensible-workflows/",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/vekexasia/pi-extensible-workflows.git",
    "directory": "packages/core"
  },
  "type": "module",
  "keywords": [
    "pi-package",
    "pi",
    "workflow",
    "multi-agent",
    "orchestration",
    "automation"
  ],
  "exports": {
    ".": "./dist/src/index.js",
    "./persistence": "./dist/src/persistence.js",
    "./types": "./dist/src/types.js",
    "./utils": "./dist/src/utils.js",
    "./budget": "./dist/src/budget.js",
    "./validation": "./dist/src/validation.js",
    "./registry": "./dist/src/registry.js",
    "./runtime": "./dist/src/runtime/index.js"
  },
  "files": [
    "dist/src",
    "dist/trajectory",
    "src",
    "starter",
    "trajectory/index.ts",
    "trajectory/src",
    "subagents/index.ts",
    "subagents/src",
    "subagents/README.md",
    "skills",
    "evals",
    "examples",
    "test/fixtures",
    "CHANGELOG.md"
  ],
  "scripts": {
    "build": "rm -rf dist && tsc -p tsconfig.json && cp -R starter/roles dist/starter/roles && cp -R trajectory/src/assets dist/trajectory/src/assets",
    "lint": "eslint .",
    "test": "npm run test:layout && npm run build && npm run test:widget && npm run test:run && npm run test:herdr && npm run test:subagents",
    "test:layout": "node --test --test-timeout=10000 --test-force-exit test/workspace-layout.test.mjs",
    "test:subagents": "tmp=$(mktemp -d); trap 'rm -rf \"$tmp\"' EXIT; PI_CODING_AGENT_DIR=\"$tmp\" node --test --test-timeout=30000 --test-force-exit subagents/test/index.test.mjs",
    "test:widget": "node --test --test-timeout=30000 --test-force-exit test/background-widget.test.mjs",
    "test:run": "files=${TEST_FILES:-$(find dist/test dist/trajectory/test -name '*.test.js' ! -name 'navigator.test.js')}; printf '%s\\n' $files | xargs -n1 -P20 sh -c 'tmp=$(mktemp -d); agent=$(mktemp -d); trap '\"'\"'rm -rf \"$tmp\" \"$agent\"'\"'\"' EXIT; TMPDIR=\"$tmp\" PI_CODING_AGENT_DIR=\"$agent\" env -u HERDR_ENV -u HERDR_PANE_ID -u HERDR_SOCKET_PATH -u HERDR_TAB_ID -u HERDR_WORKSPACE_ID node --expose-gc --test --test-concurrency=1 --test-timeout=120000 --test-force-exit --test-reporter=dot \"$1\"' sh",
    "test:herdr": "tmp=$(mktemp -d); trap 'rm -rf \"$tmp\"' EXIT; TMPDIR=\"$tmp\" env -u HERDR_ENV -u HERDR_PANE_ID -u HERDR_SOCKET_PATH -u HERDR_TAB_ID -u HERDR_WORKSPACE_ID node --expose-gc --test --test-concurrency=1 --test-timeout=120000 --test-force-exit --test-reporter=dot dist/test/navigator.test.js",
    "acceptance": "npm run build && TEST_FILES='dist/test/runtime-acceptance.test.js' npm run test:run",
    "evals": "npm run build && node dist/src/workflow-evals.js",
    "evals:ambient": "node -e \"if (process.env.PI_WORKFLOW_EVAL_AMBIENT !== '1') { console.error('Ambient Tier D evals are opt-in. Set PI_WORKFLOW_EVAL_AMBIENT=1 to run them.'); process.exit(1); }\" && npm run build && node dist/src/ambient-workflow-evals.js",
    "prepack": "npm run build && node ../../scripts/stage-core-changelog.mjs stage",
    "postpack": "node ../../scripts/stage-core-changelog.mjs clean"
  },
  "pi": {
    "extensions": [
      "./src/index.ts",
      "./starter/index.ts",
      "./subagents/index.ts",
      "./trajectory/index.ts"
    ]
  },
  "peerDependencies": {
    "@earendil-works/pi-ai": "*",
    "@earendil-works/pi-coding-agent": "*",
    "@earendil-works/pi-tui": "*",
    "typebox": "*"
  },
  "devDependencies": {
    "@earendil-works/pi-ai": "0.84.1",
    "@earendil-works/pi-coding-agent": "0.84.1",
    "@earendil-works/pi-tui": "0.84.1",
    "@eslint/js": "10.0.1",
    "@types/node": "24.12.4",
    "eslint": "10.0.3",
    "typescript": "5.9.3",
    "typescript-eslint": "8.63.0"
  },
  "engines": {
    "node": ">=22.19.0"
  },
  "license": "MIT",
  "dependencies": {
    "acorn": "^8.17.0",
    "minimatch": "^10.2.5"
  },
  "publishConfig": {
    "access": "public"
  }
}
