mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 09:13:14 +00:00
Adds 6 new agent tools backed by Linear's GraphQL API, with a shared _graphql_request helper to reduce boilerplate. Refactors existing comment_on_linear_issue to use the same helper. Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
16 lines
340 B
Python
16 lines
340 B
Python
import asyncio
|
|
from typing import Any
|
|
|
|
from ..utils.linear import delete_issue
|
|
|
|
|
|
def linear_delete_issue(issue_id: str) -> dict[str, Any]:
|
|
"""Delete a Linear issue.
|
|
|
|
Args:
|
|
issue_id: The Linear issue UUID to delete.
|
|
|
|
Returns:
|
|
Dictionary with 'success' bool.
|
|
"""
|
|
return asyncio.run(delete_issue(issue_id))
|