opencode-gitlab-plugin 2.7.0 → 2.8.0
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/CHANGELOG.md +7 -0
- package/README.md +2 -2
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/mcp-server.cjs +7 -3
- package/dist/mcp-server.cjs.map +1 -1
- package/package.json +1 -1
package/dist/mcp-server.cjs
CHANGED
|
@@ -31600,7 +31600,10 @@ Returns the created merge request with all details.`,
|
|
|
31600
31600
|
milestone_id: z.number().optional().describe("The ID of a milestone"),
|
|
31601
31601
|
remove_source_branch: z.boolean().optional().describe("Remove source branch after merge (default: false)"),
|
|
31602
31602
|
squash: z.boolean().optional().describe("Squash commits on merge (default: false)"),
|
|
31603
|
-
allow_collaboration: z.boolean().optional().describe("Allow commits from members who can merge to the target branch")
|
|
31603
|
+
allow_collaboration: z.boolean().optional().describe("Allow commits from members who can merge to the target branch"),
|
|
31604
|
+
target_project_id: z.number().optional().describe(
|
|
31605
|
+
"The ID of the target project for cross-project (fork to upstream) merge requests. Defaults to the source project when omitted."
|
|
31606
|
+
)
|
|
31604
31607
|
},
|
|
31605
31608
|
execute: async (args, _ctx) => {
|
|
31606
31609
|
const client = getGitLabClient();
|
|
@@ -31615,7 +31618,8 @@ Returns the created merge request with all details.`,
|
|
|
31615
31618
|
milestone_id: args.milestone_id,
|
|
31616
31619
|
remove_source_branch: args.remove_source_branch,
|
|
31617
31620
|
squash: args.squash,
|
|
31618
|
-
allow_collaboration: args.allow_collaboration
|
|
31621
|
+
allow_collaboration: args.allow_collaboration,
|
|
31622
|
+
target_project_id: args.target_project_id
|
|
31619
31623
|
});
|
|
31620
31624
|
return JSON.stringify(mr, null, 2);
|
|
31621
31625
|
}
|
|
@@ -34177,7 +34181,7 @@ async function main() {
|
|
|
34177
34181
|
...auditTools,
|
|
34178
34182
|
...awardEmojiTools
|
|
34179
34183
|
};
|
|
34180
|
-
const version2 = true ? "2.
|
|
34184
|
+
const version2 = true ? "2.8.0" : "0.0.0";
|
|
34181
34185
|
const server = new McpServer({ name: "gitlab", version: version2 });
|
|
34182
34186
|
adaptToolsToMcp(server, allTools);
|
|
34183
34187
|
const transport = new StdioServerTransport();
|