Land Phase 3 Epiphany thread state exposure
This commit is contained in:
parent
640e063350
commit
80bc702675
20 changed files with 681 additions and 200 deletions
|
|
@ -1461,6 +1461,7 @@ mod tests {
|
|||
agent_role: None,
|
||||
git_info: None,
|
||||
name: None,
|
||||
epiphany_state: None,
|
||||
turns: Vec::new(),
|
||||
},
|
||||
model: "gpt-5".to_string(),
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@ use codex_protocol::protocol::AgentStatus as CoreAgentStatus;
|
|||
use codex_protocol::protocol::AskForApproval as CoreAskForApproval;
|
||||
use codex_protocol::protocol::CodexErrorInfo as CoreCodexErrorInfo;
|
||||
use codex_protocol::protocol::CreditsSnapshot as CoreCreditsSnapshot;
|
||||
use codex_protocol::protocol::EpiphanyThreadState as CoreEpiphanyThreadState;
|
||||
use codex_protocol::protocol::ExecCommandSource as CoreExecCommandSource;
|
||||
use codex_protocol::protocol::ExecCommandStatus as CoreExecCommandStatus;
|
||||
use codex_protocol::protocol::GranularApprovalConfig as CoreGranularApprovalConfig;
|
||||
|
|
@ -4431,6 +4432,11 @@ pub struct Thread {
|
|||
pub git_info: Option<GitInfo>,
|
||||
/// Optional user-facing thread title.
|
||||
pub name: Option<String>,
|
||||
/// Only populated on `thread/start`, `thread/resume`, `thread/fork`, `thread/read`,
|
||||
/// and notifications/responses that reuse those hydrated thread payloads.
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(optional)]
|
||||
pub epiphany_state: Option<CoreEpiphanyThreadState>,
|
||||
/// Only populated on `thread/resume`, `thread/rollback`, `thread/fork`, and `thread/read`
|
||||
/// (when `includeTurns` is true) responses.
|
||||
/// For all other responses and notifications returning a Thread,
|
||||
|
|
|
|||
Reference in a new issue