Enable the Codex Live quality worker

Default Codex to a dedicated Sol/medium app-server worker with native skill and image inputs, inherited project context, bounded source neighborhood evidence, and progressive context refresh. Other harnesses retain the portable foreground path.\n\nAI-assisted: OpenAI Codex.
This commit is contained in:
Paul Bakaus
2026-07-12 19:57:47 -07:00
parent 6d1bd40959
commit f814dd329e
9 changed files with 218 additions and 31 deletions
@@ -34,6 +34,23 @@ export function selectFastCodexModel(models = []) {
return visible[0] || null;
}
/** Pick the strongest visible general Codex model for design-sensitive work. */
export function selectQualityCodexModel(models = []) {
const visible = models.filter((model) => model && !model.hidden);
const preferences = [
(model) => /5\.6/.test(modelSearchText(model)) && /sol/.test(modelSearchText(model)),
(model) => model.isDefault && !/(?:spark|mini)/.test(modelSearchText(model)),
(model) => !/(?:spark|mini)/.test(modelSearchText(model)),
(model) => model.isDefault,
];
for (const preference of preferences) {
const match = visible.find(preference);
if (match) return match;
}
return visible[0] || null;
}
/** Pick the least expensive supported effort, falling back to the catalog default. */
export function selectLowestReasoningEffort(model = {}) {
const efforts = (model.supportedReasoningEfforts || [])