Skip to content

Update desktop shell and local chat experience#4

Merged
SengokuCola merged 44 commits into
mainfrom
desktop
May 19, 2026
Merged

Update desktop shell and local chat experience#4
SengokuCola merged 44 commits into
mainfrom
desktop

Conversation

@SengokuCola
Copy link
Copy Markdown
Collaborator

Summary

  • add shared IPC contracts for rich local chat messages and floating-window controls
  • support images, emoji, files, and recorded voice in 随便聊聊, with planner messages collapsed by default
  • move 快捷操作 into a home-side dialog and fold plugin controls into the MaiBot Core overview
  • merge service status into 环境与服务 settings and refine close-behavior copy
  • make the floating shell draggable and dockable as a side strip

Verification

  • bun run typecheck

DrSmoothl and others added 30 commits April 28, 2026 13:51
Co-authored-by: Copilot <copilot@github.com>
- Removed the NapCat Adapter service from the service registry and fallback snapshot.
- Updated the preload index to include new service command configurations for saving and resetting commands.
- Modified the DesktopShell component to pass services to the TerminalPanel.
- Enhanced the SettingsStatusPanel to manage service command configurations, including saving and resetting commands.
- Updated the TerminalPanel to handle multiple service terminals and improve session management.
- Added service command configuration types to shared contracts and updated the DesktopSnapshot interface.
…management

- Refactor TerminalPanel to utilize react-virtual for efficient rendering of terminal logs.
- Introduce ptyLogStore for centralized management of PTY session logs and state.
- Add support for ANSI parsing to render styled terminal output.
- Enhance WebviewPanel to manage loading states more effectively.
- Introduce runtime path configurations for Python and Git in desktop API.
- Update contracts to include runtime path configurations and related types.
- Improve error handling and messaging in terminal and webview components.
…ation wizard

- Updated `setQqAccount` method in `DesktopBridge` and related interfaces to accept an optional `websocketToken`.
- Integrated secure token generation for QQ account setup using `createSecureToken`.
- Modified `InitializationWizard` to handle the new QQ account setup flow, including UI updates and error handling.
- Removed unused `initializePtyLogStore` call from `DesktopShell`.
- Improved button styles for better responsiveness in `DesktopShell`.
- Refactored `TerminalPanel` to utilize new terminal handling logic and improved session management.
- Added clipboard copy functionality for terminal selections.
- Updated keyboard shortcut handling in `Kbd` component to support compact mode.
- Introduced a new script `patch-electron-builder-nsis.ts` to automate patching of NSIS templates for enhanced installer details output.
- Added an application icon `icon.png` to the resources directory.
- Introduced a new `startupAgreement` field in the `DesktopSnapshot` interface to manage user agreement status.
- Created `StartupAgreementDialog` component to display and handle user agreements with EULA and privacy documents.
- Implemented `MarkdownRenderer` for rendering agreement content with basic markdown support.
- Added `ScrollArea` component for better scroll handling in the agreement dialog.
- Developed `ModuleUpdater` service for updating the MaiBot module via Git.
- Implemented `PythonDependencyManager` for managing Python package installations and versions.
- Updated `DesktopBridge` interface to include methods for handling agreements and Python dependencies.
- Enhanced `DesktopSnapshot` interface to include startup agreement state and documents.
Co-authored-by: Copilot <copilot@github.com>
Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, we are unable to review this pull request

The GitHub API does not allow us to fetch diffs exceeding 20000 lines

@SengokuCola SengokuCola merged commit 6cae6d1 into main May 19, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants