@essentialai/cogent-bridge
Version:
Cogent Bridge — cross-agent comms for Claude Code, OpenAI Codex and Slack. Codex users: install with `curl -fsSL https://cogent.tools/install.sh | sh`, then start with `cogent-codex` for real-time peer wake.
14 lines • 718 B
TypeScript
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
/**
* Register the cogent_join_session MCP tool.
*
* Joins an existing cloud bridge channel using its name and shared secret.
* Only available when COGENT_ENDPOINT is configured.
* A name the relay does not know answers CHANNEL_NOT_FOUND, whose text names the next call
* (COG-81) — it used to be an INTERNAL_ERROR wrapping the relay's JSON, with no next action.
* After joining, persists credentials locally and reinitializes
* the cloud backend so runtime HttpClient and CloudWsClient use
* the new token/sessionId.
*/
export declare function registerJoinSessionTool(server: McpServer): void;
//# sourceMappingURL=join-session.d.ts.map