MCPcopy Create free account
hub / github.com/apache/maka / finalize

Method finalize

packages/runtime/src/runtime-kernel.ts:3646–3652  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3644 }
3645
3646 finalize(): Promise<void> {
3647 if (!this.finalizePromise) {
3648 this.interactionRun?.sealPublications();
3649 this.finalizePromise = this.callbacks.finalizeExecution(() => this.finalizeOwnedRun());
3650 }
3651 return this.finalizePromise;
3652 }
3653
3654 releaseMessage(): void {
3655 if (!this.messageOwner || this.messageReleased) return;

Callers 5

compactSessionClaimedMethod · 0.45
runAgentTurnMethod · 0.45
runAgentContinuationMethod · 0.45
failStartMethod · 0.45
finalizeOwnedRunMethod · 0.45

Calls 3

finalizeOwnedRunMethod · 0.95
sealPublicationsMethod · 0.80
finalizeExecutionMethod · 0.80

Tested by

no test coverage detected