mcp-aws-manager 0.4.5 → 0.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -681,6 +681,11 @@ function resolveDefaultHtmlOutPath() {
681
681
  }
682
682
  }
683
683
 
684
+ const cwd = path.resolve(process.cwd());
685
+ if (!isLikelyProtectedInstallDir(cwd) && isWritableDirectory(cwd)) {
686
+ return path.join(cwd, DEFAULT_HTML_REPORT_NAME);
687
+ }
688
+
684
689
  const home = os.homedir();
685
690
  if (isWritableDirectory(home)) {
686
691
  return path.join(home, DEFAULT_HTML_REPORT_NAME);
@@ -915,7 +920,7 @@ function usageText() {
915
920
  " --ssh-bastion-user <user>",
916
921
  " --ssh-bastion-port <port> (default: 22)",
917
922
  " --ssh-bastion-pem-path <path> (optional bastion-only key path)",
918
- " --html-out <path> (default: auto -> workspace/home aws-inventory.html)",
923
+ " --html-out <path> (default: auto -> workspace/cwd/home aws-inventory.html)",
919
924
  " --topology-out <path> (default: auto -> workspace/home aws-topology.json)",
920
925
  " --relationships-out <path> (default: auto -> workspace/home aws-relationships.json)",
921
926
  " --governance-log <path> (default: auto -> workspace/home mcp-aws-governance-log.jsonl)",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-aws-manager",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
4
4
  "description": "AWS operations CLI and MCP server (SSM-only) for EC2/Lambda inventory, remediation, and runtime snapshots",
5
5
  "license": "MIT",
6
6
  "publishConfig": {