@arii/boomtick-mcp 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mcp/schemas/agent.search_ddgs.json +28 -24
- package/.mcp/schemas/agent_search_ddgs.json +31 -0
- package/.mcp/schemas/boomtick.health.json +14 -10
- package/.mcp/schemas/boomtick_health.json +16 -0
- package/.mcp/schemas/github.checkout_branch.json +28 -24
- package/.mcp/schemas/github.comment_triage_summary.json +21 -17
- package/.mcp/schemas/github.create_issue.json +55 -50
- package/.mcp/schemas/github.create_pull_request.json +53 -48
- package/.mcp/schemas/github.get_merge_conflict_files.json +21 -17
- package/.mcp/schemas/github.get_pr.json +30 -12
- package/.mcp/schemas/github.get_pr_diff.json +30 -12
- package/.mcp/schemas/github.issue_comment.json +35 -17
- package/.mcp/schemas/github.issue_update.json +114 -96
- package/.mcp/schemas/github.issue_view.json +30 -12
- package/.mcp/schemas/github.open_replacement_pr.json +64 -60
- package/.mcp/schemas/github.search_open_prs.json +61 -43
- package/.mcp/schemas/github_checkout_branch.json +31 -0
- package/.mcp/schemas/github_comment_triage_summary.json +24 -0
- package/.mcp/schemas/github_create_issue.json +58 -0
- package/.mcp/schemas/github_create_pull_request.json +56 -0
- package/.mcp/schemas/github_get_merge_conflict_files.json +24 -0
- package/.mcp/schemas/github_get_pr.json +32 -0
- package/.mcp/schemas/github_get_pr_diff.json +32 -0
- package/.mcp/schemas/github_issue_comment.json +38 -0
- package/.mcp/schemas/github_issue_update.json +123 -0
- package/.mcp/schemas/github_issue_view.json +32 -0
- package/.mcp/schemas/github_open_replacement_pr.json +67 -0
- package/.mcp/schemas/github_search_open_prs.json +65 -0
- package/.mcp/schemas/jules.cancel_session.json +16 -12
- package/.mcp/schemas/jules.create_session.json +41 -37
- package/.mcp/schemas/jules.get_messages.json +16 -12
- package/.mcp/schemas/jules.get_pr.json +16 -12
- package/.mcp/schemas/jules.get_session.json +16 -12
- package/.mcp/schemas/jules.list_sessions.json +33 -29
- package/.mcp/schemas/jules.send_message.json +30 -26
- package/.mcp/schemas/jules.trigger_feedback.json +16 -12
- package/.mcp/schemas/jules_cancel_session.json +18 -0
- package/.mcp/schemas/jules_create_session.json +44 -0
- package/.mcp/schemas/jules_get_messages.json +18 -0
- package/.mcp/schemas/jules_get_pr.json +18 -0
- package/.mcp/schemas/jules_get_session.json +18 -0
- package/.mcp/schemas/jules_list_sessions.json +36 -0
- package/.mcp/schemas/jules_send_message.json +35 -0
- package/.mcp/schemas/jules_trigger_feedback.json +18 -0
- package/.mcp/schemas/repo.commit_patch.json +34 -30
- package/.mcp/schemas/repo.create_branch.json +21 -17
- package/.mcp/schemas/repo.create_repair_branch.json +34 -30
- package/.mcp/schemas/repo.get_changed_files.json +19 -15
- package/.mcp/schemas/repo.get_command_schema.json +16 -12
- package/.mcp/schemas/repo.get_package_scripts.json +21 -17
- package/.mcp/schemas/repo.get_route_map.json +21 -17
- package/.mcp/schemas/repo.logs.json +28 -24
- package/.mcp/schemas/repo.read_agent_context.json +7 -3
- package/.mcp/schemas/repo.read_ci_logs.json +21 -17
- package/.mcp/schemas/repo.run_lighthouse.json +26 -22
- package/.mcp/schemas/repo.run_playwright.json +33 -29
- package/.mcp/schemas/repo.run_tests.json +40 -36
- package/.mcp/schemas/repo_commit_patch.json +39 -0
- package/.mcp/schemas/repo_create_branch.json +24 -0
- package/.mcp/schemas/repo_create_repair_branch.json +37 -0
- package/.mcp/schemas/repo_get_changed_files.json +22 -0
- package/.mcp/schemas/repo_get_command_schema.json +18 -0
- package/.mcp/schemas/repo_get_package_scripts.json +23 -0
- package/.mcp/schemas/repo_get_route_map.json +23 -0
- package/.mcp/schemas/repo_logs.json +31 -0
- package/.mcp/schemas/repo_read_agent_context.json +9 -0
- package/.mcp/schemas/repo_read_ci_logs.json +24 -0
- package/.mcp/schemas/repo_run_lighthouse.json +29 -0
- package/.mcp/schemas/repo_run_playwright.json +36 -0
- package/.mcp/schemas/repo_run_tests.json +45 -0
- package/CHANGELOG.md +9 -0
- package/dist/lib/git.js +30 -0
- package/dist/lib/param_utils.js +35 -0
- package/dist/lib/param_utils.test.js +44 -0
- package/dist/mcp/definitions.js +11 -1
- package/dist/mcp/schemas.test.js +28 -0
- package/dist/mcp/server.js +72 -36
- package/dist/tools/contract.js +94 -8
- package/dist/tools/github.create_issue.js +3 -2
- package/dist/tools/github.create_issue.test.js +10 -0
- package/dist/tools/github.create_pull_request.js +4 -4
- package/dist/tools/github.get_pr.js +4 -1
- package/dist/tools/github.get_pr_diff.js +6 -2
- package/dist/tools/github.issue_comment.js +8 -1
- package/dist/tools/github.issue_update.js +3 -0
- package/dist/tools/github.issue_view.js +4 -1
- package/dist/tools/github.search_open_prs.js +4 -0
- package/dist/tools/repo.commit_patch.js +30 -10
- package/dist/tools/repo.run_playwright.js +10 -5
- package/dist/tools/repo.run_tests.js +26 -4
- package/package.json +2 -2
- package/scripts/sync-mcp-schemas.ts +6 -1
- package/src/lib/git.ts +34 -0
- package/src/lib/param_utils.test.ts +49 -0
- package/src/lib/param_utils.ts +42 -0
- package/src/mcp/definitions.ts +12 -1
- package/src/mcp/schemas.test.ts +34 -0
- package/src/mcp/server.ts +73 -38
- package/src/tools/contract.ts +94 -8
- package/src/tools/github.create_issue.test.ts +10 -0
- package/src/tools/github.create_issue.ts +3 -1
- package/src/tools/github.create_pull_request.ts +4 -5
- package/src/tools/github.get_pr.ts +4 -1
- package/src/tools/github.get_pr_diff.ts +7 -2
- package/src/tools/github.issue_comment.ts +8 -1
- package/src/tools/github.issue_update.ts +4 -1
- package/src/tools/github.issue_view.ts +4 -1
- package/src/tools/github.search_open_prs.ts +4 -0
- package/src/tools/repo.commit_patch.ts +35 -11
- package/src/tools/repo.run_playwright.ts +13 -6
- package/src/tools/repo.run_tests.ts +28 -5
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
2
|
+
"name": "repo.get_package_scripts",
|
|
3
|
+
"description": "Get the scripts defined in package.json.",
|
|
4
|
+
"parameters": {
|
|
5
|
+
"properties": {
|
|
6
|
+
"filter": {
|
|
7
|
+
"anyOf": [
|
|
8
|
+
{
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"type": "null"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"default": null,
|
|
16
|
+
"description": "Optional glob pattern to filter script names.",
|
|
17
|
+
"title": "Filter"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"title": "GetPackageScriptsInput",
|
|
21
|
+
"type": "object"
|
|
22
|
+
}
|
|
19
23
|
}
|
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
2
|
+
"name": "repo.get_route_map",
|
|
3
|
+
"description": "Get the mapping of routes to content files.",
|
|
4
|
+
"parameters": {
|
|
5
|
+
"properties": {
|
|
6
|
+
"includeStatic": {
|
|
7
|
+
"anyOf": [
|
|
8
|
+
{
|
|
9
|
+
"type": "boolean"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"type": "null"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"default": null,
|
|
16
|
+
"description": "Whether to include static assets in the route map.",
|
|
17
|
+
"title": "Includestatic"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"title": "GetRouteMapInput",
|
|
21
|
+
"type": "object"
|
|
22
|
+
}
|
|
19
23
|
}
|
|
@@ -1,27 +1,31 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"
|
|
2
|
+
"name": "repo.logs",
|
|
3
|
+
"description": "Stream or grep combined CI logs for all jobs in a pull request.",
|
|
4
|
+
"parameters": {
|
|
5
|
+
"properties": {
|
|
6
|
+
"prNumber": {
|
|
7
|
+
"description": "The number of the pull request to stream logs for.",
|
|
8
|
+
"title": "Prnumber",
|
|
9
|
+
"type": "integer"
|
|
10
|
+
},
|
|
11
|
+
"grep": {
|
|
12
|
+
"anyOf": [
|
|
13
|
+
{
|
|
14
|
+
"type": "string"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"type": "null"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"default": null,
|
|
21
|
+
"description": "Optional pattern to filter log lines.",
|
|
22
|
+
"title": "Grep"
|
|
23
|
+
}
|
|
7
24
|
},
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"type": "null"
|
|
15
|
-
}
|
|
16
|
-
],
|
|
17
|
-
"default": null,
|
|
18
|
-
"description": "Optional pattern to filter log lines.",
|
|
19
|
-
"title": "Grep"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"required": [
|
|
23
|
-
"prNumber"
|
|
24
|
-
],
|
|
25
|
-
"title": "RepoLogsInput",
|
|
26
|
-
"type": "object"
|
|
25
|
+
"required": [
|
|
26
|
+
"prNumber"
|
|
27
|
+
],
|
|
28
|
+
"title": "RepoLogsInput",
|
|
29
|
+
"type": "object"
|
|
30
|
+
}
|
|
27
31
|
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
2
|
+
"name": "repo.read_agent_context",
|
|
3
|
+
"description": "Read the full repository index including file tree, CLI schema, and MCP tools.",
|
|
4
|
+
"parameters": {
|
|
5
|
+
"properties": {},
|
|
6
|
+
"title": "ReadAgentContextInput",
|
|
7
|
+
"type": "object"
|
|
8
|
+
}
|
|
5
9
|
}
|
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"
|
|
2
|
+
"name": "repo.read_ci_logs",
|
|
3
|
+
"description": "Read CI logs for a given pull request.",
|
|
4
|
+
"parameters": {
|
|
5
|
+
"properties": {
|
|
6
|
+
"prNumber": {
|
|
7
|
+
"description": "The number of the pull request to read logs for.",
|
|
8
|
+
"title": "Prnumber",
|
|
9
|
+
"type": "integer"
|
|
10
|
+
},
|
|
11
|
+
"all": {
|
|
12
|
+
"default": false,
|
|
13
|
+
"description": "Include logs for successful runs (default: false).",
|
|
14
|
+
"title": "All",
|
|
15
|
+
"type": "boolean"
|
|
16
|
+
}
|
|
7
17
|
},
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
},
|
|
15
|
-
"required": [
|
|
16
|
-
"prNumber"
|
|
17
|
-
],
|
|
18
|
-
"title": "ReadCiLogsInput",
|
|
19
|
-
"type": "object"
|
|
18
|
+
"required": [
|
|
19
|
+
"prNumber"
|
|
20
|
+
],
|
|
21
|
+
"title": "ReadCiLogsInput",
|
|
22
|
+
"type": "object"
|
|
23
|
+
}
|
|
20
24
|
}
|
|
@@ -1,25 +1,29 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"
|
|
7
|
-
|
|
2
|
+
"name": "repo.run_lighthouse",
|
|
3
|
+
"description": "Run Lighthouse CI audits.",
|
|
4
|
+
"parameters": {
|
|
5
|
+
"properties": {
|
|
6
|
+
"route": {
|
|
7
|
+
"default": "/",
|
|
8
|
+
"description": "The route to audit (default: '/').",
|
|
9
|
+
"title": "Route",
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
12
|
+
"worktreePath": {
|
|
13
|
+
"anyOf": [
|
|
14
|
+
{
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"type": "null"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"default": null,
|
|
22
|
+
"description": "Optional path to the worktree to run the audit in.",
|
|
23
|
+
"title": "Worktreepath"
|
|
24
|
+
}
|
|
8
25
|
},
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"type": "string"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"type": "null"
|
|
16
|
-
}
|
|
17
|
-
],
|
|
18
|
-
"default": null,
|
|
19
|
-
"description": "Optional path to the worktree to run the audit in.",
|
|
20
|
-
"title": "Worktreepath"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"title": "RunLighthouseInput",
|
|
24
|
-
"type": "object"
|
|
26
|
+
"title": "RunLighthouseInput",
|
|
27
|
+
"type": "object"
|
|
28
|
+
}
|
|
25
29
|
}
|
|
@@ -1,32 +1,36 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
2
|
+
"name": "repo.run_playwright",
|
|
3
|
+
"description": "Run Playwright E2E tests.",
|
|
4
|
+
"parameters": {
|
|
5
|
+
"properties": {
|
|
6
|
+
"grep": {
|
|
7
|
+
"anyOf": [
|
|
8
|
+
{
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"type": "null"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"default": null,
|
|
16
|
+
"description": "Optional pattern to filter tests by name.",
|
|
17
|
+
"title": "Grep"
|
|
18
|
+
},
|
|
19
|
+
"worktreePath": {
|
|
20
|
+
"anyOf": [
|
|
21
|
+
{
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"type": "null"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"default": null,
|
|
29
|
+
"description": "Optional path to the worktree to run tests in.",
|
|
30
|
+
"title": "Worktreepath"
|
|
31
|
+
}
|
|
15
32
|
},
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"type": "string"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"type": "null"
|
|
23
|
-
}
|
|
24
|
-
],
|
|
25
|
-
"default": null,
|
|
26
|
-
"description": "Optional path to the worktree to run tests in.",
|
|
27
|
-
"title": "Worktreepath"
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
"title": "RunPlaywrightInput",
|
|
31
|
-
"type": "object"
|
|
33
|
+
"title": "RunPlaywrightInput",
|
|
34
|
+
"type": "object"
|
|
35
|
+
}
|
|
32
36
|
}
|
|
@@ -1,41 +1,45 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
"name": "repo.run_tests",
|
|
3
|
+
"description": "Run repository tests and checks.",
|
|
4
|
+
"parameters": {
|
|
5
|
+
"properties": {
|
|
6
|
+
"commands": {
|
|
7
|
+
"anyOf": [
|
|
8
|
+
{
|
|
9
|
+
"items": {
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
12
|
+
"type": "array"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"type": "null"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"default": null,
|
|
19
|
+
"description": "Optional list of commands to run (default includes install, lint, test, build).",
|
|
20
|
+
"title": "Commands"
|
|
21
|
+
},
|
|
22
|
+
"timeoutSeconds": {
|
|
23
|
+
"default": 300,
|
|
24
|
+
"description": "Maximum time in seconds to wait for tests (default: 300).",
|
|
25
|
+
"title": "Timeoutseconds",
|
|
26
|
+
"type": "integer"
|
|
27
|
+
},
|
|
28
|
+
"worktreePath": {
|
|
29
|
+
"anyOf": [
|
|
30
|
+
{
|
|
7
31
|
"type": "string"
|
|
8
32
|
},
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"title": "Commands"
|
|
18
|
-
},
|
|
19
|
-
"timeoutSeconds": {
|
|
20
|
-
"default": 300,
|
|
21
|
-
"description": "Maximum time in seconds to wait for tests (default: 300).",
|
|
22
|
-
"title": "Timeoutseconds",
|
|
23
|
-
"type": "integer"
|
|
33
|
+
{
|
|
34
|
+
"type": "null"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"default": null,
|
|
38
|
+
"description": "Optional path to the worktree to run tests in.",
|
|
39
|
+
"title": "Worktreepath"
|
|
40
|
+
}
|
|
24
41
|
},
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"type": "string"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"type": "null"
|
|
32
|
-
}
|
|
33
|
-
],
|
|
34
|
-
"default": null,
|
|
35
|
-
"description": "Optional path to the worktree to run tests in.",
|
|
36
|
-
"title": "Worktreepath"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"title": "RunTestsInput",
|
|
40
|
-
"type": "object"
|
|
42
|
+
"title": "RunTestsInput",
|
|
43
|
+
"type": "object"
|
|
44
|
+
}
|
|
41
45
|
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "repo_commit_patch",
|
|
3
|
+
"description": "Commit verified repair changes in a worktree.",
|
|
4
|
+
"parameters": {
|
|
5
|
+
"properties": {
|
|
6
|
+
"worktreePath": {
|
|
7
|
+
"description": "Path to the worktree where changes are made.",
|
|
8
|
+
"title": "Worktreepath",
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"message": {
|
|
12
|
+
"description": "Commit message.",
|
|
13
|
+
"title": "Message",
|
|
14
|
+
"type": "string"
|
|
15
|
+
},
|
|
16
|
+
"allowedFiles": {
|
|
17
|
+
"description": "List of files that are allowed to be committed.",
|
|
18
|
+
"items": {
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
21
|
+
"title": "Allowedfiles",
|
|
22
|
+
"type": "array"
|
|
23
|
+
},
|
|
24
|
+
"writeMode": {
|
|
25
|
+
"description": "Safety gate: Must be true to perform the commit.",
|
|
26
|
+
"title": "Writemode",
|
|
27
|
+
"type": "boolean"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"required": [
|
|
31
|
+
"worktreePath",
|
|
32
|
+
"message",
|
|
33
|
+
"allowedFiles",
|
|
34
|
+
"writeMode"
|
|
35
|
+
],
|
|
36
|
+
"title": "CommitPatchInput",
|
|
37
|
+
"type": "object"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "repo_create_branch",
|
|
3
|
+
"description": "Creates a new clean git branch from a target base branch.",
|
|
4
|
+
"parameters": {
|
|
5
|
+
"properties": {
|
|
6
|
+
"branchName": {
|
|
7
|
+
"description": "The name of the new branch",
|
|
8
|
+
"title": "Branchname",
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"baseBranch": {
|
|
12
|
+
"default": "main",
|
|
13
|
+
"description": "Branch to branch off from",
|
|
14
|
+
"title": "Basebranch",
|
|
15
|
+
"type": "string"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"required": [
|
|
19
|
+
"branchName"
|
|
20
|
+
],
|
|
21
|
+
"title": "CreateBranchInput",
|
|
22
|
+
"type": "object"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "repo_create_repair_branch",
|
|
3
|
+
"description": "Creates a fresh worktree and a new repair branch for an existing PR. This isolates the repair work from the main codebase.",
|
|
4
|
+
"parameters": {
|
|
5
|
+
"properties": {
|
|
6
|
+
"prNumber": {
|
|
7
|
+
"description": "The original pull request number to repair.",
|
|
8
|
+
"title": "Prnumber",
|
|
9
|
+
"type": "integer"
|
|
10
|
+
},
|
|
11
|
+
"repairBranchName": {
|
|
12
|
+
"anyOf": [
|
|
13
|
+
{
|
|
14
|
+
"type": "string"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"type": "null"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"default": null,
|
|
21
|
+
"description": "Optional custom name for the new repair branch.",
|
|
22
|
+
"title": "Repairbranchname"
|
|
23
|
+
},
|
|
24
|
+
"writeMode": {
|
|
25
|
+
"description": "Safety gate: Must be true to perform branch creation and worktree setup.",
|
|
26
|
+
"title": "Writemode",
|
|
27
|
+
"type": "boolean"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"required": [
|
|
31
|
+
"prNumber",
|
|
32
|
+
"writeMode"
|
|
33
|
+
],
|
|
34
|
+
"title": "CreateRepairBranchInput",
|
|
35
|
+
"type": "object"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "repo_get_changed_files",
|
|
3
|
+
"description": "Get the list of changed files between two refs.",
|
|
4
|
+
"parameters": {
|
|
5
|
+
"properties": {
|
|
6
|
+
"base": {
|
|
7
|
+
"default": "main",
|
|
8
|
+
"description": "The base ref to compare from (default: 'main').",
|
|
9
|
+
"title": "Base",
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
12
|
+
"head": {
|
|
13
|
+
"default": "HEAD",
|
|
14
|
+
"description": "The head ref to compare to (default: 'HEAD').",
|
|
15
|
+
"title": "Head",
|
|
16
|
+
"type": "string"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"title": "GetChangedFilesInput",
|
|
20
|
+
"type": "object"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "repo_get_command_schema",
|
|
3
|
+
"description": "Retrieve a lightweight, targeted schema for a specific td-cli subcommand. Use this instead of reading the entire cli-schema.json to save tokens.",
|
|
4
|
+
"parameters": {
|
|
5
|
+
"properties": {
|
|
6
|
+
"commandPath": {
|
|
7
|
+
"description": "The CLI command path to retrieve the schema for (e.g. 'gh audit-pr')",
|
|
8
|
+
"title": "Commandpath",
|
|
9
|
+
"type": "string"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"required": [
|
|
13
|
+
"commandPath"
|
|
14
|
+
],
|
|
15
|
+
"title": "GetCommandSchemaInput",
|
|
16
|
+
"type": "object"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "repo_get_package_scripts",
|
|
3
|
+
"description": "Get the scripts defined in package.json.",
|
|
4
|
+
"parameters": {
|
|
5
|
+
"properties": {
|
|
6
|
+
"filter": {
|
|
7
|
+
"anyOf": [
|
|
8
|
+
{
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"type": "null"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"default": null,
|
|
16
|
+
"description": "Optional glob pattern to filter script names.",
|
|
17
|
+
"title": "Filter"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"title": "GetPackageScriptsInput",
|
|
21
|
+
"type": "object"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "repo_get_route_map",
|
|
3
|
+
"description": "Get the mapping of routes to content files.",
|
|
4
|
+
"parameters": {
|
|
5
|
+
"properties": {
|
|
6
|
+
"includeStatic": {
|
|
7
|
+
"anyOf": [
|
|
8
|
+
{
|
|
9
|
+
"type": "boolean"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"type": "null"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"default": null,
|
|
16
|
+
"description": "Whether to include static assets in the route map.",
|
|
17
|
+
"title": "Includestatic"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"title": "GetRouteMapInput",
|
|
21
|
+
"type": "object"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "repo_logs",
|
|
3
|
+
"description": "Stream or grep combined CI logs for all jobs in a pull request.",
|
|
4
|
+
"parameters": {
|
|
5
|
+
"properties": {
|
|
6
|
+
"prNumber": {
|
|
7
|
+
"description": "The number of the pull request to stream logs for.",
|
|
8
|
+
"title": "Prnumber",
|
|
9
|
+
"type": "integer"
|
|
10
|
+
},
|
|
11
|
+
"grep": {
|
|
12
|
+
"anyOf": [
|
|
13
|
+
{
|
|
14
|
+
"type": "string"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"type": "null"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"default": null,
|
|
21
|
+
"description": "Optional pattern to filter log lines.",
|
|
22
|
+
"title": "Grep"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"required": [
|
|
26
|
+
"prNumber"
|
|
27
|
+
],
|
|
28
|
+
"title": "RepoLogsInput",
|
|
29
|
+
"type": "object"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "repo_read_ci_logs",
|
|
3
|
+
"description": "Read CI logs for a given pull request.",
|
|
4
|
+
"parameters": {
|
|
5
|
+
"properties": {
|
|
6
|
+
"prNumber": {
|
|
7
|
+
"description": "The number of the pull request to read logs for.",
|
|
8
|
+
"title": "Prnumber",
|
|
9
|
+
"type": "integer"
|
|
10
|
+
},
|
|
11
|
+
"all": {
|
|
12
|
+
"default": false,
|
|
13
|
+
"description": "Include logs for successful runs (default: false).",
|
|
14
|
+
"title": "All",
|
|
15
|
+
"type": "boolean"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"required": [
|
|
19
|
+
"prNumber"
|
|
20
|
+
],
|
|
21
|
+
"title": "ReadCiLogsInput",
|
|
22
|
+
"type": "object"
|
|
23
|
+
}
|
|
24
|
+
}
|