Dashboard › cli › Distillation
c13c3f22-8a7e-4ce4-84b3-738e753d661e["lore_tm_v1_aEPNhxWeSwSGHJ0KXQyurQBOXbXmoPAIv0vYrHAbJdo","lore_tm_v1_9hJyhh_ncOzoGfGYNhLE9pBjGNbO10wpbRXQKj0hCBU","lore_tm_v1_Ac9skbKGevGdcN6SXveRIXXwUdpDfjk4x-vnETVvkhg","lore_tm_v1_Sv4KR4Poa-JDD8Y1ZKcJ5AKRsXZhNQdGQa0V7xFU_KM"]
🔴 (20:32) User stated the project convention: always check package.json for the latest scripts; commands run from packages/cli or via pnpm --filter sentry run <script> from the repository root.
🔴 (20:32) User stated all packages must be added to devDependencies, never dependencies, because everything is bundled at build time via esbuild; CI enforces this with pnpm run check:deps.
🔴 (20:32) User stated packages must always be added with pnpm add -D <package> using the -D flag.
🔴 (20:32) User stated list-command API requests must never pass a per_page value larger than API_MAX_PER_PAGE; API_MAX_PER_PAGE is 100, and the server silently caps larger values, which can make commands return fewer items than requested.
🔴 (20:32) User stated large list limits must use transparent auto-pagination: calculate perPage as Math.min(flags.limit, API_MAX_PER_PAGE) and fetch pages until results.length >= flags.limit or pages are exhausted, bounded by MAX_PAGINATION_PAGES.