Skip to content

Conversation

@zerob13
Copy link
Collaborator

@zerob13 zerob13 commented Nov 20, 2025

Release 0.4.7 Release Notes

新特性

  • 新增 Agent Client Protocol (ACP) 支持,作为新的模型提供方接入,支持通过 ACP 协议调用外部 Agent / 模型。
  • 设置模块重构:
    • 引入 Pinia Colada,用于统一的数据加载与错误状态管理,提升设置页的状态管理可维护性和可观测性。
    • 将原有 Setting Store 拆分为多个单一职责的 Store,降低耦合,便于后续扩展。
  • 新增 Provider / Model 管理辅助类:
    • ProviderHelper:负责 Provider 列表的读取、自愈与批量更新,自动修复被误写入的 ACP 模型等非法数据。
    • ProviderModelHelper:为不同 Provider 提供独立的模型存储,支持内置模型与自定义模型的增删改查,以及状态同步。
    • ModelStatusHelper:统一管理模型启用状态,支持单个 / 批量修改及事件广播。
  • 新增 SystemPromptHelper:支持系统提示词的统一存取、重置与多条系统提示词列表管理,为后续可视化系统提示词管理打基础。

改进与优化

  • 配置与存储的健壮性提升:
    • 在 Provider / Model 读取时自动修复缺失或错误的 providerId,并过滤掉不合法条目,避免损坏配置影响运行。
    • 为 Provider / Model / System Prompt 变更添加事件广播,保证多窗口之间的状态一致性。
  • 依赖升级:
    • 新增 @agentclientprotocol/sdk 依赖,用于 ACP 协议对接。
    • 升级 @modelcontextprotocol/sdk 至 ^1.22.0。
    • 升级 vue-renderer-markdown 至 0.0.63-beta.0。
    • 调整 @lingual/i18n-check 的版本约束,避免不必要的版本漂移。

Bug 修复

  • 修复设置项相关事件遗漏的问题,新增 SEARCH_PREVIEW_CHANGEDNOTIFICATIONS_CHANGED 等配置变更事件,确保前端 UI 能及时响应配置变更。
  • 修复部分模型 / Provider 配置被错误写入到存储后导致的崩溃或列表异常问题,通过自愈逻辑自动恢复为默认配置。
  • 修复与 aihubmix nano banana 相关的兼容性问题,保证该模型在当前版本下可以正常加载与使用。

English Version

New Features

  • Added Agent Client Protocol (ACP) as a new provider type, enabling DeepChat to call external agents/models via the ACP specification.
  • Settings module refactor:
    • Introduced Pinia Colada for unified data loading and error-state handling in the settings area, improving maintainability and observability.
    • Split the original Setting Store into multiple single‑responsibility stores to reduce coupling and make future extensions easier.
  • New helpers for provider/model management:
    • ProviderHelper: manages provider list loading, self‑healing, and batch updates; automatically filters out invalid entries such as ACP models accidentally written into the provider store.
    • ProviderModelHelper: maintains isolated model stores per provider, supports CRUD for built‑in and custom models, and keeps status in sync.
    • ModelStatusHelper: centralizes model enable/disable state management with single/batch operations and event broadcasting.
  • SystemPromptHelper: provides unified APIs for reading, updating, resetting, and managing a list of system prompts, paving the way for future visual system‑prompt management.

Improvements

  • More robust configuration & storage:
    • Automatically fixes missing or incorrect providerId fields when loading providers/models and filters out invalid entries to prevent corrupted data from breaking the app.
    • Adds event broadcasting for Provider / Model / System Prompt changes to keep multiple windows in sync.
  • Dependency updates:
    • Added @agentclientprotocol/sdk for ACP integration.
    • Updated @modelcontextprotocol/sdk to ^1.22.0.
    • Updated vue-renderer-markdown to 0.0.63-beta.0.
    • Adjusted @lingual/i18n-check version constraint to avoid unnecessary drifting.

Bug Fixes

  • Added missing config events such as SEARCH_PREVIEW_CHANGED and NOTIFICATIONS_CHANGED so the UI can react correctly to those setting changes.
  • Fixed crashes or abnormal lists caused by corrupted provider/model data through new self‑healing logic that restores sane defaults when needed.
  • Fixed compatibility issues with the aihubmix nano banana model so it can be loaded and used correctly in this release.

zerob13 and others added 5 commits November 17, 2025 17:45
…#1099)

* chore: add pinia colada doc

* chore: bump up markdown deps

* feat: integrate Pinia Colada for data fetching in MCP store

Add @pinia/colada dependency and useIpcQuery composable for type-safe IPC queries. Refactor MCP store to use Pinia Colada's query system with automatic caching, loading states, and error handling for config, tools, clients, resources, and prompts.

* refactor(mcp): simplify colada query state

* feat: ipc mutation and mcp to colada

* feat: add colada to settings

* refactor(colada): integrate queries for stores

* fix: mcp new version client params

* chore: remove old plan
… stores. (#1101)

* refactor(config-presenter): split helper responsibilities

* feat(renderer): add provider store

* feat(renderer): split settings into stores

* refactor(renderer): hook settings store to provider store

* fix(mcp): keep toggle state consistent

* fix(mcp): restart default servers when re-enabled

* fix: mcp enable and disable

* refactor(settings): port settings logic into domain stores

* chore(settings): add store init coordinator and split listeners

* chore(init): wire store bootstrap in app shell

* chore(settings-migration): swap settings store usages to new domain stores

* chore(settings-migration): move NewThread to new stores

* chore(settings-migration): move settings UI toggles to new stores

* chore(settings-migration): update provider model list to model store

* chore(settings-migration): move search assistant settings to new stores

* chore(settings-migration): move provider settings list to provider/model stores

* chore(settings-migration): migrate provider details and system prompts to new stores

* chore(settings-migration): move ollama provider detail off legacy store

* chore(plan): update remaining settings migration tasks

* refactor(renderer): replace settings store usage

* chore(renderer): remove legacy settings store

* fix(settings): initialize stores and load ui flags

* fix(settings): ensure providers refresh in settings window

* docs(plan): update settings migration status

* chore: remove finished plan file

* chore: format code

* chore: lock i18n-check 0.8.12
* wip: add acp provider

* feat(acp): add toggle and agent dialogs

* feat(wip): add mcp and acp toggle

* feat: acp toggle works now

* feat: make kimi cli works now

* refactor(agent): add base agent provider scaffold

* refactor(agent): flag agent providers and share types

* feat(agent): add renderer agent model store

* feat(acp): add process manager

* feat(acp): add session manager

* feat(acp): add content mapper

* feat(acp): add message formatter

* feat(acp): refactor provider pipeline

* fix(acp): emit ACP tool call events

* feat: add acp message map

* feat: add cluade code and codex

* feat: support claude code and codex

* feat(acp): add multi-profile agent management

* fix(acp): harden profile ui and agent refresh

* feat: better i18n for acp agent

* feat: add workdir support

* feat: fix workdir and permission dialog

* feat: add new permission handlers

* fix: request MessageBlockToolCall witdh

* chore: i18n

* chore: update provider db
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 20, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch dev

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@zerob13 zerob13 merged commit 3ff0f59 into main Nov 20, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants