@gitlab/opencode-gitlab-plugin 1.5.0 → 1.5.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.5.1](https://gitlab.com/gitlab-org/editor-extensions/opencode-gitlab-plugin/compare/v1.5.0...v1.5.1) (2026-02-02)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### 🐛 Bug Fixes
|
|
9
|
+
|
|
10
|
+
* remove unsupported GraphQL fields causing API errors ([6d6de6f](https://gitlab.com/gitlab-org/editor-extensions/opencode-gitlab-plugin/commit/6d6de6fff29609f3fc591a199055a752abe0fdcd))
|
|
11
|
+
|
|
5
12
|
## [1.5.0](https://gitlab.com/gitlab-org/editor-extensions/opencode-gitlab-plugin/compare/v1.4.0...v1.5.0) (2026-02-02)
|
|
6
13
|
|
|
7
14
|
|
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -93,7 +93,6 @@ function buildPaginationVariables(options) {
|
|
|
93
93
|
if (options?.after) variables.after = options.after;
|
|
94
94
|
if (options?.last !== void 0) variables.last = options.last;
|
|
95
95
|
if (options?.before) variables.before = options.before;
|
|
96
|
-
if (options?.filter) variables.filter = options.filter;
|
|
97
96
|
return variables;
|
|
98
97
|
}
|
|
99
98
|
var NOTES_FRAGMENT = `
|
|
@@ -211,7 +210,6 @@ var LIST_MR_NOTES_QUERY = `
|
|
|
211
210
|
$after: String
|
|
212
211
|
$last: Int
|
|
213
212
|
$before: String
|
|
214
|
-
$filter: WorkItemNotesFilterType
|
|
215
213
|
) {
|
|
216
214
|
project(fullPath: $projectPath) {
|
|
217
215
|
mergeRequest(iid: $mrIid) {
|
|
@@ -220,7 +218,6 @@ var LIST_MR_NOTES_QUERY = `
|
|
|
220
218
|
after: $after
|
|
221
219
|
last: $last
|
|
222
220
|
before: $before
|
|
223
|
-
filter: $filter
|
|
224
221
|
) {
|
|
225
222
|
...NotesConnectionFields
|
|
226
223
|
}
|
|
@@ -469,7 +466,6 @@ var LIST_ISSUE_NOTES_QUERY = `
|
|
|
469
466
|
$after: String
|
|
470
467
|
$last: Int
|
|
471
468
|
$before: String
|
|
472
|
-
$filter: WorkItemNotesFilterType
|
|
473
469
|
) {
|
|
474
470
|
project(fullPath: $projectPath) {
|
|
475
471
|
issue(iid: $issueIid) {
|
|
@@ -478,7 +474,6 @@ var LIST_ISSUE_NOTES_QUERY = `
|
|
|
478
474
|
after: $after
|
|
479
475
|
last: $last
|
|
480
476
|
before: $before
|
|
481
|
-
filter: $filter
|
|
482
477
|
) {
|
|
483
478
|
...NotesConnectionFields
|
|
484
479
|
}
|
|
@@ -1402,36 +1397,6 @@ var LIST_TODOS_QUERY = `
|
|
|
1402
1397
|
name
|
|
1403
1398
|
avatarUrl
|
|
1404
1399
|
}
|
|
1405
|
-
targetEntity {
|
|
1406
|
-
__typename
|
|
1407
|
-
... on Issue {
|
|
1408
|
-
id
|
|
1409
|
-
title
|
|
1410
|
-
iid
|
|
1411
|
-
}
|
|
1412
|
-
... on MergeRequest {
|
|
1413
|
-
id
|
|
1414
|
-
title
|
|
1415
|
-
iid
|
|
1416
|
-
}
|
|
1417
|
-
... on Epic {
|
|
1418
|
-
id
|
|
1419
|
-
title
|
|
1420
|
-
iid
|
|
1421
|
-
}
|
|
1422
|
-
... on Commit {
|
|
1423
|
-
id
|
|
1424
|
-
title
|
|
1425
|
-
}
|
|
1426
|
-
... on DesignManagement__Design {
|
|
1427
|
-
id
|
|
1428
|
-
}
|
|
1429
|
-
... on AlertManagement__Alert {
|
|
1430
|
-
id
|
|
1431
|
-
title
|
|
1432
|
-
iid
|
|
1433
|
-
}
|
|
1434
|
-
}
|
|
1435
1400
|
}
|
|
1436
1401
|
}
|
|
1437
1402
|
}
|
|
@@ -2158,8 +2123,7 @@ Use 'before' with the 'startCursor' from pageInfo to get the previous page.`,
|
|
|
2158
2123
|
first: z.number().optional().describe("Number of items to return from the beginning (default: 20, max: 100)"),
|
|
2159
2124
|
after: z.string().optional().describe("Cursor for forward pagination - use endCursor from previous response"),
|
|
2160
2125
|
last: z.number().optional().describe("Number of items to return from the end (for backward pagination)"),
|
|
2161
|
-
before: z.string().optional().describe("Cursor for backward pagination - use startCursor from previous response")
|
|
2162
|
-
filter: z.enum(["ALL_NOTES", "ONLY_COMMENTS", "ONLY_ACTIVITY"]).optional().describe("Filter notes by type: ALL_NOTES (default), ONLY_COMMENTS, or ONLY_ACTIVITY")
|
|
2126
|
+
before: z.string().optional().describe("Cursor for backward pagination - use startCursor from previous response")
|
|
2163
2127
|
},
|
|
2164
2128
|
execute: async (args, _ctx) => {
|
|
2165
2129
|
const client = getGitLabClient();
|
|
@@ -2167,8 +2131,7 @@ Use 'before' with the 'startCursor' from pageInfo to get the previous page.`,
|
|
|
2167
2131
|
first: args.first,
|
|
2168
2132
|
after: args.after,
|
|
2169
2133
|
last: args.last,
|
|
2170
|
-
before: args.before
|
|
2171
|
-
filter: args.filter
|
|
2134
|
+
before: args.before
|
|
2172
2135
|
});
|
|
2173
2136
|
return JSON.stringify(result, null, 2);
|
|
2174
2137
|
}
|
|
@@ -2515,8 +2478,7 @@ Use 'before' with the 'startCursor' from pageInfo to get the previous page.`,
|
|
|
2515
2478
|
first: z2.number().optional().describe("Number of items to return from the beginning (default: 20, max: 100)"),
|
|
2516
2479
|
after: z2.string().optional().describe("Cursor for forward pagination - use endCursor from previous response"),
|
|
2517
2480
|
last: z2.number().optional().describe("Number of items to return from the end (for backward pagination)"),
|
|
2518
|
-
before: z2.string().optional().describe("Cursor for backward pagination - use startCursor from previous response")
|
|
2519
|
-
filter: z2.enum(["ALL_NOTES", "ONLY_COMMENTS", "ONLY_ACTIVITY"]).optional().describe("Filter notes by type: ALL_NOTES (default), ONLY_COMMENTS, or ONLY_ACTIVITY")
|
|
2481
|
+
before: z2.string().optional().describe("Cursor for backward pagination - use startCursor from previous response")
|
|
2520
2482
|
},
|
|
2521
2483
|
execute: async (args, _ctx) => {
|
|
2522
2484
|
const client = getGitLabClient();
|
|
@@ -2524,8 +2486,7 @@ Use 'before' with the 'startCursor' from pageInfo to get the previous page.`,
|
|
|
2524
2486
|
first: args.first,
|
|
2525
2487
|
after: args.after,
|
|
2526
2488
|
last: args.last,
|
|
2527
|
-
before: args.before
|
|
2528
|
-
filter: args.filter
|
|
2489
|
+
before: args.before
|
|
2529
2490
|
});
|
|
2530
2491
|
return JSON.stringify(result, null, 2);
|
|
2531
2492
|
}
|
package/package.json
CHANGED
|
Binary file
|