@leing2021/super-pi 0.30.3 → 0.30.4

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.
@@ -408,11 +408,17 @@ export default function ceCoreExtension(pi: ExtensionAPI) {
408
408
  medium: "medium",
409
409
  high: "high",
410
410
  xhigh: "xhigh",
411
+ max: "max",
411
412
  "0": "low",
412
413
  "1": "medium",
413
414
  "2": "high",
414
415
  }
415
- const normalized = levelMap[targetThinking.toLowerCase()] ?? "medium"
416
+ const rawThinking = targetThinking.toLowerCase()
417
+ const knownLevel = levelMap[rawThinking]
418
+ const normalized = knownLevel ?? "medium"
419
+ if (!knownLevel && shouldNotify) {
420
+ ctx.ui.notify(`Unknown thinking level for ${stageKey}: ${targetThinking}, falling back to medium`, "warning")
421
+ }
416
422
  const currentLevel = pi.getThinkingLevel()
417
423
  if (currentLevel !== normalized) {
418
424
  pi.setThinkingLevel(normalized)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leing2021/super-pi",
3
- "version": "0.30.3",
3
+ "version": "0.30.4",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Pi-native Compound Engineering package for iterative development workflows",
@@ -40,8 +40,8 @@
40
40
  "typebox": ">=1.0.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@earendil-works/pi-coding-agent": "^0.80.0",
44
- "@earendil-works/pi-tui": "^0.80.0",
43
+ "@earendil-works/pi-coding-agent": "^0.84.1",
44
+ "@earendil-works/pi-tui": "^0.84.1",
45
45
  "bun-types": "^1.3.12"
46
46
  },
47
47
  "pi": {