Commit Graph
1930 Commits
Author SHA1 Message Date
Kang fe0d824d08 feat(quick-commands): add QuickCommandEditor component and tests (#824)
- Implemented the QuickCommandEditor component for enhanced command input with undo/redo functionality.
- Added unit tests to validate selection preservation, external value handling, and proper rendering in StrictMode.
- Removed the deprecated QuickCommandScriptEditor from QuickCommandPage and integrated QuickCommandEditor for a more streamlined user experience.
2026-10-01 11:04:11 +08:00
Kang a0c0ee5b1d feat(agent): enhance conversation history management in agent interactions (#825)
- Introduced `build_initial_agent_conversation` function to construct the initial conversation with prior messages, ensuring context is maintained across sessions.
- Implemented logic to filter and limit history messages based on session ID and specified history turns.
- Updated `run_agent_stream` to utilize the new conversation building function, improving the handling of user input and assistant responses.
- Added unit tests to validate the correct restoration of previous turns and session-specific history management.
2026-09-30 13:24:50 +08:00
Kang 1ef75d1bbb feat(env): implement Windows environment variable handling (#821)
- Added support for reading and expanding Windows environment variables from the registry.
- Introduced `RegistryEnvValue` struct to manage registry values and their expandability.
- Implemented `reg_value_to_env` and `expand_environment_value` functions for converting registry values to environment variables and expanding them recursively.
- Enhanced `merge_windows_env` function to merge system and user environment variables, ensuring proper handling of expandable values.
- Updated the environment retrieval logic to utilize the new functions, improving compatibility with Windows environment management.
2026-09-29 18:57:35 +08:00
Kang fb48336f55 feat(recording): enhance session management with pane ID support
- Added `paneId` to `PendingTabCreation` and updated related functions to handle recording scope IDs for various session types.
- Implemented logic to finish recording scopes when sessions are disconnected or finalized, ensuring proper resource management.
- Updated session creation functions to accept and utilize `recordingScopeId`, improving the integration of recording features across different session types.
- Enhanced tests to validate the new recording scope functionality and ensure isolated pane behavior during session management.
2026-09-29 16:27:35 +08:00
Kang 9b9b57069a chore: bump version to v1.2.12 2026-09-29 01:55:41 +08:00
Kang a5f48de507 docs: minimize changelog formatting diff 2026-09-29 01:17:13 +08:00
Kang fb2c901810 docs: update changelog for v1.2.12 2026-09-29 01:14:58 +08:00
Kang 877ff10a9a fix(ci): prepare ConPTY before Win7 cargo build 2026-09-28 18:33:49 +08:00
Kang 3807857e3f perf(terminal): implement output pressure tracking and enhance logical line handling
- Introduced `TerminalOutputPressureTracker` to monitor output pressure and manage performance modes based on backlog and burst conditions.
- Added logic to handle long lines and wrapped lines efficiently, preventing excessive processing.
- Updated `XTerminal` and related components to integrate output pressure tracking, ensuring smoother terminal performance under load.
- Added tests for new functionality to validate output pressure detection and logical line processing.
2026-09-28 16:35:28 +08:00
Kang 7b8403607a Merge pull request #811 from aqnyl/feat/my-feature
feat(terminal): add command navigation and clear shortcuts
2026-09-28 15:10:10 +08:00
Kang 4ff29e5009 fix(terminal): enhance fallback command detection for quit commands 2026-09-28 14:59:52 +08:00
Kang f4f6f6a4bb fix(terminal): restore SSH command navigation fallback 2026-09-28 14:47:24 +08:00
Kang dd3769cb81 fix(terminal): refine command navigation shortcuts 2026-09-28 14:12:33 +08:00
xtnxnb 2b4c90ff3e feat(terminal): add command navigation and clear shortcuts
1. 新增快捷键 Ctrl+Shift+Left/Right/Slash:支持快速跳转到上/下一个命令,并快速选择命令到下一条命令

2. 为终端右键菜单添加「全部清除」项,快捷键 Ctrl+Shift+L
2026-09-28 13:18:02 +08:00
Kang 505ccfef3c feat(sftp): add shell availability support and enhance SFTP command execution (#773)
- Introduced `shell_available` field in `AutoRemoteFs` and `SftpBackend` to manage shell command execution availability.
- Updated SFTP command execution to return an error if shell commands are attempted in SFTP-only sessions.
- Enhanced logging for SFTP directory read operations and identity resolution processes.
- Added a new constant for SFTP execution timeout to improve command handling.
2026-09-28 10:55:57 +08:00
Kang de44b58f02 Merge pull request #802 from LunaSpica/feat/ai-provider-model-settings
feat(ai): 重构供应商与模型设置,完善连接测试和推理配置
2026-09-27 21:19:47 +08:00
Kang 84db9f0516 fix(ai): preserve default reasoning efforts 2026-09-27 21:12:54 +08:00
Yue-Sui d77b00a90d fix(ai): allow keyless local provider discovery 2026-09-27 19:58:49 +08:00
Kang e6699580d4 feat(zmodem): enhance ZMODEM upload command handling and add tests for control escaping (#740, #803)
- Refactored `buildZmodemReceiveCommand` to include control escaping options for overwrite and skip modes.
- Introduced new tests for `buildZmodemReceiveCommand` to validate command generation.
- Updated ZMODEM header and transmission logic to support control escaping, ensuring proper handling of control characters during transmission.
- Added tests to verify control escaping functionality in the ZMODEM protocol.
2026-09-27 18:32:30 +08:00
Yue-Sui 2d06062600 feat(ai): refactor provider and model settings 2026-09-27 16:08:00 +08:00
Kang d0b7f2b380 Merge pull request #797 from nyakang/fix/issue-444-telnet-binary-sync
fix(terminal): preserve binary input across Telnet and sync sessions
2026-09-27 00:04:41 +08:00
Kang 334817dbff feat(terminal): implement synchronized binary input handling for XTerminal
- Added `sendSessionBinaryInputWithSync` function to broadcast binary input to sync peers.
- Updated `XTerminal` component to utilize the new function for handling binary input with peer synchronization.
- Enhanced tests to verify the correct broadcasting of binary input to multiple peers without text bookkeeping.
- Introduced `escape_telnet_application_data` function to handle IAC byte escaping for telnet transport.
- Added tests for the new escaping functionality to ensure proper data handling in telnet sessions.
2026-09-26 23:59:13 +08:00
Kang 280272aaaf feat(terminal): add binary input handling to XTerminal and session management (#444)
- Implemented `sendSessionBinaryInput` function to send binary data to terminal sessions.
- Enhanced `XTerminal` component to handle binary input events, ensuring proper data transmission.
- Updated session commands to support raw data writing, allowing for better handling of binary inputs.
- Added tests for binary input functionality to ensure accurate data processing without text bookkeeping.
2026-09-26 23:27:23 +08:00
Kang f63dd15f2f Merge branch 'main' of https://github.com/nyakang/nyaterm 2026-09-26 22:24:14 +08:00
Kang 42364ea0b5 feat(terminal): implement clearTerminalAll function for enhanced terminal management (#579)
- Added the `clearTerminalAll` function to clear the terminal's output while preserving cursor position and handling shell redraws.
- Updated the `XTerminal` component to utilize `clearTerminalAll` for resetting the terminal state.
- Introduced tests to verify the functionality of `clearTerminalAll`, ensuring it clears scrollback without altering the CMD cursor row and requests redraws for shells that handle Ctrl+L.
2026-09-26 22:24:12 +08:00
Kang 1dd59a0a39 Merge pull request #796 from nyakang/fix/issue-792-platform-default-shell
fix(local-terminal): use platform-specific default shells
2026-09-26 19:31:04 +08:00
Kang 1d0f302783 fix(local-terminal): use platform default shell (#792) 2026-09-26 19:00:35 +08:00
Kang 2ce1972ea3 fix(connection): change attribute from expect to allow for single use lifetimes
- Updated the `create_gcc_blocks` function to change the attribute from `#[expect(single_use_lifetimes)]` to `#[allow(single_use_lifetimes)]`, addressing stability concerns with anonymous lifetimes in `impl Trait`.
2026-09-26 11:14:21 +08:00
Kang 8f11458c8e feat(file-explorer): enhance context menu with terminal actions
- Updated the FileExplorer and FileExplorerEntryContextMenu components to include new terminal action icons.
- Replaced existing icons with MdTerminal, MdFolderOpen, and MdOpenInNew for improved visual representation of terminal functionalities.
- Enhanced context menu options for entering directories and opening them in new terminals, improving user experience.
2026-09-26 10:07:04 +08:00
Kang bad1bec459 chore(i18n): add new translation keys for terminal actions in multiple languages
- Introduced new translation keys related to terminal actions, including copying information, entering directories, and opening directories in new terminals.
- Updated English, Korean, Simplified Chinese, and Traditional Chinese localization files to enhance user experience with terminal functionalities.
2026-09-26 09:49:28 +08:00
Kang 7c54f53e80 feat(file-explorer): implement directory navigation in new terminal (#791)
- Added functionality to open a specified directory in a new terminal session from the file explorer.
- Introduced new callbacks for handling directory changes and terminal commands.
- Enhanced context menu options for directory actions, including entering directories and opening them in new terminals.
- Updated relevant components and tests to support the new directory navigation features.
2026-09-26 09:49:20 +08:00
Kang d39ffef8de chore(i18n): add ConPTY translations for multiple languages
- Introduced new translation keys related to ConPTY functionality in English, Korean, Simplified Chinese, and Traditional Chinese.
- Enhanced localization to support the recently integrated bundled ConPTY features, improving user experience across different languages.
2026-09-26 08:54:04 +08:00
Kang 31d1c51edb feat(conpty): integrate bundled ConPTY support and verification (#488)
- Added scripts to prepare and verify the Microsoft ConPTY package for Windows.
- Updated build workflows to include checks for bundled ConPTY in installers.
- Enhanced application support info to display ConPTY status and version.
- Modified the portable updater to handle ConPTY files during updates.
- Updated documentation to reflect changes in ConPTY usage and requirements.
- Introduced tests for ConPTY backend functionality to ensure reliability.
2026-09-26 08:53:48 +08:00
Kang 75dcfc1e8d chore(i18n): update import and backup restore translations for multiple languages
- Added new translation keys for import dialog titles and backup restore confirmations in English, Korean, Simplified Chinese, and Traditional Chinese.
- Enhanced user guidance with clearer descriptions for session import and backup restoration processes.
2026-09-26 00:03:34 +08:00
Kang 58cf397781 feat(import-dialog): enhance import dialog with alert dialog and update source handling (#698)
- Integrated AlertDialog component for confirming backup restore actions.
- Removed type definitions for import sources to streamline the configuration.
- Updated UI elements and translations for improved user experience in the import dialog.
- Refactored source selection handling to accommodate new design and functionality.
2026-09-26 00:03:21 +08:00
Kang 9d1d99e067 feat(terminal): implement timestamp management for terminal written lines (#705)
- Added a new utility function `stampTerminalWrittenLines` to manage timestamps for lines written to the terminal.
- Created tests for timestamp assignment and behavior in various scenarios, including multiline writes and automatic wrapping.
- Integrated the timestamp functionality into the `XTerminal` component to enhance terminal output tracking.
2026-09-25 23:47:58 +08:00
Kang cdd0d5a1d5 chore(i18n): add translation for "openNewSessionMenu" in multiple languages
- Added the translation key "openNewSessionMenu" for English, Korean, Simplified Chinese, and Traditional Chinese.
- Enhanced localization to improve user experience with the new session menu feature.
2026-09-25 23:34:25 +08:00
Kang 4e46d26b7d feat(terminal): add new session menu shortcut and enhance keyboard handling (#736)
- Implemented a new keyboard shortcut for opening the new session menu, including support for custom keybindings.
- Updated the TabBar component to manage the new session menu state based on tab focus.
- Enhanced keyboard event handling to prevent default actions for the new shortcut.
- Added corresponding tests to ensure the new shortcut functionality works as expected.
2026-09-25 23:34:10 +08:00
Kang 8af41344c1 feat(terminal-gutter): enhance layout management with session tracking and dynamic line number width (#778)
- Added `maxLineNumberDigits` and `sessionId` to the GutterLayout interface for improved layout handling.
- Updated layout state management to dynamically calculate maximum line number width based on visible lines and session context.
- Refactored line number width calculation to utilize the new `maxLineNumberDigits` property.
2026-09-25 22:42:50 +08:00
Kang 3788b508c5 Merge branch 'main' of https://github.com/nyakang/nyaterm 2026-09-24 14:06:35 +08:00
Kang d1741b6500 chore(i18n): add translation for disabled clipboard option in multiple languages
- Introduced a new translation key "rdpClipboardDisabled" for the disabled clipboard option in English, Korean, Simplified Chinese, and Traditional Chinese.
- Enhanced localization to improve user experience across different languages.
2026-09-24 14:06:34 +08:00
Kang 8174db0860 feat(rdp-clipboard): enhance file transfer capabilities and update clipboard format handling
- Introduced a new atomic boolean to manage file transfer availability.
- Updated clipboard advertisement methods to reflect the new file transfer logic.
- Improved handling of clipboard formats based on file transfer capabilities.
- Updated UI component to use a more descriptive translation for clipboard options.
2026-09-24 14:06:24 +08:00
Kang 2b887e57ae Merge pull request #784 from nyakang/fix/quick-command-category-filter
fix(quick-commands): show only direct commands for selected category
2026-09-24 10:33:45 +08:00
Kang 8c0f7b015a fix(quick-commands): show direct category commands only 2026-09-24 10:27:44 +08:00
Kang b72d2f7bc7 Merge pull request #780 from nyakang/fix/issue-779-hide-workbench-logo
feat(ui): hide workbench logo with custom background
2026-09-23 18:34:20 +08:00
Kang 8904570fa3 feat(ui): hide workbench logo with custom background 2026-09-23 18:11:06 +08:00
Kang d48a0f8ba4 feat(pane-focus): implement pane focus mode and native fullscreen functionality
- Added state management for pane focus mode and native fullscreen in the App component.
- Introduced keyboard shortcuts to toggle pane focus and native fullscreen.
- Updated the AppLayout and PaneWorkspace components to support the new focus mode, ensuring inactive panes remain mounted but hidden.
- Enhanced the file transfer context to handle RDP events, allowing users to paste files after RDP transfers.
- Added translations for new clipboard options and updated relevant UI components to reflect these changes.
- Improved test coverage for pane focus behavior in the PaneWorkspace component.
2026-09-23 08:59:30 +08:00
Kang 527cbbb80a chore: remove ironrdp-client and ironrdp-connector dependencies
- Deleted the entire `ironrdp-client` and `ironrdp-connector` directories, including all associated files such as Cargo.toml, Cargo.lock, and source code.
- This cleanup removes unused components from the project, streamlining the codebase.
2026-09-23 08:56:01 +08:00
Kang 4f89328c8e chore: bump version to v1.2.11 2026-09-22 09:13:43 +08:00
Kang 5f1ea6317f Merge pull request #755 from nyakang/fix/issue-754-empty-activity-bar
fix(activity-bar): hide empty sidebar after hidden items
2026-09-21 23:51:10 +08:00