Commit Graph

49 Commits

Author SHA1 Message Date
mlogclub 6122a1d881 refactor: remove AgentRunLog related code and components
- Deleted AgentRunLogResponse struct from skill_response.go.
- Removed agent_run_log_repository.go and agent_run_log_service.go files.
- Eliminated AgentRunLogDetailDialog component and its related logic from the dashboard.
- Removed agent run log fetching functions from admin API.
- Updated navigation and localization files to remove references to agent run logs.
2026-06-23 23:22:18 +08:00
mlogclub 1440c3c4c3 Add AI workflow run management with listing and detail retrieval endpoints, including corresponding response structures and UI integration 2026-06-23 23:05:17 +08:00
mlogclub 560843686b Refactor AIAgent runtime handling and remove unused fields 2026-06-23 08:37:52 +08:00
mlogclub 3e68fc3344 feat: add workflow version fetching functionality and enhance AIAgentConfigWorkbench display 2026-06-22 22:39:49 +08:00
mlogclub d1f39ae57e feat: Enhance AI Workflow with Variable Contracts and Input Mapping
- Added ConfigSchema, InputSchema, OutputSchema, and DefaultInputs to AIWorkflowNodeSpecResponse.
- Implemented BuildAIWorkflowNodeSpecs to include variable contracts for start and send_reply nodes.
- Introduced applyAutoInputMappings to automatically map inputs based on node connections.
- Enhanced validation to check for required input mappings in workflows.
- Updated workflow editor to support variable selection for node inputs.
- Translated node names and labels to Chinese for better localization.
- Added tests for variable mapping and validation logic.
2026-06-22 18:33:39 +08:00
mlogclub 32ab43e7c2 refactor: make AI workflows agent-centric 2026-06-22 10:08:51 +08:00
mlogclub 14f50e064f feat: add AI workflow editor 2026-06-22 00:26:16 +08:00
mlogclub 541e4c5874 refactor: replace skill code with skill ID across the application
- Updated skill handling to use skill IDs instead of skill codes in various components, services, and models.
- Modified tests to reflect changes in skill identification.
- Removed references to skill codes in favor of skill IDs for consistency and clarity.
- Updated localization files to remove skill code references and adjust error messages accordingly.
2026-06-20 20:42:07 +08:00
mlogclub 409d04854d feat: implement drag-and-drop sorting for knowledge directories and add localization for sort actions 2026-06-07 22:25:02 +08:00
mlogclub 842f827c86 feat: implement batch move and delete functionality for documents and FAQs 2026-06-02 16:13:08 +08:00
mlogclub 853ae71b3d feat: add knowledge directory management for documents and FAQs
- Implemented directory validation in Create and Update knowledge document services.
- Added directory selection in document and FAQ edit dialogs with a new KnowledgeDirectoryPanel component.
- Enhanced API to support fetching, creating, updating, and deleting knowledge directories.
- Updated data models to include directory information for knowledge documents and FAQs.
- Added translations for directory-related messages in English and Chinese.
2026-06-02 15:37:50 +08:00
mlogclub 8933e963f5 feat(knowledge): add FAQ Excel import export 2026-06-01 13:57:49 +08:00
mlogclub a2f238b3f8 refactor: replace APIKey with HasAPIKey in AIConfig and related components 2026-05-30 22:41:21 +08:00
mlogclub 988f55c80d refactor: support i18n 2026-05-25 12:06:15 +08:00
mlogclub 8be2d06283 fix(knowledge): paginate document list without content 2026-04-30 13:43:22 +08:00
mlogclub 44d59189a2 feat: add batch schedule frontend api 2026-04-29 19:54:59 +08:00
mlogclub 6331ce32c4 feat(schedule): remove sourceType from schedule models and payloads 2026-04-29 15:09:35 +08:00
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 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 1bb4608051 feat: add ChannelID to conversation model and update related services and responses 2026-04-27 17:59:23 +08:00
mlogclub 12f66bcf27 add wxwork kf account management functionality 2026-04-27 11:43:34 +08:00
mlogclub 2c884c13cf refactor: update WebSocket API routes for improved clarity and structure 2026-04-25 10:50:23 +08:00
mlogclub 92fae381a4 fix: handle optional messages in ConversationDetailDialog and API response 2026-04-24 21:37:50 +08:00
mlogclub a9275c2d4a 调整目录 2026-04-24 12:01:30 +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 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 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 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