refactor: apply 5-pass audit optimizations across mcp-memory codebase

This commit is contained in:
Riz Ashraf committed 2026-10-06 06:05:38 +01:00
1 parent 924b6d09fa
commit 5bd8b1587a
43 files changed
+1866 -1658

No files matched your search

+5 -5
View File
@@ -16,7 +16,7 @@ impl McpTool for UpdateEnvFingerprintHandler {
fn schema(&self) -> Value {
crate::mcp::tool_def::<UpdateEnvFingerprintTool>(
"update_env_fingerprint",
"Execute update_env_fingerprint",
"Update system OS, shell, and installed tool version fingerprints for a workspace namespace.",
)
}
@@ -50,7 +50,7 @@ impl McpTool for ReadEnvFingerprintHandler {
fn schema(&self) -> Value {
crate::mcp::tool_def::<ReadEnvFingerprintTool>(
"read_env_fingerprint",
"Execute read_env_fingerprint",
"Read system OS, shell, and tool version fingerprints for a workspace namespace.",
)
}
@@ -81,7 +81,7 @@ impl McpTool for LogEnvRequirementHandler {
fn schema(&self) -> Value {
crate::mcp::tool_def::<LogEnvRequirementTool>(
"log_env_requirement",
"Execute log_env_requirement",
"Log required environment variables, configuration keys, or secrets for a namespace.",
)
}
@@ -111,7 +111,7 @@ impl McpTool for RegisterEnvironmentHandler {
fn schema(&self) -> Value {
crate::mcp::tool_def::<RegisterEnvironmentTool>(
"register_environment",
"Execute register_environment",
"Register infrastructure environment details (URL, VPN requirements, notes) for a namespace.",
)
}
@@ -144,7 +144,7 @@ impl McpTool for GetEnvironmentDetailsHandler {
fn schema(&self) -> Value {
crate::mcp::tool_def::<GetEnvironmentDetailsTool>(
"get_environment_details",
"Execute get_environment_details",
"Retrieve registered infrastructure environment details for a namespace.",
)
}