Merge pull request #864 from paperclipai/fix/agent-home-env

fix: set AGENT_HOME env var for agent processes
This commit is contained in:
Dotta 2026-03-14 12:44:28 -05:00 committed by GitHub
commit 325fcf8505
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 19 additions and 0 deletions

View file

@ -1523,6 +1523,7 @@ export function heartbeatService(db: Db) {
repoRef: executionWorkspace.repoRef,
branchName: executionWorkspace.branchName,
worktreePath: executionWorkspace.worktreePath,
agentHome: resolveDefaultAgentWorkspaceDir(agent.id),
};
context.paperclipWorkspaces = resolvedWorkspace.workspaceHints;
const runtimeServiceIntents = (() => {