@bridge_gpt/mcp-server 0.2.73 → 0.2.75
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/claude-executor-adapter.js +12 -0
- package/build/agent-launchers/prompt.js +9 -21
- package/build/agents.generated.js +4 -4
- package/build/authored-plan.js +542 -0
- package/build/bridge-config.js +7 -1
- package/build/bridge-permissions.js +11 -0
- package/build/command-provisioning.js +4 -3
- package/build/commands.generated.js +6 -6
- package/build/conductor/bridge-api-client.js +692 -47
- package/build/conductor/command-drift.js +1 -1
- package/build/conductor/declared-extras.js +335 -0
- package/build/conductor/doctor.js +2 -0
- package/build/conductor/driver-pass-output.js +104 -0
- package/build/conductor/driver-pass.js +571 -0
- package/build/conductor/epic-branch-ci-inspection.js +61 -16
- package/build/conductor/epic-implementer-cli.js +370 -93
- package/build/conductor/epic-server-sfcc-upload.js +1567 -0
- package/build/conductor/epic-server-sfcc.js +58 -80
- package/build/conductor/epic-server.js +57 -4
- package/build/conductor/gate-discovery.js +253 -13
- package/build/conductor/gate-settings-review.js +58 -25
- package/build/conductor/launch-plan.js +58 -12
- package/build/conductor/open-decision-phrases.js +50 -0
- package/build/conductor/prerequisite-inputs.js +181 -14
- package/build/connect-github-api.js +18 -0
- package/build/connect-github.js +35 -18
- package/build/credential-delivery.js +280 -0
- package/build/credential-launch-safety.js +142 -0
- package/build/credential-materialization.js +91 -16
- package/build/credential-references-node-deps.js +29 -0
- package/build/credential-references.js +1394 -0
- package/build/credential-references.test-fixtures.js +211 -0
- package/build/credential-scan-conventions.js +145 -0
- package/build/credential-scan.js +517 -0
- package/build/credential-store.js +50 -0
- package/build/credentials-cli.js +252 -3
- package/build/dependency-install-declarations.js +47 -1
- package/build/docs.generated.js +8 -1
- package/build/doctor.js +41 -0
- package/build/drive-epic.js +684 -49
- package/build/epic-branch-ci-summary.js +18 -1
- package/build/epic-capability-statement.js +71 -3
- package/build/epic-ci-workflow-drift.js +52 -13
- package/build/epic-ci-workflow-install.js +31 -6
- package/build/epic-ci-workflow-v3.js +273 -0
- package/build/epic-ci-workflow.js +129 -7
- package/build/epic-implementer-bin.js +288 -83
- 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 +102 -7
- package/build/epic-server-record.js +30 -15
- package/build/executor/completion-contract.js +24 -1
- package/build/executor/credential-delivery-step.js +168 -0
- package/build/executor/deps.js +3 -1
- package/build/executor/env.js +39 -1
- package/build/executor/epic-server-context.js +23 -7
- package/build/executor/gate-qualification-job.js +193 -23
- package/build/executor/gate-qualification-tests-ran.js +232 -0
- package/build/executor/guarded-fast-forward-push.js +13 -8
- package/build/executor/job-runner.js +167 -738
- package/build/executor/job-type-wrappers.js +734 -0
- package/build/executor/permissions.js +85 -3
- package/build/executor/preflight.js +6 -2
- package/build/executor/process-containment.js +8 -1
- package/build/executor/prompt-spec.js +37 -3
- package/build/executor/required-verification.js +28 -2
- package/build/executor/runner.js +4 -1
- 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-launch.js +4 -2
- package/build/generated/ticket-status.js +20 -0
- package/build/git-exclude-lock.js +187 -0
- package/build/index.js +589 -326
- package/build/install-bridge-conductor-answers.js +112 -22
- package/build/install-bridge-conductor-apply.js +38 -1
- package/build/install-bridge-conductor-assessment.js +482 -53
- package/build/install-bridge-conductor-compact.js +29 -2
- package/build/install-bridge-conductor-contracts.js +10 -1
- package/build/install-bridge-conductor-gate.js +379 -89
- package/build/install-bridge-conductor-setup.js +46 -8
- package/build/install-bridge-conductor-trial-report.js +170 -0
- package/build/install-bridge-conductor.js +925 -141
- package/build/install-bridge.js +88 -11
- package/build/install-doctor.js +38 -8
- package/build/install-sfcc-detection.js +120 -0
- package/build/install-sfcc-setup.js +185 -0
- package/build/mcp-grant-candidates.js +108 -96
- package/build/mcp-invoke.js +168 -4
- package/build/mcp-provisioning.js +21 -4
- package/build/mcp-server-invocation.js +13 -0
- package/build/merge-workflow-install.js +9 -1
- package/build/pipelines.generated.js +8 -7
- package/build/plan-generation.js +17 -0
- package/build/plane/status.js +8 -2
- package/build/printed-remedy-commands.js +59 -0
- package/build/project-root.js +40 -0
- package/build/readme.generated.js +1 -1
- package/build/repository-state-paths.js +5 -2
- package/build/repository-toolchains.js +16 -7
- package/build/scripts/saved-commands-config-field-driver.js +65 -0
- package/build/setup-epic.js +126 -16
- package/build/sfcc/credentials.js +3 -2
- package/build/sfcc/hostname.js +98 -2
- package/build/sfcc/tool-wrapper.js +6 -95
- package/build/start-tickets.js +193 -29
- package/build/test-support/executor-source-files.js +200 -0
- package/build/testing-config-client.js +25 -2
- package/build/third-party-mcp-targets.js +35 -4
- package/build/v2-readiness-requirements.js +5 -1
- package/build/version.generated.js +3 -3
- package/build/with-credentials.js +208 -0
- package/build/worker-guard-hook-bin.js +2 -2
- package/build/worktree-credential-delivery.js +340 -0
- package/docs/EPIC-IMPLEMENTER.md +4 -4
- package/docs/install/github-app.md +79 -92
- package/package.json +1 -1
- 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/build/doctor.js
CHANGED
|
@@ -47,6 +47,8 @@ import { CONDUCTOR_DEFAULT_BASE_URL, resolveConductorBridgeApiAccess } from "./c
|
|
|
47
47
|
import { validateHttpBaseUrl } from "./base-url.js";
|
|
48
48
|
import { getLiveRepositoryConductors, getParseDispatcherHealth, } from "./epic-shared/bridge-client.js";
|
|
49
49
|
import { resolveRequiredStartTicketsRepoName } from "./start-tickets-repo.js";
|
|
50
|
+
import { collectCredentialReferenceDiagnostic, formatCredentialReferenceDiagnosticReport, } from "./credential-references.js";
|
|
51
|
+
import { createNodeCredentialReferenceDeps } from "./credential-references-node-deps.js";
|
|
50
52
|
import { collectMcpGrantDiagnostic, formatMcpGrantDiagnosticReport, } from "./mcp-grant-doctor.js";
|
|
51
53
|
import { collectWorkerContainmentDiagnostic, formatWorkerContainmentDiagnosticReport, } from "./worker-containment-diagnostic.js";
|
|
52
54
|
import { BRIDGE_PACKAGE_NAME, describeLauncherReason, DUPLICATE_REGISTRATION_GUIDANCE, inspectLauncherConfigs, isExactVersion, isPrerequisiteFailure, parseLauncherPin as parseSharedLauncherPin, } from "./launcher-config-inspection.js";
|
|
@@ -180,6 +182,14 @@ export function getDoctorUsage() {
|
|
|
180
182
|
"never prints a command, argument, or secret, writes nothing, and never",
|
|
181
183
|
"changes the exit code.",
|
|
182
184
|
"",
|
|
185
|
+
"It also includes an advisory 'Worker credential references' section: whether",
|
|
186
|
+
"this repository has recorded credential references (present, absent, or",
|
|
187
|
+
"unusable) and, for each, its name, level, source location, consumers, and",
|
|
188
|
+
"whether the source is present, missing, or unreadable, with a closed reason",
|
|
189
|
+
"(source_missing, key_missing, unreadable, parse_error). Production entries are",
|
|
190
|
+
"inspected but marked as excluded from delivery. It never prints a credential",
|
|
191
|
+
"value, writes nothing, and never changes the exit code.",
|
|
192
|
+
"",
|
|
183
193
|
"It also includes an advisory '/drive-epic-run permission rules' section",
|
|
184
194
|
"whether the project permissions.allow rules and the optional user",
|
|
185
195
|
"autoMode entries (the run's sandbox description, added only by you running",
|
|
@@ -2283,6 +2293,37 @@ export async function runDoctorCli(argv, overrides = {}) {
|
|
|
2283
2293
|
/* the grant section is advisory; never block the doctor report */
|
|
2284
2294
|
}
|
|
2285
2295
|
}
|
|
2296
|
+
// BAPI-1646 worker credential references section. Read-only (the record and the
|
|
2297
|
+
// approved source paths), advisory, never the exit code, never a value.
|
|
2298
|
+
if (overrides.credentialReferences !== false) {
|
|
2299
|
+
try {
|
|
2300
|
+
const refOverrides = overrides.credentialReferences ?? {};
|
|
2301
|
+
const injected = deps;
|
|
2302
|
+
const defaults = createNodeCredentialReferenceDeps(refOverrides.env ?? deps.env);
|
|
2303
|
+
const refReadFile = refOverrides.readFile ?? injected.readFile ?? defaults.readFile;
|
|
2304
|
+
let refRepoName = refOverrides.repoName ?? null;
|
|
2305
|
+
if (refOverrides.repoName === undefined) {
|
|
2306
|
+
try {
|
|
2307
|
+
const resolved = await resolveRequiredStartTicketsRepoName({ env: deps.env, cwd: deps.cwd, readFile: refReadFile });
|
|
2308
|
+
refRepoName = resolved.ok ? resolved.repoName : null;
|
|
2309
|
+
}
|
|
2310
|
+
catch {
|
|
2311
|
+
refRepoName = null;
|
|
2312
|
+
}
|
|
2313
|
+
}
|
|
2314
|
+
log(formatCredentialReferenceDiagnosticReport(await collectCredentialReferenceDiagnostic({
|
|
2315
|
+
...defaults,
|
|
2316
|
+
...refOverrides,
|
|
2317
|
+
env: refOverrides.env ?? deps.env,
|
|
2318
|
+
homedir: refOverrides.homedir ?? injected.homedir ?? defaults.homedir,
|
|
2319
|
+
readFile: refReadFile,
|
|
2320
|
+
repoName: refRepoName,
|
|
2321
|
+
})));
|
|
2322
|
+
}
|
|
2323
|
+
catch {
|
|
2324
|
+
/* the credential-reference section is advisory; never block the doctor report */
|
|
2325
|
+
}
|
|
2326
|
+
}
|
|
2286
2327
|
// Worker containment advisory section (BAPI-1019/A.7). Placed beside the other
|
|
2287
2328
|
// advisory sections and, uniquely, issuing NO probe of any kind — no command,
|
|
2288
2329
|
// no file read, no network call. That is what keeps doctor's "an unsupported
|