Skip to main content

Crate vs_cli

Crate vs_cli 

Source
Expand description

vs — the vibesurfer CLI.

The binary at src/main.rs is the CLI front-end; this library holds the reusable pieces (client, active-session, spawn, command dispatch) so integration tests can construct flows without forking the binary.

Re-exports§

pub use client::Client;
pub use client::Response;

Modules§

active_session
Read/write the active-session pointer file.
caller
Stable per-caller key. Identifies the process tree that invoked vs so different shells / agents get different auto-sessions.
client
Synchronous local-socket client for the daemon wire protocol.
commands
clap-derived command tree and dispatch.
mcp
vs mcp — full MCP (Model Context Protocol) server for vibesurfer.
paths
Filesystem layout known to the CLI.
serve
vs serve — host the daemon in this process.
skill_install
vs skill install — install vibesurfer into every detected agent.
spawn
Daemon auto-spawn.

Functions§

version
Returns the crate version (matches the workspace version).