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

Commit380ada9

Browse files
committed
Issues consolidation
1 parente5522fc commit380ada9

File tree

9 files changed

+944
-863
lines changed

9 files changed

+944
-863
lines changed

‎pkg/github/__toolsnaps__/get_issue.snap‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,38 @@
1010
"description":"The number of the issue",
1111
"type":"number"
1212
},
13+
"method": {
14+
"description":"The read operation to perform on a single issue.\nOptions are:\n1. 'get' - get issue details\n2. 'get_comments' - get issue comments\n3. 'get_sub_issues' - list sub-issues of the issue\n4. 'get_labels' - list labels assigned to the issue\n",
15+
"enum": [
16+
"get",
17+
"get_comments",
18+
"get_sub_issues",
19+
"get_labels"
20+
],
21+
"type":"string"
22+
},
1323
"owner": {
1424
"description":"The owner of the repository",
1525
"type":"string"
1626
},
27+
"page": {
28+
"description":"Page number for pagination (min 1)",
29+
"minimum":1,
30+
"type":"number"
31+
},
32+
"perPage": {
33+
"description":"Results per page for pagination (min 1, max 100)",
34+
"maximum":100,
35+
"minimum":1,
36+
"type":"number"
37+
},
1738
"repo": {
1839
"description":"The name of the repository",
1940
"type":"string"
2041
}
2142
},
2243
"required": [
44+
"method",
2345
"owner",
2446
"repo",
2547
"issue_number"
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"annotations": {
3+
"title":"Get issue details",
4+
"readOnlyHint":true
5+
},
6+
"description":"Get information about a specific issue in a GitHub repository.",
7+
"inputSchema": {
8+
"properties": {
9+
"issue_number": {
10+
"description":"The number of the issue",
11+
"type":"number"
12+
},
13+
"method": {
14+
"description":"The read operation to perform on a single issue.\nOptions are:\n1. 'get' - get issue details\n2. 'get_comments' - get issue comments\n3. 'get_sub_issues' - list sub-issues of the issue\n4. 'get_labels' - list labels assigned to the issue\n",
15+
"enum": [
16+
"get",
17+
"get_comments",
18+
"get_sub_issues",
19+
"get_labels"
20+
],
21+
"type":"string"
22+
},
23+
"owner": {
24+
"description":"The owner of the repository",
25+
"type":"string"
26+
},
27+
"page": {
28+
"description":"Page number for pagination (min 1)",
29+
"minimum":1,
30+
"type":"number"
31+
},
32+
"perPage": {
33+
"description":"Results per page for pagination (min 1, max 100)",
34+
"maximum":100,
35+
"minimum":1,
36+
"type":"number"
37+
},
38+
"repo": {
39+
"description":"The name of the repository",
40+
"type":"string"
41+
}
42+
},
43+
"required": [
44+
"method",
45+
"owner",
46+
"repo",
47+
"issue_number"
48+
],
49+
"type":"object"
50+
},
51+
"name":"issue_read"
52+
}
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
{
2+
"annotations": {
3+
"title":"Create or update issue.",
4+
"readOnlyHint":false
5+
},
6+
"description":"Create a new or update an existing issue in a GitHub repository.",
7+
"inputSchema": {
8+
"properties": {
9+
"assignees": {
10+
"description":"Usernames to assign to this issue",
11+
"items": {
12+
"type":"string"
13+
},
14+
"type":"array"
15+
},
16+
"body": {
17+
"description":"Issue body content",
18+
"type":"string"
19+
},
20+
"duplicate_of": {
21+
"description":"Issue number that this issue is a duplicate of. Only used when state_reason is 'duplicate'.",
22+
"type":"number"
23+
},
24+
"issue_number": {
25+
"description":"Issue number to update",
26+
"type":"number"
27+
},
28+
"labels": {
29+
"description":"Labels to apply to this issue",
30+
"items": {
31+
"type":"string"
32+
},
33+
"type":"array"
34+
},
35+
"method": {
36+
"description":"Write operation to perform on a single issue.\nOptions are:\n- 'create' - creates a new issue.\n- 'update' - updates an existing issue.\n",
37+
"enum": [
38+
"create",
39+
"update"
40+
],
41+
"type":"string"
42+
},
43+
"milestone": {
44+
"description":"Milestone number",
45+
"type":"number"
46+
},
47+
"owner": {
48+
"description":"Repository owner",
49+
"type":"string"
50+
},
51+
"repo": {
52+
"description":"Repository name",
53+
"type":"string"
54+
},
55+
"state": {
56+
"description":"New state",
57+
"enum": [
58+
"open",
59+
"closed"
60+
],
61+
"type":"string"
62+
},
63+
"state_reason": {
64+
"description":"Reason for the state change. Ignored unless state is changed.",
65+
"enum": [
66+
"completed",
67+
"not_planned",
68+
"duplicate"
69+
],
70+
"type":"string"
71+
},
72+
"title": {
73+
"description":"Issue title",
74+
"type":"string"
75+
},
76+
"type": {
77+
"description":"Type of this issue",
78+
"type":"string"
79+
}
80+
},
81+
"required": [
82+
"method",
83+
"owner",
84+
"repo"
85+
],
86+
"type":"object"
87+
},
88+
"name":"issue_write"
89+
}

‎pkg/github/__toolsnaps__/list_label.snap‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,9 @@
33
"title":"List labels from a repository.",
44
"readOnlyHint":true
55
},
6-
"description":"List labels from a repository or an issue",
6+
"description":"List labels from a repository",
77
"inputSchema": {
88
"properties": {
9-
"issue_number": {
10-
"description":"Issue number - if provided, lists labels on the specific issue",
11-
"type":"number"
12-
},
139
"owner": {
1410
"description":"Repository owner (username or organization name) - required for all operations",
1511
"type":"string"
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"annotations": {
3+
"title":"Change sub-issue",
4+
"readOnlyHint":false
5+
},
6+
"description":"Add a sub-issue to a parent issue in a GitHub repository.",
7+
"inputSchema": {
8+
"properties": {
9+
"after_id": {
10+
"description":"The ID of the sub-issue to be prioritized after (either after_id OR before_id should be specified)",
11+
"type":"number"
12+
},
13+
"before_id": {
14+
"description":"The ID of the sub-issue to be prioritized before (either after_id OR before_id should be specified)",
15+
"type":"number"
16+
},
17+
"issue_number": {
18+
"description":"The number of the parent issue",
19+
"type":"number"
20+
},
21+
"method": {
22+
"description":"The action to perform on a single sub-issue\nOptions are:\n- 'add' - add a sub-issue to a parent issue in a GitHub repository.\n- 'remove' - remove a sub-issue from a parent issue in a GitHub repository.\n- 'reprioritize' - change the order of sub-issues within a parent issue in a GitHub repository. Use either 'after_id' or 'before_id' to specify the new position.\n\t\t\t\t",
23+
"type":"string"
24+
},
25+
"owner": {
26+
"description":"Repository owner",
27+
"type":"string"
28+
},
29+
"replace_parent": {
30+
"description":"When true, replaces the sub-issue's current parent issue. Use with 'add' method only.",
31+
"type":"boolean"
32+
},
33+
"repo": {
34+
"description":"Repository name",
35+
"type":"string"
36+
},
37+
"sub_issue_id": {
38+
"description":"The ID of the sub-issue to add. ID is not the same as issue number",
39+
"type":"number"
40+
}
41+
},
42+
"required": [
43+
"method",
44+
"owner",
45+
"repo",
46+
"issue_number",
47+
"sub_issue_id"
48+
],
49+
"type":"object"
50+
},
51+
"name":"sub_issue_write"
52+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp