@sentry/junior-linear 0.323.0 → 0.324.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.
Files changed (2) hide show
  1. package/dist/index.js +32 -6
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -364,11 +364,8 @@ function linearWebhookSecret() {
364
364
  return process.env["LINEAR_WEBHOOK_SECRET"]?.trim() || void 0;
365
365
  }
366
366
  // src/plugin.ts
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 = [
367
+ /** Read-only Linear MCP tools that the optional service account may call. */
368
+ const LINEAR_SERVICE_ACCOUNT_TOOLS = [
372
369
  "extract_images",
373
370
  "get_attachment",
374
371
  "get_document",
@@ -391,6 +388,35 @@ const LINEAR_READ_TOOLS = [
391
388
  "list_users",
392
389
  "search_documentation"
393
390
  ];
391
+ /**
392
+ * Read-only Linear MCP tools, whose calls skip Guardian review. `whoami` stays
393
+ * reviewed: Linear marks it as not read-only.
394
+ */
395
+ const LINEAR_READ_TOOLS = [
396
+ ...LINEAR_SERVICE_ACCOUNT_TOOLS,
397
+ "get_agent_skill",
398
+ "get_diff",
399
+ "get_diff_threads",
400
+ "get_initiative",
401
+ "get_notifications",
402
+ "get_release",
403
+ "get_release_note",
404
+ "get_status_updates",
405
+ "get_template",
406
+ "get_triage_responsibility",
407
+ "get_workspace",
408
+ "list_agent_skills",
409
+ "list_custom_views",
410
+ "list_customer_needs",
411
+ "list_customers",
412
+ "list_diffs",
413
+ "list_initiative_labels",
414
+ "list_initiatives",
415
+ "list_release_notes",
416
+ "list_release_pipelines",
417
+ "list_releases",
418
+ "list_templates"
419
+ ];
394
420
  /** Link created and updated Linear issues to the current Junior conversation. */
395
421
  async function annotateSavedIssue(ctx) {
396
422
  if (ctx.tool.name !== "save_issue") return;
@@ -427,7 +453,7 @@ function linearPlugin(options = {}) {
427
453
  },
428
454
  objectLinks: [linearIssueLinks],
429
455
  manifest: {
430
- accounts: { serviceAccount: { tools: [...LINEAR_READ_TOOLS] } },
456
+ accounts: { serviceAccount: { tools: [...LINEAR_SERVICE_ACCOUNT_TOOLS] } },
431
457
  configKeys: ["team", "project"],
432
458
  description: "Linear issue tracking via hosted MCP server and issue webhooks",
433
459
  displayName: "Linear",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior-linear",
3
- "version": "0.323.0",
3
+ "version": "0.324.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.323.0",
25
+ "@sentry/junior-plugin-api": "0.324.0",
26
26
  "zod": "^4.6.7"
27
27
  },
28
28
  "devDependencies": {