Skip to main content

Module hosted

Module hosted 

Source
Expand description

Wake for sessions a host owns (the hatchery node): the host knows which sessions are live (it spawned them and assigned each its m4a account, nick = key = role); g4a decides what a letter does and frames the prompt; the host executes the decision on its own runtime (submit a prompt into the live PTY/ACP session, or spawn one). No I/O here, so the decision is the same for every host and testable without one.

Structs§

HostedTarget
What the host knows about the session that owns nick.

Enums§

HostedWake
What the host should do with one letter.

Traits§

HostedSessions
The host’s view of its sessions.

Functions§

plan_hosted_wake
Decides the wake for a letter addressed to nick.