feat: run agent tools with host permissions

This commit is contained in:
mesalogo
2026-08-15 18:06:03 +08:00
parent 79e2511f6f
commit 34bbfab2af
38 changed files with 224 additions and 1395 deletions
+2 -5
View File
@@ -55,7 +55,6 @@ function settings(
continueBinaryPath: '',
continueConfigPath: '',
continueMode: 'chat',
runtimeSandboxMode: 'off',
subagentSmartRoutingEnabled: false,
knowledgeEmbeddingEnabled: false,
knowledgeEmbeddingBaseUrl:
@@ -93,8 +92,7 @@ describe('createAgentRuntime model compatibility', () => {
modelProtocol: defaultProfile.protocol,
modelAuthentication: defaultProfile.authentication,
apiKey: defaultProfile.apiKey,
modelProfiles: [defaultProfile],
runtimeSandboxMode: 'auto'
modelProfiles: [defaultProfile]
}),
{ deepseekHarnessLauncher: vi.fn() }
)
@@ -120,8 +118,7 @@ describe('createAgentRuntime model compatibility', () => {
provider: 'deepseek-harness',
modelProfiles: [profile],
defaultModelProfileId: profile.id,
deepseekHarnessModelProfile: profile,
runtimeSandboxMode: 'auto'
deepseekHarnessModelProfile: profile
}),
{ deepseekHarnessLauncher: vi.fn() }
)