pub struct Attach {Show 18 fields
pub agent: String,
pub cwd: String,
pub session: Option<String>,
pub model: String,
pub effort: String,
pub mode: String,
pub pending: Vec<String>,
pub described: Option<HarnessDecl>,
pub lang: String,
pub shared: Option<SharedRef>,
pub roots: BTreeMap<String, String>,
pub fence: Vec<String>,
pub read_only: bool,
pub append_prompt: Option<String>,
pub running: bool,
pub home: Option<String>,
pub read_dirs: Vec<String>,
pub by_key: bool,
}Expand description
An agent given to the plugin: what it cannot know by itself, given again after each restart and each change.
Fields§
§agent: String§cwd: String§session: Option<String>§model: String§effort: String§mode: String§pending: Vec<String>The requests of the harness waiting for the user’s answer, by their ids.
described: Option<HarnessDecl>As LaunchParams::described.
lang: StringAs LaunchParams::lang.
The shared process it is on (Launch::shared), once it runs.
roots: BTreeMap<String, String>Its folders the plugin declares (permissions.files), by root (agent, agentRepo, agentHome, temp), resolved
by the core, for fs/*.
fence: Vec<String>As LaunchParams::fence, read_only and append_prompt, for a plugin that holds them itself, or starts again:
on a session of its own (Launch::shared), in rules it writes.
read_only: bool§append_prompt: Option<String>§running: boolA turn of its runs, as far as the core knows: one that ended while the plugin was down is told so.
home: Option<String>As LaunchParams::home, read_dirs and by_key, for a plugin that starts again and writes in that folder (its
rules, a harness that relaunches).
read_dirs: Vec<String>§by_key: bool