[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
@@ -3312,6 +3312,14 @@
},
"type": "array"
},
"completedAtMs": {
"description": "Unix timestamp (in milliseconds) when command execution completed, if known.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"cwd": {
"allOf": [
{
@@ -3354,6 +3362,14 @@
],
"default": "agent"
},
"startedAtMs": {
"description": "Unix timestamp (in milliseconds) when command execution started, if known.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"status": {
"$ref": "#/definitions/CommandExecutionStatus"
},
@@ -3384,9 +3400,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"
},
@@ -3410,6 +3450,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",
@@ -3450,6 +3498,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"
},
@@ -3478,6 +3534,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"
@@ -3504,6 +3568,14 @@
"null"
]
},
"startedAtMs": {
"description": "Unix timestamp (in milliseconds) when dynamic tool execution started, if known.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"status": {
"$ref": "#/definitions/DynamicToolCallStatus"
},
@@ -3543,6 +3615,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"
@@ -3583,6 +3671,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": [
{
@@ -3631,12 +3727,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"
@@ -3679,6 +3799,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"
},
@@ -3701,6 +3837,14 @@
}
]
},
"startedAtMs": {
"description": "Unix timestamp (in milliseconds) when image generation started, if known.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"status": {
"type": "string"
},