used recipe id or deeplink to start agent (#5154)

This commit is contained in:
Lifei Zhou
2025-10-16 08:36:40 +11:00
committed by GitHub
parent 04faf59bc2
commit a6d0666ffd
15 changed files with 357 additions and 184 deletions
+63 -6
View File
@@ -191,13 +191,27 @@
}
},
"400": {
"description": "Bad request - invalid working directory"
"description": "Bad request",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"401": {
"description": "Unauthorized - invalid secret key"
},
"500": {
"description": "Internal server error"
"description": "Internal server error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
@@ -1235,10 +1249,34 @@
},
"responses": {
"204": {
"description": "Recipe saved to file successfully"
"description": "Recipe saved to file successfully",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SaveRecipeResponse"
}
}
}
},
"401": {
"description": "Unauthorized - Invalid or missing API key"
"description": "Unauthorized",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"404": {
"description": "Not found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"500": {
"description": "Internal server error",
@@ -2485,10 +2523,10 @@
"ErrorResponse": {
"type": "object",
"required": [
"error"
"message"
],
"properties": {
"error": {
"message": {
"type": "string"
}
}
@@ -3978,6 +4016,17 @@
}
}
},
"SaveRecipeResponse": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
}
}
},
"ScanRecipeRequest": {
"type": "object",
"required": [
@@ -4310,6 +4359,14 @@
],
"nullable": true
},
"recipe_deeplink": {
"type": "string",
"nullable": true
},
"recipe_id": {
"type": "string",
"nullable": true
},
"working_dir": {
"type": "string"
}