@bridge_gpt/mcp-server 0.2.50 → 0.2.52
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 +24 -8
- package/build/agent-capabilities/probe-context.js +15 -7
- package/build/agent-capabilities/probes.js +42 -6
- package/build/agent-launchers/claude-executor-adapter.js +98 -14
- package/build/commands.generated.js +1 -1
- package/build/conduct-epic/bridge-client.js +115 -1
- package/build/conduct-epic/cli.js +351 -33
- package/build/conduct-epic/cut-protocol.js +65 -0
- package/build/conductor/bridge-api-client.js +171 -5
- package/build/conductor/deny-enforcement-preflight.js +107 -10
- package/build/conductor/local-merge.js +170 -11
- package/build/conductor-bin.js +2 -2
- package/build/connect-bitbucket-api.js +370 -0
- package/build/connect-bitbucket.js +437 -0
- package/build/docs.generated.js +1 -1
- package/build/doctor.js +230 -1
- package/build/drive-epic.js +423 -11
- package/build/env-file-link.js +164 -0
- package/build/epic-integration-pr.js +290 -0
- package/build/executor/cli.js +41 -6
- package/build/executor/deps.js +5 -1
- package/build/executor/env-file-guard.js +113 -0
- package/build/executor/env.js +78 -1
- package/build/executor/heartbeat.js +9 -0
- package/build/executor/http-client.js +90 -22
- package/build/executor/job-errors.js +43 -2
- package/build/executor/job-runner.js +137 -29
- package/build/executor/merge-job.js +102 -6
- package/build/executor/permissions.js +106 -0
- package/build/executor/preflight.js +38 -13
- package/build/executor/resume-pre-spawn.js +2 -1
- package/build/executor/runner.js +175 -4
- package/build/executor/service-unit.js +15 -0
- package/build/executor/terminal-mutation.js +22 -1
- package/build/executor/types.js +86 -0
- package/build/executor/worker-command.js +21 -5
- package/build/executor/worker-guard-hook.js +939 -0
- package/build/executor/worker-log.js +56 -0
- package/build/executor/worktree.js +11 -0
- package/build/git-reachability.js +147 -0
- package/build/index.js +535 -95
- package/build/install-bridge.js +95 -0
- package/build/pipelines.generated.js +10 -2
- package/build/plan-epic-conductor-eligibility.js +213 -0
- package/build/plane/cli.js +78 -15
- package/build/plane/defaults.js +165 -0
- package/build/plane/manifest.js +63 -8
- package/build/plane/member-logs.js +6 -0
- package/build/plane/member-roster.js +195 -11
- package/build/plane/preflight.js +43 -0
- package/build/plane/shutdown.js +25 -3
- package/build/plane/status.js +11 -0
- package/build/plane/supervisor.js +343 -14
- package/build/plane/test-fakes.js +43 -0
- package/build/plane/types.js +82 -11
- package/build/pr-base-contract.js +20 -0
- package/build/readme.generated.js +1 -1
- package/build/review-synthesis-config.js +60 -0
- package/build/scripts/executor-protocol-contract-driver.js +311 -0
- package/build/setup-epic.js +592 -139
- package/build/sfcc/log-query.js +2 -1
- package/build/sfcc/reads-custom-object-def.js +10 -13
- package/build/sfcc/reads-site-preference.js +5 -5
- package/build/sfcc/reads-system-object.js +4 -4
- package/build/sfcc/writes-custom-object-def.js +7 -7
- package/build/sfcc/writes-site-preference.js +4 -3
- package/build/sfcc/writes-system-object.js +7 -6
- package/build/start-tickets-conductor.js +11 -2
- package/build/start-tickets.js +69 -2
- package/build/version.generated.js +3 -3
- package/build/worker-containment-diagnostic.js +97 -0
- package/build/worker-guard-hook-bin.js +6 -0
- package/docs/CONDUCTOR.md +27 -0
- package/docs/install/mcp-tool-integrations.md +3 -2
- package/package.json +5 -3
- package/pipelines/plan-epic.json +5 -0
|
@@ -89,17 +89,33 @@ export function resolveExecutorPrompt(job) {
|
|
|
89
89
|
error: `no usable prompt for job_type '${job.job_type}' (no payload.prompt and no ticket_key)`,
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
|
-
/**
|
|
93
|
-
|
|
92
|
+
/**
|
|
93
|
+
* The ratified default (BAPI-1020).
|
|
94
|
+
*
|
|
95
|
+
* `auto` runs the worker under Claude's own permission classifier: a flagged call
|
|
96
|
+
* is DENIED WITH A REASON and the worker continues. It replaces `skip_permissions`,
|
|
97
|
+
* which bypassed that classifier entirely — the posture Architecture Miss 28 ran
|
|
98
|
+
* under. `skip_permissions` is still accepted, but only as an explicit revert an
|
|
99
|
+
* operator asks for by name; an unset key no longer hands out full bypass.
|
|
100
|
+
*
|
|
101
|
+
* `auto` shares its spelling with the Claude CLI's own mode name. That coincidence
|
|
102
|
+
* does NOT make this vocabulary a passthrough for argv: the mapping still lives in
|
|
103
|
+
* the adapter, and `resolveWorkerPermissionPosture` still rejects every CLI-shaped
|
|
104
|
+
* spelling it rejected before (`acceptEdits`, `dangerously-skip-permissions`).
|
|
105
|
+
*/
|
|
106
|
+
export const DEFAULT_WORKER_PERMISSION_POSTURE = "auto";
|
|
94
107
|
const WORKER_PERMISSION_POSTURES = [
|
|
108
|
+
"auto",
|
|
95
109
|
"skip_permissions",
|
|
96
110
|
"accept_edits",
|
|
97
111
|
];
|
|
98
112
|
/**
|
|
99
113
|
* Resolve the permission posture at the payload boundary.
|
|
100
114
|
*
|
|
101
|
-
* - ABSENT (`undefined`/`null`) → the ratified `
|
|
102
|
-
*
|
|
115
|
+
* - ABSENT (`undefined`/`null`) → the ratified `auto` default (BAPI-1020). A job
|
|
116
|
+
* enqueued by an older server, or by one whose policy omits the key, therefore
|
|
117
|
+
* spawns under the GUARDED posture rather than under bypass — the direction a
|
|
118
|
+
* missing value should fail in.
|
|
103
119
|
* - a supported value → returned as-is.
|
|
104
120
|
* - present but unsupported → THROWS a named contract error before argv
|
|
105
121
|
* construction, so the job fails loudly instead of spawning under a posture
|
|
@@ -121,7 +137,7 @@ export function resolveWorkerPermissionPosture(payload) {
|
|
|
121
137
|
return raw;
|
|
122
138
|
}
|
|
123
139
|
throw new ExecutorNamedError("ContractError.PermissionPosture", "job payload worker_permission_posture is present but is not a supported posture " +
|
|
124
|
-
"(expected 'skip_permissions' or 'accept_edits').");
|
|
140
|
+
"(expected 'auto', 'skip_permissions', or 'accept_edits').");
|
|
125
141
|
}
|
|
126
142
|
// Argv construction, model-alias resolution, and the worker executable name all
|
|
127
143
|
// live in the resolved executor adapter now (BAPI-781). `job-runner.ts` requests
|