graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs
Python
test(pty): picker selection rows are the emerald accent too
Rach Pradhan5fed5b8a31dc
diff --git a/scripts/test-pty-repl.py b/scripts/test-pty-repl.pyindex dc3d110b..04fd5467 100755--- a/scripts/test-pty-repl.py+++ b/scripts/test-pty-repl.py@@ -10,9 +10,9 @@ from pty_harness import PtySession, terminal_text_arg = sys.argv[1] if len(sys.argv) > 1 else "graff"GRAFF = os.path.abspath(_arg) if os.sep in _arg else _arg-CORAL = b"\x1b[38;2;196;81;61m"-# The effort/ultracode badges moved from coral to the emerald accent when the-# palette aligned to the site (coral is reserved for errors) — ansi.zig style.accent.+# The effort/ultracode badges and the picker selection moved from coral to the+# emerald accent when the palette aligned to the site (coral is reserved for+# errors) — ansi.zig style.accent / pickers.zig.ACCENT = b"\x1b[38;2;5;150;105m"RESET = b"\x1b[0m"@@ -154,7 +154,7 @@ def main() -> None:paint = bytes(session.raw[cursor:]).rsplit(b"\x1b[2J\x1b[H", 1)[-1]if paint.count(b"\n") != 11:raise AssertionError("model picker exceeded its 12-row terminal budget")- if CORAL + b"\xe2\x80\xba deepseek-v4-pro" not in paint:+ if ACCENT + b"\xe2\x80\xba deepseek-v4-pro" not in paint:raise AssertionError("model picker did not initially select the active model")session.send_key("ctrl-c")session.wait_for_literal("] ›", start=cursor)@@ -165,7 +165,7 @@ def main() -> None:session.wait_for_literal("Ultra", start=cursor)session.pump_for(0.1)paint = bytes(session.raw[cursor:]).rsplit(b"\x1b[2J\x1b[H", 1)[-1]- if CORAL + b"\xe2\x80\xba Extra high" not in paint:+ if ACCENT + b"\xe2\x80\xba Extra high" not in paint:raise AssertionError("reasoning picker did not initially select the current level")session.send_key("ctrl-c")session.wait_for_literal("] ›", start=cursor)