@bridge_gpt/mcp-server 0.2.55 → 0.2.57
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 +26 -10
- package/build/agent-capabilities/types.js +4 -0
- package/build/agent-registry.js +20 -3
- package/build/codex-bridge-profile.js +151 -0
- package/build/codex-home.js +7 -0
- package/build/codex-launch-scope.js +54 -0
- package/build/codex-skill-adapter.js +8 -5
- package/build/command-host.js +9 -0
- package/build/command-provisioning.js +35 -4
- package/build/commands.generated.js +5 -5
- package/build/doctor.js +9 -1
- package/build/epic-implementer-bin.js +3 -3
- package/build/index.js +121 -116
- package/build/init.js +2 -1
- package/build/install-bridge.js +69 -10
- package/build/mcp-host-config.js +4 -0
- package/build/mcp-host-targets.js +21 -11
- package/build/mcp-provisioning.js +1 -1
- package/build/mcp-registration-doctor.js +1 -1
- package/build/readme.generated.js +1 -1
- package/build/review-tickets.js +50 -35
- package/build/start-tickets.js +335 -58
- package/build/version.generated.js +3 -3
- package/package.json +1 -1
package/build/doctor.js
CHANGED
|
@@ -21,6 +21,7 @@ import path from "path";
|
|
|
21
21
|
import { createDefaultStartTicketsDeps } from "./start-tickets.js";
|
|
22
22
|
import { VERSION, BUILD_COMMIT } from "./version.generated.js";
|
|
23
23
|
import { collectInstallStatusChecks, formatInstallStatusReport, formatInstallStatusFallbackReport, resolveInstallDoctorTarget, } from "./install-doctor.js";
|
|
24
|
+
import { codexHome, inspectBridgeCodexProfile } from "./codex-bridge-profile.js";
|
|
24
25
|
import { inspectExecutorAgentAdapter, inspectionForFailedResolution, } from "./agent-launchers/executor-adapter-inspection.js";
|
|
25
26
|
import { resolveExecutorAgentAdapter } from "./agent-launchers/executor-adapter-registry.js";
|
|
26
27
|
import { parseDefaultOnEnvFlag } from "./env-flags.js";
|
|
@@ -69,7 +70,7 @@ export function getDoctorUsage() {
|
|
|
69
70
|
"start the MCP server.",
|
|
70
71
|
"",
|
|
71
72
|
"Flags:",
|
|
72
|
-
" --agent claude|cursor-agent
|
|
73
|
+
" --agent claude|cursor-agent|codex Agent to include in the prerequisite check (default: claude)",
|
|
73
74
|
" --stale-branch KEY Add a ticket to the read-only stale-ticket-branch check (repeatable); requires --stale-branch-base",
|
|
74
75
|
" --stale-branch-base REF The base ref that check measures ancestry against, e.g. epic/BAPI-902 (required with --stale-branch; never defaulted)",
|
|
75
76
|
" --branch KEY=BRANCH Diagnose BRANCH instead of feature/KEY for that ticket (repeatable); same override rule start-tickets uses",
|
|
@@ -1742,6 +1743,13 @@ export async function runDoctorCli(argv, overrides = {}) {
|
|
|
1742
1743
|
log(formatInstallStatusFallbackReport());
|
|
1743
1744
|
}
|
|
1744
1745
|
}
|
|
1746
|
+
if (parsed.options.agentName === "codex") {
|
|
1747
|
+
const readCodexFile = deps.readFile ?? ((p) => readFile(p, "utf-8"));
|
|
1748
|
+
const profile = await inspectBridgeCodexProfile(codexHome(deps.env), readCodexFile);
|
|
1749
|
+
log(profile.status === "active"
|
|
1750
|
+
? "Codex Bridge approval profile installed; spawned workers use --profile bridge."
|
|
1751
|
+
: `Codex Bridge approval profile ${profile.status}; spawned workers use existing Codex approvals. Run install --tools=codex --codex-profile=on to opt in.`);
|
|
1752
|
+
}
|
|
1745
1753
|
log(formatDoctorPrereqSection(deps.platform, collection));
|
|
1746
1754
|
// Executor-adapter section (BAPI-781). Advisory with respect to the EXIT CODE
|
|
1747
1755
|
// — an unusable adapter is reported loudly but does not change doctor's
|