Commit Graph
37 Commits
Author SHA1 Message Date
copilot-swe-agent[bot]andbinaricat ccf707df5a Add serial port connection support
Co-authored-by: binaricat <16399091+binaricat@users.noreply.github.com>
2026-01-05 12:13:54 +00:00
LAPTOP-O016UC3M\Qi Chen b66e7b8fff Refines terminal toolbar UI and disables drag in focus mode
Reduces toolbar button sizes for a more compact interface and
adjusts icon dimensions for visual consistency.

Prevents drag and drop actions in terminal focus mode to avoid
unintended workspace changes, improving user experience during
focused workflows.
2025-12-19 16:35:35 +08:00
bincxz 9d4d349329 Prevents global hotkey handling during recording
Improves shortcut editing experience by disabling global hotkey interception while a keybinding is being recorded.
Ensures that hotkey recording state persists and synchronizes across settings and UI.
Prevents conflicts between shortcut editor and app-level key handling.
2025-12-19 07:03:00 +08:00
LAPTOP-O016UC3M\Qi Chen 13f8e8cd59 Adds reusable SSH identities and integrates identity auth
Introduces reusable SSH identities for authentication, allowing hosts to reference centralized identity records containing usernames, passwords, and key/certificate associations. Updates connection, SFTP, terminal, and sync logic to resolve credentials via identities, improving credential management and reuse.

Enhances UI for identity selection, editing, and deletion. Updates localization for related identity and credential strings. Ensures identities are included in sync and vault persistence.

Streamlines SSH connection attempts by preferring key-based auth with fallback to password, both for host and identity-based authentication.

Facilitates safer, more flexible credential management across the application.
2025-12-18 11:45:20 +08:00
bincxz 1a4c6ade9f Enables local terminal customization for theme and font
Allows users to customize theme, font family, and font size for local terminals independently of remote host settings. Improves user experience by making appearance preferences for local sessions more flexible and immediately responsive.
2025-12-18 00:22:54 +08:00
bincxz 3b608834f6 Adds connection log capture and replay for terminals
Implements persistent logging of terminal sessions, capturing system info and terminal output for each connection, including local and remote. Introduces a logs section in the UI to view, save, delete, and replay connection logs in read-only tabs. Adds deduplication for known hosts and improves tab management to support log replays alongside terminal and workspace tabs.

Enables future auditing, troubleshooting, and session review by storing terminal data and session metadata.
2025-12-14 21:37:46 +08:00
bincxz 39ba13f11e Fixes code formatting inconsistencies in terminal components
Normalizes whitespace and indentation to improve code readability and maintain consistency across terminal-related components. No logic or functionality changes are introduced.
2025-12-14 15:19:46 +08:00
bincxz a0f244b56b Adds workspace broadcast mode with hotkey toggle
Implements a broadcast mode that lets users send terminal input to all sessions within a workspace. Introduces a hotkey to toggle broadcast for the active workspace and a UI indicator/button in the terminal header. Removes the unused side panel hotkey action. Updates tab navigation logic to accommodate new sections.

Enables more efficient multi-session workflows by allowing synchronized input across terminals.
2025-12-14 15:19:40 +08:00
bincxz fb35f989b8 Refactors to enforce backend access via application hooks
Replaces all direct usage of browser globals and infrastructure service imports in UI components with dedicated application/state backend hooks. Introduces lint rules to prevent direct access to backend bridges and localStorage from components, promoting a cleaner separation of concerns and improved maintainability.

Moves user preferences (e.g., port forwarding form mode) to persistent state hooks, updates port forwarding and SFTP logic to rely on backend hooks, and centralizes logging through a logger utility. Cleans up debug code and removes obsolete scripts from HTML.

Improves testability, prepares for alternative backend implementations, and enforces architectural boundaries.
2025-12-13 01:38:44 +08:00
LAPTOP-O016UC3M\Qi Chen 43154e7992 Enhances terminal customization and accessibility options
Expands terminal settings with advanced customization such as emulation type, font weights, line padding, keyword highlighting, link modifiers, and middle-click behavior.
Adds support for clickable URLs, cross-window settings sync, and context-aware right-click actions.
Improves accessibility with minimum contrast ratio controls and allows keyword-based output highlighting.
Refines theme/font selection UI for performance and clarity.
2025-12-12 22:06:03 +08:00
LAPTOP-O016UC3M\Qi Chen 17121923d8 Removes extraneous whitespace for code consistency
Cleans up unnecessary trailing and internal whitespace throughout
multiple files to improve code readability and maintain a consistent
style. No logic or functional changes introduced.
2025-12-12 18:40:00 +08:00
LAPTOP-O016UC3M\Qi Chen a0c9d0d224 Adds pane focus navigation for split terminal workspaces
Enables keyboard navigation between split terminal panes using arrow key shortcuts, implementing directional focus movement with wraparound and modifier-aware handling. Improves workspace usability by visually marking and programmatically updating the focused pane, ensuring reliable focus control even with concurrent DOM updates. Also refines keybinding recording for special shortcuts and updates settings sync token usage for consistency.
2025-12-12 18:39:46 +08:00
bincxz 8a49eeeb4c Adds terminal split functionality with context menu
Introduces support for horizontal and vertical splitting of terminal sessions, enabling users to split standalone sessions and manage panes within workspaces. Implements a context menu in the terminal for split actions and standard clipboard operations, improving usability and workflow efficiency. Integrates split logic across hotkeys, UI callbacks, and session state management.
2025-12-12 03:49:13 +08:00
bincxz 07cdde7976 Refactors hotkey handling for unified app-terminal actions
Centralizes hotkey action logic to enable consistent shortcut
behavior across both app-level and terminal contexts. Improves
maintainability and extensibility by introducing a shared hotkey
action handler and callback prop, reducing code duplication and
streamlining future shortcut feature development.
2025-12-12 03:33:56 +08:00
bincxz 151cd4bfab Adds customizable global keyboard shortcut support
Implements a flexible system for configuring and persisting keyboard shortcuts across the app, enabling users to select hotkey schemes (Mac/PC), edit, disable, or reset shortcuts, and apply them globally and in terminal contexts.

Improves accessibility and workflow by allowing tailored key bindings, storing preferences in local storage, and integrating shortcut management into settings UI.

Refines styling for active UI elements, spinners, and borders for better theme consistency.
2025-12-12 03:24:28 +08:00
bincxz b897c746dd Improves code readability with consistent formatting
Applies consistent spacing to import statements and component props
across several files to enhance maintainability and readability.
No logic or functional changes introduced.
2025-12-12 01:18:24 +08:00
bincxz 2f8f5a3d51 Adds per-host and global terminal font size support
Enables customizing terminal font size both globally and for individual hosts,
with persistent storage and UI controls in settings and terminal toolbars.

Improves user experience and accessibility by allowing finer display adjustments.
2025-12-12 01:17:53 +08:00
LAPTOP-O016UC3M\Qi Chen b8c221d112 Organize and normalize imports across project
Reorder and normalize import statements, group icon imports, and add
missing utility imports (cn). Fix export/newline formatting and minor
type import tweaks. Add ESLint scripts to package.json and update the
lockfile.
2025-12-11 16:01:03 +08:00
bincxz 86648c39ca Improves avatar sizing and updates UI icons
Standardizes avatar sizing by introducing size variants,
ensuring consistent appearance across components.

Replaces generic grid icons with more context-appropriate
icons for package and folder group representations,
enhancing visual clarity and user experience.
2025-12-11 04:38:42 +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
LAPTOP-O016UC3M\Qi Chen 2068e5d245 Adds persistent shell history tracking and UI integration
Implements real-time shell command history capture from terminal sessions,
persisting up to 1000 entries with host and session metadata.

Integrates shell history into the UI with lazy-loading, snippet creation from
history, and improves host selection UX by reusing a shared panel component.

Enables users to review, reuse, and organize previously executed commands,
enhancing productivity and traceability across sessions.
2025-12-10 20:53:58 +08:00
LAPTOP-O016UC3M\Qi Chen d8296ed2b9 Refines formatting and whitespace in UI components
Improves code readability and consistency by adjusting whitespace and aligning code formatting in UI rendering logic. No changes to functionality or business logic.
2025-12-10 20:11:51 +08:00
LAPTOP-O016UC3M\Qi Chen 629cdb6db9 Adds workspace focus mode and snippet runner
Introduces a 'focus mode' for workspaces, allowing users to view and switch between individual terminals in a sidebar for improved multi-session management. Implements a snippet runner that creates a focus-mode workspace and executes a command across multiple hosts, streamlining bulk operations. Enhances the workspace model and session management to support these features and updates the UI for discoverability and ease of use.
2025-12-10 20:11:36 +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 530da20a87 Removes AI assistant panel and Gemini service integration
Deprecates the in-app AI assistant by deleting its UI, related service functions, and all related props and state. Simplifies the interface and reduces dependency on external AI APIs, likely in favor of streamlining the app or due to maintenance concerns.
2025-12-10 10:57:45 +08:00
LAPTOP-O016UC3M\Qi Chen 88a48d38d2 Fixes indentation for resize handle rendering
Improves code readability and consistency by correcting
indentation in the resize handle rendering block.
No functional changes introduced.
2025-12-09 23:03:39 +08:00
LAPTOP-O016UC3M\Qi Chen cd9ff6e002 Refactors layout and improves resizer hit area in TerminalLayer
Improves TerminalLayer resizer usability and layout

Refines resizer hit area logic for more precise and user-friendly drag interactions in split terminal views.

Cleans up layout and truncation in workspace controls for better readability and consistency.

Enhances overflow handling to prevent layout issues.
2025-12-09 23:03:32 +08:00
LAPTOP-O016UC3M\Qi Chen 80a82db779 Streamlines known hosts import and improves terminal resizing
Removes the manual import preview dialog for known hosts, enabling direct import of new entries from file or system scan to simplify the workflow.

Enhances terminal resizing behavior by fitting the terminal only after drag-resizing ends or after workspace changes, preventing layout glitches and improving user experience.
2025-12-09 22:57:38 +08:00
LAPTOP-O016UC3M\Qi Chen 80b2e9a9a0 feat: add KnownHostsManager component for managing SSH known hosts 2025-12-09 18:24:31 +08:00
LAPTOP-O016UC3M\Qi Chen 55e4371fa8 refactor: Remove console log statements and memoize components for performance optimization 2025-12-09 10:18:04 +08:00
LAPTOP-O016UC3M\Qi Chen 0616ae9b23 fix(TerminalLayer): remove unnecessary whitespace for improved readability 2025-12-08 20:13:03 +08:00
LAPTOP-O016UC3M\Qi Chen 649fadb0c2 refactor(Terminal): enhance session management and memoization
- Updated Terminal component to use memoization for performance optimization.
- Modified onStatusChange and onCloseSession props to include sessionId for better session tracking.
- Refactored TerminalLayer to utilize stable callback references for session management functions.
- Cleaned up unnecessary whitespace in TerminalLayer and TopTabs components.
- Adjusted index.tsx to improve rendering performance by removing React.StrictMode.
2025-12-08 20:12:53 +08:00
LAPTOP-O016UC3M\Qi Chen c29fc418f9 Refactor state management for active tabs and optimize component rendering
- Introduced `activeTabStore` to manage active tab state with fine-grained subscriptions.
- Replaced direct prop passing of `isActive` with hooks (`useIsVaultActive`, `useIsSftpActive`) in components to determine active state.
- Memoized components (e.g., `SftpView`, `VaultView`, `TerminalLayer`, `TopTabs`) to prevent unnecessary re-renders.
- Updated various components to use `useCallback` and `useMemo` for stable references and performance improvements.
- Removed redundant state and props, simplifying the component structure.
- Disabled React.StrictMode in index.tsx for performance testing.
2025-12-08 20:08:52 +08:00
bincxz 39d926065b feat: Refactor TerminalLayer to remove focused session state and enhance workspace pane styling 2025-12-08 00:56:48 +08:00
bincxz 1de171cf51 feat: Add local terminal support and optimize terminal session management 2025-12-07 23:19:45 +08:00
bincxz 59aa2f564b feat: implement TopTabs and VaultView components with session and workspace management
- Added TopTabs component for managing terminal sessions and workspaces.
- Integrated drag-and-drop functionality for session organization.
- Created VaultView component for managing hosts, SSH keys, snippets, and port forwarding.
- Implemented group management for hosts with the ability to create, delete, and move groups.
- Added initial data for hosts and snippets in defaultData.ts.
- Defined storage keys for persistent data management in storageKeys.ts.
2025-12-07 22:57:54 +08:00