fix: pass HERMES_HOME to plugins Python bridge (#701)
Fixes #689 Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -3,6 +3,7 @@ import { existsSync, readFileSync } from 'fs'
|
||||
import { dirname, join, resolve } from 'path'
|
||||
import { homedir } from 'os'
|
||||
import { promisify } from 'util'
|
||||
import { getActiveProfileDir } from './hermes-profile'
|
||||
|
||||
const execFileAsync = promisify(execFile)
|
||||
|
||||
@@ -312,6 +313,7 @@ export async function listHermesPlugins(): Promise<HermesPluginsResponse> {
|
||||
const env = {
|
||||
...process.env,
|
||||
HERMES_AGENT_ROOT_RESOLVED: agentRoot,
|
||||
HERMES_HOME: getActiveProfileDir(),
|
||||
}
|
||||
|
||||
const errors: string[] = []
|
||||
|
||||
Reference in New Issue
Block a user