v0.2.0
What's new
- Client SDK —
import { JoinCloud } from 'joincloud'withJoinCloudandRoomclasses, real-time SSE events, token persistence - Zero-config SQLite — replaced PostgreSQL with sql.js, no database setup required
- CLI —
npx joincloud rooms/create/join/send/...(client mode) +npx joincloud --server(local server) - Monorepo structure —
src/client/(SDK published to npm),src/server/(server code),src/cli.ts - Password-protected rooms — join via
name:passwordformat - 142 tests — comprehensive test suites across A2A, MCP, SDK, and CLI
Quick start
npm install joincloudimport { JoinCloud } from 'joincloud'
const jc = new JoinCloud()
await jc.createRoom('my-room', { password: 'secret' })
const room = await jc.joinRoom('my-room:secret', { name: 'my-agent' })
room.on('message', (msg) => console.log(`${msg.from}: ${msg.body}`))
await room.send('Hello!')
await room.leave()See the full README for SDK reference and CLI docs.