MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / stableClientRequestKey

Function stableClientRequestKey

projects/openade-module/src/module.ts:141–144  ·  view source on GitHub ↗
(params: unknown)

Source from the content-addressed store, hash-verified

139}
140
141function stableClientRequestKey(params: unknown): string | undefined {
142 const clientRequestId = asRecord(params).clientRequestId
143 return typeof clientRequestId === "string" && clientRequestId.length > 0 ? clientRequestId : undefined
144}
145
146function stringParam(record: Record<string, unknown>, key: string): string {
147 const value = record[key]

Callers 2

runIdempotentMutationFunction · 0.85
registerFunction · 0.85

Calls 1

asRecordFunction · 0.70

Tested by

no test coverage detected