Commit Graph

471 Commits

Author SHA1 Message Date
Aibo117 c5d0317bb6 test: add bootstrap SQL dump for test environment setup
Contains current AI configs, channel, knowledge base, and document
data that can be used to restore a working test environment.
2026-05-26 15:34:46 +08:00
Aibo117 fa9f64752b fix: reduce chunk size to prevent embedding context overflow
nomic-embed-text tokenizes Chinese characters differently from the
estimateTokenCount heuristic (3-5 real tokens per character vs 1
estimated). Large chunks overflow the 8192 token context. Reduce
TargetTokens/MaxTokens to keep chunks within limits.
2026-05-26 14:56:24 +08:00
Aibo117 be91feea63 fix: propagate document indexing errors to caller
Previously indexing failures were silently logged, returning success
even when the embedding model was not configured or Qdrant was down.
Now the error is returned to the frontend so the user sees it.
2026-05-26 14:33:13 +08:00
Aibo117 6c0944d6f2 fix: add form validation error feedback in agent edit dialog
- Add onFormError callback to show toast when validation fails
- This helps debug why the save button appears to do nothing
2026-05-26 14:08:14 +08:00
Aibo117 3c39e3b7e1 fix: use handleSubmit directly instead of form requestSubmit
Bypass potential React portal form resolution issues by calling
react-hook-form handleSubmit(onFormSubmit)() directly in the
button onClick handler.
2026-05-26 14:07:06 +08:00
Aibo117 58a10c3217 fix: agent profile save button not working
- Replace form attribute with ref-based form submission to avoid
  potential portal-related form resolution issues in base-ui Dialog
- Add null guard for fetchUsersAll return value to prevent crash
  when API returns null data
2026-05-26 14:04:39 +08:00
Aibo117 43bc9b903d fix: null safety in conversation monitor page
Prevent "Cannot read properties of null (reading forEach)" when
fetchTagsAll / fetchAgentProfilesAll / fetchAgentTeamsAll return null
from the API. Add null guard in buildTagOptions and array checks for
assignee/team data before calling .map.
2026-05-26 13:53:29 +08:00
Aibo117 0f40930a41 refactor: rebrand from cs-agent to BossChat
- Rename Go module: cs-agent → bosschat
- Rename all import paths across 200+ Go files
- Rename SDK: cs-ai-agent-sdk → bosschat-sdk
- Rename message protocol: cs-agent:* → bosschat:*
- Rename JS globals: CSAgentConfig → BossChatConfig
- Rename CSS classes: cs-agent-* → bosschat-*
- Update Makefile APP_NAME and ARCHIVE_NAME
- Update logo assets
- Fix display name: BoosChat → BossChat
2026-05-26 13:17:07 +08:00
Aibo117 0eb804d9d7 refactor: unified brand naming to BoosChat
Rebrand all user-facing product name references from legacy
Chinese name to unified "BoosChat" across frontend components,
metadata, test fixtures, and documentation.
2026-05-25 14:25:04 +08:00
mlogclub 1736ef04bf chore: update docs submodule links 2026-05-13 14:27:06 +08:00
mlogclub e79a689e9b chore: update docs submodule for v1.4.0 2026-05-13 14:11:46 +08:00
mlogclub 691a7058fa fix: add dropdown menu for chat window actions and enhance status display 2026-05-10 10:30:59 +08:00
mlogclub 2b9cf7e1df fix: enhance chat window header with action buttons and icons 2026-05-10 10:09:52 +08:00
mlogclub 253cca0de7 fix: update login form placeholders to Chinese 2026-05-10 09:50:42 +08:00
mlogclub 7a9cffe21e fix: add structured graph tool results 2026-05-10 00:02:23 +08:00
mlogclub 59b3509ca9 fix: prevent repeated off-hours handoff notices 2026-05-09 23:46:56 +08:00
mlogclub af8ec71bb8 fix: continue agent flow on knowledge retrieval errors 2026-05-09 23:38:42 +08:00
mlogclub bce4c18c10 refactor: use controlled RAG no-context policy 2026-05-09 23:33:35 +08:00
mlogclub 7dbde93b7d docs: add RAG no-context response design 2026-05-09 23:25:07 +08:00
mlogclub a077e50c6f refactor: improve layout responsiveness and styling for chat components 2026-05-09 23:00:55 +08:00
mlogclub d238bf17bb refactor: remove unnecessary border from chat shell section 2026-05-09 22:52:04 +08:00
mlogclub d30e211996 refactor: enhance conversation handling and websocket integration with new team ID support 2026-05-09 22:05:34 +08:00
mlogclub 44558a873c refactor: update links in summary cards to include dashboard path 2026-05-09 21:34:54 +08:00
mlogclub 664e418115 refactor: implement off-hours handoff logic and enhance related tests 2026-05-08 23:26:25 +08:00
mlogclub 6f4c026320 refactor: enhance event consumption logic and add graph tool completion test 2026-05-08 23:13:32 +08:00
mlogclub 1a2550a089 refactor: streamline conversation ID usage in message service methods 2026-05-08 21:54:08 +08:00
mlogclub 33b4caab03 refactor: update alert links and simplify buildAlerts parameters in dashboard service 2026-05-08 20:08:28 +08:00
mlogclub c111e3ed98 refactor: update TicketDetailDialog and ProjectDialog for improved layout and styling 2026-05-06 22:56:55 +08:00
mlogclub 102e9c8e4f refactor: clean up imports and improve ConversationList structure 2026-05-06 21:08:09 +08:00
mlogclub 3734e8ec03 refactor: simplify SidebarInset structure and adjust overflow behavior 2026-05-06 21:03:15 +08:00
mlogclub 8ff68acc54 feat: implement standalone closed page navigation and add related tests 2026-05-06 19:36:32 +08:00
mlogclub 15710d294f feat: add runtime configuration for Kefu Chat SDK
- Introduced `readKefuChatRuntimeConfig` and `setKefuChatRuntimeConfig` functions to manage runtime configuration for the Kefu Chat SDK.
- Updated `useKefuChatStore` to utilize the new runtime configuration functions instead of the previous widget config methods.
- Modified the SDK build process to compile TypeScript instead of JavaScript, enhancing type safety and maintainability.
- Updated the minified SDK file to reflect the changes in configuration handling and TypeScript compilation.
2026-05-06 19:28:49 +08:00
mlogclub bd9fad68a7 refactor: update Kefu widget configuration to use dynamic user token retrieval
- Changed `userToken` property to `getUserToken` function in KefuWidgetHostConfig for dynamic token fetching.
- Introduced KefuWidgetRuntimeConfig to manage runtime-specific configurations.
- Updated readKefuWidgetConfig and setKefuWidgetConfig functions to accommodate new configuration structure.
- Enhanced cs-ai-agent-sdk.js to handle user token resolution and frame configuration.
- Added tests for dynamic user token retrieval in cs-ai-agent-sdk.test.mjs.
- Removed deprecated cs-agent-widget.js file as part of the refactor.
2026-05-06 18:19:49 +08:00
mlogclub 787850833f fix: update chat shell message and comment out header section 2026-05-06 17:40:11 +08:00
mlogclub d7e101c234 feat: add progress tracking dialog with content editor for ticket updates 2026-05-06 17:40:11 +08:00
mlogclub c482a3d7f6 feat: update dialog size options and adjust loading indicator height 2026-05-06 17:40:11 +08:00
mlogclub bfcab46ae4 feat: add ticket information section in detail dialog 2026-05-06 17:40:11 +08:00
mlogclub 907d3b4085 fix: remove unnecessary classes from ticket page layout 2026-05-06 17:40:11 +08:00
mlogclub 5ca596a212 feat: enhance ticket page with quick view buttons and search functionality 2026-05-06 17:40:11 +08:00
mlogclub 57cf11afd6 ticket editor 2026-05-06 17:40:11 +08:00
mlogclub 1e7c77e379 fix: stabilize ticket rich text progress 2026-05-06 17:40:11 +08:00
mlogclub 1fc26aa30d feat: support rich ticket progress 2026-05-06 17:40:11 +08:00
mlogclub 44319446b7 feat: support rich ticket descriptions 2026-05-06 17:40:11 +08:00
mlogclub 494bf919b2 feat: add safe rich html viewer 2026-05-06 17:40:11 +08:00
mlogclub aef72ed6cc test: cover ticket rich text persistence 2026-05-06 17:40:11 +08:00
mlogclub 2447efab33 feat: record ticket assignment progress 2026-05-06 17:40:11 +08:00
mlogclub f2a7eb3295 refactor(ticket): simplify ticket number generation and remove SQLite lock 2026-05-06 17:40:11 +08:00
mlogclub dba175b0fa feat(ticket): add customer linking functionality to tickets 2026-05-06 17:40:11 +08:00
mlogclub ac0f25f10c refactor(ticket): rename TicketNoService to TicketNoSequenceService and update references 2026-05-06 17:40:11 +08:00
mlogclub d75f9f05a7 fix(ticket): update font size for various text elements in TicketDetailDialog 2026-05-06 17:40:10 +08:00