MCPcopy Create free account

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

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

↓ 13 callersFunctionis_safe_storage_key
Return true when a storage key is relative and cannot escape a local root.
agentclaw/database/storage_backend.py:21
↓ 13 callersFunctionpublic_owner_id_from_request
(request: Request)
agentclaw/api/routers/public/session.py:231
↓ 13 callersMethodpush_node_finished
推送 node_finished 事件
agentclaw/runtime/streaming/context.py:221
↓ 13 callersMethodread
(self, _size: int)
agentclaw/test/boundary/test_upload_limits.py:22
↓ 13 callersMethodsearch
( self, *, query: str, knowledgebase_id: str = "", top_k: Optional[int
agentclaw/knowledgebase/service.py:363
↓ 12 callersFunction_attr_or_key
(obj: Any, name: str, default: Any = None)
agentclaw/skills/builtin_skills/image-generation/scripts/openai_generate_image.py:75
↓ 12 callersMethod_ensure_components
确保必要组件已初始化
agentclaw/graph/workflow.py:411
↓ 12 callersFunction_get_page_target_id
(page)
agentclaw/mcp/browser_server.py:318
↓ 12 callersFunction_open_public_session
(client, workflow_id: str = "wf-public")
agentclaw/test/api/test_public_room_api.py:24
↓ 12 callersFunction_public_page_headers
()
agentclaw/test/api/test_management_api_contracts.py:22
↓ 12 callersFunction_schema
(name: str)
agentclaw/test/unit/test_public_tool_policy.py:9
↓ 12 callersFunction_usage_token_value
(usage: Any, name: str)
agentclaw/model/manager.py:2111
↓ 12 callersMethodget
获取配置实例(如果未加载则自动加载)
agentclaw/config.py:454
↓ 12 callersMethodlist
列出所有技能 Returns: 所有已加载的 Skill 列表
agentclaw/skills/manager.py:203
↓ 12 callersFunctionpublicShareHeaders
(shareToken = '', extraHeaders = {})
agentclaw/admin-dashboard/src/api/index.js:246
↓ 12 callersFunctionsafe_compare_digest
Constant-time secret comparison that treats malformed text as a mismatch.
agentclaw/utils/security.py:12
↓ 12 callersFunctionsafe_json_dumps
安全的 JSON 序列化 自动处理不可序列化对象,不会抛出异常 Args: obj: 要序列化的对象 **kwargs: 传递给 json.dumps 的参数 Returns: JSON
agentclaw/state/serializer.py:131
↓ 12 callersFunctionworkflow_not_found_response
(workflow_id: str)
agentclaw/api/routers/public/access.py:156
↓ 11 callersMethod_get_pool
(self)
agentclaw/api/services/conversation_service.py:36
↓ 11 callersFunction_get_scheduler
获取调度器实例
agentclaw/scheduler/api.py:31
↓ 11 callersFunction_pick
(obj: Any, fields: tuple[str, ...])
agentclaw/api/services/settings_service.py:782
↓ 11 callersFunction_ref_locator
Convert ref (e1, e2...) to Playwright locator via getByRole.
agentclaw/mcp/browser_server.py:456
↓ 11 callersMethodconnect
连接到 MCP Server Args: max_retries: 最大重试次数(默认 3 次) retry_delay: 重试延迟(秒,默认 0.5 秒)
agentclaw/mcp/client.py:262
↓ 11 callersMethodexecute
(self, query: str, *params)
agentclaw/test/unit/test_conversation_service.py:74
↓ 11 callersMethodfilter
(self, record)
agentclaw/api/server.py:1693
↓ 11 callersMethodget_server
获取指定 Server 配置
agentclaw/mcp/config.py:289
↓ 11 callersMethodget_workflow
(self, workflow_id: str)
agentclaw/api/services/settings_service.py:1189
↓ 11 callersMethodparse
(self, *_args, **_kwargs)
agentclaw/test/unit/test_knowledgebase_parser_errors.py:110
↓ 11 callersMethodpush_reasoning
推送 reasoning 事件(思考内容,用于 reasoning/thinking 模型)
agentclaw/runtime/streaming/context.py:276
↓ 11 callersMethodupdate_workflow
(self, workflow_id: str, data: dict[str, Any])
agentclaw/api/services/settings_service.py:1206
↓ 10 callersFunction_admin_token
()
agentclaw/test/real/test_real_environment_api.py:65
↓ 10 callersFunction_echo_up_section
展示 up 启动向导小节
agentclaw/cli.py:654
↓ 10 callersFunction_log_real_result
(event: str, **fields: Any)
agentclaw/test/real/test_real_environment_api.py:185
↓ 10 callersFunction_run_blocking
(func, *args, **kwargs)
agentclaw/state/checkpointer.py:35
↓ 10 callersFunction_save_json
(path: Path, data: dict[str, Any])
agentclaw/api/services/settings_service.py:535
↓ 10 callersMethodadd_router
添加路由节点 Args: after: 路由源节点名 routes: 路由映射 {条件值: 目标节点},支持 "default" 作为兜底 condition: 条件函数或状态字段名(
agentclaw/graph/workflow.py:1153
↓ 10 callersFunctioncheck_public_rate_limit
( workflow: Any, workflow_id: str, request: Request, action: str, limit: Any = None, )
agentclaw/api/routers/public/access.py:268
↓ 10 callersMethoddelete
(self, key)
agentclaw/test/api/test_public_room_api.py:53
↓ 10 callersMethoddisconnect
断开连接
agentclaw/mcp/client.py:489
↓ 10 callersMethodfrom_file
从 JSON/JSONC 文件加载配置
agentclaw/mcp/config.py:192
↓ 10 callersFunctiongame_from_state
(state: dict[str, Any])
agentclaw/agent_square/werewolf_agent/agents/werewolf_state.py:131
↓ 10 callersMethodnode
装饰器:将函数注册为工作流节点
agentclaw/graph/workflow.py:1116
↓ 10 callersFunctionpublicRoomHeaders
(roomToken = '', extraHeaders = {})
agentclaw/admin-dashboard/src/api/index.js:252
↓ 10 callersFunctionresolve_allowed_legacy_file_path
Resolve an old absolute path only when it is contained by an allowed root.
agentclaw/database/file_storage.py:58
↓ 9 callersFunction_clean_api_key
(value: Optional[str])
agentclaw/model/manager.py:134
↓ 9 callersMethod_ensure_loaded
确保已加载
agentclaw/skills/manager.py:337
↓ 9 callersMethod_get_redis
(self)
agentclaw/api/services/public_room_service.py:256
↓ 9 callersFunction_get_store
()
agentclaw/api/routers/admin/channels.py:52
↓ 9 callersFunction_load_skill_script
(script_name: str)
agentclaw/test/unit/test_image_generation_skill.py:17
↓ 9 callersMethod_run_cmd
Run a subprocess command, return (stdout, stderr, returncode).
agentclaw/mcp/builtin_servers/computer_tools.py:227
↓ 9 callersMethodcall_tool
调用工具
agentclaw/mcp/client.py:534
↓ 9 callersMethodcurrent_turn
(self)
agentclaw/runtime/harness/state.py:84
↓ 9 callersMethoddisconnect_all
断开所有 Server
agentclaw/mcp/manager.py:213
↓ 9 callersMethodget_conversation
(self, room: dict[str, Any])
agentclaw/api/services/public_room_service.py:589
↓ 9 callersFunctionget_db_tracer
获取全局追踪器
agentclaw/runtime/tracing/db_tracer.py:1281
↓ 9 callersMethodget_document
(self, knowledgebase_id: str, document_id: str)
agentclaw/knowledgebase/service.py:122
↓ 9 callersFunctionget_path
Read a dotted path from a nested dict.
agentclaw/graph/state_path.py:12
↓ 9 callersMethodget_redis_client
获取 Redis 客户端(从连接池) 为每个事件循环创建独立的客户端,避免跨循环问题。 客户端会自动从连接池获取和释放连接。 Returns: Redis 客户
agentclaw/database/manager.py:430
↓ 9 callersMethodload
加载配置(单例模式) Args: env_file: .env 文件路径,None 表示自动查找 reload: 是否强制重新加载
agentclaw/config.py:401
↓ 9 callersFunctionlocalizeDefaultText
(value, localizedValues, localeKey, t, aliases = [])
agentclaw/admin-dashboard/src/utils/builtinWorkflowI18n.js:73
↓ 9 callersMethodpg_fetch
查询 PostgreSQL
agentclaw/database/manager.py:692
↓ 9 callersMethodpg_fetchrow
查询单行
agentclaw/database/manager.py:700
↓ 9 callersMethodreset
重置环境(删除并重新创建)
agentclaw/skills/executor.py:280
↓ 9 callersMethoduse
注册组件
agentclaw/graph/workflow.py:1469
↓ 8 callersFunction_client_for_files_router
(monkeypatch, *, mime_type: str, original_name: str, data: bytes)
agentclaw/test/integration/test_file_download_api.py:13
↓ 8 callersFunction_compact_capability_text
(value: Any, limit: int)
agentclaw/node/llm.py:75
↓ 8 callersFunction_decode_process_output
Decode subprocess output without assuming every platform emits UTF-8.
agentclaw/mcp/builtin_servers/skill_tools.py:52
↓ 8 callersMethod_ensure_tables
(self)
agentclaw/api/services/public_room_service.py:303
↓ 8 callersMethod_get_client
(self)
agentclaw/knowledgebase/vector_store.py:44
↓ 8 callersFunction_get_env
获取环境变量,空字符串视为未设置
agentclaw/state/checkpointer.py:138
↓ 8 callersFunction_get_mcp_tool_timeout
(tool_name: Optional[str] = None)
agentclaw/mcp/client.py:34
↓ 8 callersMethod_handle_node_success
处理节点调用成功
agentclaw/node/llm.py:1784
↓ 8 callersMethod_handle_success
处理调用成功
agentclaw/model/manager.py:757
↓ 8 callersFunction_normalize_timeout
(timeout_ms: Optional[int], default: int = 8000)
agentclaw/mcp/browser_server.py:661
↓ 8 callersMethod_read_skill_file
Read a skill's documentation file
agentclaw/mcp/builtin_servers/skill_tools.py:2026
↓ 8 callersFunction_service
(tmp_path, manager=None)
agentclaw/test/api/test_settings_models_config.py:16
↓ 8 callersFunction_workflow_key
()
agentclaw/test/real/test_real_environment_api.py:72
↓ 8 callersMethodcreate
(self, *args, **kwargs)
agentclaw/model/manager.py:160
↓ 8 callersMethodensure_infra
(self)
agentclaw/api/services/public_room_service.py:299
↓ 8 callersMethodfrom_env
从环境变量加载
agentclaw/config.py:118
↓ 8 callersFunctionget_builtin_server_config
Get MCPServerConfig dict for a built-in server. Args: server_name: Name of the built-in server skills_dir: Skills directory
agentclaw/mcp/builtin_servers/registry.py:89
↓ 8 callersFunctionget_workflow_memory_path
(project_dir: Path, workflow_id: str)
agentclaw/memory/workflow_memory.py:15
↓ 8 callersFunctionhas_vote
(game: dict[str, Any], seat: int, phase: str)
agentclaw/agent_square/werewolf_agent/agents/werewolf_votes.py:28
↓ 8 callersFunctionimport_claw_app_to_project
Copy a packaged template into a project without registering it as builtin. Files are copied to ``<project>/agents/<app_id>/`` and ``agents/__init
agentclaw/agent_square/__init__.py:218
↓ 8 callersMethodlist_tools
获取所有工具
agentclaw/mcp/client.py:526
↓ 8 callersMethodlog_generation
记录 LLM 调用
agentclaw/runtime/tracing/base.py:131
↓ 8 callersFunctionmask_secret
Return a log-safe representation of a secret.
agentclaw/api/auth/utils.py:6
↓ 8 callersFunctionpublish_status
(stage: str, detail: str = "", **extra)
agentclaw/channels/feishu.py:78
↓ 8 callersFunctionrecord_vote
(game: dict[str, Any], seat: int, target: int, phase: str)
agentclaw/agent_square/werewolf_agent/agents/werewolf_votes.py:36
↓ 8 callersFunctionset_path
Set a dotted path on a nested dict, creating intermediate dicts.
agentclaw/graph/state_path.py:26
↓ 8 callersFunctiontarget_from_text
(text: str, targets: list[int])
agentclaw/agent_square/werewolf_agent/agents/werewolf_input.py:32
↓ 7 callersFunction_env_bool
(name: str, default: bool)
agentclaw/api/server.py:43
↓ 7 callersFunction_friendly_error
(err: Exception, ref: str)
agentclaw/mcp/browser_server.py:667
↓ 7 callersMethod_get_fallback_model_id
获取下一个降级模型 ID
agentclaw/model/manager.py:728
↓ 7 callersFunction_get_int_env
读取整数环境变量,非法值回退默认值。
agentclaw/cli.py:539
↓ 7 callersMethod_get_or_create_builtin_mcp_manager
获取或创建可复用的内置 MCP Manager,避免每轮请求重复拉起子进程。 使用模块级全局缓存,所有 LLMNode 实例共享同一套 builtin servers。
agentclaw/node/llm.py:406
↓ 7 callersMethod_get_prompt_manager
获取工作流的 PromptManager
agentclaw/api/services/prompt_service.py:19
↓ 7 callersMethod_get_windows_user32
(self)
agentclaw/mcp/builtin_servers/computer_tools.py:283
↓ 7 callersFunction_get_workflow
(workflow_id: str)
agentclaw/api/routers/public/rooms.py:116
↓ 7 callersMethod_require_knowledgebase
(self, knowledgebase_id: str)
agentclaw/knowledgebase/service.py:681
← previousnext →101–200 of 3,963, ranked by callers