Skip to content

Improve:连接失败时提示更新内置驱动#2111

Merged
t8y2 merged 1 commit into
t8y2:mainfrom
zipg:codex/agent-driver-update-error-hint
Jun 29, 2026
Merged

Improve:连接失败时提示更新内置驱动#2111
t8y2 merged 1 commit into
t8y2:mainfrom
zipg:codex/agent-driver-update-error-hint

Conversation

@zipg

@zipg zipg commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

变更说明

  • 连接失败时,如果当前连接使用的内置驱动存在可用更新,在错误信息中追加通用更新提示
  • 新建/编辑连接的测试连接失败提示也复用该逻辑
  • 补充驱动更新提示的匹配和去重测试

验证

  • pnpm exec vitest run packages/app-tests/agentDriverInstallHint.test.ts packages/app-tests/connectionStoreErrorState.test.ts
  • pnpm exec vue-tsc --noEmit --project apps/desktop/tsconfig.json
  • pnpm exec oxlint apps/desktop/src/lib/agentDriverInstallHint.ts apps/desktop/src/components/connection/ConnectionDialog.vue apps/desktop/src/stores/connectionStore.ts apps/desktop/src/i18n/locales/zh-CN.ts apps/desktop/src/i18n/locales/en.ts packages/app-tests/agentDriverInstallHint.test.ts && pnpm exec oxfmt --check apps/desktop/src/lib/agentDriverInstallHint.ts apps/desktop/src/components/connection/ConnectionDialog.vue apps/desktop/src/stores/connectionStore.ts apps/desktop/src/i18n/locales/zh-CN.ts apps/desktop/src/i18n/locales/en.ts packages/app-tests/agentDriverInstallHint.test.ts

@zipg zipg changed the title 连接失败时提示更新内置驱动 Improve:连接失败时提示更新内置驱动 Jun 29, 2026
@t8y2 t8y2 merged commit dab1d14 into t8y2:main Jun 29, 2026
8 checks passed
@t8y2

t8y2 commented Jun 29, 2026

Copy link
Copy Markdown
Owner

Thanks for the contribution! Merged in dab1d14, will be released in the next version.

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.

2 participants