Dashboard › cli › Distillation
efbad853-f6ea-47bf-965a-2f82456e2770["lore_tm_v1_gmxTOmgpKljsEqy8ho101ZAAXwpIZcixkidCjo4f6EU","lore_tm_v1_sAFsePQEXbYgXy9cN5bXJCAvzac9eutYun9Jwx8SjCY","lore_tm_v1_7IGQ_BHLJYjXvJIckeIpYJw0BMMdkU9R8SZDvckiCMs","lore_tm_v1_9AMljrAAGySo5glhZyutR-fp_Mz2eFuZb0nyUuEzdaI","lore_tm_v1_xcFSBPgIrYWlb3ZWk9b30bSVw26Xv8K9-LE1wMmKCt4","lore_tm_v1_llzgP1MwJXMT2eeRZMKFdtM3tHQ-YVAv6CFj-6ZtMAI","lore_tm_v1_JCI7t0WMdT_8levNIqi3oVlrTjIiMhR5OIVyZqZ_z8E","lore_tm_v1_cOKOZdhKeadVtLOS7KGhurXiXYQSdNBNF6ahx2obmYg","lore_tm_v1_sUW4D-Iig9rW6Db9lv7HIakpVp_7efDbMRkRYJq3je8","lore_tm_v1_nFSzHD-MNqi1-_DSmg4Bkx_Z68tyTkPUueIbD75y5n8","lore_tm_v1_e3Z8WGChrlTCfiYBouSOGIy_iUeoTEOxqvdOynrzx8I","lore_tm_v1_bMvg6Xygi1QC01hubAq3IhMfeT6-IBcaYhSe_uqc-Sw","lore_tm_v1_yRoDQsNgwn1AZsDEwkdy5fM2ZAKnK4ZV3n-cq-0GRRI","lore_tm_v1_pp5W6NTtdW1Dfee5NUqrxbmXEiMaM_C9wl58-bz5PTA","lore_tm_v1_3BsSk2-gWnp1ztiHB1Gx87kLk7h3h7DXOxJlpZzvI2M","lore_tm_v1_ZtNWCBvaGfDIdX3lWkBggEqfMtSf6gLTLpgk_Yzcxpo","lore_tm_v1_b0JzluzppMNYiWetw5qh6BSnm2g5dQnswPOkPs4eG4E","lore_tm_v1_kkxPUDOPNXVC8eF9aDDricMdE16DqewC8lX74EYkmVc","lore_tm_v1_G_dBqHMXUWMi1bYVT-jz-p9IsxWlLwmUfnDpAV1s7mQ","lore_tm_v1_D37iLCEk9kO7mHsxKa0zNzed4nnaURNkz-iudRRemPw","lore_tm_v1_D5LLPdY0hSHBmnLGm9ElA7zqeeiIDqtCQvVVvajFPmQ","lore_tm_v1_RzEOehxz4s2KfHjKmISvN7hWBs9WqaCAP3BYIXL8N90","lore_tm_v1_0JpdUy8NHZcYcVQg8qpczGI0jBfupYPhlCyIB7LwmKY","lore_tm_v1_W18iTq4ydZVsI73fXF9Gn5wAU9S4la1C7osT2GkcwDQ"]
ripgrep execution failed and multiple No files found results; /home/byk/Code/getsentry/cli-pr-1558/node_modules contains .modules.yaml, .pnpm-workspace-state.json, and .pnpm/.node_modules/.pnpm/@stricli+core@1.2.8_patch_hash=892258f886d48063b409e0ac6141260023c396d1ed4f915231701f6a34edffcc and node_modules/.pnpm/@stricli+core@1.3.0.@stricli/core@1.2.8 showed generateCommandHelpLines() in node_modules/.pnpm/@stricli+core@1.2.8_patch_hash=892258f886d48063b409e0ac6141260023c396d1ed4f915231701f6a34edffcc/node_modules/@stricli/core/dist/index.js: when docs.customUsage exists, each string renders as ${prefix} ${usage}, each object renders ${prefix} ${usage.input} plus usage.brief; otherwise Stricli calls formatUsageLineForParameters(parameters, args). Built-in flag usage, descriptions, aliases, flags, and positional arguments are then appended.@stricli/core@1.2.8’s built command exposes brief, fullDescription, formatUsageLine, formatHelp, and usesFlag, but does not expose customUsage directly.":"; space-separated forms are invalid. Valid examples are sentry project create web:javascript api:python-django worker:node and sentry project create my-new-app:javascript-nextjs; invalid examples include sentry project create my-new-app javascript-nextjs and sentry project create my-org/my-new-app javascript-nextjs.packages/cli/test/script/generate-skill-markdown.test.ts tests command-heading extraction for sentry issue view <issue-id>, sentry project create [<org>/]<name>:<platform>..., and sentry auth status; descriptive heading Create a project must return undefined.packages/cli/test/script/generate-skill-markdown.test.ts asserts agent-conversation metadata: list positional syntax is [<org>] and includes # Explicit organization\nsentry agent-conversation list my-org; view positional syntax is [<org>/]<conversation-id> and its examples, in order, are (1) # View full transcript (organization auto-detected)\nsentry agent-conversation view conv-123, (2) # Explicit organization\nsentry agent-conversation view my-org/conv-123, and (3) # JSON output\nsentry agent-conversation view my-org/conv-123 --json.packages/cli/test/script/generate-skill-markdown.test.ts asserts example association behavior: sentry project create web:javascript api:python-django maps to sentry project create; bare sentry auth examples map to default subcommand sentry auth login; longer command paths such as sentry auth login take precedence over shorter prefixes such as sentry auth.test.poolOptions was removed and its former options are now top-level.pnpm run typecheck for sentry@0.45.0-dev.0 ran pnpm run generate:docs && pnpm run generate:sdk && tsc --noEmit; generation wrote src/generated/banner-sixel.ts at 640x155 with 4216 sixel bytes, generated src/generated/search-parser.js at 31.1 KB plus src/generated/search-parser.d.ts, generated 36 command doc pages, generated plugins/sentry-cli/skills/sentry-cli/SKILL.md plus 36 reference files, reported all docs sections generated, discovered exactly 112 commands, and generated ./src/sdk.generated.ts and ./src/sdk.generated.d.cts.apps/cli-docs/src/fragments/commands/agent-conversation.md, packages/cli/script/check-fragments.ts, packages/cli/script/generate-command-docs.ts, packages/cli/script/generate-skill-markdown.ts, packages/cli/script/generate-skill.ts, packages/cli/src/commands/agent-conversation/list.ts, packages/cli/src/commands/agent-conversation/view.ts, packages/cli/src/lib/command.ts, packages/cli/src/lib/introspect.ts, packages/cli/src/lib/list-command.ts, packages/cli/src/lib/mutate-command.ts, packages/cli/test/commands/agent-conversation/list.test.ts, packages/cli/test/lib/command.test.ts, packages/cli/test/lib/introspect.test.ts, and packages/cli/test/script/generate-skill-markdown.test.ts.packages/cli/src/lib/command.ts adds exported CommandExample with readonly description and complete readonly command, and extends Stricli docs via exported CommandDocumentation with optional readonly examples?: readonly CommandExample[].packages/cli/src/lib/command.ts adds prepareNativeDocs(), which removes extended examples before passing docs to Stricli and, when examples exist, appends Examples:\n lines formatted as ${command} # ${description} to fullDescription ?? brief.packages/cli/src/lib/command.ts adds attachDocumentationMetadata(), which stores the first customUsage line as __primaryUsage—using the string directly or an object’s .input—and stores nonempty examples as __examples; buildCommand() now passes stricliDocs from prepareNativeDocs(enrichedDocs) into stricliCommand() and calls attachDocumentationMetadata(cmd, enrichedDocs).packages/cli/src/lib/list-command.ts now imports type CommandDocumentation; buildListCommand() accepts docs: CommandDocumentation, and OrgListCommandDocs is now an alias of CommandDocumentation. packages/cli/src/lib/mutate-command.ts likewise imports type CommandDocumentation, and buildDeleteCommand() accepts docs: CommandDocumentation.CustomUsage as readonly input and brief; native CommandDocumentation contains readonly brief, optional fullDescription, and optional customUsage?: readonly (string | CustomUsage)[]; CommandBuilderArguments requires this native documentation type.pnpm cli -- agent-conversation list --help incorrectly forwarded the extra --, causing --help to be parsed as the organization and triggering API request GET /organizations/--help/agents/conversations/; it failed with 404 Not Found and exit code 30.pnpm cli agent-conversation list --help correctly rendered usage sentry agent-conversation list [<org>], documented organization auto-detection, and rendered examples: (1) sentry agent-conversation list—list recent agent conversations, (2) sentry agent-conversation list my-org—explicit organization, (3) sentry agent-conversation list --limit 50 --period 24h—show more for the last 24 hours, (4) sentry agent-conversation list -q "has:errors"—filter conversations, and (5) sentry agent-conversation list my-org -c next—paginate through results.agent-conversation list --help exposed JSON fields conversationId, title, flow, errors, llmCalls, toolCalls, totalTokens, totalCost, startTimestamp, endTimestamp, traceCount, traceIds, firstInput, lastOutput, user, toolNames, and toolErrors; flags include --limit/-n default 25 with range 1–1000, --query/-q, --period/-t default 7d, --fresh/-f, --cursor/-c, --json, --fields, and --help/-h.packages/cli/script/generate-skill-markdown.ts defines COMMAND_HEADING_RE, extractCommandPathFromHeading(), matchExampleToCommand(), and formatCommandExamples(); matching sorts command paths by descending length, falls back from a bare group to defaultCommandPath ?? groupFallback, and formats examples inside an **Examples:** fenced bash block separated by blank lines.pnpm cli agent-conversation view --help rendered usage sentry agent-conversation view [<org>/]<conversation-id>, explained that the organization is optional and auto-detected from project context, documented alias sentry agent-conversation show, and rendered examples in order: (1) sentry agent-conversation view conv-123, (2) sentry agent-conversation view my-org/conv-123, and (3) sentry agent-conversation view my-org/conv-123 --json.OrgListCommandDocs has command consumers in packages/cli/src/commands/team/list.ts, packages/cli/src/commands/repo/list.ts, and packages/cli/src/commands/monitor/list.ts; CommandDocumentation is also used in packages/cli/src/lib/command.ts, packages/cli/src/lib/list-command.ts, and packages/cli/src/lib/mutate-command.ts, for exactly 14 searched matches.