[codex-analytics] add protocol-native turn timestamps

This commit is contained in:
rhan-oai
2026-04-02 18:52:32 -07:00
parent 0bd31dc382
commit 3d1314ca03
23 changed files with 204 additions and 4 deletions

View File

@@ -12219,6 +12219,19 @@
"TurnCompletedNotification": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"completedAt": {
"description": "Unix timestamp (in seconds) when the turn completed.",
"format": "int64",
"type": "integer"
},
"durationMs": {
"description": "Duration between turn start and completion in milliseconds, if known.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"threadId": {
"type": "string"
},
@@ -12227,6 +12240,7 @@
}
},
"required": [
"completedAt",
"threadId",
"turn"
],
@@ -12495,6 +12509,11 @@
"TurnStartedNotification": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"createdAt": {
"description": "Unix timestamp (in seconds) when the turn started.",
"format": "int64",
"type": "integer"
},
"threadId": {
"type": "string"
},
@@ -12503,6 +12522,7 @@
}
},
"required": [
"createdAt",
"threadId",
"turn"
],