Commit Graph
22 Commits
Author SHA1 Message Date
LAPTOP-O016UC3M\Qi Chen e00fa2733b Renames app and codebase from Nebula to Netcatty
Updates all code references, IPC channels, CSS classes, and storage keys
from "nebula" to "netcatty" to align with new branding and application identity.
Ensures consistency across frontend, Electron backend, global types,
and package metadata.
2025-12-11 18:42:01 +08:00
LAPTOP-O016UC3M\Qi Chen 61cdc54096 Improves terminal performance and SSH responsiveness
Reduces terminal scrollback for faster rendering and preloads WASM for quicker terminal startup.

Optimizes SSH connection parameters for faster failure detection and lower latency (shorter timeout, longer keepalive interval, prioritized fast ciphers and key exchange).

Decreases IPC overhead by buffering terminal data output before sending to the frontend, reducing message frequency and improving efficiency.
2025-12-11 18:23:56 +08:00
LAPTOP-O016UC3M\Qi Chen 4bffff409a Refactors main process by modularizing core logic
Improves maintainability and scalability by extracting major functional areas
into dedicated bridge modules for SSH, SFTP, local filesystem, transfers,
port forwarding, terminal sessions, and window management.

Reduces code duplication and simplifies future updates by centralizing IPC
handler registration and dependency injection.

Prepares the codebase for easier testing and clearer separation of concerns.
2025-12-11 15:29:25 +08:00
LAPTOP-O016UC3M\Qi Chen bcad0c6865 Refactors UI and Electron main into modular subcomponents
Extracts major UI panels, file transfer, terminal controls, and SFTP logic into dedicated subcomponents for improved maintainability and clarity.
Modularizes Electron main process, delegating SSH, SFTP, terminal, port forwarding, and window management to bridge modules, reducing complexity and centralizing IPC registration.

Enables easier future development, clearer separation of concerns, and better scalability by making both frontend and backend architectures more modular and easier to reason about.
2025-12-11 15:20:42 +08:00
LAPTOP-O016UC3M\Qi Chen 48dc5aa6a8 Replaces popover menus with dropdowns and improves UX
Unifies UI controls by switching popover-based menus to dropdown components for view mode, sort, and tag filtering across multiple editors. Refactors dropdown rendering to use portals for more reliable positioning, and updates menu trigger icons for clarity.

Handles EPIPE and stream errors gracefully in Electron to prevent crashes when writing to closed streams, improving terminal stability.

Enhances code maintainability and ensures consistent user experience.
2025-12-11 12:05:06 +08:00
bincxz aff8a603d3 Adds protocol selection and native Telnet support
Improves host connection flow by allowing users to choose SSH, Mosh, or Telnet protocols when multiple are available.

Implements native Telnet client, removing system dependency and enabling proper Telnet negotiation, window resizing, and terminal type handling.

Ensures session protocol overrides persist during connection, improving accuracy of terminal sessions.

Enhances UI logic for protocol-specific host details and quick connect wizard navigation.
2025-12-11 03:28:44 +08:00
bincxz 52296be474 Adds Telnet and Mosh protocol support to host sessions
Enables users to connect to hosts using Telnet and Mosh protocols
in addition to SSH and local shell, improving flexibility for
varied environments. Updates UI to configure protocol-specific
settings, credentials, and theme. Integrates backend and bridge
logic for spawning Telnet and Mosh sessions. Improves detection
of available protocols per host.

Relates to multi-protocol connectivity feature.
2025-12-11 03:03:28 +08:00
bincxz c13fbdd727 Enables native SSH key generation and improves auth fallback
Integrates real SSH keypair generation via Electron backend, replacing previous client-side mock generation for stronger security and reliability.

Refines authentication logic to always provide password credentials for SSH and SFTP connections, ensuring fallback support when key-based authentication fails.

Improves public key export flow with better host update handling and clearer error feedback.

Updates host save logic to correctly update or insert records on key association.

Fixes edge cases in SSH command execution status reporting for more robust error detection.
2025-12-11 02:03:22 +08:00
LAPTOP-O016UC3M\Qi Chen b86f04f82a Improves SSH auth failure handling and user feedback
Enhances SSH connection logic to detect authentication failures and prompt users for credential re-entry with clear error messaging.
Extends frontend dialog UX for retries and highlights errors.
Adds backend event and IPC handling for auth failures and timeouts, improving reliability and troubleshooting for multi-hop scenarios.
2025-12-10 17:26:48 +08:00
LAPTOP-O016UC3M\Qi Chen 5344e6dacb feat: add support for proxy and jump host configurations in SSH connections
- Introduced ProxyConfig and HostChainConfig types for structured proxy and jump host settings.
- Updated Host interface to include proxyConfig and hostChain properties.
- Enhanced Terminal and TerminalLayer components to handle proxy and jump host connections.
- Implemented chain connection progress tracking and UI updates in the terminal.
- Added KnownHostConfirmDialog for host key verification during SSH connections.
- Integrated known hosts management with callbacks for adding new hosts.

Adds SSH proxy and jump host chain support with UI

Introduces structured configuration for proxies and jump hosts in SSH connections.

Updates host model and terminal components to allow indirect connections via proxy or chained hosts, with progress tracking and improved connection feedback.

Enhances user interface for managing host details, proxy settings, environment variables, and host verification.

Improves connection security and flexibility for complex network scenarios.
2025-12-10 16:25:52 +08:00
LAPTOP-O016UC3M\Qi Chen 1a7d9e7639 Improves performance and removes debug logging
Reduces unnecessary re-renders in terminal and workspace components by optimizing host object creation and separating visibility effects.
Speeds up SSH connection issue detection and lowers latency via adjusted keepalive and cipher settings.
Removes debug console logs to clean up output and improve efficiency.
2025-12-10 13:55:52 +08:00
LAPTOP-O016UC3M\Qi Chen afea784117 Adds FIDO2 security key support and key export workflow
Enables registration and management of FIDO2 hardware-backed SSH keys using WebAuthn, including a production HTTP server for secure context.

Introduces export-to-host functionality with script customization and host selection, improving workflow for attaching public keys to remote systems.

Refines UI interactions, adds context menus for keys, and improves toast notifications for consistent feedback.
2025-12-10 13:41:43 +08:00
LAPTOP-O016UC3M\Qi Chen b6187b7d72 Enhances known hosts UX with view, sort, and auto-import
Improves the known hosts manager by adding grid/list view toggles, advanced sorting, and debounced searching for better usability. Refactors host item rendering for performance. Implements auto-import of system known_hosts via Electron bridge for easier onboarding. Updates WebAuthn credential logic for better platform and security context handling.
2025-12-09 22:08:04 +08:00
LAPTOP-O016UC3M\Qi Chen b27743bdfe Adds sorting, progress upload, and range selection to SFTP UI
Enables sortable columns and adjustable widths in SFTP file views for improved navigation and usability.

Implements real-time progress feedback for uploads using IPC, enhancing transparency and error handling during file transfers.

Introduces shift-click range selection and multi-file actions, streamlining bulk operations.

Applies more comprehensive file-type icons and UX refinements for clarity.
2025-12-09 21:33:54 +08:00
bincxz 8c4e6df208 feat: 添加 ToastProvider 组件以支持全局通知功能,并在 PortForwarding 组件中集成错误提示 2025-12-09 03:22:39 +08:00
bincxz 46d3f8738e feat: Implement port forwarding functionality with SSH support
- Added port forwarding service to manage SSH tunnels.
- Integrated port forwarding UI in PortForwardingNew component.
- Enhanced VaultView to support new port forwarding props.
- Implemented IPC handlers in Electron main process for starting, stopping, and retrieving status of port forwarding tunnels.
- Added preload API for port forwarding operations and status listeners.
- Updated global types to include port forwarding options and results.
- Improved error handling and connection simulation for development mode.
2025-12-09 02:54:14 +08:00
LAPTOP-O016UC3M\Qi Chen 6bca691d93 feat: add cancellation support for file transfers and cleanup of related listeners 2025-12-08 21:28:43 +08:00
LAPTOP-O016UC3M\Qi Chen 47ee220be7 feat: enhance SFTP transfer functionality with progress tracking and cancellation support
- Added helper functions to format transfer bytes and speed for better UI representation.
- Improved TransferItem component to display bytes transferred and remaining time.
- Implemented streaming transfer with real-time progress updates and cancellation capability in the Electron main process.
- Introduced IPC handlers for file operations including delete, rename, and stat for both SFTP and local filesystems.
- Updated preload script to handle transfer progress, completion, and error events.
- Enhanced global type definitions to support new streaming transfer API.
- Modified CSS animations for a smoother progress indication.
2025-12-08 21:03:31 +08:00
LAPTOP-O016UC3M\Qi Chen 8b40c8edce feat: Implement custom window controls and theme management for Electron app 2025-12-08 16:15:05 +08:00
LAPTOP-O016UC3M\Qi Chen bb402b2ad5 chore: update package.json to include postinstall and rebuild scripts, and upgrade electron version 2025-12-08 16:14:52 +08:00
bincxz 1de171cf51 feat: Add local terminal support and optimize terminal session management 2025-12-07 23:19:45 +08:00
bincxz 9360c31a78 first commit 2025-12-07 03:25:07 +08:00