feat: add gitea agentic runtime control plane
This commit is contained in:
16
engine/devops_agent/providers/base.py
Normal file
16
engine/devops_agent/providers/base.py
Normal file
@@ -0,0 +1,16 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Any, Protocol
|
||||
|
||||
|
||||
class IssueProvider(Protocol):
|
||||
def get_issue(self, repo: str, issue_number: int) -> dict[str, Any]: ...
|
||||
|
||||
def post_issue_comment(
|
||||
self,
|
||||
repo: str,
|
||||
issue_number: int,
|
||||
body: str,
|
||||
) -> dict[str, Any]: ...
|
||||
|
||||
def parse_issue_comment_event(self, payload: dict[str, Any]) -> dict[str, Any]: ...
|
||||
Reference in New Issue
Block a user