clementine-agent 1.18.18 → 1.18.19
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/dist/cli/dashboard.js +3 -3
- package/package.json +1 -1
package/dist/cli/dashboard.js
CHANGED
|
@@ -5833,7 +5833,7 @@ If the tool returns nothing or errors, return an empty array \`[]\`.`,
|
|
|
5833
5833
|
}
|
|
5834
5834
|
else if (preset === 'uncapped' || preset === 'off' || preset === 'none') {
|
|
5835
5835
|
writes = DASHBOARD_BUDGET_ROWS.map(row => ({ key: row.key, value: '0' }));
|
|
5836
|
-
message = 'Removed spend caps by setting all budget values to 0. Restart Clementine to apply to running workers.';
|
|
5836
|
+
message = 'Removed spend caps by setting all budget values to 0. This does not change 1M context mode; use Force 200K or Safe Recovery for 1M errors. Restart Clementine to apply to running workers.';
|
|
5837
5837
|
}
|
|
5838
5838
|
else {
|
|
5839
5839
|
res.status(400).json({ error: 'preset must be defaults or uncapped' });
|
|
@@ -20089,7 +20089,7 @@ async function refreshBudgetHealth() {
|
|
|
20089
20089
|
+ '<div style="display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end">'
|
|
20090
20090
|
+ '<button class="btn-sm btn-primary" onclick="applySafeBudgetPreset()">Safe Recovery</button>'
|
|
20091
20091
|
+ '<button class="btn-sm" onclick="applyBudgetPreset(\\x27defaults\\x27)">Default Caps</button>'
|
|
20092
|
-
+ '<button class="btn-sm" onclick="applyBudgetPreset(\\x27uncapped\\x27)">No Caps</button>'
|
|
20092
|
+
+ '<button class="btn-sm" onclick="applyBudgetPreset(\\x27uncapped\\x27)">No Spend Caps</button>'
|
|
20093
20093
|
+ '<button class="btn-sm" onclick="setBudgetContextMode(\\x27auto\\x27)">Smart Auto</button>'
|
|
20094
20094
|
+ '<button class="btn-sm" onclick="setBudgetContextMode(\\x27off\\x27)">Force 200K</button>'
|
|
20095
20095
|
+ '<button class="btn-sm" onclick="forceBudgetOneMillion()">Force 1M</button>'
|
|
@@ -20180,7 +20180,7 @@ async function applySafeBudgetPreset() {
|
|
|
20180
20180
|
}
|
|
20181
20181
|
|
|
20182
20182
|
async function applyBudgetPreset(preset) {
|
|
20183
|
-
if (preset === 'uncapped' && !confirm('Remove
|
|
20183
|
+
if (preset === 'uncapped' && !confirm('Remove spend caps only? This does not disable 1M context. For 1M errors, use Safe Recovery or Force 200K.')) return;
|
|
20184
20184
|
var d = await postBudgetAction('/api/budgets/preset', { preset: preset });
|
|
20185
20185
|
if (d && d.ok) markRestartRequired('Spend guard changes need a Clementine restart before running workers use the new caps.');
|
|
20186
20186
|
refreshSettings();
|