Dashboard › cli › Distillation
75c14752-f4f6-4c83-a18f-23e49e891ce7["lore_tm_v1_SI6uNj15uOkw1XMXKh7XnKs_-yaD0B5lkhfo87ALraI","lore_tm_v1_0_j-tbU-rOCjU5QYmdFCgIjgYpq6elhs80ypEapo2Ow"]
/.packages/cli/src/commands/agent-conversation/view.ts defines USAGE = "[<org>/]<conversation-id>" and USAGE_HINT = \sentry agent-conversation view ${USAGE}``.parseConversationTarget(target: string) trims the target and splits on the first /; without a slash it returns { conversationId: trimmed }, while with a slash it returns { org, conversationId }.parseConversationTarget() throws new ContextError("Conversation ID", USAGE_HINT, []) when either the organization segment or conversation ID segment is empty.viewCommand in packages/cli/src/commands/agent-conversation/view.ts has brief documentation "View an agent conversation transcript" and explains that the org is optional, auto-detected from project context when omitted, and may be supplied as an org-slug prefix.viewCommand documents 3 examples in order: 1. sentry agent-conversation view conv-123 for an auto-detected organization; 2. sentry agent-conversation view my-org/conv-123 for an explicit organization; 3. sentry agent-conversation view my-org/conv-123 --json for JSON output.viewCommand declares one tuple positional with placeholder "org/conversation-id", brief "[<org>/]<conversation-id> - Org (optional) and conversation ID", and parse: String; its flags and aliases use FRESH_FLAG and FRESH_ALIASES.viewCommand.func() calls applyFreshFlag(flags), rejects a missing or whitespace-only target with new ContextError("Conversation ID", USAGE_HINT, []), parses the target with parseConversationTarget(target), and resolves the organization using resolveOrg({ org: orgArg, cwd }).resolveOrg() returns no result, viewCommand.func() throws new ContextError("Organization", USAGE_HINT).viewCommand.func() uses withProgress() with message "Fetching conversation spans..." and json: flags.json, calls getConversationSpans(org, conversationId), then builds output via buildTranscriptResult(conversationId, org, spans, title), assigns result.truncated = truncated, and yields new CommandOutput<TranscriptResult>(result).