refactor: update ACP channel handling and improve error normalization

- Changed default channel from 'Desktop' to 'ACP' in AcpProcessClient and related interfaces.
- Updated tests to reflect new channel naming and added support for CLI channel overrides.
- Enhanced error handling in SessionSocketHub to normalize error responses for better clarity.
- Modified session creation and loading responses to include 'cwd' in the session object.
- Added a new test case to surface ACP prompt errors as structured protocol objects.
This commit is contained in:
DragonnZhang 2026-04-25 13:57:05 +08:00
parent cf400d518b
commit e79ec02196
23 changed files with 1486 additions and 321 deletions

View file

@ -0,0 +1,4 @@
interface:
display_name: 'Electron Desktop Dev'
short_description: 'Develop and verify Electron desktop UI'
default_prompt: 'Use $electron-desktop-dev when changing the Electron desktop app and verify the real user path.'