console: add goal-mode invincible option
DispatchSection gains a 'goal 模式无敌版' checkbox next to 'goal 模式': checking it sends goal_mode=1 plus no_time_limit=1 (server already accepts the field; the console just never exposed it). Plain goal checkbox behavior is unchanged; invincible wins when both are checked. Plan/coordinator mutual exclusion now covers invincible too (it is a goal variant). TaskDetailPanel shows 'goal 模式无敌版(不限时)' when a task carries no_time_limit. Help text states the honest boundary: worker/docker total timeouts are lifted, the 600s single-turn host guard stays. Built with npm run build (tsc+vite pass); console.html synced verbatim from dist/index.html.
This commit is contained in:
1 parent
9961a251d1
commit
7d400afa37
4 files changed
+36
-28
No files matched your search
@@ -10,6 +10,7 @@ export interface Task {
|
||||
turn_id?: string; root_turn_id?: string; plan?: number | boolean; forked_from?: string;
|
||||
coordinator_parts?: Array<{ name: string; prompt?: string }> | null; parent_task_id?: string;
|
||||
coordinator_part?: string; goal_mode?: number | boolean; verify_command?: string;
|
||||
no_time_limit?: number | boolean;
|
||||
environment_id?: string; attachments?: string[]; model?: string; effort?: string;
|
||||
child_model?: string; child_effort?: string; approval?: string;
|
||||
result_text?: string; error_text?: string;
|
||||
@@ -56,7 +57,7 @@ export const ROLES = ["viewer", "contributor", "maintainer", "owner"];
|
||||
export interface DispatchBody {
|
||||
project_id: string; prompt: string; environment_id?: string; executor?: string;
|
||||
model?: string; effort?: string; child_model?: string; child_effort?: string;
|
||||
approval?: string; plan?: number; goal_mode?: number; upload_id?: string;
|
||||
approval?: string; plan?: number; goal_mode?: number; no_time_limit?: number; upload_id?: string;
|
||||
coordinator_parts?: Array<{ name: string; prompt?: string }>;
|
||||
}
|
||||
export interface ContinueBody {
|
||||
|
||||
Reference in new issue
Block a user