Skip to content

Conversation

@DanTheMan827
Copy link
Contributor

Consolidate device and connection management into a context-based approach while enhancing agent request handling and logging capabilities. Improve error handling for agent messages and update relevant components to utilize the new structure.

- Added createLoggingWritableStream function to log messages from the agent.
- Implemented WritableStream to capture and process agent output.
- Improved error handling for JSON parsing of agent messages.
- Updated sendRequest function to utilize the new logging stream.
- Removed DeviceStore and SyncStore, consolidating their functionality into a new context-based approach.
- Introduce DeviceConnector and BridgeManager hooks to manage device connections and bridge interactions.
- Updated ModManager, OptionsMenu, and other components to utilize the new context for device management.
- Refactor operation modals to use a new context-based approach.
- Added `valtio` dependency for state management.
- Updated `@types/w3c-web-usb` to version `^1.0.10`.
- Refactored operation modals to use `valtio` for state management.
- Simplified modal context usage across components.
- Improved error handling and operation wrapping in modals.
- Defined properties from source for better state management.
@DanTheMan827 DanTheMan827 force-pushed the connection-improvements branch from 53f856d to 95f2358 Compare October 3, 2025 04:48
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.

1 participant