pub enum AgentField {
Provider(Ident),
Profile(StringLiteral),
Capacity(u32, SourceSpan),
Skills(Vec<StringLiteral>, SourceSpan),
Capabilities(Vec<StringLiteral>, SourceSpan),
Requires(Vec<Ident>, SourceSpan),
Tools(Vec<Ident>, SourceSpan),
Compaction(Ident),
Thread(Ident),
Settings(Ident),
Unknown {
name: Ident,
span: SourceSpan,
},
}Variants§
Provider(Ident)
Profile(StringLiteral)
Capacity(u32, SourceSpan)
Skills(Vec<StringLiteral>, SourceSpan)
Capabilities(Vec<StringLiteral>, SourceSpan)
Requires(Vec<Ident>, SourceSpan)
requires [session.resume, turn.cancel]: portable feature-class
requirements (DR-0015 taxonomy; spec/std-agent.md slice 6). Entries are
dotted feature-class names, validated for taxonomy membership at
lowering and against the provider’s feature report by the CLI.
Tools(Vec<Ident>, SourceSpan)
tools [Foo, Bar]: the workflows this agent may invoke as typed tools
(DR-0025). Entries are workflow names resolved against the program/packages.
Compaction(Ident)
compaction <strategy>: the owned-harness conversation-compaction strategy
(context-assembly Phase 5). One of summarize, hard_reset, tool_results,
none.
Thread(Ident)
thread <mode>: owned-harness conversation continuation across tells
(the chat-shaped instance v1). continue seeds each
new tell from the agent’s latest completed-turn transcript in this
instance; fresh (the default) starts every tell from scratch.
Settings(Ident)
settings <sources>: which ambient-config sources a Delegated harness may
read when assembling its own context (DR-0034 Decision 4). One of project,
user, none. Unset means the provider’s own default.
Unknown
Trait Implementations§
Source§impl Clone for AgentField
impl Clone for AgentField
Source§fn clone(&self) -> AgentField
fn clone(&self) -> AgentField
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more