MCPcopy Create free account

hub / github.com/DSGWJQ/Feagent / functions

Functions13,770 in github.com/DSGWJQ/Feagent

Method__post_init__
(self)
tests/unit/domain/services/test_configurable_rule_engine.py:41
Method__post_init__
(self)
tests/unit/domain/services/test_rule_engine_facade.py:37
Method__repr__
(self)
src/infrastructure/database/models.py:123
Method__repr__
(self)
src/infrastructure/database/models.py:161
Method__repr__
(self)
src/infrastructure/database/models.py:230
Method__repr__
(self)
src/infrastructure/database/models.py:336
Method__repr__
(self)
src/infrastructure/database/models.py:390
Method__repr__
(self)
src/infrastructure/database/models.py:438
Method__repr__
(self)
src/infrastructure/database/models.py:552
Method__repr__
(self)
src/infrastructure/database/models.py:612
Method__repr__
(self)
src/infrastructure/database/models.py:691
Method__repr__
(self)
src/infrastructure/database/models.py:771
Method__repr__
(self)
src/infrastructure/database/models.py:832
Method__repr__
(self)
src/infrastructure/database/models.py:931
Method__repr__
(self)
src/infrastructure/database/models.py:996
Method__repr__
(self)
src/domain/entities/user.py:206
Method__repr__
字符串表示
src/domain/value_objects/execution_context.py:231
Method__str__
(self)
src/domain/exceptions.py:66
Method__str__
(self)
src/domain/exceptions.py:149
Method__str__
用户友好的字符串表示
src/domain/value_objects/execution_context.py:235
Method__str__
字符串表示(用于日志) 为什么重写 __str__? 1. 日志友好:方便打印和调试 2. 可读性:比默认的 repr 更易读 示例: >>> event = TaskEvent.create("开始下载文件")
src/domain/value_objects/task_event.py:103
Method__str__
(self)
src/application/services/capability_catalog_service.py:25
Method_after_gate
()
src/application/services/workflow_run_execution_entry.py:214
Function_allow_middleware
(event: Event)
tests/integration/api/workflows/test_validated_decision_run_events_replay_e2e.py:166
Method_await_publish
()
src/domain/agents/conversation_agent.py:560
Method_build_termination_report
( *, stop_reason: str, stop_condition: str, la
src/application/services/workflow_run_execution_entry.py:400
Method_calculate_depth_from_root
从根节点计算当前节点深度 通过递归查找所有祖先节点计算深度。 由于没有 _parent 引用,这里返回0作为默认。 实际深度在 add_child 时检查。
src/domain/agents/node_definition.py:241
Method_call
()
src/domain/agents/conversation_agent_react_core.py:628
Method_can_transition
检查状态转换是否有效
src/domain/services/management_modules.py:555
Method_capture
(event: DecisionValidatedEvent)
tests/integration/api/workflows/test_workflows.py:593
Function_check_dangerous_command
(ctx: dict[str, Any])
src/domain/services/supervision_module.py:383
Function_check_dangerous_path
(ctx: dict[str, Any])
src/domain/services/supervision_module.py:341
Function_check_long_history
(ctx: dict[str, Any])
src/domain/services/supervision_module.py:426
Function_check_loop_pattern
(ctx: dict[str, Any])
src/domain/services/supervision_module.py:406
Function_check_sensitive_content
(ctx: dict[str, Any])
src/domain/services/supervision_module.py:358
Method_coerce_executed_nodes
(cls, v: Any)
src/domain/value_objects/workflow_action.py:125
Method_coerce_params
(cls, v: Any)
src/domain/value_objects/workflow_action.py:58
Function_collect_result
(event: ExecutionResultEvent)
tests/integration/api/workflows/test_validated_decision_run_events_replay_e2e.py:197
Method_compressing
懒加载方式检查是否启用压缩
src/domain/agents/coordinator_agent.py:648
Method_cosine
(a: list[float], b: list[float])
src/infrastructure/knowledge_base/chroma_retriever_service.py:335
Method_count_ancestors
计算祖先节点数量(即当前深度) 返回: 从根到当前节点的深度
src/domain/agents/node_definition.py:276
Function_create_invalid
创建无效配置 workflow (P1 必需) 用途:测试保存校验失败场景 (UX-WF-102) 结构:start -> broken_node -> end
src/domain/services/workflow_fixtures.py:255
Function_create_main_subgraph
创建主子图 workflow (P0 必需) 用途:测试正常的主连通子图执行流程 结构:start -> process_data -> end
src/domain/services/workflow_fixtures.py:113
Function_create_side_effect
创建副作用 workflow (P0 必需) 用途:测试副作用确认流程 (UX-WF-004) 结构:start -> http_call -> end
src/domain/services/workflow_fixtures.py:213
Function_create_with_isolated
创建带孤立节点的 workflow (P1 必需) 用途:测试主子图约束防御 (UX-WF-101) 结构: - Main: start -> node_A -> end - Isolated: isolated_no_in, isolated_no_out
src/domain/services/workflow_fixtures.py:154
Function_deny_execute_workflow_middleware
(event: Event)
tests/integration/api/workflows/test_validated_decision_run_events_replay_e2e.py:170
Method_deny_validate_decision
(decision: dict)
tests/integration/api/workflows/test_workflows.py:394
Function_deprecated
Decorator for deprecated methods
src/domain/agents/coordinator_agent.py:75
Method_emit_execution_event
(event: dict[str, Any])
src/application/services/workflow_run_execution_entry.py:391
Function_execute
(node_id, config, inputs)
tests/integration/test_seven_types_e2e.py:34
Function_execute_in_sandbox
在子进程中执行代码(内部函数) 参数: code: 要执行的代码 input_data: 输入数据 result_queue: 结果队列 max_output_size: 最大输出大小 allowed_impo
src/domain/services/sandbox_executor.py:523
Method_execute_internal
( self, task: dict[str, Any], context: dict[str, Any] )
tests/integration/test_subagent_e2e.py:49
Method_execute_internal
( self, task: dict[str, Any], context: dict[str, Any] )
tests/integration/test_subagent_e2e.py:72
Method_execute_internal
(self, task, context)
tests/integration/test_subagent_e2e.py:265
Method_execute_internal
( self, task: dict[str, Any], context: dict[str, Any] )
tests/unit/domain/services/test_sub_agent_scheduler.py:286
Method_execute_internal
( self, task: dict[str, Any], context: dict[str, Any] )
tests/unit/domain/services/test_sub_agent_scheduler.py:311
Method_execute_internal
( self, task: dict[str, Any], context: dict[str, Any] )
tests/unit/domain/services/test_sub_agent_scheduler.py:346
Method_execute_internal
( self, task: dict[str, Any], context: dict[str, Any] )
tests/unit/domain/services/test_sub_agent_scheduler.py:447
Method_execute_internal
( self, task: dict[str, Any], context: dict[str, Any] )
tests/unit/domain/services/test_sub_agent_scheduler.py:477
Method_execute_internal
( self, task: dict[str, Any], context: dict[str, Any] )
tests/unit/domain/services/test_sub_agent_scheduler.py:556
Method_execute_internal
(self, task, context)
tests/unit/domain/agents/test_subagent_result_handling.py:323
Method_execute_internal
( self, task: dict[str, Any], context: dict[str, Any] )
tests/unit/domain/agents/test_coordinator_subagent_lifecycle.py:71
Method_execute_internal
(self, task, context)
tests/unit/domain/agents/test_coordinator_subagent_lifecycle.py:152
Method_execute_internal
(self, task, context)
tests/unit/domain/agents/test_coordinator_subagent_lifecycle.py:203
Method_execute_internal
(self, task, context)
tests/unit/domain/agents/test_coordinator_subagent_lifecycle.py:238
Method_execute_internal
(self, task, context)
tests/unit/domain/agents/test_coordinator_subagent_lifecycle.py:286
Method_execute_internal
(self, task, context)
tests/unit/domain/agents/test_coordinator_subagent_lifecycle.py:361
Method_execute_workflow
供 APScheduler 调用的同步入口。
src/domain/services/workflow_scheduler.py:102
Function_factory
(config: dict[str, Any])
tests/unit/infrastructure/executors/test_llm_executor.py:189
Function_factory
(config: dict[str, Any])
tests/unit/infrastructure/executors/test_http_executor.py:150
Method_failure_config_to_bootstrap_dict
将 FailureHandlingConfig 转换为 Bootstrap schema Bootstrap 期望的 schema: - default_strategy: FailureHandlingStrategy 枚举 - max_retri
src/domain/agents/coordinator_agent.py:341
Method_failure_defaults
返回默认的 FailureHandlingConfig
src/domain/agents/coordinator_agent.py:331
Function_fake_async_client_factory
(timeout: Any = None)
tests/unit/infrastructure/executors/test_http_executor.py:170
Function_fake_httpx
( response: _FakeResponse | None = None, raises_request_error: bool = False, raises_in
tests/unit/infrastructure/executors/test_http_executor.py:163
Function_fake_repo
(_: Any)
tests/integration/api/conversation/test_stream_uses_orchestrator.py:60
Function_fake_repo
(_: Session)
tests/integration/api/workflow_chat/test_chat_create_stream_api.py:88
Function_fake_workflow_orchestrator
(_: Any)
tests/integration/api/conversation/test_stream_uses_orchestrator.py:63
Method_flush_staged_state
Flush staged state updates to session_context (P0-2 Phase 2).
src/domain/agents/conversation_agent_protocols.py:84
Method_flush_staged_state
Flush staged state updates to session_context (P0-2 Phase 2).
src/domain/agents/conversation_agent_protocols.py:136
Method_flush_staged_state
Flush all staged state updates atomically (P0-2 Phase 2).
src/domain/agents/conversation_agent_protocols.py:208
Method_get_depth
计算当前节点深度 返回: 当前节点在层次树中的深度(根节点为0)
src/domain/agents/node_definition.py:226
Function_get_execute_concurrent_use_case
( container: ApiContainer = Depends(get_container), db: Session = Depends(get_db_session), )
src/interfaces/api/routes/concurrent_workflows.py:30
Function_get_run_use_case
( container: ApiContainer = Depends(get_container), db: Session = Depends(get_db_session), )
src/interfaces/api/routes/runs.py:62
Method_handle_adjustment_event
处理工作流调整请求事件(P0-2 Phase 2: 锁保护版本) 当Coordinator发出WorkflowAdjustmentRequestedEvent时调用。 锁保护: - 使用_state_lock保护pending_feedbacks的
src/domain/agents/conversation_agent_recovery.py:169
Method_handle_adjustment_event
Handle adjustment event from coordinator (internal).
src/domain/agents/conversation_agent_protocols.py:140
Method_handle_canvas_change
处理画布变更事件 参数: event: CanvasChangeEvent
src/domain/services/bidirectional_sync.py:272
Method_handle_container_started
处理容器执行开始事件(代理到 ContainerExecutionMonitor)
src/domain/agents/coordinator_agent.py:2758
Method_handle_decision
处理决策事件 参数: event: 决策事件
src/domain/services/decision_execution_bridge.py:157
Method_handle_decision_validated
处理验证通过的决策(前向同步) 将决策转发给工作流Agent执行。 参数: event: DecisionValidatedEvent
src/domain/services/bidirectional_sync.py:464
Method_handle_decision_validated
处理验证通过的决策 将决策转发给 WorkflowAgent。
src/domain/services/agent_orchestrator.py:172
Method_handle_failure_handled_event
处理节点失败处理完成事件(P0-2 Phase 2: 锁保护版本) 当Coordinator发出NodeFailureHandledEvent时调用。 锁保护: - 使用_state_lock保护pending_feedbacks的并发追加
src/domain/agents/conversation_agent_recovery.py:193
Method_handle_failure_handled_event
Handle failure handled event from coordinator (internal).
src/domain/agents/conversation_agent_protocols.py:144
Method_handle_node_execution
处理节点执行事件(状态同步) 将节点状态同步给对话Agent。 参数: event: NodeExecutionEvent
src/domain/services/bidirectional_sync.py:508
Method_handle_node_execution
处理节点执行事件
src/domain/services/agent_orchestrator.py:221
Method_handle_node_execution_with_compression
处理节点执行事件(带压缩) 复用普通处理器,再调用压缩回调。
src/domain/agents/workflow_state_monitor.py:334
Method_handle_progress_event_async
异步处理进度事件(EventBus 回调) 参数: event: ExecutionProgressEvent 实例
src/domain/agents/conversation_agent.py:797
Method_handle_reflection_event
处理反思事件 将反思结果记录到上下文,包括目标、规则、错误、建议。 参数: event: WorkflowReflectionCompletedEvent 实例 Phase 35.4: 委托到 ReflectionCont
src/domain/agents/coordinator_agent.py:2564
Method_handle_reflection_event_with_compression
处理反思事件(带压缩) 先调用 _handle_reflection_event 记录反思, 再调用 _compress_and_save_context 压缩数据。 参数: event: WorkflowReflectio
src/domain/services/reflection_context_manager.py:151
Method_handle_reflection_event_with_compression
处理反思事件(带压缩) Phase 35.4: 委托到 ReflectionContextManager
src/domain/agents/coordinator_agent.py:2665
Method_handle_saturation_event
处理饱和事件 流程: 1. 获取会话 2. 创建备份 3. 冻结会话 4. 执行压缩 5. 回写摘要 6. 解冻会话 7. 重置饱和状态
src/domain/services/memory_compression_handler.py:224
← previousnext →3,901–4,000 of 13,770, ranked by callers