v2.17.1
Two small MCP fixes on top of v2.17.0, both dogfood-verified on a live build before tagging.
Fixed
browser_closeno longer leaves an empty pane behind. The UI close path removes a pane when its last surface is closed, but the MCP mirror only closed the surface — leaving an empty leaf that the "auto-create initial surface" effect backfilled with a fresh terminal. Abrowser_open/browser_closeloop accreted blank PowerShell panes. The handler now snapshots whether the closed surface was the pane's last one before removing it, then cascades intoclosePaneto mirror the UI path. A browser sharing a split pane with a terminal still only loses the surface; a browser that is a workspace's only (root) pane still gets an auto-terminal, matching the UI exactly. (#144)- Stale pid-map anchors are pruned on workspace/pane close. The pid→ptyId anchor that backs MCP workspace-identity resolution was only pruned on
session:died, so closing a workspace or pane through the UI (thedestroySessionpath) leaked its anchor. Over time those stale entries could mis-resolve a ghost workspace identity. Closing now prunes the anchor immediately, in lockstep with the session teardown. (#142)
What's Changed
- fix(mcp): stop ghost workspace identity from stale pid-map entries by @openwong2kim in #142
- fix(mcp): remove the empty pane left by browser_close by @openwong2kim in #144
Full Changelog: v2.17.0...v2.17.1