The TypeScript SDK for building third-party plugins that run on metatell, a browser-based virtual space platform.
Plugins use this package to access what metatell exposes to the plugin runtime: user information, microphone, camera, screen share, avatar, waypoints, and metrics.
This package targets the in-browser plugin runtime. It is not an SDK for standalone use on Node.js.
npm install @urth/metatell-sdk
With pnpm:
pnpm add @urth/metatell-sdk
import { getWaypoints, user } from "@urth/metatell-sdk";
const waypoints = getWaypoints();
const userId = user.id;
console.log({ userId, waypoints });
The SDK is distributed as ESM and is meant to run from plugins executing in the browser.
The full API reference is hosted at sdk.metatell.io/web/.