Dashboard › cli › Distillation
4e32aa74-3248-44d7-89b1-1aed990383fb["lore_tm_v1_rjsBVhneJdlLHdp3SFigAJ00TBBwq-0mP_BnkUGFud0","lore_tm_v1_01evqnzhN6nP7kWZJyvHlShmGfVK7KCRCFkJ02YbZEQ","lore_tm_v1_xjDyRZq79rUGG0AI1f5o083c1BYsz623JkodzMGd5DA","lore_tm_v1_ME6Caujhyu7WgN1zmybrmDBewRHnJIgF28NDIXtLDkY","lore_tm_v1_bIv0iHMKbjcJSi4vZwl9ohOAY8gxDBT4y0sIPWa1AKI","lore_tm_v1_O3RlNr7G54ROseMBzSQzH0r2Rw0QP63dvHTepBFs2SQ","lore_tm_v1_PXZYF8KKw4mjvCJKreSvf71tLUnXcCyJSSBpKrb4Cfk","lore_tm_v1_E0lAxUQYtUhj8A7G2ajCV2Sg4noU0w0oZSIA2ln2YmI","lore_tm_v1_5L6ogeFW9croDPPJOrJU6PVAeu9zjAdEcQZptMKaoyM","lore_tm_v1_EsACPELP_nmvUH7946hMR8bwNK7BJjhW-HeFLUtfqvc","lore_tm_v1_XkHazktNOD3R9oJ7y0aVhhzBAZA_4gQt5jd3lAqRnZU"]
packages/cli/test/lib/command.test.ts defines createTestContext() with shared stdoutWriter, separate stdoutCollected/stderrCollected arrays, and exposes process.stdout, process.stderr, top-level stdout, output, and errors for Stricli and return-based output-handler tests.packages/cli/test/lib/command.test.ts tests that interactive prompt availability is derived from parsed flags rather than aliases: init -y and init -n disable prompts; init --yes=false, data -n 10, and data -y 2 allow prompts. The test restores setInteractivePromptsAllowed(true) in finally.buildCommand tests verify: valid commands and commands with empty parameters build successfully; the first docs.customUsage entry is retained as __primaryUsage; structured docs.examples are retained as __examples; and numberParser is re-exported from Stricli.customUsage: ["<name>:<kind>..."] and expects __primaryUsage to equal <name>:<kind>...; the structured-example test retains description Select an organization explicitly with command sentry thing list my-org.\x41 left 41 behind as an apparent literal.packages/cli/test/lib/scan/literal-extract.test.ts documents the fix: escapeSequenceLength computes the full length of multi-character escapes, while deliberately skipping rather than decoding the escape into its character as a conservative behavior.\x41 and \cA; their tails must not be extracted as literals. Pre-escape literals must continue to follow the first-tied-longest behavior.packages/cli/test/lib/scan/grep.test.ts includes coverage that the literal prefilter handles escaped patterns such as Sentry\.init and that multi-character escapes such as \x41 find matches for the decoded character.parseFieldsList(input) in packages/cli/src/lib/formatters/json.ts splits on commas, trims each field, removes empty entries, and deduplicates through Set; examples include "id, title , status" → ["id", "title", "status"] and "id,,title" → ["id", "title"].formatJson<T>(data) returns JSON.stringify(data, null, 2). writeJson<T>(stream, data, fields?) applies filterFields(data, fields) only when fields is nonempty, then writes pretty JSON followed by \n.writeJsonList() preserves pagination-wrapper metadata while applying --fields filtering to each array element inside data; its documented envelope is { data, hasMore, nextCursor? }.packages/cli/plugins/sentry-cli/skills/sentry-cli/references/agent-conversation.md has frontmatter name: sentry-cli-agent-conversation, version: 0.45.0-dev.0, description List and view agent conversations, bins: ["sentry"], and auth: true.agent-conversation list skill reference documents 15 ordered JSON fields: 1. conversationId (string), 2. title (string | null), 3. flow (array), 4. errors (number), 5. llmCalls (number), 6. toolCalls (number), 7. totalTokens (number), 8. totalCost (number), 9. startTimestamp (number), 10. endTimestamp (number), 11. traceCount (number), 12. traceIds (array), 13. firstInput (string | null), 14. lastOutput (string | null), 15. user (object | null), 16. toolNames (array), and 17. toolErrors (number).agent-conversation.md skill reference states that all commands also support --json, --fields, --help, --log-level, and --verbose.packages/cli/script/paths.ts centralizes docs paths relative to packages/cli/: DOCS_ROOT = "../../apps/cli-docs", DOCS_SRC = \${DOCS_ROOT}/src`, DOCS_CONTENT = `${DOCS_SRC}/content/docs`, DOCS_FRAGMENTS = `${DOCS_SRC}/fragments`, and DOCS_PUBLIC = `${DOCS_ROOT}/public``.apps/cli-docs/src/content/docs/commands/agent-conversation.md has frontmatter title agent-conversation and description Agent-conversation commands for the Sentry CLI; it ends with <!-- GENERATED:END -->.agent-conversation list argument [<org>] as Organization slug and agent-conversation view argument <org/conversation-id> as [<org>/]<conversation-id> - Org (optional) and conversation ID.All commands support --json for machine-readable output and --fields to select specific JSON fields.packages/cli/patches/@stricli%2Fcore@1.2.8.patch.