MCPcopy Create free account

hub / github.com/Negai-ai/AgentClaw / functions

Functions3,963 in github.com/Negai-ai/AgentClaw

↓ 7 callersFunction_to_tool_execution_outcome
Normalize arbitrary tool return payloads into a structured outcome.
agentclaw/node/llm_tools.py:65
↓ 7 callersFunction_verify_public_conversation_access
( workflow_id: str, request: Request, body: dict[str, Any] | None = None, )
agentclaw/api/routers/public/conversations.py:48
↓ 7 callersFunction_workflow
(**overrides)
agentclaw/test/api/test_public_audio_api.py:47
↓ 7 callersFunctionauthenticate_bearer
Authenticate an Admin Token or Workflow API Key from a request.
agentclaw/api/auth/dependencies.py:45
↓ 7 callersMethodfrom_dict
从字典创建配置
agentclaw/mcp/config.py:213
↓ 7 callersMethodget_channel
(self, channel_id: str)
agentclaw/channels/store.py:110
↓ 7 callersMethodget_prompt_info
获取提示词详细信息
agentclaw/prompt/manager.py:810
↓ 7 callersMethodhandle_message
处理消息的完整流程:解析 → 调用工作流 → 回复 → 记日志
agentclaw/channels/__init__.py:123
↓ 7 callersFunctionmerge_path
Merge a value into a nested path using a small set of strategies.
agentclaw/graph/state_path.py:60
↓ 7 callersFunctionnormalize_retention_days
(value: Any, default: int = 0)
agentclaw/runtime/maintenance.py:12
↓ 7 callersMethodon_finish
(self, response: str, reason: str, *, round_index: int | None = None, **metadata: Any)
agentclaw/runtime/harness/agent_harness.py:195
↓ 7 callersFunctionread_workflow_memory
(project_dir: Path, workflow_id: str)
agentclaw/memory/workflow_memory.py:19
↓ 7 callersMethodrecord_event
(self, name: str, **metadata: Any)
agentclaw/runtime/harness/agent_harness.py:177
↓ 7 callersMethodregister
注册工具 Args: tool: 工具定义(dict、Tool 实例或带 _tool_definition 的函数)
agentclaw/node/toolkit.py:353
↓ 7 callersMethodrequire_member
(self, room_id: str, owner_id: str)
agentclaw/api/services/public_room_service.py:507
↓ 7 callersMethodstart
启动 WebSocket 连接
agentclaw/channels/qq.py:63
↓ 7 callersMethodupdate_document
(self, document_id: str, updates: Dict[str, Any])
agentclaw/knowledgebase/store.py:320
↓ 7 callersFunctionverify_public_page_session
(request: Request, workflow_id: str)
agentclaw/api/routers/public/session.py:370
↓ 7 callersFunctionverify_public_share_token
( workflow: Any, workflow_id: str, request: Request, body: Optional[Mapping[str, Any]] = None,
agentclaw/api/routers/public/access.py:210
↓ 7 callersFunctionwrite_workflow_memory
(project_dir: Path, workflow_id: str, content: str)
agentclaw/memory/workflow_memory.py:29
↓ 6 callersMethod_coerce_json_object
(self, value: Any, *, field_name: str)
agentclaw/knowledgebase/store.py:725
↓ 6 callersMethod_confirmation_result
(self, call: ToolCallEnvelope, *, status: str, message: str, retryable: bool | None = None)
agentclaw/runtime/harness/tool_executor.py:177
↓ 6 callersMethod_create_chat_completion_with_visible_retries
( self, client: Any, create_kwargs: dict, *, config: LLMConfig,
agentclaw/model/manager.py:864
↓ 6 callersFunction_document_to_response
(record)
agentclaw/api/routers/admin/knowledgebases.py:73
↓ 6 callersMethod_element_info_value
(element: Any, key: str, default: Any = None)
agentclaw/mcp/builtin_servers/computer_tools.py:440
↓ 6 callersMethod_ensure_db_loaded
确保已从数据库加载提示词(延迟加载)
agentclaw/prompt/manager.py:722
↓ 6 callersMethod_expire_stale_running_logs
将长时间处于 running 的执行归档为 timeout,避免 UI 永久显示“运行中”。 Returns: 归档条数
agentclaw/runtime/tracing/db_tracer.py:353
↓ 6 callersMethod_extract_format_fields
(template: str)
agentclaw/graph/template.py:166
↓ 6 callersMethod_extract_reasoning_content
(payload: Any)
agentclaw/model/manager.py:813
↓ 6 callersMethod_get_current_client
获取当前应使用的客户端
agentclaw/model/manager.py:685
↓ 6 callersMethod_is_tools_wildcard
检查 tools 是否为通配符(使用所有工具)
agentclaw/node/llm.py:1722
↓ 6 callersFunction_job_to_response
ScheduledJob → JobResponse dict
agentclaw/scheduler/api.py:41
↓ 6 callersFunction_normalize_path_for_compare
(path: str)
agentclaw/node/llm_skills.py:201
↓ 6 callersFunction_public_headers
()
agentclaw/test/api/test_public_audio_api.py:28
↓ 6 callersMethod_resolve_project_path
(self, path_str: str, allow_missing: bool = False)
agentclaw/mcp/builtin_servers/coding_tools.py:90
↓ 6 callersMethod_safe_call
(method: Any, default: Any = None)
agentclaw/mcp/builtin_servers/computer_tools.py:433
↓ 6 callersFunction_scheduler_client
()
agentclaw/test/api/test_scheduler_error_contracts.py:15
↓ 6 callersMethod_syntax_err
( self, path: Path, language: str, message: str, line: Optional[int],
agentclaw/mcp/builtin_servers/coding_tools.py:273
↓ 6 callersMethod_syntax_ok
( self, path: Path, language: str, *, risk_diagnostics: Optional[list[
agentclaw/mcp/builtin_servers/coding_tools.py:222
↓ 6 callersFunction_to_resolved_str
(path_like: Any)
agentclaw/runtime_paths.py:23
↓ 6 callersFunction_trim_public_memory_state
(now: float)
agentclaw/api/routers/public/session.py:44
↓ 6 callersFunction_workflow_settings_path
(store: Path, workflow_id: str)
agentclaw/api/services/settings_service.py:517
↓ 6 callersFunction_workflow_with_mock_model_actor
(module, resolver=_werewolf_actor_decision_resolver)
agentclaw/test/unit/test_werewolf_subworkflow_agent.py:91
↓ 6 callersMethodaget_state
(self, config)
agentclaw/test/api/test_public_execution_contracts.py:2463
↓ 6 callersFunctionapply_public_tool_policy
( tool_schemas: list[dict] | None, *, public_mode: bool, builtin_tool_names: set[str], )
agentclaw/node/llm.py:37
↓ 6 callersFunctionapply_saved_system_settings
(config: Any)
agentclaw/api/services/settings_service.py:956
↓ 6 callersMethodcall_tool
调用工具(自动查找 server) 使用服务器级别的锁,防止同一 MCP server 的并行调用导致 stdio 污染 Args: name: 工具名称 arguments: 工具参数
agentclaw/mcp/manager.py:284
↓ 6 callersFunctioncan_player_vote
(game: dict[str, Any], seat: int)
agentclaw/agent_square/werewolf_agent/agents/werewolf_votes.py:13
↓ 6 callersMethodcheck_cancelled
检查是否被取消,如果是则抛出异常
agentclaw/graph/context.py:161
↓ 6 callersFunctionchunks
()
agentclaw/test/unit/test_audio_service.py:45
↓ 6 callersMethodcleanup
清理资源
agentclaw/channels/setup.py:166
↓ 6 callersFunctioncloneValue
(value)
agentclaw/admin-dashboard/src/utils/agentRunManager.js:4
↓ 6 callersFunctioncreateAppI18n
()
agentclaw/admin-dashboard/src/i18n/index.js:53
↓ 6 callersMethoddecide
(self, action: str, reason: str, **metadata: Any)
agentclaw/runtime/harness/agent_harness.py:174
↓ 6 callersFunctionempty_game
()
agentclaw/agent_square/werewolf_agent/agents/werewolf_state.py:49
↓ 6 callersFunctionfile_response_headers
( filename: str | None, content_type: str | None, *, download: bool = False, )
agentclaw/api/files/response.py:55
↓ 6 callersFunctionfile_write_lock
(path: str | Path)
agentclaw/mcp/file_lock.py:90
↓ 6 callersFunctionget_claw_app
Return a packaged Claw App manifest by id.
agentclaw/agent_square/__init__.py:68
↓ 6 callersFunctionget_service_host_fallback
Return the localhost fallback for a docker-compose service alias.
agentclaw/platform_compat.py:160
↓ 6 callersFunctionlist_claw_apps
Return packaged Claw App manifests sorted by display name.
agentclaw/agent_square/__init__.py:57
↓ 6 callersMethodload_all
加载所有技能 Returns: 加载的技能数量
agentclaw/skills/manager.py:33
↓ 6 callersFunctionnormalize_download_ttl
(value: object)
agentclaw/mcp/download_limits.py:49
↓ 6 callersMethodon_error
(self, error: Exception | str, **metadata: Any)
agentclaw/runtime/harness/agent_harness.py:199
↓ 6 callersMethodrefresh
增量扫描 skills 目录,加载新增的技能(不影响已加载的) Returns: 新增加载的技能数量
agentclaw/skills/manager.py:289
↓ 6 callersFunctionsetAdminToken
(token)
agentclaw/admin-dashboard/src/api/index.js:15
↓ 6 callersFunctionset_current_session
设置当前调试会话
agentclaw/runtime/debugger.py:218
↓ 6 callersFunctionset_post_death_choice_request
(game: dict[str, Any])
agentclaw/agent_square/werewolf_agent/agents/werewolf_machine.py:484
↓ 6 callersMethodtranscribe
(self, audio: AudioArtifact, model_id: str | None = None)
agentclaw/audio/service.py:15
↓ 6 callersMethodunregister
注销任务
agentclaw/api/server.py:102
↓ 6 callersMethodupdate_execution
更新执行记录
agentclaw/scheduler/store.py:64
↓ 6 callersMethodupdate_models_config
(self, payload)
agentclaw/test/api/test_admin_api_contracts.py:320
↓ 5 callersMethod_attach_component
Attach component once and sync internal manager references.
agentclaw/graph/workflow.py:1321
↓ 5 callersMethod_build_workflow_log_filters
构建 workflow_logs 查询条件,并统一处理带时区时间参数。
agentclaw/runtime/tracing/db_tracer.py:211
↓ 5 callersMethod_candidate_base_dirs
配置自动发现的候选目录(按优先级): 1) 工作流文件同级目录的父目录(典型:<project>/workflows/*.py -> <project>) 2) 工作流文件同级目录 3) 全局运行项目目录(支持导入到 agents/<
agentclaw/graph/workflow.py:287
↓ 5 callersFunction_channel_to_response
(record: ChannelRecord, running_map: dict)
agentclaw/api/routers/admin/channels.py:124
↓ 5 callersFunction_chat_audio
(workflow: Any)
agentclaw/api/routers/public/audio.py:108
↓ 5 callersMethod_close_contexts
关闭当前 session 和 transport 上下文(无论 connected 状态) 这个方法用于连接失败后的清理,避免残留的异步任务影响后续重试。
agentclaw/mcp/client.py:239
↓ 5 callersFunction_decode_json
(value: Any)
agentclaw/test/real/test_real_environment_api.py:135
↓ 5 callersFunction_decode_json
(value: Any, fallback: Any)
agentclaw/api/services/public_room_service.py:181
↓ 5 callersFunction_display
(path: Optional[str], fallback: str = "<not configured>")
agentclaw/node/llm_prompt.py:177
↓ 5 callersMethod_ensure_token
确保 token 有效,仅在过期时刷新
agentclaw/channels/dingtalk.py:732
↓ 5 callersFunction_env_int
(name: str, default: int)
agentclaw/api/services/public_room_service.py:112
↓ 5 callersFunction_execute_tool_with_skill_attestation
( tool_call: Any, *, state: dict, context: "WorkflowContext", tool_exec_kwargs: dict[str,
agentclaw/node/llm_skills.py:442
↓ 5 callersFunction_get_running_map
获取渠道运行状态映射
agentclaw/api/routers/admin/channels.py:58
↓ 5 callersFunction_get_snapshot
( page, frame_selector: str = None, interactive: bool = False, compact: bool = False, max_depth: i
agentclaw/mcp/browser_server.py:615
↓ 5 callersMethod_get_timeout
读取超时环境变量,非法值回退默认值。
agentclaw/api/server.py:1646
↓ 5 callersMethod_init_skill_env
初始化技能环境 Args: skill: Skill 对象 force: 强制重新初始化 Returns: 是否成功
agentclaw/skills/manager.py:99
↓ 5 callersFunction_json_dumps
(value: Any)
agentclaw/api/services/public_room_service.py:196
↓ 5 callersMethod_lock_key
(self, room_id: str)
agentclaw/api/services/public_room_service.py:715
↓ 5 callersFunction_open_public_session
(public_api_client, workflow_id: str, share_token: str = "share-test")
agentclaw/test/api/test_public_audio_api.py:36
↓ 5 callersMethod_parse_positive_int_arg
(value: Any, field_name: str)
agentclaw/mcp/builtin_servers/coding_tools.py:72
↓ 5 callersFunction_patch_allowed_roots
(monkeypatch, tmp_path: Path)
agentclaw/test/unit/test_file_storage_containment.py:15
↓ 5 callersFunction_public_max_audio_bytes
()
agentclaw/api/routers/public/audio.py:56
↓ 5 callersMethod_read_file
读取文件内容,兼容旧数据(绝对路径)和新数据(storage key)
agentclaw/database/file_storage.py:267
↓ 5 callersMethod_record_usage
记录使用统计
agentclaw/model/manager.py:762
↓ 5 callersMethod_resolve_key
(self, key: str)
agentclaw/database/storage_backend.py:61
↓ 5 callersFunction_room_and_member_or_error
(room_id: str, request: Request)
agentclaw/api/routers/public/rooms.py:210
↓ 5 callersFunction_run
(async_fn, *args, **kwargs)
agentclaw/test/unit/test_trace_service.py:16
↓ 5 callersFunction_safe_package_name
Return a Python package-safe name or raise for unsupported ids.
agentclaw/agent_square/__init__.py:76
↓ 5 callersMethod_save_prompt_to_redis
保存单个提示词到 Redis
agentclaw/prompt/manager.py:550
← previousnext →201–300 of 3,963, ranked by callers