open-index/open-npm huggingface dataset:
npm package: @jertom/cocode-daemon
Description: CoCode daemon CLI for pairing a local repo with a CoCode room.
Latest version: 0.1.0

# @jertom/cocode-daemon

Repo-free CoCode daemon install and connect flow.

Run this from the project repo that belongs to your CoCode room:

```bash
npx -y @jertom/cocode-daemon@latest connect ROOM-CODE --pair 123456
```

If `npx` or `node` is missing on macOS with Homebrew available:

```bash
brew install node
```

Then rerun the CoCode command from your project repo.

Useful commands:

```bash
npx -y @jertom/cocode-daemon@latest connect ROOM-CODE --pair 123456
npx -y @jertom/cocode-daemon@latest logs ROOM-CODE
```

The daemon:
- validates that you are inside a Git repo
- checks the repo remote against the CoCode room repo
- pairs the workspace to the room
- writes `.cocode/` guidance and task files locally
- starts a background worker by default
- keeps logs on your machine under `~/.cocode/logs/`

Local development inside the CoCode repo can still use:

```bash
npm run setup:cli
```