Skip to content

Commit 49eb317

Browse files
committed
Enable full gateway exec access for desktop config sync
1 parent 59dad05 commit 49eb317

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

src/main/state/config-sync.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -343,11 +343,10 @@ export function setupConfigSync(stateManager, engineModules) {
343343
if (!nextConfig.tools.exec.host) {
344344
nextConfig.tools.exec.host = 'gateway';
345345
}
346-
// Set more permissive defaults for advanced mode
347-
if (state.settings?.advancedMode) {
348-
if (!nextConfig.tools.exec.security) nextConfig.tools.exec.security = 'allowlist';
349-
if (!nextConfig.tools.exec.ask) nextConfig.tools.exec.ask = 'on-miss';
350-
}
346+
// Desktop mode: grant DRAM direct exec access for host operations.
347+
// This avoids allowlist-miss/approval friction in local app workflows.
348+
nextConfig.tools.exec.security = 'full';
349+
nextConfig.tools.exec.ask = 'off';
351350

352351
// Sync API keys to auth profiles and env.vars if present
353352
const apiKeys = {

0 commit comments

Comments
 (0)