@sentry/junior-linear 0.320.0 → 0.321.0
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/dist/index.js +8 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -364,8 +364,11 @@ function linearWebhookSecret() {
|
|
|
364
364
|
return process.env["LINEAR_WEBHOOK_SECRET"]?.trim() || void 0;
|
|
365
365
|
}
|
|
366
366
|
// src/plugin.ts
|
|
367
|
-
/**
|
|
368
|
-
|
|
367
|
+
/**
|
|
368
|
+
* Read-only Linear MCP tools. The optional service account may call them, and
|
|
369
|
+
* Guardian skips their review.
|
|
370
|
+
*/
|
|
371
|
+
const LINEAR_READ_TOOLS = [
|
|
369
372
|
"extract_images",
|
|
370
373
|
"get_attachment",
|
|
371
374
|
"get_document",
|
|
@@ -424,7 +427,7 @@ function linearPlugin(options = {}) {
|
|
|
424
427
|
},
|
|
425
428
|
objectLinks: [linearIssueLinks],
|
|
426
429
|
manifest: {
|
|
427
|
-
accounts: { serviceAccount: { tools: [...
|
|
430
|
+
accounts: { serviceAccount: { tools: [...LINEAR_READ_TOOLS] } },
|
|
428
431
|
configKeys: ["team", "project"],
|
|
429
432
|
description: "Linear issue tracking via hosted MCP server and issue webhooks",
|
|
430
433
|
displayName: "Linear",
|
|
@@ -432,7 +435,8 @@ function linearPlugin(options = {}) {
|
|
|
432
435
|
mcp: {
|
|
433
436
|
transport: "http",
|
|
434
437
|
url: "https://mcp.linear.app/mcp",
|
|
435
|
-
viewerTools: ["get_issue"]
|
|
438
|
+
viewerTools: ["get_issue"],
|
|
439
|
+
guardian: { skipReview: [...LINEAR_READ_TOOLS] }
|
|
436
440
|
},
|
|
437
441
|
name: "linear",
|
|
438
442
|
...options.reviewContext ? { reviewContext: options.reviewContext } : void 0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/junior-linear",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.321.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"skills"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@sentry/junior-plugin-api": "0.
|
|
25
|
+
"@sentry/junior-plugin-api": "0.321.0",
|
|
26
26
|
"zod": "^4.6.7"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|