pub struct ResolvedSpawnSpec {Show 17 fields
pub target: SpawnTarget,
pub profile_id: SpawnProfileId,
pub profile_revision: SpawnProfileRevision,
pub provider: AgentId,
pub mode: SessionMode,
pub terminal_size: TerminalSize,
pub prompt: Option<SpawnPrompt>,
pub bundle_id: Option<SpawnBundleId>,
pub context_id: Option<SpawnContextId>,
pub environment_profile_id: Option<SpawnEnvironmentProfileId>,
pub deadline_ms: SpawnDeadlineMs,
pub idempotency_key: SpawnIdempotencyKey,
pub required_capabilities: SpawnRequiredCapabilities,
pub provenance: SpawnResolutionProvenance,
pub approval_level: ApprovalLevel,
pub network_allowlist: Option<SpawnNetworkAllowlistId>,
pub browser_profile_id: Option<SpawnBrowserProfileId>,
}Fields§
§target: SpawnTarget§profile_id: SpawnProfileId§profile_revision: SpawnProfileRevision§provider: AgentId§mode: SessionMode§terminal_size: TerminalSize§prompt: Option<SpawnPrompt>§bundle_id: Option<SpawnBundleId>§context_id: Option<SpawnContextId>§environment_profile_id: Option<SpawnEnvironmentProfileId>§deadline_ms: SpawnDeadlineMs§idempotency_key: SpawnIdempotencyKey§required_capabilities: SpawnRequiredCapabilities§provenance: SpawnResolutionProvenance§approval_level: ApprovalLevelResolved from overrides.approval_level – None becomes
ApprovalLevel::default() (FullAuto) here, once, so every
consumer of a ResolvedSpawnSpec reads a concrete launch-time value
rather than re-deriving the same default independently.
network_allowlist: Option<SpawnNetworkAllowlistId>Opaque station network allowlist policy id from
SpawnOverrides::network_allowlist (pass-through). Empty/whitespace
ids are refused at SpawnNetworkAllowlistId construction. Unknown
catalog ids refuse at node resolve (UnknownNetworkAllowlist); this
field carries the id for receipt echo when registered.
browser_profile_id: Option<SpawnBrowserProfileId>Opaque dig2browser station browserProfile id from
SpawnOverrides::browser_profile_id (pass-through). Empty/whitespace
ids are refused at SpawnBrowserProfileId construction. When feature
dig2-station-probe is on, node resolve probes local station IPC and
spawn takes an exclusive node-local lease (never ImportSession/cookies
on C2). Feature off keeps stub id echo.
Implementations§
Source§impl ResolvedSpawnSpec
impl ResolvedSpawnSpec
pub fn receipt( &self, incarnation_id: NodeIncarnationId, session: SessionAddress, ) -> ResolvedSpawnReceipt
pub fn receipt_with_environment( &self, incarnation_id: NodeIncarnationId, session: SessionAddress, environment_profile: Option<ResolvedEnvironmentProfileReceipt>, ) -> ResolvedSpawnReceipt
pub fn receipt_with_materialization( &self, incarnation_id: NodeIncarnationId, session: SessionAddress, environment_profile: Option<ResolvedEnvironmentProfileReceipt>, bundle: Option<ResolvedBundleReceipt>, context: Option<ResolvedContextPackReceipt>, ) -> ResolvedSpawnReceipt
Trait Implementations§
Source§impl Clone for ResolvedSpawnSpec
impl Clone for ResolvedSpawnSpec
Source§fn clone(&self) -> ResolvedSpawnSpec
fn clone(&self) -> ResolvedSpawnSpec
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more