Skip to content

Commit a8d95fe

Browse files
Sync public snapshot from freebuff-private
Source: CodebuffAI/freebuff-private@2dfd70e6780db8410a9c1c22891d403383eccff9
1 parent 6a658d6 commit a8d95fe

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

bun.lock

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cli/scripts/smoke-binary.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ import { existsSync } from 'fs'
4242
// - "Free mode isn't available" — freebuff country-block screen (CI
4343
// runners with anonymized-network egress like GitHub Actions land here)
4444
// - "Enter a coding task" — chat input prompt
45+
// - OpenTUI terminal handshakes such as alternate-screen / Kitty keyboard
46+
// protocol enablement. On Windows GitHub Actions, the compiled binary can
47+
// emit the OpenTUI setup escape stream but not flush static React text
48+
// before the smoke timeout; that still proves the renderer reached the
49+
// post-init terminal surface. Tree-sitter is checked separately above, and
50+
// fatal markers below still fail the smoke if async startup breaks later.
4551
const BOOT_SIGNAL_PATTERNS = [
4652
/will run commands on your behalf/,
4753
/Pick a model to start/,
@@ -51,6 +57,8 @@ const BOOT_SIGNAL_PATTERNS = [
5157
/Press ENTER to login/,
5258
/Open this URL/,
5359
/Enter a coding task/,
60+
/\x1b\[\?1049h/,
61+
/\x1b\[\?2031h/,
5462
] as const
5563

5664
// Fatal markers we already know about — kept for nicer error messages on

0 commit comments

Comments
 (0)