Dashboard › cli › Distillation
eba7f365-5da1-4237-b288-831d6d8a385f["lore_tm_v1_alPZgAxo4U1ImDm2FOFFPkElJVFQQtPE4CUo4ELov2k","lore_tm_v1_WYVFdN5xgvH2P6vt995rkGcPOkuH-Up5gS7JUOkXzy8","lore_tm_v1_NWHCOZele_3Y-PrxyOTiZYqSW37pH-mxOPHTbGk07YE","lore_tm_v1_k1vJRjipsupBGf0R-4RIFJ12IqQrLkb02MkgXnmdm3Y","lore_tm_v1_YP87JIDWkgHU548kLudaNgDC7wNgTMeRGuE9ndm3vN0","lore_tm_v1_sEDhdsSNVEymt4TnYG7-F2y6rD44Ik1Mhf5hIYScxvw","lore_tm_v1_WeqYjd3oSgPsY8-5G3N5NqG4-vO7R7ImVn35qzWZJX8","lore_tm_v1_ae0FtYmCAMU1FhE44gTPybD8p-NUTp_uuPRgFpg0d4Q","lore_tm_v1_sLEsKxeLhyvXb5OTjo2jnPEUgA5QsjSAcLUE_A8Bc_E","lore_tm_v1_kWeQcDiFW7BP6cpp-NCv1zHfD2wYXkWIWCbuyQd69lY"]
tsx --env-file-if-exists=.env.local --import ./script/require-shim.mjs src/bin.ts agent-conversation list --help --json from /home/byk/Code/getsentry/cli-pr-1558/packages/cli (sentry@0.45.0-dev.0) succeeded; .env.local not found. Continuing without it. appeared twice.sentry agent-conversation list reported brief List recent agent conversations, positional [<org>], and canonical examples in this exact order: 1. # List recent agent conversations\nsentry agent-conversation list; 2. # Explicit organization\nsentry agent-conversation list my-org; 3. # Show more, last 24 hours\nsentry agent-conversation list --limit 50 --period 24h; 4. # Filter conversations\nsentry agent-conversation list -q "has:errors"; 5. # Paginate through results\nsentry agent-conversation list my-org -c next.sentry agent-conversation list JSON help exposed flags: limit (parsed, default "25", brief Number of conversations (1-1000)), query (parsed, optional), period (parsed, default "7d"), fresh (boolean, default false), cursor (parsed, optional), hidden log-level, hidden verbose (boolean, default false), hidden org, hidden project, json (boolean, default false), and fields (parsed, optional, dot notation supported). Aliases were t→period, n→limit, q→query, f→fresh, c→cursor, and v→verbose.sentry agent-conversation list advertised JSON fields in this order: conversationId (string), title (string | null, optional), 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, optional), toolNames (array), and toolErrors (number)./home/byk/Code/getsentry/cli-pr-1558/packages/cli/script/generate-command-docs.ts showed generateConfigurationPage() builds YAML frontmatter, an intro, ## Environment Variables, one generateEnvVarSection(entry) per registry entry, and GENERATED_END_MARKER; readCustomContent() reads ${FRAGMENTS_DIR}/${fragmentName}.md, while readTopLevelFragment() reads ${FRAGMENTS_ROOT}/${fragmentName}.md, both returning "" on failure. Command pages combine generatePage(route) with command fragments, commands/index.md combines a generated command table with the index fragment, and configuration.md combines generateConfigurationPage(ENV_VAR_REGISTRY) with the top-level configuration fragment.CommandDocumentation.examples and example rendering in /home/byk/Code/getsentry/cli-pr-1558/packages/cli/src/lib/command.ts, CommandInfo.examples, buildCommandInfo(), and metadata mapping in /home/byk/Code/getsentry/cli-pr-1558/packages/cli/src/lib/introspect.ts, plus command-owned examples in /home/byk/Code/getsentry/cli-pr-1558/packages/cli/src/commands/agent-conversation/list.ts and /home/byk/Code/getsentry/cli-pr-1558/packages/cli/src/commands/agent-conversation/view.ts./home/byk/Code/getsentry/cli-pr-1558/packages/cli/src/lib/command.ts prepares command-owned examples before schema enrichment with enrichDocsWithSchema(prepareNativeDocs(builderArgs.docs), outputConfig) so JSON fields remain at the end of native help; after stricliCommand(...), it calls attachDocumentationMetadata(cmd, builderArgs.docs), attaches outputConfig.schema as __jsonSchema, and exposes originalFunc as __rawFunc.agent-conversation examples from /home/byk/Code/getsentry/cli-pr-1558/apps/cli-docs/src/fragments/commands/agent-conversation.md into command definitions, leaving that 36-line fragment empty. Removed fragment examples covered list, explicit organization, --limit 50 --period 24h, -q "has:errors", -c next, viewing conv-123, viewing my-org/conv-123, and JSON output via sentry agent-conversation view my-org/conv-123 --json./home/byk/Code/getsentry/cli-pr-1558/packages/cli/script/generate-command-docs.ts imports formatCommandExamples from ./generate-skill-markdown.js and renders const examples = formatCommandExamples(cmd.examples); if (examples) { lines.push("", examples); }. Its header now describes generated reference and examples as coming from CLI metadata or the environment registry, with fragments reserved for guides, tips, and content that cannot live in command definitions./home/byk/Code/getsentry/cli-pr-1558/packages/cli/script/check-fragments.ts now skips fragment subcommand-coverage checks when cmd.examples.length > 0, allowing command-owned structured examples to satisfy coverage./home/byk/Code/getsentry/cli-pr-1558/packages/cli/test/script/generate-skill-markdown.test.ts imports formatCommandExamples, listCommand, viewCommand, and buildCommandInfo; another visible test was named retains structured examples for introspection.test.poolOptions was removed in Vitest 4 and its prior options are now top-level. Test run outcome: exactly 5 test files passed, 138 tests passed, 0 failures; start 22:08:01, duration 8.90s (transform 11.53s, setup 248ms, import 16.46s, tests 4.72s, environment 1ms).pnpm check:fragments succeeded with exactly 1 subcommand coverage warning: /home/byk/Code/getsentry/cli-pr-1558/apps/cli-docs/src/fragments/commands/proguard.md did not document upload, with the hint to add a heading or code example such as sentry proguard upload. Final validation counts were All 37 command fragment files valid (36 routes + index) and All 1 top-level fragment(s) valid; .env.local not found. Continuing without it. appeared twice.getPositionalString references: 6 in /home/byk/Code/getsentry/cli-pr-1558/packages/cli/test/lib/introspect.test.ts, 2 in /home/byk/Code/getsentry/cli-pr-1558/packages/cli/test/lib/introspect.property.test.ts, 2 in /home/byk/Code/getsentry/cli-pr-1558/packages/cli/src/lib/introspect.ts, 1 in /home/byk/Code/getsentry/cli-pr-1558/packages/cli/src/lib/help.ts, and 1 in /home/byk/Code/getsentry/cli-pr-1558/packages/cli/src/commands/agent-conversation/list.ts, where USAGE_HINT is defined as sentry ${COMMAND_NAME} ${getPositionalString(POSITIONAL)}.