@bridge_gpt/mcp-server 0.2.74 → 0.2.76
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 +14 -7
- package/build/agent-launchers/prompt.js +9 -21
- package/build/agents.generated.js +6 -6
- package/build/authored-plan.js +542 -0
- package/build/bridge-permissions.js +8 -0
- package/build/codex-auto-recovery.js +25 -7
- package/build/commands.generated.js +7 -7
- package/build/conductor/bridge-api-client.js +807 -52
- package/build/conductor/declare-blocked.js +4 -0
- package/build/conductor/driver-pass.js +8 -0
- package/build/conductor/epic-implementer-cli.js +341 -96
- package/build/conductor/epic-server-journal.js +13 -0
- package/build/conductor/epic-server-recipe.js +15 -5
- package/build/conductor/epic-server-runtime.js +163 -45
- package/build/conductor/epic-server.js +13 -6
- package/build/conductor/gate-discovery.js +209 -9
- package/build/conductor/gate-settings-review.js +7 -11
- package/build/conductor/install-doctor.js +30 -2
- package/build/conductor/launch-plan.js +58 -12
- package/build/conductor/local-merge.js +54 -12
- package/build/conductor/open-decision-phrases.js +50 -0
- package/build/conductor/pr-ci-producer.js +12 -3
- package/build/conductor/prerequisite-inputs.js +181 -14
- package/build/conductor/readiness-sections.js +46 -13
- package/build/conductor/readiness.js +3 -40
- package/build/conductor/recovery-cli.js +12 -12
- package/build/conductor/repository-workflow-remedy.js +147 -7
- package/build/conductor/ui-readiness.js +224 -0
- package/build/conductor/wait-run-attention.js +9 -4
- package/build/conductor/wait-run-cli.js +9 -2
- package/build/connect-github-api.js +18 -0
- package/build/connect-github.js +35 -18
- package/build/docs.generated.js +3 -3
- package/build/drive-epic.js +787 -37
- package/build/epic-ci-workflow.js +3 -2
- package/build/epic-implementer-bin.js +200 -66
- package/build/epic-implementer-bundle-cli.js +61 -0
- package/build/epic-implementer-claude-hook-bin.js +1 -1
- package/build/epic-implementer-env.js +3 -4
- package/build/epic-integration-pr.js +5 -2
- package/build/epic-launch-context.js +8 -1
- package/build/epic-shared/cut-protocol.js +55 -3
- package/build/executor/completion-contract.js +24 -1
- package/build/executor/failure-reason-codes.js +2 -0
- package/build/executor/gate-qualification-job.js +193 -23
- package/build/executor/gate-qualification-tests-ran.js +232 -0
- package/build/executor/integration-job.js +56 -2
- package/build/executor/job-runner.js +13 -723
- package/build/executor/job-type-wrappers.js +734 -0
- package/build/executor/merge-job.js +45 -1
- package/build/executor/permissions.js +187 -2
- package/build/executor/preflight.js +6 -2
- package/build/executor/process-containment.js +8 -1
- package/build/executor/provider-checks.js +28 -5
- package/build/executor/reconcile-overlap-job.js +70 -17
- package/build/executor/required-verification.js +28 -2
- package/build/executor/required-work-ledger.js +7 -2
- package/build/executor/resume-pre-spawn.js +32 -8
- package/build/executor/runner.js +30 -5
- package/build/executor/types.js +9 -0
- package/build/executor/worker-database.js +6 -1
- package/build/executor/worker-guard-hook.js +24 -2
- package/build/executor/worktree.js +12 -1
- package/build/generated/ticket-status.js +20 -0
- package/build/index.js +627 -551
- package/build/init.js +16 -0
- package/build/install-bridge-conductor-answers.js +32 -1
- package/build/install-bridge-conductor-apply.js +21 -3
- package/build/install-bridge-conductor-assessment.js +185 -12
- package/build/install-bridge-conductor-compact.js +2 -0
- package/build/install-bridge-conductor-contracts.js +9 -1
- package/build/install-bridge-conductor-gate.js +257 -80
- package/build/install-bridge-conductor-setup.js +106 -6
- package/build/install-bridge-conductor-trial-report.js +170 -0
- package/build/install-bridge-conductor.js +740 -124
- package/build/mcp-host-config.js +54 -37
- package/build/phase-context-git-probe.js +16 -0
- package/build/pipelines.generated.js +15 -15
- package/build/plan-execution-ledger.js +27 -0
- package/build/plan-generation.js +17 -0
- package/build/plane/plane-freshness.js +43 -26
- package/build/printed-remedy-commands.js +62 -0
- package/build/readme.generated.js +1 -1
- package/build/repository-toolchains.js +11 -5
- package/build/scripts/saved-commands-config-field-driver.js +65 -0
- package/build/secret-redaction.js +3 -0
- package/build/setup-epic.js +51 -9
- package/build/test-support/create-preview-world.js +232 -0
- package/build/test-support/executor-source-files.js +1 -1
- package/build/ticket-delivery.js +65 -0
- package/build/v2-readiness-requirements.js +13 -4
- package/build/version.generated.js +3 -3
- package/build/worker-guard-hook-bin.js +2 -2
- package/build/worktree-core.js +51 -7
- package/docs/EPIC-IMPLEMENTER.md +83 -4
- package/docs/epic-implementer/getting-started.md +1 -1
- package/docs/install/github-app.md +79 -92
- package/package.json +1 -1
- package/pipelines/implement-ticket.json +2 -2
- package/build/conductor/epic-reconcile.js +0 -603
- package/build/conductor/epic-runtime.js +0 -2020
- package/build/conductor/epic-state.js +0 -774
package/README.md
CHANGED
|
@@ -412,7 +412,7 @@ later boot.
|
|
|
412
412
|
"mcpServers": {
|
|
413
413
|
"bridge": {
|
|
414
414
|
"command": "npx",
|
|
415
|
-
"args": ["-y", "--prefer-offline", "@bridge_gpt/mcp-server@0.2.
|
|
415
|
+
"args": ["-y", "--prefer-offline", "@bridge_gpt/mcp-server@0.2.76", "serve"],
|
|
416
416
|
"env": {
|
|
417
417
|
"BAPI_BASE_URL": "https://bridgegpt-api.com",
|
|
418
418
|
"BAPI_REPO_NAME": "your-repo",
|
|
@@ -434,7 +434,7 @@ later boot.
|
|
|
434
434
|
"bridge": {
|
|
435
435
|
"type": "stdio",
|
|
436
436
|
"command": "npx",
|
|
437
|
-
"args": ["-y", "--prefer-offline", "@bridge_gpt/mcp-server@0.2.
|
|
437
|
+
"args": ["-y", "--prefer-offline", "@bridge_gpt/mcp-server@0.2.76", "serve"],
|
|
438
438
|
"env": {
|
|
439
439
|
"BAPI_BASE_URL": "https://bridgegpt-api.com",
|
|
440
440
|
"BAPI_REPO_NAME": "your-repo",
|
|
@@ -456,7 +456,7 @@ later boot.
|
|
|
456
456
|
"bridge": {
|
|
457
457
|
"type": "stdio",
|
|
458
458
|
"command": "npx",
|
|
459
|
-
"args": ["-y", "--prefer-offline", "@bridge_gpt/mcp-server@0.2.
|
|
459
|
+
"args": ["-y", "--prefer-offline", "@bridge_gpt/mcp-server@0.2.76", "serve"],
|
|
460
460
|
"env": {
|
|
461
461
|
"BAPI_BASE_URL": "https://bridgegpt-api.com",
|
|
462
462
|
"BAPI_REPO_NAME": "your-repo",
|
|
@@ -479,7 +479,7 @@ Windsurf only supports global MCP configuration.
|
|
|
479
479
|
"mcpServers": {
|
|
480
480
|
"bridge": {
|
|
481
481
|
"command": "npx",
|
|
482
|
-
"args": ["-y", "--prefer-offline", "@bridge_gpt/mcp-server@0.2.
|
|
482
|
+
"args": ["-y", "--prefer-offline", "@bridge_gpt/mcp-server@0.2.76", "serve"],
|
|
483
483
|
"env": {
|
|
484
484
|
"BAPI_BASE_URL": "https://bridgegpt-api.com",
|
|
485
485
|
"BAPI_REPO_NAME": "your-repo",
|
|
@@ -498,7 +498,7 @@ Windsurf only supports global MCP configuration.
|
|
|
498
498
|
```toml
|
|
499
499
|
[mcp_servers.bridge]
|
|
500
500
|
command = "npx"
|
|
501
|
-
args = ["-y", "--prefer-offline", "@bridge_gpt/mcp-server@0.2.
|
|
501
|
+
args = ["-y", "--prefer-offline", "@bridge_gpt/mcp-server@0.2.76", "serve"]
|
|
502
502
|
|
|
503
503
|
[mcp_servers.bridge.env]
|
|
504
504
|
BAPI_BASE_URL = "https://bridgegpt-api.com"
|
|
@@ -1306,7 +1306,14 @@ You are never asked to choose. If readiness is not green, it names each missing
|
|
|
1306
1306
|
|
|
1307
1307
|
**Choosing the server.** With no flags, `drive-epic` targets production and uses the stored `bapi:<repo>` key when there is one. `--base-url <url>` (or `BAPI_BASE_URL`) names another server. A stored key approved for a different endpoint is never sent.
|
|
1308
1308
|
|
|
1309
|
-
**Finding the plan from the epic key.** `--plan-file` is optional
|
|
1309
|
+
**Finding the plan from the epic key (server first).** `--plan-file` is optional, and a supplied `--plan-file` always wins: nothing else is read. Without it, `drive-epic` first asks the Bridge server for the epic's stored plan, once per invocation:
|
|
1310
|
+
|
|
1311
|
+
- **Stored on the server** — that plan is used, on any machine, with no local plan folder. The output names its source (`server`), authored version, hash, who saved it, and when. A local plan that differs is reported as `local_plan_ignored` and not used.
|
|
1312
|
+
- **Definitely not stored** — local discovery runs as before: `drive-epic` searches `{docs_dir}/epic-plans/*/epic-plan.meta.json` for a file whose `epic_key` is exactly this epic (`docs_dir` is `BAPI_DOCS_DIR`, else `docs/tmp`, resolved against the Git top level; an absolute `BAPI_DOCS_DIR` is used as given). Exactly one match with a sibling `epic-plan.dag.json` is used, and its path is printed before anything is created. The first real launch that creates a run from it saves it to the server and runs the server's copy; if that save fails, the launch stops with `authored_plan_upload_failed` and the retry command. A preview never saves. Zero matches, two or more, or an unusable meta file **stop** with the paths found and create nothing (or, with no plan at all, `drive-epic` builds one from the epic's tickets, which is never saved to the server). A folder name, a child ticket key, or `sibling-ticket-manifest.json` is never used to guess.
|
|
1313
|
+
- **The server has no plan storage yet** (an older server) — local discovery runs as before, with a one-line notice.
|
|
1314
|
+
- **The server could not answer** — `drive-epic` stops with `authored_plan_unknown` when it would create a run, and never falls back to a local or generated plan. Attaching to a live run is unaffected.
|
|
1315
|
+
|
|
1316
|
+
Save a plan by hand with `epic-plan save --epic-key <KEY> [--plan-dir <dir>]`. `/define-tickets` and `emit-epic-implementer-bundle finalize` save it for you.
|
|
1310
1317
|
|
|
1311
1318
|
The meta file is `{"epic_key": "<KEY>"}`, written beside the DAG by `/define-tickets` and by `emit-epic-implementer-bundle finalize` (reported as `meta_path` in `--json`). It is separate from `epic-plan.dag.json` on purpose: the DAG is sent to the server, which rejects unknown fields. A plan finalized before the meta file existed has none, so pass its DAG with `--plan-file`.
|
|
1312
1319
|
|
|
@@ -1413,7 +1420,7 @@ The full reference — how the engine works, the CI gate, `epic-implementer inst
|
|
|
1413
1420
|
|
|
1414
1421
|
Two retired names remain as failing pointers: the old event-ledger CLI name and `emit-conductor-bundle`. Both print the new name (`epic-implementer`, `emit-epic-implementer-bundle`) and exit.
|
|
1415
1422
|
|
|
1416
|
-
> The v1 `epic-
|
|
1423
|
+
> The v1 `epic-tick` command is **retired** — the CLI refuses it as an unknown command. There is nothing to schedule locally, and `epic-implementer doctor` flags any epic-tick schedule left over from an earlier release so you can cancel it.
|
|
1417
1424
|
|
|
1418
1425
|
<!-- BEGIN GENERATED: merge-workflow-install (managed by mcp_server/scripts/sync-readme-merge-workflow.js — DO NOT EDIT BY HAND) -->
|
|
1419
1426
|
### `install epic-implementer --merge-workflow`
|
|
@@ -29,18 +29,13 @@ function schemaSupportsAutoFlag(schema) {
|
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* Compute the augmented argv tokens the launched run delegates to the command:
|
|
32
|
-
* the normalized `input.args`, plus
|
|
33
|
-
*
|
|
32
|
+
* the normalized `input.args`, plus `--auto` when auto-approve is set and the
|
|
33
|
+
* command's schema declares a boolean `--auto` flag. It is never duplicated if
|
|
34
|
+
* already present in `input.args`.
|
|
34
35
|
*
|
|
35
|
-
* `--scheduled-at` is
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* late-fire gate already embeds the scheduled time — so injecting `--scheduled-at`
|
|
39
|
-
* into their argv would break an otherwise launchable command for no benefit.
|
|
40
|
-
*
|
|
41
|
-
* `--auto` is appended when auto-approve is set AND the command supports it (its
|
|
42
|
-
* schema declares a boolean `--auto` flag, or it is `epic-tick`).
|
|
43
|
-
* It is never duplicated if already present in `input.args`.
|
|
36
|
+
* No `--scheduled-at` is ever injected: the shared late-fire gate already embeds
|
|
37
|
+
* the scheduled time. A `--scheduled-at` the caller put in `input.args` passes
|
|
38
|
+
* through unchanged.
|
|
44
39
|
*
|
|
45
40
|
* This is the SINGLE source of the delegated argv: both the rendered target
|
|
46
41
|
* command line and the `$ARGUMENTS` body substitution derive from it, so the body
|
|
@@ -49,14 +44,7 @@ function schemaSupportsAutoFlag(schema) {
|
|
|
49
44
|
*/
|
|
50
45
|
function buildAugmentedArgs(input) {
|
|
51
46
|
const args = [...input.args];
|
|
52
|
-
|
|
53
|
-
// epic-tick already accepts --scheduled-at (parseEpicTickArgs, cli.ts) so it
|
|
54
|
-
// receives the scheduled time as a structured arg for the late-fire decision,
|
|
55
|
-
// not just via the embedded gate text.
|
|
56
|
-
if (input.commandName === "epic-tick") {
|
|
57
|
-
args.push("--scheduled-at", input.runAtIso);
|
|
58
|
-
}
|
|
59
|
-
const supportsAuto = schemaSupportsAutoFlag(input.schema) || input.commandName === "epic-tick";
|
|
47
|
+
const supportsAuto = schemaSupportsAutoFlag(input.schema);
|
|
60
48
|
const alreadyHasAuto = input.args.includes("--auto");
|
|
61
49
|
if (input.autoApprove && supportsAuto && !alreadyHasAuto) {
|
|
62
50
|
args.push("--auto");
|
|
@@ -105,8 +93,8 @@ function replaceArgumentsPlaceholder(body, argString) {
|
|
|
105
93
|
export function renderScheduledPrompt(input) {
|
|
106
94
|
const gate = renderLateFireGate(input.scheduleId, input.runAtIso, input.autoApprove);
|
|
107
95
|
const targetCommandLine = buildTargetCommandLine(input);
|
|
108
|
-
// `$ARGUMENTS` must match what the command line shows — including
|
|
109
|
-
//
|
|
96
|
+
// `$ARGUMENTS` must match what the command line shows — including an
|
|
97
|
+
// appended `--auto` — so a body that re-parses `$ARGUMENTS` (e.g.
|
|
110
98
|
// review-ticket reading `--auto`) agrees with the rendered command line.
|
|
111
99
|
const argString = buildAugmentedArgs(input).map(quotePromptToken).join(" ");
|
|
112
100
|
const body = replaceArgumentsPlaceholder(input.commandBody, argString);
|