MCPcopy Create free account

hub / github.com/electric-sql/electric / functions

Functions8,170 in github.com/electric-sql/electric

↓ 1 callersFunctionbuild409CacheBusterReport
* Finds all 409 status handlers in the ShapeStream class and verifies that * each one unconditionally calls createCacheBuster(). A 409 retry without
packages/typescript-client/bin/lib/shape-stream-static-analysis.mjs:908
↓ 1 callersFunctionbuildAgentSection
(run: IncludesRun)
packages/agents-runtime/src/use-chat.ts:276
↓ 1 callersFunctionbuildAgentsServerHealthUrl
(baseUrl: string)
packages/agents-desktop/src/runtime/health.ts:7
↓ 1 callersFunctionbuildAmbientBeats
* Build the super-loop ambient script by exploding each thread's cycle * across the SUPER_LOOP window at the thread's cadence. * * Also adds: * -
website/src/components/home/iso/scripts/ambient.ts:225
↓ 1 callersFunctionbuildApiKeyHeader
( apiKey: string, opts: ApiKeyAuthOpts = {} )
packages/agents-mcp/src/auth/api-key.ts:6
↓ 1 callersFunctionbuildAuthorizeUrl
( provider: CloudAuthProvider, cliState: string )
packages/agents-mobile/src/lib/cloudAuth.ts:107
↓ 1 callersFunctionbuildBuiltinSandboxProfiles
* Built-in sandbox profiles. `local` is always available. `docker` is * gated on Docker being reachable so a user without Docker installed * sees on
packages/agents/src/bootstrap.ts:351
↓ 1 callersFunctionbuildCallbackUrl
( token: string | null, state: string | null, email: string | null, expiresAt: string | null )
packages/agents-mobile/app/oauth/callback.tsx:180
↓ 1 callersFunctionbuildClassInfo
(sourceFile, classDecl)
packages/typescript-client/bin/lib/shape-stream-static-analysis.mjs:692
↓ 1 callersFunctionbuildConfig
( state: FormState, baseline?: McpServerConfigInput )
packages/agents-server-ui/src/components/settings/pages/McpServerFormDialog.tsx:141
↓ 1 callersFunctionbuildContextBudgetNotice
(usage: ContextUsage)
packages/agents-runtime/src/token-accountant.ts:227
↓ 1 callersFunctionbuildContextInsertedMessages
( entries: Array<ContextInsertedRow & { historyOffset: string }> )
packages/agents-runtime/src/entity-timeline.ts:984
↓ 1 callersFunctionbuildContextRemovedMessages
( entries: Array<ContextRemovedRow & { historyOffset: string }> )
packages/agents-runtime/src/entity-timeline.ts:999
↓ 1 callersFunctionbuildCurrentPrincipalEntityEffectivePermissionsWhere
(options: { tenantId: string principalUrl: string principalKind: string permissionBypass?: boolean })
packages/agents-server/src/utils/server-utils.ts:381
↓ 1 callersFunctionbuildDrawerGroups
( parent: DrawerEntity | null, manifests: Array<ManifestRecord>, entitiesByUrl: Map<string, DrawerEntity
packages/agents-mobile/src/screens/SessionScreen.tsx:1326
↓ 1 callersFunctionbuildDrawerGroups
( parent: DrawerEntity | null, manifests: ReadonlyArray<Manifest>, entitiesByUrl: Map<string, DrawerEnti
packages/agents-server-ui/src/components/EntityContextDrawer.tsx:502
↓ 1 callersFunctionbuildEntityTimelineQuery
( q: InitialQueryBuilder, db: EntityStreamDB, opts: EntityTimelineQueryOptions )
packages/agents-runtime/src/entity-timeline.ts:1388
↓ 1 callersFunctionbuildEntityTree
(entities: ReadonlyArray<ElectricEntity>)
packages/agents-mobile/src/components/SessionTree.tsx:116
↓ 1 callersFunctionbuildEntityTree
(entities: ReadonlyArray<ElectricEntity>)
packages/agents-server-ui/src/components/Sidebar.tsx:487
↓ 1 callersFunctionbuildErrorPathPublishReport
(sourceFile, classDecl)
packages/typescript-client/bin/lib/shape-stream-static-analysis.mjs:1044
↓ 1 callersMethodbuildForkEntityPlans
( entitiesToFork: Array<ElectricAgentsEntity>, entityUrlMap: Map<string, string>, stringMap: Map<s
packages/agents-server/src/entity-manager.ts:1916
↓ 1 callersMethodbuildForkEntityUrlMap
( entitiesToFork: Array<ElectricAgentsEntity>, opts: { suffix: string; rootUrl: string; rootInstanceId
packages/agents-server/src/entity-manager.ts:1814
↓ 1 callersMethodbuildForkReconciliation
( plan: ForkEntityPlan, snapshot: ForkStateSnapshot, entityUrlMap: Map<string, string>, shared
packages/agents-server/src/entity-manager.ts:1961
↓ 1 callersMethodbuildForkSharedStateIdMap
( sourceIds: Set<string>, suffix: string )
packages/agents-server/src/entity-manager.ts:1869
↓ 1 callersMethodbuildForkStringMap
( entityUrlMap: Map<string, string>, sharedStateIdMap: Map<string, string> )
packages/agents-server/src/entity-manager.ts:1897
↓ 1 callersFunctionbuildFutureSendProducerId
(existing?: ScheduleManifest)
packages/agents-runtime/src/tools/schedules.ts:179
↓ 1 callersFunctionbuildGoalGuidance
(goal?: ActiveGoalPromptInfo)
packages/agents/src/agents/horton.ts:361
↓ 1 callersFunctionbuildInboxMessages
( inbox: Array<InboxRow> )
packages/agents-runtime/src/entity-timeline.ts:941
↓ 1 callersFunctionbuildIncludesRuns
(input: { runs: Array<RunRow> texts: Array<TextRow> textDeltas: Array<TextDeltaRow> toolCalls: Array<T
packages/agents-runtime/src/entity-timeline.ts:801
↓ 1 callersFunctionbuildPayload
(tx: Transaction)
examples/burn/assets/src/db/mutations.ts:33
↓ 1 callersFunctionbuildPublicJwk
( privateKey: KeyObject, kid: string | undefined )
packages/agents-server/src/webhook-signing.ts:136
↓ 1 callersFunctionbuildRecursiveMethodReport
(classInfo)
packages/typescript-client/bin/lib/shape-stream-static-analysis.mjs:743
↓ 1 callersFunctionbuildRoundedPath
(points: MeshPoint[], radius: number)
website/src/components/brand-toys/meshOfStreams.ts:656
↓ 1 callersFunctionbuildShapeProbeUrl
( sourceUrl: string, options: PgSyncOptions )
packages/agents-server/src/pg-sync-bridge-manager.ts:138
↓ 1 callersFunctionbuildSharedFieldReport
(classInfo)
packages/typescript-client/bin/lib/shape-stream-static-analysis.mjs:780
↓ 1 callersFunctionbuildSharedStateRef
(sharedStateId: string)
packages/agents-runtime/test/runtime-dsl.ts:810
↓ 1 callersFunctionbuildSharedStateTools
( shared: SharedStateHandle<SharedStateSchemaMap>, schema: SharedStateSchemaMap, mode: `full` | `write-o
packages/agents/src/agents/worker.ts:168
↓ 1 callersFunctionbuildSignalMessages
(signals: Array<SignalRow>)
packages/agents-runtime/src/entity-timeline.ts:974
↓ 1 callersFunctionbuildSingleFileTar
* Build a tar stream containing a single file at the given POSIX path * (path is interpreted relative to the archive root — dockerode's * `putArchiv
packages/agents-runtime/src/sandbox/docker/fs.ts:77
↓ 1 callersFunctionbuildSpawnableEntityTypesWhere
(options: { tenantId: string principalUrl: string principalKind: string permissionBypass?: boolean })
packages/agents-server/src/utils/server-utils.ts:407
↓ 1 callersFunctionbuildTagChangeEvent
(row: TagStreamOutboxRow)
packages/agents-server/src/tag-stream-outbox-drainer.ts:176
↓ 1 callersFunctionbuildTagsWhereClause
(tags: EntityTags)
packages/agents-server/src/entity-bridge-manager.ts:109
↓ 1 callersFunctionbuildTailPositionAwaitReport
* Finds `await this.#method()` calls in tail position of recursive methods. * A tail-position await parks the caller's stack frame until the callee r
packages/typescript-client/bin/lib/shape-stream-static-analysis.mjs:982
↓ 1 callersMethodbuildTenantContext
( request: Request )
packages/agents-server/src/server.ts:392
↓ 1 callersFunctionbuildTenantTagsWhereClause
( tenantId: string, tags: EntityTags, principalUrl?: string, principalKind?: string, permissionBypas
packages/agents-server/src/entity-bridge-manager.ts:123
↓ 1 callersFunctionbuildTextContentById
( textDeltas: Array<TextDeltaRow> )
packages/agents-runtime/src/entity-timeline.ts:786
↓ 1 callersFunctionbuildTimelineEntities
(input: { manifests: Array<ManifestRow> childStatuses: Array<ChildStatusRow> })
packages/agents-runtime/src/entity-timeline.ts:1012
↓ 1 callersFunctionbuildToolsForWorker
( tools: ReadonlyArray<WorkerToolName>, sandbox: Sandbox, ctx: HandlerContext, opts: { modelCatalo
packages/agents/src/agents/worker.ts:117
↓ 1 callersFunctionbuildUnboundedRetryReport
(sourceFile, classDecl, recursiveMethods)
packages/typescript-client/bin/lib/shape-stream-static-analysis.mjs:864
↓ 1 callersFunctionbuildUserSection
( msg: IncludesInboxMessage, isInitial: boolean )
packages/agents-runtime/src/use-chat.ts:238
↓ 1 callersMethodbuildWakeMessage
( subscriber: ElectricAgentsEntity, result: WakeEvalResult, sourceEntity: ElectricAgentsEntity | n
packages/agents-server/src/entity-manager.ts:3464
↓ 1 callersFunctionbuildWakeMessages
(wakes: Array<WakeRow>)
packages/agents-runtime/src/entity-timeline.ts:958
↓ 1 callersFunctionbuildWakeSection
(wake: IncludesWakeMessage)
packages/agents-runtime/src/use-chat.ts:357
↓ 1 callersFunctionbytesToBase64
(bytes: Uint8Array)
packages/agents-runtime/src/context-factory.ts:596
↓ 1 callersFunctionbytesWithTimestamp
( timestamp: number | string, body: Uint8Array | string )
packages/agents-server/src/webhook-signing.ts:100
↓ 1 callersFunctionbytesWithTimestamp
(timestamp: string, body: Uint8Array)
packages/agents-runtime/src/webhook-signature.ts:179
↓ 1 callersFunctionc1
(e,s,a)
website/public/demos/territory-wars/assets/index-CJXmzTYg.js:8
↓ 1 callersFunctioncA
(n)
website/public/demos/territory-wars/assets/index-CJXmzTYg.js:19
↓ 1 callersFunctioncM
(n,t,i)
website/public/demos/territory-wars/assets/index-CJXmzTYg.js:34
↓ 1 callersFunctioncO
(n,t,i)
website/public/demos/territory-wars/assets/index-CJXmzTYg.js:19
↓ 1 callersFunctioncacheControlForAgentUiFile
(filePath: string)
packages/agents-server/src/utils/server-utils.ts:40
↓ 1 callersFunctioncacheDecision
( hook: AuthorizeRequest, cacheKey: string, decision: Awaited<ReturnType<AuthorizeRequest>> )
packages/agents-server/src/permissions.ts:213
↓ 1 callersFunctioncacheKey
(hash: number, width: number)
packages/agents-server-ui/src/lib/markdownRenderCache.ts:39
↓ 1 callersFunctioncacheKey
(baseUrl: string, entityUrl: string)
packages/agents-server-ui/src/lib/entity-connection.ts:90
↓ 1 callersFunctioncacheTtlMs
(response: Response, configured?: number)
packages/agents-runtime/src/webhook-signature.ts:156
↓ 1 callersFunctioncaddyPlugin
(options: CaddyPluginOptions = {})
examples/tanstack-db-web-starter/src/vite-plugin-caddy.ts:13
↓ 1 callersFunctioncalculateWindow
( startIndex: number, stopIndex: number )
examples/linearlite/src/pages/List/index.tsx:11
↓ 1 callersFunctioncalculateWindow
( startIndex: number, stopIndex: number )
examples/linearlite/src/pages/Board/IssueCol.tsx:29
↓ 1 callersFunctioncanAutoInstall
()
packages/agents-desktop/src/app/updater.ts:148
↓ 1 callersFunctioncanRegisterEntityType
( ctx: TenantContext, input: Pick<RegisterEntityTypeRequest, `name`>, request?: Request )
packages/agents-server/src/permissions.ts:80
↓ 1 callersFunctioncancel
()
website/public/demos/territory-wars/assets/index-CJXmzTYg.js:24
↓ 1 callersMethodcancelGCTimer
()
website/public/demos/territory-wars/assets/index-CJXmzTYg.js:15
↓ 1 callersFunctioncanonicalBigintSafeStringify
(value: unknown)
packages/typescript-client/src/helpers.ts:94
↓ 1 callersFunctioncanonicalize
(value: unknown)
packages/typescript-client/src/helpers.ts:98
↓ 1 callersFunctioncanonicalizeHost
* Canonicalize a URL hostname for IP classification. Handles the encoded * literal forms an SSRF attempt reaches for: strips IPv6 brackets (Node's *
packages/agents-runtime/src/sandbox/docker/net-policy.ts:89
↓ 1 callersFunctioncaptureEnvApiKeys
(env: NodeJS.ProcessEnv)
packages/agents-desktop/src/credentials/api-keys.ts:16
↓ 1 callersFunctioncaptureOne
(page, target)
website/scripts/generate-og-images.mjs:182
↓ 1 callersMethodcapturePreSyncVisibleState
()
website/public/demos/territory-wars/assets/index-CJXmzTYg.js:15
↓ 1 callersFunctionchainAborter
* Chains an abort controller on an optional source signal's * aborted state - if the source signal is aborted, the provided abort * controller will
packages/typescript-client/src/fetch.ts:515
↓ 1 callersFunctionchained
(row: Record<string, unknown>)
packages/typescript-client/test/column-mapper.test.ts:418
↓ 1 callersFunctionchamferZShapes
* Replace Z-shapes (two same-direction segments separated by a short * perpendicular step) with a single 45° diagonal. This produces cleaner * routi
website/src/components/brand-toys/meshOfStreams.ts:575
↓ 1 callersFunctionchangedExamples
()
scripts/ci/example-matrix.mjs:196
↓ 1 callersMethodcheck
(key: string, now: number)
packages/typescript-client/test/pbt-micro.test.ts:469
↓ 1 callersMethodcheck
()
packages/agents-server-conformance-tests/src/electric-agents-dsl.ts:386
↓ 1 callersFunctioncheckAdditiveSchemaEvolution
* Spec R3 — Additive-only schema evolution: entity_type_schemas_amended events * must not remove or rename schema keys that existed in the prior regi
packages/agents-server-conformance-tests/src/electric-agents-dsl.ts:2113
↓ 1 callersFunctioncheckEntityContextOnWebhook
* Spec S6 — Safety: every webhook received while Electric Agents is enabled must contain * entity context (entity field in the payload). * Soundness
packages/agents-server-conformance-tests/src/electric-agents-dsl.ts:2008
↓ 1 callersFunctioncheckEntityTypeExistsBeforeSpawn
* Spec R1 — Structural: every entity_spawned must be preceded by an * entity_type_registered event for the matching entity type. * Soundness: Sound
packages/agents-server-conformance-tests/src/electric-agents-dsl.ts:2064
↓ 1 callersFunctioncheckFTSIndex
()
examples/linearlite/src/components/TopFilter.tsx:71
↓ 1 callersFunctioncheckForUpdates
(options: { triggeredManually: boolean })
packages/agents-desktop/src/app/updater.ts:264
↓ 1 callersFunctioncheckNoSendAfterKill
* Spec S3 — Safety: no successful send after kill. * Once an entity is killed, message_sent should not appear for it. * (send_rejected is fine — tha
packages/agents-server-conformance-tests/src/electric-agents-dsl.ts:1987
↓ 1 callersFunctioncheckNoSpawnAfterTypeDeleted
* Spec R6 — No spawn after type deleted: every entity_spawned event must not * be preceded by an entity_type_deleted event for the same type name (un
packages/agents-server-conformance-tests/src/electric-agents-dsl.ts:2185
↓ 1 callersFunctioncheckParentExists
* Spec R5 — Parent existence: if a spawned entity declares a parent, the * parent must have been spawned earlier in the trace and not yet killed. *
packages/agents-server-conformance-tests/src/electric-agents-dsl.ts:2161
↓ 1 callersFunctioncheckRegistryStreamConsistency
* Spec R4 — Registry stream consistency: every entity_spawned must refer to an * entity that has not already been killed, and stream URL must follow
packages/agents-server-conformance-tests/src/electric-agents-dsl.ts:2135
↓ 1 callersMethodcheckRunFinished
(sourceUrl: string, event: StreamAppendEvent)
packages/agents-server/src/routing/stream-append.ts:33
↓ 1 callersFunctioncheckSchemaValidationAtGates
* Spec R2 — Safety: schema rejection events must carry the correct error code. * All schema rejection events (spawn/send/write) must have code SCHEMA
packages/agents-server-conformance-tests/src/electric-agents-dsl.ts:2085
↓ 1 callersFunctioncheckSpawnPrecedesKill
* Spec S9 — Precedence: an entity must be spawned before it can be killed. * Soundness: Sound | Completeness: Complete (within trace)
packages/agents-server-conformance-tests/src/electric-agents-dsl.ts:1965
↓ 1 callersFunctioncheckSpawnPrecedesSend
* Spec S8 — Precedence: an entity must be spawned before messages can be sent to it. * ¬send W spawn — "spawn must happen before send" * Soundness:
packages/agents-server-conformance-tests/src/electric-agents-dsl.ts:1945
↓ 1 callersFunctioncheckStatusTransitionsValid
* Spec S4 — Safety: entity status transitions must be valid. * spawning → running is valid (at spawn time) * running/idle → killed is valid (at kill
packages/agents-server-conformance-tests/src/electric-agents-dsl.ts:2039
↓ 1 callersFunctioncheckStreamPathsMatchEntityUrl
* Spec S5 — Structural: stream path must match {entity.url}/main. * Soundness: Sound | Completeness: Complete (within trace)
packages/agents-server-conformance-tests/src/electric-agents-dsl.ts:2024
↓ 1 callersMethodcheckTruncateRefetchComplete
()
website/public/demos/territory-wars/assets/index-CJXmzTYg.js:15
← previousnext →3,601–3,700 of 8,170, ranked by callers