Skip to main content

Module agent

Module agent 

Source
Expand description

Talking to a task’s live agent.

Used by rejecting a diff, resuming a paused task, and sending a todo. Two rules:

  • Target a pane, not a session. send-keys takes a pane, and without the = prefix marver-1 also matches marver-12.
  • Send the text and the submission separately. send-keys -l would take an appended Enter as five characters.

Enums§

Error

Functions§

owns_session
Whether session is this task’s, rather than a namesake.
pane
The first pane of a task’s live session.
press
Send a single named key, such as Escape.
say
Type text at the agent and submit it.
session_of
The session a task’s agent runs in, whether or not it exists.

Type Aliases§

Result