Skip to content
EmitKitDocs
Esc
↑↓navigate↵open⌘Jpreview

SDK 3 and the CLI (preview)

A typed TypeScript SDK with ask() and callback verification, and emitkit in your terminal.

  • @emitkit/js 3 (npm install @emitkit/js@next). Typed requests and responses; ask() sends a question and waits for the answer from someone’s phone; events.get, events.list, events.cancel, channels.list, identities.delete and me; verifyCallback() for callbacks; one EmitKitError with the API’s code; safe retries with an automatic idempotency key. No dependencies. See the SDK docs.
  • The CLI (preview, from its GitHub release; npx @emitkit/cli@next once it’s on npm). emitkit send, ask (waits, with exit codes for scripts), events, tail, channels, identify, with --json for agents. See CLI.

Was this page helpful?