agents: pass HOME and BEADS_9MOUNT to 9beads-mcp subprocess env

MCP subprocesses only inherit explicitly listed env vars. HOME is
required for mount resolution; BEADS_9MOUNT allows a custom mount root.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Levi Neely 2026-04-11 12:12:32 +02:00
parent 71063bdad1
commit 309b47a6f3
4 changed files with 12 additions and 4 deletions

View File

@ -12,7 +12,9 @@
"command": "9beads-mcp",
"args": [],
"env": {
"PWD": "$PWD"
"PWD": "$PWD",
"HOME": "$HOME",
"BEADS_9MOUNT": "$BEADS_9MOUNT"
}
}
},

View File

@ -12,7 +12,9 @@
"command": "9beads-mcp",
"args": [],
"env": {
"PWD": "$PWD"
"PWD": "$PWD",
"HOME": "$HOME",
"BEADS_9MOUNT": "$BEADS_9MOUNT"
}
}
},

View File

@ -6,7 +6,9 @@
"command": "9beads-mcp",
"args": [],
"env": {
"PWD": "$PWD"
"PWD": "$PWD",
"HOME": "$HOME",
"BEADS_9MOUNT": "$BEADS_9MOUNT"
}
}
},

View File

@ -5,7 +5,9 @@
"command": "9beads-mcp",
"args": [],
"env": {
"PWD": "$PWD"
"PWD": "$PWD",
"HOME": "$HOME",
"BEADS_9MOUNT": "$BEADS_9MOUNT"
}
}
},