SYMBOL INDEX (6032 symbols across 712 files) FILE: apps/client-cli-example/src/index.ts function chatLoop (line 10) | async function chatLoop() { function main (line 77) | async function main() { FILE: apps/client-cli-example/src/tools/weather.tool.ts type GeocodingResponse (line 4) | interface GeocodingResponse { type WeatherResponse (line 11) | interface WeatherResponse { function getWeatherCondition (line 70) | function getWeatherCondition(code: number): string { FILE: apps/dojo/e2e/clean-reporter.cjs function getTimestamp (line 1) | function getTimestamp() { function logStamp (line 7) | function logStamp(...args) { class CleanReporter (line 11) | class CleanReporter { method onBegin (line 12) | onBegin(config, suite) { method onTestEnd (line 16) | onTestEnd(test, result) { method onEnd (line 105) | onEnd(result) { FILE: apps/dojo/e2e/featurePages/AgenticChatPage.ts class AgenticChatPage (line 6) | class AgenticChatPage { method constructor (line 15) | constructor(page: Page) { method openChat (line 26) | async openChat() { method sendMessage (line 34) | async sendMessage(message: string) { method getGradientButtonByName (line 39) | async getGradientButtonByName(name: string | RegExp) { method assertUserMessageVisible (line 43) | async assertUserMessageVisible(text: string | RegExp) { method assertAgentReplyVisible (line 47) | async assertAgentReplyVisible(expectedText: RegExp | RegExp[]) { method assertAgentReplyContains (line 64) | async assertAgentReplyContains(expectedText: string) { method getAssistantMessageText (line 69) | async getAssistantMessageText(index: number): Promise { method regenerateResponse (line 75) | async regenerateResponse(index: number) { method assertWeatherResponseStructure (line 92) | async assertWeatherResponseStructure() { FILE: apps/dojo/e2e/featurePages/HumanInTheLoopPage.ts class HumanInTheLoopPage (line 6) | class HumanInTheLoopPage { method constructor (line 17) | constructor(page: Page) { method openChat (line 31) | async openChat() { method sendMessage (line 35) | async sendMessage(message: string) { method selectItemsInPlanner (line 39) | async selectItemsInPlanner() { method getPlannerOnClick (line 44) | async getPlannerOnClick(name: string | RegExp) { method uncheckItem (line 48) | async uncheckItem(identifier: number | string): Promise { method isStepItemUnchecked (line 71) | async isStepItemUnchecked(target: number | string): Promise { method performSteps (line 89) | async performSteps() { method performStepsAndAwait (line 94) | async performStepsAndAwait() { method assertAgentReplyVisible (line 114) | async assertAgentReplyVisible(expectedText: RegExp) { method assertUserMessageVisible (line 120) | async assertUserMessageVisible(message: string) { FILE: apps/dojo/e2e/featurePages/SharedStatePage.ts class SharedStatePage (line 6) | class SharedStatePage { method constructor (line 18) | constructor(page: Page) { method openChat (line 31) | async openChat() { method sendMessage (line 35) | async sendMessage(message: string) { method loader (line 40) | async loader() { method awaitIngredientCard (line 45) | async awaitIngredientCard(name: string) { method addNewIngredient (line 60) | async addNewIngredient(placeholderText: string) { method getInstructionItems (line 65) | async getInstructionItems(containerLocator: Locator ) { method assertAgentReplyVisible (line 74) | async assertAgentReplyVisible(expectedText: RegExp) { method assertUserMessageVisible (line 78) | async assertUserMessageVisible(message: string) { FILE: apps/dojo/e2e/featurePages/ToolBaseGenUIPage.ts class ToolBaseGenUIPage (line 6) | class ToolBaseGenUIPage { method constructor (line 16) | constructor(page: Page) { method generateHaiku (line 27) | async generateHaiku(message: string) { method checkGeneratedHaiku (line 33) | async checkGeneratedHaiku() { method extractChatHaikuContent (line 42) | async extractChatHaikuContent(page: Page): Promise { method extractMainDisplayHaikuContent (line 81) | async extractMainDisplayHaikuContent(page: Page): Promise { method carouselIncludesHaiku (line 121) | private async carouselIncludesHaiku( method checkHaikuDisplay (line 154) | async checkHaikuDisplay(page: Page): Promise { FILE: apps/dojo/e2e/featurePages/V1AgenticChatPage.ts class V1AgenticChatPage (line 9) | class V1AgenticChatPage { method constructor (line 16) | constructor(page: Page) { method waitForReady (line 26) | async waitForReady() { method sendMessage (line 30) | async sendMessage(message: string) { method awaitLLMResponseDone (line 44) | async awaitLLMResponseDone(timeout = 30_000) { method assertUserMessageVisible (line 73) | async assertUserMessageVisible(text: string) { method assertAgentReplyVisible (line 77) | async assertAgentReplyVisible(pattern: RegExp) { FILE: apps/dojo/e2e/lib/constants.ts constant DEFAULT_WELCOME_MESSAGE (line 6) | const DEFAULT_WELCOME_MESSAGE = FILE: apps/dojo/e2e/lib/mock-agent.ts type SSEEvent (line 22) | interface SSEEvent { type ResponseSequence (line 27) | type ResponseSequence = SSEEvent[]; type MessageHandler (line 29) | interface MessageHandler { constant ROUTE_PATTERN (line 36) | const ROUTE_PATTERN = /\/api\/copilotkit(next)?\/[^/]+/; class MockAgent (line 38) | class MockAgent { method constructor (line 49) | constructor(page: Page) { method nextRunId (line 53) | private nextRunId() { method nextMessageId (line 57) | private nextMessageId() { method nextToolCallId (line 61) | private nextToolCallId() { method onMessage (line 68) | onMessage( method onAnyMessage (line 85) | onAnyMessage(responses: ResponseSequence): this { method install (line 93) | async install(): Promise { method uninstall (line 150) | async uninstall(): Promise { method extractLastUserMessage (line 157) | private extractLastUserMessage(body: string): string | null { method findResponse (line 183) | private findResponse(userMessage: string): ResponseSequence { method textMessage (line 217) | textMessage( method toolCall (line 249) | toolCall( method combine (line 282) | static combine(...sequences: ResponseSequence[]): ResponseSequence { FILE: apps/dojo/e2e/lib/upload-video.ts type VideoToUpload (line 5) | interface VideoToUpload { type S3Config (line 12) | interface S3Config { class S3VideoUploader (line 19) | class S3VideoUploader { method constructor (line 23) | constructor(config: S3Config) { method generateS3Path (line 42) | generateS3Path( method generatePublicUrl (line 63) | generatePublicUrl(s3ObjectPath: string): string { method uploadVideo (line 70) | async uploadVideo(video: VideoToUpload): Promise { method uploadVideos (line 115) | async uploadVideos( function createS3Uploader (line 173) | function createS3Uploader(): S3VideoUploader | null { FILE: apps/dojo/e2e/llmock-setup.ts constant MOCK_PORT (line 4) | const MOCK_PORT = 5555; constant FIXTURES_DIR (line 5) | const FIXTURES_DIR = path.join(import.meta.dirname, "fixtures", "openai"); function setupLLMock (line 9) | async function setupLLMock(): Promise { function teardownLLMock (line 803) | async function teardownLLMock(): Promise { function getMockServer (line 812) | function getMockServer(): LLMock | null { FILE: apps/dojo/e2e/pages/a2aMiddlewarePages/A2AChatPage.ts class A2AChatPage (line 3) | class A2AChatPage { method constructor (line 7) | constructor(page: Page) { method openChat (line 12) | async openChat() { FILE: apps/dojo/e2e/pages/adkMiddlewarePages/HumanInLoopPage.ts class HumanInLoopPage (line 6) | class HumanInLoopPage { method constructor (line 17) | constructor(page: Page) { method openChat (line 31) | async openChat() { method sendMessage (line 35) | async sendMessage(message: string) { method selectItemsInPlanner (line 39) | async selectItemsInPlanner() { method getPlannerOnClick (line 44) | async getPlannerOnClick(name: string | RegExp) { method uncheckItem (line 48) | async uncheckItem(identifier: number | string): Promise { method isStepItemUnchecked (line 71) | async isStepItemUnchecked(target: number | string): Promise { method performSteps (line 89) | async performSteps() { method performStepsAndAwait (line 94) | async performStepsAndAwait() { method assertAgentReplyVisible (line 114) | async assertAgentReplyVisible(expectedText: RegExp) { method assertUserMessageVisible (line 120) | async assertUserMessageVisible(message: string) { FILE: apps/dojo/e2e/pages/adkMiddlewarePages/PredictiveStateUpdatesPage.ts class PredictiveStateUpdatesPage (line 9) | class PredictiveStateUpdatesPage { method constructor (line 24) | constructor(page: Page) { method openChat (line 45) | async openChat() { method sendMessage (line 49) | async sendMessage(message: string) { method getPredictiveResponse (line 53) | async getPredictiveResponse() { method getButton (line 58) | async getButton(page, buttonName) { method getStatusLabelOfButton (line 62) | async getStatusLabelOfButton(page, statusText) { method getUserApproval (line 66) | async getUserApproval() { method getUserRejection (line 74) | async getUserRejection() { method verifyAgentResponse (line 82) | async verifyAgentResponse(dragonName) { method verifyHighlightedText (line 96) | async verifyHighlightedText() { FILE: apps/dojo/e2e/pages/agnoPages/HumanInLoopPage.ts class HumanInLoopPage (line 6) | class HumanInLoopPage { method constructor (line 17) | constructor(page: Page) { method openChat (line 31) | async openChat() { method sendMessage (line 35) | async sendMessage(message: string) { method selectItemsInPlanner (line 39) | async selectItemsInPlanner() { method getPlannerOnClick (line 44) | async getPlannerOnClick(name: string | RegExp) { method uncheckItem (line 48) | async uncheckItem(identifier: number | string): Promise { method isStepItemUnchecked (line 71) | async isStepItemUnchecked(target: number | string): Promise { method performSteps (line 89) | async performSteps() { method performStepsAndAwait (line 94) | async performStepsAndAwait() { method assertAgentReplyVisible (line 114) | async assertAgentReplyVisible(expectedText: RegExp) { method assertUserMessageVisible (line 120) | async assertUserMessageVisible(message: string) { FILE: apps/dojo/e2e/pages/awsStrandsPages/AgenticUIGenPage.ts class AgenticGenUIPage (line 5) | class AgenticGenUIPage { method constructor (line 15) | constructor(page: Page) { method plan (line 26) | async plan() { method openChat (line 37) | async openChat() { method sendMessage (line 41) | async sendMessage(message: string) { method getPlannerButton (line 46) | getPlannerButton(name: string | RegExp) { method assertAgentReplyVisible (line 50) | async assertAgentReplyVisible(expectedText: RegExp) { method getUserText (line 54) | async getUserText(textOrRegex) { method assertUserMessageVisible (line 58) | async assertUserMessageVisible(message: string) { FILE: apps/dojo/e2e/pages/awsStrandsPages/HumanInLoopPage.ts class HumanInLoopPage (line 6) | class HumanInLoopPage { method constructor (line 17) | constructor(page: Page) { method openChat (line 31) | async openChat() { method sendMessage (line 35) | async sendMessage(message: string) { method selectItemsInPlanner (line 39) | async selectItemsInPlanner() { method getPlannerOnClick (line 44) | async getPlannerOnClick(name: string | RegExp) { method uncheckItem (line 48) | async uncheckItem(identifier: number | string): Promise { method isStepItemUnchecked (line 71) | async isStepItemUnchecked(target: number | string): Promise { method performSteps (line 89) | async performSteps() { method performStepsAndAwait (line 94) | async performStepsAndAwait() { method assertAgentReplyVisible (line 114) | async assertAgentReplyVisible(expectedText: RegExp) { method assertUserMessageVisible (line 120) | async assertUserMessageVisible(message: string) { FILE: apps/dojo/e2e/pages/crewAIPages/AgenticUIGenPage.ts class AgenticGenUIPage (line 5) | class AgenticGenUIPage { method constructor (line 15) | constructor(page: Page) { method plan (line 26) | async plan() { method openChat (line 37) | async openChat() { method sendMessage (line 41) | async sendMessage(message: string) { method getPlannerButton (line 46) | getPlannerButton(name: string | RegExp) { method assertAgentReplyVisible (line 50) | async assertAgentReplyVisible(expectedText: RegExp) { method getUserText (line 54) | async getUserText(textOrRegex) { method assertUserMessageVisible (line 58) | async assertUserMessageVisible(message: string) { FILE: apps/dojo/e2e/pages/crewAIPages/HumanInLoopPage.ts class HumanInLoopPage (line 6) | class HumanInLoopPage { method constructor (line 17) | constructor(page: Page) { method openChat (line 31) | async openChat() { method sendMessage (line 35) | async sendMessage(message: string) { method selectItemsInPlanner (line 39) | async selectItemsInPlanner() { method getPlannerOnClick (line 44) | async getPlannerOnClick(name: string | RegExp) { method uncheckItem (line 48) | async uncheckItem(identifier: number | string): Promise { method isStepItemUnchecked (line 71) | async isStepItemUnchecked(target: number | string): Promise { method performSteps (line 89) | async performSteps() { method performStepsAndAwait (line 94) | async performStepsAndAwait() { method assertAgentReplyVisible (line 114) | async assertAgentReplyVisible(expectedText: RegExp) { method assertUserMessageVisible (line 120) | async assertUserMessageVisible(message: string) { FILE: apps/dojo/e2e/pages/crewAIPages/PredictiveStateUpdatesPage.ts class PredictiveStateUpdatesPage (line 6) | class PredictiveStateUpdatesPage { method constructor (line 21) | constructor(page: Page) { method openChat (line 36) | async openChat() { method sendMessage (line 40) | async sendMessage(message: string) { method getPredictiveResponse (line 44) | async getPredictiveResponse() { method getButton (line 49) | async getButton(page, buttonName) { method getStatusLabelOfButton (line 53) | async getStatusLabelOfButton(page, statusText) { method getUserApproval (line 57) | async getUserApproval() { method getUserRejection (line 64) | async getUserRejection() { method verifyAgentResponse (line 71) | async verifyAgentResponse(dragonName) { method verifyHighlightedText (line 84) | async verifyHighlightedText(){ FILE: apps/dojo/e2e/pages/langGraphFastAPIPages/AgenticUIGenPage.ts class AgenticGenUIPage (line 5) | class AgenticGenUIPage { method constructor (line 15) | constructor(page: Page) { method plan (line 26) | async plan() { method openChat (line 37) | async openChat() { method sendMessage (line 41) | async sendMessage(message: string) { method getPlannerButton (line 46) | getPlannerButton(name: string | RegExp) { method assertAgentReplyVisible (line 50) | async assertAgentReplyVisible(expectedText: RegExp) { method getUserText (line 54) | async getUserText(textOrRegex) { method assertUserMessageVisible (line 58) | async assertUserMessageVisible(message: string) { FILE: apps/dojo/e2e/pages/langGraphFastAPIPages/HumanInLoopPage.ts class HumanInLoopPage (line 5) | class HumanInLoopPage { method constructor (line 16) | constructor(page: Page) { method openChat (line 34) | async openChat() { method sendMessage (line 38) | async sendMessage(message: string) { method selectItemsInPlanner (line 42) | async selectItemsInPlanner() { method getPlannerOnClick (line 47) | async getPlannerOnClick(name: string | RegExp) { method uncheckItem (line 51) | async uncheckItem(identifier: number | string): Promise { method isStepItemUnchecked (line 73) | async isStepItemUnchecked(target: number | string): Promise { method performSteps (line 92) | async performSteps() { method performStepsAndAwait (line 97) | async performStepsAndAwait() { method assertAgentReplyVisible (line 117) | async assertAgentReplyVisible(expectedText: RegExp) { method assertUserMessageVisible (line 123) | async assertUserMessageVisible(message: string) { FILE: apps/dojo/e2e/pages/langGraphFastAPIPages/PredictiveStateUpdatesPage.ts class PredictiveStateUpdatesPage (line 6) | class PredictiveStateUpdatesPage { method constructor (line 21) | constructor(page: Page) { method openChat (line 37) | async openChat() { method sendMessage (line 41) | async sendMessage(message: string) { method getPredictiveResponse (line 45) | async getPredictiveResponse() { method getButton (line 50) | async getButton(page, buttonName) { method getStatusLabelOfButton (line 54) | async getStatusLabelOfButton(page, statusText) { method getUserApproval (line 58) | async getUserApproval() { method getUserRejection (line 65) | async getUserRejection() { method verifyAgentResponse (line 72) | async verifyAgentResponse(dragonName) { method verifyHighlightedText (line 85) | async verifyHighlightedText(){ FILE: apps/dojo/e2e/pages/langGraphPages/AgenticUIGenPage.ts class AgenticGenUIPage (line 6) | class AgenticGenUIPage { method constructor (line 15) | constructor(page: Page) { method plan (line 25) | async plan() { method openChat (line 36) | async openChat() { method sendMessage (line 41) | async sendMessage(message: string) { method getPlannerButton (line 46) | getPlannerButton(name: string | RegExp) { method assertAgentReplyVisible (line 50) | async assertAgentReplyVisible(expectedText: RegExp) { method getUserText (line 54) | async getUserText(textOrRegex) { method assertUserMessageVisible (line 58) | async assertUserMessageVisible(message: string) { FILE: apps/dojo/e2e/pages/langGraphPages/HumanInLoopPage.ts class HumanInLoopPage (line 6) | class HumanInLoopPage { method constructor (line 16) | constructor(page: Page) { method openChat (line 30) | async openChat() { method sendMessage (line 35) | async sendMessage(message: string) { method selectItemsInPlanner (line 39) | async selectItemsInPlanner() { method getPlannerOnClick (line 44) | async getPlannerOnClick(name: string | RegExp) { method uncheckItem (line 48) | async uncheckItem(identifier: number | string): Promise { method isStepItemUnchecked (line 70) | async isStepItemUnchecked(target: number | string): Promise { method performSteps (line 89) | async performSteps() { method performStepsAndAwait (line 94) | async performStepsAndAwait() { method assertAgentReplyVisible (line 114) | async assertAgentReplyVisible(expectedText: RegExp) { method assertUserMessageVisible (line 120) | async assertUserMessageVisible(message: string) { FILE: apps/dojo/e2e/pages/langGraphPages/PredictiveStateUpdatesPage.ts class PredictiveStateUpdatesPage (line 6) | class PredictiveStateUpdatesPage { method constructor (line 21) | constructor(page: Page) { method openChat (line 37) | async openChat() { method sendMessage (line 41) | async sendMessage(message: string) { method getPredictiveResponse (line 45) | async getPredictiveResponse() { method getButton (line 50) | async getButton(page, buttonName) { method getStatusLabelOfButton (line 54) | async getStatusLabelOfButton(page, statusText) { method getUserApproval (line 58) | async getUserApproval() { method getUserRejection (line 65) | async getUserRejection() { method verifyAgentResponse (line 72) | async verifyAgentResponse(dragonName) { method verifyHighlightedText (line 85) | async verifyHighlightedText(){ FILE: apps/dojo/e2e/pages/langGraphPages/SubgraphsPage.ts class SubgraphsPage (line 6) | class SubgraphsPage { method constructor (line 40) | constructor(page: Page) { method openChat (line 75) | async openChat() { method sendMessage (line 80) | async sendMessage(message: string) { method selectFlight (line 85) | async selectFlight(airline: 'KLM' | 'United') { method selectHotel (line 95) | async selectHotel(hotel: 'Zephyr' | 'Ritz-Carlton' | 'Zoe') { method waitForFlightsAgent (line 117) | async waitForFlightsAgent() { method waitForHotelsAgent (line 123) | async waitForHotelsAgent() { method waitForExperiencesAgent (line 129) | async waitForExperiencesAgent() { method verifyStaticFlightData (line 135) | async verifyStaticFlightData() { method verifyStaticHotelData (line 140) | async verifyStaticHotelData() { method verifyStaticExperienceData (line 146) | async verifyStaticExperienceData() { method verifyItineraryContainsFlight (line 157) | async verifyItineraryContainsFlight(airline: 'KLM' | 'United') { method verifyItineraryContainsHotel (line 161) | async verifyItineraryContainsHotel(hotel: 'Zephyr' | 'Ritz-Carlton' | ... method assertAgentReplyVisible (line 166) | async assertAgentReplyVisible(expectedText: RegExp) { method assertUserMessageVisible (line 170) | async assertUserMessageVisible(message: string) { method waitForSupervisorCoordination (line 174) | async waitForSupervisorCoordination() { method waitForAgentCompletion (line 180) | async waitForAgentCompletion() { FILE: apps/dojo/e2e/pages/langroidPages/AgenticUIGenPage.ts class AgenticGenUIPage (line 8) | class AgenticGenUIPage { method constructor (line 18) | constructor(page: Page) { method plan (line 31) | async plan() { method openChat (line 42) | async openChat() { method sendMessage (line 46) | async sendMessage(message: string) { method getPlannerButton (line 51) | getPlannerButton(name: string | RegExp) { method assertAgentReplyVisible (line 55) | async assertAgentReplyVisible(expectedText: RegExp) { method getUserText (line 61) | async getUserText(textOrRegex) { method assertUserMessageVisible (line 65) | async assertUserMessageVisible(message: string) { FILE: apps/dojo/e2e/pages/llamaIndexPages/AgenticUIGenPage.ts class AgenticGenUIPage (line 5) | class AgenticGenUIPage { method constructor (line 15) | constructor(page: Page) { method plan (line 26) | async plan() { method openChat (line 37) | async openChat() { method sendMessage (line 41) | async sendMessage(message: string) { method getPlannerButton (line 46) | getPlannerButton(name: string | RegExp) { method assertAgentReplyVisible (line 50) | async assertAgentReplyVisible(expectedText: RegExp) { method getUserText (line 54) | async getUserText(textOrRegex) { method assertUserMessageVisible (line 58) | async assertUserMessageVisible(message: string) { FILE: apps/dojo/e2e/pages/llamaIndexPages/HumanInLoopPage.ts class HumanInLoopPage (line 6) | class HumanInLoopPage { method constructor (line 17) | constructor(page: Page) { method openChat (line 31) | async openChat() { method sendMessage (line 35) | async sendMessage(message: string) { method selectItemsInPlanner (line 39) | async selectItemsInPlanner() { method getPlannerOnClick (line 44) | async getPlannerOnClick(name: string | RegExp) { method uncheckItem (line 48) | async uncheckItem(identifier: number | string): Promise { method isStepItemUnchecked (line 71) | async isStepItemUnchecked(target: number | string): Promise { method performSteps (line 89) | async performSteps() { method performStepsAndAwait (line 94) | async performStepsAndAwait() { method assertAgentReplyVisible (line 114) | async assertAgentReplyVisible(expectedText: RegExp) { method assertUserMessageVisible (line 120) | async assertUserMessageVisible(message: string) { FILE: apps/dojo/e2e/pages/pydanticAIPages/AgenticUIGenPage.ts class AgenticGenUIPage (line 5) | class AgenticGenUIPage { method constructor (line 15) | constructor(page: Page) { method plan (line 26) | async plan() { method openChat (line 37) | async openChat() { method sendMessage (line 41) | async sendMessage(message: string) { method getPlannerButton (line 46) | getPlannerButton(name: string | RegExp) { method assertAgentReplyVisible (line 50) | async assertAgentReplyVisible(expectedText: RegExp | RegExp[]) { method getUserText (line 67) | async getUserText(textOrRegex) { method assertUserMessageVisible (line 71) | async assertUserMessageVisible(message: string) { FILE: apps/dojo/e2e/pages/pydanticAIPages/HumanInLoopPage.ts class HumanInLoopPage (line 6) | class HumanInLoopPage { method constructor (line 17) | constructor(page: Page) { method openChat (line 31) | async openChat() { method sendMessage (line 35) | async sendMessage(message: string) { method selectItemsInPlanner (line 39) | async selectItemsInPlanner() { method getPlannerOnClick (line 44) | async getPlannerOnClick(name: string | RegExp) { method uncheckItem (line 48) | async uncheckItem(identifier: number | string): Promise { method isStepItemUnchecked (line 71) | async isStepItemUnchecked(target: number | string): Promise { method performSteps (line 89) | async performSteps() { method performStepsAndAwait (line 94) | async performStepsAndAwait() { method assertAgentReplyVisible (line 114) | async assertAgentReplyVisible(expectedText: RegExp) { method assertUserMessageVisible (line 120) | async assertUserMessageVisible(message: string) { FILE: apps/dojo/e2e/pages/pydanticAIPages/PredictiveStateUpdatesPage.ts class PredictiveStateUpdatesPage (line 6) | class PredictiveStateUpdatesPage { method constructor (line 21) | constructor(page: Page) { method openChat (line 36) | async openChat() { method sendMessage (line 40) | async sendMessage(message: string) { method getPredictiveResponse (line 44) | async getPredictiveResponse() { method getButton (line 49) | async getButton(page, buttonName) { method getStatusLabelOfButton (line 53) | async getStatusLabelOfButton(page, statusText) { method getUserApproval (line 57) | async getUserApproval() { method getUserRejection (line 65) | async getUserRejection() { method verifyAgentResponse (line 73) | async verifyAgentResponse(dragonName) { method verifyHighlightedText (line 85) | async verifyHighlightedText(){ FILE: apps/dojo/e2e/pages/serverStarterAllFeaturesPages/AgenticUIGenPage.ts class AgenticGenUIPage (line 5) | class AgenticGenUIPage { method constructor (line 15) | constructor(page: Page) { method plan (line 26) | async plan() { method openChat (line 37) | async openChat() { method sendMessage (line 41) | async sendMessage(message: string) { method getPlannerButton (line 46) | getPlannerButton(name: string | RegExp) { method assertAgentReplyVisible (line 50) | async assertAgentReplyVisible(expectedText: RegExp) { method getUserText (line 54) | async getUserText(textOrRegex) { method assertUserMessageVisible (line 58) | async assertUserMessageVisible(message: string) { FILE: apps/dojo/e2e/pages/serverStarterAllFeaturesPages/HumanInLoopPage.ts class HumanInLoopPage (line 6) | class HumanInLoopPage { method constructor (line 17) | constructor(page: Page) { method openChat (line 31) | async openChat() { method sendMessage (line 35) | async sendMessage(message: string) { method selectItemsInPlanner (line 39) | async selectItemsInPlanner() { method getPlannerOnClick (line 44) | async getPlannerOnClick(name: string | RegExp) { method uncheckItem (line 48) | async uncheckItem(identifier: number | string): Promise { method isStepItemUnchecked (line 71) | async isStepItemUnchecked(target: number | string): Promise { method performSteps (line 89) | async performSteps() { method performStepsAndAwait (line 94) | async performStepsAndAwait() { method assertAgentReplyVisible (line 114) | async assertAgentReplyVisible(expectedText: RegExp) { method assertUserMessageVisible (line 120) | async assertUserMessageVisible(message: string) { FILE: apps/dojo/e2e/pages/serverStarterAllFeaturesPages/PredictiveStateUpdatesPage.ts class PredictiveStateUpdatesPage (line 6) | class PredictiveStateUpdatesPage { method constructor (line 21) | constructor(page: Page) { method openChat (line 37) | async openChat() { method sendMessage (line 41) | async sendMessage(message: string) { method getPredictiveResponse (line 45) | async getPredictiveResponse() { method getButton (line 50) | async getButton(page, buttonName) { method getStatusLabelOfButton (line 54) | async getStatusLabelOfButton(page, statusText) { method getUserApproval (line 58) | async getUserApproval() { method getUserRejection (line 65) | async getUserRejection() { method verifyAgentResponse (line 72) | async verifyAgentResponse(dragonName) { method verifyHighlightedText (line 85) | async verifyHighlightedText(){ method getResponseContent (line 109) | async getResponseContent() { FILE: apps/dojo/e2e/playwright.config.ts function getReporters (line 4) | function getReporters(): ReporterDescription[] { function getBaseUrl (line 37) | function getBaseUrl(): string { FILE: apps/dojo/e2e/reporters/s3-video-reporter.ts type S3VideoReporterOptions (line 15) | interface S3VideoReporterOptions { type VideoInfo (line 20) | interface VideoInfo { class S3VideoReporter (line 31) | class S3VideoReporter implements Reporter { method constructor (line 35) | constructor(options: S3VideoReporterOptions = {}) { method onBegin (line 47) | onBegin(config: FullConfig, suite: Suite) { method onTestEnd (line 53) | onTestEnd(test: TestCase, result: TestResult) { method onEnd (line 101) | async onEnd(result: FullResult) { method writeVideoUrls (line 193) | private async writeVideoUrls() { function getUploadedVideos (line 218) | function getUploadedVideos(): VideoInfo[] { function getAllVideos (line 225) | function getAllVideos(): VideoInfo[] { FILE: apps/dojo/e2e/slack-layout-simple.ts type VideoInfo (line 5) | interface VideoInfo { function getVideos (line 10) | function getVideos(): VideoInfo[] { function generateSimpleLayout (line 25) | function generateSimpleLayout( FILE: apps/dojo/e2e/slack-layout.ts type VideoInfo (line 5) | interface VideoInfo { function getVideosByCategory (line 12) | function getVideosByCategory(): Map { function getTestDisplayName (line 42) | function getTestDisplayName(test: any): string { function categorizeAndCleanError (line 60) | function categorizeAndCleanError(test: any): { function generateCustomLayout (line 154) | function generateCustomLayout( FILE: apps/dojo/e2e/test-isolation-helper.ts function dumpPageAIState (line 9) | async function dumpPageAIState(page: Page) { function dumpLLMockJournal (line 94) | async function dumpLLMockJournal() { function waitForAIResponse (line 232) | async function waitForAIResponse(page: Page, timeout: number = 15000) { function waitForAssistantMessage (line 240) | async function waitForAssistantMessage( FILE: apps/dojo/e2e/test-isolation-setup.ts function globalSetup (line 4) | async function globalSetup(config: FullConfig) { FILE: apps/dojo/e2e/test-isolation-teardown.ts function globalTeardown (line 3) | async function globalTeardown() { FILE: apps/dojo/e2e/utils/aiWaitHelpers.ts function waitForAIResponse (line 7) | async function waitForAIResponse( function waitForAIContent (line 18) | async function waitForAIContent( function waitForAIFormReady (line 28) | async function waitForAIFormReady( function waitForAIDialog (line 40) | async function waitForAIDialog( function waitForAIPatterns (line 51) | async function waitForAIPatterns( FILE: apps/dojo/e2e/utils/copilot-actions.ts constant LLM_RESPONSE_TIMEOUT (line 5) | const LLM_RESPONSE_TIMEOUT = 60_000; constant ELEMENT_TIMEOUT (line 7) | const ELEMENT_TIMEOUT = 10_000; function awaitLLMResponseDone (line 14) | async function awaitLLMResponseDone( function sendChatMessage (line 40) | async function sendChatMessage(page: Page, message: string) { function sendAndAwaitResponse (line 57) | async function sendAndAwaitResponse( function assertAssistantReply (line 92) | async function assertAssistantReply( function assertUserMessage (line 110) | async function assertUserMessage( function openChat (line 123) | async function openChat(page: Page) { function regenerateResponse (line 135) | async function regenerateResponse(page: Page, messageIndex: number) { FILE: apps/dojo/scripts/generate-content-json.ts function getFile (line 13) | async function getFile(_filePath: string | undefined, _fileName?: string) { constant FEATURE_BASE (line 81) | const FEATURE_BASE = path.join(__dirname, "../src/app/[integrationId]/fe... function resolveFeatureDir (line 83) | function resolveFeatureDir(featureId: string): string { function getFeatureFrontendFiles (line 89) | async function getFeatureFrontendFiles(featureId: string) { function runGenerateContent (line 471) | async function runGenerateContent() { function validateAgentFilesMapper (line 518) | function validateAgentFilesMapper(): boolean { function validateFeatureReadmes (line 546) | function validateFeatureReadmes(): boolean { FILE: apps/dojo/scripts/link-cpk.js function linkCopilotKit (line 34) | function linkCopilotKit() { FILE: apps/dojo/scripts/prep-dojo-everything.js function parseList (line 13) | function parseList(flag) { constant ALL_TARGETS (line 51) | const ALL_TARGETS = { function printDryRunServices (line 154) | function printDryRunServices(procs) { function main (line 164) | async function main() { FILE: apps/dojo/scripts/run-dojo-everything.js constant LANGGRAPH_CLI_VERSION (line 9) | const LANGGRAPH_CLI_VERSION = '1.1.13'; function parseList (line 16) | function parseList(flag) { constant ALL_SERVICES (line 56) | const ALL_SERVICES = { function printDryRunServices (line 261) | function printDryRunServices(procs) { function main (line 279) | async function main() { FILE: apps/dojo/src/app/[integrationId]/feature/(v1)/v1_agentic_chat/page.tsx type V1AgenticChatProps (line 7) | interface V1AgenticChatProps { FILE: apps/dojo/src/app/[integrationId]/feature/(v2)/a2a_chat/a2a_chat.tsx type A2AChatProps (line 17) | interface A2AChatProps { type A2AChatState (line 37) | interface A2AChatState { type Seat (line 41) | interface Seat { type Table (line 47) | interface Table { type MessageProps (line 74) | interface MessageProps { method render (line 186) | render({ args, respond }: { args: { tables?: Table[] }; respond?: (resul... FILE: apps/dojo/src/app/[integrationId]/feature/(v2)/a2a_chat/page.tsx type PageProps (line 8) | interface PageProps { function Page (line 14) | function Page({ params }: PageProps) { FILE: apps/dojo/src/app/[integrationId]/feature/(v2)/a2ui_chat/page.tsx type PageProps (line 18) | interface PageProps { function Chat (line 24) | function Chat({ agentId }: { agentId: string }) { function Page (line 42) | function Page({ params }: PageProps) { FILE: apps/dojo/src/app/[integrationId]/feature/(v2)/agentic_chat/page.tsx type AgenticChatProps (line 14) | interface AgenticChatProps { FILE: apps/dojo/src/app/[integrationId]/feature/(v2)/agentic_chat_reasoning/page.tsx type AgenticChatProps (line 25) | interface AgenticChatProps { type AgentState (line 45) | interface AgentState { FILE: apps/dojo/src/app/[integrationId]/feature/(v2)/agentic_generative_ui/page.tsx type AgenticGenerativeUIProps (line 14) | interface AgenticGenerativeUIProps { type AgentState (line 33) | interface AgentState { function TaskProgress (line 90) | function TaskProgress({ steps, theme }: { steps: AgentState["steps"]; th... function CheckIcon (line 260) | function CheckIcon() { function SpinnerIcon (line 268) | function SpinnerIcon() { function ClockIcon (line 286) | function ClockIcon({ theme }: { theme?: string }) { FILE: apps/dojo/src/app/[integrationId]/feature/(v2)/backend_tool_rendering/page.tsx type AgenticChatProps (line 13) | interface AgenticChatProps { type WeatherToolResult (line 100) | interface WeatherToolResult { function getThemeColor (line 108) | function getThemeColor(conditions: string): string { function WeatherCard (line 125) | function WeatherCard({ function WeatherIcon (line 185) | function WeatherIcon({ conditions }: { conditions: string }) { function SunIcon (line 213) | function SunIcon() { function RainIcon (line 231) | function RainIcon() { function CloudIcon (line 257) | function CloudIcon() { FILE: apps/dojo/src/app/[integrationId]/feature/(v2)/human_in_the_loop/page.tsx type HumanInTheLoopProps (line 15) | interface HumanInTheLoopProps { type Step (line 35) | interface Step { FILE: apps/dojo/src/app/[integrationId]/feature/(v2)/predictive_state_updates/page.tsx type PredictiveStateUpdatesProps (line 28) | interface PredictiveStateUpdatesProps { function PredictiveStateUpdates (line 34) | function PredictiveStateUpdates({ params }: PredictiveStateUpdatesProps) { type AgentState (line 173) | interface AgentState { method render (line 296) | render({ args, status, respond }: { args: { document?: string }; status:... type ConfirmChangesProps (line 333) | interface ConfirmChangesProps { function ConfirmChanges (line 341) | function ConfirmChanges({ args, respond, status, onReject, onConfirm }: ... function fromMarkdown (line 400) | function fromMarkdown(text: string) { function diffPartialText (line 409) | function diffPartialText(oldText: string, newText: string, isComplete: b... function isAlpha (line 436) | function isAlpha(text: string) { FILE: apps/dojo/src/app/[integrationId]/feature/(v2)/shared_state/page.tsx type SharedStateProps (line 18) | interface SharedStateProps { function SharedState (line 24) | function SharedState({ params }: SharedStateProps) { type SkillLevel (line 156) | enum SkillLevel { type CookingTime (line 162) | enum CookingTime { type SpecialPreferences (line 178) | enum SpecialPreferences { type Ingredient (line 188) | interface Ingredient { type Recipe (line 194) | interface Recipe { type RecipeAgentState (line 203) | interface RecipeAgentState { constant INITIAL_STATE (line 207) | const INITIAL_STATE: RecipeAgentState = { function Recipe (line 221) | function Recipe() { function Ping (line 625) | function Ping() { FILE: apps/dojo/src/app/[integrationId]/feature/(v2)/subgraphs/page.tsx type SubgraphsProps (line 18) | interface SubgraphsProps { type Flight (line 25) | interface Flight { type Hotel (line 33) | interface Hotel { type Experience (line 40) | interface Experience { type Itinerary (line 47) | interface Itinerary { type AvailableAgents (line 53) | type AvailableAgents = 'flights' | 'hotels' | 'experiences' | 'supervisor' type TravelAgentState (line 55) | interface TravelAgentState { constant INITIAL_STATE (line 64) | const INITIAL_STATE: TravelAgentState = { type InterruptEvent (line 73) | interface InterruptEvent { function InterruptHumanInTheLoop (line 80) | function InterruptHumanInTheLoop({ function Subgraphs (line 160) | function Subgraphs({ params }: SubgraphsProps) { function TravelPlanner (line 284) | function TravelPlanner() { FILE: apps/dojo/src/app/[integrationId]/feature/(v2)/tool_based_generative_ui/page.tsx type ToolBasedGenerativeUIProps (line 20) | interface ToolBasedGenerativeUIProps { type Haiku (line 26) | interface Haiku { function ToolBasedGenerativeUI (line 33) | function ToolBasedGenerativeUI({ params }: ToolBasedGenerativeUIProps) { function SidebarWithSuggestions (line 49) | function SidebarWithSuggestions({ defaultOpen }: { defaultOpen: boolean ... constant VALID_IMAGE_NAMES (line 70) | const VALID_IMAGE_NAMES = [ function HaikuDisplay (line 83) | function HaikuDisplay() { function HaikuCard (line 152) | function HaikuCard({ haiku }: { haiku: Partial }) { FILE: apps/dojo/src/app/[integrationId]/feature/(v2)/vnext_chat/page.tsx type PageProps (line 10) | interface PageProps { function Page (line 16) | function Page({ params }: PageProps) { function Chat (line 35) | function Chat({ threadId }: { threadId: string }) { FILE: apps/dojo/src/app/[integrationId]/feature/layout-client.tsx type FileItem (line 12) | type FileItem = { type FilesJsonType (line 19) | type FilesJsonType = Record; type Props (line 21) | interface Props { function FeatureLayoutClient (line 25) | function FeatureLayoutClient({ children }: Props) { FILE: apps/dojo/src/app/[integrationId]/feature/layout.tsx type Props (line 8) | interface Props { function FeatureLayout (line 12) | async function FeatureLayout({ children }: Props) { FILE: apps/dojo/src/app/[integrationId]/feature/not-found.tsx function FeatureNotFound (line 3) | function FeatureNotFound() { FILE: apps/dojo/src/app/[integrationId]/not-found.tsx function NotFound (line 4) | function NotFound() { FILE: apps/dojo/src/app/[integrationId]/page.tsx function generateStaticParams (line 8) | async function generateStaticParams() { type IntegrationPageProps (line 17) | interface IntegrationPageProps { function IntegrationPage (line 23) | function IntegrationPage({ params }: IntegrationPageProps) { FILE: apps/dojo/src/app/api/copilotkit/[integrationId]/[[...slug]]/route.ts type RouteParams (line 13) | type RouteParams = { function getHandler (line 22) | async function getHandler(integrationId: string) { function POST (line 50) | async function POST(request: NextRequest, context: RouteParams) { FILE: apps/dojo/src/app/api/copilotkit/route.ts constant GET (line 22) | const GET = handler; constant POST (line 23) | const POST = handler; FILE: apps/dojo/src/app/api/copilotkitnext/[integrationId]/[[...slug]]/route.ts type RouteParams (line 14) | type RouteParams = { function getHandler (line 25) | function getHandler(integrationId: string): Promise { function createHandler (line 37) | async function createHandler(integrationId: string): Promise { function GET (line 71) | async function GET(request: NextRequest, context: RouteParams) { function POST (line 77) | async function POST(request: NextRequest, context: RouteParams) { FILE: apps/dojo/src/app/layout.tsx function RootLayout (line 25) | function RootLayout({ FILE: apps/dojo/src/app/page.tsx function Home (line 5) | function Home() { FILE: apps/dojo/src/components/code-viewer/code-editor.tsx type CodeEditorProps (line 5) | interface CodeEditorProps { function CodeEditor (line 10) | function CodeEditor({ file, onFileChange }: CodeEditorProps) { FILE: apps/dojo/src/components/code-viewer/code-viewer.tsx function CodeViewer (line 10) | function CodeViewer({ codeFiles }: { codeFiles: FeatureFile[] }) { FILE: apps/dojo/src/components/demo-list/demo-list.tsx type DemoListProps (line 6) | interface DemoListProps { function DemoList (line 13) | function DemoList({ demos, selectedDemo, onSelect, llmSelector }: DemoLi... FILE: apps/dojo/src/components/file-tree/file-tree-nav.tsx type FileTreeNavProps (line 7) | interface FileTreeNavProps { function FileTreeNav (line 13) | function FileTreeNav({ path, rootPath, onNavigate }: FileTreeNavProps) { FILE: apps/dojo/src/components/file-tree/file-tree.tsx type FileTreeProps (line 7) | interface FileTreeProps { function FileTreeNode (line 13) | function FileTreeNode({ function FileTree (line 71) | function FileTree({ files, onFileSelect, selectedFile }: FileTreeProps) { FILE: apps/dojo/src/components/layout/main-layout.tsx function MainLayout (line 12) | function MainLayout({ children }: { children: React.ReactNode }) { type MaybeSidebarProps (line 88) | interface MaybeSidebarProps { function MaybeSidebar (line 94) | function MaybeSidebar({ isMobile, isMobileSidebarOpen, onMobileClose }: ... FILE: apps/dojo/src/components/layout/viewer-layout.tsx type ViewerLayoutProps (line 7) | interface ViewerLayoutProps extends ViewerConfig { function ViewerLayout (line 15) | function ViewerLayout({ FILE: apps/dojo/src/components/readme/readme.tsx function Readme (line 5) | function Readme({ content }: { content: string }) { FILE: apps/dojo/src/components/sidebar/sidebar.tsx type SidebarProps (line 30) | interface SidebarProps { function Sidebar (line 35) | function Sidebar({ isMobile, onMobileClose }: SidebarProps) { function SectionTitle (line 197) | function SectionTitle({ title }: { title: string }) { FILE: apps/dojo/src/components/theme-provider.tsx function ThemeProvider (line 6) | function ThemeProvider({ children, ...props }: NextThemeProviderProps) { FILE: apps/dojo/src/components/theme-wrapper.tsx function ThemeWrapper (line 6) | function ThemeWrapper({ children }: { children: React.ReactNode }) { FILE: apps/dojo/src/components/ui/badge.tsx function Badge (line 26) | function Badge({ FILE: apps/dojo/src/components/ui/button.tsx function Button (line 35) | function Button({ FILE: apps/dojo/src/components/ui/carousel.tsx type CarouselApi (line 12) | type CarouselApi = UseEmblaCarouselType[1] type UseCarouselParameters (line 13) | type UseCarouselParameters = Parameters type CarouselOptions (line 14) | type CarouselOptions = UseCarouselParameters[0] type CarouselPlugin (line 15) | type CarouselPlugin = UseCarouselParameters[1] type CarouselProps (line 17) | type CarouselProps = { type CarouselContextProps (line 24) | type CarouselContextProps = { function useCarousel (line 35) | function useCarousel() { FILE: apps/dojo/src/components/ui/dropdown-menu.tsx function DropdownMenu (line 9) | function DropdownMenu({ ...props }: React.ComponentProps['components']; type CustomMDXComponents (line 25) | type CustomMDXComponents = Components & { FILE: apps/dojo/src/components/ui/tabs.tsx function Tabs (line 8) | function Tabs({ className, ...props }: React.ComponentProps = IntegrationFeature< FILE: apps/dojo/src/types/interface.ts type View (line 1) | type View = "preview" | "code" | "readme"; FILE: apps/dojo/src/utils/agents.ts function mapAgents (line 12) | function mapAgents>( FILE: apps/dojo/src/utils/domain-config.ts function getTitleForCurrentDomain (line 4) | function getTitleForCurrentDomain(): string | undefined { FILE: apps/dojo/src/utils/menu.ts function isIntegrationValid (line 4) | function isIntegrationValid(integrationId: string): boolean { function isFeatureAvailable (line 9) | function isFeatureAvailable(integrationId: string, featureId: string): b... function getIntegration (line 15) | function getIntegration(integrationId: string): MenuIntegrationConfig | ... FILE: apps/dojo/src/utils/use-is-inside-iframe.ts function useIsInsideIframe (line 3) | function useIsInsideIframe() { function useIsInsideCpkFrame (line 17) | function useIsInsideCpkFrame(): boolean { FILE: apps/dojo/src/utils/use-mobile-chat.ts function useMobileChat (line 4) | function useMobileChat(defaultChatHeight = 50) { FILE: apps/dojo/src/utils/use-mobile-view.ts function useMobileView (line 3) | function useMobileView() { FILE: docs/icons/index.tsx function icon (line 5) | function icon(icon: any) { FILE: integrations/a2a/typescript/src/__tests__/agent.test.ts type SendMessageResponseSuccess (line 7) | type SendMessageResponseSuccess = { type SendMessageResponseError (line 13) | type SendMessageResponseError = { class FakeA2AClient (line 19) | class FakeA2AClient { method constructor (line 20) | constructor( method sendMessageStream (line 28) | sendMessageStream(params: MessageSendParams) { method sendMessage (line 35) | async sendMessage(params: MessageSendParams) { method isErrorResponse (line 42) | isErrorResponse(response: SendMessageResponseSuccess | SendMessageResp... method getAgentCard (line 46) | async getAgentCard() { FILE: integrations/a2a/typescript/src/agent.ts type A2AAgentConfig (line 28) | interface A2AAgentConfig extends AgentConfig { constant EXTENSION_URI (line 32) | const EXTENSION_URI = "https://a2ui.org/a2a-extension/a2ui/v0.8"; constant A2A_UI_MIME_TYPE (line 33) | const A2A_UI_MIME_TYPE = "application/json+a2ui"; class A2AAgent (line 35) | class A2AAgent extends AbstractAgent { method constructor (line 39) | constructor(config: A2AAgentConfig) { method clone (line 51) | clone() { method run (line 55) | run(input: RunAgentInput): Observable { method prepareConversation (line 128) | private prepareConversation(input: RunAgentInput): ConvertedA2AMessages { method createSendParams (line 138) | private async createSendParams( method streamMessage (line 160) | private async streamMessage( method fallbackToBlocking (line 196) | private async fallbackToBlocking( method blockingMessage (line 220) | private async blockingMessage( method initializeExtension (line 265) | private initializeExtension(client: A2AClient) { method createSurfaceTracker (line 357) | private createSurfaceTracker(): SurfaceTracker { method attachForwardedAction (line 367) | private attachForwardedAction( FILE: integrations/a2a/typescript/src/types.ts type SurfaceTracker (line 26) | interface SurfaceTracker { type A2AStreamEvent (line 31) | type A2AStreamEvent = type ConvertAGUIMessagesOptions (line 37) | interface ConvertAGUIMessagesOptions { type ConvertedA2AMessages (line 42) | interface ConvertedA2AMessages { type ConvertA2AEventOptions (line 48) | interface ConvertA2AEventOptions { type A2AAgentRunResultSummary (line 57) | interface A2AAgentRunResultSummary { FILE: integrations/a2a/typescript/src/utils.ts constant ROLE_MAP (line 25) | const ROLE_MAP: Record = { constant TOOL_RESULT_PART_TYPE (line 33) | const TOOL_RESULT_PART_TYPE = "tool-result"; constant TOOL_CALL_PART_TYPE (line 34) | const TOOL_CALL_PART_TYPE = "tool-call"; constant SURFACE_OPERATION_KEYS (line 35) | const SURFACE_OPERATION_KEYS = [ type SurfaceOperationKey (line 41) | type SurfaceOperationKey = (typeof SURFACE_OPERATION_KEYS)[number]; function convertAGUIMessagesToA2A (line 190) | function convertAGUIMessagesToA2A( function resolveMappedMessageId (line 251) | function resolveMappedMessageId( function convertMessageToEvents (line 280) | function convertMessageToEvents( function convertA2AEventToAGUIEvents (line 428) | function convertA2AEventToAGUIEvents( FILE: integrations/adk-middleware/python/examples/other/complete_setup.py function setup_and_run (line 46) | async def setup_and_run(): FILE: integrations/adk-middleware/python/examples/other/configure_adk_agent.py function create_simple_agent (line 16) | def create_simple_agent(): function create_configured_agent (line 28) | def create_configured_agent(): function create_agent_with_tools (line 48) | def create_agent_with_tools(): function create_domain_agent (line 91) | def create_domain_agent(): function setup_multi_agent_system (line 113) | def setup_multi_agent_system(): function create_agent_from_env (line 138) | def create_agent_from_env(): function setup_adk_agents (line 150) | def setup_adk_agents(): FILE: integrations/adk-middleware/python/examples/other/context_usage.py function context_aware_instructions (line 41) | def context_aware_instructions(ctx: ReadonlyContext) -> str: function get_user_preferences (line 69) | def get_user_preferences(tool_context: ToolContext) -> dict: function personalized_greeting (line 97) | def personalized_greeting(tool_context: ToolContext) -> str: function main (line 124) | async def main(): function handle_event (line 180) | def handle_event(event: BaseEvent): FILE: integrations/adk-middleware/python/examples/other/simple_agent.py function main (line 22) | async def main(): function handle_event (line 75) | def handle_event(event: BaseEvent): function advanced_example (line 97) | async def advanced_example(): FILE: integrations/adk-middleware/python/examples/server/__init__.py function root (line 43) | async def root(): function main (line 59) | def main(): FILE: integrations/adk-middleware/python/examples/server/api/agentic_generative_ui.py class Step (line 18) | class Step(BaseModel): class Plan (line 28) | class Plan(BaseModel): class JSONPatchOp (line 34) | class JSONPatchOp(BaseModel): function create_plan (line 52) | async def create_plan(steps: list[str]) -> StateSnapshotEvent: function update_plan_step (line 70) | async def update_plan_step( FILE: integrations/adk-middleware/python/examples/server/api/backend_tool_rendering.py function get_weather_condition (line 19) | def get_weather_condition(code: int) -> str: function get_weather (line 61) | async def get_weather(location: str) -> dict[str, str | float]: FILE: integrations/adk-middleware/python/examples/server/api/predictive_state_updates.py function write_document_local (line 42) | def write_document_local( function on_before_agent (line 68) | def on_before_agent(callback_context: CallbackContext): FILE: integrations/adk-middleware/python/examples/server/api/shared_state.py class SkillLevel (line 28) | class SkillLevel(str, Enum): class SpecialPreferences (line 34) | class SpecialPreferences(str, Enum): class CookingTime (line 43) | class CookingTime(str, Enum): class Ingredient (line 49) | class Ingredient(BaseModel): class Recipe (line 54) | class Recipe(BaseModel): function generate_recipe (line 71) | def generate_recipe( function on_before_agent (line 165) | def on_before_agent(callback_context: CallbackContext): function before_model_modifier (line 188) | def before_model_modifier( function simple_after_model_modifier (line 224) | def simple_after_model_modifier( FILE: integrations/adk-middleware/python/src/ag_ui_adk/__init__.py function _configure_logging_from_env (line 37) | def _configure_logging_from_env() -> None: FILE: integrations/adk-middleware/python/src/ag_ui_adk/adk_agent.py class ADKAgent (line 60) | class ADKAgent: method __init__ (line 67) | def __init__( method _is_adk_resumable (line 241) | def _is_adk_resumable(self) -> bool: method _root_agent_needs_invocation_id (line 259) | def _root_agent_needs_invocation_id(self) -> bool: method from_app (line 283) | def from_app( method _get_session_metadata (line 399) | def _get_session_metadata(self, thread_id: str) -> Optional[Tuple[str,... method _get_backend_session_id (line 410) | def _get_backend_session_id(self, thread_id: str) -> Optional[str]: method _get_app_name (line 422) | def _get_app_name(self, input: RunAgentInput) -> str: method _default_app_extractor (line 431) | def _default_app_extractor(self, input: RunAgentInput) -> str: method _get_user_id (line 440) | def _get_user_id(self, input: RunAgentInput) -> str: method _default_user_extractor (line 449) | def _default_user_extractor(self, input: RunAgentInput) -> str: method _add_pending_tool_call_with_context (line 454) | async def _add_pending_tool_call_with_context(self, thread_id: str, to... method _remove_pending_tool_call (line 499) | async def _remove_pending_tool_call(self, thread_id: str, tool_call_id... method _get_pending_tool_call_ids (line 540) | async def _get_pending_tool_call_ids(self, thread_id: str) -> Optional... method _has_pending_tool_calls (line 564) | async def _has_pending_tool_calls(self, thread_id: str) -> bool: method _extract_lro_id_remap (line 579) | def _extract_lro_id_remap( method _store_lro_id_remap (line 618) | async def _store_lro_id_remap( method _get_lro_id_remap (line 650) | async def _get_lro_id_remap( method _consume_lro_id_remap (line 669) | async def _consume_lro_id_remap( method _default_run_config (line 703) | def _default_run_config(self, input: RunAgentInput) -> ADKRunConfig: method _run_config_supports_custom_metadata (line 730) | def _run_config_supports_custom_metadata(self) -> bool: method _runner_supports_plugin_close_timeout (line 742) | def _runner_supports_plugin_close_timeout(self) -> bool: method _adk_supports_streaming_fc_args (line 755) | def _adk_supports_streaming_fc_args() -> bool: method _create_runner (line 773) | def _create_runner(self, adk_agent: BaseAgent, user_id: str, app_name:... method run (line 812) | async def run(self, input: RunAgentInput) -> AsyncGenerator[BaseEvent,... method _ensure_session_exists (line 1009) | async def _ensure_session_exists(self, app_name: str, user_id: str, th... method _convert_latest_message (line 1071) | async def _convert_latest_message( method _get_unseen_messages (line 1093) | async def _get_unseen_messages(self, input: RunAgentInput) -> List[Any]: method _collect_message_ids (line 1122) | def _collect_message_ids(self, messages: List[Any]) -> List[str]: method _is_tool_result_submission (line 1126) | async def _is_tool_result_submission( method _handle_tool_result_submission (line 1148) | async def _handle_tool_result_submission( method _extract_tool_results (line 1273) | async def _extract_tool_results( method _stream_events (line 1334) | async def _stream_events( method _start_new_execution (line 1405) | async def _start_new_execution( method _shallow_copy_agent_tree (line 1534) | def _shallow_copy_agent_tree(agent: Any) -> Any: method _start_background_execution (line 1561) | async def _start_background_execution( method _run_adk_in_background (line 1704) | async def _run_adk_in_background( method _cleanup_stale_executions (line 2362) | async def _cleanup_stale_executions(self): method close (line 2375) | async def close(self): FILE: integrations/adk-middleware/python/src/ag_ui_adk/agui_toolset.py class AGUIToolset (line 7) | class AGUIToolset(BaseToolset): method __init__ (line 13) | def __init__( method get_tools (line 28) | async def get_tools( FILE: integrations/adk-middleware/python/src/ag_ui_adk/client_proxy_tool.py class ClientProxyTool (line 28) | class ClientProxyTool(BaseTool): method __init__ (line 38) | def __init__( method _get_declaration (line 118) | def _get_declaration(self) -> Optional[types.FunctionDeclaration]: method run_async (line 146) | async def run_async( method _execute_proxy_tool (line 168) | async def _execute_proxy_tool(self, args: Dict[str, Any], tool_context... method __repr__ (line 267) | def __repr__(self) -> str: FILE: integrations/adk-middleware/python/src/ag_ui_adk/client_proxy_toolset.py class ClientProxyToolset (line 20) | class ClientProxyToolset(BaseToolset): method __init__ (line 27) | def __init__( method get_tools (line 65) | async def get_tools( method get_accumulated_predict_state (line 123) | def get_accumulated_predict_state(self) -> dict: method close (line 134) | async def close(self) -> None: method __repr__ (line 138) | def __repr__(self) -> str: FILE: integrations/adk-middleware/python/src/ag_ui_adk/config.py class PredictStateMapping (line 12) | class PredictStateMapping: method to_payload (line 34) | def to_payload(self) -> Dict[str, str]: function normalize_predict_state (line 43) | def normalize_predict_state(value: Optional[Iterable[PredictStateMapping... FILE: integrations/adk-middleware/python/src/ag_ui_adk/endpoint.py class AgentStateRequest (line 22) | class AgentStateRequest(BaseModel): class AgentStateResponse (line 34) | class AgentStateResponse(BaseModel): function _header_to_key (line 42) | def _header_to_key(header_name: str) -> str: function make_extract_headers (line 53) | def make_extract_headers(headers_to_extract: list[str]) -> Callable[[Req... function add_adk_fastapi_endpoint (line 85) | def add_adk_fastapi_endpoint( function create_adk_app (line 298) | def create_adk_app( FILE: integrations/adk-middleware/python/src/ag_ui_adk/event_translator.py function _check_thought_support (line 35) | def _check_thought_support() -> bool: function _coerce_tool_response (line 62) | def _coerce_tool_response(value: Any, _visited: Optional[set[int]] = Non... function _serialize_tool_response (line 146) | def _serialize_tool_response(response: Any) -> str: class EventTranslator (line 160) | class EventTranslator: method __init__ (line 167) | def __init__( method get_and_clear_deferred_confirm_events (line 268) | def get_and_clear_deferred_confirm_events(self) -> List[BaseEvent]: method has_deferred_confirm_events (line 281) | def has_deferred_confirm_events(self) -> bool: method translate (line 289) | async def translate( method translate_text_only (line 428) | async def translate_text_only( method _translate_text_content (line 454) | async def _translate_text_content( method _translate_thinking_content (line 660) | async def _translate_thinking_content( method _close_thinking_stream (line 708) | async def _close_thinking_stream(self) -> AsyncGenerator[BaseEvent, No... method translate_lro_function_calls (line 732) | async def translate_lro_function_calls(self,adk_event: ADKEvent)-> Asy... method _translate_function_calls (line 782) | async def _translate_function_calls( method _translate_streaming_function_call (line 898) | async def _translate_streaming_function_call( method _translate_function_response (line 1034) | async def _translate_function_response( method _create_state_delta_event (line 1076) | def _create_state_delta_event( method _create_state_snapshot_event (line 1107) | def _create_state_snapshot_event( method force_close_streaming_message (line 1125) | async def force_close_streaming_message(self) -> AsyncGenerator[BaseEv... method reset (line 1148) | def reset(self): function _translate_function_calls_to_tool_calls (line 1182) | def _translate_function_calls_to_tool_calls(function_calls: List[Any]) -... function _is_thought_part (line 1205) | def _is_thought_part(part: Any) -> bool: function adk_events_to_messages (line 1216) | def adk_events_to_messages(events: List[ADKEvent]) -> List[Message]: FILE: integrations/adk-middleware/python/src/ag_ui_adk/execution_state.py class ExecutionState (line 13) | class ExecutionState: method __init__ (line 22) | def __init__( method is_stale (line 44) | def is_stale(self, timeout_seconds: int) -> bool: method cancel (line 55) | async def cancel(self): method get_execution_time (line 69) | def get_execution_time(self) -> float: method add_pending_tool_call (line 77) | def add_pending_tool_call(self, tool_call_id: str): method remove_pending_tool_call (line 86) | def remove_pending_tool_call(self, tool_call_id: str): method has_pending_tool_calls (line 95) | def has_pending_tool_calls(self) -> bool: method get_status (line 103) | def get_status(self) -> str: method __repr__ (line 119) | def __repr__(self) -> str: FILE: integrations/adk-middleware/python/src/ag_ui_adk/session_manager.py class SessionManager (line 20) | class SessionManager: method __new__ (line 35) | def __new__(cls, session_service=None, **kwargs): method __init__ (line 41) | def __init__( method get_instance (line 103) | def get_instance(cls, **kwargs): method reset_instance (line 108) | def reset_instance(cls): method get_or_create_session (line 120) | async def get_or_create_session( method _get_or_create_by_thread_id (line 171) | async def _get_or_create_by_thread_id( method _get_or_create_by_scan (line 215) | async def _get_or_create_by_scan( method _find_session_by_thread_id (line 245) | async def _find_session_by_thread_id( method get_session (line 280) | async def get_session( method update_session_state (line 308) | async def update_session_state( method get_session_state (line 379) | async def get_session_state( method get_state_value (line 417) | async def get_state_value( method set_state_value (line 457) | async def set_state_value( method remove_state_keys (line 484) | async def remove_state_keys( method clear_session_state (line 529) | async def clear_session_state( method initialize_session_state (line 575) | async def initialize_session_state( method bulk_update_user_state (line 623) | async def bulk_update_user_state( method _track_session (line 665) | def _track_session(self, session_key: str, user_id: str): method _untrack_session (line 673) | def _untrack_session(self, session_key: str, user_id: str): method _make_session_key (line 683) | def _make_session_key(self, app_name: str, session_id: str) -> str: method get_processed_message_ids (line 686) | def get_processed_message_ids(self, app_name: str, session_id: str) ->... method mark_messages_processed (line 690) | def mark_messages_processed( method _remove_oldest_user_session (line 703) | async def _remove_oldest_user_session(self, user_id: str): method _delete_session (line 733) | async def _delete_session(self, session): method _start_cleanup_task (line 767) | def _start_cleanup_task(self): method _cleanup_loop (line 776) | async def _cleanup_loop(self): method _cleanup_expired_sessions (line 790) | async def _cleanup_expired_sessions(self): method get_session_count (line 837) | def get_session_count(self) -> int: method get_user_session_count (line 841) | def get_user_session_count(self, user_id: str) -> int: method stop_cleanup_task (line 845) | async def stop_cleanup_task(self): FILE: integrations/adk-middleware/python/src/ag_ui_adk/utils/converters.py function _get_text_value (line 20) | def _get_text_value(item: Union[dict, TextInputContent]) -> Optional[str]: function _get_binary_attributes (line 27) | def _get_binary_attributes(item: Union[dict, BinaryInputContent]) -> Tup... function _to_binary_part (line 44) | def _to_binary_part(data: Optional[str], mime_type: Optional[str], url: ... function _to_text_part (line 75) | def _to_text_part(text: Optional[str]) -> Optional[types.Part]: function _is_text_content (line 81) | def _is_text_content(item: Union[dict, InputContent]) -> bool: function _is_binary_content (line 86) | def _is_binary_content(item: Union[dict, InputContent]) -> bool: function convert_message_content_to_parts (line 91) | def convert_message_content_to_parts(content: Optional[Union[str, List[A... function convert_ag_ui_messages_to_adk (line 123) | def convert_ag_ui_messages_to_adk(messages: List[Message]) -> List[ADKEv... function convert_adk_event_to_ag_ui_message (line 198) | def convert_adk_event_to_ag_ui_message(event: ADKEvent) -> Optional[Mess... function convert_state_to_json_patch (line 254) | def convert_state_to_json_patch(state_delta: Dict[str, Any]) -> List[Dic... function convert_json_patch_to_state (line 285) | def convert_json_patch_to_state(patches: List[Dict[str, Any]]) -> Dict[s... function extract_text_from_content (line 312) | def extract_text_from_content(content: types.Content) -> str: function flatten_message_content (line 325) | def flatten_message_content(content: Any) -> str: function create_error_message (line 339) | def create_error_message(error: Exception, context: str = "") -> str: FILE: integrations/adk-middleware/python/tests/conftest.py function restore_system_message_class (line 13) | def restore_system_message_class(): FILE: integrations/adk-middleware/python/tests/server_setup.py function root (line 54) | async def root(): function health (line 65) | async def health(): FILE: integrations/adk-middleware/python/tests/test_adk_agent.py class TestADKAgent (line 25) | class TestADKAgent: method mock_agent (line 29) | def mock_agent(self): method reset_session_manager (line 37) | def reset_session_manager(self): method adk_agent (line 53) | def adk_agent(self, mock_agent): method sample_input (line 63) | def sample_input(self): method test_agent_initialization (line 84) | async def test_agent_initialization(self, adk_agent): method test_user_extraction (line 91) | async def test_user_extraction(self, adk_agent, sample_input): method test_adk_agent_has_direct_reference (line 108) | async def test_adk_agent_has_direct_reference(self, adk_agent, sample_... method test_run_basic_flow (line 115) | async def test_run_basic_flow(self, adk_agent, sample_input, mock_agent): method test_runner_close_called_on_run_error (line 150) | async def test_runner_close_called_on_run_error(self, adk_agent, sampl... method test_turn_complete_falls_back_to_streaming_translator (line 174) | async def test_turn_complete_falls_back_to_streaming_translator( method test_partial_final_chunk_uses_streaming_translation (line 238) | async def test_partial_final_chunk_uses_streaming_translation(self, ad... method test_streaming_finish_reason_fallback (line 288) | async def test_streaming_finish_reason_fallback(self, adk_agent, sampl... method test_session_management (line 386) | async def test_session_management(self, adk_agent): method test_error_handling (line 409) | async def test_error_handling(self, adk_agent, sample_input): method test_cleanup (line 428) | async def test_cleanup(self, adk_agent): method test_system_message_appended_to_instructions (line 444) | async def test_system_message_appended_to_instructions(self): method test_system_message_appended_to_instruction_provider (line 491) | async def test_system_message_appended_to_instruction_provider(self): method test_system_message_appended_to_instruction_provider_with_none (line 552) | async def test_system_message_appended_to_instruction_provider_with_no... method test_system_message_appended_to_sync_instruction_provider (line 607) | async def test_system_message_appended_to_sync_instruction_provider(se... method test_system_message_not_first_ignored (line 668) | async def test_system_message_not_first_ignored(self): method test_system_message_with_no_existing_instruction (line 707) | async def test_system_message_with_no_existing_instruction(self): method test_final_response_after_backend_tool_emits_text (line 740) | async def test_final_response_after_backend_tool_emits_text(self, adk_... method test_skip_summarization_routes_through_translate_for_tool_result (line 809) | async def test_skip_summarization_routes_through_translate_for_tool_re... method test_agui_tools_properly_converted_in_subagents (line 890) | async def test_agui_tools_properly_converted_in_subagents(self): method test_non_deepcopyable_tool_does_not_crash (line 971) | async def test_non_deepcopyable_tool_does_not_crash(self): method test_original_agent_not_mutated_after_run (line 1032) | async def test_original_agent_not_mutated_after_run(self): class TestThreadIdSessionIdMapping (line 1081) | class TestThreadIdSessionIdMapping: method reset_session_manager (line 1085) | def reset_session_manager(self): method mock_agent (line 1098) | def mock_agent(self): method adk_agent (line 1107) | def adk_agent(self, mock_agent): method test_thread_id_becomes_session_id (line 1117) | async def test_thread_id_becomes_session_id(self, adk_agent): method test_initial_state_passed_to_session (line 1176) | async def test_initial_state_passed_to_session(self, adk_agent): method test_state_synced_via_update_session_state (line 1237) | async def test_state_synced_via_update_session_state(self, adk_agent): method test_empty_initial_state (line 1299) | async def test_empty_initial_state(self, adk_agent): FILE: integrations/adk-middleware/python/tests/test_adk_agent_memory_integration.py class TestADKAgentMemoryIntegration (line 13) | class TestADKAgentMemoryIntegration: method mock_agent (line 17) | def mock_agent(self): method reset_session_manager (line 26) | def reset_session_manager(self): method mock_memory_service (line 33) | def mock_memory_service(self): method simple_input (line 40) | def simple_input(self): method test_adk_agent_memory_service_initialization_explicit (line 52) | def test_adk_agent_memory_service_initialization_explicit(self, mock_m... method test_adk_agent_memory_service_initialization_in_memory (line 65) | def test_adk_agent_memory_service_initialization_in_memory(self, mock_... method test_adk_agent_memory_service_initialization_disabled (line 79) | def test_adk_agent_memory_service_initialization_disabled(self, mock_a... method test_adk_agent_passes_memory_service_to_session_manager (line 92) | def test_adk_agent_passes_memory_service_to_session_manager(self, mock... method test_adk_agent_memory_service_sharing_same_instance (line 111) | def test_adk_agent_memory_service_sharing_same_instance(self, mock_mem... method test_adk_agent_creates_runner_with_memory_service (line 129) | def test_adk_agent_creates_runner_with_memory_service(self, mock_runne... method test_adk_agent_memory_service_configuration_inheritance (line 173) | def test_adk_agent_memory_service_configuration_inheritance(self, mock... method test_adk_agent_in_memory_memory_service_defaults (line 193) | def test_adk_agent_in_memory_memory_service_defaults(self, mock_agent): FILE: integrations/adk-middleware/python/tests/test_adk_llm_flow_tool_override.py class TestAdkLlmFlowToolOverride (line 12) | class TestAdkLlmFlowToolOverride: method test_llm_flow_handles_tool_overrides (line 15) | async def test_llm_flow_handles_tool_overrides(self): FILE: integrations/adk-middleware/python/tests/test_app_name_extractor.py function test_static_app_name (line 9) | async def test_static_app_name(): function test_custom_extractor (line 46) | async def test_custom_extractor(): function test_default_extractor (line 106) | async def test_default_extractor(): function test_conflicting_config (line 144) | async def test_conflicting_config(): function test_combined_extractors (line 168) | async def test_combined_extractors(): function test_no_app_config (line 222) | async def test_no_app_config(): function main (line 258) | async def main(): FILE: integrations/adk-middleware/python/tests/test_chunk_event.py function test_content_event (line 8) | def test_content_event(): function test_wrong_parameters (line 36) | def test_wrong_parameters(): FILE: integrations/adk-middleware/python/tests/test_claude_streaming.py class MockClaudeADKEvent (line 25) | class MockClaudeADKEvent: method __init__ (line 28) | def __init__( method is_final_response (line 46) | def is_final_response(self) -> bool: method get_function_calls (line 49) | def get_function_calls(self): method get_function_responses (line 52) | def get_function_responses(self): function test_claude_streaming_with_final_consolidated_message (line 57) | async def test_claude_streaming_with_final_consolidated_message(): function test_claude_streaming_closed_by_final_response (line 120) | async def test_claude_streaming_closed_by_final_response(): function test_claude_non_streaming_single_response (line 176) | async def test_claude_non_streaming_single_response(): function test_claude_repeated_runs_no_duplicate (line 210) | async def test_claude_repeated_runs_no_duplicate(): function test_claude_accumulated_text_in_chunks (line 264) | async def test_claude_accumulated_text_in_chunks(): function test_claude_accumulated_text_with_early_stream_end (line 317) | async def test_claude_accumulated_text_with_early_stream_end(): function test_claude_stream_ended_before_final (line 389) | async def test_claude_stream_ended_before_final(): FILE: integrations/adk-middleware/python/tests/test_client_proxy_tool.py class TestClientProxyTool (line 17) | class TestClientProxyTool: method sample_tool_definition (line 21) | def sample_tool_definition(self): method mock_event_queue (line 48) | def mock_event_queue(self): method proxy_tool (line 54) | def proxy_tool(self, sample_tool_definition, mock_event_queue): method test_initialization (line 61) | def test_initialization(self, proxy_tool, sample_tool_definition, mock... method test_get_declaration (line 68) | def test_get_declaration(self, proxy_tool): method test_get_declaration_with_invalid_parameters (line 81) | def test_get_declaration_with_invalid_parameters(self, mock_event_queue): method test_run_async_success (line 101) | async def test_run_async_success(self, proxy_tool, mock_event_queue): method test_run_async_event_queue_error (line 140) | async def test_run_async_event_queue_error(self, proxy_tool): method test_string_representation (line 158) | def test_string_representation(self, proxy_tool): method test_multiple_concurrent_executions (line 169) | async def test_multiple_concurrent_executions(self, proxy_tool, mock_e... method test_json_serialization_in_args (line 196) | async def test_json_serialization_in_args(self, proxy_tool, mock_event... class TestClientProxyToolPredictState (line 226) | class TestClientProxyToolPredictState: method tool_with_predict_state (line 230) | def tool_with_predict_state(self): method predict_state_mappings (line 244) | def predict_state_mappings(self): method test_predict_state_emitted_before_tool_call (line 255) | async def test_predict_state_emitted_before_tool_call(self, tool_with_... method test_predict_state_only_emitted_once_with_shared_tracking (line 291) | async def test_predict_state_only_emitted_once_with_shared_tracking(se... method test_predict_state_tracking_isolates_between_instances (line 333) | async def test_predict_state_tracking_isolates_between_instances(self,... method test_no_predict_state_when_no_mapping (line 372) | async def test_no_predict_state_when_no_mapping(self): method test_default_tracking_set_when_none_provided (line 410) | async def test_default_tracking_set_when_none_provided(self, tool_with... FILE: integrations/adk-middleware/python/tests/test_client_proxy_toolset.py class TestClientProxyToolset (line 15) | class TestClientProxyToolset: method sample_tools (line 19) | def sample_tools(self): method mock_event_queue (line 53) | def mock_event_queue(self): method toolset (line 58) | def toolset(self, sample_tools, mock_event_queue): method test_initialization (line 65) | def test_initialization(self, toolset, sample_tools, mock_event_queue): method test_get_tools_first_call (line 71) | async def test_get_tools_first_call(self, toolset, sample_tools): method test_get_tools_fresh_instances (line 89) | async def test_get_tools_fresh_instances(self, toolset): method test_get_tools_with_readonly_context (line 108) | async def test_get_tools_with_readonly_context(self, toolset): method test_get_tools_empty_list (line 118) | async def test_get_tools_empty_list(self, mock_event_queue): method test_get_tools_with_invalid_tool (line 131) | async def test_get_tools_with_invalid_tool(self, mock_event_queue): method test_close_no_pending_futures (line 158) | async def test_close_no_pending_futures(self, toolset): method test_close_with_pending_futures (line 166) | async def test_close_with_pending_futures(self, toolset): method test_close_idempotent (line 174) | async def test_close_idempotent(self, toolset): method test_string_representation (line 182) | def test_string_representation(self, toolset): method test_string_representation_empty (line 191) | def test_string_representation_empty(self, mock_event_queue): method test_tool_properties_preserved (line 204) | async def test_tool_properties_preserved(self, toolset, sample_tools): method test_shared_state_between_tools (line 216) | async def test_shared_state_between_tools(self, toolset, mock_event_qu... method test_tool_timeout_configuration (line 225) | async def test_tool_timeout_configuration(self, sample_tools, mock_eve... method test_lifecycle_get_tools_then_close (line 239) | async def test_lifecycle_get_tools_then_close(self, toolset): method test_multiple_toolsets_isolation (line 253) | async def test_multiple_toolsets_isolation(self, sample_tools): method test_filtered_toolset (line 276) | async def test_filtered_toolset(self, sample_tools, mock_event_queue): method test_filtered_toolset_with_function (line 292) | async def test_filtered_toolset_with_function(self, sample_tools, mock... method test_toolset_with_name_prefix (line 308) | async def test_toolset_with_name_prefix(self, sample_tools, mock_event... method test_toolset_with_no_tools (line 326) | async def test_toolset_with_no_tools(self, mock_event_queue): class TestClientProxyToolsetPredictStateTracking (line 340) | class TestClientProxyToolsetPredictStateTracking: method tool_with_predict_state (line 344) | def tool_with_predict_state(self): method predict_state_mappings (line 358) | def predict_state_mappings(self): method test_toolset_creates_tracking_set (line 368) | def test_toolset_creates_tracking_set(self, tool_with_predict_state, p... method test_tools_share_toolset_tracking_set (line 384) | async def test_tools_share_toolset_tracking_set(self, tool_with_predic... method test_separate_toolsets_have_isolated_tracking (line 413) | async def test_separate_toolsets_have_isolated_tracking(self, tool_wit... method test_toolset_tracking_persists_across_get_tools_calls (line 439) | async def test_toolset_tracking_persists_across_get_tools_calls(self, ... method test_new_toolset_has_fresh_tracking (line 462) | async def test_new_toolset_has_fresh_tracking(self, tool_with_predict_... FILE: integrations/adk-middleware/python/tests/test_concurrency.py function simulate_concurrent_requests (line 12) | async def simulate_concurrent_requests(): function test_event_translator_isolation (line 133) | async def test_event_translator_isolation(): function main (line 162) | async def main(): FILE: integrations/adk-middleware/python/tests/test_concurrent_limits.py class TestConcurrentLimits (line 16) | class TestConcurrentLimits: method mock_adk_agent (line 21) | def mock_adk_agent(self): method adk_middleware (line 31) | def adk_middleware(self, mock_adk_agent): method sample_input (line 42) | def sample_input(self): method test_concurrent_execution_limit_enforcement (line 57) | async def test_concurrent_execution_limit_enforcement(self, adk_middle... method test_stale_execution_cleanup_frees_slots (line 145) | async def test_stale_execution_cleanup_frees_slots(self, adk_middleware): method test_mixed_stale_and_active_executions (line 176) | async def test_mixed_stale_and_active_executions(self, adk_middleware): method test_zero_concurrent_limit (line 203) | async def test_zero_concurrent_limit(self): method test_execution_completion_frees_slot (line 233) | async def test_execution_completion_frees_slot(self, adk_middleware): method test_execution_with_pending_tools_not_cleaned (line 264) | async def test_execution_with_pending_tools_not_cleaned(self, adk_midd... method test_high_concurrent_limit (line 292) | async def test_high_concurrent_limit(self): method test_cleanup_during_limit_check (line 317) | async def test_cleanup_during_limit_check(self, adk_middleware): FILE: integrations/adk-middleware/python/tests/test_context_handling.py class TestContextStateKey (line 26) | class TestContextStateKey: method test_context_state_key_value (line 29) | def test_context_state_key_value(self): method test_context_state_key_exported (line 33) | def test_context_state_key_exported(self): class TestContextInSessionState (line 39) | class TestContextInSessionState: method reset_session_manager (line 43) | def reset_session_manager(self): method mock_agent (line 56) | def mock_agent(self): method adk_agent (line 65) | def adk_agent(self, mock_agent): method test_context_included_in_session_state (line 75) | async def test_context_included_in_session_state(self, adk_agent): method test_empty_context_not_in_state (line 130) | async def test_empty_context_not_in_state(self, adk_agent): class TestContextSerializationFormat (line 173) | class TestContextSerializationFormat: method reset_session_manager (line 177) | def reset_session_manager(self): method mock_agent (line 190) | def mock_agent(self): method adk_agent (line 199) | def adk_agent(self, mock_agent): method test_context_serialization_format (line 209) | async def test_context_serialization_format(self, adk_agent): class TestCustomRunConfigFactory (line 263) | class TestCustomRunConfigFactory: method reset_session_manager (line 267) | def reset_session_manager(self): method mock_agent (line 280) | def mock_agent(self): method test_custom_run_config_factory_receives_input (line 286) | def test_custom_run_config_factory_receives_input(self, mock_agent): class TestDefaultRunConfigUnchanged (line 325) | class TestDefaultRunConfigUnchanged: method reset_session_manager (line 329) | def reset_session_manager(self): method mock_agent (line 342) | def mock_agent(self): method adk_agent (line 349) | def adk_agent(self, mock_agent): method test_default_run_config_returns_valid_config (line 358) | def test_default_run_config_returns_valid_config(self, adk_agent): class TestVersionDetection (line 379) | class TestVersionDetection: method reset_session_manager (line 383) | def reset_session_manager(self): method mock_agent (line 396) | def mock_agent(self): method adk_agent (line 403) | def adk_agent(self, mock_agent): method test_run_config_supports_custom_metadata_returns_bool (line 412) | def test_run_config_supports_custom_metadata_returns_bool(self, adk_ag... method test_custom_metadata_included_when_supported (line 417) | def test_custom_metadata_included_when_supported(self, adk_agent): method test_empty_context_no_custom_metadata (line 452) | def test_empty_context_no_custom_metadata(self, adk_agent): FILE: integrations/adk-middleware/python/tests/test_context_integration.py function collect_events (line 32) | async def collect_events(agent: ADKAgent, run_input: RunAgentInput) -> L... function get_event_types (line 40) | def get_event_types(events: List[BaseEvent]) -> List[str]: class TestContextInInstructionProvider (line 45) | class TestContextInInstructionProvider: method reset_session_manager (line 49) | def reset_session_manager(self): method test_instruction_provider_receives_context (line 56) | async def test_instruction_provider_receives_context(self): class TestContextInTools (line 120) | class TestContextInTools: method reset_session_manager (line 124) | def reset_session_manager(self): method test_tool_can_access_context_from_state (line 131) | async def test_tool_can_access_context_from_state(self): class TestContextInStateSnapshot (line 202) | class TestContextInStateSnapshot: method reset_session_manager (line 206) | def reset_session_manager(self): method test_state_snapshot_includes_context (line 213) | async def test_state_snapshot_includes_context(self): class TestContextPersistenceAcrossRuns (line 273) | class TestContextPersistenceAcrossRuns: method reset_session_manager (line 277) | def reset_session_manager(self): method test_context_updates_between_runs (line 284) | async def test_context_updates_between_runs(self): FILE: integrations/adk-middleware/python/tests/test_credential_service_defaults.py function test_credential_service_import (line 4) | def test_credential_service_import(): function test_adk_agent_defaults (line 24) | def test_adk_agent_defaults(): function test_adk_agent_explicit_none (line 60) | def test_adk_agent_explicit_none(): function test_all_service_defaults (line 90) | def test_all_service_defaults(): function main (line 143) | def main(): FILE: integrations/adk-middleware/python/tests/test_duplicate_function_response.py class TestDuplicateFunctionResponseFix (line 36) | class TestDuplicateFunctionResponseFix: method mock_adk_agent (line 40) | def mock_adk_agent(self): method ag_ui_adk (line 50) | def ag_ui_adk(self, mock_adk_agent): method _setup_session_with_tool_call (line 65) | async def _setup_session_with_tool_call( method _count_function_responses_in_session (line 113) | def _count_function_responses_in_session(self, session, tool_call_id: ... method test_no_duplicate_function_response_without_user_message (line 126) | async def test_no_duplicate_function_response_without_user_message(sel... method test_function_response_persisted_with_user_message (line 248) | async def test_function_response_persisted_with_user_message(self, ag_... method test_multiple_tool_results_without_user_message (line 365) | async def test_multiple_tool_results_without_user_message(self, ag_ui_... FILE: integrations/adk-middleware/python/tests/test_endpoint.py class TestAddADKFastAPIEndpoint (line 16) | class TestAddADKFastAPIEndpoint: method mock_agent (line 20) | def mock_agent(self): method app (line 28) | def app(self, request): method get_test_app (line 32) | def get_test_app(self, app): method sample_input (line 45) | def sample_input(self): method test_add_endpoint_default_path (line 59) | def test_add_endpoint_default_path(self, app, mock_agent): method test_add_endpoint_custom_path (line 67) | def test_add_endpoint_custom_path(self, app, mock_agent): method test_endpoint_method_is_post (line 75) | def test_endpoint_method_is_post(self, app, mock_agent): method test_endpoint_creates_event_encoder (line 84) | def test_endpoint_creates_event_encoder(self, mock_encoder_class, app,... method test_endpoint_agent_id_extraction (line 113) | def test_endpoint_agent_id_extraction(self, mock_encoder_class, app, m... method test_endpoint_root_path_agent_id (line 138) | def test_endpoint_root_path_agent_id(self, mock_encoder_class, app, mo... method test_endpoint_successful_event_streaming (line 164) | def test_endpoint_successful_event_streaming(self, mock_logger, mock_e... method test_endpoint_encoding_error_handling (line 203) | def test_endpoint_encoding_error_handling(self, mock_logger, mock_enco... method test_endpoint_encoding_error_double_failure (line 247) | def test_endpoint_encoding_error_double_failure(self, mock_logger, moc... method test_endpoint_agent_error_handling (line 284) | def test_endpoint_agent_error_handling(self, mock_logger, mock_encoder... method test_endpoint_agent_error_encoding_failure (line 317) | def test_endpoint_agent_error_encoding_failure(self, mock_logger, mock... method test_endpoint_returns_streaming_response (line 347) | def test_endpoint_returns_streaming_response(self, mock_encoder_class,... method test_endpoint_input_validation (line 374) | def test_endpoint_input_validation(self, app, mock_agent): method test_endpoint_no_accept_header (line 387) | def test_endpoint_no_accept_header(self, mock_encoder_class, app, mock... class TestCreateADKApp (line 416) | class TestCreateADKApp: method mock_agent (line 420) | def mock_agent(self): method test_create_app_basic (line 424) | def test_create_app_basic(self, mock_agent): method test_create_app_custom_path (line 435) | def test_create_app_custom_path(self, mock_agent): method test_create_app_calls_add_endpoint (line 446) | def test_create_app_calls_add_endpoint(self, mock_add_endpoint, mock_a... method test_create_app_passes_extract_headers (line 456) | def test_create_app_passes_extract_headers(self, mock_add_endpoint, mo... method test_create_app_default_path (line 467) | def test_create_app_default_path(self, mock_agent): method test_create_app_functional_test (line 475) | def test_create_app_functional_test(self, mock_encoder_class, mock_age... class TestEndpointIntegration (line 513) | class TestEndpointIntegration: method mock_agent (line 517) | def mock_agent(self): method sample_input (line 522) | def sample_input(self): method test_full_endpoint_flow (line 537) | def test_full_endpoint_flow(self, mock_encoder_class, mock_agent, samp... method test_endpoint_with_different_http_methods (line 587) | def test_endpoint_with_different_http_methods(self, mock_agent): method test_endpoint_with_long_running_stream (line 610) | def test_endpoint_with_long_running_stream(self, mock_encoder_class, m... class TestExtractHeaders (line 639) | class TestExtractHeaders: method mock_agent (line 643) | def mock_agent(self): method sample_input (line 648) | def sample_input(self): method test_extract_headers_into_nested_state (line 661) | def test_extract_headers_into_nested_state(self, mock_encoder_class, m... method test_extract_headers_strips_x_prefix (line 700) | def test_extract_headers_strips_x_prefix(self, mock_encoder_class, moc... method test_extract_headers_converts_hyphens_to_underscores (line 739) | def test_extract_headers_converts_hyphens_to_underscores(self, mock_en... method test_extract_headers_missing_headers_skipped (line 777) | def test_extract_headers_missing_headers_skipped(self, mock_encoder_cl... method test_extract_headers_client_state_preserved (line 816) | def test_extract_headers_client_state_preserved(self, mock_encoder_cla... method test_extract_headers_client_headers_take_precedence (line 868) | def test_extract_headers_client_headers_take_precedence(self, mock_enc... method test_no_extract_headers_backward_compatible (line 917) | def test_no_extract_headers_backward_compatible(self, mock_encoder_cla... method test_extract_headers_with_non_dict_state (line 953) | def test_extract_headers_with_non_dict_state(self, mock_encoder_class,... method test_extract_headers_case_insensitive (line 1002) | def test_extract_headers_case_insensitive(self, mock_encoder_class, mo... method test_create_adk_app_with_extract_headers (line 1041) | def test_create_adk_app_with_extract_headers(self, mock_encoder_class,... method test_extract_headers_non_x_prefix_header (line 1077) | def test_extract_headers_non_x_prefix_header(self, mock_encoder_class,... method test_fail_with_both_extraction_options (line 1115) | def test_fail_with_both_extraction_options(self): method test_legacy_extract_headers_parameter (line 1124) | def test_legacy_extract_headers_parameter(self, sample_input): FILE: integrations/adk-middleware/python/tests/test_endpoint_error_handling.py class TestEndpointErrorHandling (line 13) | class TestEndpointErrorHandling: method app (line 19) | def app(self, request): method get_test_app (line 23) | def get_test_app(self, app): method test_encoding_error_handling (line 35) | async def test_encoding_error_handling(self, app): method test_agent_error_handling (line 109) | async def test_agent_error_handling(self, app): method test_successful_event_handling (line 170) | async def test_successful_event_handling(self, app): method test_nested_encoding_error_handling (line 246) | async def test_nested_encoding_error_handling(self, app): method test_encoding_error_handling_alternative (line 320) | async def test_encoding_error_handling_alternative(self, app): FILE: integrations/adk-middleware/python/tests/test_event_bookending.py function test_text_event_bookending (line 11) | async def test_text_event_bookending(): function test_multiple_messages (line 87) | async def test_multiple_messages(): function main (line 144) | async def main(): FILE: integrations/adk-middleware/python/tests/test_event_translator_comprehensive.py class TestEventTranslatorComprehensive (line 22) | class TestEventTranslatorComprehensive: method translator (line 26) | def translator(self): method mock_adk_event (line 31) | def mock_adk_event(self): method mock_adk_event_with_content (line 43) | def mock_adk_event_with_content(self): method test_translate_user_event_skipped (line 63) | async def test_translate_user_event_skipped(self, translator, mock_adk... method test_translate_event_without_content (line 74) | async def test_translate_event_without_content(self, translator, mock_... method test_translate_event_with_empty_parts (line 85) | async def test_translate_event_with_empty_parts(self, translator, mock... method test_translate_function_calls_detection (line 98) | async def test_translate_function_calls_detection(self, translator, mo... method test_translate_function_responses_handling (line 116) | async def test_translate_function_responses_handling(self, translator,... method test_translate_function_response_with_call_tool_result_payload (line 133) | async def test_translate_function_response_with_call_tool_result_paylo... method test_translate_state_delta_event (line 183) | async def test_translate_state_delta_event(self, translator, mock_adk_... method test_translate_state_snapshot_event_passthrough (line 206) | async def test_translate_state_snapshot_event_passthrough(self, transl... method test_create_state_snapshot_event_passthrough (line 238) | def test_create_state_snapshot_event_passthrough(self, translator): method test_translate_custom_event (line 255) | async def test_translate_custom_event(self, translator, mock_adk_event): method test_translate_exception_handling (line 270) | async def test_translate_exception_handling(self, translator, mock_adk... method test_translate_text_content_basic (line 289) | async def test_translate_text_content_basic(self, translator, mock_adk... method test_translate_text_content_multiple_parts (line 308) | async def test_translate_text_content_multiple_parts(self, translator,... method test_translate_text_content_partial_streaming (line 327) | async def test_translate_text_content_partial_streaming(self, translat... method test_translate_text_content_final_response_callable (line 346) | async def test_translate_text_content_final_response_callable(self, tr... method test_translate_text_content_final_response_property (line 367) | async def test_translate_text_content_final_response_property(self, tr... method test_translate_text_content_final_response_no_streaming (line 383) | async def test_translate_text_content_final_response_no_streaming(self... method test_translate_text_content_final_response_from_agent_callback (line 405) | async def test_translate_text_content_final_response_from_agent_callba... method test_translate_text_content_final_response_after_stream_duplicate_suppressed (line 424) | async def test_translate_text_content_final_response_after_stream_dupl... method test_translate_text_content_final_response_closes_stream_without_consolidated_text (line 485) | async def test_translate_text_content_final_response_closes_stream_wit... method test_translate_text_content_final_response_after_stream_new_content (line 533) | async def test_translate_text_content_final_response_after_stream_new_... method test_consolidated_text_skipped_during_streaming (line 589) | async def test_consolidated_text_skipped_during_streaming(self, transl... method test_consolidated_text_with_different_content_still_skipped (line 649) | async def test_consolidated_text_with_different_content_still_skipped(... method test_translate_text_content_empty_text (line 694) | async def test_translate_text_content_empty_text(self, translator, moc... method test_translate_text_content_none_text_parts (line 710) | async def test_translate_text_content_none_text_parts(self, translator... method test_translate_text_content_mixed_text_parts (line 727) | async def test_translate_text_content_mixed_text_parts(self, translato... method test_translate_function_calls_basic (line 747) | async def test_translate_function_calls_basic(self, translator, mock_a... method test_translate_function_calls_no_id (line 773) | async def test_translate_function_calls_no_id(self, translator, mock_a... method test_translate_function_calls_no_args (line 796) | async def test_translate_function_calls_no_args(self, translator, mock... method test_translate_function_calls_string_args (line 815) | async def test_translate_function_calls_string_args(self, translator, ... method test_translate_function_calls_multiple (line 832) | async def test_translate_function_calls_multiple(self, translator, moc... method test_create_state_delta_event_basic (line 864) | def test_create_state_delta_event_basic(self, translator): method test_create_state_delta_event_empty (line 879) | def test_create_state_delta_event_empty(self, translator): method test_create_state_delta_event_nested_objects (line 886) | def test_create_state_delta_event_nested_objects(self, translator): method test_create_state_delta_event_array_values (line 903) | def test_create_state_delta_event_array_values(self, translator): method test_create_state_delta_event_mixed_types (line 920) | def test_create_state_delta_event_mixed_types(self, translator): method test_create_state_delta_event_special_characters_in_keys (line 951) | def test_create_state_delta_event_special_characters_in_keys(self, tra... method test_force_close_streaming_message_with_open_stream (line 974) | async def test_force_close_streaming_message_with_open_stream(self, tr... method test_force_close_streaming_message_no_open_stream (line 997) | async def test_force_close_streaming_message_no_open_stream(self, tran... method test_reset_translator_state (line 1008) | def test_reset_translator_state(self, translator): method test_streaming_state_management (line 1023) | async def test_streaming_state_management(self, translator, mock_adk_e... method test_complex_event_with_multiple_features (line 1047) | async def test_complex_event_with_multiple_features(self, translator, ... method test_event_logging_coverage (line 1081) | async def test_event_logging_coverage(self, translator, mock_adk_event... method test_attribute_access_patterns (line 1095) | async def test_attribute_access_patterns(self, translator, mock_adk_ev... method test_tool_call_tracking_cleanup (line 1112) | async def test_tool_call_tracking_cleanup(self, translator, mock_adk_e... method test_partial_streaming_continuation (line 1132) | async def test_partial_streaming_continuation(self, translator): method mock_adk_event_empty_text (line 1202) | def mock_adk_event_empty_text(self): method test_empty_text_event_does_not_crash (line 1221) | async def test_empty_text_event_does_not_crash(self, translator, mock_... method test_whitespace_only_text_event_does_not_crash (line 1237) | async def test_whitespace_only_text_event_does_not_crash(self, transla... method test_multiple_empty_parts_filtered (line 1267) | async def test_multiple_empty_parts_filtered(self, translator, mock_ad... method test_mixed_empty_and_valid_parts_filtering (line 1287) | async def test_mixed_empty_and_valid_parts_filtering(self, translator,... method test_empty_combined_text_early_return (line 1309) | async def test_empty_combined_text_early_return(self, translator, mock... class TestThoughtHandling (line 1340) | class TestThoughtHandling: method translator (line 1344) | def translator(self): method mock_adk_event (line 1349) | def mock_adk_event(self): method test_thought_parts_emit_thinking_events (line 1361) | async def test_thought_parts_emit_thinking_events(self, translator, mo... method test_mixed_thought_and_text_parts (line 1388) | async def test_mixed_thought_and_text_parts(self, translator, mock_adk... method test_non_thought_parts_emit_text_events (line 1426) | async def test_non_thought_parts_emit_text_events(self, translator, mo... method test_thought_false_emits_text_events (line 1448) | async def test_thought_false_emits_text_events(self, translator, mock_... method test_thinking_stream_closed_on_final_response (line 1468) | async def test_thinking_stream_closed_on_final_response(self, translat... method test_reset_clears_thinking_state (line 1513) | def test_reset_clears_thinking_state(self, translator): method test_fallback_when_thought_support_unavailable (line 1529) | async def test_fallback_when_thought_support_unavailable(self, transla... method test_thought_support_check_caching (line 1560) | async def test_thought_support_check_caching(self): method test_thought_none_treated_as_non_thought (line 1580) | async def test_thought_none_treated_as_non_thought(self, translator, m... FILE: integrations/adk-middleware/python/tests/test_execution_state.py class TestExecutionState (line 12) | class TestExecutionState: method mock_task (line 16) | def mock_task(self): method mock_queue (line 24) | def mock_queue(self): method execution_state (line 29) | def execution_state(self, mock_task, mock_queue): method test_initialization (line 37) | def test_initialization(self, execution_state, mock_task, mock_queue): method test_is_stale_fresh_execution (line 46) | def test_is_stale_fresh_execution(self, execution_state): method test_is_stale_old_execution (line 52) | def test_is_stale_old_execution(self, execution_state): method test_cancel_with_pending_task (line 61) | async def test_cancel_with_pending_task(self, mock_queue): method test_cancel_with_completed_task (line 82) | async def test_cancel_with_completed_task(self, execution_state, mock_... method test_get_execution_time (line 93) | def test_get_execution_time(self, execution_state): method test_get_status_complete (line 101) | def test_get_status_complete(self, execution_state): method test_get_status_task_done (line 107) | def test_get_status_task_done(self, execution_state, mock_task): method test_get_status_running (line 113) | def test_get_status_running(self, execution_state): method test_string_representation (line 118) | def test_string_representation(self, execution_state): method test_execution_time_progression (line 127) | def test_execution_time_progression(self, execution_state): FILE: integrations/adk-middleware/python/tests/test_from_app_integration.py function sample_app (line 22) | def sample_app(): function reset_session_manager (line 33) | def reset_session_manager(): function test_from_app_basic_conversation (line 40) | async def test_from_app_basic_conversation(sample_app): function test_from_app_preserves_app_name (line 65) | async def test_from_app_preserves_app_name(sample_app): function test_from_app_preserves_cleanup_options (line 71) | async def test_from_app_preserves_cleanup_options(sample_app): function test_from_app_stores_app_reference (line 114) | async def test_from_app_stores_app_reference(sample_app): function test_from_app_with_custom_timeout (line 121) | async def test_from_app_with_custom_timeout(): function test_from_app_type_validation (line 140) | async def test_from_app_type_validation(): function test_from_app_extracts_root_agent (line 147) | async def test_from_app_extracts_root_agent(sample_app): function test_from_app_multi_turn_conversation (line 154) | async def test_from_app_multi_turn_conversation(sample_app): function test_from_app_with_valid_mime_type (line 198) | async def test_from_app_with_valid_mime_type(sample_app): function test_from_app_with_unsupported_mime_type (line 232) | async def test_from_app_with_unsupported_mime_type(sample_app): function test_runner_supports_plugin_close_timeout (line 269) | async def test_runner_supports_plugin_close_timeout(): FILE: integrations/adk-middleware/python/tests/test_hitl_resumption_text_output.py function collect_events (line 52) | async def collect_events(agent: ADKAgent, run_input: RunAgentInput) -> L... function find_tool_call_id (line 60) | def find_tool_call_id(events: List[BaseEvent]) -> Optional[str]: function find_tool_call_name (line 68) | def find_tool_call_name(events: List[BaseEvent]) -> Optional[str]: function collect_text_content (line 76) | def collect_text_content(events: List[BaseEvent]) -> str: function get_event_types (line 87) | def get_event_types(events: List[BaseEvent]) -> List[str]: class TestHITLResumptionTextOutput (line 92) | class TestHITLResumptionTextOutput: method reset_session_manager (line 101) | def reset_session_manager(self): method check_api_key (line 108) | def check_api_key(self): method hitl_agent (line 114) | def hitl_agent(self): method test_hitl_resumption_produces_text_after_tool_result (line 143) | async def test_hitl_resumption_produces_text_after_tool_result( method test_hitl_resumption_no_duplicate_function_response (line 307) | async def test_hitl_resumption_no_duplicate_function_response( FILE: integrations/adk-middleware/python/tests/test_integration.py function test_session_creation_logic (line 10) | async def test_session_creation_logic(): function test_session_service_calls (line 85) | async def test_session_service_calls(): function main (line 125) | async def main(): FILE: integrations/adk-middleware/python/tests/test_integration_mixed_partials.py function adk_agent_instance (line 22) | def adk_agent_instance(): function test_mixed_partials_non_lro_then_lro (line 30) | async def test_mixed_partials_non_lro_then_lro(adk_agent_instance): FILE: integrations/adk-middleware/python/tests/test_issue_437_skip_summarization_integration.py function get_weather_with_skip_summarization (line 60) | def get_weather_with_skip_summarization( function get_temperature (line 73) | def get_temperature( class TestSkipSummarizationIntegration (line 84) | class TestSkipSummarizationIntegration: method reset_session_manager (line 88) | def reset_session_manager(self): method weather_agent (line 101) | def weather_agent(self): method normal_tool_agent (line 122) | def normal_tool_agent(self): method _create_input (line 140) | def _create_input(self, message: str) -> RunAgentInput: method _count_events (line 158) | def _count_events(self, events: List[BaseEvent]) -> Dict[str, int]: method test_skip_summarization_no_infinite_loop (line 163) | async def test_skip_summarization_no_infinite_loop(self, weather_agent): method test_skip_summarization_tool_result_emitted (line 208) | async def test_skip_summarization_tool_result_emitted(self, weather_ag... method test_normal_tool_vs_skip_summarization_comparison (line 237) | async def test_normal_tool_vs_skip_summarization_comparison( method test_skip_summarization_event_order (line 271) | async def test_skip_summarization_event_order(self, weather_agent): method test_skip_summarization_with_ck_prefixed_tool_ids (line 325) | async def test_skip_summarization_with_ck_prefixed_tool_ids(self, weat... class TestSkipSummarizationEdgeCases (line 380) | class TestSkipSummarizationEdgeCases: method reset_session_manager (line 384) | def reset_session_manager(self): method multi_tool_agent (line 397) | def multi_tool_agent(self): method test_timeout_protection (line 428) | async def test_timeout_protection(self): class TestSkipSummarizationReplayBug (line 486) | class TestSkipSummarizationReplayBug: method reset_session_manager (line 505) | def reset_session_manager(self): method skip_sum_agent (line 518) | def skip_sum_agent(self): method test_skip_summarization_replay_scenario (line 545) | async def test_skip_summarization_replay_scenario(self, skip_sum_agent): method test_document_skip_summarization_not_persisted (line 689) | async def test_document_skip_summarization_not_persisted(self, skip_su... FILE: integrations/adk-middleware/python/tests/test_lro_filtering.py function test_translate_skips_lro_function_calls (line 16) | async def test_translate_skips_lro_function_calls(): function test_translate_lro_function_calls_only_emits_lro (line 62) | async def test_translate_lro_function_calls_only_emits_lro(): function test_translate_skips_function_calls_from_partial_events_without_streaming_args (line 103) | async def test_translate_skips_function_calls_from_partial_events_withou... function test_translate_emits_function_calls_from_confirmed_events (line 147) | async def test_translate_emits_function_calls_from_confirmed_events(): function test_translate_handles_missing_partial_attribute (line 187) | async def test_translate_handles_missing_partial_attribute(): function test_confirmed_event_skips_lro_already_emitted_via_translate_lro (line 221) | async def test_confirmed_event_skips_lro_already_emitted_via_translate_l... function test_confirmed_event_still_emits_non_lro_after_lro_emitted (line 287) | async def test_confirmed_event_still_emits_non_lro_after_lro_emitted(): function test_confirmed_event_with_different_lro_id_not_suppressed (line 346) | async def test_confirmed_event_with_different_lro_id_not_suppressed(): function test_client_emitted_ids_suppress_confirmed_event (line 398) | async def test_client_emitted_ids_suppress_confirmed_event(): function test_client_emitted_ids_suppress_lro_translate (line 444) | async def test_client_emitted_ids_suppress_lro_translate(): function test_client_emitted_ids_suppress_partial_event (line 473) | async def test_client_emitted_ids_suppress_partial_event(): function test_client_emitted_ids_do_not_suppress_other_tools (line 506) | async def test_client_emitted_ids_do_not_suppress_other_tools(): function test_shared_set_mutation_visible_to_translator (line 536) | async def test_shared_set_mutation_visible_to_translator(): function test_client_tool_names_suppress_lro_path (line 573) | async def test_client_tool_names_suppress_lro_path(): function test_client_tool_names_suppress_confirmed_event (line 608) | async def test_client_tool_names_suppress_confirmed_event(): function test_client_tool_names_suppress_partial_event (line 639) | async def test_client_tool_names_suppress_partial_event(): function test_client_tool_names_do_not_suppress_other_tools (line 668) | async def test_client_tool_names_do_not_suppress_other_tools(): function test_client_tool_names_mixed_client_and_backend_calls (line 695) | async def test_client_tool_names_mixed_client_and_backend_calls(): function test_translator_records_emitted_tool_call_ids (line 729) | async def test_translator_records_emitted_tool_call_ids(): function test_full_resumable_hitl_flow_no_duplicates (line 758) | async def test_full_resumable_hitl_flow_no_duplicates(): function test_has_lro_function_call_sets_is_long_running_tool_even_when_translator_skips (line 828) | async def test_has_lro_function_call_sets_is_long_running_tool_even_when... function test_non_resumable_agent_tool_round_trip (line 883) | async def test_non_resumable_agent_tool_round_trip(): function test_resumable_agent_no_duplicate_emission (line 958) | async def test_resumable_agent_no_duplicate_emission(): FILE: integrations/adk-middleware/python/tests/test_lro_sse_id_remap.py class TestExtractLroIdRemap (line 53) | class TestExtractLroIdRemap: method reset_session_manager (line 57) | def reset_session_manager(self): method adk_agent (line 63) | def adk_agent(self): method translator (line 71) | def translator(self): method _make_event (line 74) | def _make_event(self, fc_name: str, fc_id: str): method test_remap_detected_when_ids_differ (line 85) | def test_remap_detected_when_ids_differ(self, adk_agent, translator): method test_no_remap_when_ids_match (line 94) | def test_no_remap_when_ids_match(self, adk_agent, translator): method test_no_remap_for_unknown_tool (line 103) | def test_no_remap_for_unknown_tool(self, adk_agent, translator): method test_no_remap_for_empty_event (line 111) | def test_no_remap_for_empty_event(self, adk_agent, translator): method test_multiple_tools_remapped (line 121) | def test_multiple_tools_remapped(self, adk_agent, translator): class TestLroIdRemapSessionState (line 139) | class TestLroIdRemapSessionState: method reset_session_manager (line 143) | def reset_session_manager(self): method adk_agent (line 149) | def adk_agent(self): method test_store_and_retrieve_remap (line 157) | async def test_store_and_retrieve_remap(self, adk_agent): method test_store_merges_existing (line 169) | async def test_store_merges_existing(self, adk_agent): method test_consume_removes_entry (line 181) | async def test_consume_removes_entry(self, adk_agent): method test_consume_returns_original_when_no_remap (line 199) | async def test_consume_returns_original_when_no_remap(self, adk_agent): class TestEventTranslatorLroTracking (line 209) | class TestEventTranslatorLroTracking: method translator (line 213) | def translator(self): method _make_lro_event (line 216) | def _make_lro_event(self, fc_name: str, fc_id: str): method test_lro_emitted_ids_by_name_populated (line 231) | async def test_lro_emitted_ids_by_name_populated(self, translator): method test_lro_emitted_ids_cleared_on_reset (line 248) | async def test_lro_emitted_ids_cleared_on_reset(self, translator): class TestDrainPathCapturesRemap (line 255) | class TestDrainPathCapturesRemap: method reset_session_manager (line 259) | def reset_session_manager(self): method adk_agent (line 265) | def adk_agent(self): method test_drain_captures_remap_from_final_event (line 273) | async def test_drain_captures_remap_from_final_event(self, adk_agent): class TestFunctionResponseRemapping (line 342) | class TestFunctionResponseRemapping: method reset_session_manager (line 346) | def reset_session_manager(self): method sample_tool (line 352) | def sample_tool(self): method test_tool_result_uses_remapped_id (line 363) | async def test_tool_result_uses_remapped_id(self, sample_tool): class TestMultiRoundLroStatePoisoning (line 516) | class TestMultiRoundLroStatePoisoning: method reset_session_manager (line 528) | def reset_session_manager(self): method sample_tool (line 534) | def sample_tool(self): method _create_lro_event (line 545) | def _create_lro_event(partial, fc_id, fc_name="client_tool", invocatio... method _create_text_event (line 567) | def _create_text_event(text="Done", invocation_id="inv"): method test_second_hitl_tool_call_not_poisoned_by_stale_state (line 585) | async def test_second_hitl_tool_call_not_poisoned_by_stale_state(self,... method test_internal_state_keys_stripped_from_input (line 754) | async def test_internal_state_keys_stripped_from_input(self, sample_to... function _has_google_auth (line 816) | def _has_google_auth(): class TestLROSSEIdRemapIntegration (line 826) | class TestLROSSEIdRemapIntegration: method reset_session_manager (line 841) | def reset_session_manager(self): method lro_tool (line 847) | def lro_tool(self): method test_hitl_round_trip_with_sse_streaming (line 864) | async def test_hitl_round_trip_with_sse_streaming(self, lro_tool): method test_hitl_without_streaming_still_works (line 990) | async def test_hitl_without_streaming_still_works(self, lro_tool): FILE: integrations/adk-middleware/python/tests/test_lro_sse_persistence.py class TestLROSSEPersistenceUnit (line 44) | class TestLROSSEPersistenceUnit: method reset_session_manager (line 48) | def reset_session_manager(self): method adk_agent (line 55) | def adk_agent(self): method test_lro_with_partial_true_drains_until_non_partial (line 68) | async def test_lro_with_partial_true_drains_until_non_partial(self, ad... method test_lro_with_partial_false_returns_immediately (line 152) | async def test_lro_with_partial_false_returns_immediately(self, adk_ag... method test_text_content_emitted_during_drain (line 223) | async def test_text_content_emitted_during_drain(self, adk_agent): function _has_google_auth (line 301) | def _has_google_auth(): class TestLROSSEPersistenceIntegration (line 314) | class TestLROSSEPersistenceIntegration: method reset_session_manager (line 328) | def reset_session_manager(self): method lro_tool (line 335) | def lro_tool(self): method test_agent_events_persisted_with_sse_streaming (line 353) | async def test_agent_events_persisted_with_sse_streaming(self, lro_tool): method test_agent_events_persisted_without_streaming_baseline (line 437) | async def test_agent_events_persisted_without_streaming_baseline(self,... FILE: integrations/adk-middleware/python/tests/test_lro_tool_response_persistence.py function collect_events (line 50) | async def collect_events(agent: ADKAgent, run_input: RunAgentInput) -> L... function get_event_types (line 58) | def get_event_types(events: List[BaseEvent]) -> List[str]: function find_tool_call_id (line 63) | def find_tool_call_id(events: List[BaseEvent]) -> Optional[str]: function count_function_responses (line 71) | def count_function_responses(session, tool_call_id: str) -> tuple[int, L... class TestLROToolResponseIntegration (line 91) | class TestLROToolResponseIntegration: method reset_session_manager (line 98) | def reset_session_manager(self): method check_api_key (line 105) | def check_api_key(self): method hitl_agent (line 111) | def hitl_agent(self): method simple_agent (line 137) | def simple_agent(self): method test_tool_result_persists_single_function_response (line 164) | async def test_tool_result_persists_single_function_response( method test_function_response_has_correct_invocation_id (line 284) | async def test_function_response_has_correct_invocation_id( method test_tool_result_with_trailing_user_message (line 377) | async def test_tool_result_with_trailing_user_message( class TestHITLResumptionIntegration (line 467) | class TestHITLResumptionIntegration: method reset_session_manager (line 471) | def reset_session_manager(self): method check_api_key (line 478) | def check_api_key(self): method hitl_agent (line 484) | def hitl_agent(self): method test_hitl_resumption_preserves_invocation_context (line 507) | async def test_hitl_resumption_preserves_invocation_context( FILE: integrations/adk-middleware/python/tests/test_message_history.py function create_mock_adk_event (line 35) | def create_mock_adk_event( function create_mock_adk_event_with_parts (line 70) | def create_mock_adk_event_with_parts( function create_mock_function_call (line 107) | def create_mock_function_call(name: str, args: dict = None, fc_id: str =... function create_mock_function_response (line 116) | def create_mock_function_response(response: Any, fr_id: str = None): class TestAdkEventsToMessages (line 128) | class TestAdkEventsToMessages: method test_empty_events_list (line 131) | def test_empty_events_list(self): method test_user_message_conversion (line 136) | def test_user_message_conversion(self): method test_assistant_message_conversion (line 152) | def test_assistant_message_conversion(self): method test_assistant_message_with_tool_calls (line 168) | def test_assistant_message_with_tool_calls(self): method test_tool_message_conversion (line 192) | def test_tool_message_conversion(self): method test_partial_events_skipped (line 214) | def test_partial_events_skipped(self): method test_events_without_content_skipped (line 232) | def test_events_without_content_skipped(self): method test_conversation_order_preserved (line 248) | def test_conversation_order_preserved(self): method test_none_author_treated_as_assistant (line 265) | def test_none_author_treated_as_assistant(self): method test_custom_agent_name_treated_as_assistant (line 279) | def test_custom_agent_name_treated_as_assistant(self): method test_model_author_treated_as_assistant (line 301) | def test_model_author_treated_as_assistant(self): method test_empty_text_with_function_calls (line 315) | def test_empty_text_with_function_calls(self): class TestThoughtPartSeparation (line 333) | class TestThoughtPartSeparation: method test_thought_parts_emitted_as_reasoning_message (line 342) | def test_thought_parts_emitted_as_reasoning_message(self, mock_thought): method test_multiple_thought_parts_concatenated (line 366) | def test_multiple_thought_parts_concatenated(self, mock_thought): method test_thought_only_event_emits_reasoning_only (line 387) | def test_thought_only_event_emits_reasoning_only(self, mock_thought): method test_user_message_thought_parts_excluded (line 404) | def test_user_message_thought_parts_excluded(self, mock_thought): method test_user_message_with_only_thought_parts_skipped (line 422) | def test_user_message_with_only_thought_parts_skipped(self, mock_thoug... method test_thought_parts_with_tool_calls (line 437) | def test_thought_parts_with_tool_calls(self, mock_thought): method test_thought_only_with_tool_calls (line 461) | def test_thought_only_with_tool_calls(self, mock_thought): method test_no_thought_support_treats_all_as_text (line 482) | def test_no_thought_support_treats_all_as_text(self, mock_thought): method test_conversation_with_reasoning_preserves_order (line 501) | def test_conversation_with_reasoning_preserves_order(self, mock_thought): method test_reasoning_message_serializes_correctly (line 541) | def test_reasoning_message_serializes_correctly(self, mock_thought): class TestTranslateFunctionCallsToToolCalls (line 561) | class TestTranslateFunctionCallsToToolCalls: method test_single_function_call (line 564) | def test_single_function_call(self): method test_multiple_function_calls (line 580) | def test_multiple_function_calls(self): method test_function_call_without_id (line 593) | def test_function_call_without_id(self): method test_empty_function_calls (line 607) | def test_empty_function_calls(self): class TestEmitMessagesSnapshot (line 617) | class TestEmitMessagesSnapshot: method mock_adk_agent (line 621) | def mock_adk_agent(self): method test_default_emit_messages_snapshot_is_false (line 627) | def test_default_emit_messages_snapshot_is_false(self, mock_adk_agent): method test_emit_messages_snapshot_can_be_enabled (line 637) | def test_emit_messages_snapshot_can_be_enabled(self, mock_adk_agent): method test_emit_messages_snapshot_stored_on_agent (line 648) | def test_emit_messages_snapshot_stored_on_agent(self, mock_adk_agent): class TestAgentsStateEndpoint (line 673) | class TestAgentsStateEndpoint: method mock_agent (line 677) | def mock_agent(self): method app (line 696) | def app(self, request): method get_test_app (line 700) | def get_test_app(self, app): method test_agents_state_endpoint_exists (line 712) | def test_agents_state_endpoint_exists(self, app, mock_agent): method test_agents_state_returns_thread_info (line 718) | def test_agents_state_returns_thread_info(self, app, mock_agent): method test_agents_state_handles_missing_session (line 761) | def test_agents_state_handles_missing_session(self, app, mock_agent): method test_agents_state_cache_miss_loads_events (line 781) | def test_agents_state_cache_miss_loads_events(self, app, mock_agent): method test_agents_state_handles_empty_events (line 844) | def test_agents_state_handles_empty_events(self, app, mock_agent): method test_agents_state_handles_error (line 876) | def test_agents_state_handles_error(self, app, mock_agent): method test_agents_state_optional_fields (line 895) | def test_agents_state_optional_fields(self, app, mock_agent): class TestMessageHistoryIntegration (line 933) | class TestMessageHistoryIntegration: method real_agent (line 937) | def real_agent(self): method app (line 952) | def app(self, request): method get_test_app (line 956) | def get_test_app(self, app): method test_agents_state_with_real_session_manager (line 969) | async def test_agents_state_with_real_session_manager(self, app, real_... method test_agents_state_returns_json_stringified_response (line 996) | async def test_agents_state_returns_json_stringified_response(self, ap... function find_free_port (line 1028) | def find_free_port(): class UvicornServer (line 1036) | class UvicornServer: method __init__ (line 1039) | def __init__(self, app: FastAPI, host: str = "127.0.0.1", port: int = ... method __enter__ (line 1046) | def __enter__(self): method __exit__ (line 1072) | def __exit__(self, exc_type, exc_val, exc_tb): method base_url (line 1079) | def base_url(self): class TestLiveServerIntegration (line 1083) | class TestLiveServerIntegration: method app (line 1093) | def app(self, request): method live_agent (line 1098) | def live_agent(self): method live_server (line 1111) | def live_server(self, app, live_agent): method test_live_server_agents_state_endpoint (line 1126) | def test_live_server_agents_state_endpoint(self, live_server, live_age... method test_live_server_agents_state_json_format (line 1152) | def test_live_server_agents_state_json_format(self, live_server): method test_live_server_agents_state_with_optional_fields (line 1174) | def test_live_server_agents_state_with_optional_fields(self, live_serv... method test_live_server_session_persistence (line 1190) | def test_live_server_session_persistence(self, live_server, live_agent): method test_live_server_multiple_threads (line 1225) | def test_live_server_multiple_threads(self, live_server, live_agent): method test_live_server_concurrent_requests (line 1257) | async def test_live_server_concurrent_requests(self, live_server): method test_live_server_invalid_request (line 1279) | def test_live_server_invalid_request(self, live_server): method test_live_server_main_endpoint_exists (line 1294) | def test_live_server_main_endpoint_exists(self, live_server): FILE: integrations/adk-middleware/python/tests/test_multi_turn_conversation.py function create_mock_adk_event (line 41) | def create_mock_adk_event(text: str, is_final: bool = False, partial: bo... function collect_events (line 57) | async def collect_events(agent: ADKAgent, run_input: RunAgentInput) -> L... function get_event_types (line 65) | def get_event_types(events: List[BaseEvent]) -> List[str]: class TestMultiTurnConversation (line 70) | class TestMultiTurnConversation: method reset_session_manager (line 74) | def reset_session_manager(self): method llm_agent (line 81) | def llm_agent(self): method adk_agent (line 90) | def adk_agent(self, llm_agent): method test_first_message_succeeds (line 100) | async def test_first_message_succeeds(self, adk_agent): method test_second_message_succeeds (line 132) | async def test_second_message_succeeds(self, adk_agent): method test_third_and_fourth_messages_succeed (line 204) | async def test_third_and_fourth_messages_succeed(self, adk_agent): class TestMultiTurnConversationMocked (line 258) | class TestMultiTurnConversationMocked: method reset_session_manager (line 262) | def reset_session_manager(self): method mock_agent (line 269) | def mock_agent(self): method adk_agent (line 277) | def adk_agent(self, mock_agent): method test_unseen_messages_filtering (line 287) | async def test_unseen_messages_filtering(self, adk_agent): method test_convert_latest_message_with_empty_unseen (line 338) | async def test_convert_latest_message_with_empty_unseen(self, adk_agent): method test_convert_latest_message_with_valid_unseen (line 374) | async def test_convert_latest_message_with_valid_unseen(self, adk_agent): method test_message_batch_none_does_not_skip_user_message (line 399) | async def test_message_batch_none_does_not_skip_user_message(self, adk... method test_processed_messages_accumulate_correctly (line 435) | async def test_processed_messages_accumulate_correctly(self, adk_agent): method test_different_threads_have_separate_processed_ids (line 461) | async def test_different_threads_have_separate_processed_ids(self, adk... class TestMultiTurnFallbackBehavior (line 487) | class TestMultiTurnFallbackBehavior: method reset_session_manager (line 491) | def reset_session_manager(self): method mock_agent (line 498) | def mock_agent(self): method adk_agent (line 506) | def adk_agent(self, mock_agent): method test_fallback_extracts_latest_user_message_when_all_processed (line 516) | async def test_fallback_extracts_latest_user_message_when_all_processed( FILE: integrations/adk-middleware/python/tests/test_non_streaming_text_with_lro_tool.py function adk_agent_instance (line 27) | def adk_agent_instance(): function test_non_streaming_text_with_lro_tool_call (line 35) | async def test_non_streaming_text_with_lro_tool_call(adk_agent_instance): function test_non_streaming_lro_tool_without_text (line 125) | async def test_non_streaming_lro_tool_without_text(adk_agent_instance): function test_non_streaming_text_only_no_lro (line 184) | async def test_non_streaming_text_only_no_lro(adk_agent_instance): FILE: integrations/adk-middleware/python/tests/test_predictive_state.py class TestPredictStateMapping (line 12) | class TestPredictStateMapping: method test_predict_state_mapping_creation (line 15) | def test_predict_state_mapping_creation(self): method test_predict_state_mapping_to_payload (line 26) | def test_predict_state_mapping_to_payload(self): class TestNormalizePredictState (line 41) | class TestNormalizePredictState: method test_normalize_none (line 44) | def test_normalize_none(self): method test_normalize_single_mapping (line 49) | def test_normalize_single_mapping(self): method test_normalize_list_of_mappings (line 60) | def test_normalize_list_of_mappings(self): class TestEventTranslatorPredictState (line 71) | class TestEventTranslatorPredictState: method translator_with_predict_state (line 75) | def translator_with_predict_state(self): method translator_without_predict_state (line 88) | def translator_without_predict_state(self): method test_predict_state_event_emitted_for_matching_tool (line 93) | async def test_predict_state_event_emitted_for_matching_tool( method test_no_predict_state_event_for_non_matching_tool (line 132) | async def test_no_predict_state_event_for_non_matching_tool( method test_no_predict_state_event_without_config (line 157) | async def test_no_predict_state_event_without_config( method test_predict_state_event_only_emitted_once (line 182) | async def test_predict_state_event_only_emitted_once( method test_predict_state_tracking_reset (line 228) | async def test_predict_state_tracking_reset(self, translator_with_pred... method test_multiple_predict_state_mappings (line 271) | def test_multiple_predict_state_mappings(self): class TestDeferredConfirmChangesEvents (line 305) | class TestDeferredConfirmChangesEvents: method translator_with_emit_confirm (line 315) | def translator_with_emit_confirm(self): method translator_without_emit_confirm (line 329) | def translator_without_emit_confirm(self): method test_has_deferred_confirm_events_initially_false (line 342) | def test_has_deferred_confirm_events_initially_false(self, translator_... method test_get_and_clear_deferred_confirm_events_initially_empty (line 346) | def test_get_and_clear_deferred_confirm_events_initially_empty(self, t... method test_confirm_changes_events_are_deferred_not_yielded (line 352) | async def test_confirm_changes_events_are_deferred_not_yielded( method test_deferred_events_contain_confirm_changes_trio (line 380) | async def test_deferred_events_contain_confirm_changes_trio( method test_get_and_clear_actually_clears_events (line 416) | async def test_get_and_clear_actually_clears_events( method test_no_confirm_changes_when_emit_confirm_tool_false (line 441) | async def test_no_confirm_changes_when_emit_confirm_tool_false( method test_confirm_changes_only_emitted_once_per_tool (line 459) | async def test_confirm_changes_only_emitted_once_per_tool( method test_reset_clears_deferred_confirm_events (line 492) | async def test_reset_clears_deferred_confirm_events( method test_reset_allows_confirm_changes_to_be_emitted_again (line 516) | async def test_reset_allows_confirm_changes_to_be_emitted_again( method test_emit_confirm_tool_default_is_true (line 548) | def test_emit_confirm_tool_default_is_true(self): method test_emit_confirm_tool_can_be_set_to_false (line 557) | def test_emit_confirm_tool_can_be_set_to_false(self): method test_multiple_tools_with_different_emit_confirm_settings (line 568) | async def test_multiple_tools_with_different_emit_confirm_settings(self): class TestPredictiveStateToolCallResultSuppression (line 614) | class TestPredictiveStateToolCallResultSuppression: method translator_with_predict_state (line 623) | def translator_with_predict_state(self): method translator_without_predict_state (line 636) | def translator_without_predict_state(self): method test_predictive_state_tool_call_ids_tracked (line 641) | async def test_predictive_state_tool_call_ids_tracked( method test_non_predictive_state_tool_call_ids_not_tracked (line 660) | async def test_non_predictive_state_tool_call_ids_not_tracked( method test_tool_call_result_suppressed_for_predictive_state_tools (line 679) | async def test_tool_call_result_suppressed_for_predictive_state_tools( method test_tool_call_result_not_suppressed_for_regular_tools (line 712) | async def test_tool_call_result_not_suppressed_for_regular_tools( method test_reset_clears_predictive_state_tool_call_ids (line 747) | async def test_reset_clears_predictive_state_tool_call_ids( method test_reset_allows_tool_call_result_after_reset (line 771) | async def test_reset_allows_tool_call_result_after_reset( method test_no_config_means_no_suppression (line 806) | async def test_no_config_means_no_suppression( FILE: integrations/adk-middleware/python/tests/test_resumability_config.py class TestIsAdkResumable (line 25) | class TestIsAdkResumable: method reset_session_manager (line 29) | def reset_session_manager(self): method simple_agent (line 36) | def simple_agent(self): method test_is_adk_resumable_returns_false_without_app (line 44) | def test_is_adk_resumable_returns_false_without_app(self, simple_agent): method test_is_adk_resumable_returns_false_without_resumability_config (line 55) | def test_is_adk_resumable_returns_false_without_resumability_config(se... method test_is_adk_resumable_returns_false_when_not_resumable (line 62) | def test_is_adk_resumable_returns_false_when_not_resumable(self, simpl... method test_is_adk_resumable_returns_true_when_resumable (line 73) | def test_is_adk_resumable_returns_true_when_resumable(self, simple_age... method test_is_adk_resumable_handles_missing_attribute (line 84) | def test_is_adk_resumable_handles_missing_attribute(self, simple_agent): class TestLROHandlingWithResumability (line 97) | class TestLROHandlingWithResumability: method reset_session_manager (line 101) | def reset_session_manager(self): method hitl_tool (line 108) | def hitl_tool(self): method agent_with_agui_toolset (line 129) | def agent_with_agui_toolset(self): method test_lro_early_return_without_resumability (line 139) | async def test_lro_early_return_without_resumability(self, agent_with_... method test_lro_no_early_return_with_resumability (line 201) | async def test_lro_no_early_return_with_resumability(self, agent_with_... class TestLROIntegration (line 220) | class TestLROIntegration: method reset_session_manager (line 232) | def reset_session_manager(self): method hitl_tool (line 239) | def hitl_tool(self): method test_hitl_tool_call_emits_events_without_resumability (line 266) | async def test_hitl_tool_call_emits_events_without_resumability(self, ... method test_hitl_tool_call_emits_events_with_resumability (line 318) | async def test_hitl_tool_call_emits_events_with_resumability(self, hit... method test_hitl_tool_result_submission_with_resumability (line 360) | async def test_hitl_tool_result_submission_with_resumability(self, hit... class TestNestedAgentsWithResumability (line 454) | class TestNestedAgentsWithResumability: method reset_session_manager (line 467) | def reset_session_manager(self): method nested_agent_hierarchy (line 474) | def nested_agent_hierarchy(self): method hitl_tools (line 498) | def hitl_tools(self): method test_nested_agents_with_resumability (line 541) | async def test_nested_agents_with_resumability(self, nested_agent_hier... FILE: integrations/adk-middleware/python/tests/test_sequential_agent_hitl_resumption.py function _make_mock_event (line 35) | def _make_mock_event( class TestSequentialAgentHitlResumption (line 85) | class TestSequentialAgentHitlResumption: method reset_session_manager (line 96) | def reset_session_manager(self): method sequential_agent (line 103) | def sequential_agent(self): method resumable_sequential_adk_agent (line 121) | def resumable_sequential_adk_agent(self, sequential_agent): method hitl_tool (line 131) | def hitl_tool(self): method test_sequential_agent_hitl_passes_invocation_id_to_run_async (line 151) | async def test_sequential_agent_hitl_passes_invocation_id_to_run_async( method test_sequential_agent_stores_invocation_id_on_lro_pause (line 235) | async def test_sequential_agent_stores_invocation_id_on_lro_pause( method test_invocation_id_not_cleared_when_lro_tool_active (line 306) | async def test_invocation_id_not_cleared_when_lro_tool_active( method test_invocation_id_cleared_after_completed_run (line 384) | async def test_invocation_id_cleared_after_completed_run( FILE: integrations/adk-middleware/python/tests/test_session_cleanup.py function test_session_cleanup (line 11) | async def test_session_cleanup(): function main (line 78) | async def main(): FILE: integrations/adk-middleware/python/tests/test_session_creation.py function test_session_creation (line 11) | async def test_session_creation(): function main (line 74) | async def main(): FILE: integrations/adk-middleware/python/tests/test_session_deletion.py class TestSessionDeletion (line 11) | class TestSessionDeletion: method save_session_to_memory_on_cleanup (line 16) | def save_session_to_memory_on_cleanup(self, request): method mock_memory_service (line 22) | def mock_memory_service(self, request): method test_session_deletion (line 31) | async def test_session_deletion(self, mock_memory_service, save_sessio... method test_session_deletion_error_handling (line 110) | async def test_session_deletion_error_handling(self, mock_memory_servi... method test_user_session_limits (line 173) | async def test_user_session_limits(self, mock_memory_service, save_ses... FILE: integrations/adk-middleware/python/tests/test_session_memory.py class TestSessionMemory (line 13) | class TestSessionMemory: method delete_session_on_cleanup (line 19) | def delete_session_on_cleanup(self, request): method reset_session_manager (line 23) | def reset_session_manager(self): method mock_session_service (line 30) | def mock_session_service(self): method mock_memory_service (line 40) | def mock_memory_service(self): method mock_session (line 47) | def mock_session(self): method test_memory_service_disabled_by_default (line 65) | async def test_memory_service_disabled_by_default(self, mock_session_s... method test_memory_service_enabled_with_service (line 90) | async def test_memory_service_enabled_with_service(self, mock_session_... method test_memory_service_error_handling (line 120) | async def test_memory_service_error_handling(self, mock_session_servic... method test_memory_service_with_missing_session (line 145) | async def test_memory_service_with_missing_session(self, mock_session_... method test_memory_service_during_cleanup (line 164) | async def test_memory_service_during_cleanup(self, mock_session_servic... method test_memory_service_during_user_limit_enforcement (line 198) | async def test_memory_service_during_user_limit_enforcement(self, mock... method test_memory_service_configuration (line 248) | async def test_memory_service_configuration(self, mock_session_service... class TestSessionStateManagement (line 271) | class TestSessionStateManagement: method reset_session_manager (line 275) | def reset_session_manager(self): method mock_session_service (line 282) | def mock_session_service(self): method mock_session (line 292) | def mock_session(self): method manager (line 314) | def manager(self, mock_session_service): method test_update_session_state_success (line 325) | async def test_update_session_state_success(self, manager, mock_sessio... method test_update_session_state_session_not_found (line 351) | async def test_update_session_state_session_not_found(self, manager, m... method test_update_session_state_empty_updates (line 366) | async def test_update_session_state_empty_updates(self, manager, mock_... method test_update_session_state_exception_handling (line 381) | async def test_update_session_state_exception_handling(self, manager, ... method test_get_session_state_success (line 397) | async def test_get_session_state_success(self, manager, mock_session_s... method test_get_session_state_session_not_found (line 416) | async def test_get_session_state_session_not_found(self, manager, mock... method test_get_session_state_exception_handling (line 429) | async def test_get_session_state_exception_handling(self, manager, moc... method test_get_state_value_success (line 444) | async def test_get_state_value_success(self, manager, mock_session_ser... method test_get_state_value_with_default (line 458) | async def test_get_state_value_with_default(self, manager, mock_sessio... method test_get_state_value_session_not_found (line 473) | async def test_get_state_value_session_not_found(self, manager, mock_s... method test_set_state_value_success (line 490) | async def test_set_state_value_success(self, manager, mock_session_ser... method test_remove_state_keys_single_key (line 511) | async def test_remove_state_keys_single_key(self, manager, mock_sessio... method test_remove_state_keys_multiple_keys (line 537) | async def test_remove_state_keys_multiple_keys(self, manager, mock_ses... method test_remove_state_keys_nonexistent_keys (line 563) | async def test_remove_state_keys_nonexistent_keys(self, manager, mock_... method test_clear_session_state_all_keys (line 586) | async def test_clear_session_state_all_keys(self, manager, mock_sessio... method test_clear_session_state_preserve_prefixes (line 611) | async def test_clear_session_state_preserve_prefixes(self, manager, mo... method test_initialize_session_state_new_keys_only (line 639) | async def test_initialize_session_state_new_keys_only(self, manager, m... method test_initialize_session_state_overwrite_existing (line 668) | async def test_initialize_session_state_overwrite_existing(self, manag... method test_bulk_update_user_state_success (line 696) | async def test_bulk_update_user_state_success(self, manager, mock_sess... method test_bulk_update_user_state_with_app_filter (line 717) | async def test_bulk_update_user_state_with_app_filter(self, manager, m... method test_bulk_update_user_state_no_sessions (line 745) | async def test_bulk_update_user_state_no_sessions(self, manager, mock_... method test_bulk_update_user_state_mixed_results (line 755) | async def test_bulk_update_user_state_mixed_results(self, manager, moc... FILE: integrations/adk-middleware/python/tests/test_skip_summarization.py class TestSkipSummarizationScenarios (line 27) | class TestSkipSummarizationScenarios: method translator (line 31) | def translator(self): method _create_function_response (line 35) | def _create_function_response(self, tool_call_id: str, response: dict): method _create_adk_event (line 39) | def _create_adk_event( method test_skip_summarization_emits_tool_result_no_text (line 95) | async def test_skip_summarization_emits_tool_result_no_text(self, tran... method test_skip_summarization_closes_active_stream_emits_tool_result (line 135) | async def test_skip_summarization_closes_active_stream_emits_tool_resu... method test_event_with_both_text_and_function_responses (line 207) | async def test_event_with_both_text_and_function_responses(self, trans... method test_multiple_function_responses_all_emitted (line 245) | async def test_multiple_function_responses_all_emitted(self, translator): method test_skip_summarization_empty_function_responses_no_events (line 276) | async def test_skip_summarization_empty_function_responses_no_events(s... method test_skip_summarization_does_not_emit_empty_text_content (line 297) | async def test_skip_summarization_does_not_emit_empty_text_content(sel... method test_empty_final_response_no_function_responses_no_events (line 320) | async def test_empty_final_response_no_function_responses_no_events(se... method test_whitespace_only_text_not_filtered (line 340) | async def test_whitespace_only_text_not_filtered(self, translator): method test_mixed_empty_and_valid_text_parts (line 362) | async def test_mixed_empty_and_valid_text_parts(self, translator): method test_function_response_parts_in_content_no_text_events (line 385) | async def test_function_response_parts_in_content_no_text_events(self,... method test_non_final_response_with_function_responses (line 432) | async def test_non_final_response_with_function_responses(self, transl... method test_lro_tool_responses_not_emitted (line 456) | async def test_lro_tool_responses_not_emitted(self, translator): method test_early_return_at_line_380_still_emits_tool_result (line 482) | async def test_early_return_at_line_380_still_emits_tool_result(self, ... FILE: integrations/adk-middleware/python/tests/test_stale_session_invocation_id.py class TestInvocationIdNotPassedForStandaloneLlmAgent (line 28) | class TestInvocationIdNotPassedForStandaloneLlmAgent: method reset_session_manager (line 32) | def reset_session_manager(self): method simple_agent (line 39) | def simple_agent(self): method resumable_adk_agent (line 47) | def resumable_adk_agent(self, simple_agent): method non_resumable_adk_agent (line 57) | def non_resumable_adk_agent(self, simple_agent): method _make_mock_event (line 62) | def _make_mock_event( method test_no_invocation_id_in_run_kwargs_for_normal_run (line 112) | async def test_no_invocation_id_in_run_kwargs_for_normal_run( method test_no_invocation_id_in_run_kwargs_for_lro_run (line 156) | async def test_no_invocation_id_in_run_kwargs_for_lro_run( method test_no_invocation_id_in_run_kwargs_with_stored_id_and_tool_results (line 212) | async def test_no_invocation_id_in_run_kwargs_with_stored_id_and_tool_... method test_stored_invocation_id_cleared_after_completed_run (line 274) | async def test_stored_invocation_id_cleared_after_completed_run( method test_no_invocation_id_operations_without_resumability (line 334) | async def test_no_invocation_id_operations_without_resumability( method test_no_mid_run_update_session_state_for_invocation_id (line 384) | async def test_no_mid_run_update_session_state_for_invocation_id( class TestInvocationIdNotPassedForLlmAgentWithTransferTargets (line 456) | class TestInvocationIdNotPassedForLlmAgentWithTransferTargets: method reset_session_manager (line 466) | def reset_session_manager(self): method llm_agent_with_transfer_targets (line 473) | def llm_agent_with_transfer_targets(self): method resumable_transfer_adk_agent (line 492) | def resumable_transfer_adk_agent(self, llm_agent_with_transfer_targets): method _make_mock_event (line 501) | def _make_mock_event( method test_no_invocation_id_for_llm_agent_with_transfer_targets (line 532) | async def test_no_invocation_id_for_llm_agent_with_transfer_targets( FILE: integrations/adk-middleware/python/tests/test_streaming.py class MockADKEvent (line 16) | class MockADKEvent: method __init__ (line 18) | def __init__(self, text_content, finish_reason=None): function test_streaming_behavior (line 36) | async def test_streaming_behavior(): function test_partial_with_finish_reason (line 103) | async def test_partial_with_finish_reason(): function test_non_streaming (line 169) | async def test_non_streaming(): function run_tests (line 202) | async def run_tests(): FILE: integrations/adk-middleware/python/tests/test_streaming_fc_args.py function _event_types (line 16) | def _event_types(events): function _make_adk_event (line 21) | def _make_adk_event( function _make_func_call (line 43) | def _make_func_call(name=None, args=None, partial_args=None, will_contin... function _make_partial_arg (line 54) | def _make_partial_arg(json_path, string_value): function _collect_events (line 62) | async def _collect_events(translator, adk_event, thread_id="thread", run... function test_streaming_fc_first_chunk_emits_start (line 76) | async def test_streaming_fc_first_chunk_emits_start(): function test_streaming_fc_disabled_by_default (line 93) | async def test_streaming_fc_disabled_by_default(): function test_streaming_fc_continuation_emits_args (line 112) | async def test_streaming_fc_continuation_emits_args(): function test_streaming_fc_multiple_continuations (line 136) | async def test_streaming_fc_multiple_continuations(): function test_streaming_fc_end_emits_end (line 174) | async def test_streaming_fc_end_emits_end(): function test_streaming_fc_full_sequence (line 209) | async def test_streaming_fc_full_sequence(): function test_streaming_fc_json_deltas_concatenate (line 237) | async def test_streaming_fc_json_deltas_concatenate(): function test_streaming_fc_suppresses_final_aggregated (line 273) | async def test_streaming_fc_suppresses_final_aggregated(): function test_streaming_fc_confirmed_id_remapped (line 298) | async def test_streaming_fc_confirmed_id_remapped(): function test_streaming_fc_uses_stable_id (line 327) | async def test_streaming_fc_uses_stable_id(): function test_streaming_fc_with_predict_state (line 361) | async def test_streaming_fc_with_predict_state(): function test_streaming_fc_resets_on_reset (line 396) | async def test_streaming_fc_resets_on_reset(): function test_adk_version_gate (line 422) | def test_adk_version_gate(): function test_streaming_fc_stray_chunk_ignored (line 433) | async def test_streaming_fc_stray_chunk_ignored(): function test_streaming_fc_special_chars_escaped (line 450) | async def test_streaming_fc_special_chars_escaped(): function test_streaming_fc_lro_skipped (line 476) | async def test_streaming_fc_lro_skipped(): function test_streaming_fc_deferred_end_for_stream_tool_call (line 490) | async def test_streaming_fc_deferred_end_for_stream_tool_call(): FILE: integrations/adk-middleware/python/tests/test_text_events.py function test_message_events (line 16) | async def test_message_events(): function test_message_events_from_before_agent_callback (line 91) | async def test_message_events_from_before_agent_callback(): function validate_message_events (line 192) | def validate_message_events(events, expected_events): function validate_message_event_pattern (line 227) | def validate_message_event_pattern(start_count, end_count, content_count... function validate_event_sequence (line 265) | def validate_event_sequence(text_message_events): function test_with_mock (line 291) | async def test_with_mock(): function test_edge_cases (line 405) | async def test_edge_cases(): function test_text_message_events (line 453) | async def test_text_message_events(): function test_text_message_events_from_before_agent_callback (line 460) | async def test_text_message_events_from_before_agent_callback(): function test_message_event_edge_cases (line 467) | async def test_message_event_edge_cases(): function main (line 474) | async def main(): FILE: integrations/adk-middleware/python/tests/test_thought_to_thinking_integration.py class TestThoughtToThinkingIntegration (line 42) | class TestThoughtToThinkingIntegration: method reset_session_manager (line 46) | def reset_session_manager(self): method thinking_agent (line 59) | def thinking_agent(self): method non_thinking_agent (line 87) | def non_thinking_agent(self): method _create_input (line 102) | def _create_input(self, message: str) -> RunAgentInput: method _count_events (line 120) | def _count_events(self, events: List[BaseEvent]) -> Dict[str, int]: method _has_thinking_events (line 124) | def _has_thinking_events(self, events: List[BaseEvent]) -> bool: method _get_thinking_content (line 135) | def _get_thinking_content(self, events: List[BaseEvent]) -> str: method test_thinking_agent_emits_thinking_events (line 144) | async def test_thinking_agent_emits_thinking_events(self, thinking_age... method test_non_thinking_agent_no_thinking_events (line 216) | async def test_non_thinking_agent_no_thinking_events(self, non_thinkin... method test_thinking_events_structure (line 248) | async def test_thinking_events_structure(self, thinking_agent): FILE: integrations/adk-middleware/python/tests/test_tool_error_handling.py class TestToolErrorHandling (line 21) | class TestToolErrorHandling: method mock_adk_agent (line 26) | def mock_adk_agent(self): method adk_middleware (line 36) | def adk_middleware(self, mock_adk_agent): method sample_tool (line 47) | def sample_tool(self): method test_adk_execution_error_during_tool_run (line 63) | async def test_adk_execution_error_during_tool_run(self, adk_middlewar... method test_tool_result_parsing_error (line 88) | async def test_tool_result_parsing_error(self, adk_middleware, sample_... method test_tool_result_for_nonexistent_call (line 137) | async def test_tool_result_for_nonexistent_call(self, adk_middleware, ... method test_toolset_creation_error (line 183) | async def test_toolset_creation_error(self, adk_middleware): method test_tool_timeout_during_execution (line 212) | async def test_tool_timeout_during_execution(self, sample_tool): method test_execution_state_error_handling (line 233) | async def test_execution_state_error_handling(self): method test_multiple_tool_errors_handling (line 255) | async def test_multiple_tool_errors_handling(self, adk_middleware, sam... method test_execution_cleanup_on_error (line 299) | async def test_execution_cleanup_on_error(self, adk_middleware, sample... method test_toolset_close_error_handling (line 322) | async def test_toolset_close_error_handling(self): method test_event_queue_error_during_tool_call_long_running (line 350) | async def test_event_queue_error_during_tool_call_long_running(self, s... method test_event_queue_error_during_tool_call_blocking (line 372) | async def test_event_queue_error_during_tool_call_blocking(self, sampl... method test_concurrent_tool_errors (line 394) | async def test_concurrent_tool_errors(self, adk_middleware, sample_tool): method test_malformed_tool_message_handling (line 424) | async def test_malformed_tool_message_handling(self, adk_middleware, s... method test_json_parsing_in_tool_result_submission (line 471) | async def test_json_parsing_in_tool_result_submission(self, adk_middle... FILE: integrations/adk-middleware/python/tests/test_tool_result_flow.py class TestToolResultFlow (line 19) | class TestToolResultFlow: method sample_tool (line 24) | def sample_tool(self): method mock_adk_agent (line 38) | def mock_adk_agent(self): method ag_ui_adk (line 48) | def ag_ui_adk(self, mock_adk_agent): method test_is_tool_result_submission_with_tool_message (line 63) | async def test_is_tool_result_submission_with_tool_message(self, ag_ui... method test_is_tool_result_submission_with_user_message (line 82) | async def test_is_tool_result_submission_with_user_message(self, ag_ui... method test_is_tool_result_submission_empty_messages (line 101) | async def test_is_tool_result_submission_empty_messages(self, ag_ui_adk): method test_is_tool_result_submission_ignores_processed_history (line 116) | async def test_is_tool_result_submission_ignores_processed_history(sel... method test_is_tool_result_submission_multiple_tool_messages (line 137) | async def test_is_tool_result_submission_multiple_tool_messages(self, ... method test_is_tool_result_submission_new_user_after_tool (line 159) | async def test_is_tool_result_submission_new_user_after_tool(self, ag_... method test_extract_tool_results_single_tool (line 181) | async def test_extract_tool_results_single_tool(self, ag_ui_adk): method test_extract_tool_results_multiple_tools (line 205) | async def test_extract_tool_results_multiple_tools(self, ag_ui_adk): method test_extract_tool_results_mixed_messages (line 228) | async def test_extract_tool_results_mixed_messages(self, ag_ui_adk): method test_handle_tool_result_submission_no_active_execution (line 254) | async def test_handle_tool_result_submission_no_active_execution(self,... method test_handle_tool_result_submission_no_active_execution_no_tools (line 278) | async def test_handle_tool_result_submission_no_active_execution_no_to... method test_handle_tool_result_submission_with_active_execution (line 303) | async def test_handle_tool_result_submission_with_active_execution(sel... method test_handle_tool_result_submission_streaming_error (line 341) | async def test_handle_tool_result_submission_streaming_error(self, ag_... method test_handle_tool_result_submission_invalid_json (line 375) | async def test_handle_tool_result_submission_invalid_json(self, ag_ui_... method test_handle_tool_result_submission_multiple_results (line 401) | async def test_handle_tool_result_submission_multiple_results(self, ag... method test_tool_result_flow_integration (line 423) | async def test_tool_result_flow_integration(self, ag_ui_adk): method test_run_processes_mixed_unseen_messages (line 467) | async def test_run_processes_mixed_unseen_messages(self, ag_ui_adk): method test_run_skips_assistant_history_before_tool_result (line 545) | async def test_run_skips_assistant_history_before_tool_result(self, ag... method test_run_preserves_order_for_user_then_tool (line 655) | async def test_run_preserves_order_for_user_then_tool(self, ag_ui_adk): method test_new_execution_routing (line 727) | async def test_new_execution_routing(self, ag_ui_adk, sample_tool): class TestConfirmChangesFiltering (line 761) | class TestConfirmChangesFiltering: method mock_adk_agent (line 765) | def mock_adk_agent(self): method ag_ui_adk (line 775) | def ag_ui_adk(self, mock_adk_agent): method test_extract_tool_results_filters_confirm_changes (line 790) | async def test_extract_tool_results_filters_confirm_changes(self, ag_u... method test_extract_tool_results_keeps_regular_tools (line 824) | async def test_extract_tool_results_keeps_regular_tools(self, ag_ui_adk): method test_extract_tool_results_mixed_tools (line 860) | async def test_extract_tool_results_mixed_tools(self, ag_ui_adk): method test_handle_tool_result_submission_only_confirm_changes (line 900) | async def test_handle_tool_result_submission_only_confirm_changes(self... method test_handle_tool_result_submission_confirm_changes_with_trailing_messages (line 953) | async def test_handle_tool_result_submission_confirm_changes_with_trai... class TestClientToolResultPersistence (line 1025) | class TestClientToolResultPersistence: method mock_adk_agent (line 1029) | def mock_adk_agent(self): method ag_ui_adk (line 1039) | def ag_ui_adk(self, mock_adk_agent): method test_client_tool_result_persisted_to_session_db (line 1055) | async def test_client_tool_result_persisted_to_session_db(self, ag_ui_... method test_backend_tool_results_not_double_persisted (line 1222) | async def test_backend_tool_results_not_double_persisted(self, ag_ui_a... class TestDatabaseSessionServiceCompatibility (line 1400) | class TestDatabaseSessionServiceCompatibility: method mock_adk_agent (line 1411) | def mock_adk_agent(self): method ag_ui_adk (line 1421) | def ag_ui_adk(self, mock_adk_agent): method _prepare_session_with_pending_tool_call (line 1436) | async def _prepare_session_with_pending_tool_call( method _assert_function_response_invocation_id (line 1490) | def _assert_function_response_invocation_id( method test_invocation_id_set_on_function_response_event (line 1513) | async def test_invocation_id_set_on_function_response_event(self, ag_u... method test_explicit_persist_with_null_new_message_for_tool_results_only (line 1613) | async def test_explicit_persist_with_null_new_message_for_tool_results... method test_session_refreshed_after_state_update (line 1729) | async def test_session_refreshed_after_state_update(self, ag_ui_adk): FILE: integrations/adk-middleware/python/tests/test_tool_tracking_hitl.py class TestHITLToolTracking (line 18) | class TestHITLToolTracking: method reset_session_manager (line 22) | def reset_session_manager(self): method mock_adk_agent (line 30) | def mock_adk_agent(self): method adk_middleware (line 40) | def adk_middleware(self, mock_adk_agent): method sample_tool (line 49) | def sample_tool(self): method test_tool_call_tracking (line 63) | async def test_tool_call_tracking(self, adk_middleware, sample_tool): method test_execution_not_cleaned_up_with_pending_tools (line 140) | async def test_execution_not_cleaned_up_with_pending_tools(self, adk_m... method test_session_not_cleaned_up_with_pending_tools (line 187) | async def test_session_not_cleaned_up_with_pending_tools(self, mock_ad... method test_session_cleaned_up_with_no_pending_tools (line 246) | async def test_session_cleaned_up_with_no_pending_tools(self, mock_adk... method test_stale_pending_tool_calls_cleared_on_session_resumption (line 298) | async def test_stale_pending_tool_calls_cleared_on_session_resumption( method test_new_session_has_no_pending_tool_calls_to_clear (line 365) | async def test_new_session_has_no_pending_tool_calls_to_clear(self, ad... FILE: integrations/adk-middleware/python/tests/test_use_thread_id_as_session_id.py class TestSessionManagerDirectLookup (line 16) | class TestSessionManagerDirectLookup: method reset_session_manager (line 20) | def reset_session_manager(self): method session_service (line 27) | def session_service(self): method manager (line 31) | def manager(self, session_service): method manager_scan (line 38) | def manager_scan(self, session_service): method test_create_session_uses_thread_id (line 47) | async def test_create_session_uses_thread_id(self, manager, session_se... method test_get_existing_session_direct_lookup (line 58) | async def test_get_existing_session_direct_lookup(self, manager, sessi... method test_does_not_call_list_sessions (line 73) | async def test_does_not_call_list_sessions(self, manager, session_serv... method test_stores_thread_id_in_state (line 90) | async def test_stores_thread_id_in_state(self, manager, session_service): method test_initial_state_preserved (line 102) | async def test_initial_state_preserved(self, manager, session_service): method test_multiple_threads_independent (line 114) | async def test_multiple_threads_independent(self, manager, session_ser... method test_session_tracking (line 131) | async def test_session_tracking(self, manager): method test_race_condition_retry (line 142) | async def test_race_condition_retry(self, manager, session_service): class TestSessionManagerScanPath (line 183) | class TestSessionManagerScanPath: method reset_session_manager (line 187) | def reset_session_manager(self): method session_service (line 193) | def session_service(self): method manager (line 197) | def manager(self, session_service): method test_default_lets_backend_generate_id (line 204) | async def test_default_lets_backend_generate_id(self, manager, session... method test_scan_finds_existing_session (line 216) | async def test_scan_finds_existing_session(self, manager, session_serv... class TestADKAgentWithThreadIdAsSessionId (line 231) | class TestADKAgentWithThreadIdAsSessionId: method reset_session_manager (line 235) | def reset_session_manager(self): method mock_agent (line 241) | def mock_agent(self): method adk_agent (line 249) | def adk_agent(self, mock_agent): method sample_input (line 259) | def sample_input(self): method test_ensure_session_uses_thread_id_as_session_id (line 273) | async def test_ensure_session_uses_thread_id_as_session_id(self, adk_a... method test_cache_populated_after_session_creation (line 285) | async def test_cache_populated_after_session_creation(self, adk_agent,... method test_second_call_uses_cache (line 298) | async def test_second_call_uses_cache(self, adk_agent): method test_full_run_with_direct_lookup (line 316) | async def test_full_run_with_direct_lookup(self, adk_agent, sample_inp... method test_parameter_defaults_to_false (line 347) | async def test_parameter_defaults_to_false(self): FILE: integrations/adk-middleware/python/tests/test_user_id_extractor.py function test_static_user_id (line 10) | def test_static_user_id(): function test_custom_extractor (line 38) | def test_custom_extractor(): function test_default_extractor (line 88) | def test_default_extractor(): function test_conflicting_config (line 117) | def test_conflicting_config(): function main (line 139) | def main(): FILE: integrations/adk-middleware/python/tests/test_utils_converters.py class TestConvertAGUIMessagesToADK (line 32) | class TestConvertAGUIMessagesToADK: method test_convert_user_message (line 35) | def test_convert_user_message(self): method test_convert_user_message_multimodal_inline_data (line 53) | def test_convert_user_message_multimodal_inline_data(self): method test_convert_user_message_multimodal_id_only_ignored (line 74) | def test_convert_user_message_multimodal_id_only_ignored(self): method test_convert_user_message_multimodal_broken_base64_ignored (line 91) | def test_convert_user_message_multimodal_broken_base64_ignored(self): method test_convert_user_message_multimodal_file_data_url_ignored (line 108) | def test_convert_user_message_multimodal_file_data_url_ignored(self): method test_convert_system_message (line 126) | def test_convert_system_message(self): method test_convert_assistant_message_with_text (line 143) | def test_convert_assistant_message_with_text(self): method test_convert_assistant_message_with_tool_calls (line 160) | def test_convert_assistant_message_with_tool_calls(self): method test_convert_assistant_message_with_dict_tool_args (line 195) | def test_convert_assistant_message_with_dict_tool_args(self): method test_convert_tool_message (line 218) | def test_convert_tool_message(self): method test_convert_tool_message_with_dict_content (line 240) | def test_convert_tool_message_with_dict_content(self): method test_convert_empty_message_list (line 255) | def test_convert_empty_message_list(self): method test_convert_message_without_content (line 260) | def test_convert_message_without_content(self): method test_convert_assistant_message_without_content_or_tools (line 271) | def test_convert_assistant_message_without_content_or_tools(self): method test_convert_multiple_messages (line 286) | def test_convert_multiple_messages(self): method test_convert_with_exception_handling (line 302) | def test_convert_with_exception_handling(self, mock_logger): class TestConvertADKEventToAGUIMessage (line 319) | class TestConvertADKEventToAGUIMessage: method test_convert_user_event (line 322) | def test_convert_user_event(self): method test_convert_user_event_multiple_text_parts (line 340) | def test_convert_user_event_multiple_text_parts(self): method test_convert_assistant_event_with_text (line 357) | def test_convert_assistant_event_with_text(self): method test_convert_assistant_event_with_function_call (line 377) | def test_convert_assistant_event_with_function_call(self): method test_convert_assistant_event_with_text_and_function_call (line 404) | def test_convert_assistant_event_with_text_and_function_call(self): method test_convert_function_call_without_args (line 430) | def test_convert_function_call_without_args(self): method test_convert_function_call_without_id (line 452) | def test_convert_function_call_without_id(self): method test_convert_event_without_content (line 474) | def test_convert_event_without_content(self): method test_convert_event_without_parts (line 485) | def test_convert_event_without_parts(self): method test_convert_user_event_without_text (line 497) | def test_convert_user_event_without_text(self): method test_convert_with_exception_handling (line 513) | def test_convert_with_exception_handling(self, mock_logger): class TestStateConversionFunctions (line 530) | class TestStateConversionFunctions: method test_convert_state_to_json_patch_basic (line 533) | def test_convert_state_to_json_patch_basic(self): method test_convert_state_to_json_patch_with_none_values (line 558) | def test_convert_state_to_json_patch_with_none_values(self): method test_convert_state_to_json_patch_empty_dict (line 581) | def test_convert_state_to_json_patch_empty_dict(self): method test_convert_json_patch_to_state_basic (line 586) | def test_convert_json_patch_to_state_basic(self): method test_convert_json_patch_to_state_with_nested_paths (line 601) | def test_convert_json_patch_to_state_with_nested_paths(self): method test_convert_json_patch_to_state_with_unsupported_ops (line 614) | def test_convert_json_patch_to_state_with_unsupported_ops(self): method test_convert_json_patch_to_state_empty_list (line 629) | def test_convert_json_patch_to_state_empty_list(self): method test_convert_json_patch_to_state_malformed_patches (line 634) | def test_convert_json_patch_to_state_malformed_patches(self): method test_roundtrip_conversion (line 650) | def test_roundtrip_conversion(self): class TestUtilityFunctions (line 665) | class TestUtilityFunctions: method test_extract_text_from_content_basic (line 668) | def test_extract_text_from_content_basic(self): method test_extract_text_from_content_with_none_text (line 682) | def test_extract_text_from_content_with_none_text(self): method test_extract_text_from_content_no_text_parts (line 698) | def test_extract_text_from_content_no_text_parts(self): method test_extract_text_from_content_no_parts (line 712) | def test_extract_text_from_content_no_parts(self): method test_extract_text_from_content_none_content (line 721) | def test_extract_text_from_content_none_content(self): method test_extract_text_from_content_no_parts_attribute (line 727) | def test_extract_text_from_content_no_parts_attribute(self): method test_create_error_message_basic (line 736) | def test_create_error_message_basic(self): method test_create_error_message_with_context (line 744) | def test_create_error_message_with_context(self): method test_create_error_message_empty_context (line 753) | def test_create_error_message_empty_context(self): method test_create_error_message_custom_exception (line 761) | def test_create_error_message_custom_exception(self): method test_create_error_message_exception_without_message (line 772) | def test_create_error_message_exception_without_message(self): FILE: integrations/adk-middleware/python/tests/test_utils_init.py class TestUtilsInit (line 7) | class TestUtilsInit: method test_imports_available (line 10) | def test_imports_available(self): method test_module_has_all_attribute (line 25) | def test_module_has_all_attribute(self): method test_direct_import_from_utils (line 39) | def test_direct_import_from_utils(self): method test_utils_module_docstring (line 50) | def test_utils_module_docstring(self): method test_re_export_functionality (line 57) | def test_re_export_functionality(self): FILE: integrations/adk-middleware/python/tests/test_vertex_session_service.py class _MockSession (line 36) | class _MockSession: method __init__ (line 39) | def __init__(self, *, app_name: str, user_id: str, id: str, state: dict): class _ListSessionsResponse (line 48) | class _ListSessionsResponse: method __init__ (line 49) | def __init__(self, sessions: list): class MockVertexAiSessionService (line 53) | class MockVertexAiSessionService: method __init__ (line 62) | def __init__(self): method _make_key (line 66) | def _make_key(self, app_name: str, user_id: str, session_id: str) -> str: method _next_id (line 69) | def _next_id(self) -> str: method create_session (line 73) | async def create_session( method get_session (line 95) | async def get_session( method list_sessions (line 106) | async def list_sessions( method delete_session (line 118) | async def delete_session( method append_event (line 124) | async def append_event(self, session: _MockSession, event: Any) -> Any: class TestVertexSessionServiceMock (line 135) | class TestVertexSessionServiceMock: method reset_session_manager (line 139) | def reset_session_manager(self): method vertex_session_service (line 145) | def vertex_session_service(self): method adk_agent (line 149) | def adk_agent(self, vertex_session_service): method test_session_created_with_backend_generated_id (line 168) | async def test_session_created_with_backend_generated_id( method test_thread_id_stored_in_state (line 184) | async def test_thread_id_stored_in_state( method test_session_recovered_via_scan_after_cache_miss (line 197) | async def test_session_recovered_via_scan_after_cache_miss( method test_multiple_threads_get_separate_sessions (line 222) | async def test_multiple_threads_get_separate_sessions( method test_same_thread_reuses_session_from_cache (line 241) | async def test_same_thread_reuses_session_from_cache( method test_initial_state_merged_with_metadata (line 260) | async def test_initial_state_merged_with_metadata( class TestVertexSessionServiceRejectsCustomId (line 274) | class TestVertexSessionServiceRejectsCustomId: method reset_session_manager (line 279) | def reset_session_manager(self): method test_create_session_raises_on_custom_id (line 285) | async def test_create_session_raises_on_custom_id(self): method test_use_thread_id_as_session_id_propagates_error (line 294) | async def test_use_thread_id_as_session_id_propagates_error(self): class TestVertexSessionServiceFullRun (line 326) | class TestVertexSessionServiceFullRun: method reset_session_manager (line 330) | def reset_session_manager(self): method test_full_run_with_vertex_session_service (line 336) | async def test_full_run_with_vertex_session_service(self): method test_multi_turn_with_vertex_session_service (line 398) | async def test_multi_turn_with_vertex_session_service(self): function _has_vertex_session_auth (line 480) | def _has_vertex_session_auth(): class TestVertexSessionServiceLive (line 490) | class TestVertexSessionServiceLive: method reset_session_manager (line 510) | def reset_session_manager(self): method _clean_env_for_vertex (line 516) | def _clean_env_for_vertex(self, monkeypatch): method vertex_service (line 532) | def vertex_service(self): method app_name (line 546) | def app_name(self): method test_create_and_get_session (line 551) | async def test_create_and_get_session(self, vertex_service, app_name): method test_list_sessions_finds_created_session (line 582) | async def test_list_sessions_finds_created_session( method test_custom_session_id_raises_value_error (line 608) | async def test_custom_session_id_raises_value_error(self, vertex_servi... method test_adk_agent_default_path_works (line 618) | async def test_adk_agent_default_path_works(self, vertex_service, app_... FILE: integrations/adk-middleware/typescript/src/index.ts class ADKAgent (line 3) | class ADKAgent extends HttpAgent {} FILE: integrations/ag2/python/examples/server/__init__.py function main (line 56) | def main(): FILE: integrations/ag2/python/examples/server/api/agentic_generative_ui.py class Step (line 17) | class Step(BaseModel): class Plan (line 27) | class Plan(BaseModel): function create_plan (line 34) | async def create_plan( function update_plan_step (line 57) | async def update_plan_step( FILE: integrations/ag2/python/examples/server/api/backend_tool_rendering.py function get_weather_condition (line 16) | def get_weather_condition(code: int) -> str: function get_weather (line 45) | async def get_weather(location: str) -> str: FILE: integrations/ag2/python/examples/server/api/shared_state.py class SkillLevel (line 18) | class SkillLevel(StrEnum): class SpecialPreferences (line 26) | class SpecialPreferences(StrEnum): class CookingTime (line 38) | class CookingTime(StrEnum): class Ingredient (line 48) | class Ingredient(BaseModel): class Recipe (line 59) | class Recipe(BaseModel): class RecipeSnapshot (line 84) | class RecipeSnapshot(BaseModel): function get_current_recipe (line 94) | async def get_current_recipe(context_variables: ContextVariables) -> str: function display_recipe (line 108) | async def display_recipe( FILE: integrations/ag2/typescript/src/index.ts class Ag2Agent (line 9) | class Ag2Agent extends HttpAgent { method maxVersion (line 10) | public override get maxVersion(): string { FILE: integrations/agent-spec/python/ag_ui_agentspec/agent.py function _inject_missing_contextvars (line 21) | def _inject_missing_contextvars(base_context: contextvars.Context): function _apply_base_contextvars (line 42) | def _apply_base_contextvars( class AgentSpecAgent (line 53) | class AgentSpecAgent: method __init__ (line 54) | def __init__( method run (line 91) | async def run(self, input_data: RunAgentInput) -> None: FILE: integrations/agent-spec/python/ag_ui_agentspec/agentspec_tracing_exporter.py function _safe_model_dump (line 62) | def _safe_model_dump(obj: Any) -> Any: class AgUiSpanProcessor (line 72) | class AgUiSpanProcessor(SpanProcessor): method __init__ (line 82) | def __init__(self, runtime: str) -> None: method _emit (line 95) | def _emit(self, event_obj) -> None: method _aemit (line 107) | async def _aemit(self, event_obj) -> None: method _run_started_event (line 120) | def _run_started_event(self): method _run_finished_event (line 124) | def _run_finished_event(self): method startup (line 127) | def startup(self) -> None: method shutdown (line 130) | def shutdown(self) -> None: method startup_async (line 133) | async def startup_async(self) -> None: method shutdown_async (line 136) | async def shutdown_async(self) -> None: method on_start (line 139) | def on_start(self, span: Span) -> None: method on_end (line 143) | def on_end(self, span: Span) -> None: method on_start_async (line 147) | async def on_start_async(self, span: Span) -> None: method on_end_async (line 151) | async def on_end_async(self, span: Span) -> None: method on_event (line 156) | def on_event(self, event: Event, span: Span, *args: Any, **kwargs: Any... method on_event_async (line 160) | async def on_event_async(self, event: Event, span: Span) -> None: method _gather_start_events (line 165) | def _gather_start_events(self, span: Span) -> List[Any]: method _gather_end_events (line 173) | def _gather_end_events(self, span: Span) -> List[Any]: method _gather_events_for_event (line 181) | def _gather_events_for_event(self, event: Event, span: Span) -> List[A... function repair_a2ui_json (line 297) | def repair_a2ui_json(a2ui_json: Any) -> str: function _escape_html (line 312) | def _escape_html(text: str) -> str: function _normalize_tool_output (line 318) | def _normalize_tool_output(outputs: Any) -> str: function jsonable (line 353) | def jsonable(string): FILE: integrations/agent-spec/python/ag_ui_agentspec/agentspecloader.py function load_agent_spec (line 8) | def load_agent_spec( function load_agent_spec (line 15) | def load_agent_spec( function load_agent_spec (line 22) | def load_agent_spec( FILE: integrations/agent-spec/python/ag_ui_agentspec/endpoint.py function add_agentspec_fastapi_endpoint (line 17) | def add_agentspec_fastapi_endpoint(app: FastAPI, agentspec_agent: AgentS... FILE: integrations/agent-spec/python/ag_ui_agentspec/runtimes/langgraph_runner.py function run_langgraph_agent (line 13) | async def run_langgraph_agent(agent: CompiledStateGraph, input_data: Run... function prepare_langgraph_agent_inputs (line 33) | def prepare_langgraph_agent_inputs(input_data: RunAgentInput) -> List[Di... function filter_only_new_messages (line 50) | async def filter_only_new_messages( FILE: integrations/agent-spec/python/ag_ui_agentspec/runtimes/wayflow_runner.py function prepare_wayflow_agent_input (line 15) | def prepare_wayflow_agent_input(input_data: RunAgentInput) -> Dict[str, ... function prepare_wayflow_flow_input (line 50) | def prepare_wayflow_flow_input(input_data: RunAgentInput) -> Dict[str, A... function run_wayflow (line 55) | async def run_wayflow(agent: Any, input_data: RunAgentInput) -> None: FILE: integrations/agent-spec/python/examples/server/__init__.py function main (line 16) | def main(): FILE: integrations/agent-spec/python/examples/server/api/backend_tool_rendering.py function get_weather (line 17) | def get_weather(location: str) -> Dict[str, Any]: FILE: integrations/agent-spec/python/examples/server/api/routes.py function _is_available (line 22) | def _is_available(module_name: str) -> bool: function _mount (line 26) | def _mount(router: APIRouter): FILE: integrations/agno/python/examples/server/__init__.py function main (line 39) | def main(): FILE: integrations/agno/python/examples/server/api/agentic_chat.py function change_background (line 15) | def change_background(background: str) -> str: # pylint: disable=unused... FILE: integrations/agno/python/examples/server/api/backend_tool_rendering.py function get_weather_condition (line 17) | def get_weather_condition(code: int) -> str: function get_weather (line 60) | async def get_weather(location: str) -> str: FILE: integrations/agno/python/examples/server/api/human_in_the_loop.py class Step (line 17) | class Step(BaseModel): function generate_task_steps (line 28) | def generate_task_steps( FILE: integrations/agno/python/examples/server/api/tool_based_generative_ui.py function generate_haiku (line 16) | def generate_haiku(english: List[str], japanese: List[str], image_names:... FILE: integrations/agno/typescript/src/index.ts class AgnoAgent (line 8) | class AgnoAgent extends HttpAgent { method maxVersion (line 9) | public override get maxVersion(): string { FILE: integrations/aws-strands/python/examples/server/__init__.py function root (line 55) | def root(): function main (line 66) | def main(): FILE: integrations/aws-strands/python/examples/server/api/agentic_generative_ui.py class TaskStep (line 58) | class TaskStep(BaseModel): function plan_task_steps (line 66) | def plan_task_steps( function _normalize_steps (line 93) | def _normalize_steps(raw_steps: Any) -> List[Dict[str, str]]: function _fallback_steps (line 112) | def _fallback_steps(task: str, context: str) -> List[Dict[str, str]]: function steps_state_from_result (line 143) | async def steps_state_from_result(context): function simulate_progress (line 151) | async def simulate_progress(context): function build_state_context (line 231) | def build_state_context(input_data, user_message: str) -> str: FILE: integrations/aws-strands/python/examples/server/api/backend_tool_rendering.py function render_chart (line 40) | def render_chart(chart_type: str, data: str) -> dict: function get_weather (line 58) | def get_weather(location: str) -> dict: FILE: integrations/aws-strands/python/examples/server/api/human_in_the_loop.py class Step (line 39) | class Step(BaseModel): function generate_task_steps (line 55) | def generate_task_steps( FILE: integrations/aws-strands/python/examples/server/api/shared_state.py class SkillLevel (line 13) | class SkillLevel(str, Enum): class SpecialPreferences (line 20) | class SpecialPreferences(str, Enum): class CookingTime (line 31) | class CookingTime(str, Enum): class Ingredient (line 40) | class Ingredient(BaseModel): class Recipe (line 47) | class Recipe(BaseModel): function generate_recipe (line 66) | def generate_recipe(recipe: Recipe): function build_recipe_prompt (line 92) | def build_recipe_prompt(input_data, user_message: str) -> str: function recipe_state_from_args (line 105) | async def recipe_state_from_args(context): function recipe_state_from_result (line 117) | async def recipe_state_from_result(context): FILE: integrations/aws-strands/python/src/ag_ui_strands/agent.py class StrandsAgent (line 45) | class StrandsAgent: method __init__ (line 48) | def __init__( method run (line 78) | async def run(self, input_data: RunAgentInput) -> AsyncIterator[Any]: FILE: integrations/aws-strands/python/src/ag_ui_strands/client_proxy_tool.py function create_proxy_tool (line 19) | def create_proxy_tool(ag_ui_tool: AgUiTool) -> PythonAgentTool: function _is_proxy (line 71) | def _is_proxy(tool: Any) -> bool: function sync_proxy_tools (line 76) | def sync_proxy_tools( FILE: integrations/aws-strands/python/src/ag_ui_strands/config.py class ToolCallContext (line 25) | class ToolCallContext: class ToolResultContext (line 36) | class ToolResultContext(ToolCallContext): class PredictStateMapping (line 51) | class PredictStateMapping: method to_payload (line 58) | def to_payload(self) -> Dict[str, str]: class ToolBehavior (line 67) | class ToolBehavior: class StrandsAgentConfig (line 81) | class StrandsAgentConfig: function maybe_await (line 88) | async def maybe_await(value: Any) -> Any: function normalize_predict_state (line 96) | def normalize_predict_state(value: Optional[Iterable[PredictStateMapping... FILE: integrations/aws-strands/python/src/ag_ui_strands/endpoint.py function add_strands_fastapi_endpoint (line 9) | def add_strands_fastapi_endpoint( function add_ping (line 42) | def add_ping(app: FastAPI, path: str) -> None: FILE: integrations/aws-strands/python/src/ag_ui_strands/types.py class StrandsEventTypes (line 7) | class StrandsEventTypes(str, Enum): class StrandsMessage (line 16) | class StrandsMessage(BaseModel): class StrandsToolCall (line 22) | class StrandsToolCall(BaseModel): class StrandsState (line 29) | class StrandsState(BaseModel): FILE: integrations/aws-strands/python/src/ag_ui_strands/utils.py function create_strands_app (line 7) | def create_strands_app( FILE: integrations/aws-strands/python/tests/test_client_proxy_tool.py function _make_ag_ui_tool (line 24) | def _make_ag_ui_tool(name: str, description: str = "desc", parameters: d... function _make_native_tool (line 29) | def _make_native_tool(name: str) -> PythonAgentTool: class TestCreateProxyTool (line 44) | class TestCreateProxyTool: method test_returns_python_agent_tool (line 45) | def test_returns_python_agent_tool(self): method test_marked_dynamic (line 57) | def test_marked_dynamic(self): method test_marked_as_proxy (line 61) | def test_marked_as_proxy(self): method test_supports_hot_reload (line 66) | def test_supports_hot_reload(self): class TestProxyToolResult (line 71) | class TestProxyToolResult: method test_returns_success_with_placeholder (line 72) | def test_returns_success_with_placeholder(self): class TestSyncProxyTools (line 86) | class TestSyncProxyTools: method _fresh_registry (line 87) | def _fresh_registry(self) -> ToolRegistry: method test_adds_new_tools (line 90) | def test_adds_new_tools(self): method test_removes_stale_tools (line 102) | def test_removes_stale_tools(self): method test_preserves_native_tools (line 117) | def test_preserves_native_tools(self): method test_removes_all_when_empty_list (line 130) | def test_removes_all_when_empty_list(self): method test_idempotent_re_registration (line 140) | def test_idempotent_re_registration(self): FILE: integrations/aws-strands/typescript/src/index.ts class AWSStrandsAgent (line 8) | class AWSStrandsAgent extends HttpAgent {} FILE: integrations/claude-agent-sdk/python/ag_ui_claude_sdk/adapter.py class ClaudeAgentAdapter (line 74) | class ClaudeAgentAdapter: method __init__ (line 82) | def __init__( method interrupt (line 102) | async def interrupt(self, thread_id: Optional[str] = None) -> None: method shutdown (line 110) | async def shutdown(self) -> None: method _evict_workers (line 117) | def _evict_workers(self) -> None: method clear_session (line 144) | async def clear_session(self, thread_id: str) -> None: method run (line 151) | async def run(self, input_data: RunAgentInput) -> AsyncIterator[BaseEv... method build_options (line 265) | def build_options(self, input_data: Optional[RunAgentInput] = None, th... method _stream_claude_sdk (line 395) | async def _stream_claude_sdk( FILE: integrations/claude-agent-sdk/python/ag_ui_claude_sdk/endpoint.py function add_claude_fastapi_endpoint (line 10) | def add_claude_fastapi_endpoint(app: FastAPI, adapter: ClaudeAgentAdapte... FILE: integrations/claude-agent-sdk/python/ag_ui_claude_sdk/handlers.py function handle_tool_use_block (line 28) | async def handle_tool_use_block( function handle_tool_result_block (line 139) | async def handle_tool_result_block( FILE: integrations/claude-agent-sdk/python/ag_ui_claude_sdk/session.py class WorkerError (line 18) | class WorkerError: method __init__ (line 20) | def __init__(self, exception: Exception): class SessionWorker (line 24) | class SessionWorker: method __init__ (line 32) | def __init__(self, thread_id: str, options: Any): method start (line 40) | async def start(self) -> None: method _run (line 48) | async def _run(self) -> None: method _graceful_disconnect (line 93) | async def _graceful_disconnect(client: Any) -> None: method query (line 99) | async def query(self, prompt: str, session_id: str = "default") -> Asy... method interrupt (line 111) | async def interrupt(self) -> None: method stop (line 119) | async def stop(self) -> None: FILE: integrations/claude-agent-sdk/python/ag_ui_claude_sdk/utils.py function fix_surrogates (line 17) | def fix_surrogates(s: str) -> str: function fix_surrogates_deep (line 36) | def fix_surrogates_deep(obj: Any) -> Any: function extract_tool_names (line 47) | def extract_tool_names(tools: List[Any]) -> List[str]: function strip_mcp_prefix (line 67) | def strip_mcp_prefix(tool_name: str) -> str: function process_messages (line 92) | def process_messages(input_data: RunAgentInput) -> Tuple[str, bool]: function build_state_context_addendum (line 167) | def build_state_context_addendum(input_data: RunAgentInput) -> str: function convert_agui_tool_to_claude_sdk (line 210) | def convert_agui_tool_to_claude_sdk(tool_def: Any) -> Any: function create_state_management_tool (line 264) | def create_state_management_tool() -> Any: function apply_forwarded_props (line 294) | def apply_forwarded_props( function _is_state_management_tool (line 336) | def _is_state_management_tool(name: str) -> bool: function build_agui_assistant_message (line 341) | def build_agui_assistant_message( function build_agui_tool_message (line 404) | def build_agui_tool_message( FILE: integrations/claude-agent-sdk/python/examples/agents/agentic_chat.py function create_agentic_chat_adapter (line 12) | def create_agentic_chat_adapter() -> ClaudeAgentAdapter: FILE: integrations/claude-agent-sdk/python/examples/agents/backend_tool_rendering.py function get_weather (line 16) | async def get_weather(args: dict[str, Any]) -> dict[str, Any]: function create_backend_tool_adapter (line 36) | def create_backend_tool_adapter() -> ClaudeAgentAdapter: FILE: integrations/claude-agent-sdk/python/examples/agents/human_in_the_loop.py function create_human_in_the_loop_adapter (line 23) | def create_human_in_the_loop_adapter() -> ClaudeAgentAdapter: FILE: integrations/claude-agent-sdk/python/examples/agents/shared_state.py function create_shared_state_adapter (line 14) | def create_shared_state_adapter() -> ClaudeAgentAdapter: FILE: integrations/claude-agent-sdk/python/examples/agents/tool_based_generative_ui.py function create_tool_based_generative_ui_adapter (line 15) | def create_tool_based_generative_ui_adapter() -> ClaudeAgentAdapter: FILE: integrations/claude-agent-sdk/python/examples/server.py function health (line 44) | async def health(): function main (line 48) | def main(): FILE: integrations/claude-agent-sdk/typescript/examples/agentic_chat.ts function createAgenticChatAdapter (line 17) | function createAgenticChatAdapter(): ClaudeAgentAdapter { FILE: integrations/claude-agent-sdk/typescript/examples/backend_tool_rendering.ts function createBackendToolAdapter (line 53) | function createBackendToolAdapter(): ClaudeAgentAdapter { FILE: integrations/claude-agent-sdk/typescript/examples/constants.ts constant DEFAULT_DISALLOWED_TOOLS (line 9) | const DEFAULT_DISALLOWED_TOOLS = [ FILE: integrations/claude-agent-sdk/typescript/examples/human_in_the_loop.ts function createHumanInTheLoopAdapter (line 75) | function createHumanInTheLoopAdapter(): ClaudeAgentAdapter { FILE: integrations/claude-agent-sdk/typescript/examples/server.ts function handleRequest (line 30) | async function handleRequest( function main (line 106) | function main() { FILE: integrations/claude-agent-sdk/typescript/examples/shared_state.ts function createSharedStateAdapter (line 55) | function createSharedStateAdapter(): ClaudeAgentAdapter { FILE: integrations/claude-agent-sdk/typescript/examples/tool_based_generative_ui.ts function createToolBasedGenerativeUiAdapter (line 64) | function createToolBasedGenerativeUiAdapter(): ClaudeAgentAdapter { FILE: integrations/claude-agent-sdk/typescript/src/adapter.ts class ClaudeAgentAdapter (line 51) | class ClaudeAgentAdapter extends AbstractAgent { method constructor (line 59) | constructor(config: ClaudeAgentAdapterConfig = {}) { method evictSessions (line 64) | private evictSessions(): void { method clearSession (line 89) | public clearSession(threadId: string): void { method clone (line 93) | public clone(): ClaudeAgentAdapter { method interrupt (line 99) | public async interrupt(): Promise { method run (line 105) | run(input: RunAgentInput): Observable { method translateStream (line 156) | private async translateStream( method buildOptions (line 229) | public buildOptions(input: RunAgentInput): Options { method streamMessages (line 353) | private async streamMessages( FILE: integrations/claude-agent-sdk/typescript/src/config.ts constant ALLOWED_FORWARDED_PROPS (line 13) | const ALLOWED_FORWARDED_PROPS = new Set([ constant STATE_MANAGEMENT_TOOL_NAME (line 39) | const STATE_MANAGEMENT_TOOL_NAME = "ag_ui_update_state"; constant STATE_MANAGEMENT_TOOL_FULL_NAME (line 42) | const STATE_MANAGEMENT_TOOL_FULL_NAME = constant AG_UI_MCP_SERVER_NAME (line 46) | const AG_UI_MCP_SERVER_NAME = "ag_ui"; FILE: integrations/claude-agent-sdk/typescript/src/handlers.ts type HandleToolUseResult (line 16) | type HandleToolUseResult = { function handleToolUseBlock (line 27) | function handleToolUseBlock( FILE: integrations/claude-agent-sdk/typescript/src/types.ts type ClaudeAgentAdapterConfig (line 55) | type ClaudeAgentAdapterConfig = AgentConfig & Options & { type ProcessedEvent (line 67) | type ProcessedEvent = FILE: integrations/claude-agent-sdk/typescript/src/utils.ts function hasState (line 25) | function hasState(state: unknown): boolean { function extractToolNames (line 36) | function extractToolNames(tools: Tool[]): string[] { function stripMcpPrefix (line 51) | function stripMcpPrefix(toolName: string): string { type ProcessMessagesResult (line 65) | type ProcessMessagesResult = { function processMessages (line 76) | function processMessages(input: RunAgentInput): ProcessMessagesResult { function buildStateContextAddendum (line 134) | function buildStateContextAddendum(input: RunAgentInput): string { function jsonSchemaTypeToZod (line 172) | function jsonSchemaTypeToZod( function jsonSchemaToZodShape (line 215) | function jsonSchemaToZodShape( function convertAguiToolToClaudeSdk (line 247) | function convertAguiToolToClaudeSdk( function createStateManagementTool (line 271) | function createStateManagementTool(): any { function applyForwardedProps (line 291) | function applyForwardedProps( function isStateManagementTool (line 329) | function isStateManagementTool(name: string): boolean { function buildAguiAssistantMessage (line 345) | function buildAguiAssistantMessage( function buildAguiToolMessage (line 405) | function buildAguiToolMessage( FILE: integrations/community/genkit/go/examples/cmd/server/main.go function main (line 24) | func main() { function getModeString (line 123) | func getModeString(mockMode bool) string { FILE: integrations/community/genkit/go/examples/internal/agents/agentic_chat/agent.go type AgenticChatAgent (line 18) | type AgenticChatAgent struct method Name (line 34) | func (a *AgenticChatAgent) Name() string { method Description (line 39) | func (a *AgenticChatAgent) Description() string { method Run (line 44) | func (a *AgenticChatAgent) Run(ctx context.Context, input agents.RunAg... method runWithGenkit (line 64) | func (a *AgenticChatAgent) runWithGenkit(ctx context.Context, input ag... function NewAgenticChatAgent (line 25) | func NewAgenticChatAgent(mockMode bool, registry *genkit.Genkit, modelNa... FILE: integrations/community/genkit/go/examples/internal/agents/registry.go type Message (line 11) | type Message struct type RunAgentInput (line 17) | type RunAgentInput struct type Agent (line 25) | type Agent interface type Registry (line 37) | type Registry struct method Register (line 50) | func (r *Registry) Register(agent Agent) { method Get (line 57) | func (r *Registry) Get(name string) (Agent, bool) { method List (line 65) | func (r *Registry) List() []Agent { method Names (line 76) | func (r *Registry) Names() []string { function NewRegistry (line 43) | func NewRegistry() *Registry { FILE: integrations/community/genkit/go/examples/internal/config/config.go type Config (line 10) | type Config struct method Validate (line 67) | func (c *Config) Validate() error { function DefaultConfig (line 19) | func DefaultConfig() *Config { function Load (line 29) | func Load() *Config { FILE: integrations/community/genkit/go/examples/internal/handlers/agent.go type AgentHandler (line 20) | type AgentHandler struct method HandleAgentRun (line 34) | func (h *AgentHandler) HandleAgentRun(c fiber.Ctx) error { method HandleListAgents (line 124) | func (h *AgentHandler) HandleListAgents(c fiber.Ctx) error { function NewAgentHandler (line 26) | func NewAgentHandler(registry *agents.Registry) *AgentHandler { FILE: integrations/community/genkit/go/examples/mock/mock.go type MockResponse (line 14) | type MockResponse struct function DefaultMockResponse (line 20) | func DefaultMockResponse() MockResponse { function Generate (line 29) | func Generate(ctx context.Context, response MockResponse, eventsCh chan<... function GenerateFromPrompt (line 67) | func GenerateFromPrompt(ctx context.Context, userMessage string, eventsC... FILE: integrations/community/genkit/go/genkit/genkit.go type ChatStatus (line 14) | type ChatStatus constant Initial (line 17) | Initial ChatStatus = iota constant ChatStarted (line 18) | ChatStarted constant ToolStarted (line 19) | ToolStarted type StreamingFuncType (line 22) | type StreamingFuncType function StreamingFunc (line 24) | func StreamingFunc(threadID string, runID string, eventsCh chan<- events... FILE: integrations/community/genkit/go/genkit/genkit_test.go function TestStreamingFunc_TextMessage_Initial (line 12) | func TestStreamingFunc_TextMessage_Initial(t *testing.T) { function TestStreamingFunc_TextMessage_ChatStarted (line 59) | func TestStreamingFunc_TextMessage_ChatStarted(t *testing.T) { function TestStreamingFunc_ToolRequest (line 109) | func TestStreamingFunc_ToolRequest(t *testing.T) { function TestStreamingFunc_ToolResponse (line 174) | func TestStreamingFunc_ToolResponse(t *testing.T) { function TestStreamingFunc_ToolStartedToInitialTransition (line 222) | func TestStreamingFunc_ToolStartedToInitialTransition(t *testing.T) { function TestStreamingFunc_ErrorMultipleChunks (line 284) | func TestStreamingFunc_ErrorMultipleChunks(t *testing.T) { function TestStreamingFunc_ErrorNilContent (line 305) | func TestStreamingFunc_ErrorNilContent(t *testing.T) { function TestStreamingFunc_MessageIDPersistence (line 325) | func TestStreamingFunc_MessageIDPersistence(t *testing.T) { function TestStreamingFunc_ToolRequestGetsNewMessageID (line 365) | func TestStreamingFunc_ToolRequestGetsNewMessageID(t *testing.T) { function TestStreamingFunc_EmptyContentSlice (line 430) | func TestStreamingFunc_EmptyContentSlice(t *testing.T) { function TestChatStatus_Constants (line 451) | func TestChatStatus_Constants(t *testing.T) { function TestStreamingFunc_DifferentRoles (line 463) | func TestStreamingFunc_DifferentRoles(t *testing.T) { function TestStreamingFunc_ToolResponseWithComplexOutput (line 504) | func TestStreamingFunc_ToolResponseWithComplexOutput(t *testing.T) { FILE: integrations/community/spring-ai/typescript/src/index.ts class SpringAiAgent (line 7) | class SpringAiAgent extends HttpAgent { method maxVersion (line 8) | public override get maxVersion(): string { FILE: integrations/crew-ai/python/ag_ui_crewai/crews.py class ChatWithCrewFlow (line 37) | class ChatWithCrewFlow(Flow): method __init__ (line 40) | def __init__( method chat (line 71) | async def chat(self): FILE: integrations/crew-ai/python/ag_ui_crewai/dojo.py function main (line 51) | def main(): FILE: integrations/crew-ai/python/ag_ui_crewai/endpoint.py function create_queue (line 54) | async def create_queue(flow: object) -> asyncio.Queue: function get_queue (line 63) | def get_queue(flow: object) -> Optional[asyncio.Queue]: function delete_queue (line 69) | async def delete_queue(flow: object) -> None: class FastAPICrewFlowEventListener (line 78) | class FastAPICrewFlowEventListener(BaseEventListener): method setup_listeners (line 81) | def setup_listeners(self, crewai_event_bus): function add_crewai_flow_fastapi_endpoint (line 187) | def add_crewai_flow_fastapi_endpoint(app: FastAPI, flow: Flow, path: str... function add_crewai_crew_fastapi_endpoint (line 248) | def add_crewai_crew_fastapi_endpoint(app: FastAPI, crew: Crew, path: str... function crewai_prepare_inputs (line 253) | def crewai_prepare_inputs( # pylint: disable=unused-argument, too-many-... FILE: integrations/crew-ai/python/ag_ui_crewai/events.py class BridgedToolCallChunkEvent (line 13) | class BridgedToolCallChunkEvent(BaseEvent, ToolCallChunkEvent): class BridgedTextMessageChunkEvent (line 16) | class BridgedTextMessageChunkEvent(BaseEvent, TextMessageChunkEvent): class BridgedCustomEvent (line 19) | class BridgedCustomEvent(BaseEvent, CustomEvent): class BridgedStateSnapshotEvent (line 22) | class BridgedStateSnapshotEvent(BaseEvent, StateSnapshotEvent): FILE: integrations/crew-ai/python/ag_ui_crewai/examples/agentic_chat.py class AgenticChatFlow (line 9) | class AgenticChatFlow(Flow[CopilotKitState]): method chat (line 12) | async def chat(self): FILE: integrations/crew-ai/python/ag_ui_crewai/examples/agentic_generative_ui.py class TaskStep (line 54) | class TaskStep(BaseModel): class AgentState (line 58) | class AgentState(CopilotKitState): class AgenticGenerativeUIFlow (line 69) | class AgenticGenerativeUIFlow(Flow[AgentState]): method start_flow (line 76) | async def start_flow(self): method chat (line 83) | async def chat(self): method simulate_task (line 163) | async def simulate_task(self): method end (line 174) | async def end(self): FILE: integrations/crew-ai/python/ag_ui_crewai/examples/human_in_the_loop.py class TaskStep (line 49) | class TaskStep(BaseModel): class AgentState (line 53) | class AgentState(CopilotKitState): class HumanInTheLoopFlow (line 64) | class HumanInTheLoopFlow(Flow[AgentState]): method start_flow (line 71) | async def start_flow(self): method chat (line 77) | async def chat(self): method end (line 130) | async def end(self): FILE: integrations/crew-ai/python/ag_ui_crewai/examples/predictive_state_updates.py class AgentState (line 42) | class AgentState(CopilotKitState): class PredictiveStateUpdatesFlow (line 48) | class PredictiveStateUpdatesFlow(Flow[AgentState]): method start_flow (line 55) | async def start_flow(self): method chat (line 61) | async def chat(self): method end (line 154) | async def end(self): FILE: integrations/crew-ai/python/ag_ui_crewai/examples/shared_state.py class SkillLevel (line 17) | class SkillLevel(str, Enum): class CookingTime (line 25) | class CookingTime(str, Enum): class Ingredient (line 35) | class Ingredient(BaseModel): class Recipe (line 106) | class Recipe(BaseModel): class AgentState (line 118) | class AgentState(CopilotKitState): class SharedStateFlow (line 124) | class SharedStateFlow(Flow[AgentState]): method start_flow (line 131) | async def start_flow(self): method chat (line 139) | async def chat(self): method end (line 226) | async def end(self): FILE: integrations/crew-ai/python/ag_ui_crewai/examples/tool_based_generative_ui.py class ToolBasedGenerativeUIFlow (line 48) | class ToolBasedGenerativeUIFlow(Flow[CopilotKitState]): method chat (line 54) | async def chat(self): FILE: integrations/crew-ai/python/ag_ui_crewai/sdk.py class CopilotKitProperties (line 28) | class CopilotKitProperties(BaseModel): class CopilotKitState (line 32) | class CopilotKitState(FlowState): class PredictStateConfig (line 37) | class PredictStateConfig(TypedDict): function copilotkit_predict_state (line 44) | async def copilotkit_predict_state( function copilotkit_emit_state (line 99) | async def copilotkit_emit_state(state: Any) -> Literal[True]: function copilotkit_stream (line 144) | async def copilotkit_stream(response): function _copilotkit_stream_custom_stream_wrapper (line 166) | async def _copilotkit_stream_custom_stream_wrapper(response: CustomStrea... function _copilotkit_stream_response (line 270) | def _copilotkit_stream_response(response: ModelResponse): function litellm_messages_to_ag_ui_messages (line 276) | def litellm_messages_to_ag_ui_messages(messages: List[LiteLLMMessage]) -... function copilotkit_exit (line 303) | async def copilotkit_exit() -> Literal[True]: FILE: integrations/crew-ai/python/ag_ui_crewai/utils.py function yield_control (line 3) | async def yield_control(): FILE: integrations/crew-ai/typescript/src/index.ts class CrewAIAgent (line 3) | class CrewAIAgent extends HttpAgent { method maxVersion (line 4) | public override get maxVersion(): string { FILE: integrations/langchain/typescript/src/agent.ts type ChainFnParams (line 21) | interface ChainFnParams { type LangChainAgentChainFnConfig (line 51) | interface LangChainAgentChainFnConfig { type LangChainAgentModelConfig (line 62) | interface LangChainAgentModelConfig { type LangChainAgentConfig (line 80) | type LangChainAgentConfig = LangChainAgentChainFnConfig | LangChainAgent... function isChainFnConfig (line 85) | function isChainFnConfig(config: LangChainAgentConfig): config is LangCh... class LangChainAgent (line 112) | class LangChainAgent extends AbstractAgent { method constructor (line 115) | constructor(private config: LangChainAgentConfig) { method run (line 119) | public run(input: RunAgentInput): Observable { method buildSystemPrompt (line 226) | private buildSystemPrompt( method clone (line 257) | clone(): LangChainAgent { method abortRun (line 261) | abortRun(): void { FILE: integrations/langchain/typescript/src/messages.ts function convertAGUIMessageToLangChain (line 13) | function convertAGUIMessageToLangChain(message: Message): BaseMessage { function convertAGUIMessagesToLangChain (line 65) | function convertAGUIMessagesToLangChain(messages: Message[]): BaseMessag... FILE: integrations/langchain/typescript/src/streaming.ts type LangChainResponse (line 21) | type LangChainResponse = function isAIMessage (line 32) | function isAIMessage(obj: any): obj is AIMessage { function isAIMessageChunk (line 36) | function isAIMessageChunk(obj: any): obj is AIMessageChunk { function isBaseMessageChunk (line 40) | function isBaseMessageChunk(obj: any): obj is BaseMessageChunk { function isStream (line 44) | function isStream(obj: any): obj is IterableReadableStream { FILE: integrations/langchain/typescript/src/tools.ts type JsonSchema (line 7) | interface JsonSchema { type AGUITool (line 18) | interface AGUITool { function convertJsonSchemaToZod (line 27) | function convertJsonSchemaToZod(jsonSchema: JsonSchema, required: boolea... type LangChainToolWithName (line 63) | type LangChainToolWithName = { function convertAGUIToolToLangChain (line 76) | function convertAGUIToolToLangChain(tool: AGUITool): DynamicStructuredTo... function convertAGUIToolsToLangChain (line 95) | function convertAGUIToolsToLangChain(tools: AGUITool[]): DynamicStructur... FILE: integrations/langgraph/python/ag_ui_langgraph/agent.py class LangGraphAgent (line 102) | class LangGraphAgent: method __init__ (line 103) | def __init__(self, *, name: str, graph: CompiledStateGraph, descriptio... method _dispatch_event (line 112) | def _dispatch_event(self, event: ProcessedEvents) -> str: method run (line 120) | async def run(self, input: RunAgentInput) -> AsyncGenerator[str, None]: method _handle_stream_events (line 129) | async def _handle_stream_events(self, input: RunAgentInput) -> AsyncGe... method prepare_stream (line 339) | async def prepare_stream(self, input: RunAgentInput, agent_state: Stat... method prepare_regenerate_stream (line 435) | async def prepare_regenerate_stream( # pylint: disable=too-many-arguments method get_message_in_progress (line 471) | def get_message_in_progress(self, run_id: str) -> Optional[MessageInPr... method set_message_in_progress (line 474) | def set_message_in_progress(self, run_id: str, data: MessageInProgress): method get_schema_keys (line 481) | def get_schema_keys(self, config) -> SchemaKeys: method langgraph_default_merge_state (line 511) | def langgraph_default_merge_state(self, state: State, messages: List[B... method _filter_orphan_tool_messages (line 614) | def _filter_orphan_tool_messages(self, messages: list) -> list: method get_state_snapshot (line 640) | def get_state_snapshot(self, state: State) -> State: method _handle_single_event (line 646) | async def _handle_single_event(self, event: Any, state: State) -> Asyn... method handle_reasoning_event (line 959) | def handle_reasoning_event(self, reasoning_data: LangGraphReasoning) -... method get_checkpoint_before_message (line 1021) | async def get_checkpoint_before_message(self, message_id: str, thread_... method handle_node_change (line 1051) | def handle_node_change(self, node_name: Optional[str]): method start_step (line 1071) | def start_step(self, step_name: str): method end_step (line 1080) | def end_step(self): method get_stream_kwargs (line 1093) | def get_stream_kwargs( function dump_json_safe (line 1128) | def dump_json_safe(value): FILE: integrations/langgraph/python/ag_ui_langgraph/endpoint.py function add_langgraph_fastapi_endpoint (line 9) | def add_langgraph_fastapi_endpoint(app: FastAPI, agent: LangGraphAgent, ... FILE: integrations/langgraph/python/ag_ui_langgraph/middlewares/state_streaming.py function _with_intermediate_state (line 12) | def _with_intermediate_state(config: dict, emit_intermediate_state: list... class StateItem (line 18) | class StateItem: class StateStreamingMiddleware (line 23) | class StateStreamingMiddleware(AgentMiddleware): method __init__ (line 24) | def __init__(self, *items: StateItem) -> None: method _is_pre_tool_call (line 30) | def _is_pre_tool_call(self, request: ModelRequest) -> bool: method wrap_model_call (line 42) | def wrap_model_call( method awrap_model_call (line 56) | async def awrap_model_call( FILE: integrations/langgraph/python/ag_ui_langgraph/types.py class LangGraphEventTypes (line 5) | class LangGraphEventTypes(str, Enum): class CustomEventNames (line 17) | class CustomEventNames(str, Enum): class BaseLangGraphPlatformMessage (line 65) | class BaseLangGraphPlatformMessage(TypedDict): class LangGraphPlatformResultMessage (line 72) | class LangGraphPlatformResultMessage(BaseLangGraphPlatformMessage): class LangGraphPlatformActionExecutionMessage (line 76) | class LangGraphPlatformActionExecutionMessage(BaseLangGraphPlatformMessa... FILE: integrations/langgraph/python/ag_ui_langgraph/utils.py function filter_object_by_schema_keys (line 27) | def filter_object_by_schema_keys(obj: Dict[str, Any], schema_keys: List[... function get_stream_payload_input (line 32) | def get_stream_payload_input( function stringify_if_needed (line 43) | def stringify_if_needed(item: Any) -> str: function convert_langchain_multimodal_to_agui (line 50) | def convert_langchain_multimodal_to_agui(content: List[Dict[str, Any]]) ... function langchain_messages_to_agui (line 86) | def langchain_messages_to_agui(messages: List[BaseMessage]) -> List[AGUI... function convert_agui_multimodal_to_langchain (line 142) | def convert_agui_multimodal_to_langchain(content: List[Union[TextInputCo... function agui_messages_to_langchain (line 169) | def agui_messages_to_langchain(messages: List[AGUIMessage]) -> List[Base... function resolve_reasoning_content (line 219) | def resolve_reasoning_content(chunk: Any) -> LangGraphReasoning | None: function resolve_encrypted_reasoning_content (line 278) | def resolve_encrypted_reasoning_content(chunk: Any) -> str | None: function resolve_message_content (line 294) | def resolve_message_content(content: Any) -> str | None: function flatten_user_content (line 308) | def flatten_user_content(content: Any) -> str: function normalize_tool_content (line 338) | def normalize_tool_content(content: Any) -> str: function camel_to_snake (line 364) | def camel_to_snake(name): function json_safe_stringify (line 367) | def json_safe_stringify(o): function make_json_safe (line 376) | def make_json_safe(value: Any, _seen: set[int] | None = None) -> Any: FILE: integrations/langgraph/python/examples/agents/a2ui_chat/agent.py function show_login_form (line 58) | def show_login_form() -> str: class AgentState (line 69) | class AgentState(MessagesState): function chat_node (line 84) | async def chat_node(state: AgentState, config: RunnableConfig): function route_after_chat (line 104) | def route_after_chat(state: AgentState): FILE: integrations/langgraph/python/examples/agents/agentic_chat_reasoning/agent.py class AgentState (line 18) | class AgentState(MessagesState): function chat_node (line 25) | async def chat_node(state: AgentState, config: Optional[RunnableConfig] ... FILE: integrations/langgraph/python/examples/agents/agentic_generative_ui/agent.py class Step (line 20) | class Step(BaseModel): function generate_task_steps_generative_ui (line 32) | def generate_task_steps_generative_ui( class AgentState (line 44) | class AgentState(MessagesState): function start_node (line 52) | async def start_node(state: AgentState, config: RunnableConfig): # pylin... function chat_node (line 66) | async def chat_node(state: AgentState, config: Optional[RunnableConfig] ... FILE: integrations/langgraph/python/examples/agents/backend_tool_rendering/agent.py function get_weather (line 21) | def get_weather(location: str): FILE: integrations/langgraph/python/examples/agents/dojo.py function main (line 131) | def main(): FILE: integrations/langgraph/python/examples/agents/human_in_the_loop/agent.py class Step (line 18) | class Step(BaseModel): function plan_execution_steps (line 26) | def plan_execution_steps( class AgentState (line 37) | class AgentState(MessagesState): function start_node (line 44) | async def start_node(state: Dict[str, Any], config: RunnableConfig): # p... function chat_node (line 63) | async def chat_node(state: AgentState, config: Optional[RunnableConfig] ... function process_steps_node (line 175) | async def process_steps_node(state: Dict[str, Any], config: RunnableConf... FILE: integrations/langgraph/python/examples/agents/multimodal_messages/agent.py class AgentState (line 20) | class AgentState(MessagesState): function vision_chat_node (line 26) | async def vision_chat_node(state: AgentState, config: Optional[RunnableC... FILE: integrations/langgraph/python/examples/agents/predictive_state_updates/agent.py function write_document_local (line 20) | def write_document_local(document: str): # pylint: disable=unused-argument class AgentState (line 32) | class AgentState(MessagesState): function start_node (line 40) | async def start_node(state: AgentState, config: RunnableConfig): # pylin... function chat_node (line 49) | async def chat_node(state: AgentState, config: Optional[RunnableConfig] ... FILE: integrations/langgraph/python/examples/agents/shared_state/agent.py class SkillLevel (line 23) | class SkillLevel(str, Enum): class SpecialPreferences (line 33) | class SpecialPreferences(str, Enum): class CookingTime (line 47) | class CookingTime(str, Enum): class Ingredient (line 59) | class Ingredient(BaseModel): class Recipe (line 69) | class Recipe(BaseModel): class GenerateRecipeArgs (line 94) | class GenerateRecipeArgs(BaseModel): # pylint: disable=missing-class-do... function generate_recipe (line 99) | def generate_recipe(recipe: Recipe): # pylint: disable=unused-argument class AgentState (line 106) | class AgentState(MessagesState): function start_node (line 115) | async def start_node(state: Dict[str, Any], config: RunnableConfig): function chat_node (line 144) | async def chat_node(state: Dict[str, Any], config: RunnableConfig): FILE: integrations/langgraph/python/examples/agents/subgraphs/agent.py function create_interrupt (line 22) | def create_interrupt(message: str, options: List[Any], recommendation: A... class Flight (line 32) | class Flight: class Hotel (line 40) | class Hotel: class Experience (line 47) | class Experience: function merge_itinerary (line 53) | def merge_itinerary(left: Union[dict, None] = None, right: Union[dict, N... class TravelAgentState (line 62) | class TravelAgentState(MessagesState): function flights_finder (line 101) | async def flights_finder(state: TravelAgentState, config: RunnableConfig): function hotels_finder (line 136) | async def hotels_finder(state: TravelAgentState, config: RunnableConfig): function experiences_finder (line 170) | async def experiences_finder(state: TravelAgentState, config: RunnableCo... class SupervisorResponseFormatter (line 212) | class SupervisorResponseFormatter(BaseModel): function supervisor_agent (line 218) | async def supervisor_agent(state: TravelAgentState, config: RunnableConf... FILE: integrations/langgraph/python/examples/agents/tool_based_generative_ui/agent.py class AgentState (line 17) | class AgentState(MessagesState): function chat_node (line 23) | async def chat_node(state: AgentState, config: RunnableConfig) -> Comman... FILE: integrations/langgraph/python/tests/test_make_json_safe.py class Color (line 13) | class Color(Enum): class SimpleDataclass (line 19) | class SimpleDataclass: class DataclassWithLock (line 25) | class DataclassWithLock: class DataclassWithRuntimeConfig (line 32) | class DataclassWithRuntimeConfig: class TestMakeJsonSafe (line 40) | class TestMakeJsonSafe: method test_primitives (line 43) | def test_primitives(self): method test_enum (line 52) | def test_enum(self): method test_dict (line 57) | def test_dict(self): method test_list (line 62) | def test_list(self): method test_tuple (line 67) | def test_tuple(self): method test_set (line 72) | def test_set(self): method test_simple_dataclass (line 78) | def test_simple_dataclass(self): method test_dataclass_with_unpicklable_object (line 84) | def test_dataclass_with_unpicklable_object(self): method test_circular_reference_in_dict (line 104) | def test_circular_reference_in_dict(self): method test_circular_reference_in_list (line 113) | def test_circular_reference_in_list(self): method test_object_with_circular_dict (line 123) | def test_object_with_circular_dict(self): method test_nested_unpicklable_in_dict (line 136) | def test_nested_unpicklable_in_dict(self): method test_dict_excludes_runtime_and_config (line 146) | def test_dict_excludes_runtime_and_config(self): method test_dataclass_excludes_runtime_and_config (line 166) | def test_dataclass_excludes_runtime_and_config(self): method test_json_dumps_with_runtime_config_serializes (line 185) | def test_json_dumps_with_runtime_config_serializes(self): method test_json_dumps_default_with_dataclass_runtime_config (line 206) | def test_json_dumps_default_with_dataclass_runtime_config(self): FILE: integrations/langgraph/python/tests/test_multimodal.py class TestMultimodalConversion (line 22) | class TestMultimodalConversion(unittest.TestCase): method test_agui_text_only_to_langchain (line 25) | def test_agui_text_only_to_langchain(self): method test_agui_multimodal_to_langchain (line 40) | def test_agui_multimodal_to_langchain(self): method test_agui_multimodal_with_data_to_langchain (line 73) | def test_agui_multimodal_with_data_to_langchain(self): method test_langchain_multimodal_to_agui (line 102) | def test_langchain_multimodal_to_agui(self): method test_langchain_data_url_to_agui (line 131) | def test_langchain_data_url_to_agui(self): method test_flatten_multimodal_content (line 156) | def test_flatten_multimodal_content(self): method test_flatten_with_filename (line 174) | def test_flatten_with_filename(self): method test_convert_agui_multimodal_to_langchain_helper (line 191) | def test_convert_agui_multimodal_to_langchain_helper(self): method test_convert_langchain_multimodal_to_agui_helper (line 210) | def test_convert_langchain_multimodal_to_agui_helper(self): FILE: integrations/langgraph/python/tests/test_state_streaming_middleware.py function _make_request (line 27) | def _make_request(messages): class TestIsPreToolCall (line 34) | class TestIsPreToolCall(unittest.TestCase): method setUp (line 37) | def setUp(self): method test_empty_messages_is_pre_tool_call (line 42) | def test_empty_messages_is_pre_tool_call(self): method test_human_message_last_is_pre_tool_call (line 46) | def test_human_message_last_is_pre_tool_call(self): method test_ai_message_last_is_pre_tool_call (line 50) | def test_ai_message_last_is_pre_tool_call(self): method test_tool_message_last_is_not_pre_tool_call (line 54) | def test_tool_message_last_is_not_pre_tool_call(self): class TestWrapModelCall (line 60) | class TestWrapModelCall(unittest.TestCase): method _make_middleware (line 63) | def _make_middleware(self, *items): method test_wrap_model_call_injects_config_pre_tool_call (line 70) | def test_wrap_model_call_injects_config_pre_tool_call(self): method test_wrap_model_call_passes_through_post_tool_call (line 85) | def test_wrap_model_call_passes_through_post_tool_call(self): method test_awrap_model_call_injects_config_pre_tool_call (line 104) | def test_awrap_model_call_injects_config_pre_tool_call(self): method test_awrap_model_call_passes_through_post_tool_call (line 118) | def test_awrap_model_call_passes_through_post_tool_call(self): method test_predict_state_payload_shape (line 134) | def test_predict_state_payload_shape(self): class TestWithIntermediateState (line 149) | class TestWithIntermediateState(unittest.TestCase): method test_adds_predict_state_to_empty_config (line 152) | def test_adds_predict_state_to_empty_config(self): method test_merges_with_existing_metadata (line 157) | def test_merges_with_existing_metadata(self): method test_does_not_mutate_original_config (line 163) | def test_does_not_mutate_original_config(self): class TestWrapModelCallConfigInjection (line 170) | class TestWrapModelCallConfigInjection(unittest.TestCase): method _make_middleware (line 173) | def _make_middleware(self): method test_predict_state_injected_pre_tool_call (line 178) | def test_predict_state_injected_pre_tool_call(self): method test_predict_state_not_injected_post_tool_call (line 195) | def test_predict_state_not_injected_post_tool_call(self): method test_predict_state_injected_async_pre_tool_call (line 210) | def test_predict_state_injected_async_pre_tool_call(self): method test_predict_state_not_injected_async_post_tool_call (line 227) | def test_predict_state_not_injected_async_post_tool_call(self): method test_config_var_reset_after_handler_exception (line 242) | def test_config_var_reset_after_handler_exception(self): method test_config_var_reset_after_async_handler_exception (line 258) | def test_config_var_reset_after_async_handler_exception(self): class TestSnapshotSuppressionCondition (line 273) | class TestSnapshotSuppressionCondition(unittest.TestCase): method _suppressed (line 286) | def _suppressed(self, exiting_node, model_made_tool_call, state_reliab... method test_suppressed_when_exiting_and_made_tool_call (line 289) | def test_suppressed_when_exiting_and_made_tool_call(self): method test_suppressed_when_exiting_and_state_unreliable (line 292) | def test_suppressed_when_exiting_and_state_unreliable(self): method test_not_suppressed_when_not_exiting (line 295) | def test_not_suppressed_when_not_exiting(self): method test_not_suppressed_when_exiting_but_no_tool_call_and_state_reliable (line 298) | def test_not_suppressed_when_exiting_but_no_tool_call_and_state_reliab... method test_not_suppressed_when_neither_flag_set (line 301) | def test_not_suppressed_when_neither_flag_set(self): class TestModelMadeToolCallMetadataCheck (line 305) | class TestModelMadeToolCallMetadataCheck(unittest.TestCase): method _should_set_model_made_tool_call (line 315) | def _should_set_model_made_tool_call(self, tool_name, predict_state_me... method test_sets_flag_when_tool_matches_predict_state (line 319) | def test_sets_flag_when_tool_matches_predict_state(self): method test_does_not_set_flag_for_unrelated_tool (line 323) | def test_does_not_set_flag_for_unrelated_tool(self): method test_does_not_set_flag_when_predict_state_meta_empty (line 327) | def test_does_not_set_flag_when_predict_state_meta_empty(self): method test_does_not_set_flag_when_no_predict_state_metadata (line 330) | def test_does_not_set_flag_when_no_predict_state_metadata(self): method test_sets_flag_when_tool_matches_one_of_multiple (line 336) | def test_sets_flag_when_tool_matches_one_of_multiple(self): FILE: integrations/langgraph/typescript/examples/src/agents/agentic_generative_ui/agent.ts constant PERFORM_TASK_TOOL (line 13) | const PERFORM_TASK_TOOL = { type AgentState (line 58) | type AgentState = typeof AgentStateAnnotation.State; function startFlow (line 60) | async function startFlow(state: AgentState, config?: RunnableConfig) { function chatNode (line 70) | async function chatNode(state: AgentState, config?: RunnableConfig) { FILE: integrations/langgraph/typescript/examples/src/agents/backend_tool_rendering/agent.ts type AgentState (line 18) | type AgentState = typeof AgentStateAnnotation.State; function chatNode (line 20) | async function chatNode(state: AgentState, config?: RunnableConfig) { FILE: integrations/langgraph/typescript/examples/src/agents/human_in_the_loop/agent.ts constant DEFINE_TASK_TOOL (line 10) | const DEFINE_TASK_TOOL = { type AgentState (line 55) | type AgentState = typeof AgentStateAnnotation.State; function startFlow (line 57) | async function startFlow(state: AgentState, config?: RunnableConfig): Pr... function chatNode (line 76) | async function chatNode(state: AgentState, config?: RunnableConfig): Pro... function processStepsNode (line 196) | async function processStepsNode(state: AgentState, config?: RunnableConf... FILE: integrations/langgraph/typescript/examples/src/agents/multimodal_messages/agent.ts type AgentState (line 63) | type AgentState = typeof AgentStateAnnotation.State; function visionChatNode (line 65) | async function visionChatNode(state: AgentState, config?: RunnableConfig) { FILE: integrations/langgraph/typescript/examples/src/agents/predictive_state_updates/agent.ts constant WRITE_DOCUMENT_TOOL (line 11) | const WRITE_DOCUMENT_TOOL = { type AgentState (line 44) | type AgentState = typeof AgentStateAnnotation.State; function chatNode (line 46) | async function chatNode(state: AgentState, config?: RunnableConfig): Pro... FILE: integrations/langgraph/typescript/examples/src/agents/shared_state/agent.ts type SkillLevel (line 11) | enum SkillLevel { type SpecialPreferences (line 17) | enum SpecialPreferences { type CookingTime (line 27) | enum CookingTime { type Ingredient (line 35) | interface Ingredient { type Recipe (line 41) | interface Recipe { constant GENERATE_RECIPE_TOOL (line 50) | const GENERATE_RECIPE_TOOL = { type AgentState (line 113) | type AgentState = typeof AgentStateAnnotation.State; function startFlow (line 115) | async function startFlow(state: AgentState, config?: RunnableConfig): Pr... function chatNode (line 142) | async function chatNode(state: AgentState, config?: RunnableConfig): Pro... FILE: integrations/langgraph/typescript/examples/src/agents/subgraphs/agent.ts type Flight (line 20) | interface Flight { type Hotel (line 28) | interface Hotel { type Experience (line 35) | interface Experience { type Itinerary (line 42) | interface Itinerary { function mergeItinerary (line 48) | function mergeItinerary(left: Itinerary | null, right?: Itinerary | null... type TravelAgentState (line 79) | type TravelAgentState = typeof TravelAgentStateAnnotation.State; constant STATIC_FLIGHTS (line 82) | const STATIC_FLIGHTS: Flight[] = [ constant STATIC_HOTELS (line 87) | const STATIC_HOTELS: Hotel[] = [ constant STATIC_EXPERIENCES (line 93) | const STATIC_EXPERIENCES: Experience[] = [ function createInterrupt (line 100) | function createInterrupt(message: string, options: any[], recommendation... function flightsFinder (line 110) | async function flightsFinder(state: TravelAgentState, config?: RunnableC... function hotelsFinder (line 155) | async function hotelsFinder(state: TravelAgentState, config?: RunnableCo... function experiencesFinder (line 199) | async function experiencesFinder(state: TravelAgentState, config?: Runna... constant SUPERVISOR_RESPONSE_TOOL (line 242) | const SUPERVISOR_RESPONSE_TOOL = { function supervisorAgent (line 266) | async function supervisorAgent(state: TravelAgentState, config?: Runnabl... FILE: integrations/langgraph/typescript/examples/src/agents/tool_based_generative_ui/agent.ts type AgentState (line 15) | type AgentState = typeof AgentStateAnnotation.State; function chatNode (line 17) | async function chatNode(state: AgentState, config?: RunnableConfig): Pro... FILE: integrations/langgraph/typescript/src/agent.ts type ProcessedEvents (line 73) | type ProcessedEvents = type RunAgentExtendedInput (line 98) | type RunAgentExtendedInput< type RegenerateInput (line 108) | interface RegenerateInput extends RunAgentExtendedInput { type LangGraphAgentConfig (line 112) | interface LangGraphAgentConfig extends AgentConfig { class LangGraphAgent (line 122) | class LangGraphAgent extends AbstractAgent { method constructor (line 141) | constructor(config: LangGraphAgentConfig) { method clone (line 158) | public clone() { method dispatchEvent (line 178) | dispatchEvent(event: ProcessedEvents) { method run (line 183) | run(input: RunAgentInput) { method runAgentStream (line 190) | async runAgentStream(input: RunAgentExtendedInput, subscriber: Subscri... method prepareRegenerateStream (line 217) | async prepareRegenerateStream(input: RegenerateInput, streamMode: Stre... method prepareStream (line 256) | async prepareStream(input: RunAgentExtendedInput, streamMode: StreamMo... method handleStreamEvents (line 414) | async handleStreamEvents( method handleSingleEvent (line 651) | handleSingleEvent(event: any): void { method handleMessagesTupleEvent (line 999) | private handleMessagesTupleEvent(data: any[]) { method abortRun (line 1093) | public abortRun() { method handleReasoningEvent (line 1110) | handleReasoningEvent(reasoningData: LangGraphReasoning) { method getStateSnapshot (line 1167) | getStateSnapshot(threadState: ThreadState) { method getOrCreateThread (line 1178) | async getOrCreateThread(threadId: string, threadMetadata?: Record { method getSchemaKeys (line 1296) | async getSchemaKeys(): Promise { method langGraphDefaultMergeState (line 1328) | langGraphDefaultMergeState(state: State, messages: LangGraphMessage[],... method handleNodeChange (line 1375) | handleNodeChange(nodeName: string | undefined) { method startStep (line 1392) | startStep(nodeName: string) { method endStep (line 1399) | endStep() { method getCheckpointByMessage (line 1406) | async getCheckpointByMessage( FILE: integrations/langgraph/typescript/src/index.ts class LangGraphHttpAgent (line 4) | class LangGraphHttpAgent extends HttpAgent {} FILE: integrations/langgraph/typescript/src/messages-tuple.test.ts function createAgent (line 14) | function createAgent() { FILE: integrations/langgraph/typescript/src/middlewares/state-streaming.test.ts function makeMockModel (line 23) | function makeMockModel() { function makeRequest (line 30) | function makeRequest(messages: BaseMessage[]) { FILE: integrations/langgraph/typescript/src/middlewares/state-streaming.ts type StateItem (line 8) | interface StateItem { FILE: integrations/langgraph/typescript/src/types.ts type LangGraphEventTypes (line 5) | enum LangGraphEventTypes { type LangGraphToolWithName (line 18) | type LangGraphToolWithName = { type State (line 28) | type State> = { type StateEnrichment (line 31) | interface StateEnrichment { type SchemaKeys (line 40) | type SchemaKeys = { type MessageInProgress (line 47) | type MessageInProgress = { type ReasoningInProgress (line 53) | type ReasoningInProgress = { type RunMetadata (line 60) | interface RunMetadata { type MessagesInProgressRecord (line 76) | type MessagesInProgressRecord = Record; type ToolCall (line 79) | interface ToolCall { type BaseLangGraphPlatformMessage (line 85) | type BaseLangGraphPlatformMessage = Omit< type LangGraphPlatformResultMessage (line 101) | interface LangGraphPlatformResultMessage extends BaseLangGraphPlatformMe... type LangGraphPlatformActionExecutionMessage (line 106) | interface LangGraphPlatformActionExecutionMessage extends BaseLangGraphP... type LangGraphPlatformMessage (line 110) | type LangGraphPlatformMessage = type CustomEventNames (line 115) | enum CustomEventNames { type PredictStateTool (line 122) | interface PredictStateTool { type LangGraphReasoning (line 128) | interface LangGraphReasoning { FILE: integrations/langgraph/typescript/src/utils.ts constant DEFAULT_SCHEMA_KEYS (line 5) | const DEFAULT_SCHEMA_KEYS = ["messages", "tools"]; function filterObjectBySchemaKeys (line 7) | function filterObjectBySchemaKeys(obj: Record, schemaKeys: ... function getStreamPayloadInput (line 11) | function getStreamPayloadInput({ function convertLangchainMultimodalToAgui (line 32) | function convertLangchainMultimodalToAgui( function convertAguiMultimodalToLangchain (line 80) | function convertAguiMultimodalToLangchain( function langchainMessagesToAgui (line 118) | function langchainMessagesToAgui(messages: LangGraphMessage[]): Message[] { function aguiMessagesToLangChain (line 169) | function aguiMessagesToLangChain(messages: Message[]): LangGraphMessage[] { function stringifyIfNeeded (line 224) | function stringifyIfNeeded(item: any) { function flattenUserContent (line 233) | function flattenUserContent(content: Message["content"]): string { function resolveReasoningContent (line 265) | function resolveReasoningContent(eventData: any): LangGraphReasoning | n... function resolveEncryptedReasoningContent (line 324) | function resolveEncryptedReasoningContent(eventData: any): string | null { function resolveMessageContent (line 339) | function resolveMessageContent(content?: LangGraphMessage['content']): s... FILE: integrations/langroid/python/examples/server/__main__.py function main (line 30) | def main(): FILE: integrations/langroid/python/examples/server/api/agentic_chat.py class ChangeBackgroundTool (line 18) | class ChangeBackgroundTool(ToolMessage): FILE: integrations/langroid/python/examples/server/api/agentic_generative_ui.py class Step (line 26) | class Step(BaseModel): class Plan (line 36) | class Plan(BaseModel): class JSONPatchOp (line 42) | class JSONPatchOp(BaseModel): class CreatePlanTool (line 60) | class CreatePlanTool(ToolMessage): class UpdatePlanStepTool (line 71) | class UpdatePlanStepTool(ToolMessage): class PlanAssistantAgent (line 116) | class PlanAssistantAgent(ChatAgent): method __init__ (line 119) | def __init__(self, config): method create_plan (line 124) | def create_plan(self, msg: CreatePlanTool) -> str: method update_plan_step (line 140) | def update_plan_step( method _handle_create_plan_result (line 158) | async def _handle_create_plan_result(self, result_data: dict): method _handle_update_plan_step_result (line 223) | async def _handle_update_plan_step_result(self, result_data: dict): FILE: integrations/langroid/python/examples/server/api/backend_tool_rendering.py class GetWeatherTool (line 21) | class GetWeatherTool(ToolMessage): class RenderChartTool (line 30) | class RenderChartTool(ToolMessage): class WeatherAssistantAgent (line 69) | class WeatherAssistantAgent(ChatAgent): method get_weather (line 72) | def get_weather(self, msg: GetWeatherTool) -> str: method render_chart (line 86) | def render_chart(self, msg: RenderChartTool) -> str: FILE: integrations/langroid/python/examples/server/api/shared_state.py class GenerateRecipeTool (line 25) | class GenerateRecipeTool(ToolMessage): class RecipeAssistantAgent (line 43) | class RecipeAssistantAgent(ChatAgent): method __init__ (line 46) | def __init__(self, config: ChatAgentConfig): method generate_recipe (line 50) | def generate_recipe(self, msg: GenerateRecipeTool) -> str: function build_state_context (line 55) | def build_state_context(input_data, user_message: str) -> str: function recipe_state_from_args (line 68) | async def recipe_state_from_args(context: ToolCallContext): FILE: integrations/langroid/python/src/ag_ui_langroid/agent.py class LangroidAgent (line 39) | class LangroidAgent: method __init__ (line 45) | def __init__( method run (line 71) | async def run(self, input_data: RunAgentInput) -> AsyncIterator[Any]: method _patch_pending_tool_call (line 1008) | def _patch_pending_tool_call(agent: Any, tool_name: str) -> None: method _get_agent_instance (line 1051) | def _get_agent_instance(self) -> Any: method _extract_user_message (line 1066) | def _extract_user_message(self, messages: Optional[List[Any]]) -> str: FILE: integrations/langroid/python/src/ag_ui_langroid/endpoint.py function add_langroid_fastapi_endpoint (line 11) | def add_langroid_fastapi_endpoint( function create_langroid_app (line 56) | def create_langroid_app(agent: LangroidAgent, path: str = "/") -> FastAPI: FILE: integrations/langroid/python/src/ag_ui_langroid/types.py class ToolCallContext (line 14) | class ToolCallContext: class ToolResultContext (line 25) | class ToolResultContext(ToolCallContext): class ToolBehavior (line 38) | class ToolBehavior: class LangroidAgentConfig (line 45) | class LangroidAgentConfig(TypedDict, total=False): function maybe_await (line 51) | async def maybe_await(value: Any) -> Any: FILE: integrations/langroid/python/tests/test_agent.py function _collect_events (line 20) | def _collect_events(agent, input_data): function _make_input (line 34) | def _make_input(messages=None, thread_id="test-thread", run_id="test-run... function _make_user_message (line 47) | def _make_user_message(content="Hello", msg_id="msg-1"): class FakeLLMResponse (line 52) | class FakeLLMResponse: method __init__ (line 54) | def __init__(self, content): class FakeToolResponse (line 58) | class FakeToolResponse: method __init__ (line 60) | def __init__(self, request, purpose="", **kwargs): class FakeLangroidAgent (line 67) | class FakeLangroidAgent: method __init__ (line 69) | def __init__(self, response): method llm_response (line 73) | def llm_response(self, msg): class TestLangroidAgentInit (line 77) | class TestLangroidAgentInit(unittest.TestCase): method test_basic_init (line 80) | def test_basic_init(self): method test_init_with_description (line 86) | def test_init_with_description(self): method test_init_with_config (line 94) | def test_init_with_config(self): class TestLangroidAgentExtractUserMessage (line 106) | class TestLangroidAgentExtractUserMessage(unittest.TestCase): method setUp (line 109) | def setUp(self): method test_no_messages_returns_default (line 112) | def test_no_messages_returns_default(self): method test_empty_list_returns_default (line 116) | def test_empty_list_returns_default(self): method test_extracts_latest_user_message (line 120) | def test_extracts_latest_user_message(self): method test_skips_non_user_messages (line 126) | def test_skips_non_user_messages(self): method test_multimodal_content_list (line 135) | def test_multimodal_content_list(self): method test_multimodal_content_string_list (line 145) | def test_multimodal_content_string_list(self): class TestLangroidAgentRunLifecycle (line 153) | class TestLangroidAgentRunLifecycle(unittest.TestCase): method test_emits_run_started_and_finished (line 156) | def test_emits_run_started_and_finished(self): method test_emits_text_message_events (line 166) | def test_emits_text_message_events(self): method test_emits_state_snapshot_from_input_state (line 181) | def test_emits_state_snapshot_from_input_state(self): method test_state_snapshot_excludes_messages_key (line 194) | def test_state_snapshot_excludes_messages_key(self): method test_no_state_snapshot_when_state_is_none (line 207) | def test_no_state_snapshot_when_state_is_none(self): method test_emits_error_when_llm_returns_none (line 216) | def test_emits_error_when_llm_returns_none(self): method test_emits_error_when_agent_has_no_llm_response (line 226) | def test_emits_error_when_agent_has_no_llm_response(self): class TestLangroidAgentFrontendTools (line 238) | class TestLangroidAgentFrontendTools(unittest.TestCase): method test_frontend_tool_emits_tool_events (line 241) | def test_frontend_tool_emits_tool_events(self): class TestLangroidAgentStateContextBuilder (line 274) | class TestLangroidAgentStateContextBuilder(unittest.TestCase): method test_state_context_builder_is_applied (line 277) | def test_state_context_builder_is_applied(self): class TestLangroidAgentThreading (line 301) | class TestLangroidAgentThreading(unittest.TestCase): method test_same_thread_reuses_agent (line 304) | def test_same_thread_reuses_agent(self): method test_different_threads_get_separate_agents (line 317) | def test_different_threads_get_separate_agents(self): class TestLangroidAgentPendingToolResult (line 330) | class TestLangroidAgentPendingToolResult(unittest.TestCase): method test_tool_result_message_sends_empty_to_llm (line 333) | def test_tool_result_message_sends_empty_to_llm(self): FILE: integrations/langroid/python/tests/test_endpoint.py class TestCreateLangroidApp (line 13) | class TestCreateLangroidApp(unittest.TestCase): method test_creates_fastapi_app (line 16) | def test_creates_fastapi_app(self): method test_app_title_includes_agent_name (line 22) | def test_app_title_includes_agent_name(self): method test_health_endpoint (line 28) | def test_health_endpoint(self): method test_default_path_health (line 41) | def test_default_path_health(self): class TestAddLangroidFastapiEndpoint (line 51) | class TestAddLangroidFastapiEndpoint(unittest.TestCase): method test_adds_post_endpoint (line 54) | def test_adds_post_endpoint(self): method test_adds_health_get_endpoint (line 65) | def test_adds_health_get_endpoint(self): FILE: integrations/langroid/python/tests/test_types.py class TestToolCallContext (line 17) | class TestToolCallContext(unittest.TestCase): method test_creation (line 20) | def test_creation(self): class TestToolResultContext (line 36) | class TestToolResultContext(unittest.TestCase): method test_inherits_from_tool_call_context (line 39) | def test_inherits_from_tool_call_context(self): method test_creation (line 42) | def test_creation(self): class TestToolBehavior (line 58) | class TestToolBehavior(unittest.TestCase): method test_defaults_to_none (line 61) | def test_defaults_to_none(self): method test_with_callbacks (line 66) | def test_with_callbacks(self): class TestLangroidAgentConfig (line 81) | class TestLangroidAgentConfig(unittest.TestCase): method test_empty_config (line 84) | def test_empty_config(self): method test_with_tool_behaviors (line 88) | def test_with_tool_behaviors(self): method test_with_state_context_builder (line 95) | def test_with_state_context_builder(self): class TestMaybeAwait (line 103) | class TestMaybeAwait(unittest.TestCase): method test_regular_value (line 106) | def test_regular_value(self): method test_none_value (line 110) | def test_none_value(self): method test_string_value (line 114) | def test_string_value(self): method test_awaitable_value (line 118) | def test_awaitable_value(self): method test_dict_value (line 125) | def test_dict_value(self): FILE: integrations/langroid/typescript/src/index.ts class LangroidHttpAgent (line 8) | class LangroidHttpAgent extends HttpAgent {} FILE: integrations/llama-index/python/examples/server/__init__.py function main (line 22) | def main(): FILE: integrations/llama-index/python/examples/server/routers/agentic_chat.py function change_background (line 7) | def change_background( FILE: integrations/llama-index/python/examples/server/routers/agentic_generative_ui.py class Step (line 11) | class Step(BaseModel): class Task (line 14) | class Task(BaseModel): function run_task (line 18) | async def run_task( FILE: integrations/llama-index/python/examples/server/routers/backend_tool_rendering.py function get_weather_condition (line 15) | def get_weather_condition(code: int) -> str: function get_weather (line 57) | async def get_weather(location: str) -> str: FILE: integrations/llama-index/python/examples/server/routers/human_in_the_loop.py class Step (line 9) | class Step(BaseModel): function generate_task_steps (line 14) | def generate_task_steps(steps: List[Step]) -> str: FILE: integrations/llama-index/python/examples/server/routers/shared_state.py class Ingredient (line 10) | class Ingredient(BaseModel): class Recipe (line 15) | class Recipe(BaseModel): function update_recipe (line 23) | async def update_recipe(ctx: Context, recipe: Recipe) -> str: FILE: integrations/llama-index/typescript/src/index.ts function normalizeEmptyToolResults (line 23) | function normalizeEmptyToolResults(messages: Message[]): Message[] { class LlamaIndexAgent (line 36) | class LlamaIndexAgent extends HttpAgent { method maxVersion (line 37) | public override get maxVersion(): string { method run (line 41) | public override run(input: RunAgentInput): Observable { FILE: integrations/mastra/typescript/examples/src/mastra/tools/weather-tool.ts type GeocodingResponse (line 4) | interface GeocodingResponse { type WeatherResponse (line 11) | interface WeatherResponse { function getWeatherCondition (line 70) | function getWeatherCondition(code: number): string { FILE: integrations/mastra/typescript/src/__tests__/helpers.ts class FakeMemory (line 7) | class FakeMemory { method getThreadById (line 11) | async getThreadById({ threadId }: { threadId: string }) { method saveThread (line 15) | async saveThread({ thread }: { thread: any }) { method getWorkingMemory (line 19) | async getWorkingMemory(_opts: any): Promise { class FakeLocalAgent (line 24) | class FakeLocalAgent { method constructor (line 28) | constructor(opts: { memory?: FakeMemory; streamChunks?: any[] } = {}) { method getMemory (line 33) | async getMemory(_opts?: any) { method stream (line 37) | async stream(_messages: any, _opts?: any) { class FakeRemoteAgent (line 49) | class FakeRemoteAgent { method constructor (line 52) | constructor(opts: { streamChunks?: any[] } = {}) { method stream (line 56) | async stream(_messages: any, _opts?: any) { function makeInput (line 72) | function makeInput( function collectEvents (line 87) | function collectEvents( function collectError (line 94) | function collectError( function makeLocalMastraAgent (line 110) | function makeLocalMastraAgent( function makeRemoteMastraAgent (line 120) | function makeRemoteMastraAgent( FILE: integrations/mastra/typescript/src/__tests__/integration.test.ts function createStreamModel (line 8) | function createStreamModel(chunks: any[]) { function createTextStreamModel (line 25) | function createTextStreamModel(text: string) { function createToolCallStreamModel (line 32) | function createToolCallStreamModel(toolName: string, toolArgs: Record; type MastraAgentConfig (line 35) | interface MastraAgentConfig extends AgentConfig { type MastraAgentStreamOptions (line 41) | interface MastraAgentStreamOptions { class MastraAgent (line 54) | class MastraAgent extends AbstractAgent { method constructor (line 59) | constructor(private config: MastraAgentConfig) { method clone (line 67) | public clone() { method run (line 71) | run(input: RunAgentInput): Observable { method isLocalMastraAgent (line 254) | isLocalMastraAgent( method streamMastraAgent (line 266) | private async streamMastraAgent( method getRemoteAgents (line 406) | static async getRemoteAgents( method getLocalAgents (line 412) | static getLocalAgents( method getLocalAgent (line 418) | static getLocalAgent(options: GetLocalAgentOptions) { method getNetwork (line 422) | static getNetwork(options: GetNetworkOptions) { FILE: integrations/mastra/typescript/src/utils.ts type TextInput (line 23) | type TextInput = Extract; function convertAGUIMessagesToMastra (line 33) | function convertAGUIMessagesToMastra(messages: Message[]): CoreMessage[] { type GetRemoteAgentsOptions (line 90) | interface GetRemoteAgentsOptions { function getRemoteAgents (line 95) | async function getRemoteAgents({ type GetLocalAgentsOptions (line 117) | interface GetLocalAgentsOptions { function getLocalAgents (line 123) | function getLocalAgents({ type GetLocalAgentOptions (line 146) | interface GetLocalAgentOptions { function getLocalAgent (line 153) | function getLocalAgent({ type GetNetworkOptions (line 171) | interface GetNetworkOptions { function getNetwork (line 178) | function getNetwork({ mastra, networkId, resourceId, requestContext }: G... FILE: integrations/microsoft-agent-framework/dotnet/examples/AGUIDojoServer/AgenticUI/AgenticPlanningTools.cs class AgenticPlanningTools (line 5) | internal static class AgenticPlanningTools method CreatePlan (line 7) | [Description("Create a plan with multiple steps.")] method UpdatePlanStepAsync (line 16) | [Description("Update a step in the plan with new description or status... FILE: integrations/microsoft-agent-framework/dotnet/examples/AGUIDojoServer/AgenticUI/AgenticUIAgent.cs class AgenticUIAgent (line 9) | [SuppressMessage("Performance", "CA1812:Avoid uninstantiated internal cl... method AgenticUIAgent (line 14) | public AgenticUIAgent(AIAgent innerAgent, JsonSerializerOptions jsonSe... method RunAsync (line 20) | public override Task RunAsync(IEnumerable RunStre... FILE: integrations/microsoft-agent-framework/dotnet/examples/AGUIDojoServer/AgenticUI/JsonPatchOperation.cs class JsonPatchOperation (line 5) | internal sealed class JsonPatchOperation FILE: integrations/microsoft-agent-framework/dotnet/examples/AGUIDojoServer/AgenticUI/Plan.cs class Plan (line 5) | internal sealed class Plan FILE: integrations/microsoft-agent-framework/dotnet/examples/AGUIDojoServer/AgenticUI/Step.cs class Step (line 5) | internal sealed class Step FILE: integrations/microsoft-agent-framework/dotnet/examples/AGUIDojoServer/AgenticUI/StepStatus.cs type StepStatus (line 5) | [JsonConverter(typeof(JsonStringEnumConverter))] FILE: integrations/microsoft-agent-framework/dotnet/examples/AGUIDojoServer/BackendToolRendering/WeatherInfo.cs class WeatherInfo (line 5) | internal sealed class WeatherInfo FILE: integrations/microsoft-agent-framework/dotnet/examples/AGUIDojoServer/ChatClientAgentFactory.cs class ChatClientAgentFactory (line 16) | internal static class ChatClientAgentFactory method Initialize (line 21) | public static void Initialize(IConfiguration configuration) method CreateAgenticChat (line 31) | public static ChatClientAgent CreateAgenticChat() method CreateBackendToolRendering (line 40) | public static ChatClientAgent CreateBackendToolRendering() method CreateHumanInTheLoop (line 54) | public static ChatClientAgent CreateHumanInTheLoop() method CreateToolBasedGenerativeUI (line 63) | public static ChatClientAgent CreateToolBasedGenerativeUI() method CreateAgenticUI (line 72) | public static AIAgent CreateAgenticUI(JsonSerializerOptions options) method CreateSharedState (line 114) | public static AIAgent CreateSharedState(JsonSerializerOptions options) method CreatePredictiveStateUpdates (line 125) | public static AIAgent CreatePredictiveStateUpdates(JsonSerializerOptio... method GetWeather (line 163) | [Description("Get the weather for a given location.")] method WriteDocument (line 173) | [Description("Write a document in markdown format.")] FILE: integrations/microsoft-agent-framework/dotnet/examples/AGUIDojoServer/PredictiveStateUpdates/DocumentState.cs class DocumentState (line 5) | internal sealed class DocumentState FILE: integrations/microsoft-agent-framework/dotnet/examples/AGUIDojoServer/PredictiveStateUpdates/PredictiveStateUpdatesAgent.cs class PredictiveStateUpdatesAgent (line 9) | [SuppressMessage("Performance", "CA1812:Avoid uninstantiated internal cl... method PredictiveStateUpdatesAgent (line 15) | public PredictiveStateUpdatesAgent(AIAgent innerAgent, JsonSerializerO... method RunAsync (line 21) | public override Task RunAsync(IEnumerable RunStre... FILE: integrations/microsoft-agent-framework/dotnet/examples/AGUIDojoServer/Program.cs class Program (line 45) | public partial class Program { } FILE: integrations/microsoft-agent-framework/dotnet/examples/AGUIDojoServer/SharedState/Ingredient.cs class Ingredient (line 5) | internal sealed class Ingredient FILE: integrations/microsoft-agent-framework/dotnet/examples/AGUIDojoServer/SharedState/Recipe.cs class Recipe (line 5) | internal sealed class Recipe FILE: integrations/microsoft-agent-framework/dotnet/examples/AGUIDojoServer/SharedState/RecipeResponse.cs class RecipeResponse (line 6) | internal sealed class RecipeResponse FILE: integrations/microsoft-agent-framework/dotnet/examples/AGUIDojoServer/SharedState/SharedStateAgent.cs class SharedStateAgent (line 9) | [SuppressMessage("Performance", "CA1812:Avoid uninstantiated internal cl... method SharedStateAgent (line 14) | public SharedStateAgent(AIAgent innerAgent, JsonSerializerOptions json... method RunAsync (line 20) | public override Task RunAsync(IEnumerable RunStre... FILE: integrations/microsoft-agent-framework/python/examples/agents/dojo.py function main (line 116) | def main(): FILE: integrations/pydantic-ai/python/examples/server/__init__.py function main (line 51) | def main(): FILE: integrations/pydantic-ai/python/examples/server/api/agentic_chat.py function current_time (line 15) | async def current_time(timezone: str = 'UTC') -> str: FILE: integrations/pydantic-ai/python/examples/server/api/agentic_generative_ui.py class Step (line 16) | class Step(BaseModel): class Plan (line 26) | class Plan(BaseModel): class JSONPatchOp (line 32) | class JSONPatchOp(BaseModel): function create_plan (line 65) | async def create_plan(steps: list[str]) -> StateSnapshotEvent: function update_plan_step (line 84) | async def update_plan_step( FILE: integrations/pydantic-ai/python/examples/server/api/backend_tool_rendering.py function get_weather_condition (line 32) | def get_weather_condition(code: int) -> str: function get_weather (line 75) | async def get_weather(location: str) -> dict[str, str | float]: FILE: integrations/pydantic-ai/python/examples/server/api/predictive_state_updates.py class DocumentState (line 14) | class DocumentState(BaseModel): function document_predict_state (line 26) | async def document_predict_state() -> list[CustomEvent]: function story_instructions (line 48) | async def story_instructions(ctx: RunContext[StateDeps[DocumentState]]) ... FILE: integrations/pydantic-ai/python/examples/server/api/shared_state.py class SkillLevel (line 15) | class SkillLevel(StrEnum): class SpecialPreferences (line 23) | class SpecialPreferences(StrEnum): class CookingTime (line 35) | class CookingTime(StrEnum): class Ingredient (line 45) | class Ingredient(BaseModel): class Recipe (line 56) | class Recipe(BaseModel): class RecipeSnapshot (line 79) | class RecipeSnapshot(BaseModel): function display_recipe (line 91) | async def display_recipe(recipe: Recipe) -> StateSnapshotEvent: function recipe_instructions (line 107) | async def recipe_instructions(ctx: RunContext[StateDeps[RecipeSnapshot]]... FILE: integrations/pydantic-ai/typescript/src/index.ts class PydanticAIAgent (line 3) | class PydanticAIAgent extends HttpAgent { method maxVersion (line 4) | public override get maxVersion(): string { FILE: integrations/server-starter-all-features/python/examples/example_server/__init__.py function main (line 40) | def main(): FILE: integrations/server-starter-all-features/python/examples/example_server/agentic_chat.py function agentic_chat_endpoint (line 29) | async def agentic_chat_endpoint(input_data: RunAgentInput, request: Requ... function send_text_message_events (line 84) | async def send_text_message_events(): function send_tool_result_message_events (line 126) | async def send_tool_result_message_events(): function send_tool_call_events (line 151) | async def send_tool_call_events(): function send_backend_tool_call_events (line 179) | async def send_backend_tool_call_events(messages): FILE: integrations/server-starter-all-features/python/examples/example_server/agentic_generative_ui.py function agentic_generative_ui_endpoint (line 20) | async def agentic_generative_ui_endpoint(input_data: RunAgentInput, requ... function send_state_events (line 57) | async def send_state_events(): FILE: integrations/server-starter-all-features/python/examples/example_server/backend_tool_rendering.py function backend_tool_rendering_endpoint (line 25) | async def backend_tool_rendering_endpoint(input_data: RunAgentInput, req... function send_tool_result_message_events (line 69) | async def send_tool_result_message_events(): function send_backend_tool_call_events (line 89) | async def send_backend_tool_call_events(messages: list): FILE: integrations/server-starter-all-features/python/examples/example_server/human_in_the_loop.py function human_in_the_loop_endpoint (line 24) | async def human_in_the_loop_endpoint(input_data: RunAgentInput, request:... function send_tool_call_events (line 70) | async def send_tool_call_events(): function send_text_message_events (line 122) | async def send_text_message_events(): FILE: integrations/server-starter-all-features/python/examples/example_server/predictive_state_updates.py function predictive_state_updates_endpoint (line 25) | async def predictive_state_updates_endpoint(input_data: RunAgentInput, r... function make_story (line 71) | def make_story(name: str) -> str: function send_tool_call_events (line 80) | async def send_tool_call_events(): function send_text_message_events (line 160) | async def send_text_message_events(): FILE: integrations/server-starter-all-features/python/examples/example_server/shared_state.py function shared_state_endpoint (line 16) | async def shared_state_endpoint(input_data: RunAgentInput, request: Requ... function send_state_events (line 53) | async def send_state_events(): FILE: integrations/server-starter-all-features/python/examples/example_server/tool_based_generative_ui.py function tool_based_generative_ui_endpoint (line 18) | async def tool_based_generative_ui_endpoint(input_data: RunAgentInput, r... FILE: integrations/server-starter-all-features/typescript/src/index.ts class ServerStarterAllFeaturesAgent (line 3) | class ServerStarterAllFeaturesAgent extends HttpAgent {} FILE: integrations/server-starter/python/examples/example_server/__init__.py function agentic_chat_endpoint (line 24) | async def agentic_chat_endpoint(input_data: RunAgentInput, request: Requ... function main (line 82) | def main(): FILE: integrations/server-starter/typescript/src/index.ts class ServerStarterAgent (line 3) | class ServerStarterAgent extends HttpAgent {} FILE: integrations/vercel-ai-sdk/typescript/src/index.ts type VercelUserContent (line 35) | type VercelUserContent = Extract["content"]; type VercelUserArrayContent (line 36) | type VercelUserArrayContent = Extract; type VercelUserPart (line 37) | type VercelUserPart = type ProcessedEvent (line 81) | type ProcessedEvent = type VercelAISDKAgentConfig (line 90) | interface VercelAISDKAgentConfig extends AgentConfig { class VercelAISDKAgent (line 96) | class VercelAISDKAgent extends AbstractAgent { method constructor (line 100) | constructor(private config: VercelAISDKAgentConfig) { method clone (line 108) | public clone() { method run (line 112) | run(input: RunAgentInput): Observable { function convertMessagesToVercelAISDKMessages (line 224) | function convertMessagesToVercelAISDKMessages( function convertJsonSchemaToZodSchema (line 280) | function convertJsonSchemaToZodSchema( function convertToolToVerlAISDKTools (line 316) | function convertToolToVerlAISDKTools( FILE: middlewares/a2a-middleware/examples/buildings_management.py class BuildingsManagementAgent (line 22) | class BuildingsManagementAgent: method invoke (line 25) | async def invoke(self, message: Message) -> str: class BuildingsManagementAgentExecutor (line 59) | class BuildingsManagementAgentExecutor(AgentExecutor): method __init__ (line 62) | def __init__(self): method execute (line 65) | async def execute( method cancel (line 73) | async def cancel( function main (line 79) | def main(): FILE: middlewares/a2a-middleware/examples/finance.py class FinanceAgent (line 21) | class FinanceAgent: method invoke (line 24) | async def invoke(self, message: Message) -> str: class FinanceAgentExecutor (line 58) | class FinanceAgentExecutor(AgentExecutor): method __init__ (line 61) | def __init__(self): method execute (line 64) | async def execute( method cancel (line 72) | async def cancel( function main (line 78) | def main(): FILE: middlewares/a2a-middleware/examples/it.py class ITAgent (line 22) | class ITAgent: method invoke (line 25) | async def invoke(self, message: Message) -> str: class ITAgentExecutor (line 59) | class ITAgentExecutor(AgentExecutor): method __init__ (line 62) | def __init__(self): method execute (line 65) | async def execute( method cancel (line 73) | async def cancel( function main (line 79) | def main(): FILE: middlewares/a2a-middleware/src/index.ts type A2AAgentConfig (line 28) | interface A2AAgentConfig extends AgentConfig { class A2AMiddlewareAgent (line 34) | class A2AMiddlewareAgent extends AbstractAgent { method constructor (line 40) | constructor(config: A2AAgentConfig) { method finishTextMessages (line 50) | finishTextMessages( method wrapStream (line 67) | wrapStream( method run (line 256) | run(input: RunAgentInput): Observable { method sendMessageToA2AAgent (line 293) | private async sendMessageToA2AAgent( method triggerNewRun (line 342) | private triggerNewRun( FILE: middlewares/a2ui-middleware/__tests__/a2ui-middleware.test.ts class MockAgent (line 25) | class MockAgent extends AbstractAgent { method constructor (line 29) | constructor(events: BaseEvent[] = []) { method run (line 34) | run(input: RunAgentInput): Observable { method setEvents (line 44) | setEvents(events: BaseEvent[]): void { function createRunAgentInput (line 52) | function createRunAgentInput(overrides: Partial = {}): Ru... function collectEvents (line 68) | async function collectEvents(observable: Observable): Promise... FILE: middlewares/a2ui-middleware/src/index.ts type ExtractObservableType (line 40) | type ExtractObservableType = T extends Observable ? U : never; type RunNextWithStateReturn (line 41) | type RunNextWithStateReturn = ReturnType; type EventWithState (line 42) | type EventWithState = ExtractObservableType; class A2UIMiddleware (line 48) | class A2UIMiddleware extends Middleware { method constructor (line 51) | constructor(config: A2UIMiddlewareConfig = {}) { method run (line 59) | run(input: RunAgentInput, next: AbstractAgent): Observable { method processUserAction (line 75) | private processUserAction(input: RunAgentInput): RunAgentInput { method formatUserActionResult (line 130) | private formatUserActionResult(action: A2UIUserAction): string { method injectTool (line 150) | private injectTool(input: RunAgentInput): RunAgentInput { method processStream (line 163) | private processStream(source: Observable): Observable<... method findPendingToolCalls (line 252) | private findPendingToolCalls(messages: Message[]): ToolCall[] { method processSendA2UIToolCall (line 285) | private processSendA2UIToolCall( method createA2UIActivityEvents (line 353) | private createA2UIActivityEvents( FILE: middlewares/a2ui-middleware/src/schema.ts constant A2UI_PROMPT (line 17) | const A2UI_PROMPT = `---BEGIN A2UI JSON SCHEMA--- function tryParseA2UIOperations (line 966) | function tryParseA2UIOperations(text: string): Array): stri... function extractSurfaceIds (line 1016) | function extractSurfaceIds( FILE: middlewares/a2ui-middleware/src/tools.ts constant SEND_A2UI_TOOL_NAME (line 6) | const SEND_A2UI_TOOL_NAME = "send_a2ui_json_to_client"; constant LOG_A2UI_EVENT_TOOL_NAME (line 11) | const LOG_A2UI_EVENT_TOOL_NAME = "log_a2ui_event"; constant SEND_A2UI_JSON_TOOL (line 18) | const SEND_A2UI_JSON_TOOL: Tool = { FILE: middlewares/a2ui-middleware/src/types.ts type A2UIMiddlewareConfig (line 4) | interface A2UIMiddlewareConfig { type A2UIUserAction (line 20) | interface A2UIUserAction { type A2UIForwardedProps (line 40) | interface A2UIForwardedProps { type A2UIMessageType (line 49) | type A2UIMessageType = "createSurface" | "updateComponents" | "updateDat... type A2UIMessage (line 54) | interface A2UIMessage { FILE: middlewares/mcp-apps-middleware/__tests__/mcp-apps-middleware.test.ts method constructor (line 59) | constructor(clientInfo: unknown, options: unknown) { method constructor (line 69) | constructor(url: URL) { method constructor (line 78) | constructor(url: URL) { FILE: middlewares/mcp-apps-middleware/__tests__/test-utils.ts type MockMCPClientInstance (line 10) | interface MockMCPClientInstance { function createMockMCPClient (line 23) | function createMockMCPClient(): MockMCPClientInstance { type MockMCPTool (line 38) | interface MockMCPTool { function createMCPToolWithUI (line 48) | function createMCPToolWithUI( function createMCPToolWithoutUI (line 64) | function createMCPToolWithoutUI(name: string, description?: string): Moc... function createMCPToolWithEmptyMeta (line 75) | function createMCPToolWithEmptyMeta(name: string): MockMCPTool { class MockAgent (line 87) | class MockAgent extends AbstractAgent { method constructor (line 91) | constructor(events: BaseEvent[] = []) { method run (line 96) | run(input: RunAgentInput): Observable { method setEvents (line 106) | setEvents(events: BaseEvent[]): void { class AsyncMockAgent (line 114) | class AsyncMockAgent extends AbstractAgent { method constructor (line 118) | constructor(events: BaseEvent[] = [], delayMs: number = 0) { method run (line 124) | run(_input: RunAgentInput): Observable { class ErrorMockAgent (line 155) | class ErrorMockAgent extends AbstractAgent { method constructor (line 158) | constructor(error: Error = new Error("Mock error")) { method run (line 163) | run(_input: RunAgentInput): Observable { function createRunAgentInput (line 173) | function createRunAgentInput(overrides: Partial = {}): Ru... function createRunStartedEvent (line 189) | function createRunStartedEvent( function createRunFinishedEvent (line 203) | function createRunFinishedEvent( function createTextMessageStartEvent (line 219) | function createTextMessageStartEvent(messageId: string = "msg-1"): BaseE... function createTextMessageContentEvent (line 230) | function createTextMessageContentEvent( function createTextMessageEndEvent (line 244) | function createTextMessageEndEvent(messageId: string = "msg-1"): BaseEve... function createToolCallStartEvent (line 254) | function createToolCallStartEvent( function createToolCallArgsEvent (line 270) | function createToolCallArgsEvent(toolCallId: string, delta: string): Bas... function createToolCallEndEvent (line 281) | function createToolCallEndEvent(toolCallId: string): BaseEvent { function createToolCallResultEvent (line 291) | function createToolCallResultEvent( function createAssistantMessageWithToolCalls (line 307) | function createAssistantMessageWithToolCalls( function createToolResultMessage (line 329) | function createToolResultMessage( function createAGUITool (line 345) | function createAGUITool(name: string, description?: string): Tool { function collectEvents (line 356) | async function collectEvents(observable: Observable): Promise... function createMCPToolCallResult (line 363) | function createMCPToolCallResult( function createMCPResourceResult (line 372) | function createMCPResourceResult( function waitForCondition (line 385) | async function waitForCondition( function randomId (line 402) | function randomId(): string { FILE: middlewares/mcp-apps-middleware/src/index.ts type ProxiedMCPRequest (line 29) | interface ProxiedMCPRequest { type ExtractObservableType (line 43) | type ExtractObservableType = T extends Observable ? U : never; type RunNextWithStateReturn (line 44) | type RunNextWithStateReturn = ReturnType; type EventWithState (line 45) | type EventWithState = ExtractObservableType; type UIToolInfo (line 50) | interface UIToolInfo { type MCPClientConfigHTTP (line 59) | interface MCPClientConfigHTTP { type MCPClientConfigSSE (line 68) | interface MCPClientConfigSSE { type MCPClientConfig (line 78) | type MCPClientConfig = MCPClientConfigHTTP | MCPClientConfigSSE; function getServerHash (line 84) | function getServerHash(config: MCPClientConfig): string { type MCPAppsMiddlewareConfig (line 96) | interface MCPAppsMiddlewareConfig { function hasUIResource (line 106) | function hasUIResource(tool: { _meta?: Record }): boole... type MCPAppTool (line 113) | interface MCPAppTool extends Tool { function convertMCPToolToAGUITool (line 121) | function convertMCPToolToAGUITool(mcpTool: { class MCPAppsMiddleware (line 146) | class MCPAppsMiddleware extends Middleware { method constructor (line 153) | constructor(config: MCPAppsMiddlewareConfig = {}) { method run (line 166) | run(input: RunAgentInput, next: AbstractAgent): Observable { method handleProxiedMCPRequest (line 210) | private handleProxiedMCPRequest( method executeMCPRequest (line 275) | private async executeMCPRequest( method processStream (line 337) | private processStream( method executeToolCall (line 454) | private async executeToolCall( method extractTextContent (line 497) | private extractTextContent(mcpResult: unknown): string { method findPendingToolCalls (line 518) | private findPendingToolCalls(messages: Message[]): ToolCall[] { method fetchUITools (line 546) | private async fetchUITools(): Promise { method fetchToolsFromServer (line 567) | private async fetchToolsFromServer( FILE: middlewares/middleware-starter/src/index.ts class MiddlewareStarterAgent (line 4) | class MiddlewareStarterAgent extends AbstractAgent { method run (line 5) | run(input: RunAgentInput): Observable { FILE: scripts/check-codeowners-auth.ts type CodeownersRule (line 3) | interface CodeownersRule { function isTeamMember (line 17) | async function isTeamMember( function isAuthorizedByOwners (line 40) | async function isAuthorizedByOwners( FILE: scripts/rewrite-python-preview-versions.py function _rewrite_key_in_section (line 38) | def _rewrite_key_in_section(text: str, section_re: str, key: str, value:... function rewrite_file (line 51) | def rewrite_file(path: Path, new_version: str) -> None: function verify_version (line 88) | def verify_version(path: Path, new_version: str) -> None: function main (line 109) | def main() -> None: FILE: sdks/community/dart/lib/ag_ui.dart function initAgUI (line 76) | void initAgUI() FILE: sdks/community/dart/lib/src/client/client.dart class AgUiClient (line 37) | class AgUiClient { method runAgent (line 68) | Stream runAgent( method runAgenticChat (line 87) | Stream runAgenticChat( method runHumanInTheLoop (line 97) | Stream runHumanInTheLoop( method runAgenticGenerativeUi (line 107) | Stream runAgenticGenerativeUi( method runToolBasedGenerativeUi (line 117) | Stream runToolBasedGenerativeUi( method runSharedState (line 127) | Stream runSharedState( method runPredictiveStateUpdates (line 137) | Stream runPredictiveStateUpdates( method _runAgentInternal (line 145) | Stream _runAgentInternal( method _sendWithCancellation (line 226) | Future _sendWithCancellation( method cancelRun (line 264) | Future cancelRun(String runId) method _transformSseStream (line 276) | Stream _transformSseStream( method sendRequest (line 320) | Future sendRequest( method _handleResponse (line 403) | T _handleResponse( method _validateRunAgentInput (line 431) | void _validateRunAgentInput(SimpleRunAgentInput input) method _generateRunId (line 448) | String _generateRunId() method _truncateBody (line 455) | String _truncateBody(String body, {int maxLength = 500}) method _buildHeaders (line 461) | Map _buildHeaders() method _closeStream (line 469) | Future _closeStream(String runId) method close (line 475) | Future close() class CancelToken (line 493) | class CancelToken { method cancel (line 500) | void cancel() class SimpleRunAgentInput (line 511) | class SimpleRunAgentInput { method toJson (line 534) | Map toJson() FILE: sdks/community/dart/lib/src/client/config.dart class AgUiClientConfig (line 16) | class AgUiClientConfig { method copyWith (line 49) | AgUiClientConfig copyWith({ FILE: sdks/community/dart/lib/src/client/errors.dart class AgUiError (line 2) | abstract class AgUiError implements Exception { method toString (line 19) | String toString() class TransportError (line 33) | class TransportError extends AgUiError { method toString (line 53) | String toString() class TimeoutError (line 76) | class TimeoutError extends AgUiError { method toString (line 92) | String toString() class CancellationError (line 106) | class CancellationError extends AgUiError { method toString (line 122) | String toString() class DecodingError (line 136) | class DecodingError extends AgUiError { method toString (line 156) | String toString() class ValidationError (line 173) | class ValidationError extends AgUiError { method toString (line 193) | String toString() class ProtocolViolationError (line 214) | class ProtocolViolationError extends AgUiError { method toString (line 234) | String toString() class ServerError (line 251) | class ServerError extends AgUiError { method toString (line 271) | String toString() type AgUiHttpException (line 288) | @Deprecated('Use TransportError instead') type AgUiConnectionException (line 291) | @Deprecated('Use TransportError instead') type AgUiTimeoutException (line 294) | @Deprecated('Use TimeoutError instead') type AgUiValidationException (line 297) | @Deprecated('Use ValidationError instead') type AgUiClientException (line 300) | @Deprecated('Use AgUiError instead') FILE: sdks/community/dart/lib/src/client/validators.dart class Validators (line 4) | class Validators { method requireNonEmpty (line 6) | void requireNonEmpty(String? value, String fieldName) method requireNonNull (line 18) | T requireNonNull(T? value, String fieldName) method validateUrl (line 31) | void validateUrl(String? url, String fieldName) method validateAgentId (line 65) | void validateAgentId(String? agentId) method validateRunId (line 90) | void validateRunId(String? runId) method validateThreadId (line 105) | void validateThreadId(String? threadId) method validateMessageContent (line 119) | void validateMessageContent(dynamic content) method validateTimeout (line 141) | void validateTimeout(Duration? timeout) method requireFields (line 166) | void requireFields(Map map, List requiredFields) method validateJson (line 180) | Map validateJson(dynamic json, String context) method validateEventType (line 203) | void validateEventType(String? eventType) method validateStatusCode (line 219) | void validateStatusCode(int? statusCode, String endpoint, [String? res... method validateSseEvent (line 242) | void validateSseEvent(Map? event) method validateEventSequence (line 263) | void validateEventSequence(String currentEvent, String? previousEvent,... method validateModel (line 298) | T validateModel( method validateModelList (line 319) | List validateModelList( FILE: sdks/community/dart/lib/src/encoder/client_codec.dart class Encoder (line 9) | class Encoder { method encodeRunAgentInput (line 13) | Map encodeRunAgentInput(SimpleRunAgentInput input) method encodeUserMessage (line 18) | Map encodeUserMessage(UserMessage message) method encodeToolResult (line 23) | Map encodeToolResult(ToolResult result) class Decoder (line 34) | class Decoder { class ToolResult (line 39) | class ToolResult { FILE: sdks/community/dart/lib/src/encoder/decoder.dart class EventDecoder (line 18) | class EventDecoder { method decode (line 25) | BaseEvent decode(String data) method decodeJson (line 51) | BaseEvent decodeJson(Map json) method decodeSSE (line 78) | BaseEvent decodeSSE(String sseMessage) method decodeBinary (line 120) | BaseEvent decodeBinary(Uint8List data) method validate (line 145) | bool validate(BaseEvent event) FILE: sdks/community/dart/lib/src/encoder/encoder.dart class EventEncoder (line 18) | class EventEncoder { method getContentType (line 29) | String getContentType() method encode (line 38) | String encode(BaseEvent event) method encodeSSE (line 49) | String encodeSSE(BaseEvent event) method encodeBinary (line 61) | Uint8List encodeBinary(BaseEvent event) method _encodeSSEAsBytes (line 72) | Uint8List _encodeSSEAsBytes(BaseEvent event) method _isProtobufAccepted (line 78) | bool _isProtobufAccepted(String acceptHeader) FILE: sdks/community/dart/lib/src/encoder/errors.dart class EncoderError (line 7) | class EncoderError extends AGUIError { method toString (line 21) | String toString() class DecodeError (line 34) | class DecodeError extends EncoderError { method toString (line 42) | String toString() class EncodeError (line 60) | class EncodeError extends EncoderError { method toString (line 68) | String toString() class ValidationError (line 81) | class ValidationError extends EncoderError { method toString (line 96) | String toString() FILE: sdks/community/dart/lib/src/encoder/stream_adapter.dart class EventStreamAdapter (line 19) | class EventStreamAdapter { method adaptJsonToEvents (line 40) | List adaptJsonToEvents(dynamic jsonData) method fromSseStream (line 92) | Stream fromSseStream( method fromRawSseStream (line 152) | Stream fromRawSseStream( method _processChunk (line 233) | void _processChunk( method filterByType (line 320) | Stream filterByType( method groupRelatedEvents (line 330) | Stream> groupRelatedEvents( method accumulateTextMessages (line 381) | Stream accumulateTextMessages( FILE: sdks/community/dart/lib/src/events/event_type.dart type EventType (line 5) | enum EventType { FILE: sdks/community/dart/lib/src/events/events.dart class BaseEvent (line 22) | sealed class BaseEvent extends AGUIModel with TypeDiscriminator { method toJson (line 96) | Map toJson() type TextMessageRole (line 106) | enum TextMessageRole { class TextMessageStartEvent (line 128) | final class TextMessageStartEvent extends BaseEvent { method toJson (line 151) | Map toJson() method copyWith (line 158) | TextMessageStartEvent copyWith({ class TextMessageContentEvent (line 174) | final class TextMessageContentEvent extends BaseEvent { method toJson (line 205) | Map toJson() method copyWith (line 212) | TextMessageContentEvent copyWith({ class TextMessageEndEvent (line 228) | final class TextMessageEndEvent extends BaseEvent { method toJson (line 246) | Map toJson() method copyWith (line 252) | TextMessageEndEvent copyWith({ class TextMessageChunkEvent (line 266) | final class TextMessageChunkEvent extends BaseEvent { method toJson (line 291) | Map toJson() method copyWith (line 299) | TextMessageChunkEvent copyWith({ class ThinkingStartEvent (line 321) | final class ThinkingStartEvent extends BaseEvent { method toJson (line 339) | Map toJson() method copyWith (line 345) | ThinkingStartEvent copyWith({ class ThinkingContentEvent (line 359) | final class ThinkingContentEvent extends BaseEvent { method toJson (line 387) | Map toJson() method copyWith (line 393) | ThinkingContentEvent copyWith({ class ThinkingEndEvent (line 407) | final class ThinkingEndEvent extends BaseEvent { method copyWith (line 421) | ThinkingEndEvent copyWith({ class ThinkingTextMessageStartEvent (line 433) | final class ThinkingTextMessageStartEvent extends BaseEvent { method copyWith (line 447) | ThinkingTextMessageStartEvent copyWith({ class ThinkingTextMessageContentEvent (line 459) | final class ThinkingTextMessageContentEvent extends BaseEvent { method toJson (line 487) | Map toJson() method copyWith (line 493) | ThinkingTextMessageContentEvent copyWith({ class ThinkingTextMessageEndEvent (line 507) | final class ThinkingTextMessageEndEvent extends BaseEvent { method copyWith (line 521) | ThinkingTextMessageEndEvent copyWith({ class ToolCallStartEvent (line 537) | final class ToolCallStartEvent extends BaseEvent { method toJson (line 561) | Map toJson() method copyWith (line 569) | ToolCallStartEvent copyWith({ class ToolCallArgsEvent (line 587) | final class ToolCallArgsEvent extends BaseEvent { method toJson (line 608) | Map toJson() method copyWith (line 615) | ToolCallArgsEvent copyWith({ class ToolCallEndEvent (line 631) | final class ToolCallEndEvent extends BaseEvent { method toJson (line 649) | Map toJson() method copyWith (line 655) | ToolCallEndEvent copyWith({ class ToolCallChunkEvent (line 669) | final class ToolCallChunkEvent extends BaseEvent { method toJson (line 696) | Map toJson() method copyWith (line 705) | ToolCallChunkEvent copyWith({ class ToolCallResultEvent (line 725) | final class ToolCallResultEvent extends BaseEvent { method toJson (line 752) | Map toJson() method copyWith (line 761) | ToolCallResultEvent copyWith({ class StateSnapshotEvent (line 785) | final class StateSnapshotEvent extends BaseEvent { method toJson (line 803) | Map toJson() method copyWith (line 809) | StateSnapshotEvent copyWith({ class StateDeltaEvent (line 823) | final class StateDeltaEvent extends BaseEvent { method toJson (line 841) | Map toJson() method copyWith (line 847) | StateDeltaEvent copyWith({ class MessagesSnapshotEvent (line 861) | final class MessagesSnapshotEvent extends BaseEvent { method toJson (line 882) | Map toJson() method copyWith (line 888) | MessagesSnapshotEvent copyWith({ class RawEvent (line 902) | final class RawEvent extends BaseEvent { method toJson (line 923) | Map toJson() method copyWith (line 930) | RawEvent copyWith({ class CustomEvent (line 946) | final class CustomEvent extends BaseEvent { method toJson (line 967) | Map toJson() method copyWith (line 974) | CustomEvent copyWith({ class RunStartedEvent (line 994) | final class RunStartedEvent extends BaseEvent { method toJson (line 1021) | Map toJson() method copyWith (line 1028) | RunStartedEvent copyWith({ class RunFinishedEvent (line 1044) | final class RunFinishedEvent extends BaseEvent { method toJson (line 1074) | Map toJson() method copyWith (line 1082) | RunFinishedEvent copyWith({ class RunErrorEvent (line 1100) | final class RunErrorEvent extends BaseEvent { method toJson (line 1121) | Map toJson() method copyWith (line 1128) | RunErrorEvent copyWith({ class StepStartedEvent (line 1144) | final class StepStartedEvent extends BaseEvent { method toJson (line 1166) | Map toJson() method copyWith (line 1172) | StepStartedEvent copyWith({ class StepFinishedEvent (line 1186) | final class StepFinishedEvent extends BaseEvent { method toJson (line 1208) | Map toJson() method copyWith (line 1214) | StepFinishedEvent copyWith({ FILE: sdks/community/dart/lib/src/sse/backoff_strategy.dart class BackoffStrategy (line 4) | abstract class BackoffStrategy { method nextDelay (line 6) | Duration nextDelay(int attempt) method reset (line 9) | void reset() class ExponentialBackoff (line 13) | class ExponentialBackoff implements BackoffStrategy { method nextDelay (line 31) | Duration nextDelay(int attempt) method reset (line 48) | void reset() class LegacyBackoffStrategy (line 57) | class LegacyBackoffStrategy implements BackoffStrategy { method nextDelayStateful (line 75) | Duration nextDelayStateful() method nextDelay (line 82) | Duration nextDelay(int attempt) method reset (line 85) | void reset() class ConstantBackoff (line 101) | class ConstantBackoff implements BackoffStrategy { method nextDelay (line 107) | Duration nextDelay(int attempt) method reset (line 110) | void reset() FILE: sdks/community/dart/lib/src/sse/sse_client.dart class SseClient (line 10) | class SseClient { method connect (line 43) | Stream connect( method parseStream (line 67) | Stream parseStream( method _connect (line 76) | Future _connect( method _resetIdleTimer (line 165) | void _resetIdleTimer() method _handleError (line 176) | void _handleError( method _handleDisconnection (line 193) | void _handleDisconnection( method _scheduleReconnection (line 211) | void _scheduleReconnection( method close (line 231) | Future close() FILE: sdks/community/dart/lib/src/sse/sse_message.dart class SseMessage (line 2) | class SseMessage { method toString (line 23) | String toString() FILE: sdks/community/dart/lib/src/sse/sse_parser.dart class SseParser (line 7) | class SseParser { method parseLines (line 18) | Stream parseLines(Stream lines) method parseBytes (line 34) | Stream parseBytes(Stream> bytes) method _processLine (line 54) | SseMessage? _processLine(String line) method _processField (line 85) | void _processField(String field, String value) method _dispatchEvent (line 116) | SseMessage? _dispatchEvent() method _resetBuffers (line 141) | void _resetBuffers() FILE: sdks/community/dart/lib/src/types/base.dart class AGUIModel (line 13) | abstract class AGUIModel { method toJson (line 17) | Map toJson() method toJsonString (line 20) | String toJsonString() method copyWith (line 24) | AGUIModel copyWith() class AGUIValidationError (line 40) | class AGUIValidationError implements Exception { method toString (line 54) | String toString() class AGUIError (line 65) | class AGUIError implements Exception { method toString (line 71) | String toString() class JsonDecoder (line 78) | class JsonDecoder { method requireField (line 80) | T requireField( method optionalField (line 129) | T? optionalField( method requireListField (line 166) | List requireListField( method optionalListField (line 192) | List? optionalListField( function snakeToCamel (line 220) | String snakeToCamel(String snake) function camelToSnake (line 231) | String camelToSnake(String camel) FILE: sdks/community/dart/lib/src/types/context.dart class Context (line 9) | class Context extends AGUIModel { method toJson (line 26) | Map toJson() method copyWith (line 32) | Context copyWith({ class RunAgentInput (line 44) | class RunAgentInput extends AGUIModel { method toJson (line 106) | Map toJson() method copyWith (line 117) | RunAgentInput copyWith({ class Run (line 139) | class Run extends AGUIModel { method toJson (line 180) | Map toJson() method copyWith (line 187) | Run copyWith({ type State (line 201) | typedef State = dynamic; FILE: sdks/community/dart/lib/src/types/message.dart type MessageRole (line 13) | enum MessageRole { class Message (line 41) | sealed class Message extends AGUIModel with TypeDiscriminator { method toJson (line 77) | Map toJson() class DeveloperMessage (line 88) | class DeveloperMessage extends Message { method copyWith (line 107) | DeveloperMessage copyWith({ class SystemMessage (line 123) | class SystemMessage extends Message { method copyWith (line 142) | SystemMessage copyWith({ class AssistantMessage (line 159) | class AssistantMessage extends Message { method toJson (line 186) | Map toJson() method copyWith (line 193) | AssistantMessage copyWith({ class UserMessage (line 211) | class UserMessage extends Message { method copyWith (line 230) | UserMessage copyWith({ class ToolMessage (line 247) | class ToolMessage extends Message { method toJson (line 281) | Map toJson() method copyWith (line 288) | ToolMessage copyWith({ FILE: sdks/community/dart/lib/src/types/tool.dart class FunctionCall (line 12) | class FunctionCall extends AGUIModel { method toJson (line 29) | Map toJson() method copyWith (line 35) | FunctionCall copyWith({ class ToolCall (line 50) | class ToolCall extends AGUIModel { method toJson (line 72) | Map toJson() method copyWith (line 79) | ToolCall copyWith({ class Tool (line 96) | class Tool extends AGUIModel { method toJson (line 116) | Map toJson() method copyWith (line 123) | Tool copyWith({ class ToolResult (line 137) | class ToolResult extends AGUIModel { method toJson (line 168) | Map toJson() method copyWith (line 175) | ToolResult copyWith({ FILE: sdks/community/dart/test/ag_ui_test.dart function main (line 4) | void main() FILE: sdks/community/dart/test/client/client_test.dart class MockStreamingClient (line 14) | class MockStreamingClient extends http.BaseClient { method send (line 20) | Future send(http.BaseRequest request) function main (line 25) | void main() function generateEvents (line 190) | Stream> generateEvents() FILE: sdks/community/dart/test/client/config_test.dart function main (line 5) | void main() FILE: sdks/community/dart/test/client/errors_test.dart function main (line 4) | void main() class TestError (line 191) | class TestError extends AgUiError { FILE: sdks/community/dart/test/client/http_endpoints_test.dart class MockStreamingClient (line 16) | class MockStreamingClient extends http.BaseClient { method send (line 22) | Future send(http.BaseRequest request) function main (line 27) | void main() function sendRequestForTesting (line 499) | Future sendRequestForTesting( class FixedBackoffStrategy (line 510) | class FixedBackoffStrategy implements BackoffStrategy { method nextDelay (line 516) | Duration nextDelay(int attempt) method reset (line 519) | void reset() FILE: sdks/community/dart/test/client/validators_test.dart function main (line 5) | void main() class TestModel (line 467) | class TestModel { FILE: sdks/community/dart/test/encoder/client_codec_test.dart function main (line 6) | void main() FILE: sdks/community/dart/test/encoder/decoder_test.dart function main (line 11) | void main() FILE: sdks/community/dart/test/encoder/encoder_test.dart function main (line 9) | void main() FILE: sdks/community/dart/test/encoder/errors_test.dart function main (line 4) | void main() FILE: sdks/community/dart/test/encoder/stream_adapter_test.dart function main (line 8) | void main() FILE: sdks/community/dart/test/events/event_test.dart function main (line 4) | void main() FILE: sdks/community/dart/test/events/event_type_test.dart function main (line 4) | void main() FILE: sdks/community/dart/test/integration/event_decoding_integration_test.dart function main (line 13) | void main() FILE: sdks/community/dart/test/integration/fixtures_integration_test.dart function main (line 13) | void main() function _extractSection (line 462) | String _extractSection(String content, String sectionName) FILE: sdks/community/dart/test/integration/helpers/test_helpers.dart class TestHelpers (line 8) | class TestHelpers { method createTestAgent (line 21) | AgUiClient createTestAgent({ method createTestInput (line 33) | SimpleRunAgentInput createTestInput({ method collectEvents (line 52) | Future> collectEvents( method validateEventSequence (line 90) | void validateEventSequence( method extractMessages (line 126) | List extractMessages(List events) method findToolCalls (line 140) | List findToolCalls(List messages) method saveTranscript (line 158) | Future saveTranscript( method _eventToJson (line 186) | Map _eventToJson(BaseEvent event) method _messageToJson (line 211) | Map _messageToJson(Message message) method runIntegrationTest (line 216) | void runIntegrationTest( method integrationGroup (line 229) | void integrationGroup( FILE: sdks/community/dart/test/sse/backoff_strategy_test.dart function main (line 4) | void main() FILE: sdks/community/dart/test/sse/sse_client_basic_test.dart function main (line 7) | void main() FILE: sdks/community/dart/test/sse/sse_client_stream_test.dart function main (line 7) | void main() FILE: sdks/community/dart/test/sse/sse_message_test.dart function main (line 4) | void main() FILE: sdks/community/dart/test/sse/sse_parser_test.dart function main (line 7) | void main() FILE: sdks/community/dart/test/types/base_test.dart class TestModel (line 7) | class TestModel extends AGUIModel { method toJson (line 14) | Map toJson() method copyWith (line 20) | TestModel copyWith({String? name, int? value}) class TestTypedModel (line 29) | class TestTypedModel extends AGUIModel with TypeDiscriminator { method toJson (line 38) | Map toJson() method copyWith (line 44) | TestTypedModel copyWith({String? data}) function main (line 49) | void main() FILE: sdks/community/dart/test/types/message_test.dart function main (line 4) | void main() FILE: sdks/community/dart/test/types/tool_context_test.dart function main (line 4) | void main() FILE: sdks/community/go/example/client/cmd/main.go function runTea (line 13) | func runTea(p *tea.Program, userInputCh chan string) error { function main (line 19) | func main() { FILE: sdks/community/go/example/client/internal/agent/chat.go function DefaultEndpoint (line 16) | func DefaultEndpoint() string { function Chat (line 20) | func Chat(ctx context.Context, inputMsg string, endpoint string, send fu... FILE: sdks/community/go/example/client/internal/event/parse.go function Parse (line 10) | func Parse(data []byte) (events.Event, error) { FILE: sdks/community/go/example/client/internal/message/message.go type Message (line 13) | type Message struct method Strings (line 17) | func (m *Message) Strings() []string { function NewMessage (line 21) | func NewMessage(event events.Event) *Message { function getMessageFromEvent (line 25) | func getMessageFromEvent(event events.Event) *Message { FILE: sdks/community/go/example/client/internal/ui/model.go type UIMessage (line 16) | type UIMessage struct method String (line 30) | func (m UIMessage) String() string { function NewUIMessage (line 22) | func NewUIMessage(role, content string) UIMessage { type Model (line 49) | type Model struct method updateViewportContent (line 59) | func (m *Model) updateViewportContent() { method Init (line 124) | func (m *Model) Init() tea.Cmd { method Update (line 128) | func (m *Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method textareaView (line 217) | func (m *Model) textareaView() string { method View (line 221) | func (m *Model) View() string { function getTextarea (line 84) | func getTextarea() textarea.Model { function InitialModel (line 107) | func InitialModel(userInput chan string) *Model { FILE: sdks/community/go/example/client/internal/ui/splash.go function getSplashScreen (line 21) | func getSplashScreen(width, height int) string { FILE: sdks/community/go/example/client/internal/ui/typing.go type tickMsg (line 9) | type tickMsg function tickCmd (line 11) | func tickCmd() tea.Cmd { function getTypingIndicator (line 17) | func getTypingIndicator(dots int) string { FILE: sdks/community/go/example/server/cmd/main.go function newErrorHandler (line 21) | func newErrorHandler() fiber.ErrorHandler { function registerRoutes (line 42) | func registerRoutes(app *fiber.App, cfg *config.Config) { function logConfig (line 62) | func logConfig(logger *logrus.Logger, cfg *config.Config) { function createApp (line 76) | func createApp(cfg *config.Config, logger *logrus.Logger) *fiber.App { function main (line 110) | func main() { FILE: sdks/community/go/example/server/internal/agentic/agentic.go function CallLLM (line 25) | func CallLLM(ctx context.Context, input string, tools []langchaingoTools... function ProcessInput (line 69) | func ProcessInput(ctx context.Context, w *bufio.Writer, sseWriter *sse.S... FILE: sdks/community/go/example/server/internal/agentic/agentic_integration_test.go function TestToolCalls (line 21) | func TestToolCalls(t *testing.T) { FILE: sdks/community/go/example/server/internal/agentic/handler.go type Handler (line 12) | type Handler struct method HandleText (line 30) | func (h *Handler) HandleText(ctx context.Context, text string) { method HandleLLMStart (line 37) | func (h *Handler) HandleLLMStart(ctx context.Context, prompts []string) { method HandleLLMGenerateContentStart (line 54) | func (h *Handler) HandleLLMGenerateContentStart(ctx context.Context, m... method HandleLLMGenerateContentEnd (line 81) | func (h *Handler) HandleLLMGenerateContentEnd(ctx context.Context, res... method HandleLLMError (line 94) | func (h *Handler) HandleLLMError(ctx context.Context, err error) { method HandleChainStart (line 111) | func (h *Handler) HandleChainStart(ctx context.Context, inputs map[str... method HandleChainEnd (line 122) | func (h *Handler) HandleChainEnd(ctx context.Context, outputs map[stri... method HandleChainError (line 133) | func (h *Handler) HandleChainError(ctx context.Context, err error) { method HandleToolStart (line 154) | func (h *Handler) HandleToolStart(ctx context.Context, input string) { method HandleToolEnd (line 177) | func (h *Handler) HandleToolEnd(ctx context.Context, output string) { method HandleToolError (line 196) | func (h *Handler) HandleToolError(ctx context.Context, err error) { method HandleAgentAction (line 215) | func (h *Handler) HandleAgentAction(ctx context.Context, action schema... method HandleAgentFinish (line 238) | func (h *Handler) HandleAgentFinish(ctx context.Context, finish schema... method HandleRetrieverStart (line 266) | func (h *Handler) HandleRetrieverStart(ctx context.Context, query stri... method HandleRetrieverEnd (line 279) | func (h *Handler) HandleRetrieverEnd(ctx context.Context, query string... method HandleStreamingFunc (line 291) | func (h *Handler) HandleStreamingFunc(ctx context.Context, chunk []byt... function NewHandler (line 22) | func NewHandler(returnChan chan<- string) *Handler { FILE: sdks/community/go/example/server/internal/config/config.go type Config (line 15) | type Config struct method LoadFromEnv (line 100) | func (c *Config) LoadFromEnv() error { method Validate (line 113) | func (c *Config) Validate() error { method GetLogLevel (line 155) | func (c *Config) GetLogLevel() slog.Level { method LoadFromFlags (line 164) | func (c *Config) LoadFromFlags() error { method LogSafeConfig (line 215) | func (c *Config) LogSafeConfig(logger *slog.Logger) { type envVar (line 40) | type envVar struct function getEnvHandlers (line 46) | func getEnvHandlers(c *Config) []envVar { constant DefaultHost (line 62) | DefaultHost = "0.0.0.0" constant DefaultPort (line 63) | DefaultPort = 8000 constant DefaultLogLevel (line 64) | DefaultLogLevel = "info" constant DefaultEnableSSE (line 65) | DefaultEnableSSE = true constant DefaultReadTimeout (line 66) | DefaultReadTimeout = 30 * time.Second constant DefaultWriteTimeout (line 67) | DefaultWriteTimeout = 30 * time.Second constant DefaultSSEKeepAlive (line 68) | DefaultSSEKeepAlive = 15 * time.Second constant DefaultStreamingChunkDelay (line 69) | DefaultStreamingChunkDelay = 200 * time.Millisecond function New (line 84) | func New() *Config { function LoadConfig (line 192) | func LoadConfig() (*Config, error) { FILE: sdks/community/go/example/server/internal/mcp/adapter.go type Adapter (line 13) | type Adapter struct method Close (line 35) | func (a *Adapter) Close() error { method Tools (line 39) | func (a *Adapter) Tools() ([]langchaingoTools.Tool, error) { function NewAdapter (line 18) | func NewAdapter(endpoint string) (*Adapter, error) { function getTransport (line 43) | func getTransport(endpoint string) (transport.Interface, error) { FILE: sdks/community/go/example/server/internal/mcp/server.go constant DefaultPort (line 12) | DefaultPort = 3217 type Server (line 14) | type Server struct method Start (line 59) | func (s *Server) Start() error { method Shutdown (line 64) | func (s *Server) Shutdown(ctx context.Context) error { function NewServer (line 19) | func NewServer(port int) (*Server, error) { type LanguageOptions (line 68) | type LanguageOptions struct function languageChoiceHandler (line 75) | func languageChoiceHandler(ctx context.Context, request mcp.CallToolRequ... FILE: sdks/community/go/example/server/internal/routes/routes.go type AgenticInput (line 17) | type AgenticInput struct function AgenticHandler (line 28) | func AgenticHandler(cfg *config.Config) fiber.Handler { function streamAgenticEvents (line 76) | func streamAgenticEvents(reqCtx context.Context, w *bufio.Writer, sseWri... FILE: sdks/community/go/pkg/client/sse/client.go type Config (line 18) | type Config struct type Client (line 29) | type Client struct method Stream (line 87) | func (c *Client) Stream(opts StreamOptions) (<-chan Frame, <-chan erro... method stream (line 92) | func (c *Client) stream(opts StreamOptions) (<-chan Frame, <-chan erro... method readStream (line 181) | func (c *Client) readStream(ctx context.Context, resp *http.Response, ... method Close (line 307) | func (c *Client) Close() error { type Frame (line 35) | type Frame struct type StreamOptions (line 40) | type StreamOptions struct function NewClient (line 46) | func NewClient(config Config) *Client { FILE: sdks/community/go/pkg/client/sse/client_stream_test.go function newTestRunAgentInput (line 21) | func newTestRunAgentInput() types.RunAgentInput { function TestStream (line 33) | func TestStream(t *testing.T) { function TestReadStream (line 504) | func TestReadStream(t *testing.T) { type errorReader (line 633) | type errorReader struct method Read (line 639) | func (r *errorReader) Read(p []byte) (int, error) { function TestReadStreamWithErrors (line 651) | func TestReadStreamWithErrors(t *testing.T) { function BenchmarkStream (line 679) | func BenchmarkStream(b *testing.B) { function BenchmarkReadStream (line 725) | func BenchmarkReadStream(b *testing.B) { FILE: sdks/community/go/pkg/client/sse/client_test.go function TestNewClient (line 8) | func TestNewClient(t *testing.T) { function TestClientClose (line 359) | func TestClientClose(t *testing.T) { FILE: sdks/community/go/pkg/core/events/activity_events.go type ActivitySnapshotEvent (line 9) | type ActivitySnapshotEvent struct method WithReplace (line 30) | func (e *ActivitySnapshotEvent) WithReplace(replace bool) *ActivitySna... method Validate (line 36) | func (e *ActivitySnapshotEvent) Validate() error { method ToJSON (line 57) | func (e *ActivitySnapshotEvent) ToJSON() ([]byte, error) { function NewActivitySnapshotEvent (line 18) | func NewActivitySnapshotEvent(messageID, activityType string, content an... type ActivityDeltaEvent (line 62) | type ActivityDeltaEvent struct method Validate (line 80) | func (e *ActivityDeltaEvent) Validate() error { method ToJSON (line 107) | func (e *ActivityDeltaEvent) ToJSON() ([]byte, error) { function NewActivityDeltaEvent (line 70) | func NewActivityDeltaEvent(messageID, activityType string, patch []JSONP... FILE: sdks/community/go/pkg/core/events/activity_events_test.go function TestActivitySnapshotEventBasics (line 11) | func TestActivitySnapshotEventBasics(t *testing.T) { function TestActivitySnapshotEventValidationAndJSON (line 28) | func TestActivitySnapshotEventValidationAndJSON(t *testing.T) { function TestActivitySnapshotEvent_MissingActivityType (line 60) | func TestActivitySnapshotEvent_MissingActivityType(t *testing.T) { function TestActivityDeltaEventValidationAndJSON (line 66) | func TestActivityDeltaEventValidationAndJSON(t *testing.T) { function TestActivityDeltaEvent_MissingActivityType (line 105) | func TestActivityDeltaEvent_MissingActivityType(t *testing.T) { FILE: sdks/community/go/pkg/core/events/additional_events_test.go function TestBaseEventMethods (line 12) | func TestBaseEventMethods(t *testing.T) { function TestTextMessageChunkEvent (line 62) | func TestTextMessageChunkEvent(t *testing.T) { function TestToolCallChunkEvent (line 114) | func TestToolCallChunkEvent(t *testing.T) { function TestToolCallResultEvent (line 193) | func TestToolCallResultEvent(t *testing.T) { function TestAutoIDGeneration (line 241) | func TestAutoIDGeneration(t *testing.T) { function TestOptionalEventCreators (line 334) | func TestOptionalEventCreators(t *testing.T) { function TestRunFinishedEvent_WithResult (line 396) | func TestRunFinishedEvent_WithResult(t *testing.T) { function TestStateDeltaEvent_ToJSON (line 416) | func TestStateDeltaEvent_ToJSON(t *testing.T) { function TestMessagesSnapshotEvent_ToJSON (line 433) | func TestMessagesSnapshotEvent_ToJSON(t *testing.T) { function TestRawEvent_ToJSON (line 454) | func TestRawEvent_ToJSON(t *testing.T) { function TestRunErrorEvent_ToJSON (line 471) | func TestRunErrorEvent_ToJSON(t *testing.T) { function TestStepEvents_ToJSON (line 490) | func TestStepEvents_ToJSON(t *testing.T) { function TestTextMessageEndEvent_ToJSON (line 520) | func TestTextMessageEndEvent_ToJSON(t *testing.T) { function TestToolCallArgsEvent_ToJSON (line 534) | func TestToolCallArgsEvent_ToJSON(t *testing.T) { function TestToolCallEndEvent_ToJSON (line 549) | func TestToolCallEndEvent_ToJSON(t *testing.T) { FILE: sdks/community/go/pkg/core/events/custom_events.go type RawEvent (line 9) | type RawEvent struct method Validate (line 40) | func (e *RawEvent) Validate() error { method ToJSON (line 53) | func (e *RawEvent) ToJSON() ([]byte, error) { function NewRawEvent (line 16) | func NewRawEvent(event any, options ...RawEventOption) *RawEvent { type RawEventOption (line 30) | type RawEventOption function WithSource (line 33) | func WithSource(source string) RawEventOption { type CustomEvent (line 58) | type CustomEvent struct method Validate (line 89) | func (e *CustomEvent) Validate() error { method ToJSON (line 102) | func (e *CustomEvent) ToJSON() ([]byte, error) { function NewCustomEvent (line 65) | func NewCustomEvent(name string, options ...CustomEventOption) *CustomEv... type CustomEventOption (line 79) | type CustomEventOption function WithValue (line 82) | func WithValue(value any) CustomEventOption { FILE: sdks/community/go/pkg/core/events/decoder.go type EventDecoder (line 11) | type EventDecoder struct method DecodeEvent (line 24) | func (ed *EventDecoder) DecodeEvent(eventName string, data []byte) (Ev... function NewEventDecoder (line 16) | func NewEventDecoder(logger *logrus.Logger) *EventDecoder { FILE: sdks/community/go/pkg/core/events/decoder_test.go function TestEventDecoder (line 11) | func TestEventDecoder(t *testing.T) { FILE: sdks/community/go/pkg/core/events/events.go type EventType (line 10) | type EventType constant EventTypeTextMessageStart (line 14) | EventTypeTextMessageStart EventType = "TEXT_MESSAGE_START" constant EventTypeTextMessageContent (line 15) | EventTypeTextMessageContent EventType = "TEXT_MESSAGE_CONTENT" constant EventTypeTextMessageEnd (line 16) | EventTypeTextMessageEnd EventType = "TEXT_MESSAGE_END" constant EventTypeTextMessageChunk (line 17) | EventTypeTextMessageChunk EventType = "TEXT_MESSAGE_CHUNK" constant EventTypeToolCallStart (line 18) | EventTypeToolCallStart EventType = "TOOL_CALL_START" constant EventTypeToolCallArgs (line 19) | EventTypeToolCallArgs EventType = "TOOL_CALL_ARGS" constant EventTypeToolCallEnd (line 20) | EventTypeToolCallEnd EventType = "TOOL_CALL_END" constant EventTypeToolCallChunk (line 21) | EventTypeToolCallChunk EventType = "TOOL_CALL_CHUNK" constant EventTypeToolCallResult (line 22) | EventTypeToolCallResult EventType = "TOOL_CALL_RESULT" constant EventTypeStateSnapshot (line 23) | EventTypeStateSnapshot EventType = "STATE_SNAPSHOT" constant EventTypeStateDelta (line 24) | EventTypeStateDelta EventType = "STATE_DELTA" constant EventTypeMessagesSnapshot (line 25) | EventTypeMessagesSnapshot EventType = "MESSAGES_SNAPSHOT" constant EventTypeActivitySnapshot (line 26) | EventTypeActivitySnapshot EventType = "ACTIVITY_SNAPSHOT" constant EventTypeActivityDelta (line 27) | EventTypeActivityDelta EventType = "ACTIVITY_DELTA" constant EventTypeRaw (line 28) | EventTypeRaw EventType = "RAW" constant EventTypeCustom (line 29) | EventTypeCustom EventType = "CUSTOM" constant EventTypeRunStarted (line 30) | EventTypeRunStarted EventType = "RUN_STARTED" constant EventTypeRunFinished (line 31) | EventTypeRunFinished EventType = "RUN_FINISHED" constant EventTypeRunError (line 32) | EventTypeRunError EventType = "RUN_ERROR" constant EventTypeStepStarted (line 33) | EventTypeStepStarted EventType = "STEP_STARTED" constant EventTypeStepFinished (line 34) | EventTypeStepFinished EventType = "STEP_FINISHED" constant EventTypeThinkingStart (line 40) | EventTypeThinkingStart EventType = "THINKING_START" constant EventTypeThinkingEnd (line 43) | EventTypeThinkingEnd EventType = "THINKING_END" constant EventTypeThinkingTextMessageStart (line 46) | EventTypeThinkingTextMessageStart EventType = "THINKING_TEXT_MESSAGE_START" constant EventTypeThinkingTextMessageContent (line 49) | EventTypeThinkingTextMessageContent EventType = "THINKING_TEXT_MESSAGE_C... constant EventTypeThinkingTextMessageEnd (line 52) | EventTypeThinkingTextMessageEnd EventType = "THINKING_TEXT_MESSAGE_END" constant EventTypeReasoningStart (line 56) | EventTypeReasoningStart EventType = "REASONING_START" constant EventTypeReasoningMessageStart (line 58) | EventTypeReasoningMessageStart EventType = "REASONING_MESSAGE_START" constant EventTypeReasoningMessageContent (line 60) | EventTypeReasoningMessageContent EventType = "REASONING_MESSAGE_CONT... constant EventTypeReasoningMessageEnd (line 62) | EventTypeReasoningMessageEnd EventType = "REASONING_MESSAGE_END" constant EventTypeReasoningMessageChunk (line 64) | EventTypeReasoningMessageChunk EventType = "REASONING_MESSAGE_CHUNK" constant EventTypeReasoningEnd (line 66) | EventTypeReasoningEnd EventType = "REASONING_END" constant EventTypeReasoningEncryptedValue (line 68) | EventTypeReasoningEncryptedValue EventType = "REASONING_ENCRYPTED_VA... constant EventTypeUnknown (line 71) | EventTypeUnknown EventType = "UNKNOWN" type Event (line 112) | type Event interface type BaseEvent (line 139) | type BaseEvent struct method Type (line 146) | func (b *BaseEvent) Type() EventType { method Timestamp (line 151) | func (b *BaseEvent) Timestamp() *int64 { method SetTimestamp (line 156) | func (b *BaseEvent) SetTimestamp(timestamp int64) { method ID (line 161) | func (b *BaseEvent) ID() string { method ToJSON (line 170) | func (b *BaseEvent) ToJSON() ([]byte, error) { method GetBaseEvent (line 187) | func (b *BaseEvent) GetBaseEvent() *BaseEvent { method ThreadID (line 192) | func (b *BaseEvent) ThreadID() string { method RunID (line 197) | func (b *BaseEvent) RunID() string { method Validate (line 211) | func (b *BaseEvent) Validate() error { function NewBaseEvent (line 202) | func NewBaseEvent(eventType EventType) *BaseEvent { function isValidEventType (line 224) | func isValidEventType(eventType EventType) bool { function ValidateSequence (line 229) | func ValidateSequence(events []Event) error { function EventFromJSON (line 434) | func EventFromJSON(data []byte) (Event, error) { FILE: sdks/community/go/pkg/core/events/events_test.go function TestBaseEvent (line 12) | func TestBaseEvent(t *testing.T) { function TestRunEvents (line 45) | func TestRunEvents(t *testing.T) { function TestMessageEvents (line 132) | func TestMessageEvents(t *testing.T) { function TestToolEvents (line 189) | func TestToolEvents(t *testing.T) { function TestStateEvents (line 247) | func TestStateEvents(t *testing.T) { function TestActivityEvents (line 394) | func TestActivityEvents(t *testing.T) { function TestCustomEvents (line 442) | func TestCustomEvents(t *testing.T) { function TestMessageSerialization (line 476) | func TestMessageSerialization(t *testing.T) { function TestEventSequenceValidation (line 525) | func TestEventSequenceValidation(t *testing.T) { function TestJSONSerialization (line 652) | func TestJSONSerialization(t *testing.T) { function strPtr (line 705) | func strPtr(s string) *string { FILE: sdks/community/go/pkg/core/events/id_utils.go type IDGenerator (line 11) | type IDGenerator interface type DefaultIDGenerator (line 29) | type DefaultIDGenerator struct method GenerateRunID (line 37) | func (g *DefaultIDGenerator) GenerateRunID() string { method GenerateMessageID (line 42) | func (g *DefaultIDGenerator) GenerateMessageID() string { method GenerateToolCallID (line 47) | func (g *DefaultIDGenerator) GenerateToolCallID() string { method GenerateThreadID (line 52) | func (g *DefaultIDGenerator) GenerateThreadID() string { method GenerateStepID (line 57) | func (g *DefaultIDGenerator) GenerateStepID() string { function NewDefaultIDGenerator (line 32) | func NewDefaultIDGenerator() *DefaultIDGenerator { type TimestampIDGenerator (line 62) | type TimestampIDGenerator struct method GenerateRunID (line 72) | func (g *TimestampIDGenerator) GenerateRunID() string { method GenerateMessageID (line 77) | func (g *TimestampIDGenerator) GenerateMessageID() string { method GenerateToolCallID (line 82) | func (g *TimestampIDGenerator) GenerateToolCallID() string { method GenerateThreadID (line 87) | func (g *TimestampIDGenerator) GenerateThreadID() string { method GenerateStepID (line 92) | func (g *TimestampIDGenerator) GenerateStepID() string { method generateTimestampID (line 97) | func (g *TimestampIDGenerator) generateTimestampID(typePrefix string) ... function NewTimestampIDGenerator (line 67) | func NewTimestampIDGenerator(prefix string) *TimestampIDGenerator { function SetDefaultIDGenerator (line 111) | func SetDefaultIDGenerator(generator IDGenerator) { function GetDefaultIDGenerator (line 116) | func GetDefaultIDGenerator() IDGenerator { function GenerateRunID (line 123) | func GenerateRunID() string { function GenerateMessageID (line 128) | func GenerateMessageID() string { function GenerateToolCallID (line 133) | func GenerateToolCallID() string { function GenerateThreadID (line 138) | func GenerateThreadID() string { function GenerateStepID (line 143) | func GenerateStepID() string { FILE: sdks/community/go/pkg/core/events/id_utils_test.go function TestDefaultIDGenerator (line 12) | func TestDefaultIDGenerator(t *testing.T) { function TestTimestampIDGenerator (line 79) | func TestTimestampIDGenerator(t *testing.T) { function TestGlobalIDGenerator (line 194) | func TestGlobalIDGenerator(t *testing.T) { FILE: sdks/community/go/pkg/core/events/message_events.go type TextMessageStartEvent (line 9) | type TextMessageStartEvent struct method Validate (line 49) | func (e *TextMessageStartEvent) Validate() error { method ToJSON (line 62) | func (e *TextMessageStartEvent) ToJSON() ([]byte, error) { function NewTextMessageStartEvent (line 16) | func NewTextMessageStartEvent(messageID string, options ...TextMessageSt... type TextMessageStartOption (line 30) | type TextMessageStartOption function WithRole (line 33) | func WithRole(role string) TextMessageStartOption { function WithAutoMessageID (line 40) | func WithAutoMessageID() TextMessageStartOption { type TextMessageContentEvent (line 67) | type TextMessageContentEvent struct method Validate (line 110) | func (e *TextMessageContentEvent) Validate() error { method ToJSON (line 127) | func (e *TextMessageContentEvent) ToJSON() ([]byte, error) { function NewTextMessageContentEvent (line 74) | func NewTextMessageContentEvent(messageID, delta string) *TextMessageCon... function NewTextMessageContentEventWithOptions (line 83) | func NewTextMessageContentEventWithOptions(messageID, delta string, opti... type TextMessageContentOption (line 98) | type TextMessageContentOption function WithAutoMessageIDContent (line 101) | func WithAutoMessageIDContent() TextMessageContentOption { type TextMessageEndEvent (line 132) | type TextMessageEndEvent struct method Validate (line 172) | func (e *TextMessageEndEvent) Validate() error { method ToJSON (line 185) | func (e *TextMessageEndEvent) ToJSON() ([]byte, error) { function NewTextMessageEndEvent (line 138) | func NewTextMessageEndEvent(messageID string) *TextMessageEndEvent { function NewTextMessageEndEventWithOptions (line 146) | func NewTextMessageEndEventWithOptions(messageID string, options ...Text... type TextMessageEndOption (line 160) | type TextMessageEndOption function WithAutoMessageIDEnd (line 163) | func WithAutoMessageIDEnd() TextMessageEndOption { type TextMessageChunkEvent (line 190) | type TextMessageChunkEvent struct method WithChunkMessageID (line 208) | func (e *TextMessageChunkEvent) WithChunkMessageID(id string) *TextMes... method WithChunkRole (line 214) | func (e *TextMessageChunkEvent) WithChunkRole(role string) *TextMessag... method WithChunkDelta (line 220) | func (e *TextMessageChunkEvent) WithChunkDelta(delta string) *TextMess... method Validate (line 226) | func (e *TextMessageChunkEvent) Validate() error { method ToJSON (line 240) | func (e *TextMessageChunkEvent) ToJSON() ([]byte, error) { function NewTextMessageChunkEvent (line 198) | func NewTextMessageChunkEvent(messageID, role, delta *string) *TextMessa... FILE: sdks/community/go/pkg/core/events/reasoning_events.go type ReasoningStartEvent (line 9) | type ReasoningStartEvent struct method Validate (line 23) | func (e *ReasoningStartEvent) Validate() error { method ToJSON (line 34) | func (e *ReasoningStartEvent) ToJSON() ([]byte, error) { function NewReasoningStartEvent (line 15) | func NewReasoningStartEvent(messageID string) *ReasoningStartEvent { type ReasoningEndEvent (line 39) | type ReasoningEndEvent struct method Validate (line 53) | func (e *ReasoningEndEvent) Validate() error { method ToJSON (line 64) | func (e *ReasoningEndEvent) ToJSON() ([]byte, error) { function NewReasoningEndEvent (line 45) | func NewReasoningEndEvent(messageID string) *ReasoningEndEvent { type ReasoningMessageStartEvent (line 69) | type ReasoningMessageStartEvent struct method Validate (line 85) | func (e *ReasoningMessageStartEvent) Validate() error { method ToJSON (line 99) | func (e *ReasoningMessageStartEvent) ToJSON() ([]byte, error) { function NewReasoningMessageStartEvent (line 76) | func NewReasoningMessageStartEvent(messageID, role string) *ReasoningMes... type ReasoningMessageContentEvent (line 104) | type ReasoningMessageContentEvent struct method Validate (line 120) | func (e *ReasoningMessageContentEvent) Validate() error { method ToJSON (line 134) | func (e *ReasoningMessageContentEvent) ToJSON() ([]byte, error) { function NewReasoningMessageContentEvent (line 111) | func NewReasoningMessageContentEvent(messageID, delta string) *Reasoning... type ReasoningMessageEndEvent (line 139) | type ReasoningMessageEndEvent struct method Validate (line 153) | func (e *ReasoningMessageEndEvent) Validate() error { method ToJSON (line 164) | func (e *ReasoningMessageEndEvent) ToJSON() ([]byte, error) { function NewReasoningMessageEndEvent (line 145) | func NewReasoningMessageEndEvent(messageID string) *ReasoningMessageEndE... type ReasoningMessageChunkEvent (line 169) | type ReasoningMessageChunkEvent struct method WithChunkMessageID (line 185) | func (e *ReasoningMessageChunkEvent) WithChunkMessageID(id string) *Re... method WithChunkDelta (line 191) | func (e *ReasoningMessageChunkEvent) WithChunkDelta(delta string) *Rea... method Validate (line 197) | func (e *ReasoningMessageChunkEvent) Validate() error { method ToJSON (line 214) | func (e *ReasoningMessageChunkEvent) ToJSON() ([]byte, error) { function NewReasoningMessageChunkEvent (line 176) | func NewReasoningMessageChunkEvent(messageID, delta *string) *ReasoningM... type ReasoningEncryptedValueSubtype (line 219) | type ReasoningEncryptedValueSubtype constant ReasoningEncryptedValueSubtypeToolCall (line 223) | ReasoningEncryptedValueSubtypeToolCall ReasoningEncryptedValueSubtype = ... constant ReasoningEncryptedValueSubtypeMessage (line 225) | ReasoningEncryptedValueSubtypeMessage ReasoningEncryptedValueSubtype = ... type ReasoningEncryptedValueEvent (line 229) | type ReasoningEncryptedValueEvent struct method Validate (line 247) | func (e *ReasoningEncryptedValueEvent) Validate() error { method ToJSON (line 268) | func (e *ReasoningEncryptedValueEvent) ToJSON() ([]byte, error) { function NewReasoningEncryptedValueEvent (line 237) | func NewReasoningEncryptedValueEvent(subtype ReasoningEncryptedValueSubt... FILE: sdks/community/go/pkg/core/events/run_events.go type RunStartedEvent (line 9) | type RunStartedEvent struct method Validate (line 61) | func (e *RunStartedEvent) Validate() error { method ThreadID (line 78) | func (e *RunStartedEvent) ThreadID() string { method RunID (line 83) | func (e *RunStartedEvent) RunID() string { method ToJSON (line 88) | func (e *RunStartedEvent) ToJSON() ([]byte, error) { function NewRunStartedEvent (line 16) | func NewRunStartedEvent(threadID, runID string) *RunStartedEvent { function NewRunStartedEventWithOptions (line 25) | func NewRunStartedEventWithOptions(threadID, runID string, options ...Ru... type RunStartedOption (line 40) | type RunStartedOption function WithAutoRunID (line 43) | func WithAutoRunID() RunStartedOption { function WithAutoThreadID (line 52) | func WithAutoThreadID() RunStartedOption { type RunFinishedEvent (line 93) | type RunFinishedEvent struct method Validate (line 153) | func (e *RunFinishedEvent) Validate() error { method ThreadID (line 170) | func (e *RunFinishedEvent) ThreadID() string { method RunID (line 175) | func (e *RunFinishedEvent) RunID() string { method ToJSON (line 180) | func (e *RunFinishedEvent) ToJSON() ([]byte, error) { function NewRunFinishedEvent (line 101) | func NewRunFinishedEvent(threadID, runID string) *RunFinishedEvent { function NewRunFinishedEventWithOptions (line 110) | func NewRunFinishedEventWithOptions(threadID, runID string, options ...R... type RunFinishedOption (line 125) | type RunFinishedOption function WithAutoRunIDFinished (line 128) | func WithAutoRunIDFinished() RunFinishedOption { function WithAutoThreadIDFinished (line 137) | func WithAutoThreadIDFinished() RunFinishedOption { function WithResult (line 146) | func WithResult(result interface{}) RunFinishedOption { type RunErrorEvent (line 185) | type RunErrorEvent struct method Validate (line 233) | func (e *RunErrorEvent) Validate() error { method RunID (line 246) | func (e *RunErrorEvent) RunID() string { method ToJSON (line 251) | func (e *RunErrorEvent) ToJSON() ([]byte, error) { function NewRunErrorEvent (line 193) | func NewRunErrorEvent(message string, options ...RunErrorOption) *RunErr... type RunErrorOption (line 207) | type RunErrorOption function WithErrorCode (line 210) | func WithErrorCode(code string) RunErrorOption { function WithRunID (line 217) | func WithRunID(runID string) RunErrorOption { function WithAutoRunIDError (line 224) | func WithAutoRunIDError() RunErrorOption { type StepStartedEvent (line 256) | type StepStartedEvent struct method Validate (line 296) | func (e *StepStartedEvent) Validate() error { method ToJSON (line 309) | func (e *StepStartedEvent) ToJSON() ([]byte, error) { function NewStepStartedEvent (line 262) | func NewStepStartedEvent(stepName string) *StepStartedEvent { function NewStepStartedEventWithOptions (line 270) | func NewStepStartedEventWithOptions(stepName string, options ...StepStar... type StepStartedOption (line 284) | type StepStartedOption function WithAutoStepName (line 287) | func WithAutoStepName() StepStartedOption { type StepFinishedEvent (line 314) | type StepFinishedEvent struct method Validate (line 354) | func (e *StepFinishedEvent) Validate() error { method ToJSON (line 367) | func (e *StepFinishedEvent) ToJSON() ([]byte, error) { function NewStepFinishedEvent (line 320) | func NewStepFinishedEvent(stepName string) *StepFinishedEvent { function NewStepFinishedEventWithOptions (line 328) | func NewStepFinishedEventWithOptions(stepName string, options ...StepFin... type StepFinishedOption (line 342) | type StepFinishedOption function WithAutoStepNameFinished (line 345) | func WithAutoStepNameFinished() StepFinishedOption { FILE: sdks/community/go/pkg/core/events/state_events.go constant RoleActivity (line 21) | RoleActivity = "activity" type StateSnapshotEvent (line 30) | type StateSnapshotEvent struct method Validate (line 44) | func (e *StateSnapshotEvent) Validate() error { method ToJSON (line 57) | func (e *StateSnapshotEvent) ToJSON() ([]byte, error) { function NewStateSnapshotEvent (line 36) | func NewStateSnapshotEvent(snapshot any) *StateSnapshotEvent { type JSONPatchOperation (line 62) | type JSONPatchOperation struct type StateDeltaEvent (line 70) | type StateDeltaEvent struct method Validate (line 84) | func (e *StateDeltaEvent) Validate() error { method ToJSON (line 129) | func (e *StateDeltaEvent) ToJSON() ([]byte, error) { function NewStateDeltaEvent (line 76) | func NewStateDeltaEvent(delta []JSONPatchOperation) *StateDeltaEvent { function validateJSONPatchOperation (line 104) | func validateJSONPatchOperation(op JSONPatchOperation) error { type MessagesSnapshotEvent (line 134) | type MessagesSnapshotEvent struct method Validate (line 148) | func (e *MessagesSnapshotEvent) Validate() error { method ToJSON (line 259) | func (e *MessagesSnapshotEvent) ToJSON() ([]byte, error) { function NewMessagesSnapshotEvent (line 140) | func NewMessagesSnapshotEvent(messages []Message) *MessagesSnapshotEvent { function validateMessage (line 164) | func validateMessage(msg Message) error { function validateToolCall (line 242) | func validateToolCall(toolCall ToolCall) error { FILE: sdks/community/go/pkg/core/events/state_events_test.go function TestMessageMarshalUnmarshal_Text (line 12) | func TestMessageMarshalUnmarshal_Text(t *testing.T) { function TestMessageMarshalUnmarshal_Activity (line 33) | func TestMessageMarshalUnmarshal_Activity(t *testing.T) { function TestMessageMarshalUnmarshal_Reasoning (line 58) | func TestMessageMarshalUnmarshal_Reasoning(t *testing.T) { function TestValidateMessage_NonActivityRejectsActivityFields (line 80) | func TestValidateMessage_NonActivityRejectsActivityFields(t *testing.T) { function TestValidateMessage_ActivityRequiresFields (line 92) | func TestValidateMessage_ActivityRequiresFields(t *testing.T) { function TestValidateMessage_UserAllowsTextOrMultimodal (line 114) | func TestValidateMessage_UserAllowsTextOrMultimodal(t *testing.T) { function TestValidateMessage_AssistantContentMustBeStringWhenPresent (line 133) | func TestValidateMessage_AssistantContentMustBeStringWhenPresent(t *test... function TestValidateMessage_ReasoningRequiresStringContent (line 145) | func TestValidateMessage_ReasoningRequiresStringContent(t *testing.T) { function TestValidateMessage_ToolRequiresToolCallIDAndStringContent (line 158) | func TestValidateMessage_ToolRequiresToolCallIDAndStringContent(t *testi... function TestMessageMarshalJSON_IncludesOptionalFields_Assistant (line 173) | func TestMessageMarshalJSON_IncludesOptionalFields_Assistant(t *testing.... function TestMessageMarshalJSON_IncludesOptionalFields_Tool (line 208) | func TestMessageMarshalJSON_IncludesOptionalFields_Tool(t *testing.T) { FILE: sdks/community/go/pkg/core/events/thinking_events.go type ThinkingStartEvent (line 10) | type ThinkingStartEvent struct method WithTitle (line 25) | func (e *ThinkingStartEvent) WithTitle(title string) *ThinkingStartEve... method Validate (line 31) | func (e *ThinkingStartEvent) Validate() error { method ToJSON (line 39) | func (e *ThinkingStartEvent) ToJSON() ([]byte, error) { function NewThinkingStartEvent (line 17) | func NewThinkingStartEvent() *ThinkingStartEvent { type ThinkingEndEvent (line 45) | type ThinkingEndEvent struct method Validate (line 58) | func (e *ThinkingEndEvent) Validate() error { method ToJSON (line 66) | func (e *ThinkingEndEvent) ToJSON() ([]byte, error) { function NewThinkingEndEvent (line 51) | func NewThinkingEndEvent() *ThinkingEndEvent { type ThinkingTextMessageStartEvent (line 72) | type ThinkingTextMessageStartEvent struct method Validate (line 85) | func (e *ThinkingTextMessageStartEvent) Validate() error { method ToJSON (line 93) | func (e *ThinkingTextMessageStartEvent) ToJSON() ([]byte, error) { function NewThinkingTextMessageStartEvent (line 78) | func NewThinkingTextMessageStartEvent() *ThinkingTextMessageStartEvent { type ThinkingTextMessageContentEvent (line 99) | type ThinkingTextMessageContentEvent struct method Validate (line 114) | func (e *ThinkingTextMessageContentEvent) Validate() error { method ToJSON (line 127) | func (e *ThinkingTextMessageContentEvent) ToJSON() ([]byte, error) { function NewThinkingTextMessageContentEvent (line 106) | func NewThinkingTextMessageContentEvent(delta string) *ThinkingTextMessa... type ThinkingTextMessageEndEvent (line 133) | type ThinkingTextMessageEndEvent struct method Validate (line 146) | func (e *ThinkingTextMessageEndEvent) Validate() error { method ToJSON (line 154) | func (e *ThinkingTextMessageEndEvent) ToJSON() ([]byte, error) { function NewThinkingTextMessageEndEvent (line 139) | func NewThinkingTextMessageEndEvent() *ThinkingTextMessageEndEvent { FILE: sdks/community/go/pkg/core/events/thinking_events_test.go function TestThinkingStartEvent (line 8) | func TestThinkingStartEvent(t *testing.T) { function TestThinkingEndEvent (line 83) | func TestThinkingEndEvent(t *testing.T) { function TestThinkingTextMessageStartEvent (line 115) | func TestThinkingTextMessageStartEvent(t *testing.T) { function TestThinkingTextMessageContentEvent (line 147) | func TestThinkingTextMessageContentEvent(t *testing.T) { function TestThinkingTextMessageEndEvent (line 216) | func TestThinkingTextMessageEndEvent(t *testing.T) { function contains (line 249) | func contains(s, substr string) bool { FILE: sdks/community/go/pkg/core/events/tool_events.go type ToolCallStartEvent (line 9) | type ToolCallStartEvent struct method Validate (line 51) | func (e *ToolCallStartEvent) Validate() error { method ToJSON (line 68) | func (e *ToolCallStartEvent) ToJSON() ([]byte, error) { function NewToolCallStartEvent (line 17) | func NewToolCallStartEvent(toolCallID, toolCallName string, options ...T... type ToolCallStartOption (line 32) | type ToolCallStartOption function WithParentMessageID (line 35) | func WithParentMessageID(parentMessageID string) ToolCallStartOption { function WithAutoToolCallID (line 42) | func WithAutoToolCallID() ToolCallStartOption { type ToolCallArgsEvent (line 73) | type ToolCallArgsEvent struct method Validate (line 116) | func (e *ToolCallArgsEvent) Validate() error { method ToJSON (line 133) | func (e *ToolCallArgsEvent) ToJSON() ([]byte, error) { function NewToolCallArgsEvent (line 80) | func NewToolCallArgsEvent(toolCallID, delta string) *ToolCallArgsEvent { function NewToolCallArgsEventWithOptions (line 89) | func NewToolCallArgsEventWithOptions(toolCallID, delta string, options .... type ToolCallArgsOption (line 104) | type ToolCallArgsOption function WithAutoToolCallIDArgs (line 107) | func WithAutoToolCallIDArgs() ToolCallArgsOption { type ToolCallEndEvent (line 138) | type ToolCallEndEvent struct method Validate (line 178) | func (e *ToolCallEndEvent) Validate() error { method ToJSON (line 191) | func (e *ToolCallEndEvent) ToJSON() ([]byte, error) { function NewToolCallEndEvent (line 144) | func NewToolCallEndEvent(toolCallID string) *ToolCallEndEvent { function NewToolCallEndEventWithOptions (line 152) | func NewToolCallEndEventWithOptions(toolCallID string, options ...ToolCa... type ToolCallEndOption (line 166) | type ToolCallEndOption function WithAutoToolCallIDEnd (line 169) | func WithAutoToolCallIDEnd() ToolCallEndOption { type ToolCallResultEvent (line 196) | type ToolCallResultEvent struct method Validate (line 217) | func (e *ToolCallResultEvent) Validate() error { method ToJSON (line 238) | func (e *ToolCallResultEvent) ToJSON() ([]byte, error) { function NewToolCallResultEvent (line 205) | func NewToolCallResultEvent(messageID, toolCallID, content string) *Tool... type ToolCallChunkEvent (line 243) | type ToolCallChunkEvent struct method WithToolCallChunkID (line 259) | func (e *ToolCallChunkEvent) WithToolCallChunkID(id string) *ToolCallC... method WithToolCallChunkName (line 265) | func (e *ToolCallChunkEvent) WithToolCallChunkName(name string) *ToolC... method WithToolCallChunkDelta (line 271) | func (e *ToolCallChunkEvent) WithToolCallChunkDelta(delta string) *Too... method WithToolCallChunkParentMessageID (line 277) | func (e *ToolCallChunkEvent) WithToolCallChunkParentMessageID(parentMe... method Validate (line 283) | func (e *ToolCallChunkEvent) Validate() error { method ToJSON (line 297) | func (e *ToolCallChunkEvent) ToJSON() ([]byte, error) { function NewToolCallChunkEvent (line 252) | func NewToolCallChunkEvent() *ToolCallChunkEvent { FILE: sdks/community/go/pkg/core/types/message_helpers.go method ContentString (line 6) | func (m Message) ContentString() (string, bool) { method ContentInputContents (line 35) | func (m Message) ContentInputContents() ([]InputContent, bool) { method ContentActivity (line 56) | func (m Message) ContentActivity() (map[string]any, bool) { function decodeInputContents (line 78) | func decodeInputContents(value []any) ([]InputContent, bool) { function inputContentsHaveBinaryPayload (line 96) | func inputContentsHaveBinaryPayload(parts []InputContent) bool { FILE: sdks/community/go/pkg/core/types/types.go type Role (line 10) | type Role constant RoleDeveloper (line 14) | RoleDeveloper Role = "developer" constant RoleSystem (line 16) | RoleSystem Role = "system" constant RoleAssistant (line 18) | RoleAssistant Role = "assistant" constant RoleUser (line 20) | RoleUser Role = "user" constant RoleTool (line 22) | RoleTool Role = "tool" constant RoleActivity (line 24) | RoleActivity Role = "activity" constant RoleReasoning (line 26) | RoleReasoning Role = "reasoning" type FunctionCall (line 30) | type FunctionCall struct constant ToolCallTypeFunction (line 38) | ToolCallTypeFunction = "function" type ToolCall (line 41) | type ToolCall struct constant InputContentTypeText (line 52) | InputContentTypeText = "text" constant InputContentTypeBinary (line 54) | InputContentTypeBinary = "binary" type InputContent (line 58) | type InputContent struct method UnmarshalJSON (line 76) | func (c *InputContent) UnmarshalJSON(data []byte) error { type Message (line 114) | type Message struct method UnmarshalJSON (line 138) | func (m *Message) UnmarshalJSON(data []byte) error { type Context (line 179) | type Context struct type Tool (line 187) | type Tool struct type RunAgentInput (line 197) | type RunAgentInput struct method UnmarshalJSON (line 217) | func (r *RunAgentInput) UnmarshalJSON(data []byte) error { function unmarshalField (line 252) | func unmarshalField[T any](raw map[string]json.RawMessage, dest *T, keys... function findRawField (line 261) | func findRawField(raw map[string]json.RawMessage, keys ...string) (json.... function validateBinaryInputContent (line 271) | func validateBinaryInputContent(content InputContent) error { FILE: sdks/community/go/pkg/core/types/types_test.go function TestRunAgentInputUnmarshalCamelCase (line 12) | func TestRunAgentInputUnmarshalCamelCase(t *testing.T) { function TestRunAgentInputUnmarshalSnakeCase (line 79) | func TestRunAgentInputUnmarshalSnakeCase(t *testing.T) { function TestInputContentUnmarshalSnakeCase (line 167) | func TestInputContentUnmarshalSnakeCase(t *testing.T) { function TestInputContentUnmarshalBinaryRequiresSource (line 186) | func TestInputContentUnmarshalBinaryRequiresSource(t *testing.T) { function TestInputContentUnmarshalBinaryRequiresMimeType (line 198) | func TestInputContentUnmarshalBinaryRequiresMimeType(t *testing.T) { function TestMessageContentString (line 210) | func TestMessageContentString(t *testing.T) { function TestMessageContentInputContents (line 226) | func TestMessageContentInputContents(t *testing.T) { function TestMessageContentActivity (line 284) | func TestMessageContentActivity(t *testing.T) { FILE: sdks/community/go/pkg/encoding/buffer_sizing.go constant SmallEventBufferSize (line 10) | SmallEventBufferSize = 512 constant MediumEventBufferSize (line 13) | MediumEventBufferSize = 2048 constant LargeEventBufferSize (line 16) | LargeEventBufferSize = 8192 constant VeryLargeEventBufferSize (line 19) | VeryLargeEventBufferSize = 16384 constant DefaultEventBufferSize (line 22) | DefaultEventBufferSize = 1024 constant ArrayProcessingBufferSize (line 25) | ArrayProcessingBufferSize = 1024 function GetOptimalBufferSize (line 29) | func GetOptimalBufferSize(eventType events.EventType) int { function GetOptimalBufferSizeForEvent (line 69) | func GetOptimalBufferSizeForEvent(event events.Event) int { function GetOptimalBufferSizeForMultiple (line 115) | func GetOptimalBufferSizeForMultiple(events []events.Event) int { function max (line 131) | func max(a, b int) int { FILE: sdks/community/go/pkg/encoding/encoder/encoder.go type EventEncoder (line 15) | type EventEncoder struct method EncodeEvent (line 32) | func (e *EventEncoder) EncodeEvent(ctx context.Context, event events.E... method NegotiateContentType (line 64) | func (e *EventEncoder) NegotiateContentType(acceptHeader string) (stri... method SupportedContentTypes (line 79) | func (e *EventEncoder) SupportedContentTypes() []string { method GetContentType (line 84) | func (e *EventEncoder) GetContentType(acceptHeader string) string { function NewEventEncoder (line 21) | func NewEventEncoder() *EventEncoder { FILE: sdks/community/go/pkg/encoding/errors.go type OperationError (line 13) | type OperationError struct method Error (line 22) | func (e *OperationError) Error() string { method Unwrap (line 29) | func (e *OperationError) Unwrap() error { method WithContext (line 34) | func (e *OperationError) WithContext(key string, value interface{}) *O... method Reset (line 317) | func (e *OperationError) Reset() { type ValidationError (line 43) | type ValidationError struct method Error (line 53) | func (e *ValidationError) Error() string { method WithContext (line 62) | func (e *ValidationError) WithContext(key string, value interface{}) *... method Reset (line 326) | func (e *ValidationError) Reset() { type ConfigurationError (line 71) | type ConfigurationError struct method Error (line 80) | func (e *ConfigurationError) Error() string { method WithContext (line 89) | func (e *ConfigurationError) WithContext(key string, value interface{}... method Reset (line 336) | func (e *ConfigurationError) Reset() { type ResourceError (line 98) | type ResourceError struct method Error (line 108) | func (e *ResourceError) Error() string { method WithContext (line 117) | func (e *ResourceError) WithContext(key string, value interface{}) *Re... method Reset (line 345) | func (e *ResourceError) Reset() { type RegistryError (line 126) | type RegistryError struct method Error (line 136) | func (e *RegistryError) Error() string { method Unwrap (line 152) | func (e *RegistryError) Unwrap() error { method WithContext (line 157) | func (e *RegistryError) WithContext(key string, value interface{}) *Re... method Reset (line 355) | func (e *RegistryError) Reset() { function NewOperationError (line 170) | func NewOperationError(operation, component, message string, cause error... function NewValidationError (line 184) | func NewValidationError(component, field, rule, message string, value in... function NewConfigurationError (line 199) | func NewConfigurationError(component, setting, message string, value int... function NewResourceError (line 213) | func NewResourceError(component, resource, message string, current, limi... function NewRegistryError (line 228) | func NewRegistryError(registry, operation, key, message string, cause er... function IsOperationError (line 247) | func IsOperationError(err error) bool { function IsValidationError (line 253) | func IsValidationError(err error) bool { function IsConfigurationError (line 259) | func IsConfigurationError(err error) bool { function IsResourceError (line 265) | func IsResourceError(err error) bool { function IsRegistryError (line 271) | func IsRegistryError(err error) bool { function GetErrorContext (line 277) | func GetErrorContext(err error) map[string]interface{} { function GetErrorStack (line 295) | func GetErrorStack(err error) []uintptr { FILE: sdks/community/go/pkg/encoding/interface.go type Encoder (line 16) | type Encoder interface type Decoder (line 28) | type Decoder interface type ContentTypeProvider (line 40) | type ContentTypeProvider interface type StreamingCapabilityProvider (line 46) | type StreamingCapabilityProvider interface type StreamEncoder (line 56) | type StreamEncoder interface type StreamDecoder (line 72) | type StreamDecoder interface type StreamSessionManager (line 88) | type StreamSessionManager interface type StreamEventProcessor (line 100) | type StreamEventProcessor interface type Validator (line 113) | type Validator interface type OutputValidator (line 119) | type OutputValidator interface type InputValidator (line 125) | type InputValidator interface type Codec (line 136) | type Codec interface type StreamCodec (line 144) | type StreamCodec interface type FullStreamCodec (line 169) | type FullStreamCodec interface type ValidatingCodec (line 177) | type ValidatingCodec interface type EncodingOptions (line 188) | type EncodingOptions struct method Validate (line 209) | func (opts *EncodingOptions) Validate() error { type DecodingOptions (line 243) | type DecodingOptions struct method Validate (line 261) | func (opts *DecodingOptions) Validate() error { type EncodingError (line 280) | type EncodingError struct method Error (line 287) | func (e *EncodingError) Error() string { method Unwrap (line 294) | func (e *EncodingError) Unwrap() error { type DecodingError (line 299) | type DecodingError struct method Error (line 306) | func (e *DecodingError) Error() string { method Unwrap (line 313) | func (e *DecodingError) Unwrap() error { type ContentNegotiator (line 322) | type ContentNegotiator interface type CodecFactory (line 341) | type CodecFactory interface type StreamCodecFactory (line 351) | type StreamCodecFactory interface type FullCodecFactory (line 361) | type FullCodecFactory interface FILE: sdks/community/go/pkg/encoding/json/json.go function NewEncoder (line 22) | func NewEncoder() encoding.Encoder { function NewDecoder (line 27) | func NewDecoder() encoding.Decoder { function NewCodec (line 32) | func NewCodec() encoding.Codec { FILE: sdks/community/go/pkg/encoding/json/json_codec.go type JSONCodec (line 12) | type JSONCodec struct method Encode (line 48) | func (c *JSONCodec) Encode(ctx context.Context, event events.Event) ([... method EncodeMultiple (line 53) | func (c *JSONCodec) EncodeMultiple(ctx context.Context, events []event... method Decode (line 58) | func (c *JSONCodec) Decode(ctx context.Context, data []byte) (events.E... method DecodeMultiple (line 63) | func (c *JSONCodec) DecodeMultiple(ctx context.Context, data []byte) (... method ContentType (line 68) | func (c *JSONCodec) ContentType() string { method SupportsStreaming (line 73) | func (c *JSONCodec) SupportsStreaming() bool { method CanStream (line 79) | func (c *JSONCodec) CanStream() bool { function NewJSONCodec (line 26) | func NewJSONCodec(encOptions *encoding.EncodingOptions, decOptions *enco... function NewDefaultJSONCodec (line 34) | func NewDefaultJSONCodec() *JSONCodec { type CodecOptions (line 84) | type CodecOptions struct function DefaultCodecOptions (line 90) | func DefaultCodecOptions() *CodecOptions { function PrettyCodecOptions (line 108) | func PrettyCodecOptions() *CodecOptions { function CompatibilityCodecOptions (line 115) | func CompatibilityCodecOptions() *CodecOptions { function StreamingCodecOptions (line 133) | func StreamingCodecOptions() *CodecOptions { FILE: sdks/community/go/pkg/encoding/json/json_decoder.go type JSONDecoder (line 22) | type JSONDecoder struct method Decode (line 62) | func (d *JSONDecoder) Decode(ctx context.Context, data []byte) (events... method DecodeMultiple (line 139) | func (d *JSONDecoder) DecodeMultiple(ctx context.Context, data []byte)... method createEvent (line 212) | func (d *JSONDecoder) createEvent(eventType events.EventType, data []b... method ContentType (line 381) | func (d *JSONDecoder) ContentType() string { method CanStream (line 386) | func (d *JSONDecoder) CanStream() bool { method SupportsStreaming (line 391) | func (d *JSONDecoder) SupportsStreaming() bool { method Reset (line 396) | func (d *JSONDecoder) Reset(options *encoding.DecodingOptions) { function NewJSONDecoder (line 29) | func NewJSONDecoder(options *encoding.DecodingOptions) *JSONDecoder { function NewJSONDecoderWithConcurrencyLimit (line 43) | func NewJSONDecoderWithConcurrencyLimit(options *encoding.DecodingOption... type eventTypeWrapper (line 57) | type eventTypeWrapper struct FILE: sdks/community/go/pkg/encoding/json/json_encoder.go type JSONEncoder (line 22) | type JSONEncoder struct method Encode (line 57) | func (e *JSONEncoder) Encode(ctx context.Context, event events.Event) ... method EncodeMultiple (line 222) | func (e *JSONEncoder) EncodeMultiple(ctx context.Context, events []eve... method ContentType (line 412) | func (e *JSONEncoder) ContentType() string { method CanStream (line 417) | func (e *JSONEncoder) CanStream() bool { method SupportsStreaming (line 422) | func (e *JSONEncoder) SupportsStreaming() bool { method Reset (line 427) | func (e *JSONEncoder) Reset(options *encoding.EncodingOptions) { function NewJSONEncoder (line 29) | func NewJSONEncoder(options *encoding.EncodingOptions) *JSONEncoder { function NewJSONEncoderWithConcurrencyLimit (line 43) | func NewJSONEncoderWithConcurrencyLimit(options *encoding.EncodingOption... FILE: sdks/community/go/pkg/encoding/negotiation/negotiator.go type ContentNegotiator (line 26) | type ContentNegotiator struct method RegisterDefaultTypes (line 65) | func (cn *ContentNegotiator) RegisterDefaultTypes() { method RegisterType (line 98) | func (cn *ContentNegotiator) RegisterType(capabilities *TypeCapabiliti... method Negotiate (line 112) | func (cn *ContentNegotiator) Negotiate(acceptHeader string) (string, e... method selectBestType (line 136) | func (cn *ContentNegotiator) selectBestType(acceptTypes []AcceptType) ... method matchType (line 220) | func (cn *ContentNegotiator) matchType(contentType string, acceptType ... method SupportedTypes (line 254) | func (cn *ContentNegotiator) SupportedTypes() []string { method PreferredType (line 273) | func (cn *ContentNegotiator) PreferredType() string { method CanHandle (line 280) | func (cn *ContentNegotiator) CanHandle(contentType string) bool { method GetCapabilities (line 297) | func (cn *ContentNegotiator) GetCapabilities(contentType string) (*Typ... method SetPreferredType (line 314) | func (cn *ContentNegotiator) SetPreferredType(contentType string) error { method canHandleUnlocked (line 327) | func (cn *ContentNegotiator) canHandleUnlocked(contentType string) bool { method AddFormat (line 339) | func (cn *ContentNegotiator) AddFormat(contentType string, priority fl... type TypeCapabilities (line 36) | type TypeCapabilities struct function NewContentNegotiator (line 52) | func NewContentNegotiator(preferredType string) *ContentNegotiator { FILE: sdks/community/go/pkg/encoding/negotiation/negotiator_test.go function TestContentNegotiator (line 10) | func TestContentNegotiator(t *testing.T) { function TestAcceptHeaderParsing (line 101) | func TestAcceptHeaderParsing(t *testing.T) { function TestFormatSelector (line 197) | func TestFormatSelector(t *testing.T) { function TestSupportedTypes (line 236) | func TestSupportedTypes(t *testing.T) { function TestCanHandle (line 262) | func TestCanHandle(t *testing.T) { function TestMediaTypeParsing (line 288) | func TestMediaTypeParsing(t *testing.T) { function TestFormatMediaType (line 341) | func TestFormatMediaType(t *testing.T) { FILE: sdks/community/go/pkg/encoding/negotiation/parser.go type AcceptType (line 12) | type AcceptType struct function ParseAcceptHeader (line 19) | func ParseAcceptHeader(header string) ([]AcceptType, error) { function parseAcceptType (line 44) | func parseAcceptType(s string) (AcceptType, error) { function parseQuality (line 103) | func parseQuality(s string) (float64, error) { function isValidMediaType (line 136) | func isValidMediaType(mediaType string) bool { function isValidToken (line 165) | func isValidToken(s string) bool { function isTokenChar (line 180) | func isTokenChar(r rune) bool { function sortAcceptTypes (line 191) | func sortAcceptTypes(types []AcceptType) { function ParseMediaType (line 203) | func ParseMediaType(mediaType string) (string, map[string]string, error) { function FormatMediaType (line 244) | func FormatMediaType(mediaType string, params map[string]string) string { function needsQuoting (line 266) | func needsQuoting(value string) bool { function MatchMediaTypes (line 276) | func MatchMediaTypes(type1, type2 string) bool { FILE: sdks/community/go/pkg/encoding/negotiation/selector.go type SelectionCriteria (line 8) | type SelectionCriteria struct type ClientCapabilities (line 22) | type ClientCapabilities struct type FormatSelector (line 34) | type FormatSelector struct method SelectFormat (line 50) | func (fs *FormatSelector) SelectFormat(acceptHeader string, criteria *... method filterByQuality (line 71) | func (fs *FormatSelector) filterByQuality(types []AcceptType) []Accept... method getCandidates (line 90) | func (fs *FormatSelector) getCandidates(acceptTypes []AcceptType) []Ca... method shouldIncludeCandidate (line 117) | func (fs *FormatSelector) shouldIncludeCandidate(candidate Candidate) ... method checkClientCompatibility (line 134) | func (fs *FormatSelector) checkClientCompatibility(candidate Candidate... method selectByQuality (line 162) | func (fs *FormatSelector) selectByQuality(candidates []Candidate) (str... method matchType (line 184) | func (fs *FormatSelector) matchType(contentType string, acceptType Acc... method SetCriteria (line 190) | func (fs *FormatSelector) SetCriteria(criteria SelectionCriteria) { method GetCriteria (line 195) | func (fs *FormatSelector) GetCriteria() SelectionCriteria { function NewFormatSelector (line 40) | func NewFormatSelector(negotiator *ContentNegotiator) *FormatSelector { type Candidate (line 82) | type Candidate struct FILE: sdks/community/go/pkg/encoding/pool.go type Pool (line 10) | type Pool interface type BufferPool (line 17) | type BufferPool struct method Get (line 55) | func (bp *BufferPool) Get() *bytes.Buffer { method Put (line 67) | func (bp *BufferPool) Put(buf *bytes.Buffer) { method PutSecure (line 93) | func (bp *BufferPool) PutSecure(buf *bytes.Buffer) { method Reset (line 118) | func (bp *BufferPool) Reset() { function NewBufferPool (line 27) | func NewBufferPool(maxSize int) *BufferPool { function NewBufferPoolWithCapacity (line 32) | func NewBufferPoolWithCapacity(maxSize int, maxBuffers int32) *BufferPool { function NewBufferPoolWithOptions (line 37) | func NewBufferPoolWithOptions(maxSize int, maxBuffers int32, secureZero ... type SlicePool (line 133) | type SlicePool struct method Get (line 170) | func (sp *SlicePool) Get() []byte { method Put (line 181) | func (sp *SlicePool) Put(slice []byte) { method PutSecure (line 204) | func (sp *SlicePool) PutSecure(slice []byte) { method Reset (line 227) | func (sp *SlicePool) Reset() { function NewSlicePool (line 142) | func NewSlicePool(initialSize, maxSize int) *SlicePool { function NewSlicePoolWithCapacity (line 147) | func NewSlicePoolWithCapacity(initialSize, maxSize int, maxSlices int32)... function NewSlicePoolWithOptions (line 152) | func NewSlicePoolWithOptions(initialSize, maxSize int, maxSlices int32, ... type ErrorPool (line 242) | type ErrorPool struct method GetEncodingError (line 280) | func (ep *ErrorPool) GetEncodingError() *EncodingError { method PutEncodingError (line 287) | func (ep *ErrorPool) PutEncodingError(err *EncodingError) { method GetDecodingError (line 296) | func (ep *ErrorPool) GetDecodingError() *DecodingError { method PutDecodingError (line 303) | func (ep *ErrorPool) PutDecodingError(err *DecodingError) { method GetOperationError (line 312) | func (ep *ErrorPool) GetOperationError() *OperationError { method PutOperationError (line 319) | func (ep *ErrorPool) PutOperationError(err *OperationError) { method GetValidationError (line 328) | func (ep *ErrorPool) GetValidationError() *ValidationError { method PutValidationError (line 335) | func (ep *ErrorPool) PutValidationError(err *ValidationError) { method GetConfigurationError (line 344) | func (ep *ErrorPool) GetConfigurationError() *ConfigurationError { method PutConfigurationError (line 351) | func (ep *ErrorPool) PutConfigurationError(err *ConfigurationError) { method GetResourceError (line 360) | func (ep *ErrorPool) GetResourceError() *ResourceError { method PutResourceError (line 367) | func (ep *ErrorPool) PutResourceError(err *ResourceError) { method GetRegistryError (line 376) | func (ep *ErrorPool) GetRegistryError() *RegistryError { method PutRegistryError (line 383) | func (ep *ErrorPool) PutRegistryError(err *RegistryError) { method Reset (line 392) | func (ep *ErrorPool) Reset() { function NewErrorPool (line 253) | func NewErrorPool() *ErrorPool { type Poolable (line 431) | type Poolable interface method Reset (line 436) | func (e *EncodingError) Reset() { method Reset (line 443) | func (e *DecodingError) Reset() { function GetBuffer (line 468) | func GetBuffer(expectedSize int) *bytes.Buffer { function GetBufferSafe (line 480) | func GetBufferSafe(expectedSize int) *bytes.Buffer { function PutBuffer (line 493) | func PutBuffer(buf *bytes.Buffer) { function PutBufferSecure (line 510) | func PutBufferSecure(buf *bytes.Buffer) { function GetSlice (line 527) | func GetSlice(expectedSize int) []byte { function GetSliceSafe (line 539) | func GetSliceSafe(expectedSize int) []byte { function PutSlice (line 552) | func PutSlice(slice []byte) { function PutSliceSecure (line 569) | func PutSliceSecure(slice []byte) { function GetEncodingError (line 585) | func GetEncodingError() *EncodingError { function PutEncodingError (line 590) | func PutEncodingError(err *EncodingError) { function GetDecodingError (line 595) | func GetDecodingError() *DecodingError { function PutDecodingError (line 600) | func PutDecodingError(err *DecodingError) { function GetOperationError (line 605) | func GetOperationError() *OperationError { function PutOperationError (line 610) | func PutOperationError(err *OperationError) { function GetValidationError (line 615) | func GetValidationError() *ValidationError { function PutValidationError (line 620) | func PutValidationError(err *ValidationError) { function GetConfigurationError (line 625) | func GetConfigurationError() *ConfigurationError { function PutConfigurationError (line 630) | func PutConfigurationError(err *ConfigurationError) { function GetResourceError (line 635) | func GetResourceError() *ResourceError { function PutResourceError (line 640) | func PutResourceError(err *ResourceError) { function GetRegistryError (line 645) | func GetRegistryError() *RegistryError { function PutRegistryError (line 650) | func PutRegistryError(err *RegistryError) { function ResetAllPools (line 655) | func ResetAllPools() { type PoolManager (line 666) | type PoolManager struct method RegisterPool (line 679) | func (pm *PoolManager) RegisterPool(name string, pool interface{}) { method GetPool (line 686) | func (pm *PoolManager) GetPool(name string) interface{} { function NewPoolManager (line 672) | func NewPoolManager() *PoolManager { FILE: sdks/community/go/pkg/encoding/sse/writer.go type SSEWriter (line 19) | type SSEWriter struct method WithLogger (line 33) | func (w *SSEWriter) WithLogger(logger *slog.Logger) *SSEWriter { method WriteEvent (line 40) | func (w *SSEWriter) WriteEvent(ctx context.Context, writer io.Writer, ... method WriteBytes (line 45) | func (w *SSEWriter) WriteBytes(ctx context.Context, writer io.Writer, ... method WriteEventWithType (line 78) | func (w *SSEWriter) WriteEventWithType(ctx context.Context, writer io.... method WriteEventWithNegotiation (line 131) | func (w *SSEWriter) WriteEventWithNegotiation(ctx context.Context, wri... method WriteErrorEvent (line 146) | func (w *SSEWriter) WriteErrorEvent(ctx context.Context, writer io.Wri... method createSSEFrame (line 166) | func (w *SSEWriter) createSSEFrame(jsonData []byte, eventType string, ... function NewSSEWriter (line 25) | func NewSSEWriter() *SSEWriter { type flusher (line 193) | type flusher interface type CustomEvent (line 202) | type CustomEvent struct method Data (line 209) | func (e *CustomEvent) Data() map[string]interface{} { method SetData (line 224) | func (e *CustomEvent) SetData(data map[string]interface{}) { method SetDataField (line 231) | func (e *CustomEvent) SetDataField(key string, value interface{}) { method ThreadID (line 241) | func (e *CustomEvent) ThreadID() string { method RunID (line 246) | func (e *CustomEvent) RunID() string { method Validate (line 251) | func (e *CustomEvent) Validate() error { method ToJSON (line 259) | func (e *CustomEvent) ToJSON() ([]byte, error) { function getCurrentTimestamp (line 283) | func getCurrentTimestamp() int64 { function jsonMarshal (line 288) | func jsonMarshal(v interface{}) ([]byte, error) { FILE: sdks/community/go/pkg/encoding/sse/writer_test.go type mockEvent (line 18) | type mockEvent struct method Data (line 26) | func (m *mockEvent) Data() map[string]interface{} { method ThreadID (line 30) | func (m *mockEvent) ThreadID() string { method RunID (line 34) | func (m *mockEvent) RunID() string { method Validate (line 38) | func (m *mockEvent) Validate() error { method ToJSON (line 42) | func (m *mockEvent) ToJSON() ([]byte, error) { type errorWriter (line 52) | type errorWriter struct method Write (line 56) | func (e *errorWriter) Write(p []byte) (n int, err error) { type flushWriter (line 60) | type flushWriter struct method Flush (line 66) | func (fw *flushWriter) Flush() error { type httpFlushWriter (line 71) | type httpFlushWriter struct method Flush (line 76) | func (fw *httpFlushWriter) Flush() { function TestNewSSEWriter (line 80) | func TestNewSSEWriter(t *testing.T) { function TestSSEWriter_WithLogger (line 93) | func TestSSEWriter_WithLogger(t *testing.T) { function TestSSEWriter_WriteEvent (line 102) | func TestSSEWriter_WriteEvent(t *testing.T) { function TestSSEWriter_WriteBytes (line 174) | func TestSSEWriter_WriteBytes(t *testing.T) { function TestSSEWriter_WriteEventWithType (line 266) | func TestSSEWriter_WriteEventWithType(t *testing.T) { function TestSSEWriter_WriteEventWithNegotiation (line 364) | func TestSSEWriter_WriteEventWithNegotiation(t *testing.T) { function TestSSEWriter_WriteErrorEvent (line 386) | func TestSSEWriter_WriteErrorEvent(t *testing.T) { function TestSSEWriter_Flushing (line 411) | func TestSSEWriter_Flushing(t *testing.T) { function TestSSEWriter_HTTPFlusherFallback (line 463) | func TestSSEWriter_HTTPFlusherFallback(t *testing.T) { function TestCustomEvent (line 496) | func TestCustomEvent(t *testing.T) { function TestGetCurrentTimestamp (line 621) | func TestGetCurrentTimestamp(t *testing.T) { function TestCreateSSEFrame (line 631) | func TestCreateSSEFrame(t *testing.T) { function ptr (line 705) | func ptr[T any](v T) *T { FILE: sdks/community/go/pkg/errors/error_types.go type ErrorType (line 67) | type ErrorType constant ErrorTypeInvalidState (line 71) | ErrorTypeInvalidState ErrorType = "invalid_state" constant ErrorTypeUnsupported (line 74) | ErrorTypeUnsupported ErrorType = "unsupported" constant ErrorTypeTimeout (line 77) | ErrorTypeTimeout ErrorType = "timeout" constant ErrorTypeValidation (line 80) | ErrorTypeValidation ErrorType = "validation" constant ErrorTypeNotFound (line 83) | ErrorTypeNotFound ErrorType = "not_found" constant ErrorTypePermission (line 86) | ErrorTypePermission ErrorType = "permission" constant ErrorTypeExternal (line 89) | ErrorTypeExternal ErrorType = "external" constant ErrorTypeRateLimit (line 92) | ErrorTypeRateLimit ErrorType = "rate_limit" type Severity (line 96) | type Severity method String (line 114) | func (s Severity) String() string { constant SeverityDebug (line 100) | SeverityDebug Severity = iota constant SeverityInfo (line 102) | SeverityInfo constant SeverityWarning (line 104) | SeverityWarning constant SeverityError (line 106) | SeverityError constant SeverityCritical (line 108) | SeverityCritical constant SeverityFatal (line 110) | SeverityFatal type BaseError (line 134) | type BaseError struct method Error (line 161) | func (e *BaseError) Error() string { method Unwrap (line 169) | func (e *BaseError) Unwrap() error { method WithDetail (line 174) | func (e *BaseError) WithDetail(key string, value interface{}) *BaseErr... method WithCause (line 183) | func (e *BaseError) WithCause(cause error) *BaseError { method WithRetry (line 189) | func (e *BaseError) WithRetry(after time.Duration) *BaseError { type StateError (line 196) | type StateError struct method Error (line 226) | func (e *StateError) Error() string { method WithStateID (line 238) | func (e *StateError) WithStateID(id string) *StateError { method WithStates (line 244) | func (e *StateError) WithStates(current, expected interface{}) *StateE... method WithTransition (line 251) | func (e *StateError) WithTransition(transition string) *StateError { function NewStateError (line 213) | func NewStateError(code, message string) *StateError { type ValidationError (line 257) | type ValidationError struct method Error (line 288) | func (e *ValidationError) Error() string { method WithField (line 300) | func (e *ValidationError) WithField(field string, value interface{}) *... method WithRule (line 307) | func (e *ValidationError) WithRule(rule string) *ValidationError { method AddFieldError (line 313) | func (e *ValidationError) AddFieldError(field, message string) *Valida... method HasFieldErrors (line 319) | func (e *ValidationError) HasFieldErrors() bool { method WithCause (line 324) | func (e *ValidationError) WithCause(cause error) *ValidationError { method WithDetail (line 330) | func (e *ValidationError) WithDetail(key string, value interface{}) *V... function NewValidationError (line 274) | func NewValidationError(code, message string) *ValidationError { type ConflictError (line 339) | type ConflictError struct method Error (line 369) | func (e *ConflictError) Error() string { method WithResource (line 381) | func (e *ConflictError) WithResource(resourceType, resourceID string) ... method WithOperation (line 388) | func (e *ConflictError) WithOperation(operation string) *ConflictError { method WithResolution (line 394) | func (e *ConflictError) WithResolution(strategy string) *ConflictError { function NewConflictError (line 356) | func NewConflictError(code, message string) *ConflictError { function IsRetryable (line 400) | func IsRetryable(err error) bool { function GetSeverity (line 427) | func GetSeverity(err error) Severity { function GetRetryAfter (line 459) | func GetRetryAfter(err error) *time.Duration { type EncodingError (line 490) | type EncodingError struct method Error (line 523) | func (e *EncodingError) Error() string { method WithFormat (line 550) | func (e *EncodingError) WithFormat(format string) *EncodingError { method WithOperation (line 556) | func (e *EncodingError) WithOperation(operation string) *EncodingError { method WithMimeType (line 562) | func (e *EncodingError) WithMimeType(mimeType string) *EncodingError { method WithPosition (line 568) | func (e *EncodingError) WithPosition(position int64) *EncodingError { method WithData (line 574) | func (e *EncodingError) WithData(data interface{}) *EncodingError { method WithCause (line 580) | func (e *EncodingError) WithCause(cause error) *EncodingError { function NewEncodingError (line 510) | func NewEncodingError(code, message string) *EncodingError { type SecurityError (line 586) | type SecurityError struct method Error (line 616) | func (e *SecurityError) Error() string { method WithViolationType (line 634) | func (e *SecurityError) WithViolationType(violationType string) *Secur... method WithPattern (line 640) | func (e *SecurityError) WithPattern(pattern string) *SecurityError { method WithLocation (line 646) | func (e *SecurityError) WithLocation(location string) *SecurityError { method WithRiskLevel (line 652) | func (e *SecurityError) WithRiskLevel(riskLevel string) *SecurityError { method WithDetail (line 658) | func (e *SecurityError) WithDetail(key string, value interface{}) *Sec... method WithCause (line 667) | func (e *SecurityError) WithCause(cause error) *SecurityError { function NewSecurityError (line 603) | func NewSecurityError(code, message string) *SecurityError { type AgentError (line 673) | type AgentError struct method Error (line 702) | func (e *AgentError) Error() string { method WithAgent (line 714) | func (e *AgentError) WithAgent(agent string) *AgentError { method WithEventID (line 720) | func (e *AgentError) WithEventID(eventID string) *AgentError { function NewAgentError (line 687) | func NewAgentError(errorType ErrorType, message, agent string) *AgentErr... type OperationError (line 726) | type OperationError struct method Error (line 747) | func (e *OperationError) Error() string { method Unwrap (line 752) | func (e *OperationError) Unwrap() error { method WithCode (line 757) | func (e *OperationError) WithCode(code string) *OperationError { method WithDetail (line 763) | func (e *OperationError) WithDetail(key string, value interface{}) *Op... method WithCause (line 772) | func (e *OperationError) WithCause(cause error) *OperationError { method String (line 778) | func (e *OperationError) String() string { function NewOperationError (line 736) | func NewOperationError(op, target string, err error) *OperationError { FILE: sdks/community/go/pkg/errors/error_utils.go function Wrap (line 14) | func Wrap(err error, message string) error { function Wrapf (line 22) | func Wrapf(err error, format string, args ...interface{}) error { function Is (line 30) | func Is(err, target error) bool { function As (line 35) | func As(err error, target interface{}) bool { function Cause (line 40) | func Cause(err error) error { function Chain (line 56) | func Chain(errs ...error) error { type ChainedError (line 75) | type ChainedError struct method Error (line 80) | func (e *ChainedError) Error() string { method Errors (line 93) | func (e *ChainedError) Errors() []error { method Unwrap (line 98) | func (e *ChainedError) Unwrap() error { type RetryConfig (line 106) | type RetryConfig struct function DefaultRetryConfig (line 130) | func DefaultRetryConfig() *RetryConfig { function Retry (line 142) | func Retry(ctx context.Context, config *RetryConfig, fn func() error) er... function applyJitter (line 194) | func applyJitter(d time.Duration, jitter float64) time.Duration { function calculateNextDelay (line 207) | func calculateNextDelay(current time.Duration, multiplier float64, max t... function NewBaseError (line 216) | func NewBaseError(code, message string) *BaseError { function NewDecodingError (line 229) | func NewDecodingError(code, message string) *EncodingError { function NewStreamingError (line 234) | func NewStreamingError(code, message string) *EncodingError { function NewXSSError (line 239) | func NewXSSError(message, pattern string) *SecurityError { function NewSQLInjectionError (line 247) | func NewSQLInjectionError(message, pattern string) *SecurityError { function NewScriptInjectionError (line 255) | func NewScriptInjectionError(message, pattern string) *SecurityError { function NewDOSError (line 263) | func NewDOSError(message, location string) *SecurityError { function NewPathTraversalError (line 271) | func NewPathTraversalError(message, pattern string) *SecurityError { function IsSecurityError (line 279) | func IsSecurityError(err error) bool { function WithOperation (line 288) | func WithOperation(op, target string, err error) error { constant CodeValidationFailed (line 298) | CodeValidationFailed = "VALIDATION_FAILED" constant CodeMissingEvent (line 299) | CodeMissingEvent = "MISSING_EVENT" constant CodeMissingEventType (line 300) | CodeMissingEventType = "MISSING_EVENT_TYPE" constant CodeNegativeTimestamp (line 301) | CodeNegativeTimestamp = "NEGATIVE_TIMESTAMP" constant CodeIDTooLong (line 302) | CodeIDTooLong = "ID_TOO_LONG" constant CodeFormatNotRegistered (line 305) | CodeFormatNotRegistered = "FORMAT_NOT_REGISTERED" constant CodeNilFactory (line 306) | CodeNilFactory = "NIL_FACTORY" constant CodeEmptyMimeType (line 307) | CodeEmptyMimeType = "EMPTY_MIME_TYPE" constant CodeEncodingFailed (line 310) | CodeEncodingFailed = "ENCODING_FAILED" constant CodeDecodingFailed (line 311) | CodeDecodingFailed = "DECODING_FAILED" constant CodeSecurityViolation (line 314) | CodeSecurityViolation = "SECURITY_VIOLATION" constant CodeXSSDetected (line 315) | CodeXSSDetected = "XSS_DETECTED" constant CodeInvalidData (line 316) | CodeInvalidData = "INVALID_DATA" constant CodeSizeExceeded (line 317) | CodeSizeExceeded = "SIZE_EXCEEDED" constant CodeDepthExceeded (line 318) | CodeDepthExceeded = "DEPTH_EXCEEDED" constant CodeNullByteDetected (line 319) | CodeNullByteDetected = "NULL_BYTE_DETECTED" constant CodeInvalidUTF8 (line 320) | CodeInvalidUTF8 = "INVALID_UTF8" constant CodeHTMLNotAllowed (line 321) | CodeHTMLNotAllowed = "HTML_NOT_ALLOWED" constant CodeEntityExpansion (line 322) | CodeEntityExpansion = "ENTITY_EXPANSION" constant CodeZipBomb (line 323) | CodeZipBomb = "ZIP_BOMB" constant CodeNegotiationFailed (line 326) | CodeNegotiationFailed = "NEGOTIATION_FAILED" constant CodeNoSuitableFormat (line 327) | CodeNoSuitableFormat = "NO_SUITABLE_FORMAT" constant CodeUnsupportedFormat (line 328) | CodeUnsupportedFormat = "UNSUPPORTED_FORMAT" FILE: sdks/community/java/clients/ok-http/src/main/java/com/agui/okhttp/HttpClient.java class HttpClient (line 65) | public class HttpClient implements BaseHttpClient { method HttpClient (line 92) | public HttpClient(final String url) { method streamEvents (line 140) | @Override method close (line 243) | @Override FILE: sdks/community/java/clients/ok-http/src/test/java/com/agui/okhttp/HttpClientTest.java class HttpClientTest (line 30) | @DisplayName("HttpClient") method shouldCallEndpoint (line 33) | @Test method shouldTestCancellation (line 90) | @Test method shouldHandleHttpErrorsGracefully (line 140) | @Test FILE: sdks/community/java/clients/spring-client/src/main/java/com/agui/spring/HttpClient.java class HttpClient (line 18) | public class HttpClient implements BaseHttpClient { method HttpClient (line 25) | public HttpClient(final String url) { method streamEvents (line 38) | @Override method close (line 72) | @Override FILE: sdks/community/java/examples/copilot-app/src/app/api/copilotkit/route.ts constant HTTP_URL (line 11) | const HTTP_URL = process.env.HTTP_URL || "http://localhost:8080/sse/1"; FILE: sdks/community/java/examples/copilot-app/src/app/layout.tsx function RootLayout (line 5) | function RootLayout({ children }: {children: React.ReactNode}) { FILE: sdks/community/java/examples/copilot-app/src/app/page.tsx function Page (line 5) | function Page() { FILE: sdks/community/java/examples/spring-ai-example/src/main/java/com/agui/example/AgUiController.java class AgUiController (line 16) | @Controller method AgUiController (line 24) | @Autowired method agenticChat (line 35) | @PostMapping("agentic_chat/agui") method sharedState (line 45) | @PostMapping("shared_state/agui") method ToolBasedGenerativeUi (line 55) | @PostMapping("tool_based_generative_ui/agui") method humanInTheLoop (line 65) | @PostMapping("human_in_the_loop/agui") method agenticGenerativeUi (line 75) | @PostMapping("agentic_generative_ui/agui") method streamData (line 85) | @PostMapping(value = "/sse/{agentId}") FILE: sdks/community/java/examples/spring-ai-example/src/main/java/com/agui/example/Application.java class Application (line 6) | @SpringBootApplication method main (line 9) | public static void main(String[] args) { FILE: sdks/community/java/examples/spring-ai-example/src/main/java/com/agui/example/config/AgUiConfig.java class AgUiConfig (line 22) | @Configuration method restTemplate (line 25) | @Bean method agent (line 30) | @Bean method agenticChatAgent (line 66) | @Bean("AgenticChat") method sharedStateAgent (line 86) | @Bean("SharedState") method chatModel (line 108) | private ChatModel chatModel(final String apiKey) { FILE: sdks/community/java/examples/spring-ai-example/src/main/java/com/agui/example/config/CorsConfig.java class CorsConfig (line 14) | @Configuration method corsConfigurationSource (line 17) | @Bean method corsFilter (line 29) | @Bean FILE: sdks/community/java/examples/spring-ai-example/src/main/java/com/agui/example/tools/GeocodingResponse.java class GeocodingResponse (line 5) | public class GeocodingResponse { method getResults (line 8) | public List getResults() { return results; } method setResults (line 9) | public void setResults(List results) { this.results =... class GeocodingResult (line 11) | public static class GeocodingResult { method getLatitude (line 16) | public double getLatitude() { return latitude; } method setLatitude (line 17) | public void setLatitude(double latitude) { this.latitude = latitude; } method getLongitude (line 19) | public double getLongitude() { return longitude; } method setLongitude (line 20) | public void setLongitude(double longitude) { this.longitude = longit... method getName (line 22) | public String getName() { return name; } method setName (line 23) | public void setName(String name) { this.name = name; } FILE: sdks/community/java/examples/spring-ai-example/src/main/java/com/agui/example/tools/WeatherRequest.java class WeatherRequest (line 5) | public class WeatherRequest { method WeatherRequest (line 9) | public WeatherRequest() {} method WeatherRequest (line 11) | public WeatherRequest(String location) { method getLocation (line 15) | public String getLocation() { return location; } method setLocation (line 16) | public void setLocation(String location) { this.location = location; } FILE: sdks/community/java/examples/spring-ai-example/src/main/java/com/agui/example/tools/WeatherResponse.java class WeatherResponse (line 5) | public class WeatherResponse { method getCurrent (line 8) | public CurrentWeather getCurrent() { return current; } method setCurrent (line 9) | public void setCurrent(CurrentWeather current) { this.current = curren... class CurrentWeather (line 11) | public static class CurrentWeather { method getTime (line 33) | public String getTime() { return time; } method setTime (line 34) | public void setTime(String time) { this.time = time; } method getTemperature2m (line 36) | public double getTemperature2m() { return temperature2m; } method setTemperature2m (line 37) | public void setTemperature2m(double temperature2m) { this.temperatur... method getApparentTemperature (line 39) | public double getApparentTemperature() { return apparentTemperature; } method setApparentTemperature (line 40) | public void setApparentTemperature(double apparentTemperature) { thi... method getRelativeHumidity2m (line 42) | public double getRelativeHumidity2m() { return relativeHumidity2m; } method setRelativeHumidity2m (line 43) | public void setRelativeHumidity2m(double relativeHumidity2m) { this.... method getWindSpeed10m (line 45) | public double getWindSpeed10m() { return windSpeed10m; } method setWindSpeed10m (line 46) | public void setWindSpeed10m(double windSpeed10m) { this.windSpeed10m... method getWindGusts10m (line 48) | public double getWindGusts10m() { return windGusts10m; } method setWindGusts10m (line 49) | public void setWindGusts10m(double windGusts10m) { this.windGusts10m... method getWeatherCode (line 51) | public int getWeatherCode() { return weatherCode; } method setWeatherCode (line 52) | public void setWeatherCode(int weatherCode) { this.weatherCode = wea... FILE: sdks/community/java/examples/spring-ai-example/src/main/java/com/agui/example/tools/WeatherTool.java class WeatherTool (line 10) | public class WeatherTool implements Function advisors) { method advisor (line 458) | public Builder advisor(final Advisor advisor) { method tools (line 470) | public Builder tools(final List tools) { method tool (line 482) | public Builder tool(final Object tool) { method agentId (line 494) | public Builder agentId(final String agentId) { method state (line 506) | public Builder state(final State state) { method toolCallbacks (line 518) | public Builder toolCallbacks(final List toolCallbacks) { method toolCallback (line 530) | public Builder toolCallback(final ToolCallback toolCallback) { method systemMessage (line 542) | public Builder systemMessage(final String systemMessage) { method systemMessageProvider (line 554) | public Builder systemMessageProvider(final Function messages) { method build (line 590) | public SpringAIAgent build() throws AGUIException { FILE: sdks/community/java/integrations/spring-ai/src/main/java/com/agui/spring/ai/StateTool.java class StateTool (line 13) | public class StateTool { method StateTool (line 18) | public StateTool( method updateState (line 26) | @Tool(description = "Update the current state", returnDirect = true) FILE: sdks/community/java/integrations/spring-ai/src/main/java/com/agui/spring/ai/ToolMapper.java class ToolMapper (line 46) | public class ToolMapper { method ToolMapper (line 57) | public ToolMapper() { method toSpringTool (line 93) | public ToolCallback toSpringTool(final Tool tool, final String message... FILE: sdks/community/java/integrations/spring-ai/src/test/java/com/agui/spring/ai/ToolMapperTest.java class ToolMapperTest (line 22) | class ToolMapperTest { method setUp (line 26) | @BeforeEach method shouldMapToolToSpringToolCallback (line 31) | @Test method shouldEmitCorrectEventsWhenToolIsCalled (line 63) | @Test FILE: sdks/community/java/packages/client/src/main/java/com/agui/client/agent/AbstractAgent.java class AbstractAgent (line 45) | public abstract class AbstractAgent implements Agent { method AbstractAgent (line 68) | protected AbstractAgent( method subscribe (line 95) | public Subscription subscribe(AgentSubscriber subscriber) { method run (line 110) | protected abstract void run(RunAgentInput input, IEventStream runAgent(RunAgentParameters parameters,... method handleEvent (line 167) | protected void handleEvent( method handleComplete (line 196) | protected void handleComplete( method handleError (line 222) | protected void handleError( method prepareSubscribers (line 245) | private List prepareSubscribers(AgentSubscriber subsc... method handleEventByType (line 263) | protected void handleEventByType(BaseEvent event, AgentSubscriber subs... method handleTextMessageStart (line 306) | protected void handleTextMessageStart(TextMessageStartEvent event, Age... method handleTextMessageContent (line 322) | protected void handleTextMessageContent(TextMessageContentEvent event,... method handleTextMessageChunk (line 338) | protected void handleTextMessageChunk(TextMessageChunkEvent event, Age... method handleTextMessageEnd (line 359) | protected void handleTextMessageEnd(TextMessageEndEvent event, AgentSu... method onInitialize (line 376) | protected void onInitialize(RunAgentInput input, List... method addMessage (line 394) | public void addMessage(BaseMessage message) { method addMessages (line 417) | public void addMessages(List messages) { method setMessages (line 426) | public void setMessages(List messages) { method getMessages (line 439) | @Override method setState (line 451) | public void setState(State state) { method prepareRunAgentInput (line 473) | protected RunAgentInput prepareRunAgentInput(RunAgentParameters parame... method getState (line 492) | public State getState() { method logError (line 502) | private void logError(String message, Exception e) { FILE: sdks/community/java/packages/client/src/main/java/com/agui/client/message/MessageFactory.java class MessageFactory (line 20) | public class MessageFactory { method MessageFactory (line 27) | public MessageFactory() { method createMessage (line 42) | public void createMessage(final String id, final Role role) throws AGU... method addChunk (line 57) | public void addChunk(final String id, final String chunk) throws AGUIE... method getMessage (line 72) | public BaseMessage getMessage(final String id) throws AGUIException { method removeMessage (line 87) | public void removeMessage(final String id) throws AGUIException { method addToolCall (line 103) | public void addToolCall(final String id, final ToolCall toolCall) thro... method setError (line 123) | public void setError(final String id, final String error) throws AGUIE... method setToolCallId (line 145) | public void setToolCallId(final String id, final String toolCallId) th... method ensureMessageExists (line 163) | private void ensureMessageExists(final String id) throws AGUIException { method createMessageByRole (line 185) | private BaseMessage createMessageByRole(String id, Role role) { FILE: sdks/community/java/packages/client/src/main/java/com/agui/client/verifier/EventVerifier.java class EventVerifier (line 32) | public class EventVerifier { method EventVerifier (line 50) | public EventVerifier() { method verifyEvent (line 77) | public void verifyEvent(BaseEvent event) throws AGUIException { FILE: sdks/community/java/packages/client/src/test/java/com/agui/client/agent/AbstractAgentTest.java class AbstractAgentTest (line 31) | @DisplayName("AbstractAgent") method shouldCreateAgent (line 34) | @Test class MessageManagementTests (line 56) | @Nested method setUp (line 62) | @BeforeEach method shouldAddSingleMessageWithGeneratedId (line 74) | @Test method shouldAddMessageWithExistingIdAndName (line 90) | @Test method shouldAddMultipleMessages (line 110) | @Test method shouldReplaceAllMessagesAndNotifySubscribers (line 130) | @Test method shouldHandleSubscriberErrorsWhenAddingMessages (line 150) | @Test method createMessage (line 168) | private BaseMessage createMessage(String content) { class StateManagementTests (line 175) | @Nested method setUp (line 181) | @BeforeEach method shouldUpdateState (line 193) | @Test method shouldHandleNullState (line 204) | @Test class SubscriptionManagementTests (line 212) | @Nested method setUp (line 218) | @BeforeEach method shouldHandleMultipleUnsubscriptionsSafely (line 230) | @Test class EdgeCasesTests (line 250) | @Nested method setUp (line 257) | @BeforeEach method shouldHandleInterruptedThreadDuringDelay (line 271) | @Test method shouldCompleteWithoutEvents (line 291) | @Test method shouldWorkWithDebugModeEnabled (line 307) | @Test method shouldCreateAgentWithDefaults (line 333) | @Test class RunAgentTests (line 345) | @Nested method setUp (line 352) | @BeforeEach method shouldCompleteSuccessfullyWithEvents (line 370) | @Test method shouldHandleExceptionsProperly (line 392) | @Test method shouldWorkWithNullSubscriber (line 412) | @Test method shouldNotifyBothPersistentAndRunSpecificSubscribers (line 424) | @Test method shouldProcessMultipleEventsInSequence (line 448) | @Test method shouldWorkWithEmptyParameters (line 473) | @Test method shouldGenerateAgentIdWhenNull (line 487) | @Test method shouldTimeoutForLongRunningOperations (line 507) | @Test method shouldHandleTextMessageEventsProperly (line 520) | @Test method shouldHandleToolCallEventsProperly (line 547) | @Test class TestSubscriber (line 571) | private static class TestSubscriber implements AgentSubscriber { method onEvent (line 579) | @Override method onRunInitialized (line 586) | @Override method onRunFinalized (line 592) | @Override method onRunStartedEvent (line 598) | @Override method onRunErrorEvent (line 603) | @Override method onRunFinishedEvent (line 609) | @Override method onStepStartedEvent (line 614) | @Override method onStepFinishedEvent (line 619) | @Override method onTextMessageStartEvent (line 624) | @Override method onTextMessageContentEvent (line 629) | @Override method onTextMessageEndEvent (line 634) | @Override method onToolCallStartEvent (line 639) | @Override method onToolCallArgsEvent (line 644) | @Override method onToolCallResultEvent (line 649) | @Override method onToolCallEndEvent (line 654) | @Override method onRawEvent (line 659) | @Override method onCustomEvent (line 664) | @Override method onMessagesSnapshotEvent (line 669) | @Override method onStateSnapshotEvent (line 674) | @Override method onStateDeltaEvent (line 679) | @Override method onNewMessage (line 684) | @Override method onMessagesChanged (line 689) | @Override method getReceivedEvents (line 695) | public List getReceivedEvents() { return receivedEvents; } method getMethodCalls (line 696) | public List getMethodCalls() { return methodCalls; } method getEventCount (line 697) | public int getEventCount() { return eventCount.get(); } method wasOnRunInitializedCalled (line 698) | public boolean wasOnRunInitializedCalled() { return onRunInitialized... method wasOnRunFinalizedCalled (line 699) | public boolean wasOnRunFinalizedCalled() { return onRunFinalizedCall... method wasOnRunErrorCalled (line 700) | public boolean wasOnRunErrorCalled() { return onRunErrorCalled.get(); } class TestAgent (line 703) | class TestAgent extends AbstractAgent { method TestAgent (line 708) | public TestAgent(String agentId, String description, String threadId, method setShouldThrowException (line 713) | public void setShouldThrowException(boolean shouldThrowException) { method setEventsToEmit (line 717) | public void setEventsToEmit(List events) { method setDelay (line 721) | public void setDelay(long delayMs) { method run (line 725) | @Override FILE: sdks/community/java/packages/client/src/test/java/com/agui/client/message/MessageFactoryTest.java class MessageFactoryTest (line 15) | @DisplayName("MessageFactory") method shouldCreateUserMessage (line 20) | @Test method shouldCreateSystemMessage (line 34) | @Test method shouldCreateAssistantMessage (line 48) | @Test method shouldCreateDeveloperMessage (line 62) | @Test method shouldCreateToolMessage (line 76) | @Test method shouldThrowAGUIExceptionOnUnknownId (line 90) | @Test method shouldAddChunk (line 97) | @Test method shouldAddMultipleChunks (line 110) | @Test method shouldRemoveMessage (line 123) | @Test method shouldAddToolCall (line 137) | @Test method shouldThrowAGUIExceptionWhenAddingToolCallToOtherMessageType (line 151) | @Test method shouldSetError (line 163) | @Test method shouldThrowAGUIExceptionOnSettingErrorToOtherMessageType (line 177) | @Test method shouldSetToolCallId (line 187) | @Test method shouldThrowAGUIExceptionOnSettingToolCallIdToMessageWithOtherRole (line 201) | @Test FILE: sdks/community/java/packages/client/src/test/java/com/agui/client/verifier/EventVerifierTest.java class EventVerifierTest (line 12) | @DisplayName("EventVerifier") method itShouldStartRunEvent (line 15) | @Test method itShouldThrowExceptionWhenFirstEventIsNotStart (line 24) | @Test method itShouldThrowExceptionWhenEventSentAfterRunFinished (line 34) | @Test method itShouldThrowExceptionWhenEventSentAfterRunError (line 49) | @Test method sendMultipleToolCallStartEvents (line 64) | @Test method sendMultipleTextEventStartedEvents (line 81) | @Test method sendTextMessageEndWithUnknownMessageIdShouldThrowError (line 96) | @Test method endingUnknownTextMessageShouldThrowError (line 112) | @Test method sendingMultipleToolCallStartEventsShouldThrowError (line 135) | @Test method toolCallArgsEventShouldThrowErrorOnNoActiveToolCall (line 153) | @Test method unknownToolCallArgsEventShouldThrowError (line 169) | @Test method toolCallEndOnNoActiveToolCallsShouldThrowError (line 193) | @Test method unknownToolCallEndEventShouldThrowError (line 209) | @Test method startStepTwiceShouldThrowError (line 233) | @Test method finishUnknownStepShouldThrowError (line 250) | @Test method runFinishedEventOnActiveStepsShouldThrowError (line 271) | @Test method thinkingTextMessageStartShouldThrowErrorWhenNotStarted (line 290) | @Test method thinkingTextMessageStartShouldThrowErrorWhenAlreadyStarted (line 304) | @Test method thinkingTextMessageContentShouldThrowErrorWhenNoActiveMessage (line 320) | @Test method thinkingTextMessageEndShouldThrowErrorWhenNoActiveMessage (line 336) | @Test method thinkingStartShouldThrowErrorWhenAlreadyStarted (line 352) | @Test method thinkingEndShouldThrowErrorWhenNoActiveThinkingStep (line 368) | @Test method thinkingTextMessageStartShouldThrowErrorWhenNoActiveThinkingStep (line 382) | @Test method itShouldThrowExceptionOnRunTwice (line 396) | @Test FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/agent/Agent.java type Agent (line 23) | public interface Agent { method runAgent (line 52) | CompletableFuture runAgent(RunAgentParameters parameters, AgentS... method getMessages (line 54) | List getMessages(); FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/agent/AgentSubscriber.java type AgentSubscriber (line 24) | public interface AgentSubscriber { method onRunInitialized (line 36) | default void onRunInitialized(AgentSubscriberParams params) { } method onRunFailed (line 47) | default void onRunFailed(AgentSubscriberParams params, Throwable error... method onRunFinalized (line 57) | default void onRunFinalized(AgentSubscriberParams params) { } method onEvent (line 69) | default void onEvent(BaseEvent event) { } method onRunStartedEvent (line 76) | default void onRunStartedEvent(RunStartedEvent event) { } method onRunFinishedEvent (line 83) | default void onRunFinishedEvent(RunFinishedEvent event) { } method onRunErrorEvent (line 90) | default void onRunErrorEvent(RunErrorEvent event) { } method onStepStartedEvent (line 97) | default void onStepStartedEvent(StepStartedEvent event) { } method onStepFinishedEvent (line 104) | default void onStepFinishedEvent(StepFinishedEvent event) { } method onTextMessageStartEvent (line 111) | default void onTextMessageStartEvent(TextMessageStartEvent event) { } method onTextMessageContentEvent (line 121) | default void onTextMessageContentEvent(TextMessageContentEvent event) { } method onTextMessageEndEvent (line 128) | default void onTextMessageEndEvent(TextMessageEndEvent event) { } method onToolCallStartEvent (line 135) | default void onToolCallStartEvent(ToolCallStartEvent event) { } method onToolCallArgsEvent (line 145) | default void onToolCallArgsEvent(ToolCallArgsEvent event) { } method onToolCallEndEvent (line 152) | default void onToolCallEndEvent(ToolCallEndEvent event) { } method onToolCallResultEvent (line 159) | default void onToolCallResultEvent(ToolCallResultEvent event) { } method onStateSnapshotEvent (line 169) | default void onStateSnapshotEvent(StateSnapshotEvent event) { } method onStateDeltaEvent (line 179) | default void onStateDeltaEvent(StateDeltaEvent event) { } method onMessagesSnapshotEvent (line 189) | default void onMessagesSnapshotEvent(MessagesSnapshotEvent event) { } method onRawEvent (line 199) | default void onRawEvent(RawEvent event) { } method onCustomEvent (line 209) | default void onCustomEvent(CustomEvent event) { } method onMessagesChanged (line 221) | default void onMessagesChanged(AgentSubscriberParams params) { } method onStateChanged (line 231) | default void onStateChanged(State state) { } method onNewMessage (line 241) | default void onNewMessage(BaseMessage message) { } method onNewToolCall (line 251) | default void onNewToolCall(ToolCall toolCall) { } FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/agent/RunAgentParameters.java class RunAgentParameters (line 34) | public class RunAgentParameters { method RunAgentParameters (line 48) | private RunAgentParameters(Builder builder) { method getThreadId (line 63) | public String getThreadId() { method getRunId (line 71) | public String getRunId() { method getMessages (line 80) | public List getMessages() { method getTools (line 89) | public List getTools() { method getContext (line 98) | public List getContext() { method getState (line 107) | public State getState() { method getForwardedProps (line 116) | public Object getForwardedProps() { class Builder (line 126) | public static class Builder { method threadId (line 141) | public Builder threadId(String threadId) { method runId (line 152) | public Builder runId(String runId) { method messages (line 163) | public Builder messages(final List messages) { method tools (line 174) | public Builder tools(List tools) { method context (line 185) | public Builder context(List context) { method state (line 196) | public Builder state(State state) { method forwardedProps (line 207) | public Builder forwardedProps(Object forwardedProps) { method build (line 217) | public RunAgentParameters build() { method builder (line 227) | public static Builder builder() { method empty (line 238) | public static RunAgentParameters empty() { method withRunId (line 250) | public static RunAgentParameters withRunId(String runId) { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/context/Context.java method toString (line 27) | public String toString() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/event/BaseEvent.java class BaseEvent (line 24) | public abstract class BaseEvent { method BaseEvent (line 42) | public BaseEvent(@NotNull final EventType type) { method getType (line 53) | public EventType getType() { method setTimestamp (line 62) | public void setTimestamp(final long timestamp) { method getTimestamp (line 71) | public long getTimestamp() { method setRawEvent (line 80) | public void setRawEvent(final Object rawEvent) { method getRawEvent (line 89) | public Object getRawEvent() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/event/CustomEvent.java class CustomEvent (line 23) | public class CustomEvent extends BaseEvent { method CustomEvent (line 31) | public CustomEvent() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/event/MessagesSnapshotEvent.java class MessagesSnapshotEvent (line 29) | public class MessagesSnapshotEvent extends BaseEvent { method MessagesSnapshotEvent (line 40) | public MessagesSnapshotEvent() { method setMessages (line 50) | public void setMessages(final List messages) { method getMessages (line 59) | public List getMessages() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/event/RawEvent.java class RawEvent (line 24) | public class RawEvent extends BaseEvent { method RawEvent (line 32) | public RawEvent() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/event/RunErrorEvent.java class RunErrorEvent (line 22) | public class RunErrorEvent extends BaseEvent { method RunErrorEvent (line 33) | public RunErrorEvent() { method setError (line 42) | public void setError(final String error) { method getError (line 51) | public String getError() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/event/RunFinishedEvent.java class RunFinishedEvent (line 22) | public class RunFinishedEvent extends BaseEvent { method RunFinishedEvent (line 35) | public RunFinishedEvent() { method setThreadId (line 44) | public void setThreadId(final String threadId) { method getThreadId (line 53) | public String getThreadId() { method setRunId (line 62) | public void setRunId(final String runId) { method getRunId (line 71) | public String getRunId() { method setResult (line 80) | public void setResult(final Object result) { method getResult (line 89) | public Object getResult() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/event/RunStartedEvent.java class RunStartedEvent (line 25) | public class RunStartedEvent extends BaseEvent { method RunStartedEvent (line 37) | public RunStartedEvent() { method setThreadId (line 46) | public void setThreadId(final String threadId) { method getThreadId (line 55) | public String getThreadId() { method setRunId (line 64) | public void setRunId(final String runId) { method getRunId (line 73) | public String getRunId() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/event/StateDeltaEvent.java class StateDeltaEvent (line 23) | public class StateDeltaEvent extends BaseEvent { method StateDeltaEvent (line 31) | public StateDeltaEvent() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/event/StateSnapshotEvent.java class StateSnapshotEvent (line 26) | public class StateSnapshotEvent extends BaseEvent { method StateSnapshotEvent (line 36) | public StateSnapshotEvent() { method setState (line 40) | public void setState(final State state) { method getState (line 44) | public State getState() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/event/StepFinishedEvent.java class StepFinishedEvent (line 24) | public class StepFinishedEvent extends BaseEvent { method StepFinishedEvent (line 35) | public StepFinishedEvent() { method setStepName (line 44) | public void setStepName(final String stepName) { method getStepName (line 53) | public String getStepName() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/event/StepStartedEvent.java class StepStartedEvent (line 23) | public class StepStartedEvent extends BaseEvent { method StepStartedEvent (line 34) | public StepStartedEvent() { method setStepName (line 43) | public void setStepName(final String stepName) { method getStepName (line 52) | public String getStepName() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/event/TextMessageChunkEvent.java class TextMessageChunkEvent (line 24) | public class TextMessageChunkEvent extends BaseEvent { method TextMessageChunkEvent (line 37) | public TextMessageChunkEvent() { method setMessageId (line 46) | public void setMessageId(final String messageId) { method getMessageId (line 55) | public String getMessageId() { method setRole (line 64) | public void setRole(final String role) { method getRole (line 73) | public String getRole() { method setDelta (line 82) | public void setDelta(final String delta) { method getDelta (line 91) | public String getDelta() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/event/TextMessageContentEvent.java class TextMessageContentEvent (line 24) | public class TextMessageContentEvent extends BaseEvent { method TextMessageContentEvent (line 36) | public TextMessageContentEvent() { method setMessageId (line 45) | public void setMessageId(final String messageId) { method getMessageId (line 54) | public String getMessageId() { method setDelta (line 63) | public void setDelta(final String delta) { method getDelta (line 72) | public String getDelta() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/event/TextMessageEndEvent.java class TextMessageEndEvent (line 26) | public class TextMessageEndEvent extends BaseEvent { method TextMessageEndEvent (line 37) | public TextMessageEndEvent() { method setMessageId (line 46) | public void setMessageId(final String messageId) { method getMessageId (line 55) | public String getMessageId() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/event/TextMessageStartEvent.java class TextMessageStartEvent (line 26) | public class TextMessageStartEvent extends BaseEvent { method TextMessageStartEvent (line 38) | public TextMessageStartEvent() { method setMessageId (line 47) | public void setMessageId(final String messageId) { method getMessageId (line 56) | public String getMessageId() { method setRole (line 65) | public void setRole(final String role) { method getRole (line 74) | public String getRole() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/event/ThinkingEndEvent.java class ThinkingEndEvent (line 25) | public class ThinkingEndEvent extends BaseEvent { method ThinkingEndEvent (line 33) | public ThinkingEndEvent() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/event/ThinkingStartEvent.java class ThinkingStartEvent (line 25) | public class ThinkingStartEvent extends BaseEvent { method ThinkingStartEvent (line 33) | public ThinkingStartEvent() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/event/ThinkingTextMessageContentEvent.java class ThinkingTextMessageContentEvent (line 27) | public class ThinkingTextMessageContentEvent extends BaseEvent { method ThinkingTextMessageContentEvent (line 35) | public ThinkingTextMessageContentEvent() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/event/ThinkingTextMessageEndEvent.java class ThinkingTextMessageEndEvent (line 27) | public class ThinkingTextMessageEndEvent extends BaseEvent { method ThinkingTextMessageEndEvent (line 35) | public ThinkingTextMessageEndEvent() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/event/ThinkingTextMessageStartEvent.java class ThinkingTextMessageStartEvent (line 26) | public class ThinkingTextMessageStartEvent extends BaseEvent { method ThinkingTextMessageStartEvent (line 34) | public ThinkingTextMessageStartEvent() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/event/ToolCallArgsEvent.java class ToolCallArgsEvent (line 26) | public class ToolCallArgsEvent extends BaseEvent { method ToolCallArgsEvent (line 38) | public ToolCallArgsEvent() { method setToolCallId (line 47) | public void setToolCallId(final String toolCallId) { method getToolCallId (line 56) | public String getToolCallId() { method setDelta (line 65) | public void setDelta(final String delta) { method getDelta (line 74) | public String getDelta() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/event/ToolCallChunkEvent.java class ToolCallChunkEvent (line 28) | public class ToolCallChunkEvent extends BaseEvent { method ToolCallChunkEvent (line 42) | public ToolCallChunkEvent() { method setToolCallId (line 51) | public void setToolCallId(final String toolCallId) { method getToolCallId (line 60) | public String getToolCallId() { method setToolCallName (line 69) | public void setToolCallName(final String toolCallName) { method getToolCallName (line 78) | public String getToolCallName() { method setParentMessageId (line 87) | public void setParentMessageId(final String parentMessageId) { method getParentMessageId (line 96) | public String getParentMessageId() { method setDelta (line 105) | public void setDelta(final String delta) { method getDelta (line 114) | public String getDelta() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/event/ToolCallEndEvent.java class ToolCallEndEvent (line 26) | public class ToolCallEndEvent extends BaseEvent { method ToolCallEndEvent (line 37) | public ToolCallEndEvent() { method setToolCallId (line 46) | public void setToolCallId(final String toolCallId) { method getToolCallId (line 55) | public String getToolCallId() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/event/ToolCallResultEvent.java class ToolCallResultEvent (line 28) | public class ToolCallResultEvent extends BaseEvent { method ToolCallResultEvent (line 42) | public ToolCallResultEvent() { method setToolCallId (line 51) | public void setToolCallId(final String toolCallId) { method getToolCallId (line 60) | public String getToolCallId() { method setContent (line 69) | public void setContent(final String content) { method getContent (line 78) | public String getContent() { method setMessageId (line 87) | public void setMessageId(final String messageId) { method getMessageId (line 96) | public String getMessageId() { method setRole (line 105) | public void setRole(final Role role) { method getRole (line 114) | public Role getRole() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/event/ToolCallStartEvent.java class ToolCallStartEvent (line 26) | public class ToolCallStartEvent extends BaseEvent { method ToolCallStartEvent (line 39) | public ToolCallStartEvent() { method setToolCallId (line 48) | public void setToolCallId(final String toolCallId) { method getToolCallId (line 57) | public String getToolCallId() { method setToolCallName (line 66) | public void setToolCallName(final String toolCallName) { method getToolCallName (line 75) | public String getToolCallName() { method setParentMessageId (line 84) | public void setParentMessageId(final String parentMessageId) { method getParentMessageId (line 93) | public String getParentMessageId() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/exception/AGUIException.java class AGUIException (line 20) | public class AGUIException extends Exception { method AGUIException (line 31) | public AGUIException(final String message) { method AGUIException (line 46) | public AGUIException(final String message, final Throwable cause) { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/message/AssistantMessage.java class AssistantMessage (line 28) | public class AssistantMessage extends BaseMessage { method getRole (line 41) | public Role getRole() { method setToolCalls (line 50) | public void setToolCalls(final List toolCalls) { method addToolCall (line 59) | public void addToolCall(final ToolCall toolCall) { method getToolCalls (line 72) | public List getToolCalls() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/message/BaseMessage.java class BaseMessage (line 22) | public abstract class BaseMessage { method BaseMessage (line 35) | protected BaseMessage() { method BaseMessage (line 46) | protected BaseMessage(final String id, final String content, final Str... method getRole (line 61) | public abstract Role getRole(); method setId (line 68) | public void setId(final String id) { method getId (line 77) | public String getId() { method setContent (line 86) | public void setContent(final String content) { method getContent (line 95) | public String getContent() { method setName (line 104) | public void setName(final String name) { method getName (line 113) | public String getName() { method equals (line 128) | @Override method hashCode (line 157) | @Override FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/message/DeveloperMessage.java class DeveloperMessage (line 21) | public class DeveloperMessage extends BaseMessage { method getRole (line 32) | public Role getRole() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/message/Role.java type Role (line 3) | public enum Role { method Role (line 13) | Role(final String name) { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/message/SystemMessage.java class SystemMessage (line 22) | public class SystemMessage extends BaseMessage { method getRole (line 33) | public Role getRole() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/message/ToolMessage.java class ToolMessage (line 22) | public class ToolMessage extends BaseMessage { method getRole (line 36) | public Role getRole() { method setToolCallId (line 45) | public void setToolCallId(final String toolCallId) { method getToolCallId (line 54) | public String getToolCallId() { method setError (line 63) | public void setError(final String error) { method getError (line 72) | public String getError() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/message/UserMessage.java class UserMessage (line 22) | public class UserMessage extends BaseMessage { method getRole (line 33) | public Role getRole() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/state/State.java class State (line 22) | public class State { method State (line 32) | public State() { method State (line 36) | public State(final Map stateMap) { method set (line 51) | public void set(final String key, final Object value) { method getState (line 65) | public Map getState() { method get (line 78) | public Object get(final String key) { method toString (line 82) | public String toString() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/stream/EventStream.java class EventStream (line 35) | public class EventStream implements IEventStream { method EventStream (line 55) | public EventStream( method next (line 73) | @Override method error (line 96) | @Override method complete (line 122) | @Override method isCancelled (line 141) | @Override method cancel (line 153) | @Override method isCompleted (line 170) | public boolean isCompleted() { FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/stream/IEventStream.java type IEventStream (line 28) | public interface IEventStream { method next (line 40) | void next(T item); method error (line 52) | void error(Throwable error); method complete (line 63) | void complete(); method isCancelled (line 73) | boolean isCancelled(); method cancel (line 85) | void cancel(); FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/subscription/Subscription.java type Subscription (line 30) | public interface Subscription { method unsubscribe (line 42) | void unsubscribe(); FILE: sdks/community/java/packages/core/src/main/java/com/agui/core/type/EventType.java type EventType (line 29) | public enum EventType { method EventType (line 109) | EventType(String name) { method getName (line 118) | public String getName() { FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/agent/AgentSubscriberParamsTest.java class AgentSubscriberParamsTest (line 14) | @DisplayName("AgentSubscriberParams") method shouldCreateAgentSubscriberParams (line 17) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/agent/AgentSubscriberTest.java class AgentSubscriberTest (line 10) | @DisplayName("AgentSubscriber") method shouldHaveDefaultMethods (line 13) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/agent/RunAgentInputTest.java class RunAgentInputTest (line 16) | @DisplayName("RunAgentInput") method shouldCreateWithAllParameters (line 19) | @Test method shouldBeImmutable (line 45) | @Test method shouldHandleNullValues (line 54) | @Test method shouldHaveProperToString (line 67) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/agent/RunAgentParametersTest.java class RunAgentParametersTest (line 14) | @DisplayName("RunAgentParameters") method shouldCreateEmptyRunAgentParameters (line 17) | @Test method shouldCreateRunAgentParametersWithRunId (line 27) | @Test method shouldCreateRunAgentParameters (line 36) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/context/ContextTest.java class ContextTest (line 9) | @DisplayName("Context") method itShouldThrowNullPointerExceptionOnNullDescription (line 12) | @Test() method itShouldThrowNullPointerExceptionOnNullValue (line 19) | @Test() method itShouldCreateContext (line 26) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/event/BaseEventTest.java class BaseEventTest (line 12) | @DisplayName("BaseEvent") method shouldOverrideTimestamp (line 15) | @Test method shouldSetRawEvent (line 25) | @Test method shouldSetComplexRawEvent (line 34) | @Test class TestEvent (line 43) | static class TestEvent extends BaseEvent { method TestEvent (line 45) | public TestEvent() { FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/event/CustomEventTest.java class CustomEventTest (line 12) | @DisplayName("CustomEvent") method shouldSetCorrectEventType (line 15) | @Test method shouldSetCurrentTimestamp (line 22) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/event/MessagesSnapshotEventTest.java class MessagesSnapshotEventTest (line 14) | @DisplayName("MessagesSnapshotEvent") method shouldSetCorrectEventType (line 17) | @Test method shouldSetCurrentTimestamp (line 24) | @Test method shouldSetMessages (line 31) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/event/RawEventTest.java class RawEventTest (line 12) | @DisplayName("RawEvent") method shouldSetCorrectEventType (line 15) | @Test method shouldSetCurrentTimestamp (line 22) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/event/RunErrorEventTest.java class RunErrorEventTest (line 12) | @DisplayName("RunErrorEvent") method shouldSetCorrectEventType (line 15) | @Test method shouldSetCurrentTimestamp (line 22) | @Test method shouldSetErrorMessage (line 29) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/event/RunFinishedEventTest.java class RunFinishedEventTest (line 13) | @DisplayName("RunFinishedEvent") method shouldSetCorrectEventType (line 16) | @Test method shouldSetCurrentTimestamp (line 23) | @Test method shouldSetThreadId (line 30) | @Test method shouldSetRunId (line 39) | @Test method shouldSetResult (line 48) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/event/RunStartedEventTest.java class RunStartedEventTest (line 13) | @DisplayName("RunStartedEvent") method shouldSetCorrectEventType (line 16) | @Test method shouldSetCurrentTimestamp (line 23) | @Test method shouldSetThreadId (line 30) | @Test method shouldSetRunId (line 39) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/event/StateDeltaEventTest.java class StateDeltaEventTest (line 12) | @DisplayName("StateDeltaEvent") method shouldSetCorrectEventType (line 15) | @Test method shouldSetCurrentTimestamp (line 22) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/event/StateSnapshotEventTest.java class StateSnapshotEventTest (line 12) | @DisplayName("StateSnapshotEvent") method shouldSetCorrectEventType (line 15) | @Test method shouldSetCurrentTimestamp (line 22) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/event/StepFinishedEventTest.java class StepFinishedEventTest (line 12) | @DisplayName("StepFinishedEvent") method shouldSetCorrectEventType (line 15) | @Test method shouldSetCurrentTimestamp (line 22) | @Test method shouldSetStepName (line 29) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/event/StepStartedEventTest.java class StepStartedEventTest (line 12) | @DisplayName("StepStartedEvent") method shouldSetCorrectEventType (line 15) | @Test method shouldSetCurrentTimestamp (line 22) | @Test method shouldSetStepName (line 29) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/event/TextMessageChunkEventTest.java class TextMessageChunkEventTest (line 13) | @DisplayName("TextMessageChunkEvent") method shouldSetCorrectEventType (line 16) | @Test method shouldSetCurrentTimestamp (line 23) | @Test method shouldSetMessageId (line 30) | @Test method shouldSetDelta (line 39) | @Test method shouldSetRole (line 48) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/event/TextMessageContentEventTest.java class TextMessageContentEventTest (line 13) | @DisplayName("TextMessageContentEvent") method shouldSetCorrectEventType (line 16) | @Test method shouldSetCurrentTimestamp (line 23) | @Test method shouldSetMessageId (line 30) | @Test method shouldSetDelta (line 39) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/event/TextMessageEndEventTest.java class TextMessageEndEventTest (line 13) | @DisplayName("TextMessageEndEvent") method shouldSetCorrectEventType (line 16) | @Test method shouldSetCurrentTimestamp (line 23) | @Test method shouldSetMessageId (line 30) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/event/TextMessageStartEventTest.java class TextMessageStartEventTest (line 13) | @DisplayName("TextMessageStartEvent") method shouldSetCorrectEventType (line 16) | @Test method shouldSetCurrentTimestamp (line 23) | @Test method shouldSetMessageId (line 30) | @Test method shouldSetRole (line 39) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/event/ThinkingEndEventTest.java class ThinkingEndEventTest (line 12) | @DisplayName("ThinkingEndEvent") method shouldSetCorrectEventType (line 15) | @Test method shouldSetCurrentTimestamp (line 22) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/event/ThinkingStartEventTest.java class ThinkingStartEventTest (line 12) | @DisplayName("ThinkingStartEvent") method shouldSetCorrectEventType (line 15) | @Test method shouldSetCurrentTimestamp (line 22) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/event/ThinkingTextMessageContentEventTest.java class ThinkingTextMessageContentEventTest (line 12) | @DisplayName("ThinkingTextMessageContentEvent") method shouldSetCorrectEventType (line 15) | @Test method shouldSetCurrentTimestamp (line 22) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/event/ThinkingTextMessageEndEventTest.java class ThinkingTextMessageEndEventTest (line 12) | @DisplayName("ThinkingTextMessageEndEvent") method shouldSetCorrectEventType (line 15) | @Test method shouldSetCurrentTimestamp (line 22) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/event/ThinkingTextMessageStartEventTest.java class ThinkingTextMessageStartEventTest (line 12) | @DisplayName("ThinkingTextMessageStartEvent") method shouldSetCorrectEventType (line 15) | @Test method shouldSetCurrentTimestamp (line 22) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/event/ToolCallArgsEventTest.java class ToolCallArgsEventTest (line 13) | @DisplayName("ToolCallArgsEvent") method shouldSetCorrectEventType (line 16) | @Test method shouldSetCurrentTimestamp (line 23) | @Test method shouldSetId (line 30) | @Test method shouldSetDelta (line 39) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/event/ToolCallChunkEventTest.java class ToolCallChunkEventTest (line 13) | @DisplayName("ToolCallChunkEvent") method shouldSetCorrectEventType (line 16) | @Test method shouldSetCurrentTimestamp (line 23) | @Test method shouldSetId (line 30) | @Test method shouldSetName (line 39) | @Test method shouldSetParentId (line 48) | @Test method shouldSetDelta (line 57) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/event/ToolCallEndEventTest.java class ToolCallEndEventTest (line 13) | @DisplayName("ToolCallEndEvent") method shouldSetCorrectEventType (line 16) | @Test method shouldSetCurrentTimestamp (line 23) | @Test method shouldSetTool (line 30) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/event/ToolCallResultEventTest.java class ToolCallResultEventTest (line 14) | @DisplayName("ToolCallResultEvent") method shouldSetCorrectEventType (line 17) | @Test method shouldSetCurrentTimestamp (line 24) | @Test method shouldSetId (line 31) | @Test method shouldSetMessageId (line 40) | @Test method shouldSetRole (line 49) | @Test method shouldSetContent (line 57) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/event/ToolCallStartEventTest.java class ToolCallStartEventTest (line 13) | @DisplayName("ToolCallStartEvent") method shouldSetCorrectEventType (line 16) | @Test method shouldSetCurrentTimestamp (line 23) | @Test method shouldSetId (line 30) | @Test method shouldSetParentId (line 39) | @Test method shouldSetName (line 48) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/exception/AGUIExceptionTest.java class AGUIExceptionTest (line 8) | @DisplayName("AGUIException") method shouldThrowException (line 11) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/function/FunctionCallTest.java class FunctionCallTest (line 9) | @DisplayName("FunctionCall") method shouldThrowErrorOnNullName (line 12) | @Test method shouldCreateFunctionCall (line 19) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/message/AssistantMessageTest.java class AssistantMessageTest (line 12) | @DisplayName("AssistantMessage") method shouldSetRole (line 15) | @Test method shouldAddToolCall (line 22) | @Test method shouldSetParameters (line 35) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/message/DeveloperMessageTest.java class DeveloperMessageTest (line 8) | @DisplayName("DeveloperMessage") method shouldSetRole (line 11) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/message/SystemMessageTest.java class SystemMessageTest (line 8) | @DisplayName("SystemMessage") method shouldSetRole (line 11) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/message/ToolMessageTest.java class ToolMessageTest (line 10) | @DisplayName("ToolMessage") method shouldSetRole (line 13) | @Test method shouldSetParameters (line 20) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/message/UserMessageTest.java class UserMessageTest (line 8) | @DisplayName("UserMessage") method shouldSetRole (line 11) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/state/StateTest.java class StateTest (line 9) | @DisplayName("State") method shouldCreateEmptyState (line 12) | @Test method shouldCreateStateWithValue (line 19) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/stream/EventStreamTest.java class EventStreamTest (line 12) | @DisplayName("EventStream") method shouldCreateSimpleEventStream (line 15) | @Test method shouldCallOnNext (line 26) | @Test method shouldNotCallOnNextWhenCancelled (line 39) | @Test method shouldNotCallOnNextWhenCompleted (line 56) | @Test method shouldCallOnError (line 73) | @Test method shouldNotCallOnErrorWhenCancelled (line 86) | @Test method shouldNotCallOnErrorWhenCompleted (line 104) | @Test method shouldComplete (line 121) | @Test method shouldNotCallOnCompleteWhenCancelled (line 137) | @Test method shouldNotBubbleExceptionWhenOnCompleteThrowsException (line 152) | @Test method shouldNotBubbleExceptionWhenOnErrorThrowsException (line 165) | @Test method shouldCallOnErrorWhenOnNextThrowsException (line 178) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/stream/IEventStreamTest.java class IEventStreamTest (line 9) | @DisplayName("IEventStream") method shouldImplementBasicStreamOperations (line 12) | @Test method shouldHandleErrors (line 25) | @Test method shouldSupportCancellation (line 35) | @Test method shouldThrowWhenNextCalledAfterCompletion (line 46) | @Test method shouldThrowWhenErrorCalledAfterCompletion (line 55) | @Test method shouldThrowWhenCompleteCalledTwice (line 64) | @Test class TestEventStream (line 73) | static class TestEventStream implements IEventStream { method next (line 79) | @Override method error (line 87) | @Override method complete (line 95) | @Override method isCancelled (line 103) | @Override method cancel (line 108) | @Override FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/subscription/SubscriptionTest.java class SubscriptionTest (line 8) | @DisplayName("Subscription") method shouldUnsubscribe (line 11) | @Test method shouldBeIdempotent (line 22) | @Test method shouldCleanUpResources (line 33) | @Test class TestSubscription (line 46) | static class TestSubscription implements Subscription { method unsubscribe (line 51) | @Override method isUnsubscribed (line 58) | boolean isUnsubscribed() { method addResource (line 62) | void addResource(String resource) { FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/tool/ToolCallTest.java class ToolCallTest (line 12) | @DisplayName("ToolCall") method shouldThrowNullPointerExceptionOnNullId (line 15) | @Test method shouldThrowNullPointerExceptionOnNullType (line 22) | @Test method shouldCreateToolCall (line 29) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/tool/ToolTest.java class ToolTest (line 12) | @DisplayName("Tool") method shouldThrowNullPointerExceptionOnNullName (line 15) | @Test method shouldCreateToolWithParameters (line 22) | @Test FILE: sdks/community/java/packages/core/src/test/java/com/agui/core/type/EventTypeTest.java class EventTypeTest (line 8) | @DisplayName("EventType") method shouldHaveConsistentNaming (line 11) | @Test FILE: sdks/community/java/packages/http/src/main/java/com/agui/http/BaseHttpClient.java type BaseHttpClient (line 31) | public interface BaseHttpClient { method streamEvents (line 62) | public CompletableFuture streamEvents( method close (line 90) | void close(); FILE: sdks/community/java/packages/http/src/main/java/com/agui/http/HttpAgent.java class HttpAgent (line 47) | public class HttpAgent extends AbstractAgent { method HttpAgent (line 65) | private HttpAgent( method getMessages (line 79) | public List getMessages() { method run (line 100) | @Override method close (line 131) | public void close() { class Builder (line 148) | public static class Builder { method agentId (line 163) | public Builder agentId(String agentId) { method description (line 174) | public Builder description(String description) { method threadId (line 185) | public Builder threadId(String threadId) { method httpClient (line 196) | public Builder httpClient(BaseHttpClient httpClient) { method messages (line 207) | public Builder messages(List messages) { method addMessage (line 218) | public Builder addMessage(BaseMessage message) { method state (line 232) | public Builder state(State state) { method debug (line 243) | public Builder debug(boolean debug) { method debug (line 253) | public Builder debug() { method validate (line 263) | private void validate() { method build (line 281) | public HttpAgent build() { method builder (line 292) | public static Builder builder() { FILE: sdks/community/java/packages/http/src/test/java/com/agui/http/BaseHttpClientTest.java class BaseHttpClientTest (line 19) | @DisplayName("BaseHttpClient") method setUp (line 24) | @BeforeEach method shouldStreamEventsSuccessfully (line 29) | @Test method shouldHandleCancellation (line 44) | @Test method shouldThrowOnNullInput (line 58) | @Test method shouldThrowOnNullEventHandler (line 67) | @Test method shouldThrowOnNullCancellationToken (line 76) | @Test method shouldCloseSuccessfully (line 85) | @Test method shouldBeIdempotentOnClose (line 92) | @Test class TestHttpClient (line 100) | static class TestHttpClient implements BaseHttpClient { method streamEvents (line 105) | @Override method close (line 136) | @Override FILE: sdks/community/java/packages/http/src/test/java/com/agui/http/HttpAgentTest.java class HttpAgentTest (line 27) | @DisplayName("HttpAgent") class BuilderTests (line 30) | @Nested method shouldBuildAgentWithAllRequiredParameters (line 34) | @Test method shouldBuildAgentWithAllOptionalParameters (line 50) | @Test method shouldAddSingleMessageToBuilder (line 73) | @Test method shouldHandleNullMessagesList (line 92) | @Test method shouldHandleNullState (line 106) | @Test method shouldThrowExceptionWhenThreadIdIsNull (line 120) | @Test method shouldThrowExceptionWhenThreadIdIsEmpty (line 132) | @Test method shouldThrowExceptionWhenHttpClientIsNull (line 145) | @Test method shouldSupportMethodChaining (line 155) | @Test class AgentExecutionTests (line 174) | @Nested method setUp (line 182) | @BeforeEach method shouldExecuteSuccessfullyWithEventsFromHttpClient (line 194) | @Test method shouldHandleHttpClientErrorsProperly (line 218) | @Test method shouldNotForwardEventsWhenStreamIsCancelled (line 235) | @Test method shouldPassCancellationTokenToHttpClient (line 258) | @Test method shouldHandleMultipleEventsInSequence (line 269) | @Test method shouldHandleEmptyEventStream (line 289) | @Test class ResourceManagementTests (line 304) | @Nested method shouldCloseHttpClientWhenCloseIsCalled (line 308) | @Test method shouldHandleCloseWhenHttpClientIsNull (line 322) | @Test class TestSubscriber (line 338) | private static class TestSubscriber implements com.agui.core.agent.Age... method onEvent (line 346) | @Override method onRunInitialized (line 353) | @Override method onRunFinalized (line 359) | @Override method onRunStartedEvent (line 365) | @Override method onRunErrorEvent (line 370) | @Override method onRunFinishedEvent (line 376) | @Override method onStepStartedEvent (line 381) | @Override method onStepFinishedEvent (line 386) | @Override method onTextMessageStartEvent (line 391) | @Override method onTextMessageContentEvent (line 396) | @Override method onTextMessageEndEvent (line 401) | @Override method onToolCallStartEvent (line 406) | @Override method onToolCallArgsEvent (line 411) | @Override method onToolCallResultEvent (line 416) | @Override method onToolCallEndEvent (line 421) | @Override method onRawEvent (line 426) | @Override method onCustomEvent (line 431) | @Override method onMessagesSnapshotEvent (line 436) | @Override method onStateSnapshotEvent (line 441) | @Override method onStateDeltaEvent (line 446) | @Override method onNewMessage (line 451) | @Override method onMessagesChanged (line 456) | @Override method getReceivedEvents (line 462) | public List getReceivedEvents() { return receivedEvents; } method getMethodCalls (line 463) | public List getMethodCalls() { return methodCalls; } method getEventCount (line 464) | public int getEventCount() { return eventCount.get(); } method wasOnRunInitializedCalled (line 465) | public boolean wasOnRunInitializedCalled() { return onRunInitialized... method wasOnRunFinalizedCalled (line 466) | public boolean wasOnRunFinalizedCalled() { return onRunFinalizedCall... method wasOnRunErrorCalled (line 467) | public boolean wasOnRunErrorCalled() { return onRunErrorCalled.get(); } class TestHttpClient (line 470) | private static class TestHttpClient implements BaseHttpClient { method streamEvents (line 481) | @Override method close (line 520) | @Override method setEventsToEmit (line 526) | public void setEventsToEmit(List events) { method setShouldThrowError (line 530) | public void setShouldThrowError(boolean shouldThrowError) { method setErrorToThrow (line 534) | public void setErrorToThrow(Throwable error) { method setShouldComplete (line 538) | public void setShouldComplete(boolean shouldComplete) { method setDelayBeforeEvents (line 542) | public void setDelayBeforeEvents(long delayMs) { method wasClosed (line 547) | public boolean wasClosed() { method wasStreamEventsCalled (line 551) | public boolean wasStreamEventsCalled() { method getLastInput (line 555) | public RunAgentInput getLastInput() { method getLastCancellationToken (line 559) | public AtomicBoolean getLastCancellationToken() { method createMessage (line 564) | private static BaseMessage createMessage(String content) { FILE: sdks/community/java/packages/server/src/main/java/com/agui/server/EventFactory.java class EventFactory (line 40) | public class EventFactory { method EventFactory (line 48) | private EventFactory() { method runStartedEvent (line 63) | public static RunStartedEvent runStartedEvent(final String threadId, f... method textMessageStartEvent (line 82) | public static TextMessageStartEvent textMessageStartEvent(final String... method textMessageContentEvent (line 101) | public static TextMessageContentEvent textMessageContentEvent(final St... method textMessageEndEvent (line 119) | public static TextMessageEndEvent textMessageEndEvent(final String mes... method runFinishedEvent (line 137) | public static RunFinishedEvent runFinishedEvent(String threadId, Strin... method toolCallStartEvent (line 157) | public static ToolCallStartEvent toolCallStartEvent(String messageId, ... method toolCallArgsEvent (line 177) | public static ToolCallArgsEvent toolCallArgsEvent(String arguments, St... method toolCallEndEvent (line 195) | public static ToolCallEndEvent toolCallEndEvent(String toolCallId) { method runErrorEvent (line 212) | public static RunErrorEvent runErrorEvent(String message) { method toolCallResultEvent (line 219) | public static ToolCallResultEvent toolCallResultEvent(String toolCallI... method stateSnapshotEvent (line 229) | public static StateSnapshotEvent stateSnapshotEvent(final State state) { FILE: sdks/community/java/packages/server/src/main/java/com/agui/server/LocalAgent.java class LocalAgent (line 30) | public abstract class LocalAgent implements Agent { method LocalAgent (line 51) | public LocalAgent( method getAgentId (line 68) | public String getAgentId() { method setState (line 77) | public void setState(final State state) { method getMessages (line 86) | public List getMessages() { method runAgent (line 96) | @Override method run (line 126) | protected abstract void run(RunAgentInput input, AgentSubscriber subsc... method emitEvent (line 138) | protected void emitEvent(final BaseEvent event, final AgentSubscriber ... method createSystemMessage (line 182) | protected SystemMessage createSystemMessage(final State state, final L... method getLatestUserMessage (line 219) | protected UserMessage getLatestUserMessage(List messages)... method combineMessages (line 226) | protected void combineMessages(RunAgentInput input) { FILE: sdks/community/java/packages/server/src/main/java/com/agui/server/streamer/AgentStreamer.java class AgentStreamer (line 49) | public class AgentStreamer { method streamEvents (line 79) | public void streamEvents(final Agent agent, final RunAgentParameters p... FILE: sdks/community/java/packages/server/src/test/java/com/agui/server/EventFactoryTest.java class EventFactoryTest (line 9) | @DisplayName("EventFactory") method shouldCreateRunStartedEvent (line 12) | @Test method shouldCreateTextMessageStartEvent (line 25) | @Test method shouldCreateTextMessageContentEvent (line 38) | @Test method shouldCreateTextMessageEndEvent (line 51) | @Test method shouldCreateRunFinishedEvent (line 62) | @Test method shouldCreateToolCallStartEvent (line 75) | @Test method shouldCreateToolCallArgsEvent (line 90) | @Test method shouldCreateToolCallEndEvent (line 103) | @Test method shouldCreateRunErrorEvent (line 114) | @Test method shouldHavePrivateConstructor (line 125) | @Test FILE: sdks/community/java/packages/server/src/test/java/com/agui/server/LocalAgentTest.java class LocalAgentTest (line 27) | @DisplayName("LocalAgent") method shouldGetLatestUserMessage (line 30) | @Test method shouldThrowExceptionOnNoUserMessage (line 43) | @Test method shouldSetAgentId (line 52) | @Test method shouldRunAgent (line 60) | @Test method shouldEmitEvents (line 89) | @Test method shouldSetState (line 175) | @Test class TestAgent (line 188) | public static class TestAgent extends LocalAgent { method TestAgent (line 192) | public TestAgent(String agentId, State state) throws AGUIException { method getMessages (line 196) | @Override method run (line 201) | @Override method getSystemMessage (line 206) | public String getSystemMessage() { method getLatestUserMessageContent (line 210) | public String getLatestUserMessageContent(List messages... FILE: sdks/community/java/packages/server/src/test/java/com/agui/server/streamer/AgentStreamerTest.java class AgentStreamerTest (line 22) | @DisplayName("AgentStreamer") method itShouldRunAgentStreamer (line 25) | @Test method itShouldThrowError (line 44) | @Test method itShouldComplete (line 61) | @Test class TestAgent (line 81) | public static class TestAgent implements Agent { method runAgent (line 85) | @Override method getMessages (line 91) | @Override FILE: sdks/community/java/servers/spring/src/main/java/com/agui/server/spring/AgUiAutoConfiguration.java class AgUiAutoConfiguration (line 42) | @AutoConfiguration method agentStreamer (line 55) | @Bean method agUiService (line 76) | @Bean method objectMapper (line 83) | @Bean FILE: sdks/community/java/servers/spring/src/main/java/com/agui/server/spring/AgUiParameters.java class AgUiParameters (line 46) | public class AgUiParameters { method setThreadId (line 61) | public void setThreadId(final String threadId) { method getThreadId (line 70) | public String getThreadId() { method setRunId (line 79) | public void setRunId(final String runId) { method getRunId (line 88) | public String getRunId() { method setTools (line 97) | public void setTools(final List tools) { method getTools (line 106) | public List getTools() { method setContext (line 115) | public void setContext(final List context) { method getContext (line 124) | public List getContext() { method setForwardedProps (line 133) | public void setForwardedProps(final Object forwardedProps) { method getForwardedProps (line 142) | public Object getForwardedProps() { method setMessages (line 151) | public void setMessages(final List messages) { method getMessages (line 160) | public List getMessages() { method setState (line 169) | public void setState(State state) { method getState (line 178) | public State getState() { FILE: sdks/community/java/servers/spring/src/main/java/com/agui/server/spring/AgUiService.java class AgUiService (line 62) | public class AgUiService { method AgUiService (line 79) | public AgUiService( method runAgent (line 121) | public SseEmitter runAgent(final LocalAgent agent, final AgUiParameter... FILE: sdks/community/java/servers/spring/src/test/java/com/agui/server/spring/AgUiParametersTest.java class AgUiParametersTest (line 18) | @DisplayName("AgUiParameters") method setUp (line 23) | @BeforeEach method shouldSetAndGetThreadId (line 28) | @Test method shouldSetAndGetRunId (line 37) | @Test method shouldSetAndGetTools (line 46) | @Test method shouldSetAndGetContext (line 59) | @Test method shouldSetAndGetForwardedProps (line 68) | @Test method shouldSetAndGetMessages (line 77) | @Test method shouldSetAndGetState (line 97) | @Test method shouldHandleNullValues (line 107) | @Test method shouldInitializeWithNullValues (line 126) | @Test method shouldSupportComplexForwardedProps (line 139) | @Test FILE: sdks/community/java/utils/json/src/main/java/com/agui/json/ObjectMapperFactory.java class ObjectMapperFactory (line 48) | public class ObjectMapperFactory { method ObjectMapperFactory (line 53) | private ObjectMapperFactory() { } method addMixins (line 86) | public static void addMixins(final ObjectMapper objectMapper) { FILE: sdks/community/java/utils/json/src/main/java/com/agui/json/mixins/EventMixin.java type EventMixin (line 53) | @JsonTypeInfo( FILE: sdks/community/java/utils/json/src/main/java/com/agui/json/mixins/MessageMixin.java type MessageMixin (line 62) | @JsonTypeInfo( FILE: sdks/community/java/utils/json/src/main/java/com/agui/json/mixins/StateMixin.java type StateMixin (line 65) | public interface StateMixin { method getState (line 81) | @JsonAnyGetter method set (line 101) | @JsonAnySetter FILE: sdks/community/java/utils/json/src/test/java/com/agui/json/ObjectMapperFactoryTest.java class ObjectMapperFactoryTest (line 16) | @DisplayName("ObjectMapperFactory") method setUp (line 21) | @BeforeEach method shouldAddMessageMixin (line 26) | @Test method shouldAddEventMixin (line 35) | @Test method shouldAddStateMixin (line 44) | @Test method shouldNotAddMixinTwice (line 53) | @Test method shouldBeIdempotent (line 70) | @Test method shouldNotAddMixinIfAlreadyPresent (line 83) | @Test method shouldHavePrivateConstructor (line 98) | @Test FILE: sdks/community/kotlin/examples/chatapp-java/app/src/androidTest/java/com/agui/chatapp/java/MultiAgentInstrumentedTest.java class MultiAgentInstrumentedTest (line 32) | @RunWith(AndroidJUnit4.class) method setUp (line 38) | @Before method tearDown (line 47) | @After method testAddAgent (line 53) | @Test method testUpdateAgent (line 68) | @Test method testDeleteAgent (line 88) | @Test method testSetActiveAgent (line 109) | @Test method testAuthMethodPersistence (line 128) | @Test method testSystemPromptPersistence (line 169) | @Test method testDescriptionPersistence (line 190) | @Test method testPersistenceAcrossRepositoryInstances (line 211) | @Test method createTestAgent (line 234) | private AgentProfile createTestAgent(String name, String url) { method createTestAgentWithAuth (line 244) | private AgentProfile createTestAgentWithAuth(String name, String url, ... method getLiveDataValue (line 254) | private T getLiveDataValue(LiveData liveData) throws Interrupte... FILE: sdks/community/kotlin/examples/chatapp-java/app/src/androidTest/java/com/agui/chatapp/java/ui/ChatActivityTest.java class ChatActivityTest (line 37) | @RunWith(AndroidJUnit4.class) method setUp (line 45) | @Before method tearDown (line 54) | @After method clearAgentConfiguration (line 62) | private void clearAgentConfiguration() { method testActivityLaunchesSuccessfully (line 67) | @Test method testNoAgentConfiguredState (line 82) | @Test method testNavigationToSettings (line 96) | @Test method testOptionsMenuExists (line 108) | @Test method testToolbarIsPresent (line 119) | @Test method testWithValidAgentConfiguration (line 127) | @Test method testMessageInputField (line 147) | @Test method testKeyboardImeSendAction (line 179) | @Test method testRecyclerViewIsPresent (line 208) | @Test method testProgressIndicatorVisibility (line 221) | @Test method testActivityRecreation (line 230) | @Test method createTestAgent (line 243) | private AgentProfile createTestAgent(String name, String url) { FILE: sdks/community/kotlin/examples/chatapp-java/app/src/androidTest/java/com/agui/chatapp/java/ui/SettingsActivityTest.java class SettingsActivityTest (line 35) | @RunWith(AndroidJUnit4.class) method setUp (line 43) | @Before method tearDown (line 52) | @After method testActivityLaunchesWithEmptyState (line 61) | @Test method testActivityLaunchesWithExistingAgents (line 78) | @Test method testFabOpensAddAgentDialog (line 99) | @Test method testAddAgentDialogValidation (line 120) | @Test method testAddValidAgent (line 137) | @Test method testAuthTypeSelectionInDialog (line 167) | @Test method testBasicAuthFieldsInDialog (line 201) | @Test method testBasicAuthValidation (line 237) | @Test method testAgentWithSystemPromptAndDescription (line 275) | @Test method testDialogCancellation (line 305) | @Test method testEdgeToEdgeDisplay (line 348) | @Test method createTestAgent (line 362) | private AgentProfile createTestAgent(String name, String url) { FILE: sdks/community/kotlin/examples/chatapp-java/app/src/main/java/com/agui/chatapp/java/ChatJavaApplication.java class ChatJavaApplication (line 6) | public class ChatJavaApplication extends Application { method onCreate (line 7) | @Override FILE: sdks/community/kotlin/examples/chatapp-java/app/src/main/java/com/agui/chatapp/java/model/ChatMessage.java class ChatMessage (line 13) | public final class ChatMessage { method ChatMessage (line 23) | public ChatMessage(DisplayMessage message) { method getId (line 34) | public String getId() { method getRole (line 38) | public MessageRole getRole() { method getContent (line 42) | public String getContent() { method isStreaming (line 46) | public boolean isStreaming() { method getSenderDisplayName (line 50) | public String getSenderDisplayName() { method getFormattedTimestamp (line 54) | public String getFormattedTimestamp() { method defaultDisplayName (line 59) | private static String defaultDisplayName(MessageRole role) { FILE: sdks/community/kotlin/examples/chatapp-java/app/src/main/java/com/agui/chatapp/java/ui/ChatActivity.java class ChatActivity (line 42) | public class ChatActivity extends AppCompatActivity { method onCreate (line 51) | @Override method setupRecyclerView (line 86) | private void setupRecyclerView() { method setupUIListeners (line 101) | private void setupUIListeners() { method observeViewModel (line 118) | private void observeViewModel() { method applyBackgroundStyle (line 172) | private void applyBackgroundStyle(@Nullable BackgroundStyle style) { method resolveThemeColor (line 192) | @ColorInt method sendMessage (line 199) | private void sendMessage() { method setupActivityResultLaunchers (line 219) | private void setupActivityResultLaunchers() { method openSettings (line 230) | private void openSettings() { method onCreateOptionsMenu (line 235) | @Override method onOptionsItemSelected (line 241) | @Override method clearHistory (line 256) | private void clearHistory() { method setupEdgeToEdgeInsets (line 261) | private void setupEdgeToEdgeInsets() { method onDestroy (line 325) | @Override FILE: sdks/community/kotlin/examples/chatapp-java/app/src/main/java/com/agui/chatapp/java/ui/SettingsActivity.java class SettingsActivity (line 30) | public class SettingsActivity extends AppCompatActivity implements Agent... method onCreate (line 36) | @Override method observeRepository (line 59) | private void observeRepository() { method onActivateAgent (line 75) | @Override method onEditAgent (line 88) | @Override method onDeleteAgent (line 93) | @Override method showAgentDialog (line 113) | private void showAgentDialog(AgentConfig existing) { method handleSaveAgent (line 153) | private void handleSaveAgent(AlertDialog dialog, method buildAgentConfig (line 238) | private AgentConfig buildAgentConfig(AgentConfig base, method applyAuthToDialog (line 260) | private void applyAuthToDialog(AuthMethod method, DialogAgentFormBindi... method updateAuthFieldVisibility (line 280) | private void updateAuthFieldVisibility(DialogAgentFormBinding binding,... method getTrimmed (line 291) | private static String getTrimmed(CharSequence text) { method onOptionsItemSelected (line 295) | @Override class SimpleTextWatcher (line 304) | private abstract static class SimpleTextWatcher implements TextWatcher { method beforeTextChanged (line 305) | @Override public void beforeTextChanged(CharSequence s, int start, i... method onTextChanged (line 306) | @Override public void onTextChanged(CharSequence s, int start, int b... FILE: sdks/community/kotlin/examples/chatapp-java/app/src/main/java/com/agui/chatapp/java/ui/adapter/AgentListAdapter.java class AgentListAdapter (line 17) | public class AgentListAdapter extends ListAdapter Result<(), Box> { FILE: sdks/community/rust/crates/ag-ui-client/examples/generative_ui.rs type StepStatus (line 18) | pub enum StepStatus { method default (line 24) | fn default() -> Self { type Step (line 30) | pub struct Step { method new (line 37) | pub fn new(description: String) -> Self { type Plan (line 46) | pub struct Plan { type GenerativeUiSubscriber (line 53) | pub struct GenerativeUiSubscriber; method new (line 56) | pub fn new() -> Self { method on_state_snapshot_event (line 63) | async fn on_state_snapshot_event( method on_state_delta_event (line 81) | async fn on_state_delta_event( method on_state_changed (line 117) | async fn on_state_changed( function main (line 139) | async fn main() -> Result<(), Box> { FILE: sdks/community/rust/crates/ag-ui-client/examples/logging_subscriber.rs function main (line 26) | async fn main() -> Result<(), Box> { type LoggingSubscriber (line 60) | pub struct LoggingSubscriber { method new (line 65) | pub fn new(verbose: bool) -> Self { method log_event (line 69) | fn log_event(&self, event_name: &str, event: &T) { method on_run_initialized (line 84) | async fn on_run_initialized( method on_run_failed (line 92) | async fn on_run_failed( method on_run_finalized (line 101) | async fn on_run_finalized( method on_event (line 109) | async fn on_event( method on_run_started_event (line 118) | async fn on_run_started_event( method on_run_finished_event (line 127) | async fn on_run_finished_event( method on_run_error_event (line 136) | async fn on_run_error_event( method on_step_started_event (line 145) | async fn on_step_started_event( method on_step_finished_event (line 154) | async fn on_step_finished_event( method on_text_message_start_event (line 163) | async fn on_text_message_start_event( method on_text_message_content_event (line 172) | async fn on_text_message_content_event( method on_text_message_end_event (line 183) | async fn on_text_message_end_event( method on_tool_call_start_event (line 194) | async fn on_tool_call_start_event( method on_tool_call_args_event (line 203) | async fn on_tool_call_args_event( method on_tool_call_end_event (line 220) | async fn on_tool_call_end_event( method on_tool_call_result_event (line 235) | async fn on_tool_call_result_event( method on_state_snapshot_event (line 244) | async fn on_state_snapshot_event( method on_state_delta_event (line 253) | async fn on_state_delta_event( method on_messages_snapshot_event (line 262) | async fn on_messages_snapshot_event( method on_raw_event (line 271) | async fn on_raw_event( method on_custom_event (line 280) | async fn on_custom_event( method on_text_message_chunk_event (line 289) | async fn on_text_message_chunk_event( method on_thinking_text_message_start_event (line 298) | async fn on_thinking_text_message_start_event( method on_thinking_text_message_content_event (line 307) | async fn on_thinking_text_message_content_event( method on_thinking_text_message_end_event (line 316) | async fn on_thinking_text_message_end_event( method on_tool_call_chunk_event (line 325) | async fn on_tool_call_chunk_event( method on_thinking_start_event (line 334) | async fn on_thinking_start_event( method on_thinking_end_event (line 343) | async fn on_thinking_end_event( method on_messages_changed (line 352) | async fn on_messages_changed( method on_state_changed (line 360) | async fn on_state_changed( method on_new_message (line 368) | async fn on_new_message( method on_new_tool_call (line 377) | async fn on_new_tool_call( FILE: sdks/community/rust/crates/ag-ui-client/examples/shared_state.rs type SkillLevel (line 16) | pub enum SkillLevel { method fmt (line 24) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { type SpecialPreferences (line 30) | pub enum SpecialPreferences { method fmt (line 45) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { type CookingTime (line 51) | pub enum CookingTime { method fmt (line 66) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { function default_icon (line 71) | fn default_icon() -> String { type Ingredient (line 76) | pub struct Ingredient { type Recipe (line 84) | pub struct Recipe { type RecipeSnapshot (line 98) | pub struct RecipeSnapshot { type RecipeSubscriber (line 105) | pub struct RecipeSubscriber; method new (line 108) | pub fn new() -> Self { method on_state_snapshot_event (line 115) | async fn on_state_snapshot_event( method on_state_delta_event (line 124) | async fn on_state_delta_event( method on_state_changed (line 133) | async fn on_state_changed( function main (line 143) | async fn main() -> Result<(), Box> { FILE: sdks/community/rust/crates/ag-ui-client/examples/sse_example.rs type EventType (line 8) | enum EventType { function main (line 15) | async fn main() -> Result<(), Box> { FILE: sdks/community/rust/crates/ag-ui-client/scripts/basic_agent.py function temperature_celsius (line 24) | def temperature_celsius(city: str) -> float: function temperature_fahrenheit (line 29) | def temperature_fahrenheit(city: str) -> float: FILE: sdks/community/rust/crates/ag-ui-client/scripts/generative_ui.py class Step (line 26) | class Step(BaseModel): class Plan (line 36) | class Plan(BaseModel): class JSONPatchOp (line 42) | class JSONPatchOp(BaseModel): function create_plan (line 87) | async def create_plan(steps: list[str]) -> StateSnapshotEvent: function update_plan_step (line 106) | async def update_plan_step( FILE: sdks/community/rust/crates/ag-ui-client/scripts/shared_state.py class SkillLevel (line 24) | class SkillLevel(StrEnum): class SpecialPreferences (line 32) | class SpecialPreferences(StrEnum): class CookingTime (line 44) | class CookingTime(StrEnum): class Ingredient (line 54) | class Ingredient(BaseModel): class Recipe (line 65) | class Recipe(BaseModel): class RecipeSnapshot (line 88) | class RecipeSnapshot(BaseModel): function display_recipe (line 105) | async def display_recipe(recipe: Recipe) -> StateSnapshotEvent: function recipe_instructions (line 121) | async def recipe_instructions(ctx: RunContext[StateDeps[RecipeSnapshot]]... FILE: sdks/community/rust/crates/ag-ui-client/src/agent.rs type AgentConfig (line 15) | pub struct AgentConfig { method default (line 28) | fn default() -> Self { type RunAgentParams (line 42) | pub struct RunAgentParams Self { function with_run_id (line 71) | pub fn with_run_id(mut self, run_id: RunId) -> Self { function add_tool (line 75) | pub fn add_tool(mut self, tool: Tool) -> Self { function add_context (line 79) | pub fn add_context(mut self, ctx: Context) -> Self { function with_forwarded_props (line 83) | pub fn with_forwarded_props(mut self, props: FwdPropsT) -> Self { function with_state (line 87) | pub fn with_state(mut self, state: StateT) -> Self { function add_message (line 91) | pub fn add_message(mut self, msg: Message) -> Self { function user (line 95) | pub fn user(mut self, content: impl Into) -> Self { function new (line 109) | pub fn new() -> Self { type RunAgentResult (line 115) | pub struct RunAgentResult { type AgentRunState (line 121) | pub type AgentRunState = RunAgentInput { method default (line 131) | fn default() -> Self { type Agent (line 146) | pub trait Agent: Send + Sync method run (line 151) | async fn run( method run_agent (line 187) | async fn run_agent( method agent_id (line 246) | fn agent_id(&self) -> Option<&AgentId> { FILE: sdks/community/rust/crates/ag-ui-client/src/error.rs type AgUiClientError (line 7) | pub enum AgUiClientError { method config (line 41) | pub fn config(m: impl Into) -> Self { method exec (line 44) | pub fn exec(m: impl Into) -> Self { method is_retryable (line 54) | pub fn is_retryable(&self) -> bool { method is_user_input (line 64) | pub fn is_user_input(&self) -> bool { type Result (line 69) | pub type Result = std::result::Result; FILE: sdks/community/rust/crates/ag-ui-client/src/event_handler.rs type EventHandler (line 12) | pub(crate) struct EventHandler<'a, StateT, FwdPropsT> function new (line 29) | pub fn new( function to_subscriber_params (line 44) | fn to_subscriber_params(&'a self) -> AgentSubscriberParams<'a, StateT, F... function update_from_mutation (line 53) | fn update_from_mutation(&mut self, mutation: &AgentStateMutation) { function process_mutation (line 63) | fn process_mutation( function handle_event (line 83) | pub async fn handle_event( function apply_mutation (line 447) | pub async fn apply_mutation( function notify_new_message (line 488) | async fn notify_new_message(&self, message: &Message) -> Result<(), Agen... function notify_new_tool_call (line 497) | async fn notify_new_tool_call(&self, tool_call: &ToolCall) -> Result<(),... function notify_messages_changed (line 506) | async fn notify_messages_changed(&self) -> Result<(), AgentError> { function notify_state_changed (line 515) | async fn notify_state_changed(&self) -> Result<(), AgentError> { function on_error (line 524) | pub async fn on_error(&self, error: &AgentError) -> Result<(), AgentErro... function on_finalize (line 534) | pub async fn on_finalize(&self) -> Result<(), AgentError> { FILE: sdks/community/rust/crates/ag-ui-client/src/http.rs type HttpAgent (line 17) | pub struct HttpAgent { method new (line 25) | pub fn new(base_url: Url, header_map: HeaderMap) -> Self { method builder (line 38) | pub fn builder() -> HttpAgentBuilder { method run (line 162) | async fn run( method agent_id (line 205) | fn agent_id(&self) -> Option<&AgentId> { type HttpAgentBuilder (line 43) | pub struct HttpAgentBuilder { method new (line 51) | pub fn new() -> Self { method with_url (line 61) | pub fn with_url(mut self, base_url: Url) -> Self { method with_url_str (line 67) | pub fn with_url_str(mut self, url: &str) -> Result { method with_headers (line 76) | pub fn with_headers(mut self, header_map: HeaderMap) -> Self { method with_header (line 82) | pub fn with_header(mut self, name: &str, value: &str) -> Result Result { method with_http_client (line 106) | pub fn with_http_client(mut self, client: HttpClient) -> Self { method with_timeout (line 112) | pub fn with_timeout(mut self, timeout_secs: u64) -> Self { method with_agent_id (line 122) | pub fn with_agent_id(mut self, agent_id: AgentId) -> Self { method build (line 127) | pub fn build(self) -> Result { method default (line 151) | fn default() -> Self { FILE: sdks/community/rust/crates/ag-ui-client/src/sse.rs type SseEvent (line 10) | pub struct SseEvent { type SseResponseExt (line 46) | pub trait SseResponseExt { method event_source (line 48) | async fn event_source( method event_source (line 55) | async fn event_source( type SseEventProcessor (line 67) | struct SseEventProcessor; method new (line 72) | fn new( function process_raw_sse_events (line 111) | fn process_raw_sse_events(buffer: &str) -> (Vec Result { type TestEvent (line 182) | struct TestEvent { function test_process_raw_sse_events (line 188) | async fn test_process_raw_sse_events() { function test_parse_sse_event (line 222) | async fn test_parse_sse_event() { function test_different_event_types (line 245) | async fn test_different_event_types() { function test_enum_event_types (line 295) | async fn test_enum_event_types() { FILE: sdks/community/rust/crates/ag-ui-client/src/stream.rs type EventStream (line 5) | pub type EventStream<'a, StateT> = BoxStream<'a, Result, A... FILE: sdks/community/rust/crates/ag-ui-client/src/subscriber.rs type AgentSubscriberParams (line 12) | pub struct AgentSubscriberParams<'a, StateT: AgentState, FwdPropsT: FwdP... type AgentSubscriber (line 21) | pub trait AgentSubscriber: Se... method on_run_initialized (line 27) | async fn on_run_initialized( method on_run_failed (line 34) | async fn on_run_failed( method on_run_finalized (line 42) | async fn on_run_finalized( method on_event (line 50) | async fn on_event( method on_run_started_event (line 58) | async fn on_run_started_event( method on_run_finished_event (line 66) | async fn on_run_finished_event( method on_run_error_event (line 74) | async fn on_run_error_event( method on_step_started_event (line 82) | async fn on_step_started_event( method on_step_finished_event (line 90) | async fn on_step_finished_event( method on_text_message_start_event (line 98) | async fn on_text_message_start_event( method on_text_message_content_event (line 106) | async fn on_text_message_content_event( method on_text_message_end_event (line 115) | async fn on_text_message_end_event( method on_tool_call_start_event (line 124) | async fn on_tool_call_start_event( method on_tool_call_args_event (line 132) | async fn on_tool_call_args_event( method on_tool_call_end_event (line 143) | async fn on_tool_call_end_event( method on_tool_call_result_event (line 153) | async fn on_tool_call_result_event( method on_state_snapshot_event (line 161) | async fn on_state_snapshot_event( method on_state_delta_event (line 169) | async fn on_state_delta_event( method on_messages_snapshot_event (line 177) | async fn on_messages_snapshot_event( method on_raw_event (line 185) | async fn on_raw_event( method on_custom_event (line 193) | async fn on_custom_event( method on_text_message_chunk_event (line 201) | async fn on_text_message_chunk_event( method on_thinking_text_message_start_event (line 209) | async fn on_thinking_text_message_start_event( method on_thinking_text_message_content_event (line 217) | async fn on_thinking_text_message_content_event( method on_thinking_text_message_end_event (line 225) | async fn on_thinking_text_message_end_event( method on_tool_call_chunk_event (line 233) | async fn on_tool_call_chunk_event( method on_thinking_start_event (line 241) | async fn on_thinking_start_event( method on_thinking_end_event (line 249) | async fn on_thinking_end_event( method on_messages_changed (line 258) | async fn on_messages_changed( method on_state_changed (line 265) | async fn on_state_changed( method on_new_message (line 272) | async fn on_new_message( method on_new_tool_call (line 280) | async fn on_new_tool_call( type Subscribers (line 317) | pub struct Subscribers>>... function from_subscriber (line 331) | pub fn from_subscriber(subscriber: T) -> Self function from_iter (line 345) | fn from_iter>(iter: I) -> Self { type Item (line 359) | type Item = &'a Arc>; type IntoIter (line 360) | type IntoIter = Iter<'a, Arc>>; method into_iter (line 362) | fn into_iter(self) -> Self::IntoIter { type IntoSubscribers (line 369) | pub trait IntoSubscribers: Send { method into_subscribers (line 370) | fn into_subscribers(self) -> Subscribers; function into_subscribers (line 379) | fn into_subscribers(self) -> Subscribers { function into_subscribers (line 390) | fn into_subscribers(self) -> Subscribers { function into_subscribers (line 402) | fn into_subscribers(self) -> Subscribers { function into_subscribers (line 414) | fn into_subscribers(self) -> Subscribers { function into_subscribers (line 426) | fn into_subscribers(self) -> Subscribers { function into_subscribers (line 437) | fn into_subscribers(self) -> Subscribers { FILE: sdks/community/rust/crates/ag-ui-client/tests/http_agent_test.rs function test_http_agent_basic_functionality (line 6) | async fn test_http_agent_basic_functionality() { function test_http_agent_tool_calls (line 57) | async fn test_http_agent_tool_calls() { function test_http_agent_error_handling (line 94) | async fn test_http_agent_error_handling() { FILE: sdks/community/rust/crates/ag-ui-client/tests/sse_test.rs function test_sse_with_httpbun (line 8) | async fn test_sse_with_httpbun() { function test_sse_with_json_data (line 69) | async fn test_sse_with_json_data() { FILE: sdks/community/rust/crates/ag-ui-core/src/error.rs type AgUiError (line 20) | pub struct AgUiError { method new (line 4) | pub fn new(message: impl Into) -> Self { method from (line 12) | fn from(err: serde_json::Error) -> Self { type Result (line 24) | pub type Result = std::result::Result; FILE: sdks/community/rust/crates/ag-ui-core/src/event.rs type EventType (line 10) | pub enum EventType { type BaseEvent (line 64) | pub struct BaseEvent { type TextMessageStartEvent (line 74) | pub struct TextMessageStartEvent { method new (line 522) | pub fn new(message_id: impl Into) -> Self { method with_timestamp (line 533) | pub fn with_timestamp(mut self, timestamp: f64) -> Self { method with_raw_event (line 538) | pub fn with_raw_event(mut self, raw_event: JsonValue) -> Self { type TextMessageContentEvent (line 85) | pub struct TextMessageContentEvent { method validate (line 512) | pub fn validate(&self) -> Result<(), EventValidationError> { method new (line 545) | pub fn new( method with_timestamp (line 561) | pub fn with_timestamp(mut self, timestamp: f64) -> Self { type TextMessageEndEvent (line 96) | pub struct TextMessageEndEvent { type TextMessageChunkEvent (line 107) | pub struct TextMessageChunkEvent { type ThinkingTextMessageStartEvent (line 120) | pub struct ThinkingTextMessageStartEvent { type ThinkingTextMessageContentEvent (line 128) | pub struct ThinkingTextMessageContentEvent { type ThinkingTextMessageEndEvent (line 137) | pub struct ThinkingTextMessageEndEvent { type ToolCallStartEvent (line 145) | pub struct ToolCallStartEvent { type ToolCallArgsEvent (line 159) | pub struct ToolCallArgsEvent { type ToolCallEndEvent (line 170) | pub struct ToolCallEndEvent { type ToolCallResultEvent (line 180) | pub struct ToolCallResultEvent { type ToolCallChunkEvent (line 196) | pub struct ToolCallChunkEvent { type ThinkingStartEvent (line 212) | pub struct ThinkingStartEvent { type ThinkingEndEvent (line 222) | pub struct ThinkingEndEvent { type StateSnapshotEvent (line 231) | pub struct StateSnapshotEvent { type StateDeltaEvent (line 240) | pub struct StateDeltaEvent { type MessagesSnapshotEvent (line 249) | pub struct MessagesSnapshotEvent { type RawEvent (line 258) | pub struct RawEvent { type CustomEvent (line 269) | pub struct CustomEvent { type RunStartedEvent (line 279) | pub struct RunStartedEvent { type RunFinishedEvent (line 291) | pub struct RunFinishedEvent { type RunErrorEvent (line 305) | pub struct RunErrorEvent { type StepStartedEvent (line 316) | pub struct StepStartedEvent { type StepFinishedEvent (line 326) | pub struct StepFinishedEvent { type Event (line 342) | pub enum Event { method event_type (line 440) | pub fn event_type(&self) -> EventType { method timestamp (line 470) | pub fn timestamp(&self) -> Option { type EventValidationError (line 503) | pub enum EventValidationError { FILE: sdks/community/rust/crates/ag-ui-core/src/state.rs type AgentState (line 6) | pub trait AgentState: type FwdProps (line 15) | pub trait FwdProps: FILE: sdks/community/rust/crates/ag-ui-core/src/types/context.rs type Context (line 4) | pub struct Context { method new (line 12) | pub fn new(description: String, value: String) -> Self { FILE: sdks/community/rust/crates/ag-ui-core/src/types/ids.rs type ToolCallId (line 89) | pub struct ToolCallId(String); method random (line 95) | pub fn random() -> Self { type Target (line 103) | type Target = str; method deref (line 104) | fn deref(&self) -> &Self::Target { function test_tool_call_random (line 113) | fn test_tool_call_random() { FILE: sdks/community/rust/crates/ag-ui-core/src/types/input.rs type RunAgentInput (line 10) | pub struct RunAgentInput { function new (line 24) | pub fn new( FILE: sdks/community/rust/crates/ag-ui-core/src/types/message.rs type FunctionCall (line 7) | pub struct FunctionCall { type Role (line 16) | pub enum Role { method developer (line 26) | pub(crate) fn developer() -> Self { method system (line 29) | pub(crate) fn system() -> Self { method assistant (line 32) | pub(crate) fn assistant() -> Self { method user (line 35) | pub(crate) fn user() -> Self { method tool (line 38) | pub(crate) fn tool() -> Self { type BaseMessage (line 45) | pub struct BaseMessage { type DeveloperMessage (line 57) | pub struct DeveloperMessage { method new (line 67) | pub fn new(id: impl Into, content: String) -> Self { method with_name (line 76) | pub fn with_name(mut self, name: String) -> Self { type SystemMessage (line 84) | pub struct SystemMessage { method new (line 94) | pub fn new(id: impl Into, content: String) -> Self { method with_name (line 103) | pub fn with_name(mut self, name: String) -> Self { type AssistantMessage (line 111) | pub struct AssistantMessage { method new (line 124) | pub fn new(id: impl Into) -> Self { method with_content (line 134) | pub fn with_content(mut self, content: String) -> Self { method with_name (line 139) | pub fn with_name(mut self, name: String) -> Self { method with_tool_calls (line 144) | pub fn with_tool_calls(mut self, tool_calls: Vec) -> Self { type UserMessage (line 152) | pub struct UserMessage { method new (line 162) | pub fn new(id: impl Into, content: String) -> Self { method with_name (line 171) | pub fn with_name(mut self, name: String) -> Self { type ToolMessage (line 179) | pub struct ToolMessage { method new (line 191) | pub fn new( method with_error (line 205) | pub fn with_error(mut self, error: String) -> Self { type Message (line 214) | pub enum Message { method new (line 253) | pub fn new>(role: Role, id: impl Into, conten... method new_user (line 286) | pub fn new_user>(content: S) -> Self { method new_tool (line 291) | pub fn new_tool>(content: S) -> Self { method new_system (line 296) | pub fn new_system>(content: S) -> Self { method new_assistant (line 301) | pub fn new_assistant>(content: S) -> Self { method new_developer (line 306) | pub fn new_developer>(content: S) -> Self { method id (line 310) | pub fn id(&self) -> &MessageId { method id_mut (line 320) | pub fn id_mut(&mut self) -> &mut MessageId { method role (line 330) | pub fn role(&self) -> Role { method content (line 339) | pub fn content(&self) -> Option<&str> { method content_mut (line 349) | pub fn content_mut(&mut self) -> Option<&mut String> { method tool_calls (line 364) | pub fn tool_calls(&self) -> Option<&[ToolCall]> { method tool_calls_mut (line 371) | pub fn tool_calls_mut(&mut self) -> Option<&mut Vec> { FILE: sdks/community/rust/crates/ag-ui-core/src/types/tool.rs type ToolCall (line 7) | pub struct ToolCall { method new (line 15) | pub fn new(id: impl Into, function: FunctionCall) -> Self { type Tool (line 26) | pub struct Tool { method new (line 36) | pub fn new(name: String, description: String, parameters: JsonValue) -... FILE: sdks/community/rust/crates/ag-ui-core/tests/unit.rs function test_role_serialization (line 14) | fn test_role_serialization() { function test_message_types (line 21) | fn test_message_types() { function test_message_serialization (line 46) | fn test_message_serialization() { function test_tool_call_creation (line 60) | fn test_tool_call_creation() { function test_assistant_message_builder (line 71) | fn test_assistant_message_builder() { function test_context_and_tool (line 81) | fn test_context_and_tool() { function test_agui_error (line 94) | fn test_agui_error() { function test_custom_state (line 100) | fn test_custom_state() { function test_custom_forward_props (line 125) | fn test_custom_forward_props() { function test_complex_assistant_message_deserialization (line 150) | fn test_complex_assistant_message_deserialization() { function test_complex_message_array_deserialization (line 192) | fn test_complex_message_array_deserialization() { function test_complex_run_agent_input_deserialization (line 228) | fn test_complex_run_agent_input_deserialization() { function test_complex_run_agent_input_deserialization_custom_state (line 268) | fn test_complex_run_agent_input_deserialization_custom_state() { FILE: sdks/python/ag_ui/core/events.py class EventType (line 16) | class EventType(str, Enum): class BaseEvent (line 55) | class BaseEvent(ConfiguredBaseModel): class TextMessageStartEvent (line 64) | class TextMessageStartEvent(BaseEvent): class TextMessageContentEvent (line 74) | class TextMessageContentEvent(BaseEvent): class TextMessageEndEvent (line 83) | class TextMessageEndEvent(BaseEvent): class TextMessageChunkEvent (line 90) | class TextMessageChunkEvent(BaseEvent): class ThinkingTextMessageStartEvent (line 100) | class ThinkingTextMessageStartEvent(BaseEvent): class ThinkingTextMessageContentEvent (line 106) | class ThinkingTextMessageContentEvent(BaseEvent): class ThinkingTextMessageEndEvent (line 113) | class ThinkingTextMessageEndEvent(BaseEvent): class ToolCallStartEvent (line 119) | class ToolCallStartEvent(BaseEvent): class ToolCallArgsEvent (line 129) | class ToolCallArgsEvent(BaseEvent): class ToolCallEndEvent (line 138) | class ToolCallEndEvent(BaseEvent): class ToolCallChunkEvent (line 145) | class ToolCallChunkEvent(BaseEvent): class ToolCallResultEvent (line 155) | class ToolCallResultEvent(BaseEvent): class ThinkingStartEvent (line 165) | class ThinkingStartEvent(BaseEvent): class ThinkingEndEvent (line 172) | class ThinkingEndEvent(BaseEvent): class StateSnapshotEvent (line 178) | class StateSnapshotEvent(BaseEvent): class StateDeltaEvent (line 186) | class StateDeltaEvent(BaseEvent): class MessagesSnapshotEvent (line 194) | class MessagesSnapshotEvent(BaseEvent): class ActivitySnapshotEvent (line 202) | class ActivitySnapshotEvent(BaseEvent): class ActivityDeltaEvent (line 212) | class ActivityDeltaEvent(BaseEvent): class RawEvent (line 221) | class RawEvent(BaseEvent): class CustomEvent (line 230) | class CustomEvent(BaseEvent): class RunStartedEvent (line 239) | class RunStartedEvent(BaseEvent): class RunFinishedEvent (line 250) | class RunFinishedEvent(BaseEvent): class RunErrorEvent (line 260) | class RunErrorEvent(BaseEvent): class StepStartedEvent (line 269) | class StepStartedEvent(BaseEvent): class StepFinishedEvent (line 277) | class StepFinishedEvent(BaseEvent): class ReasoningStartEvent (line 292) | class ReasoningStartEvent(BaseEvent): class ReasoningMessageStartEvent (line 300) | class ReasoningMessageStartEvent(BaseEvent): class ReasoningMessageContentEvent (line 309) | class ReasoningMessageContentEvent(BaseEvent): class ReasoningMessageEndEvent (line 318) | class ReasoningMessageEndEvent(BaseEvent): class ReasoningMessageChunkEvent (line 326) | class ReasoningMessageChunkEvent(BaseEvent): class ReasoningEndEvent (line 335) | class ReasoningEndEvent(BaseEvent): class ReasoningEncryptedValueEvent (line 343) | class ReasoningEncryptedValueEvent(BaseEvent): FILE: sdks/python/ag_ui/core/types.py class ConfiguredBaseModel (line 11) | class ConfiguredBaseModel(BaseModel): class FunctionCall (line 22) | class FunctionCall(ConfiguredBaseModel): class ToolCall (line 30) | class ToolCall(ConfiguredBaseModel): class BaseMessage (line 40) | class BaseMessage(ConfiguredBaseModel): class DeveloperMessage (line 51) | class DeveloperMessage(BaseMessage): class SystemMessage (line 59) | class SystemMessage(BaseMessage): class AssistantMessage (line 67) | class AssistantMessage(BaseMessage): class TextInputContent (line 75) | class TextInputContent(ConfiguredBaseModel): class BinaryInputContent (line 82) | class BinaryInputContent(ConfiguredBaseModel): method validate_source (line 93) | def validate_source(self) -> "BinaryInputContent": class UserMessage (line 106) | class UserMessage(BaseMessage): class ToolMessage (line 115) | class ToolMessage(ConfiguredBaseModel): class ActivityMessage (line 127) | class ActivityMessage(ConfiguredBaseModel): class ReasoningMessage (line 138) | class ReasoningMessage(ConfiguredBaseModel): class Context (line 165) | class Context(ConfiguredBaseModel): class Tool (line 173) | class Tool(ConfiguredBaseModel): class RunAgentInput (line 182) | class RunAgentInput(ConfiguredBaseModel): FILE: sdks/python/ag_ui/encoder/encoder.py class EventEncoder (line 9) | class EventEncoder: method __init__ (line 13) | def __init__(self, accept: str = None): method get_content_type (line 16) | def get_content_type(self) -> str: method encode (line 22) | def encode(self, event: BaseEvent) -> str: method _encode_sse (line 28) | def _encode_sse(self, event: BaseEvent) -> str: FILE: sdks/python/tests/test_encoder.py class TestEventEncoder (line 9) | class TestEventEncoder(unittest.TestCase): method test_encoder_initialization (line 12) | def test_encoder_initialization(self): method test_encode_method (line 21) | def test_encode_method(self): method test_encode_sse_method (line 42) | def test_encode_sse_method(self): method test_encode_with_different_event_types (line 73) | def test_encode_with_different_event_types(self): method test_null_value_exclusion (line 104) | def test_null_value_exclusion(self): method test_round_trip_serialization (line 148) | def test_round_trip_serialization(self): FILE: sdks/python/tests/test_events.py class TestEvents (line 33) | class TestEvents(unittest.TestCase): method test_event_types_enum (line 36) | def test_event_types_enum(self): method test_base_event_creation (line 44) | def test_base_event_creation(self): method test_text_message_start (line 52) | def test_text_message_start(self): method test_text_message_content (line 67) | def test_text_message_content(self): method test_text_message_end (line 83) | def test_text_message_end(self): method test_tool_call_start (line 96) | def test_tool_call_start(self): method test_tool_call_args (line 115) | def test_tool_call_args(self): method test_tool_call_end (line 131) | def test_tool_call_end(self): method test_state_snapshot (line 144) | def test_state_snapshot(self): method test_state_delta (line 159) | def test_state_delta(self): method test_messages_snapshot (line 179) | def test_messages_snapshot(self): method test_activity_snapshot (line 208) | def test_activity_snapshot(self): method test_activity_delta (line 240) | def test_activity_delta(self): method test_raw_event (line 260) | def test_raw_event(self): method test_custom_event (line 277) | def test_custom_event(self): method test_run_started (line 293) | def test_run_started(self): method test_run_finished (line 309) | def test_run_finished(self): method test_run_error (line 325) | def test_run_error(self): method test_step_started (line 341) | def test_step_started(self): method test_step_finished (line 354) | def test_step_finished(self): method test_event_union_deserialization (line 367) | def test_event_union_deserialization(self): method test_validation_constraints (line 426) | def test_validation_constraints(self): method test_serialization_round_trip (line 435) | def test_serialization_round_trip(self): method test_raw_event_with_null_source (line 507) | def test_raw_event_with_null_source(self): method test_complex_nested_event_structures (line 527) | def test_complex_nested_event_structures(self): method test_text_message_start_with_name (line 578) | def test_text_message_start_with_name(self): method test_text_message_start_without_name (line 591) | def test_text_message_start_without_name(self): method test_text_message_chunk_with_name (line 598) | def test_text_message_chunk_with_name(self): method test_text_message_chunk_without_name (line 610) | def test_text_message_chunk_without_name(self): method test_event_with_unicode_and_special_chars (line 618) | def test_event_with_unicode_and_special_chars(self): FILE: sdks/python/tests/test_text_roles.py class TestTextMessageRoles (line 18) | class TestTextMessageRoles(unittest.TestCase): method test_text_message_start_with_all_roles (line 21) | def test_text_message_start_with_all_roles(self) -> None: method test_text_message_chunk_with_all_roles (line 34) | def test_text_message_chunk_with_all_roles(self) -> None: method test_text_message_chunk_without_role (line 49) | def test_text_message_chunk_without_role(self) -> None: method test_multiple_messages_different_roles (line 61) | def test_multiple_messages_different_roles(self) -> None: method test_text_message_serialization (line 90) | def test_text_message_serialization(self) -> None: method test_invalid_role_rejected (line 110) | def test_invalid_role_rejected(self) -> None: method test_text_message_start_name_preserved_with_roles (line 134) | def test_text_message_start_name_preserved_with_roles(self) -> None: method test_text_message_start_default_role (line 146) | def test_text_message_start_default_role(self) -> None: FILE: sdks/python/tests/test_types.py class TestBaseTypes (line 21) | class TestBaseTypes(unittest.TestCase): method test_function_call_creation (line 24) | def test_function_call_creation(self): method test_message_serialization (line 30) | def test_message_serialization(self): method test_tool_call_serialization (line 41) | def test_tool_call_serialization(self): method test_tool_message_camel_case (line 51) | def test_tool_message_camel_case(self): method test_activity_message (line 62) | def test_activity_message(self): method test_parse_camel_case_json_tool_message (line 80) | def test_parse_camel_case_json_tool_message(self): method test_parse_camel_case_json_function_call (line 99) | def test_parse_camel_case_json_function_call(self): method test_developer_message (line 120) | def test_developer_message(self): method test_system_message (line 130) | def test_system_message(self): method test_assistant_message (line 140) | def test_assistant_message(self): method test_user_message (line 157) | def test_user_message(self): method test_user_message_multimodal_content (line 167) | def test_user_message_multimodal_content(self): method test_binary_input_requires_payload_source (line 186) | def test_binary_input_requires_payload_source(self): method test_message_union_deserialization (line 192) | def test_message_union_deserialization(self): method test_message_union_with_tool_calls (line 233) | def test_message_union_with_tool_calls(self): method test_run_agent_input_deserialization (line 259) | def test_run_agent_input_deserialization(self): method test_validation_errors (line 417) | def test_validation_errors(self): method test_empty_collections (line 461) | def test_empty_collections(self): method test_multiple_tool_calls (line 483) | def test_multiple_tool_calls(self): method test_serialization_round_trip (line 533) | def test_serialization_round_trip(self): method test_content_edge_cases (line 614) | def test_content_edge_cases(self): method test_name_field_handling (line 665) | def test_name_field_handling(self): method test_state_variations (line 696) | def test_state_variations(self): FILE: sdks/typescript/packages/cli/src/index.ts constant PURPLE (line 12) | const PURPLE = "\x1b[35m"; constant RESET (line 13) | const RESET = "\x1b[0m"; function displayBanner (line 15) | function displayBanner() { function createProject (line 33) | async function createProject() { function handleCopilotKitNextJs (line 86) | async function handleCopilotKitNextJs() { function handleCliClient (line 150) | async function handleCliClient() { function getCurrentPackageVersions (line 234) | async function getCurrentPackageVersions(): Promise<{ [key: string]: str... function updateWorkspaceDependencies (line 262) | async function updateWorkspaceDependencies( FILE: sdks/typescript/packages/client/src/agent/__tests__/agent-clone.test.ts class CloneableTestAgent (line 6) | class CloneableTestAgent extends AbstractAgent { method constructor (line 7) | constructor() { method run (line 24) | protected run(_: RunAgentInput): Observable { FILE: sdks/typescript/packages/client/src/agent/__tests__/agent-concurrent.test.ts class ConcurrentTestAgent (line 22) | class ConcurrentTestAgent extends AbstractAgent { method constructor (line 26) | constructor() { method setEventsToEmit (line 32) | setEventsToEmit(events: BaseEvent[]) { method run (line 37) | run(input: RunAgentInput): Observable { FILE: sdks/typescript/packages/client/src/agent/__tests__/agent-multiple-runs.test.ts class TestAgent (line 6) | class TestAgent extends AbstractAgent { method setEvents (line 9) | setEvents(events: BaseEvent[]) { method run (line 13) | run(input: RunAgentInput): Observable { FILE: sdks/typescript/packages/client/src/agent/__tests__/agent-mutations.test.ts class TestAgent (line 50) | class TestAgent extends AbstractAgent { method run (line 51) | run(input: RunAgentInput): Observable { FILE: sdks/typescript/packages/client/src/agent/__tests__/agent-result.test.ts class TestAgent (line 54) | class TestAgent extends AbstractAgent { method setEventsToEmit (line 57) | setEventsToEmit(events: BaseEvent[]) { method run (line 61) | run(input: RunAgentInput): Observable { class StreamingTestAgent (line 66) | class StreamingTestAgent extends AbstractAgent { method setEventSubject (line 69) | setEventSubject(subject: Subject) { method run (line 73) | run(input: RunAgentInput): Observable { FILE: sdks/typescript/packages/client/src/agent/__tests__/agent-text-roles.test.ts class TestAgent (line 6) | class TestAgent extends AbstractAgent { method setEvents (line 9) | setEvents(events: BaseEvent[]) { method run (line 13) | run(input: RunAgentInput): Observable { FILE: sdks/typescript/packages/client/src/agent/__tests__/agent-version.test.ts class VersionAgent (line 7) | class VersionAgent extends AbstractAgent { method run (line 8) | run(input: RunAgentInput): Observable { FILE: sdks/typescript/packages/client/src/agent/__tests__/legacy-bridged.test.ts class TestAgent (line 14) | class TestAgent extends AbstractAgent { method run (line 15) | run(input: RunAgentInput): Observable { class ChunkTestAgent (line 57) | class ChunkTestAgent extends AbstractAgent { method run (line 58) | run(input: RunAgentInput): Observable { class ToolCallTestAgent (line 89) | class ToolCallTestAgent extends AbstractAgent { method run (line 90) | run(input: RunAgentInput): Observable { FILE: sdks/typescript/packages/client/src/agent/__tests__/subscriber.test.ts class TestAgent (line 55) | class TestAgent extends AbstractAgent { method setEventsToEmit (line 58) | setEventsToEmit(events: BaseEvent[]) { method run (line 62) | run(input: RunAgentInput): Observable { class ErrorAgent (line 435) | class ErrorAgent extends AbstractAgent { method run (line 436) | run(input: RunAgentInput): Observable { method run (line 477) | run(input: RunAgentInput): Observable { method run (line 719) | run(input: RunAgentInput): Observable { class ErrorAgent (line 476) | class ErrorAgent extends AbstractAgent { method run (line 436) | run(input: RunAgentInput): Observable { method run (line 477) | run(input: RunAgentInput): Observable { method run (line 719) | run(input: RunAgentInput): Observable { class ErrorAgent (line 718) | class ErrorAgent extends AbstractAgent { method run (line 436) | run(input: RunAgentInput): Observable { method run (line 477) | run(input: RunAgentInput): Observable { method run (line 719) | run(input: RunAgentInput): Observable { FILE: sdks/typescript/packages/client/src/agent/agent.ts type RunAgentResult (line 36) | interface RunAgentResult { method maxVersion (line 55) | get maxVersion() { method constructor (line 59) | constructor({ method subscribe (line 85) | public subscribe(subscriber: AgentSubscriber) { method use (line 102) | public use(...middlewares: (Middleware | MiddlewareFunction)[]): this { method runAgent (line 110) | public async runAgent( method connect (line 193) | protected connect(input: RunAgentInput): Observable { method connectAgent (line 196) | public async connectAgent( method abortRun (line 261) | public abortRun() {} method detachActiveRun (line 263) | public async detachActiveRun(): Promise { method apply (line 273) | protected apply( method processApplyEvents (line 281) | protected processApplyEvents( method prepareRunAgentInput (line 314) | protected prepareRunAgentInput(parameters?: RunAgentParameters): RunAgen... method onInitialize (line 329) | protected async onInitialize(input: RunAgentInput, subscribers: AgentSub... method onError (line 368) | protected onError(input: RunAgentInput, error: Error, subscribers: Agent... method onFinalize (line 416) | protected async onFinalize(input: RunAgentInput, subscribers: AgentSubsc... method clone (line 454) | public clone() { method addMessage (line 470) | public addMessage(message: Message) { method addMessages (line 511) | public addMessages(messages: Message[]) { method setMessages (line 555) | public setMessages(messages: Message[]) { method setState (line 572) | public setState(state: State) { method legacy_to_be_removed_runAgentBridged (line 589) | public legacy_to_be_removed_runAgentBridged( FILE: sdks/typescript/packages/client/src/agent/http.ts type RunHttpAgentConfig (line 10) | interface RunHttpAgentConfig extends RunAgentParameters { class HttpAgent (line 14) | class HttpAgent extends AbstractAgent { method requestInit (line 25) | protected requestInit(input: RunAgentInput): RequestInit { method runAgent (line 38) | public runAgent( method abortRun (line 46) | abortRun() { method constructor (line 51) | constructor(config: HttpAgentConfig) { method run (line 57) | run(input: RunAgentInput): Observable { method clone (line 62) | public clone(): HttpAgent { FILE: sdks/typescript/packages/client/src/agent/subscriber.ts type AgentStateMutation (line 37) | interface AgentStateMutation { type AgentSubscriberParams (line 43) | interface AgentSubscriberParams { type MaybePromise (line 51) | type MaybePromise = T | Promise; type AgentSubscriber (line 53) | interface AgentSubscriber { function runSubscribersWithMutation (line 208) | async function runSubscribersWithMutation( FILE: sdks/typescript/packages/client/src/agent/types.ts type AgentConfig (line 3) | interface AgentConfig { type HttpAgentConfig (line 12) | interface HttpAgentConfig extends AgentConfig { type RunAgentParameters (line 17) | type RunAgentParameters = Partial< FILE: sdks/typescript/packages/client/src/apply/__tests__/run-started-input.test.ts class TestAgent (line 17) | class TestAgent extends AbstractAgent { method setEvents (line 20) | setEvents(events: BaseEvent[]) { method run (line 24) | protected run(input: RunAgentInput): Observable { FILE: sdks/typescript/packages/client/src/chunks/transform.ts type TextMessageFields (line 19) | interface TextMessageFields { type ToolCallFields (line 24) | interface ToolCallFields { type ReasoningMessageFields (line 30) | interface ReasoningMessageFields { FILE: sdks/typescript/packages/client/src/compact/compact.ts function compactEvents (line 21) | function compactEvents(events: BaseEvent[]): BaseEvent[] { function flushTextMessage (line 176) | function flushTextMessage( function flushToolCall (line 215) | function flushToolCall( FILE: sdks/typescript/packages/client/src/legacy/convert.ts type PredictStateValue (line 65) | interface PredictStateValue { function convertMessagesToLegacyFormat (line 411) | function convertMessagesToLegacyFormat(messages: Message[]): LegacyMessa... FILE: sdks/typescript/packages/client/src/legacy/types.ts type RuntimeEventTypes (line 109) | type RuntimeEventTypes = z.infer; type RuntimeMetaEventName (line 110) | type RuntimeMetaEventName = z.infer; type LegacyTextMessageStart (line 111) | type LegacyTextMessageStart = z.infer; type LegacyTextMessageContent (line 112) | type LegacyTextMessageContent = z.infer; type LegacyTextMessageEnd (line 113) | type LegacyTextMessageEnd = z.infer; type LegacyActionExecutionStart (line 114) | type LegacyActionExecutionStart = z.infer; type LegacyActionExecutionEnd (line 116) | type LegacyActionExecutionEnd = z.infer; type LegacyActionExecutionResult (line 117) | type LegacyActionExecutionResult = z.infer; type LegacyMetaEvent (line 119) | type LegacyMetaEvent = z.infer; type LegacyRuntimeProtocolEvent (line 120) | type LegacyRuntimeProtocolEvent = z.infer; type LegacyTextMessage (line 146) | type LegacyTextMessage = z.infer; type LegacyActionExecutionMessage (line 147) | type LegacyActionExecutionMessage = z.infer; type LegacyMessage (line 149) | type LegacyMessage = LegacyTextMessage | LegacyActionExecutionMessage | ... FILE: sdks/typescript/packages/client/src/middleware/__tests__/backward-compatibility-0-0-39.test.ts class LegacyAgent (line 5) | class LegacyAgent extends AbstractAgent { method constructor (line 8) | constructor(initialMessages: Message[]) { method maxVersion (line 12) | override get maxVersion(): string { method run (line 16) | override run(input: RunAgentInput): Observable { method prepareRunAgentInput (line 25) | protected override prepareRunAgentInput( FILE: sdks/typescript/packages/client/src/middleware/__tests__/backward-compatibility-0-0-45.test.ts constant THINKING_START (line 15) | const THINKING_START = "THINKING_START"; constant THINKING_END (line 16) | const THINKING_END = "THINKING_END"; constant THINKING_TEXT_MESSAGE_START (line 17) | const THINKING_TEXT_MESSAGE_START = "THINKING_TEXT_MESSAGE_START"; constant THINKING_TEXT_MESSAGE_CONTENT (line 18) | const THINKING_TEXT_MESSAGE_CONTENT = "THINKING_TEXT_MESSAGE_CONTENT"; constant THINKING_TEXT_MESSAGE_END (line 19) | const THINKING_TEXT_MESSAGE_END = "THINKING_TEXT_MESSAGE_END"; class MockAgent (line 21) | class MockAgent extends AbstractAgent { method constructor (line 24) | constructor(events: BaseEvent[]) { method maxVersion (line 29) | override get maxVersion(): string { method run (line 33) | override run(_input: RunAgentInput): Observable { class LegacyThinkingAgent (line 204) | class LegacyThinkingAgent extends AbstractAgent { method constructor (line 205) | constructor() { method maxVersion (line 209) | override get maxVersion(): string { method run (line 213) | override run(input: RunAgentInput): Observable { FILE: sdks/typescript/packages/client/src/middleware/__tests__/filter-tool-calls.test.ts class ToolCallingAgent (line 16) | class ToolCallingAgent extends AbstractAgent { method run (line 17) | run(input: RunAgentInput): Observable { FILE: sdks/typescript/packages/client/src/middleware/__tests__/function-middleware.test.ts class TestAgent (line 7) | class TestAgent extends AbstractAgent { method run (line 8) | run(input: RunAgentInput): Observable { FILE: sdks/typescript/packages/client/src/middleware/__tests__/middleware-chained-integration.test.ts class CapturingMiddleware (line 51) | class CapturingMiddleware extends Middleware { method run (line 56) | run(input: RunAgentInput, next: AbstractAgent): Observable { class PassThroughMiddleware (line 79) | class PassThroughMiddleware extends Middleware { method run (line 82) | run(input: RunAgentInput, next: AbstractAgent): Observable { class EventInjectingMiddleware (line 93) | class EventInjectingMiddleware extends Middleware { method run (line 94) | run(input: RunAgentInput, next: AbstractAgent): Observable { class TextChunkAgent (line 121) | class TextChunkAgent extends AbstractAgent { method run (line 122) | run(input: RunAgentInput): Observable { class FullTextAgent (line 148) | class FullTextAgent extends AbstractAgent { method run (line 149) | run(input: RunAgentInput): Observable { class ToolCallChunkAgent (line 184) | class ToolCallChunkAgent extends AbstractAgent { method run (line 185) | run(input: RunAgentInput): Observable { class FullToolCallAgent (line 219) | class FullToolCallAgent extends AbstractAgent { method run (line 220) | run(input: RunAgentInput): Observable { class TextAndStateAgent (line 261) | class TextAndStateAgent extends AbstractAgent { method run (line 262) | run(input: RunAgentInput): Observable { class MessagesSnapshotAgent (line 296) | class MessagesSnapshotAgent extends AbstractAgent { method run (line 297) | run(input: RunAgentInput): Observable { class MultiMessageAgent (line 340) | class MultiMessageAgent extends AbstractAgent { method run (line 341) | run(input: RunAgentInput): Observable { class TextThenToolAgent (line 373) | class TextThenToolAgent extends AbstractAgent { method run (line 374) | run(input: RunAgentInput): Observable { FILE: sdks/typescript/packages/client/src/middleware/__tests__/middleware-chained-run-next-with-state.test.ts class SimpleTextAgent (line 21) | class SimpleTextAgent extends AbstractAgent { method run (line 22) | run(input: RunAgentInput): Observable { class CapturingMiddleware (line 52) | class CapturingMiddleware extends Middleware { method run (line 55) | run(input: RunAgentInput, next: AbstractAgent): Observable { method messages (line 93) | get messages() { return realAgent.messages; } method state (line 94) | get state() { return realAgent.state; } FILE: sdks/typescript/packages/client/src/middleware/__tests__/middleware-live-events.test.ts class LiveEventAgent (line 14) | class LiveEventAgent extends AbstractAgent { method run (line 15) | run(input: RunAgentInput): Observable { class CustomMiddleware (line 42) | class CustomMiddleware extends Middleware { method run (line 43) | run(input: RunAgentInput, next: AbstractAgent): Observable { FILE: sdks/typescript/packages/client/src/middleware/__tests__/middleware-usage-example.ts class ExampleAgent (line 21) | class ExampleAgent extends AbstractAgent { method run (line 22) | run(input: RunAgentInput): Observable { class LoggingMiddleware (line 52) | class LoggingMiddleware extends Middleware { method run (line 53) | run(input: RunAgentInput, next: AbstractAgent): Observable { function runExample (line 98) | async function runExample() { FILE: sdks/typescript/packages/client/src/middleware/__tests__/middleware-with-state.test.ts class StatefulAgent (line 13) | class StatefulAgent extends AbstractAgent { method run (line 14) | run(input: RunAgentInput): Observable { class StateTrackingMiddleware (line 41) | class StateTrackingMiddleware extends Middleware { method run (line 42) | run(input: RunAgentInput, next: AbstractAgent): Observable { FILE: sdks/typescript/packages/client/src/middleware/__tests__/middleware.test.ts class TestAgent (line 7) | class TestAgent extends AbstractAgent { method run (line 8) | run(input: RunAgentInput): Observable { class TestMiddleware (line 28) | class TestMiddleware extends Middleware { method run (line 29) | run(input: RunAgentInput, next: AbstractAgent): Observable { FILE: sdks/typescript/packages/client/src/middleware/backward-compatibility-0-0-39.ts type InputMessage (line 6) | type InputMessage = RunAgentInput["messages"][number]; function sanitizeMessageContent (line 8) | function sanitizeMessageContent(message: InputMessage): InputMessage { class BackwardCompatibility_0_0_39 (line 44) | class BackwardCompatibility_0_0_39 extends Middleware { method run (line 45) | override run(input: RunAgentInput, next: AbstractAgent): Observable { method shouldFilterTool (line 93) | private shouldFilterTool(toolName: string): boolean { FILE: sdks/typescript/packages/client/src/middleware/middleware.ts type MiddlewareFunction (line 9) | type MiddlewareFunction = ( type EventWithState (line 14) | interface EventWithState { method runNext (line 26) | protected runNext(input: RunAgentInput, next: AbstractAgent): Observable... method runNextWithState (line 36) | protected runNextWithState( class FunctionMiddleware (line 79) | class FunctionMiddleware extends Middleware { method constructor (line 80) | constructor(private fn: MiddlewareFunction) { method run (line 84) | run(input: RunAgentInput, next: AbstractAgent): Observable { FILE: sdks/typescript/packages/client/src/run/http-request.ts type HttpEventType (line 4) | enum HttpEventType { type HttpDataEvent (line 9) | interface HttpDataEvent { type HttpHeadersEvent (line 14) | interface HttpHeadersEvent { type HttpEvent (line 20) | type HttpEvent = HttpDataEvent | HttpHeadersEvent; FILE: sdks/typescript/packages/client/src/transform/proto.ts function processBuffer (line 49) | function processBuffer() { FILE: sdks/typescript/packages/client/src/transform/sse.ts function processSSEEvent (line 61) | function processSSEEvent(eventText: string) { FILE: sdks/typescript/packages/client/src/utils.ts function randomUUID (line 19) | function randomUUID(): string { FILE: sdks/typescript/packages/core/src/capabilities.ts type SubAgentInfo (line 239) | type SubAgentInfo = z.infer; type IdentityCapabilities (line 241) | type IdentityCapabilities = z.infer; type TransportCapabilities (line 243) | type TransportCapabilities = z.infer; type ToolsCapabilities (line 245) | type ToolsCapabilities = z.infer; type OutputCapabilities (line 247) | type OutputCapabilities = z.infer; type StateCapabilities (line 249) | type StateCapabilities = z.infer; type MultiAgentCapabilities (line 251) | type MultiAgentCapabilities = z.infer; type ReasoningCapabilities (line 253) | type ReasoningCapabilities = z.infer; type MultimodalInputCapabilities (line 255) | type MultimodalInputCapabilities = z.infer; type ExecutionCapabilities (line 261) | type ExecutionCapabilities = z.infer; type HumanInTheLoopCapabilities (line 263) | type HumanInTheLoopCapabilities = z.infer; FILE: sdks/typescript/packages/core/src/events.ts type EventType (line 12) | enum EventType { type BaseEvent (line 325) | type BaseEvent = z.infer; type AGUIEvent (line 326) | type AGUIEvent = z.infer; type BaseEventFields (line 327) | type BaseEventFields = z.infer; type AGUIEventByType (line 328) | type AGUIEventByType = { type AGUIEventOf (line 363) | type AGUIEventOf = AGUIEventByType[T]; type EventPayloadOf (line 364) | type EventPayloadOf = Omit, keyof Ba... type EventProps (line 366) | type EventProps = Omit, "ty... type BaseEventProps (line 368) | type BaseEventProps = EventProps; type TextMessageStartEventProps (line 370) | type TextMessageStartEventProps = EventProps; type ToolCallArgsEventProps (line 382) | type ToolCallArgsEventProps = EventProps; type ToolCallEndEventProps (line 383) | type ToolCallEndEventProps = EventProps; type ToolCallChunkEventProps (line 384) | type ToolCallChunkEventProps = EventProps; type ToolCallResultEventProps (line 385) | type ToolCallResultEventProps = EventProps; type ThinkingEndEventProps (line 387) | type ThinkingEndEventProps = EventProps; type StateSnapshotEventProps (line 388) | type StateSnapshotEventProps = EventProps; type StateDeltaEventProps (line 389) | type StateDeltaEventProps = EventProps; type MessagesSnapshotEventProps (line 390) | type MessagesSnapshotEventProps = EventProps; type RawEventProps (line 393) | type RawEventProps = EventProps; type CustomEventProps (line 394) | type CustomEventProps = EventProps; type RunStartedEventProps (line 395) | type RunStartedEventProps = EventProps; type RunFinishedEventProps (line 396) | type RunFinishedEventProps = EventProps; type RunErrorEventProps (line 397) | type RunErrorEventProps = EventProps; type StepStartedEventProps (line 398) | type StepStartedEventProps = EventProps; type StepFinishedEventProps (line 399) | type StepFinishedEventProps = EventProps; type ReasoningStartEventProps (line 400) | type ReasoningStartEventProps = EventProps; type ReasoningEncryptedValueEventProps (line 408) | type ReasoningEncryptedValueEventProps = EventProps< type TextMessageStartEvent (line 412) | type TextMessageStartEvent = z.infer; type TextMessageContentEvent (line 413) | type TextMessageContentEvent = z.infer; type TextMessageChunkEvent (line 415) | type TextMessageChunkEvent = z.infer; type ThinkingTextMessageStartEvent (line 416) | type ThinkingTextMessageStartEvent = z.infer; type ToolCallArgsEvent (line 420) | type ToolCallArgsEvent = z.infer; type ToolCallEndEvent (line 421) | type ToolCallEndEvent = z.infer; type ToolCallChunkEvent (line 422) | type ToolCallChunkEvent = z.infer; type ToolCallResultEvent (line 423) | type ToolCallResultEvent = z.infer; type ThinkingStartEvent (line 424) | type ThinkingStartEvent = z.infer; type ThinkingEndEvent (line 425) | type ThinkingEndEvent = z.infer; type StateSnapshotEvent (line 426) | type StateSnapshotEvent = z.infer; type StateDeltaEvent (line 427) | type StateDeltaEvent = z.infer; type MessagesSnapshotEvent (line 428) | type MessagesSnapshotEvent = z.infer; type ActivitySnapshotEvent (line 429) | type ActivitySnapshotEvent = z.infer; type ActivityDeltaEvent (line 430) | type ActivityDeltaEvent = z.infer; type RawEvent (line 431) | type RawEvent = z.infer; type CustomEvent (line 432) | type CustomEvent = z.infer; type RunStartedEvent (line 433) | type RunStartedEvent = z.infer; type RunFinishedEvent (line 434) | type RunFinishedEvent = z.infer; type RunErrorEvent (line 435) | type RunErrorEvent = z.infer; type StepStartedEvent (line 436) | type StepStartedEvent = z.infer; type StepFinishedEvent (line 437) | type StepFinishedEvent = z.infer; type ReasoningStartEvent (line 438) | type ReasoningStartEvent = z.infer; type ReasoningMessageStartEvent (line 439) | type ReasoningMessageStartEvent = z.infer; type ReasoningEncryptedValueEvent (line 444) | type ReasoningEncryptedValueEvent = z.infer; type FunctionCall (line 154) | type FunctionCall = z.infer; type TextInputContent (line 155) | type TextInputContent = z.infer; type BinaryInputContent (line 156) | type BinaryInputContent = z.infer; type InputContent (line 157) | type InputContent = z.infer; type DeveloperMessage (line 158) | type DeveloperMessage = z.infer; type SystemMessage (line 159) | type SystemMessage = z.infer; type AssistantMessage (line 160) | type AssistantMessage = z.infer; type UserMessage (line 161) | type UserMessage = z.infer; type ToolMessage (line 162) | type ToolMessage = z.infer; type ActivityMessage (line 163) | type ActivityMessage = z.infer; type ReasoningMessage (line 164) | type ReasoningMessage = z.infer; type Message (line 165) | type Message = z.infer; type Context (line 166) | type Context = z.infer; type Tool (line 167) | type Tool = z.infer; type RunAgentInput (line 168) | type RunAgentInput = z.infer; type State (line 169) | type State = z.infer; type Role (line 170) | type Role = z.infer; class AGUIError (line 172) | class AGUIError extends Error { method constructor (line 173) | constructor(message: string) { class AGUIConnectNotImplementedError (line 178) | class AGUIConnectNotImplementedError extends AGUIError { method constructor (line 179) | constructor() { FILE: sdks/typescript/packages/encoder/src/encoder.ts type EventEncoderParams (line 5) | interface EventEncoderParams { class EventEncoder (line 9) | class EventEncoder { method constructor (line 12) | constructor(params?: EventEncoderParams) { method getContentType (line 16) | getContentType(): string { method encode (line 24) | encode(event: BaseEvent): string { method encodeSSE (line 28) | encodeSSE(event: BaseEvent): string { method encodeBinary (line 32) | encodeBinary(event: BaseEvent): Uint8Array { method encodeProtobuf (line 43) | encodeProtobuf(event: BaseEvent): Uint8Array { method isProtobufAccepted (line 62) | private isProtobufAccepted(acceptHeader: string): boolean { FILE: sdks/typescript/packages/encoder/src/media-type.ts function preferredMediaTypes (line 16) | function preferredMediaTypes(accept?: string, provided?: string[]): stri... type MediaType (line 54) | interface MediaType { type Priority (line 66) | interface Priority { function parseAccept (line 77) | function parseAccept(accept: string): MediaType[] { function parseMediaType (line 96) | function parseMediaType(str: string, i: number): MediaType | null { function getMediaTypePriority (line 139) | function getMediaTypePriority(type: string, accepted: MediaType[], index... function specify (line 160) | function specify(type: string, spec: MediaType, index: number): Priority... function compareSpecs (line 208) | function compareSpecs(a: Priority, b: Priority): number { function getFullType (line 216) | function getFullType(spec: MediaType): string { function isQuality (line 224) | function isQuality(spec: Priority | MediaType): boolean { function quoteCount (line 232) | function quoteCount(string: string): number { function splitKeyValuePair (line 248) | function splitKeyValuePair(str: string): [string, string] { function splitMediaTypes (line 267) | function splitMediaTypes(accept: string): string[] { function splitParameters (line 287) | function splitParameters(str: string): string[] { FILE: sdks/typescript/packages/proto/__tests__/test-utils.ts function roundTrip (line 8) | function roundTrip(event: T): T { function expectRoundTripEquality (line 16) | function expectRoundTripEquality(event: T): void { FILE: sdks/typescript/packages/proto/src/index.ts constant AGUI_MEDIA_TYPE (line 3) | const AGUI_MEDIA_TYPE = "application/vnd.ag-ui.event+proto"; FILE: sdks/typescript/packages/proto/src/proto.ts function toCamelCase (line 5) | function toCamelCase(str: string): string { function encode (line 12) | function encode(event: BaseEvent): Uint8Array { function decode (line 74) | function decode(data: Uint8Array): BaseEvent { FILE: sdks/typescript/scripts/create-integration.ts function showHelp (line 8) | function showHelp() {