docs.rs failed to build car-server-types-0.31.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
car-server-types
Shared substrate types for the CAR daemon, lifted out of car-server-core so the
messaging / parslee / coder surfaces can later extract into their own crates
without a dependency cycle back to the dispatcher (#418).
What's here
host—HostState(agents, approvals, host events, subscribers) and theEventSubscribertrait.HostStatebroadcastshost.eventJSON-RPC frames to subscribers throughEventSubscriber::send_text(String), so it no longer depends on the concrete WebSocket type (WsChannel) ortokio-tungstenite. The WS connection incar-server-core'ssession.rsimplements the trait.channel—ChannelId/ChannelConfig/SlackTokenRefplus theInboundChannel/InboundSinktraits andChannelRegistryHandles(the transport-neutral messaging abstraction; the iMessage/Slack adapter impls stay incar-server-core, headed forcar-messaging).approval_core—ApprovalCore/ResolveOutcome: the approval-resolution logic driven throughHostState.
Why it's a separate crate
car-server-core is the JSON-RPC dispatcher + WS server + coder + MCP + Parslee
auth + both messaging adapters, with ~30 heavy test binaries that overflow CI
link/disk. Decomposing it (#418) requires these shared types to live below the
surfaces that depend on them. This crate is Phase 0 of that decomposition; the
WS-coupled RunTraceSubscriber and the dispatcher remain in car-server-core.