@opentabs-dev/opentabs-plugin-bitbucket 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
|
+
# Bitbucket
|
|
2
|
+
|
|
3
|
+
OpenTabs plugin for Bitbucket — gives AI agents access to Bitbucket through your authenticated browser session.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
opentabs plugin install bitbucket
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Or install globally via npm:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npm install -g @opentabs-dev/opentabs-plugin-bitbucket
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Setup
|
|
18
|
+
|
|
19
|
+
1. Open [bitbucket.org](https://bitbucket.org) in Chrome and log in
|
|
20
|
+
2. Open the OpenTabs side panel — the Bitbucket plugin should appear as **ready**
|
|
21
|
+
|
|
22
|
+
## Tools (27)
|
|
23
|
+
|
|
24
|
+
### Repositories (3)
|
|
25
|
+
|
|
26
|
+
| Tool | Description | Type |
|
|
27
|
+
|---|---|---|
|
|
28
|
+
| `list_repositories` | List repositories in a workspace | Read |
|
|
29
|
+
| `get_repository` | Get repository details | Read |
|
|
30
|
+
| `create_repository` | Create a new repository | Write |
|
|
31
|
+
|
|
32
|
+
### Pull Requests (10)
|
|
33
|
+
|
|
34
|
+
| Tool | Description | Type |
|
|
35
|
+
|---|---|---|
|
|
36
|
+
| `list_pull_requests` | List pull requests for a repository | Read |
|
|
37
|
+
| `get_pull_request` | Get pull request details | Read |
|
|
38
|
+
| `create_pull_request` | Create a new pull request | Write |
|
|
39
|
+
| `update_pull_request` | Update a pull request | Write |
|
|
40
|
+
| `merge_pull_request` | Merge a pull request | Write |
|
|
41
|
+
| `decline_pull_request` | Decline a pull request | Write |
|
|
42
|
+
| `approve_pull_request` | Approve a pull request | Write |
|
|
43
|
+
| `list_pr_comments` | List pull request comments | Read |
|
|
44
|
+
| `create_pr_comment` | Add a comment to a pull request | Write |
|
|
45
|
+
| `get_pull_request_diff` | Get pull request diff | Read |
|
|
46
|
+
|
|
47
|
+
### Branches & Tags (4)
|
|
48
|
+
|
|
49
|
+
| Tool | Description | Type |
|
|
50
|
+
|---|---|---|
|
|
51
|
+
| `list_branches` | List repository branches | Read |
|
|
52
|
+
| `create_branch` | Create a new branch | Write |
|
|
53
|
+
| `delete_branch` | Delete a branch | Write |
|
|
54
|
+
| `list_tags` | List repository tags | Read |
|
|
55
|
+
|
|
56
|
+
### Commits (2)
|
|
57
|
+
|
|
58
|
+
| Tool | Description | Type |
|
|
59
|
+
|---|---|---|
|
|
60
|
+
| `list_commits` | List repository commits | Read |
|
|
61
|
+
| `get_commit` | Get commit details | Read |
|
|
62
|
+
|
|
63
|
+
### Pipelines (3)
|
|
64
|
+
|
|
65
|
+
| Tool | Description | Type |
|
|
66
|
+
|---|---|---|
|
|
67
|
+
| `list_pipelines` | List repository pipelines | Read |
|
|
68
|
+
| `get_pipeline` | Get pipeline details | Read |
|
|
69
|
+
| `list_pipeline_steps` | List pipeline steps | Read |
|
|
70
|
+
|
|
71
|
+
### Source (2)
|
|
72
|
+
|
|
73
|
+
| Tool | Description | Type |
|
|
74
|
+
|---|---|---|
|
|
75
|
+
| `get_file_content` | Read a file from a repository | Read |
|
|
76
|
+
| `search_code` | Search code in a workspace | Read |
|
|
77
|
+
|
|
78
|
+
### Workspaces (2)
|
|
79
|
+
|
|
80
|
+
| Tool | Description | Type |
|
|
81
|
+
|---|---|---|
|
|
82
|
+
| `list_workspaces` | List workspaces | Read |
|
|
83
|
+
| `list_workspace_members` | List workspace members | Read |
|
|
84
|
+
|
|
85
|
+
### Users (1)
|
|
86
|
+
|
|
87
|
+
| Tool | Description | Type |
|
|
88
|
+
|---|---|---|
|
|
89
|
+
| `get_user_profile` | Get current user profile | Read |
|
|
90
|
+
|
|
91
|
+
## How It Works
|
|
92
|
+
|
|
93
|
+
This plugin runs inside your Bitbucket 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
|
@@ -300,6 +300,8 @@
|
|
|
300
300
|
* (e.g., 'https://github.com'), not a match pattern.
|
|
301
301
|
*/
|
|
302
302
|
homepage;
|
|
303
|
+
/** Typed configuration schema — declares settings that users provide via config.json or the side panel. */
|
|
304
|
+
configSchema;
|
|
303
305
|
};
|
|
304
306
|
|
|
305
307
|
// src/bitbucket-api.ts
|
|
@@ -15163,7 +15165,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15163
15165
|
};
|
|
15164
15166
|
var src_default = new BitbucketPlugin();
|
|
15165
15167
|
|
|
15166
|
-
// dist/
|
|
15168
|
+
// dist/_adapter_entry_d1c9c841-3e22-4686-b0ef-e15a30d52aab.ts
|
|
15167
15169
|
if (!globalThis.__openTabs) {
|
|
15168
15170
|
globalThis.__openTabs = {};
|
|
15169
15171
|
} else {
|
|
@@ -15379,5 +15381,5 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15379
15381
|
};
|
|
15380
15382
|
delete src_default.onDeactivate;
|
|
15381
15383
|
}
|
|
15382
|
-
})();(function(){var o=(globalThis).__openTabs;if(o&&o.adapters&&o.adapters["bitbucket"]){var a=o.adapters["bitbucket"];a.__adapterHash="
|
|
15384
|
+
})();(function(){var o=(globalThis).__openTabs;if(o&&o.adapters&&o.adapters["bitbucket"]){var a=o.adapters["bitbucket"];a.__adapterHash="db116feff0b7e9648760e16a84bdd68a6dfafc11fc8dc3336db42d4c98119ce7";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,"bitbucket",{value:a,writable:false,configurable:false,enumerable:true});Object.defineProperty(o,"adapters",{value:o.adapters,writable:false,configurable:false});}})();
|
|
15383
15385
|
//# sourceMappingURL=adapter.iife.js.map
|