Commit Graph
48 Commits
Author SHA1 Message Date
yuzifuandyuzifu 09af399543 fix: import import certificate icon size too small (#387)
fix icon small when dropdown item text is too long

Co-authored-by: yuzifu <yuzifu@TB16PGen5.Info>
2026-03-18 10:07:07 +08:00
陈大猫 8d014193ca Remove dead code and unused components (#288) 2026-03-08 10:55:17 +08:00
陈大猫andClaude Opus 4.5 951a89e91e Enable opt-in MFA for SSH exec export (#172)
Add execCommand options to opt into keyboard-interactive auth and wire MFA only
for export-key flows, preserving non-interactive exec usage elsewhere.

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 01:32:41 +08:00
Copilotandbinaricat 090aae1833 Add passphrase input support to SSH key import panel (#169)
* Initial plan

* Add passphrase input field and save checkbox to SSH key import panel

Co-authored-by: binaricat <16399091+binaricat@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: binaricat <16399091+binaricat@users.noreply.github.com>
2026-02-01 23:04:08 +08:00
bincxzandClaude b2f6cabd75 fix(vault): thread managedSources through to HostDetailsPanel in all contexts
Pass managedSources prop through SelectHostPanel and all components that
use it (SnippetsManager, PortForwarding, KeychainManager) so hosts created
in these contexts can properly receive managedSourceId when placed in a
managed group.

This ensures hosts added from any panel will sync back to managed SSH
config files.

Co-Authored-By: Claude (gemini-claude-opus-4-5-thinking) <noreply@anthropic.com>
2026-01-29 20:13:14 +08:00
LAPTOP-O016UC3M\Qi Chen 1d1c509cbb Persists view mode selection across app sections
Introduces persistent view mode storage for hosts, keys, snippets,
known hosts, and port forwarding by using dedicated storage keys
and a reusable view mode hook. Improves user experience by
remembering individual section preferences instead of defaulting
to "grid" on each visit.
2025-12-19 16:23:52 +08:00
LAPTOP-O016UC3M\Qi Chen d28f1e13a5 Improves identity selection with popover and context menus
Enhances the user experience for selecting identities by replacing inline suggestion lists with a popover-based dropdown, including empty-state messaging. Adds right-click context menus to identity cards for quick edit and delete actions. Updates translations for "no results found" in English and Chinese. These changes streamline interaction and improve accessibility when managing identities.
2025-12-18 12:20:54 +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
LAPTOP-O016UC3M\Qi Chen 4e9e5da13c Localizes UI and improves dynamic translation support
Integrates all user-facing strings into the translation system and
expands locale files for comprehensive coverage, enabling dynamic
i18n across the interface. Replaces hardcoded labels, button texts,
and prompts with translation keys, benefiting maintainability and
future language support. Improves translation ergonomics in forms,
dialogs, wizards, and settings, ensuring consistent user experience
in both English and Chinese.
2025-12-17 14:25:05 +08:00
bincxz 2eb2ccd844 Removes biometric SSH key and WebAuthn support
Drops all biometric (Termius-style), WebAuthn, and FIDO2 SSH key logic, UI, and dependencies.
Simplifies key storage and authentication to only support standard and certificate keys.
Eliminates related backend, OS Secure Storage, and Windows Hello/Touch ID code.
Archives any legacy key records for migration safety.
Reduces complexity and potential maintenance/security burden.
2025-12-16 23:35:41 +08:00
LAPTOP-O016UC3M\Qi Chen bc64043681 Removes FIDO2/WebAuthn support and related code
Drops all FIDO2 hardware security key and WebAuthn passkey functionality,
including backend bridges, UI components, state hooks, and type definitions.
Simplifies authentication to use only standard, certificate, and biometric
(Windows Hello/Touch ID) keys, improving maintainability and reducing code
complexity. Updates UI, application state, and backend logic to fully remove
FIDO2 options and code paths.
2025-12-16 16:59:13 +08:00
LAPTOP-O016UC3M\Qi Chen 662cbcb176 Fix formatting issues in biometric key generation and update documentation
Fixes formatting in biometric key flow and messaging

Resolves minor whitespace inconsistencies and improves
user-facing text for clarity regarding key protection and
biometric unlock requirements.

Enhances readability and maintains consistent formatting
across files.
2025-12-16 14:25:02 +08:00
LAPTOP-O016UC3M\Qi Chen 267e5a31c4 Adds biometric SSH key support using OS secure storage
Introduces Termius-style biometric SSH key generation and usage, leveraging ED25519 keys encrypted with a random passphrase stored securely via OS Keychain or Windows Credential Manager. Enhances key management UI, integrates passphrase retrieval prompts for biometrics, and ensures proper cleanup of secure storage on key deletion. Enables cross-platform biometric authentication for SSH keys, improving security and usability.
2025-12-16 14:24:25 +08:00
LAPTOP-O016UC3M\Qi Chen d637b7384f Fixes indentation and formatting in biometric setup code
Improves code readability by correcting inconsistent indentation
and formatting in biometric credential creation and device
filtering logic. No functional changes are introduced.
2025-12-16 11:41:12 +08:00
LAPTOP-O016UC3M\Qi Chen d719dfdc69 Add integrated FIDO2 SSH key generation workflow
Implements a comprehensive UI and backend bridge for FIDO2 hardware and platform authenticator SSH key creation, including device selection, PIN entry, and touch prompts. Modernizes the key generation panel with enhanced options, feedback, and error handling, and establishes Electron IPC support for seamless device communication.

Improves security, user experience, and support for modern authentication hardware.
2025-12-16 11:40:43 +08:00
bincxz fad5b1cf3f Improves key migration defaults and refines callback deps
Ensures migrated keys have generated IDs and labels when missing,
enhancing backward compatibility for legacy data. Updates the
upload function's type usage for better maintainability. Refines
callback dependencies to include all relevant variables, promoting
more reliable reactivity.
2025-12-16 02:55:29 +08:00
LAPTOP-O016UC3M\Qi Chen 47888dff3a Improves biometric prompt and browser fallback handling
Updates user messaging to dynamically reference Touch ID or Windows Hello, enhancing clarity based on platform.

Refines logic to prefer the browser fallback for WebAuthn in all Electron development environments (not just macOS), reducing potential authentication issues and confusion.

Makes minor adjustments to package metadata for consistency.
2025-12-15 17:12:43 +08:00
bincxz d4399cd3d0 Integrates OAuth-based cloud sync and UI refactor
Replaces legacy GitHub Gist sync UI with a modular cloud sync component and introduces OAuth callback support in the bridge layer. Updates the top bar to use a sync status button linked to settings, improving user experience and future extensibility for cloud sync providers.
2025-12-15 00:48:15 +08:00
bincxz 2c53b1d997 Adds per-log theme and font size controls to log replay
Enables users to customize terminal theme and font size for each log replay,
improving readability and personalization of the log view experience. Updates
persist in the log model, and theme/font changes apply instantly without
recreating the terminal. Also improves UI for these controls and tidies minor
imports.
2025-12-14 23:16:35 +08:00
bincxz e91940005b Adds WebAuthn browser fallback for macOS Touch ID
Implements a browser-based WebAuthn fallback for biometric key creation and authentication, improving reliability of Touch ID prompts on macOS, especially when Electron's embedded WebAuthn flow fails. Integrates helper flows, IPC, and UI feedback to guide users through the browser prompt and ensure cross-platform consistency.
2025-12-13 13:39:01 +08:00
bincxz ebe7d0945a Fixes indentation inconsistency in key creation logic
Corrects code indentation for the key creation and save operations to improve readability and maintain consistent code style. No logic is changed.
2025-12-13 04:04:58 +08:00
bincxz 092afeee57 Switches Electron production app to custom app:// protocol
Replaces the local HTTP server approach with a custom privileged protocol for loading the app in production, enabling secure WebAuthn (Touch ID/Windows Hello) without the overhead of an internal HTTP server. Improves platform authenticator error handling and ensures RP ID compatibility across environments. Updates development server configs for better cross-platform WebAuthn support and adds packaging scripts and dependencies for electron-builder.
2025-12-13 04:04:51 +08:00
bincxz 3e13f81f5a Adds full FIDO2 and biometric SSH/SFTP support
Integrates WebAuthn-based authentication for SSH and SFTP, enabling use of FIDO2 security keys and platform authenticators (Touch ID, Windows Hello) as SSH credentials. Updates UI for better credential selection and feedback. Improves error handling by routing errors through toast notifications instead of inline displays. Refactors backend to route credential details and agent logic for WebAuthn and certificate-based keys, ensuring agent-based authentication is prioritized and fallback to password is possible.
2025-12-13 02:50:44 +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 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 5c25d588b2 Refactor UI components and improve SFTP/port features 2025-12-11 16:33:28 +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
LAPTOP-O016UC3M\Qi Chen 9a96e97e7b Replaces popover menus with dropdown components
Improves UI consistency and interaction by switching filter and
view mode menus from popover to dropdown components.
Enhances code clarity and future extensibility for tab controls.
2025-12-11 15:27:15 +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 7a710caa60 Switches dropdowns to popovers for improved UX
Replaces dropdown menus with popovers for filter and view actions,
streamlining interactions and visual consistency. Enhances popover
positioning logic to ensure reliable rendering in Electron, addressing
layout and visibility issues with dynamic updates.
2025-12-11 11:02:13 +08:00
LAPTOP-O016UC3M\Qi Chen 085ced7751 Replaces popover components with dropdowns for menus
Switches UI menu interactions from popover to dropdown for improved stacking and positioning reliability.

Updates z-index and disables problematic animations to prevent display issues, especially on first open.

Enhances consistency and visual layering of menu components across the application.
2025-12-11 10:51:04 +08:00
bincxz 89b8cdcbec Unifies card styling and improves grid layout consistency
Refactors card components to use consistent "soft-card" and "elevate" styles,
harmonizes sizing and padding, and standardizes grid gaps for a uniform look
across managers and views. Updates hover effects and background transitions for
better visual feedback. Reduces box-shadow intensity and simplifies elevation
transitions for a cleaner UI.
2025-12-11 04:25:10 +08:00
bincxz caa5a55160 Standardizes avatar and icon sizes across components
Unifies avatar, icon, and badge dimensions to 44x44 px with consistent rounded-xl styling for improved visual consistency across list, grid, and card layouts. Simplifies conditional sizing logic and ensures uniform icon appearance regardless of view mode.
2025-12-11 04:05:14 +08:00
bincxz d4c6334baa Adds list/grid view, search, and sorting to managers
Improves usability by introducing toggleable list and grid views, search, and sorting capabilities to key, host, snippet, and identity managers. Replaces some destructive actions in list mode with quick edit buttons for consistency. Enhances filtering via tags and enables a more compact, accessible layout, especially in list view, supporting faster navigation and management of items.
2025-12-11 04:00:57 +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 98b1d1115a Enables inline host and group creation across panels
Improves user workflow by allowing hosts and groups to be created directly within selection and management panels, reducing navigation friction and simplifying onboarding for new resources.

Updates button labeling and placement for clarity in host creation flows.

Helps streamline multi-step processes when configuring keys, port forwarding, and snippets.
2025-12-11 00:11:23 +08:00
LAPTOP-O016UC3M\Qi Chen c44f6d0178 Refactors panel rendering and improves UI consistency
Unifies conditional rendering for sub-panels using if blocks, improving code readability and maintainability. Enhances UI alignment and indentation for various panels, ensuring consistent layouts. Updates some secondary UI elements and badges for clarity. No functional logic is changed; the update focuses on structure, user interface cohesion, and visual polish.
2025-12-10 23:52:02 +08:00
LAPTOP-O016UC3M\Qi Chen 38fb54bd7a Refactors panel components and improves snippets section layout
Replaces custom slide-out panels with a unified AsidePanel component for consistency and code simplification. Removes hardcoded "Personal vault" subtitles from panels to allow more flexible titling. Updates snippets section rendering for a more consistent layout experience and better separation from other sections.
2025-12-10 23:51:44 +08:00
LAPTOP-O016UC3M\Qi Chen b75900d234 Refactor UI components for consistency and readability
- Updated spacing and formatting in PortForwardingNew.tsx for improved layout.
- Cleaned up SelectHostPanel.tsx by standardizing button and filter logic.
- Enhanced SnippetsManager.tsx with consistent card layouts and improved target selection UI.
- Refined AsidePanel and SortDropdown components for better code clarity.
- Adjusted TagFilterDropdown for consistent button styling and layout.
2025-12-10 23:29:26 +08:00
LAPTOP-O016UC3M\Qi Chen f6d50c1795 Unifies aside panel UI, adds host tagging, improves selection
Migrates manual aside panels to a reusable design system for consistent slide-out UI across hosts, keys, port forwarding, and snippets.

Adds tag management to host forms and selection, enabling filtering and improved organization.

Improves host/group selection with sorting, tag filtering, and breadcrumb navigation.

Simplifies panel logic, centralizes host panel state, and enhances maintainability.
2025-12-10 23:29:11 +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 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
bincxz 9a3078a7ee Improves code formatting for consistency
Aligns spacing and indentation in key logic blocks to enhance
readability and maintain consistent code style across components.
No functional changes introduced.
2025-12-10 01:21:23 +08:00
bincxz fed2132197 Improves SFTP reconnect logic and platform UI clarity
Adds auto-reconnect for SFTP pane sessions, preserving file state and user experience during connection loss. Refactors range selection for greater accuracy and UI alignment. Enhances biometric key and platform labeling to dynamically reflect macOS or Windows, improving clarity for end users. Refines sidebar and pane layouts for consistency and usability.
2025-12-10 01:21:13 +08:00
LAPTOP-O016UC3M\Qi Chen f923203eb6 Fix typo in KeychainManager and KnownHostsManager 2025-12-09 22:08:06 +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 46721c4a8d Refactor KnownHostsManager component for improved readability and maintainability
- Reorganized import statements for consistency
- Enhanced formatting and indentation for better code clarity
- Streamlined logic in known hosts parsing and filtering
- Improved handling of file imports and system scans
- Updated UI elements for better user experience in the import dialog

Minor adjustments in Terminal and VaultView components

- Removed unnecessary whitespace in Terminal component
- Cleaned up props handling in VaultView component for KeychainManager
2025-12-09 18:24:41 +08:00
LAPTOP-O016UC3M\Qi Chen 80b2e9a9a0 feat: add KnownHostsManager component for managing SSH known hosts 2025-12-09 18:24:31 +08:00