MCPcopy Create free account

hub / github.com/langchain-ai/langgraphjs / functions

Functions4,051 in github.com/langchain-ai/langgraphjs

↓ 4 callersFunctionvaluesProjection
( namespace: readonly string[], messagesKey: string = "messages" )
libs/sdk/src/stream/projections/values.ts:24
↓ 4 callersFunctionvideoProjection
( namespace: readonly string[], options?: MediaProjectionOptions )
libs/sdk/src/stream/projections/media.ts:151
↓ 4 callersFunctionwithStore
( mode: IDBTransactionMode, run: (store: IDBObjectStore) => IDBRequest<T> )
examples/ui-react/src/tools/implementation.ts:39
↓ 3 callersMethod#commit
()
libs/sdk/src/stream/discovery/subgraphs.ts:301
↓ 3 callersMethod#detachSocket
(socket: WebSocket)
libs/sdk/src/client/stream/transport/websocket.ts:310
↓ 3 callersMethod#ensureShadow
( id: string, namespace: readonly string[], nodeName: string )
libs/sdk/src/stream/discovery/subgraphs.ts:281
↓ 3 callersMethod#ensureThread
* Return the active thread stream, creating and binding one when needed. * * @param threadId - Thread id used when constructing the stream. *
libs/sdk/src/stream/controller.ts:1567
↓ 3 callersMethod#fetchHistoryForThread
(threadId: string | undefined)
libs/sdk/src/ui/orchestrator.ts:304
↓ 3 callersMethod#flushSlot
* Finish or fail every media handle currently active under the * given `(namespace, node)` slot and clear its bookkeeping. Called * on `message-
libs/sdk/src/client/stream/media.ts:955
↓ 3 callersMethod#mutate
( mutateId?: string )
libs/sdk/src/ui/orchestrator.ts:340
↓ 3 callersMethod#recordTaskNamespaceCandidate
( toolCallId: string, namespace: readonly string[] )
libs/sdk/src/stream/discovery/subagents.ts:350
↓ 3 callersMethod#rejectUncoveredPending
* Reject pending `subscribe()` promises whose filter isn't covered * by the existing stream (they're the ones that triggered the * failed rotati
libs/sdk/src/client/stream/index.ts:2062
↓ 3 callersMethod#scheduleReconcile
* Schedule a stream reconciliation for the next microtask. * * Coalesces multiple subscribe/unsubscribe calls in the same tick * into a singl
libs/sdk/src/client/stream/index.ts:1878
↓ 3 callersMethod#settleOptimistic
* Reconcile optimistic state when a run terminates. * * - Messages: any echoed id still `"pending"` (never echoed by the * server) is f
libs/sdk/src/stream/controller.ts:2153
↓ 3 callersMethod#startLifecycleWatcher
* Lazily open the wildcard discovery watcher stream. * * Idempotent. Used by both transports, but through different * mechanisms: * *
libs/sdk/src/client/stream/index.ts:1440
↓ 3 callersMethod#startProjection
( channels: Channel[], onEvent: (event: Event) => void, onDone: () => void )
libs/sdk/src/client/stream/handles/subagents.ts:232
↓ 3 callersMethod#teardownThread
* Close the current thread stream and reset per-thread assembly state.
libs/sdk/src/stream/controller.ts:1633
↓ 3 callersMethod#upsertTaskToolCall
( toolCallId: string, input: { description?: string; subagent_type?: string }, eventNamespace: rea
libs/sdk/src/stream/discovery/subagents.ts:243
↓ 3 callersMethod#wake
()
libs/langgraph-core/src/stream/stream-channel.ts:254
↓ 3 callersFunction$
(strings)
libs/langgraph-cli/scripts/build.mjs:3
↓ 3 callersFunction$
(strings)
libs/langgraph-ui/scripts/build.mjs:3
↓ 3 callersMethod_checkpointToConfig
( checkpoint?: Partial<Checkpoint> | null, fallbackConfig?: RunnableConfig )
libs/langgraph-core/src/pregel/remote.ts:379
↓ 3 callersMethod_defaults
* Gets the default values for various graph configuration options. * This is an internal method used to process and normalize configuration options
libs/langgraph-core/src/pregel/index.ts:1833
↓ 3 callersMethod_emitValuesWithCheckpointMeta
* Emit stream entries. When checkpoint meta is available, push a lightweight * ``[namespace, "checkpoints", envelope]`` chunk before each ``values`
libs/langgraph-core/src/pregel/loop.ts:1685
↓ 3 callersFunction_extractCheckpointFromConfig
( config: RunnableConfig | null | undefined )
libs/langgraph-core/src/pregel/stream.ts:339
↓ 3 callersFunction_isChannelWriteTupleEntry
(x: unknown)
libs/langgraph-core/src/pregel/write.ts:180
↓ 3 callersFunction_isRunnableConfig
( config: unknown )
libs/langgraph-core/src/pregel/stream.ts:328
↓ 3 callersFunction_isSendInterface
(x: unknown)
libs/langgraph-core/src/constants.ts:185
↓ 3 callersMethod_migratePendingSends
@internal
libs/checkpoint/src/memory.ts:125
↓ 3 callersMethod_model
()
libs/langgraph-core/src/tests/utils.models.ts:281
↓ 3 callersFunction_prepareSingleTask
( taskPath: TaskPath, checkpoint: ReadonlyCheckpoint, pendingWrites: CheckpointPendingWrite[] | undefine
libs/langgraph-core/src/pregel/algo.ts:687
↓ 3 callersFunction_simpleBindTools
( llm: LanguageModelLike, toolClasses: (ClientTool | ServerTool)[] )
libs/langgraph-core/src/prebuilt/react_agent_executor.ts:310
↓ 3 callersMethodabortActiveRun
* Abort the current run without forcing the loading flag down. * * Used by {@link StreamController.dispose}: disposal already tears * down th
libs/sdk/src/stream/submit-coordinator.ts:673
↓ 3 callersMethodabsorbBlock
Absorb `mime_type` / per-type extras carried on an incoming block.
libs/sdk/src/client/stream/media.ts:305
↓ 3 callersFunctionadd
({ input, total }: typeof GraphAnnotation.State)
libs/langgraph-core/src/tests/pregel.test.ts:4537
↓ 3 callersMethodaddNode
( ...args: | [ key: K, action: NodeAction< NodeInput, No
libs/langgraph-core/src/graph/state.ts:1060
↓ 3 callersMethodaddNode
( _name: K, _fn: (state: TState) => Promise<TReturn> )
libs/sdk/src/tests/fixtures/langgraph-mocks.ts:56
↓ 3 callersFunctionapplyCollectors
( history: AnyCheckpoint[], targets: Set<string>, out: Map<string, string>, messagesKey: string )
libs/sdk/src/stream/discovery/namespace-from-history.ts:164
↓ 3 callersMethodapplyTTL
(...keys: string[])
libs/checkpoint-redis/src/shallow.ts:594
↓ 3 callersMethodattachBranch
( start: N | typeof START, _: string, branch: Branch<S, N>, options: { withReader?: boolean }
libs/langgraph-core/src/graph/state.ts:1997
↓ 3 callersMethodbatch
( operations: Op )
libs/checkpoint/src/tests/store.test.ts:19
↓ 3 callersFunctionbuild
( index: number, kind: string, label: string, detail: string, raw: unknown )
examples/ui-react/src/views/shared.ts:92
↓ 3 callersFunctionbuildGraph
(snapshotFrequency: number)
libs/langgraph-core/src/tests/delta_channel.test.ts:537
↓ 3 callersFunctionbuildPendingWrites
( count: number )
libs/langgraph-core/src/pregel/algo.test.ts:8
↓ 3 callersFunctionbuildResumeRunInput
( resume: unknown, interrupts: readonly ProtocolInterruptEntry[], resolvedInterruptIds: ReadonlySet<stri
libs/sdk/src/headless-tools.ts:344
↓ 3 callersFunctionbusyWait
Block the event loop synchronously for ~`ms` (simulates a CPU-bound node).
libs/langgraph-core/src/tests/timeout.test.ts:26
↓ 3 callersMethodcheckMetadataFilterMatch
( metadata: any, filter: CheckpointMetadata )
libs/checkpoint-redis/src/shallow.ts:650
↓ 3 callersFunctioncheckpointNsToSegments
(checkpointNs: unknown)
libs/sdk/src/stream/discovery/namespace-from-history.ts:268
↓ 3 callersFunctioncheckpointsEvent
(step: number, seq: number, id = `cp-${step}`)
libs/sdk/src/stream/controller.test.ts:129
↓ 3 callersMethodclear
()
libs/sdk-angular/src/selectors-queue.ts:38
↓ 3 callersMethodclose
* Abort all outstanding handles with a `stream-closed` error. * Called when the upstream event source terminates before the * messages it was as
libs/sdk/src/client/stream/media.ts:979
↓ 3 callersMethodcloseRecord
(record: StreamRecord)
libs/sdk-vue/src/tests/stream.custom-adapter.test.tsx:176
↓ 3 callersFunctioncollectRunCheckpoints
* Open a fresh subscription on the given thread, collect every * root-namespace ``ValuesCheckpoint`` envelope that rides on a * ``values`` event, an
examples/streaming/src/api/time-travel.ts:73
↓ 3 callersFunctionconditionalMap
(map: Record<string, T | null>)
libs/langgraph-core/src/prebuilt/react_agent_executor.ts:872
↓ 3 callersMethodconsume
* Folds a single event and returns a new {@link StreamingMessage} * when a `message-start` is seen, or `undefined` for continuation * events (de
libs/sdk/src/client/stream/messages.ts:924
↓ 3 callersFunctioncoreContentBlockFromDelta
( delta: CoreContentBlockDelta, current?: CoreContentBlock )
libs/sdk/src/client/stream/messages.ts:69
↓ 3 callersMethodcount
* Count cron jobs matching filters. * * @param query.assistantId Assistant ID to filter by. * @param query.threadId Thread ID to filter by.
libs/sdk/src/client/crons/index.ts:223
↓ 3 callersMethodcreateCheckpointTuple
( jsonDoc: any, checkpoint: Checkpoint, pendingWrites?: Array<[string, string, any]> )
libs/checkpoint-redis/src/shallow.ts:559
↓ 3 callersFunctioncreateCua
({ scrapybaraApiKey, timeoutHours = 1.0, zdrEnabled = false, recursionLimit = 100, authStateId, en
libs/langgraph-cua/src/index.ts:153
↓ 3 callersFunctioncreateMockClient
()
libs/sdk/src/react/stream.lgp.test.tsx:8
↓ 3 callersFunctioncreateMockFetch
()
libs/sdk/src/client/crons/index.test.ts:7
↓ 3 callersMethoddeleteThread
()
libs/checkpoint/src/tests/checkpoints.test.ts:123
↓ 3 callersMethoddisconnect
* Disconnect the client without cancelling the run server-side. * Alias for `stop({ cancel: false })`.
libs/sdk/src/stream/controller.ts:1119
↓ 3 callersMethoddispatch
(type: string, event: Event)
libs/sdk/src/client/stream/transport/websocket.test.ts:89
↓ 3 callersMethodembedQuery
(text: string)
libs/checkpoint-postgres/src/store/modules/types.ts:10
↓ 3 callersFunctionemit
(event: Event)
libs/sdk/src/stream/projections/media.test.ts:19
↓ 3 callersFunctionemptyAsyncIterable
()
libs/langgraph-core/src/tests/remote.test.ts:887
↓ 3 callersMethodenqueueOperation
( type: Type, ...args: Parameters<(typeof this.cache)[Type]> )
libs/langgraph-core/src/pregel/loop.ts:266
↓ 3 callersMethodensureReader
()
libs/sdk/src/utils/stream.ts:349
↓ 3 callersMethodexecutePut
( client: pg.PoolClient, operation: PutOperation & { options?: PutOptions } )
libs/checkpoint-postgres/src/store/modules/crud-operations.ts:57
↓ 3 callersFunctionextractToolCallIdFromNamespace
( namespace: string[] | undefined )
libs/sdk/src/ui/subagents.ts:54
↓ 3 callersMethodfetchSubagentHistory
* Fetch and restore internal messages for reconstructed subagents from their * subgraph checkpoints. Should be called after `reconstructSubagents`
libs/sdk/src/ui/manager.ts:314
↓ 3 callersFunctionfinish
()
examples/streaming/src/api/multi-namespace.ts:53
↓ 3 callersFunctionfinish
()
examples/streaming/src/api/hot-subscribe.ts:43
↓ 3 callersFunctionfinish
()
examples/streaming/src/api/channels.ts:78
↓ 3 callersFunctionfinish
()
examples/streaming/src/api/depth-matrix.ts:64
↓ 3 callersFunctionflush
(times = 3)
libs/sdk/src/stream/submit-coordinator.test.ts:254
↓ 3 callersFunctionflushPendingPcm
()
libs/sdk-svelte/src/use-audio-player.svelte.ts:502
↓ 3 callersFunctionfmt
(c: ValuesCheckpoint)
examples/streaming/src/api/time-travel.ts:105
↓ 3 callersFunctionformatDuration
(ms: number)
examples/ui-react/src/components/TimelineRow.tsx:138
↓ 3 callersFunctiongatherIterator
( i: | AsyncIterable<T> | Promise<AsyncIterable<T>> | Iterable<T> | Promise<Iterable<T>> )
internal/bench/src/utils.ts:174
↓ 3 callersMethodgenerateQueryEmbedding
(text: string)
libs/checkpoint-postgres/src/store/modules/vector-operations.ts:90
↓ 3 callersMethodget
* Retrieves the metadata associated with a given schema. * @template TValue The value type of the schema. * @template TUpdate The update type of
libs/langgraph-core/src/graph/zod/meta.ts:103
↓ 3 callersFunctiongetChannel
( reducer: SingleReducer<V, U> )
libs/langgraph-core/src/graph/annotation.ts:174
↓ 3 callersFunctiongetConfig
()
libs/langgraph-core/src/pregel/utils/config.ts:337
↓ 3 callersFunctiongetConfigTypeSchema
( graph: unknown, registry: SchemaMetaRegistry = schemaMetaRegistry )
libs/langgraph-core/src/graph/zod/schema.ts:173
↓ 3 callersMethodgetMessagesForSubagent
* Get messages for a subagent with proper chunk concatenation. * This mirrors how the main stream handles messages.
libs/sdk/src/ui/subagents.ts:220
↓ 3 callersMethodgetMessagesMetadata
* Look up metadata for a specific message, merging stream-time metadata * with history-derived metadata. * * @param message - The message to
libs/sdk/src/ui/orchestrator.ts:636
↓ 3 callersFunctiongetMigrations
(schema: string)
libs/checkpoint-postgres/src/migrations.ts:7
↓ 3 callersMethodgetNextVersion
()
libs/langgraph-core/src/tests/pregel.test.ts:251
↓ 3 callersFunctiongetNullChannelVersion
(currentVersions: ChannelVersions)
libs/langgraph-core/src/pregel/utils/index.ts:9
↓ 3 callersFunctiongetPreviousState
()
libs/langgraph-core/src/func/index.ts:489
↓ 3 callersFunctiongetReservation
(userId: string)
libs/langgraph-swarm/examples/customerSupport.ts:16
↓ 3 callersFunctiongetRunMetadataFromResponse
( response: Response )
libs/sdk/src/client/base.ts:479
↓ 3 callersFunctiongetSQLStatements
(schema: string)
libs/checkpoint-postgres/src/sql.ts:59
↓ 3 callersFunctiongetScrapybaraClient
(apiKey: string)
libs/langgraph-cua/src/utils.ts:19
↓ 3 callersMethodgetSubgraphs
@deprecated Use getSubgraphsAsync instead. The async method will become the default in the next minor release.
libs/langgraph-core/src/pregel/types.ts:414
↓ 3 callersMethodgetThread
* Returns the bound {@link ThreadStream}, if one exists. Prefer * {@link StreamController.rootStore} and selector projections for * UI work; use
libs/sdk/src/stream/controller.ts:1489
↓ 3 callersFunctiongetToolCallId
(message: BaseMessage)
examples/ui-react/src/components/cards/toolCalls.ts:16
↓ 3 callersMethodgetToolCallIdFromNamespace
* Get the tool call ID for a given namespace ID. * Returns the namespace ID itself if no mapping exists.
libs/sdk/src/ui/subagents.ts:307
← previousnext →801–900 of 4,051, ranked by callers