{
  "name": "@adhdev/daemon-standalone",
  "version": "1.0.0",
  "description": "ADHDev standalone daemon — embedded HTTP/WS server for local dashboard",
  "main": "dist/index.js",
  "bin": {
    "adhdev-standalone": "./dist/index.js",
    "adhdev": "./dist/index.js",
    "adhdev-mcp": "./vendor/mcp-server/index.js"
  },
  "scripts": {
    "preinstall": "node -e \"const major=Number.parseInt(process.versions.node.split('.')[0],10); if (process.platform === 'win32' && major >= 24 && !process.env.ADHDEV_BOOTSTRAP && !process.env.CI) { console.error('\\n✗ ADHDev standalone does not currently support Node.js 24+ on Windows.\\n  Install Node.js 22.x on Windows, then retry.\\n'); process.exit(1); }\"",
    "build": "tsup",
    "bundle:web": "node -e \"const{cpSync,mkdirSync,rmSync}=require('fs');rmSync('public',{recursive:true,force:true});mkdirSync('public',{recursive:true});cpSync('../web-standalone/dist','public',{recursive:true});console.log('bundled web-standalone → public/ (clean)')\"",
    "bundle:vendor": "node ./scripts/vendor-runtime-deps.mjs",
    "dev": "tsx src/index.ts",
    "start": "node dist/index.js",
    "test": "node --import tsx --test test/*.test.ts && vitest run",
    "typecheck": "tsc --noEmit -p tsconfig.json",
    "prepublishOnly": "cd ../.. && npm run build -w packages/session-host-daemon && npm run build -w packages/mcp-server && npm run build -w packages/daemon-core && npm run build -w packages/web-standalone && cd packages/daemon-standalone && npm run bundle:web && npm run bundle:vendor && npm run build"
  },
  "files": [
    "dist",
    "public",
    "vendor",
    "README.md"
  ],
  "publishConfig": {
    "access": "public"
  },
  "keywords": [
    "adhdev",
    "standalone",
    "local-dashboard"
  ],
  "author": "vilmire",
  "license": "AGPL-3.0-or-later",
  "dependencies": {
    "@adhdev/ghostty-vt-node": "*",
    "@adhdev/session-host-core": "*",
    "@xterm/addon-serialize": "^0.14.0",
    "@xterm/xterm": "^6.0.0",
    "chalk": "^5.3.0",
    "conf": "^13.0.0",
    "node-pty": "^1.2.0-beta.12",
    "open": "^10.1.0",
    "ws": "^8.19.0"
  },
  "devDependencies": {
    "@types/node": "^22.0.0",
    "@types/ws": "^8.18.1",
    "playwright": "^1.60.0",
    "tsup": "^8.2.0",
    "tsx": "^4.19.0",
    "typescript": "^5.5.0",
    "vitest": "^4.1.3"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/vilmire/adhdev.git",
    "directory": "packages/daemon-standalone"
  },
  "homepage": "https://github.com/vilmire/adhdev#readme"
}
