{
    "name": "@hotmeshio/hotmesh",
    "version": "0.29.1",
    "description": "Durable Workflow",
    "main": "./build/index.js",
    "types": "./build/index.d.ts",
    "homepage": "https://docs.hotmesh.io/",
    "publishConfig": {
        "access": "public"
    },
    "scripts": {
        "clean": "rimraf ./build",
        "build": "tsc --build tsconfig.json",
        "obfuscate": "ts-node scripts/obfuscate.ts",
        "clean-build": "npm run clean && npm run build",
        "clean-build-obfuscate": "npm run clean-build && npm run obfuscate",
        "docs": "typedoc && cp -R docs/hotmesh/* docs/ && rm -rf docs/hotmesh",
        "docs:clean": "rimraf ./docs/hotmesh && typedoc && cp -R docs/hotmesh/* docs/ && rm -rf docs/hotmesh",
        "lint": "eslint . --ext .ts",
        "lint:fix": "eslint . --fix --ext .ts",
        "start": "ts-node src/index.ts",
        "test": "vitest run",
        "test:watch": "vitest",
        "test:await": "vitest run tests/functional/awaiter/postgres.test.ts",
        "test:compile": "vitest run tests/functional/compile/index.test.ts",
        "test:connect": "vitest run tests/unit/services/connector",
        "test:connect:postgres": "vitest run tests/unit/services/connector/providers/postgres.test.ts",
        "test:connect:nats": "vitest run tests/unit/services/connector/providers/nats.test.ts",
        "test:durable": "vitest run tests/durable",
        "test:durable:postgres": "HMSH_LOGLEVEL=info vitest run tests/durable",
        "test:durable:basic": "HMSH_LOGLEVEL=info vitest run tests/durable/basic/postgres.test.ts",
        "test:durable:collision": "vitest run tests/durable/collision/postgres.test.ts",
        "test:durable:contention": "vitest run tests/durable/contention/postgres.test.ts",
        "test:durable:fatal": "vitest run tests/durable/fatal",
        "test:durable:goodbye": "HMSH_LOGLEVEL=debug vitest run tests/durable/goodbye/postgres.test.ts",
        "test:durable:interceptor": "HMSH_LOGLEVEL=info vitest run tests/durable/interceptor/postgres.test.ts",
        "test:durable:metadata": "HMSH_LOGLEVEL=info vitest run tests/durable/interceptor/postgres.test.ts -t 'argumentMetadata'",
        "test:durable:entity": "HMSH_LOGLEVEL=debug vitest run tests/durable/entity/postgres.test.ts",
        "test:durable:config": "HMSH_LOGLEVEL=debug vitest run tests/durable/config-parity/postgres.test.ts",
        "test:durable:agent": "HMSH_LOGLEVEL=debug vitest run tests/durable/agent/postgres.test.ts",
        "test:durable:hello": "HMSH_TELEMETRY=debug HMSH_LOGLEVEL=info vitest run tests/durable/helloworld/postgres.test.ts",
        "test:durable:hook": "vitest run tests/durable/hook/postgres.test.ts",
        "test:durable:interrupt": "vitest run tests/durable/interrupt/postgres.test.ts",
        "test:durable:loopactivity": "vitest run tests/durable/loopactivity/postgres.test.ts",
        "test:durable:nested": "vitest run tests/durable/nested/postgres.test.ts",
        "test:durable:pipeline": "vitest run tests/durable/pipeline/postgres.test.ts",
        "test:durable:retry": "vitest run tests/durable/retry/postgres.test.ts",
        "test:durable:retrypolicy": "vitest run tests/durable/retry-policy",
        "test:durable:sleep": "vitest run tests/durable/sleep/postgres.test.ts",
        "test:durable:signal": "vitest run tests/durable/signal/postgres.test.ts",
        "test:durable:readonly": "docker compose --profile readonly up -d --build && docker compose exec hotmesh-readonly npx vitest run --config tests/durable/readonly/vitest.config.mts",
        "test:durable:unknown": "vitest run tests/durable/unknown/postgres.test.ts",
        "test:durable:escalations": "HMSH_LOGLEVEL=info vitest run tests/durable/escalations",
        "test:durable:escalations-batch": "HMSH_LOGLEVEL=info vitest run tests/durable/escalations-batch",
        "test:durable:escalations-accumulate": "HMSH_LOGLEVEL=info vitest run tests/durable/escalations-accumulate",
        "test:durable:exporter": "HMSH_LOGLEVEL=info vitest run tests/durable/exporter",
        "test:durable:exporter:debug": "EXPORT_DEBUG=1 HMSH_LOGLEVEL=error vitest run tests/durable/basic/postgres.test.ts",
        "test:durable:codec": "vitest run tests/durable/codec/postgres.test.ts",
        "test:durable:credentials": "vitest run tests/durable/credentials/postgres.test.ts",
        "test:dba": "vitest run tests/dba",
        "test:cycle": "vitest run tests/functional/cycle",
        "test:functional": "vitest run tests/functional",
        "test:emit": "vitest run tests/functional/emit",
        "test:pending": "vitest run tests/functional/pending/index.test.ts",
        "test:codec": "vitest run tests/functional/codec/postgres.test.ts",
        "test:credentials": "vitest run tests/functional/credentials/postgres.test.ts",
        "test:hmsh": "vitest run tests/functional/postgres.test.ts",
        "test:hook": "vitest run tests/functional/hook/postgres.test.ts",
        "test:interrupt": "vitest run tests/functional/interrupt/postgres.test.ts",
        "test:parallel": "vitest run tests/functional/parallel/index.test.ts",
        "test:pipe": "vitest run tests/unit/services/pipe/index.test.ts",
        "test:quorum": "vitest run tests/functional/quorum/postgres.test.ts",
        "test:reclaim": "vitest run tests/functional/reclaim/postgres.test.ts",
        "test:redeploy": "vitest run tests/functional/redeploy/postgres.test.ts",
        "test:reporter": "vitest run tests/unit/services/reporter/index.test.ts",
        "test:reentrant": "vitest run tests/functional/reentrant/postgres.test.ts",
        "test:retry": "vitest run tests/functional/retry/postgres.test.ts",
        "test:retrypolicy": "vitest run tests/functional/retry-policy",
        "test:sequence": "HMSH_LOGLEVEL=info vitest run tests/functional/sequence/postgres.test.ts",
        "test:signal": "vitest run tests/functional/signal/postgres.test.ts",
        "test:status": "vitest run tests/functional/status/index.test.ts",
        "test:providers": "vitest run tests/functional/*/providers",
        "test:store:postgres": "vitest run tests/functional/store/providers/postgres/postgres.test.ts",
        "test:stream:postgres": "vitest run tests/functional/stream/providers/postgres/postgres.test.ts",
        "test:stream:nats": "vitest run tests/functional/stream/providers/nats/nats.test.ts",
        "test:sub:postgres": "vitest run tests/functional/sub/providers/postgres/postgres.test.ts",
        "test:sub:nats": "vitest run tests/functional/sub/providers/nats/nats.test.ts",
        "test:trigger": "vitest run tests/unit/services/activities/trigger.test.ts",
        "test:virtual": "vitest run tests/virtual",
        "test:unit": "vitest run tests/unit",
        "prove": "docker compose exec hotmesh npx vitest run tests/durable 2>&1 | tee /tmp/hmsh-durable.txt && grep -E 'FAIL|Tests |Files ' /tmp/hmsh-durable.txt | tail -5",
        "prove:escalations": "docker compose exec hotmesh npx vitest run tests/durable/escalations/postgres.test.ts 2>&1 | tee /tmp/hmsh-escalations.txt && grep -E 'FAIL|Tests |Files ' /tmp/hmsh-escalations.txt | tail -5",
        "prove:escalations-batch": "docker compose exec hotmesh npx vitest run tests/durable/escalations-batch 2>&1 | tee /tmp/hmsh-escalations-batch.txt && grep -E 'FAIL|Tests |Files ' /tmp/hmsh-escalations-batch.txt | tail -5",
        "prove:migrations": "docker compose exec hotmesh npx vitest run tests/durable/migrations/postgres.test.ts 2>&1 | tee /tmp/hmsh-migrations.txt && grep -E 'FAIL|Tests |Files ' /tmp/hmsh-migrations.txt | tail -5",
        "prove:events": "docker compose exec hotmesh npx vitest run tests/durable/events/postgres.test.ts 2>&1 | tee /tmp/hmsh-events.txt && grep -E 'FAIL|Tests |Files ' /tmp/hmsh-events.txt | tail -5",
        "prove:functional": "docker compose exec hotmesh npx vitest run tests/functional 2>&1 | tee /tmp/hmsh-functional.txt && grep -E 'FAIL|Tests |Files ' /tmp/hmsh-functional.txt | tail -5",
        "prove:all": "docker compose exec hotmesh npx vitest run tests/ 2>&1 | tee /tmp/hmsh-all.txt && grep -E 'FAIL|Tests |Files ' /tmp/hmsh-all.txt | tail -5",
        "prove:file": "f() { docker compose exec hotmesh npx vitest run \"$@\" 2>&1 | tee /tmp/hmsh-file.txt && grep -E 'FAIL|Tests |Files ' /tmp/hmsh-file.txt | tail -5; }; f"
    },
    "keywords": [
        "Invisible Infrastructure",
        "Headless Orchestration",
        "Durable Workflows",
        "Data in Motion",
        "Service Mesh",
        "HotMesh",
        "Postgres"
    ],
    "author": "luke.birdeau@gmail.com",
    "license": "SEE LICENSE IN LICENSE",
    "dependencies": {
        "@apidevtools/json-schema-ref-parser": "^10.1.0",
        "@opentelemetry/api": "^1.4.1",
        "cron-parser": "^4.9.0",
        "js-yaml": "^4.1.0",
        "ms": "^2.1.3",
        "nanoid": "^3.3.6",
        "pg-format": "^1.0.4",
        "winston": "^3.8.2"
    },
    "devDependencies": {
        "@types/node": "^20.19.33",
        "@types/pg": "^8.10.0",
        "@typescript-eslint/eslint-plugin": "^5.62.0",
        "@typescript-eslint/parser": "^5.62.0",
        "dotenv": "^16.3.1",
        "eslint": "^8.57.0",
        "eslint-config-prettier": "^9.1.0",
        "eslint-plugin-import": "^2.29.1",
        "eslint-plugin-prettier": "^5.1.3",
        "javascript-obfuscator": "^0.6.2",
        "nats": "^2.28.0",
        "openai": "^5.9.0",
        "pg": "^8.10.0",
        "rimraf": "^6.1.3",
        "terser": "^5.37.0",
        "ts-node": "^10.9.1",
        "typedoc": "^0.26.4",
        "typescript": "^5.0.4",
        "vitest": "^4.0.18"
    },
    "peerDependencies": {
        "nats": "^2.0.0",
        "pg": "^8.0.0"
    }
}
