Skip to main content

Beeper

@gklijs/beeperv2026.10.18.1· MIT· 1mo agoBEHAVIORSWORKFLOWSACCEPTED WARNINGS
01README

Integrate the Beeper Desktop local API with swamp: probe account health, list chats and messages, send messages from workflows, and introspect the access token.

02Behaviors1
@gklijs/beeperv2026.10.18.1beeper.ts
fn health()
Check that the Beeper Desktop API is reachable and summarize account connectivity
fn listChats(limit?: number, maxChats?: number, accountIDs?: array, cursor?: string, direction?: enum)
List recent chats across all Beeper accounts, newest first
ArgumentTypeDescription
limit?numberChats per page (Beeper maximum is 200).
maxChats?numberOverall cap across pages; sets `truncated` when reached.
accountIDs?arrayLimit to specific account IDs.
cursor?stringOpaque pagination cursor.
direction?enumPagination direction used with `cursor`.
fn listMessages(chatID?: string, maxMessages?: number, cursor?: string, direction?: enum)
Read recent messages from a Beeper chat
ArgumentTypeDescription
chatID?stringChat to read; falls back to globalArguments.defaultChatID.
maxMessages?numberOverall cap across pages; sets `truncated` when reached.
cursor?stringOpaque pagination cursor.
direction?enumPagination direction used with `cursor`.
fn sendMessage(chatID?: string, text: string, replyToMessageID?: string)
Send a text message to a Beeper chat
ArgumentTypeDescription
chatID?stringDestination chat; falls back to globalArguments.defaultChatID.
textstringMessage body.
replyToMessageID?stringMessage ID to reply to.
fn checkToken()
Introspect the Beeper access token and report its status and expiry
fn searchMessages(query: string, maxMessages?: number, chatIDs?: array, accountIDs?: array, sender?: string, dateAfter?: string, dateBefore?: string, cursor?: string, direction?: enum)
Search messages across chats via /v1/messages/search (literal word match)
ArgumentTypeDescription
querystringLiteral word to search for.
maxMessages?numberOverall cap across pages (API returns max 20 per page).
chatIDs?arrayLimit to specific chat IDs.
accountIDs?arrayLimit to specific account IDs.
sender?string"me", "others", or a user ID.
dateAfter?stringISO-8601 lower bound.
dateBefore?stringISO-8601 upper bound.
cursor?stringOpaque pagination cursor.
direction?enumPagination direction used with `cursor`.
fn broadcast(chatIDs: array, text: string, replyToMessageID?: string, queueOnFailure?: boolean)
Send the same text to multiple chats; transient failures are queued for flushQueue
ArgumentTypeDescription
chatIDsarrayDestination chats (max 50 per call).
textstringMessage body sent to every chat.
replyToMessageID?stringMessage ID to reply to (same value used for every chat).
queueOnFailure?booleanQueue chats that fail with a transient error for later flushQueue.
fn queueMessage(chatID?: string, text: string, replyToMessageID?: string)
Queue a message in the outbox for later delivery via flushQueue
ArgumentTypeDescription
chatID?stringDestination chat; falls back to globalArguments.defaultChatID.
textstringMessage body.
replyToMessageID?stringMessage ID to reply to.
fn flushQueue(maxFlush?: number)
Attempt delivery of queued outbox messages (pass pending from the outbox resource)
ArgumentTypeDescription
maxFlush?numberMaximum queued messages to attempt per call.

Resources

health(7d)— Account connectivity snapshot from the Beeper Desktop API
chats(7d)— Most recent chats across all Beeper accounts
messages(30d)— Recent messages read from one Beeper chat
message(90d)— A message sent through Beeper
token(7d)— Access-token introspection result
search(7d)— Cross-chat message search results
broadcast(30d)— Multi-chat broadcast result
outbox(30d)— Retry queue for messages that failed with transient errors
03Workflows1
@gklijs/beeper-poll-alerts3f6a1c2e-7b4d-4e8f-9a0c-5d2e6f7a8b9c

Poll a Beeper chat for new messages, search across chats for a keyword, forward a summary to the on-call chat, and flush any queued retries. Runnable documentation for @gklijs/beeper: shows the listMessages-then-search-then-send wiring and the flushQueue retry step.

poll-alerts
1.read-latest${{ inputs.beeperModel }}.listMessages— Read the latest messages from the alert chat.
2.search-keywords${{ inputs.beeperModel }}.searchMessages— Search across chats for the alert keyword.
3.forward${{ inputs.beeperModel }}.sendMessage— Forward the summary to the on-call chat.
4.flush-retries${{ inputs.beeperModel }}.flushQueue— Deliver queued messages from earlier transient failures.
04Previous Versions1
2026.10.17.1MIT
05Stats
A
100 / 100
Downloads
9
Archive size
18.3 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository2/2earned

07Platforms