Commit Graph

1139 Commits

Author SHA1 Message Date
begoniezhao d4edd374df refactor: replace CryptoService with utils AES helpers and simplify encryption
- Remove infrastructure/crypto package (CryptoService, config, PBKDF2-based encryption)
- Replace with lightweight utils.GetAESKey/EncryptAESGCM/DecryptAESGCM helpers
- Remove cryptoSvc dependency from modelService, tenantService, weKnoraCloudService
- Remove crypto state persistence logic from container initialization
- Add TruncatePromptTokens field to WeKnoraCloud embed request
- Update frontend hint text for WeKnoraCloud credential errors

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 20:55:39 +08:00
begoniezhao 2c0c1b8bab feat: integrate ChatBot provider and docreader 2026-04-13 17:47:24 +08:00
nullkey f6b484c94a fix(im): strip <kb> and <web> citation tags before sending to IM platforms
IM platforms (WeCom, Feishu, Slack, etc.) cannot render the inline
citation tags produced by the agent pipeline, causing raw tags like
<kb doc="..." chunk_id="..." /> to appear in user-facing messages.

Strip these tags in the IM service layer before sending, while
preserving the original content in the database for web frontend
rendering.
2026-04-13 15:10:47 +08:00
wizardchen d1c7da97f9 feat(im): add WeChat integration with QR code login and long-polling support
- Extended the IMChannel interface to include WeChat as a platform, supporting long-polling mode and full output mode.
- Implemented WeChat QR code login functionality, allowing users to authenticate via a QR code.
- Added new API endpoints for generating and polling the status of WeChat QR codes.
- Updated the frontend to handle WeChat-specific UI elements and interactions, including dynamic form adjustments based on the selected platform.
- Enhanced localization files to include WeChat-related translations.
- Introduced a WeChat adapter for message handling and file downloading via the iLink Bot API.
2026-04-13 14:17:57 +08:00
Jhao 45ad36845e feat(web-search): add baidu web search provider support #907 2026-04-12 20:13:05 +08:00
github-actions[bot] b54b6d1923 formula: update weknora-lite to 0.3.6-test 2026-04-12 03:05:05 +00:00
github-actions[bot] d06a281074 formula: update weknora-lite to 0.3.6-test 2026-04-12 02:18:38 +00:00
github-actions[bot] 4d8c0d95f3 formula: update weknora-lite to 0.3.6-test 2026-04-11 18:11:56 +00:00
github-actions[bot] 911fa5c002 formula: update weknora-lite to 0.3.6-test2 2026-04-11 17:38:00 +00:00
github-actions[bot] 3a166fd4a2 formula: update weknora-lite to 0.3.6-test 2026-04-11 16:46:07 +00:00
lyingbug a751e7335b fix windows build 2026-04-11 22:28:25 +08:00
wizardchen a655a25cf8 fix: revert to neo4j v6 and workaround Go 1.24 Windows compiler bug with -p=1
Go 1.24 has an internal compiler race condition on Windows that causes
'package without types' errors during parallel compilation. Setting
GOFLAGS="-p=1" serializes the build and avoids triggering the bug.
2026-04-11 22:08:02 +08:00
wizardchen 9525f08038 fix: downgrade neo4j driver from v6 to v5 to fix Go 1.24 Windows internal compiler bug 2026-04-11 21:59:03 +08:00
wizardchen 02fd3aad49 fix: upgrade neo4j driver to v6.0.0 to fix Go 1.24 Windows compiler error 2026-04-11 19:32:21 +08:00
wizardchen 20ec1be854 chore: fix missing server files and upgrade to Node 24 actions 2026-04-11 19:32:21 +08:00
wizardchen ae95cb1a7a feat: add server listening functionality with retry mechanism and platform-specific shutdown signal handling for improved robustness 2026-04-11 19:09:25 +08:00
wizardchen 4af7885d13 chore: update dependencies in package-lock.json to latest versions, including @chevrotain and axios, improving compatibility and performance 2026-04-11 18:51:16 +08:00
wizardchen 4d244f51d2 feat: integrate lumberjack for log file management, enhancing logging capabilities with rotation and compression 2026-04-11 18:51:16 +08:00
wizardchen 9874fcee7c feat: implement automatic update checking and downloading functionality in the desktop app, enhancing user experience with seamless updates and corresponding UI settings 2026-04-11 18:51:16 +08:00
wizardchen c4ebc1f60e feat: enhance UserMenu and KnowledgeBase components with loading skeletons and improved UI elements, including GitHub star tooltip and translations for better user experience 2026-04-11 18:51:16 +08:00
wizardchen e49ff986eb feat: implement app reload functionality via global key event and menu action, enhancing user experience with dynamic content updates 2026-04-11 18:51:16 +08:00
wizardchen dfaaa62f14 feat: add LAN access configuration for desktop app, allowing users to enable public API access with corresponding UI updates and translations 2026-04-11 18:51:16 +08:00
wizardchen d99e2cbac3 feat: implement fixed local API port settings for desktop app, allowing users to specify a port for consistent access, with corresponding UI and translations 2026-04-11 18:51:16 +08:00
wizardchen 3f0f69815f feat: add new menu items for Clawhub Skill and Chrome Extension with corresponding functionality and translations, enhancing user access to additional resources 2026-04-11 18:51:16 +08:00
wizardchen 4e9769bbab feat: add About dialog with version info and GitHub link, enhancing user accessibility to project resources 2026-04-11 18:51:16 +08:00
wizardchen 6d8b47e57c feat: implement theme synchronization and loading skeletons across various components, enhancing user experience during content loading 2026-04-11 18:51:16 +08:00
wizardchen 1a4b7b390d feat: enhance document summary functionality with expandable/collapsible feature and overflow detection, improving user interaction 2026-04-11 18:51:16 +08:00
wizardchen 98ff0761ed feat: implement Lite edition support by filtering menu items and adjusting UI elements, enhancing user experience for Lite users 2026-04-11 18:51:16 +08:00
wizardchen 92bf52721c feat: implement auto-setup for Lite edition, enhancing user experience by automating user and tenant creation on first launch 2026-04-11 18:51:16 +08:00
wizardchen 52bdfd388a feat: implement desktop app structure with API base URL handling and bindings for Wails integration 2026-04-11 18:51:16 +08:00
wizardchen 5c4229745d fix: restore indirect dependency for golang.org/x/sys and refine drag selection logic in desktop app 2026-04-11 18:51:16 +08:00
wizardchen 997bf582ad feat: enhance GitHub Actions workflow to build and package desktop app for multiple platforms, including macOS, Linux, and Windows 2026-04-11 18:51:16 +08:00
wizardchen 9a2b54536d fix: update environment configuration for debugging and logging, enhance SQLite FTS5 table management, and improve API base URL handling 2026-04-11 18:51:16 +08:00
wizardchen 8a4d58726e fix: mark key right-pane headers as explicitly draggable in desktop app 2026-04-11 18:51:16 +08:00
wizardchen a056d3fe1d fix: stabilize desktop dragging with inline drag markers and disable resize 2026-04-11 18:51:16 +08:00
wizardchen 3e029b3a5c fix: handle desktop window dragging via delegated mousedown for SPA headers 2026-04-11 18:51:16 +08:00
wizardchen 81df357b63 fix: refine macOS titlebar draggable CSS to fix child element blocking 2026-04-11 18:51:16 +08:00
wizardchen c63c3fa875 feat: expand draggable areas for macOS hiddenInset titlebar in desktop app 2026-04-11 18:51:16 +08:00
wizardchen a6b9914254 fix: inject CSS to make macOS window draggable via Wails OnDomReady 2026-04-11 18:51:16 +08:00
wizardchen 1ca784be97 chore: add godotenv dependency for environment variable management 2026-04-11 18:51:16 +08:00
wizardchen 091fe59560 feat: enhance chat UI with improved hover effects and update database schema for chat history and retrieval configurations 2026-04-11 18:51:16 +08:00
wizardchen 0a964ac0b7 fix: resolve desktop app crash on launch by fixing working directory and loading resources 2026-04-11 18:51:16 +08:00
wizardchen 026c4c7662 fix: resolve neo4j parsing issue during macOS desktop app build by skipping bindings and fixing paths 2026-04-11 18:51:16 +08:00
wizardchen c2b0d81a81 fix: use random port instead of fixed port for desktop app backend to avoid conflicts 2026-04-11 18:51:16 +08:00
wizardchen 96fb36ebb3 feat: introduce macOS desktop app using Wails wrapper 2026-04-11 18:51:16 +08:00
wizardchen d005bd1db8 Revert "chore: make Lite edition support and related configurations hidden"
This reverts commit 88d5b303b8.
2026-04-11 18:51:16 +08:00
DaWesen 46ff7a7d54 fix: 修正视频相关迁移文件版本号冲突,从 000032 改为 000033 2026-04-10 22:01:42 +08:00
Jhao fd18264183 feat(web-search): add ollama web search provider support #907 2026-04-10 01:27:29 +08:00
DaWesen bfa3341d4a Fix: Dockerfile build error (duplicate libsqlite3-0 and ffmpeg installation) 2026-04-10 01:26:07 +08:00
DaWesen b80bdb1079 feat: add video multimodal functionality 2026-04-09 19:19:42 +08:00