-
Notifications
You must be signed in to change notification settings - Fork 2.5k
fix(linear): add additional output params for remaining linear tools #2087
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Greptile OverviewGreptile SummaryThis PR adds comprehensive output parameters and fixes bugs in Linear tools to provide complete API coverage. Key Changes
All changes maintain backward compatibility by making new parameters optional. Confidence Score: 5/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant User
participant SimTool as Linear Tool
participant LinearAPI as Linear GraphQL API
Note over User,LinearAPI: Example: Creating Issue with Extended Parameters
User->>SimTool: linear_create_issue(teamId, title, assigneeId, priority, labels, etc.)
SimTool->>SimTool: Build GraphQL input with all parameters
SimTool->>LinearAPI: POST /graphql with issueCreate mutation
LinearAPI->>LinearAPI: Validate and create issue
LinearAPI-->>SimTool: Return issue with all fields
SimTool->>SimTool: Transform response to include all output fields
SimTool-->>User: Return comprehensive issue object
Note over User,LinearAPI: Example: Reading Issues with Filters
User->>SimTool: linear_read_issues(teamId, assigneeId, stateId, priority, labelIds, etc.)
SimTool->>SimTool: Build filter object from parameters
SimTool->>LinearAPI: POST /graphql with issues query
LinearAPI->>LinearAPI: Apply filters and pagination
LinearAPI-->>SimTool: Return filtered issues with pagination info
SimTool->>SimTool: Transform response with hasNextPage and endCursor
SimTool-->>User: Return filtered issues array with pagination
Note over User,LinearAPI: Example: Bug Fixes
User->>SimTool: linear_archive_label(labelId)
SimTool->>LinearAPI: POST /graphql with issueLabelArchive (was issueLabelDelete)
LinearAPI-->>SimTool: Return success
SimTool-->>User: Return success status
User->>SimTool: linear_create_project(teamId, name)
SimTool->>LinearAPI: POST /graphql with teamId (was teamIds array)
LinearAPI-->>SimTool: Return created project
SimTool-->>User: Return project object
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
13 files reviewed, no comments
341f268 to
8cebd7c
Compare
Summary
Type of Change
Testing
Tested manually
Checklist