Allow well-formed bread.command events on the emit bus

Docs already said any module or app could publish bread.command.<app>.<verb>,
but command is reserved so both unsourced bread-emit and sourced App emit
rejected the whole namespace. Keep command unclaimable as an app id; accept
bread.command.<known-app>.<verb> (and let an app command another known app).
Also ship bread-emit and bread-module-host, and give udev enumerate the same
classification fields as a live add so boot-time devices are not all unknown.
This commit is contained in:
Breadway 2026-08-15 21:41:40 +08:00
parent a6973360bd
commit d3517d1433
52 changed files with 26405 additions and 6811 deletions

View file

@ -17,8 +17,12 @@ echo "symlinking binaries into $BIN_DIR..."
mkdir -p "$BIN_DIR"
ln -sf "$REPO_ROOT/target/release/breadd" "$BIN_DIR/breadd"
ln -sf "$REPO_ROOT/target/release/bread" "$BIN_DIR/bread"
ln -sf "$REPO_ROOT/target/release/bread-emit" "$BIN_DIR/bread-emit"
ln -sf "$REPO_ROOT/target/release/bread-module-host" "$BIN_DIR/bread-module-host"
echo " $BIN_DIR/breadd -> $REPO_ROOT/target/release/breadd"
echo " $BIN_DIR/bread -> $REPO_ROOT/target/release/bread"
echo " $BIN_DIR/bread-emit -> $REPO_ROOT/target/release/bread-emit"
echo " $BIN_DIR/bread-module-host -> $REPO_ROOT/target/release/bread-module-host"
if [[ ":$PATH:" != *":$BIN_DIR:"* ]]; then
echo ""