v2.4.1
What's New
Workspace Identity Resolution for MCP Servers
Claude Code doesn't propagate WMUX_WORKSPACE_ID environment variables to MCP child processes, causing agents to be unable to identify which workspace they belong to. This release fixes the core issue:
- PID-based identity resolution: PTYManager writes shell PID→workspaceId mappings to
~/.wmux/pid-map/on PTY creation (both local and daemon modes) - Process tree walking: MCP servers resolve their workspace identity by calling
a2a.resolve.identityRPC, then walking the process tree upward via PowerShell to find the matching PTY shell PID - Removed dangerous fallback: The
activeWorkspaceIdfallback that caused identity confusion when focus changed between workspaces has been removed. All A2A operations now require explicit workspace identity - Clear error messages: When workspace identity cannot be determined, agents receive actionable error messages instead of silently using the wrong workspace
Company Mode Scaffolding
- Company/department/team member data model and store
- Agent persona generator, cost estimator, message queue
- Built-in company templates
- Company RPC handlers and worktree management
- wmux-a2a MCP server for structured inter-agent communication
A2A Protocol Improvements
a2a.resolve.identityRPC for workspace identity resolution- Background task execution via ClaudeWorker
- Improved task routing and workspace matching
Full Changelog: v2.4.0...v2.4.1
Full Changelog: v2.4.0...v2.4.1