|
Entropic 2.3.8
Local-first agentic inference engine
|
GitServer implementation — version control operations. More...
#include <entropic/mcp/servers/git.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 <string>
Go to the source code of this file.
Classes | |
| class | entropic::GitStatusTool |
| Tool: git status –short. More... | |
| class | entropic::GitDiffTool |
| Tool: git diff [–staged] [file]. More... | |
| class | entropic::GitLogTool |
| Tool: git log -N [–oneline]. More... | |
| class | entropic::GitCommitTool |
| Tool: git commit -m "message", optionally git add -A first. More... | |
| class | entropic::GitBranchTool |
| Tool: git branch -a, or git checkout -b name. More... | |
| class | entropic::GitCheckoutTool |
| Tool: git checkout target. More... | |
| class | entropic::GitAddTool |
| Tool: git add files (space-separated). More... | |
| class | entropic::GitResetTool |
| Tool: git reset HEAD [files]. More... | |
Namespaces | |
| namespace | entropic |
| Activate model on GPU (WARM → ACTIVE). | |
Functions | |
| static std::pair< std::string, int > | entropic::run_git (const std::string &repo_dir, const std::string &git_args) |
| Run a git command in a given directory via popen. | |
| static ServerResponse | entropic::make_git_response (const std::string &output, int exit_code) |
| Format a git result as JSON ServerResponse. | |
Variables | |
| static auto | logger = entropic::log::get("mcp.git") |
|
static |