pub struct AgentVersion {Show 18 fields
pub public_id: AgentVersionId,
pub internal_id: Uuid,
pub agent_id: AgentId,
pub version_number: i32,
pub semver_major: i32,
pub semver_minor: i32,
pub semver_patch: i32,
pub version: String,
pub is_published: bool,
pub parent_version_id: Option<AgentVersionId>,
pub source_version_id: Option<AgentVersionId>,
pub created_by_principal_id: Option<PrincipalId>,
pub change_kind: AgentVersionChangeKind,
pub summary: Option<String>,
pub config_hash: String,
pub authored_config: Value,
pub resolved_config: Value,
pub created_at: DateTime<Utc>,
}Expand description
Immutable snapshot of an Agent’s authored and resolved runtime config.
Fields§
§public_id: AgentVersionIdPrefixed public identifier. See ID Schema.
internal_id: UuidInternal database UUID. Not part of the public identifier surface; skipped during serialization.
agent_id: AgentIdOwning agent’s prefixed public identifier.
version_number: i32Monotonic per-agent version sequence number (1, 2, 3, …). Increments on every snapshot.
semver_major: i32Semantic version major component.
semver_minor: i32Semantic version minor component.
semver_patch: i32Semantic version patch component.
version: StringCombined semver string for display (e.g. 1.4.2).
is_published: boolWhether this version was explicitly published by a user. Published versions are user-controlled semver releases; unpublished rows are automatic draft snapshots kept for audit and rollback.
parent_version_id: Option<AgentVersionId>Version this one was forked or branched from, if any.
source_version_id: Option<AgentVersionId>When this version is a copy of another version (e.g. a manual rollback), the original source. None for ordinary snapshots.
created_by_principal_id: Option<PrincipalId>Identity of the principal (user or agent identity) that created this version. None for system-generated snapshots.
change_kind: AgentVersionChangeKindClassification of why this version was created (manual publish, automatic draft, rollback, fork, etc.).
summary: Option<String>Human-readable summary of changes in this version (release notes). None if not provided.
config_hash: StringStable hash of resolved_config used to deduplicate adjacent identical snapshots.
User-authored agent configuration JSON, exactly as submitted. Capabilities, MCP refs, model selection live here.
resolved_config: ValueResolved configuration after applying harness, capability, and platform layers. This is what the runtime executes against.
created_at: DateTime<Utc>Timestamp when this version was created (RFC 3339).
Trait Implementations§
Source§impl Clone for AgentVersion
impl Clone for AgentVersion
Source§fn clone(&self) -> AgentVersion
fn clone(&self) -> AgentVersion
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AgentVersion
impl Debug for AgentVersion
Source§impl<'de> Deserialize<'de> for AgentVersion
impl<'de> Deserialize<'de> for AgentVersion
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for AgentVersion
impl RefUnwindSafe for AgentVersion
impl Send for AgentVersion
impl Sync for AgentVersion
impl Unpin for AgentVersion
impl UnsafeUnpin for AgentVersion
impl UnwindSafe for AgentVersion
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request