MCPcopy Create free account
hub / github.com/tiann/hapi / updateSessionMetadata

Method updateSessionMetadata

hub/src/store/sessionStore.ts:40–48  ·  view source on GitHub ↗
(
        id: string,
        metadata: unknown,
        expectedVersion: number,
        namespace: string,
        options?: { touchUpdatedAt?: boolean }
    )

Source from the content-addressed store, hash-verified

38 }
39
40 updateSessionMetadata(
41 id: string,
42 metadata: unknown,
43 expectedVersion: number,
44 namespace: string,
45 options?: { touchUpdatedAt?: boolean }
46 ): VersionedUpdateResult<unknown | null> {
47 return updateSessionMetadata(this.db, id, metadata, expectedVersion, namespace, options)
48 }
49
50 updateSessionAgentState(
51 id: string,

Calls 1

updateSessionMetadataFunction · 0.90

Tested by

no test coverage detected