{
  "name": "pi-subagentura",
  "version": "3.4.2",
  "description": "Reusable agent workflows and observable, attachable sub-agents for the Pi coding agent",
  "author": "lmn451",
  "license": "MIT",
  "main": "src/subagent.ts",
  "exports": {
    ".": "./src/subagent.ts",
    "./workflow": {
      "types": "./types/workflow.d.ts"
    }
  },
  "type": "module",
  "keywords": [
    "pi-package",
    "pi",
    "pi-coding-agent",
    "subagent",
    "interactive-subagents",
    "agent",
    "multi-agent",
    "orchestrator",
    "orchestration",
    "agent-workflows",
    "agent-observability",
    "tmux",
    "zellij",
    "swarm",
    "crew"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/lmn451/pi-subagentura"
  },
  "homepage": "https://subagentura.tech",
  "bugs": {
    "url": "https://github.com/lmn451/pi-subagentura/issues"
  },
  "files": [
    "LICENSE",
    "ORCHESTRATOR_SYSTEM_PROMPT.md",
    "ORCHESTRATOR_V2_SYSTEM_PROMPT.md",
    "docs/workflows.md",
    "examples/workflows/README.md",
    "examples/workflows/*.mjs",
    "skills/ralplan",
    "types/workflow.d.ts",
    "src/ndjson.d.ts",
    "src/notifications.ts",
    "src/rendering.ts",
    "src/schemas.ts",
    "src/tool-guidance.ts",
    "src/artifact.ts",
    "src/artifact-poller.ts",
    "src/child-protocol.ts",
    "src/completion-turn.ts",
    "src/completion-presentation.ts",
    "src/delivery.ts",
    "src/completion-coordinator.ts",
    "src/completion-ledger.ts",
    "src/helpers.ts",
    "src/orchestrator-routing.ts",
    "src/orchestration-context.ts",
    "src/pi-sdk-compat.ts",
    "src/tools/in-process.ts",
    "src/tools/interactive.ts",
    "src/tools/orchestrator.ts",
    "src/interactive-tmux.ts",
    "src/interactive-supervisor-registration.ts",
    "src/interactive-supervisor-ui.ts",
    "src/interactive-lineage.ts",
    "src/spawn-tree-context.ts",
    "src/multiplexer.ts",
    "src/multiplexer-tmux.ts",
    "src/multiplexer-zellij.ts",
    "src/rehydrate.ts",
    "src/session-handlers.ts",
    "src/session-scope.ts",
    "src/subagent.ts",
    "src/subagent-artifact-cli.ts",
    "src/workflow.ts",
    "src/workflow-core.ts",
    "src/workflow-script.ts",
    "src/workflow-script.mjs",
    "src/workflow-script.d.mts",
    "src/workflow-worker.ts",
    "src/workflow-structured-output.ts",
    "src/workflow-worker-thread.mjs",
    "src/workflow-jobs.ts",
    "src/workflow-ui.ts",
    "src/workflow-tree-ui.ts",
    "src/workflow-picker-ui.ts",
    "src/workflow-tool.ts",
    "src/abortable-wait.ts",
    "src/cancel-all-flows.ts",
    "src/cancel-all-flows-registration.ts",
    "src/cancellation-snapshots.ts"
  ],
  "engines": {
    "node": ">=18.0.0"
  },
  "publishConfig": {
    "access": "public"
  },
  "pi": {
    "extensions": [
      "./src/subagent.ts"
    ]
  },
  "scripts": {
    "test": "vitest run --exclude tests/tmux.integration.test.ts --exclude tests/zellij.integration.test.ts --exclude 'tests/terminal-e2e/**'",
    "test:unit": "vitest run --exclude tests/tmux.integration.test.ts --exclude tests/zellij.integration.test.ts --exclude tests/pi-session-delivery.integration.test.ts --exclude 'tests/terminal-e2e/**'",
    "test:pi": "vitest run tests/pi-session-delivery.integration.test.ts",
    "test:tmux": "vitest run tests/tmux.integration.test.ts",
    "test:zellij": "vitest run tests/zellij.integration.test.ts",
    "coverage:check": "vitest run --coverage --exclude tests/tmux.integration.test.ts --exclude tests/zellij.integration.test.ts --exclude 'tests/terminal-e2e/**'",
    "typecheck": "tsc --noEmit",
    "format": "prettier --write .",
    "format:check": "prettier --check .",
    "hooks:install": "simple-git-hooks",
    "pack:check": "npm pack --dry-run",
    "test:tui": "vitest run --testTimeout=60000 tests/terminal-e2e/",
    "demo:tui": "bash tests/terminal-e2e/recording/demo.sh",
    "record:tui": "bash tests/terminal-e2e/recording/record-webm.sh"
  },
  "simple-git-hooks": {
    "pre-commit": "npx lint-staged",
    "pre-push": "npm run format:check"
  },
  "lint-staged": {
    "*.{ts,tsx,js,jsx,mjs,cjs,json,md,yml,yaml,css,html}": "prettier --write"
  },
  "peerDependencies": {
    "@earendil-works/pi-agent-core": ">=0.80.6",
    "@earendil-works/pi-ai": ">=0.80.6",
    "@earendil-works/pi-coding-agent": ">=0.80.6",
    "@earendil-works/pi-tui": ">=0.80.6",
    "typebox": "*"
  },
  "devDependencies": {
    "@earendil-works/pi-agent-core": "0.80.6",
    "@earendil-works/pi-ai": "0.80.6",
    "@earendil-works/pi-coding-agent": "0.80.6",
    "@earendil-works/pi-tui": "0.80.6",
    "@types/node": "^26.0.0",
    "@vitest/coverage-v8": "^4.1.0",
    "lint-staged": "^17.0.7",
    "prettier": "^3.9.0",
    "simple-git-hooks": "^2.13.1",
    "typescript": "^7.0.2",
    "vitest": "^4.1.0"
  },
  "dependencies": {
    "acorn": "^8.14.0",
    "is-path-inside": "^4.0.0",
    "ndjson": "^2.0.0"
  }
}
