Dashboard › cli › Distillation
7d84f68b-fe79-4ce8-af27-6304bc76dd27["lore_tm_v1_2I4ldZCQZpBhGK7pENpcLFqWaQaNXLZuzINL-UpqWM8","lore_tm_v1_17rS0N9GI6YIgZ1QGCTaF0IAp0VV1ceftLyCK_Lby6I","lore_tm_v1_A-ryHbjEOnMOYiNJ9obIpKV0NemAjrFfpCb3h9QGqb0"]
packages/cli/package.json defines package sentry version 0.45.0-dev.0, description βSentry CLI - A command-line interface for using Sentry built by robots and humans for robots and humans,β repository git+https://github.com/getsentry/cli.git, license FSL-1.1-Apache-2.0, "type": "module", package manager pnpm@10.11.0, Node engine >=20.0, and development runtime requirement Node >=22.15.packages/cli/package.json entry points are "main": "./dist/index.cjs" and "types": "./dist/index.d.cts"; package exports map ESM imports to types ./dist/index.d.mts and default ./dist/index.mjs, while CommonJS requires map to types ./dist/index.d.cts and default ./dist/index.cjs; binary sentry maps to ./dist/bin.cjs.packages/cli/package.json publishes exactly these files: dist/bin.cjs, dist/index.cjs, dist/index.mjs, dist/index.d.cts, dist/index.d.mts, 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 script implementations are: tsx β tsx --env-file-if-exists=.env.local --import ./script/require-shim.mjs; cli β tsx --env-file-if-exists=.env.local --import ./script/require-shim.mjs src/bin.ts; dev β pnpm run generate:schema && pnpm run generate:docs && pnpm run generate:sdk && tsx --import ./script/require-shim.mjs src/bin.ts; build β the same three generators followed by pnpm tsx script/build.ts --single; build:all β the same generators followed by pnpm tsx script/build.ts; bundle β the same generators followed by pnpm tsx script/bundle.ts; typecheck β pnpm run generate:docs && pnpm run generate:sdk && tsc --noEmit.packages/cli/package.json quality/test scripts are: lint β biome check --no-errors-on-unmatched --error-on-warnings --max-diagnostics=none ./; lint:fix β biome check --write --no-errors-on-unmatched --max-diagnostics=none ./; test β pnpm run test:unit; test:unit β pnpm run generate:docs && pnpm run generate:sdk && vitest run test/lib test/commands test/types test/script --coverage; test:changed β pnpm run generate:docs && pnpm run generate:sdk && vitest run --changed; test:e2e β pnpm run generate:docs && pnpm run generate:sdk && vitest run test/e2e; test:init-eval β vitest run test/init-eval --testTimeout 600000.packages/cli/package.json generation scripts are: generate:parser β pnpm tsx script/generate-parser.ts; generate:sdk β pnpm tsx script/generate-sdk.ts; generate:skill β pnpm tsx script/generate-skill.ts; generate:banner β pnpm tsx script/generate-banner-sixel.ts; generate:docs β pnpm run generate:banner && pnpm run generate:parser && pnpm run generate:command-docs && pnpm run generate:skill && pnpm run generate:docs-sections; generate:docs-sections β pnpm tsx script/generate-docs-sections.ts; generate:schema β pnpm tsx script/generate-api-schema.ts; generate:command-docs β pnpm tsx script/generate-command-docs.ts.packages/cli/package.json evaluation/benchmark scripts are: eval:skill β pnpm tsx script/eval-skill.ts; bench β pnpm tsx script/bench.ts; bench:save β pnpm tsx script/bench.ts --save-baseline; bench:compare β pnpm tsx script/bench.ts --compare; bench:sweep β pnpm tsx script/bench-sweep.ts.packages/cli/package.json check scripts are: check:fragments β pnpm tsx script/check-fragments.ts; check:deps β pnpm tsx script/check-no-deps.ts; check:errors β pnpm tsx script/check-error-patterns.ts; check:patches β pnpm tsx script/check-patches.ts; check:docs-sections β pnpm tsx script/generate-docs-sections.ts --check; check:env-coverage β pnpm tsx script/check-env-coverage.ts; check:stale-refs β pnpm tsx script/check-stale-references.ts.packages/cli/package.json devDependencies and versions are: @anthropic-ai/sdk@^0.39.0, @biomejs/biome@2.3.8, @clack/prompts@0.11.0, @hono/node-server@^2.0.10, @mastra/client-js@^1.38.0, @sentry/api@^0.256.0, @sentry/core@10.63.0, @sentry/node@10.65.0, @sentry/node-core@10.63.0, @sentry/sqlish@^1.0.1, @sentry/symbolic@13.7.0, @spotlightjs/spotlight@^4.11.7, @stricli/auto-complete@^1.2.8, @stricli/core@1.2.8, @types/http-cache-semantics@^4.2.0, @types/node@^22.20.0, @types/picomatch@^4.0.3, @types/pngjs@^6.0.5, @types/qrcode-terminal@^0.12.2, @types/react@^19.2.17, @types/semver@^7.7.1, and @vitest/coverage-v8@^4.1.9.packages/cli/package.json devDependencies and versions are: binpatch@^0.4.2, chalk@^5.6.2, cli-highlight@^2.1.11, consola@^3.4.2, esbuild@^0.28.1, fast-check@^4.8.0, fflate@^0.8.3, fossilize@^0.10.1, hono@^4.12.34, http-cache-semantics@^4.2.0, ignore@^7.0.5, ink@^7.1.0, ink-spinner@^5.0.0, jpeg-js@^0.4.4, marked@^15.0.12, node-sqlite3-wasm@0.8.59, p-limit@^7.3.0, peggy@^5.1.0, picomatch@^4.0.4, pixelmatch@^7.2.0, pngjs@^7.0.0, pretty-ms@^9.3.0, qrcode-terminal@^0.12.0, react@^19.2.7, react-devtools-core@^7.0.1, semver@^7.8.5, string-width@^8.2.1, tinyglobby@^0.2.17, tsx@^4.22.4, typescript@^5.9.3, ultracite@6.3.10, uuidv7@^1.2.1, valibot@^1.4.2, vitest@^4.1.9, and wrap-ansi@^10.0.0..cursor/rules/ultracite.mdc describes Ultracite as a zero-config Biome preset for strict code quality; it applies to **/*.{ts,tsx,js,jsx,json,jsonc,html,vue,svelte,astro,css,yaml,yml,graphql,gql,md,mdx,grit} when enabled and sets alwaysApply: false..cursor/rules/ultracite.mdc are: format with npx ultracite fix, check with npx ultracite check, diagnose with npx ultracite doctor, and run npx ultracite fix before committing.unknown instead of any for genuinely unknown values, as const for immutable values/literal types, TypeScript narrowing instead of type assertions, and meaningful variable names/descriptive constants instead of magic numbers.for...of instead of .forEach() and indexed for loops, optional chaining ?. and nullish coalescing ??, template literals instead of concatenation, destructuring for object/array assignments, and const by default with let only for reassignment and never var.await promises in async functions - don't forget to use the return value.βasync/await instead of promise chains, appropriate async error handling with try-catch blocks, and prohibit using async functions as Promise executors.console.log, debugger, and alert from production code; throwing descriptive Error objects rather than strings or other values; using try-catch meaningfully without catching only to rethrow; and preferring early returns over nested error-case conditionals.rel="noopener" with target="_blank", avoiding dangerouslySetInnerHTML unless absolutely necessary, prohibiting eval() and direct assignment to document.cookie, and validating/sanitizing user input.index files that re-export everything; and prefer proper image components such as Next.js <Image> over <img>.it() or test() blocks, async/await rather than done callbacks in async tests, no .only or .skip in committed code, and reasonably flat suites without excessive describe nesting..cursor/rules/ultracite.mdc identifies six areas Biome cannot validate automatically, in order: 1. business logic correctness/algorithms; 2. meaningful naming for functions, variables, and types; 3. architecture decisions involving component structure, data flow, and API design; 4. edge cases including boundary conditions and error states; 5. user experience including accessibility, performance, and usability; 6. documentation for complex logic while preferring self-documenting code.