MCPcopy Create free account

hub / github.com/DSGWJQ/Feagent / functions

Functions13,770 in github.com/DSGWJQ/Feagent

↓ 1 callersMethod_infer_from_returns
从函数返回语句推断 Schema 参数: func_node: 函数 AST 节点 返回: 推断的 Schema 或 None
src/domain/services/schema_inference.py:203
↓ 1 callersMethod_infer_from_type_hint
从函数类型提示推断 Schema 参数: func_node: 函数 AST 节点 返回: 推断的 Schema 或 None
src/domain/services/schema_inference.py:156
↓ 1 callersMethod_infer_object_schema
推断对象 Schema 参数: data: 对象数据 返回: 对象的 JSON Schema
src/domain/services/schema_inference.py:107
↓ 1 callersMethod_infer_parameters
推断参数
src/domain/services/node_code_generator.py:364
↓ 1 callersMethod_infer_root_cause
推断根本原因
src/domain/services/monitoring_knowledge_bridge.py:200
↓ 1 callersMethod_infer_task_type
从告警推断任务类型
src/domain/services/monitoring_knowledge_bridge.py:186
↓ 1 callersMethod_init_default_policies
初始化默认策略
src/domain/services/supervision_strategy.py:183
↓ 1 callersMethod_init_default_rules
初始化默认规则
src/domain/services/supervision/conversation.py:88
↓ 1 callersMethod_init_recovery_mixin
Initialize feedback listening and recovery fields. This must be called by the host ConversationAgent.__init__.
src/domain/agents/conversation_agent_recovery.py:104
↓ 1 callersFunction_init_scheduler
(container: ApiContainer)
src/interfaces/api/main.py:237
↓ 1 callersFunction_initialize_container_for_tests
Best-effort lazy init for tests that mount routers without lifespan.
src/interfaces/api/dependencies/container.py:33
↓ 1 callersMethod_initialize_model_info
Initialize model context limits if not set.
src/domain/agents/conversation_agent_protocols.py:188
↓ 1 callersFunction_is_deterministic_cleaning_request
(message: str)
src/interfaces/api/routes/workflows.py:773
↓ 1 callersFunction_is_deterministic_test_mode
()
src/infrastructure/lc_adapters/agents/task_executor.py:53
↓ 1 callersFunction_is_pytest_running
()
src/interfaces/api/dependencies/container.py:15
↓ 1 callersMethod_is_semantically_related
检查两个词是否语义相关 简单实现:检查是否有共同字符或属于同一类别
src/domain/services/rule_generator.py:198
↓ 1 callersMethod_is_silenced
检查是否在静默期内
src/domain/services/monitoring.py:566
↓ 1 callersMethod_is_stdlib
判断是否为标准库模块 参数: module_name: 模块名称 返回: 是否为标准库
src/domain/agents/hierarchical_node_factory.py:268
↓ 1 callersFunction_is_under
(path: Path, parent: Path)
scripts/organize_project_files.py:60
↓ 1 callersMethod_is_valid_cpu
检查 cpu 格式是否有效
src/domain/services/parent_node_schema.py:744
↓ 1 callersMethod_is_valid_memory
检查 memory 格式是否有效
src/domain/services/parent_node_schema.py:752
↓ 1 callersFunction_iter_python_files
(root: Path)
scripts/ddd_boundary_checks.py:17
↓ 1 callersFunction_kernel_event_generator
()
src/interfaces/api/routes/workflows.py:606
↓ 1 callersMethod_legacy_args_to_agent_config
将旧参数转换为新的 CoordinatorAgentConfig 处理三种场景: 1. 纯旧参数:构建新配置 2. 纯新配置:直接返回 3. 混合使用:合并配置(检测冲突) 参数: confi
src/domain/agents/coordinator_agent.py:678
↓ 1 callersMethod_legacy_to_config
将legacy参数转换为config
src/domain/agents/conversation_agent.py:1195
↓ 1 callersMethod_list_directory
列出目录内容 参数: dir_path: 目录路径 返回: 包含目录内容的字典
src/infrastructure/executors/file_executor.py:186
↓ 1 callersMethod_llm_classify
LLM单标签分类 参数: config: 配置 text: 待分类文本 返回: 分类结果
src/domain/services/ai_node_executors.py:198
↓ 1 callersMethod_llm_multi_classify
LLM多标签分类 参数: config: 配置 text: 待分类文本 返回: 分类结果(多个类别)
src/domain/services/ai_node_executors.py:244
↓ 1 callersMethod_load_document_from_file
从文件加载文档内容
scripts/ingest_docs.py:103
↓ 1 callersMethod_load_document_from_url
从URL加载文档内容
scripts/ingest_docs.py:136
↓ 1 callersMethod_load_one
(self, yaml_path: Path, *, required_keys: set[str])
src/infrastructure/definitions/yaml_node_definition_source.py:67
↓ 1 callersFunction_load_real_watchfiles
Import the real ``watchfiles`` package from site-packages.
scripts/watchfiles.py:28
↓ 1 callersMethod_load_required_keys
(self)
src/infrastructure/definitions/yaml_node_definition_source.py:48
↓ 1 callersFunction_load_seed_results
(run_dir: Path)
web/tests/e2e/scripts/collect-metrics.py:493
↓ 1 callersMethod_log_context_warning
Log warning when approaching context limit.
src/domain/agents/conversation_agent_protocols.py:196
↓ 1 callersMethod_log_coordinator_context
Log coordinator context information.
src/domain/agents/conversation_agent_protocols.py:192
↓ 1 callersFunction_looks_like_log_text
(path: Path)
scripts/organize_project_files.py:96
↓ 1 callersFunction_make_anthropic_module
构造 fake anthropic 模块,满足 `from anthropic import AsyncAnthropic`。
tests/unit/infrastructure/executors/test_llm_executor.py:141
↓ 1 callersFunction_make_context
Create test WorkflowContext with minimal setup
tests/unit/domain/agents/test_workflow_agent_node_execution.py:35
↓ 1 callersFunction_make_openai_module
构造 fake openai 模块,满足 `from openai import AsyncOpenAI`。
tests/unit/infrastructure/executors/test_llm_executor.py:109
↓ 1 callersMethod_map_agent_config_to_coordinator_config
将 CoordinatorAgentConfig 映射到 CoordinatorConfig 映射规则: - rules → rejection_rate_threshold, circuit_breaker_config, rule_engine_facade
src/domain/services/coordinator_bootstrap.py:404
↓ 1 callersMethod_map_completed
Map WorkflowPlanningCompleted -> final event.
src/application/services/planning_event_mapper.py:274
↓ 1 callersMethod_map_edge
Map a single edge to public format.
src/application/services/workflow_public_mapper.py:72
↓ 1 callersMethod_map_failed
Map WorkflowPlanningFailed -> error event.
src/application/services/planning_event_mapper.py:292
↓ 1 callersMethod_map_failure_config_to_dict
将 FailureHandlingConfig 转换为 WorkflowFailureOrchestrator 期望的 dict schema WorkflowFailureOrchestrator 实际消费的 schema: - default_strategy:
src/domain/services/coordinator_bootstrap.py:486
↓ 1 callersMethod_map_node
Map a single node to public format.
src/application/services/workflow_public_mapper.py:56
↓ 1 callersMethod_map_patch
Map WorkflowPatchGenerated -> patch event.
src/application/services/planning_event_mapper.py:233
↓ 1 callersMethod_map_react_step
Map ReActStepCompleted -> thinking, tool_call, tool_result events.
src/application/services/planning_event_mapper.py:180
↓ 1 callersMethod_map_research_plan
Map ResearchPlanGenerated -> research_plan event. Note: This is a terminal event (is_final=True) for research plan generation.
src/application/services/planning_event_mapper.py:254
↓ 1 callersMethod_map_started
Map WorkflowPlanningStarted -> thinking event.
src/application/services/planning_event_mapper.py:168
↓ 1 callersFunction_mask_api_key
掩码 API 密钥 显示格式:sk-***(保留前3个字符,后面用***代替) 参数: api_key: 原始 API 密钥 返回: 掩码后的 API 密钥
src/interfaces/api/routes/llm_providers.py:50
↓ 1 callersMethod_matches_cron_time
检查时间是否匹配 cron 模式 参数: dt: 要检查的时间 minute_pattern: 分钟模式 hour_pattern: 小时模式 day_pattern: 日期模式
src/domain/entities/scheduled_workflow.py:316
↓ 1 callersMethod_merge_config
合并config与legacy参数(legacy填充config未指定的字段)
src/domain/agents/conversation_agent.py:1244
↓ 1 callersMethod_merge_node_summaries
合并节点摘要 参数: existing: 现有节点摘要 new: 新节点摘要 返回: 合并后的节点摘要
src/domain/services/context_compressor.py:332
↓ 1 callersMethod_next_delta_index
获取下一个增量索引
src/domain/services/reliable_emitter.py:293
↓ 1 callersMethod_next_delta_index
获取下一个增量索引
src/domain/services/conversation_flow_emitter.py:203
↓ 1 callersMethod_node_definition_to_config
将 NodeDefinition 转换为节点配置 参数: node_def: 节点定义 返回: 节点配置字典
src/domain/agents/workflow_agent.py:2658
↓ 1 callersFunction_node_order_index
Convert execution order list to position mapping
tests/unit/domain/agents/test_workflow_agent_dag_execution.py:52
↓ 1 callersMethod_node_to_tree
将节点转换为树结构 参数: node: 节点 返回: 树结构字典
src/domain/services/node_hierarchy_service.py:465
↓ 1 callersMethod_normalize_config
归一化配置为 CoordinatorConfig 支持三种输入类型: 1. CoordinatorAgentConfig(新)→ 映射到旧 CoordinatorConfig 2. CoordinatorConfig(旧)→ 直接使用
src/domain/services/coordinator_bootstrap.py:358
↓ 1 callersFunction_normalize_react_step_event
(raw_event: dict[str, Any])
src/interfaces/api/routes/workflows.py:123
↓ 1 callersMethod_normalize_workflow_node_configs
(self, workflow: Workflow)
src/domain/services/workflow_save_validator.py:146
↓ 1 callersMethod_notify
发送通知
src/domain/services/monitoring.py:575
↓ 1 callersMethod_notify_agent
通知 Agent 参数: agent_type: Agent 类型 session_id: 会话 ID reason: 终止原因
src/domain/services/intervention/task_terminator.py:77
↓ 1 callersFunction_overall_summary
(iterations: list[dict[str, Any]])
web/tests/e2e/scripts/collect-metrics.py:287
↓ 1 callersFunction_parse_body
(raw_body: str | None)
src/infrastructure/lc_adapters/tools/http_tool.py:24
↓ 1 callersMethod_parse_dict
从字典解析配置 参数: data: 配置字典 返回: ToolConfigSchema 实例 抛出: ToolConfigValidationError: 当验证失败时
src/domain/services/tool_config_loader.py:362
↓ 1 callersMethod_parse_edges
解析边数据 参数: edges_data: LLM 返回的边列表 返回: 边实体列表 抛出: DomainError: 当边数据无效时
src/application/use_cases/generate_workflow_from_form.py:162
↓ 1 callersFunction_parse_headers
(raw_headers: str | None)
src/infrastructure/lc_adapters/tools/http_tool.py:12
↓ 1 callersMethod_parse_nodes
解析节点数据 参数: nodes_data: LLM 返回的节点列表 返回: 节点实体列表 抛出: DomainError: 当节点数据无效时
src/application/use_cases/generate_workflow_from_form.py:112
↓ 1 callersMethod_parse_parameters
解析参数列表 参数: params_data: 参数配置列表 返回: ToolParameterSchema 列表 抛出: ToolConfigValidationError
src/domain/services/tool_config_loader.py:445
↓ 1 callersFunction_parse_playwright_report
(report: dict[str, Any])
web/tests/e2e/scripts/collect-metrics.py:131
↓ 1 callersMethod_parse_rule
解析规则数据 参数: data: 规则数据字典 返回: Rule对象
src/domain/services/rule_engine.py:317
↓ 1 callersMethod_parse_shareable_scope
解析可共享范围 参数: scope_value: 范围字符串 返回: ShareableScope 枚举值
src/domain/services/tool_config_loader.py:495
↓ 1 callersMethod_pause_job
(self, scheduled_workflow: ScheduledWorkflow)
src/application/use_cases/schedule_workflow.py:56
↓ 1 callersFunction_plan_htmlcov
(root: Path, rules: Rules)
scripts/organize_project_files.py:242
↓ 1 callersFunction_plan_merge_dir
(root: Path, src_dirname: str, dst_dir: Path)
scripts/organize_project_files.py:226
↓ 1 callersFunction_plan_type_mapping
(root: Path, rules: Rules, mode: str)
scripts/organize_project_files.py:256
↓ 1 callersMethod_prepare_code
准备要执行的代码(注入 inputs)
src/infrastructure/executors/container_executor.py:141
↓ 1 callersMethod_prepare_params
准备 SQL 参数 参数: params_config: 参数配置 inputs: 输入数据 返回: 参数元组
src/infrastructure/executors/database_executor.py:88
↓ 1 callersFunction_prune_empty_dirs
(root: Path, rules: Rules, *, log)
scripts/organize_project_files.py:495
↓ 1 callersMethod_publish_rejection
发布验证拒绝事件 参数: event: 原始决策事件 violations: 违规列表
src/domain/services/decision_execution_bridge.py:253
↓ 1 callersMethod_range_loop
range循环:指定范围的循环 配置参数: start: 起始值(默认0) end: 结束值(必需) step: 步长(默认1) code: 执行的Python代码
src/infrastructure/executors/loop_executor.py:143
↓ 1 callersMethod_read_file
读取文件内容 参数: file_path: 文件路径 encoding: 文件编码 返回: 包含文件内容的字典
src/infrastructure/executors/file_executor.py:84
↓ 1 callersMethod_record_execution_event_sync
(self, *, run_id: str, sse_event: Mapping[str, Any])
src/application/services/workflow_run_execution_entry.py:131
↓ 1 callersMethod_register_minimal_builtin_tools
Guarantee a minimal offline-safe toolset even if tools_directory is empty.
src/application/services/tool_call_executor.py:116
↓ 1 callersMethod_register_predefined
注册预定义Schema
src/domain/services/node_schema.py:435
↓ 1 callersMethod_register_predefined_types
注册所有预定义节点类型
src/domain/services/node_registry.py:664
↓ 1 callersMethod_remove_from_indices
从索引中移除定义
src/domain/services/unified_definition.py:254
↓ 1 callersFunction_render_config_templates
( config: Any, *, inputs: dict[str, Any], context: dict[str, Any], logger_extra: dict[str,
src/domain/services/workflow_engine.py:384
↓ 1 callersFunction_render_report_md
(summary: dict[str, Any])
web/tests/e2e/scripts/collect-metrics.py:370
↓ 1 callersFunction_render_string_templates
( value: str, *, inputs: dict[str, Any], context: dict[str, Any], logger_extra: dict[str,
src/domain/services/workflow_engine.py:410
↓ 1 callersMethod_require_run_entry_dependencies
(self)
src/interfaces/api/services/workflow_executor_adapter.py:154
↓ 1 callersFunction_resolve_allowlist
(*, repo_root: Path, relative_paths: Iterable[str])
scripts/ddd_boundary_checks.py:55
↓ 1 callersMethod_resolve_config
解析最终配置(处理config与legacy参数的混用)
src/domain/agents/conversation_agent.py:1012
↓ 1 callersFunction_resolve_path
(variables: dict[str, Any], path: str)
src/domain/services/workflow_engine.py:453
↓ 1 callersMethod_resume_job
(self, scheduled_workflow: ScheduledWorkflow)
src/application/use_cases/schedule_workflow.py:67
↓ 1 callersMethod_retrieve_knowledge
异步检索知识 参数: user_input: 用户输入 workflow_id: 工作流ID 返回: 知识条目列表
src/domain/services/context/service.py:181
↓ 1 callersMethod_rotate_if_needed
检查并执行日志轮转
src/domain/services/logging_metrics.py:371
↓ 1 callersMethod_run_and_persist
( self, idempotency_key: str, work: Callable[[], Awaitable[Any]], )
src/application/services/idempotency_coordinator.py:46
← previousnext →2,401–2,500 of 13,770, ranked by callers