MCPcopy Create free account

hub / github.com/anthropics/claude-agent-sdk-demos / functions

Functions454 in github.com/anthropics/claude-agent-sdk-demos

↓ 1 callersMethodonMessage
(ws: WSClient, message: string)
email-agent/ccsdk/websocket-handler.ts:191
↓ 1 callersMethodonOpen
(ws: WSClient)
email-agent/ccsdk/websocket-handler.ts:145
↓ 1 callersMethodonStateUpdate
* Subscribe to state updates
email-agent/ccsdk/ui-state-manager.ts:168
↓ 1 callersFunctiononeShot
()
hello-world-v2/v2-examples.ts:76
↓ 1 callersMethodopenFolder
(folderName: string)
email-agent/database/email-search.ts:89
↓ 1 callersMethodparseEmailToRecord
(parsed: any, uid: number, folder: string)
email-agent/database/imap-manager.ts:335
↓ 1 callersFunctionprocessContent
(content: string)
email-agent/client/components/message/AssistantMessage.tsx:346
↓ 1 callersFunctionprocess_assistant_message
Process an AssistantMessage and write output to transcript. Args: msg: AssistantMessage to process tracker: SubagentTracker insta
research-agent/research_agent/utils/message_handler.py:10
↓ 1 callersMethodpruneOldComponentInstances
* Delete old component instances
email-agent/database/database-manager.ts:832
↓ 1 callersMethodreconnect
()
email-agent/database/imap-manager.ts:498
↓ 1 callersMethodregisterComponentInstance
* Register a component instance
email-agent/database/database-manager.ts:787
↓ 1 callersMethodregisterInstance
* Register an action instance created by agent
email-agent/ccsdk/actions-manager.ts:101
↓ 1 callersMethodregister_subagent_spawn
Register a new subagent spawn detected from the message stream. Args: tool_use_id: The ID of the Task tool use block
research-agent/research_agent/utils/subagent_tracker.py:74
↓ 1 callersFunctionremoveFile
(index: number)
excel-demo/src/renderer/components/MessageInput.tsx:107
↓ 1 callersMethodremoveLabel
(emailId: string, label: string)
email-agent/agent/custom_scripts/types.ts:229
↓ 1 callersFunctionrenderActiveView
()
email-agent/client/App.tsx:94
↓ 1 callersFunctionresizeIframe
()
email-agent/client/components/EmailHTMLRenderer.tsx:73
↓ 1 callersFunctionresolveHtmlPath
(htmlFileName: string)
excel-demo/src/main/util.ts:5
↓ 1 callersFunctionrunQuery
(ws: WebSocket, prompt: string)
ask-user-question-previews/server.ts:66
↓ 1 callersFunctionscrollToBottom
()
email-agent/client/components/ChatInterface.tsx:27
↓ 1 callersFunctionscrollToBottom
()
excel-demo/src/renderer/components/MessageList.tsx:16
↓ 1 callersMethodsearchEmails
(criteria: any[])
email-agent/database/email-search.ts:98
↓ 1 callersMethodsearchMailbox
(criteria: any[])
email-agent/database/imap-manager.ts:223
↓ 1 callersFunctionselectChat
(chatId: string)
simple-chatapp/client/App.tsx:146
↓ 1 callersMethodsendActionInstances
* Send action instances to clients subscribed to a session
email-agent/ccsdk/websocket-handler.ts:407
↓ 1 callersMethodsendEmail
(options: { to: string; subject: string; body: string; cc?: string; bcc?: string; repl
email-agent/agent/custom_scripts/types.ts:232
↓ 1 callersFunctionsendQuery
()
excel-demo/src/renderer/components/ChatInterface.tsx:159
↓ 1 callersFunctionsessionResume
()
hello-world-v2/v2-examples.ts:88
↓ 1 callersMethodsetUIState
* Set/update UI state
email-agent/database/database-manager.ts:745
↓ 1 callersMethodset_current_context
Update the current execution context from message stream. Args: parent_tool_use_id: The parent tool use ID from the curr
research-agent/research_agent/utils/subagent_tracker.py:115
↓ 1 callersMethodsetupDevelopmentEnvironment
()
excel-demo/src/main/menu.ts:40
↓ 1 callersFunctionsetup_session
Setup session directory and transcript file. Creates a session folder in logs/ with timestamp, containing both transcript and detailed tool c
research-agent/research_agent/utils/transcript.py:8
↓ 1 callersMethodstartIdleMonitoring
(folder: string = "INBOX", onNewEmail: (count: number) => void)
email-agent/database/imap-manager.ts:504
↓ 1 callersMethodstartListening
()
simple-chatapp/server/session.ts:18
↓ 1 callersFunctionsubmit
(prompt: string)
ask-user-question-previews/client/useAgentSocket.ts:58
↓ 1 callersFunctiontoggleCrossOff
(todoId: string)
excel-demo/src/renderer/components/TodoListDisplay.tsx:11
↓ 1 callersFunctiontruncate
(text: string | undefined, maxLength: number)
email-agent/client/components/InboxView.tsx:56
↓ 1 callersMethodunstarEmail
(emailId: string)
email-agent/agent/custom_scripts/types.ts:225
↓ 1 callersMethodunsubscribe
(client: WSClient)
simple-chatapp/server/session.ts:109
↓ 1 callersMethodupsertEmail
(email: EmailRecord, attachments: Attachment[] = [])
email-agent/database/database-manager.ts:260
↓ 1 callersFunctionuseAgentSocket
(url: string)
ask-user-question-previews/client/useAgentSocket.ts:17
↓ 1 callersFunctionuseComponentTabs
()
email-agent/client/hooks/useComponentTabs.tsx:15
↓ 1 callersFunctionuseListenerLogs
({ listenerId, limit = 20 }: UseListenerLogsOptions)
email-agent/client/hooks/useListenerLogs.ts:21
↓ 1 callersFunctionuseListeners
(pollInterval?: number)
email-agent/client/hooks/useListeners.ts:25
↓ 1 callersMethodwatchListeners
* Watch for file changes and reload listeners
email-agent/ccsdk/listeners-manager.ts:468
FunctionActionButton
({ action, onExecute, loading }: ActionButtonProps)
email-agent/client/components/ActionButton.tsx:21
FunctionActiveListenersPanel
()
email-agent/client/components/ActiveListenersPanel.tsx:7
FunctionApp
()
email-agent/client/App.tsx:12
FunctionApp
()
ask-user-question-previews/client/App.tsx:8
FunctionApp
()
simple-chatapp/client/App.tsx:26
FunctionApp
()
excel-demo/src/renderer/App.tsx:5
FunctionAssistantMessage
({ message, onExecuteAction, ws }: AssistantMessageProps)
email-agent/client/components/message/AssistantMessage.tsx:413
FunctionChatInterface
({ isConnected, sendMessage, messages, setMessages, sessionId, isLoading, setIsLoading, ws }: ChatInterfacePro
email-agent/client/components/ChatInterface.tsx:17
FunctionChatInterface
()
excel-demo/src/renderer/components/ChatInterface.tsx:8
FunctionChatList
({ chats, selectedChatId, onSelectChat, onNewChat, onDeleteChat, }: ChatListProps)
simple-chatapp/client/components/ChatList.tsx:18
FunctionChatWindow
({ chatId, messages, isConnected, isLoading, onSendMessage, }: ChatWindowProps)
simple-chatapp/client/components/ChatWindow.tsx:91
FunctionCodeComponent
({ inline, className, children }: any)
excel-demo/src/renderer/components/Message.tsx:13
FunctionComponentRenderer
({ instanceId, componentId, stateId, ws, onAction })
email-agent/client/components/message/ComponentRenderer.tsx:17
FunctionEmailDisplay
({ emailId, compact = false }: EmailDisplayProps)
email-agent/client/components/EmailDisplay.tsx:31
FunctionEmailHTMLRenderer
({ html, className = '' }: EmailHTMLRendererProps)
email-agent/client/components/EmailHTMLRenderer.tsx:8
FunctionEmailReference
({ emailId }: { emailId: string })
email-agent/client/components/message/AssistantMessage.tsx:336
FunctionEmailViewer
({ email, onClose }: EmailViewerProps)
email-agent/client/components/EmailViewer.tsx:34
FunctionFinancialDashboard
({ state, onAction })
email-agent/client/components/custom/FinancialDashboard.tsx:50
FunctionFinancialDashboardView
({ ws }: FinancialDashboardViewProps)
email-agent/client/components/views/FinancialDashboardView.tsx:10
FunctionGlobalStyles
()
ask-user-question-previews/client/App.tsx:258
FunctionInboxView
({ emails, onEmailSelect, selectedEmailId }: InboxViewProps)
email-agent/client/components/InboxView.tsx:35
FunctionLinkComponent
({ children, href }: any)
excel-demo/src/renderer/components/Message.tsx:29
FunctionListenerActivityLog
({ listenerId }: { listenerId: string })
email-agent/client/components/ActiveListenersPanel.tsx:96
FunctionListenerDisplay
({ listenerId, compact = false }: ListenerDisplayProps)
email-agent/client/components/ListenerDisplay.tsx:23
FunctionListenerReference
({ listenerId }: { listenerId: string })
email-agent/client/components/message/AssistantMessage.tsx:341
FunctionMessage
({ message }: MessageProps)
excel-demo/src/renderer/components/Message.tsx:57
FunctionMessageBubble
({ message }: { message: Message })
simple-chatapp/client/components/ChatWindow.tsx:73
FunctionMessageInput
({ onSendMessage, disabled = false }: MessageInputProps)
excel-demo/src/renderer/components/MessageInput.tsx:8
FunctionMessageList
({ messages, isLoading, currentTodos = [] }: MessageListProps)
excel-demo/src/renderer/components/MessageList.tsx:13
FunctionMessageRenderer
({ message, onExecuteAction, ws }: MessageRendererProps)
email-agent/client/components/message/MessageRenderer.tsx:13
FunctionOrderedListComponent
({ children }: any)
excel-demo/src/renderer/components/Message.tsx:53
FunctionParagraphComponent
({ children }: any)
excel-demo/src/renderer/components/Message.tsx:43
FunctionPlaceholder
({ children }: { children: React.ReactNode })
ask-user-question-previews/client/App.tsx:216
FunctionQuestionView
({ q, onPick, }: { q: Question; onPick: (label: string) => void; })
ask-user-question-previews/client/App.tsx:97
FunctionScreenshotModeProvider
({ children }: { children: React.ReactNode })
email-agent/client/context/ScreenshotModeContext.tsx:12
FunctionScreenshotModeToggle
()
email-agent/client/components/ScreenshotModeToggle.tsx:5
FunctionStatusLine
({ text }: { text: string })
ask-user-question-previews/client/App.tsx:233
FunctionSystemMessage
({ message }: SystemMessageProps)
email-agent/client/components/message/SystemMessage.tsx:12
FunctionTabNavigation
({ tabs, activeTab, onTabChange }: TabNavigationProps)
email-agent/client/components/TabNavigation.tsx:16
FunctionTaskBoard
({ state, onAction })
email-agent/client/components/custom/TaskBoard.tsx:38
FunctionTaskBoardView
({ ws }: TaskBoardViewProps)
email-agent/client/components/views/TaskBoardView.tsx:10
FunctionTextComponent
({ text }: { text: TextBlock })
email-agent/client/components/message/AssistantMessage.tsx:334
FunctionThinkingDisplay
({ thinking }: ThinkingDisplayProps)
excel-demo/src/renderer/components/ThinkingDisplay.tsx:8
FunctionTodoListDisplay
({ todos }: TodoListDisplayProps)
excel-demo/src/renderer/components/TodoListDisplay.tsx:8
FunctionToolUseBlock
({ message }: { message: Message })
simple-chatapp/client/components/ChatWindow.tsx:20
FunctionToolUseComponent
({ toolUse }: { toolUse: ToolUseBlock })
email-agent/client/components/message/AssistantMessage.tsx:20
FunctionToolUseDisplay
({ toolUse }: ToolUseDisplayProps)
excel-demo/src/renderer/components/ToolUseDisplay.tsx:13
FunctionUnorderedListComponent
({ children }: any)
excel-demo/src/renderer/components/Message.tsx:48
FunctionUserMessage
({ message }: UserMessageProps)
email-agent/client/components/message/UserMessage.tsx:12
Method[Symbol.asyncIterator]
()
simple-chatapp/server/ai-client.ts:42
Method__enter__
(self)
research-agent/research_agent/utils/transcript.py:55
Method__exit__
(self, *_args)
research-agent/research_agent/utils/transcript.py:58
Method__init__
(self, transcript_file: Path)
research-agent/research_agent/utils/transcript.py:35
Method__init__
(self, transcript_writer=None, session_dir: Optional[Path] = None)
research-agent/research_agent/utils/subagent_tracker.py:50
MethodaddAssistantMessage
(content: string)
email-agent/agent/custom_scripts/types.ts:251
← previousnext →201–300 of 454, ranked by callers