# why
Help users find the Stagehand and Browse CLI community when they check
help or encounter an unexpected error. This PR is stacked on #3450,
which adds `browse discord` and the updated community invitation.
# what changed
Adds this footer to root help (`browse` and `browse --help`):
```text
COMMUNITY
Discord: https://discord.gg/stagehand
Report a bug: https://github.com/browserbase/stagehand/issues
```
Unexpected runtime errors also print this hint to stderr:
```text
Get help: https://discord.gg/stagehand · Report a bug: https://github.com/browserbase/stagehand/issues
```
The footer appears only on root help. Usage errors, command-not-found,
and expected `CommandFailure` errors omit the support hint.
For review, `packages/cli/src/help.ts` adds the footer and
`packages/cli/src/base.ts` handles the error hint. Includes a **patch
changeset for `browse`**.
# test plan
- [x] CLI TypeScript build and oclif manifest generation.
- [x] Discord, opener, help, and CLI surface tests: **83 passed**.
- [x] Unexpected-error subprocess case verifies both support links on
stderr, the original error, and exit code 1; removing the hint makes the
test fail.
- [x] Changed-file formatting and lint.
- [x] CI passing at `5c8de796d`, including Linux/Windows contracts,
Chrome smoke tests, regression tests, and automated review. Windows
contracts passed on rerun after the existing daemon-lock fixture
`EPERM`; the isolated test fix is #3456.
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>