Add Epiphany jobsUpdated notification
This commit is contained in:
parent
5308724b76
commit
48d6820d7d
22 changed files with 923 additions and 23 deletions
164
vendor/codex/codex-rs/app-server-protocol/schema/json/ServerNotification.json
generated
vendored
164
vendor/codex/codex-rs/app-server-protocol/schema/json/ServerNotification.json
generated
vendored
|
|
@ -3856,6 +3856,150 @@
|
|||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadEpiphanyJob": {
|
||||
"properties": {
|
||||
"activeThreadIds": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"blockingReason": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"itemsProcessed": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"itemsTotal": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"kind": {
|
||||
"$ref": "#/definitions/ThreadEpiphanyJobKind"
|
||||
},
|
||||
"lastCheckpointAtUnixSeconds": {
|
||||
"format": "int64",
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"linkedGraphNodeIds": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"linkedSubgoalIds": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"ownerRole": {
|
||||
"type": "string"
|
||||
},
|
||||
"progressNote": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"runtimeAgentJobId": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"scope": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/definitions/ThreadEpiphanyJobStatus"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"kind",
|
||||
"ownerRole",
|
||||
"scope",
|
||||
"status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadEpiphanyJobKind": {
|
||||
"enum": [
|
||||
"indexing",
|
||||
"remap",
|
||||
"verification",
|
||||
"specialist"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadEpiphanyJobStatus": {
|
||||
"enum": [
|
||||
"idle",
|
||||
"needed",
|
||||
"pending",
|
||||
"running",
|
||||
"completed",
|
||||
"failed",
|
||||
"cancelled",
|
||||
"blocked",
|
||||
"unavailable"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadEpiphanyJobsUpdatedNotification": {
|
||||
"properties": {
|
||||
"jobs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/ThreadEpiphanyJob"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"source": {
|
||||
"$ref": "#/definitions/ThreadEpiphanyJobsUpdatedSource"
|
||||
},
|
||||
"stateRevision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"threadId": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"source",
|
||||
"threadId"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadEpiphanyJobsUpdatedSource": {
|
||||
"enum": [
|
||||
"runtimeProgress"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadEpiphanyStateUpdatedField": {
|
||||
"enum": [
|
||||
"objective",
|
||||
|
|
@ -6363,6 +6507,26 @@
|
|||
"title": "Thread/epiphany/stateUpdatedNotification",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"method": {
|
||||
"enum": [
|
||||
"thread/epiphany/jobsUpdated"
|
||||
],
|
||||
"title": "Thread/epiphany/jobsUpdatedNotificationMethod",
|
||||
"type": "string"
|
||||
},
|
||||
"params": {
|
||||
"$ref": "#/definitions/ThreadEpiphanyJobsUpdatedNotification"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"method",
|
||||
"params"
|
||||
],
|
||||
"title": "Thread/epiphany/jobsUpdatedNotification",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"method": {
|
||||
|
|
|
|||
|
|
@ -4524,6 +4524,26 @@
|
|||
"title": "Thread/epiphany/stateUpdatedNotification",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"method": {
|
||||
"enum": [
|
||||
"thread/epiphany/jobsUpdated"
|
||||
],
|
||||
"title": "Thread/epiphany/jobsUpdatedNotificationMethod",
|
||||
"type": "string"
|
||||
},
|
||||
"params": {
|
||||
"$ref": "#/definitions/v2/ThreadEpiphanyJobsUpdatedNotification"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"method",
|
||||
"params"
|
||||
],
|
||||
"title": "Thread/epiphany/jobsUpdatedNotification",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"method": {
|
||||
|
|
@ -15328,6 +15348,43 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadEpiphanyJobsUpdatedNotification": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"properties": {
|
||||
"jobs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/v2/ThreadEpiphanyJob"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"source": {
|
||||
"$ref": "#/definitions/v2/ThreadEpiphanyJobsUpdatedSource"
|
||||
},
|
||||
"stateRevision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"threadId": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"source",
|
||||
"threadId"
|
||||
],
|
||||
"title": "ThreadEpiphanyJobsUpdatedNotification",
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadEpiphanyJobsUpdatedSource": {
|
||||
"enum": [
|
||||
"runtimeProgress"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadEpiphanyPressure": {
|
||||
"properties": {
|
||||
"basis": {
|
||||
|
|
|
|||
|
|
@ -11726,6 +11726,26 @@
|
|||
"title": "Thread/epiphany/stateUpdatedNotification",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"method": {
|
||||
"enum": [
|
||||
"thread/epiphany/jobsUpdated"
|
||||
],
|
||||
"title": "Thread/epiphany/jobsUpdatedNotificationMethod",
|
||||
"type": "string"
|
||||
},
|
||||
"params": {
|
||||
"$ref": "#/definitions/ThreadEpiphanyJobsUpdatedNotification"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"method",
|
||||
"params"
|
||||
],
|
||||
"title": "Thread/epiphany/jobsUpdatedNotification",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"method": {
|
||||
|
|
@ -13215,6 +13235,43 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadEpiphanyJobsUpdatedNotification": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"properties": {
|
||||
"jobs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/ThreadEpiphanyJob"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"source": {
|
||||
"$ref": "#/definitions/ThreadEpiphanyJobsUpdatedSource"
|
||||
},
|
||||
"stateRevision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"threadId": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"source",
|
||||
"threadId"
|
||||
],
|
||||
"title": "ThreadEpiphanyJobsUpdatedNotification",
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadEpiphanyJobsUpdatedSource": {
|
||||
"enum": [
|
||||
"runtimeProgress"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadEpiphanyPressure": {
|
||||
"properties": {
|
||||
"basis": {
|
||||
|
|
|
|||
148
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadEpiphanyJobsUpdatedNotification.json
generated
vendored
Normal file
148
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadEpiphanyJobsUpdatedNotification.json
generated
vendored
Normal file
|
|
@ -0,0 +1,148 @@
|
|||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"definitions": {
|
||||
"ThreadEpiphanyJob": {
|
||||
"properties": {
|
||||
"activeThreadIds": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"blockingReason": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"itemsProcessed": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"itemsTotal": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"kind": {
|
||||
"$ref": "#/definitions/ThreadEpiphanyJobKind"
|
||||
},
|
||||
"lastCheckpointAtUnixSeconds": {
|
||||
"format": "int64",
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"linkedGraphNodeIds": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"linkedSubgoalIds": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"ownerRole": {
|
||||
"type": "string"
|
||||
},
|
||||
"progressNote": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"runtimeAgentJobId": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"scope": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/definitions/ThreadEpiphanyJobStatus"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"kind",
|
||||
"ownerRole",
|
||||
"scope",
|
||||
"status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadEpiphanyJobKind": {
|
||||
"enum": [
|
||||
"indexing",
|
||||
"remap",
|
||||
"verification",
|
||||
"specialist"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadEpiphanyJobStatus": {
|
||||
"enum": [
|
||||
"idle",
|
||||
"needed",
|
||||
"pending",
|
||||
"running",
|
||||
"completed",
|
||||
"failed",
|
||||
"cancelled",
|
||||
"blocked",
|
||||
"unavailable"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadEpiphanyJobsUpdatedSource": {
|
||||
"enum": [
|
||||
"runtimeProgress"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"jobs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/ThreadEpiphanyJob"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"source": {
|
||||
"$ref": "#/definitions/ThreadEpiphanyJobsUpdatedSource"
|
||||
},
|
||||
"stateRevision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"threadId": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"source",
|
||||
"threadId"
|
||||
],
|
||||
"title": "ThreadEpiphanyJobsUpdatedNotification",
|
||||
"type": "object"
|
||||
}
|
||||
3
vendor/codex/codex-rs/app-server-protocol/schema/typescript/ServerNotification.ts
generated
vendored
3
vendor/codex/codex-rs/app-server-protocol/schema/typescript/ServerNotification.ts
generated
vendored
File diff suppressed because one or more lines are too long
7
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyJobsUpdatedNotification.ts
generated
vendored
Normal file
7
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyJobsUpdatedNotification.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
// 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 { ThreadEpiphanyJob } from "./ThreadEpiphanyJob";
|
||||
import type { ThreadEpiphanyJobsUpdatedSource } from "./ThreadEpiphanyJobsUpdatedSource";
|
||||
|
||||
export type ThreadEpiphanyJobsUpdatedNotification = { threadId: string, source: ThreadEpiphanyJobsUpdatedSource, stateRevision?: bigint | null, jobs?: Array<ThreadEpiphanyJob>, };
|
||||
5
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyJobsUpdatedSource.ts
generated
vendored
Normal file
5
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyJobsUpdatedSource.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 ThreadEpiphanyJobsUpdatedSource = "runtimeProgress";
|
||||
2
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/index.ts
generated
vendored
2
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/index.ts
generated
vendored
|
|
@ -331,6 +331,8 @@ export type { ThreadEpiphanyJob } from "./ThreadEpiphanyJob";
|
|||
export type { ThreadEpiphanyJobKind } from "./ThreadEpiphanyJobKind";
|
||||
export type { ThreadEpiphanyJobStatus } from "./ThreadEpiphanyJobStatus";
|
||||
export type { ThreadEpiphanyJobsSource } from "./ThreadEpiphanyJobsSource";
|
||||
export type { ThreadEpiphanyJobsUpdatedNotification } from "./ThreadEpiphanyJobsUpdatedNotification";
|
||||
export type { ThreadEpiphanyJobsUpdatedSource } from "./ThreadEpiphanyJobsUpdatedSource";
|
||||
export type { ThreadEpiphanyPressure } from "./ThreadEpiphanyPressure";
|
||||
export type { ThreadEpiphanyPressureBasis } from "./ThreadEpiphanyPressureBasis";
|
||||
export type { ThreadEpiphanyPressureLevel } from "./ThreadEpiphanyPressureLevel";
|
||||
|
|
|
|||
|
|
@ -1126,6 +1126,8 @@ server_notification_definitions! {
|
|||
ConfigWarning => "configWarning" (v2::ConfigWarningNotification),
|
||||
#[experimental("thread/epiphany/stateUpdated")]
|
||||
ThreadEpiphanyStateUpdated => "thread/epiphany/stateUpdated" (v2::ThreadEpiphanyStateUpdatedNotification),
|
||||
#[experimental("thread/epiphany/jobsUpdated")]
|
||||
ThreadEpiphanyJobsUpdated => "thread/epiphany/jobsUpdated" (v2::ThreadEpiphanyJobsUpdatedNotification),
|
||||
FuzzyFileSearchSessionUpdated => "fuzzyFileSearch/sessionUpdated" (FuzzyFileSearchSessionUpdatedNotification),
|
||||
FuzzyFileSearchSessionCompleted => "fuzzyFileSearch/sessionCompleted" (FuzzyFileSearchSessionCompletedNotification),
|
||||
#[experimental("thread/realtime/started")]
|
||||
|
|
@ -2552,6 +2554,60 @@ mod tests {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn serialize_thread_epiphany_jobs_updated_notification() -> Result<()> {
|
||||
let notification = ServerNotification::ThreadEpiphanyJobsUpdated(
|
||||
v2::ThreadEpiphanyJobsUpdatedNotification {
|
||||
thread_id: "thr_123".to_string(),
|
||||
source: v2::ThreadEpiphanyJobsUpdatedSource::RuntimeProgress,
|
||||
state_revision: Some(7),
|
||||
jobs: vec![v2::ThreadEpiphanyJob {
|
||||
id: "specialist-work".to_string(),
|
||||
kind: v2::ThreadEpiphanyJobKind::Specialist,
|
||||
scope: "runtime-bound specialist work".to_string(),
|
||||
owner_role: "epiphany-harness".to_string(),
|
||||
status: v2::ThreadEpiphanyJobStatus::Running,
|
||||
runtime_agent_job_id: Some("job-123".to_string()),
|
||||
items_processed: Some(1),
|
||||
items_total: Some(3),
|
||||
progress_note: Some("Runtime agent job is running.".to_string()),
|
||||
last_checkpoint_at_unix_seconds: Some(1_744_500_123),
|
||||
blocking_reason: None,
|
||||
active_thread_ids: vec!["worker-thread".to_string()],
|
||||
linked_subgoal_ids: vec!["phase6".to_string()],
|
||||
linked_graph_node_ids: vec!["job-surface".to_string()],
|
||||
}],
|
||||
},
|
||||
);
|
||||
assert_eq!(
|
||||
json!({
|
||||
"method": "thread/epiphany/jobsUpdated",
|
||||
"params": {
|
||||
"threadId": "thr_123",
|
||||
"source": "runtimeProgress",
|
||||
"stateRevision": 7,
|
||||
"jobs": [{
|
||||
"id": "specialist-work",
|
||||
"kind": "specialist",
|
||||
"scope": "runtime-bound specialist work",
|
||||
"ownerRole": "epiphany-harness",
|
||||
"status": "running",
|
||||
"runtimeAgentJobId": "job-123",
|
||||
"itemsProcessed": 1,
|
||||
"itemsTotal": 3,
|
||||
"progressNote": "Runtime agent job is running.",
|
||||
"lastCheckpointAtUnixSeconds": 1744500123,
|
||||
"activeThreadIds": ["worker-thread"],
|
||||
"linkedSubgoalIds": ["phase6"],
|
||||
"linkedGraphNodeIds": ["job-surface"]
|
||||
}]
|
||||
}
|
||||
}),
|
||||
serde_json::to_value(¬ification)?,
|
||||
);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn serialize_config_requirements_read() -> Result<()> {
|
||||
let request = ClientRequest::ConfigRequirementsRead {
|
||||
|
|
@ -3241,6 +3297,35 @@ mod tests {
|
|||
assert_eq!(reason, Some("thread/epiphany/stateUpdated"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn thread_epiphany_jobs_updated_notification_is_marked_experimental() {
|
||||
let notification = ServerNotification::ThreadEpiphanyJobsUpdated(
|
||||
v2::ThreadEpiphanyJobsUpdatedNotification {
|
||||
thread_id: "thr_123".to_string(),
|
||||
source: v2::ThreadEpiphanyJobsUpdatedSource::RuntimeProgress,
|
||||
state_revision: Some(1),
|
||||
jobs: vec![v2::ThreadEpiphanyJob {
|
||||
id: "specialist-work".to_string(),
|
||||
kind: v2::ThreadEpiphanyJobKind::Specialist,
|
||||
scope: "runtime-bound specialist work".to_string(),
|
||||
owner_role: "epiphany-harness".to_string(),
|
||||
status: v2::ThreadEpiphanyJobStatus::Running,
|
||||
runtime_agent_job_id: Some("job-123".to_string()),
|
||||
items_processed: Some(1),
|
||||
items_total: Some(3),
|
||||
progress_note: Some("Runtime agent job is running.".to_string()),
|
||||
last_checkpoint_at_unix_seconds: Some(1_744_500_123),
|
||||
blocking_reason: None,
|
||||
active_thread_ids: vec!["worker-thread".to_string()],
|
||||
linked_subgoal_ids: vec!["phase6".to_string()],
|
||||
linked_graph_node_ids: vec!["job-surface".to_string()],
|
||||
}],
|
||||
},
|
||||
);
|
||||
let reason = crate::experimental_api::ExperimentalApi::experimental_reason(¬ification);
|
||||
assert_eq!(reason, Some("thread/epiphany/jobsUpdated"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn thread_realtime_start_is_marked_experimental() {
|
||||
let request = ClientRequest::ThreadRealtimeStart {
|
||||
|
|
|
|||
|
|
@ -4800,6 +4800,26 @@ pub enum ThreadEpiphanyStateUpdatedField {
|
|||
Mode,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, JsonSchema, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[ts(export_to = "v2/")]
|
||||
pub struct ThreadEpiphanyJobsUpdatedNotification {
|
||||
pub thread_id: String,
|
||||
pub source: ThreadEpiphanyJobsUpdatedSource,
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(optional = nullable)]
|
||||
pub state_revision: Option<u64>,
|
||||
#[serde(default, skip_serializing_if = "Vec::is_empty")]
|
||||
pub jobs: Vec<ThreadEpiphanyJob>,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, Clone, Copy, PartialEq, Eq, JsonSchema, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[ts(export_to = "v2/")]
|
||||
pub enum ThreadEpiphanyJobsUpdatedSource {
|
||||
RuntimeProgress,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[ts(export_to = "v2/")]
|
||||
|
|
|
|||
Reference in a new issue