Skip to content

fix(acp-agents): hide remote servers without deleting - #2182

Merged
wgqqqqq merged 2 commits into
GCWing:mainfrom
wgqqqqq:fix/acp-hide-remote-servers
Aug 10, 2026
Merged

fix(acp-agents): hide remote servers without deleting#2182
wgqqqqq merged 2 commits into
GCWing:mainfrom
wgqqqqq:fix/acp-hide-remote-servers

Conversation

@wgqqqqq

@wgqqqqq wgqqqqq commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

Fixes #2035.

  • adds a reversible hide action for saved remote servers on the ACP Agents settings page
  • keeps the underlying saved SSH connection, credentials, and Remote Connect behavior unchanged
  • persists hidden connection IDs as a client-local UI preference
  • provides a Hidden servers entry for restoring individual servers
  • skips remote ACP requirement probes while a server is hidden
  • adds localized copy for en-US, zh-CN, and zh-TW

Rationale

Removing a server from the ACP Agents view should not delete the shared SSH connection. This provides a reversible alternative to the destructive behavior proposed in #2122.

Validation

  • pnpm --dir src/web-ui run test:run src/infrastructure/config/components/AcpAgentsConfig.test.tsx (10 passed)
  • pnpm run type-check:web
  • pnpm run i18n:audit (0 warnings)
  • pnpm --dir src/web-ui exec eslint src/infrastructure/config/components/AcpAgentsConfig.tsx
  • git diff --check

AI assistance

AI-assisted implementation; fully tested with the commands above.

@wgqqqqq
wgqqqqq merged commit 4781e45 into GCWing:main Aug 10, 2026
7 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.

[Feature]: ACP Agents 的远程服务器一栏,不能删掉以往的配置

1 participant