Expand description
Shared serde types used across every byob layer.
Modules§
- channel
- Channels: ways byob reaches the user outside the app (“shoot me a text”) and the user
answers. A channel is provided by a plugin (manifest
channels, seedocs/plugins-backend.md, Channels); byob’s engine owns everything that decides who may talk to it: pairing codes, the paired peers (by their immutable platform id, never a display name), “My phone” (the one channel and peer “text me” means), and the daily caps. - chart
- Charts byob draws itself:
ChartSpecv1, the same JSON hob saves as<title>.chart.json, so chart files move between the two apps. - config
- Layered settings: built-in defaults → global (
settings.json) → workspace → chat. - desktop
- Settings of the desktop app itself (not of chats): what closing the window does.
- layout
- What byob’s interface shows, and in what order: the layout.
- process
- Starting other programs without a window of their own.
- profile
- Model profiles: a saved model (endpoint, model id, what it is good at) that the global level, a workspace, a chat or a model role can pick by id.
- routine
- Routines: saved instructions byob carries out by itself, on a schedule or by hand (“Every
morning, search the web for a deal on a new loom”). Each run is a chat; a run that finds
something calls
report, and the user hears about it.
Structs§
- Inference
Config - Where and how to reach the model. Replaces hob’s local llama.cpp setup.
- Message
- A single chat message as sent to / received from the inference endpoint.
Enums§
Constants§
- CLI_
SCHEME - The URL scheme of an agent CLI endpoint:
cli://<agent>.
Functions§
- cli_
agent - The agent id of a
cli://<agent>URL ("claude"), orNonefor any other URL. - endpoint_
url_ ok - An endpoint URL byob can use:
http(s)://…orcli://<agent>.