Add Epiphany thin job launcher seam
This commit is contained in:
parent
48d6820d7d
commit
c66695eefc
34 changed files with 1029 additions and 93 deletions
19
vendor/codex/codex-rs/protocol/src/protocol.rs
vendored
19
vendor/codex/codex-rs/protocol/src/protocol.rs
vendored
|
|
@ -3309,6 +3309,13 @@ pub enum EpiphanyJobKind {
|
|||
Specialist,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Clone, Copy, Debug, PartialEq, Eq, JsonSchema, TS)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
#[ts(rename_all = "snake_case")]
|
||||
pub enum EpiphanyJobBackendKind {
|
||||
AgentJobs,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema, TS)]
|
||||
pub struct EpiphanyJobBinding {
|
||||
pub id: String,
|
||||
|
|
@ -3317,6 +3324,18 @@ pub struct EpiphanyJobBinding {
|
|||
pub owner_role: String,
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(type = "string | null")]
|
||||
pub launcher_job_id: Option<String>,
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(type = "string | null")]
|
||||
pub authority_scope: Option<String>,
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(type = "EpiphanyJobBackendKind | null")]
|
||||
pub backend_kind: Option<EpiphanyJobBackendKind>,
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(type = "string | null")]
|
||||
pub backend_job_id: Option<String>,
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(type = "string | null")]
|
||||
pub runtime_agent_job_id: Option<String>,
|
||||
#[serde(default, skip_serializing_if = "Vec::is_empty")]
|
||||
#[ts(type = "Array<string>")]
|
||||
|
|
|
|||
Reference in a new issue