Phase 4, issue P4.4 — part of the multiplexer backend abstraction implementation plan.
Design: docs/designs/cuekit-multiplexer-backend-design.md
Prerequisites: P4.3 merged.
Outcome
MultiplexerBackend gets an optional killTeamSession(team_id). ZellijBackend implements it as kill-sessions cuekit-team-<id>. The MCP cleanup_team handler calls it after individual cleanups.
Files
- Modify:
packages/adapters/src/multiplexer-backend.ts
- Modify:
packages/adapters/src/zellij-backend.ts
- Modify:
packages/mcp/src/* (the cleanup_team handler — locate via grep)
Steps
Acceptance
Integration test: after cleanup_team, the zellij session is gone (zellij list-sessions does not list it).
Phase 4, issue P4.4 — part of the multiplexer backend abstraction implementation plan.
Design:
docs/designs/cuekit-multiplexer-backend-design.mdPrerequisites: P4.3 merged.
Outcome
MultiplexerBackendgets an optionalkillTeamSession(team_id).ZellijBackendimplements it askill-sessions cuekit-team-<id>. The MCPcleanup_teamhandler calls it after individual cleanups.Files
packages/adapters/src/multiplexer-backend.tspackages/adapters/src/zellij-backend.tspackages/mcp/src/*(thecleanup_teamhandler — locate via grep)Steps
killTeamSession?(team_id): Promise<void>to interface.ZellijBackend.killTeamSession: issuekill-sessions.cleanup_teamhandler: after looping cleanup of member tasks, callbackend.killTeamSession?.(team_id).Acceptance
Integration test: after
cleanup_team, the zellij session is gone (zellij list-sessionsdoes not list it).