Skip to content

Commit 97643aa

Browse files
chore: resolve merge conflict with main (accept main's AGENTS.md lore entries)
2 parents 8018619 + 42562c6 commit 97643aa

58 files changed

Lines changed: 9472 additions & 999 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

AGENTS.md

Lines changed: 51 additions & 54 deletions
Large diffs are not rendered by default.

biome.jsonc

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,26 @@
3333
}
3434
},
3535
"overrides": [
36+
{
37+
// The React-hook lint rules infer "this is a hook" from the
38+
// `use*` naming convention. We have a couple of test helpers
39+
// (`useTestConfigDir`, `useEnvSandbox`) that share the prefix
40+
// by coincidence — they register `beforeEach`/`afterEach` and
41+
// have nothing to do with React. Without these overrides every
42+
// call site lights up `useHookAtTopLevel` since making the
43+
// tsconfig JSX-aware (for `OpenTuiUI`) flipped the rule on.
44+
// The actual React tree lives in `src/lib/init/ui/opentui-app.tsx`
45+
// and keeps the rule active.
46+
"includes": ["test/**/*.ts", "src/**/*.ts", "!src/**/*.tsx"],
47+
"linter": {
48+
"rules": {
49+
"correctness": {
50+
"useHookAtTopLevel": "off",
51+
"useExhaustiveDependencies": "off"
52+
}
53+
}
54+
}
55+
},
3656
{
3757
"includes": ["test/**/*.ts"],
3858
"linter": {

bun.lock

Lines changed: 89 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/src/fragments/commands/init.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
# Interactive setup
1111
sentry init
1212

13-
# Non-interactive with auto-yes
14-
sentry init -y
13+
# Non-interactive agent/CI setup
14+
sentry init --yes --features errors,tracing,replay
1515

1616
# Dry run to preview changes
1717
sentry init --dry-run

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@
99
"devDependencies": {
1010
"@anthropic-ai/sdk": "^0.39.0",
1111
"@biomejs/biome": "2.3.8",
12-
"@clack/prompts": "^0.11.0",
1312
"@mastra/client-js": "^1.4.0",
14-
"@sentry/api": "^0.133.0",
13+
"@sentry/api": "^0.141.0",
1514
"@sentry/node-core": "10.50.0",
1615
"@sentry/sqlish": "^1.0.0",
1716
"@stricli/auto-complete": "^1.2.4",
@@ -21,6 +20,7 @@
2120
"@types/node": "^22",
2221
"@types/picomatch": "^4.0.3",
2322
"@types/qrcode-terminal": "^0.12.2",
23+
"@types/react": "^19.2.14",
2424
"@types/semver": "^7.7.1",
2525
"binpunch": "^1.0.0",
2626
"chalk": "^5.6.2",
@@ -30,12 +30,16 @@
3030
"fast-check": "^4.5.3",
3131
"http-cache-semantics": "^4.2.0",
3232
"ignore": "^7.0.5",
33+
"ink": "^7.0.1",
34+
"ink-spinner": "^5.0.0",
3335
"marked": "^15",
3436
"p-limit": "^7.2.0",
3537
"peggy": "^5.1.0",
3638
"picomatch": "^4.0.3",
3739
"pretty-ms": "^9.3.0",
3840
"qrcode-terminal": "^0.12.0",
41+
"react": "^19.2.5",
42+
"react-devtools-core": "^7.0.1",
3943
"semver": "^7.7.3",
4044
"string-width": "^8.2.0",
4145
"tinyglobby": "^0.2.15",

plugins/sentry-cli/skills/sentry-cli/references/event.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ List events for an issue
5959
| `platform` | string \| null | Platform (python, javascript, etc.) |
6060
| `dateCreated` | string | ISO 8601 creation timestamp |
6161
| `crashFile` | string \| null | Crash file URL |
62-
| `metadata` | unknown \| null | Event metadata |
62+
| `metadata` | object \| null | Event metadata |
6363

6464
**Examples:**
6565

plugins/sentry-cli/skills/sentry-cli/references/init.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,20 @@ Initialize Sentry in your project (experimental)
1616
Initialize Sentry in your project (experimental)
1717

1818
**Flags:**
19-
- `-y, --yes - Non-interactive mode (accept defaults)`
19+
- `-y, --yes - Accept non-interactive defaults (requires --features outside a TTY)`
2020
- `-n, --dry-run - Show what would happen without making changes`
21-
- `--features <value>... - Features to enable: errors,tracing,logs,replay,profiling,ai-monitoring,user-feedback`
21+
- `--features <value>... - Features to enable: errors,tracing,logs,replay,metrics,profiling,sourcemaps,crons,ai-monitoring,user-feedback`
2222
- `-t, --team <value> - Team slug to create the project under`
23+
- `--tui - Use the Ink-based interactive UI (default on the Bun binary). Pass --no-tui to fall back to plain log output.`
2324

2425
**Examples:**
2526

2627
```bash
2728
# Interactive setup
2829
sentry init
2930

30-
# Non-interactive with auto-yes
31-
sentry init -y
31+
# Non-interactive agent/CI setup
32+
sentry init --yes --features errors,tracing,replay
3233

3334
# Dry run to preview changes
3435
sentry init --dry-run

plugins/sentry-cli/skills/sentry-cli/references/issue.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ List issues in a project
3434
| `culprit` | string | Culprit string |
3535
| `count` | string | Total event count |
3636
| `userCount` | number | Number of affected users |
37-
| `firstSeen` | string \| null | First occurrence (ISO 8601) |
38-
| `lastSeen` | string \| null | Most recent occurrence (ISO 8601) |
37+
| `firstSeen` | string | First occurrence (ISO 8601) |
38+
| `lastSeen` | string | Most recent occurrence (ISO 8601) |
3939
| `level` | string | Severity level |
4040
| `status` | string | Issue status |
41-
| `priority` | string | Triage priority |
42-
| `platform` | string | Platform |
4341
| `permalink` | string | URL to the issue in Sentry |
4442
| `project` | object | Project info |
4543
| `metadata` | object | Issue metadata |
46-
| `assignedTo` | unknown \| null | Assigned user or team |
44+
| `assignedTo` | object \| null | Assigned user or team |
45+
| `priority` | string | Triage priority |
46+
| `platform` | string | Platform |
4747
| `substatus` | string \| null | Issue substatus |
4848
| `isUnhandled` | boolean | Whether the issue is unhandled |
4949
| `seerFixabilityScore` | number \| null | Seer AI fixability score (0-1) |
@@ -109,7 +109,7 @@ List events for a specific issue
109109
| `platform` | string \| null | Platform (python, javascript, etc.) |
110110
| `dateCreated` | string | ISO 8601 creation timestamp |
111111
| `crashFile` | string \| null | Crash file URL |
112-
| `metadata` | unknown \| null | Event metadata |
112+
| `metadata` | object \| null | Event metadata |
113113

114114
### `sentry issue explain <issue>`
115115

plugins/sentry-cli/skills/sentry-cli/references/replay.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ List recent Session Replays
5454
| `releases` | array | Associated releases |
5555
| `sdk` | object \| null | SDK metadata |
5656
| `started_at` | string \| null | Replay start timestamp |
57-
| `tags` | unknown | Replay tags |
57+
| `tags` | object | Replay tags |
5858
| `trace_ids` | array | Linked trace IDs |
5959
| `urls` | array | Visited URLs |
6060
| `user` | object \| null | User metadata |
@@ -118,7 +118,7 @@ View a Session Replay
118118
| `releases` | array | Associated releases |
119119
| `sdk` | object \| null | SDK metadata |
120120
| `started_at` | string \| null | Replay start timestamp |
121-
| `tags` | unknown | Replay tags |
121+
| `tags` | object | Replay tags |
122122
| `trace_ids` | array | Linked trace IDs |
123123
| `urls` | array | Visited URLs |
124124
| `user` | object \| null | User metadata |

plugins/sentry-cli/skills/sentry-cli/references/team.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ List teams
2727
| `id` | string | Team ID |
2828
| `slug` | string | Team slug |
2929
| `name` | string | Team name |
30-
| `dateCreated` | string | Creation date (ISO 8601) |
30+
| `dateCreated` | string \| null | Creation date (ISO 8601) |
3131
| `isMember` | boolean | Whether you are a member |
3232
| `teamRole` | string \| null | Your role in the team |
3333
| `memberCount` | number | Number of members |

0 commit comments

Comments
 (0)