# /build Build the systant CLI binary. ## Instructions 1. Run type checking first: `bunx tsc --noEmit` 2. If types pass, build the binary: `bun build index.ts --compile --outfile dist/systant` 3. Report the binary size and location 4. If there are errors, show them clearly and suggest fixes ## Nix Build For NixOS deployment, the binary is built by Nix using: ```bash nix build .#systant ``` If you update dependencies (bun.lock), update the hash in `nix/package.nix`: ```bash nix build .#systant 2>&1 | grep 'got:' ``` ## Success Criteria - No TypeScript errors - Binary created at `dist/systant` - Binary is executable