AI Terminal
AI Terminal là terminal bền bỉ do SwiftDesk giữ trên máy host. Nó liệt kê và mở lại phiên Claude Code, Codex và Cursor theo từng project, và tạo phiên mới: New shell, Claude, Codex hoặc Cursor.
Mở AI Terminal
- Trình duyệt:
http://192.168.1.20:7340/term.
- App: menu của máy đó → AI terminals. Trong danh bạ của app, máy đã pair còn hiện các công cụ AI đã cài và các phiên AI đang có; Scan network cho biết máy nào bật AI Terminal.
Chỉ thiết bị owner
Terminal cho quyền truy cập đầy đủ vào máy, nên chỉ thiết bị owner dùng được. Để đặt thiết bị của bạn làm owner: trên máy host mở cửa sổ SwiftDesk → Paired devices → Make owner. Thu hồi thiết bị là thiết bị đó mất quyền ngay.
Phiên tồn tại bao lâu
Đóng trình duyệt, đóng app hay rớt mạng đều không làm mất phiên.
| Hệ điều hành host | Cách giữ phiên | Khi host khởi động lại |
| macOS, Linux | tmux, socket swiftdesk | Phiên vẫn còn |
| Windows | ConPTY | Phiên kết thúc; phiên AI mở lại được từ danh sách |
Phiên vẫn chạy khi bạn không xem, nên hãy đóng phiên không dùng nữa.
Giới hạn hiện tại
- AI Terminal chưa đi qua relay của SwiftDesk Cloud: hãy kết nối trực tiếp trong LAN hoặc Tailscale.
- Linux host (chỉ terminal, không chia sẻ màn hình): sắp có bản tải về.
AI Terminal
AI Terminal gives you persistent terminals hosted by SwiftDesk on the host. It lists and resumes Claude Code, Codex and Cursor sessions grouped by project, and starts new ones: New shell, Claude, Codex or Cursor.
Opening AI Terminal
- Browser:
http://192.168.1.20:7340/term.
- App: that computer's menu → AI terminals. In the app's address book, paired entries also show the AI tools installed and the AI sessions available; Scan network tells you which computers have AI Terminal on.
Owner devices only
A terminal is full access to the machine, so only owner devices can use it. To make your device an owner: on the host, open the SwiftDesk window → Paired devices → Make owner. Revoking a device removes the right immediately.
How long sessions live
Closing the browser or app, or losing the network, does not end a session.
| Host OS | Keeps sessions in | When the host restarts |
| macOS, Linux | tmux, socket swiftdesk | Sessions survive |
| Windows | ConPTY | Sessions end; AI sessions can be resumed from the list |
Sessions keep running while nobody is watching, so close the ones you no longer need.
Current limits
- AI Terminal does not go through the SwiftDesk Cloud relay yet: connect directly over your LAN or Tailscale.
- Linux host (terminal only, no screen sharing): coming as a download.