FileSessionInputChannel class final
Hands user input to the session's owning process through the agent
messaging fabric: an AgentMessageKind.user envelope addressed to the
session's main mailbox. The CLI's inbox watcher wakes and delivers
it as a user turn.
- Implemented types
Constructors
- FileSessionInputChannel({required FileMessagingRepository repository, String fromId = 'Fa.app user'})
-
Creates the channel over the fabric at
messagingRoot.fromIdis the attribution the owner's transcript renders ([from $fromId] …) — the app sends asFa.app user, a viewer CLI asfa CLI user.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
send(
String sessionId, String text) → Future< void> -
Hands
textto the session's owning process as user input. The awaiting future completes when the input is durable (queued), not when the process has seen it.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited