Skip to content

[RD7] Internal broadcast-channel event bus decoupling agent events from AppHandle #76

Description

@ACFHarbinger

Roadmap item RD7 from docs/moon/roadmaps/rust.md — Track: Core Orchestration Daemon.

Follow-up from the RD1 spike (ADR 0003).

Effort: S

Introduce an internal tokio::sync::broadcast::<AgentEvent> bus in a new event_bus.rs module; agents.rs/llm_client.rs publish to it instead of taking &AppHandle; the Tauri shim (lib.rs) and tcp_server.rs both become subscribers. Removes the tauri dependency from agents.rs and llm_client.rs, and is a hard prerequisite for RA3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions