Dashboard › cli › Distillation
83c4f22d-b681-4d97-9a9e-322f4e2b5f57["lore_tm_v1_7VtATVs3xy5dMseMi_rLqrG0CEiyOLXXFLkUxbIC7mE","lore_tm_v1_pUtyO8Z1SdI2WpoC1ABAdyfBUkv1eAZE8MwlEOCJXvs","lore_tm_v1_hGOjS6GFFcxbuTf1STj_6AvhawwY2sI8nAM37pUaKfE","lore_tm_v1_tRKbqZt7QZ51r9wnamcxCW8QkWVIV8-tjCVgykI9S74","lore_tm_v1_c3i78nxWeEUmBIn79cM94cBurXdrVW5BdBZOzLROc3A","lore_tm_v1_ZULZJoLd3Od3t8i7cLhGpOFuYgI6HnKU5VwpiWVZn7Q","lore_tm_v1_grp8O2ofwCyghAQxCiYNSzcdiMDB-qHcRdV_Q18DguI"]
pnpm run typecheck in /home/byk/Code/getsentry/cli-pr-1558/packages/cli executed pnpm run generate:docs && pnpm run generate:sdk && tsc --noEmit; generation completed, but the workflow failed before tsc --noEmit because strict fragment validation exited with code 1./home/byk/Code/getsentry/cli-pr-1558/packages/cli/src/generated/banner-sixel.ts from a 640x155 image with 4216 sixel bytes; generated /home/byk/Code/getsentry/cli-pr-1558/packages/cli/src/generated/search-parser.js (31.1 KB) and src/generated/search-parser.d.ts; generated 36 command-doc pages plus ../../apps/cli-docs/src/content/docs/commands/index.md and ../../apps/cli-docs/src/content/docs/configuration.md.plugins/sentry-cli/skills/sentry-cli/SKILL.md, 36 reference files, ../../apps/cli-docs/public/.well-known/skills/index.json, and src/generated/skill-content.ts.generate:docs-sections reported all sections up to date: ../../apps/cli-docs/src/content/docs/contributing.md [project-structure], DEVELOPMENT.md [oauth-scopes], ../../apps/cli-docs/src/content/docs/self-hosted.md [oauth-scopes], README.md [dev-prereq], README.md [library-prereq], ../../apps/cli-docs/src/content/docs/contributing.md [dev-prereq], DEVELOPMENT.md [dev-prereq], DEVELOPMENT.md [build-toolchain], ../../apps/cli-docs/src/content/docs/contributing.md [build-commands], README.md [dev-scripts], DEVELOPMENT.md [dev-env-vars], ../../apps/cli-docs/src/content/docs/self-hosted.md [self-hosted-env-vars], and ../../apps/cli-docs/src/content/docs/getting-started.mdx [platform-support].112 commands and generated ./src/sdk.generated.ts and ./src/sdk.generated.d.cts.pnpm tsx script/check-fragments.ts -- --strict found exactly 1 validation error: ../../apps/cli-docs/src/fragments/commands/proguard.md lacked coverage for subcommand upload; the hint was to add a heading or code example such as sentry proguard upload. This caused both reported ELIFECYCLE failures with exit code 1..env.local not found. Continuing without it. and continued successfully until strict fragment validation failed.fullDescription: returned 100 displayed matches with additional matches available; relevant matches included packages/cli/src/commands/agent-conversation/index.ts:19, packages/cli/src/commands/agent-conversation/list.ts:114 with examples at line 117, packages/cli/src/commands/agent-conversation/view.ts:64 with examples at line 68, and packages/cli/src/commands/help.ts:25.packages/cli/src/commands/help.ts defines help behavior: sentry help or bare sentry shows branded help with a banner; sentry help <command> shows detailed command help; sentry help --json emits the full command tree as structured JSON; and sentry help --json <command> emits command/group metadata as JSON.buildCommand, has auth: false, human output formatter formatHelpHuman, no flags of its own, and an array positional parameter with placeholder command. Its description says --json provides machine-readable output suitable for AI agents.helpCommand.func yields new CommandOutput(introspectAllCommands()); the branded banner is rendered only by formatHelpHuman, so --json never triggers the sixel probe or terminal I/O for a discarded banner.helpCommand.func calls introspectCommand(commandPath) and always gets structured output; successful results are yielded through new CommandOutput(result), while results containing "error" are thrown as new OutputError(result) to render through the output system and exit non-zero.packages/cli/src/lib/help.ts defines human help common flags in order: 1. --json — Output as JSON (with --fields to select); 2. -f, --fresh — Bypass cache and fetch fresh data; 3. -v, --verbose — Enable debug logging; 4. --help — Show help for a command; 5. --version — Show version.printCustomHelp() only attempts a banner when process.stdout.isTTY; it uses process.stdout.columns ?? 80, prefers sixelBanner(cols), and falls back to formatBanner(cols). Its tagline is The command-line interface for Sentry; its contextual examples are sentry auth when logged out and sentry issue list when logged in; its docs URL is https://cli.sentry.dev/getting-started/.formatHelpHuman(data) never gets called for JSON output: full-tree data containing "routes" invokes printCustomHelp().trimEnd(), route-group data containing "commands" and "name" invokes formatGroupHuman, command data containing "path" invokes formatCommandHuman, and error data containing "error" is handled as an error with optional fuzzy suggestions. Because --json never calls this human formatter, it never triggers printCustomHelp()’s sixel probe or terminal I/O.formatCommandHuman() renders the command signature from cmd.path plus optional cmd.positional, the brief description, visible flags formatted by formatFlagHuman(), and JSON fields under JSON fields (use --json --fields to select):; hidden flags are excluded.formatFlagHuman() resolves short aliases from the command alias map, appends <value> for non-variadic parsed/enum flags or <value>... for variadic flags, includes the flag brief, and includes non-boolean defaults as (default: ${JSON.stringify(flag.default)}).formatGroupHuman() renders sentry ${group.name}, the group brief, and its commands; an empty group shows (no commands). For nested routes it strips the prefix sentry ${group.name} , so a path such as sentry dashboard widget add renders subcommand widget add.fix/agent-conversation-reference-root-cause...origin/pr-1558 [gone], indicating the tracked remote branch was gone.32 modified files with aggregate diff statistics of 331 insertions(+) and 170 deletions(-).apps/cli-docs/src/fragments/commands/agent-conversation.md; packages/cli/plugins/sentry-cli/skills/sentry-cli/SKILL.md; and reference files alert.md, cli.md, explore.md, feedback.md, init.md, issue.md, monitor.md, org.md, project.md, release.md, replay.md, repo.md, team.md, trace.md, and trial.md under packages/cli/plugins/sentry-cli/skills/sentry-cli/references/.packages/cli/script/check-fragments.ts, packages/cli/script/generate-command-docs.ts, packages/cli/script/generate-skill-markdown.ts, and packages/cli/script/generate-skill.ts.packages/cli/src/commands/agent-conversation/list.ts, packages/cli/src/commands/agent-conversation/view.ts, packages/cli/src/lib/command.ts, packages/cli/src/lib/introspect.ts, packages/cli/src/lib/list-command.ts, and packages/cli/src/lib/mutate-command.ts.packages/cli/test/commands/agent-conversation/list.test.ts, packages/cli/test/lib/command.test.ts, packages/cli/test/lib/introspect.property.test.ts, packages/cli/test/lib/introspect.test.ts, and packages/cli/test/script/generate-skill-markdown.test.ts.