Dashboard › cli › Distillation
4bb141b6-a915-4689-8ef5-977f9b287583["lore_tm_v1_lDrGoygdViYaZ3jVKXk_XjWSo6Hc8Z0VYmnbLw2ExwI","lore_tm_v1_UlOGLk0Z70ZDy2pF5i_a0CyVu-A4e4JHiW9ux6jTx9M","lore_tm_v1_U3stbCL2nZpo0QtbRlX__E10ydknd5IkM2c12n2YzD4","lore_tm_v1_NYj5uNbXzaLJnDRM9uKGdHggtVXRNVMn5N4uUs-1UoM"]
--fields is always injected when output: { human: ... } is configured, even when a command already owns its json flag.ALWAYS_STRIP are always stripped so the command function never sees them; ALWAYS_STRIP currently contains LOG_LEVEL_KEY.buildListCommand() must always inject --fresh unless the command already defines it.buildListCommand(), the first positional argument is always the target using the org/project pattern and is passed through interceptSubcommand() for plural-alias confusion handling.buildDeleteCommand() must always inject --yes unless the command already defines it.packages/cli/src/commands/agent-conversation/view.ts extracted USAGE = "[<org>/]<conversation-id>", derives USAGE_HINT as sentry agent-conversation view ${USAGE}, and uses [USAGE] for docs.customUsage.agent-conversation view moved examples out of fullDescription into structured docs.examples, ordered as: 1. description View full transcript (organization auto-detected), command sentry agent-conversation view conv-123; 2. description Explicit organization, command sentry agent-conversation view my-org/conv-123; 3. description JSON output, command sentry agent-conversation view my-org/conv-123 --json.parseConversationTarget(target) trims the target, treats a value without / entirely as conversationId, splits a value with / into org and conversationId, and throws ContextError("Conversation ID", USAGE_HINT, []) when either slash-delimited segment is empty.packages/cli/src/lib/command.ts added prepareNativeDocs(), which removes extended examples metadata before passing docs to Stricli and renders each example as ${command} # ${description} under an Examples: section.packages/cli/src/lib/command.ts added attachDocumentationMetadata(command, docs): the first customUsage entry is retained as __primaryUsage (using either the string itself or .input), and non-empty structured examples are retained as __examples.mergeGlobalFlags() uses defaults for LOG_LEVEL_KEY, verbose, org, and project; it injects missing global flags and adds their names to stripKeys, tracks whether the command owns org and project, injects json only if the command does not own it, and injects/replaces fields whenever an output config exists.GLOBAL_FLAGS and injected only when the command does not define the corresponding global flag and the short alias key is unoccupied.buildCommand() now passes stricliDocs to stricliCommand() and calls attachDocumentationMetadata(cmd, builderArgs.docs) afterward, replacing the prior inline preservation of only __primaryUsage.buildListCommand() and buildOrgListCommand() now accept the shared CommandDocumentation type, allowing extended documentation such as customUsage and structured examples; OrgListCommandDocs is now an alias of CommandDocumentation.buildListCommand() injects --cursor unless options.noCursorFlag is true or the command already defines it; injects -f → fresh unless options.noFreshAlias is true or alias f is occupied; injects -c → cursor unless cursor injection is disabled or alias c is occupied; and calls applyFreshFlag(flags) before the original generator.buildDeleteCommand() now accepts the shared CommandDocumentation type, allowing extended docs metadata on destructive commands./home/byk/Code/getsentry/cli-pr-1558/apps/cli-docs/src/fragments/commands/agent-conversation.md was empty, with total 0 lines.0 36 apps/cli-docs/src/fragments/commands/agent-conversation.md followed by 690.No files found; the searched pattern was not included in the captured segment.