mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-18 05:23:39 +02:00
Prepare persistent computer homes before Git execution setup
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
142fdf6847
commit
2bea9928aa
1 file changed
+6
@@ -358,6 +358,7 @@ import {
|
||||
startAdapterExecutionTargetPaperclipBridge,
|
||||
} from "@paperclipai/adapter-utils/execution-target";
|
||||
import { agentInstructionWorkingCopyService, collectStoppedInstructionCopyWithRetries, instructionWorkingCopyGuidance } from "./agent-instruction-working-copies.js";
|
||||
import { preparePersistentAgentExecutionHome } from "./agent-file-store.js";
|
||||
import {
|
||||
resolveManagedOpenAiBilling,
|
||||
} from "@paperclipai/adapter-utils";
|
||||
@@ -4830,6 +4831,11 @@ export function heartbeatService(
|
||||
} else {
|
||||
delete context.paperclipScratch;
|
||||
}
|
||||
await preparePersistentAgentExecutionHome(db, {
|
||||
companyId: agent.companyId,
|
||||
agentId: agent.id,
|
||||
target: executionTarget,
|
||||
});
|
||||
const gitExecutionEnv = await prepareGitHubExecutionEnvironment({
|
||||
target: executionTarget,
|
||||
cwd: executionWorkspace.cwd,
|
||||
|
||||
Reference in new issue
Block a user