Commit Graph
26 Commits
Author SHA1 Message Date
Kang 60c15946de feat(web): allow insecure HTTP connections via environment variable NYATERM_WEB_ALLOW_INSECURE_HTTP 2026-10-04 01:16:30 +08:00
Kang 5d1df9e237 feat: add web deployment support 2026-10-04 00:56:09 +08:00
Kang 8debbfbc9f feat(plugins): add signed marketplace and standalone authoring CLI
Verify Store packages against pinned Ed25519 keys and catalog metadata, persist installation provenance, and add Marketplace review and installation UI while preserving unsigned local packages.

Bundle standalone plugin authoring tools and add a six-platform CLI packaging workflow. Official key initialization and protected signing environment setup remain separate rollout steps.
2026-10-03 21:00:30 +08:00
Kang 2b123a67a3 fix(gpu-monitor): update to version 1.0.1, resolving CRLF line ending issues in scripts; enhance validation and error reporting for GPU probe execution 2026-10-03 19:10:01 +08:00
Kang e5b7daad99 feat(gpu-monitor): introduce GPU monitoring plugin with validation, build scripts, and documentation; enhance plugin development guidelines 2026-10-03 18:57:34 +08:00
Kang bb0c24d5e5 feat(plugin): add new plugin creation, packaging, and example commands; enhance Vite config and documentation for plugin development 2026-10-03 16:09:58 +08:00
Kang 9b9b57069a chore: bump version to v1.2.12 2026-09-29 01:55:41 +08:00
Kang 4f89328c8e chore: bump version to v1.2.11 2026-09-22 09:13:43 +08:00
Kang 27e6be6e32 chore: bump version to v1.2.10 2026-09-13 13:43:19 +08:00
Kang 1a9e306ec5 chore: bump version to v1.2.9 2026-09-07 00:43:32 +08:00
Kang bb7d1546bc chore: bump version to v1.2.8 2026-09-03 10:31:58 +08:00
Kang 419bfafbdf chore: bump version to v1.2.7 2026-09-02 20:17:01 +08:00
Kang df6f54490a chore: bump version to v1.2.6 2026-08-31 23:40:24 +08:00
Kang 576d1899d5 feat(mcp): implement MCP session open request handling and permission modes
- Added support for handling MCP session open requests, including the ability to respond to session creation with success or error messages.
- Introduced new permission modes for AI interactions, including "full_access", and updated the permission handling logic to accommodate these changes.
- Refactored the AiPermissionSelect component to manage permission modes more effectively and added corresponding tests to ensure functionality.
- Updated translations for new permission modes and improved the UI to reflect changes in session handling.
2026-08-31 21:12:30 +08:00
Kang 078e8be4f4 feat(mcp): implement active session reporting and associated hooks
- Added `useMcpActiveSession` hook to manage and report the active MCP session ID.
- Integrated the hook into the main `App` component to ensure active session updates.
- Created tests for the `useMcpActiveSession` hook to validate session reporting behavior.
- Introduced `report_mcp_active_session` command in the Tauri backend to handle session updates from the frontend.
- Updated MCP tool definitions to include new capabilities and ensure proper session management.
2026-08-30 15:14:16 +08:00
Kang 3be20a6bb0 feat(mcp): MCP (#226)
- Added the McpApprovalHost component to handle external MCP approval requests, enhancing user interaction with external tools.
- Updated the App component to include the McpApprovalHost, ensuring it is rendered within the application layout.
- Introduced external MCP settings in the AiTab component, allowing users to configure MCP options such as enabling/disabling and permission modes.
- Implemented state management for MCP runtime status and client configurations, improving the overall functionality and user experience.
- Added default settings for external MCP in the AI settings module, ensuring a consistent initial configuration.
2026-08-27 23:35:51 +08:00
Kang fd155e5631 chore(russh-sftp): integrate russh-sftp as a vendor dependency
- Moved `russh-sftp` to the vendor directory and updated its path in `Cargo.toml`.
- Added new files for `russh-sftp`, including its `Cargo.toml`, `.gitignore`, and various source files for serialization, deserialization, and error handling.
- Implemented a basic structure for the SFTP client and server functionalities, enhancing the overall SSH file transfer capabilities.
- Introduced error handling and utility functions to support the new SFTP features.
2026-07-04 14:25:41 +08:00
Kang 5747238108 feat(sftp): add OpenSSH-compatible symlink functionality
- Implemented `symlink_openssh` method in `RawSftpSession` and `SftpSession` to create symlinks using OpenSSH's argument order.
- Updated `create_symlink` in `SftpBackend` to utilize the new OpenSSH-compatible method.
- Enhanced directory listing functions in `ScpEnhancedBackend` and `ScpNormalBackend` to correctly handle symlink checks and path formatting.
- Introduced `remote_dir_listing_path` utility function to standardize directory path handling.
2026-06-23 01:27:34 +08:00
Kang 88a5ed5b55 perf(russh-sftp): improve SFTP upload throughput and transfer tracking
- Introduced a new benchmark for upload performance using Criterion.
- Updated the `Limits` struct to derive `PartialEq` and `Eq` for better comparison.
- Added methods to `SftpSession` for retrieving server-advertised limits and effective maximum packet length.
- Implemented a new `read_at` method in the `File` struct to read data at a specific offset without altering the stream position.
- Enhanced `TransferController` with a method to update total size and item count for improved transfer tracking.
2026-06-15 23:07:57 +08:00
Kang 87b43a0c39 feat(russh-sftp): introduce SFTP subsystem with client and server support
- Added a new `russh-sftp` crate for SFTP functionality, including client and server implementations.
- Implemented serialization and deserialization for SFTP packets.
- Created error handling mechanisms specific to SFTP operations.
- Established a modular structure for handling SFTP commands and responses.
- Included utility functions for reading packets and managing session limits.
- Added support for various SFTP extensions such as `limits@openssh.com` and `fsync@openssh.com`.
- Enhanced the overall architecture for better maintainability and extensibility.
2026-06-15 22:17:24 +08:00
Kang 6c1077564b chore: update package descriptions and editions in Cargo.toml files
- Revised the description of the main package to better reflect its purpose as a modern remote terminal workspace.
- Updated the edition field in both the main package and the otp crate to 2024 for compatibility with the latest Rust features.
- Added safety comments in runtime.rs for clarity on environment variable settings during app startup.
- Simplified reference handling in zmodem.rs and io.rs for improved code readability.
2026-06-02 13:51:59 +08:00
Kang f7875d7871 refactor: Update references from Dragonfly to NyaTerm across documentation and codebase
This commit replaces all instances of "Dragonfly" with "NyaTerm" in various files, including documentation, configuration, and UI elements. The changes ensure consistency in branding and improve clarity for users transitioning from the previous version. Additionally, updates to the changelog and README reflect the new application name and its features.
2026-05-05 20:05:53 +08:00
Kang 7268ecbb1f fix(otp): properly decode multi-byte utf-8 characters in url encoding 2026-04-12 18:17:45 +08:00
Kang a3aa537dc1 feat(otp): implement OTP management and integration with UI components 2026-04-10 20:45:08 +08:00
Kang d937c2773f style(format): remove trailing whitespace artifacts 2026-04-10 15:41:44 +08:00
Kang db246ef074 chore(otp): vendor local hotp and totp crate 2026-04-10 15:40:25 +08:00