HSX_E_DEV_NO_WORKERS

No worker modules found.

What this error means

`hs-x dev invoke` found no src/workers/*.ts modules to load.

When this error stops a command, hs-x exits with code 1. With --json, the failure is reported as a structured error whose code field is HSX_E_DEV_NO_WORKERS — stable to match on in scripts and agents.

Likely causes

  • Run from outside an HS-X project root
  • The project has no worker capabilities yet

How to fix it

  • Run from the project root, or pass --cwd <dir>
  • Add a worker with defineWorker(...) under src/workers/

Still stuck? Re-run the command with --debug for the wire-level detail, or hs-x doctor to check accounts, link state, and connectivity in one pass.