Files
qwen-code/scripts/tui-parity/component-parity.sh
T
ChiGao 6e6598e35c fix(cli): restore bounded OpenTUI dialogs and add migration gates (#14933)
* fix(cli): restore bounded OpenTUI dialogs and add migration gates

* fix(tui): harden migration cleanup and evidence after review

* test(tui): fail acceptance on unhandled errors
2026-10-21 10:05:14 +08:00

16 lines
611 B
Bash
Executable File

#!/usr/bin/env bash
# M5 component-level parity snapshot: render the same fragment under Ink and
# OpenTUI (headless) and diff layout/text. Requires bun. Exit 0 = parity.
set -euo pipefail
cd "$(dirname "$0")/../.."
if ! command -v bun >/dev/null 2>&1; then
echo "SKIP: bun not on PATH." >&2
exit 77
fi
bun packages/cli/scripts/opentui-component-parity.tsx
bun packages/cli/scripts/opentui-stats-parity.tsx
bun packages/cli/scripts/opentui-command-parity.ts
bun packages/cli/scripts/opentui-wrap-parity.ts
bun packages/cli/scripts/opentui-dialog-layout.tsx
bun packages/cli/scripts/opentui-hook-content.tsx