Dashboard › cli › Distillation
2f14c91f-5c69-464b-bb49-0e98a01df8fe["lore_tm_v1_92nNI6xYBFPchqmBo-publRENy4I1DQk-OpDyvi4c0I","lore_tm_v1_EpxGro3oGTMRzViojIqkOfu8EGZ9l7SIOD2ENTeI8w8","lore_tm_v1_8iTe7SwwAF0nutEvMdeIDBFp5iuBITYcwTZjTlcJ4R8","lore_tm_v1_B_nGTHYoFV4ymlCMO9UENV0DsTYsPaju_9x2fDCYgSA"]
formatCommandExamples(examples: readonly string[]): string to packages/cli/script/generate-skill-markdown.ts; it returns "" for an empty list, otherwise renders **Examples:** followed by one fenced bash block with commands separated by blank lines via examples.join("\n\n").packages/cli/script/generate-skill.ts now imports formatCommandExamples from ./generate-skill-markdown.js; generateFullCommandDoc(cmd) delegates example-section rendering to that helper and appends the result only when non-empty, replacing its inline Markdown construction.packages/cli/src/commands/agent-conversation/list.ts introduced USAGE = "[<org>]" and USAGE_HINT = \sentry ${COMMAND_NAME} ${USAGE}`; docs.customUsageandContextError` now reuse these constants.sentry agent-conversation list documentation now says it lists recent conversations from a Sentry organization and that the organization is auto-detected when omitted.sentry agent-conversation list; 2. “Explicit organization” — sentry agent-conversation list my-org; 3. “Show more, last 24 hours” — sentry agent-conversation list --limit 50 --period 24h; 4. “Filter conversations” — sentry agent-conversation list -q "has:errors"; 5. “Paginate through results” — sentry agent-conversation list my-org -c next.packages/cli/src/commands/agent-conversation/view.ts introduced USAGE = "[<org>/]<conversation-id>" and derives USAGE_HINT as sentry agent-conversation view ${USAGE}; docs.customUsage now reuses USAGE.sentry agent-conversation view conv-123; 2. “Explicit organization” — sentry agent-conversation view my-org/conv-123; 3. “JSON output” — sentry agent-conversation view my-org/conv-123 --json.packages/cli/src/lib/list-command.ts now imports CommandExample from ./command.js; buildListCommand() documentation accepts customUsage?: readonly string[] and examples?: readonly CommandExample[].buildListCommand() wrapper, the first positional argument is always the target using the org/project pattern; when it is a string or undefined, it is passed through interceptSubcommand() to handle plural-alias confusion before invoking the original command function.packages/cli/src/lib/command.ts defines exported CommandExample metadata with required readonly fields description: string and command: string; command must be a complete command line including the sentry executable.CommandDocumentation extends native Stricli docs with examples?: readonly CommandExample[]; when customUsage exists, its first line is the canonical signature suffix and later lines may document equivalent forms.prepareNativeDocs(docs) strips extended examples metadata before passing docs to Stricli; when examples exist, it appends an Examples: section to fullDescription, rendering each as ${command} # ${description} on its own line and falling back from fullDescription to brief.attachDocumentationMetadata(command, docs) stores the first customUsage entry as __primaryUsage—using the string directly or .input for non-string usage entries—and stores non-empty docs.examples as __examples.--fields is always injected when an output configuration such as output: { human: ... } is present, regardless of whether the command already owns its json flag; a command-owned json flag prevents only automatic replacement with JSON_FLAG.buildFieldsFlag(outputConfig) returns the base FIELDS_FLAG when no schema exists or extractSchemaFields() finds no fields; otherwise its brief appends . Available: ${fieldNames}, with schema field names joined by , .mergeGlobalFlags(existingFlags, outputConfig) tracks whether the command owns json, org, and project; clones existing flags, initializes stripKeys from ALWAYS_STRIP, injects missing entries from GLOBAL_FLAG_DEFAULTS, and marks each injected global flag for stripping.GLOBAL_FLAG_DEFAULTS maps [LOG_LEVEL_KEY] to LOG_LEVEL_FLAG, verbose to VERBOSE_FLAG, org to ORG_FLAG, and project to PROJECT_FLAG.