@sentry/junior-sentry 0.24.1 → 0.26.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/package.json
CHANGED
package/skills/sentry/SKILL.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: sentry
|
|
3
|
-
description: Query Sentry telemetry (issues, events, replays, traces) and generate deep links scoped to users or timeframes.
|
|
4
|
-
requires-capabilities: sentry.api
|
|
3
|
+
description: Query live Sentry telemetry (issues, events, replays, traces) and generate deep links scoped to users or timeframes. Use this skill when users ask to investigate live Sentry data, search errors, find replays, inspect traces, or look up Sentry issues/events. Do not use it for repository/source-code/PR tasks, even when the topic concerns Sentry products.
|
|
5
4
|
uses-config: sentry.org sentry.project
|
|
6
5
|
allowed-tools: bash
|
|
7
6
|
---
|
|
@@ -22,11 +21,11 @@ Use this skill for Sentry investigation workflows in the harness.
|
|
|
22
21
|
2. Execute via CLI:
|
|
23
22
|
|
|
24
23
|
- Use `sentry <command>` for structured queries.
|
|
25
|
-
- The
|
|
24
|
+
- The runtime injects `SENTRY_AUTH_TOKEN` automatically for authenticated `sentry` CLI commands in this skill.
|
|
26
25
|
- Read [references/cli-commands.md](references/cli-commands.md) for command shapes and flags.
|
|
27
26
|
- Read [references/sandbox-runtime.md](references/sandbox-runtime.md) before relying on sandbox credentials.
|
|
28
|
-
- If a Sentry API call returns `401`, or clearly says the token is invalid, expired, revoked, or unauthorized,
|
|
29
|
-
- If a Sentry API call explicitly says `missing scope`, `missing scopes`, or `insufficient scope`,
|
|
27
|
+
- If a Sentry API call returns `401`, or clearly says the token is invalid, expired, revoked, or unauthorized, rerun the real Sentry command once and let the runtime trigger a reconnect flow when needed.
|
|
28
|
+
- If a Sentry API call explicitly says `missing scope`, `missing scopes`, or `insufficient scope`, rerun the real Sentry command once and let the runtime trigger a reconnect flow when needed.
|
|
30
29
|
- If a Sentry API call returns a generic `403`, `permission denied`, or otherwise indicates missing org/project access without naming missing scopes, stop and tell the user the current Sentry connection could not access the requested Sentry data.
|
|
31
30
|
- Only mention a specific missing scope when the CLI or API error explicitly names that scope. Do not guess scope names from a generic `403`.
|
|
32
31
|
|
|
@@ -47,3 +46,4 @@ Use this skill for Sentry investigation workflows in the harness.
|
|
|
47
46
|
- Do not print credential values.
|
|
48
47
|
- If org is missing and needed, ask the user.
|
|
49
48
|
- Prefer deep links over raw data dumps when linking to Sentry web UI.
|
|
49
|
+
- Do not use this skill for repository/source-code/commit/branch/pull-request work, even if the user mentions a Sentry feature or product area.
|
|
@@ -32,4 +32,4 @@ Lists organizations accessible with current token.
|
|
|
32
32
|
- `--project PROJECT`: Project slug.
|
|
33
33
|
- `--log-level`: `debug`, `info`, `warn`, `error`.
|
|
34
34
|
|
|
35
|
-
Only use commands listed in this reference during normal skill execution. If a command reports
|
|
35
|
+
Only use commands listed in this reference during normal skill execution. If a command reports expired, revoked, or invalid authorization, reconnect the Sentry account and retry. Treat generic permission or org/project access errors as access problems rather than reconnect signals.
|
|
@@ -11,6 +11,6 @@ This skill runs in the harness sandbox (`node22`) and commands execute via the `
|
|
|
11
11
|
|
|
12
12
|
## Credential strategy
|
|
13
13
|
|
|
14
|
-
1.
|
|
14
|
+
1. After the Sentry skill is loaded, authenticated `sentry <command>` calls receive `SENTRY_AUTH_TOKEN` automatically for the current turn.
|
|
15
15
|
2. Run CLI commands: `sentry <command>`.
|
|
16
16
|
3. Credentials are scoped per command execution. Do not persist tokens in files.
|