feat(mma): Enable manual ticket approval via Hook API for Step Mode

This commit is contained in:
2026-05-02 13:48:14 -04:00
parent 9f67a31b2f
commit 7fdf6c9782
4 changed files with 35 additions and 2 deletions
+4
View File
@@ -267,3 +267,7 @@ class ApiHookClient:
"""Mutates the MMA DAG (Directed Acyclic Graph) structure."""
return self._make_request('POST', '/api/mma/dag/mutate', data=data) or {}
def approve_mma_ticket(self, ticket_id: str) -> dict:
"""Manually approves a specific ticket for execution in Step Mode."""
return self._make_request('POST', '/api/mma/ticket/approve', data={"ticket_id": ticket_id}) or {}