Dashboard › cli › Distillation
9adc0bf1-3956-4432-b5fc-4c16d209cf54["lore_tm_v1_4ZaI8RPdV_Jmoo97OJTAWgyfNvAY6TO57bXOnwFAqsE","lore_tm_v1_OrX2F4YiMn5oOBnCJ4TUehUM1E3TxWWlC9pO-AMw6GM","lore_tm_v1_iv2IFZLFkBjspVcuZNfDe3EVVGB5sRoABdOxbn5fW04","lore_tm_v1_nENsV-a6F9k_dM66GWpJyW95uKyz_PkcBL9Dd9L2cSA","lore_tm_v1_OJ-00HUOxKi3qORyZnguddU_EI4boSb55EVw5okZuG4"]
/; therefore [<org>/]<conversation-id> contains at most one slash.parseConversationTarget(target) trims the target, treats a no-slash value entirely as conversationId, or splits at the first / into org and conversationId; if either slash-delimited segment is empty, it throws new ContextError("Conversation ID", USAGE_HINT, []).USAGE_HINT = "sentry agent-conversation view [<org>/]<conversation-id>"; its tuple positional has placeholder org/conversation-id, brief [<org>/]<conversation-id> - Org (optional) and conversation ID, and parse: String.viewCommand applies applyFreshFlag(flags), rejects a missing or whitespace-only target with ContextError("Conversation ID", USAGE_HINT, []), resolves the organization using resolveOrg({ org: orgArg, cwd }), and throws ContextError("Organization", USAGE_HINT) if resolution fails.viewCommand calls withProgress({ message: "Fetching conversation spans...", json: flags.json }, () => getConversationSpans(org, conversationId)); it passes returned spans and title to buildTranscriptResult(conversationId, org, spans, title), assigns the returned truncated value to result.truncated, and yields new CommandOutput<TranscriptResult>(result).COMMAND_NAME = "agent-conversation list", PAGINATION_KEY = "agent-conversation-list", and DEFAULT_PERIOD = "7d"; parseLimit(value) calls validateLimit(value, LIST_MIN_LIMIT, LIST_MAX_LIMIT).formatListHuman(result) returns "No conversations on this page." when conversations is empty but hasMore is true, "No agent conversations found." when empty with no more results, and otherwise Agent conversations in ${org}:\n\n${formatConversationTable(conversations)}.jsonTransform(result, fields) applies filterFields(c, fields) to each conversation only when fields is nonempty; its envelope always includes data, hasMore, and boolean-normalized hasPrev: !!result.hasPrev, and includes nextCursor only when present.listCommand is built with buildListCommand("agent-conversation", ...); its optional tuple positional uses placeholder org, brief Organization slug, parse: String, and optional: true.limit with parse: parseLimit, brief Number of conversations (${LIST_MIN_LIMIT}-${LIST_MAX_LIMIT}), and default String(LIST_DEFAULT_LIMIT); optional parsed query with parse: String and brief Search query; and period: LIST_PERIOD_FLAG. Aliases spread PERIOD_ALIASES and map n to limit and q to query.listCommand resolves its organization using resolveOrg({ org: target, cwd }); failure throws new ContextError("Organization", \sentry ${COMMAND_NAME} <org>`)`.buildPaginationContextKey("agent-conversation", org, { q: flags.query, period: serializeTimeRange(flags.period) }), then calls resolveCursor(flags.cursor, PAGINATION_KEY, contextKey) and converts the period with timeRangeToApiParams(flags.period).ripgrep execution failed, and a subsequent file search returned No files found.@stricli/core versions 1.3.0 and patched 1.2.8_patch_hash=892258f886d48063b409e0ac6141260023c396d1ed4f915231701f6a34edffcc; each listed package directory contains README.md, package.json, dist/index.d.ts, dist/index.js, dist/index.d.cts, and dist/index.cjs./home/byk/Code/getsentry/cli-pr-1558/node_modules/.pnpm/@stricli+core@1.2.8_patch_hash=892258f886d48063b409e0ac6141260023c396d1ed4f915231701f6a34edffcc/node_modules/@stricli/core/dist/index.d.ts: type PositionalParameter at line 1031, interface PositionalParameterArray<T, CONTEXT extends CommandContext> at line 1032, readonly kind: "array" at line 1033, type PositionalParametersForTuple<T, CONTEXT extends CommandContext> at line 1038, interface PositionalParameterTuple<T> at line 1041, and the PositionalParameters union of PositionalParameterArray<unknown, CommandContext> and PositionalParameterTuple<readonly PositionalParameter[]> at line 1060.