fix: clarify local tools on remote hosts

The remote host settings page did not explain that locally configured Skills and MCP servers stay on the desktop. It now states that boundary in Chinese and English, with a focused UI regression test.

Document the planned local Node.js and Python environment for local Skills and stdio MCP servers, including managed and custom sources, compatibility migration, lifecycle, remote boundaries, and acceptance criteria.

Release note: 远程主机设置现在明确说明本机 Skills 和 MCP 不会作用于远程主机。
This commit is contained in:
mesalogo
2026-08-31 23:28:41 +08:00
parent 00a231da07
commit 73cc55bf75
6 changed files with 663 additions and 3 deletions
+9 -1
View File
@@ -2197,7 +2197,7 @@ describe('SettingsPanel runtime files', () => {
).toBeInTheDocument()
})
it('shows the SSH Hosts category only while Remote Projects is enabled', () => {
it('shows the SSH Hosts category and its local capability boundary only while Remote Projects is enabled', () => {
const commonProps = {
...heartbeatSettingsProps,
open: true,
@@ -2226,6 +2226,14 @@ describe('SettingsPanel runtime files', () => {
expect(
screen.getByRole('tab', { name: '主机与远程执行' })
).toBeInTheDocument()
fireEvent.click(
screen.getByRole('tab', { name: '主机与远程执行' })
)
expect(
screen.getByText(
'管理 SSH 主机、固定主机密钥并验证远端执行环境;本机配置的 Skills 和 MCP 不会应用于远程主机'
)
).toBeInTheDocument()
})
it('falls back to Platform features when Remote Projects is disabled from SSH Hosts', async () => {
@@ -55,7 +55,7 @@ export const settings = {
navigationDescription:
'SSH hosts, identity verification, and connection probes',
description:
'Manage SSH hosts, pin host keys, and verify remote execution environments'
'Manage SSH hosts, pin host keys, and verify remote execution environments. Locally configured Skills and MCP servers do not apply to remote hosts.'
},
security: {
label: 'Security and data',
@@ -44,7 +44,8 @@ export const settings = {
sshHosts: {
label: '主机与远程执行',
navigationDescription: 'SSH 主机、身份验证与连接探测',
description: '管理 SSH 主机、固定主机密钥并验证远端执行环境'
description:
'管理 SSH 主机、固定主机密钥并验证远端执行环境;本机配置的 Skills 和 MCP 不会应用于远程主机'
},
security: {
label: '安全与数据',