@adriane-ai/graph-sdk 0.1.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +164 -7
- package/dist/index.js +326 -17
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1803,11 +1803,24 @@ type CompiledGraphParts = {
|
|
|
1803
1803
|
* graphs with no component nodes.
|
|
1804
1804
|
*/
|
|
1805
1805
|
componentConfigs?: Map<string, RustComponentConfig>;
|
|
1806
|
+
/**
|
|
1807
|
+
* Child graphs that `subgraph`-type nodes resolve into (their node handlers /
|
|
1808
|
+
* conditions / agent / component configs are already merged into the maps above, by
|
|
1809
|
+
* global node id). Carried to the Rust engine as `EngineSpec.subgraphs` and to the TS
|
|
1810
|
+
* engine as a `subgraphResolver`. Empty for graphs with no subgraph nodes.
|
|
1811
|
+
*/
|
|
1812
|
+
subgraphs?: GraphDefinition[];
|
|
1806
1813
|
};
|
|
1807
1814
|
/** Options accepted by {@link CompiledGraph.run} / {@link CompiledGraph.stream}. */
|
|
1808
1815
|
type RunOptions = {
|
|
1809
1816
|
/** Provide a stable run id (e.g. to correlate with an external system). */
|
|
1810
1817
|
runId?: RunId;
|
|
1818
|
+
/**
|
|
1819
|
+
* Pre-queue dynamic-message inputs (`send`) before the run: per node id, a FIFO list
|
|
1820
|
+
* each consumed by that node's next execution via the reserved `__injected` channel
|
|
1821
|
+
* (read it with {@link import("./send.js").readInjected}). The map-reduce seam.
|
|
1822
|
+
*/
|
|
1823
|
+
inbox?: Record<string, unknown[]>;
|
|
1811
1824
|
};
|
|
1812
1825
|
/**
|
|
1813
1826
|
* A validated, runnable graph. Holds the engine wiring (registries, checkpointer,
|
|
@@ -1906,6 +1919,17 @@ declare class CompiledGraph<TState extends ChannelValues = ChannelValues> {
|
|
|
1906
1919
|
* tools; this is the human seam.
|
|
1907
1920
|
*/
|
|
1908
1921
|
approveAndResume(runId: RunId, options: ApproveAndResumeOptions): Promise<TypedGraphState<TState>>;
|
|
1922
|
+
/**
|
|
1923
|
+
* Deliver an external signal to a run suspended on a `waitForSignal` node, then
|
|
1924
|
+
* resume it: the payload is injected into the `__signals` channel under `name` and
|
|
1925
|
+
* the run advances past the waiting node. The seam a control plane uses to wake a
|
|
1926
|
+
* run on an external event (a webhook, a message, an approval-out-of-band).
|
|
1927
|
+
*
|
|
1928
|
+
* Durable timers + external signals run on the **Rust engine** (the production
|
|
1929
|
+
* runtime); the in-process TypeScript fallback does not model them, so this throws
|
|
1930
|
+
* on the TS path. Run with the native addon (or `ADRIANE_SDK_ENGINE=rust`).
|
|
1931
|
+
*/
|
|
1932
|
+
signal(runId: RunId, name: string, payload?: unknown): Promise<TypedGraphState<TState>>;
|
|
1909
1933
|
/**
|
|
1910
1934
|
* Project granted tool names into the wire shape the Rust engine validates: each
|
|
1911
1935
|
* tool carries the principal that requested it (the owning agent node) and the
|
|
@@ -1924,13 +1948,30 @@ declare class CompiledGraph<TState extends ChannelValues = ChannelValues> {
|
|
|
1924
1948
|
private approvePendingThroughEngines;
|
|
1925
1949
|
/**
|
|
1926
1950
|
* Stream events as the graph executes. See {@link StreamMode} for the available
|
|
1927
|
-
* shapes.
|
|
1928
|
-
*
|
|
1929
|
-
*
|
|
1951
|
+
* shapes. On the TS engine all four modes stream natively. On the **Rust engine** the
|
|
1952
|
+
* modes are projected — incrementally — over the run-event feed that already crosses
|
|
1953
|
+
* napi:
|
|
1954
|
+
* - `updates` — a `state_update` per node completion (`delta` = the node's output).
|
|
1955
|
+
* - `values` — a full `state_value` per node completion, accumulated by replaying the
|
|
1956
|
+
* node deltas through the channel reducers (the SDK mirrors the engine's reducers),
|
|
1957
|
+
* plus a final authoritative `state_value` from the resolved run.
|
|
1958
|
+
* - `messages` — a `message_delta` per new entry appended to the `messages` channel
|
|
1959
|
+
* (message-level; token-level deltas need gateway token streaming — still deferred).
|
|
1960
|
+
* - `debug` — every run-lifecycle event wrapped as a `debug` payload.
|
|
1930
1961
|
*/
|
|
1931
1962
|
stream(initialData: InitialData<TState>, mode: StreamMode, options?: RunOptions): AsyncIterable<StreamEvent>;
|
|
1932
|
-
/**
|
|
1963
|
+
/** Seed a running channel map from the graph's channel defaults + the run's input. */
|
|
1964
|
+
private seedChannels;
|
|
1965
|
+
/** Apply a node delta to the running channels via the declared reducers (engine parity). */
|
|
1966
|
+
private applyDelta;
|
|
1967
|
+
/**
|
|
1968
|
+
* Drive the Rust run and project its forwarded run-event feed into {@link StreamEvent}s,
|
|
1969
|
+
* incrementally for every mode. Events arrive via the runner's subscriber while the run
|
|
1970
|
+
* promise is in flight; a small wake/queue interleaves them with the run's completion.
|
|
1971
|
+
*/
|
|
1933
1972
|
private streamViaRust;
|
|
1973
|
+
/** A channels-only synthetic GraphState for a `values` stream step. */
|
|
1974
|
+
private syntheticState;
|
|
1934
1975
|
/** Subscribe to the run-event lifecycle stream. Returns an unsubscribe function. */
|
|
1935
1976
|
onEvent(handler: (event: RunEvent) => void): () => void;
|
|
1936
1977
|
/**
|
|
@@ -2022,6 +2063,8 @@ declare class GraphBuilder<TState extends ChannelValues = EmptyChannels> {
|
|
|
2022
2063
|
private readonly agentApprovals;
|
|
2023
2064
|
/** Per component node, the `{ kind, params }` carrier the Rust engine bridge needs. */
|
|
2024
2065
|
private readonly componentConfigs;
|
|
2066
|
+
/** Child graphs registered as `subgraph` nodes, keyed by their (global) graph id. */
|
|
2067
|
+
private readonly subgraphDefs;
|
|
2025
2068
|
private entryNodeId;
|
|
2026
2069
|
constructor(options: CreateGraphOptions);
|
|
2027
2070
|
/** Reinterpret `this` under a wider channel type after declaring a new channel. */
|
|
@@ -2083,6 +2126,50 @@ declare class GraphBuilder<TState extends ChannelValues = EmptyChannels> {
|
|
|
2083
2126
|
component(id: string, descriptor: ComponentDescriptor, options?: {
|
|
2084
2127
|
label?: string;
|
|
2085
2128
|
}): this;
|
|
2129
|
+
/**
|
|
2130
|
+
* Add a **subgraph node**: nest another graph (built with its own
|
|
2131
|
+
* {@link GraphBuilder}) as a single node. On entry the parent's channels are
|
|
2132
|
+
* projected into the child via `inputMapping` (`childKey → parentKey`; omit to copy
|
|
2133
|
+
* all parent channels); on completion the child's channels are merged back via
|
|
2134
|
+
* `outputMapping` (`parentKey → childKey`; omit to spread all child channels onto
|
|
2135
|
+
* the parent). If the child suspends (e.g. an internal human gate), the parent
|
|
2136
|
+
* suspends at this node and a parent `resume` re-attaches to the child.
|
|
2137
|
+
*
|
|
2138
|
+
* The child's wiring (node handlers, conditions, agent/component configs) is merged
|
|
2139
|
+
* into the parent — child runs share the parent's registries, keyed by GLOBAL node
|
|
2140
|
+
* id — so child node ids must not collide with the parent's. Declare on the parent
|
|
2141
|
+
* any channels the `outputMapping` writes into.
|
|
2142
|
+
*
|
|
2143
|
+
* ```ts
|
|
2144
|
+
* const child = createGraph({ name: "double", id: "double" })
|
|
2145
|
+
* .channel("in", { type: "number", default: 0 })
|
|
2146
|
+
* .channel("out", { type: "number", default: 0 })
|
|
2147
|
+
* .node("calc", (s) => ({ out: (s.in as number) * 2 }));
|
|
2148
|
+
* createGraph({ name: "parent" })
|
|
2149
|
+
* .channel("x", { type: "number", default: 21 })
|
|
2150
|
+
* .channel("y", { type: "number", default: 0 })
|
|
2151
|
+
* .subgraph("sub", child, { inputMapping: { in: "x" }, outputMapping: { y: "out" } });
|
|
2152
|
+
* ```
|
|
2153
|
+
*/
|
|
2154
|
+
subgraph<TChild extends ChannelValues>(id: string, child: GraphBuilder<TChild>, options?: {
|
|
2155
|
+
inputMapping?: Record<string, string>;
|
|
2156
|
+
outputMapping?: Record<string, string>;
|
|
2157
|
+
label?: string;
|
|
2158
|
+
}): this;
|
|
2159
|
+
/**
|
|
2160
|
+
* @internal Extract this builder's wiring so it can be nested as a subgraph by a
|
|
2161
|
+
* parent {@link GraphBuilder.subgraph}. Returns live maps (the parent merges them);
|
|
2162
|
+
* not part of the public authoring API.
|
|
2163
|
+
*/
|
|
2164
|
+
toSubgraphParts(): {
|
|
2165
|
+
definition: GraphDefinition;
|
|
2166
|
+
handlers: Map<string, NodeHandler>;
|
|
2167
|
+
conditions: Map<string, ConditionFn>;
|
|
2168
|
+
agentConfigs: Map<string, RustAgentConfig>;
|
|
2169
|
+
agentApprovals: Map<string, AgentApprovalBinding>;
|
|
2170
|
+
componentConfigs: Map<string, RustComponentConfig>;
|
|
2171
|
+
subgraphDefs: Map<string, GraphDefinition>;
|
|
2172
|
+
};
|
|
2086
2173
|
/** Add an unconditional edge from one node to another. */
|
|
2087
2174
|
edge(from: string, to: string): this;
|
|
2088
2175
|
/**
|
|
@@ -2101,6 +2188,76 @@ declare class GraphBuilder<TState extends ChannelValues = EmptyChannels> {
|
|
|
2101
2188
|
/** Entry point: start building a graph. */
|
|
2102
2189
|
declare const createGraph: (options: CreateGraphOptions) => GraphBuilder<EmptyChannels>;
|
|
2103
2190
|
|
|
2191
|
+
/**
|
|
2192
|
+
* Durable-timer / external-signal helpers for node handlers (ADR 0009). A node handler
|
|
2193
|
+
* returns one of these to make the run SUSPEND after applying its channel update:
|
|
2194
|
+
* - {@link sleepUntil} — a durable timer: the run waits until an external scheduler
|
|
2195
|
+
* resumes it at `wakeAt` (the engine never sleeps — `wakeAt` is opaque data).
|
|
2196
|
+
* - {@link waitForSignal} — wait for a named external signal delivered via
|
|
2197
|
+
* {@link import("./compiled-graph.js").CompiledGraph.signal}; optionally with a
|
|
2198
|
+
* timeout `wakeAt` (signal-or-timeout).
|
|
2199
|
+
*
|
|
2200
|
+
* Both are reserved-key markers the Rust engine recognises across the napi seam; they
|
|
2201
|
+
* run on the Rust engine (the production runtime), not the TypeScript dev fallback.
|
|
2202
|
+
*/
|
|
2203
|
+
/** Reserved handler-return key requesting a durable-timer suspension. */
|
|
2204
|
+
declare const SLEEP_UNTIL_KEY = "__sleepUntil";
|
|
2205
|
+
/** Reserved handler-return key requesting a signal-wait suspension. */
|
|
2206
|
+
declare const WAIT_FOR_SIGNAL_KEY = "__waitForSignal";
|
|
2207
|
+
/** Channel key carrying the suspend reason + scheduler hints on a suspended run. */
|
|
2208
|
+
declare const SUSPEND_META_KEY = "__suspend";
|
|
2209
|
+
/** Channel key carrying delivered signal payloads, keyed by signal name. */
|
|
2210
|
+
declare const SIGNALS_KEY = "__signals";
|
|
2211
|
+
/** Why a run is suspended, with any timer / signal scheduler hints. */
|
|
2212
|
+
type SuspendMeta = {
|
|
2213
|
+
/** `"human-gate" | "interrupt" | "timer" | "signal"`. */
|
|
2214
|
+
reason: string;
|
|
2215
|
+
/** For a durable timer (or signal-or-timeout): when to resume. Opaque to the engine. */
|
|
2216
|
+
wakeAt?: string;
|
|
2217
|
+
/** For a signal wait: the signal name a `signal(...)` must deliver. */
|
|
2218
|
+
awaitingSignal?: string;
|
|
2219
|
+
};
|
|
2220
|
+
/**
|
|
2221
|
+
* Node-handler return: suspend as a **durable timer** until `wakeAt`, applying `update`
|
|
2222
|
+
* to the channels first. `wakeAt` is an opaque deadline (e.g. ISO-8601) — the engine
|
|
2223
|
+
* stores it and never reads a clock; the control-plane scheduler resumes the run then.
|
|
2224
|
+
* On resume the run advances past this node.
|
|
2225
|
+
*/
|
|
2226
|
+
declare const sleepUntil: (wakeAt: string, update?: Record<string, unknown>) => Record<string, unknown>;
|
|
2227
|
+
/**
|
|
2228
|
+
* Node-handler return: suspend awaiting the external signal `name`, applying `update`
|
|
2229
|
+
* first. Deliver it with {@link import("./compiled-graph.js").CompiledGraph.signal};
|
|
2230
|
+
* the payload lands in `__signals[name]`. Pass `wakeAt` for a signal-OR-timeout (the
|
|
2231
|
+
* run also wakes at `wakeAt` if the signal never arrives).
|
|
2232
|
+
*/
|
|
2233
|
+
declare const waitForSignal: (name: string, options?: {
|
|
2234
|
+
wakeAt?: string;
|
|
2235
|
+
update?: Record<string, unknown>;
|
|
2236
|
+
}) => Record<string, unknown>;
|
|
2237
|
+
/**
|
|
2238
|
+
* Read the suspend metadata off a (suspended) run state — the control-plane scheduler
|
|
2239
|
+
* uses `wakeAt` to know when to resume a timer and `awaitingSignal` to route a signal.
|
|
2240
|
+
* Returns `undefined` when the run is not suspended on a timer / signal.
|
|
2241
|
+
*/
|
|
2242
|
+
declare const readSuspendMeta: (state: Pick<GraphState, "channels">) => SuspendMeta | undefined;
|
|
2243
|
+
/** Read a delivered signal's payload from a run state's `__signals` channel. */
|
|
2244
|
+
declare const readSignal: (state: Pick<GraphState, "channels">, name: string) => unknown;
|
|
2245
|
+
|
|
2246
|
+
/**
|
|
2247
|
+
* Dynamic-message (`send`) helpers. Pre-queue inputs for a node via
|
|
2248
|
+
* {@link import("./compiled-graph.js").RunOptions.inbox}; each node execution consumes
|
|
2249
|
+
* the next queued input, exposed under the reserved `__injected` channel. A node handler
|
|
2250
|
+
* reads it with {@link readInjected}. The map-reduce / dynamic-dispatch seam.
|
|
2251
|
+
*/
|
|
2252
|
+
/** Reserved channel exposing a `send`-injected input to a node handler (per execution). */
|
|
2253
|
+
declare const INJECTED_KEY = "__injected";
|
|
2254
|
+
/**
|
|
2255
|
+
* Read the `send`-injected input from a node's state, if the node consumed a queued
|
|
2256
|
+
* input this execution; `undefined` otherwise. The value is visible to the handler only
|
|
2257
|
+
* and is never persisted into the run's channels.
|
|
2258
|
+
*/
|
|
2259
|
+
declare const readInjected: (state: Pick<GraphState, "channels">) => unknown;
|
|
2260
|
+
|
|
2104
2261
|
/**
|
|
2105
2262
|
* Canonical example graphs authored with the SDK. Shipped so the Studio can render
|
|
2106
2263
|
* them and the control plane can seed them — one source of truth for both. Only the
|
|
@@ -2583,7 +2740,7 @@ type ApprovedToolWire = {
|
|
|
2583
2740
|
* - an AGENT node carries `node.metadata.agent = { provider?, model?, tier?, system?,
|
|
2584
2741
|
* toolNames?, maxIterations?, suspendForApproval?, approvalToolNames?, outputChannel? }`
|
|
2585
2742
|
*
|
|
2586
|
-
* This is the seam
|
|
2743
|
+
* This is the seam the control plane (`apps/api`) uses to EXECUTE a graph built from
|
|
2587
2744
|
* the catalog: it reads each node's metadata, assembles the engine's
|
|
2588
2745
|
* `EngineSpec.componentNodes` + `agents` maps + the `jsNodeIds` for plain
|
|
2589
2746
|
* action/tool nodes, and drives the run on the **Rust engine** via `@adriane-ai/napi`.
|
|
@@ -2671,7 +2828,7 @@ declare const resumeCatalogGraph: (definition: GraphDefinition, state: GraphStat
|
|
|
2671
2828
|
* Human-granted tools to unlock on resume, each carrying its `{ name, requestedBy,
|
|
2672
2829
|
* resolvedBy }` provenance. Passed straight through to the Rust bridge, which
|
|
2673
2830
|
* re-validates the no-self-approval invariant per tool on `Entry::Resume` and writes
|
|
2674
|
-
* only the validated names into `__approvedTools`.
|
|
2831
|
+
* only the validated names into `__approvedTools`. The control plane (`apps/api`)
|
|
2675
2832
|
* is the authority on which tools were approved (drawn from the ApprovalEngine), but
|
|
2676
2833
|
* the engine re-checks the provenance here — defence in depth on the PRODUCTION
|
|
2677
2834
|
* resume path. Omitted/empty: an ordinary resume that unlocks no tools.
|
|
@@ -2681,4 +2838,4 @@ declare const resumeCatalogGraph: (definition: GraphDefinition, state: GraphStat
|
|
|
2681
2838
|
/** Type guard a node carries either catalog carrier. Useful to decide the run path. */
|
|
2682
2839
|
declare const isCatalogGraph: (definition: GraphDefinition) => boolean;
|
|
2683
2840
|
|
|
2684
|
-
export { AGENT_APPROVAL_INTERRUPT, type AIMessage, APPROVAL_IDS_CHANNEL, APPROVED_TOOLS_CHANNEL, AdrianeSdkError, type AgentApprovalBinding, type AgentCarrier, type AgentNodeConfig, type AgentPromptSource, type AgentResult, type AnswerBuilderParams, AnthropicProviderAdapter, type ApproveAndResumeOptions, type ApprovedToolWire, type Bm25RetrieverParams, type CatalogRunOutcome, type ChannelInput, type ChannelReducer, type ChannelUpdate, type ChannelValues, type ChatMessageBuilderParams, type ChatMessageSpec, type Command, CompiledGraph, type CompiledGraphParts, type ComponentCarrier, type ComponentCatalogEntry, type ComponentCategory, type ComponentDescriptor, type ComponentKind, type ComponentParamMeta, type ConditionFn, type ConditionalRouterBranch, type ConditionalRouterParams, type CreateEmbeddingsOptions, type CreateGraphOptions, type CreateVectorStoreOptions, type CsvParserParams, DEFAULT_AGENT_OUTPUT_CHANNEL, DEFAULT_PREFERENCE, DEFAULT_REFERENCE_CORPUS, DEFAULT_TIER_TABLE, type DeduplicatorParams, DefaultLLMGateway, type DocQaReferenceOptions, type DocumentJoinerParams, type DocumentSplitterParams, type DocumentWriterParams, DuplicateNodeError, DynamicInterrupt, type Embeddings, type EmbeddingsRequestBody, EmbeddingsResponseError, type EmbeddingsTransport, type EmptyChannels, type EvaluatorParams, type ExampleGraph, type FieldMapperParams, GraphBuilder, GraphCompileError, type GraphDefinition, type GraphState, type GraphStatus, type HtmlToTextParams, type HttpFetchImpl, type HttpFetchParams, type HttpFetchRequestInit, type HttpFetchResponseLike, type HttpFetchResult, InMemoryCheckpointer, InMemoryPromptRegistry, InMemoryToolRegistry, type InitialData, type IntegrationComponentHandler, type JsonValidatorParams, type KeywordRetrieverParams, type LLMGateway, type LLMProvider, type LLMResponse, type LLMStreamChunk, type LLMToolCall, type LanguageDetectorParams, type LexicalDoc, type ListJoinerParams, MODEL_TIERS, type MergeRankerParams, type Message, type MessageId, type MetadataFilterParams, MissingEmbeddingsKeyError, MissingHandlerError, MockLLMProviderAdapter, type ModelChoice, ModelPolicy, type ModelTier, type ModelTierInfo, type NodeHandler, type NodeId, type NodeInput, type OpenAIChatRequestBody, type OpenAIChatResponse, type OpenAICompatibleAdapterOptions, OpenAICompatibleProviderAdapter, type OpenAICompatibleTransportPort, type OutputParserParams, type PrebuiltAgentCatalogEntry, type PrebuiltOptions, type PredicateOp, type PromptBuilderParams, type PromptRegistry, type RagAnswererOptions, type RegexExtractorParams, type RerankerParams, type ResolveOverride, type Result, type RetrieverDoc, type RetrieverParams, type RouterParams, type RouterRule, type RunCatalogGraphOptions, type RunEvent, type RunId, type RunOptions, type RustAgentConfig, type RustComponentConfig, RustEngineUnavailableError, type RustToolBinding, type SemanticRetrieverDoc, type SemanticRetrieverParams, type SentenceWindowSplitterParams, type StreamAgentConfig, type StreamEvent, type StreamMode, type TextCleanerParams, type TierModelTable, type ToolCall, type ToolDefinition, type ToolId, type ToolNodeConfig, type ToolRegistry, type TruncatorParams, type TypedCondition, type TypedGraphState, type TypedNodeHandler, type VectorStore, type VectorStoreItem, type VectorStoreMatch, type WebSearchImpl, type WebSearchOutcome, type WebSearchParams, type WebSearchResult, type WebSearchTransport, buildDocQaReference, componentCatalog, components, cosineSimilarity, createAgentNodeHandler, createEmbeddings, createGraph, createToolNodeHandler, createVectorStore, docQaReferenceDefinition, exampleGraphs, isCatalogGraph, prebuilt, prebuiltCatalog, readAgentCarrier, readComponentCarrier, resumeCatalogGraph, runCatalogGraph, rustEngineAvailable, rustValidatorActive, semanticRetriever, streamAgentTokens, tierCatalog, toAgentApprovalBinding, toRustAgentConfig };
|
|
2841
|
+
export { AGENT_APPROVAL_INTERRUPT, type AIMessage, APPROVAL_IDS_CHANNEL, APPROVED_TOOLS_CHANNEL, AdrianeSdkError, type AgentApprovalBinding, type AgentCarrier, type AgentNodeConfig, type AgentPromptSource, type AgentResult, type AnswerBuilderParams, AnthropicProviderAdapter, type ApproveAndResumeOptions, type ApprovedToolWire, type Bm25RetrieverParams, type CatalogRunOutcome, type ChannelInput, type ChannelReducer, type ChannelUpdate, type ChannelValues, type ChatMessageBuilderParams, type ChatMessageSpec, type Command, CompiledGraph, type CompiledGraphParts, type ComponentCarrier, type ComponentCatalogEntry, type ComponentCategory, type ComponentDescriptor, type ComponentKind, type ComponentParamMeta, type ConditionFn, type ConditionalRouterBranch, type ConditionalRouterParams, type CreateEmbeddingsOptions, type CreateGraphOptions, type CreateVectorStoreOptions, type CsvParserParams, DEFAULT_AGENT_OUTPUT_CHANNEL, DEFAULT_PREFERENCE, DEFAULT_REFERENCE_CORPUS, DEFAULT_TIER_TABLE, type DeduplicatorParams, DefaultLLMGateway, type DocQaReferenceOptions, type DocumentJoinerParams, type DocumentSplitterParams, type DocumentWriterParams, DuplicateNodeError, DynamicInterrupt, type Embeddings, type EmbeddingsRequestBody, EmbeddingsResponseError, type EmbeddingsTransport, type EmptyChannels, type EvaluatorParams, type ExampleGraph, type FieldMapperParams, GraphBuilder, GraphCompileError, type GraphDefinition, type GraphState, type GraphStatus, type HtmlToTextParams, type HttpFetchImpl, type HttpFetchParams, type HttpFetchRequestInit, type HttpFetchResponseLike, type HttpFetchResult, INJECTED_KEY, InMemoryCheckpointer, InMemoryPromptRegistry, InMemoryToolRegistry, type InitialData, type IntegrationComponentHandler, type JsonValidatorParams, type KeywordRetrieverParams, type LLMGateway, type LLMProvider, type LLMResponse, type LLMStreamChunk, type LLMToolCall, type LanguageDetectorParams, type LexicalDoc, type ListJoinerParams, MODEL_TIERS, type MergeRankerParams, type Message, type MessageId, type MetadataFilterParams, MissingEmbeddingsKeyError, MissingHandlerError, MockLLMProviderAdapter, type ModelChoice, ModelPolicy, type ModelTier, type ModelTierInfo, type NodeHandler, type NodeId, type NodeInput, type OpenAIChatRequestBody, type OpenAIChatResponse, type OpenAICompatibleAdapterOptions, OpenAICompatibleProviderAdapter, type OpenAICompatibleTransportPort, type OutputParserParams, type PrebuiltAgentCatalogEntry, type PrebuiltOptions, type PredicateOp, type PromptBuilderParams, type PromptRegistry, type RagAnswererOptions, type RegexExtractorParams, type RerankerParams, type ResolveOverride, type Result, type RetrieverDoc, type RetrieverParams, type RouterParams, type RouterRule, type RunCatalogGraphOptions, type RunEvent, type RunId, type RunOptions, type RustAgentConfig, type RustComponentConfig, RustEngineUnavailableError, type RustToolBinding, SIGNALS_KEY, SLEEP_UNTIL_KEY, SUSPEND_META_KEY, type SemanticRetrieverDoc, type SemanticRetrieverParams, type SentenceWindowSplitterParams, type StreamAgentConfig, type StreamEvent, type StreamMode, type SuspendMeta, type TextCleanerParams, type TierModelTable, type ToolCall, type ToolDefinition, type ToolId, type ToolNodeConfig, type ToolRegistry, type TruncatorParams, type TypedCondition, type TypedGraphState, type TypedNodeHandler, type VectorStore, type VectorStoreItem, type VectorStoreMatch, WAIT_FOR_SIGNAL_KEY, type WebSearchImpl, type WebSearchOutcome, type WebSearchParams, type WebSearchResult, type WebSearchTransport, buildDocQaReference, componentCatalog, components, cosineSimilarity, createAgentNodeHandler, createEmbeddings, createGraph, createToolNodeHandler, createVectorStore, docQaReferenceDefinition, exampleGraphs, isCatalogGraph, prebuilt, prebuiltCatalog, readAgentCarrier, readComponentCarrier, readInjected, readSignal, readSuspendMeta, resumeCatalogGraph, runCatalogGraph, rustEngineAvailable, rustValidatorActive, semanticRetriever, sleepUntil, streamAgentTokens, tierCatalog, toAgentApprovalBinding, toRustAgentConfig, waitForSignal };
|