Skip to main content

Module package

Module package 

Source
Expand description

Public package namespace. Use it for the documented package API surface; prefer crate-root re-exports for common imports. Module items must preserve the core ownership and side-effect boundaries described in this file. Runtime package authority for one run. Use this module to freeze provider routes, capabilities, sidecars, catalogs, policies, output sinks, and fingerprints before execution. Package builders are data-only; applying deltas returns a new snapshot rather than mutating ambient state.

Re-exports§

pub use crate::package_isolation::IsolationRequirementSnapshot;
pub use subagent::ChildPackageStripManifest;
pub use subagent::ChildRuntimePackage;
pub use subagent::ChildRuntimePackagePolicy;
pub use subagent::ContextHandoffPolicy;
pub use subagent::DepthBudget;
pub use subagent::RouteInheritanceMode;
pub use subagent::SubagentRoutePolicy;
pub use subagent::SubagentToolPolicy;
pub use subagent::build_child_runtime_package;

Modules§

realtime
Public realtime namespace. Use it for the documented realtime API surface; prefer crate-root re-exports for common imports. Module items must preserve the core ownership and side-effect boundaries described in this file. Runtime-package records and builders. Use these items to describe the immutable per-run package that freezes provider route, capabilities, policies, sidecars, catalogs, and fingerprints. Builders are data-only and must not perform discovery or execution side effects. This file contains the realtime portion of that contract.
stream
Public stream namespace. Use it for the documented stream API surface; prefer crate-root re-exports for common imports. Module items must preserve the core ownership and side-effect boundaries described in this file. Runtime-package records and builders. Use these items to describe the immutable per-run package that freezes provider route, capabilities, policies, sidecars, catalogs, and fingerprints. Builders are data-only and must not perform discovery or execution side effects. This file contains the stream portion of that contract.
subagent
Public subagent namespace. Use it for the documented subagent API surface; prefer crate-root re-exports for common imports. Module items must preserve the core ownership and side-effect boundaries described in this file. Runtime-package records and builders. Use these items to describe the immutable per-run package that freezes provider route, capabilities, policies, sidecars, catalogs, and fingerprints. Builders are data-only and must not perform discovery or execution side effects. This file contains the subagent portion of that contract.
tool_pack
Public tool pack namespace. Use it for the documented tool pack API surface; prefer crate-root re-exports for common imports. Module items must preserve the core ownership and side-effect boundaries described in this file. Runtime-package records and builders. Use these items to describe the immutable per-run package that freezes provider route, capabilities, policies, sidecars, catalogs, and fingerprints. Builders are data-only and must not perform discovery or execution side effects. This file contains the tool pack portion of that contract.

Structs§

AgentSnapshot
Describes the agent snapshot portion of a runtime package snapshot. Use it when package authors or tests need explicit package configuration; validation and activation happen in package/runtime coordinators.
CapabilityCatalogSnapshot
Describes the capability catalog snapshot portion of a runtime package snapshot. Use it when package authors or tests need explicit package configuration; validation and activation happen in package/runtime coordinators.
ChildLifecyclePolicySnapshot
Describes the child lifecycle policy snapshot portion of a runtime package snapshot. Use it when package authors or tests need explicit package configuration; validation and activation happen in package/runtime coordinators.
FingerprintInputManifest
Describes the fingerprint input manifest portion of a runtime package snapshot. Use it when package authors or tests need explicit package configuration; validation and activation happen in package/runtime coordinators.
OutputContractSnapshot
Describes the output contract snapshot portion of a runtime package snapshot. Use it when package authors or tests need explicit package configuration; validation and activation happen in package/runtime coordinators.
OutputSinkSnapshot
Describes the output sink snapshot portion of a runtime package snapshot. Use it when package authors or tests need explicit package configuration; validation and activation happen in package/runtime coordinators.
PackageDelta
Describes the package delta portion of a runtime package snapshot. Use it when package authors or tests need explicit package configuration; validation and activation happen in package/runtime coordinators.
PackageSidecarSnapshot
Describes the package sidecar snapshot portion of a runtime package snapshot. Use it when package authors or tests need explicit package configuration; validation and activation happen in package/runtime coordinators.
PolicySnapshot
Describes the policy snapshot portion of a runtime package snapshot. Use it when package authors or tests need explicit package configuration; validation and activation happen in package/runtime coordinators.
ProviderCapabilitySnapshot
Describes the provider capability snapshot portion of a runtime package snapshot. Use it when package authors or tests need explicit package configuration; validation and activation happen in package/runtime coordinators.
ProviderRouteSnapshot
Describes the provider route snapshot portion of a runtime package snapshot. Use it when package authors or tests need explicit package configuration; validation and activation happen in package/runtime coordinators.
ReservedFeatureFingerprintStatus
Describes the reserved feature fingerprint status portion of a runtime package snapshot. Use it when package authors or tests need explicit package configuration; validation and activation happen in package/runtime coordinators.
RuntimePackage
Describes the runtime package portion of a runtime package snapshot. Use it when package authors or tests need explicit package configuration; validation and activation happen in package/runtime coordinators.
RuntimePackageBuilder
Describes the runtime package builder portion of a runtime package snapshot. Use it when package authors or tests need explicit package configuration; validation and activation happen in package/runtime coordinators.
RuntimePackageCanonicalV1
Describes the runtime package canonical v1 portion of a runtime package snapshot. Use it when package authors or tests need explicit package configuration; validation and activation happen in package/runtime coordinators.
RuntimePackageConformanceReport
Describes the runtime package conformance report portion of a runtime package snapshot. Use it when package authors or tests need explicit package configuration; validation and activation happen in package/runtime coordinators.
RuntimePackageFingerprint
Describes the runtime package fingerprint portion of a runtime package snapshot. Use it when package authors or tests need explicit package configuration; validation and activation happen in package/runtime coordinators.
VolatileRuntimeFields
Describes the volatile runtime fields portion of a runtime package snapshot. Use it when package authors or tests need explicit package configuration; validation and activation happen in package/runtime coordinators.

Enums§

FingerprintExclusionGroup
Enumerates the finite fingerprint exclusion group cases. Serialized names are part of the SDK contract; update fixtures when variants change.
FingerprintInputGroup
Enumerates the finite fingerprint input group cases. Serialized names are part of the SDK contract; update fixtures when variants change.
ReadinessProfile
Enumerates the finite readiness profile cases. Serialized names are part of the SDK contract; update fixtures when variants change.

Constants§

RUNTIME_PACKAGE_FINGERPRINT_ALGORITHM
Constant value for the package contract. Use it to keep SDK records and tests aligned on the same stable value.
RUNTIME_PACKAGE_SCHEMA_VERSION
Constant value for the package contract. Use it to keep SDK records and tests aligned on the same stable value.