mcp-codex-worker 0.1.21 → 0.1.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -41,6 +41,7 @@ export interface CreateTaskInput {
41
41
  provider: Provider;
42
42
  taskType: TaskTypeName;
43
43
  model?: string;
44
+ effort?: 'low' | 'medium' | 'high' | 'xhigh';
44
45
  timeoutMs?: number;
45
46
  dependsOn?: string[];
46
47
  labels?: string[];
@@ -115,6 +116,7 @@ export class TaskManager {
115
116
 
116
117
  // Only set optional properties when defined (exactOptionalPropertyTypes)
117
118
  if (input.model !== undefined) task.model = input.model;
119
+ if (input.effort !== undefined) task.effort = input.effort;
118
120
  if (input.timeoutMs !== undefined) task.timeoutMs = input.timeoutMs;
119
121
  if (input.dependsOn !== undefined) task.dependsOn = input.dependsOn;
120
122
 
@@ -86,6 +86,7 @@ export interface TaskState {
86
86
  prompt: string;
87
87
  cwd: string;
88
88
  model?: string;
89
+ effort?: 'low' | 'medium' | 'high' | 'xhigh';
89
90
  sessionId?: string;
90
91
  operationId?: string;
91
92