@gitlab/opencode-gitlab-plugin 1.7.0 → 1.7.1
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
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [1.7.1](https://gitlab.com/gitlab-org/editor-extensions/opencode-gitlab-plugin/compare/v1.7.0...v1.7.1) (2026-02-24)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### 📚 Documentation
|
|
9
|
+
|
|
10
|
+
* **discussions:** improve gitlab_create_discussion description for reply use case ([a0d2296](https://gitlab.com/gitlab-org/editor-extensions/opencode-gitlab-plugin/commit/a0d2296cf2aa42258c7ca1749df86810c852174b))
|
|
11
|
+
|
|
5
12
|
## [1.7.0](https://gitlab.com/gitlab-org/editor-extensions/opencode-gitlab-plugin/compare/v1.6.2...v1.7.0) (2026-02-24)
|
|
6
13
|
|
|
7
14
|
|
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -3780,15 +3780,17 @@ Required parameters vary by resource type:
|
|
|
3780
3780
|
gitlab_create_discussion: tool12({
|
|
3781
3781
|
description: `Create a new discussion thread or reply to an existing one.
|
|
3782
3782
|
|
|
3783
|
-
|
|
3784
|
-
|
|
3783
|
+
REPLYING TO EXISTING THREADS:
|
|
3784
|
+
To reply to an existing discussion, provide the discussion_id parameter.
|
|
3785
|
+
This is the recommended way to reply in-thread rather than creating a standalone comment.
|
|
3785
3786
|
|
|
3786
|
-
|
|
3787
|
+
STARTING A NEW DISCUSSION:
|
|
3788
|
+
Omit discussion_id to create a new thread. For code-specific comments on MRs/commits, provide position information.
|
|
3787
3789
|
|
|
3788
3790
|
Examples:
|
|
3789
|
-
-
|
|
3790
|
-
-
|
|
3791
|
-
- Code comment: resource_type="merge_request",
|
|
3791
|
+
- Reply to thread: resource_type="merge_request", project_id="group/project", iid=123, discussion_id="abc123def", body="Thanks for the feedback!"
|
|
3792
|
+
- New comment: resource_type="merge_request", project_id="group/project", iid=123, body="General comment"
|
|
3793
|
+
- Code comment: resource_type="merge_request", project_id="group/project", iid=123, body="...", position={base_sha, head_sha, new_path, new_line, ...}`,
|
|
3792
3794
|
args: {
|
|
3793
3795
|
resource_type: z12.enum(["merge_request", "issue", "epic", "commit", "snippet"]).describe("Type of GitLab resource"),
|
|
3794
3796
|
body: z12.string().describe("The comment text (Markdown supported)"),
|
package/package.json
CHANGED
|
Binary file
|