@gitlab/opencode-gitlab-plugin 1.0.1 → 1.0.4
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 +26 -0
- package/README.md +22 -28
- package/dist/gitlab-opencode-gitlab-plugin-1.0.4.tgz +0 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,32 @@
|
|
|
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.0.4](https://gitlab.com/gitlab-org/editor-extensions/opencode-gitlab-plugin/compare/v1.0.3...v1.0.4) (2026-01-07)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### 🐛 Bug Fixes
|
|
9
|
+
|
|
10
|
+
* add npm authentication for npmjs.org publishing per official docs ([7d485c1](https://gitlab.com/gitlab-org/editor-extensions/opencode-gitlab-plugin/commit/7d485c18129dfe4afa66489543fcab6c154b2ebe))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### ♻️ Code Refactoring
|
|
14
|
+
|
|
15
|
+
* simplify npmjs publishing to match gitlab-ai-provider setup ([2ed68ef](https://gitlab.com/gitlab-org/editor-extensions/opencode-gitlab-plugin/commit/2ed68ef6080be5d2955b93bff9d43c3b74589bb2))
|
|
16
|
+
|
|
17
|
+
## [1.0.3](https://gitlab.com/gitlab-org/editor-extensions/opencode-gitlab-plugin/compare/v1.0.2...v1.0.3) (2026-01-07)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### 🐛 Bug Fixes
|
|
21
|
+
|
|
22
|
+
* use SIGSTORE_ID_TOKEN for npm provenance in GitLab CI ([202854f](https://gitlab.com/gitlab-org/editor-extensions/opencode-gitlab-plugin/commit/202854f1dfe31cfeb3dee787722590397a615ace))
|
|
23
|
+
|
|
24
|
+
## [1.0.2](https://gitlab.com/gitlab-org/editor-extensions/opencode-gitlab-plugin/compare/v1.0.1...v1.0.2) (2026-01-07)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### 📚 Documentation
|
|
28
|
+
|
|
29
|
+
* update repository references to gitlab-org location ([414d833](https://gitlab.com/gitlab-org/editor-extensions/opencode-gitlab-plugin/commit/414d833d4ff84233ce99089a043ed6b2e4142bcf))
|
|
30
|
+
|
|
5
31
|
## [1.0.1](https://gitlab.com/gitlab-org/editor-extensions/opencode-gitlab-plugin/compare/v1.0.0...v1.0.1) (2026-01-07)
|
|
6
32
|
|
|
7
33
|
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# OpenCode GitLab Plugin
|
|
2
2
|
|
|
3
|
-
[](https://gitlab.com/gitlab-org/editor-extensions/opencode-gitlab-plugin/-/pipelines)
|
|
4
|
+
[](https://www.npmjs.com/package/@gitlab/opencode-gitlab-plugin)
|
|
5
5
|
[](https://opensource.org/licenses/MIT)
|
|
6
6
|
|
|
7
7
|
A comprehensive GitLab API plugin for OpenCode that provides AI-powered access to GitLab's REST API. This plugin enables seamless interaction with merge requests, issues, pipelines, repositories, epics, and more through natural language commands.
|
|
@@ -154,43 +154,40 @@ sequenceDiagram
|
|
|
154
154
|
- GitLab account with API access
|
|
155
155
|
- GitLab Personal Access Token or OAuth token
|
|
156
156
|
|
|
157
|
-
### Install from
|
|
157
|
+
### Install from npm
|
|
158
158
|
|
|
159
159
|
```bash
|
|
160
|
-
# Configure npm to use GitLab Package Registry
|
|
161
|
-
npm config set @gitlab-org:registry https://gitlab.com/api/v4/projects/76386853/packages/npm/
|
|
162
|
-
|
|
163
160
|
# Install the package
|
|
164
|
-
npm install @
|
|
161
|
+
npm install @gitlab/opencode-gitlab-plugin
|
|
165
162
|
|
|
166
163
|
# Or with Bun
|
|
167
|
-
bun add @
|
|
164
|
+
bun add @gitlab/opencode-gitlab-plugin
|
|
168
165
|
|
|
169
166
|
# Or with yarn
|
|
170
|
-
yarn add @
|
|
167
|
+
yarn add @gitlab/opencode-gitlab-plugin
|
|
171
168
|
```
|
|
172
169
|
|
|
173
170
|
### Install from GitLab Repository (Development)
|
|
174
171
|
|
|
175
172
|
```bash
|
|
176
173
|
# Using npm
|
|
177
|
-
npm install git+https://gitlab.com/
|
|
174
|
+
npm install git+https://gitlab.com/gitlab-org/editor-extensions/opencode-gitlab-plugin.git
|
|
178
175
|
|
|
179
176
|
# Using Bun
|
|
180
|
-
bun add git+https://gitlab.com/
|
|
177
|
+
bun add git+https://gitlab.com/gitlab-org/editor-extensions/opencode-gitlab-plugin.git
|
|
181
178
|
```
|
|
182
179
|
|
|
183
180
|
### Install Specific Version
|
|
184
181
|
|
|
185
182
|
```bash
|
|
186
|
-
# Install specific version from
|
|
187
|
-
npm install @
|
|
183
|
+
# Install specific version from npm
|
|
184
|
+
npm install @gitlab/opencode-gitlab-plugin@1.0.0
|
|
188
185
|
|
|
189
186
|
# Install from specific git tag
|
|
190
|
-
npm install git+https://gitlab.com/
|
|
187
|
+
npm install git+https://gitlab.com/gitlab-org/editor-extensions/opencode-gitlab-plugin.git#v1.0.0
|
|
191
188
|
|
|
192
189
|
# Install from specific branch
|
|
193
|
-
npm install git+https://gitlab.com/
|
|
190
|
+
npm install git+https://gitlab.com/gitlab-org/editor-extensions/opencode-gitlab-plugin.git#main
|
|
194
191
|
```
|
|
195
192
|
|
|
196
193
|
### Using package.json
|
|
@@ -200,10 +197,7 @@ Add to your `package.json`:
|
|
|
200
197
|
```json
|
|
201
198
|
{
|
|
202
199
|
"dependencies": {
|
|
203
|
-
"@
|
|
204
|
-
},
|
|
205
|
-
"publishConfig": {
|
|
206
|
-
"@gitlab-org:registry": "https://gitlab.com/api/v4/projects/76386853/packages/npm/"
|
|
200
|
+
"@gitlab/opencode-gitlab-plugin": "^1.0.0"
|
|
207
201
|
}
|
|
208
202
|
}
|
|
209
203
|
```
|
|
@@ -233,7 +227,7 @@ Add the following plugin to your opencode configuration `~/.config/opencode/open
|
|
|
233
227
|
```json
|
|
234
228
|
{
|
|
235
229
|
"$schema": "https://opencode.ai/config.json",
|
|
236
|
-
"plugin": ["@
|
|
230
|
+
"plugin": ["@gitlab/opencode-gitlab-plugin"]
|
|
237
231
|
}
|
|
238
232
|
```
|
|
239
233
|
|
|
@@ -414,7 +408,7 @@ graph LR
|
|
|
414
408
|
### Example 1: Create and Manage Issues
|
|
415
409
|
|
|
416
410
|
```javascript
|
|
417
|
-
import gitlabPlugin from '@
|
|
411
|
+
import gitlabPlugin from '@gitlab/opencode-gitlab-plugin';
|
|
418
412
|
|
|
419
413
|
const plugin = await gitlabPlugin({});
|
|
420
414
|
|
|
@@ -717,7 +711,7 @@ opencode-gitlab-plugin/
|
|
|
717
711
|
|
|
718
712
|
```bash
|
|
719
713
|
# Clone the repository
|
|
720
|
-
git clone https://gitlab.com/
|
|
714
|
+
git clone https://gitlab.com/gitlab-org/editor-extensions/opencode-gitlab-plugin.git
|
|
721
715
|
cd opencode-gitlab-plugin
|
|
722
716
|
|
|
723
717
|
# Install dependencies
|
|
@@ -1163,7 +1157,7 @@ graph TD
|
|
|
1163
1157
|
|
|
1164
1158
|
```bash
|
|
1165
1159
|
# Fork on GitLab UI, then clone
|
|
1166
|
-
git clone https://gitlab.com/YOUR_USERNAME/opencode-gitlab-plugin.git
|
|
1160
|
+
git clone https://gitlab.com/YOUR_USERNAME/editor-extensions/opencode-gitlab-plugin.git
|
|
1167
1161
|
```
|
|
1168
1162
|
|
|
1169
1163
|
2. **Create a feature branch**
|
|
@@ -1253,11 +1247,11 @@ add a new GitLab API tool:
|
|
|
1253
1247
|
|
|
1254
1248
|
## 🔗 Links
|
|
1255
1249
|
|
|
1256
|
-
- **Repository**: <https://gitlab.com/
|
|
1257
|
-
- **Package
|
|
1258
|
-
- **Issues**: <https://gitlab.com/
|
|
1259
|
-
- **Merge Requests**: <https://gitlab.com/
|
|
1260
|
-
- **CI/CD Pipelines**: <https://gitlab.com/
|
|
1250
|
+
- **Repository**: <https://gitlab.com/gitlab-org/editor-extensions/opencode-gitlab-plugin>
|
|
1251
|
+
- **npm Package**: <https://www.npmjs.com/package/@gitlab/opencode-gitlab-plugin>
|
|
1252
|
+
- **Issues**: <https://gitlab.com/gitlab-org/editor-extensions/opencode-gitlab-plugin/-/issues>
|
|
1253
|
+
- **Merge Requests**: <https://gitlab.com/gitlab-org/editor-extensions/opencode-gitlab-plugin/-/merge_requests>
|
|
1254
|
+
- **CI/CD Pipelines**: <https://gitlab.com/gitlab-org/editor-extensions/opencode-gitlab-plugin/-/pipelines>
|
|
1261
1255
|
- **GitLab API Documentation**: <https://docs.gitlab.com/ee/api/>
|
|
1262
1256
|
- **OpenCode Plugin SDK**: <https://github.com/opencode-ai/plugin>
|
|
1263
1257
|
|
|
Binary file
|
package/package.json
CHANGED