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. fromId is the attribution the owner's transcript renders ([from $fromId] …) — the app sends as Fa.app user, a viewer CLI as fa CLI user.

Properties

fromId → String
The sender attribution carried on every sent envelope.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(String sessionId, String text) → Future<void>
Hands text to 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