Skip to content

v2.4.1

Choose a tag to compare

@openwong2kim openwong2kim released this 03 Apr 11:35
· 415 commits to main since this release

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.identity RPC, then walking the process tree upward via PowerShell to find the matching PTY shell PID
  • Removed dangerous fallback: The activeWorkspaceId fallback 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.identity RPC 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