Dashboard › cli › Distillation
b97a2b0c-5338-447c-a85a-c9d558e3b0cd["lore_tm_v1_ctXl873u41PCBLQQiM8BpqQpXgJq07bsP2mET2XOsIU","lore_tm_v1_SIFarCYiswouqfi4oKxklgKMHcZEdM6xBZndOgeD_4s","lore_tm_v1_MR7v50dOZJjfSD8saTT19QcSSpAVK4yxv_SZLL425H8","lore_tm_v1_Jcu7DXIz-q-7CZ3HVXHmR-tbti70XIBW9hjmd-In24I","lore_tm_v1_prtuoH_hF4tVwNqvxb45QGc3zzpFvuF0L11oXppkXIo","lore_tm_v1_0qRlyuAyLIhhJaVw7z-EvqTWEv4ozGgBNEChQpYDNH0","lore_tm_v1_oPM0C-hcaYHYW9ifmTX7a-3CC2e-NLeZMfp4-ffWJiA","lore_tm_v1_71cI4oQ5FYxg-NQY5ZWZUWqtrpfPLFy3eECDgaMhv6s","lore_tm_v1_7glRRFZzCtfrAcLPO6wrCYUwOPKcGSuTDNSsJr0aMyk"]
Date: Sep 9, 2026
package.json defines workspace toolkit-cli-workspace version 0.0.0, private ESM, packageManager: pnpm@10.11.0, and Node engine >=20.0.package.json delegates scripts to the sentry package via pnpm --filter sentry run: tsx, cli, dev, build, build:all, bundle, typecheck, lint, lint:fix, test, test:unit, test:changed, test:e2e, test:init-eval, generate:parser, generate:sdk, generate:skill, generate:banner, generate:docs, generate:docs-sections, generate:schema, generate:command-docs, eval:skill, bench, bench:save, bench:compare, bench:sweep, check:fragments, check:deps, check:errors, check:patches, check:docs-sections, and check:stale-refs.package.json patches @stricli/core@1.2.8 via packages/cli/patches/@stricli%2Fcore@1.2.8.patch, @sentry/core@10.63.0 via packages/cli/patches/@sentry%2Fcore@10.63.0.patch, and @sentry/node-core@10.63.0 via packages/cli/patches/@sentry%2Fnode-core@10.63.0.patch; esbuild is the sole onlyBuiltDependencies entry.esbuild@>=0.17.0 <0.28.1 → 0.28.1, js-yaml@<3.15.1 → 3.15.1, js-yaml@>=4.0.0 <4.3.1 → 4.3.1, shell-quote@<1.9.0 → 1.9.0, qs@>=6.11.1 <=6.15.1 → 6.15.2, form-data@<4.0.6 → 4.0.6, vite@>=8.0.0 <8.0.16 → 8.0.16, @hono/node-server@<2.0.5 → 2.0.12, fast-uri@<=3.1.3 → 3.1.5, brace-expansion@<5.0.8 → 5.0.9, undici@>=7.0.0 <7.29.0 → 7.29.0, nanoid@<3.3.18 → 3.3.18, and ip-address@<10.3.1 → 10.4.0.apps/cli-docs/src/content/docs/contributing.md, packages/cli/DEVELOPMENT.md, and packages/cli/CONTRIBUTING.md.packages/cli/CONTRIBUTING.md states list commands use optional positional context with smart auto-detection and examples sentry org list [--limit N] [--json], sentry project list [org] [--limit N] [--json], and sentry issue list [<org>/<project>] [--json]; target forms are <org>/<project> for explicit organization/project, <org>/ for all projects in an organization, <project> to search by project name across accessible organizations, and omission for DSN/config auto-detection.packages/cli/CONTRIBUTING.md states view commands follow gh repo view-style optional primary identifiers: sentry org view [org-slug] [--json] [-w], sentry project view [<org>/<project>] [--json] [-w], sentry issue view <issue-id> [--json] [-w], and sentry event view [<org>/<project>] <event-id> [--json] [-w]; every view command supports -w/--web.packages/cli/CONTRIBUTING.md defines context-resolution priority as: 1. positional arguments <org>/<project> always win; 2. config defaults set through sentry config set; 3. DSN auto-detection from SENTRY_DSN or source code.packages/cli/CONTRIBUTING.md requires ContextError for missing required context; its constructor example supplies the required resource ("Organization"), primary usage ("sentry org view <org-slug>"), and alternatives (["Set SENTRY_DSN for auto-detection"]).packages/cli/CONTRIBUTING.md gives the ordered new-command checklist: 1. choose list (flags only) or view (optional positional), 2. use resolveOrg() / resolveOrgAndProject() from lib/resolve-target.ts, 3. support --json, 4. support -w/--web for view commands, 5. use ContextError for missing context, 6. add E2E tests under test/e2e/.packages/cli/CONTRIBUTING.md code style requires TypeScript strict mode, explicit types over inference for public APIs, JSDoc comments for functions, and small focused functions.packages/cli/DEVELOPMENT.md requires Node.js v22.15+, pnpm v10.11+, and a Sentry OAuth application; setup is pnpm install, then a project-root .env.local containing SENTRY_CLIENT_ID=your-sentry-oauth-client-id.packages/cli/DEVELOPMENT.md states no client secret is needed because the CLI uses OAuth 2.0 Device Authorization Grant (RFC 8628); local login runs as pnpm run cli -- auth login.packages/cli/DEVELOPMENT.md describes device authentication in order: 1. CLI requests a device code from Sentry, 2. user receives a code and URL, 3. CLI polls until authorization, 4. CLI receives and locally stores the access token; no proxy server is needed.packages/cli/DEVELOPMENT.md lists requested OAuth scopes: project:read, project:write, project:admin, org:read, event:read, event:write, member:read, team:read, team:write, team:admin, alerts:read, and alerts:write.packages/cli/DEVELOPMENT.md documents environment variables: SENTRY_AUTH_TOKEN for non-interactive API auth with lower priority than stored OAuth by default; SENTRY_FORCE_ENV_TOKEN to prioritize the environment token; SENTRY_HOST for the instance URL with default https://sentry.io; SENTRY_URL as an alias with the same default; SENTRY_CLIENT_ID required for build; SENTRY_CONFIG_DIR defaulting to ~/.sentry/; SENTRY_LOG_LEVEL accepting error, warn, log, info, debug, or trace and defaulting to info; and SENTRY_CLI_NO_TELEMETRY to disable CLI error-tracking telemetry.packages/cli/DEVELOPMENT.md states pnpm run build builds the native binary using esbuild for bundling and fossilize for Node SEA packaging.packages/cli/package.json defines package sentry version 0.45.0-dev.0, ESM package type, repository git+https://github.com/getsentry/cli.git, executable sentry → ./dist/bin.cjs, runtime Node engine >=20.0, development runtime Node >=22.15, and packageManager: pnpm@10.11.0.packages/cli/package.json exports import artifacts ./dist/index.mjs and ./dist/index.d.mts, require artifacts ./dist/index.cjs and ./dist/index.d.cts, and packages dist/bin.cjs, those four index artifacts, dist/ink-app.js, dist/node-sqlite3-wasm.wasm, dist/assets/spleen-8x16.bin, dist/vendor/symbolic_bg.wasm, LICENSE.md, THIRD_PARTY_LICENSES.md, and README.md.packages/cli/package.json defines test:unit as pnpm run generate:docs && pnpm run generate:sdk && vitest run test/lib test/commands test/types test/script --coverage, test:changed as the same generators followed by vitest run --changed, and test:e2e as the generators followed by vitest run test/e2e.packages/cli/package.json defines build as schema/docs/SDK generation followed by pnpm tsx script/build.ts --single, build:all with pnpm tsx script/build.ts, bundle with pnpm tsx script/bundle.ts, typecheck with docs/SDK generation and tsc --noEmit, lint with biome check --no-errors-on-unmatched --error-on-warnings --max-diagnostics=none ./, and lint:fix with biome check --write --no-errors-on-unmatched --max-diagnostics=none ./.packages/cli/package.json uses exact key tooling versions including @sentry/api ^0.256.0, @sentry/core 10.63.0, @sentry/node 10.65.0, @sentry/node-core 10.63.0, @stricli/core 1.2.8, binpatch ^0.4.2, esbuild ^0.28.1, fast-check ^4.8.0, fossilize ^0.10.1, semver ^7.8.5, tsx ^4.22.4, typescript ^5.9.3, and vitest ^4.1.9.feat/toolkit-bridge-upgrade tracks origin/feat/toolkit-bridge-upgrade; HEAD and the remote branch are at exact commit dbee7e9f2a4555e044f74dfebad002cccfa43a1f, with exact comparison base ec83887a16f780f32fba4b7d710bad262dba3a22.base..head diff changes exactly 16 files: packages/cli/src/commands/cli/upgrade.ts, packages/cli/src/lib/binary.ts, packages/cli/src/lib/delta-upgrade.ts, packages/cli/src/lib/ghcr.ts, packages/cli/src/lib/release-notes.ts, packages/cli/src/lib/upgrade.ts, packages/cli/src/lib/version-check.ts, packages/cli/test/commands/cli.test.ts, packages/cli/test/commands/cli/upgrade.test.ts, packages/cli/test/lib/binary.test.ts, packages/cli/test/lib/delta-upgrade.mocked.test.ts, packages/cli/test/lib/delta-upgrade.test.ts, packages/cli/test/lib/ghcr.test.ts, packages/cli/test/lib/release-notes.test.ts, packages/cli/test/lib/upgrade.test.ts, and packages/cli/test/lib/version-check.test.ts.1663 insertions(+) and 301 deletions(-) across 16 files; per-file line-change counts are upgrade.ts 114, binary.ts 154, delta-upgrade.ts 139, ghcr.ts 68, release-notes.ts 119, upgrade.ts library 309, version-check.ts 21, cli.test.ts 23, command upgrade.test.ts 71, binary.test.ts 130, delta-upgrade.mocked.test.ts 14, delta-upgrade.test.ts 201, ghcr.test.ts 40, release-notes.test.ts 113, upgrade.test.ts 323, and version-check.test.ts 125.a84a52f92f46526431f9d1572166676d68542683797142d9116d2bee61de48ea for stdin and repeated the exact base commit ec83887a16f780f32fba4b7d710bad262dba3a22.04867eaf9 feat(cli): add toolkit upgrade bridge, 2. 9c874298e fix(cli): address toolkit bridge review, 3. 723375b6c fix(cli): address upgrade review findings, 4. dbee7e9f2 test(cli): update toolkit upgrade fixtures; the fourth commit is HEAD and origin/feat/toolkit-bridge-upgrade. (meaning Sep 10, 2026)