@evo-dev/core 0.0.1-alpha.15 → 0.0.1-alpha.17

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.
package/src/team/index.ts CHANGED
@@ -2844,6 +2844,9 @@ function resolveRuntimeCommand(
2844
2844
  function buildCodexArgs(role: ResolvedTeamRole, startupPrompt: string): string[] {
2845
2845
  const args = ["--no-alt-screen"];
2846
2846
  if (role.model !== null) args.push("--model", role.model);
2847
+ if (role.thinkingLevel !== null) {
2848
+ args.push("--config", `model_reasoning_effort=${JSON.stringify(role.thinkingLevel)}`);
2849
+ }
2847
2850
  if (shouldPassVisibleStartupPrompt(role)) args.push(startupPrompt);
2848
2851
  return args;
2849
2852
  }
@@ -2855,6 +2858,9 @@ function buildCodexResumeArgs(
2855
2858
  ): string[] {
2856
2859
  const args = ["--no-alt-screen"];
2857
2860
  if (role.model !== null) args.push("--model", role.model);
2861
+ if (role.thinkingLevel !== null) {
2862
+ args.push("--config", `model_reasoning_effort=${JSON.stringify(role.thinkingLevel)}`);
2863
+ }
2858
2864
  args.push("resume");
2859
2865
  if (mode.type === "resume") {
2860
2866
  args.push(mode.sessionId);