Commit Graph

44 Commits

Author SHA1 Message Date
mlogclub 96fde7aaab refactor: enhance realtime message handling and conversation state management 2026-04-25 17:24:26 +08:00
mlogclub 0b22c003b0 refactor: implement centralized realtime connection manager and enhance message handling logic 2026-04-25 16:27:58 +08:00
mlogclub e109d19ea9 refactor: replace custom message merging logic with centralized mergeImMessagesByIdAsc function 2026-04-25 12:26:45 +08:00
mlogclub 2c884c13cf refactor: update WebSocket API routes for improved clarity and structure 2026-04-25 10:50:23 +08:00
mlogclub 96168dc6fb Refactor API routes and controllers for improved structure and clarity
- Updated API route structure to remove versioning and consolidate endpoints.
- Refactored routing in `server.go` to use a unified `/api` prefix for all controllers.
- Added new `ChannelController`, `ConversationController`, and `MessageController` to handle specific API functionalities.
- Removed deprecated `OpenImContextMiddleware` and related logic.
- Enhanced channel validation logic in `ChannelService` and `ChannelRepository`.
- Updated frontend API calls to align with new endpoint structure.
2026-04-25 10:27:43 +08:00
mlogclub 14f220619f feat: add host actions visibility control in KefuChatShell 2026-04-24 22:40:34 +08:00
mlogclub 6ffbbb04ae refactor: clean up apiBaseUrl handling in config merging 2026-04-24 22:32: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 92fae381a4 fix: handle optional messages in ConversationDetailDialog and API response 2026-04-24 21:37:50 +08:00
mlogclub c945f1e73d feat: add minified SDK build script and update widget script references 2026-04-24 19:43:59 +08:00
mlogclub 92fd571f28 feat: add Kefu widget and related components for customer service integration 2026-04-24 19:17:07 +08:00
mlogclub 4bcfd36620 feat: implement Kefu message list component and related functionality
- Add KefuMessageList component for displaying chat messages with support for loading older messages and scrolling behavior.
- Introduce ImWidgetConfig type and fetchImWidgetConfig function for retrieving widget configuration.
- Create im-realtime module for managing WebSocket connections and handling real-time events.
- Implement kefu-host-bridge for communication between the chat widget and the host application.
- Establish kefu-chat store using Zustand for managing chat state, including message handling, socket connection, and notifications.
- Enhance message handling with support for image uploads and attachments.
2026-04-24 14:34:21 +08:00
mlogclub a9275c2d4a 调整目录 2026-04-24 12:01:30 +08:00
mlogclub a402773693 remove unused code 2026-04-19 20:31:07 +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 c07e588030 update web to dashboard 2026-04-15 17:20:57 +08:00
mlogclub 62416baabc Refactor API endpoints to use /api/dashboard instead of /api/console
- Updated all relevant API functions in agent.ts, company.ts, customer-contact.ts, customer.ts, dashboard.ts, ticket-config.ts, and ticket.ts to point to the new /api/dashboard paths.
- Ensured that all request methods and payload structures remain unchanged to maintain existing functionality.
2026-04-15 17:12:30 +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 2d5f229828 feat: add realtime connection status handling and display in conversations page 2026-04-14 20:19:16 +08:00
mlogclub 0f3d110018 feat: implement websocket URL creation and enhance websocket connection logging 2026-04-14 19:59:49 +08:00
mlogclub e4cec52661 feat: remove priority field from SkillDefinition and related services 2026-04-14 17:50:33 +08:00
mlogclub d30cf5f234 feat: integrate MarkdownIt for rendering messages and update styles in message components 2026-04-14 15:11:00 +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 945d0d38cf feat: reorder AI serving option in conversation filter options 2026-04-11 14:02:09 +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 399c29002b Refactor skill and agent editing to integrate MCP tool catalog, enhancing tool selection and management 2026-04-09 15:36:20 +08:00
mlogclub efe801b8bf Init 2026-04-09 10:01:23 +08:00