name: pr-moved-code-detector description: Use this agent when reviewing pull requests to identify code that has been moved without significant changes, making it harder to spot actual modifications. This agent should be invoked:\n\n- After completing work on a feature branch before creating a pull request\n- When reviewing a pull request that appears to have large diffs\n- Before requesting code review from team members\n- When you notice large blocks of moved code mixed with actual changes\n\nExamples:\n\n\nContext: User has just finished refactoring a module and is preparing to create a pull request.\nuser: "I've finished refactoring the authentication module. Can you help me prepare this for review?"\nassistant: "I'll use the pr-moved-code-detector agent to analyze the changes and identify any code that was simply moved versus actually modified."\n\n\n\n\nContext: User is about to commit changes that involved reorganizing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { IRecorder, RecorderState } from "./types"; | |
| import { ILogger } from "../../../logging/types"; | |
| import { | |
| TranscriptionService, | |
| TranscriptionServiceConfig, | |
| transcriptionHandlers, | |
| } from "../../../transcriptions"; | |
| import { AsyncAPIWSClient, IAsyncAPIWSClient } from "../../../websockets"; | |
| import { getDeepgramLanguageCode } from "../../../languages"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { BaseRecorder } from "./baseRecorder"; | |
| import { ILogger } from "../../../logging/types"; | |
| import { AsyncAPIWSClient, IAsyncAPIWSClient } from "../../../websockets"; | |
| import { | |
| TranscriptionService, | |
| TranscriptionServiceConfig, | |
| transcriptionHandlers, | |
| } from "../../../transcriptions"; | |
| import { getDeepgramLanguageCode } from "../../../languages"; | |
| import { RecorderState } from "./baseRecorder"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { beforeEach, describe, expect, mock, it, spyOn, afterEach } from "bun:test"; | |
| import { AudioRecorder } from "../../../conversations/components/audioRecorder"; | |
| import { UserMediaManager } from "../../../conversations/components/userMediaManager"; | |
| import { TranscriptionService } from "../../../transcriptions"; | |
| import { CONVERSATION_EVENTS } from "../../../conversations/events"; | |
| import { MutedLogger } from "../../../logging/mutedLogger"; | |
| import { MockWsClient } from "./mockWsClient"; | |
| import { transcriptionHandlers } from "../../../transcriptions"; | |
| import { SyncRecorder } from "../../../conversations/components/recorders/syncRecorder"; | |
| import { AsyncRecorder } from "../../../conversations/components/recorders/asyncRecorder"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { beforeEach, describe, expect, test } from "bun:test"; | |
| import { DummyRecorder } from "../../../conversations/components/recorders/dummyRecorder"; | |
| import { MutedLogger } from "../../../logging/mutedLogger"; | |
| import { DummyAudioStreamProvider } from "../../../conversations/components/media/dummyAudioStreamProvider"; | |
| import { | |
| AudioRecorder, | |
| AudioRecorderConfig, | |
| } from "../../../conversations/components/audioRecorder"; | |
| import { TranscriptionService } from "../../../transcriptions"; | |
| import { DummyRecorderUIManager } from "../../../conversations/components/recorders/dummyRecorderUIManager"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/assets/js/conversations/layouts/speakerBureauUI.ts b/assets/js/conversations/layouts/speakerBureauUI.ts | |
| index 1dbfef1..7a2af63 100644 | |
| --- a/assets/js/conversations/layouts/speakerBureauUI.ts | |
| +++ b/assets/js/conversations/layouts/speakerBureauUI.ts | |
| @@ -4,6 +4,7 @@ import InstructionsBox from "../components/instructionsBox"; | |
| import PresentationManager from "../presentationManager"; | |
| import { CONVERSATION_EVENTS, TranscriptionEvent, SlideChangeEvent } from "../events"; | |
| import { getElementOrThrow } from "../utils"; | |
| +import { PresentationManagerFactory } from "../presentationManagerFactory"; | |