Add MCP media tools, real-time subscriptions, and UI

Major MCP extension: adds tools for media content retrieval, OCR, real-time message subscription with webhook push, chat activity analysis, user profile, and shared file search. Implements persistent subscription management, new prompt templates, and real-time resource endpoints. Updates UI to display active MCP subscriptions, enhances CSV export with MessageID, and documents all new features in the changelog. Removes Dockerfile and docker-compose.yml.
This commit is contained in:
lx1056758714-glitch
2025-12-18 21:37:55 +08:00
parent ec41b0d2be
commit 428dabe05a
19 changed files with 1254 additions and 99 deletions

View File

@@ -15,6 +15,7 @@ type DataSource interface {
// 消息
GetMessages(ctx context.Context, startTime, endTime time.Time, talker string, sender string, keyword string, limit, offset int) ([]*model.Message, error)
GetMessage(ctx context.Context, talker string, seq int64) (*model.Message, error)
// 联系人
GetContacts(ctx context.Context, key string, limit, offset int) ([]*model.Contact, error)