@zereight/mcp-gitlab 2.3.14 → 2.3.15-next.174
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/build/index.js +2 -4
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -101,7 +101,7 @@ import { SERVER_VERSION } from "./server/version.js";
|
|
|
101
101
|
import { listMcpResources, listMcpResourceTemplates, readMcpResource, } from "./server/mcp-resources.js";
|
|
102
102
|
import { getMcpPrompt, listMcpPrompts } from "./server/mcp-prompts.js";
|
|
103
103
|
import { MCP_INSTRUCTIONS } from "./server/mcp-instructions.js";
|
|
104
|
-
import { formatUnknownHelpTopic, getWorkflowGuide, readHelpTopic
|
|
104
|
+
import { formatUnknownHelpTopic, getWorkflowGuide, readHelpTopic } from "./server/mcp-help.js";
|
|
105
105
|
import { isInitializationRequestBody, isUnauthenticatedDiscoveryRequestBody, parseProjectScopeHeader, readAcceptHeader, readMcpSessionIdHeader, redactSessionIdForLog, } from "./server/request-helpers.js";
|
|
106
106
|
export { readMcpSessionIdHeader } from "./server/request-helpers.js";
|
|
107
107
|
import { authBySession, BASE_HEADERS, bindSessionProjectScope, buildAuthHeaders, configureGitLabRequestContext, getEffectiveAllowedProjectIds, getEffectiveApiUrl, getFetchConfig, SESSION_PROJECT_SCOPE_MISMATCH, sessionAuthStore, updateSessionPublicBaseUrl, usesJobTokenHeader, withPublicBaseUrl, } from "./server/gitlab-request-context.js";
|
|
@@ -256,9 +256,7 @@ function createServer() {
|
|
|
256
256
|
const summarized = applyListSummaryToToolResult(redactErrorResultUrls(result), listSummaryRequested);
|
|
257
257
|
const filtered = applyJmespathToToolResult(summarized, jmespathExpression, {
|
|
258
258
|
...completionOptions,
|
|
259
|
-
maskValue: maskingEngine
|
|
260
|
-
? (value) => maskingEngine.maskValue(value)
|
|
261
|
-
: undefined,
|
|
259
|
+
maskValue: maskingEngine ? (value) => maskingEngine.maskValue(value) : undefined,
|
|
262
260
|
});
|
|
263
261
|
const masked = maskingEngine
|
|
264
262
|
? maskingEngine.maskToolResult(filtered, {
|
package/package.json
CHANGED