fix(backend/copilot): regenerate openapi.json with TaskDecompositionResponse schema

The API schema was missing DecompositionStepModel and TaskDecompositionResponse
after the merge. Regenerated with export-api-schema and formatted with prettier.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
anvyle
2026-04-09 22:51:18 +02:00
parent 31ce418d5e
commit 02b972cfc4

View File

@@ -1163,7 +1163,8 @@
{
"$ref": "#/components/schemas/MCPToolsDiscoveredResponse"
},
{ "$ref": "#/components/schemas/MCPToolOutputResponse" }
{ "$ref": "#/components/schemas/MCPToolOutputResponse" },
{ "$ref": "#/components/schemas/TaskDecompositionResponse" }
],
"title": "Response Getv2[Dummy] Tool Response Type Export For Codegen"
}
@@ -9212,6 +9213,40 @@
"enum": ["TOP_UP", "USAGE", "GRANT", "REFUND", "CARD_CHECK"],
"title": "CreditTransactionType"
},
"DecompositionStepModel": {
"properties": {
"step_id": {
"type": "string",
"title": "Step Id",
"description": "Unique step identifier, e.g. 'step_1'"
},
"description": {
"type": "string",
"title": "Description",
"description": "Human-readable step description"
},
"action": {
"type": "string",
"title": "Action",
"description": "Action type: 'add_block', 'connect_blocks', 'configure', etc."
},
"block_name": {
"anyOf": [{ "type": "string" }, { "type": "null" }],
"title": "Block Name",
"description": "Block being added, if applicable"
},
"status": {
"type": "string",
"title": "Status",
"description": "Step status: pending, in_progress, completed, failed",
"default": "pending"
}
},
"type": "object",
"required": ["step_id", "description", "action"],
"title": "DecompositionStepModel",
"description": "A single step in a decomposed agent-building plan."
},
"DeleteFileResponse": {
"properties": { "deleted": { "type": "boolean", "title": "Deleted" } },
"type": "object",
@@ -13722,6 +13757,44 @@
"required": ["recent_searches", "providers", "top_blocks"],
"title": "SuggestionsResponse"
},
"TaskDecompositionResponse": {
"properties": {
"type": {
"$ref": "#/components/schemas/ResponseType",
"default": "task_decomposition"
},
"message": { "type": "string", "title": "Message" },
"session_id": {
"anyOf": [{ "type": "string" }, { "type": "null" }],
"title": "Session Id"
},
"goal": {
"type": "string",
"title": "Goal",
"description": "The original user goal"
},
"steps": {
"items": { "$ref": "#/components/schemas/DecompositionStepModel" },
"type": "array",
"title": "Steps"
},
"step_count": {
"type": "integer",
"title": "Step Count",
"description": "Number of steps (auto-derived from steps list)",
"default": 0
},
"requires_approval": {
"type": "boolean",
"title": "Requires Approval",
"default": true
}
},
"type": "object",
"required": ["message", "goal", "steps"],
"title": "TaskDecompositionResponse",
"description": "Response for decompose_goal tool — shows the plan to the user."
},
"TimezoneResponse": {
"properties": {
"timezone": {