Dashboard › cli › Distillation
0263baaa-9089-4dd6-9930-201549ff974c["lore_tm_v1_hm1h1MzGRF6EGCc_6UbHts6DnxIKjUSNNNVUBPJDqhU","lore_tm_v1_0X1iwRYZG3R3MAz7tpHNfTd24NXrdlugVrdHSZN9ooI"]
packages/cli/package.json defines package sentry version 0.40.0-dev.0, an ESM package ("type": "module") with Node engine >=18.0, development runtime Node >=22.15, and package manager pnpm@10.11.0.packages/cli/package.json publishes the sentry binary from ./dist/bin.cjs; package exports provide ESM via ./dist/index.mjs and ./dist/index.d.mts, and CommonJS via ./dist/index.cjs and ./dist/index.d.cts.packages/cli/package.json package files are: 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/vendor/symbolic_bg.wasm, LICENSE.md, and README.md.packages/cli/package.json scripts include: tsx using tsx --env-file-if-exists=.env.local --import ./script/require-shim.mjs; cli running src/bin.ts through the same environment and require shim; dev; build; bundle; typecheck; lint; lint:fix; test; test:unit; test:changed; 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:errors; check:patches; check:docs-sections; and check:stale-refs.packages/cli/package.json: test delegates to pnpm run test:unit; test:unit generates docs and SDK, then runs vitest run test/lib test/commands test/types test/script --coverage; test:changed generates docs and SDK, then runs vitest run --changed; test:init-eval runs vitest run test/init-eval --testTimeout 600000.packages/cli/package.json: typecheck runs docs/SDK generation followed by tsc --noEmit; lint runs biome check --no-errors-on-unmatched --max-diagnostics=none ./; lint:fix adds --write; check:fragments, check:deps, check:errors, and check:patches invoke script/check-fragments.ts, script/check-no-deps.ts, script/check-error-patterns.ts, and script/check-patches.ts, respectively.packages/cli/package.json currently pins key tooling to @biomejs/biome 2.3.8, @stricli/core 1.2.8, esbuild ^0.28.1, tsx ^4.22.4, typescript ^5.9.3, ultracite 6.3.10, vitest ^4.1.9, and @vitest/coverage-v8 ^4.1.9.getUserAgent from ./constants.js, sets GHCR_BLOB_TIMEOUT = 30_000, uses AbortSignal.timeout(timeout), and identifies external cancellation with Boolean(externalSignal?.aborted && error.name === "AbortError").fetchWithRetry() and loops from attempt 0 through GHCR_MAX_RETRIES inclusive; its terminal contextual error falls back to "unknown error" when lastError?.message is absent.126ms to 30s for identical requests and uses https://ghcr.io as GHCR_REGISTRY.Accept: OCI_MANIFEST_TYPE.fetchManifest() throws an error containing Failed to fetch manifest for tag "${tag}": HTTP ${response.status} for an unsuccessful manifest response.Authorization header because the redirect carries signed query-string credentials and including authorization can produce HTTP 404.lastTag for the previous page and appends &last=${encodeURIComponent(lastTag)}; tag-list JSON is parsed as { tags?: string[] }, and optional prefix filtering supports values such as "nightly-" for versioned nightly tags.