Skip to content

feat(chat): show voice gateway calls and outside call requests - #13

Merged
cheetahbyte merged 2 commits into
mainfrom
voice-calls
Nov 10, 2026
Merged

cheetahbyte merged 2 commits into
mainfrom
voice-calls

Conversation

@cheetahbyte

Copy link
Copy Markdown
Contributor

Summary

Android bot chats show voice gateway calls and outside call requests, matching the web client.

  • Spoken messages: a spoken message reads "Spoken on a call" under its bubble.
  • Call markers: a call's start and end show as centred phone markers. A call the bot placed reads "{bot} called you" with its greeting.
  • Call requests: a call request is a card to approve or decline, and an outside call is one row that opens its goal, opening and live transcript. Pending requests are refreshed every five seconds, and running transcripts every two seconds.
  • Contract copy and generator: the contract copy adds the voice gateway. Generator 1.2.0 keeps undeclared keys of open objects in additionalProperties, so getOpenAPI() returns the whole document.

Server side: crumble-project/bot#133.

Evidence

CI hadn't run on the branch before this PR. The branch adds scripts/test_contract.py cases for the generator change.

Risk and rollback

Reversibility: Reversible

Blast radius: The bot chat and the generated contract client. Call features need a server with crumble-project/bot#133. Against an older server, nothing call-related shows.

A spoken message reads "Spoken on a call" under its bubble. A call's
start and end show as centred phone markers: a call the bot placed reads
"{bot} called you" with its greeting, and the "Call ended" notice that
wakes the bot shows the bot's reaction instead of a typed message.

Copy the bot contract with the voice gateway. The generator, now 1.2.0,
keeps undeclared keys of an open object in additionalProperties, so
getOpenAPI() returns the whole document.
Bot chats show a call request as a card to approve or decline, each
outside call as one card with its outcome, and the call's goal, opening,
and transcript.
@cheetahbyte
cheetahbyte merged commit 6a61d90 into main Nov 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant