systemprompt_identifiers/agent_run.rs
1//! Headless-run identifiers.
2//!
3//! `AgentRunId` is the `agent_runs.id` the executor mints as a UUID;
4//! `HostSessionId` is the session id a coding-agent host (Claude Code, Codex
5//! CLI) reports for its own conversation, used to resume it. It is the host's
6//! identity, not a systemprompt `SessionId`.
7//!
8//! Copyright (c) systemprompt.io — Business Source License 1.1.
9//! See <https://systemprompt.io> for licensing details.
10
11crate::define_id!(AgentRunId, uuid);
12crate::define_id!(HostSessionId, non_empty);