@beastmode-develeap/beastmode 0.1.82 → 0.1.84
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/web/board.html +10 -2
- package/package.json +1 -1
package/dist/web/board.html
CHANGED
|
@@ -5280,9 +5280,16 @@ function SettingsPage() {
|
|
|
5280
5280
|
const cost = config.cost || {};
|
|
5281
5281
|
const humanGates = config.human_gates || {};
|
|
5282
5282
|
|
|
5283
|
-
|
|
5284
|
-
|
|
5283
|
+
// Build model options dynamically from whatever the config actually uses,
|
|
5284
|
+
// plus well-known model families. No more hardcoding — when Anthropic
|
|
5285
|
+
// releases a new model, it shows up as soon as someone sets it in config.
|
|
5286
|
+
const KNOWN_MODELS = [
|
|
5287
|
+
'claude-opus-4-7', 'claude-sonnet-4-7',
|
|
5288
|
+
'claude-opus-4-6', 'claude-sonnet-4-6',
|
|
5289
|
+
'claude-haiku-4-5',
|
|
5285
5290
|
];
|
|
5291
|
+
const configuredModels = Object.values(models).filter(Boolean);
|
|
5292
|
+
const MODEL_OPTIONS = [...new Set([...configuredModels, ...KNOWN_MODELS])];
|
|
5286
5293
|
|
|
5287
5294
|
const PRESET_OPTIONS = ['full', 'lean', 'prototype', 'infra', 'docs'];
|
|
5288
5295
|
|
|
@@ -5394,6 +5401,7 @@ function SettingsPage() {
|
|
|
5394
5401
|
<div><div class="setting-label" style="text-transform:capitalize">${stage.replace(/_/g, ' ')}</div></div>
|
|
5395
5402
|
<div class="setting-control">
|
|
5396
5403
|
<select class="form-input" style="width:200px" value=${models[stage] || 'claude-sonnet-4-6'}
|
|
5404
|
+
|
|
5397
5405
|
onChange=${e => updateField('models.' + stage, e.target.value)}>
|
|
5398
5406
|
${MODEL_OPTIONS.map(m => html`<option key=${m} value=${m}>${m}</option>`)}
|
|
5399
5407
|
</select>
|