Nest TODO State in session data (#4361)

Co-authored-by: Alex Hancock <alexhancock@block.xyz>
This commit is contained in:
David Katz 2025-08-28 14:11:29 -04:00 committed by GitHub
parent 7879445c4b
commit ef57f5062d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 294 additions and 45 deletions

View file

@ -2123,6 +2123,11 @@
"propertyName": "type"
}
},
"ExtensionData": {
"type": "object",
"description": "Extension data containing all extension states\nKeys are in format \"extension_name.version\" (e.g., \"todo.v0\")",
"additionalProperties": {}
},
"ExtensionEntry": {
"allOf": [
{
@ -3207,6 +3212,9 @@
"type": "string",
"description": "A short description of the session, typically 3 words or less"
},
"extension_data": {
"$ref": "#/components/schemas/ExtensionData"
},
"input_tokens": {
"type": "integer",
"format": "int32",
@ -3229,11 +3237,6 @@
"description": "ID of the schedule that triggered this session, if any",
"nullable": true
},
"todo_content": {
"type": "string",
"description": "Session-scoped TODO list content",
"nullable": true
},
"total_tokens": {
"type": "integer",
"format": "int32",