mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 12:43:16 +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>
13 lines
314 B
Python
13 lines
314 B
Python
import asyncio
|
|
from typing import Any
|
|
|
|
from ..utils.linear import list_teams
|
|
|
|
|
|
def linear_list_teams() -> dict[str, Any]:
|
|
"""List all teams in the Linear workspace.
|
|
|
|
Returns:
|
|
Dictionary with 'teams' list, each containing id, name, key, and description.
|
|
"""
|
|
return asyncio.run(list_teams())
|