@bridge_gpt/mcp-server 0.1.12 → 0.1.14
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/README.md +13 -0
- package/build/commands.generated.js +4 -3
- package/build/decision-page-schema.js +101 -0
- package/build/decision-page-template.js +222 -109
- package/build/index.js +651 -98
- package/build/pipeline-orchestrator.js +593 -0
- package/build/pipeline-utils.js +50 -12
- package/build/pipelines.generated.js +50 -55
- package/build/version.generated.js +1 -1
- package/package.json +5 -7
- package/pipelines/check-ci-ticket.json +9 -8
- package/pipelines/implement-ticket.json +10 -9
- package/pipelines/pr-ticket.json +3 -9
- package/pipelines/review-ticket.json +3 -8
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// AUTO-GENERATED — do not edit manually. Regenerate with: npm run build
|
|
2
|
-
export const VERSION = "0.1.
|
|
2
|
+
export const VERSION = "0.1.14";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bridge_gpt/mcp-server",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.14",
|
|
4
4
|
"description": "Bridge API MCP server — exposes Jira endpoints as MCP tools for Claude Code agents",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -9,10 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"files": [
|
|
11
11
|
"build/",
|
|
12
|
-
"!build
|
|
13
|
-
"!build/decision-page-template.test.js",
|
|
14
|
-
"!build/update-check.test.js",
|
|
15
|
-
"!build/cli-upgrade.test.js",
|
|
12
|
+
"!build/**/*.test.js",
|
|
16
13
|
"pipelines/",
|
|
17
14
|
"README.md",
|
|
18
15
|
"LICENSE"
|
|
@@ -21,7 +18,7 @@
|
|
|
21
18
|
"build": "node scripts/bundle-version.js && node scripts/bundle-pipelines.js && node scripts/bundle-commands.js && node scripts/bundle-agents.js && tsc",
|
|
22
19
|
"postbuild": "node scripts/prepend-shebang.cjs",
|
|
23
20
|
"start": "node build/index.js",
|
|
24
|
-
"test": "node --test build/pipeline-utils.test.js build/update-check.test.js build/cli-upgrade.test.js",
|
|
21
|
+
"test": "node --test build/pipeline-utils.test.js build/update-check.test.js build/cli-upgrade.test.js build/decision-page-schema.test.js build/decision-page-template.test.js build/bundle-pipelines.test.js build/instructions-contract.test.js build/pipeline-orchestrator-persistence.test.js build/pipeline-orchestrator-execution.test.js build/pipeline-orchestrator-integration.test.js build/index-static.test.js",
|
|
25
22
|
"prepublishOnly": "npm run build && node scripts/verify-shebang.cjs"
|
|
26
23
|
},
|
|
27
24
|
"dependencies": {
|
|
@@ -30,7 +27,8 @@
|
|
|
30
27
|
},
|
|
31
28
|
"devDependencies": {
|
|
32
29
|
"@types/node": "^22.0.0",
|
|
33
|
-
"typescript": "^5.7.0"
|
|
30
|
+
"typescript": "^5.7.0",
|
|
31
|
+
"undici": "^6.25.0"
|
|
34
32
|
},
|
|
35
33
|
"engines": {
|
|
36
34
|
"node": ">=18.0.0"
|
|
@@ -15,16 +15,17 @@
|
|
|
15
15
|
"description": "Stage, commit, and push changes",
|
|
16
16
|
"requires_approval": true
|
|
17
17
|
},
|
|
18
|
+
{
|
|
19
|
+
"type": "agent_task",
|
|
20
|
+
"instruction_file": "create-pr.md",
|
|
21
|
+
"description": "Create a pull request with a title derived from the commit subject"
|
|
22
|
+
},
|
|
18
23
|
{
|
|
19
24
|
"type": "mcp_call",
|
|
20
|
-
"tool": "
|
|
21
|
-
"params": {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"title": "{ticket_key}: Implementation"
|
|
25
|
-
},
|
|
26
|
-
"description": "Create a pull request",
|
|
27
|
-
"requires_approval": true
|
|
25
|
+
"tool": "get_config_field",
|
|
26
|
+
"params": { "field_name": "ci_followup_config" },
|
|
27
|
+
"description": "Fetch repo-specific CI follow-up configuration",
|
|
28
|
+
"on_error": "warn_and_continue"
|
|
28
29
|
},
|
|
29
30
|
{
|
|
30
31
|
"type": "agent_task",
|
|
@@ -32,15 +32,9 @@
|
|
|
32
32
|
"requires_approval": true
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
|
-
"type": "
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"head_branch": "feature/{ticket_key}",
|
|
39
|
-
"base_branch": "main",
|
|
40
|
-
"title": "{ticket_key}: Implementation"
|
|
41
|
-
},
|
|
42
|
-
"description": "Create a pull request",
|
|
43
|
-
"requires_approval": true
|
|
35
|
+
"type": "agent_task",
|
|
36
|
+
"instruction_file": "create-pr.md",
|
|
37
|
+
"description": "Create a pull request with a title derived from the commit subject"
|
|
44
38
|
},
|
|
45
39
|
{
|
|
46
40
|
"type": "mcp_call",
|
|
@@ -52,6 +46,13 @@
|
|
|
52
46
|
"description": "Resolve and transition ticket to post-PR status",
|
|
53
47
|
"on_error": "warn_and_continue"
|
|
54
48
|
},
|
|
49
|
+
{
|
|
50
|
+
"type": "mcp_call",
|
|
51
|
+
"tool": "get_config_field",
|
|
52
|
+
"params": { "field_name": "ci_followup_config" },
|
|
53
|
+
"description": "Fetch repo-specific CI follow-up configuration",
|
|
54
|
+
"on_error": "warn_and_continue"
|
|
55
|
+
},
|
|
55
56
|
{
|
|
56
57
|
"type": "agent_task",
|
|
57
58
|
"instruction_file": "monitor-ci-checks.md",
|
package/pipelines/pr-ticket.json
CHANGED
|
@@ -16,15 +16,9 @@
|
|
|
16
16
|
"requires_approval": true
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
|
-
"type": "
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"head_branch": "feature/{ticket_key}",
|
|
23
|
-
"base_branch": "main",
|
|
24
|
-
"title": "{ticket_key}: Implementation"
|
|
25
|
-
},
|
|
26
|
-
"description": "Create a pull request",
|
|
27
|
-
"requires_approval": true
|
|
19
|
+
"type": "agent_task",
|
|
20
|
+
"instruction_file": "create-pr.md",
|
|
21
|
+
"description": "Create a pull request with a title derived from the commit subject"
|
|
28
22
|
}
|
|
29
23
|
]
|
|
30
24
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "review-ticket",
|
|
3
|
-
"description": "Review a ticket with two rounds of analysis (initial + second opinion), evaluate suggestions for accuracy, and produce a resolution
|
|
3
|
+
"description": "Review a ticket with two rounds of analysis (initial + second opinion), evaluate suggestions for accuracy, and produce a combined review-and-resolution document with decision trees.",
|
|
4
4
|
"variables": ["ticket_key", "docs_dir"],
|
|
5
5
|
"steps": [
|
|
6
6
|
{
|
|
@@ -36,13 +36,8 @@
|
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
"type": "agent_task",
|
|
39
|
-
"instruction_file": "evaluate-
|
|
40
|
-
"description": "Evaluate review
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"type": "agent_task",
|
|
44
|
-
"instruction_file": "recommend-ticket-resolutions.md",
|
|
45
|
-
"description": "Produce a resolution guide with decision trees and confidence-tagged recommendations"
|
|
39
|
+
"instruction_file": "evaluate-and-recommend.md",
|
|
40
|
+
"description": "Evaluate ticket-review findings against the codebase and produce the combined review-and-resolution document at {docs_dir}/review/{ticket_key}-review-and-resolution.md"
|
|
46
41
|
},
|
|
47
42
|
{
|
|
48
43
|
"type": "agent_task",
|