Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.
TypeScript adeagent-ideai-agentsautomationbotclaude-codecodexghosttygrok-bothermes-agentmobile-appmuseopenclawopencodeorchestrationpiruntimeterminalworktreesyc-backed
import type { CrashReportDetailValue } from './crash-reporting'
import {
CRASH_REPORT_ATTRIBUTION_DETAIL_KEY,
CRASH_REPORT_ATTRIBUTION_NOTE_DETAIL_KEY,
UNRELIABLE_BOUNDARY_ATTRIBUTION
} from './react-update-depth-attribution'
/** Promotes the attribution caveat above the details blob so a triager cannot scroll past it. */
export function appendBoundaryAttributionLines(
lines: string[],
details: Record<string, CrashReportDetailValue>
): void {
if (details[CRASH_REPORT_ATTRIBUTION_DETAIL_KEY] !== UNRELIABLE_BOUNDARY_ATTRIBUTION) {
return
}
const note = details[CRASH_REPORT_ATTRIBUTION_NOTE_DETAIL_KEY]
lines.push('', `Attribution: ${UNRELIABLE_BOUNDARY_ATTRIBUTION}`)
if (typeof note === 'string' && note) {
lines.push(note)
}
}