mirror of
https://github.com/chenhg5/cc-connect.git
synced 2026-07-03 12:28:10 +08:00
## P1 fixes - core/engine_test: fix stubCompactProgressPlatform.BuildRichCard signature The last parameter was still `elapsed time.Duration` (old interface) after #1204 changed RichCardSupporter to `statusFooter string`. The mismatch caused the stub to silently NOT satisfy the interface at runtime, so all tests using it were bypassing the rich-card path entirely. - platform/slack: warn when session_scope=thread without window_per_session Thread-scoped sessions require per-session isolation at the agent level. When using tmux, window_per_session=true must also be set or concurrent threads will share a single pane and their output will interleave. ## P2 fixes - core/relay: warn on unknown visibility mode instead of silent fallback normalizeRelayVisibility previously fell back to "full" silently for unrecognised values. Now logs a structured Warn with valid options listed. - platform/feishu: map common video formats to FileTypeMp4 (Media message) CLI accepted .webm/.mov/.avi/.mkv as video, but detectFeishuFileType only recognised .mp4, sending others as generic file downloads. Expanded the detection to cover all common video MIME types and extensions so they render as native Feishu video player bubbles. Playback compatibility (e.g. webm/mkv) depends on the Feishu client platform. - agent/{claudecode,qoder}: surface root bypass-downgrade warning to IM user When running as root, bypassPermissions (Claude) and yolo (Qoder) modes are silently downgraded. Users were confused why the agent kept asking for permissions. Added StartupWarner interface (core/interfaces.go) so the engine can emit a one-time IM notification after session start. Co-authored-by: root <root@UYQQVGRAEKQKNQP> Co-authored-by: Cursor <cursoragent@cursor.com>