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 -1
View File
@@ -331,7 +331,8 @@ describe('OpenCodeRuntime embedded launcher', () => {
await expect(runtime.getStatus()).resolves.toMatchObject({
available: true,
detail: '由 GoodBuddy 管理本机 OpenCode 进程'
detail:
'由 GoodBuddy 以当前用户权限管理本机 OpenCode 进程'
})
expect(detectBinary).toHaveBeenCalledWith(
'opencode',