sentry 0.23.0 → 0.24.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/index.cjs +853 -581
- package/dist/index.d.cts +95 -3
- package/package.json +11 -11
package/dist/index.d.cts
CHANGED
|
@@ -315,6 +315,12 @@ export type DashboardWidgetDeleteParams = {
|
|
|
315
315
|
index?: string;
|
|
316
316
|
/** Widget title to match */
|
|
317
317
|
title?: string;
|
|
318
|
+
/** Skip confirmation prompt */
|
|
319
|
+
yes?: boolean;
|
|
320
|
+
/** Force the operation without confirmation */
|
|
321
|
+
force?: boolean;
|
|
322
|
+
/** Show what would happen without making changes */
|
|
323
|
+
dryRun?: boolean;
|
|
318
324
|
};
|
|
319
325
|
|
|
320
326
|
export type OrgListParams = {
|
|
@@ -332,7 +338,7 @@ export type ProjectCreateParams = {
|
|
|
332
338
|
namePlatform?: string;
|
|
333
339
|
/** Team to create the project under */
|
|
334
340
|
team?: string;
|
|
335
|
-
/**
|
|
341
|
+
/** Show what would happen without making changes */
|
|
336
342
|
dryRun?: boolean;
|
|
337
343
|
};
|
|
338
344
|
|
|
@@ -341,9 +347,9 @@ export type ProjectDeleteParams = {
|
|
|
341
347
|
orgProject?: string;
|
|
342
348
|
/** Skip confirmation prompt */
|
|
343
349
|
yes?: boolean;
|
|
344
|
-
/** Force
|
|
350
|
+
/** Force the operation without confirmation */
|
|
345
351
|
force?: boolean;
|
|
346
|
-
/**
|
|
352
|
+
/** Show what would happen without making changes */
|
|
347
353
|
dryRun?: boolean;
|
|
348
354
|
};
|
|
349
355
|
|
|
@@ -363,6 +369,72 @@ export type ProjectViewParams = {
|
|
|
363
369
|
orgProject?: string;
|
|
364
370
|
};
|
|
365
371
|
|
|
372
|
+
export type ReleaseListParams = {
|
|
373
|
+
/** Positional argument */
|
|
374
|
+
orgProject?: string;
|
|
375
|
+
/** Maximum number of releases to list */
|
|
376
|
+
limit?: number;
|
|
377
|
+
/** Navigate pages: "next", "prev", "first" (or raw cursor string) */
|
|
378
|
+
cursor?: string;
|
|
379
|
+
};
|
|
380
|
+
|
|
381
|
+
export type ReleaseCreateParams = {
|
|
382
|
+
/** Associate with project(s), comma-separated */
|
|
383
|
+
project?: string;
|
|
384
|
+
/** Immediately finalize the release (set dateReleased) */
|
|
385
|
+
finalize?: boolean;
|
|
386
|
+
/** Git ref (branch or tag name) */
|
|
387
|
+
ref?: string;
|
|
388
|
+
/** URL to the release source */
|
|
389
|
+
url?: string;
|
|
390
|
+
/** Show what would happen without making changes */
|
|
391
|
+
dryRun?: boolean;
|
|
392
|
+
};
|
|
393
|
+
|
|
394
|
+
export type ReleaseFinalizeParams = {
|
|
395
|
+
/** Custom release timestamp (ISO 8601). Defaults to now. */
|
|
396
|
+
released?: string;
|
|
397
|
+
/** URL for the release */
|
|
398
|
+
url?: string;
|
|
399
|
+
/** Show what would happen without making changes */
|
|
400
|
+
dryRun?: boolean;
|
|
401
|
+
};
|
|
402
|
+
|
|
403
|
+
export type ReleaseDeleteParams = {
|
|
404
|
+
/** Skip confirmation prompt */
|
|
405
|
+
yes?: boolean;
|
|
406
|
+
/** Force the operation without confirmation */
|
|
407
|
+
force?: boolean;
|
|
408
|
+
/** Show what would happen without making changes */
|
|
409
|
+
dryRun?: boolean;
|
|
410
|
+
};
|
|
411
|
+
|
|
412
|
+
export type ReleaseDeployParams = {
|
|
413
|
+
/** URL for the deploy */
|
|
414
|
+
url?: string;
|
|
415
|
+
/** Deploy start time (ISO 8601) */
|
|
416
|
+
started?: string;
|
|
417
|
+
/** Deploy finish time (ISO 8601) */
|
|
418
|
+
finished?: string;
|
|
419
|
+
/** Deploy duration in seconds (sets started = now - time, finished = now) */
|
|
420
|
+
time?: string;
|
|
421
|
+
/** Show what would happen without making changes */
|
|
422
|
+
dryRun?: boolean;
|
|
423
|
+
};
|
|
424
|
+
|
|
425
|
+
export type ReleaseSetCommitsParams = {
|
|
426
|
+
/** Use repository integration to auto-discover commits */
|
|
427
|
+
auto?: boolean;
|
|
428
|
+
/** Read commits from local git history */
|
|
429
|
+
local?: boolean;
|
|
430
|
+
/** Clear all commits from the release */
|
|
431
|
+
clear?: boolean;
|
|
432
|
+
/** Explicit commit as REPO@SHA or REPO@PREV..SHA (comma-separated) */
|
|
433
|
+
commit?: string;
|
|
434
|
+
/** Number of commits to read with --local */
|
|
435
|
+
initialDepth?: number;
|
|
436
|
+
};
|
|
437
|
+
|
|
366
438
|
export type RepoListParams = {
|
|
367
439
|
/** Positional argument */
|
|
368
440
|
orgProject?: string;
|
|
@@ -625,6 +697,26 @@ export type SentrySDK = {
|
|
|
625
697
|
/** View details of a project */
|
|
626
698
|
view(params?: ProjectViewParams): Promise<unknown>;
|
|
627
699
|
};
|
|
700
|
+
release: {
|
|
701
|
+
/** List releases */
|
|
702
|
+
list(params?: ReleaseListParams): Promise<unknown>;
|
|
703
|
+
/** View release details */
|
|
704
|
+
view(...positional: string[]): Promise<unknown>;
|
|
705
|
+
/** Create a release */
|
|
706
|
+
create(params?: ReleaseCreateParams, ...positional: string[]): Promise<unknown>;
|
|
707
|
+
/** Finalize a release */
|
|
708
|
+
finalize(params?: ReleaseFinalizeParams, ...positional: string[]): Promise<unknown>;
|
|
709
|
+
/** Delete a release */
|
|
710
|
+
delete(params?: ReleaseDeleteParams, ...positional: string[]): Promise<unknown>;
|
|
711
|
+
/** Create a deploy for a release */
|
|
712
|
+
deploy(params?: ReleaseDeployParams, ...positional: string[]): Promise<unknown>;
|
|
713
|
+
/** List deploys for a release */
|
|
714
|
+
deploys(...positional: string[]): Promise<unknown>;
|
|
715
|
+
/** Set commits for a release */
|
|
716
|
+
"set-commits"(params?: ReleaseSetCommitsParams, ...positional: string[]): Promise<unknown>;
|
|
717
|
+
/** Propose a release version */
|
|
718
|
+
"propose-version"(): Promise<unknown>;
|
|
719
|
+
};
|
|
628
720
|
repo: {
|
|
629
721
|
/** List repositories */
|
|
630
722
|
list(params?: RepoListParams): Promise<RepoListResult>;
|
package/package.json
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sentry",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/getsentry/cli.git"
|
|
7
7
|
},
|
|
8
|
+
"main": "./dist/index.cjs",
|
|
8
9
|
"devDependencies": {
|
|
9
10
|
"@anthropic-ai/sdk": "^0.39.0",
|
|
10
11
|
"@biomejs/biome": "2.3.8",
|
|
11
12
|
"@clack/prompts": "^0.11.0",
|
|
12
13
|
"@mastra/client-js": "^1.4.0",
|
|
13
|
-
"@sentry/api": "^0.
|
|
14
|
-
"@sentry/node-core": "10.
|
|
14
|
+
"@sentry/api": "^0.94.0",
|
|
15
|
+
"@sentry/node-core": "10.47.0",
|
|
15
16
|
"@sentry/sqlish": "^1.0.0",
|
|
16
17
|
"@stricli/auto-complete": "^1.2.4",
|
|
17
18
|
"@stricli/core": "^1.2.4",
|
|
@@ -43,11 +44,6 @@
|
|
|
43
44
|
"wrap-ansi": "^10.0.0",
|
|
44
45
|
"zod": "^3.24.0"
|
|
45
46
|
},
|
|
46
|
-
"bin": {
|
|
47
|
-
"sentry": "./dist/bin.cjs"
|
|
48
|
-
},
|
|
49
|
-
"main": "./dist/index.cjs",
|
|
50
|
-
"types": "./dist/index.d.cts",
|
|
51
47
|
"exports": {
|
|
52
48
|
".": {
|
|
53
49
|
"types": "./dist/index.d.cts",
|
|
@@ -55,6 +51,9 @@
|
|
|
55
51
|
"default": "./dist/index.cjs"
|
|
56
52
|
}
|
|
57
53
|
},
|
|
54
|
+
"bin": {
|
|
55
|
+
"sentry": "./dist/bin.cjs"
|
|
56
|
+
},
|
|
58
57
|
"description": "Sentry CLI - A command-line interface for using Sentry built by robots and humans for robots and humans",
|
|
59
58
|
"engines": {
|
|
60
59
|
"node": ">=22"
|
|
@@ -68,8 +67,8 @@
|
|
|
68
67
|
"packageManager": "bun@1.3.11",
|
|
69
68
|
"patchedDependencies": {
|
|
70
69
|
"@stricli/core@1.2.5": "patches/@stricli%2Fcore@1.2.5.patch",
|
|
71
|
-
"@sentry/core@10.
|
|
72
|
-
"@sentry/
|
|
70
|
+
"@sentry/node-core@10.47.0": "patches/@sentry%2Fnode-core@10.47.0.patch",
|
|
71
|
+
"@sentry/core@10.47.0": "patches/@sentry%2Fcore@10.47.0.patch"
|
|
73
72
|
},
|
|
74
73
|
"scripts": {
|
|
75
74
|
"dev": "bun run generate:schema && bun run generate:skill && bun run generate:sdk && bun run src/bin.ts",
|
|
@@ -94,5 +93,6 @@
|
|
|
94
93
|
"check:deps": "bun run script/check-no-deps.ts",
|
|
95
94
|
"check:errors": "bun run script/check-error-patterns.ts"
|
|
96
95
|
},
|
|
97
|
-
"type": "module"
|
|
96
|
+
"type": "module",
|
|
97
|
+
"types": "./dist/index.d.cts"
|
|
98
98
|
}
|