feat(exec): add path prepend config

This commit is contained in:
chengyongru
2026-06-10 18:09:57 +08:00
committed by Xubin Ren
parent 8c30dc5a57
commit dadb35af49
11 changed files with 169 additions and 5 deletions
+1
View File
@@ -480,6 +480,7 @@ export interface SettingsPayload {
mcp_server_count: number;
exec_enabled: boolean;
exec_sandbox?: string | null;
exec_path_prepend_set: boolean;
exec_path_append_set: boolean;
};
requires_restart: boolean;
+3
View File
@@ -125,6 +125,7 @@ function baseSettingsPayload() {
mcp_server_count: 0,
exec_enabled: true,
exec_sandbox: null,
exec_path_prepend_set: false,
exec_path_append_set: false,
},
requires_restart: false,
@@ -1023,6 +1024,7 @@ describe("App layout", () => {
mcp_server_count: 0,
exec_enabled: true,
exec_sandbox: null,
exec_path_prepend_set: false,
exec_path_append_set: false,
},
requires_restart: false,
@@ -1349,6 +1351,7 @@ describe("App layout", () => {
mcp_server_count: 0,
exec_enabled: true,
exec_sandbox: null,
exec_path_prepend_set: false,
exec_path_append_set: false,
},
requires_restart: false,
+1
View File
@@ -93,6 +93,7 @@ function settingsPayload(): SettingsPayload {
mcp_server_count: 0,
exec_enabled: true,
exec_sandbox: null,
exec_path_prepend_set: false,
exec_path_append_set: false,
},
requires_restart: false,
+1
View File
@@ -212,6 +212,7 @@ function modelSettings(model: string, provider: string): SettingsPayload {
mcp_server_count: 0,
exec_enabled: true,
exec_sandbox: null,
exec_path_prepend_set: false,
exec_path_append_set: false,
},
requires_restart: false,