(error: string, status: number)
| 15 | |
| 16 | /** Standard error body for deployment tool routes, matching the generic tool response shape. */ |
| 17 | export function deploymentToolError(error: string, status: number): NextResponse { |
| 18 | return NextResponse.json({ success: false, error }, { status }) |
| 19 | } |
| 20 | |
| 21 | /** |
| 22 | * Authenticates a deployment tool request via session or internal token (API |
no outgoing calls
no test coverage detected