feat(cli): enable hero_livekit single-binary with hero_proc lifecycle #28

Merged
ashraf merged 2 commits from development_hero_proc_selfstart into main 2026-04-27 09:52:16 +00:00
Member

Summary

  • Refactored hero_livekit_ui into a library + binary so the single-binary orchestrator can embed the UI router
  • Enabled the auto-generated hero_livekit binary (added bin section, dependencies, removed autobins=false)
  • Downgraded axum from 0.8 to 0.7 to match hero_rpc_server's Router type
  • Updated Makefile install targets to include hero_livekit

Closes #1

Changes

  • New: crates/hero_livekit_ui/src/lib.rs exporting UiMeta, build_router(), bind_unix_socket()
  • Modified: crates/hero_livekit_ui/src/main.rs to use the library
  • Modified: crates/hero_livekit_ui/Cargo.toml (added [lib], axum 0.7)
  • Modified: crates/hero_livekit_ui/src/whitelist.rs (added new_blocking())
  • Modified: crates/hero_livekit/Cargo.toml (added bin, deps)
  • Modified: Cargo.toml (added hero_livekit_ui workspace dep)
  • Modified: Makefile (added hero_livekit to install targets)

Test Results

34 tests passed, 0 failures. hero_livekit --help shows --start, --stop, --contexts flags.

## Summary - Refactored hero_livekit_ui into a library + binary so the single-binary orchestrator can embed the UI router - Enabled the auto-generated hero_livekit binary (added [[bin]] section, dependencies, removed autobins=false) - Downgraded axum from 0.8 to 0.7 to match hero_rpc_server's Router type - Updated Makefile install targets to include hero_livekit ## Related Issue Closes https://forge.ourworld.tf/lhumina_code/hero_livekit/issues/1 ## Changes - New: `crates/hero_livekit_ui/src/lib.rs` exporting UiMeta, build_router(), bind_unix_socket() - Modified: `crates/hero_livekit_ui/src/main.rs` to use the library - Modified: `crates/hero_livekit_ui/Cargo.toml` (added [lib], axum 0.7) - Modified: `crates/hero_livekit_ui/src/whitelist.rs` (added new_blocking()) - Modified: `crates/hero_livekit/Cargo.toml` (added [[bin]], deps) - Modified: `Cargo.toml` (added hero_livekit_ui workspace dep) - Modified: `Makefile` (added hero_livekit to install targets) ## Test Results 34 tests passed, 0 failures. hero_livekit --help shows --start, --stop, --contexts flags.
feat(cli): enable hero_livekit single-binary with hero_proc lifecycle
All checks were successful
Build & Test / check (push) Successful in 1m56s
Build & Test / check (pull_request) Successful in 1m56s
56ee5b3adc
#1
fix(clippy): collapse nested if-let chains in whitelist and lk-backend
All checks were successful
Build & Test / check (push) Successful in 1m59s
Build & Test / check (pull_request) Successful in 2m3s
ed8d397dd7
#1
ashraf merged commit e7a3d94c2d into main 2026-04-27 09:52:16 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_livekit!28
No description provided.