pub struct SystemPromptDetail {
pub user_context: Option<String>,
pub refresh_reason: Option<String>,
pub slowest_producer: Option<String>,
pub slowest_producer_ms: Option<u64>,
pub cpu_ms: Option<u64>,
}Expand description
ResultMessage::system_prompt_detail — what the system_prompt phase
waited for (CLI 2.1.290+).
Fields§
§user_context: Option<String>How the conversation’s user context was obtained: hit (a finished
build was reused), joined (a build was still running) or built
(the phase started one).
refresh_reason: Option<String>Why that build ran (an open string set).
slowest_producer: Option<String>The awaited part of the build that ran longest inside the phase:
auto_memory_index, claude_md, context_hooks, or the attached
Project’s block (project_kept, project_joined, project_fetched,
project_refused, project_failed, project_none). Absent on a hit.
slowest_producer_ms: Option<u64>How long Self::slowest_producer ran inside the phase. Far below
the phase’s time, something else held it.
cpu_ms: Option<u64>time_to_request_cpu_ms’s counter over this phase alone. Far below
the phase’s time, the process waited; at or above it, it computed.