Add Epiphany runtime job bindings
This commit is contained in:
parent
3ac09f9d1b
commit
2c067eca30
35 changed files with 1822 additions and 56 deletions
71
vendor/codex/codex-rs/app-server-protocol/schema/json/ClientRequest.json
generated
vendored
71
vendor/codex/codex-rs/app-server-protocol/schema/json/ClientRequest.json
generated
vendored
|
|
@ -1159,6 +1159,68 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyJobBinding": {
|
||||
"properties": {
|
||||
"blocking_reason": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"$ref": "#/definitions/EpiphanyJobKind"
|
||||
},
|
||||
"linked_graph_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"linked_subgoal_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"owner_role": {
|
||||
"type": "string"
|
||||
},
|
||||
"progress_note": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"runtime_agent_job_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"scope": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"kind",
|
||||
"owner_role",
|
||||
"scope"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyJobKind": {
|
||||
"enum": [
|
||||
"indexing",
|
||||
"remap",
|
||||
"verification",
|
||||
"specialist"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyModeState": {
|
||||
"properties": {
|
||||
"kind": {
|
||||
|
|
@ -3849,6 +3911,15 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"jobBindings": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyJobBinding"
|
||||
},
|
||||
"type": [
|
||||
"array",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mode": {
|
||||
"anyOf": [
|
||||
{
|
||||
|
|
|
|||
69
vendor/codex/codex-rs/app-server-protocol/schema/json/ServerNotification.json
generated
vendored
69
vendor/codex/codex-rs/app-server-protocol/schema/json/ServerNotification.json
generated
vendored
|
|
@ -1419,6 +1419,68 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyJobBinding": {
|
||||
"properties": {
|
||||
"blocking_reason": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"$ref": "#/definitions/EpiphanyJobKind"
|
||||
},
|
||||
"linked_graph_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"linked_subgoal_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"owner_role": {
|
||||
"type": "string"
|
||||
},
|
||||
"progress_note": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"runtime_agent_job_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"scope": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"kind",
|
||||
"owner_role",
|
||||
"scope"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyJobKind": {
|
||||
"enum": [
|
||||
"indexing",
|
||||
"remap",
|
||||
"verification",
|
||||
"specialist"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyModeState": {
|
||||
"properties": {
|
||||
"kind": {
|
||||
|
|
@ -1703,6 +1765,12 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"job_bindings": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyJobBinding"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"last_updated_turn_id": {
|
||||
"type": [
|
||||
"string",
|
||||
|
|
@ -3799,6 +3867,7 @@
|
|||
"graphCheckpoint",
|
||||
"scratch",
|
||||
"investigationCheckpoint",
|
||||
"jobBindings",
|
||||
"observations",
|
||||
"evidence",
|
||||
"churn",
|
||||
|
|
|
|||
|
|
@ -8268,6 +8268,68 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyJobBinding": {
|
||||
"properties": {
|
||||
"blocking_reason": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"$ref": "#/definitions/v2/EpiphanyJobKind"
|
||||
},
|
||||
"linked_graph_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"linked_subgoal_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"owner_role": {
|
||||
"type": "string"
|
||||
},
|
||||
"progress_note": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"runtime_agent_job_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"scope": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"kind",
|
||||
"owner_role",
|
||||
"scope"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyJobKind": {
|
||||
"enum": [
|
||||
"indexing",
|
||||
"remap",
|
||||
"verification",
|
||||
"specialist"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyModeState": {
|
||||
"properties": {
|
||||
"kind": {
|
||||
|
|
@ -8552,6 +8614,12 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"job_bindings": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/v2/EpiphanyJobBinding"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"last_updated_turn_id": {
|
||||
"type": [
|
||||
"string",
|
||||
|
|
@ -15146,6 +15214,12 @@
|
|||
},
|
||||
"ThreadEpiphanyJob": {
|
||||
"properties": {
|
||||
"activeThreadIds": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"blockingReason": {
|
||||
"type": [
|
||||
"string",
|
||||
|
|
@ -15202,6 +15276,12 @@
|
|||
"null"
|
||||
]
|
||||
},
|
||||
"runtimeAgentJobId": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"scope": {
|
||||
"type": "string"
|
||||
},
|
||||
|
|
@ -15231,7 +15311,11 @@
|
|||
"enum": [
|
||||
"idle",
|
||||
"needed",
|
||||
"pending",
|
||||
"running",
|
||||
"completed",
|
||||
"failed",
|
||||
"cancelled",
|
||||
"blocked",
|
||||
"unavailable"
|
||||
],
|
||||
|
|
@ -16125,6 +16209,7 @@
|
|||
"graphCheckpoint",
|
||||
"scratch",
|
||||
"investigationCheckpoint",
|
||||
"jobBindings",
|
||||
"observations",
|
||||
"evidence",
|
||||
"churn",
|
||||
|
|
@ -16246,6 +16331,15 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"jobBindings": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/v2/EpiphanyJobBinding"
|
||||
},
|
||||
"type": [
|
||||
"array",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mode": {
|
||||
"anyOf": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4828,6 +4828,68 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyJobBinding": {
|
||||
"properties": {
|
||||
"blocking_reason": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"$ref": "#/definitions/EpiphanyJobKind"
|
||||
},
|
||||
"linked_graph_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"linked_subgoal_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"owner_role": {
|
||||
"type": "string"
|
||||
},
|
||||
"progress_note": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"runtime_agent_job_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"scope": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"kind",
|
||||
"owner_role",
|
||||
"scope"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyJobKind": {
|
||||
"enum": [
|
||||
"indexing",
|
||||
"remap",
|
||||
"verification",
|
||||
"specialist"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyModeState": {
|
||||
"properties": {
|
||||
"kind": {
|
||||
|
|
@ -5112,6 +5174,12 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"job_bindings": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyJobBinding"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"last_updated_turn_id": {
|
||||
"type": [
|
||||
"string",
|
||||
|
|
@ -13033,6 +13101,12 @@
|
|||
},
|
||||
"ThreadEpiphanyJob": {
|
||||
"properties": {
|
||||
"activeThreadIds": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"blockingReason": {
|
||||
"type": [
|
||||
"string",
|
||||
|
|
@ -13089,6 +13163,12 @@
|
|||
"null"
|
||||
]
|
||||
},
|
||||
"runtimeAgentJobId": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"scope": {
|
||||
"type": "string"
|
||||
},
|
||||
|
|
@ -13118,7 +13198,11 @@
|
|||
"enum": [
|
||||
"idle",
|
||||
"needed",
|
||||
"pending",
|
||||
"running",
|
||||
"completed",
|
||||
"failed",
|
||||
"cancelled",
|
||||
"blocked",
|
||||
"unavailable"
|
||||
],
|
||||
|
|
@ -14012,6 +14096,7 @@
|
|||
"graphCheckpoint",
|
||||
"scratch",
|
||||
"investigationCheckpoint",
|
||||
"jobBindings",
|
||||
"observations",
|
||||
"evidence",
|
||||
"churn",
|
||||
|
|
@ -14133,6 +14218,15 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"jobBindings": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyJobBinding"
|
||||
},
|
||||
"type": [
|
||||
"array",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mode": {
|
||||
"anyOf": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -418,6 +418,68 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyJobBinding": {
|
||||
"properties": {
|
||||
"blocking_reason": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"$ref": "#/definitions/EpiphanyJobKind"
|
||||
},
|
||||
"linked_graph_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"linked_subgoal_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"owner_role": {
|
||||
"type": "string"
|
||||
},
|
||||
"progress_note": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"runtime_agent_job_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"scope": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"kind",
|
||||
"owner_role",
|
||||
"scope"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyJobKind": {
|
||||
"enum": [
|
||||
"indexing",
|
||||
"remap",
|
||||
"verification",
|
||||
"specialist"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyModeState": {
|
||||
"properties": {
|
||||
"kind": {
|
||||
|
|
@ -702,6 +764,12 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"job_bindings": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyJobBinding"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"last_updated_turn_id": {
|
||||
"type": [
|
||||
"string",
|
||||
|
|
@ -792,6 +860,7 @@
|
|||
"graphCheckpoint",
|
||||
"scratch",
|
||||
"investigationCheckpoint",
|
||||
"jobBindings",
|
||||
"observations",
|
||||
"evidence",
|
||||
"churn",
|
||||
|
|
|
|||
68
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadForkResponse.json
generated
vendored
68
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadForkResponse.json
generated
vendored
|
|
@ -866,6 +866,68 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyJobBinding": {
|
||||
"properties": {
|
||||
"blocking_reason": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"$ref": "#/definitions/EpiphanyJobKind"
|
||||
},
|
||||
"linked_graph_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"linked_subgoal_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"owner_role": {
|
||||
"type": "string"
|
||||
},
|
||||
"progress_note": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"runtime_agent_job_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"scope": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"kind",
|
||||
"owner_role",
|
||||
"scope"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyJobKind": {
|
||||
"enum": [
|
||||
"indexing",
|
||||
"remap",
|
||||
"verification",
|
||||
"specialist"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyModeState": {
|
||||
"properties": {
|
||||
"kind": {
|
||||
|
|
@ -1150,6 +1212,12 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"job_bindings": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyJobBinding"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"last_updated_turn_id": {
|
||||
"type": [
|
||||
"string",
|
||||
|
|
|
|||
68
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadListResponse.json
generated
vendored
68
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadListResponse.json
generated
vendored
|
|
@ -807,6 +807,68 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyJobBinding": {
|
||||
"properties": {
|
||||
"blocking_reason": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"$ref": "#/definitions/EpiphanyJobKind"
|
||||
},
|
||||
"linked_graph_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"linked_subgoal_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"owner_role": {
|
||||
"type": "string"
|
||||
},
|
||||
"progress_note": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"runtime_agent_job_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"scope": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"kind",
|
||||
"owner_role",
|
||||
"scope"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyJobKind": {
|
||||
"enum": [
|
||||
"indexing",
|
||||
"remap",
|
||||
"verification",
|
||||
"specialist"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyModeState": {
|
||||
"properties": {
|
||||
"kind": {
|
||||
|
|
@ -1091,6 +1153,12 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"job_bindings": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyJobBinding"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"last_updated_turn_id": {
|
||||
"type": [
|
||||
"string",
|
||||
|
|
|
|||
|
|
@ -807,6 +807,68 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyJobBinding": {
|
||||
"properties": {
|
||||
"blocking_reason": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"$ref": "#/definitions/EpiphanyJobKind"
|
||||
},
|
||||
"linked_graph_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"linked_subgoal_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"owner_role": {
|
||||
"type": "string"
|
||||
},
|
||||
"progress_note": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"runtime_agent_job_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"scope": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"kind",
|
||||
"owner_role",
|
||||
"scope"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyJobKind": {
|
||||
"enum": [
|
||||
"indexing",
|
||||
"remap",
|
||||
"verification",
|
||||
"specialist"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyModeState": {
|
||||
"properties": {
|
||||
"kind": {
|
||||
|
|
@ -1091,6 +1153,12 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"job_bindings": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyJobBinding"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"last_updated_turn_id": {
|
||||
"type": [
|
||||
"string",
|
||||
|
|
|
|||
68
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadReadResponse.json
generated
vendored
68
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadReadResponse.json
generated
vendored
|
|
@ -807,6 +807,68 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyJobBinding": {
|
||||
"properties": {
|
||||
"blocking_reason": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"$ref": "#/definitions/EpiphanyJobKind"
|
||||
},
|
||||
"linked_graph_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"linked_subgoal_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"owner_role": {
|
||||
"type": "string"
|
||||
},
|
||||
"progress_note": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"runtime_agent_job_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"scope": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"kind",
|
||||
"owner_role",
|
||||
"scope"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyJobKind": {
|
||||
"enum": [
|
||||
"indexing",
|
||||
"remap",
|
||||
"verification",
|
||||
"specialist"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyModeState": {
|
||||
"properties": {
|
||||
"kind": {
|
||||
|
|
@ -1091,6 +1153,12 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"job_bindings": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyJobBinding"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"last_updated_turn_id": {
|
||||
"type": [
|
||||
"string",
|
||||
|
|
|
|||
68
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadResumeResponse.json
generated
vendored
68
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadResumeResponse.json
generated
vendored
|
|
@ -866,6 +866,68 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyJobBinding": {
|
||||
"properties": {
|
||||
"blocking_reason": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"$ref": "#/definitions/EpiphanyJobKind"
|
||||
},
|
||||
"linked_graph_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"linked_subgoal_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"owner_role": {
|
||||
"type": "string"
|
||||
},
|
||||
"progress_note": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"runtime_agent_job_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"scope": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"kind",
|
||||
"owner_role",
|
||||
"scope"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyJobKind": {
|
||||
"enum": [
|
||||
"indexing",
|
||||
"remap",
|
||||
"verification",
|
||||
"specialist"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyModeState": {
|
||||
"properties": {
|
||||
"kind": {
|
||||
|
|
@ -1150,6 +1212,12 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"job_bindings": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyJobBinding"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"last_updated_turn_id": {
|
||||
"type": [
|
||||
"string",
|
||||
|
|
|
|||
68
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadRollbackResponse.json
generated
vendored
68
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadRollbackResponse.json
generated
vendored
|
|
@ -807,6 +807,68 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyJobBinding": {
|
||||
"properties": {
|
||||
"blocking_reason": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"$ref": "#/definitions/EpiphanyJobKind"
|
||||
},
|
||||
"linked_graph_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"linked_subgoal_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"owner_role": {
|
||||
"type": "string"
|
||||
},
|
||||
"progress_note": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"runtime_agent_job_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"scope": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"kind",
|
||||
"owner_role",
|
||||
"scope"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyJobKind": {
|
||||
"enum": [
|
||||
"indexing",
|
||||
"remap",
|
||||
"verification",
|
||||
"specialist"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyModeState": {
|
||||
"properties": {
|
||||
"kind": {
|
||||
|
|
@ -1091,6 +1153,12 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"job_bindings": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyJobBinding"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"last_updated_turn_id": {
|
||||
"type": [
|
||||
"string",
|
||||
|
|
|
|||
68
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadStartResponse.json
generated
vendored
68
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadStartResponse.json
generated
vendored
|
|
@ -866,6 +866,68 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyJobBinding": {
|
||||
"properties": {
|
||||
"blocking_reason": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"$ref": "#/definitions/EpiphanyJobKind"
|
||||
},
|
||||
"linked_graph_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"linked_subgoal_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"owner_role": {
|
||||
"type": "string"
|
||||
},
|
||||
"progress_note": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"runtime_agent_job_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"scope": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"kind",
|
||||
"owner_role",
|
||||
"scope"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyJobKind": {
|
||||
"enum": [
|
||||
"indexing",
|
||||
"remap",
|
||||
"verification",
|
||||
"specialist"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyModeState": {
|
||||
"properties": {
|
||||
"kind": {
|
||||
|
|
@ -1150,6 +1212,12 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"job_bindings": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyJobBinding"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"last_updated_turn_id": {
|
||||
"type": [
|
||||
"string",
|
||||
|
|
|
|||
68
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadStartedNotification.json
generated
vendored
68
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadStartedNotification.json
generated
vendored
|
|
@ -807,6 +807,68 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyJobBinding": {
|
||||
"properties": {
|
||||
"blocking_reason": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"$ref": "#/definitions/EpiphanyJobKind"
|
||||
},
|
||||
"linked_graph_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"linked_subgoal_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"owner_role": {
|
||||
"type": "string"
|
||||
},
|
||||
"progress_note": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"runtime_agent_job_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"scope": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"kind",
|
||||
"owner_role",
|
||||
"scope"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyJobKind": {
|
||||
"enum": [
|
||||
"indexing",
|
||||
"remap",
|
||||
"verification",
|
||||
"specialist"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyModeState": {
|
||||
"properties": {
|
||||
"kind": {
|
||||
|
|
@ -1091,6 +1153,12 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"job_bindings": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyJobBinding"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"last_updated_turn_id": {
|
||||
"type": [
|
||||
"string",
|
||||
|
|
|
|||
68
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadUnarchiveResponse.json
generated
vendored
68
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadUnarchiveResponse.json
generated
vendored
|
|
@ -807,6 +807,68 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyJobBinding": {
|
||||
"properties": {
|
||||
"blocking_reason": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"$ref": "#/definitions/EpiphanyJobKind"
|
||||
},
|
||||
"linked_graph_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"linked_subgoal_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"owner_role": {
|
||||
"type": "string"
|
||||
},
|
||||
"progress_note": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"runtime_agent_job_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"scope": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"kind",
|
||||
"owner_role",
|
||||
"scope"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyJobKind": {
|
||||
"enum": [
|
||||
"indexing",
|
||||
"remap",
|
||||
"verification",
|
||||
"specialist"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyModeState": {
|
||||
"properties": {
|
||||
"kind": {
|
||||
|
|
@ -1091,6 +1153,12 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"job_bindings": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyJobBinding"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"last_updated_turn_id": {
|
||||
"type": [
|
||||
"string",
|
||||
|
|
|
|||
6
vendor/codex/codex-rs/app-server-protocol/schema/typescript/EpiphanyJobBinding.ts
generated
vendored
Normal file
6
vendor/codex/codex-rs/app-server-protocol/schema/typescript/EpiphanyJobBinding.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
||||
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { EpiphanyJobKind } from "./EpiphanyJobKind";
|
||||
|
||||
export type EpiphanyJobBinding = { id: string, kind: EpiphanyJobKind, scope: string, owner_role: string, runtime_agent_job_id?: string | null, linked_subgoal_ids?: Array<string>, linked_graph_node_ids?: Array<string>, progress_note?: string | null, blocking_reason?: string | null, };
|
||||
5
vendor/codex/codex-rs/app-server-protocol/schema/typescript/EpiphanyJobKind.ts
generated
vendored
Normal file
5
vendor/codex/codex-rs/app-server-protocol/schema/typescript/EpiphanyJobKind.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
||||
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type EpiphanyJobKind = "indexing" | "remap" | "verification" | "specialist";
|
||||
2
vendor/codex/codex-rs/app-server-protocol/schema/typescript/EpiphanyThreadState.ts
generated
vendored
2
vendor/codex/codex-rs/app-server-protocol/schema/typescript/EpiphanyThreadState.ts
generated
vendored
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type EpiphanyThreadState = { revision: bigint, objective?: string | null, active_subgoal_id?: string | null, subgoals?: Array<EpiphanySubgoal>, invariants?: Array<EpiphanyInvariant>, graphs?: EpiphanyGraphs, graph_frontier?: EpiphanyGraphFrontier | null, graph_checkpoint?: EpiphanyGraphCheckpoint | null, retrieval?: EpiphanyRetrievalState | null, scratch?: EpiphanyScratchPad | null, investigation_checkpoint?: EpiphanyInvestigationCheckpoint | null, observations?: Array<EpiphanyObservation>, recent_evidence?: Array<EpiphanyEvidenceRecord>, churn?: EpiphanyChurnState | null, mode?: EpiphanyModeState | null, last_updated_turn_id?: string | null, };
|
||||
export type EpiphanyThreadState = { revision: bigint, objective?: string | null, active_subgoal_id?: string | null, subgoals?: Array<EpiphanySubgoal>, invariants?: Array<EpiphanyInvariant>, graphs?: EpiphanyGraphs, graph_frontier?: EpiphanyGraphFrontier | null, graph_checkpoint?: EpiphanyGraphCheckpoint | null, retrieval?: EpiphanyRetrievalState | null, scratch?: EpiphanyScratchPad | null, investigation_checkpoint?: EpiphanyInvestigationCheckpoint | null, job_bindings?: Array<EpiphanyJobBinding>, observations?: Array<EpiphanyObservation>, recent_evidence?: Array<EpiphanyEvidenceRecord>, churn?: EpiphanyChurnState | null, mode?: EpiphanyModeState | null, last_updated_turn_id?: string | null, };
|
||||
|
|
|
|||
2
vendor/codex/codex-rs/app-server-protocol/schema/typescript/index.ts
generated
vendored
2
vendor/codex/codex-rs/app-server-protocol/schema/typescript/index.ts
generated
vendored
|
|
@ -25,6 +25,8 @@ export type { EpiphanyGraphs } from "./EpiphanyGraphs";
|
|||
export type { EpiphanyInvariant } from "./EpiphanyInvariant";
|
||||
export type { EpiphanyInvestigationCheckpoint } from "./EpiphanyInvestigationCheckpoint";
|
||||
export type { EpiphanyInvestigationDisposition } from "./EpiphanyInvestigationDisposition";
|
||||
export type { EpiphanyJobBinding } from "./EpiphanyJobBinding";
|
||||
export type { EpiphanyJobKind } from "./EpiphanyJobKind";
|
||||
export type { EpiphanyModeState } from "./EpiphanyModeState";
|
||||
export type { EpiphanyObservation } from "./EpiphanyObservation";
|
||||
export type { EpiphanyRetrievalStatus } from "./EpiphanyRetrievalStatus";
|
||||
|
|
|
|||
2
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyJob.ts
generated
vendored
2
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyJob.ts
generated
vendored
|
|
@ -4,4 +4,4 @@
|
|||
import type { ThreadEpiphanyJobKind } from "./ThreadEpiphanyJobKind";
|
||||
import type { ThreadEpiphanyJobStatus } from "./ThreadEpiphanyJobStatus";
|
||||
|
||||
export type ThreadEpiphanyJob = { id: string, kind: ThreadEpiphanyJobKind, scope: string, ownerRole: string, status: ThreadEpiphanyJobStatus, itemsProcessed?: number | null, itemsTotal?: number | null, progressNote?: string | null, lastCheckpointAtUnixSeconds?: bigint | null, blockingReason?: string | null, linkedSubgoalIds?: Array<string>, linkedGraphNodeIds?: Array<string>, };
|
||||
export type ThreadEpiphanyJob = { id: string, kind: ThreadEpiphanyJobKind, scope: string, ownerRole: string, status: ThreadEpiphanyJobStatus, runtimeAgentJobId?: string | null, itemsProcessed?: number | null, itemsTotal?: number | null, progressNote?: string | null, lastCheckpointAtUnixSeconds?: bigint | null, blockingReason?: string | null, activeThreadIds?: Array<string>, linkedSubgoalIds?: Array<string>, linkedGraphNodeIds?: Array<string>, };
|
||||
|
|
|
|||
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type ThreadEpiphanyJobStatus = "idle" | "needed" | "running" | "blocked" | "unavailable";
|
||||
export type ThreadEpiphanyJobStatus = "idle" | "needed" | "pending" | "running" | "completed" | "failed" | "cancelled" | "blocked" | "unavailable";
|
||||
|
|
|
|||
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type ThreadEpiphanyStateUpdatedField = "objective" | "activeSubgoalId" | "subgoals" | "invariants" | "graphs" | "graphFrontier" | "graphCheckpoint" | "scratch" | "investigationCheckpoint" | "observations" | "evidence" | "churn" | "mode";
|
||||
export type ThreadEpiphanyStateUpdatedField = "objective" | "activeSubgoalId" | "subgoals" | "invariants" | "graphs" | "graphFrontier" | "graphCheckpoint" | "scratch" | "investigationCheckpoint" | "jobBindings" | "observations" | "evidence" | "churn" | "mode";
|
||||
|
|
|
|||
|
|
@ -8,9 +8,10 @@ import type { EpiphanyGraphFrontier } from "../EpiphanyGraphFrontier";
|
|||
import type { EpiphanyGraphs } from "../EpiphanyGraphs";
|
||||
import type { EpiphanyInvariant } from "../EpiphanyInvariant";
|
||||
import type { EpiphanyInvestigationCheckpoint } from "../EpiphanyInvestigationCheckpoint";
|
||||
import type { EpiphanyJobBinding } from "../EpiphanyJobBinding";
|
||||
import type { EpiphanyModeState } from "../EpiphanyModeState";
|
||||
import type { EpiphanyObservation } from "../EpiphanyObservation";
|
||||
import type { EpiphanyScratchPad } from "../EpiphanyScratchPad";
|
||||
import type { EpiphanySubgoal } from "../EpiphanySubgoal";
|
||||
|
||||
export type ThreadEpiphanyUpdatePatch = { objective?: string | null, activeSubgoalId?: string | null, subgoals?: Array<EpiphanySubgoal> | null, invariants?: Array<EpiphanyInvariant> | null, graphs?: EpiphanyGraphs | null, graphFrontier?: EpiphanyGraphFrontier | null, graphCheckpoint?: EpiphanyGraphCheckpoint | null, scratch?: EpiphanyScratchPad | null, investigationCheckpoint?: EpiphanyInvestigationCheckpoint | null, observations?: Array<EpiphanyObservation>, evidence?: Array<EpiphanyEvidenceRecord>, churn?: EpiphanyChurnState | null, mode?: EpiphanyModeState | null, };
|
||||
export type ThreadEpiphanyUpdatePatch = { objective?: string | null, activeSubgoalId?: string | null, subgoals?: Array<EpiphanySubgoal> | null, invariants?: Array<EpiphanyInvariant> | null, graphs?: EpiphanyGraphs | null, graphFrontier?: EpiphanyGraphFrontier | null, graphCheckpoint?: EpiphanyGraphCheckpoint | null, scratch?: EpiphanyScratchPad | null, investigationCheckpoint?: EpiphanyInvestigationCheckpoint | null, jobBindings?: Array<EpiphanyJobBinding> | null, observations?: Array<EpiphanyObservation>, evidence?: Array<EpiphanyEvidenceRecord>, churn?: EpiphanyChurnState | null, mode?: EpiphanyModeState | null, };
|
||||
|
|
|
|||
|
|
@ -1820,6 +1820,7 @@ mod tests {
|
|||
scope: "/workspace".to_string(),
|
||||
owner_role: "epiphany-core".to_string(),
|
||||
status: v2::ThreadEpiphanyJobStatus::Needed,
|
||||
runtime_agent_job_id: None,
|
||||
items_processed: Some(12),
|
||||
items_total: None,
|
||||
progress_note: Some(
|
||||
|
|
@ -1827,6 +1828,7 @@ mod tests {
|
|||
),
|
||||
last_checkpoint_at_unix_seconds: Some(1_744_500_000),
|
||||
blocking_reason: None,
|
||||
active_thread_ids: Vec::new(),
|
||||
linked_subgoal_ids: vec!["phase-6".to_string()],
|
||||
linked_graph_node_ids: vec!["retrieval".to_string()],
|
||||
}],
|
||||
|
|
|
|||
|
|
@ -69,6 +69,7 @@ use codex_protocol::protocol::EpiphanyGraphs as CoreEpiphanyGraphs;
|
|||
use codex_protocol::protocol::EpiphanyInvariant as CoreEpiphanyInvariant;
|
||||
use codex_protocol::protocol::EpiphanyInvestigationCheckpoint as CoreEpiphanyInvestigationCheckpoint;
|
||||
use codex_protocol::protocol::EpiphanyInvestigationDisposition as CoreEpiphanyInvestigationDisposition;
|
||||
use codex_protocol::protocol::EpiphanyJobBinding as CoreEpiphanyJobBinding;
|
||||
use codex_protocol::protocol::EpiphanyModeState as CoreEpiphanyModeState;
|
||||
use codex_protocol::protocol::EpiphanyObservation as CoreEpiphanyObservation;
|
||||
use codex_protocol::protocol::EpiphanyRetrievalStatus as CoreEpiphanyRetrievalStatus;
|
||||
|
|
@ -4291,7 +4292,11 @@ pub enum ThreadEpiphanyJobKind {
|
|||
pub enum ThreadEpiphanyJobStatus {
|
||||
Idle,
|
||||
Needed,
|
||||
Pending,
|
||||
Running,
|
||||
Completed,
|
||||
Failed,
|
||||
Cancelled,
|
||||
Blocked,
|
||||
Unavailable,
|
||||
}
|
||||
|
|
@ -4307,6 +4312,9 @@ pub struct ThreadEpiphanyJob {
|
|||
pub status: ThreadEpiphanyJobStatus,
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(optional = nullable)]
|
||||
pub runtime_agent_job_id: Option<String>,
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(optional = nullable)]
|
||||
pub items_processed: Option<u32>,
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(optional = nullable)]
|
||||
|
|
@ -4321,6 +4329,8 @@ pub struct ThreadEpiphanyJob {
|
|||
#[ts(optional = nullable)]
|
||||
pub blocking_reason: Option<String>,
|
||||
#[serde(default, skip_serializing_if = "Vec::is_empty")]
|
||||
pub active_thread_ids: Vec<String>,
|
||||
#[serde(default, skip_serializing_if = "Vec::is_empty")]
|
||||
pub linked_subgoal_ids: Vec<String>,
|
||||
#[serde(default, skip_serializing_if = "Vec::is_empty")]
|
||||
pub linked_graph_node_ids: Vec<String>,
|
||||
|
|
@ -4727,6 +4737,9 @@ pub struct ThreadEpiphanyUpdatePatch {
|
|||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(optional = nullable)]
|
||||
pub investigation_checkpoint: Option<CoreEpiphanyInvestigationCheckpoint>,
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(optional = nullable)]
|
||||
pub job_bindings: Option<Vec<CoreEpiphanyJobBinding>>,
|
||||
#[serde(default, skip_serializing_if = "Vec::is_empty")]
|
||||
pub observations: Vec<CoreEpiphanyObservation>,
|
||||
#[serde(default, skip_serializing_if = "Vec::is_empty")]
|
||||
|
|
@ -4780,6 +4793,7 @@ pub enum ThreadEpiphanyStateUpdatedField {
|
|||
GraphCheckpoint,
|
||||
Scratch,
|
||||
InvestigationCheckpoint,
|
||||
JobBindings,
|
||||
Observations,
|
||||
Evidence,
|
||||
Churn,
|
||||
|
|
|
|||
Reference in a new issue