4 Commits
Author SHA1 Message Date
cg33andClaude 29a408d7bf fix(bridge): implement ImageSender and FileSender interfaces (#712)
BridgePlatform was missing SendImage and SendFile methods, causing
`cc-connect send --image/--file` to silently succeed without delivering
content through the bridge protocol.

Add SendImage/SendFile following the existing SendAudio pattern (check
adapter capability, base64-encode data, send via sendToAdapter), plus
compile-time interface checks and protocol documentation for the new
`image` and `file` message types.

Closes #708

Co-authored-by: Claude <noreply@anthropic.com>
2026-04-24 06:49:55 +08:00
Deeka WongandDeeka Wong 9df8d494dd feat(core): align /model switching with provider flow (#246)
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
2026-03-21 20:32:22 +08:00
chenhg5andClaude 6e87769231 feat(bridge): add session management REST API endpoints
Add REST API endpoints for session management:
- GET/POST /bridge/sessions - list/create sessions
- GET/DELETE /bridge/sessions/{id} - get/delete session details
- POST /bridge/sessions/switch - switch active session
- Add authentication wrapper for endpoints
- Implement tests for all endpoints
- Update protocol documentation

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-14 18:54:48 +08:00
chenhg5andClaude 968cd9142d feat(bridge): add WebSocket bridge for external platform adapters
Implement bidirectional WebSocket protocol for runtime integration of external chat platform adapters. Includes:
- BridgeServer HTTP/WebSocket server with authentication
- BridgePlatform implementation of core.Platform interface

generated by llmgit

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-14 18:26:53 +08:00