{
  "name": "@minhduydev/pi-subagents",
  "version": "0.13.0",
  "description": "Herdr-native multi-repo delegation runtime for Pi with durable task state, foreground/background agents, worktree isolation, scoped claims, evidence and independent review gates, grouped completion, schedules, recovery, and SDK/tmux fallback. Runtime-only: agent profiles remain consumer-owned.",
  "type": "module",
  "main": "dist/task-runtime.js",
  "exports": {
    ".": {
      "types": "./dist/task-runtime.d.ts",
      "import": "./dist/task-runtime.js"
    },
    "./api": {
      "types": "./dist/api.d.ts",
      "import": "./dist/api.js"
    },
    "./events": {
      "types": "./dist/events.d.ts",
      "import": "./dist/events.js"
    },
    "./replay": {
      "types": "./dist/replay.d.ts",
      "import": "./dist/replay.js"
    }
  },
  "files": [
    "dist",
    "skills",
    "herdr-plugin",
    "docs",
    "implementation-notes.md",
    "README.md",
    "LICENSE"
  ],
  "scripts": {
    "build": "tsc",
    "typecheck": "tsc --noEmit",
    "test": "npm run test:base && npm run test:orchestration",
    "smoke": "tsx test/smoke.ts",
    "prepack": "npm run build",
    "postversion": "git push --follow-tags",
    "test:orchestration": "vitest run test/orchestration-*.test.ts test/learning-events.test.ts test/learning-handshake.test.ts test/phase5-*.test.ts",
    "test:package": "node test/package-install.mjs",
    "test:base": "tsx --test test/helpers.test.ts test/agent-tools.test.ts test/prompt.test.ts test/frontmatter.test.ts test/renderHint.test.ts test/polling.test.ts test/taskWidget.test.ts test/sdkWidgetEvents.test.ts test/sdkBackground.test.ts test/sdkPolling.test.ts test/widgetLifecycle.test.ts test/handles.test.ts test/terminalBackend.test.ts test/herdrBackend.test.ts test/exitSentinel.test.ts test/waitCompletion.test.ts test/restore.test.ts test/lifecycleCompletion.test.ts test/failure-diagnostics.test.ts test/taskTitle.test.ts test/modelSelection.test.ts test/herdr-retry.test.ts test/staleCtx.test.ts test/taskAdmission.test.ts test/taskCwd.test.ts test/taskLaunchAdmission.test.ts",
    "check": "npm run typecheck && npm test && npm run build && npm run test:package && npm audit --omit=dev",
    "prepublishOnly": "npm run check"
  },
  "keywords": [
    "pi",
    "pi-extension",
    "pi-package",
    "agent",
    "subagent",
    "task",
    "delegation",
    "orchestration",
    "herdr",
    "tmux",
    "background-tasks",
    "parallel-execution",
    "session-management"
  ],
  "license": "MIT",
  "engines": {
    "node": ">=22.19.0"
  },
  "peerDependencies": {
    "@earendil-works/pi-coding-agent": ">=0.84.0 <0.85.0",
    "@earendil-works/pi-tui": ">=0.84.0 <0.85.0",
    "@minhduydev/pi-core": "^0.3.0",
    "typebox": "1.3.7"
  },
  "dependencies": {
    "croner": "^9.1.0"
  },
  "devDependencies": {
    "@earendil-works/pi-coding-agent": "0.84.0",
    "@earendil-works/pi-tui": "0.84.0",
    "@minhduydev/pi-core": "file:../pi-core",
    "@types/node": "^20.0.0",
    "tsx": "^4.20.6",
    "typebox": "1.3.7",
    "typescript": "^5.0.0",
    "vitest": "^4.1.10"
  },
  "publishConfig": {
    "access": "public"
  },
  "overrides": {
    "postcss": "8.5.26"
  },
  "pi": {
    "extensions": [
      "./dist/task-runtime.js"
    ],
    "skills": [
      "./skills/pi-subagents"
    ],
    "replayPort": "./replay"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/MinhDuyDEV/pi-subagents.git"
  },
  "bugs": {
    "url": "https://github.com/MinhDuyDEV/pi-subagents/issues"
  },
  "homepage": "https://github.com/MinhDuyDEV/pi-subagents#readme"
}
