Skip to main content

Local controller daemon for Neruva Cockpit -- the dashboard for agentic AI. Spawns and tails Claude Code sessions, streams them to your browser at app.neruva.io. No CLI knowledge required after install.

Project description

neruva-control

Local controller daemon for Neruva Cockpit — the dashboard for agentic AI. Spawns and tails Claude Code sessions on your machine, streams them to your browser. No CLI knowledge required after install.

Install

pip install neruva-control
neruva-control-install

The installer:

  1. Generates a random auth token and stores it at ~/.config/neruva/control.token (mode 0600 on Unix).
  2. Registers a background service so the daemon starts on login (launchd on macOS, systemd-user on Linux, Task Scheduler on Windows).
  3. Starts the daemon listening on 127.0.0.1:7331 (loopback only).
  4. Prints a one-time URL like https://app.neruva.io/cockpit#token=<TOKEN> — open it once and the browser remembers your machine.

How it works

[browser at app.neruva.io]
       ↕  WebSocket (loopback :7331, token-authed)
[neruva-control daemon]
   ├─ HTTP/WS server on 127.0.0.1:7331
   ├─ Spawns: claude --headless --output-format stream-json
   ├─ Tails subprocess stdout, broadcasts events to browser
   └─ Forwards user steering input → subprocess stdin
       ↕  HTTPS (existing Api-Key auth)
[api.neruva.io substrate]

The daemon binds to 127.0.0.1 only — your sessions never leave your machine. The browser at app.neruva.io connects to your local daemon via a loopback WebSocket. The auth token is the shared secret between daemon and browser; only the browser tab you linked has it.

Commands

Command What it does
neruva-control-install One-shot install (generates token, registers service, prints link URL).
neruva-control start Run the daemon foreground (used by service).
neruva-control status Show install + daemon health.
neruva-control link Print the link URL again (for re-link or new browser).
neruva-control stop Stop the daemon.

Requirements

  • Python ≥3.10
  • Claude Code installed and on $PATH (the daemon spawns it)
  • A Neruva account at neruva.io (free tier works)

What gets recorded

Every session's events (prompts, tool calls, file edits, shell commands, MCP calls) are captured and posted to your Neruva substrate via the Records API. You can recall them anytime via the Neruva MCP tools or the Cockpit memory browser.

What it doesn't record: IDE state, browser tabs, other apps. The daemon only sees what flows through Claude Code.

License

MIT — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

neruva_control-0.1.0.tar.gz (23.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

neruva_control-0.1.0-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

Details for the file neruva_control-0.1.0.tar.gz.

File metadata

  • Download URL: neruva_control-0.1.0.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for neruva_control-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c2421fea02d818f1820151a6d8ca4d28e30f405b6c28868d55e71bf27f8a1c7c
MD5 5fbedcd2dd8e77de325413f86b3155a6
BLAKE2b-256 6b739ab6508af9bff2aa4f6c6388506edfe62543a5ea5c7d458f76b7e480322f

See more details on using hashes here.

File details

Details for the file neruva_control-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: neruva_control-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 26.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for neruva_control-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cb42c7526505c10e15129aba5cb7c1265980acc1e553963fa5c416ba659f7b87
MD5 3e2009204b776b4260e11c2c6608decb
BLAKE2b-256 ba3c2d85ff7d547fb22ab2693b36da35cf47a06fba68e19475336e805a7e34de

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page