-
Notifications
You must be signed in to change notification settings - Fork 617
Comparing changes
Open a pull request
base repository: ThinkInAIXYZ/deepchat
base: v0.3.3
head repository: ThinkInAIXYZ/deepchat
compare: v0.3.4
- 20 commits
- 106 files changed
- 5 contributors
Commits on Aug 28, 2025
-
fix: Correctly parse Gemini reasoning for both new
thoughtfield an……d legacy `<think>` tags. (#801)
Configuration menu - View commit details
-
Copy full SHA for fa4482f - Browse repository at this point
Copy the full SHA fa4482fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 76eb459 - Browse repository at this point
Copy the full SHA 76eb459View commit details -
feat: add TokenFlux.ai provider support (#804)
* feat: add TokenFlux.ai provider support Add comprehensive TokenFlux.ai integration with OpenAI-compatible API support: - Implement TokenFluxProvider extending OpenAICompatibleProvider - Add provider configuration with official endpoints and documentation links - Support dynamic model fetching with TokenFlux-specific format parsing - Include vision and function calling capability detection from API response - Add TokenFlux icon integration in ModelIcon component - Enable seamless UI integration with existing provider settings Resolves #613 * fix: lint
Configuration menu - View commit details
-
Copy full SHA for e5a205d - Browse repository at this point
Copy the full SHA e5a205dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e77985 - Browse repository at this point
Copy the full SHA 7e77985View commit details -
fix: escape brackets in Markdown content to prevent parsing issues & …
…refactor MessageBlockContent if branch (#808) * refactor(MessageBlockContent): if branch * fix: escape brackets in Markdown content to prevent parsing issues * chore: format
Configuration menu - View commit details
-
Copy full SHA for d4e4102 - Browse repository at this point
Copy the full SHA d4e4102View commit details -
fix memory when close window (#809)
* fix: close tab when close window * fix: Fix mutation-while-iterating and fire-and-forget promises in closeTabs.
Configuration menu - View commit details
-
Copy full SHA for f1d0322 - Browse repository at this point
Copy the full SHA f1d0322View commit details -
chore: Reorganize gemini model configs (#807)
* fix: markdown rendering of <a> fixed * fix: refine Gemini reasoning content and <think> tag parsing again * chore: reorganize all Gemini model configs * chore: Prettier something... * chore: cleanups suggested by coderabbit * chore: suggestions by coderabbits * chore: suggestions by coderabbit * fix: fix the bug in directory_tree that requires write permission * fix: adjust the covering order of gemini model-configs
Configuration menu - View commit details
-
Copy full SHA for 7b00eef - Browse repository at this point
Copy the full SHA 7b00eefView commit details -
feat: refactor floating button with JavaScript-based drag and fix int…
…eraction issues (#810)
Configuration menu - View commit details
-
Copy full SHA for d61345a - Browse repository at this point
Copy the full SHA d61345aView commit details -
* feat: Implement splash screen with loading state and progress updat…
…es (#803) * feat: Implement splash screen with loading state and progress updates - Added preload script to expose Electron APIs to the renderer. - Created a new HTML structure for the splash screen. - Developed a Vue component for loading animation and progress display. - Integrated progress updates from the main process to the splash screen. - Implemented database initialization and error handling in lifecycle hooks. - Added unit tests for lifecycle management, error handling, and splash window management. * perf: optimize Presenter initialization logic * perf: streamlined design * refactor(llmProvider): 替换 ConfigPresenter 类型为接口 IConfigPresenter - 将所有 provider 及 presenter 中 ConfigPresenter 类型替换为接口 IConfigPresenter - 去除多余的 ConfigPresenter 导入,统一使用共享接口定义 - 保持构造函数参数及成员变量类型一致,增强依赖注入灵活性 - 更新相关模块导入声明,确保类型引用正确 - 改进代码解耦,提高模块间接口兼容性及维护性 * refactor(presenter): 使用接口替代具体实现简化初始化逻辑 - 移除 eventBus 的数据库就绪监听,改为直接在生命周期启动后初始化 Presenter - Presenter 构造函数移除数据库参数,改用生命周期管理器提供上下文获取相关实例 - Presenter 内部成员均替换为对应接口类型,提升抽象层次和可维护性 - 修改FloatingButtonPresenter、ShortcutPresenter构造函数,依赖改为接口类型的 configPresenter - presenter.getInstance 方法及调用调整为只接收生命周期管理器参数 - presenter.d.ts 中丰富接口定义,新增方法和属性,完善类型声明 - lifecycleManager 生命周期钩子注册接口简化,去除阶段参数,统一管理钩子标识 - 移除部分过时的数据库初始化和依赖管理代码,简化启动流程 * refactor(lifecycle): 优化生命周期管理和核心钩子注册逻辑 - 删除 DatabaseInitializer 中不必要的事件触发,简化数据库初始化过程 - LifecycleManager 中移除生命周期钩子注册的 phase 参数,强化钩子管理一致性 - 修改 LifecycleManager 的 unregisterHook 方法,提高钩子注销的灵活性和健壮性 - 在生命周期 READY 阶段之后初始化 presenter,并保证事件发送到渲染进程的时机正确 - 将核心钩子统一通过遍历方式注册,简化 registerCoreHooks 函数实现 - 各初始化钩子添加 LifecyclePhase 阶段和优先级标识,实现更明确的生命周期管理 - configInitHook 中改用 ConfigPresenter 实例代替全局 presenter,确保配置初始化正确独立 - 新增 splashHook 实现启动界面等待时间,可通过环境变量配置等待时长 - 各钩子统一引入并声明所属阶段,增强代码规范和阶段控制能力 - 在 .env.example 中新增 VITE_APP_SPLASH_TIMEOUT 配置项,支持启动屏幕自定义等待时间 * fix(lifecycle): 修复启动页加载时延时判断逻辑 - 引入 is 工具判断开发环境 - 在非开发环境中将加载页延时设为 0 - 避免生产环境被无意中阻塞启动流程 - 保持开发环境配置的启动页延时生效 * refactor(test): adjust import paths for lifecycle tests * refactor(lifecycle): 优化生命周期管理模块的事件通知和日志输出 - 新增HOOK_COMPUTED生命周期事件以区分钩子执行完成与计算完成 - 统一生命周期事件发送方法为notifyMessage,简化事件广播逻辑 - 删除冗余的eventBus.sendToMain和sendToRenderer调用,改用notifyMessage - 移除splashHook生命周期钩子及相关测试,简化启动流程 - SplashWindowManager中progress更新事件改用统一事件数据结构和发送方式 - 钩子执行时增加延迟配置支持,优化开发环境下日志输出顺序 - 增强生命周期事件监听器,对各事件类型分别输出详细日志信息 - 删除无用的updateMessage方法及其调用,清理相关类型定义 - 移除主线程中冗余的import和测试文件,降低依赖复杂度 * feat(docs): add lifecycle documentation and update existing docs * fix(splash): fix index.html resource loading * fix: reverting accidental edits * fix: reverting accidental edits * perf: Harden BrowserWindow security * fix: Self-import causes redeclaration * docs: Clarify the hook registration process * fix: Rename HOOK_COMPUTED to HOOK_COMPLETED across the codebase * fix: Fix switch fallthrough and satisfy linter * refactor(lifecycle): 重构生命周期管理逻辑,简化错误处理和事件通知 - 删除冗余的 LifecycleErrorHandler,实现错误处理内嵌在 LifecycleManager 中 - 新增生命周期钩子失败事件 HOOK_FAILED,丰富事件类型定义 - 优化生命周期阶段事件通知,简化事件数据结构 - 改进钩子执行逻辑,区分关键钩子和非关键钩子错误处理 - 启用钩子执行开始和完成的事件通知,增加失败事件通知和日志打印 - 移除 SplashWindowManager 中的无效阶段消息,调整启动和关闭流程事件 - 修改启动失败时通过对话框提示错误并允许退出应用 - 简化应用关闭流程,合并钩子失败日志和错误事件处理 - 移除旧有未使用的接口和方法,提升代码整洁性和可维护性 - 将 presenterInitHook 和 windowCreationHook 标记为关键钩子保证执行稳定 * refactor(lifecycle): simplify app shutdown logic and remove lifecycle hooks - 修改主进程入口,替换 lifecycle 导入路径至 presenter 目录 - 调整hooks目录结构,分类存放 - 简化 window-all-closed 事件处理,保留应用关闭逻辑以应对意外情况 - 将多个关闭前事件迁移到hook * refactor(main): 优化应用退出逻辑及相关状态管理 - 为 app.quit() 添加注释,明确退出触发原因 - 在生命周期管理器中新增强制退出事件监听,以支持更新时强制退出 - WindowPresenter 中移除重复退出事件监听,改为管理退出状态标志 - 增加 WindowPresenter 的退出状态设置方法和悬浮聊天窗相关接口声明 * fix: Replace ConfigPresenter Instance with IConfigPresenter type * perf: propagate critical hook error * fix: wrong comments * perf: remove unused event in splash progress update * perf: remove unused fn * docs: update doc * fix: add ignored windowQuittingHook --------- Co-authored-by: zerob13 <zerob13@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3a5cc4a - Browse repository at this point
Copy the full SHA 3a5cc4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b49d10 - Browse repository at this point
Copy the full SHA 2b49d10View commit details -
perf: parallelize lifecycle hooks execution for faster app shutdown (#…
…811) * perf: parallelize lifecycle hooks execution for faster app shutdown * fix: lint warning
Configuration menu - View commit details
-
Copy full SHA for 5d7a197 - Browse repository at this point
Copy the full SHA 5d7a197View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2944005 - Browse repository at this point
Copy the full SHA 2944005View commit details
Commits on Aug 29, 2025
-
fix: resolve race condition in floating button drag-and-drop detection (
#813) * fix: resolve race condition in floating button drag-and-drop detection * fix: resolve bug with small window overlapping button and right-click popup
Configuration menu - View commit details
-
Copy full SHA for e6de02f - Browse repository at this point
Copy the full SHA e6de02fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1c9c8d - Browse repository at this point
Copy the full SHA b1c9c8dView commit details -
pref: Optimize/lifecycle actuator optimization (#812)
* perf: optimizing the lifecycle executor pipeline * perf: remove used preload script
Configuration menu - View commit details
-
Copy full SHA for 97402d4 - Browse repository at this point
Copy the full SHA 97402d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19c5078 - Browse repository at this point
Copy the full SHA 19c5078View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5c5099 - Browse repository at this point
Copy the full SHA f5c5099View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8eeee3f - Browse repository at this point
Copy the full SHA 8eeee3fView commit details
Commits on Aug 30, 2025
-
Configuration menu - View commit details
-
Copy full SHA for c029040 - Browse repository at this point
Copy the full SHA c029040View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3400cc4 - Browse repository at this point
Copy the full SHA 3400cc4View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.3.3...v0.3.4