fix(shell): separate wait, idle, and runtime limits (#6228)
* fix(shell): separate wait, idle, and runtime limits * fix(shell): separate wait, idle, and runtime limits * fix(exec): preserve settings aliases and reclaim completed sessions * fix(webui): make shell runtime limits explicit
This commit is contained in:
1 parent
70ac000ad9
commit
6310a39bac
36 files changed
+2392
-564
No files matched your search
@@ -1,7 +1,7 @@
|
||||
export interface RuntimeConfigField {
|
||||
group: string;
|
||||
path: string;
|
||||
kind: "toggle" | "text" | "nullable" | "number" | "boolean" | "select" | "list" | "preset";
|
||||
kind: "toggle" | "text" | "nullable" | "number" | "duration" | "boolean" | "select" | "list" | "preset";
|
||||
options?: string[];
|
||||
when?: { path: string; value: string | boolean | string[] };
|
||||
manual?: boolean;
|
||||
@@ -44,7 +44,7 @@ export const RUNTIME_CONFIG_FIELDS: RuntimeConfigField[] = [
|
||||
{ group: "web", path: "tools.web.enable", kind: "boolean" },
|
||||
{ group: "tools", path: "tools.my.enable", kind: "boolean" },
|
||||
{ group: "tools", path: "tools.my.allow_set", kind: "boolean", when: { path: "tools.my.enable", value: true } },
|
||||
{ group: "shell", path: "tools.exec.timeout", kind: "number", min: 0 },
|
||||
{ group: "shell", path: "tools.exec.timeout", kind: "duration", min: 0 },
|
||||
{ group: "shell", path: "tools.exec.path_prepend", kind: "text" },
|
||||
{ group: "shell", path: "tools.exec.path_append", kind: "text" },
|
||||
{ group: "shell", path: "tools.exec.sandbox", kind: "select", options: ["", "bwrap", "seatbelt"] },
|
||||
|
||||
Reference in new issue
Block a user