Vibelive

io.github.pooriaarab由 GitHub 账号 pooriaarab 发布v0.2.2更新于 Oct 24, 2026

Multiplayer for agentic coding terminals: live cursors, presence, chat.

发布方自己的服务:AI Benchmark Index

已验证STDIO仅桌面开发者工具沟通与协作

概览

AI 生成的概览

让助手启动一个共享终端会话,包装编码代理命令并返回 WebSocket 加入地址,供局域网协作者接入。

可以做什么
Vibelive 提供两个 MCP 工具:host_session 启动包装某条命令的 host 与 relay,并返回 ws:// 加入地址;session_status 列出活动会话的 id、地址、参与者和当前 driver。输出通过本地 WebSocket 分发,带有在线状态、聊天和单一写入令牌,因此同一时间只有一名参与者能向被包装的进程写入。host 是有序输出日志的唯一作者,后加入者会收到快照加尾部内容。
适用场景
适合开发者在不共享屏幕的情况下,围绕 Claude Code、Codex、Gemini 等终端编码代理结对协作:一人驱动,其他人观看、聊天并申请控制权。它面向本地或局域网会话,不适用于持久 tmux 会话或大型加密中继。
运行要求
以 stdio 方式作为本地进程运行,从 npm 安装 vibelive,用 npx 或全局安装启动。需要 Node 18 或更高版本。未声明账号、API 密钥、环境变量或请求头。主机需在局域网上通过明文 WebSocket 端口可达,端口可用 --port 指定。
安装前请注意
会话通过主机上的明文、未加密 WebSocket 共享,端到端加密的中继分发尚未提供,因此任何能访问加入地址的人都可能读取会话内容。driver 可以向被包装的代理发送输入,交出写入令牌即等于让另一名参与者控制该进程。会话共享受同意账本约束,且可撤销。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Vibelive,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

vibelive

[npm version] [Downloads/month] [License: MIT]

Package · Setup · API · Compare

vibelive is an open-source terminal collaboration tool for developers who share agentic coding sessions. It wraps a process, shares output over local/LAN WebSockets, and lets one driver send input at a time. It ships as a CLI, Node.js library, and agent server in the Vibe Suite.

Install

bash
npm install -g vibelive

Requires Node.js 18 or later. Includes TypeScript declarations and three direct runtime dependencies.

Share your first process

In one terminal, start a process that echoes each input line:

bash
vibelive host --port 4474 --name ada -- node -e "process.stdin.on('data', b => process.stdout.write(b))"

In another terminal, join it:

bash
vibelive join ws://localhost:4474 --name bee

Type hello in the host terminal. Both terminals print hello; the joiner also shows presence and control state. No credentials or environment variables are required. vibelive does not load .env files; wrapped agents inherit the host environment. For LAN peers, use the host's printed LAN address. Transport is plain WebSocket with no built-in authentication or encryption.

In the joiner, type /drive. On the host, type /release to hand over control. The joiner can then send /type ping and see ping in both terminals. Use /quit on the host to end the session.

How it works

text
Host terminal -> wrapped child process -> ordered output log                       ^                         |                       |                         v                 one driver <- host WebSocket relay -> participants                                  |                    |                              control queue        chat + presence

The host owns process output and control state. Late joiners receive retained output followed by live updates. The relay binds to 0.0.0.0 by default, so reachable LAN clients can connect.

Why it exists

Pairing on a coding agent needs a clear answer to who can type next. vibelive adds a cooperative driver queue and chat around a wrapped command. Tools such as tmux and tmate serve broader terminal workflows; vibelive focuses on process sharing with agent-accessible session management.

Compare

Checked 2026-10-14 against tmux and tmate.

Propertyvibelivetmuxtmate
ScopeShared process with driver arbitrationTerminal multiplexerTerminal sharing
Transport herePlain local/LAN WebSocketLocal sessions; remote access arranged separatelySSH-based sharing
InterfaceCLI, Node.js library, agent toolsTerminal commandsTerminal commands
Process handlingChild-process pipesTerminal sessionstmux-derived terminal sessions

Coverage

Surface or integrationStatusScope
WebSocket / wsImplementedHost relay, client, output, chat, presence, control
Claude CodeGeneric command wrapperRequires separately installed claude; no dedicated adapter
OpenAI CodexGeneric command wrapperRequires separately installed CLI; no dedicated adapter
Google Gemini CLIGeneric command wrapperRequires separately installed CLI; no dedicated adapter
Pi / Grok workflowsGeneric command wrapperPipes-compatible commands; no dedicated adapter
KimiGeneric command wrapperRequires separately installed CLI; no dedicated adapter
MCPImplementedTwo stdio tools
Cursor updatesProtocol onlyLibrary send/receive; no rich CLI cursor renderer
Encrypted remote relayRoadmapNot shipped
Full terminal emulationRoadmapNo pseudoterminal support

There is no harness adapter registry: the host executes an arbitrary command through Node.js child-process pipes. Local tests cover host, relay, client, arbitration, protocol-facing behavior, and MCP. Specific agent CLIs are not certified here.

Common use cases

  1. Claude Code pairs: share process output and hand off the driver role on a trusted LAN.
  2. Codex reviewers: observe a wrapped command while the host controls input.
  3. Gemini CLI mentors: keep discussion in chat and send agent input through /type.
  4. Node.js teams: wrap a line-based script to test collaboration without AI credentials.
  5. Agent builders: start sessions through the Model Context Protocol (MCP) and inspect participants and driver state.

Features

  • Single driver: first-in, first-out control queue; non-driver input is rejected.
  • Output replay: sequence-numbered retained history plus live output.
  • Chat: separate participant messages and process input.
  • Presence: participant names and the current driver.
  • Consent: relay output sharing checks vibe-core's share:session scope.
  • Lifecycle: host exit closes sessions; MCP disconnect cleans up its hosted processes.

Runtime surfaces

text
vibelive host [--port N] [--name name] -- command [args...]vibelive join ws://host:port [--name name]vibelive mcpvibelive --help / -hvibelive --version / -v

All wrapped-command flags go after --. --port 0 selects an available port. The join parser also accepts --port, but does not use it; the URL controls the destination. Join names default to USER, then USERNAME, then anon.

Interactive commandHostJoiner
/driveRequest controlRequest control
/releaseRelease controlRelease control
/quitEnd sessionLeave session
/type textTreated as process input if driverSend process input if driver
/helpTreated as process input if driverPrint slash-command help
Other textProcess input if driverChat

vibelive mcp starts stdio MCP with exactly two tools:

ToolInputResult
host_sessionCommand array; optional name and portSession ID and WebSocket join URL
session_statusOptional URL filterActive sessions, participants, and driver

Library example

Install locally with npm install vibelive, then save this as demo.mjs and run node demo.mjs:

js
import { createHost, createRelay, joinSession } from 'vibelive';const host = createHost({ command: ['node', '-e', "setInterval(() => console.log('hello'), 200)"] });const relay = await createRelay({ host: '127.0.0.1', port: 0, hostHandle: host });const client = joinSession({ url: relay.url, name: 'ada' });client.onOutput(text => process.stdout.write(text));await client.id;await new Promise(resolve => setTimeout(resolve, 600));client.close();host.kill();await relay.close();

The script prints hello and closes its process and relay.

Delivery and behavior limits

The shipped transport is local/LAN, plain WebSocket. There is no built-in participant authentication, TLS, or end-to-end encryption. Use it only where session access and network exposure match your intended participants. Output can include anything the wrapped command prints. The host uses pipes, not a pseudoterminal (PTY). Resize is a no-op; raw-mode and full-screen agent interfaces may not work. Output history defaults to 5,000 chunks in memory. Older entries are evicted; sessions do not persist after host exit. Cursor messages exist in the protocol, but the CLI renders presence rather than animated cursors. The package provides no managed relay, remote fan-out scale guarantee, or durable chat service.

Integration guides

  • Claude Code process sharing: vibelive host -- claude; install and authenticate Claude Code separately.
  • Other coding agents: pass the installed command after --; check that it can operate through pipes.
  • LAN participation: use the printed ws://<LAN-address>:<port> URL with vibelive join.
  • MCP host configuration:
json
{"mcpServers":{"vibelive":{"command":"vibelive","args":["mcp"]}}}

Status

Package version 0.2.3 is pre-1.0; interfaces can change. The CLI's source version still reports 0.2.2. Planned work includes PTY wrapping, richer cursors, and an encrypted self-hosted remote relay. Public case studies are not yet published. No public documentation site is configured; setup guidance is self-contained here. Use GitHub issues for support; repository access may be required. For contributions, run npm ci, npm run typecheck, npm run build, and npm test.

FAQ

Which integrations are verified?

vibelive tests its local process and WebSocket behavior. Named coding agents use a generic wrapper rather than dedicated, credential-verified adapters.

Does vibelive provide a managed relay?

vibelive runs its relay on the host machine. The package does not provide a managed remote relay service.

How is vibelive different from tmux?

vibelive shares one wrapped process with a driver queue and chat. tmux manages terminal sessions, windows, and panes.

How is vibelive different from tmate?

vibelive uses a local/LAN WebSocket and explicit driver arbitration. tmate provides SSH-based terminal sharing.

Is vibelive end-to-end encrypted?

vibelive ships plain WebSocket transport. An encrypted remote relay is roadmap work.

Can two people type into the agent at once?

vibelive allows one driver to send input. Other participants can chat and queue for control.

Does vibelive work with full-screen terminal apps?

vibelive uses child-process pipes without PTY semantics. Raw-mode, resize, and full-screen terminal behavior are limited.

Do late joiners see earlier output?

vibelive sends retained output history before live updates. The default rolling buffer keeps up to 5,000 chunks.

License

MIT.

来源:README.md,提交 ba692f8

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.2.2最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Aibenchmarkindex 集成