Commit Graph

119 Commits

Author SHA1 Message Date
mlogclub 87e033c70e refactor: update styling in KefuMessageEditor for improved consistency and clarity 2026-04-25 11:35:50 +08:00
mlogclub 9d9c83a72c refactor: update styling for chat components to enhance visual consistency and accessibility 2026-04-25 11:31:16 +08:00
mlogclub 4da7e168fa refactor: enhance UI components and improve styling consistency across chat interface 2026-04-25 11:26:53 +08:00
mlogclub 25928c1b7d refactor: remove redundant devIndicators setting in next.config.ts 2026-04-25 11:19:25 +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 c1ab26ed71 feat: add origin state to KefuWidgetDemo for dynamic script source 2026-04-24 22:42:59 +08:00
mlogclub 14f220619f feat: add host actions visibility control in KefuChatShell 2026-04-24 22:40:34 +08:00
mlogclub 1db5c3bf39 feat: minify SDK JavaScript and improve build process
- Implemented minification of the cs-ai-agent-sdk.min.js file using Terser during the build process.
- Updated build-sdk.mjs to read the source code, minify it, and write the output to the target directory.
- Added logging to display the size reduction after minification.
- Removed redundant code and streamlined the configuration handling in the SDK.
2026-04-24 22:37:11 +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 4f633b3794 fix(nav-main): improve path normalization in isActive function 2026-04-24 21:31:17 +08:00
mlogclub 9590fc29d3 refactor(build-sdk): simplify SDK build process by removing minification logic 2026-04-24 19:44:55 +08:00
mlogclub c945f1e73d feat: add minified SDK build script and update widget script references 2026-04-24 19:43:59 +08:00
mlogclub 197631b4db fix: update import paths and enhance scrollbar styles in layout and main.scss 2026-04-24 19:26:10 +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 3d98cf1e27 feat: add user management features including user creation, editing, and password reset dialogs
- Implemented CreateUserDrawer for adding new users with validation.
- Added EditDrawer for editing existing user details.
- Created InitialPasswordDialog to display generated passwords after user creation.
- Developed ResetPasswordDialogs for resetting user passwords with copy functionality.
- Enhanced user listing page with filtering, pagination, and role assignment capabilities.
- Updated company picker import path to reflect new directory structure.
2026-04-15 17:19:36 +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 3742140ecc feat: add JsonTreeViewer component and refactor AgentRunLogDetailDialog to use it for JSON display 2026-04-15 16:48:15 +08:00
mlogclub d81e722a19 feat: clear fallback message in buildForm function for improved user experience 2026-04-15 15:23:50 +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 e6df473664 feat: refactor log detail display into MetaStrip component for improved readability 2026-04-14 23:31:58 +08:00
mlogclub 1ccdd182b4 feat: implement agent run log detail dialog and refactor log detail handling 2026-04-14 23:30:58 +08:00
mlogclub 7ab8d4fac6 feat: enhance user message display with HTML rendering and preview functionality 2026-04-14 23:26:20 +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 2222256f5a feat: update styling for pending conversation messages to center content 2026-04-14 19:48:21 +08:00
mlogclub 3ff940c6f3 feat: simplify styling for closed and pending conversation messages 2026-04-14 19:41:23 +08:00
mlogclub fcecf77640 feat: enhance SkillRow component layout and improve description display 2026-04-14 18:37:58 +08:00
mlogclub e4cec52661 feat: remove priority field from SkillDefinition and related services 2026-04-14 17:50:33 +08:00
mlogclub f8a3c03213 feat: improve layout and styling of EditDialog with enhanced field organization 2026-04-14 17:28:35 +08:00
mlogclub 5b6a654b90 feat: enhance EditDialog with service strategy and dialogue configuration sections 2026-04-14 16:53:37 +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 9cda0ff20a fix: set default backendBaseUrl in next.config.ts and remove .env.development from .gitignore 2026-04-14 13:48:10 +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 22b2a08e13 feat: enhance SortableSkillRow to display tool whitelist and examples count 2026-04-12 10:19:07 +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