Replace mock Agent Shell overlay with inline xterm PTY and dock/expand UX.

Uses a local-operator WebSocket bash session, keeps the map interactive, and SNAP docks the shell back into Mesh Chat instead of a floating blurred panel.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
BigBodyCobain
2026-06-10 11:30:50 -06:00
co-authored by Cursor
parent 0afb85e241
commit d1e1be4016
10 changed files with 503 additions and 249 deletions
@@ -127,7 +127,7 @@ describe('MeshChat behavior - policy wiring', () => {
it('MeshChat Agent Shell tab keeps legacy dm-add guidance in MeshTerminal', () => {
const index = readSource('../../components/MeshChat/index.tsx');
expect(index).toContain('AgentShellPanel');
expect(index).toContain('AGENT SHELL');
expect(index).toContain('SHELL');
expect(index).not.toContain('handleAddContact().catch(() =>');
const terminal = readSource('../../components/MeshTerminal.tsx');
expect(terminal).toContain('dm add');