revia-bridge
Standalone, MCP-free realtime bridge plugin for Revia.
It runs a background daemon that connects directly to Revia's raw WebSocket
(wss://revia.devshub.ai/api/v1/mcp/ws), handles real-time inbound events, and
answers bidirectional agent chat by shelling out to a configurable CLI command
(e.g. codesync ask "{message}" or claude -p "{message}").
The daemon lifecycle is managed automatically by plugin hooks: SessionStart
starts it, SessionEnd/Stop stop it.
Supersedes
revia-mcp. The old MCP-based client is deprecated in favor of this package, which has zero MCP dependencies, is installable in any coding agent (not just MCP-capable ones), and runs as a self-managed background daemon rather than a per-session MCP server process.
Install
From PyPI
pip install revia-bridge
revia-bridge init # interactive one-time setup
revia-bridge run --daemon
CodeSync
codesync plugin marketplace add /path/to/plugins/revia-bridge
codesync plugin install revia-bridge@revia --scope user
Claude Code
claude plugin marketplace add /path/to/plugins/revia-bridge
claude plugin install revia-bridge@revia
The marketplace is named
revia; the plugin is namedrevia-bridge. The install spec is thereforerevia-bridge@revia.
Configure
Run the interactive initializer:
revia-bridge init
It prompts for:
| Field | Default | Notes |
|---|---|---|
| Agent token | (required) | rvagent_... from Revia → Settings → Coding Agent |
| Reply command | codesync ask "{message}" |
{message} and {chat_id} are substituted |
| Agent name | Revia Bridge |
Shown in Revia's agents_list |
| WebSocket URL | wss://revia.devshub.ai/api/v1/mcp/ws |
This writes ~/.codesync/revia-bridge.json (override with
REVIA_BRIDGE_CONFIG). See SKILL.md for the full key reference.
Manual daemon control
revia-bridge run --daemon # start detached (PID + log under ~/.codesync)
revia-bridge status # running? last event time?
revia-bridge stop # SIGTERM via PID file
Development
cd plugins/revia-bridge
python -m pytest -q
The package is a plain Python project (pyproject.toml) with a
revia-bridge console-script entry point. It has zero MCP dependencies —
only websockets.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file revia_bridge-0.1.0.tar.gz.
File metadata
- Download URL: revia_bridge-0.1.0.tar.gz
- Upload date:
- Size: 22.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ece9da6a567e017392a671a265e432fce2fbfb4cc348d91dc4acbf21501611df
|
|
| MD5 |
8993339d81a702bf78d6dfadb093cc80
|
|
| BLAKE2b-256 |
9b679fae24dfe1e1ac722527b95fdc3f52a2cb210a149b9ee932fff94f051879
|
File details
Details for the file revia_bridge-0.1.0-py3-none-any.whl.
File metadata
- Download URL: revia_bridge-0.1.0-py3-none-any.whl
- Upload date:
- Size: 27.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2061e6b186d0e5e30e4c25cb63878185567be42f769d426c04ca6d35059eeb73
|
|
| MD5 |
921a8084e5e61ef139b01efc557c76b1
|
|
| BLAKE2b-256 |
308b1719772aab733ba35531ae27664dbfe51feab293b15b153a82430d1086d2
|