spectrum-ts
v12.8.0
Published
Bring agents to any interface — unified messaging SDK for TypeScript.
Readme
spectrum-ts
Bring agents to any interface — a unified messaging SDK for TypeScript.
spectrum-ts is the batteries-included package: it bundles the runtime
(@spectrum-ts/core) plus the
standard provider set.
bun add spectrum-tsimport { Spectrum } from "spectrum-ts";
import { imessage } from "spectrum-ts/providers/imessage";
const app = await Spectrum({
providers: [imessage.config()],
});Lean installs
If you only use a couple of platforms and want a smaller install, depend on the runtime and just the providers you need instead of this metapackage:
bun add @spectrum-ts/core @spectrum-ts/imessageimport { Spectrum } from "@spectrum-ts/core";
import { imessage } from "@spectrum-ts/imessage";| Platform | Package |
|----------|---------|
| iMessage | @spectrum-ts/imessage |
| Local iMessage | @spectrum-ts/imessage-local (explicit install only) |
| Telegram | @spectrum-ts/telegram |
| Slack | @spectrum-ts/slack |
| WhatsApp Business | @spectrum-ts/whatsapp-business |
| Terminal | @spectrum-ts/terminal |
See the documentation for the full guide.
