Module identity

Module identity 

Source
Expand description

Identity types for CELLSTATE entities

Macros§

define_entity_id 🔒
Macro to define a type-safe entity ID newtype.

Structs§

ActionId
Type-safe ID for agent action entities.
AgentId
Type-safe ID for agent entities.
ApiKeyId
Type-safe ID for API key entities.
ArtifactId
Type-safe ID for artifact entities.
BeliefId
Type-safe ID for agent belief entities.
ConflictId
Type-safe ID for conflict entities.
ContentHash
SHA-256 content hash for deduplication and integrity verification.
DelegationId
Type-safe ID for delegation entities.
DurationMs
Duration in milliseconds for TTL and timeout values.
EdgeId
Type-safe ID for edge entities.
EntityIdParseError
Error type for parsing entity IDs from strings.
EventId
Type-safe ID for event entities.
FlowId
Type-safe ID for flow entities.
FlowStepId
Type-safe ID for flow step entities.
GoalId
Type-safe ID for agent goal entities.
HandoffId
Type-safe ID for handoff entities.
InstanceId
Type-safe ID for API server instance entities.
LearningId
Type-safe ID for agent learning entities.
LockId
Type-safe ID for lock entities.
MessageId
Type-safe ID for message entities.
NoteId
Type-safe ID for note entities.
ObservationId
Type-safe ID for agent observation entities.
PackConfigId
Type-safe ID for pack configuration entities.
PlanId
Type-safe ID for agent plan entities.
PrincipalId
Type-safe ID for principal entities.
ScopeId
Type-safe ID for scope entities.
SessionId
Type-safe ID for stateful LLM session entities.
SnapshotId
Type-safe ID for snapshot entities.
StepId
Type-safe ID for plan step entities.
SummarizationPolicyId
Type-safe ID for summarization policy entities.
SummarizationRequestId
Type-safe ID for summarization request entities.
TeamId
Type-safe ID for team entities.
TenantId
Type-safe ID for tenant entities.
ToolExecutionId
Type-safe ID for tool execution entities.
TrajectoryId
Type-safe ID for trajectory entities.
TurnId
Type-safe ID for turn entities.
WebhookId
Type-safe ID for webhook entities.
WorkingSetId
Type-safe ID for agent working set entities.

Traits§

EntityIdType
Trait for type-safe entity IDs.

Functions§

compute_content_hash
Compute SHA-256 hash of content.

Type Aliases§

RawContent
Raw binary content for BYTEA storage.
Timestamp
Timestamp type using UTC timezone.