terminal-smart-cli 0.97.21 → 0.97.22
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/lib/meta.js +5 -2
- package/package.json +1 -1
package/lib/meta.js
CHANGED
|
@@ -1580,7 +1580,10 @@ async function run(goal, opts = {}) {
|
|
|
1580
1580
|
// reason to burn the item's second implementation attempt.
|
|
1581
1581
|
if (!model && Array.isArray(item.avoidModels) && item.avoidModels.length) {
|
|
1582
1582
|
const avoid = item.avoidModels.map(v => String(v).toLowerCase());
|
|
1583
|
-
|
|
1583
|
+
// Use only model ids currently exposed by the CDC. Haiku remains in the
|
|
1584
|
+
// intelligence catalog for pricing/history, but it is not a callable CDC
|
|
1585
|
+
// id and must never be selected as the mission recovery executor.
|
|
1586
|
+
const candidates = ['glm-5.2', 'gpt-5.6-luna', 'deepseek-v4-pro'];
|
|
1584
1587
|
roundModel = candidates.find(c => !avoid.some(a => a.includes(c) || c.includes(a))) || roundModel;
|
|
1585
1588
|
}
|
|
1586
1589
|
if (visualLadder && item.id === 'visual_fix' && (st.visualFixes || 0) >= VISUAL_ESCALATE_AT && (useThinker || eye)) {
|
|
@@ -1612,7 +1615,7 @@ async function run(goal, opts = {}) {
|
|
|
1612
1615
|
// retries, switch to another tool-capable model before pausing.
|
|
1613
1616
|
// Change provider family first: if Flash is down, Pro from the same
|
|
1614
1617
|
// family is likely affected too. GLM is the economical independent fallback.
|
|
1615
|
-
const fallbacks = ['glm-5.2', 'deepseek-v4-pro', '
|
|
1618
|
+
const fallbacks = ['glm-5.2', 'deepseek-v4-pro', 'gpt-5.6-luna'];
|
|
1616
1619
|
if (!model && att === 0 && !roundModel) {
|
|
1617
1620
|
st.autoExecutorDegradedUntil = Date.now() + (10 * 60 * 1000);
|
|
1618
1621
|
save(st, dir);
|