Some checks failed
Docker Build and Publish / build-and-push (pull_request) Has been skipped
Docs Site Checks / docs-site-checks (pull_request) Failing after 1m47s
Nix / nix (ubuntu-latest) (pull_request) Failing after 26s
Supply Chain Audit / Scan PR for supply chain risks (pull_request) Failing after 0s
Tests / test (pull_request) Failing after 47s
Tests / e2e (pull_request) Failing after 3s
Nix / nix (macos-latest) (pull_request) Has been cancelled
- module_inventory.json: 679 Python files, 298k lines, 232k SLOC - core_analysis.json: deep AST parse of 9 core modules - SPEC.md: high-level architecture, module specs, coupling risks, Phase II prep Authored-by: Ezra <ezra@hermes.vps>
39340 lines
792 KiB
JSON
39340 lines
792 KiB
JSON
{
|
|
"dependencies": {
|
|
"hermes_constants.py": {
|
|
"imports": [
|
|
"os"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"mini_swe_runner.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"sys",
|
|
"time",
|
|
"uuid",
|
|
"fire"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"List",
|
|
"Dict",
|
|
"Any",
|
|
"Optional",
|
|
"Literal"
|
|
]
|
|
},
|
|
{
|
|
"module": "dotenv",
|
|
"names": [
|
|
"load_dotenv"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.local",
|
|
"names": [
|
|
"LocalEnvironment"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.docker",
|
|
"names": [
|
|
"DockerEnvironment"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai",
|
|
"names": [
|
|
"OpenAI"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"resolve_provider_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.modal",
|
|
"names": [
|
|
"ModalEnvironment"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai",
|
|
"names": [
|
|
"OpenAI"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"mcp_serve.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"re",
|
|
"sys",
|
|
"threading",
|
|
"time",
|
|
"asyncio"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass",
|
|
"field"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp.server.fastmcp",
|
|
"names": [
|
|
"FastMCP"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.send_message_tool",
|
|
"names": [
|
|
"send_message_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"trajectory_compressor.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"re",
|
|
"time",
|
|
"yaml",
|
|
"logging",
|
|
"asyncio",
|
|
"fire",
|
|
"random",
|
|
"tempfile",
|
|
"shutil"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"List",
|
|
"Dict",
|
|
"Any",
|
|
"Optional",
|
|
"Tuple",
|
|
"Callable"
|
|
]
|
|
},
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass",
|
|
"field"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.progress",
|
|
"names": [
|
|
"Progress",
|
|
"SpinnerColumn",
|
|
"TextColumn",
|
|
"BarColumn",
|
|
"TaskProgressColumn",
|
|
"TimeElapsedColumn",
|
|
"TimeRemainingColumn"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.console",
|
|
"names": [
|
|
"Console"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"OPENROUTER_BASE_URL"
|
|
]
|
|
},
|
|
{
|
|
"module": "dotenv",
|
|
"names": [
|
|
"load_dotenv"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"call_llm",
|
|
"async_call_llm"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai",
|
|
"names": [
|
|
"AsyncOpenAI"
|
|
]
|
|
},
|
|
{
|
|
"module": "transformers",
|
|
"names": [
|
|
"AutoTokenizer"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"resolve_provider_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai",
|
|
"names": [
|
|
"OpenAI"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"call_llm"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"async_call_llm"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"rl_cli.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"os",
|
|
"sys",
|
|
"fire",
|
|
"yaml",
|
|
"json",
|
|
"json",
|
|
"traceback",
|
|
"traceback"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.env_loader",
|
|
"names": [
|
|
"load_hermes_dotenv"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.rl_training_tool",
|
|
"names": [
|
|
"get_missing_keys"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home",
|
|
"OPENROUTER_BASE_URL"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.rl_training_tool",
|
|
"names": [
|
|
"rl_list_environments"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.rl_training_tool",
|
|
"names": [
|
|
"rl_list_runs"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"utils.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"tempfile",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Union"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_time.py": {
|
|
"imports": [
|
|
"logging",
|
|
"os",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "zoneinfo",
|
|
"names": [
|
|
"ZoneInfo"
|
|
]
|
|
},
|
|
{
|
|
"module": "backports.zoneinfo",
|
|
"names": [
|
|
"ZoneInfo"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"run_agent.py": {
|
|
"imports": [
|
|
"atexit",
|
|
"asyncio",
|
|
"base64",
|
|
"concurrent.futures",
|
|
"copy",
|
|
"hashlib",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"random",
|
|
"re",
|
|
"sys",
|
|
"tempfile",
|
|
"time",
|
|
"threading",
|
|
"weakref",
|
|
"uuid",
|
|
"fire",
|
|
"threading",
|
|
"re",
|
|
"hashlib",
|
|
"socket",
|
|
"httpx",
|
|
"contextlib",
|
|
"os",
|
|
"httpx",
|
|
"httpx",
|
|
"socket"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"List",
|
|
"Dict",
|
|
"Any",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai",
|
|
"names": [
|
|
"OpenAI"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.env_loader",
|
|
"names": [
|
|
"load_hermes_dotenv"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"get_tool_definitions",
|
|
"get_toolset_for_tool",
|
|
"handle_function_call",
|
|
"check_toolset_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"cleanup_vm"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.interrupt",
|
|
"names": [
|
|
"set_interrupt"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"cleanup_browser"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"OPENROUTER_BASE_URL"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.prompt_builder",
|
|
"names": [
|
|
"DEFAULT_AGENT_IDENTITY",
|
|
"PLATFORM_HINTS",
|
|
"MEMORY_GUIDANCE",
|
|
"SESSION_SEARCH_GUIDANCE",
|
|
"SKILLS_GUIDANCE",
|
|
"build_nous_subscription_prompt"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"fetch_model_metadata",
|
|
"estimate_tokens_rough",
|
|
"estimate_messages_tokens_rough",
|
|
"estimate_request_tokens_rough",
|
|
"get_next_probe_tier",
|
|
"parse_context_limit_from_error",
|
|
"save_context_length",
|
|
"is_local_endpoint"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.context_compressor",
|
|
"names": [
|
|
"ContextCompressor"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.prompt_caching",
|
|
"names": [
|
|
"apply_anthropic_cache_control"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.prompt_builder",
|
|
"names": [
|
|
"build_skills_system_prompt",
|
|
"build_context_files_prompt",
|
|
"load_soul_md",
|
|
"TOOL_USE_ENFORCEMENT_GUIDANCE",
|
|
"TOOL_USE_ENFORCEMENT_MODELS",
|
|
"DEVELOPER_ROLE_MODELS",
|
|
"GOOGLE_MODEL_OPERATIONAL_GUIDANCE"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.usage_pricing",
|
|
"names": [
|
|
"estimate_usage_cost",
|
|
"normalize_usage"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.display",
|
|
"names": [
|
|
"KawaiiSpinner",
|
|
"build_tool_preview",
|
|
"get_cute_tool_message",
|
|
"_detect_tool_failure",
|
|
"get_tool_emoji"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.trajectory",
|
|
"names": [
|
|
"convert_scratchpad_to_think",
|
|
"has_incomplete_scratchpad",
|
|
"save_trajectory"
|
|
]
|
|
},
|
|
{
|
|
"module": "utils",
|
|
"names": [
|
|
"atomic_json_write",
|
|
"env_var_enabled"
|
|
]
|
|
},
|
|
{
|
|
"module": "logging.handlers",
|
|
"names": [
|
|
"RotatingFileHandler"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.redact",
|
|
"names": [
|
|
"RedactingFormatter"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.checkpoint_manager",
|
|
"names": [
|
|
"CheckpointManager"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.todo_tool",
|
|
"names": [
|
|
"TodoStore"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_time",
|
|
"names": [
|
|
"now"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.delegate_tool",
|
|
"names": [
|
|
"MAX_CONCURRENT_CHILDREN"
|
|
]
|
|
},
|
|
{
|
|
"module": "difflib",
|
|
"names": [
|
|
"get_close_matches"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"Mock"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"Mock"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"_is_oauth_token"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"_OR_HEADERS"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.display",
|
|
"names": [
|
|
"format_context_pressure",
|
|
"format_context_pressure_gateway"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"get_all_tool_names",
|
|
"get_toolset_for_tool",
|
|
"get_available_toolsets"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolsets",
|
|
"names": [
|
|
"get_all_toolsets",
|
|
"get_toolset_info"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"build_anthropic_client",
|
|
"resolve_anthropic_token"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"_is_oauth_token"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.copilot_acp_client",
|
|
"names": [
|
|
"CopilotACPClient"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"resolve_codex_runtime_credentials"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"resolve_nous_runtime_credentials"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"resolve_anthropic_token",
|
|
"build_anthropic_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"build_anthropic_client",
|
|
"_is_oauth_token"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"resolve_provider_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.vision_tools",
|
|
"names": [
|
|
"vision_analyze_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"build_anthropic_kwargs"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"github_model_reasoning_efforts"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"call_llm"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"reset_file_dedup"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.todo_tool",
|
|
"names": [
|
|
"todo_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins",
|
|
"names": [
|
|
"invoke_hook"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins",
|
|
"names": [
|
|
"invoke_hook"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"resolve_provider_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"copilot_default_headers"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"build_anthropic_client",
|
|
"resolve_anthropic_token",
|
|
"_is_oauth_token"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"get_model_context_length"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"build_anthropic_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"build_anthropic_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"github_model_reasoning_efforts"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.session_search_tool",
|
|
"names": [
|
|
"session_search"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.todo_tool",
|
|
"names": [
|
|
"todo_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins",
|
|
"names": [
|
|
"invoke_hook"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.memory_tool",
|
|
"names": [
|
|
"MemoryStore"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.memory_manager",
|
|
"names": [
|
|
"MemoryManager"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory",
|
|
"names": [
|
|
"load_memory_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"_get_anthropic_max_output"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"build_anthropic_kwargs"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"normalize_anthropic_response"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.memory_tool",
|
|
"names": [
|
|
"memory_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"build_anthropic_kwargs",
|
|
"normalize_anthropic_response"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins",
|
|
"names": [
|
|
"invoke_hook"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"copilot_default_headers"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.client",
|
|
"names": [
|
|
"HonchoClientConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"build_anthropic_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"build_anthropic_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.memory_tool",
|
|
"names": [
|
|
"memory_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.session_search_tool",
|
|
"names": [
|
|
"session_search"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.memory_tool",
|
|
"names": [
|
|
"memory_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"build_anthropic_kwargs",
|
|
"normalize_anthropic_response"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"Mock"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"normalize_anthropic_response"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.profiles",
|
|
"names": [
|
|
"get_active_profile_name"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.clarify_tool",
|
|
"names": [
|
|
"clarify_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.clarify_tool",
|
|
"names": [
|
|
"clarify_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"_is_oauth_token"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"display_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config",
|
|
"save_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai",
|
|
"names": [
|
|
"APIError"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.delegate_tool",
|
|
"names": [
|
|
"delegate_task"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.delegate_tool",
|
|
"names": [
|
|
"delegate_task"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"toolset_distributions.py": {
|
|
"imports": [
|
|
"random"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolsets",
|
|
"names": [
|
|
"validate_toolset"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"cli.py": {
|
|
"imports": [
|
|
"logging",
|
|
"os",
|
|
"shutil",
|
|
"sys",
|
|
"json",
|
|
"atexit",
|
|
"tempfile",
|
|
"time",
|
|
"uuid",
|
|
"textwrap",
|
|
"yaml",
|
|
"threading",
|
|
"queue",
|
|
"fire",
|
|
"subprocess",
|
|
"subprocess",
|
|
"subprocess",
|
|
"subprocess",
|
|
"time",
|
|
"time",
|
|
"re",
|
|
"textwrap",
|
|
"time",
|
|
"asyncio",
|
|
"json",
|
|
"shlex",
|
|
"shlex",
|
|
"shutil",
|
|
"subprocess",
|
|
"platform",
|
|
"os",
|
|
"time",
|
|
"yaml",
|
|
"time",
|
|
"time",
|
|
"time",
|
|
"asyncio",
|
|
"re",
|
|
"socket",
|
|
"re",
|
|
"time",
|
|
"time",
|
|
"sys",
|
|
"os",
|
|
"signal",
|
|
"time",
|
|
"time",
|
|
"signal",
|
|
"json",
|
|
"time",
|
|
"re",
|
|
"asyncio",
|
|
"time",
|
|
"time",
|
|
"socket",
|
|
"time",
|
|
"time",
|
|
"subprocess"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "contextlib",
|
|
"names": [
|
|
"contextmanager"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"List",
|
|
"Dict",
|
|
"Any",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.history",
|
|
"names": [
|
|
"FileHistory"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.styles",
|
|
"names": [
|
|
"Style"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.patch_stdout",
|
|
"names": [
|
|
"patch_stdout"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.application",
|
|
"names": [
|
|
"Application"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.layout",
|
|
"names": [
|
|
"Layout",
|
|
"HSplit",
|
|
"Window",
|
|
"FormattedTextControl",
|
|
"ConditionalContainer"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.layout.processors",
|
|
"names": [
|
|
"Processor",
|
|
"Transformation",
|
|
"PasswordProcessor",
|
|
"ConditionalProcessor"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.filters",
|
|
"names": [
|
|
"Condition"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.layout.dimension",
|
|
"names": [
|
|
"Dimension"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.layout.menus",
|
|
"names": [
|
|
"CompletionsMenu"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.widgets",
|
|
"names": [
|
|
"TextArea"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.key_binding",
|
|
"names": [
|
|
"KeyBindings"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit",
|
|
"names": [
|
|
"print_formatted_text"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.formatted_text",
|
|
"names": [
|
|
"ANSI"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.usage_pricing",
|
|
"names": [
|
|
"CanonicalUsage",
|
|
"estimate_usage_cost",
|
|
"format_duration_compact",
|
|
"format_token_count_compact"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.banner",
|
|
"names": [
|
|
"_format_context_length"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home",
|
|
"display_hermes_home",
|
|
"OPENROUTER_BASE_URL"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.env_loader",
|
|
"names": [
|
|
"load_hermes_dotenv"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich",
|
|
"names": [
|
|
"box"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.console",
|
|
"names": [
|
|
"Console"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.markup",
|
|
"names": [
|
|
"escape"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.panel",
|
|
"names": [
|
|
"Panel"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.text",
|
|
"names": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"get_tool_definitions",
|
|
"get_toolset_for_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.banner",
|
|
"names": [
|
|
"build_welcome_banner"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.commands",
|
|
"names": [
|
|
"SlashCommandCompleter",
|
|
"SlashCommandAutoSuggest"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolsets",
|
|
"names": [
|
|
"get_all_toolsets",
|
|
"get_toolset_info",
|
|
"validate_toolset"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron",
|
|
"names": [
|
|
"get_job"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"cleanup_all_environments"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"set_sudo_password_callback",
|
|
"set_approval_callback"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"set_secret_capture_callback"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.callbacks",
|
|
"names": [
|
|
"prompt_for_secret"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"_emergency_cleanup_all_sessions"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_commands",
|
|
"names": [
|
|
"scan_skill_commands",
|
|
"build_skill_invocation_message",
|
|
"build_plan_path",
|
|
"build_preloaded_skills_prompt"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.cursor_shapes",
|
|
"names": [
|
|
"CursorShape"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"parse_reasoning_effort"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"_expand_env_vars"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"init_skin_from_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.display",
|
|
"names": [
|
|
"set_tool_preview_max_len"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"neuter_async_httpx_del"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"shutdown_mcp_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"shutdown_cached_clients"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"get_active_skin"
|
|
]
|
|
},
|
|
{
|
|
"module": "io",
|
|
"names": [
|
|
"StringIO"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins",
|
|
"names": [
|
|
"get_plugin_manager"
|
|
]
|
|
},
|
|
{
|
|
"module": "utils",
|
|
"names": [
|
|
"atomic_yaml_write"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.runtime_provider",
|
|
"names": [
|
|
"resolve_runtime_provider",
|
|
"format_runtime_provider_error"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.smart_model_routing",
|
|
"names": [
|
|
"resolve_turn_route"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.panel",
|
|
"names": [
|
|
"Panel"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.text",
|
|
"names": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.clipboard",
|
|
"names": [
|
|
"save_clipboard_image"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.checkpoint_manager",
|
|
"names": [
|
|
"format_checkpoint_list"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.process_registry",
|
|
"names": [
|
|
"process_registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.clipboard",
|
|
"names": [
|
|
"has_clipboard_image"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.vision_tools",
|
|
"names": [
|
|
"vision_analyze_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.commands",
|
|
"names": [
|
|
"COMMANDS_BY_CATEGORY"
|
|
]
|
|
},
|
|
{
|
|
"module": "argparse",
|
|
"names": [
|
|
"Namespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.tools_config",
|
|
"names": [
|
|
"tools_disable_enable_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.tools_config",
|
|
"names": [
|
|
"_get_platform_tools"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home",
|
|
"display_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_relative_time"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_resolve_session_by_name_or_id"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"curated_models_for_provider",
|
|
"list_available_providers",
|
|
"normalize_provider",
|
|
"_PROVIDER_LABELS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"resolve_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.cronjob_tools",
|
|
"names": [
|
|
"cronjob"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_hub",
|
|
"names": [
|
|
"handle_skills_slash"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"load_gateway_config",
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.commands",
|
|
"names": [
|
|
"resolve_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.colors",
|
|
"names": [
|
|
"Colors"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_config_path"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.display",
|
|
"names": [
|
|
"get_tool_emoji"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"AudioRecorder",
|
|
"check_voice_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"check_voice_requirements",
|
|
"detect_audio_environment"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"check_voice_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins",
|
|
"names": [
|
|
"get_plugin_manager"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_config_path"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.keys",
|
|
"names": [
|
|
"Keys"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.auto_suggest",
|
|
"names": [
|
|
"AutoSuggestFromHistory"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"start_gateway"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.tools_config",
|
|
"names": [
|
|
"_get_platform_tools"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.utils",
|
|
"names": [
|
|
"get_cwidth"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.utils",
|
|
"names": [
|
|
"get_cwidth"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"get_active_skin"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"check_tool_availability"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"get_active_help_header"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"list_skins",
|
|
"set_active_skin",
|
|
"get_active_skin_name"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"estimate_messages_tokens_rough"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.insights",
|
|
"names": [
|
|
"InsightsEngine"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"shutdown_mcp_servers",
|
|
"discover_mcp_tools",
|
|
"_servers",
|
|
"_lock"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.display",
|
|
"names": [
|
|
"get_tool_emoji"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.display",
|
|
"names": [
|
|
"get_tool_preview_max_len"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"play_beep"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.display",
|
|
"names": [
|
|
"capture_local_edit_snapshot"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.display",
|
|
"names": [
|
|
"render_edit_diff_with_delta"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"play_beep"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"transcribe_recording"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tts_tool",
|
|
"names": [
|
|
"text_to_speech_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"play_audio_file"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"stop_playback"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tts_tool",
|
|
"names": [
|
|
"check_tts_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"_sanitize_surrogates"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"get_active_prompt_symbol"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.profiles",
|
|
"names": [
|
|
"get_active_profile_name"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"get_prompt_toolkit_style_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"get_active_skin"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"ensure_installed"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.application",
|
|
"names": [
|
|
"run_in_terminal"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"get_active_skin"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.data_structures",
|
|
"names": [
|
|
"Point"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.runtime_provider",
|
|
"names": [
|
|
"_auto_detect_local_model"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.application",
|
|
"names": [
|
|
"get_app"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"copilot_model_api_mode",
|
|
"normalize_copilot_model_id"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"normalize_opencode_model_id",
|
|
"opencode_model_api_mode"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.codex_models",
|
|
"names": [
|
|
"get_codex_model_ids"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"get_active_skin"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"cleanup_all_browsers"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"get_tool_definitions"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"play_beep"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.context_references",
|
|
"names": [
|
|
"preprocess_context_references"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"get_model_context_length"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"cleanup_stale_async_clients"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"get_active_goodbye"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"cleanup_temp_recordings"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.application",
|
|
"names": [
|
|
"get_app"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.todo_tool",
|
|
"names": [
|
|
"TodoStore"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.todo_tool",
|
|
"names": [
|
|
"TodoStore"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.todo_tool",
|
|
"names": [
|
|
"TodoStore"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tts_tool",
|
|
"names": [
|
|
"_load_tts_config",
|
|
"_get_provider",
|
|
"_import_elevenlabs",
|
|
"_import_sounddevice",
|
|
"stream_tts_to_speaker"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.title_generator",
|
|
"names": [
|
|
"maybe_auto_title"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"get_active_skin"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins",
|
|
"names": [
|
|
"invoke_hook"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"_get_custom_base_url"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"get_active_skin"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"get_active_skin"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"cleanup_all_browsers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"stop_playback"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins",
|
|
"names": [
|
|
"get_plugin_manager"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins",
|
|
"names": [
|
|
"get_plugin_command_handler"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.commands",
|
|
"names": [
|
|
"COMMANDS"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"toolsets.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"List",
|
|
"Dict",
|
|
"Any",
|
|
"Set",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_state.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"random",
|
|
"re",
|
|
"sqlite3",
|
|
"threading",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Callable",
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"TypeVar"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"batch_runner.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"time",
|
|
"traceback",
|
|
"fire",
|
|
"subprocess"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"List",
|
|
"Dict",
|
|
"Any",
|
|
"Optional",
|
|
"Tuple"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "multiprocessing",
|
|
"names": [
|
|
"Pool",
|
|
"Lock"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.progress",
|
|
"names": [
|
|
"Progress",
|
|
"SpinnerColumn",
|
|
"BarColumn",
|
|
"TextColumn",
|
|
"TimeRemainingColumn",
|
|
"MofNCompleteColumn"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.console",
|
|
"names": [
|
|
"Console"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolset_distributions",
|
|
"names": [
|
|
"list_distributions",
|
|
"sample_toolsets_from_distribution",
|
|
"validate_distribution"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"TOOL_TO_TOOLSET_MAP"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"register_task_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "utils",
|
|
"names": [
|
|
"atomic_json_write"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolset_distributions",
|
|
"names": [
|
|
"list_distributions",
|
|
"print_distribution_info"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"model_tools.py": {
|
|
"imports": [
|
|
"json",
|
|
"asyncio",
|
|
"logging",
|
|
"threading",
|
|
"importlib",
|
|
"concurrent.futures"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"Any",
|
|
"List",
|
|
"Optional",
|
|
"Tuple"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolsets",
|
|
"names": [
|
|
"resolve_toolset",
|
|
"validate_toolset"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"discover_mcp_tools"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins",
|
|
"names": [
|
|
"discover_plugins"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.code_execution_tool",
|
|
"names": [
|
|
"SANDBOX_ALLOWED_TOOLS",
|
|
"build_execute_code_schema"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolsets",
|
|
"names": [
|
|
"get_all_toolsets"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolsets",
|
|
"names": [
|
|
"get_all_toolsets"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"notify_other_tool_call"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins",
|
|
"names": [
|
|
"invoke_hook"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins",
|
|
"names": [
|
|
"invoke_hook"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"environments/web_research_env.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"random",
|
|
"re",
|
|
"sys",
|
|
"time",
|
|
"uuid"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Tuple"
|
|
]
|
|
},
|
|
{
|
|
"module": "urllib.parse",
|
|
"names": [
|
|
"urlparse"
|
|
]
|
|
},
|
|
{
|
|
"module": "pydantic",
|
|
"names": [
|
|
"Field"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.envs.base",
|
|
"names": [
|
|
"ScoredDataGroup"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.envs.server_handling.server_manager",
|
|
"names": [
|
|
"APIServerConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.type_definitions",
|
|
"names": [
|
|
"Item"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.hermes_base_env",
|
|
"names": [
|
|
"HermesAgentBaseEnv",
|
|
"HermesAgentEnvConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.agent_loop",
|
|
"names": [
|
|
"AgentResult"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_context",
|
|
"names": [
|
|
"ToolContext"
|
|
]
|
|
},
|
|
{
|
|
"module": "datasets",
|
|
"names": [
|
|
"load_dataset"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.agent_loop",
|
|
"names": [
|
|
"HermesAgentLoop"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_context",
|
|
"names": [
|
|
"ToolContext"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"environments/tool_context.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"asyncio",
|
|
"concurrent.futures",
|
|
"concurrent.futures",
|
|
"os",
|
|
"base64",
|
|
"base64"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"handle_function_call"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"cleanup_vm"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"cleanup_browser"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.process_registry",
|
|
"names": [
|
|
"process_registry"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"environments/hermes_base_env.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"sys",
|
|
"uuid"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "abc",
|
|
"names": [
|
|
"abstractmethod"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Set",
|
|
"Tuple",
|
|
"Union"
|
|
]
|
|
},
|
|
{
|
|
"module": "dotenv",
|
|
"names": [
|
|
"load_dotenv"
|
|
]
|
|
},
|
|
{
|
|
"module": "pydantic",
|
|
"names": [
|
|
"Field"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.patches",
|
|
"names": [
|
|
"apply_patches"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.envs.base",
|
|
"names": [
|
|
"BaseEnv",
|
|
"BaseEnvConfig",
|
|
"ScoredDataGroup",
|
|
"ScoredDataItem"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.envs.server_handling.server_manager",
|
|
"names": [
|
|
"APIServerConfig",
|
|
"ServerBaseline",
|
|
"ServerManager"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.type_definitions",
|
|
"names": [
|
|
"Item"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.agent_loop",
|
|
"names": [
|
|
"AgentResult",
|
|
"HermesAgentLoop"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_context",
|
|
"names": [
|
|
"ToolContext"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"get_tool_definitions"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolset_distributions",
|
|
"names": [
|
|
"sample_toolsets_from_distribution"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.agent_loop",
|
|
"names": [
|
|
"resize_tool_pool"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.envs.server_handling.openai_server",
|
|
"names": [
|
|
"OpenAIServer"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"environments/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "environments.agent_loop",
|
|
"names": [
|
|
"AgentResult",
|
|
"HermesAgentLoop"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_context",
|
|
"names": [
|
|
"ToolContext"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.hermes_base_env",
|
|
"names": [
|
|
"HermesAgentBaseEnv",
|
|
"HermesAgentEnvConfig"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"environments/agentic_opd_env.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"copy",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"random",
|
|
"re",
|
|
"sys",
|
|
"time",
|
|
"uuid"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Set",
|
|
"Tuple",
|
|
"Union"
|
|
]
|
|
},
|
|
{
|
|
"module": "pydantic",
|
|
"names": [
|
|
"Field"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.envs.base",
|
|
"names": [
|
|
"ScoredDataGroup",
|
|
"ScoredDataItem"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.envs.server_handling.server_manager",
|
|
"names": [
|
|
"APIServerConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.type_definitions",
|
|
"names": [
|
|
"Item"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.hermes_base_env",
|
|
"names": [
|
|
"HermesAgentBaseEnv",
|
|
"HermesAgentEnvConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.agent_loop",
|
|
"names": [
|
|
"AgentResult",
|
|
"HermesAgentLoop"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_context",
|
|
"names": [
|
|
"ToolContext"
|
|
]
|
|
},
|
|
{
|
|
"module": "datasets",
|
|
"names": [
|
|
"load_dataset"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"environments/agent_loop.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"concurrent.futures",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"uuid",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass",
|
|
"field"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Set"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"handle_function_call"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.todo_tool",
|
|
"names": [
|
|
"TodoStore",
|
|
"todo_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_call_parsers",
|
|
"names": [
|
|
"get_parser"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"environments/patches.py": {
|
|
"imports": [
|
|
"logging"
|
|
],
|
|
"from_imports": []
|
|
},
|
|
"environments/benchmarks/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": []
|
|
},
|
|
"environments/benchmarks/terminalbench_2/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": []
|
|
},
|
|
"environments/benchmarks/terminalbench_2/terminalbench2_env.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"base64",
|
|
"io",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"shutil",
|
|
"sys",
|
|
"tarfile",
|
|
"tempfile",
|
|
"time",
|
|
"uuid",
|
|
"datetime"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "collections",
|
|
"names": [
|
|
"defaultdict"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Tuple",
|
|
"Union"
|
|
]
|
|
},
|
|
{
|
|
"module": "pydantic",
|
|
"names": [
|
|
"Field"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.envs.base",
|
|
"names": [
|
|
"EvalHandlingEnum"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.envs.server_handling.server_manager",
|
|
"names": [
|
|
"APIServerConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.agent_loop",
|
|
"names": [
|
|
"AgentResult",
|
|
"HermesAgentLoop"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.hermes_base_env",
|
|
"names": [
|
|
"HermesAgentBaseEnv",
|
|
"HermesAgentEnvConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_context",
|
|
"names": [
|
|
"ToolContext"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"register_task_env_overrides",
|
|
"clear_task_env_overrides",
|
|
"cleanup_vm"
|
|
]
|
|
},
|
|
{
|
|
"module": "datasets",
|
|
"names": [
|
|
"load_dataset"
|
|
]
|
|
},
|
|
{
|
|
"module": "tqdm",
|
|
"names": [
|
|
"tqdm"
|
|
]
|
|
},
|
|
{
|
|
"module": "tqdm",
|
|
"names": [
|
|
"tqdm"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"cleanup_all_environments"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.agent_loop",
|
|
"names": [
|
|
"_tool_executor"
|
|
]
|
|
},
|
|
{
|
|
"module": "tqdm",
|
|
"names": [
|
|
"tqdm"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"cleanup_all_environments"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"environments/benchmarks/yc_bench/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": []
|
|
},
|
|
"environments/benchmarks/yc_bench/yc_bench_env.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"datetime",
|
|
"json",
|
|
"logging",
|
|
"math",
|
|
"os",
|
|
"sqlite3",
|
|
"subprocess",
|
|
"sys",
|
|
"threading",
|
|
"time",
|
|
"uuid"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "collections",
|
|
"names": [
|
|
"defaultdict"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Tuple"
|
|
]
|
|
},
|
|
{
|
|
"module": "pydantic",
|
|
"names": [
|
|
"Field"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.envs.base",
|
|
"names": [
|
|
"EvalHandlingEnum"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.envs.server_handling.server_manager",
|
|
"names": [
|
|
"APIServerConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.agent_loop",
|
|
"names": [
|
|
"HermesAgentLoop"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.hermes_base_env",
|
|
"names": [
|
|
"HermesAgentBaseEnv",
|
|
"HermesAgentEnvConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "tqdm",
|
|
"names": [
|
|
"tqdm"
|
|
]
|
|
},
|
|
{
|
|
"module": "tqdm",
|
|
"names": [
|
|
"tqdm"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"cleanup_all_environments"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.agent_loop",
|
|
"names": [
|
|
"_tool_executor"
|
|
]
|
|
},
|
|
{
|
|
"module": "tqdm",
|
|
"names": [
|
|
"tqdm"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"cleanup_all_environments"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"environments/benchmarks/tblite/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": []
|
|
},
|
|
"environments/benchmarks/tblite/tblite_env.py": {
|
|
"imports": [
|
|
"os",
|
|
"sys"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"List",
|
|
"Tuple"
|
|
]
|
|
},
|
|
{
|
|
"module": "pydantic",
|
|
"names": [
|
|
"Field"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.envs.base",
|
|
"names": [
|
|
"EvalHandlingEnum"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.envs.server_handling.server_manager",
|
|
"names": [
|
|
"APIServerConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.benchmarks.terminalbench_2.terminalbench2_env",
|
|
"names": [
|
|
"TerminalBench2EvalConfig",
|
|
"TerminalBench2EvalEnv"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"environments/tool_call_parsers/glm45_parser.py": {
|
|
"imports": [
|
|
"ast",
|
|
"json",
|
|
"re",
|
|
"uuid"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai.types.chat.chat_completion_message_tool_call",
|
|
"names": [
|
|
"ChatCompletionMessageToolCall",
|
|
"Function"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_call_parsers",
|
|
"names": [
|
|
"ParseResult",
|
|
"ToolCallParser",
|
|
"register_parser"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"environments/tool_call_parsers/glm47_parser.py": {
|
|
"imports": [
|
|
"re"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "environments.tool_call_parsers",
|
|
"names": [
|
|
"ParseResult",
|
|
"register_parser"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_call_parsers.glm45_parser",
|
|
"names": [
|
|
"Glm45ToolCallParser"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"environments/tool_call_parsers/llama_parser.py": {
|
|
"imports": [
|
|
"json",
|
|
"re",
|
|
"uuid"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai.types.chat.chat_completion_message_tool_call",
|
|
"names": [
|
|
"ChatCompletionMessageToolCall",
|
|
"Function"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_call_parsers",
|
|
"names": [
|
|
"ParseResult",
|
|
"ToolCallParser",
|
|
"register_parser"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"environments/tool_call_parsers/deepseek_v3_parser.py": {
|
|
"imports": [
|
|
"re",
|
|
"uuid",
|
|
"logging"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"List",
|
|
"Optional",
|
|
"Tuple"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai.types.chat.chat_completion_message_tool_call",
|
|
"names": [
|
|
"ChatCompletionMessageToolCall",
|
|
"Function"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_call_parsers",
|
|
"names": [
|
|
"ParseResult",
|
|
"ToolCallParser",
|
|
"register_parser"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"environments/tool_call_parsers/qwen_parser.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "environments.tool_call_parsers",
|
|
"names": [
|
|
"register_parser"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_call_parsers.hermes_parser",
|
|
"names": [
|
|
"HermesToolCallParser"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"environments/tool_call_parsers/__init__.py": {
|
|
"imports": [
|
|
"logging"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "abc",
|
|
"names": [
|
|
"ABC",
|
|
"abstractmethod"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Tuple",
|
|
"Type"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai.types.chat.chat_completion_message_tool_call",
|
|
"names": [
|
|
"ChatCompletionMessageToolCall"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_call_parsers.hermes_parser",
|
|
"names": [
|
|
"HermesToolCallParser"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_call_parsers.longcat_parser",
|
|
"names": [
|
|
"LongcatToolCallParser"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_call_parsers.mistral_parser",
|
|
"names": [
|
|
"MistralToolCallParser"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_call_parsers.llama_parser",
|
|
"names": [
|
|
"LlamaToolCallParser"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_call_parsers.qwen_parser",
|
|
"names": [
|
|
"QwenToolCallParser"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_call_parsers.deepseek_v3_parser",
|
|
"names": [
|
|
"DeepSeekV3ToolCallParser"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_call_parsers.deepseek_v3_1_parser",
|
|
"names": [
|
|
"DeepSeekV31ToolCallParser"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_call_parsers.kimi_k2_parser",
|
|
"names": [
|
|
"KimiK2ToolCallParser"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_call_parsers.glm45_parser",
|
|
"names": [
|
|
"Glm45ToolCallParser"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_call_parsers.glm47_parser",
|
|
"names": [
|
|
"Glm47ToolCallParser"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_call_parsers.qwen3_coder_parser",
|
|
"names": [
|
|
"Qwen3CoderToolCallParser"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"environments/tool_call_parsers/kimi_k2_parser.py": {
|
|
"imports": [
|
|
"re",
|
|
"uuid"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai.types.chat.chat_completion_message_tool_call",
|
|
"names": [
|
|
"ChatCompletionMessageToolCall",
|
|
"Function"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_call_parsers",
|
|
"names": [
|
|
"ParseResult",
|
|
"ToolCallParser",
|
|
"register_parser"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"environments/tool_call_parsers/longcat_parser.py": {
|
|
"imports": [
|
|
"json",
|
|
"re",
|
|
"uuid"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai.types.chat.chat_completion_message_tool_call",
|
|
"names": [
|
|
"ChatCompletionMessageToolCall",
|
|
"Function"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_call_parsers",
|
|
"names": [
|
|
"ParseResult",
|
|
"ToolCallParser",
|
|
"register_parser"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"environments/tool_call_parsers/qwen3_coder_parser.py": {
|
|
"imports": [
|
|
"ast",
|
|
"json",
|
|
"re",
|
|
"uuid"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai.types.chat.chat_completion_message_tool_call",
|
|
"names": [
|
|
"ChatCompletionMessageToolCall",
|
|
"Function"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_call_parsers",
|
|
"names": [
|
|
"ParseResult",
|
|
"ToolCallParser",
|
|
"register_parser"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"environments/tool_call_parsers/mistral_parser.py": {
|
|
"imports": [
|
|
"json",
|
|
"uuid",
|
|
"random",
|
|
"string"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai.types.chat.chat_completion_message_tool_call",
|
|
"names": [
|
|
"ChatCompletionMessageToolCall",
|
|
"Function"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_call_parsers",
|
|
"names": [
|
|
"ParseResult",
|
|
"ToolCallParser",
|
|
"register_parser"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"environments/tool_call_parsers/deepseek_v3_1_parser.py": {
|
|
"imports": [
|
|
"re",
|
|
"uuid"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai.types.chat.chat_completion_message_tool_call",
|
|
"names": [
|
|
"ChatCompletionMessageToolCall",
|
|
"Function"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_call_parsers",
|
|
"names": [
|
|
"ParseResult",
|
|
"ToolCallParser",
|
|
"register_parser"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"environments/tool_call_parsers/hermes_parser.py": {
|
|
"imports": [
|
|
"json",
|
|
"re",
|
|
"uuid"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"List",
|
|
"Optional",
|
|
"Tuple"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai.types.chat.chat_completion_message_tool_call",
|
|
"names": [
|
|
"ChatCompletionMessageToolCall",
|
|
"Function"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_call_parsers",
|
|
"names": [
|
|
"ParseResult",
|
|
"ToolCallParser",
|
|
"register_parser"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"environments/hermes_swe_env/hermes_swe_env.py": {
|
|
"imports": [
|
|
"logging",
|
|
"sys",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Tuple",
|
|
"Union"
|
|
]
|
|
},
|
|
{
|
|
"module": "datasets",
|
|
"names": [
|
|
"load_dataset"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.envs.base",
|
|
"names": [
|
|
"ScoredDataGroup"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.envs.server_handling.server_manager",
|
|
"names": [
|
|
"APIServerConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.type_definitions",
|
|
"names": [
|
|
"Item"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.agent_loop",
|
|
"names": [
|
|
"AgentResult"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.hermes_base_env",
|
|
"names": [
|
|
"HermesAgentBaseEnv",
|
|
"HermesAgentEnvConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_context",
|
|
"names": [
|
|
"ToolContext"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"environments/hermes_swe_env/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": []
|
|
},
|
|
"environments/terminal_test_env/terminal_test_env.py": {
|
|
"imports": [
|
|
"logging",
|
|
"os",
|
|
"sys",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Tuple",
|
|
"Union"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.envs.base",
|
|
"names": [
|
|
"ScoredDataGroup"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.envs.server_handling.server_manager",
|
|
"names": [
|
|
"APIServerConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.type_definitions",
|
|
"names": [
|
|
"Item"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.agent_loop",
|
|
"names": [
|
|
"AgentResult"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.hermes_base_env",
|
|
"names": [
|
|
"HermesAgentBaseEnv",
|
|
"HermesAgentEnvConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_context",
|
|
"names": [
|
|
"ToolContext"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"environments/terminal_test_env/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": []
|
|
},
|
|
"tools/mcp_tool.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"inspect",
|
|
"json",
|
|
"logging",
|
|
"math",
|
|
"os",
|
|
"re",
|
|
"shutil",
|
|
"threading",
|
|
"time",
|
|
"signal",
|
|
"psutil",
|
|
"re",
|
|
"httpx"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp",
|
|
"names": [
|
|
"ClientSession",
|
|
"StdioServerParameters"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp.client.stdio",
|
|
"names": [
|
|
"stdio_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolsets",
|
|
"names": [
|
|
"TOOLSETS"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolsets",
|
|
"names": [
|
|
"create_custom_toolset",
|
|
"TOOLSETS"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp.client.streamable_http",
|
|
"names": [
|
|
"streamablehttp_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp.client.streamable_http",
|
|
"names": [
|
|
"streamable_http_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp.types",
|
|
"names": [
|
|
"CreateMessageResult",
|
|
"CreateMessageResultWithTools",
|
|
"ErrorData",
|
|
"SamplingCapability",
|
|
"SamplingToolsCapability",
|
|
"TextContent",
|
|
"ToolUseContent"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp.types",
|
|
"names": [
|
|
"ServerNotification",
|
|
"ToolListChangedNotification",
|
|
"PromptListChangedNotification",
|
|
"ResourceListChangedNotification"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"call_llm"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolsets",
|
|
"names": [
|
|
"TOOLSETS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.env_loader",
|
|
"names": [
|
|
"load_hermes_dotenv"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_oauth",
|
|
"names": [
|
|
"build_oauth_auth"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/approval.py": {
|
|
"imports": [
|
|
"contextvars",
|
|
"logging",
|
|
"os",
|
|
"re",
|
|
"sys",
|
|
"threading",
|
|
"unicodedata"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.ansi_strip",
|
|
"names": [
|
|
"strip_ansi"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config",
|
|
"save_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"get_text_auxiliary_client",
|
|
"auxiliary_max_tokens_param"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"check_command_security"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/website_policy.py": {
|
|
"imports": [
|
|
"fnmatch",
|
|
"logging",
|
|
"os",
|
|
"threading",
|
|
"time",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Tuple"
|
|
]
|
|
},
|
|
{
|
|
"module": "urllib.parse",
|
|
"names": [
|
|
"urlparse"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/skill_manager_tool.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"re",
|
|
"shutil",
|
|
"tempfile",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"Any",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_guard",
|
|
"names": [
|
|
"scan_skill",
|
|
"should_allow_install",
|
|
"format_scan_report"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_utils",
|
|
"names": [
|
|
"get_all_skills_dirs"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.fuzzy_match",
|
|
"names": [
|
|
"fuzzy_find_and_replace"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.prompt_builder",
|
|
"names": [
|
|
"clear_skills_system_prompt_cache"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/neutts_synth.py": {
|
|
"imports": [
|
|
"argparse",
|
|
"struct",
|
|
"sys",
|
|
"numpy",
|
|
"soundfile"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "neutts",
|
|
"names": [
|
|
"NeuTTS"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/fuzzy_match.py": {
|
|
"imports": [
|
|
"re"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Tuple",
|
|
"Optional",
|
|
"List",
|
|
"Callable"
|
|
]
|
|
},
|
|
{
|
|
"module": "difflib",
|
|
"names": [
|
|
"SequenceMatcher"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/code_execution_tool.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"platform",
|
|
"signal",
|
|
"socket",
|
|
"subprocess",
|
|
"sys",
|
|
"tempfile",
|
|
"threading",
|
|
"time",
|
|
"uuid",
|
|
"shutil"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"handle_function_call"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"_interrupt_event"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.ansi_strip",
|
|
"names": [
|
|
"strip_ansi"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.redact",
|
|
"names": [
|
|
"redact_sensitive_text"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"CLI_CONFIG"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.env_passthrough",
|
|
"names": [
|
|
"is_env_passthrough"
|
|
]
|
|
},
|
|
{
|
|
"module": "collections",
|
|
"names": [
|
|
"deque"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/mixture_of_agents_tool.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"asyncio",
|
|
"datetime"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"Any",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.openrouter_client",
|
|
"names": [
|
|
"get_async_client",
|
|
"check_api_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"extract_content_or_reasoning"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.debug_helpers",
|
|
"names": [
|
|
"DebugSession"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/homeassistant_tool.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"re",
|
|
"aiohttp",
|
|
"aiohttp",
|
|
"aiohttp",
|
|
"aiohttp",
|
|
"concurrent.futures"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/skills_tool.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"re",
|
|
"sys",
|
|
"yaml",
|
|
"os",
|
|
"logging"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "enum",
|
|
"names": [
|
|
"Enum"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"Any",
|
|
"List",
|
|
"Optional",
|
|
"Set",
|
|
"Tuple"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_utils",
|
|
"names": [
|
|
"skill_matches_platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_utils",
|
|
"names": [
|
|
"parse_frontmatter"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_utils",
|
|
"names": [
|
|
"get_disabled_skill_names"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_utils",
|
|
"names": [
|
|
"get_external_skills_dirs"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"GATEWAY_SECRET_CAPTURE_UNSUPPORTED_MESSAGE"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_utils",
|
|
"names": [
|
|
"get_external_skills_dirs"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_utils",
|
|
"names": [
|
|
"get_external_skills_dirs"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_utils",
|
|
"names": [
|
|
"get_external_skills_dirs"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.env_passthrough",
|
|
"names": [
|
|
"register_env_passthrough"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.credential_files",
|
|
"names": [
|
|
"register_credential_files"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/image_generation_tool.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"datetime",
|
|
"threading",
|
|
"uuid",
|
|
"fal_client",
|
|
"fal_client",
|
|
"fal_client"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"Any",
|
|
"Optional",
|
|
"Union"
|
|
]
|
|
},
|
|
{
|
|
"module": "urllib.parse",
|
|
"names": [
|
|
"urlencode"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.debug_helpers",
|
|
"names": [
|
|
"DebugSession"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.managed_tool_gateway",
|
|
"names": [
|
|
"resolve_managed_tool_gateway"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tool_backend_helpers",
|
|
"names": [
|
|
"managed_nous_tools_enabled"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/memory_tool.py": {
|
|
"imports": [
|
|
"fcntl",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"re",
|
|
"tempfile"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "contextlib",
|
|
"names": [
|
|
"contextmanager"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"Any",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/registry.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Callable",
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Set"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"_run_async"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/vision_tools.py": {
|
|
"imports": [
|
|
"base64",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"uuid",
|
|
"httpx",
|
|
"asyncio"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Awaitable",
|
|
"Dict",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "urllib.parse",
|
|
"names": [
|
|
"urlparse"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"async_call_llm",
|
|
"extract_content_or_reasoning"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.debug_helpers",
|
|
"names": [
|
|
"DebugSession"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.website_policy",
|
|
"names": [
|
|
"check_website_access"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.url_safety",
|
|
"names": [
|
|
"is_safe_url"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.interrupt",
|
|
"names": [
|
|
"is_interrupted"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"resolve_vision_provider_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.url_safety",
|
|
"names": [
|
|
"is_safe_url"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/managed_tool_gateway.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timezone"
|
|
]
|
|
},
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Callable",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tool_backend_helpers",
|
|
"names": [
|
|
"managed_nous_tools_enabled"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"resolve_nous_access_token"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "terminal_tool",
|
|
"names": [
|
|
"check_terminal_requirements"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/credential_files.py": {
|
|
"imports": [
|
|
"logging",
|
|
"os",
|
|
"atexit",
|
|
"shutil",
|
|
"tempfile",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"List"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_dir"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_dir"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_utils",
|
|
"names": [
|
|
"get_external_skills_dirs"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_utils",
|
|
"names": [
|
|
"get_external_skills_dirs"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/browser_camofox.py": {
|
|
"imports": [
|
|
"base64",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"threading",
|
|
"time",
|
|
"uuid",
|
|
"requests",
|
|
"re"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_camofox_state",
|
|
"names": [
|
|
"get_camofox_identity"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"SNAPSHOT_SUMMARIZE_THRESHOLD",
|
|
"_extract_relevant_content",
|
|
"_truncate_snapshot"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.redact",
|
|
"names": [
|
|
"redact_sensitive_text"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"call_llm"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.redact",
|
|
"names": [
|
|
"redact_sensitive_text"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "urllib.parse",
|
|
"names": [
|
|
"urlparse"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/session_search_tool.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"concurrent.futures",
|
|
"json",
|
|
"logging"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"Any",
|
|
"List",
|
|
"Optional",
|
|
"Union"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"async_call_llm",
|
|
"extract_content_or_reasoning"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"DEFAULT_DB_PATH"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"_run_async"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/delegate_tool.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"time",
|
|
"model_tools",
|
|
"model_tools",
|
|
"model_tools"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "concurrent.futures",
|
|
"names": [
|
|
"ThreadPoolExecutor",
|
|
"as_completed"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.runtime_provider",
|
|
"names": [
|
|
"resolve_runtime_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"CLI_CONFIG"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.display",
|
|
"names": [
|
|
"get_tool_emoji"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/tirith_security.py": {
|
|
"imports": [
|
|
"hashlib",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"platform",
|
|
"shutil",
|
|
"stat",
|
|
"subprocess",
|
|
"tarfile",
|
|
"tempfile",
|
|
"threading",
|
|
"time",
|
|
"urllib.request"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/ansi_strip.py": {
|
|
"imports": [
|
|
"re"
|
|
],
|
|
"from_imports": []
|
|
},
|
|
"tools/process_registry.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"platform",
|
|
"shlex",
|
|
"signal",
|
|
"subprocess",
|
|
"threading",
|
|
"time",
|
|
"uuid",
|
|
"json"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "tools.environments.local",
|
|
"names": [
|
|
"_find_shell",
|
|
"_sanitize_subprocess_env"
|
|
]
|
|
},
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass",
|
|
"field"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.ansi_strip",
|
|
"names": [
|
|
"strip_ansi"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.ansi_strip",
|
|
"names": [
|
|
"strip_ansi"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.ansi_strip",
|
|
"names": [
|
|
"strip_ansi"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"_interrupt_event"
|
|
]
|
|
},
|
|
{
|
|
"module": "utils",
|
|
"names": [
|
|
"atomic_json_write"
|
|
]
|
|
},
|
|
{
|
|
"module": "utils",
|
|
"names": [
|
|
"atomic_json_write"
|
|
]
|
|
},
|
|
{
|
|
"module": "winpty",
|
|
"names": [
|
|
"PtyProcess"
|
|
]
|
|
},
|
|
{
|
|
"module": "ptyprocess",
|
|
"names": [
|
|
"PtyProcess"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/patch_parser.py": {
|
|
"imports": [
|
|
"re",
|
|
"difflib"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass",
|
|
"field"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"List",
|
|
"Optional",
|
|
"Tuple",
|
|
"Any"
|
|
]
|
|
},
|
|
{
|
|
"module": "enum",
|
|
"names": [
|
|
"Enum"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_operations",
|
|
"names": [
|
|
"PatchResult"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.fuzzy_match",
|
|
"names": [
|
|
"fuzzy_find_and_replace"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/send_message_tool.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"re",
|
|
"ssl",
|
|
"time",
|
|
"smtplib",
|
|
"base64",
|
|
"aiohttp",
|
|
"aiohttp",
|
|
"aiohttp",
|
|
"httpx",
|
|
"aiohttp",
|
|
"aiohttp",
|
|
"aiohttp",
|
|
"aiohttp",
|
|
"httpx"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.interrupt",
|
|
"names": [
|
|
"is_interrupted"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.telegram",
|
|
"names": [
|
|
"TelegramAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"DiscordAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.slack",
|
|
"names": [
|
|
"SlackAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "email.mime.text",
|
|
"names": [
|
|
"MIMEText"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.channel_directory",
|
|
"names": [
|
|
"format_directory_for_display"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"load_gateway_config",
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"_run_async"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "telegram",
|
|
"names": [
|
|
"Bot"
|
|
]
|
|
},
|
|
{
|
|
"module": "telegram.constants",
|
|
"names": [
|
|
"ParseMode"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"WeComAdapter",
|
|
"check_wecom_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter",
|
|
"FEISHU_AVAILABLE"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FEISHU_DOMAIN",
|
|
"LARK_DOMAIN"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"is_gateway_running"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.channel_directory",
|
|
"names": [
|
|
"resolve_channel_name"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.mirror",
|
|
"names": [
|
|
"mirror_to_session"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.telegram",
|
|
"names": [
|
|
"TelegramAdapter",
|
|
"_strip_mdv2"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.telegram",
|
|
"names": [
|
|
"_strip_mdv2"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/file_operations.py": {
|
|
"imports": [
|
|
"os",
|
|
"re",
|
|
"difflib"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "abc",
|
|
"names": [
|
|
"ABC",
|
|
"abstractmethod"
|
|
]
|
|
},
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass",
|
|
"field"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Optional",
|
|
"List",
|
|
"Dict",
|
|
"Any"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.fuzzy_match",
|
|
"names": [
|
|
"fuzzy_find_and_replace"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.patch_parser",
|
|
"names": [
|
|
"parse_v4a_patch",
|
|
"apply_v4a_operations"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/file_tools.py": {
|
|
"imports": [
|
|
"errno",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"threading",
|
|
"time",
|
|
"pathlib",
|
|
"re"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_operations",
|
|
"names": [
|
|
"ShellFileOperations"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.redact",
|
|
"names": [
|
|
"redact_sensitive_text"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"_active_environments",
|
|
"_env_lock",
|
|
"_create_environment",
|
|
"_get_env_config",
|
|
"_last_activity",
|
|
"_start_cleanup_thread",
|
|
"_creation_locks",
|
|
"_creation_locks_lock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools",
|
|
"names": [
|
|
"check_file_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"_task_env_overrides"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/terminal_tool.py": {
|
|
"imports": [
|
|
"importlib.util",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"platform",
|
|
"time",
|
|
"threading",
|
|
"atexit",
|
|
"shutil",
|
|
"subprocess",
|
|
"sys",
|
|
"time",
|
|
"re",
|
|
"glob",
|
|
"glob",
|
|
"glob",
|
|
"traceback",
|
|
"msvcrt",
|
|
"termios",
|
|
"termios",
|
|
"inspect",
|
|
"modal"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Optional",
|
|
"Dict",
|
|
"Any"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.interrupt",
|
|
"names": [
|
|
"is_interrupted",
|
|
"_interrupt_event"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.singularity",
|
|
"names": [
|
|
"_get_scratch_dir"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tool_backend_helpers",
|
|
"names": [
|
|
"coerce_modal_mode",
|
|
"has_direct_modal_credentials",
|
|
"managed_nous_tools_enabled",
|
|
"resolve_modal_backend_state"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"check_dangerous_command",
|
|
"check_all_command_guards"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.local",
|
|
"names": [
|
|
"LocalEnvironment"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.singularity",
|
|
"names": [
|
|
"SingularityEnvironment"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.ssh",
|
|
"names": [
|
|
"SSHEnvironment"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.docker",
|
|
"names": [
|
|
"DockerEnvironment"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.modal",
|
|
"names": [
|
|
"ModalEnvironment"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.managed_modal",
|
|
"names": [
|
|
"ManagedModalEnvironment"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.managed_tool_gateway",
|
|
"names": [
|
|
"is_managed_tool_gateway_ready"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"display_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.process_registry",
|
|
"names": [
|
|
"process_registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"clear_file_ops_cache"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"display_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"clear_file_ops_cache"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"get_current_session_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.process_registry",
|
|
"names": [
|
|
"process_registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.ansi_strip",
|
|
"names": [
|
|
"strip_ansi"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.redact",
|
|
"names": [
|
|
"redact_sensitive_text"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.docker",
|
|
"names": [
|
|
"find_docker"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.daytona",
|
|
"names": [
|
|
"DaytonaEnvironment"
|
|
]
|
|
},
|
|
{
|
|
"module": "daytona",
|
|
"names": [
|
|
"Daytona"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/rl_training_tool.py": {
|
|
"imports": [
|
|
"ast",
|
|
"asyncio",
|
|
"importlib.util",
|
|
"json",
|
|
"os",
|
|
"subprocess",
|
|
"sys",
|
|
"time",
|
|
"uuid",
|
|
"logging",
|
|
"yaml",
|
|
"copy",
|
|
"wandb",
|
|
"wandb"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.envs.base",
|
|
"names": [
|
|
"BaseEnvConfig"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/skills_guard.py": {
|
|
"imports": [
|
|
"re",
|
|
"hashlib",
|
|
"json"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass",
|
|
"field"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timezone"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"List",
|
|
"Tuple"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"call_llm",
|
|
"extract_content_or_reasoning"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/checkpoint_manager.py": {
|
|
"imports": [
|
|
"hashlib",
|
|
"logging",
|
|
"os",
|
|
"shutil",
|
|
"subprocess",
|
|
"re"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Set"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/voice_mode.py": {
|
|
"imports": [
|
|
"logging",
|
|
"os",
|
|
"platform",
|
|
"re",
|
|
"shutil",
|
|
"subprocess",
|
|
"tempfile",
|
|
"threading",
|
|
"time",
|
|
"wave",
|
|
"sounddevice",
|
|
"numpy"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"transcribe_audio"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_get_provider",
|
|
"_load_stt_config",
|
|
"is_stt_enabled"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/openrouter_client.py": {
|
|
"imports": [
|
|
"os"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"resolve_provider_client"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/todo_tool.py": {
|
|
"imports": [
|
|
"json"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"Any",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/tool_backend_helpers.py": {
|
|
"imports": [
|
|
"os"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict"
|
|
]
|
|
},
|
|
{
|
|
"module": "utils",
|
|
"names": [
|
|
"env_var_enabled"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/mcp_oauth.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"socket",
|
|
"sys",
|
|
"threading",
|
|
"webbrowser",
|
|
"re"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "http.server",
|
|
"names": [
|
|
"BaseHTTPRequestHandler",
|
|
"HTTPServer"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any"
|
|
]
|
|
},
|
|
{
|
|
"module": "urllib.parse",
|
|
"names": [
|
|
"parse_qs",
|
|
"urlparse"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp.client.auth",
|
|
"names": [
|
|
"OAuthClientProvider"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp.shared.auth",
|
|
"names": [
|
|
"OAuthClientMetadata"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp.shared.auth",
|
|
"names": [
|
|
"OAuthToken"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp.shared.auth",
|
|
"names": [
|
|
"OAuthClientInformationFull"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/debug_helpers.py": {
|
|
"imports": [
|
|
"datetime",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"uuid"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/tts_tool.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"datetime",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"queue",
|
|
"re",
|
|
"shutil",
|
|
"subprocess",
|
|
"tempfile",
|
|
"threading",
|
|
"uuid",
|
|
"edge_tts",
|
|
"sounddevice",
|
|
"requests",
|
|
"sys",
|
|
"importlib.util",
|
|
"wave",
|
|
"numpy",
|
|
"concurrent.futures"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Callable",
|
|
"Dict",
|
|
"Any",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "urllib.parse",
|
|
"names": [
|
|
"urljoin"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.managed_tool_gateway",
|
|
"names": [
|
|
"resolve_managed_tool_gateway"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tool_backend_helpers",
|
|
"names": [
|
|
"managed_nous_tools_enabled",
|
|
"resolve_openai_audio_api_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "elevenlabs.client",
|
|
"names": [
|
|
"ElevenLabs"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai",
|
|
"names": [
|
|
"OpenAI"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_dir"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"play_audio_file"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/browser_camofox_state.py": {
|
|
"imports": [
|
|
"uuid"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/env_passthrough.py": {
|
|
"imports": [
|
|
"logging",
|
|
"os",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Iterable"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/skills_sync.py": {
|
|
"imports": [
|
|
"hashlib",
|
|
"logging",
|
|
"os",
|
|
"shutil",
|
|
"tempfile"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"List",
|
|
"Tuple"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/interrupt.py": {
|
|
"imports": [
|
|
"threading"
|
|
],
|
|
"from_imports": []
|
|
},
|
|
"tools/browser_tool.py": {
|
|
"imports": [
|
|
"atexit",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"re",
|
|
"signal",
|
|
"subprocess",
|
|
"shutil",
|
|
"sys",
|
|
"tempfile",
|
|
"threading",
|
|
"time",
|
|
"requests",
|
|
"uuid",
|
|
"uuid",
|
|
"base64",
|
|
"uuid",
|
|
"time",
|
|
"time",
|
|
"yaml",
|
|
"yaml",
|
|
"yaml",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"Any",
|
|
"Optional",
|
|
"List"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"call_llm"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_providers.base",
|
|
"names": [
|
|
"CloudBrowserProvider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_providers.browserbase",
|
|
"names": [
|
|
"BrowserbaseProvider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_providers.browser_use",
|
|
"names": [
|
|
"BrowserUseProvider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tool_backend_helpers",
|
|
"names": [
|
|
"normalize_browser_cloud_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.website_policy",
|
|
"names": [
|
|
"check_website_access"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.url_safety",
|
|
"names": [
|
|
"is_safe_url"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_camofox",
|
|
"names": [
|
|
"is_camofox_mode"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.interrupt",
|
|
"names": [
|
|
"is_interrupted"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.redact",
|
|
"names": [
|
|
"redact_sensitive_text"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.redact",
|
|
"names": [
|
|
"_PREFIX_RE"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_dir"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_camofox",
|
|
"names": [
|
|
"camofox_navigate"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_camofox",
|
|
"names": [
|
|
"camofox_snapshot"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_camofox",
|
|
"names": [
|
|
"camofox_click"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_camofox",
|
|
"names": [
|
|
"camofox_type"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_camofox",
|
|
"names": [
|
|
"camofox_scroll"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_camofox",
|
|
"names": [
|
|
"camofox_back"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_camofox",
|
|
"names": [
|
|
"camofox_press"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_camofox",
|
|
"names": [
|
|
"camofox_close"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_camofox",
|
|
"names": [
|
|
"camofox_console"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_camofox",
|
|
"names": [
|
|
"camofox_get_images"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_camofox",
|
|
"names": [
|
|
"camofox_vision"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.redact",
|
|
"names": [
|
|
"redact_sensitive_text"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/clarify_tool.py": {
|
|
"imports": [
|
|
"json"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"List",
|
|
"Optional",
|
|
"Callable"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/url_safety.py": {
|
|
"imports": [
|
|
"ipaddress",
|
|
"logging",
|
|
"socket"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "urllib.parse",
|
|
"names": [
|
|
"urlparse"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/cronjob_tools.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"re",
|
|
"sys"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.jobs",
|
|
"names": [
|
|
"create_job",
|
|
"get_job",
|
|
"list_jobs",
|
|
"parse_schedule",
|
|
"pause_job",
|
|
"remove_job",
|
|
"resume_job",
|
|
"trigger_job",
|
|
"update_job"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/web_tools.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"re",
|
|
"asyncio",
|
|
"httpx"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"List",
|
|
"Dict",
|
|
"Any",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "firecrawl",
|
|
"names": [
|
|
"Firecrawl"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"async_call_llm",
|
|
"extract_content_or_reasoning",
|
|
"get_async_text_auxiliary_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.debug_helpers",
|
|
"names": [
|
|
"DebugSession"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.managed_tool_gateway",
|
|
"names": [
|
|
"build_vendor_gateway_url",
|
|
"read_nous_access_token",
|
|
"resolve_managed_tool_gateway"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tool_backend_helpers",
|
|
"names": [
|
|
"managed_nous_tools_enabled"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.url_safety",
|
|
"names": [
|
|
"is_safe_url"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.website_policy",
|
|
"names": [
|
|
"check_website_access"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "parallel",
|
|
"names": [
|
|
"Parallel"
|
|
]
|
|
},
|
|
{
|
|
"module": "parallel",
|
|
"names": [
|
|
"AsyncParallel"
|
|
]
|
|
},
|
|
{
|
|
"module": "urllib.parse",
|
|
"names": [
|
|
"urlparse"
|
|
]
|
|
},
|
|
{
|
|
"module": "exa_py",
|
|
"names": [
|
|
"Exa"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.interrupt",
|
|
"names": [
|
|
"is_interrupted"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.interrupt",
|
|
"names": [
|
|
"is_interrupted"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.interrupt",
|
|
"names": [
|
|
"is_interrupted"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.interrupt",
|
|
"names": [
|
|
"is_interrupted"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.redact",
|
|
"names": [
|
|
"_PREFIX_RE"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"get_auxiliary_extra_body"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.interrupt",
|
|
"names": [
|
|
"is_interrupted"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.interrupt",
|
|
"names": [
|
|
"is_interrupted"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.interrupt",
|
|
"names": [
|
|
"is_interrupted"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.interrupt",
|
|
"names": [
|
|
"is_interrupted"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/skills_hub.py": {
|
|
"imports": [
|
|
"hashlib",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"re",
|
|
"shutil",
|
|
"subprocess",
|
|
"time",
|
|
"httpx",
|
|
"yaml",
|
|
"io",
|
|
"zipfile",
|
|
"jwt"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "abc",
|
|
"names": [
|
|
"ABC",
|
|
"abstractmethod"
|
|
]
|
|
},
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass",
|
|
"field"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timezone"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path",
|
|
"PurePosixPath"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Tuple",
|
|
"Union"
|
|
]
|
|
},
|
|
{
|
|
"module": "urllib.parse",
|
|
"names": [
|
|
"urlparse",
|
|
"urlunparse"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_guard",
|
|
"names": [
|
|
"ScanResult",
|
|
"content_hash",
|
|
"TRUSTED_REPOS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_optional_skills_dir"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/transcription_tools.py": {
|
|
"imports": [
|
|
"logging",
|
|
"os",
|
|
"shlex",
|
|
"shutil",
|
|
"subprocess",
|
|
"tempfile",
|
|
"importlib.util",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Optional",
|
|
"Dict",
|
|
"Any"
|
|
]
|
|
},
|
|
{
|
|
"module": "urllib.parse",
|
|
"names": [
|
|
"urljoin"
|
|
]
|
|
},
|
|
{
|
|
"module": "utils",
|
|
"names": [
|
|
"is_truthy_value"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.managed_tool_gateway",
|
|
"names": [
|
|
"resolve_managed_tool_gateway"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tool_backend_helpers",
|
|
"names": [
|
|
"managed_nous_tools_enabled",
|
|
"resolve_openai_audio_api_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "faster_whisper",
|
|
"names": [
|
|
"WhisperModel"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai",
|
|
"names": [
|
|
"OpenAI",
|
|
"APIError",
|
|
"APIConnectionError",
|
|
"APITimeoutError"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai",
|
|
"names": [
|
|
"OpenAI",
|
|
"APIError",
|
|
"APIConnectionError",
|
|
"APITimeoutError"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/environments/daytona.py": {
|
|
"imports": [
|
|
"logging",
|
|
"time",
|
|
"math",
|
|
"shlex",
|
|
"threading",
|
|
"uuid",
|
|
"warnings",
|
|
"shlex"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.base",
|
|
"names": [
|
|
"BaseEnvironment"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.interrupt",
|
|
"names": [
|
|
"is_interrupted"
|
|
]
|
|
},
|
|
{
|
|
"module": "daytona",
|
|
"names": [
|
|
"Daytona",
|
|
"CreateSandboxFromImageParams",
|
|
"DaytonaError",
|
|
"Resources",
|
|
"SandboxState"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.credential_files",
|
|
"names": [
|
|
"get_credential_file_mounts",
|
|
"iter_skills_files"
|
|
]
|
|
},
|
|
{
|
|
"module": "daytona",
|
|
"names": [
|
|
"DaytonaError"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/environments/modal_common.py": {
|
|
"imports": [
|
|
"shlex",
|
|
"time",
|
|
"uuid"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "abc",
|
|
"names": [
|
|
"abstractmethod"
|
|
]
|
|
},
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.base",
|
|
"names": [
|
|
"BaseEnvironment"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.interrupt",
|
|
"names": [
|
|
"is_interrupted"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/environments/modal.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"json",
|
|
"logging",
|
|
"shlex",
|
|
"threading",
|
|
"modal",
|
|
"modal",
|
|
"base64"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.modal_common",
|
|
"names": [
|
|
"BaseModalExecutionEnvironment",
|
|
"ModalExecStart",
|
|
"PreparedModalExec"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.credential_files",
|
|
"names": [
|
|
"get_credential_file_mounts",
|
|
"iter_skills_files",
|
|
"iter_cache_files"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.credential_files",
|
|
"names": [
|
|
"get_credential_file_mounts",
|
|
"iter_skills_files",
|
|
"iter_cache_files"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/environments/docker.py": {
|
|
"imports": [
|
|
"logging",
|
|
"os",
|
|
"re",
|
|
"shutil",
|
|
"subprocess",
|
|
"sys",
|
|
"threading",
|
|
"time",
|
|
"uuid"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.base",
|
|
"names": [
|
|
"BaseEnvironment"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.interrupt",
|
|
"names": [
|
|
"is_interrupted"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_env"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.base",
|
|
"names": [
|
|
"get_sandbox_dir"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.credential_files",
|
|
"names": [
|
|
"get_credential_file_mounts",
|
|
"get_skills_directory_mount",
|
|
"get_cache_directory_mounts"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.env_passthrough",
|
|
"names": [
|
|
"get_all_passthrough"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/environments/base.py": {
|
|
"imports": [
|
|
"os",
|
|
"subprocess"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "abc",
|
|
"names": [
|
|
"ABC",
|
|
"abstractmethod"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"_transform_sudo_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/environments/ssh.py": {
|
|
"imports": [
|
|
"logging",
|
|
"shutil",
|
|
"subprocess",
|
|
"tempfile",
|
|
"threading",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.base",
|
|
"names": [
|
|
"BaseEnvironment"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.persistent_shell",
|
|
"names": [
|
|
"PersistentShellMixin"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.interrupt",
|
|
"names": [
|
|
"is_interrupted"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.credential_files",
|
|
"names": [
|
|
"get_credential_file_mounts",
|
|
"get_skills_directory_mount"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/environments/managed_modal.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"requests",
|
|
"uuid"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.modal_common",
|
|
"names": [
|
|
"BaseModalExecutionEnvironment",
|
|
"ModalExecStart",
|
|
"PreparedModalExec"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.managed_tool_gateway",
|
|
"names": [
|
|
"resolve_managed_tool_gateway"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.credential_files",
|
|
"names": [
|
|
"get_credential_file_mounts"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/environments/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "tools.environments.base",
|
|
"names": [
|
|
"BaseEnvironment"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/environments/singularity.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"shutil",
|
|
"subprocess",
|
|
"tempfile",
|
|
"threading",
|
|
"uuid",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.base",
|
|
"names": [
|
|
"BaseEnvironment"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.interrupt",
|
|
"names": [
|
|
"is_interrupted"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.base",
|
|
"names": [
|
|
"get_sandbox_dir"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.credential_files",
|
|
"names": [
|
|
"get_credential_file_mounts",
|
|
"get_skills_directory_mount"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/environments/local.py": {
|
|
"imports": [
|
|
"glob",
|
|
"os",
|
|
"platform",
|
|
"shutil",
|
|
"signal",
|
|
"subprocess",
|
|
"threading",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "tools.environments.base",
|
|
"names": [
|
|
"BaseEnvironment"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.persistent_shell",
|
|
"names": [
|
|
"PersistentShellMixin"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.interrupt",
|
|
"names": [
|
|
"is_interrupted"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"PROVIDER_REGISTRY"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"OPTIONAL_ENV_VARS"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.env_passthrough",
|
|
"names": [
|
|
"is_env_passthrough"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.env_passthrough",
|
|
"names": [
|
|
"is_env_passthrough"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/environments/persistent_shell.py": {
|
|
"imports": [
|
|
"logging",
|
|
"shlex",
|
|
"subprocess",
|
|
"threading",
|
|
"time",
|
|
"uuid"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "abc",
|
|
"names": [
|
|
"abstractmethod"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.interrupt",
|
|
"names": [
|
|
"is_interrupted"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/browser_providers/browser_use.py": {
|
|
"imports": [
|
|
"logging",
|
|
"os",
|
|
"uuid",
|
|
"requests"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_providers.base",
|
|
"names": [
|
|
"CloudBrowserProvider"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/browser_providers/browserbase.py": {
|
|
"imports": [
|
|
"logging",
|
|
"os",
|
|
"threading",
|
|
"uuid",
|
|
"requests"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_providers.base",
|
|
"names": [
|
|
"CloudBrowserProvider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.managed_tool_gateway",
|
|
"names": [
|
|
"resolve_managed_tool_gateway"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tool_backend_helpers",
|
|
"names": [
|
|
"managed_nous_tools_enabled"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/browser_providers/base.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "abc",
|
|
"names": [
|
|
"ABC",
|
|
"abstractmethod"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tools/browser_providers/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "tools.browser_providers.base",
|
|
"names": [
|
|
"CloudBrowserProvider"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"scripts/discord-voice-doctor.py": {
|
|
"imports": [
|
|
"os",
|
|
"sys",
|
|
"shutil",
|
|
"discord",
|
|
"nacl",
|
|
"davey",
|
|
"faster_whisper",
|
|
"edge_tts",
|
|
"elevenlabs",
|
|
"requests",
|
|
"nacl.secret",
|
|
"discord",
|
|
"yaml",
|
|
"json",
|
|
"ctypes.util",
|
|
"requests"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "dotenv",
|
|
"names": [
|
|
"load_dotenv"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"scripts/release.py": {
|
|
"imports": [
|
|
"argparse",
|
|
"json",
|
|
"os",
|
|
"re",
|
|
"shutil",
|
|
"subprocess",
|
|
"sys"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "collections",
|
|
"names": [
|
|
"defaultdict"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"scripts/sample_and_compress.py": {
|
|
"imports": [
|
|
"json",
|
|
"random",
|
|
"os",
|
|
"fire",
|
|
"sys"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"List",
|
|
"Dict",
|
|
"Any",
|
|
"Tuple"
|
|
]
|
|
},
|
|
{
|
|
"module": "dotenv",
|
|
"names": [
|
|
"load_dotenv"
|
|
]
|
|
},
|
|
{
|
|
"module": "datasets",
|
|
"names": [
|
|
"load_dataset"
|
|
]
|
|
},
|
|
{
|
|
"module": "transformers",
|
|
"names": [
|
|
"AutoTokenizer"
|
|
]
|
|
},
|
|
{
|
|
"module": "multiprocessing",
|
|
"names": [
|
|
"Pool"
|
|
]
|
|
},
|
|
{
|
|
"module": "functools",
|
|
"names": [
|
|
"partial"
|
|
]
|
|
},
|
|
{
|
|
"module": "trajectory_compressor",
|
|
"names": [
|
|
"TrajectoryCompressor",
|
|
"CompressionConfig"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"agent/smart_model_routing.py": {
|
|
"imports": [
|
|
"os",
|
|
"re"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "utils",
|
|
"names": [
|
|
"is_truthy_value"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.runtime_provider",
|
|
"names": [
|
|
"resolve_runtime_provider"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"agent/redact.py": {
|
|
"imports": [
|
|
"logging",
|
|
"os",
|
|
"re"
|
|
],
|
|
"from_imports": []
|
|
},
|
|
"agent/memory_provider.py": {
|
|
"imports": [
|
|
"logging"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "abc",
|
|
"names": [
|
|
"ABC",
|
|
"abstractmethod"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"agent/context_references.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"inspect",
|
|
"json",
|
|
"mimetypes",
|
|
"os",
|
|
"re",
|
|
"subprocess",
|
|
"concurrent.futures"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass",
|
|
"field"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Awaitable",
|
|
"Callable"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"estimate_tokens_rough"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"web_extract_tool"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"agent/usage_pricing.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timezone"
|
|
]
|
|
},
|
|
{
|
|
"module": "decimal",
|
|
"names": [
|
|
"Decimal"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"Literal",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"fetch_endpoint_model_metadata",
|
|
"fetch_model_metadata"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"agent/copilot_acp_client.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"queue",
|
|
"shlex",
|
|
"subprocess",
|
|
"threading",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "collections",
|
|
"names": [
|
|
"deque"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"agent/insights.py": {
|
|
"imports": [
|
|
"json",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "collections",
|
|
"names": [
|
|
"Counter",
|
|
"defaultdict"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.usage_pricing",
|
|
"names": [
|
|
"CanonicalUsage",
|
|
"DEFAULT_PRICING",
|
|
"estimate_usage_cost",
|
|
"format_duration_compact",
|
|
"get_pricing",
|
|
"has_known_pricing"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"agent/display.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"sys",
|
|
"threading",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass",
|
|
"field"
|
|
]
|
|
},
|
|
{
|
|
"module": "difflib",
|
|
"names": [
|
|
"unified_diff"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skill_manager_tool",
|
|
"names": [
|
|
"_find_skill",
|
|
"_resolve_skill_dir"
|
|
]
|
|
},
|
|
{
|
|
"module": "urllib.parse",
|
|
"names": [
|
|
"quote"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"get_active_skin"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.patch_stdout",
|
|
"names": [
|
|
"StdoutProxy"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"agent/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": []
|
|
},
|
|
"agent/context_compressor.py": {
|
|
"imports": [
|
|
"logging"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"call_llm"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"get_model_context_length",
|
|
"estimate_messages_tokens_rough"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"agent/builtin_memory_provider.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.memory_provider",
|
|
"names": [
|
|
"MemoryProvider"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"agent/credential_pool.py": {
|
|
"imports": [
|
|
"logging",
|
|
"random",
|
|
"threading",
|
|
"time",
|
|
"uuid",
|
|
"os",
|
|
"hermes_cli.auth"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass",
|
|
"fields",
|
|
"replace"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Set",
|
|
"Tuple"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"OPENROUTER_BASE_URL"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"ACCESS_TOKEN_REFRESH_SKEW_SECONDS",
|
|
"CODEX_ACCESS_TOKEN_REFRESH_SKEW_SECONDS",
|
|
"DEFAULT_AGENT_KEY_MIN_TTL_SECONDS",
|
|
"PROVIDER_REGISTRY",
|
|
"_agent_key_is_usable",
|
|
"_codex_access_token_is_expiring",
|
|
"_decode_jwt_claims",
|
|
"_is_expiring",
|
|
"_load_auth_store",
|
|
"_load_provider_state",
|
|
"read_credential_pool",
|
|
"write_credential_pool"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"read_claude_code_credentials",
|
|
"read_hermes_oauth_credentials"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"read_claude_code_credentials"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"refresh_anthropic_oauth_pure"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"_write_claude_code_credentials"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"refresh_anthropic_oauth_pure"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"_write_claude_code_credentials"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"agent/trajectory.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"agent/title_generator.py": {
|
|
"imports": [
|
|
"logging",
|
|
"threading"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"call_llm"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"agent/auxiliary_client.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"threading",
|
|
"time",
|
|
"inspect",
|
|
"re",
|
|
"asyncio",
|
|
"asyncio",
|
|
"base64",
|
|
"asyncio"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Tuple"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai",
|
|
"names": [
|
|
"OpenAI"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.credential_pool",
|
|
"names": [
|
|
"load_pool"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"OPENROUTER_BASE_URL"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"_is_oauth_token"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai",
|
|
"names": [
|
|
"AsyncOpenAI"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"build_anthropic_kwargs",
|
|
"normalize_anthropic_response"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"_read_codex_tokens"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"PROVIDER_REGISTRY",
|
|
"resolve_api_key_provider_credentials"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.runtime_provider",
|
|
"names": [
|
|
"resolve_runtime_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"build_anthropic_client",
|
|
"resolve_anthropic_token"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"PROVIDER_REGISTRY",
|
|
"resolve_api_key_provider_credentials"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai._base_client",
|
|
"names": [
|
|
"AsyncHttpxClientWrapper"
|
|
]
|
|
},
|
|
{
|
|
"module": "httpx._client",
|
|
"names": [
|
|
"ClientState"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"copilot_default_headers"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"copilot_default_headers"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"copilot_default_headers"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"copilot_default_headers"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"agent/skill_utils.py": {
|
|
"imports": [
|
|
"logging",
|
|
"os",
|
|
"re",
|
|
"sys",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Set",
|
|
"Tuple"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"agent/prompt_caching.py": {
|
|
"imports": [
|
|
"copy"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"agent/model_metadata.py": {
|
|
"imports": [
|
|
"logging",
|
|
"os",
|
|
"re",
|
|
"time",
|
|
"requests",
|
|
"yaml",
|
|
"ipaddress",
|
|
"httpx",
|
|
"httpx"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "urllib.parse",
|
|
"names": [
|
|
"urlparse"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"OPENROUTER_MODELS_URL"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.models_dev",
|
|
"names": [
|
|
"lookup_models_dev_context"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"agent/anthropic_adapter.py": {
|
|
"imports": [
|
|
"copy",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"anthropic",
|
|
"subprocess",
|
|
"time",
|
|
"time",
|
|
"urllib.parse",
|
|
"urllib.request",
|
|
"shutil",
|
|
"subprocess",
|
|
"base64",
|
|
"hashlib",
|
|
"secrets",
|
|
"time",
|
|
"webbrowser",
|
|
"re",
|
|
"urllib.request"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Tuple"
|
|
]
|
|
},
|
|
{
|
|
"module": "httpx",
|
|
"names": [
|
|
"Timeout"
|
|
]
|
|
},
|
|
{
|
|
"module": "urllib.parse",
|
|
"names": [
|
|
"urlencode"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"agent/models_dev.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"time",
|
|
"requests"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "utils",
|
|
"names": [
|
|
"atomic_json_write"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"agent/prompt_builder.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"re",
|
|
"threading"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "collections",
|
|
"names": [
|
|
"OrderedDict"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_utils",
|
|
"names": [
|
|
"extract_skill_conditions",
|
|
"extract_skill_description",
|
|
"get_all_skills_dirs",
|
|
"get_disabled_skill_names",
|
|
"iter_skill_index_files",
|
|
"parse_frontmatter",
|
|
"skill_matches_platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "utils",
|
|
"names": [
|
|
"atomic_json_write"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.nous_subscription",
|
|
"names": [
|
|
"get_nous_subscription_features"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tool_backend_helpers",
|
|
"names": [
|
|
"managed_nous_tools_enabled"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"ensure_hermes_home"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"agent/skill_commands.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"re"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"SKILLS_DIR"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"SKILLS_DIR",
|
|
"skill_view"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"SKILLS_DIR",
|
|
"_parse_frontmatter",
|
|
"skill_matches_platform",
|
|
"_get_disabled_skill_names"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_utils",
|
|
"names": [
|
|
"get_external_skills_dirs"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"agent/memory_manager.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.memory_provider",
|
|
"names": [
|
|
"MemoryProvider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/skills_config.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"List",
|
|
"Optional",
|
|
"Set"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config",
|
|
"save_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.colors",
|
|
"names": [
|
|
"Colors",
|
|
"color"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.curses_ui",
|
|
"names": [
|
|
"curses_checklist"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.curses_ui",
|
|
"names": [
|
|
"curses_checklist"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"_find_all_skills"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/curses_ui.py": {
|
|
"imports": [
|
|
"sys",
|
|
"curses"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Callable",
|
|
"List",
|
|
"Optional",
|
|
"Set"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.colors",
|
|
"names": [
|
|
"Colors",
|
|
"color"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/cron.py": {
|
|
"imports": [
|
|
"json",
|
|
"sys"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Iterable",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.colors",
|
|
"names": [
|
|
"Colors",
|
|
"color"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.cronjob_tools",
|
|
"names": [
|
|
"cronjob"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.jobs",
|
|
"names": [
|
|
"list_jobs"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.gateway",
|
|
"names": [
|
|
"find_gateway_pids"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.scheduler",
|
|
"names": [
|
|
"tick"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.jobs",
|
|
"names": [
|
|
"list_jobs"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.gateway",
|
|
"names": [
|
|
"find_gateway_pids"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.jobs",
|
|
"names": [
|
|
"get_job"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/plugins_cmd.py": {
|
|
"imports": [
|
|
"logging",
|
|
"os",
|
|
"shutil",
|
|
"subprocess",
|
|
"sys",
|
|
"tempfile",
|
|
"yaml",
|
|
"yaml",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.console",
|
|
"names": [
|
|
"Console"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.markdown",
|
|
"names": [
|
|
"Markdown"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.panel",
|
|
"names": [
|
|
"Panel"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.console",
|
|
"names": [
|
|
"Console"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.console",
|
|
"names": [
|
|
"Console"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.console",
|
|
"names": [
|
|
"Console"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.console",
|
|
"names": [
|
|
"Console"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config",
|
|
"save_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.console",
|
|
"names": [
|
|
"Console"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.console",
|
|
"names": [
|
|
"Console"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.console",
|
|
"names": [
|
|
"Console"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.table",
|
|
"names": [
|
|
"Table"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.console",
|
|
"names": [
|
|
"Console"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.curses_ui",
|
|
"names": [
|
|
"curses_checklist"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"recommended_update_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.console",
|
|
"names": [
|
|
"Console"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/config.py": {
|
|
"imports": [
|
|
"os",
|
|
"platform",
|
|
"re",
|
|
"stat",
|
|
"subprocess",
|
|
"sys",
|
|
"tempfile",
|
|
"yaml",
|
|
"copy",
|
|
"shutil",
|
|
"getpass",
|
|
"getpass"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"Any",
|
|
"Optional",
|
|
"List",
|
|
"Tuple"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tool_backend_helpers",
|
|
"names": [
|
|
"managed_nous_tools_enabled"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.colors",
|
|
"names": [
|
|
"Colors",
|
|
"color"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.default_soul",
|
|
"names": [
|
|
"DEFAULT_SOUL_MD"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "utils",
|
|
"names": [
|
|
"atomic_yaml_write"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/status.py": {
|
|
"imports": [
|
|
"os",
|
|
"sys",
|
|
"subprocess",
|
|
"json",
|
|
"json",
|
|
"socket",
|
|
"httpx"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"AuthError",
|
|
"resolve_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.colors",
|
|
"names": [
|
|
"Colors",
|
|
"color"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_env_path",
|
|
"get_env_value",
|
|
"get_hermes_home",
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"provider_label"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.nous_subscription",
|
|
"names": [
|
|
"get_nous_subscription_features"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.runtime_provider",
|
|
"names": [
|
|
"resolve_requested_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"OPENROUTER_MODELS_URL"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tool_backend_helpers",
|
|
"names": [
|
|
"managed_nous_tools_enabled"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timezone"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"get_nous_auth_status",
|
|
"get_codex_auth_status"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.gateway",
|
|
"names": [
|
|
"get_service_name"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.gateway",
|
|
"names": [
|
|
"get_launchd_label"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/banner.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"shutil",
|
|
"subprocess",
|
|
"threading",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.console",
|
|
"names": [
|
|
"Console"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.panel",
|
|
"names": [
|
|
"Panel"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.table",
|
|
"names": [
|
|
"Table"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit",
|
|
"names": [
|
|
"print_formatted_text"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.formatted_text",
|
|
"names": [
|
|
"ANSI"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"__version__",
|
|
"__release_date__"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"check_tool_availability",
|
|
"TOOLSET_REQUIREMENTS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"get_active_skin"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"get_active_skin"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"_find_all_skills"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"get_toolset_for_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"get_active_skin"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"get_mcp_status"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.profiles",
|
|
"names": [
|
|
"get_active_profile_name"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"recommended_update_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/doctor.py": {
|
|
"imports": [
|
|
"os",
|
|
"sys",
|
|
"subprocess",
|
|
"shutil",
|
|
"re",
|
|
"sqlite3",
|
|
"httpx",
|
|
"httpx",
|
|
"json",
|
|
"httpx",
|
|
"json"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_project_root",
|
|
"get_hermes_home",
|
|
"get_env_path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"display_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "dotenv",
|
|
"names": [
|
|
"load_dotenv"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.colors",
|
|
"names": [
|
|
"Colors",
|
|
"color"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"OPENROUTER_MODELS_URL"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_env_value"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.client",
|
|
"names": [
|
|
"HonchoClientConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.gateway",
|
|
"names": [
|
|
"get_systemd_linger_status",
|
|
"get_systemd_unit_path",
|
|
"is_linux"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"get_nous_auth_status",
|
|
"get_codex_auth_status"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"check_tool_availability",
|
|
"TOOLSET_REQUIREMENTS"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.client",
|
|
"names": [
|
|
"HonchoClientConfig",
|
|
"resolve_config_path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.profiles",
|
|
"names": [
|
|
"list_profiles",
|
|
"_get_wrapper_dir",
|
|
"profile_exists"
|
|
]
|
|
},
|
|
{
|
|
"module": "daytona",
|
|
"names": [
|
|
"Daytona"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"_is_oauth_token",
|
|
"_COMMON_BETAS",
|
|
"_OAUTH_ONLY_BETAS"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.client",
|
|
"names": [
|
|
"get_honcho_client",
|
|
"reset_honcho_client"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/uninstall.py": {
|
|
"imports": [
|
|
"os",
|
|
"shutil",
|
|
"subprocess",
|
|
"platform"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.colors",
|
|
"names": [
|
|
"Colors",
|
|
"color"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.gateway",
|
|
"names": [
|
|
"get_service_name"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/copilot_auth.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"shutil",
|
|
"subprocess",
|
|
"time",
|
|
"urllib.request",
|
|
"urllib.parse"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Optional"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/auth.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"shutil",
|
|
"shlex",
|
|
"stat",
|
|
"base64",
|
|
"hashlib",
|
|
"subprocess",
|
|
"threading",
|
|
"time",
|
|
"uuid",
|
|
"webbrowser",
|
|
"httpx",
|
|
"yaml",
|
|
"fcntl",
|
|
"msvcrt",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "contextlib",
|
|
"names": [
|
|
"contextmanager"
|
|
]
|
|
},
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass",
|
|
"field"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timezone"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_hermes_home",
|
|
"get_config_path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"OPENROUTER_BASE_URL"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"save_config",
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"display_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "simple_term_menu",
|
|
"names": [
|
|
"TerminalMenu"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.copilot_auth",
|
|
"names": [
|
|
"resolve_copilot_token"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"_PROVIDER_MODELS"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/clipboard.py": {
|
|
"imports": [
|
|
"base64",
|
|
"logging",
|
|
"os",
|
|
"subprocess",
|
|
"sys"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "PIL",
|
|
"names": [
|
|
"Image"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/nous_subscription.py": {
|
|
"imports": [
|
|
"shutil"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"Iterable",
|
|
"Optional",
|
|
"Set"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"get_nous_auth_status"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_env_value",
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.managed_tool_gateway",
|
|
"names": [
|
|
"is_managed_tool_gateway_ready"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tool_backend_helpers",
|
|
"names": [
|
|
"has_direct_modal_credentials",
|
|
"managed_nous_tools_enabled",
|
|
"normalize_browser_cloud_provider",
|
|
"normalize_modal_mode",
|
|
"resolve_modal_backend_state",
|
|
"resolve_openai_audio_api_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolsets",
|
|
"names": [
|
|
"resolve_toolset"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": []
|
|
},
|
|
"hermes_cli/pairing.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "gateway.pairing",
|
|
"names": [
|
|
"PairingStore"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/gateway.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"os",
|
|
"shutil",
|
|
"signal",
|
|
"subprocess",
|
|
"sys",
|
|
"time",
|
|
"hashlib",
|
|
"re",
|
|
"getpass",
|
|
"grp",
|
|
"pwd",
|
|
"shutil",
|
|
"shutil",
|
|
"getpass",
|
|
"shutil",
|
|
"time",
|
|
"argparse",
|
|
"shutil",
|
|
"httpx",
|
|
"pwd",
|
|
"getpass"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_env_value",
|
|
"get_hermes_home",
|
|
"save_env_value",
|
|
"is_managed",
|
|
"managed_error"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.setup",
|
|
"names": [
|
|
"print_header",
|
|
"print_info",
|
|
"print_success",
|
|
"print_warning",
|
|
"print_error",
|
|
"prompt",
|
|
"prompt_choice",
|
|
"prompt_yes_no"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.colors",
|
|
"names": [
|
|
"Colors",
|
|
"color"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"display_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"get_running_pid"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"start_gateway"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"cmd_whatsapp"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"get_running_pid",
|
|
"remove_pid_file"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"read_runtime_status"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/codex_models.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"httpx",
|
|
"tomllib"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"List",
|
|
"Optional"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/default_soul.py": {
|
|
"imports": [],
|
|
"from_imports": []
|
|
},
|
|
"hermes_cli/webhook.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"re",
|
|
"secrets",
|
|
"time",
|
|
"hmac",
|
|
"hashlib",
|
|
"urllib.request"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"display_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/claw.py": {
|
|
"imports": [
|
|
"importlib.util",
|
|
"logging",
|
|
"shutil",
|
|
"sys"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_hermes_home",
|
|
"get_config_path",
|
|
"load_config",
|
|
"save_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_optional_skills_dir"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.setup",
|
|
"names": [
|
|
"Colors",
|
|
"color",
|
|
"print_header",
|
|
"print_info",
|
|
"print_success",
|
|
"print_error",
|
|
"print_warning",
|
|
"prompt_yes_no"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/memory_setup.py": {
|
|
"imports": [
|
|
"getpass",
|
|
"os",
|
|
"sys",
|
|
"subprocess",
|
|
"curses",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config",
|
|
"save_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory",
|
|
"names": [
|
|
"discover_memory_providers",
|
|
"load_memory_provider"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/checklist.py": {
|
|
"imports": [
|
|
"sys",
|
|
"curses"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"List",
|
|
"Set"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.colors",
|
|
"names": [
|
|
"Colors",
|
|
"color"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/models.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"urllib.request",
|
|
"urllib.error",
|
|
"re",
|
|
"logging",
|
|
"os"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "difflib",
|
|
"names": [
|
|
"get_close_matches"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"resolve_api_key_provider_credentials"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.codex_models",
|
|
"names": [
|
|
"get_codex_model_ids"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"resolve_anthropic_token",
|
|
"_is_oauth_token"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"_COMMON_BETAS",
|
|
"_OAUTH_ONLY_BETAS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.copilot_auth",
|
|
"names": [
|
|
"copilot_request_headers"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"AI_GATEWAY_BASE_URL"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"get_auth_status",
|
|
"has_usable_secret"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"PROVIDER_REGISTRY"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"fetch_nous_models",
|
|
"resolve_nous_runtime_credentials"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/colors.py": {
|
|
"imports": [
|
|
"os",
|
|
"sys"
|
|
],
|
|
"from_imports": []
|
|
},
|
|
"hermes_cli/plugins.py": {
|
|
"imports": [
|
|
"importlib",
|
|
"importlib.metadata",
|
|
"importlib.util",
|
|
"logging",
|
|
"os",
|
|
"sys",
|
|
"types",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass",
|
|
"field"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Callable",
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Set"
|
|
]
|
|
},
|
|
{
|
|
"module": "utils",
|
|
"names": [
|
|
"env_var_enabled"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/main.py": {
|
|
"imports": [
|
|
"argparse",
|
|
"os",
|
|
"subprocess",
|
|
"sys",
|
|
"logging",
|
|
"time",
|
|
"subprocess",
|
|
"os",
|
|
"argparse",
|
|
"argparse",
|
|
"re",
|
|
"os",
|
|
"shutil",
|
|
"tempfile",
|
|
"zipfile",
|
|
"subprocess",
|
|
"shutil",
|
|
"curses",
|
|
"openai",
|
|
"tomllib",
|
|
"json",
|
|
"json",
|
|
"shutil",
|
|
"shutil",
|
|
"importlib",
|
|
"hermes_constants",
|
|
"signal",
|
|
"shutil",
|
|
"sys",
|
|
"sys",
|
|
"shutil"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.env_loader",
|
|
"names": [
|
|
"load_hermes_dotenv"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"__version__",
|
|
"__release_date__"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"OPENROUTER_BASE_URL"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"_PROVIDER_MODELS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_env_path",
|
|
"get_hermes_home",
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"get_auth_status"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"DEFAULT_CONFIG"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"PROVIDER_REGISTRY"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"main"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.gateway",
|
|
"names": [
|
|
"gateway_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_env_value",
|
|
"save_env_value"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.setup",
|
|
"names": [
|
|
"run_setup_wizard"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"resolve_provider",
|
|
"AuthError",
|
|
"format_auth_error"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config",
|
|
"get_env_value"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"_prompt_model_selection",
|
|
"_save_model_choice",
|
|
"deactivate_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_env_value",
|
|
"save_env_value"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"model_ids"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"get_provider_auth_state",
|
|
"_prompt_model_selection",
|
|
"_save_model_choice",
|
|
"_update_config_for_provider",
|
|
"resolve_nous_runtime_credentials",
|
|
"fetch_nous_models",
|
|
"AuthError",
|
|
"format_auth_error",
|
|
"_login_nous",
|
|
"PROVIDER_REGISTRY"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_env_value",
|
|
"save_config",
|
|
"save_env_value"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.nous_subscription",
|
|
"names": [
|
|
"apply_nous_provider_defaults",
|
|
"get_nous_subscription_explainer_lines"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"_PROVIDER_MODELS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"get_codex_auth_status",
|
|
"_prompt_model_selection",
|
|
"_save_model_choice",
|
|
"_update_config_for_provider",
|
|
"_login_openai_codex",
|
|
"PROVIDER_REGISTRY",
|
|
"DEFAULT_CODEX_BASE_URL"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.codex_models",
|
|
"names": [
|
|
"get_codex_model_ids"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_env_value",
|
|
"save_env_value"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"_save_model_choice",
|
|
"deactivate_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_env_value",
|
|
"save_env_value",
|
|
"load_config",
|
|
"save_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"probe_api_models"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config",
|
|
"save_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config",
|
|
"save_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"_save_model_choice",
|
|
"deactivate_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"save_env_value",
|
|
"load_config",
|
|
"save_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"fetch_api_models"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"PROVIDER_REGISTRY",
|
|
"_prompt_model_selection",
|
|
"_save_model_choice",
|
|
"deactivate_provider",
|
|
"resolve_api_key_provider_credentials"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_env_value",
|
|
"save_env_value",
|
|
"load_config",
|
|
"save_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"fetch_api_models",
|
|
"fetch_github_model_catalog",
|
|
"github_model_reasoning_efforts",
|
|
"copilot_model_api_mode",
|
|
"normalize_copilot_model_id"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"PROVIDER_REGISTRY",
|
|
"_prompt_model_selection",
|
|
"_save_model_choice",
|
|
"deactivate_provider",
|
|
"get_external_process_provider_status",
|
|
"resolve_api_key_provider_credentials",
|
|
"resolve_external_process_provider_credentials"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"fetch_github_model_catalog",
|
|
"normalize_copilot_model_id"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config",
|
|
"save_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"PROVIDER_REGISTRY",
|
|
"KIMI_CODE_BASE_URL",
|
|
"_prompt_model_selection",
|
|
"_save_model_choice",
|
|
"deactivate_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_env_value",
|
|
"save_env_value",
|
|
"load_config",
|
|
"save_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"PROVIDER_REGISTRY",
|
|
"_prompt_model_selection",
|
|
"_save_model_choice",
|
|
"deactivate_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_env_value",
|
|
"save_env_value",
|
|
"load_config",
|
|
"save_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"fetch_api_models",
|
|
"opencode_model_api_mode",
|
|
"normalize_opencode_model_id"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"run_oauth_setup_token",
|
|
"read_claude_code_credentials",
|
|
"is_claude_code_token_valid"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"save_anthropic_oauth_token",
|
|
"use_anthropic_claude_code_credentials"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"PROVIDER_REGISTRY",
|
|
"_prompt_model_selection",
|
|
"_save_model_choice",
|
|
"deactivate_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_env_value",
|
|
"save_env_value",
|
|
"load_config",
|
|
"save_config",
|
|
"save_anthropic_api_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"_PROVIDER_MODELS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"login_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"logout_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth_commands",
|
|
"names": [
|
|
"auth_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.status",
|
|
"names": [
|
|
"show_status"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.cron",
|
|
"names": [
|
|
"cron_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.webhook",
|
|
"names": [
|
|
"webhook_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.doctor",
|
|
"names": [
|
|
"run_doctor"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"config_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.uninstall",
|
|
"names": [
|
|
"run_uninstall"
|
|
]
|
|
},
|
|
{
|
|
"module": "urllib.request",
|
|
"names": [
|
|
"urlretrieve"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timezone"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"is_managed",
|
|
"managed_error"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.profiles",
|
|
"names": [
|
|
"list_profiles",
|
|
"create_profile",
|
|
"delete_profile",
|
|
"seed_profile_skills",
|
|
"get_active_profile",
|
|
"set_active_profile",
|
|
"get_active_profile_name",
|
|
"check_alias_collision",
|
|
"create_wrapper_script",
|
|
"remove_wrapper_script",
|
|
"_is_wrapper_dir_in_path",
|
|
"_get_wrapper_dir"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"display_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.profiles",
|
|
"names": [
|
|
"generate_bash_completion",
|
|
"generate_zsh_completion"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.setup",
|
|
"names": [
|
|
"is_interactive_stdin",
|
|
"print_noninteractive_setup_guidance"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.banner",
|
|
"names": [
|
|
"prefetch_update_check"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_sync",
|
|
"names": [
|
|
"sync_skills"
|
|
]
|
|
},
|
|
{
|
|
"module": "simple_term_menu",
|
|
"names": [
|
|
"TerminalMenu"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config",
|
|
"save_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"resolve_codex_runtime_credentials"
|
|
]
|
|
},
|
|
{
|
|
"module": "simple_term_menu",
|
|
"names": [
|
|
"TerminalMenu"
|
|
]
|
|
},
|
|
{
|
|
"module": "simple_term_menu",
|
|
"names": [
|
|
"TerminalMenu"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"read_claude_code_credentials",
|
|
"is_claude_code_token_valid"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.banner",
|
|
"names": [
|
|
"check_for_updates"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"recommended_update_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_sync",
|
|
"names": [
|
|
"sync_skills"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_missing_env_vars",
|
|
"get_missing_config_fields",
|
|
"check_config_version",
|
|
"migrate_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.pairing",
|
|
"names": [
|
|
"pairing_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins_cmd",
|
|
"names": [
|
|
"plugins_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.cli",
|
|
"names": [
|
|
"honcho_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.mcp_config",
|
|
"names": [
|
|
"mcp_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.claw",
|
|
"names": [
|
|
"claw_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.profiles",
|
|
"names": [
|
|
"resolve_profile_env"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"read_claude_code_credentials",
|
|
"is_claude_code_token_valid"
|
|
]
|
|
},
|
|
{
|
|
"module": "simple_term_menu",
|
|
"names": [
|
|
"TerminalMenu"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"display_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_sync",
|
|
"names": [
|
|
"sync_skills"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.profiles",
|
|
"names": [
|
|
"list_profiles",
|
|
"get_active_profile_name",
|
|
"seed_profile_skills"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.cli",
|
|
"names": [
|
|
"sync_honcho_profiles_quiet"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.gateway",
|
|
"names": [
|
|
"is_macos",
|
|
"is_linux",
|
|
"_ensure_user_systemd_env",
|
|
"get_systemd_linger_status",
|
|
"find_gateway_pids"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_config",
|
|
"names": [
|
|
"skills_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_hub",
|
|
"names": [
|
|
"skills_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.memory_setup",
|
|
"names": [
|
|
"memory_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config",
|
|
"save_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.memory_setup",
|
|
"names": [
|
|
"memory_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.tools_config",
|
|
"names": [
|
|
"tools_disable_enable_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.tools_config",
|
|
"names": [
|
|
"tools_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.insights",
|
|
"names": [
|
|
"InsightsEngine"
|
|
]
|
|
},
|
|
{
|
|
"module": "acp_adapter.entry",
|
|
"names": [
|
|
"main"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.copilot_auth",
|
|
"names": [
|
|
"copilot_device_code_login"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.copilot_auth",
|
|
"names": [
|
|
"validate_copilot_token"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.gateway",
|
|
"names": [
|
|
"launchd_restart",
|
|
"get_launchd_label",
|
|
"get_launchd_plist_path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.profiles",
|
|
"names": [
|
|
"get_profile_dir",
|
|
"profile_exists",
|
|
"_read_config_model",
|
|
"_check_gateway_running",
|
|
"_count_skills"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.cli",
|
|
"names": [
|
|
"clone_honcho_for_profile"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.profiles",
|
|
"names": [
|
|
"profile_exists"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.profiles",
|
|
"names": [
|
|
"rename_profile"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.profiles",
|
|
"names": [
|
|
"export_profile"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.profiles",
|
|
"names": [
|
|
"import_profile"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/profiles.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"re",
|
|
"shutil",
|
|
"stat",
|
|
"subprocess",
|
|
"sys",
|
|
"platform",
|
|
"signal",
|
|
"time",
|
|
"tempfile",
|
|
"tarfile",
|
|
"tarfile",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass",
|
|
"field"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path",
|
|
"PurePosixPath",
|
|
"PureWindowsPath"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.gateway",
|
|
"names": [
|
|
"_profile_suffix",
|
|
"get_service_name"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.gateway",
|
|
"names": [
|
|
"get_service_name",
|
|
"get_launchd_plist_path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/mcp_config.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"getpass",
|
|
"logging",
|
|
"os",
|
|
"re",
|
|
"time",
|
|
"sys"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Tuple"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config",
|
|
"save_config",
|
|
"get_env_value",
|
|
"save_env_value",
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.colors",
|
|
"names": [
|
|
"Colors",
|
|
"color"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"display_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_ensure_mcp_loop",
|
|
"_run_on_mcp_loop",
|
|
"_connect_server",
|
|
"_stop_mcp_loop"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.curses_ui",
|
|
"names": [
|
|
"curses_checklist"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.curses_ui",
|
|
"names": [
|
|
"curses_checklist"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_oauth",
|
|
"names": [
|
|
"remove_oauth_tokens"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"run_mcp_server"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_oauth",
|
|
"names": [
|
|
"build_oauth_auth"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/model_switch.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"parse_model_input",
|
|
"detect_provider_for_model",
|
|
"validate_requested_model",
|
|
"_PROVIDER_LABELS",
|
|
"opencode_model_api_mode"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.runtime_provider",
|
|
"names": [
|
|
"resolve_runtime_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.runtime_provider",
|
|
"names": [
|
|
"resolve_runtime_provider",
|
|
"_auto_detect_local_model"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/env_loader.py": {
|
|
"imports": [
|
|
"os"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "dotenv",
|
|
"names": [
|
|
"load_dotenv"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/runtime_provider.py": {
|
|
"imports": [
|
|
"os",
|
|
"re",
|
|
"requests"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"auth"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.credential_pool",
|
|
"names": [
|
|
"CredentialPool",
|
|
"PooledCredential",
|
|
"get_custom_provider_pool_key",
|
|
"load_pool"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"AuthError",
|
|
"DEFAULT_CODEX_BASE_URL",
|
|
"PROVIDER_REGISTRY",
|
|
"format_auth_error",
|
|
"resolve_provider",
|
|
"resolve_nous_runtime_credentials",
|
|
"resolve_codex_runtime_credentials",
|
|
"resolve_api_key_provider_credentials",
|
|
"resolve_external_process_provider_credentials",
|
|
"has_usable_secret"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"OPENROUTER_BASE_URL"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"copilot_model_api_mode"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"resolve_anthropic_token"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"resolve_anthropic_token"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"opencode_model_api_mode"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"opencode_model_api_mode"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/setup.py": {
|
|
"imports": [
|
|
"importlib.util",
|
|
"logging",
|
|
"os",
|
|
"sys",
|
|
"shutil",
|
|
"subprocess",
|
|
"sys",
|
|
"platform",
|
|
"shutil",
|
|
"curses",
|
|
"platform",
|
|
"sys",
|
|
"getpass",
|
|
"importlib.util",
|
|
"subprocess",
|
|
"importlib.util",
|
|
"subprocess",
|
|
"subprocess",
|
|
"subprocess"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Optional",
|
|
"Dict",
|
|
"Any"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.nous_subscription",
|
|
"names": [
|
|
"apply_nous_provider_defaults",
|
|
"get_nous_subscription_explainer_lines",
|
|
"get_nous_subscription_features"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tool_backend_helpers",
|
|
"names": [
|
|
"managed_nous_tools_enabled"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_optional_skills_dir"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_hermes_home",
|
|
"get_config_path",
|
|
"get_env_path",
|
|
"load_config",
|
|
"save_config",
|
|
"save_env_value",
|
|
"get_env_value",
|
|
"ensure_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.colors",
|
|
"names": [
|
|
"Colors",
|
|
"color"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"PROVIDER_REGISTRY"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"github_model_reasoning_efforts",
|
|
"normalize_copilot_model_id"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"PROVIDER_REGISTRY",
|
|
"resolve_api_key_provider_credentials"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_env_value"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"copilot_model_api_mode",
|
|
"fetch_api_models",
|
|
"fetch_github_model_catalog",
|
|
"normalize_copilot_model_id",
|
|
"normalize_opencode_model_id",
|
|
"opencode_model_api_mode"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.curses_ui",
|
|
"names": [
|
|
"curses_checklist"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"display_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config",
|
|
"save_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"select_provider_and_model"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.tools_config",
|
|
"names": [
|
|
"tools_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"is_managed",
|
|
"managed_error"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"get_active_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_missing_env_vars",
|
|
"get_missing_config_fields",
|
|
"check_config_version"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"get_available_vision_backends"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"display_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"get_available_vision_backends"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"display_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.gateway",
|
|
"names": [
|
|
"_is_service_installed",
|
|
"_is_service_running",
|
|
"has_conflicting_systemd_units",
|
|
"install_linux_gateway_from_setup",
|
|
"print_systemd_scope_conflict_warning",
|
|
"systemd_start",
|
|
"systemd_restart",
|
|
"launchd_install",
|
|
"launchd_start",
|
|
"launchd_restart"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.credential_pool",
|
|
"names": [
|
|
"load_pool"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth_commands",
|
|
"names": [
|
|
"auth_add_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"get_active_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.managed_tool_gateway",
|
|
"names": [
|
|
"is_managed_tool_gateway_ready"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tool_backend_helpers",
|
|
"names": [
|
|
"normalize_modal_mode"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/skin_engine.py": {
|
|
"imports": [
|
|
"logging",
|
|
"os",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass",
|
|
"field"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Tuple"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/callbacks.py": {
|
|
"imports": [
|
|
"queue",
|
|
"time",
|
|
"getpass",
|
|
"threading"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "hermes_cli.banner",
|
|
"names": [
|
|
"cprint",
|
|
"_DIM",
|
|
"_RST"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"save_env_value_secure"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"display_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"CLI_CONFIG"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"CLI_CONFIG"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/auth_commands.py": {
|
|
"imports": [
|
|
"math",
|
|
"time",
|
|
"uuid",
|
|
"hermes_cli.auth"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "getpass",
|
|
"names": [
|
|
"getpass"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.credential_pool",
|
|
"names": [
|
|
"AUTH_TYPE_API_KEY",
|
|
"AUTH_TYPE_OAUTH",
|
|
"CUSTOM_POOL_PREFIX",
|
|
"SOURCE_MANUAL",
|
|
"STATUS_EXHAUSTED",
|
|
"STRATEGY_FILL_FIRST",
|
|
"STRATEGY_ROUND_ROBIN",
|
|
"STRATEGY_RANDOM",
|
|
"STRATEGY_LEAST_USED",
|
|
"SUPPORTED_POOL_STRATEGIES",
|
|
"PooledCredential",
|
|
"_normalize_custom_pool_name",
|
|
"get_pool_strategy",
|
|
"label_from_token",
|
|
"list_custom_pool_providers",
|
|
"load_pool",
|
|
"_exhausted_ttl"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"PROVIDER_REGISTRY"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"OPENROUTER_BASE_URL"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config",
|
|
"save_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.credential_pool",
|
|
"names": [
|
|
"_get_custom_provider_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent",
|
|
"names": [
|
|
"anthropic_adapter"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/tools_config.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"sys",
|
|
"shutil",
|
|
"curses",
|
|
"tiktoken",
|
|
"model_tools",
|
|
"getpass",
|
|
"subprocess",
|
|
"subprocess",
|
|
"subprocess"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Set"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config",
|
|
"save_config",
|
|
"get_env_value",
|
|
"save_env_value"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.colors",
|
|
"names": [
|
|
"Colors",
|
|
"color"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.nous_subscription",
|
|
"names": [
|
|
"apply_nous_managed_defaults",
|
|
"get_nous_subscription_features"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tool_backend_helpers",
|
|
"names": [
|
|
"managed_nous_tools_enabled"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolsets",
|
|
"names": [
|
|
"resolve_toolset"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.curses_ui",
|
|
"names": [
|
|
"curses_checklist"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolsets",
|
|
"names": [
|
|
"resolve_toolset"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"display_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.curses_ui",
|
|
"names": [
|
|
"curses_checklist"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins",
|
|
"names": [
|
|
"discover_plugins",
|
|
"get_plugin_toolsets"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins",
|
|
"names": [
|
|
"discover_plugins",
|
|
"get_plugin_toolsets"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"probe_mcp_server_tools"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"resolve_vision_provider_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"display_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config",
|
|
"save_config"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/commands.py": {
|
|
"imports": [
|
|
"os",
|
|
"re",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "collections.abc",
|
|
"names": [
|
|
"Callable",
|
|
"Mapping"
|
|
]
|
|
},
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.auto_suggest",
|
|
"names": [
|
|
"AutoSuggest",
|
|
"Suggestion"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.completion",
|
|
"names": [
|
|
"Completer",
|
|
"Completion"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins",
|
|
"names": [
|
|
"get_plugin_manager"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_utils",
|
|
"names": [
|
|
"get_disabled_skill_names"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_commands",
|
|
"names": [
|
|
"get_skill_commands"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"SKILLS_DIR"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"hermes_cli/skills_hub.py": {
|
|
"imports": [
|
|
"json",
|
|
"shutil",
|
|
"yaml",
|
|
"httpx",
|
|
"re",
|
|
"sys",
|
|
"base64"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.console",
|
|
"names": [
|
|
"Console"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.panel",
|
|
"names": [
|
|
"Panel"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.table",
|
|
"names": [
|
|
"Table"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"display_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_hub",
|
|
"names": [
|
|
"unified_search"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_hub",
|
|
"names": [
|
|
"GitHubAuth",
|
|
"create_source_router",
|
|
"unified_search"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_hub",
|
|
"names": [
|
|
"GitHubAuth",
|
|
"create_source_router"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_hub",
|
|
"names": [
|
|
"GitHubAuth",
|
|
"create_source_router",
|
|
"ensure_hub_dirs",
|
|
"quarantine_bundle",
|
|
"install_from_quarantine",
|
|
"HubLockFile"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_guard",
|
|
"names": [
|
|
"scan_skill",
|
|
"should_allow_install",
|
|
"format_scan_report"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_hub",
|
|
"names": [
|
|
"SKILLS_DIR"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_hub",
|
|
"names": [
|
|
"GitHubAuth",
|
|
"create_source_router"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_hub",
|
|
"names": [
|
|
"HubLockFile",
|
|
"ensure_hub_dirs"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_sync",
|
|
"names": [
|
|
"_read_manifest"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"_find_all_skills"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_hub",
|
|
"names": [
|
|
"check_for_skill_updates"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_hub",
|
|
"names": [
|
|
"HubLockFile",
|
|
"check_for_skill_updates"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_hub",
|
|
"names": [
|
|
"HubLockFile",
|
|
"SKILLS_DIR"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_guard",
|
|
"names": [
|
|
"scan_skill",
|
|
"format_scan_report"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_hub",
|
|
"names": [
|
|
"uninstall_skill"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_hub",
|
|
"names": [
|
|
"TapsManager"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_hub",
|
|
"names": [
|
|
"GitHubAuth",
|
|
"SKILLS_DIR"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_guard",
|
|
"names": [
|
|
"scan_skill",
|
|
"format_scan_report"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_hub",
|
|
"names": [
|
|
"HubLockFile",
|
|
"TapsManager"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_hub",
|
|
"names": [
|
|
"TapsManager"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_hub",
|
|
"names": [
|
|
"append_audit_log"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_hub",
|
|
"names": [
|
|
"append_audit_log"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_hub",
|
|
"names": [
|
|
"append_audit_log"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.prompt_builder",
|
|
"names": [
|
|
"clear_skills_system_prompt_cache"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.prompt_builder",
|
|
"names": [
|
|
"clear_skills_system_prompt_cache"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"acp_adapter/tools.py": {
|
|
"imports": [
|
|
"uuid",
|
|
"acp",
|
|
"json"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "acp.schema",
|
|
"names": [
|
|
"ToolCallLocation",
|
|
"ToolCallStart",
|
|
"ToolCallProgress",
|
|
"ToolKind"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"acp_adapter/auth.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.runtime_provider",
|
|
"names": [
|
|
"resolve_runtime_provider"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"acp_adapter/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": []
|
|
},
|
|
"acp_adapter/__main__.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "entry",
|
|
"names": [
|
|
"main"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"acp_adapter/server.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"logging",
|
|
"acp"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "collections",
|
|
"names": [
|
|
"defaultdict",
|
|
"deque"
|
|
]
|
|
},
|
|
{
|
|
"module": "concurrent.futures",
|
|
"names": [
|
|
"ThreadPoolExecutor"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Deque",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "acp.schema",
|
|
"names": [
|
|
"AgentCapabilities",
|
|
"AuthenticateResponse",
|
|
"AuthMethod",
|
|
"ClientCapabilities",
|
|
"EmbeddedResourceContentBlock",
|
|
"ForkSessionResponse",
|
|
"ImageContentBlock",
|
|
"AudioContentBlock",
|
|
"Implementation",
|
|
"InitializeResponse",
|
|
"ListSessionsResponse",
|
|
"LoadSessionResponse",
|
|
"McpServerHttp",
|
|
"McpServerSse",
|
|
"McpServerStdio",
|
|
"NewSessionResponse",
|
|
"PromptResponse",
|
|
"ResumeSessionResponse",
|
|
"SetSessionConfigOptionResponse",
|
|
"SetSessionModelResponse",
|
|
"SetSessionModeResponse",
|
|
"ResourceContentBlock",
|
|
"SessionCapabilities",
|
|
"SessionForkCapabilities",
|
|
"SessionListCapabilities",
|
|
"SessionInfo",
|
|
"TextContentBlock",
|
|
"Usage"
|
|
]
|
|
},
|
|
{
|
|
"module": "acp_adapter.auth",
|
|
"names": [
|
|
"detect_provider",
|
|
"has_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "acp_adapter.events",
|
|
"names": [
|
|
"make_message_cb",
|
|
"make_step_cb",
|
|
"make_thinking_cb",
|
|
"make_tool_progress_cb"
|
|
]
|
|
},
|
|
{
|
|
"module": "acp_adapter.permissions",
|
|
"names": [
|
|
"make_approval_callback"
|
|
]
|
|
},
|
|
{
|
|
"module": "acp_adapter.session",
|
|
"names": [
|
|
"SessionManager",
|
|
"SessionState"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"__version__"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"register_mcp_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"get_tool_definitions"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"parse_model_input",
|
|
"detect_provider_for_model"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"get_tool_definitions"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools",
|
|
"names": [
|
|
"terminal_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools",
|
|
"names": [
|
|
"terminal_tool"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"acp_adapter/permissions.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"logging",
|
|
"acp"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "concurrent.futures",
|
|
"names": [
|
|
"TimeoutError"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Callable"
|
|
]
|
|
},
|
|
{
|
|
"module": "acp.schema",
|
|
"names": [
|
|
"AllowedOutcome",
|
|
"PermissionOption"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"acp_adapter/session.py": {
|
|
"imports": [
|
|
"copy",
|
|
"json",
|
|
"logging",
|
|
"uuid",
|
|
"threading",
|
|
"threading",
|
|
"threading",
|
|
"os"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass",
|
|
"field"
|
|
]
|
|
},
|
|
{
|
|
"module": "threading",
|
|
"names": [
|
|
"Lock"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"register_task_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"clear_task_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.runtime_provider",
|
|
"names": [
|
|
"resolve_runtime_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"acp_adapter/entry.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"logging",
|
|
"os",
|
|
"sys",
|
|
"acp"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.env_loader",
|
|
"names": [
|
|
"load_hermes_dotenv"
|
|
]
|
|
},
|
|
{
|
|
"module": "server",
|
|
"names": [
|
|
"HermesACPAgent"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"acp_adapter/events.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"json",
|
|
"logging",
|
|
"acp"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "collections",
|
|
"names": [
|
|
"deque"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Callable",
|
|
"Deque",
|
|
"Dict"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools",
|
|
"names": [
|
|
"build_tool_complete",
|
|
"build_tool_start",
|
|
"make_tool_call_id"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"cron/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "cron.jobs",
|
|
"names": [
|
|
"create_job",
|
|
"get_job",
|
|
"list_jobs",
|
|
"remove_job",
|
|
"update_job",
|
|
"pause_job",
|
|
"resume_job",
|
|
"trigger_job",
|
|
"JOBS_FILE"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.scheduler",
|
|
"names": [
|
|
"tick"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"cron/scheduler.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"concurrent.futures",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"sys",
|
|
"traceback",
|
|
"fcntl",
|
|
"msvcrt",
|
|
"concurrent.futures",
|
|
"yaml",
|
|
"json"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_time",
|
|
"names": [
|
|
"now"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.jobs",
|
|
"names": [
|
|
"get_due_jobs",
|
|
"mark_job_run",
|
|
"save_job_output",
|
|
"advance_next_run"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.send_message_tool",
|
|
"names": [
|
|
"_send_to_platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"load_gateway_config",
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"skill_view"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "dotenv",
|
|
"names": [
|
|
"load_dotenv"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"parse_reasoning_effort"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.runtime_provider",
|
|
"names": [
|
|
"resolve_runtime_provider",
|
|
"format_runtime_provider_error"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.smart_model_routing",
|
|
"names": [
|
|
"resolve_turn_route"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.channel_directory",
|
|
"names": [
|
|
"resolve_channel_name"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"cron/jobs.py": {
|
|
"imports": [
|
|
"copy",
|
|
"json",
|
|
"logging",
|
|
"tempfile",
|
|
"os",
|
|
"re",
|
|
"uuid"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timedelta"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Optional",
|
|
"Dict",
|
|
"List",
|
|
"Any"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_time",
|
|
"names": [
|
|
"now"
|
|
]
|
|
},
|
|
{
|
|
"module": "croniter",
|
|
"names": [
|
|
"croniter"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/config.py": {
|
|
"imports": [
|
|
"logging",
|
|
"os",
|
|
"json",
|
|
"yaml",
|
|
"json"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass",
|
|
"field"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Any"
|
|
]
|
|
},
|
|
{
|
|
"module": "enum",
|
|
"names": [
|
|
"Enum"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "utils",
|
|
"names": [
|
|
"is_truthy_value"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/hooks.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"importlib.util",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Callable",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.builtin_hooks.boot_md",
|
|
"names": [
|
|
"handle"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/status.py": {
|
|
"imports": [
|
|
"hashlib",
|
|
"json",
|
|
"os",
|
|
"sys"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timezone"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Optional"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/stream_consumer.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"logging",
|
|
"queue",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Optional"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/mirror.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/delivery.py": {
|
|
"imports": [
|
|
"logging"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Any",
|
|
"Union"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "config",
|
|
"names": [
|
|
"Platform",
|
|
"GatewayConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "session",
|
|
"names": [
|
|
"SessionSource"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/channel_directory.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"discord"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.send_message_tool",
|
|
"names": [
|
|
"_send_slack"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"PlatformConfig",
|
|
"HomeChannel",
|
|
"load_gateway_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "session",
|
|
"names": [
|
|
"SessionContext",
|
|
"SessionStore",
|
|
"SessionResetPolicy",
|
|
"build_session_context_prompt"
|
|
]
|
|
},
|
|
{
|
|
"module": "delivery",
|
|
"names": [
|
|
"DeliveryRouter",
|
|
"DeliveryTarget"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/pairing.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"secrets",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_dir"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/run.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"re",
|
|
"shlex",
|
|
"sys",
|
|
"signal",
|
|
"tempfile",
|
|
"threading",
|
|
"time",
|
|
"uuid",
|
|
"ssl",
|
|
"shutil",
|
|
"time",
|
|
"atexit",
|
|
"argparse",
|
|
"certifi",
|
|
"yaml",
|
|
"importlib.util",
|
|
"threading",
|
|
"json",
|
|
"yaml",
|
|
"yaml",
|
|
"uuid",
|
|
"uuid",
|
|
"yaml",
|
|
"yaml",
|
|
"uuid",
|
|
"asyncio",
|
|
"json",
|
|
"shutil",
|
|
"subprocess",
|
|
"json",
|
|
"re",
|
|
"json",
|
|
"asyncio",
|
|
"hashlib",
|
|
"json",
|
|
"queue",
|
|
"json",
|
|
"yaml",
|
|
"yaml",
|
|
"yaml",
|
|
"yaml",
|
|
"yaml",
|
|
"yaml",
|
|
"yaml",
|
|
"yaml",
|
|
"yaml",
|
|
"yaml",
|
|
"yaml",
|
|
"yaml",
|
|
"os",
|
|
"re",
|
|
"yaml",
|
|
"asyncio",
|
|
"yaml",
|
|
"json",
|
|
"math"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "logging.handlers",
|
|
"names": [
|
|
"RotatingFileHandler"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"Optional",
|
|
"Any",
|
|
"List"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "utils",
|
|
"names": [
|
|
"atomic_yaml_write"
|
|
]
|
|
},
|
|
{
|
|
"module": "dotenv",
|
|
"names": [
|
|
"load_dotenv"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.env_loader",
|
|
"names": [
|
|
"load_hermes_dotenv"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"GatewayConfig",
|
|
"load_gateway_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionStore",
|
|
"SessionSource",
|
|
"SessionContext",
|
|
"build_session_context",
|
|
"build_session_context_prompt",
|
|
"build_session_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.delivery",
|
|
"names": [
|
|
"DeliveryRouter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter",
|
|
"MessageEvent",
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.runtime_provider",
|
|
"names": [
|
|
"resolve_runtime_provider",
|
|
"format_runtime_provider_error"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.scheduler",
|
|
"names": [
|
|
"tick"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"cleanup_image_cache",
|
|
"cleanup_document_cache"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"get_running_pid",
|
|
"remove_pid_file"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.redact",
|
|
"names": [
|
|
"RedactingFormatter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"write_pid_file",
|
|
"remove_pid_file"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"_expand_env_vars"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"_get_disabled_skill_names"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_utils",
|
|
"names": [
|
|
"get_all_skills_dirs"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home",
|
|
"get_optional_skills_dir"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.process_registry",
|
|
"names": [
|
|
"process_registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.pairing",
|
|
"names": [
|
|
"PairingStore"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.hooks",
|
|
"names": [
|
|
"HookRegistry"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.smart_model_routing",
|
|
"names": [
|
|
"resolve_turn_route"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"parse_reasoning_effort"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"remove_pid_file",
|
|
"write_runtime_status"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.commands",
|
|
"names": [
|
|
"GATEWAY_KNOWN_COMMANDS",
|
|
"resolve_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"get_model_context_length",
|
|
"DEFAULT_FALLBACK_CONTEXT"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home",
|
|
"display_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.commands",
|
|
"names": [
|
|
"gateway_help_lines"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.commands",
|
|
"names": [
|
|
"gateway_help_lines"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"list_available_providers",
|
|
"normalize_provider",
|
|
"_PROVIDER_LABELS"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.checkpoint_manager",
|
|
"names": [
|
|
"CheckpointManager",
|
|
"format_checkpoint_list"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"resolve_gateway_approval",
|
|
"has_blocking_approval",
|
|
"pending_approval_count"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"resolve_gateway_approval",
|
|
"has_blocking_approval"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"is_managed",
|
|
"format_managed_message"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.vision_tools",
|
|
"names": [
|
|
"vision_analyze_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"transcribe_audio",
|
|
"get_stt_model_from_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.process_registry",
|
|
"names": [
|
|
"process_registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.tools_config",
|
|
"names": [
|
|
"_get_platform_tools"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_sync",
|
|
"names": [
|
|
"sync_skills"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"shutdown_mcp_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"ensure_installed"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skill_manager_tool",
|
|
"names": [
|
|
"_find_skill"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.profiles",
|
|
"names": [
|
|
"get_active_profile_name"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"write_runtime_status"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.process_registry",
|
|
"names": [
|
|
"process_registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"write_runtime_status"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.channel_directory",
|
|
"names": [
|
|
"build_channel_directory"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.process_registry",
|
|
"names": [
|
|
"process_registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.telegram",
|
|
"names": [
|
|
"TelegramAdapter",
|
|
"check_telegram_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.commands",
|
|
"names": [
|
|
"resolve_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"estimate_messages_tokens_rough",
|
|
"get_model_context_length"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_commands",
|
|
"names": [
|
|
"get_skill_commands"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_commands",
|
|
"names": [
|
|
"get_skill_commands"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tts_tool",
|
|
"names": [
|
|
"text_to_speech_tool",
|
|
"_strip_markdown_for_tts"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.tools_config",
|
|
"names": [
|
|
"_get_platform_tools"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"estimate_messages_tokens_rough"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"estimate_messages_tokens_rough"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.insights",
|
|
"names": [
|
|
"InsightsEngine"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"shutdown_mcp_servers",
|
|
"discover_mcp_tools",
|
|
"_load_mcp_config",
|
|
"_servers",
|
|
"_lock"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.display",
|
|
"names": [
|
|
"set_tool_preview_max_len"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.display",
|
|
"names": [
|
|
"get_tool_emoji"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"register_gateway_notify",
|
|
"reset_current_session_key",
|
|
"set_current_session_key",
|
|
"unregister_gateway_notify"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.memory_tool",
|
|
"names": [
|
|
"get_memory_dir"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"DiscordAdapter",
|
|
"check_discord_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_commands",
|
|
"names": [
|
|
"build_plan_path",
|
|
"build_skill_invocation_message"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins",
|
|
"names": [
|
|
"get_plugin_command_handler"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_commands",
|
|
"names": [
|
|
"get_skill_commands",
|
|
"build_skill_invocation_message"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_commands",
|
|
"names": [
|
|
"_load_skill_payload",
|
|
"_build_skill_message"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.process_registry",
|
|
"names": [
|
|
"process_registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"resolve_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"StreamingConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.channel_directory",
|
|
"names": [
|
|
"build_channel_directory"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"release_all_scoped_locks"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"write_runtime_status"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"write_runtime_status"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.whatsapp",
|
|
"names": [
|
|
"WhatsAppAdapter",
|
|
"check_whatsapp_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageEvent",
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.context_references",
|
|
"names": [
|
|
"preprocess_context_references_async"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"get_model_context_length"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.display",
|
|
"names": [
|
|
"get_tool_preview_max_len"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.stream_consumer",
|
|
"names": [
|
|
"GatewayStreamConsumer",
|
|
"StreamConsumerConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.title_generator",
|
|
"names": [
|
|
"maybe_auto_title"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.slack",
|
|
"names": [
|
|
"SlackAdapter",
|
|
"check_slack_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_utils",
|
|
"names": [
|
|
"get_disabled_skill_names"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.channel_directory",
|
|
"names": [
|
|
"build_channel_directory"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.signal",
|
|
"names": [
|
|
"SignalAdapter",
|
|
"check_signal_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.homeassistant",
|
|
"names": [
|
|
"HomeAssistantAdapter",
|
|
"check_ha_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.email",
|
|
"names": [
|
|
"EmailAdapter",
|
|
"check_email_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.sms",
|
|
"names": [
|
|
"SmsAdapter",
|
|
"check_sms_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.dingtalk",
|
|
"names": [
|
|
"DingTalkAdapter",
|
|
"check_dingtalk_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter",
|
|
"check_feishu_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"WeComAdapter",
|
|
"check_wecom_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.mattermost",
|
|
"names": [
|
|
"MattermostAdapter",
|
|
"check_mattermost_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.matrix",
|
|
"names": [
|
|
"MatrixAdapter",
|
|
"check_matrix_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.api_server",
|
|
"names": [
|
|
"APIServerAdapter",
|
|
"check_api_server_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.webhook",
|
|
"names": [
|
|
"WebhookAdapter",
|
|
"check_webhook_requirements"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/sticker_cache.py": {
|
|
"imports": [
|
|
"json",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/session.py": {
|
|
"imports": [
|
|
"hashlib",
|
|
"logging",
|
|
"os",
|
|
"json",
|
|
"re",
|
|
"threading",
|
|
"uuid",
|
|
"tempfile"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timedelta"
|
|
]
|
|
},
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Any"
|
|
]
|
|
},
|
|
{
|
|
"module": "config",
|
|
"names": [
|
|
"Platform",
|
|
"GatewayConfig",
|
|
"SessionResetPolicy",
|
|
"HomeChannel"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/platforms/mattermost.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"re",
|
|
"time",
|
|
"aiohttp",
|
|
"aiohttp",
|
|
"aiohttp",
|
|
"aiohttp",
|
|
"aiohttp",
|
|
"aiohttp",
|
|
"asyncio",
|
|
"aiohttp",
|
|
"mimetypes",
|
|
"random",
|
|
"aiohttp"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter",
|
|
"MessageEvent",
|
|
"MessageType",
|
|
"SendResult"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"cache_image_from_bytes",
|
|
"cache_document_from_bytes"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"cache_audio_from_bytes"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/platforms/api_server.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"sqlite3",
|
|
"time",
|
|
"uuid",
|
|
"time",
|
|
"time",
|
|
"time",
|
|
"time",
|
|
"queue",
|
|
"queue",
|
|
"socket"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter",
|
|
"SendResult"
|
|
]
|
|
},
|
|
{
|
|
"module": "aiohttp",
|
|
"names": [
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"module": "hashlib",
|
|
"names": [
|
|
"sha256"
|
|
]
|
|
},
|
|
{
|
|
"module": "collections",
|
|
"names": [
|
|
"OrderedDict"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"_resolve_runtime_agent_kwargs",
|
|
"_resolve_gateway_model",
|
|
"_load_gateway_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.tools_config",
|
|
"names": [
|
|
"_get_platform_tools"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.jobs",
|
|
"names": [
|
|
"list_jobs",
|
|
"get_job",
|
|
"create_job",
|
|
"update_job",
|
|
"remove_job",
|
|
"pause_job",
|
|
"resume_job",
|
|
"trigger_job"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.display",
|
|
"names": [
|
|
"get_tool_emoji"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/platforms/whatsapp.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"platform",
|
|
"re",
|
|
"subprocess",
|
|
"sys",
|
|
"aiohttp",
|
|
"aiohttp",
|
|
"asyncio",
|
|
"aiohttp",
|
|
"aiohttp",
|
|
"aiohttp",
|
|
"aiohttp",
|
|
"aiohttp",
|
|
"aiohttp",
|
|
"signal"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"Optional",
|
|
"Any"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_dir"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter",
|
|
"MessageEvent",
|
|
"MessageType",
|
|
"SendResult",
|
|
"SUPPORTED_DOCUMENT_TYPES",
|
|
"cache_image_from_url",
|
|
"cache_audio_from_url"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"acquire_scoped_lock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"release_scoped_lock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"release_scoped_lock"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/platforms/homeassistant.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"time",
|
|
"uuid",
|
|
"aiohttp"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"Optional",
|
|
"Set"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter",
|
|
"MessageEvent",
|
|
"MessageType",
|
|
"SendResult"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/platforms/matrix.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"io",
|
|
"json",
|
|
"logging",
|
|
"mimetypes",
|
|
"os",
|
|
"re",
|
|
"time",
|
|
"nio",
|
|
"nio",
|
|
"nio",
|
|
"nio",
|
|
"nio",
|
|
"nio",
|
|
"nio",
|
|
"nio",
|
|
"nio",
|
|
"nio",
|
|
"markdown",
|
|
"aiohttp",
|
|
"nio",
|
|
"httpx"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"Optional",
|
|
"Set"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter",
|
|
"MessageEvent",
|
|
"MessageType",
|
|
"SendResult"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_dir"
|
|
]
|
|
},
|
|
{
|
|
"module": "collections",
|
|
"names": [
|
|
"deque"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"cache_audio_from_bytes"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"cache_image_from_bytes"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/platforms/sms.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"base64",
|
|
"logging",
|
|
"os",
|
|
"re",
|
|
"urllib.parse",
|
|
"aiohttp",
|
|
"aiohttp",
|
|
"aiohttp"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter",
|
|
"MessageEvent",
|
|
"MessageType",
|
|
"SendResult"
|
|
]
|
|
},
|
|
{
|
|
"module": "aiohttp",
|
|
"names": [
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"module": "aiohttp",
|
|
"names": [
|
|
"web"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/platforms/wecom.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"base64",
|
|
"hashlib",
|
|
"json",
|
|
"logging",
|
|
"mimetypes",
|
|
"os",
|
|
"re",
|
|
"time",
|
|
"uuid",
|
|
"aiohttp",
|
|
"httpx"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timezone"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Tuple"
|
|
]
|
|
},
|
|
{
|
|
"module": "urllib.parse",
|
|
"names": [
|
|
"unquote",
|
|
"urlparse"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter",
|
|
"MessageEvent",
|
|
"MessageType",
|
|
"SendResult",
|
|
"cache_document_from_bytes",
|
|
"cache_image_from_bytes"
|
|
]
|
|
},
|
|
{
|
|
"module": "cryptography.hazmat.primitives.ciphers",
|
|
"names": [
|
|
"Cipher",
|
|
"algorithms",
|
|
"modes"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/platforms/base.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"logging",
|
|
"os",
|
|
"random",
|
|
"re",
|
|
"uuid",
|
|
"sys",
|
|
"asyncio",
|
|
"httpx",
|
|
"logging",
|
|
"time",
|
|
"asyncio",
|
|
"httpx",
|
|
"logging",
|
|
"time",
|
|
"random",
|
|
"json"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "abc",
|
|
"names": [
|
|
"ABC",
|
|
"abstractmethod"
|
|
]
|
|
},
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass",
|
|
"field"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Any",
|
|
"Callable",
|
|
"Awaitable",
|
|
"Tuple"
|
|
]
|
|
},
|
|
{
|
|
"module": "enum",
|
|
"names": [
|
|
"Enum"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionSource",
|
|
"build_session_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_dir"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"write_runtime_status"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"write_runtime_status"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"write_runtime_status"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tts_tool",
|
|
"names": [
|
|
"text_to_speech_tool",
|
|
"check_tts_requirements"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/platforms/telegram.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"re",
|
|
"sys",
|
|
"yaml",
|
|
"os",
|
|
"os",
|
|
"json",
|
|
"yaml",
|
|
"httpx"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Any"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter",
|
|
"MessageEvent",
|
|
"MessageType",
|
|
"SendResult",
|
|
"cache_image_from_bytes",
|
|
"cache_audio_from_bytes",
|
|
"cache_document_from_bytes",
|
|
"SUPPORTED_DOCUMENT_TYPES"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.telegram_network",
|
|
"names": [
|
|
"TelegramFallbackTransport",
|
|
"discover_fallback_ips",
|
|
"parse_fallback_ip_env"
|
|
]
|
|
},
|
|
{
|
|
"module": "telegram",
|
|
"names": [
|
|
"Update",
|
|
"Bot",
|
|
"Message"
|
|
]
|
|
},
|
|
{
|
|
"module": "telegram.ext",
|
|
"names": [
|
|
"Application",
|
|
"CommandHandler",
|
|
"MessageHandler",
|
|
"ContextTypes",
|
|
"filters"
|
|
]
|
|
},
|
|
{
|
|
"module": "telegram.constants",
|
|
"names": [
|
|
"ParseMode",
|
|
"ChatType"
|
|
]
|
|
},
|
|
{
|
|
"module": "telegram.request",
|
|
"names": [
|
|
"HTTPXRequest"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"build_session_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"build_session_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.sticker_cache",
|
|
"names": [
|
|
"get_cached_description",
|
|
"cache_sticker_description",
|
|
"build_sticker_injection",
|
|
"build_animated_sticker_injection",
|
|
"STICKER_VISION_PROMPT"
|
|
]
|
|
},
|
|
{
|
|
"module": "telegram.error",
|
|
"names": [
|
|
"NetworkError",
|
|
"TimedOut"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"acquire_scoped_lock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.vision_tools",
|
|
"names": [
|
|
"vision_analyze_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "telegram.error",
|
|
"names": [
|
|
"NetworkError",
|
|
"TimedOut"
|
|
]
|
|
},
|
|
{
|
|
"module": "urllib.parse",
|
|
"names": [
|
|
"urlparse"
|
|
]
|
|
},
|
|
{
|
|
"module": "telegram",
|
|
"names": [
|
|
"BotCommand"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.commands",
|
|
"names": [
|
|
"telegram_menu_commands"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"release_scoped_lock"
|
|
]
|
|
},
|
|
{
|
|
"module": "telegram.error",
|
|
"names": [
|
|
"NetworkError"
|
|
]
|
|
},
|
|
{
|
|
"module": "telegram.error",
|
|
"names": [
|
|
"BadRequest"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"release_scoped_lock"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/platforms/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "base",
|
|
"names": [
|
|
"BasePlatformAdapter",
|
|
"MessageEvent",
|
|
"SendResult"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/platforms/webhook.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"hashlib",
|
|
"hmac",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"re",
|
|
"subprocess",
|
|
"time",
|
|
"socket",
|
|
"urllib.parse"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter",
|
|
"MessageEvent",
|
|
"MessageType",
|
|
"SendResult"
|
|
]
|
|
},
|
|
{
|
|
"module": "aiohttp",
|
|
"names": [
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_commands",
|
|
"names": [
|
|
"build_skill_invocation_message",
|
|
"get_skill_commands"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/platforms/signal.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"base64",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"random",
|
|
"re",
|
|
"time",
|
|
"httpx"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timezone"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Any"
|
|
]
|
|
},
|
|
{
|
|
"module": "urllib.parse",
|
|
"names": [
|
|
"quote",
|
|
"unquote"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter",
|
|
"MessageEvent",
|
|
"MessageType",
|
|
"SendResult",
|
|
"cache_image_from_bytes",
|
|
"cache_audio_from_bytes",
|
|
"cache_document_from_bytes",
|
|
"cache_image_from_url"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"acquire_scoped_lock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"release_scoped_lock"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/platforms/telegram_network.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"ipaddress",
|
|
"logging",
|
|
"os",
|
|
"socket",
|
|
"httpx"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Iterable",
|
|
"Optional"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/platforms/dingtalk.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"logging",
|
|
"os",
|
|
"time",
|
|
"uuid",
|
|
"dingtalk_stream",
|
|
"httpx"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timezone"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter",
|
|
"MessageEvent",
|
|
"MessageType",
|
|
"SendResult"
|
|
]
|
|
},
|
|
{
|
|
"module": "dingtalk_stream",
|
|
"names": [
|
|
"ChatbotHandler",
|
|
"ChatbotMessage"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/platforms/slack.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"re",
|
|
"time",
|
|
"sys",
|
|
"asyncio",
|
|
"httpx",
|
|
"asyncio",
|
|
"httpx",
|
|
"httpx"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Dict",
|
|
"Optional",
|
|
"Any"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter",
|
|
"MessageEvent",
|
|
"MessageType",
|
|
"SendResult",
|
|
"SUPPORTED_DOCUMENT_TYPES",
|
|
"cache_document_from_bytes"
|
|
]
|
|
},
|
|
{
|
|
"module": "slack_bolt.async_app",
|
|
"names": [
|
|
"AsyncApp"
|
|
]
|
|
},
|
|
{
|
|
"module": "slack_bolt.adapter.socket_mode.async_handler",
|
|
"names": [
|
|
"AsyncSocketModeHandler"
|
|
]
|
|
},
|
|
{
|
|
"module": "slack_sdk.web.async_client",
|
|
"names": [
|
|
"AsyncWebClient"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.commands",
|
|
"names": [
|
|
"slack_subcommand_map"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"acquire_scoped_lock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"release_scoped_lock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"cache_audio_from_bytes"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"cache_image_from_bytes"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/platforms/email.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"email",
|
|
"imaplib",
|
|
"logging",
|
|
"os",
|
|
"re",
|
|
"smtplib",
|
|
"ssl",
|
|
"uuid"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "email.header",
|
|
"names": [
|
|
"decode_header"
|
|
]
|
|
},
|
|
{
|
|
"module": "email.mime.multipart",
|
|
"names": [
|
|
"MIMEMultipart"
|
|
]
|
|
},
|
|
{
|
|
"module": "email.mime.text",
|
|
"names": [
|
|
"MIMEText"
|
|
]
|
|
},
|
|
{
|
|
"module": "email.mime.base",
|
|
"names": [
|
|
"MIMEBase"
|
|
]
|
|
},
|
|
{
|
|
"module": "email",
|
|
"names": [
|
|
"encoders"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter",
|
|
"MessageEvent",
|
|
"MessageType",
|
|
"SendResult",
|
|
"cache_document_from_bytes",
|
|
"cache_image_from_bytes"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/platforms/discord.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"struct",
|
|
"subprocess",
|
|
"tempfile",
|
|
"threading",
|
|
"time",
|
|
"sys",
|
|
"re",
|
|
"discord",
|
|
"nacl.secret",
|
|
"ctypes.util",
|
|
"io",
|
|
"time",
|
|
"aiohttp",
|
|
"sys",
|
|
"base64",
|
|
"json",
|
|
"davey",
|
|
"io",
|
|
"aiohttp"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "collections",
|
|
"names": [
|
|
"defaultdict"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Callable",
|
|
"Dict",
|
|
"Optional",
|
|
"Any"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter",
|
|
"MessageEvent",
|
|
"MessageType",
|
|
"SendResult",
|
|
"cache_image_from_url",
|
|
"cache_audio_from_url",
|
|
"cache_document_from_bytes",
|
|
"SUPPORTED_DOCUMENT_TYPES"
|
|
]
|
|
},
|
|
{
|
|
"module": "discord",
|
|
"names": [
|
|
"Message",
|
|
"Intents"
|
|
]
|
|
},
|
|
{
|
|
"module": "discord.ext",
|
|
"names": [
|
|
"commands"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"is_whisper_hallucination"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "discord.utils",
|
|
"names": [
|
|
"MISSING"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"acquire_scoped_lock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"release_scoped_lock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"transcribe_audio",
|
|
"get_stt_model_from_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"resolve_gateway_approval"
|
|
]
|
|
},
|
|
{
|
|
"module": "mutagen.oggopus",
|
|
"names": [
|
|
"OggOpus"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/platforms/feishu.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"hashlib",
|
|
"hmac",
|
|
"json",
|
|
"logging",
|
|
"mimetypes",
|
|
"os",
|
|
"re",
|
|
"threading",
|
|
"time",
|
|
"uuid",
|
|
"aiohttp",
|
|
"websockets",
|
|
"lark_oapi",
|
|
"lark_oapi.ws.client",
|
|
"httpx"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass",
|
|
"field"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter",
|
|
"MessageEvent",
|
|
"MessageType",
|
|
"SendResult",
|
|
"SUPPORTED_DOCUMENT_TYPES",
|
|
"cache_document_from_bytes",
|
|
"cache_image_from_url",
|
|
"cache_audio_from_bytes",
|
|
"cache_image_from_bytes"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"acquire_scoped_lock",
|
|
"release_scoped_lock"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "aiohttp",
|
|
"names": [
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"module": "lark_oapi.api.application.v6",
|
|
"names": [
|
|
"GetApplicationRequest"
|
|
]
|
|
},
|
|
{
|
|
"module": "lark_oapi.api.im.v1",
|
|
"names": [
|
|
"CreateFileRequest",
|
|
"CreateFileRequestBody",
|
|
"CreateImageRequest",
|
|
"CreateImageRequestBody",
|
|
"CreateMessageRequest",
|
|
"CreateMessageRequestBody",
|
|
"GetChatRequest",
|
|
"GetMessageRequest",
|
|
"GetImageRequest",
|
|
"GetMessageResourceRequest",
|
|
"P2ImMessageMessageReadV1",
|
|
"ReplyMessageRequest",
|
|
"ReplyMessageRequestBody",
|
|
"UpdateMessageRequest",
|
|
"UpdateMessageRequestBody"
|
|
]
|
|
},
|
|
{
|
|
"module": "lark_oapi.core.const",
|
|
"names": [
|
|
"FEISHU_DOMAIN",
|
|
"LARK_DOMAIN"
|
|
]
|
|
},
|
|
{
|
|
"module": "lark_oapi.event.callback.model.p2_card_action_trigger",
|
|
"names": [
|
|
"P2CardActionTriggerResponse"
|
|
]
|
|
},
|
|
{
|
|
"module": "lark_oapi.event.dispatcher_handler",
|
|
"names": [
|
|
"EventDispatcherHandler"
|
|
]
|
|
},
|
|
{
|
|
"module": "lark_oapi.ws",
|
|
"names": [
|
|
"Client"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"build_session_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"build_session_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "lark_oapi.api.im.v1",
|
|
"names": [
|
|
"CreateMessageReactionRequest",
|
|
"CreateMessageReactionRequestBody"
|
|
]
|
|
},
|
|
{
|
|
"module": "lark_oapi.api.contact.v3",
|
|
"names": [
|
|
"GetUserRequest"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gateway/builtin_hooks/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": []
|
|
},
|
|
"gateway/builtin_hooks/boot_md.py": {
|
|
"imports": [
|
|
"logging",
|
|
"os",
|
|
"threading"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"website/scripts/extract-skills.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "collections",
|
|
"names": [
|
|
"Counter"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"optional-skills/blockchain/base/scripts/base_client.py": {
|
|
"imports": [
|
|
"argparse",
|
|
"json",
|
|
"os",
|
|
"sys",
|
|
"time",
|
|
"urllib.request",
|
|
"urllib.error"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Tuple"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"optional-skills/blockchain/solana/scripts/solana_client.py": {
|
|
"imports": [
|
|
"argparse",
|
|
"json",
|
|
"os",
|
|
"sys",
|
|
"time",
|
|
"urllib.request",
|
|
"urllib.error"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"optional-skills/mcp/fastmcp/templates/file_processor.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any"
|
|
]
|
|
},
|
|
{
|
|
"module": "fastmcp",
|
|
"names": [
|
|
"FastMCP"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"optional-skills/mcp/fastmcp/templates/api_wrapper.py": {
|
|
"imports": [
|
|
"os",
|
|
"httpx"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any"
|
|
]
|
|
},
|
|
{
|
|
"module": "fastmcp",
|
|
"names": [
|
|
"FastMCP"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"optional-skills/mcp/fastmcp/templates/database_server.py": {
|
|
"imports": [
|
|
"os",
|
|
"re",
|
|
"sqlite3"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any"
|
|
]
|
|
},
|
|
{
|
|
"module": "fastmcp",
|
|
"names": [
|
|
"FastMCP"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"optional-skills/mcp/fastmcp/scripts/scaffold_fastmcp.py": {
|
|
"imports": [
|
|
"argparse"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"optional-skills/research/domain-intel/scripts/domain_intel.py": {
|
|
"imports": [
|
|
"json",
|
|
"re",
|
|
"socket",
|
|
"ssl",
|
|
"sys",
|
|
"urllib.request",
|
|
"urllib.parse"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "concurrent.futures",
|
|
"names": [
|
|
"ThreadPoolExecutor",
|
|
"as_completed"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timezone"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"optional-skills/migration/openclaw-migration/scripts/openclaw_to_hermes.py": {
|
|
"imports": [
|
|
"argparse",
|
|
"hashlib",
|
|
"json",
|
|
"os",
|
|
"re",
|
|
"shutil",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"asdict",
|
|
"dataclass",
|
|
"field"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional",
|
|
"Sequence",
|
|
"Tuple"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"optional-skills/security/oss-forensics/scripts/evidence-store.py": {
|
|
"imports": [
|
|
"json",
|
|
"argparse",
|
|
"os",
|
|
"datetime",
|
|
"hashlib",
|
|
"sys"
|
|
],
|
|
"from_imports": []
|
|
},
|
|
"optional-skills/productivity/telephony/scripts/telephony.py": {
|
|
"imports": [
|
|
"argparse",
|
|
"base64",
|
|
"json",
|
|
"os",
|
|
"re",
|
|
"sys",
|
|
"urllib.error",
|
|
"urllib.parse",
|
|
"urllib.request",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timezone"
|
|
]
|
|
},
|
|
{
|
|
"module": "email.utils",
|
|
"names": [
|
|
"parsedate_to_datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "html",
|
|
"names": [
|
|
"escape"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"optional-skills/productivity/memento-flashcards/scripts/youtube_quiz.py": {
|
|
"imports": [
|
|
"argparse",
|
|
"json",
|
|
"re",
|
|
"sys",
|
|
"youtube_transcript_api"
|
|
],
|
|
"from_imports": []
|
|
},
|
|
"optional-skills/productivity/memento-flashcards/scripts/memento_cards.py": {
|
|
"imports": [
|
|
"argparse",
|
|
"csv",
|
|
"json",
|
|
"os",
|
|
"sys",
|
|
"tempfile",
|
|
"uuid"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timedelta",
|
|
"timezone"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"optional-skills/productivity/canvas/scripts/canvas_api.py": {
|
|
"imports": [
|
|
"argparse",
|
|
"json",
|
|
"os",
|
|
"sys",
|
|
"requests"
|
|
],
|
|
"from_imports": []
|
|
},
|
|
"optional-skills/creative/meme-generation/scripts/generate_meme.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"sys",
|
|
"textwrap",
|
|
"requests",
|
|
"urllib.request",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "io",
|
|
"names": [
|
|
"BytesIO"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "PIL",
|
|
"names": [
|
|
"Image",
|
|
"ImageDraw",
|
|
"ImageFont"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"skills/red-teaming/godmode/scripts/auto_jailbreak.py": {
|
|
"imports": [
|
|
"os",
|
|
"sys",
|
|
"json",
|
|
"time",
|
|
"re",
|
|
"yaml",
|
|
"inspect",
|
|
"argparse"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "concurrent.futures",
|
|
"names": [
|
|
"ThreadPoolExecutor",
|
|
"as_completed"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai",
|
|
"names": [
|
|
"OpenAI"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"skills/red-teaming/godmode/scripts/parseltongue.py": {
|
|
"imports": [
|
|
"re",
|
|
"base64",
|
|
"sys",
|
|
"argparse"
|
|
],
|
|
"from_imports": []
|
|
},
|
|
"skills/red-teaming/godmode/scripts/load_godmode.py": {
|
|
"imports": [
|
|
"os",
|
|
"sys"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"skills/red-teaming/godmode/scripts/godmode_race.py": {
|
|
"imports": [
|
|
"os",
|
|
"re",
|
|
"json",
|
|
"time",
|
|
"argparse"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "concurrent.futures",
|
|
"names": [
|
|
"ThreadPoolExecutor",
|
|
"as_completed"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai",
|
|
"names": [
|
|
"OpenAI"
|
|
]
|
|
},
|
|
{
|
|
"module": "collections",
|
|
"names": [
|
|
"namedtuple"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"skills/mlops/training/grpo-rl-training/templates/basic_grpo_training.py": {
|
|
"imports": [
|
|
"torch",
|
|
"re"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datasets",
|
|
"names": [
|
|
"load_dataset",
|
|
"Dataset"
|
|
]
|
|
},
|
|
{
|
|
"module": "transformers",
|
|
"names": [
|
|
"AutoModelForCausalLM",
|
|
"AutoTokenizer"
|
|
]
|
|
},
|
|
{
|
|
"module": "peft",
|
|
"names": [
|
|
"LoraConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "trl",
|
|
"names": [
|
|
"GRPOTrainer",
|
|
"GRPOConfig"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"skills/leisure/find-nearby/scripts/find_nearby.py": {
|
|
"imports": [
|
|
"argparse",
|
|
"json",
|
|
"math",
|
|
"sys",
|
|
"urllib.parse",
|
|
"urllib.request"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"skills/media/youtube-content/scripts/fetch_transcript.py": {
|
|
"imports": [
|
|
"argparse",
|
|
"json",
|
|
"re",
|
|
"sys"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "youtube_transcript_api",
|
|
"names": [
|
|
"YouTubeTranscriptApi"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"skills/research/polymarket/scripts/polymarket.py": {
|
|
"imports": [
|
|
"json",
|
|
"sys",
|
|
"urllib.request",
|
|
"urllib.parse",
|
|
"urllib.error"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timezone"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"skills/research/arxiv/scripts/search_arxiv.py": {
|
|
"imports": [
|
|
"sys",
|
|
"urllib.request",
|
|
"urllib.parse",
|
|
"xml.etree.ElementTree"
|
|
],
|
|
"from_imports": []
|
|
},
|
|
"skills/productivity/google-workspace/scripts/google_api.py": {
|
|
"imports": [
|
|
"argparse",
|
|
"base64",
|
|
"json",
|
|
"sys"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timedelta",
|
|
"timezone"
|
|
]
|
|
},
|
|
{
|
|
"module": "email.mime.text",
|
|
"names": [
|
|
"MIMEText"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"display_hermes_home",
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "google.oauth2.credentials",
|
|
"names": [
|
|
"Credentials"
|
|
]
|
|
},
|
|
{
|
|
"module": "google.auth.transport.requests",
|
|
"names": [
|
|
"Request"
|
|
]
|
|
},
|
|
{
|
|
"module": "googleapiclient.discovery",
|
|
"names": [
|
|
"build"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"skills/productivity/google-workspace/scripts/setup.py": {
|
|
"imports": [
|
|
"argparse",
|
|
"json",
|
|
"subprocess",
|
|
"sys",
|
|
"googleapiclient",
|
|
"google_auth_oauthlib",
|
|
"googleapiclient",
|
|
"google_auth_oauthlib",
|
|
"urllib.request"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"display_hermes_home",
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "google.oauth2.credentials",
|
|
"names": [
|
|
"Credentials"
|
|
]
|
|
},
|
|
{
|
|
"module": "google.auth.transport.requests",
|
|
"names": [
|
|
"Request"
|
|
]
|
|
},
|
|
{
|
|
"module": "urllib.parse",
|
|
"names": [
|
|
"parse_qs",
|
|
"urlparse"
|
|
]
|
|
},
|
|
{
|
|
"module": "google_auth_oauthlib.flow",
|
|
"names": [
|
|
"Flow"
|
|
]
|
|
},
|
|
{
|
|
"module": "google_auth_oauthlib.flow",
|
|
"names": [
|
|
"Flow"
|
|
]
|
|
},
|
|
{
|
|
"module": "google.oauth2.credentials",
|
|
"names": [
|
|
"Credentials"
|
|
]
|
|
},
|
|
{
|
|
"module": "google.auth.transport.requests",
|
|
"names": [
|
|
"Request"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"skills/productivity/ocr-and-documents/scripts/extract_marker.py": {
|
|
"imports": [
|
|
"sys",
|
|
"os",
|
|
"shutil",
|
|
"json"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "marker.converters.pdf",
|
|
"names": [
|
|
"PdfConverter"
|
|
]
|
|
},
|
|
{
|
|
"module": "marker.models",
|
|
"names": [
|
|
"create_model_dict"
|
|
]
|
|
},
|
|
{
|
|
"module": "marker.config.parser",
|
|
"names": [
|
|
"ConfigParser"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"skills/productivity/ocr-and-documents/scripts/extract_pymupdf.py": {
|
|
"imports": [
|
|
"sys",
|
|
"json",
|
|
"pymupdf",
|
|
"pymupdf4llm",
|
|
"pymupdf",
|
|
"pymupdf",
|
|
"pymupdf"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"skills/productivity/powerpoint/scripts/clean.py": {
|
|
"imports": [
|
|
"sys",
|
|
"defusedxml.minidom",
|
|
"re"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"skills/productivity/powerpoint/scripts/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": []
|
|
},
|
|
"skills/productivity/powerpoint/scripts/add_slide.py": {
|
|
"imports": [
|
|
"re",
|
|
"shutil",
|
|
"sys"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"skills/productivity/powerpoint/scripts/office/pack.py": {
|
|
"imports": [
|
|
"argparse",
|
|
"sys",
|
|
"shutil",
|
|
"tempfile",
|
|
"zipfile",
|
|
"defusedxml.minidom"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "validators",
|
|
"names": [
|
|
"DOCXSchemaValidator",
|
|
"PPTXSchemaValidator",
|
|
"RedliningValidator"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"skills/productivity/powerpoint/scripts/office/helpers/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": []
|
|
},
|
|
"skills/productivity/powerpoint/scripts/office/helpers/simplify_redlines.py": {
|
|
"imports": [
|
|
"xml.etree.ElementTree",
|
|
"zipfile",
|
|
"defusedxml.minidom"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"skills/productivity/powerpoint/scripts/office/helpers/merge_runs.py": {
|
|
"imports": [
|
|
"defusedxml.minidom"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"skills/creative/excalidraw/scripts/upload.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"struct",
|
|
"sys",
|
|
"zlib",
|
|
"base64",
|
|
"urllib.request"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "cryptography.hazmat.primitives.ciphers.aead",
|
|
"names": [
|
|
"AESGCM"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_credential_pool_routing.py": {
|
|
"imports": [
|
|
"os",
|
|
"time",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch",
|
|
"PropertyMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.smart_model_routing",
|
|
"names": [
|
|
"resolve_turn_route"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.smart_model_routing",
|
|
"names": [
|
|
"resolve_turn_route"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.smart_model_routing",
|
|
"names": [
|
|
"resolve_turn_route"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.smart_model_routing",
|
|
"names": [
|
|
"resolve_turn_route"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.smart_model_routing",
|
|
"names": [
|
|
"resolve_turn_route"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.smart_model_routing",
|
|
"names": [
|
|
"resolve_turn_route"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_agent_guardrails.py": {
|
|
"imports": [
|
|
"types"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.delegate_tool",
|
|
"names": [
|
|
"MAX_CONCURRENT_CHILDREN"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_credential_pool.py": {
|
|
"imports": [
|
|
"json",
|
|
"time",
|
|
"pytest",
|
|
"threading",
|
|
"yaml",
|
|
"yaml",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.credential_pool",
|
|
"names": [
|
|
"load_pool"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.credential_pool",
|
|
"names": [
|
|
"load_pool"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.credential_pool",
|
|
"names": [
|
|
"load_pool"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.credential_pool",
|
|
"names": [
|
|
"load_pool"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.credential_pool",
|
|
"names": [
|
|
"load_pool"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.credential_pool",
|
|
"names": [
|
|
"load_pool"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.credential_pool",
|
|
"names": [
|
|
"load_pool"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.credential_pool",
|
|
"names": [
|
|
"load_pool"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.credential_pool",
|
|
"names": [
|
|
"load_pool"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.credential_pool",
|
|
"names": [
|
|
"load_pool"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.credential_pool",
|
|
"names": [
|
|
"load_pool"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.credential_pool",
|
|
"names": [
|
|
"load_pool"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.credential_pool",
|
|
"names": [
|
|
"load_pool"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.credential_pool",
|
|
"names": [
|
|
"load_pool"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.credential_pool",
|
|
"names": [
|
|
"load_pool"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.credential_pool",
|
|
"names": [
|
|
"load_pool"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.credential_pool",
|
|
"names": [
|
|
"load_pool"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.credential_pool",
|
|
"names": [
|
|
"load_pool"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.credential_pool",
|
|
"names": [
|
|
"load_pool"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.credential_pool",
|
|
"names": [
|
|
"load_pool"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.credential_pool",
|
|
"names": [
|
|
"load_pool"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.credential_pool",
|
|
"names": [
|
|
"get_custom_provider_pool_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.credential_pool",
|
|
"names": [
|
|
"list_custom_pool_providers"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_dict_tool_call_args.py": {
|
|
"imports": [
|
|
"json"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_cli_context_warning.py": {
|
|
"imports": [
|
|
"os",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_context_token_tracking.py": {
|
|
"imports": [
|
|
"sys",
|
|
"types",
|
|
"run_agent"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_context_pressure.py": {
|
|
"imports": [
|
|
"json",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.display",
|
|
"names": [
|
|
"format_context_pressure",
|
|
"format_context_pressure_gateway"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_model_metadata_local_ctx.py": {
|
|
"imports": [
|
|
"sys",
|
|
"os",
|
|
"json",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"_query_local_context_length"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"_query_local_context_length"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"_query_local_context_length"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"_query_local_context_length"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"_query_local_context_length"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"_query_local_context_length"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"_query_local_context_length"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"_query_local_context_length"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"_query_local_context_length"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"_query_local_context_length"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"_query_local_context_length"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"_query_local_context_length"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"_query_local_context_length"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"get_model_context_length"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"get_model_context_length"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"get_model_context_length",
|
|
"CONTEXT_PROBE_TIERS"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"get_model_context_length",
|
|
"CONTEXT_PROBE_TIERS"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"get_model_context_length"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"get_model_context_length"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_evidence_store.py": {
|
|
"imports": [
|
|
"os",
|
|
"json",
|
|
"pytest",
|
|
"importlib.util"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/conftest.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"os",
|
|
"signal",
|
|
"sys",
|
|
"tempfile",
|
|
"pytest",
|
|
"hermes_cli.plugins"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_worktree_security.py": {
|
|
"imports": [
|
|
"subprocess",
|
|
"pytest",
|
|
"cli",
|
|
"cli",
|
|
"cli",
|
|
"cli",
|
|
"cli"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_api_key_providers.py": {
|
|
"imports": [
|
|
"os",
|
|
"sys",
|
|
"types",
|
|
"pytest",
|
|
"yaml",
|
|
"yaml",
|
|
"yaml",
|
|
"yaml",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"PROVIDER_REGISTRY",
|
|
"ProviderConfig",
|
|
"resolve_provider",
|
|
"get_api_key_provider_status",
|
|
"resolve_api_key_provider_credentials",
|
|
"get_external_process_provider_status",
|
|
"resolve_external_process_provider_credentials",
|
|
"get_auth_status",
|
|
"AuthError",
|
|
"KIMI_CODE_BASE_URL",
|
|
"_try_gh_cli_token",
|
|
"_resolve_kimi_base_url"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.runtime_provider",
|
|
"names": [
|
|
"resolve_runtime_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.runtime_provider",
|
|
"names": [
|
|
"resolve_runtime_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.runtime_provider",
|
|
"names": [
|
|
"resolve_runtime_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.runtime_provider",
|
|
"names": [
|
|
"resolve_runtime_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.runtime_provider",
|
|
"names": [
|
|
"resolve_runtime_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.runtime_provider",
|
|
"names": [
|
|
"resolve_runtime_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.runtime_provider",
|
|
"names": [
|
|
"resolve_runtime_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.runtime_provider",
|
|
"names": [
|
|
"resolve_runtime_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.runtime_provider",
|
|
"names": [
|
|
"resolve_runtime_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_has_any_provider_configured"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_has_any_provider_configured"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_has_any_provider_configured"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_has_any_provider_configured"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_has_any_provider_configured"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_has_any_provider_configured"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_has_any_provider_configured"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_has_any_provider_configured"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_has_any_provider_configured"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_PROVIDER_MODELS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_PROVIDER_MODELS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_PROVIDER_MODELS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_PROVIDER_MODELS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"_PROVIDER_MODELS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_PROVIDER_MODELS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"_PROVIDER_MODELS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"_PROVIDER_MODELS"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"DEFAULT_CONTEXT_LENGTHS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"_PROVIDER_MODELS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"_PROVIDER_ALIASES"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"_PROVIDER_LABELS"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_model_tools_async_bridge.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"json",
|
|
"threading",
|
|
"pytest",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"_run_async"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"_run_async"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"_run_async"
|
|
]
|
|
},
|
|
{
|
|
"module": "concurrent.futures",
|
|
"names": [
|
|
"ThreadPoolExecutor"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"_run_async"
|
|
]
|
|
},
|
|
{
|
|
"module": "concurrent.futures",
|
|
"names": [
|
|
"ThreadPoolExecutor"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"_run_async"
|
|
]
|
|
},
|
|
{
|
|
"module": "concurrent.futures",
|
|
"names": [
|
|
"ThreadPoolExecutor",
|
|
"as_completed"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"_run_async"
|
|
]
|
|
},
|
|
{
|
|
"module": "concurrent.futures",
|
|
"names": [
|
|
"ThreadPoolExecutor"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"_run_async",
|
|
"_get_tool_loop"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"_run_async"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"_run_async",
|
|
"_get_tool_loop"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"_get_tool_loop"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_mcp_serve.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"json",
|
|
"os",
|
|
"sqlite3",
|
|
"time",
|
|
"threading",
|
|
"pytest",
|
|
"mcp_serve",
|
|
"hermes_constants",
|
|
"mcp_serve",
|
|
"mcp_serve",
|
|
"mcp_serve",
|
|
"mcp_serve",
|
|
"mcp_serve",
|
|
"mcp_serve",
|
|
"mcp_serve",
|
|
"mcp_serve",
|
|
"mcp_serve",
|
|
"mcp_serve",
|
|
"argparse",
|
|
"argparse",
|
|
"argparse",
|
|
"mcp_serve",
|
|
"mcp_serve",
|
|
"mcp_serve",
|
|
"mcp_serve",
|
|
"mcp_serve"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"_get_sessions_dir"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"_extract_message_content"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"_extract_message_content"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"_extract_message_content"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"_extract_attachments"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"_extract_attachments"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"_extract_attachments"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"_extract_attachments"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"_extract_attachments"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"EventBridge"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"EventBridge",
|
|
"QueueEvent"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"EventBridge",
|
|
"QueueEvent"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"EventBridge",
|
|
"QueueEvent"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"EventBridge"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"EventBridge",
|
|
"QueueEvent"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"EventBridge",
|
|
"QueueEvent"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"EventBridge"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"EventBridge",
|
|
"QueueEvent"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"EventBridge",
|
|
"QueueEvent",
|
|
"QUEUE_LIMIT"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"EventBridge",
|
|
"QueueEvent"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"EventBridge"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"EventBridge"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"QueueEvent"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"QueueEvent"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"QueueEvent"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"QueueEvent"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"QueueEvent"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.mcp_config",
|
|
"names": [
|
|
"mcp_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"EventBridge"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp_serve",
|
|
"names": [
|
|
"POLL_INTERVAL"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_real_interrupt_subagent.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"threading",
|
|
"time",
|
|
"unittest",
|
|
"traceback"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch",
|
|
"PropertyMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.interrupt",
|
|
"names": [
|
|
"set_interrupt",
|
|
"is_interrupted"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent",
|
|
"IterationBudget"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.delegate_tool",
|
|
"names": [
|
|
"_run_single_child"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_quick_commands.py": {
|
|
"imports": [
|
|
"subprocess",
|
|
"pytest",
|
|
"asyncio"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch",
|
|
"AsyncMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.text",
|
|
"names": [
|
|
"Text"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_utils_truthy_values.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "utils",
|
|
"names": [
|
|
"env_var_enabled",
|
|
"is_truthy_value"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_cli_status_bar.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timedelta"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timedelta"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_anthropic_adapter.py": {
|
|
"imports": [
|
|
"json",
|
|
"time",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.prompt_caching",
|
|
"names": [
|
|
"apply_anthropic_cache_control"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"_is_oauth_token",
|
|
"_refresh_oauth_token",
|
|
"_to_plain_data",
|
|
"_write_claude_code_credentials",
|
|
"build_anthropic_client",
|
|
"build_anthropic_kwargs",
|
|
"convert_messages_to_anthropic",
|
|
"convert_tools_to_anthropic",
|
|
"get_anthropic_token_source",
|
|
"is_claude_code_token_valid",
|
|
"normalize_anthropic_response",
|
|
"normalize_model_name",
|
|
"read_claude_code_credentials",
|
|
"resolve_anthropic_token",
|
|
"run_oauth_setup_token"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"_get_anthropic_max_output"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"_get_anthropic_max_output"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"_get_anthropic_max_output"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"_get_anthropic_max_output"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"_get_anthropic_max_output"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"_get_anthropic_max_output"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"_get_anthropic_max_output"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.anthropic_adapter",
|
|
"names": [
|
|
"_get_anthropic_max_output"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_project_metadata.py": {
|
|
"imports": [
|
|
"tomllib"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_auth_codex_provider.py": {
|
|
"imports": [
|
|
"json",
|
|
"time",
|
|
"base64",
|
|
"pytest",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"AuthError",
|
|
"DEFAULT_CODEX_BASE_URL",
|
|
"PROVIDER_REGISTRY",
|
|
"_read_codex_tokens",
|
|
"_save_codex_tokens",
|
|
"_import_codex_cli_tokens",
|
|
"get_codex_auth_status",
|
|
"get_provider_auth_state",
|
|
"resolve_codex_runtime_credentials",
|
|
"resolve_provider"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_tool_call_parsers.py": {
|
|
"imports": [
|
|
"json",
|
|
"sys",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_call_parsers",
|
|
"names": [
|
|
"ParseResult",
|
|
"ToolCallParser",
|
|
"get_parser",
|
|
"list_parsers"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_auth_commands.py": {
|
|
"imports": [
|
|
"base64",
|
|
"json",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth_commands",
|
|
"names": [
|
|
"auth_add_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth_commands",
|
|
"names": [
|
|
"auth_add_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth_commands",
|
|
"names": [
|
|
"auth_add_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth_commands",
|
|
"names": [
|
|
"auth_add_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth_commands",
|
|
"names": [
|
|
"auth_remove_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth_commands",
|
|
"names": [
|
|
"auth_reset_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"clear_provider_auth"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth_commands",
|
|
"names": [
|
|
"auth_list_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth_commands",
|
|
"names": [
|
|
"auth_list_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_cli_retry.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "tests.test_cli_init",
|
|
"names": [
|
|
"_make_cli"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_auth_nous_provider.py": {
|
|
"imports": [
|
|
"json",
|
|
"httpx",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timezone"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"AuthError",
|
|
"get_provider_auth_state",
|
|
"resolve_nous_runtime_credentials"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_atomic_json_write.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"pytest",
|
|
"threading"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "utils",
|
|
"names": [
|
|
"atomic_json_write"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_fallback_model.py": {
|
|
"imports": [
|
|
"os",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_plugins.py": {
|
|
"imports": [
|
|
"logging",
|
|
"os",
|
|
"sys",
|
|
"types",
|
|
"pytest",
|
|
"yaml",
|
|
"hermes_cli.plugins"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins",
|
|
"names": [
|
|
"ENTRY_POINTS_GROUP",
|
|
"VALID_HOOKS",
|
|
"LoadedPlugin",
|
|
"PluginContext",
|
|
"PluginManager",
|
|
"PluginManifest",
|
|
"get_plugin_manager",
|
|
"get_plugin_tool_names",
|
|
"discover_plugins",
|
|
"invoke_hook"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"get_tool_definitions"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_model_tools.py": {
|
|
"imports": [
|
|
"json",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"handle_function_call",
|
|
"get_all_tool_names",
|
|
"get_toolset_for_tool",
|
|
"_AGENT_LOOP_TOOLS",
|
|
"_LEGACY_TOOLSET_MAP",
|
|
"TOOL_TO_TOOLSET_MAP"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_413_compression.py": {
|
|
"imports": [
|
|
"pytest",
|
|
"uuid",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.context_compressor",
|
|
"names": [
|
|
"SUMMARY_PREFIX"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_agent_loop_vllm.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"json",
|
|
"os",
|
|
"sys",
|
|
"pytest",
|
|
"requests"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.agent_loop",
|
|
"names": [
|
|
"AgentResult",
|
|
"HermesAgentLoop"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.envs.server_handling.server_manager",
|
|
"names": [
|
|
"ServerManager",
|
|
"APIServerConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "transformers",
|
|
"names": [
|
|
"AutoTokenizer"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_display.py": {
|
|
"imports": [
|
|
"os",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.display",
|
|
"names": [
|
|
"build_tool_preview",
|
|
"capture_local_edit_snapshot",
|
|
"extract_edit_diff",
|
|
"_render_inline_unified_diff",
|
|
"_summarize_rendered_diff_sections",
|
|
"render_edit_diff_with_delta"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_cli_mcp_config_watch.py": {
|
|
"imports": [
|
|
"time",
|
|
"cli",
|
|
"yaml",
|
|
"yaml",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_honcho_client_config.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"tempfile",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.client",
|
|
"names": [
|
|
"HonchoClientConfig"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_codex_models.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"sys",
|
|
"cli",
|
|
"cli",
|
|
"cli"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.codex_models",
|
|
"names": [
|
|
"DEFAULT_CODEX_MODELS",
|
|
"get_codex_model_ids"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.codex_models",
|
|
"names": [
|
|
"get_codex_model_ids"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_model_flow_openai_codex"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_cli_prefix_matching.py": {
|
|
"imports": [
|
|
"cli",
|
|
"cli",
|
|
"cli",
|
|
"cli",
|
|
"cli"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_runtime_provider_resolution.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"runtime_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"resolve_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"resolve_provider"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_cli_secret_capture.py": {
|
|
"imports": [
|
|
"queue",
|
|
"threading",
|
|
"time",
|
|
"cli",
|
|
"tools.skills_tool"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.callbacks",
|
|
"names": [
|
|
"prompt_for_secret"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"set_secret_capture_callback"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_batch_runner_checkpoint.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"pytest",
|
|
"sys"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "threading",
|
|
"names": [
|
|
"Lock"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "batch_runner",
|
|
"names": [
|
|
"BatchRunner"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_sql_injection.py": {
|
|
"imports": [
|
|
"re"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "agent.insights",
|
|
"names": [
|
|
"InsightsEngine"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_cli_approval_ui.py": {
|
|
"imports": [
|
|
"queue",
|
|
"threading",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_anthropic_oauth_flow.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_env",
|
|
"save_env_value"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_run_anthropic_oauth_flow"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_run_anthropic_oauth_flow"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_crossloop_client_cache.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"threading",
|
|
"pytest",
|
|
"importlib",
|
|
"agent.auxiliary_client"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "concurrent.futures",
|
|
"names": [
|
|
"ThreadPoolExecutor"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"_get_cached_client",
|
|
"_client_cache"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"_get_cached_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"_get_cached_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"_get_cached_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"_get_cached_client"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_cli_new_session.py": {
|
|
"imports": [
|
|
"importlib",
|
|
"os",
|
|
"sys",
|
|
"cli"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"timedelta"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.todo_tool",
|
|
"names": [
|
|
"TodoStore"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/run_interrupt_test.py": {
|
|
"imports": [
|
|
"threading",
|
|
"time",
|
|
"sys",
|
|
"os",
|
|
"traceback"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent",
|
|
"IterationBudget"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.delegate_tool",
|
|
"names": [
|
|
"_run_single_child"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.interrupt",
|
|
"names": [
|
|
"set_interrupt",
|
|
"is_interrupted"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_personality_none.py": {
|
|
"imports": [
|
|
"pytest",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch",
|
|
"mock_open"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_branch_command.py": {
|
|
"imports": [
|
|
"os",
|
|
"uuid",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch",
|
|
"PropertyMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.commands",
|
|
"names": [
|
|
"resolve_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.commands",
|
|
"names": [
|
|
"COMMAND_REGISTRY"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.commands",
|
|
"names": [
|
|
"COMMAND_REGISTRY"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.commands",
|
|
"names": [
|
|
"COMMAND_REGISTRY"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_860_dedup.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"sqlite3",
|
|
"tempfile",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionStore"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionStore"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionStore"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_resume_display.py": {
|
|
"imports": [
|
|
"os",
|
|
"sys",
|
|
"pytest",
|
|
"cli",
|
|
"cli"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "io",
|
|
"names": [
|
|
"StringIO"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"DEFAULT_CONFIG"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"load_cli_config"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_surrogate_sanitization.py": {
|
|
"imports": [
|
|
"json",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"_sanitize_surrogates",
|
|
"_sanitize_messages_surrogates",
|
|
"_SURROGATE_RE"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_hermes_state.py": {
|
|
"imports": [
|
|
"time",
|
|
"pytest",
|
|
"sqlite3",
|
|
"time",
|
|
"time",
|
|
"sqlite3",
|
|
"inspect"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_anthropic_provider_persistence.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_env"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"save_anthropic_oauth_token"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"save_anthropic_oauth_token",
|
|
"use_anthropic_claude_code_credentials"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"save_anthropic_api_key"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_codex_execution_paths.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"sys",
|
|
"types",
|
|
"cron.scheduler",
|
|
"gateway.run",
|
|
"run_agent"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionSource"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"AsyncMock"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": []
|
|
},
|
|
"tests/test_compression_boundary.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.context_compressor",
|
|
"names": [
|
|
"ContextCompressor"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_session_reset_fix.py": {
|
|
"imports": [
|
|
"sys",
|
|
"types",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.context_compressor",
|
|
"names": [
|
|
"ContextCompressor"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_cli_provider_resolution.py": {
|
|
"imports": [
|
|
"importlib",
|
|
"sys",
|
|
"types",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "contextlib",
|
|
"names": [
|
|
"nullcontext"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"AuthError"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"main"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_cli_plan_command.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_commands",
|
|
"names": [
|
|
"scan_skill_commands"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_long_context_tier_429.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_file_permissions.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"stat",
|
|
"tempfile",
|
|
"unittest",
|
|
"shutil",
|
|
"shutil"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.jobs",
|
|
"names": [
|
|
"_secure_file"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.jobs",
|
|
"names": [
|
|
"_secure_dir"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.jobs",
|
|
"names": [
|
|
"ensure_dirs"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.jobs",
|
|
"names": [
|
|
"save_jobs"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.jobs",
|
|
"names": [
|
|
"save_job_output"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"save_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"save_env_value"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"ensure_hermes_home"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_plugins_cmd.py": {
|
|
"imports": [
|
|
"logging",
|
|
"os",
|
|
"types",
|
|
"pytest",
|
|
"yaml",
|
|
"argparse"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins_cmd",
|
|
"names": [
|
|
"_copy_example_files",
|
|
"_read_manifest",
|
|
"_repo_name_from_url",
|
|
"_resolve_git_url",
|
|
"_sanitize_plugin_name",
|
|
"plugins_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins_cmd",
|
|
"names": [
|
|
"cmd_install"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins_cmd",
|
|
"names": [
|
|
"cmd_install"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins_cmd",
|
|
"names": [
|
|
"cmd_update"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins_cmd",
|
|
"names": [
|
|
"cmd_update"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins_cmd",
|
|
"names": [
|
|
"cmd_remove"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins_cmd",
|
|
"names": [
|
|
"cmd_remove"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins_cmd",
|
|
"names": [
|
|
"cmd_list"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins_cmd",
|
|
"names": [
|
|
"cmd_list"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins_cmd",
|
|
"names": [
|
|
"_copy_example_files"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins_cmd",
|
|
"names": [
|
|
"_copy_example_files"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.plugins_cmd",
|
|
"names": [
|
|
"_copy_example_files"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_toolset_distributions.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolset_distributions",
|
|
"names": [
|
|
"DISTRIBUTIONS",
|
|
"get_distribution",
|
|
"list_distributions",
|
|
"sample_toolsets_from_distribution",
|
|
"validate_distribution"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_toolsets.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "toolsets",
|
|
"names": [
|
|
"TOOLSETS",
|
|
"get_toolset",
|
|
"resolve_toolset",
|
|
"resolve_multiple_toolsets",
|
|
"get_all_toolsets",
|
|
"get_toolset_names",
|
|
"validate_toolset",
|
|
"create_custom_toolset",
|
|
"get_toolset_info"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_agent_loop.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"json",
|
|
"sys",
|
|
"pytest",
|
|
"environments.agent_loop"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.agent_loop",
|
|
"names": [
|
|
"AgentResult",
|
|
"HermesAgentLoop",
|
|
"ToolError",
|
|
"_extract_reasoning_from_message",
|
|
"resize_tool_pool"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_run_agent_codex_responses.py": {
|
|
"imports": [
|
|
"sys",
|
|
"types",
|
|
"pytest",
|
|
"run_agent",
|
|
"json",
|
|
"json"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_streaming.py": {
|
|
"imports": [
|
|
"json",
|
|
"threading",
|
|
"uuid",
|
|
"pytest",
|
|
"httpx",
|
|
"httpx",
|
|
"httpx",
|
|
"httpx"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch",
|
|
"PropertyMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai",
|
|
"names": [
|
|
"APIError"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai",
|
|
"names": [
|
|
"APIError"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_provider_fallback.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_redirect_stdout_issue.py": {
|
|
"imports": [
|
|
"contextlib",
|
|
"io",
|
|
"sys",
|
|
"threading",
|
|
"time",
|
|
"unittest"
|
|
],
|
|
"from_imports": []
|
|
},
|
|
"tests/test_async_httpx_del_neuter.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"threading",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"neuter_async_httpx_del"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"neuter_async_httpx_del"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"neuter_async_httpx_del"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"_client_cache",
|
|
"_client_cache_lock",
|
|
"cleanup_stale_async_clients"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"_client_cache",
|
|
"_client_cache_lock",
|
|
"cleanup_stale_async_clients"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"_client_cache",
|
|
"_client_cache_lock",
|
|
"cleanup_stale_async_clients"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai._base_client",
|
|
"names": [
|
|
"AsyncHttpxClientWrapper"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai._base_client",
|
|
"names": [
|
|
"AsyncHttpxClientWrapper"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_cli_skin_integration.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI",
|
|
"_rich_text_from_ansi"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"get_active_skin",
|
|
"set_active_skin"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_cli_init.py": {
|
|
"imports": [
|
|
"os",
|
|
"sys",
|
|
"importlib",
|
|
"cli",
|
|
"yaml",
|
|
"cli",
|
|
"yaml",
|
|
"cli"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"_normalize_root_model_keys"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"_normalize_root_model_keys"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_worktree.py": {
|
|
"imports": [
|
|
"os",
|
|
"shutil",
|
|
"subprocess",
|
|
"pytest",
|
|
"uuid",
|
|
"shutil",
|
|
"time",
|
|
"time",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_auxiliary_config_bridge.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"sys",
|
|
"pytest",
|
|
"yaml",
|
|
"cli"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.vision_tools",
|
|
"names": [
|
|
"_handle_vision_analyze"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.vision_tools",
|
|
"names": [
|
|
"_handle_vision_analyze"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"DEFAULT_CONFIG"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"DEFAULT_CONFIG"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"DEFAULT_CONFIG"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"DEFAULT_CONFIG"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"DEFAULT_CONFIG"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_run_agent.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"re",
|
|
"uuid",
|
|
"pytest",
|
|
"run_agent",
|
|
"time",
|
|
"json",
|
|
"sys",
|
|
"sys",
|
|
"sys",
|
|
"inspect",
|
|
"inspect",
|
|
"inspect",
|
|
"inspect",
|
|
"inspect",
|
|
"inspect",
|
|
"json"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "logging.handlers",
|
|
"names": [
|
|
"RotatingFileHandler"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.prompt_builder",
|
|
"names": [
|
|
"DEFAULT_AGENT_IDENTITY"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.prompt_builder",
|
|
"names": [
|
|
"MEMORY_GUIDANCE"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.prompt_builder",
|
|
"names": [
|
|
"MEMORY_GUIDANCE"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.prompt_builder",
|
|
"names": [
|
|
"TOOL_USE_ENFORCEMENT_GUIDANCE"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.prompt_builder",
|
|
"names": [
|
|
"TOOL_USE_ENFORCEMENT_GUIDANCE"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.prompt_builder",
|
|
"names": [
|
|
"TOOL_USE_ENFORCEMENT_GUIDANCE"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.prompt_builder",
|
|
"names": [
|
|
"TOOL_USE_ENFORCEMENT_GUIDANCE"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.prompt_builder",
|
|
"names": [
|
|
"TOOL_USE_ENFORCEMENT_GUIDANCE"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.prompt_builder",
|
|
"names": [
|
|
"TOOL_USE_ENFORCEMENT_GUIDANCE"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.prompt_builder",
|
|
"names": [
|
|
"TOOL_USE_ENFORCEMENT_GUIDANCE"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.prompt_builder",
|
|
"names": [
|
|
"TOOL_USE_ENFORCEMENT_GUIDANCE"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.prompt_builder",
|
|
"names": [
|
|
"TOOL_USE_ENFORCEMENT_GUIDANCE"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.prompt_builder",
|
|
"names": [
|
|
"TOOL_USE_ENFORCEMENT_GUIDANCE"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.prompt_builder",
|
|
"names": [
|
|
"TOOL_USE_ENFORCEMENT_GUIDANCE"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.prompt_builder",
|
|
"names": [
|
|
"TOOL_USE_ENFORCEMENT_GUIDANCE"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"_paths_overlap"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"_paths_overlap"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"_paths_overlap"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"_paths_overlap"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"_paths_overlap"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"_paths_overlap"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"_paths_overlap"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"_extract_parallel_scope_path"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"_extract_parallel_scope_path",
|
|
"_paths_overlap"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"_should_parallelize_tool_batch"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"_SafeWriter"
|
|
]
|
|
},
|
|
{
|
|
"module": "io",
|
|
"names": [
|
|
"StringIO"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"_SafeWriter"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"_SafeWriter"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"_SafeWriter"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"_SafeWriter"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"_SafeWriter"
|
|
]
|
|
},
|
|
{
|
|
"module": "io",
|
|
"names": [
|
|
"StringIO"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_flush_memories_codex.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"sys",
|
|
"types",
|
|
"pytest",
|
|
"run_agent"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock",
|
|
"call"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_interrupt_propagation.py": {
|
|
"imports": [
|
|
"json",
|
|
"threading",
|
|
"time",
|
|
"unittest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch",
|
|
"PropertyMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.interrupt",
|
|
"names": [
|
|
"set_interrupt",
|
|
"is_interrupted",
|
|
"_interrupt_event"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_external_credential_detection.py": {
|
|
"imports": [
|
|
"json",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"detect_external_credentials"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_config_env_expansion.py": {
|
|
"imports": [
|
|
"os",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"_expand_env_vars",
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"load_cli_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"load_cli_config"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_1630_context_overflow_loop.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_cli_loading_indicator.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_cli_interrupt_subagent.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"queue",
|
|
"threading",
|
|
"time",
|
|
"unittest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch",
|
|
"PropertyMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.interrupt",
|
|
"names": [
|
|
"set_interrupt",
|
|
"is_interrupted"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.delegate_tool",
|
|
"names": [
|
|
"_run_single_child"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"IterationBudget"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_exit_cleanup_interrupt.py": {
|
|
"imports": [
|
|
"atexit",
|
|
"weakref",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch",
|
|
"call"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron",
|
|
"names": [
|
|
"scheduler"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron",
|
|
"names": [
|
|
"scheduler"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_timezone.py": {
|
|
"imports": [
|
|
"os",
|
|
"logging",
|
|
"sys",
|
|
"pytest",
|
|
"hermes_time",
|
|
"json",
|
|
"json",
|
|
"json",
|
|
"json",
|
|
"cron.jobs",
|
|
"cron.jobs",
|
|
"cron.jobs",
|
|
"cron.jobs"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timedelta",
|
|
"timezone"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "zoneinfo",
|
|
"names": [
|
|
"ZoneInfo"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.jobs",
|
|
"names": [
|
|
"parse_schedule"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.jobs",
|
|
"names": [
|
|
"compute_next_run"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.jobs",
|
|
"names": [
|
|
"create_job",
|
|
"load_jobs",
|
|
"save_jobs",
|
|
"get_due_jobs"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.jobs",
|
|
"names": [
|
|
"_ensure_aware"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.jobs",
|
|
"names": [
|
|
"_ensure_aware"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.jobs",
|
|
"names": [
|
|
"create_job",
|
|
"load_jobs",
|
|
"save_jobs",
|
|
"get_due_jobs"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.jobs",
|
|
"names": [
|
|
"create_job",
|
|
"load_jobs",
|
|
"save_jobs",
|
|
"get_due_jobs"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.jobs",
|
|
"names": [
|
|
"create_job"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.code_execution_tool",
|
|
"names": [
|
|
"execute_code"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_insights.py": {
|
|
"imports": [
|
|
"time",
|
|
"pytest",
|
|
"json",
|
|
"json"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.insights",
|
|
"names": [
|
|
"InsightsEngine",
|
|
"_get_pricing",
|
|
"_estimate_cost",
|
|
"_format_duration",
|
|
"_bar_chart",
|
|
"_has_known_pricing",
|
|
"_DEFAULT_PRICING"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_cli_tools_command.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch",
|
|
"call"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_agent_loop_tool_calling.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"json",
|
|
"os",
|
|
"sys",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Set"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.agent_loop",
|
|
"names": [
|
|
"AgentResult",
|
|
"HermesAgentLoop"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.envs.server_handling.openai_server",
|
|
"names": [
|
|
"OpenAIServer"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.envs.server_handling.openai_server",
|
|
"names": [
|
|
"OpenAIServer"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.envs.server_handling.server_manager",
|
|
"names": [
|
|
"APIServerConfig"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_minisweagent_path.py": {
|
|
"imports": [],
|
|
"from_imports": []
|
|
},
|
|
"tests/test_session_meta_filtering.py": {
|
|
"imports": [
|
|
"logging",
|
|
"types"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_cli_extension_hooks.py": {
|
|
"imports": [
|
|
"importlib",
|
|
"sys",
|
|
"cli"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.key_binding",
|
|
"names": [
|
|
"KeyBindings"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_reasoning_command.py": {
|
|
"imports": [
|
|
"unittest",
|
|
"re"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"_parse_reasoning_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"_parse_reasoning_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"_parse_reasoning_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"_parse_reasoning_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"DEFAULT_CONFIG"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.commands",
|
|
"names": [
|
|
"COMMANDS"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_percentage_clamp.py": {
|
|
"imports": [
|
|
"pytest",
|
|
"os"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "agent.context_compressor",
|
|
"names": [
|
|
"ContextCompressor"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.context_compressor",
|
|
"names": [
|
|
"ContextCompressor"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.context_compressor",
|
|
"names": [
|
|
"ContextCompressor"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_provider_parity.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"sys",
|
|
"types",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"get_text_auxiliary_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"get_text_auxiliary_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"get_text_auxiliary_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"get_text_auxiliary_client",
|
|
"CodexAuxiliaryClient"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_setup_model_selection.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.setup",
|
|
"names": [
|
|
"_setup_provider_model_selection"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.setup",
|
|
"names": [
|
|
"_setup_provider_model_selection"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.setup",
|
|
"names": [
|
|
"_setup_provider_model_selection",
|
|
"_DEFAULT_PROVIDER_MODELS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.setup",
|
|
"names": [
|
|
"_setup_provider_model_selection"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_cli_save_config_value.py": {
|
|
"imports": [
|
|
"os",
|
|
"yaml",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"save_config_value"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"save_config_value"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"save_config_value"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"save_config_value"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"save_config_value"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_managed_server_tool_support.py": {
|
|
"imports": [
|
|
"inspect",
|
|
"sys",
|
|
"pytest",
|
|
"atroposlib",
|
|
"ast"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.envs.server_handling.managed_server",
|
|
"names": [
|
|
"ManagedServer"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.envs.server_handling.server_manager",
|
|
"names": [
|
|
"ServerManager"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.envs.server_handling.managed_server",
|
|
"names": [
|
|
"ManagedServer"
|
|
]
|
|
},
|
|
{
|
|
"module": "atroposlib.envs.server_handling.managed_server",
|
|
"names": [
|
|
"ManagedServer"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_call_parsers",
|
|
"names": [
|
|
"get_parser"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_call_parsers",
|
|
"names": [
|
|
"get_parser"
|
|
]
|
|
},
|
|
{
|
|
"module": "environments.tool_call_parsers",
|
|
"names": [
|
|
"get_parser"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_token_persistence_non_cli.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_trajectory_compressor_async.py": {
|
|
"imports": [
|
|
"types",
|
|
"pytest",
|
|
"os"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "trajectory_compressor",
|
|
"names": [
|
|
"TrajectoryCompressor"
|
|
]
|
|
},
|
|
{
|
|
"module": "trajectory_compressor",
|
|
"names": [
|
|
"TrajectoryCompressor"
|
|
]
|
|
},
|
|
{
|
|
"module": "trajectory_compressor",
|
|
"names": [
|
|
"TrajectoryCompressor"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_compression_persistence.py": {
|
|
"imports": [
|
|
"os",
|
|
"tempfile",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_packaging_metadata.py": {
|
|
"imports": [
|
|
"tomllib"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_atomic_yaml_write.py": {
|
|
"imports": [
|
|
"pytest",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "utils",
|
|
"names": [
|
|
"atomic_yaml_write"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_anthropic_error_handling.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"sys",
|
|
"types",
|
|
"pytest",
|
|
"gateway.run",
|
|
"run_agent"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"AsyncMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionSource"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_compressor_fallback_update.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.context_compressor",
|
|
"names": [
|
|
"ContextCompressor"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_cli_background_tui_refresh.py": {
|
|
"imports": [
|
|
"threading",
|
|
"pytest",
|
|
"time",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_context_references.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"subprocess",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.context_references",
|
|
"names": [
|
|
"parse_context_references"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.context_references",
|
|
"names": [
|
|
"parse_context_references"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.context_references",
|
|
"names": [
|
|
"preprocess_context_references"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.context_references",
|
|
"names": [
|
|
"preprocess_context_references"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.context_references",
|
|
"names": [
|
|
"preprocess_context_references"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.context_references",
|
|
"names": [
|
|
"preprocess_context_references"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.context_references",
|
|
"names": [
|
|
"preprocess_context_references_async"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.context_references",
|
|
"names": [
|
|
"preprocess_context_references"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.context_references",
|
|
"names": [
|
|
"preprocess_context_references"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.context_references",
|
|
"names": [
|
|
"preprocess_context_references"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.context_references",
|
|
"names": [
|
|
"preprocess_context_references_async"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_cli_file_drop.py": {
|
|
"imports": [
|
|
"os",
|
|
"tempfile",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"_detect_file_drop"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_trajectory_compressor.py": {
|
|
"imports": [
|
|
"json",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "trajectory_compressor",
|
|
"names": [
|
|
"CompressionConfig",
|
|
"TrajectoryMetrics",
|
|
"AggregateMetrics",
|
|
"TrajectoryCompressor"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_cli_preloaded_skills.py": {
|
|
"imports": [
|
|
"importlib",
|
|
"os",
|
|
"sys",
|
|
"pytest",
|
|
"cli",
|
|
"cli",
|
|
"cli"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_primary_runtime_restore.py": {
|
|
"imports": [
|
|
"time",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch",
|
|
"PropertyMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_model_provider_persistence.py": {
|
|
"imports": [
|
|
"os",
|
|
"pytest",
|
|
"yaml",
|
|
"yaml",
|
|
"yaml",
|
|
"yaml",
|
|
"yaml",
|
|
"yaml",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"_save_model_choice"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"_save_model_choice"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"PROVIDER_REGISTRY"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_model_flow_api_key_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_model_flow_copilot"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_model_flow_copilot_acp"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_model_flow_api_key_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_model_flow_api_key_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_openai_client_lifecycle.py": {
|
|
"imports": [
|
|
"sys",
|
|
"threading",
|
|
"types",
|
|
"httpx",
|
|
"pytest",
|
|
"run_agent"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "openai",
|
|
"names": [
|
|
"APIConnectionError"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/test_interactive_interrupt.py": {
|
|
"imports": [
|
|
"contextlib",
|
|
"io",
|
|
"json",
|
|
"logging",
|
|
"queue",
|
|
"sys",
|
|
"threading",
|
|
"time",
|
|
"os"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent",
|
|
"IterationBudget"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.interrupt",
|
|
"names": [
|
|
"set_interrupt",
|
|
"is_interrupted"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.delegate_tool",
|
|
"names": [
|
|
"_run_single_child"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/acp/test_events.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"pytest",
|
|
"acp"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "concurrent.futures",
|
|
"names": [
|
|
"Future"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "acp.schema",
|
|
"names": [
|
|
"ToolCallStart",
|
|
"ToolCallProgress",
|
|
"AgentThoughtChunk",
|
|
"AgentMessageChunk"
|
|
]
|
|
},
|
|
{
|
|
"module": "acp_adapter.events",
|
|
"names": [
|
|
"make_message_cb",
|
|
"make_step_cb",
|
|
"make_thinking_cb",
|
|
"make_tool_progress_cb"
|
|
]
|
|
},
|
|
{
|
|
"module": "collections",
|
|
"names": [
|
|
"deque"
|
|
]
|
|
},
|
|
{
|
|
"module": "collections",
|
|
"names": [
|
|
"deque"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/acp/test_server.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"os",
|
|
"pytest",
|
|
"acp"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"AsyncMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "acp.agent.router",
|
|
"names": [
|
|
"build_agent_router"
|
|
]
|
|
},
|
|
{
|
|
"module": "acp.schema",
|
|
"names": [
|
|
"AgentCapabilities",
|
|
"AuthenticateResponse",
|
|
"Implementation",
|
|
"InitializeResponse",
|
|
"ListSessionsResponse",
|
|
"LoadSessionResponse",
|
|
"NewSessionResponse",
|
|
"PromptResponse",
|
|
"ResumeSessionResponse",
|
|
"SetSessionConfigOptionResponse",
|
|
"SetSessionModeResponse",
|
|
"SessionInfo",
|
|
"TextContentBlock",
|
|
"Usage"
|
|
]
|
|
},
|
|
{
|
|
"module": "acp_adapter.server",
|
|
"names": [
|
|
"HermesACPAgent",
|
|
"HERMES_VERSION"
|
|
]
|
|
},
|
|
{
|
|
"module": "acp_adapter.session",
|
|
"names": [
|
|
"SessionManager"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "acp.schema",
|
|
"names": [
|
|
"McpServerStdio",
|
|
"EnvVariable"
|
|
]
|
|
},
|
|
{
|
|
"module": "acp.schema",
|
|
"names": [
|
|
"McpServerHttp",
|
|
"HttpHeader"
|
|
]
|
|
},
|
|
{
|
|
"module": "acp.schema",
|
|
"names": [
|
|
"McpServerStdio"
|
|
]
|
|
},
|
|
{
|
|
"module": "acp.schema",
|
|
"names": [
|
|
"McpServerStdio"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/acp/test_mcp_e2e.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"pytest",
|
|
"acp"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "collections",
|
|
"names": [
|
|
"deque"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "acp.schema",
|
|
"names": [
|
|
"EnvVariable",
|
|
"HttpHeader",
|
|
"McpServerHttp",
|
|
"McpServerStdio",
|
|
"NewSessionResponse",
|
|
"PromptResponse",
|
|
"TextContentBlock",
|
|
"ToolCallProgress",
|
|
"ToolCallStart"
|
|
]
|
|
},
|
|
{
|
|
"module": "acp_adapter.server",
|
|
"names": [
|
|
"HermesACPAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "acp_adapter.session",
|
|
"names": [
|
|
"SessionManager"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/acp/test_tools.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "acp_adapter.tools",
|
|
"names": [
|
|
"TOOL_KIND_MAP",
|
|
"build_tool_complete",
|
|
"build_tool_start",
|
|
"build_tool_title",
|
|
"extract_locations",
|
|
"get_tool_kind",
|
|
"make_tool_call_id"
|
|
]
|
|
},
|
|
{
|
|
"module": "acp.schema",
|
|
"names": [
|
|
"FileEditToolCallContent",
|
|
"ContentToolCallContent",
|
|
"ToolCallLocation",
|
|
"ToolCallStart",
|
|
"ToolCallProgress"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/acp/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": []
|
|
},
|
|
"tests/acp/test_session.py": {
|
|
"imports": [
|
|
"json",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "acp_adapter.session",
|
|
"names": [
|
|
"SessionManager",
|
|
"SessionState"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/acp/test_entry.py": {
|
|
"imports": [
|
|
"acp"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "acp_adapter",
|
|
"names": [
|
|
"entry"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/acp/test_auth.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "acp_adapter.auth",
|
|
"names": [
|
|
"has_provider",
|
|
"detect_provider"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/acp/test_permissions.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "concurrent.futures",
|
|
"names": [
|
|
"Future"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "acp.schema",
|
|
"names": [
|
|
"AllowedOutcome",
|
|
"DeniedOutcome",
|
|
"RequestPermissionResponse"
|
|
]
|
|
},
|
|
{
|
|
"module": "acp_adapter.permissions",
|
|
"names": [
|
|
"make_approval_callback"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/honcho_plugin/test_client.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"pytest",
|
|
"sys",
|
|
"plugins.memory.honcho.client"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.client",
|
|
"names": [
|
|
"HonchoClientConfig",
|
|
"get_honcho_client",
|
|
"reset_honcho_client",
|
|
"resolve_active_host",
|
|
"resolve_config_path",
|
|
"GLOBAL_CONFIG_PATH",
|
|
"HOST"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/honcho_plugin/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": []
|
|
},
|
|
"tests/honcho_plugin/test_session.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.session",
|
|
"names": [
|
|
"HonchoSession",
|
|
"HonchoSessionManager"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/honcho_plugin/test_async_memory.py": {
|
|
"imports": [
|
|
"json",
|
|
"queue",
|
|
"threading",
|
|
"time",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch",
|
|
"call"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.client",
|
|
"names": [
|
|
"HonchoClientConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.session",
|
|
"names": [
|
|
"HonchoSession",
|
|
"HonchoSessionManager",
|
|
"_ASYNC_SHUTDOWN"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/integration/test_modal_terminal.py": {
|
|
"imports": [
|
|
"pytest",
|
|
"os",
|
|
"sys",
|
|
"json",
|
|
"importlib.util"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "dotenv",
|
|
"names": [
|
|
"load_dotenv"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/integration/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": []
|
|
},
|
|
"tests/integration/test_web_tools.py": {
|
|
"imports": [
|
|
"pytest",
|
|
"json",
|
|
"asyncio",
|
|
"sys",
|
|
"os",
|
|
"argparse",
|
|
"traceback",
|
|
"traceback",
|
|
"traceback"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"List"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"web_search_tool",
|
|
"web_extract_tool",
|
|
"web_crawl_tool",
|
|
"check_firecrawl_api_key",
|
|
"check_web_api_key",
|
|
"check_auxiliary_model",
|
|
"get_debug_session_info",
|
|
"_get_backend"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/integration/test_daytona_terminal.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"sys",
|
|
"pytest",
|
|
"importlib.util"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/integration/test_voice_channel_flow.py": {
|
|
"imports": [
|
|
"struct",
|
|
"time",
|
|
"pytest",
|
|
"nacl.secret",
|
|
"os",
|
|
"ctypes.util",
|
|
"sys",
|
|
"os"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"VoiceReceiver"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/integration/test_batch_runner.py": {
|
|
"imports": [
|
|
"pytest",
|
|
"json",
|
|
"shutil",
|
|
"sys"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/integration/test_checkpoint_resumption.py": {
|
|
"imports": [
|
|
"pytest",
|
|
"json",
|
|
"os",
|
|
"shutil",
|
|
"sys",
|
|
"time",
|
|
"traceback",
|
|
"fire",
|
|
"threading"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"List",
|
|
"Dict",
|
|
"Any"
|
|
]
|
|
},
|
|
{
|
|
"module": "batch_runner",
|
|
"names": [
|
|
"BatchRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "batch_runner",
|
|
"names": [
|
|
"BatchRunner"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/integration/test_ha_integration.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"pytest",
|
|
"aiohttp",
|
|
"aiohttp",
|
|
"aiohttp"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.homeassistant",
|
|
"names": [
|
|
"HomeAssistantAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "tests.fakes.fake_ha_server",
|
|
"names": [
|
|
"FakeHAServer",
|
|
"ENTITY_STATES"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.homeassistant_tool",
|
|
"names": [
|
|
"_async_call_service",
|
|
"_async_get_state",
|
|
"_async_list_entities"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/e2e/conftest.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"sys",
|
|
"uuid"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageEvent",
|
|
"SendResult"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionEntry",
|
|
"SessionSource",
|
|
"build_session_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.telegram",
|
|
"names": [
|
|
"TelegramAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/e2e/test_telegram_commands.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"SendResult"
|
|
]
|
|
},
|
|
{
|
|
"module": "tests.e2e.conftest",
|
|
"names": [
|
|
"make_adapter",
|
|
"make_event",
|
|
"make_runner",
|
|
"make_session_entry",
|
|
"make_source",
|
|
"send_and_capture"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/e2e/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": []
|
|
},
|
|
"tests/tools/test_symlink_prefix_confusion.py": {
|
|
"imports": [
|
|
"os",
|
|
"pytest",
|
|
"tempfile"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_terminal_requirements.py": {
|
|
"imports": [
|
|
"importlib",
|
|
"logging"
|
|
],
|
|
"from_imports": []
|
|
},
|
|
"tests/tools/test_delegate_toolset_scope.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.delegate_tool",
|
|
"names": [
|
|
"_strip_blocked_tools"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_managed_tool_gateway.py": {
|
|
"imports": [
|
|
"os",
|
|
"json",
|
|
"sys"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timedelta",
|
|
"timezone"
|
|
]
|
|
},
|
|
{
|
|
"module": "importlib.util",
|
|
"names": [
|
|
"module_from_spec",
|
|
"spec_from_file_location"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_skill_view_traversal.py": {
|
|
"imports": [
|
|
"json",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"skill_view"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_ssh_environment.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"subprocess",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.ssh",
|
|
"names": [
|
|
"SSHEnvironment"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments",
|
|
"names": [
|
|
"ssh"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"terminal_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"cleanup_vm"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"_get_env_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"_get_env_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"_get_env_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"_get_env_config"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_modal_sandbox_fixes.py": {
|
|
"imports": [
|
|
"os",
|
|
"sys",
|
|
"pytest",
|
|
"tools.terminal_tool",
|
|
"inspect",
|
|
"inspect",
|
|
"inspect",
|
|
"inspect",
|
|
"inspect"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"get_tool_definitions"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"get_tool_definitions"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.modal",
|
|
"names": [
|
|
"ModalEnvironment"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.modal",
|
|
"names": [
|
|
"ModalEnvironment"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.modal",
|
|
"names": [
|
|
"ModalEnvironment"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_checkpoint_manager.py": {
|
|
"imports": [
|
|
"logging",
|
|
"os",
|
|
"json",
|
|
"shutil",
|
|
"subprocess",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.checkpoint_manager",
|
|
"names": [
|
|
"CheckpointManager",
|
|
"_shadow_repo_path",
|
|
"_init_shadow_repo",
|
|
"_run_git",
|
|
"_git_env",
|
|
"_dir_file_count",
|
|
"format_checkpoint_list",
|
|
"DEFAULT_EXCLUDES",
|
|
"CHECKPOINT_BASE"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_command_guards.py": {
|
|
"imports": [
|
|
"os",
|
|
"pytest",
|
|
"tools.approval",
|
|
"tools.tirith_security",
|
|
"sys"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"approve_session",
|
|
"check_all_command_guards",
|
|
"clear_session",
|
|
"is_approved"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"pop_pending"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_voice_cli_integration.py": {
|
|
"imports": [
|
|
"ast",
|
|
"os",
|
|
"queue",
|
|
"threading",
|
|
"pytest",
|
|
"tools.tts_tool",
|
|
"ast",
|
|
"ast",
|
|
"inspect",
|
|
"ast",
|
|
"ast",
|
|
"threading",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tts_tool",
|
|
"names": [
|
|
"_strip_markdown_for_tts"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tts_tool",
|
|
"names": [
|
|
"_load_tts_config",
|
|
"_get_provider",
|
|
"_import_elevenlabs",
|
|
"_import_sounddevice"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tts_tool",
|
|
"names": [
|
|
"_load_tts_config",
|
|
"_get_provider",
|
|
"_import_elevenlabs",
|
|
"_import_sounddevice"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tts_tool",
|
|
"names": [
|
|
"_load_tts_config",
|
|
"_get_provider",
|
|
"_import_elevenlabs",
|
|
"_import_sounddevice"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tts_tool",
|
|
"names": [
|
|
"_load_tts_config",
|
|
"_get_provider",
|
|
"_import_elevenlabs",
|
|
"_import_sounddevice"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tts_tool",
|
|
"names": [
|
|
"_load_tts_config",
|
|
"_get_provider",
|
|
"_import_elevenlabs",
|
|
"_import_sounddevice"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_file_tools_live.py": {
|
|
"imports": [
|
|
"pytest",
|
|
"json",
|
|
"os",
|
|
"sys",
|
|
"pytest",
|
|
"os"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.local",
|
|
"names": [
|
|
"LocalEnvironment",
|
|
"_clean_shell_noise",
|
|
"_extract_fenced_output",
|
|
"_OUTPUT_FENCE",
|
|
"_SHELL_NOISE_SUBSTRINGS"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_operations",
|
|
"names": [
|
|
"ShellFileOperations"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_memory_tool.py": {
|
|
"imports": [
|
|
"json",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.memory_tool",
|
|
"names": [
|
|
"MemoryStore",
|
|
"memory_tool",
|
|
"_scan_memory_content",
|
|
"ENTRY_DELIMITER",
|
|
"MEMORY_SCHEMA"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_docker_find.py": {
|
|
"imports": [
|
|
"os",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments",
|
|
"names": [
|
|
"docker"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_file_tools.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"FILE_TOOLS",
|
|
"READ_FILE_SCHEMA",
|
|
"WRITE_FILE_SCHEMA",
|
|
"PATCH_SCHEMA",
|
|
"SEARCH_FILES_SCHEMA"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"read_file_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"read_file_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"read_file_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"write_file_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"write_file_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"write_file_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"patch_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"patch_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"patch_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"patch_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"patch_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"patch_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"patch_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"search_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"search_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"search_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"patch_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"patch_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"clear_read_tracker"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"search_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"search_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"search_tool"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_terminal_disk_usage.py": {
|
|
"imports": [
|
|
"pytest",
|
|
"sys",
|
|
"tools.terminal_tool"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"get_active_environments_info",
|
|
"_check_disk_usage_warning"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_browser_console.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"sys",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"browser_console"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"browser_console"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"browser_console"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"browser_console"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"browser_console"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"BROWSER_TOOL_SCHEMAS"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"BROWSER_TOOL_SCHEMAS"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolsets",
|
|
"names": [
|
|
"TOOLSETS"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolsets",
|
|
"names": [
|
|
"_HERMES_CORE_TOOLS"
|
|
]
|
|
},
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"_LEGACY_TOOLSET_MAP"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools",
|
|
"names": [
|
|
"browser_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"BROWSER_TOOL_SCHEMAS"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"browser_vision"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"browser_vision"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"DEFAULT_CONFIG"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"_maybe_start_recording",
|
|
"_recording_sessions"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"_maybe_stop_recording",
|
|
"_recording_sessions"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_local_env_blocklist.py": {
|
|
"imports": [
|
|
"os",
|
|
"threading"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.local",
|
|
"names": [
|
|
"LocalEnvironment",
|
|
"_HERMES_PROVIDER_ENV_BLOCKLIST",
|
|
"_HERMES_PROVIDER_ENV_FORCE_PREFIX"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"PROVIDER_REGISTRY"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"OPTIONAL_ENV_VARS"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.local",
|
|
"names": [
|
|
"_SANE_PATH"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.local",
|
|
"names": [
|
|
"_SANE_PATH"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.local",
|
|
"names": [
|
|
"_make_run_env"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.local",
|
|
"names": [
|
|
"_make_run_env"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_cronjob_tools.py": {
|
|
"imports": [
|
|
"json",
|
|
"pytest",
|
|
"cron.jobs",
|
|
"cron.jobs"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.cronjob_tools",
|
|
"names": [
|
|
"_scan_cron_prompt",
|
|
"check_cronjob_requirements",
|
|
"cronjob",
|
|
"schedule_cronjob",
|
|
"list_cronjobs",
|
|
"remove_cronjob"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_website_policy.py": {
|
|
"imports": [
|
|
"json",
|
|
"pytest",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.website_policy",
|
|
"names": [
|
|
"WebsitePolicyError",
|
|
"check_website_access",
|
|
"load_website_blocklist"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"DEFAULT_CONFIG"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.website_policy",
|
|
"names": [
|
|
"invalidate_cache"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools",
|
|
"names": [
|
|
"browser_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools",
|
|
"names": [
|
|
"browser_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools",
|
|
"names": [
|
|
"web_tools"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools",
|
|
"names": [
|
|
"website_policy"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools",
|
|
"names": [
|
|
"web_tools"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools",
|
|
"names": [
|
|
"web_tools"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools",
|
|
"names": [
|
|
"web_tools"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_browser_ssrf_local.py": {
|
|
"imports": [
|
|
"json",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "tools",
|
|
"names": [
|
|
"browser_tool"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_windows_compat.py": {
|
|
"imports": [
|
|
"ast",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_send_message_missing_platforms.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"os",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.send_message_tool",
|
|
"names": [
|
|
"_send_dingtalk",
|
|
"_send_homeassistant",
|
|
"_send_mattermost",
|
|
"_send_matrix"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_url_safety.py": {
|
|
"imports": [
|
|
"socket",
|
|
"ipaddress",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.url_safety",
|
|
"names": [
|
|
"is_safe_url",
|
|
"_is_blocked_ip"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_singularity_preflight.py": {
|
|
"imports": [
|
|
"subprocess",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.singularity",
|
|
"names": [
|
|
"_find_singularity_executable",
|
|
"_ensure_singularity_available"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_browser_cleanup.py": {
|
|
"imports": [
|
|
"json"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"_extract_screenshot_path_from_text"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"_extract_screenshot_path_from_text"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools",
|
|
"names": [
|
|
"browser_tool"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_todo_tool.py": {
|
|
"imports": [
|
|
"json"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "tools.todo_tool",
|
|
"names": [
|
|
"TodoStore",
|
|
"todo_tool"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_read_loop_detection.py": {
|
|
"imports": [
|
|
"json",
|
|
"unittest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"read_file_tool",
|
|
"search_tool",
|
|
"get_read_files_summary",
|
|
"clear_read_tracker",
|
|
"notify_other_tool_call",
|
|
"_read_tracker"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.todo_tool",
|
|
"names": [
|
|
"TodoStore"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.todo_tool",
|
|
"names": [
|
|
"TodoStore"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.todo_tool",
|
|
"names": [
|
|
"TodoStore"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.todo_tool",
|
|
"names": [
|
|
"TodoStore"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_credential_files.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"pytest",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.credential_files",
|
|
"names": [
|
|
"clear_credential_files",
|
|
"get_credential_file_mounts",
|
|
"get_cache_directory_mounts",
|
|
"get_skills_directory_mount",
|
|
"iter_cache_files",
|
|
"iter_skills_files",
|
|
"register_credential_file",
|
|
"register_credential_files",
|
|
"reset_config_cache"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_interrupt.py": {
|
|
"imports": [
|
|
"queue",
|
|
"threading",
|
|
"time",
|
|
"pytest",
|
|
"types"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "tools.interrupt",
|
|
"names": [
|
|
"set_interrupt",
|
|
"is_interrupted"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.interrupt",
|
|
"names": [
|
|
"set_interrupt",
|
|
"is_interrupted"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.interrupt",
|
|
"names": [
|
|
"set_interrupt"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.local",
|
|
"names": [
|
|
"LocalEnvironment"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_fuzzy_match.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "tools.fuzzy_match",
|
|
"names": [
|
|
"fuzzy_find_and_replace"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_yolo_mode.py": {
|
|
"imports": [
|
|
"os",
|
|
"pytest",
|
|
"tools.approval",
|
|
"tools.tirith_security"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"check_all_command_guards",
|
|
"check_dangerous_command",
|
|
"detect_dangerous_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_approval.py": {
|
|
"imports": [
|
|
"ast",
|
|
"tools.approval",
|
|
"os",
|
|
"threading"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"_get_approval_mode",
|
|
"approve_session",
|
|
"clear_session",
|
|
"detect_dangerous_command",
|
|
"has_pending",
|
|
"is_approved",
|
|
"load_permanent",
|
|
"pop_pending",
|
|
"prompt_dangerous_approval",
|
|
"submit_pending"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": []
|
|
},
|
|
"tests/tools/test_config_null_guard.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tts_tool",
|
|
"names": [
|
|
"_get_provider",
|
|
"DEFAULT_PROVIDER"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tts_tool",
|
|
"names": [
|
|
"_get_provider",
|
|
"DEFAULT_PROVIDER"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tts_tool",
|
|
"names": [
|
|
"_get_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_backend"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_backend"
|
|
]
|
|
},
|
|
{
|
|
"module": "trajectory_compressor",
|
|
"names": [
|
|
"CompressionConfig",
|
|
"TrajectoryCompressor"
|
|
]
|
|
},
|
|
{
|
|
"module": "trajectory_compressor",
|
|
"names": [
|
|
"CompressionConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"OPENROUTER_BASE_URL"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_file_operations.py": {
|
|
"imports": [
|
|
"os",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_operations",
|
|
"names": [
|
|
"_is_write_denied",
|
|
"WRITE_DENIED_PATHS",
|
|
"WRITE_DENIED_PREFIXES",
|
|
"ReadResult",
|
|
"WriteResult",
|
|
"PatchResult",
|
|
"SearchResult",
|
|
"SearchMatch",
|
|
"LintResult",
|
|
"ShellFileOperations",
|
|
"BINARY_EXTENSIONS",
|
|
"IMAGE_EXTENSIONS",
|
|
"MAX_LINE_LENGTH"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_process_registry.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"time",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.local",
|
|
"names": [
|
|
"_HERMES_PROVIDER_ENV_FORCE_PREFIX"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.process_registry",
|
|
"names": [
|
|
"ProcessRegistry",
|
|
"ProcessSession",
|
|
"MAX_OUTPUT_CHARS",
|
|
"FINISHED_TTL_SECONDS",
|
|
"MAX_PROCESSES"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.process_registry",
|
|
"names": [
|
|
"_handle_process"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.process_registry",
|
|
"names": [
|
|
"_handle_process"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.process_registry",
|
|
"names": [
|
|
"_handle_process"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_browser_homebrew_paths.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"subprocess",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock",
|
|
"mock_open"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"_discover_homebrew_node_dirs",
|
|
"_find_agent_browser",
|
|
"_run_browser_command",
|
|
"_SANE_PATH"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_ansi_strip.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "tools.ansi_strip",
|
|
"names": [
|
|
"strip_ansi"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_send_message_tool.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"json",
|
|
"os",
|
|
"sys"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.send_message_tool",
|
|
"names": [
|
|
"_send_telegram",
|
|
"_send_to_platform",
|
|
"send_message_tool"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_skill_size_limits.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skill_manager_tool",
|
|
"names": [
|
|
"MAX_SKILL_CONTENT_CHARS",
|
|
"MAX_SKILL_FILE_BYTES",
|
|
"_validate_content_size",
|
|
"skill_manage"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"skill_view"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_local_persistent.py": {
|
|
"imports": [
|
|
"glob",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "tools.environments.local",
|
|
"names": [
|
|
"LocalEnvironment"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.persistent_shell",
|
|
"names": [
|
|
"PersistentShellMixin"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"_get_env_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"_get_env_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"_get_env_config"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_session_search.py": {
|
|
"imports": [
|
|
"json",
|
|
"time",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "tools.session_search_tool",
|
|
"names": [
|
|
"_format_timestamp",
|
|
"_format_conversation",
|
|
"_truncate_around_matches",
|
|
"_HIDDEN_SESSION_SOURCES",
|
|
"MAX_SESSION_CHARS",
|
|
"SESSION_SEARCH_SCHEMA"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.session_search_tool",
|
|
"names": [
|
|
"session_search"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.session_search_tool",
|
|
"names": [
|
|
"session_search"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.session_search_tool",
|
|
"names": [
|
|
"session_search"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.session_search_tool",
|
|
"names": [
|
|
"session_search"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.session_search_tool",
|
|
"names": [
|
|
"session_search"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.session_search_tool",
|
|
"names": [
|
|
"session_search"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.session_search_tool",
|
|
"names": [
|
|
"session_search"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_skills_sync.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_sync",
|
|
"names": [
|
|
"_get_bundled_dir",
|
|
"_read_manifest",
|
|
"_write_manifest",
|
|
"_discover_bundled_skills",
|
|
"_compute_relative_dest",
|
|
"_dir_hash",
|
|
"sync_skills",
|
|
"MANIFEST_FILE",
|
|
"SKILLS_DIR"
|
|
]
|
|
},
|
|
{
|
|
"module": "contextlib",
|
|
"names": [
|
|
"ExitStack"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_browser_cdp_override.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"Mock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"_resolve_cdp_override"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"_resolve_cdp_override"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"_resolve_cdp_override"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"_resolve_cdp_override"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_managed_browserbase_and_modal.py": {
|
|
"imports": [
|
|
"os",
|
|
"sys",
|
|
"tempfile",
|
|
"threading",
|
|
"types",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "importlib.util",
|
|
"names": [
|
|
"module_from_spec",
|
|
"spec_from_file_location"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_terminal_tool_requirements.py": {
|
|
"imports": [
|
|
"importlib"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "model_tools",
|
|
"names": [
|
|
"get_tool_definitions"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_parse_env_var.py": {
|
|
"imports": [
|
|
"json",
|
|
"pytest",
|
|
"sys",
|
|
"tools.terminal_tool",
|
|
"os"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"_parse_env_var"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_patch_parser.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.patch_parser",
|
|
"names": [
|
|
"OperationType",
|
|
"apply_v4a_operations",
|
|
"parse_v4a_patch"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_debug_helpers.py": {
|
|
"imports": [
|
|
"json",
|
|
"os"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.debug_helpers",
|
|
"names": [
|
|
"DebugSession"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_clipboard.py": {
|
|
"imports": [
|
|
"base64",
|
|
"os",
|
|
"queue",
|
|
"subprocess",
|
|
"sys",
|
|
"pytest",
|
|
"hermes_cli.clipboard",
|
|
"hermes_cli.clipboard",
|
|
"subprocess",
|
|
"hermes_cli.clipboard",
|
|
"json",
|
|
"json",
|
|
"hermes_cli.clipboard",
|
|
"subprocess"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock",
|
|
"PropertyMock",
|
|
"mock_open"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.clipboard",
|
|
"names": [
|
|
"save_clipboard_image",
|
|
"has_clipboard_image",
|
|
"_is_wsl",
|
|
"_linux_save",
|
|
"_macos_pngpaste",
|
|
"_macos_osascript",
|
|
"_macos_has_image",
|
|
"_xclip_save",
|
|
"_xclip_has_image",
|
|
"_wsl_save",
|
|
"_wsl_has_image",
|
|
"_wayland_save",
|
|
"_wayland_has_image",
|
|
"_convert_to_png"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_transcription_tools.py": {
|
|
"imports": [
|
|
"os",
|
|
"struct",
|
|
"subprocess",
|
|
"wave",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_get_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_transcribe_groq"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_get_local_command_template"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_transcribe_local_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_validate_audio_file"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_validate_audio_file"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_validate_audio_file",
|
|
"SUPPORTED_FORMATS"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_validate_audio_file"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"transcribe_audio"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"get_stt_model_from_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"get_stt_model_from_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"get_stt_model_from_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"get_stt_model_from_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"get_stt_model_from_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_get_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_get_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_get_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_get_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_get_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_get_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_get_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_get_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_get_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_get_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_get_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_get_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_get_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_get_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_transcribe_groq"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_transcribe_groq"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_transcribe_groq"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_transcribe_groq",
|
|
"GROQ_BASE_URL"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_transcribe_groq"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_transcribe_groq"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_transcribe_openai"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_transcribe_openai",
|
|
"OPENAI_BASE_URL"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_transcribe_openai"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_transcribe_openai"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_transcribe_local"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_transcribe_local"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_transcribe_local"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_transcribe_local"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_transcribe_groq",
|
|
"DEFAULT_GROQ_STT_MODEL"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_transcribe_groq",
|
|
"DEFAULT_GROQ_STT_MODEL"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_transcribe_openai",
|
|
"DEFAULT_STT_MODEL"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_transcribe_openai",
|
|
"DEFAULT_STT_MODEL"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_transcribe_groq"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_transcribe_openai"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_transcribe_groq"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_transcribe_openai"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_load_stt_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_load_stt_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"transcribe_audio"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"transcribe_audio"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"transcribe_audio"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"transcribe_audio"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"transcribe_audio"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"transcribe_audio"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"transcribe_audio"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"transcribe_audio",
|
|
"DEFAULT_GROQ_STT_MODEL"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"transcribe_audio"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"transcribe_audio"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_browser_camofox_persistence.py": {
|
|
"imports": [
|
|
"json",
|
|
"pytest",
|
|
"tools.browser_camofox",
|
|
"tools.browser_camofox"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_camofox",
|
|
"names": [
|
|
"_drop_session",
|
|
"_get_session",
|
|
"_managed_persistence_enabled",
|
|
"camofox_close",
|
|
"camofox_navigate",
|
|
"check_camofox_available",
|
|
"cleanup_all_camofox_sessions",
|
|
"get_vnc_url"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_camofox_state",
|
|
"names": [
|
|
"get_camofox_identity"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_llm_content_none_guard.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"types",
|
|
"pytest",
|
|
"os"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"extract_content_or_reasoning"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_write_deny.py": {
|
|
"imports": [
|
|
"os",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_operations",
|
|
"names": [
|
|
"_is_write_denied"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_vision_tools.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Awaitable"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.vision_tools",
|
|
"names": [
|
|
"_validate_image_url",
|
|
"_handle_vision_analyze",
|
|
"_determine_mime_type",
|
|
"_image_to_base64_data_url",
|
|
"vision_analyze_tool",
|
|
"check_vision_requirements",
|
|
"get_debug_session_info"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.vision_tools",
|
|
"names": [
|
|
"_download_image"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.vision_tools",
|
|
"names": [
|
|
"_download_image"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_daytona_environment.py": {
|
|
"imports": [
|
|
"threading",
|
|
"pytest",
|
|
"types",
|
|
"enum"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch",
|
|
"PropertyMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.daytona",
|
|
"names": [
|
|
"DaytonaEnvironment"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_docker_environment.py": {
|
|
"imports": [
|
|
"logging",
|
|
"subprocess",
|
|
"sys",
|
|
"types",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "io",
|
|
"names": [
|
|
"StringIO"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments",
|
|
"names": [
|
|
"docker"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_skill_env_passthrough.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.env_passthrough",
|
|
"names": [
|
|
"clear_env_passthrough",
|
|
"is_env_passthrough",
|
|
"reset_config_cache"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"save_env_value"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.env_passthrough",
|
|
"names": [
|
|
"get_all_passthrough"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"skill_view"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"skill_view"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"skill_view"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"skill_view"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_terminal_timeout_output.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "tools.environments.local",
|
|
"names": [
|
|
"LocalEnvironment"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_web_tools_config.py": {
|
|
"imports": [
|
|
"importlib",
|
|
"json",
|
|
"os",
|
|
"sys",
|
|
"types",
|
|
"pytest",
|
|
"tools.web_tools",
|
|
"tools.web_tools",
|
|
"tools.web_tools",
|
|
"tools.web_tools",
|
|
"tools.web_tools",
|
|
"tools.web_tools",
|
|
"tools.web_tools",
|
|
"tools.web_tools",
|
|
"tools.web_tools"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock",
|
|
"AsyncMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_web_requires_env"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_backend"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_backend"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_backend"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_backend"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_backend"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_backend"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_backend"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_backend"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_backend"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_backend"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_backend"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_backend"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_backend"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_backend"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_backend"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_backend"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_backend"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_parallel_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"check_web_api_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_parallel_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "parallel",
|
|
"names": [
|
|
"Parallel"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_parallel_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"check_web_api_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"check_web_api_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"check_web_api_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"check_web_api_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"check_web_api_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"check_web_api_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"check_web_api_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"check_web_api_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_firecrawl_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_firecrawl_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_firecrawl_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_firecrawl_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_firecrawl_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_firecrawl_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_firecrawl_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_firecrawl_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_firecrawl_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_firecrawl_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_firecrawl_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_firecrawl_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_firecrawl_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_get_firecrawl_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"check_web_api_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"check_web_api_key"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_tirith_security.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"subprocess",
|
|
"time",
|
|
"pytest",
|
|
"tools.tirith_security",
|
|
"urllib.request",
|
|
"tempfile",
|
|
"tempfile",
|
|
"tempfile",
|
|
"tempfile",
|
|
"tempfile",
|
|
"tempfile",
|
|
"tempfile"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"check_command_security",
|
|
"ensure_installed"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_resolve_tirith_path"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_resolve_tirith_path",
|
|
"_INSTALL_FAILED"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_resolve_tirith_path",
|
|
"_INSTALL_FAILED"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_resolve_tirith_path",
|
|
"_INSTALL_FAILED"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_resolve_tirith_path"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_verify_cosign"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_verify_cosign"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_verify_cosign"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_verify_cosign"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_verify_cosign"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_verify_cosign"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_install_tirith"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_install_tirith"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_install_tirith"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_install_tirith"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_install_tirith"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_resolve_tirith_path"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_resolve_tirith_path"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_resolve_tirith_path"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_resolve_tirith_path"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_resolve_tirith_path",
|
|
"_INSTALL_FAILED"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_resolve_tirith_path",
|
|
"_INSTALL_FAILED"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_resolve_tirith_path",
|
|
"_INSTALL_FAILED"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_resolve_tirith_path",
|
|
"_INSTALL_FAILED"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_resolve_tirith_path",
|
|
"_INSTALL_FAILED"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_resolve_tirith_path",
|
|
"_INSTALL_FAILED"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_resolve_tirith_path",
|
|
"_INSTALL_FAILED"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_resolve_tirith_path",
|
|
"_INSTALL_FAILED"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_resolve_tirith_path",
|
|
"_INSTALL_FAILED"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_hermes_bin_dir"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_failure_marker_path"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_mark_install_failed",
|
|
"_is_install_failed_on_disk",
|
|
"_clear_install_failed"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_mark_install_failed",
|
|
"_is_install_failed_on_disk"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_mark_install_failed",
|
|
"_is_install_failed_on_disk"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_mark_install_failed",
|
|
"_is_install_failed_on_disk"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tirith_security",
|
|
"names": [
|
|
"_mark_install_failed",
|
|
"_is_install_failed_on_disk"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_skills_guard.py": {
|
|
"imports": [
|
|
"os",
|
|
"stat",
|
|
"tempfile",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_guard",
|
|
"names": [
|
|
"Finding",
|
|
"ScanResult",
|
|
"scan_file",
|
|
"scan_skill",
|
|
"should_allow_install",
|
|
"format_scan_report",
|
|
"content_hash",
|
|
"_determine_verdict",
|
|
"_resolve_trust_level",
|
|
"_check_structure",
|
|
"_unicode_char_name",
|
|
"INSTALL_POLICY",
|
|
"INVISIBLE_CHARS",
|
|
"MAX_FILE_COUNT",
|
|
"MAX_SINGLE_FILE_KB"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_browser_secret_exfil.py": {
|
|
"imports": [
|
|
"json",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"browser_navigate"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"browser_navigate"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"browser_navigate"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"web_extract_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"web_extract_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"_extract_relevant_content"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"_extract_relevant_content"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"_extract_relevant_content"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.redact",
|
|
"names": [
|
|
"redact_sensitive_text"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.redact",
|
|
"names": [
|
|
"redact_sensitive_text"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_clarify_tool.py": {
|
|
"imports": [
|
|
"json",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.clarify_tool",
|
|
"names": [
|
|
"clarify_tool",
|
|
"check_clarify_requirements",
|
|
"MAX_CHOICES",
|
|
"CLARIFY_SCHEMA"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_mcp_probe.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"pytest",
|
|
"tools.mcp_tool"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"probe_mcp_server_tools"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"probe_mcp_server_tools"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"probe_mcp_server_tools"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"probe_mcp_server_tools"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"probe_mcp_server_tools"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"probe_mcp_server_tools"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"probe_mcp_server_tools"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"probe_mcp_server_tools"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_managed_modal_environment.py": {
|
|
"imports": [
|
|
"json",
|
|
"sys",
|
|
"tempfile",
|
|
"threading",
|
|
"types",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "importlib.util",
|
|
"names": [
|
|
"module_from_spec",
|
|
"spec_from_file_location"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_browser_camofox.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_camofox",
|
|
"names": [
|
|
"camofox_back",
|
|
"camofox_click",
|
|
"camofox_close",
|
|
"camofox_console",
|
|
"camofox_get_images",
|
|
"camofox_navigate",
|
|
"camofox_press",
|
|
"camofox_scroll",
|
|
"camofox_snapshot",
|
|
"camofox_type",
|
|
"camofox_vision",
|
|
"check_camofox_available",
|
|
"cleanup_all_camofox_sessions",
|
|
"is_camofox_mode"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"browser_navigate"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"check_browser_requirements"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_mcp_stability.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"os",
|
|
"signal",
|
|
"threading",
|
|
"pytest",
|
|
"tools.mcp_tool",
|
|
"time",
|
|
"inspect"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_mcp_loop_exception_handler"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_mcp_loop_exception_handler"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_mcp_loop_exception_handler"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_mcp_loop_exception_handler"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_snapshot_child_pids"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_stdio_pids",
|
|
"_lock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_kill_orphaned_mcp_children",
|
|
"_stdio_pids",
|
|
"_lock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_kill_orphaned_mcp_children",
|
|
"_stdio_pids",
|
|
"_lock"
|
|
]
|
|
},
|
|
{
|
|
"module": "cli",
|
|
"names": [
|
|
"HermesCLI"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_skill_view_path_check.py": {
|
|
"imports": [
|
|
"os",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_search_hidden_dirs.py": {
|
|
"imports": [
|
|
"os",
|
|
"subprocess",
|
|
"pytest",
|
|
"tools.skills_hub",
|
|
"tools.skills_hub"
|
|
],
|
|
"from_imports": []
|
|
},
|
|
"tests/tools/test_file_staleness.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"tempfile",
|
|
"time",
|
|
"unittest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"read_file_tool",
|
|
"write_file_tool",
|
|
"patch_tool",
|
|
"clear_read_tracker",
|
|
"_check_file_staleness"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"_read_tracker",
|
|
"_read_tracker_lock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"_read_tracker",
|
|
"_read_tracker_lock"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_browser_camofox_state.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools",
|
|
"names": [
|
|
"browser_camofox_state"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"DEFAULT_CONFIG"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"DEFAULT_CONFIG"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_mcp_tool_issue_948.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"os",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"MCPServerTask",
|
|
"_format_connect_error",
|
|
"_resolve_stdio_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_web_tools_tavily.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"asyncio",
|
|
"pytest",
|
|
"httpx"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_normalize_tavily_search_results"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_normalize_tavily_search_results"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_normalize_tavily_search_results"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_normalize_tavily_documents"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_normalize_tavily_documents"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_normalize_tavily_documents"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_normalize_tavily_documents"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_normalize_tavily_documents"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_tavily_request"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"web_search_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"web_extract_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"web_crawl_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"web_crawl_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_tavily_request"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.web_tools",
|
|
"names": [
|
|
"_tavily_request"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_file_write_safety.py": {
|
|
"imports": [
|
|
"os",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_operations",
|
|
"names": [
|
|
"_is_write_denied"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_env_passthrough.py": {
|
|
"imports": [
|
|
"os",
|
|
"pytest",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "tools.env_passthrough",
|
|
"names": [
|
|
"clear_env_passthrough",
|
|
"get_all_passthrough",
|
|
"is_env_passthrough",
|
|
"register_env_passthrough",
|
|
"reset_config_cache"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.local",
|
|
"names": [
|
|
"_sanitize_subprocess_env",
|
|
"_HERMES_PROVIDER_ENV_BLOCKLIST"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.local",
|
|
"names": [
|
|
"_sanitize_subprocess_env",
|
|
"_HERMES_PROVIDER_ENV_BLOCKLIST"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.environments.local",
|
|
"names": [
|
|
"_make_run_env",
|
|
"_HERMES_PROVIDER_ENV_BLOCKLIST"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_registry.py": {
|
|
"imports": [
|
|
"json"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"ToolRegistry"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_modal_snapshot_isolation.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"sys",
|
|
"types",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "importlib.util",
|
|
"names": [
|
|
"module_from_spec",
|
|
"spec_from_file_location"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_skills_hub_clawhub.py": {
|
|
"imports": [
|
|
"unittest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_hub",
|
|
"names": [
|
|
"ClawHubSource",
|
|
"SkillMeta"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_browser_content_none_guard.py": {
|
|
"imports": [
|
|
"types",
|
|
"pytest",
|
|
"os"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"_extract_relevant_content"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"_extract_relevant_content"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"_extract_relevant_content"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_hidden_dir_filter.py": {
|
|
"imports": [
|
|
"os"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path",
|
|
"PurePosixPath",
|
|
"PureWindowsPath"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_mcp_dynamic_discovery.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"MCPServerTask",
|
|
"_register_server_tools"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"ToolRegistry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_MCP_NOTIFICATION_TYPES"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp.types",
|
|
"names": [
|
|
"ServerNotification",
|
|
"ToolListChangedNotification"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_force_dangerous_override.py": {
|
|
"imports": [],
|
|
"from_imports": []
|
|
},
|
|
"tests/tools/test_skill_improvements.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skill_manager_tool",
|
|
"names": [
|
|
"_create_skill",
|
|
"_patch_skill",
|
|
"_write_file",
|
|
"skill_manage"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_file_read_guards.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"tempfile",
|
|
"time",
|
|
"unittest",
|
|
"tools.file_tools",
|
|
"tools.file_tools"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.file_tools",
|
|
"names": [
|
|
"read_file_tool",
|
|
"clear_read_tracker",
|
|
"reset_file_dedup",
|
|
"_is_blocked_device",
|
|
"_get_max_read_chars",
|
|
"_DEFAULT_MAX_READ_CHARS"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_managed_media_gateways.py": {
|
|
"imports": [
|
|
"sys",
|
|
"types",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "importlib.util",
|
|
"names": [
|
|
"module_from_spec",
|
|
"spec_from_file_location"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_rl_training_tool.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.rl_training_tool",
|
|
"names": [
|
|
"RunState",
|
|
"_stop_training_run"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_skills_hub.py": {
|
|
"imports": [
|
|
"json",
|
|
"httpx",
|
|
"pytest",
|
|
"tools.skills_hub",
|
|
"tools.skills_hub",
|
|
"tools.skills_hub"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_hub",
|
|
"names": [
|
|
"GitHubAuth",
|
|
"GitHubSource",
|
|
"LobeHubSource",
|
|
"SkillsShSource",
|
|
"WellKnownSkillSource",
|
|
"OptionalSkillSource",
|
|
"SkillMeta",
|
|
"SkillBundle",
|
|
"HubLockFile",
|
|
"TapsManager",
|
|
"bundle_content_hash",
|
|
"check_for_skill_updates",
|
|
"create_source_router",
|
|
"unified_search",
|
|
"append_audit_log",
|
|
"_skill_meta_to_dict",
|
|
"quarantine_bundle"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_guard",
|
|
"names": [
|
|
"TRUSTED_REPOS"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_guard",
|
|
"names": [
|
|
"content_hash"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_mcp_oauth.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"pytest",
|
|
"asyncio",
|
|
"asyncio",
|
|
"tools.mcp_oauth",
|
|
"tools.mcp_oauth",
|
|
"tools.mcp_oauth",
|
|
"asyncio",
|
|
"logging",
|
|
"logging"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock",
|
|
"AsyncMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_oauth",
|
|
"names": [
|
|
"HermesTokenStorage",
|
|
"OAuthNonInteractiveError",
|
|
"build_oauth_auth",
|
|
"remove_oauth_tokens",
|
|
"_find_free_port",
|
|
"_can_open_browser",
|
|
"_is_interactive",
|
|
"_wait_for_callback"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_oauth",
|
|
"names": [
|
|
"_make_callback_handler"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_oauth",
|
|
"names": [
|
|
"_make_callback_handler"
|
|
]
|
|
},
|
|
{
|
|
"module": "io",
|
|
"names": [
|
|
"BytesIO"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp.client.auth",
|
|
"names": [
|
|
"OAuthClientProvider"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp.client.auth",
|
|
"names": [
|
|
"OAuthClientProvider"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp.client.auth",
|
|
"names": [
|
|
"OAuthClientProvider"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp.client.auth",
|
|
"names": [
|
|
"OAuthClientProvider"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_skill_manager_tool.py": {
|
|
"imports": [
|
|
"json"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skill_manager_tool",
|
|
"names": [
|
|
"_validate_name",
|
|
"_validate_category",
|
|
"_validate_frontmatter",
|
|
"_validate_file_path",
|
|
"_find_skill",
|
|
"_resolve_skill_dir",
|
|
"_create_skill",
|
|
"_edit_skill",
|
|
"_patch_skill",
|
|
"_delete_skill",
|
|
"_write_file",
|
|
"_remove_file",
|
|
"skill_manage",
|
|
"VALID_NAME_RE",
|
|
"ALLOWED_SUBDIRS",
|
|
"MAX_NAME_LENGTH"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_code_execution.py": {
|
|
"imports": [
|
|
"pytest",
|
|
"json",
|
|
"os",
|
|
"sys",
|
|
"time",
|
|
"threading",
|
|
"unittest",
|
|
"re",
|
|
"tools.file_tools",
|
|
"tools.web_tools",
|
|
"re",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.code_execution_tool",
|
|
"names": [
|
|
"SANDBOX_ALLOWED_TOOLS",
|
|
"execute_code",
|
|
"generate_hermes_tools_module",
|
|
"check_sandbox_requirements",
|
|
"build_execute_code_schema",
|
|
"EXECUTE_CODE_SCHEMA",
|
|
"_TOOL_DOC_LINES"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.code_execution_tool",
|
|
"names": [
|
|
"_TOOL_STUBS"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.code_execution_tool",
|
|
"names": [
|
|
"_TOOL_STUBS"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.code_execution_tool",
|
|
"names": [
|
|
"_TOOL_STUBS"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.code_execution_tool",
|
|
"names": [
|
|
"_load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.code_execution_tool",
|
|
"names": [
|
|
"_load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"_interrupt_event"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.terminal_tool",
|
|
"names": [
|
|
"_interrupt_event"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_homeassistant_tool.py": {
|
|
"imports": [
|
|
"json",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "tools.homeassistant_tool",
|
|
"names": [
|
|
"_check_ha_available",
|
|
"_filter_and_summarize",
|
|
"_build_service_payload",
|
|
"_parse_service_response",
|
|
"_get_headers",
|
|
"_handle_get_state",
|
|
"_handle_call_service",
|
|
"_BLOCKED_DOMAINS",
|
|
"_ENTITY_ID_RE"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_transcription.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"tempfile",
|
|
"pytest",
|
|
"stat"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch",
|
|
"mock_open"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_get_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_validate_audio_file"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_validate_audio_file"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_validate_audio_file"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_validate_audio_file",
|
|
"MAX_FILE_SIZE"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_transcribe_openai"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"transcribe_audio"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_get_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_get_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_get_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_get_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_get_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_get_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_transcribe_local"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_transcribe_local"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"_transcribe_openai"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"transcribe_audio"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"transcribe_audio"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"transcribe_audio"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.transcription_tools",
|
|
"names": [
|
|
"transcribe_audio"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_skills_tool.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"pytest",
|
|
"tools.skills_tool"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"_get_required_environment_variables",
|
|
"_parse_frontmatter",
|
|
"_parse_tags",
|
|
"_get_category_from_path",
|
|
"_estimate_tokens",
|
|
"_find_all_skills",
|
|
"skill_matches_platform",
|
|
"skills_list",
|
|
"skills_categories",
|
|
"skill_view",
|
|
"MAX_DESCRIPTION_LENGTH"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"_is_env_var_persisted"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"save_env_value"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"save_env_value"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"save_env_value"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_mixture_of_agents_tool.py": {
|
|
"imports": [
|
|
"importlib",
|
|
"json",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_delegate.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"sys",
|
|
"threading",
|
|
"unittest",
|
|
"model_tools",
|
|
"model_tools",
|
|
"model_tools"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.delegate_tool",
|
|
"names": [
|
|
"DELEGATE_BLOCKED_TOOLS",
|
|
"DELEGATE_TASK_SCHEMA",
|
|
"MAX_CONCURRENT_CHILDREN",
|
|
"MAX_DEPTH",
|
|
"check_delegate_requirements",
|
|
"delegate_task",
|
|
"_build_child_agent",
|
|
"_build_child_system_prompt",
|
|
"_strip_blocked_tools",
|
|
"_resolve_delegation_credentials"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_voice_mode.py": {
|
|
"imports": [
|
|
"os",
|
|
"struct",
|
|
"time",
|
|
"wave",
|
|
"pytest",
|
|
"numpy",
|
|
"threading",
|
|
"threading",
|
|
"threading",
|
|
"tools.voice_mode",
|
|
"tools.voice_mode",
|
|
"tools.voice_mode",
|
|
"threading",
|
|
"subprocess",
|
|
"os",
|
|
"inspect"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"detect_audio_environment"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"detect_audio_environment"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"detect_audio_environment"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"check_voice_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"check_voice_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"check_voice_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"AudioRecorder"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"AudioRecorder"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"AudioRecorder"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"AudioRecorder"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"AudioRecorder",
|
|
"SAMPLE_RATE"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"AudioRecorder"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"AudioRecorder",
|
|
"SAMPLE_RATE"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"AudioRecorder"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"AudioRecorder"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"AudioRecorder"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"AudioRecorder"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"is_whisper_hallucination"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"is_whisper_hallucination"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"play_audio_file"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"play_audio_file"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"play_audio_file"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"cleanup_temp_recordings"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"cleanup_temp_recordings"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"cleanup_temp_recordings"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"cleanup_temp_recordings"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"play_beep"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"play_beep"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"play_beep"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"play_beep"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"AudioRecorder",
|
|
"SAMPLE_RATE"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"AudioRecorder"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"AudioRecorder"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"AudioRecorder"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"stop_playback",
|
|
"_playback_lock"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"AudioRecorder"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"AudioRecorder"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"AudioRecorder"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"AudioRecorder"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"AudioRecorder"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"AudioRecorder"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"AudioRecorder"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"AudioRecorder"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"detect_audio_environment"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"detect_audio_environment"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"detect_audio_environment"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"transcribe_recording"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"transcribe_recording"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.voice_mode",
|
|
"names": [
|
|
"transcribe_recording"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_cron_prompt_injection.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "tools.cronjob_tools",
|
|
"names": [
|
|
"_scan_cron_prompt"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/tools/test_mcp_tool.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"json",
|
|
"os",
|
|
"pytest",
|
|
"math",
|
|
"time",
|
|
"tools.mcp_tool",
|
|
"tools.mcp_tool",
|
|
"tools.mcp_tool",
|
|
"time",
|
|
"logging",
|
|
"logging",
|
|
"re",
|
|
"threading"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "mcp.types",
|
|
"names": [
|
|
"CreateMessageResult",
|
|
"CreateMessageResultWithTools",
|
|
"ErrorData",
|
|
"SamplingCapability",
|
|
"SamplingToolsCapability",
|
|
"TextContent",
|
|
"ToolUseContent"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"SamplingHandler",
|
|
"_safe_numeric"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_convert_mcp_schema"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_convert_mcp_schema"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_convert_mcp_schema"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_convert_mcp_schema"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_convert_mcp_schema"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_make_check_fn",
|
|
"_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_make_check_fn",
|
|
"_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_make_check_fn",
|
|
"_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_make_tool_handler",
|
|
"_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_make_tool_handler",
|
|
"_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_make_tool_handler",
|
|
"_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_make_tool_handler",
|
|
"_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"ToolRegistry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_discover_and_register_server",
|
|
"_servers",
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_discover_and_register_server",
|
|
"_servers",
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"ToolRegistry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_discover_and_register_server",
|
|
"_servers",
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"shutdown_mcp_servers",
|
|
"_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"shutdown_mcp_servers",
|
|
"_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"shutdown_mcp_servers",
|
|
"_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"shutdown_mcp_servers",
|
|
"_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_build_safe_env"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_build_safe_env"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_build_safe_env"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_build_safe_env"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_build_safe_env"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_sanitize_error"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_sanitize_error"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_sanitize_error"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_sanitize_error"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_sanitize_error"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_sanitize_error"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"MCPServerTask",
|
|
"_DEFAULT_TOOL_TIMEOUT"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_make_tool_handler",
|
|
"_servers",
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_build_utility_schemas"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_build_utility_schemas"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_build_utility_schemas"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_build_utility_schemas"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_build_utility_schemas"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_build_utility_schemas"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_build_utility_schemas"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_make_list_resources_handler",
|
|
"_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_make_list_resources_handler",
|
|
"_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_make_list_resources_handler",
|
|
"_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_make_read_resource_handler",
|
|
"_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_make_read_resource_handler",
|
|
"_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_make_read_resource_handler",
|
|
"_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_make_list_prompts_handler",
|
|
"_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_make_list_prompts_handler",
|
|
"_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_make_list_prompts_handler",
|
|
"_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_make_get_prompt_handler",
|
|
"_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_make_get_prompt_handler",
|
|
"_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_make_get_prompt_handler",
|
|
"_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_make_get_prompt_handler",
|
|
"_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"ToolRegistry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_discover_and_register_server",
|
|
"_servers",
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"ToolRegistry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_discover_and_register_server",
|
|
"_servers",
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"ToolRegistry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_discover_and_register_server",
|
|
"_servers",
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"MCPServerTask",
|
|
"_MCP_SAMPLING_TYPES"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"MCPServerTask",
|
|
"_MCP_SAMPLING_TYPES"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"discover_mcp_tools",
|
|
"_servers",
|
|
"_ensure_mcp_loop"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"discover_mcp_tools",
|
|
"_servers",
|
|
"_ensure_mcp_loop"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"discover_mcp_tools",
|
|
"_servers",
|
|
"_ensure_mcp_loop"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"ToolRegistry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_discover_and_register_server",
|
|
"_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_existing_tool_names",
|
|
"_servers",
|
|
"_discover_and_register_server"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"ToolRegistry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"ToolRegistry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_discover_and_register_server",
|
|
"_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"discover_mcp_tools"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"ToolRegistry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"ToolRegistry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"ToolRegistry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_discover_and_register_server",
|
|
"_servers",
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"ToolRegistry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_discover_and_register_server",
|
|
"_servers",
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"ToolRegistry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_discover_and_register_server",
|
|
"_servers",
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"sanitize_mcp_name_component"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"sanitize_mcp_name_component"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"sanitize_mcp_name_component"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"sanitize_mcp_name_component"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"sanitize_mcp_name_component"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"sanitize_mcp_name_component"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"sanitize_mcp_name_component"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_convert_mcp_schema"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_build_utility_schemas"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"sanitize_mcp_name_component"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"register_mcp_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"register_mcp_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"register_mcp_servers",
|
|
"_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"register_mcp_servers",
|
|
"_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"register_mcp_servers",
|
|
"_servers",
|
|
"_ensure_mcp_loop"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"register_mcp_servers",
|
|
"_servers",
|
|
"_ensure_mcp_loop"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_load_mcp_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_load_mcp_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_load_mcp_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"discover_mcp_tools"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"discover_mcp_tools"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"discover_mcp_tools"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"discover_mcp_tools"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"discover_mcp_tools"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"discover_mcp_tools"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"MCPServerTask"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"MCPServerTask"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/agent/test_models_dev.py": {
|
|
"imports": [
|
|
"json",
|
|
"pytest",
|
|
"agent.models_dev",
|
|
"agent.models_dev",
|
|
"agent.models_dev",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.models_dev",
|
|
"names": [
|
|
"PROVIDER_TO_MODELS_DEV",
|
|
"_extract_context",
|
|
"fetch_models_dev",
|
|
"lookup_models_dev_context"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/agent/test_usage_pricing.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.usage_pricing",
|
|
"names": [
|
|
"CanonicalUsage",
|
|
"estimate_usage_cost",
|
|
"get_pricing_entry",
|
|
"normalize_usage"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/agent/test_smart_model_routing.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "agent.smart_model_routing",
|
|
"names": [
|
|
"choose_cheap_model_route"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.smart_model_routing",
|
|
"names": [
|
|
"resolve_turn_route"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/agent/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": []
|
|
},
|
|
"tests/agent/test_memory_plugin_e2e.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"sqlite3",
|
|
"tempfile",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.memory_provider",
|
|
"names": [
|
|
"MemoryProvider"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.memory_manager",
|
|
"names": [
|
|
"MemoryManager"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.builtin_memory_provider",
|
|
"names": [
|
|
"BuiltinMemoryProvider"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.builtin_memory_provider",
|
|
"names": [
|
|
"BuiltinMemoryProvider"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/agent/test_prompt_builder.py": {
|
|
"imports": [
|
|
"builtins",
|
|
"importlib",
|
|
"logging",
|
|
"sys",
|
|
"pytest",
|
|
"json",
|
|
"json"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "agent.prompt_builder",
|
|
"names": [
|
|
"_scan_context_content",
|
|
"_truncate_content",
|
|
"_parse_skill_file",
|
|
"_read_skill_conditions",
|
|
"_skill_should_show",
|
|
"_find_hermes_md",
|
|
"_find_git_root",
|
|
"_strip_yaml_frontmatter",
|
|
"build_skills_system_prompt",
|
|
"build_nous_subscription_prompt",
|
|
"build_context_files_prompt",
|
|
"CONTEXT_FILE_MAX_CHARS",
|
|
"DEFAULT_AGENT_IDENTITY",
|
|
"TOOL_USE_ENFORCEMENT_GUIDANCE",
|
|
"TOOL_USE_ENFORCEMENT_MODELS",
|
|
"MEMORY_GUIDANCE",
|
|
"SESSION_SEARCH_GUIDANCE",
|
|
"PLATFORM_HINTS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.nous_subscription",
|
|
"names": [
|
|
"NousFeatureState",
|
|
"NousSubscriptionFeatures"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.prompt_builder",
|
|
"names": [
|
|
"clear_skills_system_prompt_cache"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.prompt_builder",
|
|
"names": [
|
|
"clear_skills_system_prompt_cache"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"_strip_budget_warnings_from_history"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"_strip_budget_warnings_from_history"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"_strip_budget_warnings_from_history"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"_strip_budget_warnings_from_history"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"_strip_budget_warnings_from_history"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/agent/test_subagent_progress.py": {
|
|
"imports": [
|
|
"io",
|
|
"sys",
|
|
"time",
|
|
"threading",
|
|
"pytest",
|
|
"re"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.display",
|
|
"names": [
|
|
"KawaiiSpinner"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.delegate_tool",
|
|
"names": [
|
|
"_build_child_progress_callback"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/agent/test_context_compressor.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.context_compressor",
|
|
"names": [
|
|
"ContextCompressor",
|
|
"SUMMARY_PREFIX"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/agent/test_auxiliary_client.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"pytest",
|
|
"base64",
|
|
"time",
|
|
"base64",
|
|
"time",
|
|
"base64",
|
|
"time",
|
|
"base64",
|
|
"time",
|
|
"base64",
|
|
"time",
|
|
"base64",
|
|
"base64"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"get_text_auxiliary_client",
|
|
"get_vision_auxiliary_client",
|
|
"get_available_vision_backends",
|
|
"resolve_vision_provider_client",
|
|
"resolve_provider_client",
|
|
"auxiliary_max_tokens_param",
|
|
"_read_codex_access_token",
|
|
"_get_auxiliary_provider",
|
|
"_resolve_forced_provider",
|
|
"_resolve_auto"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"CodexAuxiliaryClient"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"CodexAuxiliaryClient"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"CodexAuxiliaryClient"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"CodexAuxiliaryClient"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"CodexAuxiliaryClient"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"CodexAuxiliaryClient"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"_try_anthropic",
|
|
"AnthropicAuxiliaryClient"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"_try_anthropic",
|
|
"AnthropicAuxiliaryClient"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"_try_anthropic"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"_resolve_auto",
|
|
"AnthropicAuxiliaryClient"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"_resolve_auto"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"_try_anthropic",
|
|
"AnthropicAuxiliaryClient"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"_try_anthropic",
|
|
"AnthropicAuxiliaryClient"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"_try_codex"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"_try_nous"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.auxiliary_client",
|
|
"names": [
|
|
"_resolve_auto"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/agent/test_external_skills.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_utils",
|
|
"names": [
|
|
"get_external_skills_dirs"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_utils",
|
|
"names": [
|
|
"get_external_skills_dirs"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_utils",
|
|
"names": [
|
|
"get_external_skills_dirs"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_utils",
|
|
"names": [
|
|
"get_external_skills_dirs"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_utils",
|
|
"names": [
|
|
"get_external_skills_dirs"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_utils",
|
|
"names": [
|
|
"get_external_skills_dirs"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_utils",
|
|
"names": [
|
|
"get_external_skills_dirs"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_utils",
|
|
"names": [
|
|
"get_all_skills_dirs"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"_find_all_skills"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"_find_all_skills"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"skill_view"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/agent/test_prompt_caching.py": {
|
|
"imports": [
|
|
"copy",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "agent.prompt_caching",
|
|
"names": [
|
|
"_apply_cache_marker",
|
|
"apply_anthropic_cache_control"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/agent/test_skill_commands.py": {
|
|
"imports": [
|
|
"os",
|
|
"tools.skills_tool"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_commands",
|
|
"names": [
|
|
"build_plan_path",
|
|
"build_preloaded_skills_prompt",
|
|
"build_skill_invocation_message",
|
|
"scan_skill_commands"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/agent/test_memory_provider.py": {
|
|
"imports": [
|
|
"json",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.memory_provider",
|
|
"names": [
|
|
"MemoryProvider"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.memory_manager",
|
|
"names": [
|
|
"MemoryManager"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.builtin_memory_provider",
|
|
"names": [
|
|
"BuiltinMemoryProvider"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory",
|
|
"names": [
|
|
"discover_memory_providers"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory",
|
|
"names": [
|
|
"load_memory_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory",
|
|
"names": [
|
|
"load_memory_provider"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/agent/test_display_emoji.py": {
|
|
"imports": [
|
|
"sys",
|
|
"sys",
|
|
"sys",
|
|
"sys",
|
|
"sys"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.display",
|
|
"names": [
|
|
"get_tool_emoji"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"SkinConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"SkinConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"_build_skin_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"_build_skin_config"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/agent/test_model_metadata.py": {
|
|
"imports": [
|
|
"os",
|
|
"time",
|
|
"tempfile",
|
|
"pytest",
|
|
"yaml",
|
|
"agent.model_metadata",
|
|
"agent.model_metadata",
|
|
"agent.model_metadata"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"CONTEXT_PROBE_TIERS",
|
|
"DEFAULT_CONTEXT_LENGTHS",
|
|
"_strip_provider_prefix",
|
|
"estimate_tokens_rough",
|
|
"estimate_messages_tokens_rough",
|
|
"get_model_context_length",
|
|
"get_next_probe_tier",
|
|
"get_cached_context_length",
|
|
"parse_context_limit_from_error",
|
|
"save_context_length",
|
|
"fetch_model_metadata",
|
|
"_MODEL_CACHE_TTL"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/agent/test_redact.py": {
|
|
"imports": [
|
|
"logging",
|
|
"os",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "agent.redact",
|
|
"names": [
|
|
"redact_sensitive_text",
|
|
"RedactingFormatter"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/agent/test_title_generator.py": {
|
|
"imports": [
|
|
"threading",
|
|
"pytest",
|
|
"time",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.title_generator",
|
|
"names": [
|
|
"generate_title",
|
|
"auto_title_session",
|
|
"maybe_auto_title"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_skills_subparser.py": {
|
|
"imports": [
|
|
"argparse",
|
|
"importlib",
|
|
"sys",
|
|
"hermes_cli.main"
|
|
],
|
|
"from_imports": []
|
|
},
|
|
"tests/hermes_cli/test_path_completion.py": {
|
|
"imports": [
|
|
"os",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.document",
|
|
"names": [
|
|
"Document"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.formatted_text",
|
|
"names": [
|
|
"to_plain_text"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.commands",
|
|
"names": [
|
|
"SlashCommandCompleter",
|
|
"_file_size_label"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_nous_subscription.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"nous_subscription"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_mcp_config.py": {
|
|
"imports": [
|
|
"argparse",
|
|
"json",
|
|
"os",
|
|
"types",
|
|
"pytest",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch",
|
|
"PropertyMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.mcp_config",
|
|
"names": [
|
|
"cmd_mcp_list"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.mcp_config",
|
|
"names": [
|
|
"cmd_mcp_list"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.mcp_config",
|
|
"names": [
|
|
"cmd_mcp_list"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.mcp_config",
|
|
"names": [
|
|
"cmd_mcp_remove"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.mcp_config",
|
|
"names": [
|
|
"cmd_mcp_remove"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.mcp_config",
|
|
"names": [
|
|
"cmd_mcp_remove"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.mcp_config",
|
|
"names": [
|
|
"cmd_mcp_add"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.mcp_config",
|
|
"names": [
|
|
"cmd_mcp_add"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.mcp_config",
|
|
"names": [
|
|
"cmd_mcp_add"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.mcp_config",
|
|
"names": [
|
|
"cmd_mcp_add"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.mcp_config",
|
|
"names": [
|
|
"cmd_mcp_test"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.mcp_config",
|
|
"names": [
|
|
"cmd_mcp_test"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_interpolate_env_vars"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_interpolate_env_vars"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_interpolate_env_vars"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_interpolate_env_vars"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.mcp_tool",
|
|
"names": [
|
|
"_interpolate_env_vars"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.mcp_config",
|
|
"names": [
|
|
"_save_mcp_server",
|
|
"_get_mcp_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.mcp_config",
|
|
"names": [
|
|
"_save_mcp_server",
|
|
"_remove_mcp_server",
|
|
"_get_mcp_servers"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.mcp_config",
|
|
"names": [
|
|
"_remove_mcp_server"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.mcp_config",
|
|
"names": [
|
|
"_env_key_for_server"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.mcp_config",
|
|
"names": [
|
|
"mcp_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_skin_engine.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"pytest",
|
|
"yaml",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"skin_engine"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"load_skin"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"load_skin"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"load_skin"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"load_skin"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"load_skin"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"load_skin"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"load_skin"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"load_skin"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"load_skin"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"load_skin"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"_BUILTIN_SKINS",
|
|
"_build_skin_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"set_active_skin",
|
|
"get_active_skin",
|
|
"get_active_skin_name"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"get_active_skin"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"list_skins"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"init_skin_from_config",
|
|
"get_active_skin_name"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"init_skin_from_config",
|
|
"get_active_skin_name"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"load_skin",
|
|
"_skins_dir"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"list_skins"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.display",
|
|
"names": [
|
|
"get_skin_tool_prefix"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"set_active_skin"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.display",
|
|
"names": [
|
|
"get_skin_tool_prefix"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.display",
|
|
"names": [
|
|
"get_skin_faces",
|
|
"KawaiiSpinner"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"set_active_skin"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.display",
|
|
"names": [
|
|
"get_skin_faces",
|
|
"KawaiiSpinner"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.display",
|
|
"names": [
|
|
"get_skin_verbs",
|
|
"KawaiiSpinner"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"set_active_skin"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.display",
|
|
"names": [
|
|
"get_skin_verbs"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"set_active_skin"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.display",
|
|
"names": [
|
|
"get_cute_tool_message"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.display",
|
|
"names": [
|
|
"get_cute_tool_message"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"get_active_prompt_symbol"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"set_active_skin",
|
|
"get_active_prompt_symbol"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"set_active_skin",
|
|
"get_active_help_header"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"set_active_skin",
|
|
"get_active_goodbye"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"set_active_skin",
|
|
"get_prompt_toolkit_style_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skin_engine",
|
|
"names": [
|
|
"set_active_skin",
|
|
"get_active_skin",
|
|
"get_prompt_toolkit_style_overrides"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_update_autostash.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "subprocess",
|
|
"names": [
|
|
"CalledProcessError"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"main"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_chat_skills_flag.py": {
|
|
"imports": [
|
|
"sys",
|
|
"hermes_cli.main",
|
|
"hermes_cli.main",
|
|
"hermes_cli.main"
|
|
],
|
|
"from_imports": []
|
|
},
|
|
"tests/hermes_cli/test_setup.py": {
|
|
"imports": [
|
|
"json",
|
|
"sys",
|
|
"types"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"get_active_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config",
|
|
"save_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.setup",
|
|
"names": [
|
|
"setup_model_provider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.setup",
|
|
"names": [
|
|
"setup_terminal_backend"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.setup",
|
|
"names": [
|
|
"setup_terminal_backend"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_gateway_linger.py": {
|
|
"imports": [
|
|
"hermes_cli.gateway"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_commands.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "prompt_toolkit.completion",
|
|
"names": [
|
|
"CompleteEvent"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.document",
|
|
"names": [
|
|
"Document"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.commands",
|
|
"names": [
|
|
"COMMAND_REGISTRY",
|
|
"COMMANDS",
|
|
"COMMANDS_BY_CATEGORY",
|
|
"CommandDef",
|
|
"GATEWAY_KNOWN_COMMANDS",
|
|
"SUBCOMMANDS",
|
|
"SlashCommandAutoSuggest",
|
|
"SlashCommandCompleter",
|
|
"_TG_NAME_LIMIT",
|
|
"_clamp_telegram_names",
|
|
"gateway_help_lines",
|
|
"resolve_command",
|
|
"slack_subcommand_map",
|
|
"telegram_bot_commands",
|
|
"telegram_menu_commands"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_gateway_service.py": {
|
|
"imports": [
|
|
"os",
|
|
"hermes_cli.gateway",
|
|
"pwd",
|
|
"grp",
|
|
"pytest",
|
|
"pwd",
|
|
"grp",
|
|
"pwd",
|
|
"grp"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_subprocess_timeouts.py": {
|
|
"imports": [
|
|
"ast",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_webhook_cli.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"pytest",
|
|
"hermes_cli.webhook",
|
|
"hermes_cli.webhook"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "argparse",
|
|
"names": [
|
|
"Namespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.webhook",
|
|
"names": [
|
|
"webhook_command",
|
|
"_load_subscriptions",
|
|
"_save_subscriptions",
|
|
"_subscriptions_path",
|
|
"_is_webhook_enabled"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_status.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.status",
|
|
"names": [
|
|
"show_status"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_tool_token_estimation.py": {
|
|
"imports": [
|
|
"pytest",
|
|
"tiktoken",
|
|
"hermes_cli.tools_config",
|
|
"hermes_cli.tools_config",
|
|
"hermes_cli.tools_config",
|
|
"builtins",
|
|
"hermes_cli.tools_config",
|
|
"hermes_cli.tools_config",
|
|
"hermes_cli.tools_config",
|
|
"hermes_cli.tools_config",
|
|
"re",
|
|
"hermes_cli.tools_config",
|
|
"model_tools"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.tools_config",
|
|
"names": [
|
|
"_estimate_tool_tokens",
|
|
"_tool_token_cache"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.tools_config",
|
|
"names": [
|
|
"CONFIGURABLE_TOOLSETS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.tools_config",
|
|
"names": [
|
|
"CONFIGURABLE_TOOLSETS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.tools_config",
|
|
"names": [
|
|
"CONFIGURABLE_TOOLSETS"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolsets",
|
|
"names": [
|
|
"resolve_toolset"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.curses_ui",
|
|
"names": [
|
|
"_numbered_fallback"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.curses_ui",
|
|
"names": [
|
|
"_numbered_fallback"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.registry",
|
|
"names": [
|
|
"registry"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_sessions_delete.py": {
|
|
"imports": [
|
|
"sys",
|
|
"hermes_cli.main",
|
|
"hermes_state",
|
|
"hermes_cli.main",
|
|
"hermes_state",
|
|
"hermes_cli.main",
|
|
"hermes_state",
|
|
"hermes_cli.main",
|
|
"hermes_state"
|
|
],
|
|
"from_imports": []
|
|
},
|
|
"tests/hermes_cli/test_profile_export_credentials.py": {
|
|
"imports": [
|
|
"tarfile"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.profiles",
|
|
"names": [
|
|
"export_profile",
|
|
"_DEFAULT_EXPORT_EXCLUDE_ROOT"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_cron.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "argparse",
|
|
"names": [
|
|
"Namespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.jobs",
|
|
"names": [
|
|
"create_job",
|
|
"get_job",
|
|
"list_jobs"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.cron",
|
|
"names": [
|
|
"cron_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_gateway_runtime_health.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "hermes_cli.gateway",
|
|
"names": [
|
|
"_runtime_health_lines"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_doctor.py": {
|
|
"imports": [
|
|
"os",
|
|
"sys",
|
|
"types",
|
|
"pytest",
|
|
"hermes_cli.doctor",
|
|
"hermes_cli.gateway"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "argparse",
|
|
"names": [
|
|
"Namespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"doctor"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.doctor",
|
|
"names": [
|
|
"_has_provider_env_config"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_skills_config.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_config",
|
|
"names": [
|
|
"get_disabled_skills"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_config",
|
|
"names": [
|
|
"get_disabled_skills"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_config",
|
|
"names": [
|
|
"get_disabled_skills"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_config",
|
|
"names": [
|
|
"get_disabled_skills"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_config",
|
|
"names": [
|
|
"get_disabled_skills"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_config",
|
|
"names": [
|
|
"get_disabled_skills"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_config",
|
|
"names": [
|
|
"save_disabled_skills"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_config",
|
|
"names": [
|
|
"save_disabled_skills"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_config",
|
|
"names": [
|
|
"save_disabled_skills"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_config",
|
|
"names": [
|
|
"save_disabled_skills"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"_is_skill_disabled"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"_is_skill_disabled"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"_is_skill_disabled"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"_is_skill_disabled"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"_is_skill_disabled"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"_is_skill_disabled"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"_is_skill_disabled"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"_is_skill_disabled"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_utils",
|
|
"names": [
|
|
"get_disabled_skill_names"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_utils",
|
|
"names": [
|
|
"get_disabled_skill_names"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_utils",
|
|
"names": [
|
|
"get_disabled_skill_names"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_utils",
|
|
"names": [
|
|
"get_disabled_skill_names"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_utils",
|
|
"names": [
|
|
"get_disabled_skill_names"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"_find_all_skills"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"_find_all_skills"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_tool",
|
|
"names": [
|
|
"_find_all_skills"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_config",
|
|
"names": [
|
|
"_get_categories"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_config",
|
|
"names": [
|
|
"_get_categories"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_mcp_tools_config.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.tools_config",
|
|
"names": [
|
|
"_configure_mcp_tools_interactive"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_model_validation.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"copilot_model_api_mode",
|
|
"fetch_github_model_catalog",
|
|
"curated_models_for_provider",
|
|
"fetch_api_models",
|
|
"github_model_reasoning_efforts",
|
|
"normalize_copilot_model_id",
|
|
"normalize_opencode_model_id",
|
|
"normalize_provider",
|
|
"opencode_model_api_mode",
|
|
"parse_model_input",
|
|
"probe_api_models",
|
|
"provider_label",
|
|
"provider_model_ids",
|
|
"validate_requested_model"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_copilot_auth.py": {
|
|
"imports": [
|
|
"os",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.copilot_auth",
|
|
"names": [
|
|
"validate_copilot_token"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.copilot_auth",
|
|
"names": [
|
|
"validate_copilot_token"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.copilot_auth",
|
|
"names": [
|
|
"validate_copilot_token"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.copilot_auth",
|
|
"names": [
|
|
"validate_copilot_token"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.copilot_auth",
|
|
"names": [
|
|
"validate_copilot_token"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.copilot_auth",
|
|
"names": [
|
|
"is_classic_pat"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.copilot_auth",
|
|
"names": [
|
|
"resolve_copilot_token"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.copilot_auth",
|
|
"names": [
|
|
"resolve_copilot_token"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.copilot_auth",
|
|
"names": [
|
|
"resolve_copilot_token"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.copilot_auth",
|
|
"names": [
|
|
"resolve_copilot_token"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.copilot_auth",
|
|
"names": [
|
|
"resolve_copilot_token"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.copilot_auth",
|
|
"names": [
|
|
"resolve_copilot_token"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.copilot_auth",
|
|
"names": [
|
|
"resolve_copilot_token"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.copilot_auth",
|
|
"names": [
|
|
"copilot_request_headers"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.copilot_auth",
|
|
"names": [
|
|
"copilot_request_headers"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.copilot_auth",
|
|
"names": [
|
|
"copilot_request_headers"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.copilot_auth",
|
|
"names": [
|
|
"copilot_request_headers"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.copilot_auth",
|
|
"names": [
|
|
"copilot_request_headers"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"copilot_default_headers"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"copilot_default_headers"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"_should_use_copilot_responses_api"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"_should_use_copilot_responses_api"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"_should_use_copilot_responses_api"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"_should_use_copilot_responses_api"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"PROVIDER_REGISTRY"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.auth",
|
|
"names": [
|
|
"PROVIDER_REGISTRY"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": []
|
|
},
|
|
"tests/hermes_cli/test_tools_config.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.tools_config",
|
|
"names": [
|
|
"_configure_provider",
|
|
"_get_platform_tools",
|
|
"_platform_toolset_summary",
|
|
"_save_platform_tools",
|
|
"_toolset_has_keys",
|
|
"TOOL_CATEGORIES",
|
|
"_visible_providers",
|
|
"tools_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.tools_config",
|
|
"names": [
|
|
"PLATFORMS"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolsets",
|
|
"names": [
|
|
"TOOLSETS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.tools_config",
|
|
"names": [
|
|
"PLATFORMS"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolsets",
|
|
"names": [
|
|
"TOOLSETS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.tools_config",
|
|
"names": [
|
|
"PLATFORMS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_config",
|
|
"names": [
|
|
"PLATFORMS"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_update_check.py": {
|
|
"imports": [
|
|
"json",
|
|
"threading",
|
|
"time",
|
|
"pytest",
|
|
"hermes_cli.banner",
|
|
"hermes_cli.banner",
|
|
"tempfile",
|
|
"hermes_cli.banner",
|
|
"hermes_cli.banner"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"__version__"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.banner",
|
|
"names": [
|
|
"check_for_updates"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.banner",
|
|
"names": [
|
|
"check_for_updates"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_invalidate_update_cache"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_invalidate_update_cache"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_banner_skills.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.banner",
|
|
"names": [
|
|
"get_available_skills"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.banner",
|
|
"names": [
|
|
"get_available_skills"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.banner",
|
|
"names": [
|
|
"get_available_skills"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.banner",
|
|
"names": [
|
|
"get_available_skills"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.banner",
|
|
"names": [
|
|
"get_available_skills"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_config.py": {
|
|
"imports": [
|
|
"os",
|
|
"yaml",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"DEFAULT_CONFIG",
|
|
"get_hermes_home",
|
|
"ensure_hermes_home",
|
|
"load_config",
|
|
"load_env",
|
|
"migrate_config",
|
|
"save_config",
|
|
"save_env_value",
|
|
"save_env_value_secure",
|
|
"sanitize_env_file",
|
|
"_sanitize_env_lines"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"OPTIONAL_ENV_VARS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"OPTIONAL_ENV_VARS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"OPTIONAL_ENV_VARS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"OPTIONAL_ENV_VARS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"ENV_VARS_BY_VERSION"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_banner.py": {
|
|
"imports": [
|
|
"hermes_cli.banner",
|
|
"model_tools",
|
|
"tools.mcp_tool"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.console",
|
|
"names": [
|
|
"Console"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_tools_disable_enable.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "argparse",
|
|
"names": [
|
|
"Namespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.tools_config",
|
|
"names": [
|
|
"tools_disable_enable_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_setup_prompt_menus.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"setup"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_coalesce_session_args.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_coalesce_session_name_args"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_session_browse.py": {
|
|
"imports": [
|
|
"os",
|
|
"time",
|
|
"pytest",
|
|
"builtins",
|
|
"builtins",
|
|
"builtins",
|
|
"builtins",
|
|
"builtins",
|
|
"builtins",
|
|
"builtins",
|
|
"builtins",
|
|
"builtins",
|
|
"curses",
|
|
"curses",
|
|
"curses",
|
|
"curses",
|
|
"curses",
|
|
"curses",
|
|
"curses",
|
|
"argparse",
|
|
"builtins",
|
|
"builtins",
|
|
"builtins",
|
|
"builtins",
|
|
"builtins"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch",
|
|
"call"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_session_browse_picker"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"main"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"_session_browse_picker"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_env_loader.py": {
|
|
"imports": [
|
|
"importlib",
|
|
"os",
|
|
"sys"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.env_loader",
|
|
"names": [
|
|
"load_hermes_dotenv"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_cmd_update.py": {
|
|
"imports": [
|
|
"subprocess",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"cmd_update",
|
|
"PROJECT_ROOT"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_skills_install_flags.py": {
|
|
"imports": [
|
|
"sys"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"main"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"main"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"main"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"main"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"main"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_placeholder_usage.py": {
|
|
"imports": [
|
|
"os",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "argparse",
|
|
"names": [
|
|
"Namespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"config_command",
|
|
"show_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.setup",
|
|
"names": [
|
|
"_print_setup_summary"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_setup_model_provider.py": {
|
|
"imports": [
|
|
"hermes_cli.main",
|
|
"hermes_cli.setup",
|
|
"agent.credential_pool",
|
|
"agent.auxiliary_client"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config",
|
|
"save_config",
|
|
"save_env_value"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.nous_subscription",
|
|
"names": [
|
|
"NousFeatureState",
|
|
"NousSubscriptionFeatures"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.setup",
|
|
"names": [
|
|
"_print_setup_summary",
|
|
"setup_model_provider"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_status_model_provider.py": {
|
|
"imports": [
|
|
"hermes_cli.auth"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.nous_subscription",
|
|
"names": [
|
|
"NousFeatureState",
|
|
"NousSubscriptionFeatures"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"status"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"status"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"status"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"status"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_skills_skip_confirm.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_hub",
|
|
"names": [
|
|
"handle_skills_slash"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_hub",
|
|
"names": [
|
|
"handle_skills_slash"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_hub",
|
|
"names": [
|
|
"handle_skills_slash"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_hub",
|
|
"names": [
|
|
"handle_skills_slash"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_hub",
|
|
"names": [
|
|
"handle_skills_slash"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_hub",
|
|
"names": [
|
|
"handle_skills_slash"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_hub",
|
|
"names": [
|
|
"handle_skills_slash"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_hub",
|
|
"names": [
|
|
"handle_skills_slash"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_hub",
|
|
"names": [
|
|
"handle_skills_slash"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_hub",
|
|
"names": [
|
|
"handle_skills_slash"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_hub",
|
|
"names": [
|
|
"handle_skills_slash"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_hub",
|
|
"names": [
|
|
"do_install"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_hub",
|
|
"names": [
|
|
"do_uninstall"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_hub",
|
|
"names": [
|
|
"do_uninstall"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_hub",
|
|
"names": [
|
|
"do_uninstall"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_models.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"OPENROUTER_MODELS",
|
|
"menu_labels",
|
|
"model_ids",
|
|
"detect_provider_for_model"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"_find_openrouter_slug"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"_find_openrouter_slug"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"_find_openrouter_slug"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.models",
|
|
"names": [
|
|
"_find_openrouter_slug"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_managed_installs.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"format_managed_message",
|
|
"get_managed_system",
|
|
"recommended_update_command"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"cmd_update"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.skills_hub",
|
|
"names": [
|
|
"OptionalSkillSource"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_update_gateway_restart.py": {
|
|
"imports": [
|
|
"subprocess",
|
|
"pytest",
|
|
"hermes_cli.gateway"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"cmd_update"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_launcher.py": {
|
|
"imports": [
|
|
"runpy",
|
|
"sys",
|
|
"types"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_setup_openclaw_migration.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "argparse",
|
|
"names": [
|
|
"Namespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"ModuleType"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"setup"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_skills_hub.py": {
|
|
"imports": [
|
|
"pytest",
|
|
"tools.skills_hub",
|
|
"tools.skills_hub",
|
|
"tools.skills_sync",
|
|
"tools.skills_tool",
|
|
"tools.skills_hub",
|
|
"tools.skills_hub",
|
|
"hermes_cli.skills_hub",
|
|
"tools.skills_sync",
|
|
"tools.skills_tool",
|
|
"tools.skills_guard",
|
|
"tools.skills_hub"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "io",
|
|
"names": [
|
|
"StringIO"
|
|
]
|
|
},
|
|
{
|
|
"module": "rich.console",
|
|
"names": [
|
|
"Console"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.skills_hub",
|
|
"names": [
|
|
"do_check",
|
|
"do_install",
|
|
"do_list",
|
|
"do_update",
|
|
"handle_skills_slash"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_profiles.py": {
|
|
"imports": [
|
|
"json",
|
|
"io",
|
|
"os",
|
|
"tarfile",
|
|
"pytest",
|
|
"shutil"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.profiles",
|
|
"names": [
|
|
"validate_profile_name",
|
|
"get_profile_dir",
|
|
"create_profile",
|
|
"delete_profile",
|
|
"list_profiles",
|
|
"set_active_profile",
|
|
"get_active_profile",
|
|
"get_active_profile_name",
|
|
"resolve_profile_env",
|
|
"check_alias_collision",
|
|
"rename_profile",
|
|
"export_profile",
|
|
"import_profile",
|
|
"generate_bash_completion",
|
|
"generate_zsh_completion",
|
|
"_get_profiles_root",
|
|
"_get_default_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.profiles",
|
|
"names": [
|
|
"_check_gateway_running"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.profiles",
|
|
"names": [
|
|
"_check_gateway_running"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_gateway.py": {
|
|
"imports": [
|
|
"signal",
|
|
"hermes_cli.gateway",
|
|
"time",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"call"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_set_config_value.py": {
|
|
"imports": [
|
|
"argparse",
|
|
"os",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"call"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"set_config_value",
|
|
"config_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_claw.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "argparse",
|
|
"names": [
|
|
"Namespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"ModuleType"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"claw"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/hermes_cli/test_setup_noninteractive.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "argparse",
|
|
"names": [
|
|
"Namespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.setup",
|
|
"names": [
|
|
"run_setup_wizard"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.setup",
|
|
"names": [
|
|
"run_setup_wizard"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.main",
|
|
"names": [
|
|
"cmd_chat"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli",
|
|
"names": [
|
|
"setup"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/fakes/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": []
|
|
},
|
|
"tests/fakes/fake_ha_server.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"json",
|
|
"aiohttp"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "aiohttp",
|
|
"names": [
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"module": "aiohttp.test_utils",
|
|
"names": [
|
|
"TestServer"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/cron/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": []
|
|
},
|
|
"tests/cron/test_jobs.py": {
|
|
"imports": [
|
|
"json",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timedelta",
|
|
"timezone"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.jobs",
|
|
"names": [
|
|
"parse_duration",
|
|
"parse_schedule",
|
|
"compute_next_run",
|
|
"create_job",
|
|
"load_jobs",
|
|
"save_jobs",
|
|
"get_job",
|
|
"list_jobs",
|
|
"update_job",
|
|
"pause_job",
|
|
"resume_job",
|
|
"remove_job",
|
|
"mark_job_run",
|
|
"advance_next_run",
|
|
"get_due_jobs",
|
|
"save_job_output"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.jobs",
|
|
"names": [
|
|
"_ensure_aware",
|
|
"_hermes_now"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.jobs",
|
|
"names": [
|
|
"_ensure_aware",
|
|
"_hermes_now"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.jobs",
|
|
"names": [
|
|
"_ensure_aware",
|
|
"_hermes_now"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.jobs",
|
|
"names": [
|
|
"_ensure_aware",
|
|
"_hermes_now"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/cron/test_scheduler.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.scheduler",
|
|
"names": [
|
|
"_resolve_origin",
|
|
"_resolve_delivery_target",
|
|
"_deliver_result",
|
|
"run_job",
|
|
"SILENT_MARKER",
|
|
"_build_job_prompt"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.scheduler",
|
|
"names": [
|
|
"tick"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.scheduler",
|
|
"names": [
|
|
"tick"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.scheduler",
|
|
"names": [
|
|
"tick"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.scheduler",
|
|
"names": [
|
|
"tick"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.scheduler",
|
|
"names": [
|
|
"tick"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.scheduler",
|
|
"names": [
|
|
"tick"
|
|
]
|
|
},
|
|
{
|
|
"module": "cron.scheduler",
|
|
"names": [
|
|
"tick"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_discord_media_metadata.py": {
|
|
"imports": [
|
|
"inspect"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"DiscordAdapter"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_webhook_adapter.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"hashlib",
|
|
"hmac",
|
|
"json",
|
|
"time",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "aiohttp",
|
|
"names": [
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"module": "aiohttp.test_utils",
|
|
"names": [
|
|
"TestClient",
|
|
"TestServer"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageEvent",
|
|
"MessageType",
|
|
"SendResult"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.webhook",
|
|
"names": [
|
|
"WebhookAdapter",
|
|
"_INSECURE_NO_AUTH",
|
|
"check_webhook_requirements"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_discord_free_response.py": {
|
|
"imports": [
|
|
"sys",
|
|
"pytest",
|
|
"gateway.platforms.discord"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timezone"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"DiscordAdapter"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_discord_system_messages.py": {
|
|
"imports": [
|
|
"pytest",
|
|
"unittest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_update_command.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"pytest",
|
|
"sys",
|
|
"inspect"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock",
|
|
"AsyncMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageEvent"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionSource"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"_resolve_hermes_bin"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"_resolve_hermes_bin"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"_resolve_hermes_bin"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_whatsapp_reply_prefix.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.whatsapp",
|
|
"names": [
|
|
"WhatsAppAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.whatsapp",
|
|
"names": [
|
|
"WhatsAppAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.whatsapp",
|
|
"names": [
|
|
"WhatsAppAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"DEFAULT_CONFIG",
|
|
"ENV_VARS_BY_VERSION"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"load_gateway_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"load_gateway_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"load_gateway_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"load_gateway_config"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_telegram_reply_mode.py": {
|
|
"imports": [
|
|
"os",
|
|
"sys",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"AsyncMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig",
|
|
"GatewayConfig",
|
|
"Platform",
|
|
"_apply_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.telegram",
|
|
"names": [
|
|
"TelegramAdapter"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_discord_reactions.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"sys",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageEvent",
|
|
"MessageType",
|
|
"SendResult"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionSource",
|
|
"build_session_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"DiscordAdapter"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_telegram_text_batching.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageEvent",
|
|
"MessageType",
|
|
"SessionSource"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.telegram",
|
|
"names": [
|
|
"TelegramAdapter"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_retry_replacement.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageEvent",
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionStore"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_hooks.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.hooks",
|
|
"names": [
|
|
"HookRegistry"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_wecom.py": {
|
|
"imports": [
|
|
"base64",
|
|
"os",
|
|
"pytest",
|
|
"gateway.platforms.wecom",
|
|
"gateway.platforms.wecom",
|
|
"gateway.platforms.wecom"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"SendResult"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"check_wecom_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"check_wecom_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"check_wecom_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"WeComAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"WeComAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"WeComAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"WeComAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"WeComAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"WeComAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"WeComAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"WeComAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"WeComAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"WeComAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"WeComAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"WeComAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"WeComAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"WeComAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"ABSOLUTE_MAX_BYTES",
|
|
"WeComAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "cryptography.hazmat.primitives.ciphers",
|
|
"names": [
|
|
"Cipher",
|
|
"algorithms",
|
|
"modes"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"WeComAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"WeComAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"APP_CMD_UPLOAD_MEDIA_CHUNK",
|
|
"APP_CMD_UPLOAD_MEDIA_FINISH",
|
|
"APP_CMD_UPLOAD_MEDIA_INIT",
|
|
"WeComAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"WeComAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"WeComAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "cryptography.hazmat.primitives.ciphers",
|
|
"names": [
|
|
"Cipher",
|
|
"algorithms",
|
|
"modes"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"APP_CMD_SEND",
|
|
"WeComAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"WeComAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"WeComAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"WeComAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"WeComAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"WeComAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.wecom",
|
|
"names": [
|
|
"WeComAdapter"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_config_cwd_bridge.py": {
|
|
"imports": [
|
|
"os",
|
|
"json",
|
|
"pytest"
|
|
],
|
|
"from_imports": []
|
|
},
|
|
"tests/gateway/test_platform_reconnect.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"time",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter",
|
|
"MessageEvent",
|
|
"SendResult"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_slack.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"os",
|
|
"sys",
|
|
"pytest",
|
|
"gateway.platforms.slack"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageEvent",
|
|
"MessageType",
|
|
"SendResult",
|
|
"SUPPORTED_DOCUMENT_TYPES"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.slack",
|
|
"names": [
|
|
"SlackAdapter"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_pii_redaction.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionContext",
|
|
"SessionSource",
|
|
"build_session_context_prompt",
|
|
"_hash_id",
|
|
"_hash_sender_id",
|
|
"_hash_chat_id",
|
|
"_looks_like_phone"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"HomeChannel"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_discord_document_handling.py": {
|
|
"imports": [
|
|
"os",
|
|
"sys",
|
|
"pytest",
|
|
"gateway.platforms.discord"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timezone"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"DiscordAdapter"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_pairing.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.pairing",
|
|
"names": [
|
|
"PairingStore",
|
|
"ALPHABET",
|
|
"CODE_LENGTH",
|
|
"CODE_TTL_SECONDS",
|
|
"RATE_LIMIT_SECONDS",
|
|
"MAX_PENDING_PER_PLATFORM",
|
|
"MAX_FAILED_ATTEMPTS",
|
|
"LOCKOUT_SECONDS",
|
|
"_secure_write"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_resume_command.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"AsyncMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageEvent"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionSource",
|
|
"build_session_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_runner_fatal_adapter.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_matrix.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"json",
|
|
"re",
|
|
"pytest",
|
|
"time",
|
|
"time",
|
|
"time",
|
|
"time",
|
|
"nio"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch",
|
|
"AsyncMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.matrix",
|
|
"names": [
|
|
"MatrixAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"_apply_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"_apply_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"_apply_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"_apply_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"_apply_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"_apply_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"_apply_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.matrix",
|
|
"names": [
|
|
"check_matrix_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.matrix",
|
|
"names": [
|
|
"check_matrix_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.matrix",
|
|
"names": [
|
|
"check_matrix_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.matrix",
|
|
"names": [
|
|
"MatrixAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.matrix",
|
|
"names": [
|
|
"_MAX_PENDING_EVENTS"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.matrix",
|
|
"names": [
|
|
"_PENDING_EVENT_TTL"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.matrix",
|
|
"names": [
|
|
"_KEY_EXPORT_FILE",
|
|
"_KEY_EXPORT_PASSPHRASE"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_dingtalk.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"json",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timezone"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch",
|
|
"PropertyMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.dingtalk",
|
|
"names": [
|
|
"check_dingtalk_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.dingtalk",
|
|
"names": [
|
|
"check_dingtalk_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.dingtalk",
|
|
"names": [
|
|
"DingTalkAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.dingtalk",
|
|
"names": [
|
|
"DingTalkAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.dingtalk",
|
|
"names": [
|
|
"DingTalkAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.dingtalk",
|
|
"names": [
|
|
"DingTalkAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.dingtalk",
|
|
"names": [
|
|
"DingTalkAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.dingtalk",
|
|
"names": [
|
|
"DingTalkAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.dingtalk",
|
|
"names": [
|
|
"DingTalkAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.dingtalk",
|
|
"names": [
|
|
"DingTalkAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.dingtalk",
|
|
"names": [
|
|
"DingTalkAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.dingtalk",
|
|
"names": [
|
|
"DingTalkAdapter",
|
|
"DEDUP_MAX_SIZE"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.dingtalk",
|
|
"names": [
|
|
"DingTalkAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.dingtalk",
|
|
"names": [
|
|
"DingTalkAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.dingtalk",
|
|
"names": [
|
|
"DingTalkAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.dingtalk",
|
|
"names": [
|
|
"DingTalkAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.dingtalk",
|
|
"names": [
|
|
"DingTalkAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.dingtalk",
|
|
"names": [
|
|
"DingTalkAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.dingtalk",
|
|
"names": [
|
|
"DingTalkAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.dingtalk",
|
|
"names": [
|
|
"check_dingtalk_requirements"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_base_topic_sessions.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter",
|
|
"MessageEvent",
|
|
"SendResult"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionSource",
|
|
"build_session_key"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_session_info.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_status.py": {
|
|
"imports": [
|
|
"json",
|
|
"os"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "gateway",
|
|
"names": [
|
|
"status"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_sse_agent_cancel.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"json",
|
|
"queue",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.api_server",
|
|
"names": [
|
|
"APIServerAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "aiohttp",
|
|
"names": [
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"module": "aiohttp",
|
|
"names": [
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"module": "aiohttp",
|
|
"names": [
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"module": "aiohttp",
|
|
"names": [
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"module": "aiohttp",
|
|
"names": [
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"module": "aiohttp",
|
|
"names": [
|
|
"web"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_mirror.py": {
|
|
"imports": [
|
|
"json",
|
|
"gateway.mirror"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.mirror",
|
|
"names": [
|
|
"mirror_to_session",
|
|
"_find_session_id",
|
|
"_append_to_jsonl"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.mirror",
|
|
"names": [
|
|
"_append_to_sqlite"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.mirror",
|
|
"names": [
|
|
"_append_to_sqlite"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_mattermost.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"time",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch",
|
|
"AsyncMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.mattermost",
|
|
"names": [
|
|
"MattermostAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"_apply_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"_apply_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"_apply_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"_apply_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"_apply_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.mattermost",
|
|
"names": [
|
|
"check_mattermost_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.mattermost",
|
|
"names": [
|
|
"check_mattermost_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.mattermost",
|
|
"names": [
|
|
"check_mattermost_requirements"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_send_retry.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter",
|
|
"SendResult",
|
|
"_RETRYABLE_ERROR_PATTERNS"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_sms.py": {
|
|
"imports": [
|
|
"os",
|
|
"pytest",
|
|
"aiohttp"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig",
|
|
"HomeChannel"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"load_gateway_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"load_gateway_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"load_gateway_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.sms",
|
|
"names": [
|
|
"SmsAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.sms",
|
|
"names": [
|
|
"SmsAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.sms",
|
|
"names": [
|
|
"check_sms_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.sms",
|
|
"names": [
|
|
"check_sms_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.sms",
|
|
"names": [
|
|
"check_sms_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolsets",
|
|
"names": [
|
|
"get_toolset"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolsets",
|
|
"names": [
|
|
"get_toolset"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.prompt_builder",
|
|
"names": [
|
|
"PLATFORM_HINTS"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.cronjob_tools",
|
|
"names": [
|
|
"CRONJOB_SCHEMA"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_feishu.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"json",
|
|
"os",
|
|
"tempfile",
|
|
"time",
|
|
"unittest",
|
|
"lark_oapi",
|
|
"hashlib"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"Platform",
|
|
"_apply_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"Platform",
|
|
"_apply_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"Platform",
|
|
"_apply_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolsets",
|
|
"names": [
|
|
"TOOLSETS"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"parse_feishu_post_content"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FALLBACK_POST_TEXT",
|
|
"parse_feishu_post_content"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"parse_feishu_post_content"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"normalize_feishu_message"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"normalize_feishu_message"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"normalize_feishu_message"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageEvent",
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionSource"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageEvent",
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionSource"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageEvent",
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionSource"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"_FEISHU_WEBHOOK_RATE_LIMIT_MAX"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"_FEISHU_WEBHOOK_RATE_LIMIT_MAX",
|
|
"_FEISHU_WEBHOOK_RATE_WINDOW_SECONDS"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter",
|
|
"_FEISHU_WEBHOOK_MAX_BODY_BYTES"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter",
|
|
"_FEISHU_DEDUP_TTL_SECONDS"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.feishu",
|
|
"names": [
|
|
"FeishuAdapter"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_session_dm_thread_seeding.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"GatewayConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionSource",
|
|
"SessionStore",
|
|
"build_session_key"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_sticker_cache.py": {
|
|
"imports": [
|
|
"json",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.sticker_cache",
|
|
"names": [
|
|
"_load_cache",
|
|
"_save_cache",
|
|
"get_cached_description",
|
|
"cache_sticker_description",
|
|
"build_sticker_injection",
|
|
"build_animated_sticker_injection",
|
|
"STICKER_VISION_PROMPT"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_session_hygiene.py": {
|
|
"imports": [
|
|
"importlib",
|
|
"sys",
|
|
"types",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock",
|
|
"AsyncMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.model_metadata",
|
|
"names": [
|
|
"estimate_messages_tokens_rough"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter",
|
|
"MessageEvent",
|
|
"SendResult"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionEntry",
|
|
"SessionSource"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_unauthorized_dm_behavior.py": {
|
|
"imports": [
|
|
"pytest",
|
|
"gateway.run"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageEvent"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionSource"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_discord_send.py": {
|
|
"imports": [
|
|
"sys",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"DiscordAdapter"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_platform_base.py": {
|
|
"imports": [
|
|
"os"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter",
|
|
"GATEWAY_SECRET_CAPTURE_UNSUPPORTED_MESSAGE",
|
|
"MessageEvent",
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_interrupt_key_match.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter",
|
|
"MessageEvent",
|
|
"MessageType",
|
|
"SendResult"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionSource",
|
|
"build_session_key"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": []
|
|
},
|
|
"tests/gateway/test_session_race_guard.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageEvent",
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner",
|
|
"_AGENT_PENDING_SENTINEL"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionSource",
|
|
"build_session_key"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_gateway_shutdown.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter",
|
|
"MessageEvent",
|
|
"SendResult"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionSource",
|
|
"build_session_key"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_queue_consumption.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter",
|
|
"MessageEvent",
|
|
"MessageType",
|
|
"PlatformConfig",
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"SendResult"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_stt_config.py": {
|
|
"imports": [
|
|
"pytest",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"load_gateway_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_telegram_network_reconnect.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"sys",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.telegram",
|
|
"names": [
|
|
"TelegramAdapter"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_session.py": {
|
|
"imports": [
|
|
"json",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"HomeChannel",
|
|
"GatewayConfig",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionSource",
|
|
"SessionStore",
|
|
"build_session_context",
|
|
"build_session_context_prompt",
|
|
"build_session_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionEntry"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionEntry"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionEntry"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionEntry"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionEntry"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionEntry"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_title_command.py": {
|
|
"imports": [
|
|
"os",
|
|
"pytest",
|
|
"inspect"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageEvent"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionSource"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_state",
|
|
"names": [
|
|
"SessionDB"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.hooks",
|
|
"names": [
|
|
"HookRegistry"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_ssl_certs.py": {
|
|
"imports": [
|
|
"importlib",
|
|
"os",
|
|
"textwrap",
|
|
"ssl"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"ModuleType"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_document_cache.py": {
|
|
"imports": [
|
|
"os",
|
|
"time",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"SUPPORTED_DOCUMENT_TYPES",
|
|
"cache_document_from_bytes",
|
|
"cleanup_document_cache",
|
|
"get_document_cache_dir"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_telegram_group_gating.py": {
|
|
"imports": [
|
|
"json"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig",
|
|
"load_gateway_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.telegram",
|
|
"names": [
|
|
"TelegramAdapter"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_discord_thread_persistence.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"DiscordAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"DiscordAdapter"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_telegram_thread_fallback.py": {
|
|
"imports": [
|
|
"sys",
|
|
"types",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig",
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"SendResult"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.telegram",
|
|
"names": [
|
|
"TelegramAdapter"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_telegram_conflict.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"sys",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.telegram",
|
|
"names": [
|
|
"TelegramAdapter"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_email.py": {
|
|
"imports": [
|
|
"os",
|
|
"unittest",
|
|
"gateway.run",
|
|
"inspect",
|
|
"gateway.run",
|
|
"inspect",
|
|
"gateway.run",
|
|
"inspect",
|
|
"tools.send_message_tool",
|
|
"inspect",
|
|
"tools.send_message_tool",
|
|
"inspect",
|
|
"cron.scheduler",
|
|
"inspect",
|
|
"gateway.channel_directory",
|
|
"inspect",
|
|
"asyncio",
|
|
"asyncio",
|
|
"asyncio",
|
|
"asyncio",
|
|
"asyncio",
|
|
"asyncio",
|
|
"asyncio",
|
|
"asyncio",
|
|
"asyncio",
|
|
"asyncio",
|
|
"asyncio",
|
|
"tempfile",
|
|
"asyncio",
|
|
"asyncio",
|
|
"asyncio",
|
|
"asyncio",
|
|
"asyncio",
|
|
"asyncio",
|
|
"asyncio",
|
|
"asyncio",
|
|
"ssl",
|
|
"asyncio",
|
|
"asyncio"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "email.mime.text",
|
|
"names": [
|
|
"MIMEText"
|
|
]
|
|
},
|
|
{
|
|
"module": "email.mime.multipart",
|
|
"names": [
|
|
"MIMEMultipart"
|
|
]
|
|
},
|
|
{
|
|
"module": "email.mime.base",
|
|
"names": [
|
|
"MIMEBase"
|
|
]
|
|
},
|
|
{
|
|
"module": "email",
|
|
"names": [
|
|
"encoders"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock",
|
|
"AsyncMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"SendResult"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"Platform",
|
|
"_apply_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"Platform",
|
|
"_apply_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"Platform",
|
|
"_apply_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"Platform",
|
|
"_apply_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.email",
|
|
"names": [
|
|
"check_email_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.email",
|
|
"names": [
|
|
"check_email_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.email",
|
|
"names": [
|
|
"check_email_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.email",
|
|
"names": [
|
|
"_decode_header_value"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.email",
|
|
"names": [
|
|
"_decode_header_value"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.email",
|
|
"names": [
|
|
"_extract_email_address"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.email",
|
|
"names": [
|
|
"_extract_email_address"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.email",
|
|
"names": [
|
|
"_extract_email_address"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.email",
|
|
"names": [
|
|
"_strip_html"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.email",
|
|
"names": [
|
|
"_strip_html"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.email",
|
|
"names": [
|
|
"_strip_html"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.email",
|
|
"names": [
|
|
"_extract_text_body"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.email",
|
|
"names": [
|
|
"_extract_text_body"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.email",
|
|
"names": [
|
|
"_extract_text_body"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.email",
|
|
"names": [
|
|
"_extract_text_body"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.email",
|
|
"names": [
|
|
"_extract_text_body"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.email",
|
|
"names": [
|
|
"_extract_attachments"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.email",
|
|
"names": [
|
|
"_extract_attachments"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.email",
|
|
"names": [
|
|
"_extract_attachments"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolsets",
|
|
"names": [
|
|
"TOOLSETS"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolsets",
|
|
"names": [
|
|
"TOOLSETS"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.prompt_builder",
|
|
"names": [
|
|
"PLATFORM_HINTS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.gateway",
|
|
"names": [
|
|
"_PLATFORMS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.gateway",
|
|
"names": [
|
|
"_PLATFORMS"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.send_message_tool",
|
|
"names": [
|
|
"_send_email"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.send_message_tool",
|
|
"names": [
|
|
"_send_email"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.send_message_tool",
|
|
"names": [
|
|
"_send_email"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.email",
|
|
"names": [
|
|
"EmailAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.email",
|
|
"names": [
|
|
"EmailAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.email",
|
|
"names": [
|
|
"EmailAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.email",
|
|
"names": [
|
|
"EmailAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.email",
|
|
"names": [
|
|
"EmailAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.email",
|
|
"names": [
|
|
"EmailAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.email",
|
|
"names": [
|
|
"EmailAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.email",
|
|
"names": [
|
|
"EmailAdapter"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_async_memory_flush.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timedelta"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"GatewayConfig",
|
|
"SessionResetPolicy"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionSource",
|
|
"SessionStore",
|
|
"SessionEntry"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_send_image_file.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"os",
|
|
"sys",
|
|
"pytest",
|
|
"discord",
|
|
"time",
|
|
"time",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter",
|
|
"SendResult"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.telegram",
|
|
"names": [
|
|
"TelegramAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"DiscordAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.slack",
|
|
"names": [
|
|
"SlackAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"_cleanup_old_screenshots",
|
|
"_last_screenshot_cleanup_by_dir"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"_cleanup_old_screenshots",
|
|
"_last_screenshot_cleanup_by_dir"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"_cleanup_old_screenshots",
|
|
"_last_screenshot_cleanup_by_dir"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"_cleanup_old_screenshots",
|
|
"_last_screenshot_cleanup_by_dir"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.browser_tool",
|
|
"names": [
|
|
"_cleanup_old_screenshots",
|
|
"_last_screenshot_cleanup_by_dir"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_agent_cache.py": {
|
|
"imports": [
|
|
"hashlib",
|
|
"json",
|
|
"threading",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
},
|
|
{
|
|
"module": "run_agent",
|
|
"names": [
|
|
"AIAgent"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_session_env.py": {
|
|
"imports": [
|
|
"os"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionContext",
|
|
"SessionSource"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_telegram_documents.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"importlib",
|
|
"os",
|
|
"sys",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageEvent",
|
|
"MessageType",
|
|
"SendResult",
|
|
"SUPPORTED_DOCUMENT_TYPES"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.telegram",
|
|
"names": [
|
|
"TelegramAdapter"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_homeassistant.py": {
|
|
"imports": [
|
|
"time",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.homeassistant",
|
|
"names": [
|
|
"HomeAssistantAdapter",
|
|
"check_ha_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"load_gateway_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"load_gateway_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolsets",
|
|
"names": [
|
|
"resolve_toolset"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolsets",
|
|
"names": [
|
|
"resolve_toolset"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolsets",
|
|
"names": [
|
|
"_HERMES_CORE_TOOLS"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_config.py": {
|
|
"imports": [
|
|
"os"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"HomeChannel",
|
|
"Platform",
|
|
"PlatformConfig",
|
|
"SessionResetPolicy",
|
|
"_apply_env_overrides",
|
|
"load_gateway_config"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_approve_deny_commands.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"os",
|
|
"threading",
|
|
"time",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageEvent"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionEntry",
|
|
"SessionSource",
|
|
"build_session_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools",
|
|
"names": [
|
|
"approval"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"register_gateway_notify",
|
|
"unregister_gateway_notify",
|
|
"resolve_gateway_approval",
|
|
"has_blocking_approval",
|
|
"_ApprovalEntry",
|
|
"_gateway_queues"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"resolve_gateway_approval"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"resolve_gateway_approval",
|
|
"_ApprovalEntry",
|
|
"_gateway_queues"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"resolve_gateway_approval",
|
|
"pending_approval_count",
|
|
"_ApprovalEntry",
|
|
"_gateway_queues"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"register_gateway_notify",
|
|
"unregister_gateway_notify",
|
|
"_ApprovalEntry",
|
|
"_gateway_queues"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"register_gateway_notify",
|
|
"clear_session",
|
|
"_ApprovalEntry",
|
|
"_gateway_queues"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"pending_approval_count",
|
|
"_ApprovalEntry",
|
|
"_gateway_queues"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"_ApprovalEntry",
|
|
"_gateway_queues"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"_ApprovalEntry",
|
|
"_gateway_queues"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"_ApprovalEntry",
|
|
"_gateway_queues"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"_ApprovalEntry",
|
|
"_gateway_queues"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"_ApprovalEntry",
|
|
"_gateway_queues"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"_ApprovalEntry",
|
|
"_gateway_queues"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"register_gateway_notify",
|
|
"unregister_gateway_notify",
|
|
"resolve_gateway_approval",
|
|
"check_all_command_guards"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"register_gateway_notify",
|
|
"unregister_gateway_notify",
|
|
"resolve_gateway_approval",
|
|
"check_all_command_guards"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"register_gateway_notify",
|
|
"unregister_gateway_notify",
|
|
"check_all_command_guards"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"register_gateway_notify",
|
|
"unregister_gateway_notify",
|
|
"resolve_gateway_approval",
|
|
"check_all_command_guards",
|
|
"pending_approval_count"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"register_gateway_notify",
|
|
"unregister_gateway_notify",
|
|
"resolve_gateway_approval",
|
|
"check_all_command_guards"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"check_all_command_guards",
|
|
"_pending"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"reset_current_session_key",
|
|
"set_current_session_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"reset_current_session_key",
|
|
"set_current_session_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"reset_current_session_key",
|
|
"set_current_session_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"reset_current_session_key",
|
|
"set_current_session_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.approval",
|
|
"names": [
|
|
"reset_current_session_key",
|
|
"set_current_session_key"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_background_command.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"os",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageEvent"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionSource"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.hooks",
|
|
"names": [
|
|
"HookRegistry"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.commands",
|
|
"names": [
|
|
"GATEWAY_KNOWN_COMMANDS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.commands",
|
|
"names": [
|
|
"GATEWAY_KNOWN_COMMANDS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.commands",
|
|
"names": [
|
|
"COMMANDS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.commands",
|
|
"names": [
|
|
"COMMANDS"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.commands",
|
|
"names": [
|
|
"COMMANDS_BY_CATEGORY"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.commands",
|
|
"names": [
|
|
"SlashCommandCompleter"
|
|
]
|
|
},
|
|
{
|
|
"module": "prompt_toolkit.document",
|
|
"names": [
|
|
"Document"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_allowlist_startup_check.py": {
|
|
"imports": [
|
|
"os"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_background_process_notifications.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"pytest",
|
|
"gateway.run",
|
|
"tools.process_registry",
|
|
"tools.process_registry",
|
|
"tools.process_registry",
|
|
"gateway.run",
|
|
"gateway.run",
|
|
"gateway.run",
|
|
"gateway.run",
|
|
"gateway.run"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_verbose_command.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"pytest",
|
|
"yaml",
|
|
"gateway.run"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageEvent"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionSource"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.commands",
|
|
"names": [
|
|
"GATEWAY_KNOWN_COMMANDS"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_webhook_integration.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"hashlib",
|
|
"hmac",
|
|
"json",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "aiohttp",
|
|
"names": [
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"module": "aiohttp.test_utils",
|
|
"names": [
|
|
"TestClient",
|
|
"TestServer"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"HomeChannel",
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageEvent",
|
|
"MessageType",
|
|
"SendResult"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.webhook",
|
|
"names": [
|
|
"WebhookAdapter",
|
|
"_INSECURE_NO_AUTH"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_channel_directory.py": {
|
|
"imports": [
|
|
"json",
|
|
"os"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.channel_directory",
|
|
"names": [
|
|
"resolve_channel_name",
|
|
"format_directory_for_display",
|
|
"load_directory",
|
|
"_build_from_sessions",
|
|
"DIRECTORY_PATH"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_matrix_voice.py": {
|
|
"imports": [
|
|
"io",
|
|
"pytest",
|
|
"nio",
|
|
"nio",
|
|
"nio",
|
|
"tempfile",
|
|
"os",
|
|
"nio",
|
|
"nio"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.matrix",
|
|
"names": [
|
|
"MatrixAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_discord_opus.py": {
|
|
"imports": [
|
|
"inspect"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"DiscordAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"DiscordAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"VoiceReceiver"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_plan_command.py": {
|
|
"imports": [
|
|
"pytest",
|
|
"gateway.run"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.skill_commands",
|
|
"names": [
|
|
"scan_skill_commands"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageEvent"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionEntry",
|
|
"SessionSource"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_webhook_dynamic_routes.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"pytest",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.webhook",
|
|
"names": [
|
|
"WebhookAdapter",
|
|
"_DYNAMIC_ROUTES_FILENAME"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_flush_memory_stale_guard.py": {
|
|
"imports": [
|
|
"sys",
|
|
"types",
|
|
"pytest",
|
|
"io",
|
|
"sys"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch",
|
|
"call"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.display",
|
|
"names": [
|
|
"KawaiiSpinner"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_session_reset_notify.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timedelta"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"Platform",
|
|
"PlatformConfig",
|
|
"SessionResetPolicy"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionEntry",
|
|
"SessionSource",
|
|
"SessionStore"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_dm_topics.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"os",
|
|
"sys",
|
|
"pytest",
|
|
"yaml",
|
|
"yaml",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch",
|
|
"mock_open"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.telegram",
|
|
"names": [
|
|
"TelegramAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "telegram.constants",
|
|
"names": [
|
|
"ChatType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageType"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_reasoning_command.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"inspect",
|
|
"sys",
|
|
"types",
|
|
"pytest",
|
|
"yaml",
|
|
"gateway.run"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageEvent"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionSource"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_extract_local_files.py": {
|
|
"imports": [
|
|
"os",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_media_extraction.py": {
|
|
"imports": [
|
|
"pytest",
|
|
"re"
|
|
],
|
|
"from_imports": []
|
|
},
|
|
"tests/gateway/test_run_progress_topics.py": {
|
|
"imports": [
|
|
"importlib",
|
|
"sys",
|
|
"time",
|
|
"types",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter",
|
|
"SendResult"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionSource"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_signal.py": {
|
|
"imports": [
|
|
"base64",
|
|
"json",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch",
|
|
"AsyncMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "urllib.parse",
|
|
"names": [
|
|
"quote"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.signal",
|
|
"names": [
|
|
"SignalAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"_apply_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"_apply_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"_apply_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.signal",
|
|
"names": [
|
|
"_redact_phone"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.signal",
|
|
"names": [
|
|
"_redact_phone"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.signal",
|
|
"names": [
|
|
"_redact_phone"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.signal",
|
|
"names": [
|
|
"_parse_comma_list"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.signal",
|
|
"names": [
|
|
"_guess_extension"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.signal",
|
|
"names": [
|
|
"_guess_extension"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.signal",
|
|
"names": [
|
|
"_guess_extension"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.signal",
|
|
"names": [
|
|
"_guess_extension"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.signal",
|
|
"names": [
|
|
"_guess_extension"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.signal",
|
|
"names": [
|
|
"_guess_extension"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.signal",
|
|
"names": [
|
|
"_is_image_ext"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.signal",
|
|
"names": [
|
|
"_is_audio_ext"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.signal",
|
|
"names": [
|
|
"check_signal_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.signal",
|
|
"names": [
|
|
"_render_mentions"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.signal",
|
|
"names": [
|
|
"_render_mentions"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.signal",
|
|
"names": [
|
|
"check_signal_requirements"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionSource"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionSource"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.redact",
|
|
"names": [
|
|
"redact_sensitive_text"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.redact",
|
|
"names": [
|
|
"redact_sensitive_text"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.redact",
|
|
"names": [
|
|
"redact_sensitive_text"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.redact",
|
|
"names": [
|
|
"redact_sensitive_text"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.send_message_tool",
|
|
"names": [
|
|
"send_message_tool"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_telegram_format.py": {
|
|
"imports": [
|
|
"re",
|
|
"sys",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.telegram",
|
|
"names": [
|
|
"TelegramAdapter",
|
|
"_escape_mdv2",
|
|
"_strip_mdv2"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_api_server_toolset.py": {
|
|
"imports": [
|
|
"os",
|
|
"json",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"patch",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "toolsets",
|
|
"names": [
|
|
"resolve_toolset",
|
|
"get_toolset",
|
|
"validate_toolset"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.tools_config",
|
|
"names": [
|
|
"PLATFORMS"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.api_server",
|
|
"names": [
|
|
"APIServerAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.api_server",
|
|
"names": [
|
|
"APIServerAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_status_command.py": {
|
|
"imports": [
|
|
"pytest",
|
|
"gateway.run"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageEvent"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionEntry",
|
|
"SessionSource",
|
|
"build_session_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_api_server_jobs.py": {
|
|
"imports": [
|
|
"json",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "aiohttp",
|
|
"names": [
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"module": "aiohttp.test_utils",
|
|
"names": [
|
|
"TestClient",
|
|
"TestServer"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.api_server",
|
|
"names": [
|
|
"APIServerAdapter",
|
|
"cors_middleware"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_telegram_network.py": {
|
|
"imports": [
|
|
"httpx",
|
|
"pytest",
|
|
"sys"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "gateway.platforms",
|
|
"names": [
|
|
"telegram_network"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"Platform",
|
|
"PlatformConfig",
|
|
"_apply_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"Platform",
|
|
"_apply_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"Platform",
|
|
"PlatformConfig",
|
|
"_apply_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"Platform",
|
|
"PlatformConfig",
|
|
"_apply_env_overrides"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.telegram",
|
|
"names": [
|
|
"TelegramAdapter"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_voice_command.py": {
|
|
"imports": [
|
|
"importlib.util",
|
|
"json",
|
|
"os",
|
|
"queue",
|
|
"sys",
|
|
"threading",
|
|
"time",
|
|
"pytest",
|
|
"ast",
|
|
"inspect",
|
|
"textwrap",
|
|
"ast",
|
|
"inspect",
|
|
"textwrap",
|
|
"threading",
|
|
"ast",
|
|
"inspect",
|
|
"re",
|
|
"re",
|
|
"ast",
|
|
"inspect",
|
|
"inspect",
|
|
"inspect",
|
|
"uuid",
|
|
"inspect",
|
|
"inspect",
|
|
"textwrap",
|
|
"ast",
|
|
"inspect",
|
|
"time",
|
|
"struct",
|
|
"asyncio"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageEvent",
|
|
"MessageType",
|
|
"SessionSource"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"DiscordAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.commands",
|
|
"names": [
|
|
"gateway_help_lines"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.commands",
|
|
"names": [
|
|
"GATEWAY_KNOWN_COMMANDS"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"VoiceReceiver"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"DiscordAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"VoiceReceiver"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"VoiceReceiver"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"VoiceReceiver"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tts_tool",
|
|
"names": [
|
|
"stream_tts_to_speaker"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tts_tool",
|
|
"names": [
|
|
"stream_tts_to_speaker"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tts_tool",
|
|
"names": [
|
|
"stream_tts_to_speaker"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tts_tool",
|
|
"names": [
|
|
"stream_tts_to_speaker"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tts_tool",
|
|
"names": [
|
|
"stream_tts_to_speaker"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tts_tool",
|
|
"names": [
|
|
"stream_tts_to_speaker"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tts_tool",
|
|
"names": [
|
|
"stream_tts_to_speaker"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tts_tool",
|
|
"names": [
|
|
"stream_tts_to_speaker"
|
|
]
|
|
},
|
|
{
|
|
"module": "tools.tts_tool",
|
|
"names": [
|
|
"stream_tts_to_speaker"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"VoiceReceiver"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"VoiceReceiver"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"DiscordAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"DiscordAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig",
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"DiscordAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig",
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"DiscordAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"DiscordAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"DiscordAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"DiscordAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"DiscordAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"VoiceReceiver"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"VoiceReceiver"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"DiscordAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig",
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"SendResult"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"SendResult"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageType",
|
|
"MessageEvent",
|
|
"SessionSource"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"DiscordAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"DiscordAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig",
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"VoiceReceiver"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_runner_startup_failures.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"BasePlatformAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.status",
|
|
"names": [
|
|
"read_runtime_status"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_whatsapp_group_gating.py": {
|
|
"imports": [
|
|
"json"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig",
|
|
"load_gateway_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.whatsapp",
|
|
"names": [
|
|
"WhatsAppAdapter"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_discord_slash_commands.py": {
|
|
"imports": [
|
|
"sys",
|
|
"pytest",
|
|
"discord",
|
|
"yaml",
|
|
"os"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.discord",
|
|
"names": [
|
|
"DiscordAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"load_gateway_config"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_retry_response.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageEvent",
|
|
"MessageType"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_step_callback_compat.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"pytest",
|
|
"threading",
|
|
"threading",
|
|
"threading"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_media_download_retry.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"sys",
|
|
"pytest",
|
|
"httpx",
|
|
"gateway.platforms.slack",
|
|
"aiohttp"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.slack",
|
|
"names": [
|
|
"SlackAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.mattermost",
|
|
"names": [
|
|
"MattermostAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"cache_image_from_url"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"cache_image_from_url"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"cache_image_from_url"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"cache_image_from_url"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"cache_image_from_url"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"cache_audio_from_url"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"cache_audio_from_url"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"cache_audio_from_url"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"cache_audio_from_url"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"cache_audio_from_url"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"cache_audio_from_url"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_api_server.py": {
|
|
"imports": [
|
|
"json",
|
|
"time",
|
|
"uuid",
|
|
"pytest",
|
|
"asyncio",
|
|
"asyncio",
|
|
"asyncio"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "aiohttp",
|
|
"names": [
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"module": "aiohttp.test_utils",
|
|
"names": [
|
|
"AioHTTPTestCase",
|
|
"TestClient",
|
|
"TestServer"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.api_server",
|
|
"names": [
|
|
"APIServerAdapter",
|
|
"ResponseStore",
|
|
"_CORS_HEADERS",
|
|
"check_api_server_requirements",
|
|
"cors_middleware",
|
|
"security_headers_middleware"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"load_gateway_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"load_gateway_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"load_gateway_config"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"load_gateway_config"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_transcript_offset.py": {
|
|
"imports": [
|
|
"pytest"
|
|
],
|
|
"from_imports": []
|
|
},
|
|
"tests/gateway/test_discord_bot_filter.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"os",
|
|
"unittest",
|
|
"discord"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_telegram_photo_interrupts.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"MagicMock"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"GatewayConfig",
|
|
"Platform",
|
|
"PlatformConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.base",
|
|
"names": [
|
|
"MessageEvent",
|
|
"MessageType"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionSource",
|
|
"build_session_key"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.run",
|
|
"names": [
|
|
"GatewayRunner"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_whatsapp_connect.py": {
|
|
"imports": [
|
|
"asyncio",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest.mock",
|
|
"names": [
|
|
"AsyncMock",
|
|
"MagicMock",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.whatsapp",
|
|
"names": [
|
|
"WhatsAppAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.whatsapp",
|
|
"names": [
|
|
"WhatsAppAdapter"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.whatsapp",
|
|
"names": [
|
|
"_kill_port_process"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.whatsapp",
|
|
"names": [
|
|
"_kill_port_process"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.whatsapp",
|
|
"names": [
|
|
"_kill_port_process"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.whatsapp",
|
|
"names": [
|
|
"_kill_port_process"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.platforms.whatsapp",
|
|
"names": [
|
|
"_kill_port_process"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/gateway/test_discord_imports.py": {
|
|
"imports": [
|
|
"builtins",
|
|
"importlib",
|
|
"sys"
|
|
],
|
|
"from_imports": []
|
|
},
|
|
"tests/gateway/test_delivery.py": {
|
|
"imports": [],
|
|
"from_imports": [
|
|
{
|
|
"module": "gateway.config",
|
|
"names": [
|
|
"Platform",
|
|
"GatewayConfig",
|
|
"PlatformConfig",
|
|
"HomeChannel"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.delivery",
|
|
"names": [
|
|
"DeliveryRouter",
|
|
"DeliveryTarget",
|
|
"parse_deliver_spec"
|
|
]
|
|
},
|
|
{
|
|
"module": "gateway.session",
|
|
"names": [
|
|
"SessionSource"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/skills/test_telephony_skill.py": {
|
|
"imports": [
|
|
"importlib.util",
|
|
"json",
|
|
"os",
|
|
"sys"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/skills/test_google_workspace_api.py": {
|
|
"imports": [
|
|
"importlib.util",
|
|
"json",
|
|
"sys",
|
|
"types",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/skills/test_google_oauth_setup.py": {
|
|
"imports": [
|
|
"importlib.util",
|
|
"json",
|
|
"sys",
|
|
"types",
|
|
"pytest"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/skills/test_openclaw_migration.py": {
|
|
"imports": [
|
|
"importlib.util",
|
|
"json",
|
|
"sys"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/skills/test_memento_cards.py": {
|
|
"imports": [
|
|
"csv",
|
|
"json",
|
|
"os",
|
|
"sys",
|
|
"uuid",
|
|
"pytest",
|
|
"memento_cards",
|
|
"shutil"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timedelta",
|
|
"timezone"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest",
|
|
"names": [
|
|
"mock"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"tests/skills/test_youtube_quiz.py": {
|
|
"imports": [
|
|
"json",
|
|
"sys",
|
|
"pytest",
|
|
"youtube_quiz",
|
|
"builtins"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "types",
|
|
"names": [
|
|
"SimpleNamespace"
|
|
]
|
|
},
|
|
{
|
|
"module": "unittest",
|
|
"names": [
|
|
"mock"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"plugins/__init__.py": {
|
|
"imports": [],
|
|
"from_imports": []
|
|
},
|
|
"plugins/memory/__init__.py": {
|
|
"imports": [
|
|
"importlib",
|
|
"importlib.util",
|
|
"logging",
|
|
"sys",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"List",
|
|
"Optional",
|
|
"Tuple"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.memory_provider",
|
|
"names": [
|
|
"MemoryProvider"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"plugins/memory/honcho/__init__.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"threading",
|
|
"json"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.memory_provider",
|
|
"names": [
|
|
"MemoryProvider"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.client",
|
|
"names": [
|
|
"get_honcho_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.session",
|
|
"names": [
|
|
"HonchoSessionManager"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.client",
|
|
"names": [
|
|
"HonchoClientConfig"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.client",
|
|
"names": [
|
|
"HonchoClientConfig",
|
|
"get_honcho_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.session",
|
|
"names": [
|
|
"HonchoSessionManager"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"plugins/memory/honcho/cli.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"sys",
|
|
"subprocess",
|
|
"re",
|
|
"honcho",
|
|
"honcho",
|
|
"getpass"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.client",
|
|
"names": [
|
|
"resolve_active_host",
|
|
"resolve_config_path",
|
|
"GLOBAL_CONFIG_PATH",
|
|
"HOST"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.client",
|
|
"names": [
|
|
"HonchoClientConfig",
|
|
"get_honcho_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.profiles",
|
|
"names": [
|
|
"list_profiles"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.profiles",
|
|
"names": [
|
|
"list_profiles"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.client",
|
|
"names": [
|
|
"HonchoClientConfig",
|
|
"get_honcho_client",
|
|
"reset_honcho_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.profiles",
|
|
"names": [
|
|
"get_active_profile_name"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.profiles",
|
|
"names": [
|
|
"list_profiles"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.client",
|
|
"names": [
|
|
"HonchoClientConfig",
|
|
"get_honcho_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.session",
|
|
"names": [
|
|
"HonchoSessionManager"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.client",
|
|
"names": [
|
|
"HonchoClientConfig",
|
|
"get_honcho_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.session",
|
|
"names": [
|
|
"HonchoSessionManager"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.client",
|
|
"names": [
|
|
"HonchoClientConfig",
|
|
"get_honcho_client",
|
|
"reset_honcho_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.session",
|
|
"names": [
|
|
"HonchoSessionManager"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.client",
|
|
"names": [
|
|
"HonchoClientConfig",
|
|
"get_honcho_client",
|
|
"reset_honcho_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.session",
|
|
"names": [
|
|
"HonchoSessionManager"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"plugins/memory/honcho/client.py": {
|
|
"imports": [
|
|
"json",
|
|
"os",
|
|
"logging",
|
|
"subprocess",
|
|
"re"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass",
|
|
"field"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"TYPE_CHECKING"
|
|
]
|
|
},
|
|
{
|
|
"module": "honcho",
|
|
"names": [
|
|
"Honcho"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.profiles",
|
|
"names": [
|
|
"get_active_profile_name"
|
|
]
|
|
},
|
|
{
|
|
"module": "honcho",
|
|
"names": [
|
|
"Honcho"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_cli.config",
|
|
"names": [
|
|
"load_config"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"plugins/memory/honcho/session.py": {
|
|
"imports": [
|
|
"queue",
|
|
"re",
|
|
"logging",
|
|
"threading",
|
|
"time",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "dataclasses",
|
|
"names": [
|
|
"dataclass",
|
|
"field"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"TYPE_CHECKING"
|
|
]
|
|
},
|
|
{
|
|
"module": "plugins.memory.honcho.client",
|
|
"names": [
|
|
"get_honcho_client"
|
|
]
|
|
},
|
|
{
|
|
"module": "honcho",
|
|
"names": [
|
|
"Honcho"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "honcho.session",
|
|
"names": [
|
|
"SessionPeerConfig"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"plugins/memory/retaindb/__init__.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"threading",
|
|
"requests"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.memory_provider",
|
|
"names": [
|
|
"MemoryProvider"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"plugins/memory/mem0/__init__.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"threading",
|
|
"time",
|
|
"json"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.memory_provider",
|
|
"names": [
|
|
"MemoryProvider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "mem0",
|
|
"names": [
|
|
"MemoryClient"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"plugins/memory/hindsight/__init__.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"queue",
|
|
"threading",
|
|
"asyncio",
|
|
"json"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.memory_provider",
|
|
"names": [
|
|
"MemoryProvider"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hindsight_client",
|
|
"names": [
|
|
"Hindsight"
|
|
]
|
|
},
|
|
{
|
|
"module": "hindsight",
|
|
"names": [
|
|
"HindsightEmbedded"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"plugins/memory/byterover/__init__.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"shutil",
|
|
"subprocess",
|
|
"threading",
|
|
"time"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.memory_provider",
|
|
"names": [
|
|
"MemoryProvider"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"plugins/memory/holographic/holographic.py": {
|
|
"imports": [
|
|
"hashlib",
|
|
"logging",
|
|
"struct",
|
|
"math",
|
|
"numpy"
|
|
],
|
|
"from_imports": []
|
|
},
|
|
"plugins/memory/holographic/__init__.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"re",
|
|
"yaml",
|
|
"yaml"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.memory_provider",
|
|
"names": [
|
|
"MemoryProvider"
|
|
]
|
|
},
|
|
{
|
|
"module": "store",
|
|
"names": [
|
|
"MemoryStore"
|
|
]
|
|
},
|
|
{
|
|
"module": "retrieval",
|
|
"names": [
|
|
"FactRetriever"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"display_hermes_home"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"plugins/memory/holographic/retrieval.py": {
|
|
"imports": [
|
|
"math",
|
|
"holographic"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime",
|
|
"timezone"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"TYPE_CHECKING"
|
|
]
|
|
},
|
|
{
|
|
"module": "store",
|
|
"names": [
|
|
"MemoryStore"
|
|
]
|
|
},
|
|
{
|
|
"module": "",
|
|
"names": [
|
|
"holographic"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"plugins/memory/holographic/store.py": {
|
|
"imports": [
|
|
"re",
|
|
"sqlite3",
|
|
"threading",
|
|
"holographic"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "datetime",
|
|
"names": [
|
|
"datetime"
|
|
]
|
|
},
|
|
{
|
|
"module": "pathlib",
|
|
"names": [
|
|
"Path"
|
|
]
|
|
},
|
|
{
|
|
"module": "",
|
|
"names": [
|
|
"holographic"
|
|
]
|
|
},
|
|
{
|
|
"module": "hermes_constants",
|
|
"names": [
|
|
"get_hermes_home"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"plugins/memory/openviking/__init__.py": {
|
|
"imports": [
|
|
"json",
|
|
"logging",
|
|
"os",
|
|
"threading",
|
|
"httpx"
|
|
],
|
|
"from_imports": [
|
|
{
|
|
"module": "__future__",
|
|
"names": [
|
|
"annotations"
|
|
]
|
|
},
|
|
{
|
|
"module": "typing",
|
|
"names": [
|
|
"Any",
|
|
"Dict",
|
|
"List",
|
|
"Optional"
|
|
]
|
|
},
|
|
{
|
|
"module": "agent.memory_provider",
|
|
"names": [
|
|
"MemoryProvider"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"errors": []
|
|
} |