Expand description
Public ids namespace. Use it for the documented ids 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. Domain primitives for stable SDK vocabulary. Use these items for IDs, refs, policy, privacy, trust, and errors that cross crate or host boundaries. They are data-only and must not perform provider, filesystem, network, or UI side effects. This file contains the ids portion of that contract.
Structs§
- AgentId
- Typed SDK identifier for
AgentId. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - Agent
Pool Id - Typed SDK identifier for
AgentPoolId. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - Approval
Request Id - Typed SDK identifier for
ApprovalRequestId. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - Archive
Cursor Id - Typed SDK identifier for
ArchiveCursorId. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - Artifact
Id - Typed SDK identifier for
ArtifactId. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - Artifact
Ref - Typed SDK identifier for
ArtifactRef. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - Attempt
Id - Typed SDK identifier for
AttemptId. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - Content
Id - Typed SDK identifier for
ContentId. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - Content
Ref - Typed SDK identifier for
ContentRef. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - Context
Item Id - Typed SDK identifier for
ContextItemId. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - Context
Projection Id - Typed SDK identifier for
ContextProjectionId. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - Correlation
Entry - Defines the correlation entry SDK value. Construction records local state only; documented runtimes, executors, or ports own side effects.
- Correlation
Key - Typed SDK identifier for
CorrelationKey. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - Correlation
Value - Typed SDK identifier for
CorrelationValue. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - Dedupe
Key - Typed SDK identifier for
DedupeKey. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - Effect
Id - Typed SDK identifier for
EffectId. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - Event
Cursor Id - Typed SDK identifier for
EventCursorId. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - EventId
- Typed SDK identifier for
EventId. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - Idempotency
Key - Typed SDK identifier for
IdempotencyKey. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - Journal
Cursor - Defines the journal cursor SDK value. Construction records local state only; documented runtimes, executors, or ports own side effects.
- Journal
Cursor Id - Typed SDK identifier for
JournalCursorId. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - Lineage
Id - Typed SDK identifier for
LineageId. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - Message
Id - Typed SDK identifier for
MessageId. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - Output
Schema Id - Typed SDK identifier for
OutputSchemaId. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - Repair
Attempt Id - Typed SDK identifier for
RepairAttemptId. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - RunId
- Typed SDK identifier for
RunId. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - Runtime
Package Id - Typed SDK identifier for
RuntimePackageId. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - Session
Id - Typed SDK identifier for
SessionId. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - SpanId
- Typed SDK identifier for
SpanId. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - Tool
Call Id - Typed SDK identifier for
ToolCallId. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - TopicId
- Typed SDK identifier for
TopicId. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - TraceId
- Typed SDK identifier for
TraceId. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - TurnId
- Typed SDK identifier for
TurnId. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - Validated
Output Id - Typed SDK identifier for
ValidatedOutputId. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - Validation
Attempt Id - Typed SDK identifier for
ValidationAttemptId. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects. - Wake
Condition Id - Typed SDK identifier for
WakeConditionId. Use this newtype at public boundaries instead of a raw string; constructing or cloning it is data-only and performs no side effects.
Enums§
- IdValidation
Error - Enumerates the finite id validation error cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Constants§
- MAX_
ID_ LEN - Constant value for the domain::ids contract. Use it to keep SDK records and tests aligned on the same stable value.