fix: 重新应用工具异步执行 (被git checkout丢失)

This commit is contained in:
2026-06-23 20:39:51 +08:00
parent a3bdeba63a
commit 30d5b9b464
@@ -19,6 +19,11 @@ type PendingToolResult struct {
ToolName string `json:"tool_name"`
Result string `json:"result"`
Success bool `json:"success"`
SessionID string `json:"session_id,omitempty"`
UserID string `json:"user_id,omitempty"`
Platform string `json:"platform,omitempty"` // 来源平台
ChannelID string `json:"channel_id,omitempty"` // 来源频道
ChannelType string `json:"channel_type,omitempty"` // direct/group
}
// SessionEnrichmentStore is a thread-safe per-session cache for async