Skip to content

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

Description

@x2605

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • 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.

  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions