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.2.0.tar.gz (31.1 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.2.0-py3-none-any.whl (34.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: neruva_control-0.2.0.tar.gz
  • Upload date:
  • Size: 31.1 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.2.0.tar.gz
Algorithm Hash digest
SHA256 4578881aefdfcda511d8f4636780dd7630b0139fec0fdc9e102a760e99bc100c
MD5 e9d51027f6b640faca4ca5154aa97371
BLAKE2b-256 3a977c2bcc18db9ec6ec0f7d61c5a2ad27abe8d04fbe2dce449510d6aeec37b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: neruva_control-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 34.5 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc63ee2056a7fe77f5bddec3d2a7c9d732da82297fff5c211fb10b056807c2ef
MD5 c8e486e5679331523ca5096f1b1f4d62
BLAKE2b-256 d3b89255b95665d37d4e2f323032fddeaacc994ca835ab1484f204ee48006662

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