Commit graph

8 commits

Author SHA1 Message Date
Breadway
434fe1721c feat: enhance device normalization and classification
- Introduced a new mechanism in EventNormalizer to suppress duplicate events from child nodes of the same physical device.
- Removed the device classification logic from the normalizer and replaced it with a rule-based system using Lua scripts.
- Added support for user-defined device rules in Lua, allowing for flexible device naming based on various conditions.
- Updated the state engine to handle device rules and resolve device names before dispatching events.
- Modified the installation script to set up default configuration files for the daemon and Lua modules.
- Improved the handling of systemd user services to dynamically set the ExecStart path based on the installation directory.
2026-05-12 21:27:07 +08:00
Breadway
364a35142e feat: add bread-sync module for snapshot and restore functionality
- Introduced `bread-sync` module with core functionalities for syncing system state via Git.
- Implemented `MachineProfile` struct for managing machine profiles, including methods for reading and writing profiles.
- Added package management support with snapshot capabilities for `pacman`, `pip`, `npm`, and `cargo`.
- Created comprehensive tests for sync operations, package parsing, and machine profile management.
- Enhanced `udev` adapter to include vendor and product IDs for scanned devices.
- Updated state engine to handle module clearing commands.
- Introduced Lua integration for accessing machine information and file system operations.
- Improved packaging documentation for Arch Linux and systemd service setup.
2026-05-12 00:20:45 +08:00
Breadway
251c586b6f revert 2026-05-11 22:51:32 +08:00
Breadway
f5cf547875
Merge branch 'master' into dev 2026-05-11 20:30:48 +08:00
Breadway
f0ef411697 Enhance installation process, update service paths, and improve device classification 2026-05-11 18:39:39 +08:00
Breadway
0fe25373d7 remove CI workflow and update .gitignore to include .github directory 2026-05-11 15:29:08 +08:00
Breadway
d537fc9318 Daemon release-ready 2026-05-11 12:21:23 +08:00
Breadway
730a8b61d7 Release 1.0 2026-05-11 11:56:03 +08:00