Expand description
Identifier newtypes. UUIDv7 gives time-ordered ids (useful for log locality) while remaining globally unique.
Structs§
- Instance
Uid - An agent instance identifier (
ai_agent.instance_uid). - Session
Id - A session identifier: UUIDv7 canonical text when generated here
(
new_session_id); externally supplied ids may be any non-empty visible-ASCII string ≤ 128 bytes (header-safe).
Functions§
- new_
event_ uid - Generate a fresh event uid (UUIDv7).
- new_
session_ id - Generate a fresh session id (UUIDv7).