mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-15 23:32:46 +00:00
Quality cleanup on top of the v2 envelope commits: - fabro-workflow/src/event.rs: add ActorKind/ActorRef/RunProvenance to the existing ::fabro_types import block so call sites can use unqualified names (restores CLAUDE.md import style). Extract a node_stored_fields helper to collapse 4 near-identical match arms in stored_event_fields. Drop the no-op ..default() from the Agent arm where all 9 fields are set explicitly. - fabro-types/src/run_event/mod.rs: collapse 9 copies of the obj.get/as_str/to_string chain in from_ref behind an opt_str closure. - fabro-server/src/server.rs: dedupe the two identical error closures in api_event_envelope_from_store. Skip the typed ApiEventEnvelope roundtrip in sse_event_from_store so streamed events go straight from the wire Value to a JSON string. - fabro-workflow/src/handler/llm/api.rs: inline current_visit into its sole caller current_stage_event_scope. Also fixes pre-existing test compile breakage carried in by the v2 commits: restore the fabro_types::RunId import in support.rs (removed by |
||
|---|---|---|
| .. | ||
| crates | ||
| packages/fabro-api-client | ||