Skip to content

Accept native Companion chat bridge without changing welcomes - #1

Draft
JosephJagger wants to merge 1 commit into
mainfrom
fix/native-companion-chat-20261013
Draft

JosephJagger wants to merge 1 commit into
mainfrom
fix/native-companion-chat-20261013

Conversation

@JosephJagger

Copy link
Copy Markdown
Owner

HomeDouyinCollector 0.3.0 can deliver genuine native Companion chat, but the panel rejects its companion-memory-bridge source as an unsupported native action. With one entry and one chat packet, diagnostics report two packets, one entry, zero chats and one rejection. This change accepts the native chat contract and displays the chat while preserving its provenance.

Acceptance is restricted to Type 1, Companion process name, CollectorSource=companion-memory-bridge, CollectorTransport=native-publish-message and NativeMethod=WebcastChatMessage. Existing identity/freshness checks remain. Bridge entries are rejected; welcome eligibility still requires the existing companion-log entry source. No voice coordinator, welcome timing or production configuration changes are included.

Validation: 14 focused live-interactions tests pass, including display without executing markup or sending a welcome, and rejection of wrong transport/method/entry/stale frames. Web TypeScript check passes. An offline comparison using the actual captured chat packet reproduces old-parser native rejection and confirms new-parser chat acceptance with welcome eligibility false. The saved packet was not replayed into the deployed page; no real message text or IDs are committed.

Deployment note: the user's deployed welcome behavior is newer than this main checkout. Apply this small parser/test/docs change to the actual deployment branch; do not replace the deployed app wholesale with this older main snapshot. The current live page has not been updated and real post-deployment display still needs verification.

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