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

Method updateHeader

packages/runtime/src/runtime-kernel.ts:3241–3245  ·  view source on GitHub ↗
(sessionId: string, patch: SessionHeaderPatch)

Source from the content-addressed store, hash-verified

3239 }
3240
3241 private async updateHeader(sessionId: string, patch: SessionHeaderPatch): Promise<SessionHeader> {
3242 const next = await this.deps.store.updateHeader(sessionId, patch);
3243 this.updateCachedHeader(sessionId, next);
3244 return next;
3245 }
3246
3247 private async appendTurnState(
3248 sessionId: string,

Callers 5

startTurnMethod · 0.95
compactSessionClaimedMethod · 0.95
updateStatusMethod · 0.95

Calls 2

updateCachedHeaderMethod · 0.95
updateHeaderMethod · 0.65

Tested by

no test coverage detected