feat(cli): --version, status, doctor commands (v0.1.3)
Three Tier-2 polish commands for debugging + discoverability: - claudemesh --version / -v: print CLI version (baked from package.json at build time via Bun JSON import). - claudemesh status: WS-probe each joined mesh's broker, report reachability per mesh. Exit 1 if any broker unreachable. - claudemesh doctor: run 6 preconditions — Node>=20, claude on PATH, MCP registered, hooks registered, config file parses + chmod 0600, mesh keypairs validate. Each check has a pass/fail + fix hint. Exit 0 if all pass. Help text now leads with version (\"claudemesh v0.1.3 —\"). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -87,7 +87,7 @@ export async function startMcpServer(): Promise<void> {
|
||||
const config = loadConfig();
|
||||
|
||||
const server = new Server(
|
||||
{ name: "claudemesh", version: "0.1.2" },
|
||||
{ name: "claudemesh", version: "0.1.3" },
|
||||
{
|
||||
capabilities: {
|
||||
experimental: { "claude/channel": {} },
|
||||
|
||||
Reference in New Issue
Block a user