Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Negai-ai/AgentClaw
/ functions
Functions
3,963 in github.com/Negai-ai/AgentClaw
⨍
Functions
3,963
◇
Types & classes
529
↳
Endpoints
205
↓ 5 callers
Method
_send_worker_command
(self, payload: dict)
agentclaw/channels/wecom.py:600
↓ 5 callers
Function
_session_identity
(request: Request)
agentclaw/api/routers/public/access.py:261
↓ 5 callers
Function
_str_to_type
字符串转类型
agentclaw/inputs/parser.py:354
↓ 5 callers
Function
_unique_keep_order
(values: list[str])
agentclaw/node/llm_tools.py:454
↓ 5 callers
Function
_verify_local_webhook_secret
(channel, request: Request)
agentclaw/channels/routes.py:58
↓ 5 callers
Function
_webhook_forbidden
(message: str = "webhook authentication required")
agentclaw/channels/routes.py:66
↓ 5 callers
Function
_workflow_not_found_response
(workflow_id: str)
agentclaw/api/routers/public/execution.py:138
↓ 5 callers
Method
add_edge
(self, from_node: str, to_node: Union[str, List[str]])
agentclaw/graph/template.py:48
↓ 5 callers
Function
advance_night_stage
( game: dict[str, Any], *, phase: str, user_roles: set[str], ai_role: str, request_kin
agentclaw/agent_square/werewolf_agent/agents/werewolf_machine.py:219
↓ 5 callers
Function
apply_self_explosion
(game: dict[str, Any], seat: int, speech: str = "")
agentclaw/agent_square/werewolf_agent/agents/werewolf_machine.py:441
↓ 5 callers
Function
apply_windows_selector_event_loop_policy
Use SelectorEventLoop on Windows for psycopg async compatibility.
agentclaw/platform_compat.py:22
↓ 5 callers
Method
build_interrupt_payload
(self, state: dict)
agentclaw/node/human.py:141
↓ 5 callers
Function
can_self_explode
(game: dict[str, Any], seat: int)
agentclaw/agent_square/werewolf_agent/agents/werewolf_machine.py:437
↓ 5 callers
Function
check_win_condition
(game: dict[str, Any])
agentclaw/agent_square/werewolf_agent/agents/werewolf_rules.py:36
↓ 5 callers
Function
clearAdminToken
()
agentclaw/admin-dashboard/src/api/index.js:26
↓ 5 callers
Method
connect
连接指定 Server
agentclaw/mcp/manager.py:70
↓ 5 callers
Method
convert
(self, path)
agentclaw/test/unit/test_document_node_asr.py:115
↓ 5 callers
Function
count_messages_tokens
计算消息列表的 token 数 Args: messages: 消息列表,格式为 [{"role": "user", "content": "..."}, ...] model: 模型名称,用于选择对应的 tokenizer
agentclaw/utils/token_counter.py:15
↓ 5 callers
Method
create
创建一个待确认操作
agentclaw/api/services/confirm_service.py:59
↓ 5 callers
Method
create_session
创建调试会话
agentclaw/runtime/debugger.py:134
↓ 5 callers
Method
delete_document_assets
(self, stored_path: str, parsed_path: str = "")
agentclaw/knowledgebase/storage.py:100
↓ 5 callers
Function
enforce_upload_content_length
Reject obviously oversized uploads before reading file bytes.
agentclaw/api/upload_limits.py:146
↓ 5 callers
Method
fetchval
(self, query: str, *params)
agentclaw/test/api/test_public_room_api.py:295
↓ 5 callers
Method
find_by_id
通过 ID 查找文件
agentclaw/database/file_storage.py:354
↓ 5 callers
Method
get_chunk
(self, chunk_id: str)
agentclaw/knowledgebase/store.py:315
↓ 5 callers
Function
get_confirmation_manager
()
agentclaw/api/services/confirm_service.py:125
↓ 5 callers
Method
get_document
(self, document_id: str)
agentclaw/knowledgebase/store.py:294
↓ 5 callers
Method
get_node
(self, workflow_id: str, node_id: str)
agentclaw/api/services/settings_service.py:1293
↓ 5 callers
Method
get_prompt
(self, workflow_id, prompt_key)
agentclaw/test/api/test_management_api_contracts.py:150
↓ 5 callers
Function
get_settings_env_reference
(project_dir: Path | None = None)
agentclaw/api/services/settings_service.py:410
↓ 5 callers
Function
get_tool_config_manager
获取工具配置管理器实例
agentclaw/api/services/tool_config_service.py:200
↓ 5 callers
Method
get_user_input_field
获取用户输入字段名
agentclaw/graph/workflow.py:602
↓ 5 callers
Function
get_version
Return the project version from the repository VERSION file.
agentclaw/version.py:8
↓ 5 callers
Function
isEventuallyConsistentReadError
(error)
agentclaw/admin-dashboard/src/utils/eventualConsistency.js:3
↓ 5 callers
Method
list_servers
列出所有已连接的 Server
agentclaw/mcp/manager.py:236
↓ 5 callers
Function
normalize_input_modes
规范化 HumanNode 输入模式,供前端渲染。
agentclaw/node/human.py:46
↓ 5 callers
Function
normalize_service_host
Map docker-compose service aliases to localhost when running on host.
agentclaw/platform_compat.py:152
↓ 5 callers
Function
output
输出内容给用户 Args: content: 输出内容(字符串或 async iterator) node: 节点名称(可选,用于标识输出来源) save_to_context: 是否保存到 __messages__
agentclaw/runtime/streaming/context.py:755
↓ 5 callers
Function
preprocess_tool_call
Normalize and minimally validate a model-produced tool call before execution.
agentclaw/runtime/harness/tool_call.py:84
↓ 5 callers
Function
public_room_owner_id
(room_id: str)
agentclaw/api/services/public_room_service.py:165
↓ 5 callers
Method
public_room_payload
(room: dict[str, Any])
agentclaw/api/services/public_room_service.py:969
↓ 5 callers
Method
publish_room_event
(self, room_id: str, event: dict[str, Any])
agentclaw/api/services/public_room_service.py:264
↓ 5 callers
Method
push_message
推送 message 事件(流式 token)
agentclaw/runtime/streaming/context.py:255
↓ 5 callers
Method
push_node_started
推送 node_started 事件
agentclaw/runtime/streaming/context.py:189
↓ 5 callers
Method
push_output
兼容旧 API - 推送输出
agentclaw/runtime/streaming/context.py:675
↓ 5 callers
Method
push_workflow_finished
推送 workflow_finished 事件
agentclaw/runtime/streaming/context.py:484
↓ 5 callers
Function
read_upload_file_limited
Read an UploadFile in chunks and stop as soon as the limit is exceeded.
agentclaw/api/upload_limits.py:164
↓ 5 callers
Function
register_claw_app_workflows
Import packaged Claw App workflow modules and register their workflows.
agentclaw/agent_square/__init__.py:321
↓ 5 callers
Function
render_env_file
Render a complete project .env file from the central registry.
agentclaw/env_config.py:308
↓ 5 callers
Function
run_subprocess_in_executor
Run subprocess.run() in a thread to avoid Windows SelectorEventLoop limitations. This is primarily used by tool servers on Windows, where ps
agentclaw/platform_compat.py:64
↓ 5 callers
Method
transaction
(self)
agentclaw/test/api/test_public_room_api.py:314
↓ 5 callers
Method
unsubscribe
(self, *_channels)
agentclaw/test/api/test_public_room_api.py:83
↓ 5 callers
Method
verify
验证 Token
agentclaw/api/auth/token.py:87
↓ 5 callers
Function
vote_matches
(game: dict[str, Any], vote: dict[str, Any], phase: str)
agentclaw/agent_square/werewolf_agent/agents/werewolf_votes.py:18
↓ 5 callers
Function
witch_private_info
(game: dict[str, Any])
agentclaw/agent_square/werewolf_agent/agents/werewolf_machine.py:115
↓ 4 callers
Method
__aenter__
(self)
agentclaw/mcp/client.py:571
↓ 4 callers
Method
_check_interrupt_marker
检查新版 LangGraph 的中断标记 新版 LangGraph 不再抛出 GraphInterrupt 异常, 而是在返回结果中添加 __interrupt__ 字段
agentclaw/graph/workflow.py:2105
↓ 4 callers
Function
_compact_text
Normalize whitespace and trim noisy descriptions.
agentclaw/api/builtin_agent.py:122
↓ 4 callers
Method
_compile_to_langgraph
将 Workflow 编译为 LangGraph StateGraph
agentclaw/graph/workflow.py:694
↓ 4 callers
Method
_compute_next_run
计算下次执行时间
agentclaw/scheduler/scheduler.py:393
↓ 4 callers
Function
_connect_browser
Connect to browser via CDP. Auto-launches if needed (local only).
agentclaw/mcp/browser_server.py:240
↓ 4 callers
Method
_default_replace_limit
(self)
agentclaw/mcp/builtin_servers/coding_tools.py:65
↓ 4 callers
Method
_empty_feedback_summary
()
agentclaw/api/services/workflow_service.py:40
↓ 4 callers
Method
_ensure_table
(self)
agentclaw/api/services/conversation_service.py:42
↓ 4 callers
Function
_env_int
(name: str, default: int)
agentclaw/api/routers/public/access.py:57
↓ 4 callers
Function
_extract_cached_tokens
(usage: Any)
agentclaw/model/manager.py:2119
↓ 4 callers
Method
_extract_variables
提取变量占位符
agentclaw/api/services/prompt_service.py:194
↓ 4 callers
Function
_feature_disabled_response
(feature: str)
agentclaw/api/routers/public/audio.py:171
↓ 4 callers
Method
_find_occurrence_lines
Return line numbers for first few occurrences to help disambiguate replacements.
agentclaw/mcp/builtin_servers/coding_tools.py:1958
↓ 4 callers
Method
_fire_and_forget
Fire-and-forget: 在后台执行协程,不阻塞当前流程 Returns: 创建的任务对象,可用于等待完成
agentclaw/runtime/tracing/db_tracer.py:192
↓ 4 callers
Function
_format_capability_value
(value: Any, limit: int = 80)
agentclaw/node/llm.py:82
↓ 4 callers
Function
_get_existing_env_value
读取现有配置值:当前进程环境优先,其次项目 .env。占位值视为未配置。
agentclaw/cli.py:175
↓ 4 callers
Function
_get_pg_connect_timeout
获取 PostgreSQL 连接超时秒数。
agentclaw/database/manager.py:151
↓ 4 callers
Method
_get_redis_client
获取 Redis 客户端(从 DatabaseManager 连接池) Returns: Redis 客户端,如果未配置或连接失败返回 None
agentclaw/prompt/manager.py:242
↓ 4 callers
Method
_get_skill_binding
Resolve a skill by name from project skills or builtin skills.
agentclaw/mcp/builtin_servers/skill_tools.py:357
↓ 4 callers
Function
_get_type_name
获取类型的字符串表示
agentclaw/state/schema.py:256
↓ 4 callers
Method
_handle_failure
处理调用失败
agentclaw/model/manager.py:743
↓ 4 callers
Method
_handle_interrupt
处理 GraphInterrupt 异常
agentclaw/graph/workflow.py:2238
↓ 4 callers
Method
_handle_node_failure
处理节点级失败,返回降级模型 ID(如果需要降级)
agentclaw/node/llm.py:1742
↓ 4 callers
Method
_has_collection
(self, collection_name: str)
agentclaw/knowledgebase/vector_store.py:61
↓ 4 callers
Method
_index_document_with_failure_status
( self, kb: KnowledgeBaseRecord, document: KnowledgeDocumentRecord, *,
agentclaw/knowledgebase/service.py:555
↓ 4 callers
Function
_infra_error
(exc: PublicRoomInfraError)
agentclaw/api/routers/admin/public_rooms.py:26
↓ 4 callers
Function
_is_builtin_workflow
(workflow: Any, workflow_id: str = "")
agentclaw/api/services/settings_service.py:852
↓ 4 callers
Method
_is_chat_model_id
(self, model_id: Optional[str])
agentclaw/model/manager.py:569
↓ 4 callers
Function
_is_mcp_remote_token
(token: str)
agentclaw/mcp/client.py:61
↓ 4 callers
Function
_kb_to_response
(service, record)
agentclaw/api/routers/admin/knowledgebases.py:50
↓ 4 callers
Function
_merge
(base: dict[str, Any], override: dict[str, Any])
agentclaw/api/services/settings_service.py:772
↓ 4 callers
Function
_node_kind
(node: Any)
agentclaw/api/services/settings_service.py:799
↓ 4 callers
Method
_normalize
(value: str)
agentclaw/audio/providers/registry.py:17
↓ 4 callers
Function
_normalize_tool_arguments
Normalize tool arguments into a dict for signature/analysis.
agentclaw/node/llm_tools.py:136
↓ 4 callers
Method
_parse_raw_response
解析代理返回的原始 SSE/JSON 字符串,提取实际内容
agentclaw/model/manager.py:582
↓ 4 callers
Function
_patch_signing_secret
(monkeypatch, secret: str = "admin-test-secret")
agentclaw/test/unit/test_signed_file_tokens.py:11
↓ 4 callers
Method
_process_channel_message
处理已解析的 ChannelMessage(内部方法,供子类直接调用)
agentclaw/channels/__init__.py:130
↓ 4 callers
Method
_process_resume_input
处理恢复输入,支持普通文本和结构化审批数据
agentclaw/node/human.py:203
↓ 4 callers
Function
_redis_client
()
agentclaw/api/routers/public/session.py:167
↓ 4 callers
Method
_register_apscheduler_job
将 ScheduledJob 注册到 APScheduler
agentclaw/scheduler/scheduler.py:309
↓ 4 callers
Method
_render
(template: str, variables: Dict[str, Any], *, strict: bool = True)
agentclaw/graph/template.py:135
↓ 4 callers
Function
_resolve_audio_service
(request: Request)
agentclaw/api/routers/public/audio.py:49
↓ 4 callers
Method
_resolve_existing_path
(self, path_str: str)
agentclaw/mcp/builtin_servers/skill_tools.py:1262
↓ 4 callers
Method
_resolve_local_path
获取本地文件路径,兼容旧数据和新数据
agentclaw/database/file_storage.py:317
← previous
next →
301–400 of 3,963, ranked by callers