Repository navigation
feat(feishu): qualify quoted native voice audio for Channel playback - #35
Merged
Merged
Conversation
Refs BotHarness/DeepSeekBot#1023 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
13 tasks
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.
Requested by Vain
Refs BotHarness/DeepSeekBot#1023 · Core PR · follows #31 (video)
Why the change
Let the external Consumer play a Lark voice message that a user quotes while mentioning the App, the same way #31 did for video.
Special things to note
sourceVoiceAudioopt-in and thesource-voice-audio-checkedcapability; small blast radius — only the opted-in parent-resource path inexternal-files.mjs; consumers that do not passsourceVoiceAudiosee no change.file_keyas oneaudio/unknownattachment (voice.opus) plusvoice: { transcript: 'unavailable', itemId, durationMs? }. Lark has no transcript, so none is claimed.audiomessage was quoted by a real Human mention; the Core Channel showed the voice with duration 4916 ms, the original read back byte-identical (156874cb…), and Chromium played the Host-decoded WAV with advancing time and seek.Change outline
Tests: Feishu suite 791/791; new cases cover opt-in, mention requirement, exact-parent re-check, invalid duration, missing duration, other chat.
🤖 Generated with Claude Code