@bridge_gpt/mcp-server 0.2.39 → 0.2.42
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 +10 -10
- package/build/agent-capabilities/cli.js +2 -1
- package/build/agent-launchers/claude-executor-adapter.js +17 -4
- package/build/claude-user-config-doctor.js +42 -11
- package/build/cli-release.js +2 -1
- package/build/commands.generated.js +4 -4
- package/build/conduct-epic/bridge-client.js +354 -113
- package/build/conduct-epic/checkpoint-store.js +75 -2
- package/build/conduct-epic/cli.js +795 -109
- package/build/conduct-epic/cut-protocol.js +327 -0
- package/build/conduct-epic/pr-state.js +113 -24
- package/build/conduct-epic/spawn.js +14 -2
- package/build/conductor/bridge-api-client.js +27 -1
- package/build/conductor/cli.js +46 -1
- package/build/conductor/doctor.js +101 -16
- package/build/conductor/epic-reconcile.js +72 -19
- package/build/conductor/epic-runtime.js +15 -3
- package/build/conductor/errors.js +47 -0
- package/build/conductor/git-hooks.js +205 -11
- package/build/conductor/install-doctor.js +230 -1
- package/build/conductor/local-merge.js +130 -28
- package/build/conductor/tools.js +32 -3
- package/build/conductor/worker-ledger-cli.js +27 -1
- package/build/conductor-bin.js +15 -15
- package/build/credentials-cli.js +3 -2
- package/build/doctor.js +107 -41
- package/build/executor/cli.js +48 -1
- package/build/executor/env.js +21 -0
- package/build/executor/index-scope.js +39 -0
- package/build/executor/job-log-registry.js +69 -0
- package/build/executor/job-runner.js +148 -26
- package/build/executor/live-worker-registry.js +83 -0
- package/build/executor/observation.js +167 -6
- package/build/executor/platform.js +147 -3
- package/build/executor/process.js +58 -14
- package/build/executor/runner.js +235 -48
- package/build/executor/test-clock.js +3 -2
- package/build/index-scope-contract.js +96 -0
- package/build/index.js +153 -204
- package/build/init.js +83 -22
- package/build/install-bridge-conductor.js +323 -14
- package/build/install-bridge.js +202 -38
- package/build/install-doctor.js +23 -9
- package/build/install-reexec.js +2 -1
- package/build/launcher-config-inspection.js +83 -22
- package/build/mcp-host-config.js +331 -67
- package/build/mcp-host-targets.js +45 -21
- package/build/mcp-identity.js +92 -0
- package/build/mcp-install-state.js +94 -1
- package/build/mcp-invoke.js +2 -1
- package/build/mcp-provisioning.js +45 -12
- package/build/mcp-registration-doctor.js +35 -13
- package/build/mcp-server-invocation.js +4 -2
- package/build/merge-pull-request.js +208 -9
- package/build/pipelines.generated.js +3 -3
- package/build/plane/defaults.js +4 -1
- package/build/plane/preflight.js +81 -10
- package/build/plane/test-fakes.js +9 -1
- package/build/readme.generated.js +1 -1
- package/build/regression-check.js +3 -2
- package/build/review-tickets.js +8 -7
- package/build/run-unit-tests-launcher.js +74 -1
- package/build/schedule-run.js +3 -2
- package/build/setup-epic.js +453 -78
- package/build/sfcc/tool-wrapper.js +15 -0
- package/build/start-tickets-prereqs.js +11 -6
- package/build/start-tickets.js +91 -85
- package/build/update-check.js +3 -2
- package/build/upgrade-advice.js +2 -1
- package/build/upgrade-cli.js +50 -18
- package/build/version.generated.js +1 -1
- package/docs/CONDUCTOR.md +22 -0
- package/docs/install/mcp-tool-integrations.md +19 -3
- package/package.json +2 -2
|
@@ -179,15 +179,31 @@ by tier.
|
|
|
179
179
|
| Tool | Dependencies (class) |
|
|
180
180
|
|---|---|
|
|
181
181
|
| `create_pull_request` | VCS **[BLOCK]** (Tier-1) |
|
|
182
|
-
| `merge_pull_request` | VCS **[BLOCK]** (Tier-1; protected server-decided merge — see below) |
|
|
182
|
+
| `merge_pull_request` | VCS **[BLOCK]** (Tier-1; protected server-decided merge) + local `gh` login **[BLOCK]** (the merge executes here — see below) |
|
|
183
183
|
| `resolve_ci_checks` | VCS **[BLOCK]** (Tier-1) |
|
|
184
184
|
| `poll_ci_checks` | VCS **[BLOCK]** (Tier-1); also **hidden until `ci_check_config` is resolved** (needs a prior `resolve_ci_checks`) |
|
|
185
185
|
| `materialize_fresh_base` | VCS / git base ref **[BLOCK]** (Tier-1; materializes a pinned base tree) |
|
|
186
186
|
|
|
187
187
|
#### `merge_pull_request` — what the caller can observe
|
|
188
188
|
|
|
189
|
-
The tool holds no VCS credential and
|
|
190
|
-
server and
|
|
189
|
+
The tool holds no VCS credential and makes no merge decision of its own; it asks
|
|
190
|
+
the server, and the server decides. Since **BAPI-832** the tool does perform the
|
|
191
|
+
*write*, with the operator's `gh` login, because GitHub's merge endpoint needs
|
|
192
|
+
`contents: write` and the Bridge GPT App installation is `contents: read` — a
|
|
193
|
+
server-side merge simply cannot succeed here. Every server-side guard still runs
|
|
194
|
+
first, and the local path is reachable only from a live approval for that exact
|
|
195
|
+
pull request and head commit.
|
|
196
|
+
|
|
197
|
+
Constraints worth knowing before calling it:
|
|
198
|
+
|
|
199
|
+
- **A logged-in `gh` is required on the machine running the MCP server**, because
|
|
200
|
+
that is where the merge executes. Without one the tool refuses with
|
|
201
|
+
`local_gh_unavailable` or `local_gh_unauthenticated` and a `hint` naming the fix
|
|
202
|
+
(`gh auth login`); nothing is merged and the server-side lease is released. This
|
|
203
|
+
is a **BLOCK**, not a degrade: with no `gh`, no merge is possible at all.
|
|
204
|
+
`doctor` reports the same state under `local_merge`, so it is diagnosable
|
|
205
|
+
read-only before a run. Repositories configured `merge_execution: server` are
|
|
206
|
+
the exception — they need the App permission instead, and no local `gh`.
|
|
191
207
|
|
|
192
208
|
- **Only `merged: true` is success.** `dry_run`, `pending_approval`, and
|
|
193
209
|
`lease_held` are non-progress outcomes — nothing was merged, and repeating the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bridge_gpt/mcp-server",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.42",
|
|
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",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"test": "npm run test:normal && npm run test:module-mocks",
|
|
30
30
|
"test:normal": "node scripts/run-unit-tests.js normal",
|
|
31
31
|
"test:module-mocks": "node scripts/run-unit-tests.js module-mocks",
|
|
32
|
-
"test:integration": "node
|
|
32
|
+
"test:integration": "node scripts/run-integration-tests.js",
|
|
33
33
|
"test:smoke": "node --test build/integration/packaged-cli-smoke.test.js",
|
|
34
34
|
"canary:agent-capabilities": "npm run build && node scripts/agent-capabilities-canary.mjs",
|
|
35
35
|
"prepublishOnly": "node scripts/bundle-assets.js && npm run build && node scripts/verify-shebang.cjs"
|