{
  "name": "@nowcrew/daemon",
  "version": "0.6.100",
  "type": "module",
  "description": "crew daemon — 运行在用户机器:拉起/管理 agent 进程,注入 crew CLI,归一化 runtime 事件",
  "license": "Apache-2.0",
  "bin": {
    "daemon": "./dist/main.js",
    "crew-daemon": "./dist/main.js",
    "nowwork-computer": "./dist/computer-main.js"
  },
  "files": [
    "dist"
  ],
  "engines": {
    "node": ">=22"
  },
  "publishConfig": {
    "access": "public"
  },
  "scripts": {
    "daemon": "pnpm --filter @nowcrew/cli build && tsx src/main.ts",
    "build": "tsc -p tsconfig.json",
    "prepublishOnly": "pnpm build && node ../scripts/daemon-release-artifact.mjs --strict-registry",
    "test": "vitest run",
    "test:release-critical": "vitest run test/automatic-daemon-installer.test.ts test/automatic-install-target.test.ts test/automatic-service-migration.test.ts test/computer-cli.test.ts test/computer-service.test.ts test/computer-setup-client.test.ts test/computer-setup-orchestration.test.ts test/computer-setup.test.ts test/daemon-release-version.test.ts test/daemon-update-controller.test.ts test/daemon-update-eligibility.test.ts test/daemon-updater.test.ts test/execution-protocol.test.ts test/machine-info.test.ts --maxWorkers=2 --minWorkers=1",
    "typecheck": "tsc --noEmit"
  },
  "dependencies": {
    "@agentclientprotocol/sdk": "1.2.1",
    "@nowcrew/cli": "0.4.17",
    "cross-spawn": "^7.0.6",
    "semver": "7.8.5",
    "smol-toml": "1.8.0",
    "ws": "^8",
    "yaml": "^2.8.1",
    "zod": "^3.23.0"
  },
  "optionalDependencies": {
    "koffi": "^2.9.0"
  },
  "devDependencies": {
    "@types/cross-spawn": "^6.0.6",
    "@types/node": "^22.0.0",
    "@types/semver": "7.7.1",
    "@types/ws": "^8",
    "tsx": "^4.19.0",
    "typescript": "^5.6.0",
    "vitest": "^2.1.0"
  }
}
