core
diapason.system.core
¶
DiapasonSystem — the fully wired system dataclass.
DiapasonSystem
dataclass
¶
Fully wired system -- the single source of truth for primitive composition.
act(command)
¶
Execute an explicit low-risk desktop command without inference.
Unlike ask(), this method deliberately authorizes the deterministic
action path. Ambiguous or disallowed commands still fall back to the
normal configured assistant.
close()
¶
Release resources.
wire_channel(channel_bridge)
¶
Register a message handler on channel_bridge that routes every incoming message through this system (agent or engine) and replies.
Sessions are isolated per "<channel>:<conversation_id>" key so
each chat retains its own history.
Parameters¶
channel_bridge:
A connected :class:~diapason.channels._stubs.BaseChannel
instance whose on_message method accepts a callable.