Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Migrate issues toolset to modelcontextprotocol/go-sdk#1440

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
omgitsads merged 13 commits intoomgitsads/go-sdkfromcopilot/migrate-issues-toolset
Nov 20, 2025
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
Show all changes
13 commits
Select commitHold shift + click to select a range
7480a09
Initial plan
CopilotNov 18, 2025
16a69cf
Migrate imports and first 3 tools (IssueRead, ListIssueTypes, helper …
CopilotNov 18, 2025
a4e8f7b
Migrate AddIssueComment, SubIssueWrite and helper functions
CopilotNov 18, 2025
d8d4c56
Migrate SearchIssues and search_utils helper
CopilotNov 18, 2025
8d9b818
Migrate IssueWrite tool with CreateIssue and UpdateIssue helpers
CopilotNov 18, 2025
f3793e2
Migrate remaining tools: ListIssues, AssignCopilotToIssue, AssignCodi…
CopilotNov 18, 2025
1b1c40b
Fix all linter errors in issues.go and search_utils.go
CopilotNov 18, 2025
541e4ba
Fix test file and update toolsnaps - migration complete!
CopilotNov 18, 2025
7ba9cc7
uncomment issues toolset
omgitsadsNov 19, 2025
0ffc274
Migrate Issue workflow prompt
omgitsadsNov 19, 2025
9aa5576
Remove commented out tool definition
omgitsadsNov 19, 2025
e7b275a
Merge branch 'omgitsads/go-sdk' into copilot/migrate-issues-toolset
omgitsadsNov 19, 2025
c2b379c
Remove duplicate func
omgitsadsNov 19, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 17 additions & 18 deletionspkg/github/__toolsnaps__/add_issue_comment.snap
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,34 @@
{
"annotations": {
"title": "Add comment to issue",
"readOnlyHint": false
"title": "Add comment to issue"
},
"description": "Add a comment to a specific issue in a GitHub repository. Use this tool to add comments to pull requests as well (in this case pass pull request number as issue_number), but only if user is not asking specifically to add review comments.",
"inputSchema": {
"type": "object",
"required": [
"owner",
"repo",
"issue_number",
"body"
],
"properties": {
"body": {
"description": "Comment content",
"type": "string"
"type": "string",
"description": "Comment content"
},
"issue_number": {
"description": "Issuenumber to comment on",
"type": "number"
"type": "number",
"description": "Issuenumber to comment on"
},
"owner": {
"description": "Repository owner",
"type": "string"
"type": "string",
"description": "Repository owner"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Are these toolsnap ordering changes deterministic? As long as this is a one-off churn it's all good.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Will take a look and confirm!

},
"repo": {
"description": "Repository name",
"type": "string"
"type": "string",
"description": "Repository name"
}
},
"required": [
"owner",
"repo",
"issue_number",
"body"
],
"type": "object"
}
},
"name": "add_issue_comment"
}
31 changes: 15 additions & 16 deletionspkg/github/__toolsnaps__/assign_copilot_to_issue.snap
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,30 @@
{
"annotations": {
"title": "Assign Copilot to issue",
"readOnlyHint": false,
"idempotentHint": true
"idempotentHint": true,
"title": "Assign Copilot to issue"
},
"description": "Assign Copilot to a specific issue in a GitHub repository.\n\nThis tool can help with the following outcomes:\n- a Pull Request created with source code changes to resolve the issue\n\n\nMore information can be found at:\n- https://docs.github.com/en/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/about-assigning-tasks-to-copilot\n",
"inputSchema": {
"type": "object",
"required": [
"owner",
"repo",
"issueNumber"
],
"properties": {
"issueNumber": {
"description": "Issuenumber",
"type": "number"
"type": "number",
"description": "Issuenumber"
},
"owner": {
"description": "Repository owner",
"type": "string"
"type": "string",
"description": "Repository owner"
},
"repo": {
"description": "Repository name",
"type": "string"
"type": "string",
"description": "Repository name"
}
},
"required": [
"owner",
"repo",
"issueNumber"
],
"type": "object"
}
},
"name": "assign_copilot_to_issue"
}
46 changes: 23 additions & 23 deletionspkg/github/__toolsnaps__/issue_read.snap
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,52 @@
{
"annotations": {
"title":"Get issue details",
"readOnlyHint":true
"readOnlyHint":true,
"title":"Get issue details"
},
"description": "Get information about a specific issue in a GitHub repository.",
"inputSchema": {
"type": "object",
"required": [
"method",
"owner",
"repo",
"issue_number"
],
"properties": {
"issue_number": {
"description": "Thenumber of the issue",
"type": "number"
"type": "number",
"description": "Thenumber of the issue"
},
"method": {
"description": "The read operation to perform on a single issue. \nOptions are: \n1. get - Get details of a specific issue.\n2. get_comments - Get issue comments.\n3. get_sub_issues - Get sub-issues of the issue.\n4. get_labels - Get labels assigned to the issue.\n",
"type": "string",
"description": "The read operation to perform on a single issue.\nOptions are:\n1. get - Get details of a specific issue.\n2. get_comments - Get issue comments.\n3. get_sub_issues - Get sub-issues of the issue.\n4. get_labels - Get labels assigned to the issue.\n",
"enum": [
"get",
"get_comments",
"get_sub_issues",
"get_labels"
],
"type": "string"
]
},
"owner": {
"description": "The owner of the repository",
"type": "string"
"type": "string",
"description": "The owner of the repository"
},
"page": {
"type": "number",
"description": "Page number for pagination (min 1)",
"minimum": 1,
"type": "number"
"minimum": 1
},
"perPage": {
"type": "number",
"description": "Results per page for pagination (min 1, max 100)",
"maximum": 100,
"minimum": 1,
"type":"number"
"maximum":100
},
"repo": {
"description": "The name of the repository",
"type": "string"
"type": "string",
"description": "The name of the repository"
}
},
"required": [
"method",
"owner",
"repo",
"issue_number"
],
"type": "object"
}
},
"name": "issue_read"
}
71 changes: 35 additions & 36 deletionspkg/github/__toolsnaps__/issue_write.snap
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,89 +1,88 @@
{
"annotations": {
"title": "Create or update issue.",
"readOnlyHint": false
"title": "Create or update issue."
},
"description": "Create a new or update an existing issue in a GitHub repository.",
"inputSchema": {
"type": "object",
"required": [
"method",
"owner",
"repo"
],
"properties": {
"assignees": {
"type": "array",
"description": "Usernames to assign to this issue",
"items": {
"type": "string"
},
"type": "array"
}
},
"body": {
"description": "Issue body content",
"type": "string"
"type": "string",
"description": "Issue body content"
},
"duplicate_of": {
"description": "Issuenumber that this issue is a duplicate of. Only used when state_reason is 'duplicate'.",
"type": "number"
"type": "number",
"description": "Issuenumber that this issue is a duplicate of. Only used when state_reason is 'duplicate'."
},
"issue_number": {
"description": "Issuenumber to update",
"type": "number"
"type": "number",
"description": "Issuenumber to update"
},
"labels": {
"type": "array",
"description": "Labels to apply to this issue",
"items": {
"type": "string"
},
"type": "array"
}
},
"method": {
"description": "Write operation to perform on a single issue.\nOptions are: \n- 'create' - creates a new issue. \n- 'update' - updates an existing issue.\n",
"type": "string",
"description": "Write operation to perform on a single issue.\nOptions are:\n- 'create' - creates a new issue.\n- 'update' - updates an existing issue.\n",
"enum": [
"create",
"update"
],
"type": "string"
]
},
"milestone": {
"description": "Milestonenumber",
"type": "number"
"type": "number",
"description": "Milestonenumber"
},
"owner": {
"description": "Repository owner",
"type": "string"
"type": "string",
"description": "Repository owner"
},
"repo": {
"description": "Repository name",
"type": "string"
"type": "string",
"description": "Repository name"
},
"state": {
"type": "string",
"description": "New state",
"enum": [
"open",
"closed"
],
"type": "string"
]
},
"state_reason": {
"type": "string",
"description": "Reason for the state change. Ignored unless state is changed.",
"enum": [
"completed",
"not_planned",
"duplicate"
],
"type": "string"
]
},
"title": {
"description": "Issue title",
"type": "string"
"type": "string",
"description": "Issue title"
},
"type": {
"description": "Type of this issue. Only use if the repository has issue types configured. Use list_issue_types tool to get valid type values for the organization. If the repository doesn't support issue types, omit this parameter.",
"type": "string"
"type": "string",
"description": "Type of this issue. Only use if the repository has issue types configured. Use list_issue_types tool to get valid type values for the organization. If the repository doesn't support issue types, omit this parameter."
}
},
"required": [
"method",
"owner",
"repo"
],
"type": "object"
}
},
"name": "issue_write"
}
18 changes: 9 additions & 9 deletionspkg/github/__toolsnaps__/list_issue_types.snap
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
{
"annotations": {
"title":"List available issue types",
"readOnlyHint":true
"readOnlyHint":true,
"title":"List available issue types"
},
"description": "List supported issue types for repository owner (organization).",
"inputSchema": {
"properties": {
"owner": {
"description": "The organization owner of the repository",
"type": "string"
}
},
"type": "object",
"required": [
"owner"
],
"type": "object"
"properties": {
"owner": {
"type": "string",
"description": "The organization owner of the repository"
}
}
},
"name": "list_issue_types"
}
Loading
Loading

[8]ページ先頭

©2009-2025 Movatter.jp