@bridge_gpt/mcp-server 0.2.14 → 0.2.18
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 +2 -2
- package/build/agents.generated.js +19 -1
- package/build/commands.generated.js +6 -5
- package/build/conductor/bridge-api-client.js +191 -11
- package/build/conductor/claude-hook.js +22 -4
- package/build/conductor/cli.js +11 -13
- package/build/conductor/done-gate.js +5 -0
- package/build/conductor/epic-reconcile.js +62 -13
- package/build/conductor/epic-runtime.js +447 -35
- package/build/conductor/epic-state.js +517 -63
- package/build/conductor/errors.js +41 -0
- package/build/conductor/event-accessors.js +234 -0
- package/build/conductor/file-scope-guard.js +201 -0
- package/build/conductor/github-mergeability.js +85 -0
- package/build/conductor/local-merge.js +47 -1
- package/build/conductor/merge-identity.js +41 -0
- package/build/conductor/merge-ledger.js +13 -68
- package/build/conductor/plan.js +12 -2
- package/build/conductor/pr-discovery.js +11 -1
- package/build/conductor/supervisor-config.js +4 -39
- package/build/conductor/supervisor-escalation.js +10 -26
- package/build/conductor/supervisor-ledger.js +5 -12
- package/build/conductor/supervisor-message-relay.js +2 -5
- package/build/conductor/supervisor-notification.js +1 -1
- package/build/conductor/supervisor-runtime.js +12 -54
- package/build/conductor/supervisor-state.js +4 -18
- package/build/conductor/supervisor-types.js +2 -2
- package/build/conductor/taxonomy.js +4 -0
- package/build/conductor-bin.js +2333 -666
- package/build/conductor-claude-hook-bin.js +4 -2
- package/build/doctor.js +32 -0
- package/build/index.js +9985 -7579
- package/build/install-bridge.js +25 -8
- package/build/install-doctor.js +387 -0
- package/build/pipelines.generated.js +30 -5
- package/build/readme.generated.js +1 -1
- package/build/regression-check.js +872 -0
- package/build/review-tickets.js +175 -21
- package/build/sfcc/permissions.js +13 -1
- package/build/sfcc/reads-custom-object-def.js +56 -39
- package/build/sfcc/register.js +1 -1
- package/build/sfcc/tool-wrapper.js +5 -1
- package/build/start-tickets-conductor.js +22 -6
- package/build/start-tickets-prereqs.js +73 -0
- package/build/start-tickets.js +122 -22
- package/build/version.generated.js +1 -1
- package/package.json +5 -5
- package/pipelines/review-ticket.json +24 -2
- package/public/css/main.min.css +3272 -1
- package/public/css/main.min.css.map +1 -1
- package/smoke-test/SMOKE-TEST.md +4 -2
|
@@ -22,10 +22,12 @@ function mapClaudeHookEventToSemanticType(eventName) {
|
|
|
22
22
|
switch (eventName) {
|
|
23
23
|
case "SessionStart":
|
|
24
24
|
return "run.started";
|
|
25
|
-
case "
|
|
25
|
+
case "SessionEnd":
|
|
26
26
|
return "run.stopped";
|
|
27
|
+
case "Stop":
|
|
28
|
+
return null;
|
|
27
29
|
case "SubagentStop":
|
|
28
|
-
return
|
|
30
|
+
return null;
|
|
29
31
|
case "Notification":
|
|
30
32
|
return "agent.notification";
|
|
31
33
|
case "PreToolUse":
|
package/build/doctor.js
CHANGED
|
@@ -20,6 +20,7 @@ import os from "os";
|
|
|
20
20
|
import path from "path";
|
|
21
21
|
import { createDefaultStartTicketsDeps } from "./start-tickets.js";
|
|
22
22
|
import { VERSION } from "./version.generated.js";
|
|
23
|
+
import { collectInstallStatusChecks, formatInstallStatusReport, } from "./install-doctor.js";
|
|
23
24
|
import { DEFAULT_AGENT_NAME, resolveAgentSpec, isAgentName, formatValidAgentNames, } from "./agent-registry.js";
|
|
24
25
|
import { getDoctorPrereqDescriptors, probePrerequisite, } from "./start-tickets-prereqs.js";
|
|
25
26
|
import { resolveProfiles } from "./mcp-profile.js";
|
|
@@ -45,6 +46,11 @@ export function getDoctorUsage() {
|
|
|
45
46
|
"migrate a credential, use /install-bridge or the `credentials` subcommand —",
|
|
46
47
|
"doctor stays strictly read-only.",
|
|
47
48
|
"",
|
|
49
|
+
"The report also includes an advisory 'Install status' section (easy-install",
|
|
50
|
+
"done criteria): repo identity, credential resolution, server connectivity,",
|
|
51
|
+
"bootstrap-field completeness, and repository-indexing state. It performs",
|
|
52
|
+
"read-only GETs only and never affects the exit code.",
|
|
53
|
+
"",
|
|
48
54
|
"Exit code: 0 when all required prerequisites are present, non-zero otherwise.",
|
|
49
55
|
].join("\n");
|
|
50
56
|
}
|
|
@@ -389,6 +395,32 @@ export async function runDoctorCli(argv, overrides = {}) {
|
|
|
389
395
|
catch {
|
|
390
396
|
/* launcher-cache diagnostics are advisory; never block the doctor report */
|
|
391
397
|
}
|
|
398
|
+
// Advisory install-status section (easy-install done criteria). Read-only GETs
|
|
399
|
+
// only; any failure degrades to WARN/SKIP lines inside the section, and any
|
|
400
|
+
// unexpected throw is swallowed — the exit code is never affected.
|
|
401
|
+
if (overrides.installStatus !== false) {
|
|
402
|
+
try {
|
|
403
|
+
// Reuse fs deps injected on `deps` (doctor's credential probes place them
|
|
404
|
+
// there) so tests that fake the filesystem stay hermetic here too.
|
|
405
|
+
const injectedFs = deps;
|
|
406
|
+
const installDeps = {
|
|
407
|
+
env: overrides.installStatus?.env ?? deps.env,
|
|
408
|
+
cwd: overrides.installStatus?.cwd ?? deps.cwd,
|
|
409
|
+
platform: overrides.installStatus?.platform ?? deps.platform,
|
|
410
|
+
homedir: overrides.installStatus?.homedir ?? injectedFs.homedir ?? os.homedir,
|
|
411
|
+
readFile: overrides.installStatus?.readFile ??
|
|
412
|
+
injectedFs.readFile ??
|
|
413
|
+
((p) => readFile(p, "utf-8")),
|
|
414
|
+
stat: overrides.installStatus?.stat ?? injectedFs.stat ?? ((p) => stat(p)),
|
|
415
|
+
fetch: overrides.installStatus?.fetch ?? ((...args) => fetch(...args)),
|
|
416
|
+
};
|
|
417
|
+
const checks = await collectInstallStatusChecks(installDeps);
|
|
418
|
+
log(formatInstallStatusReport(checks));
|
|
419
|
+
}
|
|
420
|
+
catch {
|
|
421
|
+
/* install-status diagnostics are advisory; never block the doctor report */
|
|
422
|
+
}
|
|
423
|
+
}
|
|
392
424
|
if (!collection.ok)
|
|
393
425
|
return 1;
|
|
394
426
|
return collection.results.some((r) => !r.found) ? 1 : 0;
|