Repository navigation
feat(chat): show voice gateway calls and outside call requests - #9
Merged
Merged
Conversation
scripts/contract.py --update DIRECTORY copies the contract files from a directory such as bot/openapi. Remove pin.json, the checksum manifest, release downloads, and the weekly update workflow, because bot no longer publishes contract releases. The CI check that generated code matches the contract stays.
A spoken message reads "Spoken on a call" under its bubble on iOS and
macOS. 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 that can be replied to.
apfelkern copies the bot contract with the voice gateway and carries the
new call field into the chat message.
Bot chats on iOS and macOS 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. On macOS, selecting an open job or call card again closes it.
The cache key covered only the Xcode project and Package.resolved, so a contract update restored an old cache, recompiled apfelkern's generated client on every run, and never saved a fresh cache. The iOS build on this branch hit the 5-minute timeout while still compiling. apfelkern's manifest and sources are now in the key, with a prefix fallback, and the build gets 10 minutes so the one cold build after a contract update fits.
This was referenced Nov 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bot chats on iOS and macOS show voice gateway calls and outside call requests, matching the web client.
scripts/contract.py --update DIRECTORY). Pins, checksum manifests, release downloads and the weekly update workflow are removed, because bot no longer publishes contract releases.Server side: crumble-project/bot#133.
Evidence
The
apfelkernworkflow passed on19d8a1c. The branch addsmacos/Tests/CrumbleTests/CallRequestTests.swift. The iOS and macOS workflows hadn't run on the branch before this PR.Risk and rollback
Reversibility: Reversible
Blast radius: The bot chat on iOS and macOS, and the contract update tooling. Call features need a server with crumble-project/bot#133. Against an older server, the new fields are absent and nothing call-related shows.