Use memory graph store for worker context
This commit is contained in:
parent
08db7512fe
commit
d1d7291a82
11 changed files with 175 additions and 9 deletions
|
|
@ -3923,6 +3923,7 @@ mod tests {
|
|||
active_subgoal_id: Some("phase6".to_string()),
|
||||
active_subgoals: Vec::new(),
|
||||
active_graph_node_ids: vec!["job-surface".to_string()],
|
||||
memory_context: None,
|
||||
investigation_checkpoint: None,
|
||||
scratch: None,
|
||||
invariants: Vec::new(),
|
||||
|
|
|
|||
|
|
@ -72,6 +72,7 @@ use codex_protocol::protocol::EpiphanyInvestigationCheckpoint as CoreEpiphanyInv
|
|||
use codex_protocol::protocol::EpiphanyInvestigationDisposition as CoreEpiphanyInvestigationDisposition;
|
||||
use codex_protocol::protocol::EpiphanyJobBinding as CoreEpiphanyJobBinding;
|
||||
use codex_protocol::protocol::EpiphanyJobKind as CoreEpiphanyJobKind;
|
||||
use codex_protocol::protocol::EpiphanyMemoryContextPacket as CoreEpiphanyMemoryContextPacket;
|
||||
use codex_protocol::protocol::EpiphanyMemoryPatchCandidate as CoreEpiphanyMemoryPatchCandidate;
|
||||
use codex_protocol::protocol::EpiphanyMemoryPatchReview as CoreEpiphanyMemoryPatchReview;
|
||||
use codex_protocol::protocol::EpiphanyModeState as CoreEpiphanyModeState;
|
||||
|
|
@ -5230,6 +5231,9 @@ pub struct ThreadEpiphanyRoleWorkerLaunchDocument {
|
|||
#[serde(default, skip_serializing_if = "Vec::is_empty")]
|
||||
pub active_graph_node_ids: Vec<String>,
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(optional = nullable, type = "CoreEpiphanyMemoryContextPacket | null")]
|
||||
pub memory_context: Option<CoreEpiphanyMemoryContextPacket>,
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(optional = nullable)]
|
||||
pub investigation_checkpoint: Option<CoreEpiphanyInvestigationCheckpoint>,
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
|
|
@ -5295,6 +5299,9 @@ pub struct ThreadEpiphanyReorientWorkerLaunchDocument {
|
|||
#[ts(optional = nullable)]
|
||||
pub scratch: Option<CoreEpiphanyScratchPad>,
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(optional = nullable, type = "CoreEpiphanyMemoryContextPacket | null")]
|
||||
pub memory_context: Option<CoreEpiphanyMemoryContextPacket>,
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(optional = nullable)]
|
||||
pub graphs: Option<CoreEpiphanyGraphs>,
|
||||
#[serde(default, skip_serializing_if = "Vec::is_empty")]
|
||||
|
|
|
|||
Reference in a new issue