feat: add terminal broadcast, context menu, and shell close

Complete multi-pane broadcast, standard terminal right-click actions, batch host selection with progress, and native ssh_close_shell so closing a pane tears down the remote shell.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Logan.LiandCursor committed 2026-08-05 19:53:39 +08:00
1 parent 494ef6b9d0
commit 9ce71795b8
38 files changed
+1437 -186

No files matched your search

@@ -205,4 +205,18 @@ describe('Session workflow acceptance', () => {
expect(sessionTarget).toHaveValue('admin@example.com:2200')
expect(screen.getByLabelText('端口')).toHaveValue(2200)
})
it('clears quick-connect credentials whenever the dialog is reopened', async () => {
const user = userEvent.setup()
const { rerender } = render(<QuickConnectDialog isOpen onClose={vi.fn()} />)
await user.type(screen.getByPlaceholderText('root@192.168.1.10:22'), 'root@example.com')
await user.type(screen.getByPlaceholderText('••••••••'), 'temporary-secret')
rerender(<QuickConnectDialog isOpen={false} onClose={vi.fn()} />)
rerender(<QuickConnectDialog isOpen onClose={vi.fn()} />)
expect(screen.getByPlaceholderText('root@192.168.1.10:22')).toHaveValue('')
expect(screen.getByPlaceholderText('••••••••')).toHaveValue('')
})
})