@opentabs-dev/opentabs-plugin-gitlab 0.0.76 → 0.0.78
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/README.md +97 -0
- package/dist/adapter.iife.js +4 -2
- package/dist/adapter.iife.js.map +2 -2
- package/dist/tools.json +1 -1
- package/package.json +10 -4
package/README.md
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# GitLab
|
|
2
|
+
|
|
3
|
+
OpenTabs plugin for GitLab — gives AI agents access to GitLab through your authenticated browser session.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
opentabs plugin install gitlab
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Or install globally via npm:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npm install -g @opentabs-dev/opentabs-plugin-gitlab
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Setup
|
|
18
|
+
|
|
19
|
+
1. Open [gitlab.com](https://gitlab.com) in Chrome and log in
|
|
20
|
+
2. Open the OpenTabs side panel — the GitLab plugin should appear as **ready**
|
|
21
|
+
|
|
22
|
+
## Tools (22)
|
|
23
|
+
|
|
24
|
+
### Projects (2)
|
|
25
|
+
|
|
26
|
+
| Tool | Description | Type |
|
|
27
|
+
|---|---|---|
|
|
28
|
+
| `list_projects` | List accessible projects | Read |
|
|
29
|
+
| `get_project` | Get project details | Read |
|
|
30
|
+
|
|
31
|
+
### Search (1)
|
|
32
|
+
|
|
33
|
+
| Tool | Description | Type |
|
|
34
|
+
|---|---|---|
|
|
35
|
+
| `search_projects` | Search for projects | Read |
|
|
36
|
+
|
|
37
|
+
### Issues (4)
|
|
38
|
+
|
|
39
|
+
| Tool | Description | Type |
|
|
40
|
+
|---|---|---|
|
|
41
|
+
| `list_issues` | List issues for a project | Read |
|
|
42
|
+
| `get_issue` | Get issue details | Read |
|
|
43
|
+
| `create_issue` | Create a new issue | Write |
|
|
44
|
+
| `update_issue` | Update an issue | Write |
|
|
45
|
+
|
|
46
|
+
### Merge Requests (6)
|
|
47
|
+
|
|
48
|
+
| Tool | Description | Type |
|
|
49
|
+
|---|---|---|
|
|
50
|
+
| `list_merge_requests` | List merge requests for a project | Read |
|
|
51
|
+
| `get_merge_request` | Get merge request details | Read |
|
|
52
|
+
| `create_merge_request` | Create a new merge request | Write |
|
|
53
|
+
| `update_merge_request` | Update a merge request | Write |
|
|
54
|
+
| `merge_merge_request` | Merge a merge request | Write |
|
|
55
|
+
| `get_merge_request_diff` | Get the diff of a merge request | Read |
|
|
56
|
+
|
|
57
|
+
### Notes (2)
|
|
58
|
+
|
|
59
|
+
| Tool | Description | Type |
|
|
60
|
+
|---|---|---|
|
|
61
|
+
| `list_notes` | List notes on an issue or merge request | Read |
|
|
62
|
+
| `create_note` | Add a comment to an issue or MR | Write |
|
|
63
|
+
|
|
64
|
+
### Branches (1)
|
|
65
|
+
|
|
66
|
+
| Tool | Description | Type |
|
|
67
|
+
|---|---|---|
|
|
68
|
+
| `list_branches` | List branches for a project | Read |
|
|
69
|
+
|
|
70
|
+
### Content (2)
|
|
71
|
+
|
|
72
|
+
| Tool | Description | Type |
|
|
73
|
+
|---|---|---|
|
|
74
|
+
| `get_file_content` | Read a file from a repository | Read |
|
|
75
|
+
| `list_commits` | List commits for a project | Read |
|
|
76
|
+
|
|
77
|
+
### CI/CD (3)
|
|
78
|
+
|
|
79
|
+
| Tool | Description | Type |
|
|
80
|
+
|---|---|---|
|
|
81
|
+
| `list_pipelines` | List CI/CD pipelines | Read |
|
|
82
|
+
| `list_pipeline_jobs` | List jobs for a pipeline | Read |
|
|
83
|
+
| `get_job_log` | Get the log output of a job | Read |
|
|
84
|
+
|
|
85
|
+
### Users (1)
|
|
86
|
+
|
|
87
|
+
| Tool | Description | Type |
|
|
88
|
+
|---|---|---|
|
|
89
|
+
| `get_user_profile` | Get a user profile | Read |
|
|
90
|
+
|
|
91
|
+
## How It Works
|
|
92
|
+
|
|
93
|
+
This plugin runs inside your GitLab tab through the [OpenTabs](https://opentabs.dev) Chrome extension. It uses your existing browser session — no API tokens or OAuth apps required. All operations happen as you, with your permissions.
|
|
94
|
+
|
|
95
|
+
## License
|
|
96
|
+
|
|
97
|
+
MIT
|
package/dist/adapter.iife.js
CHANGED
|
@@ -292,6 +292,8 @@
|
|
|
292
292
|
* (e.g., 'https://github.com'), not a match pattern.
|
|
293
293
|
*/
|
|
294
294
|
homepage;
|
|
295
|
+
/** Typed configuration schema — declares settings that users provide via config.json or the side panel. */
|
|
296
|
+
configSchema;
|
|
295
297
|
};
|
|
296
298
|
|
|
297
299
|
// src/gitlab-api.ts
|
|
@@ -15147,7 +15149,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15147
15149
|
};
|
|
15148
15150
|
var src_default = new GitLabPlugin();
|
|
15149
15151
|
|
|
15150
|
-
// dist/
|
|
15152
|
+
// dist/_adapter_entry_e2e8beb2-f668-4422-9290-4ed776d17fb0.ts
|
|
15151
15153
|
if (!globalThis.__openTabs) {
|
|
15152
15154
|
globalThis.__openTabs = {};
|
|
15153
15155
|
} else {
|
|
@@ -15363,5 +15365,5 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15363
15365
|
};
|
|
15364
15366
|
delete src_default.onDeactivate;
|
|
15365
15367
|
}
|
|
15366
|
-
})();(function(){var o=(globalThis).__openTabs;if(o&&o.adapters&&o.adapters["gitlab"]){var a=o.adapters["gitlab"];a.__adapterHash="
|
|
15368
|
+
})();(function(){var o=(globalThis).__openTabs;if(o&&o.adapters&&o.adapters["gitlab"]){var a=o.adapters["gitlab"];a.__adapterHash="65290bec04281c375c032f264f883e1a21f4da32b08cfd9daeaf57dd39038fea";if(a.tools&&Array.isArray(a.tools)){for(var i=0;i<a.tools.length;i++){Object.freeze(a.tools[i]);}Object.freeze(a.tools);}Object.freeze(a);Object.defineProperty(o.adapters,"gitlab",{value:a,writable:false,configurable:false,enumerable:true});Object.defineProperty(o,"adapters",{value:o.adapters,writable:false,configurable:false});}})();
|
|
15367
15369
|
//# sourceMappingURL=adapter.iife.js.map
|