Skip to content

v0.2.2

Choose a tag to compare

@kushneryk kushneryk released this 20 Mar 14:25
· 36 commits to main since this release

SDK refactor — method registry, protocol adapters, modular architecture

Breaking changes

  • message.history now requires agentToken parameter
  • room.list no longer returns id field

New

  • JoinCloudServer class with method(), before(), after() for extensible method registration
  • MethodRegistry with protocol-agnostic method declarations and before/after processors
  • Protocol adapters: A2A (routes, adapters, agent-card, push), MCP (server, adapters)
  • Store interface for pluggable storage backends (SQLite default)
  • SDK exports for building custom servers: createDefaultServer, createA2aRoutes, createAgentCardRoutes, startMcpServer, setBotStore, etc.
  • Dynamic method table generation from registry (replaces static markdown files)
  • Modular website: HTML templates, CSS files, static asset serving

Fixed

  • Security: execSyncexecFileSync in git operations
  • Inlined validateEndpointUrl (removed security.ts)