pi-model-control 0.1.3 → 0.1.5

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.
@@ -9,7 +9,9 @@ export function getSupportedLevels(m: any): string[] {
9
9
  if (!map) return [NULL_LEVELS];
10
10
 
11
11
  return DISPLAY_LEVELS.filter((level) => {
12
- const piLevel = level === NULL_LEVELS ? "off" : level;
12
+ if (level === NULL_LEVELS) return true;
13
+
14
+ const piLevel = level; // "minimal", "low", "medium", "high", "max"
13
15
  return Object.prototype.hasOwnProperty.call(map, piLevel) && map[piLevel] !== null;
14
16
  });
15
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-model-control",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Model and thinking level controls for pi — /variants and /thinking commands",
5
5
  "type": "module",
6
6
  "files": [