{
  "name": "@threadbase-sh/streamer",
  "version": "1.22.2",
  "description": "PTY session management, WebSocket streaming, and REST API server for Claude Code conversations",
  "license": "MIT",
  "author": "Ronen Mars",
  "homepage": "https://github.com/RonenMars/threadbase-streamer#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/RonenMars/threadbase-streamer.git"
  },
  "bugs": {
    "url": "https://github.com/RonenMars/threadbase-streamer/issues"
  },
  "keywords": [
    "claude",
    "claude-code",
    "pty",
    "websocket",
    "terminal",
    "streamer",
    "threadbase"
  ],
  "type": "module",
  "main": "dist/index.cjs",
  "module": "dist/index.js",
  "types": "dist/index.d.ts",
  "bin": {
    "threadbase-streamer": "dist/cli.cjs"
  },
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "require": "./dist/index.cjs"
    }
  },
  "files": [
    "dist"
  ],
  "publishConfig": {
    "access": "public"
  },
  "engines": {
    "node": ">=18"
  },
  "scripts": {
    "build": "tsup && node -e \"const{cpSync}=require('fs');cpSync('src/db/migrations','dist/migrations',{recursive:true});cpSync('src/db/pg-migrations','dist/pg-migrations',{recursive:true})\"",
    "dev": "tsup --watch",
    "pretest": "npm rebuild better-sqlite3",
    "test": "vitest run",
    "test:verbose": "vitest run --reporter=verbose",
    "test:watch": "vitest",
    "lint": "tsc --noEmit && npx biome check .",
    "format": "npx biome format --write .",
    "check": "npx biome check --write .",
    "prepare": "patch-package",
    "postinstall": "node -e \"try{require('fs').chmodSync(require('path').join(require.resolve('node-pty'),'..','..','prebuilds',process.platform+'-'+process.arch,'spawn-helper'),0o755)}catch{}\"",
    "prepublishOnly": "npm run build",
    "test:contracts": "vitest run __tests__/contracts/",
    "test:e2e": "vitest run __tests__/e2e/",
    "migrate": "tsx scripts/migrate.ts",
    "migrate:projects": "tsx scripts/migrate-projects.ts",
    "db:validate": "tsx scripts/validate-db.ts",
    "update-schema": "tsx scripts/update-schema.ts",
    "update-schema:mobile": "tsx scripts/update-schema.ts --mobile",
    "update-schema:desktop": "tsx scripts/update-schema.ts --desktop",
    "update-schema:shared": "tsx scripts/update-schema.ts --shared",
    "deploy": "scripts/deploy.sh deploy",
    "deploy:force": "scripts/deploy.sh deploy --force",
    "deploy:rollback": "scripts/deploy.sh rollback",
    "deploy:status": "scripts/deploy.sh status",
    "deploy:healthcheck": "scripts/deploy.sh healthcheck",
    "deploy:linux": "scripts/deploy-linux.sh deploy",
    "deploy:linux:force": "scripts/deploy-linux.sh deploy --force",
    "deploy:linux:rollback": "scripts/deploy-linux.sh rollback",
    "deploy:linux:status": "scripts/deploy-linux.sh status",
    "deploy:linux:healthcheck": "scripts/deploy-linux.sh healthcheck",
    "deploy:windows": "pwsh scripts/deploy.ps1 deploy",
    "deploy:windows:force": "pwsh scripts/deploy.ps1 deploy -Force",
    "deploy:windows:rollback": "pwsh scripts/deploy.ps1 rollback",
    "deploy:windows:status": "pwsh scripts/deploy.ps1 status",
    "deploy:windows:healthcheck": "pwsh scripts/deploy.ps1 healthcheck",
    "deploy:fly": "scripts/deploy-fly.sh",
    "fly:secrets": "scripts/fly-secrets.sh",
    "fly:secrets:list": "scripts/fly-secrets.sh --list && scripts/fly-secrets.sh --prod --list"
  },
  "dependencies": {
    "@hono/node-server": "^2.0.5",
    "@hono/node-ws": "^1.3.1",
    "@temporalio/client": "^1.18.1",
    "@threadbase-sh/agent-types": "^1.0.0",
    "@threadbase-sh/scanner": "^0.8.2",
    "@xterm/headless": "^6.0.0",
    "better-sqlite3": "^12.9.0",
    "chokidar": "^5.0.0",
    "commander": "^15.0.0",
    "date-fns": "^4.4.0",
    "dotenv": "^17.4.2",
    "heic-convert": "^2.1.0",
    "hono": "^4.12.25",
    "node-pty": "^1.1.0",
    "pg": "^8.20.0",
    "pino": "^10.3.1",
    "pino-http": "^11.0.0",
    "qrcode-terminal": "^0.12.0",
    "semver": "^7.8.0",
    "tar": "^7.5.16",
    "tweetnacl": "^1.0.3",
    "tweetnacl-util": "^0.15.1",
    "ws": "^8.18.0",
    "yaml": "^2.9.0",
    "zod": "^4.4.3"
  },
  "devDependencies": {
    "@biomejs/biome": "^2.4.12",
    "@semantic-release/changelog": "^6.0.3",
    "@semantic-release/commit-analyzer": "^13.0.1",
    "@semantic-release/exec": "^7.1.0",
    "@semantic-release/git": "^10.0.1",
    "@types/better-sqlite3": "^7.6.13",
    "@types/heic-convert": "^2.1.1",
    "@types/node": "^26.0.1",
    "@types/pg": "^8.20.0",
    "@types/qrcode-terminal": "^0.12.2",
    "@types/semver": "^7.7.1",
    "@types/tar": "^7.0.87",
    "@types/ws": "^8.5.0",
    "ajv": "^8.18.0",
    "ajv-formats": "^3.0.1",
    "conventional-changelog-conventionalcommits": "^9.3.1",
    "patch-package": "^8.0.1",
    "semantic-release": "^25.0.5",
    "tsup": "^8.0.0",
    "tsx": "^4.21.0",
    "typescript": "^6.0.3",
    "vitest": "^3.2.6"
  },
  "overrides": {
    "@hono/node-ws": {
      "@hono/node-server": "$@hono/node-server"
    }
  }
}
