mirror of
https://github.com/openai/codex.git
synced 2026-05-24 04:54:52 +00:00
Add a representation of the agent graph. This is now used for: * Cascade close agents (when I close a parent, it close the kids) * Cascade resume (oposite) Later, this will also be used for post-compaction stuffing of the context Direct fix for: https://github.com/openai/codex/issues/14458
12 lines
304 B
Rust
12 lines
304 B
Rust
use strum::AsRefStr;
|
|
use strum::Display;
|
|
use strum::EnumString;
|
|
|
|
/// Status attached to a directional thread-spawn edge.
|
|
#[derive(Debug, Clone, Copy, PartialEq, Eq, AsRefStr, Display, EnumString)]
|
|
#[strum(serialize_all = "snake_case")]
|
|
pub enum DirectionalThreadSpawnEdgeStatus {
|
|
Open,
|
|
Closed,
|
|
}
|