aiwcli 0.13.7 → 0.13.8

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.
@@ -7,7 +7,8 @@
7
7
  },
8
8
  "codex": {
9
9
  "enabled": true,
10
- "models": ["codex-mini-latest"]
10
+ "models": ["gpt-5.3-codex"],
11
+ "reasoningEffort": "low"
11
12
  }
12
13
  }
13
14
  },
@@ -149,6 +149,7 @@ export function loadModelsConfig(settings: Record<string, unknown>): ModelsConfi
149
149
  providers[name] = {
150
150
  enabled: c.enabled !== false,
151
151
  models: Array.isArray(c.models) ? (c.models as string[]).filter(Boolean) : [],
152
+ ...(typeof c.reasoningEffort === "string" && { reasoningEffort: c.reasoningEffort }),
152
153
  };
153
154
  }
154
155
  return { providers };
@@ -127,6 +127,7 @@ export interface AgentConfig {
127
127
  categories: string[];
128
128
  description: string;
129
129
  system_prompt: string; // Markdown body content for --system-prompt
130
+ reasoningEffort?: string; // e.g. "low", "medium", "high" — passed to codex -c model_reasoning_effort
130
131
  }
131
132
 
132
133
  /** Configuration for the plan orchestrator */
@@ -140,6 +141,7 @@ export interface OrchestratorConfig {
140
141
  export interface ProviderConfig {
141
142
  enabled: boolean;
142
143
  models: string[];
144
+ reasoningEffort?: string; // e.g. "low", "medium", "high" — codex model_reasoning_effort
143
145
  }
144
146
 
145
147
  /** Model provider pool configuration */
@@ -89,7 +89,7 @@ export function assignModelsToAgents(
89
89
  }
90
90
  return [name, config] as [string, typeof config];
91
91
  })
92
- .filter((entry): entry is [string, { enabled: boolean; models: string[] }] => entry !== null);
92
+ .filter((entry): entry is [string, { enabled: boolean; models: string[]; reasoningEffort?: string }] => entry !== null);
93
93
 
94
94
  // Sort by provider priority (codex first)
95
95
  enabledProviders.sort((a, b) => {
@@ -110,7 +110,7 @@ export function assignModelsToAgents(
110
110
  return agents.map(agent => {
111
111
  const modelIdx = Math.floor(Math.random() * providerConfig.models.length);
112
112
  const model = providerConfig.models[modelIdx] ?? providerConfig.models[0] ?? agent.model;
113
- return { ...agent, provider: providerName, model };
113
+ return { ...agent, provider: providerName, model, reasoningEffort: providerConfig.reasoningEffort };
114
114
  });
115
115
  }
116
116
 
@@ -54,6 +54,7 @@ export class CodexAgent extends BaseCliAgent<ReviewerResult> {
54
54
 
55
55
  const cmdArgs = ["exec", "--sandbox", "read-only"];
56
56
  if (this.agent.model) cmdArgs.push("--model", this.agent.model);
57
+ if (this.agent.reasoningEffort) cmdArgs.push("-c", `model_reasoning_effort="${this.agent.reasoningEffort}"`);
57
58
  cmdArgs.push("--output-schema", normalizedSchema, "-o", normalizedOut, "-");
58
59
 
59
60
  return cmdArgs;
@@ -416,5 +416,5 @@
416
416
  ]
417
417
  }
418
418
  },
419
- "version": "0.13.7"
419
+ "version": "0.13.8"
420
420
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aiwcli",
3
3
  "description": "AI Workflow CLI - Command-line interface for AI-powered workflows",
4
- "version": "0.13.7",
4
+ "version": "0.13.8",
5
5
  "author": "jofu-tofu",
6
6
  "bin": {
7
7
  "aiw": "bin/run.js"