{
  "name": "@zhushanwen/pi-subagent-workflow",
  "version": "8.1.1",
  "type": "module",
  "main": "index.ts",
  "description": "Unified subagent execution and multi-agent workflow orchestration for Pi — spawned-process agent runtime with sync/background modes, stateful workflow management with persistence, state machine, and execution tracing.",
  "keywords": [
    "pi-package",
    "extension",
    "subagent",
    "agent-runtime",
    "workflow",
    "orchestration",
    "multi-agent"
  ],
  "license": "MIT",
  "engines": {
    "node": ">=18"
  },
  "files": [
    "index.ts",
    "agents/",
    "skills/",
    "workflows/",
    "scripts/",
    "src/index.ts",
    "src/execution/",
    "src/injectors/",
    "src/orchestration/",
    "src/interface/",
    "src/shared/"
  ],
  "xyz-agent": {
    "role": "universal"
  },
  "pi": {
    "extensions": [
      "./index.ts"
    ],
    "skills": [
      "./skills"
    ],
    "agents": [
      "./agents"
    ]
  },
  "dependencies": {
    "ajv": "^8.20.0",
    "yaml": "^2.9.0",
    "@xyz-agent/extension-protocol": "0.5.1",
    "@zhushanwen/pi-extension-logger": "0.2.2",
    "@zhushanwen/pi-file-lock": "0.1.1"
  },
  "peerDependencies": {
    "@earendil-works/pi-ai": "^0.84.1",
    "@earendil-works/pi-coding-agent": "^0.84.1",
    "@earendil-works/pi-tui": "^0.84.1",
    "typebox": "*",
    "@zhushanwen/pi-pending-notifications": "0.3.4",
    "@zhushanwen/pi-structured-output": "5.0.2"
  },
  "peerDependenciesMeta": {
    "@earendil-works/pi-coding-agent": {
      "optional": true
    },
    "@zhushanwen/pi-structured-output": {
      "optional": true
    }
  },
  "devDependencies": {
    "@types/node": "^24.0.0",
    "@vitest/coverage-v8": "^4.1.9",
    "vitest": "^4.1.8"
  },
  "scripts": {
    "typecheck": "npx tsc --noEmit",
    "test": "vitest run"
  }
}