{ "_meta": { "description": "D6 fixtures for langgraph-python / gen-ui-open-advanced", "sourceFile": "harness/fixtures/d5/gen-ui-open.json (advanced pills)", "copiedFrom": "langgraph-typescript (canonical sandboxed-UI jsFunctions)", "note": "Sandboxed-UI jsFunctions copied verbatim from langgraph-typescript so the calculator keypad+= and host-ping button wire to the iframe<->host bridge. The 'Inline expression evaluator' pill is NOT duplicated here — it already lives in gen-ui-open.json (same context, identical generateSandboxedUi arguments + its own tool-result follow-up), so this file only supplies the otherwise-missing Calculator and Ping pills.", "created": "2026-05-22" }, "fixtures": [ { "_comment": "gen-ui-open-advanced: Calculator pill — generateSandboxedUi with jsFunctions wiring for evaluateExpression host callback.", "match": { "userMessage": "Calculator (calls evaluateExpression)", "hasToolResult": false, "context": "langgraph-python" }, "response": { "toolCalls": [ { "id": "call_d5_open_gen_ui_calc_001", "name": "generateSandboxedUi", "arguments": "{\"initialHeight\":480,\"placeholderMessages\":[\"Composing calculator UI…\"],\"css\":\"body{margin:0;font-family:system-ui;background:#0f172a;color:#e2e8f0}.wrap{padding:16px;max-width:240px}.display{background:#1e293b;padding:8px;border-radius:8px;margin-bottom:8px;font-family:monospace;text-align:right}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}button{padding:10px;background:#334155;border:0;color:#e2e8f0;border-radius:6px;font-size:14px}\",\"html\":\"