Commit Graph

47 Commits

Author SHA1 Message Date
mlogclub 8646b002c1 feat: add calendar scheduling feature for agent teams
- Implemented FindCalendarSchedules method in agentTeamScheduleService to retrieve schedules within a specified time range.
- Added new API endpoint fetchAgentTeamScheduleCalendar to fetch schedules for the calendar view.
- Created ScheduleCalendar component to display agent team schedules in a calendar format with drag-and-drop functionality for moving and resizing schedules.
- Updated EditDialog component to support deleting schedules and handling default values for new entries.
- Enhanced DashboardAgentTeamSchedulesPage to toggle between calendar and list views, and to load calendar data based on selected week.
- Added tests for FindCalendarSchedules to ensure correct schedule retrieval and validation of time ranges.
2026-04-29 09:23:54 +08:00
mlogclub 14e3df64f1 feat: add customer session refresh functionality and improve session management
- Introduced RealtimeCustomerSessionRefreshPayload and RealtimeCustomerSessionRefreshEvent types for handling session refresh events.
- Updated ws_service to verify customer session and handle session refresh notifications.
- Enhanced API client to manage customer session tokens and expiration.
- Implemented customer session validation and storage in session storage.
- Added functions to exchange and ensure customer sessions.
- Updated IM real-time connection to include customer session tokens in WebSocket requests.
- Modified SDK and widget configurations to support external IDs and user tokens.
2026-04-28 23:00:22 +08:00
mlogclub 909854cd03 feat(notification): add dashboard notification center 2026-04-28 19:20:38 +08:00
mlogclub 4ec529e860 feat: add user token secret management for channels
- Implemented user token secret generation and retrieval in channel service.
- Added ResetUserTokenSecret method to reset the user token secret for channels.
- Updated channel configuration parsing to include user token secret.
- Enhanced WebSocket service to utilize user token secret for external info retrieval.
- Modified dashboard channel edit component to support user token secret display and reset functionality.
- Introduced API endpoint for resetting user token secret.
- Updated IM and SDK configurations to include user token.
- Added tests for user token verification logic.
2026-04-28 10:15:15 +08:00
mlogclub 3a9bc4914a refactor: remove Subject field from Conversation model and related logic, replace with CustomerName 2026-04-27 19:22:40 +08:00
mlogclub b3ef55b04e refactor: remove ExternalSource and ExternalID from Conversation model and related services, update references to use ChannelID instead 2026-04-27 19:04:10 +08:00
mlogclub 73b78a817d refactor: remove ExternalType from CustomerIdentity and related structures 2026-04-27 18:40:25 +08:00
mlogclub 1bb4608051 feat: add ChannelID to conversation model and update related services and responses 2026-04-27 17:59:23 +08:00
mlogclub cd9de63860 refactor: remove WeChat MP OAuth handling and related configurations 2026-04-27 16:30:58 +08:00
mlogclub 2220dcb0cb refactor: simplify WeChat MP OAuth handling and update channel configuration structure 2026-04-27 16:01:00 +08:00
mlogclub fbabb174d2 feat: add WeChat MP channel support and enhance widget configuration
- Updated output path for generated enums to reflect new structure.
- Enhanced ChannelController to handle WeChat MP OAuth authorization and callback.
- Introduced WechatMPChannelConfig DTO for WeChat MP specific configurations.
- Modified WidgetConfigResponse to include channel type and external source.
- Added enums for WeChat MP channel type and external source.
- Implemented OAuth flow for WeChat MP, including state signing and verification.
- Updated frontend forms to accommodate WeChat MP configurations.
- Enhanced API interactions to support WeChat MP external ID and source.
- Updated generated enums to include WeChat MP external source.
2026-04-27 15:42:04 +08:00
mlogclub 12f66bcf27 add wxwork kf account management functionality 2026-04-27 11:43:34 +08:00
mlogclub f5da8de49d refactor: remove welcomeText field from WebChannelConfig and related components 2026-04-24 22:27:30 +08:00
mlogclub ea94837db2 feat: add web channel configuration support and update widget response structure 2026-04-24 22:24:19 +08:00
mlogclub a262a865a0 refactor: move WxWorkKFChannelConfig to dto package and update references 2026-04-24 21:43:39 +08:00
mlogclub 06b9c58e55 refactor(role): remove sortNo from role creation and update related logic 2026-04-23 14:06:10 +08:00
mlogclub c84870b968 feat: add fallback mode for AI agents and update knowledge base handling
- Introduced AIAgentFallbackMode with options for NoAnswer and SuggestRetry.
- Updated AI agent edit component to include fallback mode selection.
- Modified API types and payloads to accommodate fallback mode.
- Removed deprecated KnowledgeFallbackMode and related logic from knowledge base.
- Adjusted knowledge retrieval and response handling to utilize new fallback logic.
- Updated tests to reflect changes in fallback mode handling for AI agents.
2026-04-18 13:36:44 +08:00
mlogclub 797bee65f9 refactor: remove remark field from AIAgent and related components 2026-04-18 13:03:59 +08:00
mlogclub c9a763024c feat(skill): implement restore functionality for Skill Definitions 2026-04-17 15:54:09 +08:00
mlogclub 9d76d5d505 feat(message): enhance message rendering and payload handling with signed URLs 2026-04-17 11:53:25 +08:00
mlogclub 76b846f913 feat: remove unused AgentRunGraphSummary type and related logic from services and UI 2026-04-14 23:36:44 +08:00
mlogclub 12fd382abb feat: add customer online status to conversation response and update UI accordingly 2026-04-14 20:28:48 +08:00
mlogclub e4cec52661 feat: remove priority field from SkillDefinition and related services 2026-04-14 17:50:33 +08:00
mlogclub ccdb04e9aa feat: remove priority field from skill definition and related services 2026-04-14 17:44:06 +08:00
mlogclub aa7f94e08f feat: add support for Graph Tools in AIAgent model and related services 2026-04-14 15:10:50 +08:00
mlogclub 8d560bb6bd feat: introduce ToolSourceType enum and refactor related code to use it 2026-04-14 15:05:38 +08:00
mlogclub 54f5a684c3 feat: add recommended action, risk level, and ticket draft readiness to AgentRunLogResponse and related components 2026-04-12 14:12:04 +08:00
mlogclub c3ac4c3e28 feat: add AgentRunGraphSummary and related functionality for graph summary retrieval 2026-04-12 14:08:16 +08:00
mlogclub dce9c5eb25 feat: rename SkillAllowedToolCodes to ToolWhitelist and ToolCodes to ExposedToolCodes for consistency across responses 2026-04-12 10:17:27 +08:00
mlogclub 44b20813fe feat: rename AllowedToolCodes to ToolWhitelist across skill-related models and requests for consistency 2026-04-12 10:16:03 +08:00
mlogclub 06abbbeeb6 feat: rename Content field to Instruction across skill-related models and requests for consistency 2026-04-12 10:00:47 +08:00
mlogclub fb4078fc75 feat: add AI serving status to conversation management and update related components 2026-04-11 13:55:11 +08:00
mlogclub 97f0df17b6 feat: implement skill debug resume functionality and related API endpoints 2026-04-10 17:27:44 +08:00
mlogclub 1087ddca44 feat: add debug dialog and related functionality for skill debugging 2026-04-10 16:52:45 +08:00
mlogclub b20278de29 feat: add HITL status fields and update agent run log handling 2026-04-10 16:45:52 +08:00
mlogclub 023ba802e4 feat: add Graph Tool code and handoff reason to agent run log model and related components 2026-04-10 16:23:25 +08:00
mlogclub c1d42be1fc feat: remove fallback mode and max AI reply rounds from AIAgent model and related components 2026-04-10 16:08:17 +08:00
mlogclub d953625a2b feat: add Graph Tool tracing and logging support in agent run logs 2026-04-10 15:47:58 +08:00
mlogclub e7a600b7d5 feat: add auto-injection flag for tools and filter auto-injected tools in UI 2026-04-10 15:41:02 +08:00
mlogclub 4722caab37 feat: implement tool search tracing and logging in agent run logs 2026-04-10 15:04:02 +08:00
mlogclub 1370e4b675 feat: enhance AI agent functionality with tool management and logging improvements
- Added AllowedToolCodes field to Context for managing tool access.
- Introduced ResumeSource in aiReplyTraceData to track resume points.
- Enhanced logging with additional fields: PlannedSkillName, SkillRouteTrace, InterruptType, ResumeSource, and FinalStatus.
- Implemented functions to parse and resolve allowed tool codes for agents and skills.
- Refactored skill definition creation and update logic to streamline request handling.
- Updated MCP tool catalog to include source type and integrated built-in tools.
- Improved UI components to display additional tool information and enhance user experience.
2026-04-10 14:43:57 +08:00
mlogclub 92490d7faf Add MCP tool catalog functionality and validation
- Implement AnyCatalog method in MCPController to list MCP tools with detailed information.
- Introduce MCPToolCatalogResponse struct for tool catalog responses.
- Create ToolCatalogService to handle tool listing and validation of tool codes.
- Enhance skill definition validation to include tool code validation against the catalog.
2026-04-09 15:24:34 +08:00
mlogclub dbd1c5fe66 Refactor MCP tool handling by introducing tool code normalization and parsing, enhancing request and response structures for AIAgentMCPTool 2026-04-09 13:49:03 +08:00
mlogclub 03c1131006 Enhance skill debugging and response structure by adding skill name and allowed tool codes, and refactor related data handling 2026-04-09 13:38:34 +08:00
mlogclub 28d18ab6c0 Implement skill debugging functionality and refactor skill execution flow 2026-04-09 11:58:04 +08:00
mlogclub eb9cd78646 Refactor skill execution and definition handling to support content-based execution and enhance skill definition structure 2026-04-09 11:42:40 +08:00
mlogclub efe801b8bf Init 2026-04-09 10:01:23 +08:00