[codex-analytics] add protocol-native item timestamps

This commit is contained in:
rhan-oai
2026-04-29 17:07:16 -07:00
parent afbddabc8b
commit d5bedde563
57 changed files with 3729 additions and 48 deletions
@@ -1088,6 +1088,14 @@
},
"type": "array"
},
"completedAtMs": {
"description": "Unix timestamp (in milliseconds) when command execution completed, if known.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"cwd": {
"allOf": [
{
@@ -1130,6 +1138,14 @@
],
"default": "agent"
},
"startedAtMs": {
"description": "Unix timestamp (in milliseconds) when command execution started, if known.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"status": {
"$ref": "#/definitions/CommandExecutionStatus"
},
@@ -1160,9 +1176,33 @@
},
"type": "array"
},
"completedAtMs": {
"description": "Unix timestamp (in milliseconds) when patch application completed, if known.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"durationMs": {
"description": "The duration of patch application in milliseconds.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"id": {
"type": "string"
},
"startedAtMs": {
"description": "Unix timestamp (in milliseconds) when patch application started, if known.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"status": {
"$ref": "#/definitions/PatchApplyStatus"
},
@@ -1186,6 +1226,14 @@
{
"properties": {
"arguments": true,
"completedAtMs": {
"description": "Unix timestamp (in milliseconds) when MCP tool execution completed, if known.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"durationMs": {
"description": "The duration of the MCP tool call in milliseconds.",
"format": "int64",
@@ -1226,6 +1274,14 @@
"server": {
"type": "string"
},
"startedAtMs": {
"description": "Unix timestamp (in milliseconds) when MCP tool execution started, if known.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"status": {
"$ref": "#/definitions/McpToolCallStatus"
},
@@ -1254,6 +1310,14 @@
{
"properties": {
"arguments": true,
"completedAtMs": {
"description": "Unix timestamp (in milliseconds) when dynamic tool execution completed, if known.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"contentItems": {
"items": {
"$ref": "#/definitions/DynamicToolCallOutputContentItem"
@@ -1280,6 +1344,14 @@
"null"
]
},
"startedAtMs": {
"description": "Unix timestamp (in milliseconds) when dynamic tool execution started, if known.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"status": {
"$ref": "#/definitions/DynamicToolCallStatus"
},
@@ -1319,6 +1391,22 @@
"description": "Last known status of the target agents, when available.",
"type": "object"
},
"completedAtMs": {
"description": "Unix timestamp (in milliseconds) when collab tool execution completed, if known.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"durationMs": {
"description": "The duration of the collab tool execution in milliseconds.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"id": {
"description": "Unique identifier for this collab tool call.",
"type": "string"
@@ -1359,6 +1447,14 @@
"description": "Thread ID of the agent issuing the collab request.",
"type": "string"
},
"startedAtMs": {
"description": "Unix timestamp (in milliseconds) when collab tool execution started, if known.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"status": {
"allOf": [
{
@@ -1407,12 +1503,36 @@
}
]
},
"completedAtMs": {
"description": "Unix timestamp (in milliseconds) when web search execution completed, if known.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"durationMs": {
"description": "The duration of the web search execution in milliseconds.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"id": {
"type": "string"
},
"query": {
"type": "string"
},
"startedAtMs": {
"description": "Unix timestamp (in milliseconds) when web search execution started, if known.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"type": {
"enum": [
"webSearch"
@@ -1455,6 +1575,22 @@
},
{
"properties": {
"completedAtMs": {
"description": "Unix timestamp (in milliseconds) when image generation completed, if known.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"durationMs": {
"description": "The duration of image generation in milliseconds.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"id": {
"type": "string"
},
@@ -1477,6 +1613,14 @@
}
]
},
"startedAtMs": {
"description": "Unix timestamp (in milliseconds) when image generation started, if known.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"status": {
"type": "string"
},