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

Function asRecord

projects/openade-module/src/module.ts:109–111  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

107const DEFAULT_CLIENT_REQUEST_RETENTION_MS = 10 * 60 * 1000
108
109function asRecord(value: unknown): Record<string, unknown> {
110 return typeof value === "object" && value !== null ? (value as Record<string, unknown>) : {}
111}
112
113function validationPath(message: string): string | undefined {
114 const key = message.match(/^([A-Za-z0-9_.]+) /)?.[1]

Callers 15

stableClientRequestKeyFunction · 0.70
hyperplanStrategyParamFunction · 0.70
gitRefsParamFunction · 0.70
repoUserParamFunction · 0.70
repoCreateParamsFunction · 0.70
repoUpdateParamsFunction · 0.70
repoDeleteParamsFunction · 0.70
taskDeleteParamsFunction · 0.70
turnParamsFunction · 0.70
reviewStartParamsFunction · 0.70
actionSourceParamFunction · 0.70
createActionEventParamsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected