@sentry/junior-linear 0.267.0 → 0.269.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/README.md +3 -30
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,43 +1,16 @@
|
|
|
1
1
|
# @sentry/junior-linear
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Install it alongside `@sentry/junior`:
|
|
3
|
+
Linear issue workflows and issue events for Junior through Linear's hosted MCP server.
|
|
6
4
|
|
|
7
5
|
```bash
|
|
8
6
|
pnpm add @sentry/junior @sentry/junior-linear
|
|
9
7
|
```
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
```ts title="plugins.ts"
|
|
9
|
+
```ts
|
|
14
10
|
import { defineJuniorPlugins } from "@sentry/junior";
|
|
15
11
|
import { linearPlugin } from "@sentry/junior-linear";
|
|
16
12
|
|
|
17
13
|
export const plugins = defineJuniorPlugins([linearPlugin()]);
|
|
18
14
|
```
|
|
19
15
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
Optionally, a Junior admin can connect a Linear service account from the dashboard Admin page, or with `junior service-account connect linear`. The plugin lets that account call only Linear's read tools, such as `get_issue`, `list_issues`, and `list_comments` (`accounts.service-account.tools`). Users who have not connected Linear then use that account for those tools. Creating or updating issues and comments still asks the user to connect their own account. Anyone who can talk to Junior can read what the service account can read.
|
|
23
|
-
|
|
24
|
-
Linear operations use Linear's hosted MCP tools directly. When an issue is created through that path, Junior links it to the current conversation.
|
|
25
|
-
|
|
26
|
-
To run watches or event automations when Linear issues are created:
|
|
27
|
-
|
|
28
|
-
1. Set `LINEAR_WEBHOOK_SECRET` to the Linear webhook signing secret.
|
|
29
|
-
2. Create a Linear webhook for the `Issue` resource at `https://<junior-host>/api/webhooks/linear`.
|
|
30
|
-
3. Redeploy Junior.
|
|
31
|
-
|
|
32
|
-
The plugin verifies the `Linear-Signature` header and publishes `issue.created` for the issue identifier and the team key. Team event automations use the Linear team key, such as `SRE`. Issue and team watches also accept an optional `match.teamKey` filter on trusted event data.
|
|
33
|
-
|
|
34
|
-
Optional: set channel defaults when a Slack thread usually routes work to the same Linear destination:
|
|
35
|
-
|
|
36
|
-
```bash
|
|
37
|
-
jr-rpc config set linear.team Platform
|
|
38
|
-
jr-rpc config set linear.project "Cross-team reliability"
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
These defaults are only fallbacks. If the user names a different team or project in the request, Junior should follow the explicit request instead.
|
|
42
|
-
|
|
43
|
-
Full setup guide: https://junior.sentry.dev/extend/linear-plugin/
|
|
16
|
+
Setup and configuration: https://junior.sentry.dev/extend/linear-plugin/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/junior-linear",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.269.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"zod": "^4.5.4",
|
|
26
|
-
"@sentry/junior-plugin-api": "0.
|
|
26
|
+
"@sentry/junior-plugin-api": "0.269.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@oxlint/plugins": "1.79.0",
|