pub struct Config {Show 15 fields
pub config_set_forbidden: bool,
pub objectiveai_dir: Option<String>,
pub objectiveai_state: Option<String>,
pub commit_author_name: Option<String>,
pub commit_author_email: Option<String>,
pub agent_instance_hierarchy: String,
pub agent_id: Option<String>,
pub agent_full_id: Option<String>,
pub agent_remote: Option<String>,
pub response_id: Option<String>,
pub response_ids: Option<String>,
pub mcp_session_id: Option<String>,
pub plugin_owner: Option<String>,
pub plugin_repository: Option<String>,
pub plugin_version: Option<String>,
}Fields§
§config_set_forbidden: bool§objectiveai_dir: Option<String>Layout root override (OBJECTIVEAI_DIR); None = ~/.objectiveai.
objectiveai_state: Option<String>State name (OBJECTIVEAI_STATE); None = “default”.
agent_instance_hierarchy: String§agent_id: Option<String>§agent_full_id: Option<String>WF-level agent identity from OBJECTIVEAI_AGENT_FULL_ID / the
X-OBJECTIVEAI-AGENT-FULL-ID reverse-attach header. Propagated
onto spawned plugin subprocesses by the conduit so plugin-side
code can stamp it on outbound calls.
agent_remote: Option<String>JSON-encoded RemotePath from OBJECTIVEAI_AGENT_REMOTE /
the X-OBJECTIVEAI-AGENT-REMOTE reverse-attach header. Empty
when the WF was inline. Propagated onto spawned plugins.
response_id: Option<String>Current response id from OBJECTIVEAI_RESPONSE_ID / the
X-OBJECTIVEAI-RESPONSE-ID reverse-attach header. Propagated
onto spawned plugins so plugin-side code can stamp it on
outbound calls.
response_ids: Option<String>Comma-separated response id chain from
OBJECTIVEAI_RESPONSE_IDS / X-OBJECTIVEAI-RESPONSE-IDS.
Propagated onto spawned plugins.
mcp_session_id: Option<String>§plugin_owner: Option<String>Plugin coordinate (OBJECTIVEAI_PLUGIN_OWNER / _REPOSITORY /
_VERSION) of the plugin a command is running on behalf of.
Set by plugins run on the config used to launch nested
(plugin-originated) commands; assembled into
crate::context::Context::plugin at startup.
plugin_repository: Option<String>§plugin_version: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more