Commit graph

28 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
22f591e0e6 revert 2026-05-12 00:35:09 +08:00
Breadway
74a4082d10
Merge pull request #4 from Breadway/master
Merge pull request #3 from Breadway/dev
2026-05-12 00:27:16 +08:00
Breadway
9dcdc67b5e
Merge pull request #3 from Breadway/dev
Dev
2026-05-12 00:25:43 +08:00
copilot-swe-agent[bot]
762e6a6a59
docs: align daemon naming with package rename
Agent-Logs-Url: https://github.com/Breadway/bread/sessions/1d380004-8d78-4a1f-9fbb-0c8a487b2e14

Co-authored-by: Breadway <108389940+Breadway@users.noreply.github.com>
2026-05-11 16:25:35 +00:00
copilot-swe-agent[bot]
007478f82c
Merge origin/master into dev and resolve conflicts
Co-authored-by: Breadway <108389940+Breadway@users.noreply.github.com>
2026-05-11 16:23:31 +00: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
d27323d2a2 Refactor UdevAdapter to remove udev monitor fallback and update PKGBUILD for consistent naming 2026-05-11 22:48:49 +08:00
Breadway
f05d6ba602 Update README and add documentation and examples for Bread automation 2026-05-11 21:54:43 +08:00
Breadway
45d5979252 Remove markdown 2026-05-11 20:58:31 +08:00
Breadway
61000d8811 Merge branch 'dev' of https://github.com/Breadway/bread into dev 2026-05-11 20:56:34 +08:00
Breadway
e5611567c2 Begin Implementing V2 features 2026-05-11 20:56:10 +08:00
Breadway
28df873b92
Merge pull request #2 from Breadway/dev
Dev
2026-05-11 20:30:59 +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
e339660084 Refactor subscription table logic and enhance Lua logging and debounce functionality 2026-05-11 16:57:22 +08:00
Breadway
7c29befc0d Enhance timestamp formatting and add reload watcher functionality 2026-05-11 16:40:49 +08:00
Breadway
65f81db562 unsure 2026-05-11 16:30:05 +08:00
Breadway
8de31cd1fc
Merge pull request #1 from Breadway/dev
Add lua runtime
2026-05-11 16:29:38 +08:00
Breadway
16f3765b65 Add lua runtime 2026-05-11 16:03:05 +08:00
Breadway
3614f628ae Merge branch 'master' of https://github.com/Breadway/bread 2026-05-11 15:50:36 +08:00
Breadway
7f8faa7754 Daemon release-ready 2026-05-11 15:49:03 +08:00
Breadway
0fe25373d7 remove CI workflow and update .gitignore to include .github directory 2026-05-11 15:29:08 +08:00
Breadway
bde30928a0
Update clone command to include .git extension 2026-05-11 12:28:49 +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
Breadway
009ea6da0e add initial Overview.md for project documentation 2026-05-11 11:10:51 +08:00