Remove flask ASCII art and update harness internals

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Advait Paliwal
2026-03-23 11:35:12 -07:00
parent 46810f97b7
commit d23e679331
7 changed files with 254 additions and 298 deletions

18
tests/pi-settings.test.ts Normal file
View File

@@ -0,0 +1,18 @@
import assert from "node:assert/strict";
import test from "node:test";
import { normalizeThinkingLevel } from "../src/pi/settings.js";
test("normalizeThinkingLevel accepts the latest Pi thinking levels", () => {
assert.equal(normalizeThinkingLevel("off"), "off");
assert.equal(normalizeThinkingLevel("minimal"), "minimal");
assert.equal(normalizeThinkingLevel("low"), "low");
assert.equal(normalizeThinkingLevel("medium"), "medium");
assert.equal(normalizeThinkingLevel("high"), "high");
assert.equal(normalizeThinkingLevel("xhigh"), "xhigh");
});
test("normalizeThinkingLevel rejects unknown values", () => {
assert.equal(normalizeThinkingLevel("turbo"), undefined);
assert.equal(normalizeThinkingLevel(undefined), undefined);
});