fix: [app-server] Schema mismatch prevents thread resume

This commit is contained in:
Leo Shimonaka
2026-02-20 16:54:58 -08:00
parent 4ebdddaa34
commit 2e5c52e6da
21 changed files with 58 additions and 63 deletions
@@ -1551,7 +1551,7 @@
"phase": {
"anyOf": [
{
"$ref": "#/definitions/MessagePhase2"
"$ref": "#/definitions/MessagePhase"
},
{
"type": "null"
@@ -4593,13 +4593,6 @@
"type": "string"
},
"MessagePhase": {
"enum": [
"commentary",
"finalAnswer"
],
"type": "string"
},
"MessagePhase2": {
"description": "Classifies an assistant message as interim commentary or final answer text.\n\nProviders do not emit this consistently, so callers must treat `None` as \"phase unknown\" and keep compatibility behavior for legacy models.",
"oneOf": [
{
@@ -4618,6 +4611,13 @@
}
]
},
"MessagePhaseV2": {
"enum": [
"commentary",
"finalAnswer"
],
"type": "string"
},
"ModeKind": {
"description": "Initial collaboration mode to use when the TUI starts.",
"enum": [
@@ -5551,7 +5551,7 @@
"phase": {
"anyOf": [
{
"$ref": "#/definitions/MessagePhase2"
"$ref": "#/definitions/MessagePhase"
},
{
"type": "null"
@@ -6848,7 +6848,7 @@
"phase": {
"anyOf": [
{
"$ref": "#/definitions/MessagePhase"
"$ref": "#/definitions/MessagePhaseV2"
},
{
"type": "null"
@@ -7735,7 +7735,7 @@
"phase": {
"anyOf": [
{
"$ref": "#/definitions/MessagePhase2"
"$ref": "#/definitions/MessagePhase"
},
{
"type": "null"