@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
 
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
- For NEW discussion: Omit discussion_id
3784
- For REPLY to existing thread: Include discussion_id (preferred over gitlab_create_note for threaded conversations)
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
- For code-specific comments on MRs/commits, provide position information.
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
- - New MR comment: resource_type="merge_request", project_id="...", iid=123, body="..."
3790
- - Reply to thread: resource_type="merge_request", ..., discussion_id="...", body="..."
3791
- - Code comment: resource_type="merge_request", ..., body="...", position={base_sha, head_sha, ...}`,
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/opencode-gitlab-plugin",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "GitLab tools plugin for OpenCode - provides GitLab API access for merge requests, issues, pipelines, and more",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",