Dashboard › cli › Distillation
4a5c5423-a68d-40f3-afea-798e29563027["lore_tm_v1_sMQ1BKtJOjS71i4OYyRtzcE3rISkBreZkNF-peMgjts","lore_tm_v1_s8_g_qEhwrAo2YXwwfZoXIy5NraDKshY5cxV-Lsd9k8","lore_tm_v1_Dr28nyciK8GaNtWH05cZq3glGjMJ_yvG957mgm4davw","lore_tm_v1_nWkfQRT4U96WokqxdR9vCsgUqBTMHY5k8vjl9_cKF8E"]
3959093438 on PR #1558 targets packages/cli/src/commands/agent-conversation/list.ts, lines 99–103 on the right side, at commit bbaa7b3b722b87f1bccfe84063269cbbcabe2741; it was created and updated at 2026-09-08T14:40:49Z, has review ID 5143168998, URL https://github.com/getsentry/cli/pull/1558#discussion_r3959093438, author association NONE, and 0 reactions.customUsage: ["[<org>]"] documents an optional organization, while the runtime ContextError still presents sentry agent-conversation list <org> as though organization were required; Copilot suggested either changing that hint to the optional-org form or deriving it from the same source as generated documentation.packages/cli/src/commands/agent-conversation/view.ts line 68 and packages/cli/src/commands/agent-conversation/list.ts line 107.__primaryUsage declarations/usage in packages/cli/src/lib/introspect.ts lines 62 and 298, packages/cli/src/lib/help.ts line 122, and packages/cli/src/lib/command.ts line 465; __examples appears in packages/cli/src/lib/introspect.ts lines 64 and 301–302 and packages/cli/src/lib/command.ts line 469.packages/cli/src/lib/introspect.ts defines optional metadata fields __jsonSchema?: import("valibot").GenericSchema, __primaryUsage?: string, and __examples?: readonly CommandExample[]; introspection uses cmd.__primaryUsage ?? getPositionalString(cmd.parameters.positional) and maps cmd.__examples when present.packages/cli/src/lib/command.ts assigns command metadata including metadata.__primaryUsage, metadata.__examples = docs.examples, __jsonSchema, and __rawFunc.packages/cli/test/lib/introspect.test.ts (__primaryUsage: "<name>:<kind>..." at line 239 and __examples at line 263) and packages/cli/test/lib/command.test.ts (__primaryUsage around line 200 and __examples around line 222).packages/cli/src/lib/help.ts, generateCommands() obtains all route entries, filters hidden entries, and for direct commands calculates placeholder as entry.target.__primaryUsage ?? getPositionalString(entry.target.parameters.positional) before rendering usage as sentry ${routeName}${usageSuffix}; this establishes __primaryUsage as the existing public-syntax override used by generated top-level help.packages/cli/src/lib/help.ts, route-map entries render visible subcommand names joined with " | " as sentry ${routeName} ${subNames}, while non-command fallback entries render sentry ${routeName}.