feat(tui): support goal budgets

This commit is contained in:
Felipe Coury
2026-05-02 15:55:16 -03:00
parent 35aaa5d9fc
commit 06bebefbfc
37 changed files with 2138 additions and 53 deletions
@@ -3521,6 +3521,52 @@
],
"type": "object"
},
"ThreadGoalBudgetParams": {
"oneOf": [
{
"properties": {
"token_budget": {
"format": "int64",
"type": "integer"
},
"type": {
"enum": [
"tokens"
],
"title": "TokensThreadGoalBudgetParamsType",
"type": "string"
}
},
"required": [
"token_budget",
"type"
],
"title": "TokensThreadGoalBudgetParams",
"type": "object"
},
{
"properties": {
"percent": {
"format": "double",
"type": "number"
},
"type": {
"enum": [
"fiveHourLimitPercent"
],
"title": "FiveHourLimitPercentThreadGoalBudgetParamsType",
"type": "string"
}
},
"required": [
"percent",
"type"
],
"title": "FiveHourLimitPercentThreadGoalBudgetParams",
"type": "object"
}
]
},
"ThreadGoalStatus": {
"enum": [
"active",