@beastmode-develeap/beastmode 0.1.83 → 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.
@@ -5280,10 +5280,16 @@ function SettingsPage() {
5280
5280
  const cost = config.cost || {};
5281
5281
  const humanGates = config.human_gates || {};
5282
5282
 
5283
- const MODEL_OPTIONS = [
5284
- 'claude-opus-4-7', 'claude-sonnet-4-6', 'claude-haiku-4-5',
5285
- 'claude-opus-4-6',
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',
5286
5290
  ];
5291
+ const configuredModels = Object.values(models).filter(Boolean);
5292
+ const MODEL_OPTIONS = [...new Set([...configuredModels, ...KNOWN_MODELS])];
5287
5293
 
5288
5294
  const PRESET_OPTIONS = ['full', 'lean', 'prototype', 'infra', 'docs'];
5289
5295
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beastmode-develeap/beastmode",
3
- "version": "0.1.83",
3
+ "version": "0.1.84",
4
4
  "description": "BeastMode Dark Factory — turn intent into verified software",
5
5
  "type": "module",
6
6
  "bin": {