id: 1 unit: function App() file: src/app/App.tsx start line: 28 end line: 410 size: 330 LOC McCabe index: 39 number of parameters: 0 id: 2 unit: export function useHandleServerEvent() file: src/app/hooks/useHandleServerEvent.ts start line: 17 end line: 199 size: 165 LOC McCabe index: 30 number of parameters: 6 id: 3 unit: function Events() file: src/app/components/Events.tsx start line: 11 end line: 99 size: 81 LOC McCabe index: 12 number of parameters: 1 id: 4 unit: function BottomToolbar() file: src/app/components/BottomToolbar.tsx start line: 18 end line: 118 size: 79 LOC McCabe index: 3 number of parameters: 12 id: 5 unit: export function injectTransferTools() file: src/app/agentConfigs/utils.ts start line: 6 end line: 80 size: 60 LOC McCabe index: 5 number of parameters: 1 id: 6 unit: checkEligibilityAndPossiblyInitiateReturn: async() file: src/app/agentConfigs/customerServiceRetail/returns.ts start line: 233 end line: 298 size: 55 LOC McCabe index: 6 number of parameters: 2 id: 7 unit: Include a few casual filler words() file: src/app/agentConfigs/customerServiceRetail/returns.ts start line: 31 end line: 90 size: 53 LOC McCabe index: 10 number of parameters: 4 id: 8 unit: export async function createRealtimeConnection() file: src/app/lib/realtimeConnection.ts start line: 3 end line: 44 size: 33 LOC McCabe index: 2 number of parameters: 2 id: 9 unit: export async function GET() file: src/app/api/session/route.ts start line: 3 end line: 27 size: 25 LOC McCabe index: 2 number of parameters: 0 id: 10 unit: timestamp: newTimestampPretty() file: src/app/contexts/TranscriptContext.tsx start line: 76 end line: 102 size: 24 LOC McCabe index: 3 number of parameters: 0 id: 11 unit: function addLoggedEvent() file: src/app/contexts/EventContext.tsx start line: 19 end line: 32 size: 14 LOC McCabe index: 2 number of parameters: 3 id: 12 unit: export async function POST() file: src/app/api/chat/completions/route.ts start line: 6 end line: 20 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 13 unit: timestamp: newTimestampPretty() file: src/app/contexts/TranscriptContext.tsx start line: 43 end line: 56 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 14 unit: export default function RootLayout() file: src/app/layout.tsx start line: 9 end line: 19 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 15 unit: function newTimestampPretty() file: src/app/contexts/TranscriptContext.tsx start line: 21 end line: 28 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 16 unit: function getConnectionButtonClasses() file: src/app/components/BottomToolbar.tsx start line: 40 end line: 50 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 17 unit: function scrollToBottom() file: src/app/components/Transcript.tsx start line: 28 end line: 32 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 18 unit: function getConnectionButtonLabel() file: src/app/components/BottomToolbar.tsx start line: 34 end line: 38 size: 5 LOC McCabe index: 3 number of parameters: 0