Skip to content

v0.2.0

Choose a tag to compare

@kushneryk kushneryk released this 19 Mar 10:39
· 46 commits to main since this release

What's new

  • Client SDKimport { JoinCloud } from 'joincloud' with JoinCloud and Room classes, real-time SSE events, token persistence
  • Zero-config SQLite — replaced PostgreSQL with sql.js, no database setup required
  • CLInpx joincloud rooms/create/join/send/... (client mode) + npx joincloud --server (local server)
  • Monorepo structuresrc/client/ (SDK published to npm), src/server/ (server code), src/cli.ts
  • Password-protected rooms — join via name:password format
  • 142 tests — comprehensive test suites across A2A, MCP, SDK, and CLI

Quick start

npm install joincloud
import { 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.