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.
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.
- 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
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.
Rebrand all user-facing product name references from legacy
Chinese name to unified "BoosChat" across frontend components,
metadata, test fixtures, and documentation.
- 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.
- 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.