sentry 0.28.1 → 0.29.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/bin.cjs +1 -1
- package/dist/index.cjs +958 -673
- package/dist/index.d.cts +26 -3
- package/package.json +11 -6
package/dist/index.d.cts
CHANGED
|
@@ -332,7 +332,7 @@ export type DashboardViewParams = {
|
|
|
332
332
|
export type DashboardWidgetAddParams = {
|
|
333
333
|
/** Display type (big_number, line, area, bar, table, stacked_area, top_n, text, categorical_bar, details, wheel, rage_and_dead_clicks, server_tree, agents_traces_table) */
|
|
334
334
|
display: string;
|
|
335
|
-
/** Widget dataset (default: spans) */
|
|
335
|
+
/** Widget dataset (default: spans). Accepts canonical names and API synonyms: spans, error-events/errors, transaction-like/transactions, tracemetrics/metrics, logs, issue, discover */
|
|
336
336
|
dataset?: string;
|
|
337
337
|
/** Aggregate expression (e.g. count, p95:span.duration) */
|
|
338
338
|
query?: string;
|
|
@@ -365,7 +365,7 @@ export type DashboardWidgetEditParams = {
|
|
|
365
365
|
newTitle?: string;
|
|
366
366
|
/** Display type (big_number, line, area, bar, table, stacked_area, top_n, text, categorical_bar, details, wheel, rage_and_dead_clicks, server_tree, agents_traces_table) */
|
|
367
367
|
display?: string;
|
|
368
|
-
/** Widget dataset (default: spans) */
|
|
368
|
+
/** Widget dataset (default: spans). Accepts canonical names and API synonyms: spans, error-events/errors, transaction-like/transactions, tracemetrics/metrics, logs, issue, discover */
|
|
369
369
|
dataset?: string;
|
|
370
370
|
/** Aggregate expression (e.g. count, p95:span.duration) */
|
|
371
371
|
query?: string;
|
|
@@ -591,6 +591,23 @@ export type IssueViewParams = {
|
|
|
591
591
|
spans?: number;
|
|
592
592
|
};
|
|
593
593
|
|
|
594
|
+
export type IssueResolveParams = {
|
|
595
|
+
/** Positional argument */
|
|
596
|
+
issue?: string;
|
|
597
|
+
/** Resolve in a release, next release, or commit ('<version>' | '@next' | '@commit' | '@commit:<repo>@<sha>') */
|
|
598
|
+
in?: string;
|
|
599
|
+
};
|
|
600
|
+
|
|
601
|
+
export type IssueUnresolveParams = {
|
|
602
|
+
/** Positional argument */
|
|
603
|
+
issue?: string;
|
|
604
|
+
};
|
|
605
|
+
|
|
606
|
+
export type IssueMergeParams = {
|
|
607
|
+
/** Prefer this issue as the canonical parent (must match one of the provided IDs) */
|
|
608
|
+
into?: string;
|
|
609
|
+
};
|
|
610
|
+
|
|
594
611
|
export type EventViewParams = {
|
|
595
612
|
/** Span tree depth limit (number, "all" for unlimited, "no" to disable) */
|
|
596
613
|
spans?: number;
|
|
@@ -710,7 +727,7 @@ export type InitParams = {
|
|
|
710
727
|
yes?: boolean;
|
|
711
728
|
/** Show what would happen without making changes */
|
|
712
729
|
dryRun?: boolean;
|
|
713
|
-
/** Features to enable: errors,tracing,logs,replay,
|
|
730
|
+
/** Features to enable: errors,tracing,logs,replay,profiling,ai-monitoring,user-feedback */
|
|
714
731
|
features?: string;
|
|
715
732
|
/** Team slug to create the project under */
|
|
716
733
|
team?: string;
|
|
@@ -855,6 +872,12 @@ export type SentrySDK = {
|
|
|
855
872
|
plan(params?: IssuePlanParams): Promise<unknown>;
|
|
856
873
|
/** View details of a specific issue */
|
|
857
874
|
view(params?: IssueViewParams): Promise<unknown>;
|
|
875
|
+
/** Mark an issue as resolved */
|
|
876
|
+
resolve(params?: IssueResolveParams): Promise<unknown>;
|
|
877
|
+
/** Reopen a resolved issue */
|
|
878
|
+
unresolve(params?: IssueUnresolveParams): Promise<unknown>;
|
|
879
|
+
/** Merge 2+ issues into a single canonical group */
|
|
880
|
+
merge(params?: IssueMergeParams, ...positional: string[]): Promise<unknown>;
|
|
858
881
|
};
|
|
859
882
|
event: {
|
|
860
883
|
/** View details of a specific event */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sentry",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/getsentry/cli.git"
|
|
@@ -11,14 +11,15 @@
|
|
|
11
11
|
"@biomejs/biome": "2.3.8",
|
|
12
12
|
"@clack/prompts": "^0.11.0",
|
|
13
13
|
"@mastra/client-js": "^1.4.0",
|
|
14
|
-
"@sentry/api": "^0.
|
|
15
|
-
"@sentry/node-core": "10.
|
|
14
|
+
"@sentry/api": "^0.113.0",
|
|
15
|
+
"@sentry/node-core": "10.50.0",
|
|
16
16
|
"@sentry/sqlish": "^1.0.0",
|
|
17
17
|
"@stricli/auto-complete": "^1.2.4",
|
|
18
18
|
"@stricli/core": "^1.2.4",
|
|
19
19
|
"@types/bun": "latest",
|
|
20
20
|
"@types/http-cache-semantics": "^4.2.0",
|
|
21
21
|
"@types/node": "^22",
|
|
22
|
+
"@types/picomatch": "^4.0.3",
|
|
22
23
|
"@types/qrcode-terminal": "^0.12.2",
|
|
23
24
|
"@types/semver": "^7.7.1",
|
|
24
25
|
"binpunch": "^1.0.0",
|
|
@@ -56,7 +57,7 @@
|
|
|
56
57
|
},
|
|
57
58
|
"description": "Sentry CLI - A command-line interface for using Sentry built by robots and humans for robots and humans",
|
|
58
59
|
"engines": {
|
|
59
|
-
"node": ">=22"
|
|
60
|
+
"node": ">=22.12"
|
|
60
61
|
},
|
|
61
62
|
"files": [
|
|
62
63
|
"dist/bin.cjs",
|
|
@@ -67,8 +68,8 @@
|
|
|
67
68
|
"packageManager": "bun@1.3.11",
|
|
68
69
|
"patchedDependencies": {
|
|
69
70
|
"@stricli/core@1.2.5": "patches/@stricli%2Fcore@1.2.5.patch",
|
|
70
|
-
"@sentry/node-core@10.
|
|
71
|
-
"@sentry/core@10.
|
|
71
|
+
"@sentry/node-core@10.50.0": "patches/@sentry%2Fnode-core@10.50.0.patch",
|
|
72
|
+
"@sentry/core@10.50.0": "patches/@sentry%2Fcore@10.50.0.patch"
|
|
72
73
|
},
|
|
73
74
|
"scripts": {
|
|
74
75
|
"dev": "bun run generate:schema && bun run generate:docs && bun run generate:sdk && bun run src/bin.ts",
|
|
@@ -91,6 +92,10 @@
|
|
|
91
92
|
"generate:schema": "bun run script/generate-api-schema.ts",
|
|
92
93
|
"generate:command-docs": "bun run script/generate-command-docs.ts",
|
|
93
94
|
"eval:skill": "bun run script/eval-skill.ts",
|
|
95
|
+
"bench": "bun run script/bench.ts",
|
|
96
|
+
"bench:save": "bun run script/bench.ts --save-baseline",
|
|
97
|
+
"bench:compare": "bun run script/bench.ts --compare",
|
|
98
|
+
"bench:sweep": "bun run script/bench-sweep.ts",
|
|
94
99
|
"check:fragments": "bun run script/check-fragments.ts",
|
|
95
100
|
"check:deps": "bun run script/check-no-deps.ts",
|
|
96
101
|
"check:errors": "bun run script/check-error-patterns.ts",
|