|
Entropic 2.3.8
Local-first agentic inference engine
|
BashServer implementation — shell command execution with safety. More...
#include <entropic/mcp/servers/bash.h>#include <entropic/mcp/tool_base.h>#include <entropic/mcp/server_base.h>#include <entropic/types/logging.h>#include <nlohmann/json.hpp>#include <array>#include <cstdio>#include <filesystem>#include <stdexcept>#include <string>
Go to the source code of this file.
Classes | |
| class | entropic::ExecuteTool |
| Tool for executing shell commands. More... | |
Namespaces | |
| namespace | entropic |
| Activate model on GPU (WARM → ACTIVE). | |
Functions | |
| static bool | entropic::is_safe_cwd (const std::string &cwd) |
| Reject working_dir values that would smuggle shell syntax. | |
| static std::pair< std::string, int > | entropic::run_popen (const std::string &full_cmd) |
| Run a shell command and capture output. | |
Variables | |
| static auto | logger = entropic::log::get("mcp.bash") |
BashServer implementation — shell command execution with safety.
Definition in file bash.cpp.
|
static |