[BUG] teammatemode in-process in global .claude/settings.json is ignored in psmux session

Status Open
Reported on v2.1.220
Maintainer reply None cached
Activity 0 comments · opened Jul 28, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

In psmux session, main agent is opening sub-agents in new split pane, not in process, even when "teammateMode": "in-process" flag is set in ~/.claude/settings.json.

What Should Happen?

Sub-agent sessions should not be opened in the split pane. And any split pane should not be opened.
Just running agent should be appended below of chatting input form.

Error Messages/Logs

no log

Steps to Reproduce

  1. write an option below in ~/.claude/settings.json
{
  "teammateMode": "in-process"
}
  1. run claude code without --teammate-mode in-process argument.
  1. request main agent to call some sub-agent such as Explore.

Claude Model

Other

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.220

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗