SYMBOL INDEX (824 symbols across 144 files) FILE: api/agent/loader.py function list_available_agents (line 25) | def list_available_agents() -> Dict[str, str]: function load_agent (line 71) | def load_agent(agent_name: str) -> Optional[CompiledGraph]: function get_default_agent (line 113) | def get_default_agent() -> Optional[CompiledGraph]: FILE: api/server.py function list_agents (line 40) | async def list_agents(): function state (line 46) | async def state(thread_id: str | None = None, agent: Optional[str] = Que... function history (line 63) | async def history(thread_id: str | None = None, agent: Optional[str] = Q... function stop_agent (line 82) | async def stop_agent(request: Request): function agent (line 96) | async def agent(request: Request): function main (line 289) | def main(): FILE: api/utils.py function checkpoint_event (line 7) | def checkpoint_event(value): function message_chunk_event (line 62) | def message_chunk_event(node_name, message_chunk): function interrupt_event (line 85) | def interrupt_event(interrupts): function custom_event (line 95) | def custom_event(value): function format_state_snapshot (line 103) | def format_state_snapshot(snapshot: StateSnapshot): function stream_update_event (line 118) | def stream_update_event(data: dict): FILE: core/a2a/agent_task_manager.py class AgentTaskManager (line 21) | class AgentTaskManager(InMemoryTaskManager): method __init__ (line 26) | def __init__(self, agent, notification_sender_auth=None): method _run_streaming_agent (line 38) | async def _run_streaming_agent(self, request: SendTaskStreamingRequest): method _get_user_query (line 96) | def _get_user_query(self, task_send_params: TaskSendParams) -> str: method _validate_request (line 125) | def _validate_request( method on_send_task (line 154) | async def on_send_task(self, request: SendTaskRequest) -> SendTaskResp... method on_send_task_subscribe (line 215) | async def on_send_task_subscribe( method _process_agent_response (line 255) | async def _process_agent_response( method on_resubscribe_to_task (line 281) | async def on_resubscribe_to_task( method send_task_notification (line 297) | async def send_task_notification(self, task: Task): method set_push_notification_info (line 309) | async def set_push_notification_info(self, task_id: str, push_notifica... FILE: core/a2a/client/card_resolver.py class A2ACardResolver (line 9) | class A2ACardResolver: method __init__ (line 10) | def __init__(self, base_url, agent_card_path="/.well-known/agent.json"): method get_agent_card (line 14) | def get_agent_card(self) -> AgentCard: FILE: core/a2a/client/client.py class A2AClient (line 25) | class A2AClient: method __init__ (line 26) | def __init__(self, agent_card: AgentCard = None, url: str = None): method send_task (line 34) | async def send_task(self, payload: dict[str, Any]) -> SendTaskResponse: method send_task_streaming (line 38) | async def send_task_streaming( method _send_request (line 54) | async def _send_request(self, request: JSONRPCRequest) -> dict[str, Any]: method get_task (line 68) | async def get_task(self, payload: dict[str, Any]) -> GetTaskResponse: method cancel_task (line 72) | async def cancel_task(self, payload: dict[str, Any]) -> CancelTaskResp... method set_task_callback (line 76) | async def set_task_callback( method get_task_callback (line 82) | async def get_task_callback( FILE: core/a2a/server/server.py class A2AServer (line 39) | class A2AServer: method __init__ (line 40) | def __init__( method start (line 78) | def start(self): method _get_agent_card (line 85) | def _get_agent_card(self, request: Request) -> JSONResponse: method _process_request (line 92) | async def _process_request(self, request: Request) -> Union[JSONRespon... method _handle_exception (line 124) | def _handle_exception(self, e: Exception, request_id: Optional[Union[s... method _create_response (line 157) | def _create_response(self, result: Any) -> Union[JSONResponse, EventSo... FILE: core/a2a/server/task_manager.py class TaskManager (line 40) | class TaskManager(ABC): method on_get_task (line 42) | async def on_get_task(self, request: GetTaskRequest) -> GetTaskResponse: method on_cancel_task (line 46) | async def on_cancel_task(self, request: CancelTaskRequest) -> CancelTa... method on_send_task (line 50) | async def on_send_task(self, request: SendTaskRequest) -> SendTaskResp... method on_send_task_subscribe (line 54) | async def on_send_task_subscribe( method on_set_task_push_notification (line 60) | async def on_set_task_push_notification( method on_get_task_push_notification (line 66) | async def on_get_task_push_notification( method on_resubscribe_to_task (line 72) | async def on_resubscribe_to_task( class InMemoryTaskManager (line 78) | class InMemoryTaskManager(TaskManager): method __init__ (line 79) | def __init__(self): method on_get_task (line 86) | async def on_get_task(self, request: GetTaskRequest) -> GetTaskResponse: method on_cancel_task (line 101) | async def on_cancel_task(self, request: CancelTaskRequest) -> CancelTa... method on_send_task (line 113) | async def on_send_task(self, request: SendTaskRequest) -> SendTaskResp... method on_send_task_subscribe (line 117) | async def on_send_task_subscribe( method set_push_notification_info (line 122) | async def set_push_notification_info(self, task_id: str, notification_... method get_push_notification_info (line 132) | async def get_push_notification_info(self, task_id: str) -> PushNotifi... method has_push_notification_info (line 142) | async def has_push_notification_info(self, task_id: str) -> bool: method on_set_task_push_notification (line 147) | async def on_set_task_push_notification( method on_get_task_push_notification (line 166) | async def on_get_task_push_notification( method upsert_task (line 185) | async def upsert_task(self, task_send_params: TaskSendParams) -> Task: method on_resubscribe_to_task (line 203) | async def on_resubscribe_to_task( method update_store (line 208) | async def update_store( method append_task_history (line 230) | def append_task_history(self, task: Task, historyLength: int | None): method setup_sse_consumer (line 239) | async def setup_sse_consumer(self, task_id: str, is_resubscribe: bool ... method enqueue_events_for_sse (line 251) | async def enqueue_events_for_sse(self, task_id, task_update_event): method dequeue_events_for_sse (line 260) | async def dequeue_events_for_sse( FILE: core/a2a/server/utils.py function are_modalities_compatible (line 9) | def are_modalities_compatible( function new_incompatible_types_error (line 23) | def new_incompatible_types_error(request_id): function new_not_implemented_error (line 27) | def new_not_implemented_error(request_id): FILE: core/a2a/types.py class TaskState (line 11) | class TaskState(str, Enum): class TextPart (line 21) | class TextPart(BaseModel): class FileContent (line 27) | class FileContent(BaseModel): method check_content (line 34) | def check_content(self) -> Self: class FilePart (line 44) | class FilePart(BaseModel): class DataPart (line 50) | class DataPart(BaseModel): class Message (line 59) | class Message(BaseModel): class TaskStatus (line 65) | class TaskStatus(BaseModel): method serialize_dt (line 71) | def serialize_dt(self, dt: datetime, _info): class Artifact (line 75) | class Artifact(BaseModel): class Task (line 85) | class Task(BaseModel): class TaskStatusUpdateEvent (line 94) | class TaskStatusUpdateEvent(BaseModel): class TaskArtifactUpdateEvent (line 101) | class TaskArtifactUpdateEvent(BaseModel): class AuthenticationInfo (line 107) | class AuthenticationInfo(BaseModel): class PushNotificationConfig (line 114) | class PushNotificationConfig(BaseModel): class TaskIdParams (line 120) | class TaskIdParams(BaseModel): class TaskQueryParams (line 125) | class TaskQueryParams(TaskIdParams): class TaskSendParams (line 129) | class TaskSendParams(BaseModel): class TaskPushNotificationConfig (line 139) | class TaskPushNotificationConfig(BaseModel): class JSONRPCMessage (line 147) | class JSONRPCMessage(BaseModel): class JSONRPCRequest (line 152) | class JSONRPCRequest(JSONRPCMessage): class JSONRPCError (line 157) | class JSONRPCError(BaseModel): class JSONRPCResponse (line 163) | class JSONRPCResponse(JSONRPCMessage): class SendTaskRequest (line 168) | class SendTaskRequest(JSONRPCRequest): class SendTaskResponse (line 173) | class SendTaskResponse(JSONRPCResponse): class SendTaskStreamingRequest (line 177) | class SendTaskStreamingRequest(JSONRPCRequest): class SendTaskStreamingResponse (line 182) | class SendTaskStreamingResponse(JSONRPCResponse): class GetTaskRequest (line 186) | class GetTaskRequest(JSONRPCRequest): class GetTaskResponse (line 191) | class GetTaskResponse(JSONRPCResponse): class CancelTaskRequest (line 195) | class CancelTaskRequest(JSONRPCRequest): class CancelTaskResponse (line 200) | class CancelTaskResponse(JSONRPCResponse): class SetTaskPushNotificationRequest (line 204) | class SetTaskPushNotificationRequest(JSONRPCRequest): class SetTaskPushNotificationResponse (line 209) | class SetTaskPushNotificationResponse(JSONRPCResponse): class GetTaskPushNotificationRequest (line 213) | class GetTaskPushNotificationRequest(JSONRPCRequest): class GetTaskPushNotificationResponse (line 218) | class GetTaskPushNotificationResponse(JSONRPCResponse): class TaskResubscriptionRequest (line 222) | class TaskResubscriptionRequest(JSONRPCRequest): class JSONParseError (line 245) | class JSONParseError(JSONRPCError): class InvalidRequestError (line 251) | class InvalidRequestError(JSONRPCError): class MethodNotFoundError (line 257) | class MethodNotFoundError(JSONRPCError): class InvalidParamsError (line 263) | class InvalidParamsError(JSONRPCError): class InternalError (line 269) | class InternalError(JSONRPCError): class TaskNotFoundError (line 275) | class TaskNotFoundError(JSONRPCError): class TaskNotCancelableError (line 281) | class TaskNotCancelableError(JSONRPCError): class PushNotificationNotSupportedError (line 287) | class PushNotificationNotSupportedError(JSONRPCError): class UnsupportedOperationError (line 293) | class UnsupportedOperationError(JSONRPCError): class ContentTypeNotSupportedError (line 299) | class ContentTypeNotSupportedError(JSONRPCError): class AgentProvider (line 305) | class AgentProvider(BaseModel): class AgentCapabilities (line 310) | class AgentCapabilities(BaseModel): class AgentAuthentication (line 316) | class AgentAuthentication(BaseModel): class AgentSkill (line 321) | class AgentSkill(BaseModel): class AgentCard (line 331) | class AgentCard(BaseModel): class A2AClientError (line 345) | class A2AClientError(Exception): class A2AClientHTTPError (line 349) | class A2AClientHTTPError(A2AClientError): method __init__ (line 350) | def __init__(self, status_code: int, message: str): class A2AClientJSONError (line 356) | class A2AClientJSONError(A2AClientError): method __init__ (line 357) | def __init__(self, message: str): class MissingAPIKeyError (line 362) | class MissingAPIKeyError(Exception): FILE: core/a2a/utils/in_memory_cache.py class InMemoryCache (line 8) | class InMemoryCache: method __new__ (line 18) | def __new__(cls): method __init__ (line 32) | def __init__(self): method set (line 47) | def set(self, key: str, value: Any, ttl: Optional[int] = None) -> None: method get (line 64) | def get(self, key: str, default: Any = None) -> Any: method delete (line 81) | def delete(self, key: str) -> None: method clear (line 99) | def clear(self) -> bool: FILE: core/a2a/utils/push_notification_auth.py class PushNotificationAuth (line 19) | class PushNotificationAuth: method _calculate_request_body_sha256 (line 20) | def _calculate_request_body_sha256(self, data: dict[str, Any]): class PushNotificationSenderAuth (line 34) | class PushNotificationSenderAuth(PushNotificationAuth): method __init__ (line 35) | def __init__(self): method verify_push_notification_url (line 40) | async def verify_push_notification_url(url: str) -> bool: method generate_jwk (line 58) | def generate_jwk(self): method handle_jwks_endpoint (line 63) | def handle_jwks_endpoint(self, _request: Request): method _generate_jwt (line 70) | def _generate_jwt(self, data: dict[str, Any]): method send_push_notification (line 86) | async def send_push_notification(self, url: str, data: dict[str, Any]): class PushNotificationReceiverAuth (line 101) | class PushNotificationReceiverAuth(PushNotificationAuth): method __init__ (line 102) | def __init__(self): method load_jwks (line 106) | async def load_jwks(self, jwks_url: str): method verify_push_notification (line 109) | async def verify_push_notification(self, request: Request) -> bool: FILE: core/agents/base/base_agent.py class BaseAgent (line 25) | class BaseAgent: method __init__ (line 26) | def __init__( method _estimate_tokens (line 68) | def _estimate_tokens(self, message: BaseMessage) -> int: method _truncate_by_tokens (line 84) | def _truncate_by_tokens(self, messages: Sequence[BaseMessage]) -> List... method _truncate_messages (line 138) | def _truncate_messages(self, messages: Sequence[BaseMessage]) -> List[... method _get_state_value (line 151) | def _get_state_value(self, state: StateSchema, key: str, default: Any ... method _format_tools_for_prompt (line 154) | def _format_tools_for_prompt(self, tools: List[Union[BaseTool, Callabl... method build (line 165) | def build(self) -> Optional[StateGraph]: method compile (line 169) | def compile(self) -> CompiledGraph: method get_agent (line 200) | def get_agent(self) -> CompiledGraph: method invoke (line 210) | def invoke(self, state: Dict[str, Any], config: Optional[RunnableConfi... method ainvoke (line 228) | async def ainvoke(self, state: Dict[str, Any], config: Optional[Runnab... method run (line 244) | def run(self, state: Dict[str, Any]) -> Dict[str, Any]: method arun (line 255) | async def arun(self, state: Dict[str, Any]) -> Dict[str, Any]: method reset (line 264) | def reset(self): method add_tools (line 270) | def add_tools(self, tools: List[Union[BaseTool, Callable]]) -> None: FILE: core/agents/base/create_react_agent_wrapper.py class CreateReactAgentWrapper (line 8) | class CreateReactAgentWrapper(RunnableCallable): method __init__ (line 9) | def __init__( FILE: core/agents/base/react_agent.py class ReactAgent (line 20) | class ReactAgent(BaseAgent): method __init__ (line 27) | def __init__( method _prepare_llm_input (line 90) | def _prepare_llm_input(self, state: Dict[str, Any]) -> LanguageModelIn... method build (line 130) | def build(self) -> Optional[StateGraph]: method compile (line 136) | def compile(self) -> CompiledGraph: FILE: core/agents/react_based_supervisor/agent_name.py function _is_content_blocks_content (line 14) | def _is_content_blocks_content(content: list[dict] | str) -> bool: function add_inline_agent_name (line 23) | def add_inline_agent_name(message: BaseMessage) -> BaseMessage: function remove_inline_agent_name (line 51) | def remove_inline_agent_name(message: BaseMessage) -> BaseMessage: function with_agent_name (line 97) | def with_agent_name( FILE: core/agents/react_based_supervisor/handoff.py function _normalize_agent_name (line 13) | def _normalize_agent_name(agent_name: str) -> str: function create_handoff_tool (line 18) | def create_handoff_tool(*, agent_name: str) -> BaseTool: function create_handoff_back_messages (line 51) | def create_handoff_back_messages( FILE: core/agents/react_based_supervisor/planning_handler.py class PlanningStateHandler (line 5) | class PlanningStateHandler: method _now (line 20) | def _now() -> str: method _gen_id (line 24) | def _gen_id() -> str: method create_plan (line 28) | def create_plan(title: str, description: str) -> Dict: method create_task (line 41) | def create_task(description: str, method add_tasks (line 56) | def add_tasks(plan: Dict, tasks_data: List[Dict]) -> Dict: method update_task (line 69) | def update_task(plan: Dict, method set_current_task (line 107) | def set_current_task(plan: Dict, task_id: str) -> Dict: method finish_plan (line 116) | def finish_plan(plan: Dict) -> Dict: FILE: core/agents/react_based_supervisor/simple_planning_tool.py class SimplePlanningTool (line 6) | class SimplePlanningTool(BaseTool): method __init__ (line 16) | def __init__(self): method _run (line 20) | def _run(self, action: str, **kwargs) -> str: method _arun (line 39) | async def _arun(self, action: str, **kwargs) -> str: method _handle_create_plan (line 42) | def _handle_create_plan(self, **kwargs) -> str: method _handle_view_plan (line 51) | def _handle_view_plan(self) -> str: method _handle_add_tasks (line 56) | def _handle_add_tasks(self, **kwargs) -> str: method _handle_update_task (line 63) | def _handle_update_task(self, **kwargs) -> str: method _handle_set_current_task (line 85) | def _handle_set_current_task(self, **kwargs) -> str: method _handle_finish_plan (line 94) | def _handle_finish_plan(self) -> str: method _json_ok (line 101) | def _json_ok(self, plan_data: Dict) -> str: method _json_error (line 104) | def _json_error(self, message: str) -> str: FILE: core/agents/react_based_supervisor/state_schema.py class Task (line 12) | class Task(TypedDict, total=False): class Plan (line 28) | class Plan(TypedDict, total=False): class PlanningAgentState (line 43) | class PlanningAgentState(AgentState): FILE: core/agents/react_based_supervisor/supervisor.py function _supports_disable_parallel_tool_calls (line 33) | def _supports_disable_parallel_tool_calls(model: LanguageModelLike) -> b... function _make_call_agent (line 49) | def _make_call_agent( function create_supervisor (line 95) | def create_supervisor( FILE: core/agents/react_supervisor_agent.py class SupervisorAgent (line 22) | class SupervisorAgent(BaseAgent): method __init__ (line 138) | def __init__( method build (line 200) | def build(self) -> StateGraph: FILE: core/agents/sb_supervisor_agent.py class SupervisorAgent (line 18) | class SupervisorAgent(BaseAgent): method __init__ (line 25) | def __init__( method build (line 63) | def build(self) -> Optional[StateGraph]: FILE: core/agents/state_based_supervisor/agent_name.py function _is_content_blocks_content (line 14) | def _is_content_blocks_content(content: list[dict] | str) -> bool: function add_inline_agent_name (line 23) | def add_inline_agent_name(message: BaseMessage) -> BaseMessage: function remove_inline_agent_name (line 51) | def remove_inline_agent_name(message: BaseMessage) -> BaseMessage: function with_agent_name (line 97) | def with_agent_name( FILE: core/agents/state_based_supervisor/evaluate_result_node.py class PlanningAgentState (line 19) | class PlanningAgentState(Dict): pass; class Plan (line 20) | class Plan(Dict): pass; class Task (line 21) | class Task(Dict): pass class PlanningStateHandler (line 23) | class PlanningStateHandler: # Dummy method update_task (line 25) | def update_task(plan, by_id, **kwargs): return plan method set_current_task (line 27) | def set_current_task(plan, task_id): return plan method get_task (line 29) | def get_task(plan, task_id): return None method update_plan_status (line 31) | def update_plan_status(plan): return plan function evaluate_result_node_logic (line 34) | async def evaluate_result_node_logic(state: PlanningAgentState, config: ... function evaluate_result_node_logic_sync (line 134) | def evaluate_result_node_logic_sync(state: PlanningAgentState, config: O... FILE: core/agents/state_based_supervisor/handoff.py function _normalize_agent_name (line 15) | def _normalize_agent_name(agent_name: str) -> str: function _handoff_to_agent_implementation (line 25) | def _handoff_to_agent_implementation( function create_handoff_tool (line 56) | def create_handoff_tool(*, agent_name: str) -> BaseTool: function create_handoff_back_messages (line 92) | def create_handoff_back_messages( FILE: core/agents/state_based_supervisor/planner_node.py class PlanningAgentState (line 20) | class PlanningAgentState(Dict): pass; class Plan (line 21) | class Plan(Dict): pass; class PlanningStateHandler (line 22) | class PlanningStateHandler: pass function planner_node_logic (line 26) | async def planner_node_logic( function planner_node_logic_sync (line 148) | def planner_node_logic_sync( FILE: core/agents/state_based_supervisor/planning_handler.py class PlanningStateHandler (line 7) | class PlanningStateHandler: method _now (line 14) | def _now() -> str: method _gen_id (line 18) | def _gen_id() -> str: method create_plan (line 24) | def create_plan(title: str, description: str) -> Plan: method create_task (line 39) | def create_task(description: str, method add_tasks (line 59) | def add_tasks(plan: Plan, tasks_data: List[Dict[str, Any]]) -> Plan: method update_task (line 82) | def update_task(plan: Plan, method update_plan_status (line 132) | def update_plan_status(plan: Plan) -> Plan: method set_current_task (line 169) | def set_current_task(plan: Plan, task_id: Optional[str]) -> Plan: method get_task (line 189) | def get_task(plan: Plan, task_id: str) -> Optional[Task]: method get_next_pending_task (line 196) | def get_next_pending_task(plan: Plan) -> Optional[Task]: method finish_plan (line 211) | def finish_plan(plan: Plan) -> Plan: FILE: core/agents/state_based_supervisor/state_schema.py class Task (line 15) | class Task(TypedDict, total=False): class Plan (line 33) | class Plan(TypedDict, total=False): class PlanningAgentState (line 48) | class PlanningAgentState(TypedDict): class BasicAgentState (line 60) | class BasicAgentState(TypedDict): FILE: core/agents/state_based_supervisor/supervisor_graph.py class BaseAgent (line 34) | class BaseAgent: pass class PlanningAgentState (line 35) | class PlanningAgentState(Dict): pass class Plan (line 36) | class Plan(Dict): pass class Pregel (line 37) | class Pregel: pass function create_handoff_tool (line 39) | def create_handoff_tool(*args, **kwargs): return None # type: ignore function _normalize_agent_name (line 40) | def _normalize_agent_name(s: str) -> str: return s function supervisor_node_logic (line 41) | async def supervisor_node_logic(*args, **kwargs): return {} function planner_node_logic (line 42) | async def planner_node_logic(*args, **kwargs): return {} # <--- 添加 plann... function planner_node_logic_sync (line 43) | def planner_node_logic_sync(*args, **kwargs): return {} # <--- 添加 planne... function evaluate_result_node_logic (line 44) | async def evaluate_result_node_logic(*args, **kwargs): return {} # 添加 ev... function evaluate_result_node_logic_sync (line 45) | def evaluate_result_node_logic_sync(*args, **kwargs): return {} # 添加 eva... function with_agent_name (line 46) | def with_agent_name(model, mode): return model function _supports_disable_parallel_tool_calls (line 52) | def _supports_disable_parallel_tool_calls(model: LanguageModelLike) -> b... function _make_call_agent (line 61) | def _make_call_agent( function supervisor_node_logic_sync (line 138) | def supervisor_node_logic_sync( function create_supervisor (line 157) | def create_supervisor( FILE: core/agents/state_based_supervisor/supervisor_node.py class PlanningAgentState (line 24) | class PlanningAgentState(Dict): pass class Plan (line 25) | class Plan(Dict): pass class PlanningStateHandler (line 26) | class PlanningStateHandler: method update_task (line 28) | def update_task(*args, **kwargs): return kwargs.get('plan') method create_plan (line 30) | def create_plan(*args, **kwargs): return {} method add_tasks (line 32) | def add_tasks(*args, **kwargs): return kwargs.get('plan') method finish_plan (line 34) | def finish_plan(*args, **kwargs): return kwargs.get('plan') method get_task (line 36) | def get_task(*args, **kwargs): return None method update_plan_status (line 38) | def update_plan_status(*args, **kwargs): return kwargs.get('plan') method set_current_task (line 40) | def set_current_task(*args, **kwargs): return kwargs.get('plan') function parse_directive_args (line 45) | def parse_directive_args(directive_str: str) -> Dict[str, Any]: function supervisor_node_logic (line 75) | async def supervisor_node_logic( FILE: core/agents/sub_agents/coder_agent.py class CoderAgent (line 14) | class CoderAgent(ReactAgent): method __init__ (line 20) | def __init__( FILE: core/agents/sub_agents/data_analyst_agent.py class DataAnalystAgent (line 19) | class DataAnalystAgent(ReactAgent): method __init__ (line 26) | def __init__( FILE: core/agents/sub_agents/designer_agent.py class DesignerAgent (line 22) | class DesignerAgent(ReactAgent): method __init__ (line 29) | def __init__( FILE: core/agents/sub_agents/reporter_agent.py class ReporterAgent (line 24) | class ReporterAgent(BaseAgent): method __init__ (line 47) | def __init__( method _generate_report_node_logic (line 84) | async def _generate_report_node_logic(self, state: Dict[str, Any], con... method build (line 137) | def build(self) -> Optional[StateGraph]: FILE: core/agents/sub_agents/research_agent.py class ResearchAgent (line 23) | class ResearchAgent(ReactAgent): method __init__ (line 31) | def __init__( FILE: core/llm/llm_manager.py class ModelType (line 14) | class ModelType(Enum): class ModelCapability (line 21) | class ModelCapability(Enum): class LLMManager (line 27) | class LLMManager: method __init__ (line 36) | def __init__(self): method _register_model (line 116) | def _register_model( method set_default_model (line 150) | def set_default_model(self, model_id: str) -> None: method set_capability_model (line 155) | def set_capability_model(self, capability: ModelCapability, model_id: ... method _get_instance (line 164) | def _get_instance(self, model_id: str) -> BaseChatModel: method get_model (line 224) | def get_model(self, model_id: Optional[str] = None) -> BaseChatModel: method get_model_for_capability (line 233) | def get_model_for_capability(self, capability: ModelCapability) -> Bas... method list_models (line 244) | def list_models(self) -> Dict[str, Dict[str, Any]]: method list_capabilities (line 259) | def list_capabilities(self) -> Dict[str, str]: FILE: core/mcp/client.py function load_mcp_tools (line 22) | async def load_mcp_tools(session: ClientSession) -> list: return [] class MCPClient (line 34) | class MCPClient: method __init__ (line 36) | def __init__(self, config: MCPConfig): method __aenter__ (line 43) | async def __aenter__(self) -> "MCPClient": method __aexit__ (line 141) | async def __aexit__(self, exc_type: Optional[Type[BaseException]], exc... method close (line 144) | async def close(self): method get_tools (line 156) | def get_tools(self) -> List[BaseTool]: FILE: core/mcp/config_loader.py class StdioConfig (line 18) | class StdioConfig(BaseModel): class Config (line 25) | class Config: extra = 'forbid' class SSEConfig (line 28) | class SSEConfig(BaseModel): class Config (line 33) | class Config: extra = 'forbid' class MCPConfig (line 36) | class MCPConfig(BaseModel): class Config (line 43) | class Config: extra = 'forbid' function load_config (line 48) | def load_config(config_path: Union[str, Path]) -> Dict[str, MCPConfig]: FILE: core/mcp/run_server.py function preregister_core_tools (line 25) | def preregister_core_tools(): pass; function create_tool_wrapper (line 37) | def create_tool_wrapper(tool_instance: BaseTool): function main (line 85) | def main(): FILE: core/mcp/server.py class MentisMCPServer (line 21) | class MentisMCPServer: method __init__ (line 22) | def __init__(self, name: str = "MentisMCP", host: Optional[str] = None... method register_all_tools (line 42) | def register_all_tools(self): method register_single_tool (line 56) | def register_single_tool(self, tool_name: str): method _register_tool_with_simplified_wrapper (line 75) | def _register_tool_with_simplified_wrapper(self, tool: BaseTool) -> bool: method run (line 167) | def run(self, transport: str = "stdio"): FILE: core/mcp/test/minimal_fastmcp_test.py function ping_tool (line 17) | async def ping_tool(query: str = "default ping") -> str: FILE: core/mcp/test/test_minimal_client.py function main (line 23) | async def main(): FILE: core/tools/__init__.py function preregister_core_tools (line 25) | def preregister_core_tools(): function register_direct_tool (line 167) | def register_direct_tool(tool_instance: BaseTool, category: ToolCategory... FILE: core/tools/e2b_tool.py class E2BCodeInterpreterToolInput (line 35) | class E2BCodeInterpreterToolInput(BaseModel): class E2BCodeInterpreterTool (line 39) | class E2BCodeInterpreterTool(BaseTool): method __init__ (line 59) | def __init__(self, **kwargs): method _initialize_sandbox (line 63) | def _initialize_sandbox(self): method _run (line 91) | def _run(self, code: str, **kwargs) -> str: method _arun (line 136) | async def _arun(self, code: str, **kwargs) -> str: method close (line 166) | def close(self): FILE: core/tools/firecrawl_tool.py class FireCrawlInput (line 27) | class FireCrawlInput(BaseModel): class FireCrawlTool (line 38) | class FireCrawlTool(BaseTool): method __init__ (line 71) | def __init__(self, api_key: Optional[str] = None, api_url: Optional[st... method _run (line 83) | def _run( method _arun (line 155) | async def _arun( FILE: core/tools/registry.py class ToolCategory (line 6) | class ToolCategory(Enum): function register_tool (line 18) | def register_tool(tool: Tool, category: ToolCategory) -> None: function get_registered_tools (line 30) | def get_registered_tools(as_dict: bool = False) -> Union[List[Tool], Dic... function get_tools_list (line 43) | def get_tools_list() -> List[Tool]: function get_tools_dict (line 51) | def get_tools_dict() -> Dict[str, Tool]: function get_tool (line 59) | def get_tool(name: str) -> Optional[Dict]: function get_tool_instance (line 76) | def get_tool_instance(name: str) -> Optional[Tool]: function get_tools_by_category (line 88) | def get_tools_by_category(category: ToolCategory, return_instances: bool... FILE: core/tools/replicate_flux_tool.py class ReplicateFluxToolInput (line 35) | class ReplicateFluxToolInput(BaseModel): class ReplicateFluxImageTool (line 57) | class ReplicateFluxImageTool(BaseTool): method __init__ (line 71) | def __init__(self, api_token: Optional[str] = None, model_id: Optional... method _run (line 85) | def _run( self, run_manager: Optional[CallbackManagerForToolRun] = Non... method _arun (line 139) | async def _arun( self, run_manager: Optional[AsyncCallbackManagerForTo... method close (line 186) | def close(self): FILE: core/utils/agent_utils.py function log_agent_actions (line 6) | def log_agent_actions(state: Dict[str, Any]) -> None: function save_agent_graph (line 44) | def save_agent_graph( function visualize_agent (line 131) | def visualize_agent(agent, **kwargs): FILE: core/utils/timezone.py function get_timezone (line 6) | def get_timezone() -> str: function get_formatted_date (line 14) | def get_formatted_date(timezone: Optional[str] = None) -> str: function get_current_time (line 27) | def get_current_time(timezone: Optional[str] = None) -> datetime: FILE: examples/01_supervisor_test.py function generate_joke (line 18) | def generate_joke(messages): function joke_agent (line 29) | def joke_agent(state): function web_search (line 42) | def web_search(query: str) -> str: FILE: examples/02_supervisor_agent_test.py function generate_joke (line 17) | def generate_joke(messages): function joke_agent (line 28) | def joke_agent(state): function web_search (line 41) | def web_search(query: str) -> str: FILE: examples/03_tavily_tools_test.py function generate_joke (line 18) | def generate_joke(messages): function joke_agent (line 29) | def joke_agent(state): FILE: examples/05_react_agent_user_input.py function log_agent_actions (line 19) | def log_agent_actions(state: Dict[str, Any]) -> None: function create_react_agent_instance (line 66) | def create_react_agent_instance(): function main (line 99) | async def main(): FILE: examples/06_web_extraction_tools_test.py function log_agent_actions (line 23) | def log_agent_actions(state: Dict[str, Any]) -> None: FILE: examples/07_web_extraction_with_filesystem.py function log_agent_actions (line 26) | def log_agent_actions(state: Dict[str, Any]) -> None: function main (line 203) | async def main(): FILE: examples/08_react_agent_tool_registry_test.py function print_separator (line 23) | def print_separator(title): function log_agent_actions (line 33) | def log_agent_actions(state: Dict[str, Any]) -> None: FILE: examples/09_e2b_code_interpreter_test.py function print_separator (line 20) | def print_separator(title): FILE: examples/10_financial_data_analysis.py function print_separator (line 20) | def print_separator(title): function log_agent_actions (line 30) | def log_agent_actions(state: Dict[str, Any]) -> None: function download_file_from_sandbox (line 159) | def download_file_from_sandbox(sandbox, sandbox_path, local_path): function download_directory_from_sandbox (line 193) | def download_directory_from_sandbox(sandbox, sandbox_dir_path, local_dir... FILE: examples/11_e2b_sandbox_test.py function print_separator (line 21) | def print_separator(title): function log_agent_actions (line 31) | def log_agent_actions(state: Dict[str, Any]) -> None: function download_file_from_sandbox (line 65) | def download_file_from_sandbox(sandbox, sandbox_path, local_path): function run_ai_generated_code (line 99) | def run_ai_generated_code(sandbox, code: str, save_results_dir=None): function download_directory_from_sandbox (line 197) | def download_directory_from_sandbox(sandbox, sandbox_dir_path, local_dir... function run_test_case_1 (line 409) | def run_test_case_1(): function run_test_case_2 (line 448) | def run_test_case_2(): function run_test_case_3 (line 538) | def run_test_case_3(): function run_test_case_4 (line 577) | def run_test_case_4(): function run_test_case_5 (line 654) | def run_test_case_5(): function run_test_case_6 (line 750) | def run_test_case_6(): FILE: examples/12_planning_supervisor_test.py function generate_joke (line 20) | def generate_joke(messages): function joke_agent (line 31) | def joke_agent(state): FILE: examples/13_multi_agent_roles_test.py class LogCapture (line 26) | class LogCapture: method __init__ (line 27) | def __init__(self): method start_capture (line 31) | def start_capture(self): method stop_capture (line 35) | def stop_capture(self): method get_content (line 40) | def get_content(self): function download_file_from_sandbox (line 49) | def download_file_from_sandbox(sandbox, sandbox_path, local_path): function download_directory_from_sandbox (line 83) | def download_directory_from_sandbox(sandbox, sandbox_dir_path, local_dir... function save_markdown_log (line 256) | def save_markdown_log(): FILE: examples/14_mcp_client_fetch_test.py class FetchInputSchema (line 36) | class FetchInputSchema(BaseModel): class MCPToolRunner (line 50) | class MCPToolRunner(BaseTool): class Config (line 57) | class Config: method _arun (line 60) | async def _arun(self, **kwargs) -> str: method _run (line 84) | def _run(self, **kwargs) -> str: function run_fetch_test (line 91) | async def run_fetch_test(server_config_key: str, all_configs: Dict[str, ... function main (line 164) | async def main(): FILE: examples/15_mcp_agent_test.py class FetchInputSchema (line 54) | class FetchInputSchema(BaseModel): # 使用导入的 BaseModel class EchoInputSchema (line 86) | class EchoInputSchema(BaseModel): class AddInputSchema (line 94) | class AddInputSchema(BaseModel): class MCPToolRunner (line 103) | class MCPToolRunner(BaseTool): class Config (line 116) | class Config: arbitrary_types_allowed = True method _arun (line 118) | async def _arun(self, **kwargs) -> str: method _run (line 224) | def _run(self, **kwargs) -> str: function run_fetch_test (line 241) | async def run_fetch_test(): function run_everything_test (line 311) | async def run_everything_test(): function main (line 397) | async def main(): FILE: examples/16_google_a2a/agent_task_manager_test.py function search (line 36) | def search(query: str) -> str: function calculator (line 41) | def calculator(expression: str) -> str: class AgentState (line 51) | class AgentState(TypedDict): class TestAgent (line 55) | class TestAgent: method __init__ (line 61) | def __init__(self, llm=None): method _build_graph (line 74) | def _build_graph(self): method invoke (line 82) | def invoke(self, query: str, session_id: str = None) -> str: method stream (line 87) | async def stream(self, query: str, session_id: str = None): function test_sync_task (line 107) | async def test_sync_task(): function test_streaming_task (line 152) | async def test_streaming_task(): function main (line 211) | async def main(): FILE: examples/16_google_a2a/client_example.py function run_a2a_client (line 32) | async def run_a2a_client(): function send_sync_task (line 45) | async def send_sync_task(client: A2AClient): function send_streaming_task (line 139) | async def send_streaming_task(client: A2AClient): FILE: examples/16_google_a2a/currency_agent_test.py function test_sync_currency_conversion (line 32) | async def test_sync_currency_conversion(client: A2AClient): function test_multi_turn_conversation (line 120) | async def test_multi_turn_conversation(client: A2AClient): function test_streaming_response (line 256) | async def test_streaming_response(client: A2AClient): function main (line 320) | async def main(): FILE: examples/16_google_a2a/langgraph_integration.py function search (line 41) | def search(query: str) -> str: function calculator (line 48) | def calculator(expression: str) -> str: class AgentState (line 74) | class AgentState(TypedDict): class CurrencyAgent (line 83) | class CurrencyAgent: method __init__ (line 89) | def __init__(self, llm): method invoke (line 96) | def invoke(self, query: str, session_id: str = None) -> str: method ainvoke (line 132) | async def ainvoke(self, inputs: dict) -> dict: method stream (line 139) | async def stream(self, query: str, session_id: str = None): function setup_a2a_server (line 153) | def setup_a2a_server(): FILE: examples/TODO_computer_tool_demo.py function should_continue (line 26) | def should_continue(state: Annotated[dict, InjectedState()]): function call_model (line 36) | def call_model(state: Annotated[dict, InjectedState()]): FILE: examples/state_based_supervisor_examples/01_simple.py class RateLimitError (line 26) | class RateLimitError(Exception): pass function web_search (line 46) | def web_search(query: str) -> str: function main (line 61) | async def main(): FILE: examples/state_based_supervisor_examples/02_tavily.py class RateLimitError (line 25) | class RateLimitError(Exception): pass function run_supervisor_test (line 51) | async def run_supervisor_test(supervisor_agent: SupervisorAgent, initial... function main (line 159) | async def main(): FILE: examples/state_based_supervisor_examples/03_multi_agents.py function slugify (line 68) | def slugify(text: str) -> str: function run_supervisor_test (line 77) | async def run_supervisor_test(supervisor_agent: SupervisorAgent, initial... function main (line 166) | async def main(): FILE: examples/web_agents/research_assistant/graph.py function get_graph (line 54) | def get_graph(): FILE: examples/web_agents/weather_agent/__init__.py class Weather (line 19) | class Weather(TypedDict): class State (line 25) | class State(MessagesState): class WeatherInput (line 29) | class WeatherInput(TypedDict): class ToolNodeArgs (line 34) | class ToolNodeArgs(TypedDict): function weather_tool (line 41) | async def weather_tool(query: str) -> str: function create_reminder_tool (line 47) | async def create_reminder_tool(reminder_text: str) -> str: function weather (line 52) | async def weather(input: WeatherInput, writer: StreamWriter): function reminder (line 67) | async def reminder(input: ToolNodeArgs): function chatbot (line 75) | async def chatbot(state: State): function tool_router (line 82) | def tool_router(state: State) -> Literal["weather", "reminder", "__end__"]: function assign_tool (line 94) | def assign_tool(state: State) -> Literal["weather", "reminder", "__end__"]: function get_graph (line 109) | def get_graph(): FILE: log_analyzer.py function parse_log_file (line 7) | def parse_log_file(file_path): function analyze_agent_interactions (line 69) | def analyze_agent_interactions(messages): function visualize_interactions (line 112) | def visualize_interactions(interactions): function visualize_conversation_flow (line 126) | def visualize_conversation_flow(messages): function main (line 152) | def main(): FILE: super_agents/browser_use/agent.py class Agent (line 19) | class Agent: method __init__ (line 27) | def __init__( method _initialize (line 47) | async def _initialize(self): method run (line 64) | async def run(self, prompt: str) -> Dict[str, Any]: method __del__ (line 121) | def __del__(self): class OpenAIProvider (line 128) | class OpenAIProvider: method __init__ (line 131) | def __init__(self, model="gpt-4o-mini", api_key=None, temperature=0.1): class AnthropicProvider (line 153) | class AnthropicProvider: method __init__ (line 156) | def __init__(self, model="claude-3-opus-20240229", api_key=None, tempe... FILE: super_agents/browser_use/agent/graph.py function should_end (line 19) | def should_end(state: AgentState) -> bool: function create_graph_app (line 42) | def create_graph_app(browser: Browser, llm: RunnableSerializable): FILE: super_agents/browser_use/agent/nodes.py class AgentNodes (line 24) | class AgentNodes: method __init__ (line 27) | def __init__(self, browser: Browser, llm: RunnableSerializable): # <--... method get_browser_state (line 35) | async def get_browser_state(self, state: AgentState) -> Dict[str, Any]: method plan_action (line 45) | async def plan_action(self, state: AgentState) -> Dict[str, Any]: method execute_action (line 83) | async def execute_action(self, state: AgentState) -> Dict[str, Any]: FILE: super_agents/browser_use/agent/prompts.py function create_agent_prompt (line 3) | def create_agent_prompt( FILE: super_agents/browser_use/agent/schemas.py class BaseAction (line 25) | class BaseAction(BaseModel): class NavigateAction (line 29) | class NavigateAction(BaseAction): class ClickAction (line 33) | class ClickAction(BaseAction): class TypeAction (line 38) | class TypeAction(BaseAction): class ScrollAction (line 44) | class ScrollAction(BaseAction): class WaitAction (line 49) | class WaitAction(BaseAction): class GetContentAction (line 53) | class GetContentAction(BaseAction): class FinishAction (line 58) | class FinishAction(BaseAction): class ErrorAction (line 62) | class ErrorAction(BaseAction): class LLMResponse (line 75) | class LLMResponse(BaseModel): FILE: super_agents/browser_use/agent/state.py class AgentState (line 5) | class AgentState(TypedDict, total=False): FILE: super_agents/browser_use/browser/browser.py function observe (line 21) | def observe(name, ignore_input=False, ignore_output=False): class Detector (line 46) | class Detector: enabled=False class BrowserError (line 47) | class BrowserError(Exception): pass class BrowserState (line 48) | class BrowserState: pass class InteractiveElementsData (line 49) | class InteractiveElementsData: elements=[]; viewport={} class TabInfo (line 50) | class TabInfo: pass class InteractiveElement (line 51) | class InteractiveElement: pass function combine_and_filter_elements (line 52) | def combine_and_filter_elements(a, b): return [] function put_highlight_elements_on_screenshot (line 53) | def put_highlight_elements_on_screenshot(a, b): return None class ViewportSize (line 159) | class ViewportSize(TypedDict): class BrowserConfig (line 165) | class BrowserConfig: class Browser (line 175) | class Browser: method __init__ (line 181) | def __init__(self, config: BrowserConfig = BrowserConfig(), close_cont... method __aenter__ (line 213) | async def __aenter__(self): method __aexit__ (line 217) | async def __aexit__(self, exc_type, exc_val, exc_tb): method initialize (line 222) | async def initialize(self): method close (line 231) | async def close(self): method _init_browser (line 254) | async def _init_browser(self): method _apply_anti_detection_scripts (line 317) | async def _apply_anti_detection_scripts(self): method _on_page_change (line 339) | async def _on_page_change(self, page: Page): method get_current_page (line 345) | async def get_current_page(self) -> Page: method get_cdp_session (line 354) | async def get_cdp_session(self): method fast_screenshot (line 385) | async def fast_screenshot(self) -> str: method navigate_to (line 405) | async def navigate_to(self, url: str): method click (line 415) | async def click(self, selector: str): method type (line 428) | async def type(self, selector: str, text: str): method scroll (line 442) | async def scroll(self, direction: str): method wait (line 456) | async def wait(self, milliseconds: int): method get_content (line 463) | async def get_content(self, max_length: int = 120000) -> str: method get_cookies (line 523) | async def get_cookies(self) -> list[dict[str, Any]]: method get_storage_state (line 530) | async def get_storage_state(self) -> dict[str, Any]: method get_tabs_info (line 547) | async def get_tabs_info(self) -> list[TabInfo]: method switch_to_tab (line 570) | async def switch_to_tab(self, page_id: int) -> None: method create_new_tab (line 589) | async def create_new_tab(self, url: str | None = None) -> None: method close_current_tab (line 606) | async def close_current_tab(self): method refresh_page (line 640) | async def refresh_page(self): method go_forward (line 651) | async def go_forward(self): method get_state (line 664) | def get_state(self) -> Optional[BrowserState]: method update_state (line 671) | async def update_state(self) -> BrowserState: method _update_state (line 687) | async def _update_state(self) -> BrowserState: method get_interactive_elements_data (line 761) | async def get_interactive_elements_data(self) -> InteractiveElementsData: method get_interactive_elements_with_cv (line 790) | async def get_interactive_elements_with_cv(self, screenshot_b64: Optio... FILE: super_agents/browser_use/browser/detector.py function observe (line 28) | def observe(name, ignore_input=False, ignore_output=False): class VLMJsonOutput (line 39) | class VLMJsonOutput(BaseModel): class InteractiveElement (line 42) | class InteractiveElement: pass class VLMJsonOutput (line 43) | class VLMJsonOutput(BaseModel): detected_elements: List = [] class ChatOpenRouter (line 56) | class ChatOpenRouter: pass class Detector (line 100) | class Detector: method __init__ (line 105) | def __init__(self): method detect_from_image (line 142) | async def detect_from_image(self, image_b64: str, detect_sheets: bool ... method _parse_vlm_detections (line 197) | def _parse_vlm_detections(self, detections: List[Dict[str, Any]]) -> L... FILE: super_agents/browser_use/browser/findVisibleInteractiveElements.js function generateUniqueId (line 27) | function generateUniqueId() { function isElementTooBig (line 33) | function isElementTooBig(rect) { function isInViewport (line 48) | function isInViewport(rect) { function getAdjustedBoundingClientRect (line 74) | function getAdjustedBoundingClientRect(element, contextInfo = null) { function isTopElement (line 94) | function isTopElement(element) { function getEffectiveZIndex (line 171) | function getEffectiveZIndex(element) { function findInteractiveElements (line 188) | function findInteractiveElements() { function calculateIoU (line 405) | function calculateIoU(rect1, rect2) { function isFullyContained (line 432) | function isFullyContained(rect1, rect2) { function filterOverlappingElements (line 440) | function filterOverlappingElements(elements) { function getInteractiveElementsData (line 511) | function getInteractiveElementsData() { function sortElementsByPosition (line 658) | function sortElementsByPosition(elements) { FILE: super_agents/browser_use/browser/models.py class BrowserError (line 10) | class BrowserError(Exception): pass class URLNotAllowedError (line 11) | class URLNotAllowedError(BrowserError): pass class TabInfo (line 14) | class TabInfo(BaseModel): class Coordinates (line 19) | class Coordinates(BaseModel): class Viewport (line 25) | class Viewport(BaseModel): class InteractiveElement (line 35) | class InteractiveElement(BaseModel): class InteractiveElementsData (line 64) | class InteractiveElementsData(BaseModel): class BrowserState (line 69) | class BrowserState(BaseModel): FILE: super_agents/browser_use/browser/utils.py function put_highlight_elements_on_screenshot (line 14) | def put_highlight_elements_on_screenshot(elements: dict[int, Interactive... function scale_b64_image (line 145) | def scale_b64_image(image_b64: str, scale_factor: float) -> str: function calculate_iou (line 188) | def calculate_iou(rect1: Dict, rect2: Dict) -> float: function is_fully_contained (line 223) | def is_fully_contained(rect1: Dict, rect2: Dict) -> bool: function filter_overlapping_elements (line 240) | def filter_overlapping_elements(elements: List[InteractiveElement], iou_... function sort_elements_by_position (line 291) | def sort_elements_by_position(elements: List[InteractiveElement]) -> Lis... function combine_and_filter_elements (line 347) | def combine_and_filter_elements( FILE: super_agents/browser_use/llm.py class ChatOpenRouter (line 32) | class ChatOpenRouter(ChatOpenAI): method __init__ (line 40) | def __init__(self, function initialize_llms (line 74) | def initialize_llms() -> Tuple[Optional[RunnableSerializable], Optional[... function generate_structured_output (line 124) | async def generate_structured_output(model: Optional[RunnableSerializabl... FILE: super_agents/browser_use/main.py function run_agent (line 22) | async def run_agent(task: str, config: Dict): FILE: super_agents/customized_deep_research/main.py class RateLimitError (line 19) | class RateLimitError(Exception): function slugify (line 56) | def slugify(text: str) -> str: function create_initial_state_from_json (line 69) | def create_initial_state_from_json(input_data: Dict[str, Any], depth: Li... function run_research (line 119) | async def run_research(initial_state: ResearchState): # Takes pre-filled... function main (line 280) | async def main(): FILE: super_agents/customized_deep_research/reason_graph/graph.py function check_initialization (line 26) | def check_initialization(state: ResearchState) -> Literal["plan_research... function check_planning (line 40) | def check_planning(state: ResearchState) -> Literal["prepare_steps", "fi... function should_continue_web_search (line 50) | def should_continue_web_search(state: ResearchState) -> Literal["execute... function should_continue_analysis (line 82) | def should_continue_analysis(state: ResearchState) -> Literal["perform_a... function decide_gap_followup (line 100) | def decide_gap_followup(state: ResearchState) -> Literal["execute_gap_se... function check_synthesis (line 120) | def check_synthesis(state: ResearchState) -> Literal["generate_final_mar... function build_mna_research_graph_yfinance_optimized (line 135) | def build_mna_research_graph_yfinance_optimized(for_web: bool = False) -... function get_mna_app_yfinance (line 237) | def get_mna_app_yfinance(for_web: bool = False) -> Any: FILE: super_agents/customized_deep_research/reason_graph/nodes.py function initialize_research (line 44) | async def initialize_research(state: ResearchState) -> Dict[str, Any]: function plan_research (line 94) | async def plan_research(state: ResearchState) -> Dict[str, Any]: function prepare_steps (line 212) | async def prepare_steps(state: ResearchState) -> Dict[str, Any]: function fetch_financial_data (line 270) | async def fetch_financial_data(state: ResearchState) -> Dict[str, Any]: function execute_search (line 341) | async def execute_search(state: ResearchState) -> Dict[str, Any]: function perform_analysis (line 439) | async def perform_analysis(state: ResearchState) -> Dict[str, Any]: function analyze_gaps (line 692) | async def analyze_gaps(state: ResearchState) -> Dict[str, Any]: function execute_gap_search (line 779) | async def execute_gap_search(state: ResearchState) -> Dict[str, Any]: function synthesize_final_report (line 848) | async def synthesize_final_report(state: ResearchState) -> Dict[str, Any]: function generate_final_markdown_report (line 985) | async def generate_final_markdown_report(state: ResearchState) -> Dict[s... function finalize_basic_research (line 1227) | async def finalize_basic_research(state: ResearchState) -> Dict[str, Any]: FILE: super_agents/customized_deep_research/reason_graph/schemas.py class SearchQuery (line 6) | class SearchQuery(BaseModel): class RequiredAnalysis (line 11) | class RequiredAnalysis(BaseModel): class ResearchPlan (line 15) | class ResearchPlan(BaseModel): class SearchResultItem (line 20) | class SearchResultItem(BaseModel): class SearchStepResult (line 25) | class SearchStepResult(BaseModel): class AnalysisResult (line 31) | class AnalysisResult(BaseModel): class GapFollowUpQuery (line 36) | class GapFollowUpQuery(BaseModel): class GapAnalysisResult (line 41) | class GapAnalysisResult(BaseModel): class KeyFinding (line 46) | class KeyFinding(BaseModel): class FinalSynthesisResult (line 50) | class FinalSynthesisResult(BaseModel): class StreamUpdateData (line 57) | class StreamUpdateData(BaseModel): class StreamUpdate (line 69) | class StreamUpdate(BaseModel): class StepInfo (line 73) | class StepInfo(BaseModel): FILE: super_agents/customized_deep_research/reason_graph/state.py class YFinanceData (line 13) | class YFinanceData(TypedDict, total=False): class ResearchState (line 27) | class ResearchState(TypedDict): FILE: super_agents/customized_deep_research/reason_graph/tools.py class BaseModel (line 32) | class BaseModel: pass # Basic placeholder class SearchResultItem (line 33) | class SearchResultItem(BaseModel): title: str = ""; url: Optional[str] =... class SearchQuery (line 34) | class SearchQuery(BaseModel): query: str = ""; tool_hint: str = "web_sea... class StreamUpdateData (line 35) | class StreamUpdateData(BaseModel): id: str = ""; type: str = ""; status:... class StreamUpdate (line 36) | class StreamUpdate(BaseModel): data: Optional[StreamUpdateData] = None; ... class ResearchState (line 37) | class ResearchState(dict): pass class YFinanceData (line 38) | class YFinanceData(dict): pass function initialize_llms (line 52) | def initialize_llms() -> Tuple[Optional[RunnableSerializable], Optional[... function generate_structured_output (line 176) | async def generate_structured_output( function create_update (line 243) | def create_update(state: Dict[str, Any], update_data: Dict[str, Any]) ->... function perform_web_search (line 296) | async def perform_web_search(query: str, max_results: int = 5) -> List[S... function fetch_yfinance_data (line 340) | async def fetch_yfinance_data(ticker_symbol: str) -> YFinanceData: FILE: super_agents/deep_research/a2a_adapter/client_example.py function main (line 36) | async def main(): FILE: super_agents/deep_research/a2a_adapter/deep_research_task_manager.py class DeepResearchTaskManager (line 34) | class DeepResearchTaskManager(InMemoryTaskManager): method __init__ (line 38) | def __init__(self, notification_sender_auth=None): method send_task_notification (line 49) | async def send_task_notification(self, task: Task): method setup_sse_consumer (line 66) | async def setup_sse_consumer(self, task_id: str) -> asyncio.Queue: method enqueue_events_for_sse (line 73) | async def enqueue_events_for_sse(self, task_id: str, event: Union[Task... method _cleanup_sse_queues (line 83) | async def _cleanup_sse_queues(self, task_id: str, queue_to_remove: Opt... method dequeue_events_for_sse (line 99) | async def dequeue_events_for_sse(self, request_id: str, task_id: str, ... method _get_user_query (line 119) | def _get_user_query(self, task_send_params: TaskSendParams) -> str: method _validate_request (line 130) | def _validate_request(self, request: Union[SendTaskRequest, SendTaskSt... method on_send_task (line 138) | async def on_send_task(self, request: SendTaskRequest) -> SendTaskResp... method _process_research_task (line 155) | async def _process_research_task(self, task_send_params: TaskSendParams): method _process_stream_updates (line 205) | async def _process_stream_updates(self, task_id: str, current_state: D... method _finalize_task (line 291) | async def _finalize_task(self, task_id: str, final_state: Dict[str, An... method on_send_task_subscribe (line 315) | async def on_send_task_subscribe(self, request: SendTaskStreamingReque... FILE: super_agents/deep_research/a2a_adapter/run_server.py function main (line 25) | def main(): FILE: super_agents/deep_research/a2a_adapter/setup.py class DummyPushNotificationSender (line 22) | class DummyPushNotificationSender: method send_push_notification (line 24) | async def send_push_notification(self, url: str, data: dict): method verify_push_notification_url (line 49) | async def verify_push_notification_url(self, url: str) -> bool: function setup_a2a_server (line 61) | def setup_a2a_server(host: str = "127.0.0.1", port: int = 8000) -> A2ASe... function run_server (line 132) | def run_server(host: str = "127.0.0.1", port: int = 8000): FILE: super_agents/deep_research/main.py class RateLimitError (line 17) | class RateLimitError(Exception): function slugify (line 56) | def slugify(text: str) -> str: function run_research (line 69) | async def run_research(topic: str, depth: Literal['basic', 'advanced'] =... function main (line 248) | async def main(): FILE: super_agents/deep_research/reason_graph/graph.py function should_continue_search (line 18) | def should_continue_search(state: ResearchState) -> Literal["execute_sea... function should_continue_analysis (line 31) | def should_continue_analysis(state: ResearchState) -> Literal["perform_a... function decide_gap_followup (line 38) | def decide_gap_followup(state: ResearchState) -> Literal["execute_gap_se... function build_research_graph (line 57) | def build_research_graph(for_web: bool = False) -> StateGraph: function get_app (line 139) | def get_app(for_web: bool = False) -> Any: FILE: super_agents/deep_research/reason_graph/nodes.py function plan_research (line 33) | async def plan_research(state: ResearchState) -> Dict[str, Any]: function prepare_steps (line 77) | def prepare_steps(state: ResearchState) -> Dict[str, Any]: function execute_search (line 135) | async def execute_search(state: ResearchState) -> Dict[str, Any]: function perform_analysis (line 216) | async def perform_analysis(state: ResearchState) -> Dict[str, Any]: function analyze_gaps (line 306) | async def analyze_gaps(state: ResearchState) -> Dict[str, Any]: function execute_gap_search (line 441) | async def execute_gap_search(state: ResearchState) -> Dict[str, Any]: function synthesize_final_report (line 559) | async def synthesize_final_report(state: ResearchState) -> Dict[str, Any]: function finalize_basic_research (line 700) | def finalize_basic_research(state: ResearchState) -> Dict[str, Any]: function generate_final_markdown_report (line 727) | async def generate_final_markdown_report(state: ResearchState) -> Dict[s... FILE: super_agents/deep_research/reason_graph/schemas.py class SearchQuery (line 8) | class SearchQuery(BaseModel): class RequiredAnalysis (line 15) | class RequiredAnalysis(BaseModel): class ResearchPlan (line 21) | class ResearchPlan(BaseModel): class SearchResultItem (line 30) | class SearchResultItem(BaseModel): class SearchStepResult (line 38) | class SearchStepResult(BaseModel): class AnalysisFinding (line 44) | class AnalysisFinding(BaseModel): class AnalysisResult (line 50) | class AnalysisResult(BaseModel): class Limitation (line 56) | class Limitation(BaseModel): class KnowledgeGap (line 63) | class KnowledgeGap(BaseModel): class RecommendedFollowup (line 69) | class RecommendedFollowup(BaseModel): class GapAnalysisResult (line 75) | class GapAnalysisResult(BaseModel): class KeyFinding (line 81) | class KeyFinding(BaseModel): class FinalSynthesisResult (line 87) | class FinalSynthesisResult(BaseModel): class StepInfo (line 95) | class StepInfo(BaseModel): class StreamUpdateData (line 102) | class StreamUpdateData(BaseModel): class StreamUpdate (line 125) | class StreamUpdate(BaseModel): FILE: super_agents/deep_research/reason_graph/state.py class ResearchState (line 15) | class ResearchState(TypedDict): FILE: super_agents/deep_research/reason_graph/tools.py class SearchResultItem (line 46) | class SearchResultItem(BaseModel): pass class SearchQuery (line 47) | class SearchQuery(BaseModel): pass class StreamUpdate (line 48) | class StreamUpdate(BaseModel): pass class StreamUpdateData (line 49) | class StreamUpdateData(BaseModel): pass class ResearchState (line 50) | class ResearchState(dict): pass function initialize_llms (line 63) | def initialize_llms() -> Tuple[Optional[RunnableSerializable], Optional[... function generate_structured_output (line 160) | def generate_structured_output(model: Optional[RunnableSerializable], sc... function extract_tweet_id (line 190) | def extract_tweet_id(url: str) -> Optional[str]: function add_stream_update (line 197) | def add_stream_update(state: ResearchState, data_dict: Dict[str, Any]) -... function perform_web_search (line 234) | async def perform_web_search(query: str, depth: Literal['basic', 'advanc... function perform_academic_search (line 271) | async def perform_academic_search(query: str, priority: int) -> List[Sea... function perform_x_search (line 312) | async def perform_x_search(query_obj: SearchQuery) -> List[SearchResultI... FILE: web/app/api/agent/route.ts constant AGENT_URL (line 8) | const AGENT_URL = process.env.NEXT_PUBLIC_AGENT_URL; function POST (line 10) | async function POST(request: NextRequest) { FILE: web/app/chat/[id]/agent-types.ts type AgentState (line 4) | interface AgentState extends WithMessages { type WeatherForecast (line 12) | interface WeatherForecast { type ResearchStatus (line 18) | interface ResearchStatus { type SearchResult (line 24) | interface SearchResult { type InterruptValue (line 31) | type InterruptValue = string | number | { "question": string }; type ResumeValue (line 34) | type ResumeValue = string | number; FILE: web/app/chat/[id]/components/chatbot-node.tsx type ChatbotNodeProps (line 10) | interface ChatbotNodeProps { function ChatbotNode (line 15) | function ChatbotNode({ nodeState, fallbackMessages }: ChatbotNodeProps) { FILE: web/app/chat/[id]/components/checkpoint-card.tsx type CheckpointCardProps (line 13) | interface CheckpointCardProps { function CheckpointCard (line 19) | function CheckpointCard({ thread_id, appCheckpoint: node, replayHandler ... FILE: web/app/chat/[id]/components/node-card.tsx function NodeCard (line 11) | function NodeCard({ node }: { node: GraphNode }) { FILE: web/app/chat/[id]/components/reminder.tsx type ReminderProps (line 6) | interface ReminderProps { function Reminder (line 11) | function Reminder({ interruptValue, onResume }: ReminderProps) { FILE: web/app/chat/[id]/components/research/report-preview.tsx type ReportPreviewProps (line 5) | interface ReportPreviewProps { function ReportPreview (line 9) | function ReportPreview({ nodeState }: ReportPreviewProps) { FILE: web/app/chat/[id]/components/research/research-node.tsx type ResearchNodeProps (line 6) | interface ResearchNodeProps { function ResearchNode (line 10) | function ResearchNode({ nodeState }: ResearchNodeProps) { FILE: web/app/chat/[id]/components/research/research-status.tsx type ResearchStatusProps (line 6) | interface ResearchStatusProps { function ResearchStatus (line 10) | function ResearchStatus({ nodeState }: ResearchStatusProps) { FILE: web/app/chat/[id]/components/research/search-results.tsx type SearchResultsProps (line 5) | interface SearchResultsProps { function SearchResults (line 9) | function SearchResults({ nodeState }: SearchResultsProps) { FILE: web/app/chat/[id]/components/weather/cloudy.tsx function Cloudy (line 6) | function Cloudy() { FILE: web/app/chat/[id]/components/weather/rainy.tsx function Rainy (line 7) | function Rainy() { FILE: web/app/chat/[id]/components/weather/snowy.tsx function Snowy (line 7) | function Snowy() { FILE: web/app/chat/[id]/components/weather/sunny.tsx function Sunny (line 7) | function Sunny() { FILE: web/app/chat/[id]/components/weather/weather-node.tsx type WeatherNodeProps (line 9) | interface WeatherNodeProps { function WeatherNode (line 13) | function WeatherNode({ nodeState }: WeatherNodeProps) { FILE: web/app/chat/[id]/page.tsx function ChatPage (line 19) | function ChatPage() { FILE: web/app/chat/page.tsx function ChatsPage (line 1) | function ChatsPage() { FILE: web/app/deep-research/[id]/page.tsx type DeepResearchState (line 27) | interface DeepResearchState extends WithMessages { function DeepResearchProgressDisplay (line 34) | function DeepResearchProgressDisplay({ updates }: { updates: Record(threadId: string... function stopAgent (line 30) | async function stopAgent(threadId: string): Promise { FILE: web/hooks/useLangGraphAgent/api.ts function parseSSEMessage (line 9) | function parseSSEMessage(chunk: string): A... FILE: web/hooks/useLangGraphAgent/ascii-tree.ts type TreeNode (line 3) | interface TreeNode { function buildTree (line 11) | function buildTree(checkpoints: Checkpoint... type PrintOptions (line 45) | interface PrintOptions { function defaultRenderState (line 50) | function defaultRenderState(state: any): string { function printTreeNode (line 58) | function printTreeNode(node: TreeNode, options: PrintOptions = {}, prefi... function printCheckpointTree (line 84) | function printCheckpointTree(checkpoints: ... FILE: web/hooks/useLangGraphAgent/types.ts type AgentStatus (line 11) | type AgentStatus = 'idle' | 'running' | 'stopping' | 'error'; type CheckpointConfig (line 14) | type CheckpointConfig = { configurable: { thread_id: string, checkpoint_... type CheckpointMetadata (line 17) | type CheckpointMetadata = { type Interrupt (line 25) | interface Interrupt { type Checkpoint (line 32) | interface Checkpoint { type AppCheckpoint (line 50) | interface AppCheckpoint { type GraphNode (line 64) | interface GraphNode { type Message (line 70) | interface Message { type ToolCall (line 78) | type ToolCall = { name: string, args: object, id: string }; type StreamUpdateData (line 81) | interface StreamUpdateData { type NodeMessageChunk (line 93) | interface NodeMessageChunk { type MessageChunk (line 99) | interface MessageChunk { type ToolCallChunk (line 105) | type ToolCallChunk = { name?: string, args?: object, id?: string }; type WithMessages (line 110) | interface WithMessages { type AgentEvent (line 117) | interface AgentEvent { type AgentInput (line 123) | interface AgentInput { type RunAgentInput (line 127) | interface RunAgentInput extends AgentInput { type ResumeAgentInput (line 131) | interface ResumeAgentInput extends AgentInput { type ForkAgentInput (line 135) | interface ForkAgentInput extends AgentInput { type ReplayAgentInput (line 140) | interface ReplayAgentInput extends AgentInput { type RunAgentInputInternal (line 144) | interface RunAgentInputInternal extends RunAgentInput extends ResumeAgentInpu... type ForkAgentInputInternal (line 152) | interface ForkAgentInputInternal extends ForkAgentInput; } type Part (line 10) | type Part = TextPart | DataPart; type Message (line 11) | interface Message { role: "user" | "agent"; parts: Part[]; } type TaskStateString (line 13) | type TaskStateString = "submitted" | "working" | "input-required" | "com... type TaskStatus (line 14) | interface TaskStatus { state: TaskStateString | string; message?: Messag... type Artifact (line 15) | interface Artifact { parts: Part[]; index?: number; /* 其他可选字段 */ } type TaskStatusUpdateEvent (line 16) | interface TaskStatusUpdateEvent { id: string; status: TaskStatus; final:... type TaskArtifactUpdateEvent (line 17) | interface TaskArtifactUpdateEvent { id:string; artifact: Artifact; final... type StreamEventResult (line 18) | type StreamEventResult = TaskStatusUpdateEvent | TaskArtifactUpdateEvent; type JSONRPCError (line 19) | interface JSONRPCError { code: number; message: string; data?: any; } type SendTaskStreamingResponse (line 20) | interface SendTaskStreamingResponse { constant A2A_SERVER_URL (line 28) | const A2A_SERVER_URL = process.env.NEXT_PUBLIC_A2A_SERVER_URL || 'http:/... function DeepResearchPage (line 30) | function DeepResearchPage() { FILE: web_for_a2a/app/layout.tsx function RootLayout (line 9) | function RootLayout({ FILE: web_for_a2a/app/page.tsx function Home (line 5) | function Home() {