Skip to content

MemoryPlatformStore

Defined in: packages/adapter-memory/src/index.ts:50

In-memory platform registry (seedable at construction). Implements the writable MutablePlatformStore so Dynamic Registration works in dev/tests.

  • MutablePlatformStore

new MemoryPlatformStore(platforms?): MemoryPlatformStore

Defined in: packages/adapter-memory/src/index.ts:54

Platform[] = []

MemoryPlatformStore

add(platform): void

Defined in: packages/adapter-memory/src/index.ts:58

Platform

void


find(iss, clientId?): Promise<Platform | null>

Defined in: packages/adapter-memory/src/index.ts:62

Resolve a platform by issuer, optionally disambiguated by clientId (for multiple tools/registrations under one issuer). Return null if none.

string

string | null

Promise<Platform | null>

MutablePlatformStore.find


save(input): Promise<Platform>

Defined in: packages/adapter-memory/src/index.ts:69

Upsert on (issuer, clientId): update endpoints in place, or insert.

PlatformInput

Promise<Platform>

MutablePlatformStore.save