HandoffManager
Defined in: packages/agentic-control/src/handoff/manager.ts:55
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new HandoffManager(
options?):HandoffManager
Defined in: packages/agentic-control/src/handoff/manager.ts:60
Parameters
Section titled “Parameters”options?
Section titled “options?”anthropicKey?
Section titled “anthropicKey?”string
cursorApiKey?
Section titled “cursorApiKey?”string
string
Returns
Section titled “Returns”HandoffManager
Methods
Section titled “Methods”confirmHealthAndBegin()
Section titled “confirmHealthAndBegin()”confirmHealthAndBegin(
successorId,predecessorId):Promise<void>
Defined in: packages/agentic-control/src/handoff/manager.ts:193
Called by successor to confirm health
Parameters
Section titled “Parameters”successorId
Section titled “successorId”string
predecessorId
Section titled “predecessorId”string
Returns
Section titled “Returns”Promise<void>
initiateHandoff()
Section titled “initiateHandoff()”initiateHandoff(
predecessorId,options):Promise<HandoffResult>
Defined in: packages/agentic-control/src/handoff/manager.ts:91
Initiate handoff to successor agent
Parameters
Section titled “Parameters”predecessorId
Section titled “predecessorId”string
options
Section titled “options”Returns
Section titled “Returns”Promise<HandoffResult>
setRepo()
Section titled “setRepo()”setRepo(
repo):void
Defined in: packages/agentic-control/src/handoff/manager.ts:84
Set the repository for GitHub operations
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”void
takeover()
Section titled “takeover()”takeover(
predecessorId,predecessorPr,newBranchName,options?):Promise<Result<void>>
Defined in: packages/agentic-control/src/handoff/manager.ts:218
Called by successor to merge predecessor and take over
Parameters
Section titled “Parameters”predecessorId
Section titled “predecessorId”string
predecessorPr
Section titled “predecessorPr”number
newBranchName
Section titled “newBranchName”string
options?
Section titled “options?”Returns
Section titled “Returns”Promise<Result<void>>