fix: reuse bundled agent runtime resources
This commit is contained in:
@@ -200,7 +200,7 @@ const detectAgentRuntimes = vi.fn<
|
||||
deepseekHarness: {
|
||||
available: true,
|
||||
path: 'bundled://deepseek-harness',
|
||||
version: '0.1.0-rc.8',
|
||||
version: '0.1.2-rc.1',
|
||||
source: 'bundled',
|
||||
detail: '内置 Harness Adapter 已就绪'
|
||||
}
|
||||
@@ -569,7 +569,7 @@ const agentPackageInventory: AgentPackageInventory = {
|
||||
latestVersion: '0.11.4',
|
||||
updateAvailable: true,
|
||||
agentProtocol: { major: 2, minor: 0 },
|
||||
remoteRuntimeVersion: '1.18.9'
|
||||
remoteRuntimeVersion: '1.18.29'
|
||||
},
|
||||
{
|
||||
platform: 'linux',
|
||||
@@ -2840,7 +2840,7 @@ describe('SettingsPanel runtime files', () => {
|
||||
'自动选择 1 位专家'
|
||||
)
|
||||
expect(screen.getByText(/仅在 Ask 模式/)).toHaveTextContent(
|
||||
'只读运行且不使用工具'
|
||||
'继承当前模式和已启用工具'
|
||||
)
|
||||
|
||||
fireEvent.click(smartRouting)
|
||||
@@ -3035,11 +3035,11 @@ describe('SettingsPanel runtime files', () => {
|
||||
)
|
||||
).toHaveClass('runtime-overview__path')
|
||||
expect(
|
||||
within(harnessOverview).getByText('0.1.0-rc.8')
|
||||
within(harnessOverview).getByText('0.1.2-rc.1')
|
||||
).toBeInTheDocument()
|
||||
expect(
|
||||
within(harnessOverview).getByText(
|
||||
'内置 DeepSeek Harness 0.1.0-rc.8 已就绪'
|
||||
'内置 DeepSeek Harness 0.1.2-rc.1 已就绪'
|
||||
)
|
||||
).toBeInTheDocument()
|
||||
expect(
|
||||
|
||||
@@ -119,11 +119,11 @@ const remoteEnvironment: SshHostRemoteEnvironment = {
|
||||
provider: 'opencode',
|
||||
state: 'current',
|
||||
expected: {
|
||||
version: '1.18.9',
|
||||
version: '1.18.29',
|
||||
architecture: 'x64'
|
||||
},
|
||||
installed: {
|
||||
version: '1.18.9',
|
||||
version: '1.18.29',
|
||||
architecture: 'x64'
|
||||
}
|
||||
}],
|
||||
@@ -761,7 +761,7 @@ describe('SshHostsSettingsSection', () => {
|
||||
expect(within(host).getByText('版本匹配')).toBeInTheDocument()
|
||||
expect(within(host).getByText('0.10.4')).toBeInTheDocument()
|
||||
expect(within(host).getByText('0.11.1')).toBeInTheDocument()
|
||||
expect(within(host).getAllByText('1.18.9')).toHaveLength(2)
|
||||
expect(within(host).getAllByText('1.18.29')).toHaveLength(2)
|
||||
expect(within(host).getByText('安装方式')).toBeInTheDocument()
|
||||
expect(
|
||||
within(host)
|
||||
|
||||
@@ -854,7 +854,7 @@ export const settings = {
|
||||
'Automatically choose the expert role that best matches the question',
|
||||
enabled: 'Enable Smart Subagent routing',
|
||||
help:
|
||||
'Off by default. In Ask mode, when no expert or team is explicitly selected, GoodBuddy chooses one expert. The Subagent uses the default text model in read-only mode without tools.'
|
||||
'Off by default. In Ask mode, when no expert or team is explicitly selected, GoodBuddy chooses one expert. The Subagent uses the default text model and inherits the current mode and enabled tools.'
|
||||
}
|
||||
},
|
||||
appearance: {
|
||||
|
||||
@@ -789,7 +789,7 @@ export const settings = {
|
||||
description: '按问题内容自动选择最匹配的专家角色',
|
||||
enabled: '启用 Subagent 智能路由',
|
||||
help:
|
||||
'默认关闭。仅在 Ask 模式且未显式选择专家或团队时,自动选择 1 位专家;子专家使用默认文本模型,只读运行且不使用工具。'
|
||||
'默认关闭。仅在 Ask 模式且未显式选择专家或团队时,自动选择 1 位专家;子专家使用默认文本模型,并继承当前模式和已启用工具。'
|
||||
}
|
||||
},
|
||||
appearance: {
|
||||
|
||||
Reference in New Issue
Block a user