Add Droid wrapper hook support
Merged
KI
9mo ago+354+354+012345678901234567890123456789-1-1-0123456789
Summary
- add a desktop Droid wrapper and merge Superset hooks into
~/.factory/settings.json - register the wrapper during agent hook setup and include
droidin the managed binary list - map Droid
Notificationhooks to Superset permission-request notifications and document the new external files
Related Issues
Testing
- bun test apps/desktop/src/main/lib/agent-setup/agent-wrappers.test.ts apps/desktop/src/main/lib/notifications/server.test.ts
- bunx biome check apps/desktop/src/main/lib/agent-setup/agent-wrappers-droid.ts apps/desktop/src/main/lib/agent-setup/agent-wrappers-common.ts apps/desktop/src/main/lib/agent-setup/agent-wrappers.ts apps/desktop/src/main/lib/agent-setup/index.ts apps/desktop/src/main/lib/notifications/map-event-type.ts apps/desktop/src/main/lib/notifications/server.test.ts apps/desktop/src/main/lib/agent-setup/agent-wrappers.test.ts apps/desktop/docs/EXTERNAL_FILES.md
Summary by CodeRabbit
-
New Features
- Added Droid wrapper support to manage Droid tool integration and ensure its settings are created/updated.
- Notification events from Droid are now recognized and treated as permission requests.
-
Documentation
- Added docs for the Droid wrapper and a Global Tool Settings Files section describing the ~/.factory/settings.json usage.
-
Tests
- Added tests covering Droid wrapper behavior and notification-to-permission mapping.