Dashboard › cli › Distillation
028fee88-929e-412e-8e95-aa345528c39e["lore_tm_v1_sQxRrt9WxBWd5mAnYP4JDudyBaMhxgzZ_-X3BeiSBvI","lore_tm_v1_qAE8pRTxjTTM8X1kYo6_FxGMDm8SkHT6yc7UyY2QmDk","lore_tm_v1_bmTuwr1344SuA55XvtIWSJlVY-7NAvuwex-YYFPyd4c","lore_tm_v1_kxMuLMv9P2QO71FMScSJWAtRPmIsl2HwLuoBbhV9404","lore_tm_v1_m4cFOWJH8VwGomuefjfcK9ZizNpRqxWtorrX5JGFtrA"]
Date: September 8, 2026
kind: "tuple" matches in /home/byk/Code/getsentry/cli-pr-1558/packages/cli/src/commands/: trial/start.ts:95, trial/list.ts:218, trace/list.ts:223, sourcemap/upload.ts:231, sourcemap/resolve.ts:126, sourcemap/inject.ts:80, snapshots/upload.ts:354, snapshots/diff.ts:246, replay/list.ts:278, code-mappings/upload.ts:189, feedback/utils.ts:21, feedback/list.ts:156, release/view.ts:176, release/set-commits.ts:378, explore.ts:659, cli/upgrade.ts:889, release/archive.ts:65, release/restore.ts:63, release/parse.ts:76, release/finalize.ts:58, release/deploys.ts:49, cli/completion.ts:40, release/deploy.ts:102, release/deploy.ts:153, release/delete.ts:97, release/create.ts:79, project/view.ts:277, build/download.ts:68, project/delete.ts:166, dart-symbol-map/upload.ts:181, debug-files/print-sources.ts:123, debug-files/bundle-sources.ts:92, proguard/uuid.ts:45, debug-files/bundle-jvm.ts:65, debug-files/check.ts:134, api.ts:1384, org/view.ts:42, alert/metrics/view.ts:63, issue/utils.ts:59, alert/metrics/list.ts:81, alert/metrics/edit.ts:186, alert/metrics/delete.ts:64, init.ts:314, alert/issues/view.ts:62, agent-conversation/view.ts:88, agent-conversation/list.ts:65, alert/issues/delete.ts:81, alert/issues/edit.ts:183, alert/issues/create.ts:94, and alert/metrics/create.ts:103./home/byk/Code/getsentry/cli-pr-1558/packages/cli/script/generate-skill-markdown.ts contains 48 lines and defines COMMAND_HEADING_RE, extractCommandPathFromHeading(), matchExampleToCommand(), and formatCommandExamples().extractCommandPathFromHeading() uses COMMAND_HEADING_RE = /^sentry\s+([^<[\s]+(?:\s+[^<[\s]+))(?:\s(?:<|[)[^]*)?$/to extract a literalsentry ...` command path while excluding positional usage.matchExampleToCommand() sorts command paths longest-first so sentry auth login wins over sentry auth when matching via includes(); if only the group fallback occurs, it returns defaultCommandPath ?? groupFallback, assigning a bare group example such as sentry auth to its default subcommand when available.formatCommandExamples() returns an empty string for no examples; otherwise it emits a Markdown **Examples:** section with one bash fenced block and separates examples using blank lines./home/byk/Code/getsentry/cli-pr-1558/packages/cli/plugins/sentry-cli/skills/sentry-cli/references/agent-conversation.md is version 0.45.0-dev.0, requires bin sentry and authentication, and documents sentry agent-conversation list [<org>] plus sentry agent-conversation view [<org>/]<conversation-id>.agent-conversation list reference documents flags: -n, --limit <value> range 1-1000, default "25"; -q, --query <value>; -t, --period <value> with examples "7d", "2026-08-01..2026-09-01", ">=2026-08-01" and default "7d"; -f, --fresh; and -c, --cursor <value> accepting "next", "prev", "first", or a raw cursor.agent-conversation list JSON fields are conversationId (string), title (string | null), flow (array), errors (number), llmCalls (number), toolCalls (number), totalTokens (number), totalCost (number), startTimestamp (number), endTimestamp (number), traceCount (number), traceIds (array), firstInput (string | null), lastOutput (string | null), user (object | null), toolNames (array), and toolErrors (number).agent-conversation list examples, in order, are: 1. sentry agent-conversation list (recent conversations), 2. sentry agent-conversation list my-org (explicit organization), 3. sentry agent-conversation list --limit 50 --period 24h (more results over 24 hours), 4. sentry agent-conversation list -q "has:errors" (filter), 5. sentry agent-conversation list my-org -c next (pagination).agent-conversation view reference documents -f, --fresh and examples, in order: 1. sentry agent-conversation view conv-123 (organization auto-detected), 2. sentry agent-conversation view my-org/conv-123 (explicit organization), 3. sentry agent-conversation view my-org/conv-123 --json (JSON output). It states all commands also support --json, --fields, --help, --log-level, and --verbose.fix/agent-conversation-reference-root-cause...origin/pr-1558 [gone] with exactly 32 modified files: apps/cli-docs/src/fragments/commands/agent-conversation.md; packages/cli/plugins/sentry-cli/skills/sentry-cli/SKILL.md; 15 references (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, trial.md); scripts check-fragments.ts, generate-command-docs.ts, generate-skill-markdown.ts, generate-skill.ts; commands agent-conversation/list.ts, agent-conversation/view.ts; libraries command.ts, introspect.ts, list-command.ts, mutate-command.ts; and tests agent-conversation/list.test.ts, command.test.ts, introspect.property.test.ts, introspect.test.ts, generate-skill-markdown.test.ts.json flag, injected JSON_FLAG is skipped, while --fields is always injected when output: { human: ... }.ALWAYS_STRIP are always stripped so the command never sees them; currently ALWAYS_STRIP = new Set([LOG_LEVEL_KEY]).packages/cli/src/lib/command.ts adds prepareNativeDocs(), which removes extended examples from native docs and appends them to fullDescription in the format ${command} # ${description} under Examples:.packages/cli/src/lib/command.ts adds attachDocumentationMetadata(), preserving the first customUsage item as __primaryUsage and canonical examples as __examples on the built command.buildCommand() now runs prepareNativeDocs(builderArgs.docs) before enrichDocsWithSchema(...), intentionally keeping JSON fields at the end of native help, passes the result as docs: stricliDocs, and calls attachDocumentationMetadata(cmd, builderArgs.docs).packages/cli/src/lib/introspect.ts adds Command.__examples?: readonly CommandExample[]; buildCommandInfo() now prefers canonical command-owned examples and converts each to # ${description}\n${command}, falling back to externally supplied examples only when __examples is absent or empty.getPositionalString() in packages/cli/src/lib/introspect.ts now renders optional tuple positionals as [<placeholder>] and required tuple positionals as <placeholder>.buildListCommand() in packages/cli/src/lib/list-command.ts always injects --fresh unless the command already defines it.buildListCommand() injects --cursor unless options.noCursorFlag is set or the command defines it; injects -f unless options.noFreshAlias is set or alias f exists; injects -c unless cursor injection is opted out or alias c exists; and automatically calls applyFreshFlag(flags) before the command function.buildListCommand(), the first positional argument is always the target using the org/project pattern; it is passed through interceptSubcommand() to handle plural-alias confusion.buildListCommand() and buildOrgListCommand() now accept shared CommandDocumentation, allowing extended documentation metadata such as canonical examples.buildDeleteCommand() in packages/cli/src/lib/mutate-command.ts always injects --yes unless the command already defines it.buildDeleteCommand() injects --force unless options.noForceFlag or an existing definition prevents it, injects --dry-run unless options.noDryRunFlag or an existing definition prevents it, and adds aliases -y, -f, and -n when available and not opted out.buildDeleteCommand() runs guardNonInteractive() before the command unless options.noNonInteractiveGuard is set; non-interactive execution requires --yes or --force, while --dry-run bypasses the guard because it makes no changes.buildDeleteCommand() now accepts shared CommandDocumentation, matching the documentation extension used by buildCommand() and list-command builders.