Skip to main content

Module model

Module model 

Source

Structs§

Activity
One line of the activity feed. Persisted so a reload keeps the history.
Choice
A question an agent asked the user; stays pending until answered.
ChoiceOption
Harness
HarnessId
Mail
One message in a harness mailbox. Persisted so a reload loses nothing.
Subagent
A child agent spawned by a harness (Claude Code Task, opencode child session, pi equivalent).
SubagentId
Workspace
A workspace is a named view over a folder. Two workspaces may point at the same folder, and a workspace may point at a subfolder of another project.
WorkspaceId

Enums§

HarnessKind
The kind of process a harness runs.
HarnessStatus

Constants§

AGENT_COLORS
Accent indices agents may get: the theme accents minus green (termden’s own status) and red (errors).

Functions§

assign_agent_colors
Give every harness without a color a random one, preferring colors nobody else wears.