diff --git a/codex-rs/app-server-protocol/schema/json/ServerNotification.json b/codex-rs/app-server-protocol/schema/json/ServerNotification.json index 95aa8ada68..82914f3a6f 100644 --- a/codex-rs/app-server-protocol/schema/json/ServerNotification.json +++ b/codex-rs/app-server-protocol/schema/json/ServerNotification.json @@ -3323,7 +3323,7 @@ "description": "The command's working directory." }, "durationMs": { - "description": "Elapsed command runtime in milliseconds. Final once the command completes.", + "description": "The duration of the command execution in milliseconds.", "format": "int64", "type": [ "integer", diff --git a/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.json b/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.json index 66426f78ef..f856b43d66 100644 --- a/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.json +++ b/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.json @@ -15571,7 +15571,7 @@ "description": "The command's working directory." }, "durationMs": { - "description": "Elapsed command runtime in milliseconds. Final once the command completes.", + "description": "The duration of the command execution in milliseconds.", "format": "int64", "type": [ "integer", diff --git a/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.v2.schemas.json b/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.v2.schemas.json index e4f05120d5..c17efe7a45 100644 --- a/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.v2.schemas.json +++ b/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.v2.schemas.json @@ -13457,7 +13457,7 @@ "description": "The command's working directory." }, "durationMs": { - "description": "Elapsed command runtime in milliseconds. Final once the command completes.", + "description": "The duration of the command execution in milliseconds.", "format": "int64", "type": [ "integer", diff --git a/codex-rs/app-server-protocol/schema/json/v2/ItemCompletedNotification.json b/codex-rs/app-server-protocol/schema/json/v2/ItemCompletedNotification.json index d8fab4e583..0831483a32 100644 --- a/codex-rs/app-server-protocol/schema/json/v2/ItemCompletedNotification.json +++ b/codex-rs/app-server-protocol/schema/json/v2/ItemCompletedNotification.json @@ -677,7 +677,7 @@ "description": "The command's working directory." }, "durationMs": { - "description": "Elapsed command runtime in milliseconds. Final once the command completes.", + "description": "The duration of the command execution in milliseconds.", "format": "int64", "type": [ "integer", diff --git a/codex-rs/app-server-protocol/schema/json/v2/ItemStartedNotification.json b/codex-rs/app-server-protocol/schema/json/v2/ItemStartedNotification.json index 9bf7fbcadb..16bfeece14 100644 --- a/codex-rs/app-server-protocol/schema/json/v2/ItemStartedNotification.json +++ b/codex-rs/app-server-protocol/schema/json/v2/ItemStartedNotification.json @@ -677,7 +677,7 @@ "description": "The command's working directory." }, "durationMs": { - "description": "Elapsed command runtime in milliseconds. Final once the command completes.", + "description": "The duration of the command execution in milliseconds.", "format": "int64", "type": [ "integer", diff --git a/codex-rs/app-server-protocol/schema/json/v2/ReviewStartResponse.json b/codex-rs/app-server-protocol/schema/json/v2/ReviewStartResponse.json index 599eea37cf..16abcd7806 100644 --- a/codex-rs/app-server-protocol/schema/json/v2/ReviewStartResponse.json +++ b/codex-rs/app-server-protocol/schema/json/v2/ReviewStartResponse.json @@ -821,7 +821,7 @@ "description": "The command's working directory." }, "durationMs": { - "description": "Elapsed command runtime in milliseconds. Final once the command completes.", + "description": "The duration of the command execution in milliseconds.", "format": "int64", "type": [ "integer", diff --git a/codex-rs/app-server-protocol/schema/json/v2/ThreadForkResponse.json b/codex-rs/app-server-protocol/schema/json/v2/ThreadForkResponse.json index 1b80b34630..653c5f2387 100644 --- a/codex-rs/app-server-protocol/schema/json/v2/ThreadForkResponse.json +++ b/codex-rs/app-server-protocol/schema/json/v2/ThreadForkResponse.json @@ -1647,7 +1647,7 @@ "description": "The command's working directory." }, "durationMs": { - "description": "Elapsed command runtime in milliseconds. Final once the command completes.", + "description": "The duration of the command execution in milliseconds.", "format": "int64", "type": [ "integer", diff --git a/codex-rs/app-server-protocol/schema/json/v2/ThreadListResponse.json b/codex-rs/app-server-protocol/schema/json/v2/ThreadListResponse.json index b1ba249739..2f5cbb9500 100644 --- a/codex-rs/app-server-protocol/schema/json/v2/ThreadListResponse.json +++ b/codex-rs/app-server-protocol/schema/json/v2/ThreadListResponse.json @@ -1097,7 +1097,7 @@ "description": "The command's working directory." }, "durationMs": { - "description": "Elapsed command runtime in milliseconds. Final once the command completes.", + "description": "The duration of the command execution in milliseconds.", "format": "int64", "type": [ "integer", diff --git a/codex-rs/app-server-protocol/schema/json/v2/ThreadMetadataUpdateResponse.json b/codex-rs/app-server-protocol/schema/json/v2/ThreadMetadataUpdateResponse.json index eef2ff6395..b9ae59708a 100644 --- a/codex-rs/app-server-protocol/schema/json/v2/ThreadMetadataUpdateResponse.json +++ b/codex-rs/app-server-protocol/schema/json/v2/ThreadMetadataUpdateResponse.json @@ -1097,7 +1097,7 @@ "description": "The command's working directory." }, "durationMs": { - "description": "Elapsed command runtime in milliseconds. Final once the command completes.", + "description": "The duration of the command execution in milliseconds.", "format": "int64", "type": [ "integer", diff --git a/codex-rs/app-server-protocol/schema/json/v2/ThreadReadResponse.json b/codex-rs/app-server-protocol/schema/json/v2/ThreadReadResponse.json index 293d839263..cda474c294 100644 --- a/codex-rs/app-server-protocol/schema/json/v2/ThreadReadResponse.json +++ b/codex-rs/app-server-protocol/schema/json/v2/ThreadReadResponse.json @@ -1097,7 +1097,7 @@ "description": "The command's working directory." }, "durationMs": { - "description": "Elapsed command runtime in milliseconds. Final once the command completes.", + "description": "The duration of the command execution in milliseconds.", "format": "int64", "type": [ "integer", diff --git a/codex-rs/app-server-protocol/schema/json/v2/ThreadResumeResponse.json b/codex-rs/app-server-protocol/schema/json/v2/ThreadResumeResponse.json index 08835caf77..27cf47f2fc 100644 --- a/codex-rs/app-server-protocol/schema/json/v2/ThreadResumeResponse.json +++ b/codex-rs/app-server-protocol/schema/json/v2/ThreadResumeResponse.json @@ -1647,7 +1647,7 @@ "description": "The command's working directory." }, "durationMs": { - "description": "Elapsed command runtime in milliseconds. Final once the command completes.", + "description": "The duration of the command execution in milliseconds.", "format": "int64", "type": [ "integer", diff --git a/codex-rs/app-server-protocol/schema/json/v2/ThreadRollbackResponse.json b/codex-rs/app-server-protocol/schema/json/v2/ThreadRollbackResponse.json index 9236ec7103..e5339f4e99 100644 --- a/codex-rs/app-server-protocol/schema/json/v2/ThreadRollbackResponse.json +++ b/codex-rs/app-server-protocol/schema/json/v2/ThreadRollbackResponse.json @@ -1097,7 +1097,7 @@ "description": "The command's working directory." }, "durationMs": { - "description": "Elapsed command runtime in milliseconds. Final once the command completes.", + "description": "The duration of the command execution in milliseconds.", "format": "int64", "type": [ "integer", diff --git a/codex-rs/app-server-protocol/schema/json/v2/ThreadStartResponse.json b/codex-rs/app-server-protocol/schema/json/v2/ThreadStartResponse.json index cb20704e9b..7d93606aa4 100644 --- a/codex-rs/app-server-protocol/schema/json/v2/ThreadStartResponse.json +++ b/codex-rs/app-server-protocol/schema/json/v2/ThreadStartResponse.json @@ -1647,7 +1647,7 @@ "description": "The command's working directory." }, "durationMs": { - "description": "Elapsed command runtime in milliseconds. Final once the command completes.", + "description": "The duration of the command execution in milliseconds.", "format": "int64", "type": [ "integer", diff --git a/codex-rs/app-server-protocol/schema/json/v2/ThreadStartedNotification.json b/codex-rs/app-server-protocol/schema/json/v2/ThreadStartedNotification.json index a3aff27e8f..774686e46a 100644 --- a/codex-rs/app-server-protocol/schema/json/v2/ThreadStartedNotification.json +++ b/codex-rs/app-server-protocol/schema/json/v2/ThreadStartedNotification.json @@ -1097,7 +1097,7 @@ "description": "The command's working directory." }, "durationMs": { - "description": "Elapsed command runtime in milliseconds. Final once the command completes.", + "description": "The duration of the command execution in milliseconds.", "format": "int64", "type": [ "integer", diff --git a/codex-rs/app-server-protocol/schema/json/v2/ThreadUnarchiveResponse.json b/codex-rs/app-server-protocol/schema/json/v2/ThreadUnarchiveResponse.json index 86ce2f60a1..64179af7e1 100644 --- a/codex-rs/app-server-protocol/schema/json/v2/ThreadUnarchiveResponse.json +++ b/codex-rs/app-server-protocol/schema/json/v2/ThreadUnarchiveResponse.json @@ -1097,7 +1097,7 @@ "description": "The command's working directory." }, "durationMs": { - "description": "Elapsed command runtime in milliseconds. Final once the command completes.", + "description": "The duration of the command execution in milliseconds.", "format": "int64", "type": [ "integer", diff --git a/codex-rs/app-server-protocol/schema/json/v2/TurnCompletedNotification.json b/codex-rs/app-server-protocol/schema/json/v2/TurnCompletedNotification.json index 42562066a5..0739fa31bc 100644 --- a/codex-rs/app-server-protocol/schema/json/v2/TurnCompletedNotification.json +++ b/codex-rs/app-server-protocol/schema/json/v2/TurnCompletedNotification.json @@ -821,7 +821,7 @@ "description": "The command's working directory." }, "durationMs": { - "description": "Elapsed command runtime in milliseconds. Final once the command completes.", + "description": "The duration of the command execution in milliseconds.", "format": "int64", "type": [ "integer", diff --git a/codex-rs/app-server-protocol/schema/json/v2/TurnStartResponse.json b/codex-rs/app-server-protocol/schema/json/v2/TurnStartResponse.json index afc1bdcd18..bc5917ef15 100644 --- a/codex-rs/app-server-protocol/schema/json/v2/TurnStartResponse.json +++ b/codex-rs/app-server-protocol/schema/json/v2/TurnStartResponse.json @@ -821,7 +821,7 @@ "description": "The command's working directory." }, "durationMs": { - "description": "Elapsed command runtime in milliseconds. Final once the command completes.", + "description": "The duration of the command execution in milliseconds.", "format": "int64", "type": [ "integer", diff --git a/codex-rs/app-server-protocol/schema/json/v2/TurnStartedNotification.json b/codex-rs/app-server-protocol/schema/json/v2/TurnStartedNotification.json index 1cc3119fd8..22ad85d906 100644 --- a/codex-rs/app-server-protocol/schema/json/v2/TurnStartedNotification.json +++ b/codex-rs/app-server-protocol/schema/json/v2/TurnStartedNotification.json @@ -821,7 +821,7 @@ "description": "The command's working directory." }, "durationMs": { - "description": "Elapsed command runtime in milliseconds. Final once the command completes.", + "description": "The duration of the command execution in milliseconds.", "format": "int64", "type": [ "integer", diff --git a/codex-rs/app-server-protocol/schema/typescript/v2/ThreadItem.ts b/codex-rs/app-server-protocol/schema/typescript/v2/ThreadItem.ts index eee81b7508..f7880c9d32 100644 --- a/codex-rs/app-server-protocol/schema/typescript/v2/ThreadItem.ts +++ b/codex-rs/app-server-protocol/schema/typescript/v2/ThreadItem.ts @@ -51,7 +51,7 @@ aggregatedOutput: string | null, */ exitCode: number | null, /** - * Elapsed command runtime in milliseconds. Final once the command completes. + * The duration of the command execution in milliseconds. */ durationMs: number | null, } | { "type": "fileChange", id: string, changes: Array, status: PatchApplyStatus, } | { "type": "mcpToolCall", id: string, server: string, tool: string, status: McpToolCallStatus, arguments: JsonValue, mcpAppResourceUri?: string, result: McpToolCallResult | null, error: McpToolCallError | null, /** diff --git a/codex-rs/app-server-protocol/src/protocol/v2.rs b/codex-rs/app-server-protocol/src/protocol/v2.rs index bf9e2e41b1..963ac69000 100644 --- a/codex-rs/app-server-protocol/src/protocol/v2.rs +++ b/codex-rs/app-server-protocol/src/protocol/v2.rs @@ -5913,7 +5913,7 @@ pub enum ThreadItem { aggregated_output: Option, /// The command's exit code. exit_code: Option, - /// Elapsed command runtime in milliseconds. Final once the command completes. + /// The duration of the command execution in milliseconds. #[ts(type = "number | null")] duration_ms: Option, },