@ailu-ai/graph-sdk 2.0.0 → 2.1.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 CHANGED
@@ -500,6 +500,24 @@ type AgentResult = {
500
500
  * boundary.
501
501
  */
502
502
  structuredOutput?: unknown;
503
+ /**
504
+ * What the model provider's web search produced across the run's calls (ailu-core#284):
505
+ * the pages consulted or cited (deduplicated by URL), the number of searches, the queries
506
+ * the model wrote when the provider reports them, and a provider error code if a search
507
+ * failed. Present only when the agent was given `webSearch`.
508
+ */
509
+ webSearch?: {
510
+ sources: Array<{
511
+ url: string;
512
+ title: string;
513
+ citedText?: string;
514
+ pageAge?: string;
515
+ cited: boolean;
516
+ }>;
517
+ requests: number;
518
+ queries?: string[];
519
+ error?: string;
520
+ };
503
521
  };
504
522
 
505
523
  interface Agent<TInput = unknown> {
@@ -1579,6 +1597,13 @@ type AgentNodeConfig = {
1579
1597
  inputBlocksChannel?: string;
1580
1598
  /** The only channels the agent is shown in its seed state (context isolation); default all. */
1581
1599
  visibleChannels?: string[];
1600
+ /**
1601
+ * Let the model provider search the web on this agent's calls (ailu-core#284): Mistral's
1602
+ * `web_search` connector or Anthropic's `web_search` tool. The result carries the pages found
1603
+ * in `agentResult.webSearch`. The agent can have no tools, filesystem or memory alongside
1604
+ * (the provider's search cannot be mixed with client tools yet); other providers refuse.
1605
+ */
1606
+ webSearch?: WebSearchOptions;
1582
1607
  /**
1583
1608
  * Governed long-term memory (ADR 0026 phase 11). When set, the engine recalls from this
1584
1609
  * namespace before the run (vector) and persists the run's reasoning after, attributed. The
@@ -1784,6 +1809,23 @@ type RustToolSpec = {
1784
1809
  * specific TS `AgentNodeConfig.llm` therefore keeps its semantics only on the TS
1785
1810
  * engine; the Rust path is opt-in for agents (see `CompiledGraph`).
1786
1811
  */
1812
+ /** Web search by the model provider for an agent (ailu-core#284). */
1813
+ type WebSearchOptions = {
1814
+ /** Upper bound on searches per call (Anthropic enforces it; Mistral reports it). Default 3. */
1815
+ maxUses?: number;
1816
+ /** Only these domains (Anthropic). Not together with `blockedDomains`. */
1817
+ allowedDomains?: string[];
1818
+ /** Never these domains (Anthropic). Not together with `allowedDomains`. */
1819
+ blockedDomains?: string[];
1820
+ };
1821
+ /** {@link WebSearchOptions} as the engine receives it: `maxUses` resolved. */
1822
+ type RustWebSearchConfig = {
1823
+ maxUses: number;
1824
+ allowedDomains?: string[];
1825
+ blockedDomains?: string[];
1826
+ };
1827
+ /** Default `maxUses` when an agent turns web search on without a bound. */
1828
+ declare const DEFAULT_WEB_SEARCH_MAX_USES = 3;
1787
1829
  type RustAgentConfig = {
1788
1830
  provider: string;
1789
1831
  model?: string;
@@ -1821,6 +1863,8 @@ type RustAgentConfig = {
1821
1863
  inputBlocksChannel?: string;
1822
1864
  /** The only channels the agent is shown in its seed state (context isolation); default all. */
1823
1865
  visibleChannels?: string[];
1866
+ /** ailu-core#284 — web search by the model provider (normalized: `maxUses` always set). */
1867
+ webSearch?: RustWebSearchConfig;
1824
1868
  /** ADR 0026 phase 11 — governed long-term memory overlay. */
1825
1869
  memory?: MemoryConfig;
1826
1870
  /** ADR 0035 phase 12 — governed skills (progressive disclosure) overlay. */
@@ -3859,6 +3903,12 @@ type AgentCarrier = {
3859
3903
  inputBlocksChannel?: string;
3860
3904
  /** The only channels the agent is shown in its seed state (context isolation). */
3861
3905
  visibleChannels?: string[];
3906
+ /** ailu-core#284 — web search by the model provider (→ Rust `webSearch`). */
3907
+ webSearch?: {
3908
+ maxUses: number;
3909
+ allowedDomains?: string[];
3910
+ blockedDomains?: string[];
3911
+ };
3862
3912
  /** ADR 0026 phase 11 — governed long-term memory overlay. */
3863
3913
  memory?: {
3864
3914
  namespace: string;
@@ -4257,4 +4307,4 @@ declare class InMemorySearchProvider implements SearchProvider {
4257
4307
  search(query: string, opts: SearchQueryOptions): Promise<SearchHit[]>;
4258
4308
  }
4259
4309
 
4260
- export { AGENT_APPROVAL_INTERRUPT, type AIMessage, APPROVAL_IDS_CHANNEL, APPROVED_TOOLS_CHANNEL, type AgentApprovalBinding, type AgentCarrier, type AgentId, type AgentNodeConfig, type AgentProfile, type AgentPromptSource, type AgentResult, AiluSdkError, type AnonymizedAnswer, type AnswerBuilderParams, AnthropicProviderAdapter, ApprovalAlreadyResolvedError, type ApprovalEngine, type ApprovalId, ApprovalNotFoundError, ApprovalNotGrantedError, type ApprovalRequest, ApprovalSelfApprovalError, type ApproveAndResumeOptions, type ApprovedToolWire, ApproverRequiredError, type Artifact, type ArtifactId, type ArtifactStore, type ArtifactVersion, type AttestationRecord, type BaseStore, type Bm25RetrieverParams, type CatalogRunOutcome, type ChannelInput, type ChannelReducer, type ChannelUpdate, type ChannelValues, type ChatMessageBuilderParams, type ChatMessageSpec, type Checkpoint, type CheckpointId, type Checkpointer, type Command, CompiledGraph, type CompiledGraphParts, type ComponentCarrier, type ComponentCatalogEntry, type ComponentCategory, type ComponentDescriptor, type ComponentKind, type ComponentParamMeta, type ComponentSchema, type ConditionFn, type ConditionalRouterBranch, type ConditionalRouterParams, type CouncilOptions, type CouncilSeat, type CreateEmbeddingsOptions, type CreateGraphOptions, type CreateVectorStoreOptions, type CsvParserParams, DEFAULT_AGENT_OUTPUT_CHANNEL, DEFAULT_PREFERENCE, DEFAULT_PRICE_BOOK, DEFAULT_REFERENCE_CORPUS, DEFAULT_SEARCH_LIMIT, DEFAULT_TIER_TABLE, type DeduplicatorParams, DefaultLLMGateway, type DocQaReferenceOptions, type DocumentJoinerParams, type DocumentSplitterParams, type DocumentWriterParams, DuplicateNodeError, DynamicInterrupt, Ed25519Attestor, type EdgeDefinition, type EdgeId, type EfficiencyMiddlewareSpec, type Embeddings, type EmbeddingsProvider, type EmbeddingsRequestBody, EmbeddingsResponseError, type EmbeddingsTransport, type EmptyChannels, type EvaluatorParams, type ExampleGraph, type FieldMapperParams, type FsPermVerb, type FsPolicyRule, GATE_SUBJECT_PREFIX, GOVERNANCE_MIDDLEWARE_KINDS, GovernanceMiddlewareRejectedError, GraphBuilder, GraphCompileError, type GraphDefinition, type GraphId, GraphRuntime, type GraphState, GraphStateSchema, type GraphStatus, GraphValidationError, type HtmlToTextParams, type HttpFetchImpl, type HttpFetchParams, type HttpFetchRequestInit, type HttpFetchResponseLike, type HttpFetchResult, INJECTED_KEY, InMemoryApprovalEngine, InMemoryArtifactStore, InMemoryCheckpointer, InMemoryConditionRegistry, InMemoryEventBus, InMemoryNodeRegistry, InMemoryPromptRegistry, InMemorySearchProvider, InMemoryToolRegistry, type InitialData, type InspectorHandle, type InspectorOptions, type IntegrationComponentHandler, type InterruptConfig, type JsonSchema, type JsonValidatorParams, type KeywordRetrieverParams, type LLMGateway, type LLMModel, type LLMProvider, type LLMProviderAdapter, type LLMRequest, type LLMResponse, type LLMStreamChunk, type LLMToolCall, type LanguageDetectorParams, type LexicalDoc, type ListJoinerParams, MODEL_TIERS, type MapAgentCarrier, type MapAgentNodeConfig, type MemberAnswer, type MemoryItem, type MemoryKey, type MemoryNamespace, type MergeRankerParams, type Message, type MessageId, type MetadataFilterParams, MissingEmbeddingsKeyError, MissingHandlerError, MockLLMProviderAdapter, type ModelChoice, ModelPolicy, type ModelPrice, type ModelTier, type ModelTierInfo, type NodeDefinition, type NodeHandler, type NodeId, type NodeInput, type NodeType, type OpenAIChatRequestBody, type OpenAIChatResponse, type OpenAICompatibleAdapterOptions, OpenAICompatibleProviderAdapter, type OpenAICompatibleTransportPort, type OtelExporterOptions, type OtlpFetch, type OutputParserParams, type PrebuiltAgentCatalogEntry, type PrebuiltOptions, type PredicateOp, type PriceBook, type PromptBuilderParams, type PromptRegistry, type RagAnswererOptions, ReActAgent, type RegexExtractorParams, type ReplayDecision, type RequestApprovalParams, type RerankerParams, type ResolveOverride, type Result, ResumeStateNotFoundError, type RetrieverDoc, type RetrieverParams, type RouterParams, type RouterRule, type RunCatalogGraphOptions, type RunEvent, type RunExplanation, type RunId, type RunOptions, type RustAgentConfig, type RustComponentConfig, RustEngineRequiredError, RustEngineUnavailableError, type RustMapAgentConfig, type RustToolBinding, type RustToolSpec, SIGNALS_KEY, SLEEP_UNTIL_KEY, SUSPEND_META_KEY, type SearchDocument, type SearchHit, type SearchProvider, type SearchQueryOptions, type SearchResourceType, type SemanticRetrieverDoc, type SemanticRetrieverParams, type SentenceWindowSplitterParams, type SkillConfig, type SkillRecord, type StreamAgentConfig, type StreamEvent, type StreamMode, type SuspendMeta, TODOS_CHANNEL, type TaskNodeConfig, type TextCleanerParams, type TierModelTable, type TodoItem, type TodoStatus, type TokenUsage, type ToolCall, type ToolDefinition, type ToolId, type ToolNodeConfig, type ToolRegistry, type TruncatorParams, type TypedCondition, type TypedGraphState, type TypedNodeHandler, UnknownNodeError, type VectorStore, type VectorStoreItem, type VectorStoreMatch, type VerifyReplayResult, WAIT_FOR_SIGNAL_KEY, WRITE_TODOS_TOOL_NAME, type WebSearchImpl, type WebSearchOutcome, type WebSearchParams, type WebSearchResult, type WebSearchTransport, type WriteTodosInput, aggregateRanks, anonymizeAndShuffle, buildDocQaReference, buildOtlpPayload, canonicalJson, compileFile, compileGraphFile, componentCatalog, componentSchema, componentSchemas, components, computeCost, cosineSimilarity, council, createAgentNodeHandler, createEmbeddings, createGraph, createToolNodeHandler, createVectorStore, docQaReferenceDefinition, exampleGraphs, explainRun, exportTracesToOtlp, finalAnswer, generateLlmsTxt, isCatalogGraph, normalizeTodos, paramTypeToJsonSchema, parseRanking, prebuilt, prebuiltCatalog, readAgentCarrier, readComponentCarrier, readInjected, readMapAgentCarrier, readSignal, readSuspendMeta, replayCatalogGraph, resumeCatalogGraph, runCatalogGraph, rustEngineAvailable, rustValidatorActive, semanticRetriever, serveInspector, sleepUntil, streamAgentTokens, tierCatalog, toAgentApprovalBinding, toRustAgentConfig, validateGraph, verifyAttestation, verifyChain, verifyReplayDecisions, waitForSignal, writeTodosJsonSchema, writeTodosTool };
4310
+ export { AGENT_APPROVAL_INTERRUPT, type AIMessage, APPROVAL_IDS_CHANNEL, APPROVED_TOOLS_CHANNEL, type AgentApprovalBinding, type AgentCarrier, type AgentId, type AgentNodeConfig, type AgentProfile, type AgentPromptSource, type AgentResult, AiluSdkError, type AnonymizedAnswer, type AnswerBuilderParams, AnthropicProviderAdapter, ApprovalAlreadyResolvedError, type ApprovalEngine, type ApprovalId, ApprovalNotFoundError, ApprovalNotGrantedError, type ApprovalRequest, ApprovalSelfApprovalError, type ApproveAndResumeOptions, type ApprovedToolWire, ApproverRequiredError, type Artifact, type ArtifactId, type ArtifactStore, type ArtifactVersion, type AttestationRecord, type BaseStore, type Bm25RetrieverParams, type CatalogRunOutcome, type ChannelInput, type ChannelReducer, type ChannelUpdate, type ChannelValues, type ChatMessageBuilderParams, type ChatMessageSpec, type Checkpoint, type CheckpointId, type Checkpointer, type Command, CompiledGraph, type CompiledGraphParts, type ComponentCarrier, type ComponentCatalogEntry, type ComponentCategory, type ComponentDescriptor, type ComponentKind, type ComponentParamMeta, type ComponentSchema, type ConditionFn, type ConditionalRouterBranch, type ConditionalRouterParams, type CouncilOptions, type CouncilSeat, type CreateEmbeddingsOptions, type CreateGraphOptions, type CreateVectorStoreOptions, type CsvParserParams, DEFAULT_AGENT_OUTPUT_CHANNEL, DEFAULT_PREFERENCE, DEFAULT_PRICE_BOOK, DEFAULT_REFERENCE_CORPUS, DEFAULT_SEARCH_LIMIT, DEFAULT_TIER_TABLE, DEFAULT_WEB_SEARCH_MAX_USES, type DeduplicatorParams, DefaultLLMGateway, type DocQaReferenceOptions, type DocumentJoinerParams, type DocumentSplitterParams, type DocumentWriterParams, DuplicateNodeError, DynamicInterrupt, Ed25519Attestor, type EdgeDefinition, type EdgeId, type EfficiencyMiddlewareSpec, type Embeddings, type EmbeddingsProvider, type EmbeddingsRequestBody, EmbeddingsResponseError, type EmbeddingsTransport, type EmptyChannels, type EvaluatorParams, type ExampleGraph, type FieldMapperParams, type FsPermVerb, type FsPolicyRule, GATE_SUBJECT_PREFIX, GOVERNANCE_MIDDLEWARE_KINDS, GovernanceMiddlewareRejectedError, GraphBuilder, GraphCompileError, type GraphDefinition, type GraphId, GraphRuntime, type GraphState, GraphStateSchema, type GraphStatus, GraphValidationError, type HtmlToTextParams, type HttpFetchImpl, type HttpFetchParams, type HttpFetchRequestInit, type HttpFetchResponseLike, type HttpFetchResult, INJECTED_KEY, InMemoryApprovalEngine, InMemoryArtifactStore, InMemoryCheckpointer, InMemoryConditionRegistry, InMemoryEventBus, InMemoryNodeRegistry, InMemoryPromptRegistry, InMemorySearchProvider, InMemoryToolRegistry, type InitialData, type InspectorHandle, type InspectorOptions, type IntegrationComponentHandler, type InterruptConfig, type JsonSchema, type JsonValidatorParams, type KeywordRetrieverParams, type LLMGateway, type LLMModel, type LLMProvider, type LLMProviderAdapter, type LLMRequest, type LLMResponse, type LLMStreamChunk, type LLMToolCall, type LanguageDetectorParams, type LexicalDoc, type ListJoinerParams, MODEL_TIERS, type MapAgentCarrier, type MapAgentNodeConfig, type MemberAnswer, type MemoryItem, type MemoryKey, type MemoryNamespace, type MergeRankerParams, type Message, type MessageId, type MetadataFilterParams, MissingEmbeddingsKeyError, MissingHandlerError, MockLLMProviderAdapter, type ModelChoice, ModelPolicy, type ModelPrice, type ModelTier, type ModelTierInfo, type NodeDefinition, type NodeHandler, type NodeId, type NodeInput, type NodeType, type OpenAIChatRequestBody, type OpenAIChatResponse, type OpenAICompatibleAdapterOptions, OpenAICompatibleProviderAdapter, type OpenAICompatibleTransportPort, type OtelExporterOptions, type OtlpFetch, type OutputParserParams, type PrebuiltAgentCatalogEntry, type PrebuiltOptions, type PredicateOp, type PriceBook, type PromptBuilderParams, type PromptRegistry, type RagAnswererOptions, ReActAgent, type RegexExtractorParams, type ReplayDecision, type RequestApprovalParams, type RerankerParams, type ResolveOverride, type Result, ResumeStateNotFoundError, type RetrieverDoc, type RetrieverParams, type RouterParams, type RouterRule, type RunCatalogGraphOptions, type RunEvent, type RunExplanation, type RunId, type RunOptions, type RustAgentConfig, type RustComponentConfig, RustEngineRequiredError, RustEngineUnavailableError, type RustMapAgentConfig, type RustToolBinding, type RustToolSpec, type RustWebSearchConfig, SIGNALS_KEY, SLEEP_UNTIL_KEY, SUSPEND_META_KEY, type SearchDocument, type SearchHit, type SearchProvider, type SearchQueryOptions, type SearchResourceType, type SemanticRetrieverDoc, type SemanticRetrieverParams, type SentenceWindowSplitterParams, type SkillConfig, type SkillRecord, type StreamAgentConfig, type StreamEvent, type StreamMode, type SuspendMeta, TODOS_CHANNEL, type TaskNodeConfig, type TextCleanerParams, type TierModelTable, type TodoItem, type TodoStatus, type TokenUsage, type ToolCall, type ToolDefinition, type ToolId, type ToolNodeConfig, type ToolRegistry, type TruncatorParams, type TypedCondition, type TypedGraphState, type TypedNodeHandler, UnknownNodeError, type VectorStore, type VectorStoreItem, type VectorStoreMatch, type VerifyReplayResult, WAIT_FOR_SIGNAL_KEY, WRITE_TODOS_TOOL_NAME, type WebSearchImpl, type WebSearchOptions, type WebSearchOutcome, type WebSearchParams, type WebSearchResult, type WebSearchTransport, type WriteTodosInput, aggregateRanks, anonymizeAndShuffle, buildDocQaReference, buildOtlpPayload, canonicalJson, compileFile, compileGraphFile, componentCatalog, componentSchema, componentSchemas, components, computeCost, cosineSimilarity, council, createAgentNodeHandler, createEmbeddings, createGraph, createToolNodeHandler, createVectorStore, docQaReferenceDefinition, exampleGraphs, explainRun, exportTracesToOtlp, finalAnswer, generateLlmsTxt, isCatalogGraph, normalizeTodos, paramTypeToJsonSchema, parseRanking, prebuilt, prebuiltCatalog, readAgentCarrier, readComponentCarrier, readInjected, readMapAgentCarrier, readSignal, readSuspendMeta, replayCatalogGraph, resumeCatalogGraph, runCatalogGraph, rustEngineAvailable, rustValidatorActive, semanticRetriever, serveInspector, sleepUntil, streamAgentTokens, tierCatalog, toAgentApprovalBinding, toRustAgentConfig, validateGraph, verifyAttestation, verifyChain, verifyReplayDecisions, waitForSignal, writeTodosJsonSchema, writeTodosTool };
package/dist/index.js CHANGED
@@ -2518,6 +2518,32 @@ var AGENT_APPROVAL_INTERRUPT = "agent-approval-required";
2518
2518
  var APPROVAL_IDS_CHANNEL = "__approvalIds";
2519
2519
  var TOOL_SUBJECT_PREFIX = "tool:";
2520
2520
  var GOVERNANCE_MIDDLEWARE_KINDS = ["redact", "approvalGate", "fsPolicy"];
2521
+ var DEFAULT_WEB_SEARCH_MAX_USES = 3;
2522
+ var invalidWebSearch = (nodeId, why) => new AiluSdkError(`Agent '${nodeId}': webSearch ${why}.`, {
2523
+ code: "AILU_WEB_SEARCH_INVALID",
2524
+ hint: "Give web search to an agent of its own \u2014 no tools, filesystem or memory \u2014 with a positive maxUses and at most one of allowedDomains / blockedDomains."
2525
+ });
2526
+ var webSearchOf = (nodeId, config, enableFs) => {
2527
+ const options = config.webSearch;
2528
+ if (options === void 0) {
2529
+ return void 0;
2530
+ }
2531
+ if ((config.tools?.list().length ?? 0) > 0 || enableFs === true || config.memory !== void 0) {
2532
+ throw invalidWebSearch(nodeId, "cannot be combined with tools, the filesystem or memory yet");
2533
+ }
2534
+ if (options.allowedDomains !== void 0 && options.blockedDomains !== void 0) {
2535
+ throw invalidWebSearch(nodeId, "takes allowedDomains or blockedDomains, not both");
2536
+ }
2537
+ const maxUses = options.maxUses ?? DEFAULT_WEB_SEARCH_MAX_USES;
2538
+ if (!Number.isInteger(maxUses) || maxUses < 1) {
2539
+ throw invalidWebSearch(nodeId, "needs a positive whole maxUses");
2540
+ }
2541
+ return {
2542
+ maxUses,
2543
+ ...options.allowedDomains !== void 0 ? { allowedDomains: options.allowedDomains } : {},
2544
+ ...options.blockedDomains !== void 0 ? { blockedDomains: options.blockedDomains } : {}
2545
+ };
2546
+ };
2521
2547
  var toAgentApprovalBinding = (nodeId, config) => ({
2522
2548
  approvalEngine: config.approvalEngine,
2523
2549
  requestedBy: config.name ?? nodeId,
@@ -2627,6 +2653,7 @@ var toRustAgentConfig = (nodeId, config) => {
2627
2653
  todosChannel: config.todosChannel,
2628
2654
  inputBlocksChannel: config.inputBlocksChannel,
2629
2655
  visibleChannels: config.visibleChannels,
2656
+ webSearch: webSearchOf(nodeId, config, config.enableFs ?? profile?.enableFs),
2630
2657
  memory: config.memory,
2631
2658
  skills: config.skills,
2632
2659
  enableFs: config.enableFs ?? profile?.enableFs,
@@ -2658,6 +2685,7 @@ var toAgentCarrier = (config) => ({
2658
2685
  todosChannel: config.todosChannel,
2659
2686
  inputBlocksChannel: config.inputBlocksChannel,
2660
2687
  visibleChannels: config.visibleChannels,
2688
+ webSearch: config.webSearch,
2661
2689
  memory: config.memory,
2662
2690
  skills: config.skills,
2663
2691
  enableFs: config.enableFs,
@@ -2937,6 +2965,7 @@ var RustGraphRunner = class {
2937
2965
  todosChannel: config.todosChannel,
2938
2966
  inputBlocksChannel: config.inputBlocksChannel,
2939
2967
  visibleChannels: config.visibleChannels,
2968
+ webSearch: config.webSearch,
2940
2969
  memory: config.memory,
2941
2970
  skills: config.skills,
2942
2971
  enableFs: config.enableFs,
@@ -7085,6 +7114,7 @@ var carrierToAgentConfig = (carrier, usesApprovalEngine) => ({
7085
7114
  todosChannel: carrier.todosChannel,
7086
7115
  inputBlocksChannel: carrier.inputBlocksChannel,
7087
7116
  visibleChannels: carrier.visibleChannels,
7117
+ webSearch: carrier.webSearch,
7088
7118
  memory: carrier.memory,
7089
7119
  skills: carrier.skills,
7090
7120
  // ADR 0024 — fs enablement carried on the persisted node; the run's fs policy is
@@ -10607,6 +10637,6 @@ js-yaml/dist/js-yaml.mjs:
10607
10637
  (*! js-yaml 5.2.3 https://github.com/nodeca/js-yaml @license MIT *)
10608
10638
  */
10609
10639
 
10610
- export { AGENT_APPROVAL_INTERRUPT, APPROVAL_IDS_CHANNEL, APPROVED_TOOLS_CHANNEL, AiluSdkError, AnthropicProviderAdapter, ApprovalAlreadyResolvedError, ApprovalNotFoundError, ApprovalNotGrantedError, ApprovalSelfApprovalError, ApproverRequiredError, CompiledGraph, DEFAULT_AGENT_OUTPUT_CHANNEL, DEFAULT_PREFERENCE, DEFAULT_PRICE_BOOK, DEFAULT_REFERENCE_CORPUS, DEFAULT_SEARCH_LIMIT, DEFAULT_TIER_TABLE, DefaultLLMGateway, DuplicateNodeError, DynamicInterrupt, Ed25519Attestor, EmbeddingsResponseError, GATE_SUBJECT_PREFIX, GOVERNANCE_MIDDLEWARE_KINDS, GovernanceMiddlewareRejectedError, GraphBuilder, GraphCompileError, GraphRuntime, GraphStateSchema, GraphValidationError, INJECTED_KEY, InMemoryApprovalEngine, InMemoryArtifactStore, InMemoryCheckpointer, InMemoryConditionRegistry, InMemoryEventBus, InMemoryNodeRegistry, InMemoryPromptRegistry, InMemorySearchProvider, InMemoryToolRegistry, MODEL_TIERS, MissingEmbeddingsKeyError, MissingHandlerError, MockLLMProviderAdapter, ModelPolicy, OpenAICompatibleProviderAdapter, ReActAgent, ResumeStateNotFoundError, RustEngineRequiredError, RustEngineUnavailableError, SIGNALS_KEY, SLEEP_UNTIL_KEY, SUSPEND_META_KEY, TODOS_CHANNEL, UnknownNodeError, WAIT_FOR_SIGNAL_KEY, WRITE_TODOS_TOOL_NAME, aggregateRanks, anonymizeAndShuffle, buildDocQaReference, buildOtlpPayload, canonicalJson, compileFile, compileGraphFile, componentCatalog, componentSchema, componentSchemas, components, computeCost, cosineSimilarity2 as cosineSimilarity, council, createAgentNodeHandler, createEmbeddings, createGraph, createToolNodeHandler, createVectorStore, docQaReferenceDefinition, exampleGraphs, explainRun, exportTracesToOtlp, finalAnswer, generateLlmsTxt, isCatalogGraph, normalizeTodos, paramTypeToJsonSchema, parseRanking, prebuilt, prebuiltCatalog, readAgentCarrier, readComponentCarrier, readInjected, readMapAgentCarrier, readSignal, readSuspendMeta, replayCatalogGraph, resumeCatalogGraph, runCatalogGraph, rustEngineAvailable, rustValidatorActive, semanticRetriever, serveInspector, sleepUntil, streamAgentTokens, tierCatalog, toAgentApprovalBinding, toRustAgentConfig, validateGraph, verifyAttestation, verifyChain, verifyReplayDecisions, waitForSignal, writeTodosJsonSchema, writeTodosTool };
10640
+ export { AGENT_APPROVAL_INTERRUPT, APPROVAL_IDS_CHANNEL, APPROVED_TOOLS_CHANNEL, AiluSdkError, AnthropicProviderAdapter, ApprovalAlreadyResolvedError, ApprovalNotFoundError, ApprovalNotGrantedError, ApprovalSelfApprovalError, ApproverRequiredError, CompiledGraph, DEFAULT_AGENT_OUTPUT_CHANNEL, DEFAULT_PREFERENCE, DEFAULT_PRICE_BOOK, DEFAULT_REFERENCE_CORPUS, DEFAULT_SEARCH_LIMIT, DEFAULT_TIER_TABLE, DEFAULT_WEB_SEARCH_MAX_USES, DefaultLLMGateway, DuplicateNodeError, DynamicInterrupt, Ed25519Attestor, EmbeddingsResponseError, GATE_SUBJECT_PREFIX, GOVERNANCE_MIDDLEWARE_KINDS, GovernanceMiddlewareRejectedError, GraphBuilder, GraphCompileError, GraphRuntime, GraphStateSchema, GraphValidationError, INJECTED_KEY, InMemoryApprovalEngine, InMemoryArtifactStore, InMemoryCheckpointer, InMemoryConditionRegistry, InMemoryEventBus, InMemoryNodeRegistry, InMemoryPromptRegistry, InMemorySearchProvider, InMemoryToolRegistry, MODEL_TIERS, MissingEmbeddingsKeyError, MissingHandlerError, MockLLMProviderAdapter, ModelPolicy, OpenAICompatibleProviderAdapter, ReActAgent, ResumeStateNotFoundError, RustEngineRequiredError, RustEngineUnavailableError, SIGNALS_KEY, SLEEP_UNTIL_KEY, SUSPEND_META_KEY, TODOS_CHANNEL, UnknownNodeError, WAIT_FOR_SIGNAL_KEY, WRITE_TODOS_TOOL_NAME, aggregateRanks, anonymizeAndShuffle, buildDocQaReference, buildOtlpPayload, canonicalJson, compileFile, compileGraphFile, componentCatalog, componentSchema, componentSchemas, components, computeCost, cosineSimilarity2 as cosineSimilarity, council, createAgentNodeHandler, createEmbeddings, createGraph, createToolNodeHandler, createVectorStore, docQaReferenceDefinition, exampleGraphs, explainRun, exportTracesToOtlp, finalAnswer, generateLlmsTxt, isCatalogGraph, normalizeTodos, paramTypeToJsonSchema, parseRanking, prebuilt, prebuiltCatalog, readAgentCarrier, readComponentCarrier, readInjected, readMapAgentCarrier, readSignal, readSuspendMeta, replayCatalogGraph, resumeCatalogGraph, runCatalogGraph, rustEngineAvailable, rustValidatorActive, semanticRetriever, serveInspector, sleepUntil, streamAgentTokens, tierCatalog, toAgentApprovalBinding, toRustAgentConfig, validateGraph, verifyAttestation, verifyChain, verifyReplayDecisions, waitForSignal, writeTodosJsonSchema, writeTodosTool };
10611
10641
  //# sourceMappingURL=index.js.map
10612
10642
  //# sourceMappingURL=index.js.map