MCPcopy Create free account

hub / github.com/arvohealth-ai/OpenVitals / functions

Functions598 in github.com/arvohealth-ai/OpenVitals

↓ 44 callersFunctionauthorize
( request: FastifyRequest, reply: FastifyReply, input: { userId?: string; requiredScop
apps/api/src/index.ts:677
↓ 39 callersFunctioniso
(date: Date)
packages/runtime/src/index.ts:187
↓ 38 callersFunctionnowForApi
()
apps/api/src/index.ts:342
↓ 32 callersFunctionstable
(operation: T)
apps/api/src/openapi.ts:33
↓ 31 callersFunctioncheck
(condition, message)
scripts/smoke-e2e.mjs:11
↓ 31 callersFunctionloadRows
(table: typeof usersTable, parse: (value: unknown) => T, userId?: string)
apps/api/src/db.ts:445
↓ 29 callersFunctioncreateId
(...parts: string[])
packages/runtime/src/index.ts:218
↓ 29 callersFunctionjsonTable
(tableName: string)
apps/api/src/schema.ts:4
↓ 29 callersMethodrequest
(path: string, parser: { parse: (value: unknown) => T }, options: RequestOptions = {})
packages/sdk-ts/src/index.ts:348
↓ 29 callersFunctiontoJsonSchema
(schema: unknown, name: string)
apps/api/src/openapi.ts:31
↓ 27 callersFunctioninsertRows
( table: typeof usersTable, rows: Array<{ id: string; userId?: string; createdAt?: string }>, fall
apps/api/src/db.ts:339
↓ 23 callersFunctioncheck
(condition, message)
scripts/apple-health-watch-local-e2e.mjs:7
↓ 23 callersMethodclose
()
scripts/openclaw-e2e.mjs:350
↓ 22 callersFunctioncreateApi
(options: CreateApiOptions = {})
apps/api/src/index.ts:325
↓ 21 callersFunctioncheck
(condition, message)
scripts/openclaw-e2e.mjs:19
↓ 21 callersFunctionprint
(message: string)
scripts/agent-workflow.ts:918
↓ 17 callersFunctionsendError
(reply: FastifyReply, statusCode: number, error: unknown)
apps/api/src/index.ts:349
↓ 16 callersFunctionrounded
(value: number)
packages/scores/src/index.ts:35
↓ 15 callersFunctionclamp
(value: number, min: number, max: number)
packages/scores/src/index.ts:33
↓ 15 callersFunctiongetTool
(name: N)
packages/mcp/src/index.ts:67
↓ 15 callersFunctionjsonResult
(payload: unknown)
packages/mcp/src/index.ts:7
↓ 14 callersFunctionnumberOrNull
(value: unknown)
providers/whoop/src/live.ts:38
↓ 14 callersFunctionrequestJson
(method, pathName, options = {})
scripts/smoke-e2e.mjs:83
↓ 14 callersMethodsyncStatus
(userId: string)
packages/sdk-ts/src/index.ts:433
↓ 13 callersFunctionbuildDemoState
(now = new Date(), sourceOverrides: SourceOverrides = {})
packages/runtime/src/index.ts:1083
↓ 13 callersFunctiontoRowId
(id: string, userId?: string | null)
apps/api/src/db.ts:220
↓ 12 callersFunctionisRecord
(value: unknown)
packages/llm/src/index.ts:322
↓ 11 callersFunctionstringOrNull
(value: unknown)
providers/whoop/src/live.ts:47
↓ 11 callersFunctionwave
(index: number, amplitude: number, phase = 0)
packages/runtime/src/index.ts:220
↓ 10 callersFunctionrequireStateForUser
(reply: FastifyReply, userId: string)
apps/api/src/index.ts:406
↓ 9 callersMethod_get
(self, path: str, params: dict | None = None)
packages/sdk-py/openvitals_sdk/client.py:208
↓ 9 callersFunctionasObject
(value, message)
scripts/smoke-e2e.mjs:17
↓ 9 callersFunctionerrorMessage
(error: unknown)
apps/api/src/index.ts:157
↓ 9 callersFunctionrunCommand
(command, args, options = {})
scripts/openclaw-e2e.mjs:49
↓ 9 callersFunctionstringOrNull
(value: unknown)
providers/oura/src/live.ts:53
↓ 8 callersFunctionasObject
(value, message)
scripts/apple-health-watch-local-e2e.mjs:13
↓ 8 callersFunctionexperimental
(operation: T)
apps/api/src/openapi.ts:39
↓ 8 callersFunctionhealthRecord
(overrides)
scripts/apple-health-watch-local-e2e.mjs:34
↓ 8 callersFunctioningestMobileBatch
( state: DemoState, userId: string, providerId: ProviderId, input: IngestBatchInput, now = new Date(
packages/runtime/src/index.ts:2028
↓ 8 callersFunctionmodel
(id: string, prompt: string, completion: string)
packages/llm/src/index.test.ts:146
↓ 8 callersFunctionnumberOrNull
(value: unknown)
providers/oura/src/live.ts:52
↓ 8 callersFunctionparseArgs
(argv: string[])
packages/openclaw-skill/src/cli.ts:18
↓ 8 callersFunctionserialize
( payload: { id: string; userId?: string; createdAt?: string }, fallbackUserId?: string )
apps/api/src/db.ts:222
↓ 8 callersFunctionupsertById
(rows: T[], incoming: T[])
packages/runtime/src/index.ts:1782
↓ 7 callersFunctioncreateObservation
(input: { id: string; userId: string; sourceAccountId: string; deviceId: string | null; metricFamily
packages/runtime/src/index.ts:591
↓ 7 callersFunctionfetchOuraCollection
(input: { accessToken: string; path: string; context: CollectorContext; })
providers/oura/src/live.ts:242
↓ 7 callersFunctionloadRun
(id?: string)
scripts/agent-workflow.ts:873
↓ 7 callersFunctionlogStep
(message)
scripts/openclaw-e2e.mjs:25
↓ 7 callersFunctionrequestJson
(method, pathName, options = {})
scripts/apple-health-watch-local-e2e.mjs:72
↓ 7 callersFunctionsummarizeSyncStatusSemantics
(syncStatus: SyncStatusResponse, generatedAt = new Date())
packages/sdk-ts/src/index.ts:221
↓ 6 callersFunctionassertProviderContract
(input: { expectedProviderId: ProviderId; manifest: ProviderManifest; collector: Collector; })
providers/_test/contract.ts:6
↓ 6 callersFunctioncreateConnectorSession
( state: DemoState, userId: string, providerId: ProviderId, now = new Date() )
packages/runtime/src/index.ts:1577
↓ 6 callersFunctioncreateMockCollector
(manifest: ProviderManifest)
packages/runtime/src/index.ts:2260
↓ 6 callersFunctioncreateRawEvent
( userId: string, sourceAccountId: string, providerId: ProviderId, sourceRecordId: string, eventType
packages/runtime/src/index.ts:700
↓ 6 callersFunctiondefaultSchedulerState
(userId: string, now = new Date())
apps/api/src/index.ts:807
↓ 6 callersFunctiondeviceModelForProvider
(providerId: ProviderId)
packages/runtime/src/index.ts:241
↓ 6 callersFunctionisCollectorClientError
(error: unknown)
packages/collector-mobile-core/src/index.ts:186
↓ 6 callersFunctionisoOrNull
(value: unknown)
providers/whoop/src/live.ts:28
↓ 6 callersFunctionisoOrNull
(value: unknown)
providers/oura/src/live.ts:28
↓ 6 callersFunctionnow
()
scripts/benchmark-api.ts:7
↓ 6 callersFunctionparseMetricCapabilities
(capabilities: MetricCapabilitySeed[])
packages/runtime/src/index.ts:289
↓ 6 callersFunctionpushRecord
(records: IngestRecord[], record: IngestRecord)
providers/oura/src/live.ts:276
↓ 6 callersFunctionresolveCollector
( mode: RuntimeMode, providerId: ProviderId )
apps/api/src/provider-registry.ts:71
↓ 6 callersFunctionsaveRun
(runDir: string, run: WorkflowRun)
scripts/agent-workflow.ts:906
↓ 5 callersMethod_headers
(self)
packages/sdk-py/openvitals_sdk/client.py:223
↓ 5 callersFunction_live_signal_active_for_source
(source: dict)
packages/sdk-py/openvitals_sdk/client.py:37
↓ 5 callersMethod_post
(self, path: str, payload: dict | None = None)
packages/sdk-py/openvitals_sdk/client.py:213
↓ 5 callersFunctioncreateMobileCollectorClient
(config: CollectorConfig, providerId: MobileProvider)
packages/collector-mobile-core/src/index.ts:220
↓ 5 callersFunctiondayStartIso
(value: unknown)
providers/oura/src/live.ts:36
↓ 5 callersFunctionfindDailyObservation
(deps: DerivePipelineDeps, observations: Observation[], metric: string, day: string)
packages/runtime/src/pipeline/derive.ts:59
↓ 5 callersFunctionget
(type: "year" | "month" | "day" | "hour" | "minute")
packages/runtime/src/index.ts:134
↓ 5 callersMethodhealthcheck
()
packages/contracts/src/index.ts:737
↓ 5 callersFunctionisCredentialExpiredSyncSource
(source: MobileSyncStatusSource | null, now = new Date())
packages/collector-mobile-core/src/index.ts:207
↓ 5 callersMethodlistWebhooks
()
packages/sdk-ts/src/index.ts:513
↓ 5 callersFunctionliveSignalActiveForSource
(source: SyncStatusEntry)
packages/sdk-ts/src/index.ts:128
↓ 5 callersFunctionpersistQueue
()
packages/collector-android/src/index.ts:67
↓ 5 callersFunctionpersistStateAndFanout
( nextState: Awaited<ReturnType<typeof store.loadState>>, options: { allowedTypes?: string[]; dryRun?:
apps/api/src/index.ts:1069
↓ 5 callersFunctionrecomputeMaterializedState
( state: DemoState, now: Date, syncedProviderIds: ProviderId[] = [] )
packages/runtime/src/index.ts:1474
↓ 5 callersFunctionrequest
(path: string, init: RequestInit = {})
scripts/benchmark-api.ts:9
↓ 5 callersFunctionrequestJson
( config: CollectorConfig, path: string, method: "GET" | "POST" | "PUT", body?: unknown )
packages/collector-mobile-core/src/index.ts:148
↓ 5 callersFunctionround
(value: number)
packages/runtime/src/index.ts:216
↓ 4 callersMethodalerts
(input: unknown)
packages/sdk-ts/src/index.ts:480
↓ 4 callersFunctionasArray
(value, message)
scripts/openclaw-e2e.mjs:44
↓ 4 callersFunctionasArray
(value, message)
scripts/smoke-e2e.mjs:22
↓ 4 callersFunctionavg
(values: number[])
packages/runtime/src/pipeline/workflow.ts:96
↓ 4 callersFunctionbuildScore
( scoreKind: Score["scoreKind"], providerId: ProviderId, value: ReturnType<typeof computeSleepCons
packages/runtime/src/pipeline/derive.ts:170
↓ 4 callersFunctioncanonicalSourceKey
(sourceRecordId: string)
packages/runtime/src/index.ts:222
↓ 4 callersFunctionclassifyAppleHealthCaptureMode
(source: AppleHealthSourceMetadata)
packages/collector-ios/src/index.ts:183
↓ 4 callersFunctioncomputeStrainBalance
(input: StrainBalanceInput)
packages/scores/src/index.ts:83
↓ 4 callersFunctionconnectionMethodForProvider
( mode: "demo" | "live", providerId: ProviderId, credential: ProviderCredential | null )
apps/api/src/index.ts:253
↓ 4 callersFunctioncreateOpenRouterClient
(config: OpenRouterConfig, fetchImpl: FetchLike = globalThis.fetch)
packages/llm/src/index.ts:100
↓ 4 callersFunctioncreatePolicyDecision
(workflowKind: WorkflowKind, severity: Alert["severity"])
packages/runtime/src/pipeline/workflow.ts:47
↓ 4 callersFunctiondayEndIso
(value: unknown)
providers/oura/src/live.ts:44
↓ 4 callersFunctiondedupeTimelineWithDecisions
( entries: T[], now = new Date(), precedenceOverride?: SourcePrecedenceOverride["precedence"] )
packages/runtime/src/index.ts:1026
↓ 4 callersFunctionexecuteSchedulerJob
(input: { userId: string; job: Exclude<SchedulerJob, "all">; dryRun?: boolean; })
apps/api/src/index.ts:1293
↓ 4 callersFunctiongetSyncStatus
(state: DemoState, userId: string, now = new Date(), options: SyncStatusOptions = {})
packages/runtime/src/index.ts:1697
↓ 4 callersFunctionhashAppleHealthRawPayload
(payload: unknown)
packages/collector-ios/src/index.ts:173
↓ 4 callersFunctionouraConfig
()
providers/oura/src/live.ts:77
↓ 4 callersFunctionparseOpenRouterPrice
(value: unknown)
packages/llm/src/index.ts:217
↓ 4 callersFunctionpushRecord
(record: IngestRecord)
providers/whoop/src/live.ts:146
next →1–100 of 598, ranked by callers