ReadonlyarchiveNet archive CRUD and sync status.
ReadonlyassignmentsNet assignment operations (assign, unassign, bulk, temporary).
ReadonlycommsCommunication operations (ACARS alerts, client disconnect).
ReadonlymetricsShard metrics, Prometheus export, audit log, and debug.
ReadonlynetsVoice net management (create, rename, remove).
ReadonlyoperationsOperation lifecycle, feature flags, and auto-assignment rules.
ReadonlypresetsOperation preset management (save, apply, remove).
ReadonlypublicPublic net feature management (show, hide, remove, restore).
ReadonlystatusShard health, status, roster, and embed endpoints.
ReadonlystreamEvent streaming (SSE) and public token management.
ReadonlywebhooksWebhook registration and management.
Whether the event stream is currently connected.
Opens the SSE event stream and begins dispatching events to registered handlers.
Call this after registering your .on() handlers.
Optionalreconnect: ReconnectOptionsOptions controlling auto-reconnection behavior.
Closes the SSE event stream. REST methods remain usable. Will not trigger automatic reconnection.
Remove a previously registered handler.
Remove a lifecycle event handler.
Register a type-safe handler for a specific event type.
Register a handler for stream lifecycle events.
Star Comms Shard Owner API Client.
A framework-agnostic TypeScript client for interacting with a Star Comms shard. Uses the native
fetchAPI (Node 18+, Bun, Deno, or browser).Supports event-emitter style event handling with Type Safety:
Example