[BUG] Teammate agent crashes in tmux with error <Box> can't be nested inside <Text> component

Resolved 💬 5 comments Opened Apr 25, 2026 by ivan01march Closed Apr 28, 2026

What's Wrong?

Teammate pane crashes in tmux when a permission prompt appears (e.g., a request to read the parent directory ..).

The pane displays the error: ` <Box> can't be nested inside <Text> component `.

What Should Happen?

The permission prompt should render correctly in the teammate pane without crashing it.

Error Messages/Logs

<Box> can't be nested inside <Text> component
  at createInstance (/$bunfs/root/src/entrypoints/cli.js:502:249)
  at Jv (/$bunfs/root/src/entrypoints/cli.js:484:58456)
  at VOH (/$bunfs/root/src/entrypoints/cli.js:484:88642)
  at oTH (/$bunfs/root/src/entrypoints/cli.js:484:87842)
  at PD8 (/$bunfs/root/src/entrypoints/cli.js:484:86738)
  at rTH (/$bunfs/root/src/entrypoints/cli.js:484:86558)
  at jJ$ (/$bunfs/root/src/entrypoints/cli.js:484:83272)
  at aH  (/$bunfs/root/src/entrypoints/cli.js:484:6552)
  at vH  (/$bunfs/root/src/entrypoints/cli.js:484:5006)
  at UH  (/$bunfs/root/src/entrypoints/cli.js:484:5318)

Steps to Reproduce

Prerequisites: WSL, tmux, Claude Code version 2.1.117 or newer.

Relevant settings in ~/.claude/settings.json:

{
  "verbose": true,
  "teammateMode": "auto",
  "tui": "fullscreen",
  "theme": "light",
  "showThinkingSummaries": true
}
  1. Ask the teamlead (orchestrator) to create a team and a teammate.
  2. Ask the teamlead (or the teammate directly) to read the parent directory (..).
  3. In the teamlead pane: a permission request appears.
  4. In the teammate pane: the error message appears and the pane crashes.

Last Working Version

2.1.116

Additional Information

Version 2.1.116 does not have this bug. The crash reproduces consistently on 2.1.117, 2.1.118, and 2.1.119.

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗