You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"- If a response mentions outputArtifacts, use the artifact paths for full retained output instead of asking Codex to resend huge stdout/stderr.",
26464
26479
'- Do not use model_preset "spark" by default. Use Spark only when the user asks for Spark or when a quick focused sidecar check is clearly more appropriate than the default Codex model.',
26465
26480
'- Use reasoning "medium" by default, "low" for simple checks, and "high" only for difficult normal analysis. Use advanced.reasoning "xhigh" only when the user explicitly asks for maximum reasoning.',
26481
+
'- For the current strongest ChatGPT-backed Codex model, use advanced.model "gpt-5.5" or omit advanced.model. Do not invent a "-codex" suffix for GPT-5.5.',
26466
26482
'- Do not combine model_preset "spark" with reasoning_summary values other than "none"; Spark does not support reasoning.summary.',
26467
26483
"- Do not set service_tier by default. Let Codex use its normal account/default service tier unless the user explicitly asks for a service tier.",
26468
26484
"- Pass project_dir whenever Claude knows the active project directory so Codex works in the same tree as Claude Code.",
@@ -26727,7 +26743,9 @@ var codexRoleDefaults = {
26727
26743
}
26728
26744
};
26729
26745
var advancedInputSchema = external_exports.object({
26730
-
model: external_exports.string().trim().min(1).optional().describe("Exact Codex model. Use gpt-5.3-codex-spark only when the user explicitly asks for Codex Spark."),
"Exact Codex model. Use gpt-5.5 for the current strongest ChatGPT-backed model; do not add a -codex suffix to GPT-5.5. Use gpt-5.3-codex-spark only when the user explicitly asks for Codex Spark."
26748
+
),
26731
26749
model_preset: modelPresetSchema.optional().describe("Compatibility preset. Prefer advanced.model for new calls."),
26732
26750
reasoning: reasoningEffortSchema.optional().describe("Advanced reasoning effort, including xhigh. Minimal is still rejected by this server."),
26733
26751
reasoning_effort: reasoningEffortSchema.optional().describe("Compatibility alias for advanced.reasoning."),
summary: completed ? summarizeResultValue(waitValue, resultText, "Codex session is ready.") : waited.timeoutReason === "wait_timeout" ? "Codex session is still running." : "Codex session wait was cancelled."
28256
+
summary: completed ? summarizeResultValue(waitValue, resultText, `Codex session ${terminalStatus}.`) : waited.timeoutReason === "wait_timeout" ? "Codex session is still running." : "Codex session wait was cancelled."
28235
28257
};
28236
28258
if (waited.timeoutReason) payload2.timeoutReason = waited.timeoutReason;
28237
28259
if (!completed && waited.timeoutReason === "wait_timeout") {
28238
28260
payload2.hint = waitTimeout2.capped ? "This wait returned at the server responsiveness cap. Call codex_followup mode wait again, or read codex://sessions/<session_id> for current progress." : "Call codex_followup mode wait again, or read codex://sessions/<session_id> for current progress.";
0 commit comments