@iqai/adk 0.7.0 → 0.8.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/CHANGELOG.md +8 -0
- package/dist/index.d.mts +745 -477
- package/dist/index.d.ts +745 -477
- package/dist/index.js +562 -10
- package/dist/index.mjs +550 -10
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1733,61 +1733,61 @@ declare class PassthroughSummaryProvider implements MemorySummaryProvider {
|
|
|
1733
1733
|
private extractText;
|
|
1734
1734
|
}
|
|
1735
1735
|
|
|
1736
|
-
type index$
|
|
1737
|
-
type index$
|
|
1738
|
-
declare const index$
|
|
1739
|
-
type index$
|
|
1740
|
-
type index$
|
|
1741
|
-
type index$
|
|
1742
|
-
type index$
|
|
1743
|
-
declare const index$
|
|
1744
|
-
type index$
|
|
1745
|
-
type index$
|
|
1746
|
-
declare const index$
|
|
1747
|
-
type index$
|
|
1748
|
-
type index$
|
|
1749
|
-
declare const index$
|
|
1750
|
-
type index$
|
|
1751
|
-
declare const index$
|
|
1752
|
-
type index$
|
|
1753
|
-
declare const index$
|
|
1754
|
-
type index$
|
|
1755
|
-
declare const index$
|
|
1756
|
-
type index$
|
|
1757
|
-
type index$
|
|
1758
|
-
type index$
|
|
1759
|
-
type index$
|
|
1760
|
-
type index$
|
|
1761
|
-
type index$
|
|
1762
|
-
type index$
|
|
1763
|
-
type index$
|
|
1764
|
-
declare const index$
|
|
1765
|
-
type index$
|
|
1766
|
-
type index$
|
|
1767
|
-
type index$
|
|
1768
|
-
type index$
|
|
1769
|
-
declare const index$
|
|
1770
|
-
type index$
|
|
1771
|
-
type index$
|
|
1772
|
-
declare const index$
|
|
1773
|
-
type index$
|
|
1774
|
-
type index$
|
|
1775
|
-
declare const index$
|
|
1776
|
-
type index$
|
|
1777
|
-
type index$
|
|
1778
|
-
declare const index$
|
|
1779
|
-
type index$
|
|
1780
|
-
declare const index$
|
|
1781
|
-
type index$
|
|
1782
|
-
type index$
|
|
1783
|
-
type index$
|
|
1784
|
-
type index$
|
|
1785
|
-
type index$
|
|
1786
|
-
declare const index$
|
|
1787
|
-
type index$
|
|
1788
|
-
type index$
|
|
1789
|
-
declare namespace index$
|
|
1790
|
-
export { type index$
|
|
1736
|
+
type index$b_BaseMemoryService = BaseMemoryService;
|
|
1737
|
+
type index$b_CohereEmbeddingProvider = CohereEmbeddingProvider;
|
|
1738
|
+
declare const index$b_CohereEmbeddingProvider: typeof CohereEmbeddingProvider;
|
|
1739
|
+
type index$b_CohereEmbeddingProviderConfig = CohereEmbeddingProviderConfig;
|
|
1740
|
+
type index$b_EmbeddingProvider = EmbeddingProvider;
|
|
1741
|
+
type index$b_Entity = Entity;
|
|
1742
|
+
type index$b_FileStorageProvider = FileStorageProvider;
|
|
1743
|
+
declare const index$b_FileStorageProvider: typeof FileStorageProvider;
|
|
1744
|
+
type index$b_FileStorageProviderConfig = FileStorageProviderConfig;
|
|
1745
|
+
type index$b_FileVectorStore = FileVectorStore;
|
|
1746
|
+
declare const index$b_FileVectorStore: typeof FileVectorStore;
|
|
1747
|
+
type index$b_FileVectorStoreConfig = FileVectorStoreConfig;
|
|
1748
|
+
type index$b_InMemoryMemoryService = InMemoryMemoryService;
|
|
1749
|
+
declare const index$b_InMemoryMemoryService: typeof InMemoryMemoryService;
|
|
1750
|
+
type index$b_InMemoryStorageProvider = InMemoryStorageProvider;
|
|
1751
|
+
declare const index$b_InMemoryStorageProvider: typeof InMemoryStorageProvider;
|
|
1752
|
+
type index$b_InMemoryVectorStore = InMemoryVectorStore;
|
|
1753
|
+
declare const index$b_InMemoryVectorStore: typeof InMemoryVectorStore;
|
|
1754
|
+
type index$b_LlmSummaryProvider = LlmSummaryProvider;
|
|
1755
|
+
declare const index$b_LlmSummaryProvider: typeof LlmSummaryProvider;
|
|
1756
|
+
type index$b_LlmSummaryProviderConfig = LlmSummaryProviderConfig;
|
|
1757
|
+
type index$b_MemoryContent = MemoryContent;
|
|
1758
|
+
type index$b_MemoryDeleteFilter = MemoryDeleteFilter;
|
|
1759
|
+
type index$b_MemoryEntry = MemoryEntry;
|
|
1760
|
+
type index$b_MemoryRecord = MemoryRecord;
|
|
1761
|
+
type index$b_MemorySearchQuery = MemorySearchQuery;
|
|
1762
|
+
type index$b_MemorySearchResult = MemorySearchResult;
|
|
1763
|
+
type index$b_MemoryService = MemoryService;
|
|
1764
|
+
declare const index$b_MemoryService: typeof MemoryService;
|
|
1765
|
+
type index$b_MemoryServiceConfig = MemoryServiceConfig;
|
|
1766
|
+
type index$b_MemoryStorageProvider = MemoryStorageProvider;
|
|
1767
|
+
type index$b_MemorySummaryProvider = MemorySummaryProvider;
|
|
1768
|
+
type index$b_OllamaEmbeddingProvider = OllamaEmbeddingProvider;
|
|
1769
|
+
declare const index$b_OllamaEmbeddingProvider: typeof OllamaEmbeddingProvider;
|
|
1770
|
+
type index$b_OllamaEmbeddingProviderConfig = OllamaEmbeddingProviderConfig;
|
|
1771
|
+
type index$b_OpenAIEmbeddingProvider = OpenAIEmbeddingProvider;
|
|
1772
|
+
declare const index$b_OpenAIEmbeddingProvider: typeof OpenAIEmbeddingProvider;
|
|
1773
|
+
type index$b_OpenAIEmbeddingProviderConfig = OpenAIEmbeddingProviderConfig;
|
|
1774
|
+
type index$b_OpenRouterEmbeddingProvider = OpenRouterEmbeddingProvider;
|
|
1775
|
+
declare const index$b_OpenRouterEmbeddingProvider: typeof OpenRouterEmbeddingProvider;
|
|
1776
|
+
type index$b_OpenRouterEmbeddingProviderConfig = OpenRouterEmbeddingProviderConfig;
|
|
1777
|
+
type index$b_PassthroughSummaryProvider = PassthroughSummaryProvider;
|
|
1778
|
+
declare const index$b_PassthroughSummaryProvider: typeof PassthroughSummaryProvider;
|
|
1779
|
+
type index$b_QdrantVectorStore = QdrantVectorStore;
|
|
1780
|
+
declare const index$b_QdrantVectorStore: typeof QdrantVectorStore;
|
|
1781
|
+
type index$b_QdrantVectorStoreConfig = QdrantVectorStoreConfig;
|
|
1782
|
+
type index$b_SearchMemoryResponse = SearchMemoryResponse;
|
|
1783
|
+
type index$b_SearchMode = SearchMode;
|
|
1784
|
+
type index$b_TopicSegment = TopicSegment;
|
|
1785
|
+
type index$b_VectorStorageProvider = VectorStorageProvider;
|
|
1786
|
+
declare const index$b_VectorStorageProvider: typeof VectorStorageProvider;
|
|
1787
|
+
type index$b_VectorStorageProviderConfig = VectorStorageProviderConfig;
|
|
1788
|
+
type index$b_VectorStore = VectorStore;
|
|
1789
|
+
declare namespace index$b {
|
|
1790
|
+
export { type index$b_BaseMemoryService as BaseMemoryService, index$b_CohereEmbeddingProvider as CohereEmbeddingProvider, type index$b_CohereEmbeddingProviderConfig as CohereEmbeddingProviderConfig, type index$b_EmbeddingProvider as EmbeddingProvider, type index$b_Entity as Entity, index$b_FileStorageProvider as FileStorageProvider, type index$b_FileStorageProviderConfig as FileStorageProviderConfig, index$b_FileVectorStore as FileVectorStore, type index$b_FileVectorStoreConfig as FileVectorStoreConfig, index$b_InMemoryMemoryService as InMemoryMemoryService, index$b_InMemoryStorageProvider as InMemoryStorageProvider, index$b_InMemoryVectorStore as InMemoryVectorStore, index$b_LlmSummaryProvider as LlmSummaryProvider, type index$b_LlmSummaryProviderConfig as LlmSummaryProviderConfig, type index$b_MemoryContent as MemoryContent, type index$b_MemoryDeleteFilter as MemoryDeleteFilter, type index$b_MemoryEntry as MemoryEntry, type index$b_MemoryRecord as MemoryRecord, type index$b_MemorySearchQuery as MemorySearchQuery, type index$b_MemorySearchResult as MemorySearchResult, index$b_MemoryService as MemoryService, type index$b_MemoryServiceConfig as MemoryServiceConfig, type index$b_MemoryStorageProvider as MemoryStorageProvider, type index$b_MemorySummaryProvider as MemorySummaryProvider, index$b_OllamaEmbeddingProvider as OllamaEmbeddingProvider, type index$b_OllamaEmbeddingProviderConfig as OllamaEmbeddingProviderConfig, index$b_OpenAIEmbeddingProvider as OpenAIEmbeddingProvider, type index$b_OpenAIEmbeddingProviderConfig as OpenAIEmbeddingProviderConfig, index$b_OpenRouterEmbeddingProvider as OpenRouterEmbeddingProvider, type index$b_OpenRouterEmbeddingProviderConfig as OpenRouterEmbeddingProviderConfig, index$b_PassthroughSummaryProvider as PassthroughSummaryProvider, index$b_QdrantVectorStore as QdrantVectorStore, type index$b_QdrantVectorStoreConfig as QdrantVectorStoreConfig, type index$b_SearchMemoryResponse as SearchMemoryResponse, type index$b_SearchMode as SearchMode, type index$b_TopicSegment as TopicSegment, index$b_VectorStorageProvider as VectorStorageProvider, type index$b_VectorStorageProviderConfig as VectorStorageProviderConfig, type index$b_VectorStore as VectorStore };
|
|
1791
1791
|
}
|
|
1792
1792
|
|
|
1793
1793
|
/**
|
|
@@ -4547,6 +4547,24 @@ declare function McpFilesystem(config?: McpServerConfig): McpToolset;
|
|
|
4547
4547
|
* No required env vars
|
|
4548
4548
|
*/
|
|
4549
4549
|
declare function McpMemory(config?: McpServerConfig): McpToolset;
|
|
4550
|
+
/**
|
|
4551
|
+
* MCP Notion - Interact with Notion pages, databases, and workspaces (third-party)
|
|
4552
|
+
*
|
|
4553
|
+
* Required env vars: NOTION_TOKEN
|
|
4554
|
+
*/
|
|
4555
|
+
declare function McpNotion(config?: McpServerConfig): McpToolset;
|
|
4556
|
+
/**
|
|
4557
|
+
* MCP Sequential Thinking - Structured step-by-step reasoning for complex problem solving (third-party)
|
|
4558
|
+
*
|
|
4559
|
+
* Optional env vars: DISABLE_THOUGHT_LOGGING
|
|
4560
|
+
*/
|
|
4561
|
+
declare function McpSequentialThinking(config?: McpServerConfig): McpToolset;
|
|
4562
|
+
/**
|
|
4563
|
+
* MCP Playwright - Browser automation capabilities (third-party)
|
|
4564
|
+
*
|
|
4565
|
+
* No required env vars
|
|
4566
|
+
*/
|
|
4567
|
+
declare function McpPlaywright(config?: McpServerConfig): McpToolset;
|
|
4550
4568
|
/**
|
|
4551
4569
|
* Generic MCP server function for any package
|
|
4552
4570
|
*
|
|
@@ -4626,116 +4644,119 @@ declare function getMcpTools(config: McpConfig, toolFilter?: string[] | ((tool:
|
|
|
4626
4644
|
* Tools module exports
|
|
4627
4645
|
*/
|
|
4628
4646
|
|
|
4629
|
-
type index$
|
|
4630
|
-
declare const index$
|
|
4631
|
-
type index$
|
|
4632
|
-
type index$
|
|
4633
|
-
type index$
|
|
4634
|
-
declare const index$
|
|
4635
|
-
type index$
|
|
4636
|
-
declare const index$
|
|
4637
|
-
type index$
|
|
4638
|
-
type index$
|
|
4639
|
-
type index$
|
|
4640
|
-
type index$
|
|
4641
|
-
type index$
|
|
4642
|
-
declare const index$
|
|
4643
|
-
type index$
|
|
4644
|
-
declare const index$
|
|
4645
|
-
type index$
|
|
4646
|
-
declare const index$
|
|
4647
|
-
type index$
|
|
4648
|
-
type index$
|
|
4649
|
-
declare const index$
|
|
4650
|
-
type index$
|
|
4651
|
-
declare const index$
|
|
4652
|
-
type index$
|
|
4653
|
-
type index$
|
|
4654
|
-
declare const index$
|
|
4655
|
-
type index$
|
|
4656
|
-
declare const index$
|
|
4657
|
-
type index$
|
|
4658
|
-
declare const index$
|
|
4659
|
-
type index$
|
|
4660
|
-
declare const index$
|
|
4661
|
-
type index$
|
|
4662
|
-
declare const index$
|
|
4663
|
-
type index$
|
|
4664
|
-
declare const index$
|
|
4665
|
-
type index$
|
|
4666
|
-
declare const index$
|
|
4667
|
-
type index$
|
|
4668
|
-
declare const index$
|
|
4669
|
-
declare const index$
|
|
4670
|
-
declare const index$
|
|
4671
|
-
declare const index$
|
|
4672
|
-
declare const index$
|
|
4673
|
-
declare const index$
|
|
4674
|
-
type index$
|
|
4675
|
-
declare const index$
|
|
4676
|
-
declare const index$
|
|
4677
|
-
declare const index$
|
|
4678
|
-
type index$
|
|
4679
|
-
declare const index$
|
|
4680
|
-
type index$
|
|
4681
|
-
declare const index$
|
|
4682
|
-
declare const index$
|
|
4683
|
-
declare const index$
|
|
4684
|
-
declare const index$
|
|
4685
|
-
declare const index$
|
|
4686
|
-
declare const index$
|
|
4687
|
-
declare const index$
|
|
4688
|
-
declare const index$
|
|
4689
|
-
declare const index$
|
|
4690
|
-
declare const index$
|
|
4691
|
-
declare const index$
|
|
4692
|
-
declare const index$
|
|
4693
|
-
declare const index$
|
|
4694
|
-
|
|
4695
|
-
declare const index$
|
|
4696
|
-
type index$
|
|
4697
|
-
|
|
4698
|
-
type index$
|
|
4699
|
-
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
type index$
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
type index$
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
type index$
|
|
4724
|
-
declare const index$
|
|
4725
|
-
type index$
|
|
4726
|
-
|
|
4727
|
-
declare const index$
|
|
4728
|
-
|
|
4729
|
-
declare const index$
|
|
4730
|
-
declare const index$
|
|
4731
|
-
declare const index$
|
|
4732
|
-
declare const index$
|
|
4733
|
-
declare const index$
|
|
4734
|
-
declare const index$
|
|
4735
|
-
declare const index$
|
|
4736
|
-
declare const index$
|
|
4737
|
-
declare
|
|
4738
|
-
|
|
4647
|
+
type index$a_AgentTool = AgentTool;
|
|
4648
|
+
declare const index$a_AgentTool: typeof AgentTool;
|
|
4649
|
+
type index$a_AgentToolConfig = AgentToolConfig;
|
|
4650
|
+
type index$a_BaseAgentType = BaseAgentType;
|
|
4651
|
+
type index$a_BaseTool = BaseTool;
|
|
4652
|
+
declare const index$a_BaseTool: typeof BaseTool;
|
|
4653
|
+
type index$a_BashTool = BashTool;
|
|
4654
|
+
declare const index$a_BashTool: typeof BashTool;
|
|
4655
|
+
type index$a_BuildFunctionDeclarationOptions = BuildFunctionDeclarationOptions;
|
|
4656
|
+
type index$a_CreateToolConfig<T extends Record<string, any> = Record<string, never>> = CreateToolConfig<T>;
|
|
4657
|
+
type index$a_CreateToolConfigWithSchema<T extends Record<string, any>> = CreateToolConfigWithSchema<T>;
|
|
4658
|
+
type index$a_CreateToolConfigWithoutSchema = CreateToolConfigWithoutSchema;
|
|
4659
|
+
type index$a_EditTool = EditTool;
|
|
4660
|
+
declare const index$a_EditTool: typeof EditTool;
|
|
4661
|
+
type index$a_ExitLoopTool = ExitLoopTool;
|
|
4662
|
+
declare const index$a_ExitLoopTool: typeof ExitLoopTool;
|
|
4663
|
+
type index$a_FileOperationsTool = FileOperationsTool;
|
|
4664
|
+
declare const index$a_FileOperationsTool: typeof FileOperationsTool;
|
|
4665
|
+
type index$a_ForgetMemoryResult = ForgetMemoryResult;
|
|
4666
|
+
type index$a_ForgetMemoryTool = ForgetMemoryTool;
|
|
4667
|
+
declare const index$a_ForgetMemoryTool: typeof ForgetMemoryTool;
|
|
4668
|
+
type index$a_FunctionTool<T extends Record<string, any>> = FunctionTool<T>;
|
|
4669
|
+
declare const index$a_FunctionTool: typeof FunctionTool;
|
|
4670
|
+
type index$a_GetSessionDetailsResult = GetSessionDetailsResult;
|
|
4671
|
+
type index$a_GetSessionDetailsTool = GetSessionDetailsTool;
|
|
4672
|
+
declare const index$a_GetSessionDetailsTool: typeof GetSessionDetailsTool;
|
|
4673
|
+
type index$a_GetUserChoiceTool = GetUserChoiceTool;
|
|
4674
|
+
declare const index$a_GetUserChoiceTool: typeof GetUserChoiceTool;
|
|
4675
|
+
type index$a_GlobTool = GlobTool;
|
|
4676
|
+
declare const index$a_GlobTool: typeof GlobTool;
|
|
4677
|
+
type index$a_GoogleSearchTool = GoogleSearchTool;
|
|
4678
|
+
declare const index$a_GoogleSearchTool: typeof GoogleSearchTool;
|
|
4679
|
+
type index$a_GrepTool = GrepTool;
|
|
4680
|
+
declare const index$a_GrepTool: typeof GrepTool;
|
|
4681
|
+
type index$a_HttpRequestTool = HttpRequestTool;
|
|
4682
|
+
declare const index$a_HttpRequestTool: typeof HttpRequestTool;
|
|
4683
|
+
type index$a_LoadArtifactsTool = LoadArtifactsTool;
|
|
4684
|
+
declare const index$a_LoadArtifactsTool: typeof LoadArtifactsTool;
|
|
4685
|
+
type index$a_LoadMemoryTool = LoadMemoryTool;
|
|
4686
|
+
declare const index$a_LoadMemoryTool: typeof LoadMemoryTool;
|
|
4687
|
+
declare const index$a_McpAbi: typeof McpAbi;
|
|
4688
|
+
declare const index$a_McpAtp: typeof McpAtp;
|
|
4689
|
+
declare const index$a_McpBamm: typeof McpBamm;
|
|
4690
|
+
declare const index$a_McpCoinGecko: typeof McpCoinGecko;
|
|
4691
|
+
declare const index$a_McpCoinGeckoPro: typeof McpCoinGeckoPro;
|
|
4692
|
+
type index$a_McpConfig = McpConfig;
|
|
4693
|
+
declare const index$a_McpDebank: typeof McpDebank;
|
|
4694
|
+
declare const index$a_McpDefillama: typeof McpDefillama;
|
|
4695
|
+
declare const index$a_McpDiscord: typeof McpDiscord;
|
|
4696
|
+
type index$a_McpError = McpError;
|
|
4697
|
+
declare const index$a_McpError: typeof McpError;
|
|
4698
|
+
type index$a_McpErrorType = McpErrorType;
|
|
4699
|
+
declare const index$a_McpErrorType: typeof McpErrorType;
|
|
4700
|
+
declare const index$a_McpFilesystem: typeof McpFilesystem;
|
|
4701
|
+
declare const index$a_McpFraxlend: typeof McpFraxlend;
|
|
4702
|
+
declare const index$a_McpGeneric: typeof McpGeneric;
|
|
4703
|
+
declare const index$a_McpIqWiki: typeof McpIqWiki;
|
|
4704
|
+
declare const index$a_McpKalshi: typeof McpKalshi;
|
|
4705
|
+
declare const index$a_McpLimitless: typeof McpLimitless;
|
|
4706
|
+
declare const index$a_McpMemory: typeof McpMemory;
|
|
4707
|
+
declare const index$a_McpNearAgent: typeof McpNearAgent;
|
|
4708
|
+
declare const index$a_McpNearIntents: typeof McpNearIntents;
|
|
4709
|
+
declare const index$a_McpNotion: typeof McpNotion;
|
|
4710
|
+
declare const index$a_McpOdos: typeof McpOdos;
|
|
4711
|
+
declare const index$a_McpOpinion: typeof McpOpinion;
|
|
4712
|
+
declare const index$a_McpPlaywright: typeof McpPlaywright;
|
|
4713
|
+
declare const index$a_McpPolymarket: typeof McpPolymarket;
|
|
4714
|
+
type index$a_McpSamplingHandler = McpSamplingHandler;
|
|
4715
|
+
declare const index$a_McpSamplingHandler: typeof McpSamplingHandler;
|
|
4716
|
+
type index$a_McpSamplingRequest = McpSamplingRequest;
|
|
4717
|
+
type index$a_McpSamplingResponse = McpSamplingResponse;
|
|
4718
|
+
declare const index$a_McpSequentialThinking: typeof McpSequentialThinking;
|
|
4719
|
+
type index$a_McpServerConfig = McpServerConfig;
|
|
4720
|
+
declare const index$a_McpTelegram: typeof McpTelegram;
|
|
4721
|
+
type index$a_McpToolset = McpToolset;
|
|
4722
|
+
declare const index$a_McpToolset: typeof McpToolset;
|
|
4723
|
+
type index$a_McpTransportType = McpTransportType;
|
|
4724
|
+
declare const index$a_McpUpbit: typeof McpUpbit;
|
|
4725
|
+
type index$a_PreloadMemoryTool = PreloadMemoryTool;
|
|
4726
|
+
declare const index$a_PreloadMemoryTool: typeof PreloadMemoryTool;
|
|
4727
|
+
type index$a_ReadTool = ReadTool;
|
|
4728
|
+
declare const index$a_ReadTool: typeof ReadTool;
|
|
4729
|
+
type index$a_RecallMemoryTool = RecallMemoryTool;
|
|
4730
|
+
declare const index$a_RecallMemoryTool: typeof RecallMemoryTool;
|
|
4731
|
+
type index$a_SamplingHandler = SamplingHandler;
|
|
4732
|
+
type index$a_ToolConfig = ToolConfig;
|
|
4733
|
+
type index$a_ToolContext = ToolContext;
|
|
4734
|
+
declare const index$a_ToolContext: typeof ToolContext;
|
|
4735
|
+
type index$a_TransferToAgentTool = TransferToAgentTool;
|
|
4736
|
+
declare const index$a_TransferToAgentTool: typeof TransferToAgentTool;
|
|
4737
|
+
type index$a_UserInteractionTool = UserInteractionTool;
|
|
4738
|
+
declare const index$a_UserInteractionTool: typeof UserInteractionTool;
|
|
4739
|
+
type index$a_WebFetchTool = WebFetchTool;
|
|
4740
|
+
declare const index$a_WebFetchTool: typeof WebFetchTool;
|
|
4741
|
+
type index$a_WebSearchTool = WebSearchTool;
|
|
4742
|
+
declare const index$a_WebSearchTool: typeof WebSearchTool;
|
|
4743
|
+
type index$a_WriteMemoryResult = WriteMemoryResult;
|
|
4744
|
+
type index$a_WriteMemoryTool = WriteMemoryTool;
|
|
4745
|
+
declare const index$a_WriteMemoryTool: typeof WriteMemoryTool;
|
|
4746
|
+
type index$a_WriteTool = WriteTool;
|
|
4747
|
+
declare const index$a_WriteTool: typeof WriteTool;
|
|
4748
|
+
declare const index$a_adkToMcpToolType: typeof adkToMcpToolType;
|
|
4749
|
+
declare const index$a_buildFunctionDeclaration: typeof buildFunctionDeclaration;
|
|
4750
|
+
declare const index$a_convertMcpToolToBaseTool: typeof convertMcpToolToBaseTool;
|
|
4751
|
+
declare const index$a_createFunctionTool: typeof createFunctionTool;
|
|
4752
|
+
declare const index$a_createSamplingHandler: typeof createSamplingHandler;
|
|
4753
|
+
declare const index$a_createTool: typeof createTool;
|
|
4754
|
+
declare const index$a_getMcpTools: typeof getMcpTools;
|
|
4755
|
+
declare const index$a_jsonSchemaToDeclaration: typeof jsonSchemaToDeclaration;
|
|
4756
|
+
declare const index$a_mcpSchemaToParameters: typeof mcpSchemaToParameters;
|
|
4757
|
+
declare const index$a_normalizeJsonSchema: typeof normalizeJsonSchema;
|
|
4758
|
+
declare namespace index$a {
|
|
4759
|
+
export { index$a_AgentTool as AgentTool, type index$a_AgentToolConfig as AgentToolConfig, type index$a_BaseAgentType as BaseAgentType, index$a_BaseTool as BaseTool, index$a_BashTool as BashTool, type index$a_BuildFunctionDeclarationOptions as BuildFunctionDeclarationOptions, type index$a_CreateToolConfig as CreateToolConfig, type index$a_CreateToolConfigWithSchema as CreateToolConfigWithSchema, type index$a_CreateToolConfigWithoutSchema as CreateToolConfigWithoutSchema, index$a_EditTool as EditTool, index$a_ExitLoopTool as ExitLoopTool, index$a_FileOperationsTool as FileOperationsTool, type index$a_ForgetMemoryResult as ForgetMemoryResult, index$a_ForgetMemoryTool as ForgetMemoryTool, index$a_FunctionTool as FunctionTool, type index$a_GetSessionDetailsResult as GetSessionDetailsResult, index$a_GetSessionDetailsTool as GetSessionDetailsTool, index$a_GetUserChoiceTool as GetUserChoiceTool, index$a_GlobTool as GlobTool, index$a_GoogleSearchTool as GoogleSearchTool, index$a_GrepTool as GrepTool, index$a_HttpRequestTool as HttpRequestTool, index$a_LoadArtifactsTool as LoadArtifactsTool, index$a_LoadMemoryTool as LoadMemoryTool, index$a_McpAbi as McpAbi, index$a_McpAtp as McpAtp, index$a_McpBamm as McpBamm, index$a_McpCoinGecko as McpCoinGecko, index$a_McpCoinGeckoPro as McpCoinGeckoPro, type index$a_McpConfig as McpConfig, index$a_McpDebank as McpDebank, index$a_McpDefillama as McpDefillama, index$a_McpDiscord as McpDiscord, index$a_McpError as McpError, index$a_McpErrorType as McpErrorType, index$a_McpFilesystem as McpFilesystem, index$a_McpFraxlend as McpFraxlend, index$a_McpGeneric as McpGeneric, index$a_McpIqWiki as McpIqWiki, index$a_McpKalshi as McpKalshi, index$a_McpLimitless as McpLimitless, index$a_McpMemory as McpMemory, index$a_McpNearAgent as McpNearAgent, index$a_McpNearIntents as McpNearIntents, index$a_McpNotion as McpNotion, index$a_McpOdos as McpOdos, index$a_McpOpinion as McpOpinion, index$a_McpPlaywright as McpPlaywright, index$a_McpPolymarket as McpPolymarket, index$a_McpSamplingHandler as McpSamplingHandler, type index$a_McpSamplingRequest as McpSamplingRequest, type index$a_McpSamplingResponse as McpSamplingResponse, index$a_McpSequentialThinking as McpSequentialThinking, type index$a_McpServerConfig as McpServerConfig, index$a_McpTelegram as McpTelegram, index$a_McpToolset as McpToolset, type index$a_McpTransportType as McpTransportType, index$a_McpUpbit as McpUpbit, index$a_PreloadMemoryTool as PreloadMemoryTool, index$a_ReadTool as ReadTool, index$a_RecallMemoryTool as RecallMemoryTool, type index$a_SamplingHandler as SamplingHandler, type index$a_ToolConfig as ToolConfig, index$a_ToolContext as ToolContext, index$a_TransferToAgentTool as TransferToAgentTool, index$a_UserInteractionTool as UserInteractionTool, index$a_WebFetchTool as WebFetchTool, index$a_WebSearchTool as WebSearchTool, type index$a_WriteMemoryResult as WriteMemoryResult, index$a_WriteMemoryTool as WriteMemoryTool, index$a_WriteTool as WriteTool, index$a_adkToMcpToolType as adkToMcpToolType, index$a_buildFunctionDeclaration as buildFunctionDeclaration, index$a_convertMcpToolToBaseTool as convertMcpToolToBaseTool, index$a_createFunctionTool as createFunctionTool, index$a_createSamplingHandler as createSamplingHandler, index$a_createTool as createTool, index$a_getMcpTools as getMcpTools, index$a_jsonSchemaToDeclaration as jsonSchemaToDeclaration, index$a_mcpSchemaToParameters as mcpSchemaToParameters, index$a_normalizeJsonSchema as normalizeJsonSchema };
|
|
4739
4760
|
}
|
|
4740
4761
|
|
|
4741
4762
|
/**
|
|
@@ -4895,18 +4916,18 @@ declare class LlmEventSummarizer implements EventsSummarizer {
|
|
|
4895
4916
|
private formatEventsForSummarization;
|
|
4896
4917
|
}
|
|
4897
4918
|
|
|
4898
|
-
type index$
|
|
4899
|
-
declare const index$
|
|
4900
|
-
type index$
|
|
4901
|
-
declare const index$
|
|
4902
|
-
type index$
|
|
4903
|
-
type index$
|
|
4904
|
-
type index$
|
|
4905
|
-
type index$
|
|
4906
|
-
declare const index$
|
|
4907
|
-
declare const index$
|
|
4908
|
-
declare namespace index$
|
|
4909
|
-
export { index$
|
|
4919
|
+
type index$9_Event = Event;
|
|
4920
|
+
declare const index$9_Event: typeof Event;
|
|
4921
|
+
type index$9_EventActions = EventActions;
|
|
4922
|
+
declare const index$9_EventActions: typeof EventActions;
|
|
4923
|
+
type index$9_EventCompaction = EventCompaction;
|
|
4924
|
+
type index$9_EventsCompactionConfig = EventsCompactionConfig;
|
|
4925
|
+
type index$9_EventsSummarizer = EventsSummarizer;
|
|
4926
|
+
type index$9_LlmEventSummarizer = LlmEventSummarizer;
|
|
4927
|
+
declare const index$9_LlmEventSummarizer: typeof LlmEventSummarizer;
|
|
4928
|
+
declare const index$9_runCompactionForSlidingWindow: typeof runCompactionForSlidingWindow;
|
|
4929
|
+
declare namespace index$9 {
|
|
4930
|
+
export { index$9_Event as Event, index$9_EventActions as EventActions, type index$9_EventCompaction as EventCompaction, type index$9_EventsCompactionConfig as EventsCompactionConfig, type index$9_EventsSummarizer as EventsSummarizer, index$9_LlmEventSummarizer as LlmEventSummarizer, index$9_runCompactionForSlidingWindow as runCompactionForSlidingWindow };
|
|
4910
4931
|
}
|
|
4911
4932
|
|
|
4912
4933
|
declare const pluginCallbackNameSchema: z$1.ZodEnum<{
|
|
@@ -6061,127 +6082,127 @@ interface ThinkingConfig {
|
|
|
6061
6082
|
* Models module exports - consolidated to match Python structure
|
|
6062
6083
|
*/
|
|
6063
6084
|
|
|
6064
|
-
type index$
|
|
6065
|
-
declare const index$
|
|
6066
|
-
type index$
|
|
6067
|
-
declare const index$
|
|
6068
|
-
type index$
|
|
6069
|
-
declare const index$
|
|
6070
|
-
type index$
|
|
6071
|
-
declare const index$
|
|
6072
|
-
type index$
|
|
6073
|
-
declare const index$
|
|
6074
|
-
type index$
|
|
6075
|
-
declare const index$
|
|
6076
|
-
type index$
|
|
6077
|
-
declare const index$
|
|
6078
|
-
type index$
|
|
6079
|
-
declare const index$
|
|
6080
|
-
type index$
|
|
6081
|
-
declare const index$
|
|
6082
|
-
type index$
|
|
6083
|
-
declare const index$
|
|
6084
|
-
type index$
|
|
6085
|
-
declare const index$
|
|
6086
|
-
type index$
|
|
6087
|
-
declare const index$
|
|
6088
|
-
type index$
|
|
6089
|
-
type index$
|
|
6090
|
-
declare const index$
|
|
6091
|
-
type index$
|
|
6092
|
-
declare const index$
|
|
6093
|
-
declare const index$
|
|
6094
|
-
type index$
|
|
6095
|
-
declare const index$
|
|
6096
|
-
type index$
|
|
6097
|
-
declare const index$
|
|
6098
|
-
type index$
|
|
6099
|
-
type index$
|
|
6100
|
-
type index$
|
|
6101
|
-
type index$
|
|
6102
|
-
declare const index$
|
|
6103
|
-
type index$
|
|
6104
|
-
type index$
|
|
6105
|
-
declare const index$
|
|
6106
|
-
type index$
|
|
6107
|
-
declare const index$
|
|
6108
|
-
type index$
|
|
6109
|
-
declare const index$
|
|
6110
|
-
type index$
|
|
6111
|
-
declare const index$
|
|
6112
|
-
type index$
|
|
6113
|
-
declare const index$
|
|
6114
|
-
type index$
|
|
6115
|
-
declare const index$
|
|
6116
|
-
type index$
|
|
6117
|
-
declare const index$
|
|
6118
|
-
type index$
|
|
6119
|
-
declare const index$
|
|
6120
|
-
type index$
|
|
6121
|
-
declare const index$
|
|
6122
|
-
type index$
|
|
6123
|
-
declare const index$
|
|
6124
|
-
type index$
|
|
6125
|
-
type index$
|
|
6126
|
-
type index$
|
|
6127
|
-
type index$
|
|
6128
|
-
declare const index$
|
|
6129
|
-
type index$
|
|
6130
|
-
declare const index$
|
|
6131
|
-
type index$
|
|
6132
|
-
declare const index$
|
|
6133
|
-
type index$
|
|
6134
|
-
type index$
|
|
6135
|
-
type index$
|
|
6136
|
-
type index$
|
|
6137
|
-
type index$
|
|
6138
|
-
type index$
|
|
6139
|
-
type index$
|
|
6140
|
-
type index$
|
|
6141
|
-
declare const index$
|
|
6142
|
-
type index$
|
|
6143
|
-
type index$
|
|
6144
|
-
type index$
|
|
6145
|
-
type index$
|
|
6146
|
-
declare const index$
|
|
6147
|
-
type index$
|
|
6148
|
-
declare const index$
|
|
6149
|
-
type index$
|
|
6150
|
-
type index$
|
|
6151
|
-
type index$
|
|
6152
|
-
declare const index$
|
|
6153
|
-
type index$
|
|
6154
|
-
type index$
|
|
6155
|
-
declare const index$
|
|
6156
|
-
type index$
|
|
6157
|
-
type index$
|
|
6158
|
-
declare const index$
|
|
6159
|
-
type index$
|
|
6160
|
-
declare const index$
|
|
6161
|
-
type index$
|
|
6162
|
-
declare const index$
|
|
6163
|
-
type index$
|
|
6164
|
-
type index$
|
|
6165
|
-
declare const index$
|
|
6166
|
-
type index$
|
|
6167
|
-
declare const index$
|
|
6168
|
-
type index$
|
|
6169
|
-
type index$
|
|
6170
|
-
declare const index$
|
|
6171
|
-
type index$
|
|
6172
|
-
type index$
|
|
6173
|
-
type index$
|
|
6174
|
-
type index$
|
|
6175
|
-
declare const index$
|
|
6176
|
-
type index$
|
|
6177
|
-
type index$
|
|
6178
|
-
type index$
|
|
6179
|
-
declare const index$
|
|
6180
|
-
type index$
|
|
6181
|
-
type index$
|
|
6182
|
-
declare const index$
|
|
6183
|
-
declare namespace index$
|
|
6184
|
-
export { index$
|
|
6085
|
+
type index$8_AiSdkLlm = AiSdkLlm;
|
|
6086
|
+
declare const index$8_AiSdkLlm: typeof AiSdkLlm;
|
|
6087
|
+
type index$8_AnthropicLlm = AnthropicLlm;
|
|
6088
|
+
declare const index$8_AnthropicLlm: typeof AnthropicLlm;
|
|
6089
|
+
type index$8_ApiKeyCredential = ApiKeyCredential;
|
|
6090
|
+
declare const index$8_ApiKeyCredential: typeof ApiKeyCredential;
|
|
6091
|
+
type index$8_ApiKeyScheme = ApiKeyScheme;
|
|
6092
|
+
declare const index$8_ApiKeyScheme: typeof ApiKeyScheme;
|
|
6093
|
+
type index$8_AuthConfig = AuthConfig;
|
|
6094
|
+
declare const index$8_AuthConfig: typeof AuthConfig;
|
|
6095
|
+
type index$8_AuthCredential = AuthCredential;
|
|
6096
|
+
declare const index$8_AuthCredential: typeof AuthCredential;
|
|
6097
|
+
type index$8_AuthCredentialType = AuthCredentialType;
|
|
6098
|
+
declare const index$8_AuthCredentialType: typeof AuthCredentialType;
|
|
6099
|
+
type index$8_AuthHandler = AuthHandler;
|
|
6100
|
+
declare const index$8_AuthHandler: typeof AuthHandler;
|
|
6101
|
+
type index$8_AuthScheme = AuthScheme;
|
|
6102
|
+
declare const index$8_AuthScheme: typeof AuthScheme;
|
|
6103
|
+
type index$8_AuthSchemeType = AuthSchemeType;
|
|
6104
|
+
declare const index$8_AuthSchemeType: typeof AuthSchemeType;
|
|
6105
|
+
type index$8_BaseLLMConnection = BaseLLMConnection;
|
|
6106
|
+
declare const index$8_BaseLLMConnection: typeof BaseLLMConnection;
|
|
6107
|
+
type index$8_BaseLlm = BaseLlm;
|
|
6108
|
+
declare const index$8_BaseLlm: typeof BaseLlm;
|
|
6109
|
+
type index$8_BaseMemoryService = BaseMemoryService;
|
|
6110
|
+
type index$8_BasicAuthCredential = BasicAuthCredential;
|
|
6111
|
+
declare const index$8_BasicAuthCredential: typeof BasicAuthCredential;
|
|
6112
|
+
type index$8_BearerTokenCredential = BearerTokenCredential;
|
|
6113
|
+
declare const index$8_BearerTokenCredential: typeof BearerTokenCredential;
|
|
6114
|
+
declare const index$8_Blob: typeof Blob;
|
|
6115
|
+
type index$8_CohereEmbeddingProvider = CohereEmbeddingProvider;
|
|
6116
|
+
declare const index$8_CohereEmbeddingProvider: typeof CohereEmbeddingProvider;
|
|
6117
|
+
type index$8_CohereEmbeddingProviderConfig = CohereEmbeddingProviderConfig;
|
|
6118
|
+
declare const index$8_Content: typeof Content;
|
|
6119
|
+
type index$8_ContextCacheManager = ContextCacheManager;
|
|
6120
|
+
type index$8_EmbeddingProvider = EmbeddingProvider;
|
|
6121
|
+
type index$8_Entity = Entity;
|
|
6122
|
+
type index$8_FileStorageProvider = FileStorageProvider;
|
|
6123
|
+
declare const index$8_FileStorageProvider: typeof FileStorageProvider;
|
|
6124
|
+
type index$8_FileStorageProviderConfig = FileStorageProviderConfig;
|
|
6125
|
+
type index$8_FileVectorStore = FileVectorStore;
|
|
6126
|
+
declare const index$8_FileVectorStore: typeof FileVectorStore;
|
|
6127
|
+
type index$8_FileVectorStoreConfig = FileVectorStoreConfig;
|
|
6128
|
+
declare const index$8_FunctionDeclaration: typeof FunctionDeclaration;
|
|
6129
|
+
type index$8_GeminiContextCacheManager = GeminiContextCacheManager;
|
|
6130
|
+
declare const index$8_GeminiContextCacheManager: typeof GeminiContextCacheManager;
|
|
6131
|
+
type index$8_GoogleLlm = GoogleLlm;
|
|
6132
|
+
declare const index$8_GoogleLlm: typeof GoogleLlm;
|
|
6133
|
+
type index$8_HttpScheme = HttpScheme;
|
|
6134
|
+
declare const index$8_HttpScheme: typeof HttpScheme;
|
|
6135
|
+
type index$8_InMemoryMemoryService = InMemoryMemoryService;
|
|
6136
|
+
declare const index$8_InMemoryMemoryService: typeof InMemoryMemoryService;
|
|
6137
|
+
type index$8_InMemoryStorageProvider = InMemoryStorageProvider;
|
|
6138
|
+
declare const index$8_InMemoryStorageProvider: typeof InMemoryStorageProvider;
|
|
6139
|
+
type index$8_InMemoryVectorStore = InMemoryVectorStore;
|
|
6140
|
+
declare const index$8_InMemoryVectorStore: typeof InMemoryVectorStore;
|
|
6141
|
+
type index$8_LLMRegistry = LLMRegistry;
|
|
6142
|
+
declare const index$8_LLMRegistry: typeof LLMRegistry;
|
|
6143
|
+
type index$8_LlmError = LlmError;
|
|
6144
|
+
declare const index$8_LlmError: typeof LlmError;
|
|
6145
|
+
type index$8_LlmErrorOptions = LlmErrorOptions;
|
|
6146
|
+
type index$8_LlmModel = LlmModel;
|
|
6147
|
+
type index$8_LlmModelConfig = LlmModelConfig;
|
|
6148
|
+
type index$8_LlmRequest = LlmRequest;
|
|
6149
|
+
declare const index$8_LlmRequest: typeof LlmRequest;
|
|
6150
|
+
type index$8_LlmResponse = LlmResponse;
|
|
6151
|
+
declare const index$8_LlmResponse: typeof LlmResponse;
|
|
6152
|
+
type index$8_LlmSummaryProvider = LlmSummaryProvider;
|
|
6153
|
+
declare const index$8_LlmSummaryProvider: typeof LlmSummaryProvider;
|
|
6154
|
+
type index$8_LlmSummaryProviderConfig = LlmSummaryProviderConfig;
|
|
6155
|
+
type index$8_MemoryContent = MemoryContent;
|
|
6156
|
+
type index$8_MemoryDeleteFilter = MemoryDeleteFilter;
|
|
6157
|
+
type index$8_MemoryEntry = MemoryEntry;
|
|
6158
|
+
type index$8_MemoryRecord = MemoryRecord;
|
|
6159
|
+
type index$8_MemorySearchQuery = MemorySearchQuery;
|
|
6160
|
+
type index$8_MemorySearchResult = MemorySearchResult;
|
|
6161
|
+
type index$8_MemoryService = MemoryService;
|
|
6162
|
+
declare const index$8_MemoryService: typeof MemoryService;
|
|
6163
|
+
type index$8_MemoryServiceConfig = MemoryServiceConfig;
|
|
6164
|
+
type index$8_MemoryStorageProvider = MemoryStorageProvider;
|
|
6165
|
+
type index$8_MemorySummaryProvider = MemorySummaryProvider;
|
|
6166
|
+
type index$8_OAuth2Credential = OAuth2Credential;
|
|
6167
|
+
declare const index$8_OAuth2Credential: typeof OAuth2Credential;
|
|
6168
|
+
type index$8_OAuth2Scheme = OAuth2Scheme;
|
|
6169
|
+
declare const index$8_OAuth2Scheme: typeof OAuth2Scheme;
|
|
6170
|
+
type index$8_OAuthFlow = OAuthFlow;
|
|
6171
|
+
type index$8_OAuthFlows = OAuthFlows;
|
|
6172
|
+
type index$8_OllamaEmbeddingProvider = OllamaEmbeddingProvider;
|
|
6173
|
+
declare const index$8_OllamaEmbeddingProvider: typeof OllamaEmbeddingProvider;
|
|
6174
|
+
type index$8_OllamaEmbeddingProviderConfig = OllamaEmbeddingProviderConfig;
|
|
6175
|
+
type index$8_OpenAIEmbeddingProvider = OpenAIEmbeddingProvider;
|
|
6176
|
+
declare const index$8_OpenAIEmbeddingProvider: typeof OpenAIEmbeddingProvider;
|
|
6177
|
+
type index$8_OpenAIEmbeddingProviderConfig = OpenAIEmbeddingProviderConfig;
|
|
6178
|
+
type index$8_OpenAiLlm = OpenAiLlm;
|
|
6179
|
+
declare const index$8_OpenAiLlm: typeof OpenAiLlm;
|
|
6180
|
+
type index$8_OpenIdConnectScheme = OpenIdConnectScheme;
|
|
6181
|
+
declare const index$8_OpenIdConnectScheme: typeof OpenIdConnectScheme;
|
|
6182
|
+
type index$8_OpenRouterEmbeddingProvider = OpenRouterEmbeddingProvider;
|
|
6183
|
+
declare const index$8_OpenRouterEmbeddingProvider: typeof OpenRouterEmbeddingProvider;
|
|
6184
|
+
type index$8_OpenRouterEmbeddingProviderConfig = OpenRouterEmbeddingProviderConfig;
|
|
6185
|
+
type index$8_PassthroughSummaryProvider = PassthroughSummaryProvider;
|
|
6186
|
+
declare const index$8_PassthroughSummaryProvider: typeof PassthroughSummaryProvider;
|
|
6187
|
+
type index$8_QdrantVectorStore = QdrantVectorStore;
|
|
6188
|
+
declare const index$8_QdrantVectorStore: typeof QdrantVectorStore;
|
|
6189
|
+
type index$8_QdrantVectorStoreConfig = QdrantVectorStoreConfig;
|
|
6190
|
+
type index$8_RateLimitError = RateLimitError;
|
|
6191
|
+
declare const index$8_RateLimitError: typeof RateLimitError;
|
|
6192
|
+
type index$8_SearchMemoryResponse = SearchMemoryResponse;
|
|
6193
|
+
type index$8_SearchMode = SearchMode;
|
|
6194
|
+
type index$8_Session = Session;
|
|
6195
|
+
type index$8_State = State;
|
|
6196
|
+
declare const index$8_State: typeof State;
|
|
6197
|
+
type index$8_ThinkingConfig = ThinkingConfig;
|
|
6198
|
+
type index$8_TopicSegment = TopicSegment;
|
|
6199
|
+
type index$8_VectorStorageProvider = VectorStorageProvider;
|
|
6200
|
+
declare const index$8_VectorStorageProvider: typeof VectorStorageProvider;
|
|
6201
|
+
type index$8_VectorStorageProviderConfig = VectorStorageProviderConfig;
|
|
6202
|
+
type index$8_VectorStore = VectorStore;
|
|
6203
|
+
declare const index$8_registerProviders: typeof registerProviders;
|
|
6204
|
+
declare namespace index$8 {
|
|
6205
|
+
export { index$8_AiSdkLlm as AiSdkLlm, index$8_AnthropicLlm as AnthropicLlm, index$8_ApiKeyCredential as ApiKeyCredential, index$8_ApiKeyScheme as ApiKeyScheme, index$8_AuthConfig as AuthConfig, index$8_AuthCredential as AuthCredential, index$8_AuthCredentialType as AuthCredentialType, index$8_AuthHandler as AuthHandler, index$8_AuthScheme as AuthScheme, index$8_AuthSchemeType as AuthSchemeType, index$8_BaseLLMConnection as BaseLLMConnection, index$8_BaseLlm as BaseLlm, type index$8_BaseMemoryService as BaseMemoryService, index$8_BasicAuthCredential as BasicAuthCredential, index$8_BearerTokenCredential as BearerTokenCredential, index$8_Blob as Blob, index$8_CohereEmbeddingProvider as CohereEmbeddingProvider, type index$8_CohereEmbeddingProviderConfig as CohereEmbeddingProviderConfig, index$8_Content as Content, type index$8_ContextCacheManager as ContextCacheManager, type index$8_EmbeddingProvider as EmbeddingProvider, type index$8_Entity as Entity, index$8_FileStorageProvider as FileStorageProvider, type index$8_FileStorageProviderConfig as FileStorageProviderConfig, index$8_FileVectorStore as FileVectorStore, type index$8_FileVectorStoreConfig as FileVectorStoreConfig, index$8_FunctionDeclaration as FunctionDeclaration, index$8_GeminiContextCacheManager as GeminiContextCacheManager, index$8_GoogleLlm as GoogleLlm, index$8_HttpScheme as HttpScheme, index$8_InMemoryMemoryService as InMemoryMemoryService, index$8_InMemoryStorageProvider as InMemoryStorageProvider, index$8_InMemoryVectorStore as InMemoryVectorStore, Schema as JSONSchema, index$8_LLMRegistry as LLMRegistry, index$8_LlmError as LlmError, type index$8_LlmErrorOptions as LlmErrorOptions, type index$8_LlmModel as LlmModel, type index$8_LlmModelConfig as LlmModelConfig, index$8_LlmRequest as LlmRequest, index$8_LlmResponse as LlmResponse, index$8_LlmSummaryProvider as LlmSummaryProvider, type index$8_LlmSummaryProviderConfig as LlmSummaryProviderConfig, type index$8_MemoryContent as MemoryContent, type index$8_MemoryDeleteFilter as MemoryDeleteFilter, type index$8_MemoryEntry as MemoryEntry, type index$8_MemoryRecord as MemoryRecord, type index$8_MemorySearchQuery as MemorySearchQuery, type index$8_MemorySearchResult as MemorySearchResult, index$8_MemoryService as MemoryService, type index$8_MemoryServiceConfig as MemoryServiceConfig, type index$8_MemoryStorageProvider as MemoryStorageProvider, type index$8_MemorySummaryProvider as MemorySummaryProvider, index$8_OAuth2Credential as OAuth2Credential, index$8_OAuth2Scheme as OAuth2Scheme, type index$8_OAuthFlow as OAuthFlow, type index$8_OAuthFlows as OAuthFlows, index$8_OllamaEmbeddingProvider as OllamaEmbeddingProvider, type index$8_OllamaEmbeddingProviderConfig as OllamaEmbeddingProviderConfig, index$8_OpenAIEmbeddingProvider as OpenAIEmbeddingProvider, type index$8_OpenAIEmbeddingProviderConfig as OpenAIEmbeddingProviderConfig, index$8_OpenAiLlm as OpenAiLlm, index$8_OpenIdConnectScheme as OpenIdConnectScheme, index$8_OpenRouterEmbeddingProvider as OpenRouterEmbeddingProvider, type index$8_OpenRouterEmbeddingProviderConfig as OpenRouterEmbeddingProviderConfig, index$8_PassthroughSummaryProvider as PassthroughSummaryProvider, index$8_QdrantVectorStore as QdrantVectorStore, type index$8_QdrantVectorStoreConfig as QdrantVectorStoreConfig, index$8_RateLimitError as RateLimitError, type index$8_SearchMemoryResponse as SearchMemoryResponse, type index$8_SearchMode as SearchMode, type index$8_Session as Session, index$8_State as State, type index$8_ThinkingConfig as ThinkingConfig, type index$8_TopicSegment as TopicSegment, index$8_VectorStorageProvider as VectorStorageProvider, type index$8_VectorStorageProviderConfig as VectorStorageProviderConfig, type index$8_VectorStore as VectorStore, index$8_registerProviders as registerProviders };
|
|
6185
6206
|
}
|
|
6186
6207
|
|
|
6187
6208
|
/**
|
|
@@ -6861,72 +6882,72 @@ declare class SequentialAgent extends BaseAgent {
|
|
|
6861
6882
|
protected runLiveImpl(ctx: InvocationContext): AsyncGenerator<Event, void, unknown>;
|
|
6862
6883
|
}
|
|
6863
6884
|
|
|
6864
|
-
type index$
|
|
6865
|
-
type index$
|
|
6866
|
-
type index$
|
|
6867
|
-
type index$
|
|
6868
|
-
declare const index$
|
|
6869
|
-
type index$
|
|
6870
|
-
type index$
|
|
6871
|
-
type index$
|
|
6872
|
-
type index$
|
|
6873
|
-
declare const index$
|
|
6874
|
-
type index$
|
|
6875
|
-
type index$
|
|
6876
|
-
type index$
|
|
6877
|
-
type index$
|
|
6878
|
-
type index$
|
|
6879
|
-
declare const index$
|
|
6880
|
-
type index$
|
|
6881
|
-
declare const index$
|
|
6882
|
-
type index$
|
|
6883
|
-
type index$
|
|
6884
|
-
type index$
|
|
6885
|
-
type index$
|
|
6886
|
-
type index$
|
|
6887
|
-
declare const index$
|
|
6888
|
-
type index$
|
|
6889
|
-
declare const index$
|
|
6890
|
-
type index$
|
|
6891
|
-
type index$
|
|
6892
|
-
type index$
|
|
6893
|
-
declare const index$
|
|
6894
|
-
type index$
|
|
6895
|
-
type index$
|
|
6896
|
-
declare const index$
|
|
6897
|
-
type index$
|
|
6898
|
-
declare const index$
|
|
6899
|
-
type index$
|
|
6900
|
-
type index$
|
|
6901
|
-
type index$
|
|
6902
|
-
type index$
|
|
6903
|
-
declare const index$
|
|
6904
|
-
type index$
|
|
6905
|
-
type index$
|
|
6906
|
-
declare const index$
|
|
6907
|
-
type index$
|
|
6908
|
-
declare const index$
|
|
6909
|
-
type index$
|
|
6910
|
-
type index$
|
|
6911
|
-
declare const index$
|
|
6912
|
-
type index$
|
|
6913
|
-
type index$
|
|
6914
|
-
type index$
|
|
6915
|
-
type index$
|
|
6916
|
-
type index$
|
|
6917
|
-
type index$
|
|
6918
|
-
type index$
|
|
6919
|
-
type index$
|
|
6920
|
-
type index$
|
|
6921
|
-
declare const index$
|
|
6922
|
-
type index$
|
|
6923
|
-
type index$
|
|
6924
|
-
declare const index$
|
|
6925
|
-
declare const index$
|
|
6926
|
-
declare const index$
|
|
6927
|
-
declare const index$
|
|
6928
|
-
declare namespace index$
|
|
6929
|
-
export { type index$
|
|
6885
|
+
type index$7_AfterAgentCallback = AfterAgentCallback;
|
|
6886
|
+
type index$7_AfterModelCallback = AfterModelCallback;
|
|
6887
|
+
type index$7_AfterToolCallback = AfterToolCallback;
|
|
6888
|
+
type index$7_AgentBuilder<TOut = string, TMulti extends boolean = false> = AgentBuilder<TOut, TMulti>;
|
|
6889
|
+
declare const index$7_AgentBuilder: typeof AgentBuilder;
|
|
6890
|
+
type index$7_AgentBuilderConfig = AgentBuilderConfig;
|
|
6891
|
+
type index$7_AgentBuilderWithSchema<T, M extends boolean = false> = AgentBuilderWithSchema<T, M>;
|
|
6892
|
+
type index$7_AgentType = AgentType;
|
|
6893
|
+
type index$7_BaseAgent = BaseAgent;
|
|
6894
|
+
declare const index$7_BaseAgent: typeof BaseAgent;
|
|
6895
|
+
type index$7_BeforeAgentCallback = BeforeAgentCallback;
|
|
6896
|
+
type index$7_BeforeModelCallback = BeforeModelCallback;
|
|
6897
|
+
type index$7_BeforeToolCallback = BeforeToolCallback;
|
|
6898
|
+
type index$7_BuiltAgent<T = string, M extends boolean = false> = BuiltAgent<T, M>;
|
|
6899
|
+
type index$7_CallbackContext = CallbackContext;
|
|
6900
|
+
declare const index$7_CallbackContext: typeof CallbackContext;
|
|
6901
|
+
type index$7_ContextCacheConfig = ContextCacheConfig;
|
|
6902
|
+
declare const index$7_ContextCacheConfig: typeof ContextCacheConfig;
|
|
6903
|
+
type index$7_ContextCacheConfigProps = ContextCacheConfigProps;
|
|
6904
|
+
type index$7_EnhancedRunner<T = string, M extends boolean = false> = EnhancedRunner<T, M>;
|
|
6905
|
+
type index$7_FullMessage = FullMessage;
|
|
6906
|
+
type index$7_InstructionProvider = InstructionProvider;
|
|
6907
|
+
type index$7_InvocationContext = InvocationContext;
|
|
6908
|
+
declare const index$7_InvocationContext: typeof InvocationContext;
|
|
6909
|
+
type index$7_LangGraphAgent = LangGraphAgent;
|
|
6910
|
+
declare const index$7_LangGraphAgent: typeof LangGraphAgent;
|
|
6911
|
+
type index$7_LangGraphAgentConfig = LangGraphAgentConfig;
|
|
6912
|
+
type index$7_LangGraphNode = LangGraphNode;
|
|
6913
|
+
type index$7_LlmAgent<T extends BaseLlm = BaseLlm> = LlmAgent<T>;
|
|
6914
|
+
declare const index$7_LlmAgent: typeof LlmAgent;
|
|
6915
|
+
type index$7_LlmAgentConfig<T extends BaseLlm = BaseLlm> = LlmAgentConfig<T>;
|
|
6916
|
+
type index$7_LlmCallsLimitExceededError = LlmCallsLimitExceededError;
|
|
6917
|
+
declare const index$7_LlmCallsLimitExceededError: typeof LlmCallsLimitExceededError;
|
|
6918
|
+
type index$7_LoopAgent = LoopAgent;
|
|
6919
|
+
declare const index$7_LoopAgent: typeof LoopAgent;
|
|
6920
|
+
type index$7_LoopAgentConfig = LoopAgentConfig;
|
|
6921
|
+
type index$7_MessagePart = MessagePart;
|
|
6922
|
+
type index$7_MultiAgentResponse = MultiAgentResponse;
|
|
6923
|
+
type index$7_ParallelAgent = ParallelAgent;
|
|
6924
|
+
declare const index$7_ParallelAgent: typeof ParallelAgent;
|
|
6925
|
+
type index$7_ParallelAgentConfig = ParallelAgentConfig;
|
|
6926
|
+
type index$7_ReadonlyContext = ReadonlyContext;
|
|
6927
|
+
declare const index$7_ReadonlyContext: typeof ReadonlyContext;
|
|
6928
|
+
type index$7_RunConfig = RunConfig;
|
|
6929
|
+
declare const index$7_RunConfig: typeof RunConfig;
|
|
6930
|
+
type index$7_RunnerAskReturn<T, M extends boolean> = RunnerAskReturn<T, M>;
|
|
6931
|
+
type index$7_SequentialAgent = SequentialAgent;
|
|
6932
|
+
declare const index$7_SequentialAgent: typeof SequentialAgent;
|
|
6933
|
+
type index$7_SequentialAgentConfig = SequentialAgentConfig;
|
|
6934
|
+
type index$7_SessionOptions = SessionOptions;
|
|
6935
|
+
type index$7_SingleAfterModelCallback = SingleAfterModelCallback;
|
|
6936
|
+
type index$7_SingleAfterToolCallback = SingleAfterToolCallback;
|
|
6937
|
+
type index$7_SingleAgentCallback = SingleAgentCallback;
|
|
6938
|
+
type index$7_SingleBeforeModelCallback = SingleBeforeModelCallback;
|
|
6939
|
+
type index$7_SingleBeforeToolCallback = SingleBeforeToolCallback;
|
|
6940
|
+
type index$7_SpanCounters = SpanCounters;
|
|
6941
|
+
type index$7_StreamingMode = StreamingMode;
|
|
6942
|
+
declare const index$7_StreamingMode: typeof StreamingMode;
|
|
6943
|
+
type index$7_ToolUnion = ToolUnion;
|
|
6944
|
+
type index$7_TransferContext = TransferContext;
|
|
6945
|
+
declare const index$7_contextCacheConfigSchema: typeof contextCacheConfigSchema;
|
|
6946
|
+
declare const index$7_createBranchContextForSubAgent: typeof createBranchContextForSubAgent;
|
|
6947
|
+
declare const index$7_mergeAgentRun: typeof mergeAgentRun;
|
|
6948
|
+
declare const index$7_newInvocationContextId: typeof newInvocationContextId;
|
|
6949
|
+
declare namespace index$7 {
|
|
6950
|
+
export { type index$7_AfterAgentCallback as AfterAgentCallback, type index$7_AfterModelCallback as AfterModelCallback, type index$7_AfterToolCallback as AfterToolCallback, LlmAgent as Agent, index$7_AgentBuilder as AgentBuilder, type index$7_AgentBuilderConfig as AgentBuilderConfig, type index$7_AgentBuilderWithSchema as AgentBuilderWithSchema, type index$7_AgentType as AgentType, index$7_BaseAgent as BaseAgent, type index$7_BeforeAgentCallback as BeforeAgentCallback, type index$7_BeforeModelCallback as BeforeModelCallback, type index$7_BeforeToolCallback as BeforeToolCallback, type index$7_BuiltAgent as BuiltAgent, index$7_CallbackContext as CallbackContext, index$7_ContextCacheConfig as ContextCacheConfig, type index$7_ContextCacheConfigProps as ContextCacheConfigProps, type index$7_EnhancedRunner as EnhancedRunner, type index$7_FullMessage as FullMessage, type index$7_InstructionProvider as InstructionProvider, index$7_InvocationContext as InvocationContext, index$7_LangGraphAgent as LangGraphAgent, type index$7_LangGraphAgentConfig as LangGraphAgentConfig, type index$7_LangGraphNode as LangGraphNode, index$7_LlmAgent as LlmAgent, type index$7_LlmAgentConfig as LlmAgentConfig, index$7_LlmCallsLimitExceededError as LlmCallsLimitExceededError, index$7_LoopAgent as LoopAgent, type index$7_LoopAgentConfig as LoopAgentConfig, type index$7_MessagePart as MessagePart, type index$7_MultiAgentResponse as MultiAgentResponse, index$7_ParallelAgent as ParallelAgent, type index$7_ParallelAgentConfig as ParallelAgentConfig, index$7_ReadonlyContext as ReadonlyContext, index$7_RunConfig as RunConfig, type index$7_RunnerAskReturn as RunnerAskReturn, index$7_SequentialAgent as SequentialAgent, type index$7_SequentialAgentConfig as SequentialAgentConfig, type index$7_SessionOptions as SessionOptions, type index$7_SingleAfterModelCallback as SingleAfterModelCallback, type index$7_SingleAfterToolCallback as SingleAfterToolCallback, type index$7_SingleAgentCallback as SingleAgentCallback, type index$7_SingleBeforeModelCallback as SingleBeforeModelCallback, type index$7_SingleBeforeToolCallback as SingleBeforeToolCallback, type index$7_SpanCounters as SpanCounters, index$7_StreamingMode as StreamingMode, type index$7_ToolUnion as ToolUnion, type index$7_TransferContext as TransferContext, index$7_contextCacheConfigSchema as contextCacheConfigSchema, index$7_createBranchContextForSubAgent as createBranchContextForSubAgent, index$7_mergeAgentRun as mergeAgentRun, index$7_newInvocationContextId as newInvocationContextId };
|
|
6930
6951
|
}
|
|
6931
6952
|
|
|
6932
6953
|
interface ParsedArtifactUri {
|
|
@@ -7317,45 +7338,45 @@ declare class SafetyEvaluatorV1 extends Evaluator {
|
|
|
7317
7338
|
evaluateInvocations(actualInvocations: Invocation[], expectedInvocations: Invocation[]): Promise<EvaluationResult>;
|
|
7318
7339
|
}
|
|
7319
7340
|
|
|
7320
|
-
type index$
|
|
7321
|
-
declare const index$
|
|
7322
|
-
type index$
|
|
7323
|
-
type index$
|
|
7324
|
-
type index$
|
|
7325
|
-
type index$
|
|
7326
|
-
type index$
|
|
7327
|
-
type index$
|
|
7328
|
-
declare const index$
|
|
7329
|
-
type index$
|
|
7330
|
-
type index$
|
|
7331
|
-
type index$
|
|
7332
|
-
declare const index$
|
|
7333
|
-
type index$
|
|
7334
|
-
type index$
|
|
7335
|
-
type index$
|
|
7336
|
-
declare const index$
|
|
7337
|
-
type index$
|
|
7338
|
-
declare const index$
|
|
7339
|
-
type index$
|
|
7340
|
-
type index$
|
|
7341
|
-
type index$
|
|
7342
|
-
type index$
|
|
7343
|
-
type index$
|
|
7344
|
-
declare const index$
|
|
7345
|
-
type index$
|
|
7346
|
-
type index$
|
|
7347
|
-
type index$
|
|
7348
|
-
type index$
|
|
7349
|
-
declare const index$
|
|
7350
|
-
type index$
|
|
7351
|
-
declare const index$
|
|
7352
|
-
type index$
|
|
7353
|
-
declare const index$
|
|
7354
|
-
type index$
|
|
7355
|
-
type index$
|
|
7356
|
-
declare const index$
|
|
7357
|
-
declare namespace index$
|
|
7358
|
-
export { index$
|
|
7341
|
+
type index$6_AgentEvaluator = AgentEvaluator;
|
|
7342
|
+
declare const index$6_AgentEvaluator: typeof AgentEvaluator;
|
|
7343
|
+
type index$6_EvalCase = EvalCase;
|
|
7344
|
+
type index$6_EvalCaseResult = EvalCaseResult;
|
|
7345
|
+
type index$6_EvalMetric = EvalMetric;
|
|
7346
|
+
type index$6_EvalMetricResult = EvalMetricResult;
|
|
7347
|
+
type index$6_EvalMetricResultPerInvocation = EvalMetricResultPerInvocation;
|
|
7348
|
+
type index$6_EvalResult = EvalResult;
|
|
7349
|
+
declare const index$6_EvalResult: typeof EvalResult;
|
|
7350
|
+
type index$6_EvalSet = EvalSet;
|
|
7351
|
+
type index$6_EvalSetResult = EvalSetResult;
|
|
7352
|
+
type index$6_EvalStatus = EvalStatus;
|
|
7353
|
+
declare const index$6_EvalStatus: typeof EvalStatus;
|
|
7354
|
+
type index$6_EvaluateConfig = EvaluateConfig;
|
|
7355
|
+
type index$6_EvaluationResult = EvaluationResult;
|
|
7356
|
+
type index$6_Evaluator = Evaluator;
|
|
7357
|
+
declare const index$6_Evaluator: typeof Evaluator;
|
|
7358
|
+
type index$6_FinalResponseMatchV2Evaluator = FinalResponseMatchV2Evaluator;
|
|
7359
|
+
declare const index$6_FinalResponseMatchV2Evaluator: typeof FinalResponseMatchV2Evaluator;
|
|
7360
|
+
type index$6_IntermediateData = IntermediateData;
|
|
7361
|
+
type index$6_Interval = Interval;
|
|
7362
|
+
type index$6_Invocation = Invocation;
|
|
7363
|
+
type index$6_JudgeModelOptions = JudgeModelOptions;
|
|
7364
|
+
type index$6_LocalEvalService = LocalEvalService;
|
|
7365
|
+
declare const index$6_LocalEvalService: typeof LocalEvalService;
|
|
7366
|
+
type index$6_MetricInfo = MetricInfo;
|
|
7367
|
+
type index$6_MetricValueInfo = MetricValueInfo;
|
|
7368
|
+
type index$6_PerInvocationResult = PerInvocationResult;
|
|
7369
|
+
type index$6_PrebuiltMetrics = PrebuiltMetrics;
|
|
7370
|
+
declare const index$6_PrebuiltMetrics: typeof PrebuiltMetrics;
|
|
7371
|
+
type index$6_RougeEvaluator = RougeEvaluator;
|
|
7372
|
+
declare const index$6_RougeEvaluator: typeof RougeEvaluator;
|
|
7373
|
+
type index$6_SafetyEvaluatorV1 = SafetyEvaluatorV1;
|
|
7374
|
+
declare const index$6_SafetyEvaluatorV1: typeof SafetyEvaluatorV1;
|
|
7375
|
+
type index$6_SessionInput = SessionInput;
|
|
7376
|
+
type index$6_TrajectoryEvaluator = TrajectoryEvaluator;
|
|
7377
|
+
declare const index$6_TrajectoryEvaluator: typeof TrajectoryEvaluator;
|
|
7378
|
+
declare namespace index$6 {
|
|
7379
|
+
export { index$6_AgentEvaluator as AgentEvaluator, type index$6_EvalCase as EvalCase, type index$6_EvalCaseResult as EvalCaseResult, type index$6_EvalMetric as EvalMetric, type index$6_EvalMetricResult as EvalMetricResult, type index$6_EvalMetricResultPerInvocation as EvalMetricResultPerInvocation, index$6_EvalResult as EvalResult, type index$6_EvalSet as EvalSet, type index$6_EvalSetResult as EvalSetResult, index$6_EvalStatus as EvalStatus, type index$6_EvaluateConfig as EvaluateConfig, type index$6_EvaluationResult as EvaluationResult, index$6_Evaluator as Evaluator, index$6_FinalResponseMatchV2Evaluator as FinalResponseMatchV2Evaluator, type index$6_IntermediateData as IntermediateData, type index$6_Interval as Interval, type index$6_Invocation as Invocation, type index$6_JudgeModelOptions as JudgeModelOptions, index$6_LocalEvalService as LocalEvalService, type index$6_MetricInfo as MetricInfo, type index$6_MetricValueInfo as MetricValueInfo, type index$6_PerInvocationResult as PerInvocationResult, index$6_PrebuiltMetrics as PrebuiltMetrics, index$6_RougeEvaluator as RougeEvaluator, index$6_SafetyEvaluatorV1 as SafetyEvaluatorV1, type index$6_SessionInput as SessionInput, index$6_TrajectoryEvaluator as TrajectoryEvaluator };
|
|
7359
7380
|
}
|
|
7360
7381
|
|
|
7361
7382
|
/**
|
|
@@ -7561,28 +7582,28 @@ declare const requestProcessor: NlPlanningRequestProcessor;
|
|
|
7561
7582
|
*/
|
|
7562
7583
|
declare const responseProcessor: NlPlanningResponseProcessor;
|
|
7563
7584
|
|
|
7564
|
-
declare const index$
|
|
7565
|
-
type index$
|
|
7566
|
-
declare const index$
|
|
7567
|
-
type index$
|
|
7568
|
-
declare const index$
|
|
7569
|
-
type index$
|
|
7570
|
-
declare const index$
|
|
7571
|
-
type index$
|
|
7572
|
-
declare const index$
|
|
7573
|
-
declare const index$
|
|
7574
|
-
type index$
|
|
7575
|
-
declare const index$
|
|
7576
|
-
declare const index$
|
|
7577
|
-
declare const index$
|
|
7578
|
-
declare const index$
|
|
7579
|
-
declare const index$
|
|
7580
|
-
declare const index$
|
|
7581
|
-
declare const index$
|
|
7582
|
-
declare const index$
|
|
7583
|
-
declare const index$
|
|
7584
|
-
declare namespace index$
|
|
7585
|
-
export { index$
|
|
7585
|
+
declare const index$5_AF_FUNCTION_CALL_ID_PREFIX: typeof AF_FUNCTION_CALL_ID_PREFIX;
|
|
7586
|
+
type index$5_AutoFlow = AutoFlow;
|
|
7587
|
+
declare const index$5_AutoFlow: typeof AutoFlow;
|
|
7588
|
+
type index$5_BaseLlmFlow = BaseLlmFlow;
|
|
7589
|
+
declare const index$5_BaseLlmFlow: typeof BaseLlmFlow;
|
|
7590
|
+
type index$5_BaseLlmRequestProcessor = BaseLlmRequestProcessor;
|
|
7591
|
+
declare const index$5_BaseLlmRequestProcessor: typeof BaseLlmRequestProcessor;
|
|
7592
|
+
type index$5_BaseLlmResponseProcessor = BaseLlmResponseProcessor;
|
|
7593
|
+
declare const index$5_BaseLlmResponseProcessor: typeof BaseLlmResponseProcessor;
|
|
7594
|
+
declare const index$5_REQUEST_EUC_FUNCTION_CALL_NAME: typeof REQUEST_EUC_FUNCTION_CALL_NAME;
|
|
7595
|
+
type index$5_SingleFlow = SingleFlow;
|
|
7596
|
+
declare const index$5_SingleFlow: typeof SingleFlow;
|
|
7597
|
+
declare const index$5_generateAuthEvent: typeof generateAuthEvent;
|
|
7598
|
+
declare const index$5_generateClientFunctionCallId: typeof generateClientFunctionCallId;
|
|
7599
|
+
declare const index$5_getLongRunningFunctionCalls: typeof getLongRunningFunctionCalls;
|
|
7600
|
+
declare const index$5_handleFunctionCallsAsync: typeof handleFunctionCallsAsync;
|
|
7601
|
+
declare const index$5_handleFunctionCallsLive: typeof handleFunctionCallsLive;
|
|
7602
|
+
declare const index$5_mergeParallelFunctionResponseEvents: typeof mergeParallelFunctionResponseEvents;
|
|
7603
|
+
declare const index$5_populateClientFunctionCallId: typeof populateClientFunctionCallId;
|
|
7604
|
+
declare const index$5_removeClientFunctionCallId: typeof removeClientFunctionCallId;
|
|
7605
|
+
declare namespace index$5 {
|
|
7606
|
+
export { index$5_AF_FUNCTION_CALL_ID_PREFIX as AF_FUNCTION_CALL_ID_PREFIX, index$5_AutoFlow as AutoFlow, index$5_BaseLlmFlow as BaseLlmFlow, index$5_BaseLlmRequestProcessor as BaseLlmRequestProcessor, index$5_BaseLlmResponseProcessor as BaseLlmResponseProcessor, index$5_REQUEST_EUC_FUNCTION_CALL_NAME as REQUEST_EUC_FUNCTION_CALL_NAME, index$5_SingleFlow as SingleFlow, requestProcessor$6 as agentTransferRequestProcessor, requestProcessor$5 as basicRequestProcessor, requestProcessor$4 as codeExecutionRequestProcessor, responseProcessor$1 as codeExecutionResponseProcessor, requestProcessor$3 as contentRequestProcessor, index$5_generateAuthEvent as generateAuthEvent, index$5_generateClientFunctionCallId as generateClientFunctionCallId, index$5_getLongRunningFunctionCalls as getLongRunningFunctionCalls, index$5_handleFunctionCallsAsync as handleFunctionCallsAsync, index$5_handleFunctionCallsLive as handleFunctionCallsLive, requestProcessor$2 as identityRequestProcessor, requestProcessor$1 as instructionsRequestProcessor, index$5_mergeParallelFunctionResponseEvents as mergeParallelFunctionResponseEvents, requestProcessor as nlPlanningRequestProcessor, responseProcessor as nlPlanningResponseProcessor, index$5_populateClientFunctionCallId as populateClientFunctionCallId, index$5_removeClientFunctionCallId as removeClientFunctionCallId };
|
|
7586
7607
|
}
|
|
7587
7608
|
|
|
7588
7609
|
/**
|
|
@@ -7893,31 +7914,31 @@ declare class ToolOutputFilterPlugin extends BasePlugin {
|
|
|
7893
7914
|
close(): Promise<void>;
|
|
7894
7915
|
}
|
|
7895
7916
|
|
|
7896
|
-
type index$
|
|
7897
|
-
declare const index$
|
|
7898
|
-
type index$
|
|
7899
|
-
type index$
|
|
7900
|
-
declare const index$
|
|
7901
|
-
type index$
|
|
7902
|
-
type index$
|
|
7903
|
-
declare const index$
|
|
7904
|
-
type index$
|
|
7905
|
-
type index$
|
|
7906
|
-
type index$
|
|
7907
|
-
declare const index$
|
|
7908
|
-
declare const index$
|
|
7909
|
-
type index$
|
|
7910
|
-
declare const index$
|
|
7911
|
-
type index$
|
|
7912
|
-
type index$
|
|
7913
|
-
type index$
|
|
7914
|
-
declare const index$
|
|
7915
|
-
type index$
|
|
7916
|
-
type index$
|
|
7917
|
-
declare const index$
|
|
7918
|
-
declare const index$
|
|
7919
|
-
declare namespace index$
|
|
7920
|
-
export { index$
|
|
7917
|
+
type index$4_BasePlugin = BasePlugin;
|
|
7918
|
+
declare const index$4_BasePlugin: typeof BasePlugin;
|
|
7919
|
+
type index$4_FilterConfig = FilterConfig;
|
|
7920
|
+
type index$4_LangfusePlugin = LangfusePlugin;
|
|
7921
|
+
declare const index$4_LangfusePlugin: typeof LangfusePlugin;
|
|
7922
|
+
type index$4_LangfusePluginOptions = LangfusePluginOptions;
|
|
7923
|
+
type index$4_ModelFallbackPlugin = ModelFallbackPlugin;
|
|
7924
|
+
declare const index$4_ModelFallbackPlugin: typeof ModelFallbackPlugin;
|
|
7925
|
+
type index$4_PerToolFailuresCounter = PerToolFailuresCounter;
|
|
7926
|
+
type index$4_PluginCallbackName = PluginCallbackName;
|
|
7927
|
+
type index$4_PluginManager = PluginManager;
|
|
7928
|
+
declare const index$4_PluginManager: typeof PluginManager;
|
|
7929
|
+
declare const index$4_REFLECT_AND_RETRY_RESPONSE_TYPE: typeof REFLECT_AND_RETRY_RESPONSE_TYPE;
|
|
7930
|
+
type index$4_ReflectAndRetryToolPlugin = ReflectAndRetryToolPlugin;
|
|
7931
|
+
declare const index$4_ReflectAndRetryToolPlugin: typeof ReflectAndRetryToolPlugin;
|
|
7932
|
+
type index$4_ReflectAndRetryToolPluginOptions = ReflectAndRetryToolPluginOptions;
|
|
7933
|
+
type index$4_ToolFailureResponse = ToolFailureResponse;
|
|
7934
|
+
type index$4_ToolOutputFilterPlugin = ToolOutputFilterPlugin;
|
|
7935
|
+
declare const index$4_ToolOutputFilterPlugin: typeof ToolOutputFilterPlugin;
|
|
7936
|
+
type index$4_ToolOutputFilterPluginOptions = ToolOutputFilterPluginOptions;
|
|
7937
|
+
type index$4_TrackingScope = TrackingScope;
|
|
7938
|
+
declare const index$4_TrackingScope: typeof TrackingScope;
|
|
7939
|
+
declare const index$4_pluginCallbackNameSchema: typeof pluginCallbackNameSchema;
|
|
7940
|
+
declare namespace index$4 {
|
|
7941
|
+
export { index$4_BasePlugin as BasePlugin, type index$4_FilterConfig as FilterConfig, index$4_LangfusePlugin as LangfusePlugin, type index$4_LangfusePluginOptions as LangfusePluginOptions, index$4_ModelFallbackPlugin as ModelFallbackPlugin, type index$4_PerToolFailuresCounter as PerToolFailuresCounter, type index$4_PluginCallbackName as PluginCallbackName, index$4_PluginManager as PluginManager, index$4_REFLECT_AND_RETRY_RESPONSE_TYPE as REFLECT_AND_RETRY_RESPONSE_TYPE, index$4_ReflectAndRetryToolPlugin as ReflectAndRetryToolPlugin, type index$4_ReflectAndRetryToolPluginOptions as ReflectAndRetryToolPluginOptions, type index$4_ToolFailureResponse as ToolFailureResponse, index$4_ToolOutputFilterPlugin as ToolOutputFilterPlugin, type index$4_ToolOutputFilterPluginOptions as ToolOutputFilterPluginOptions, index$4_TrackingScope as TrackingScope, index$4_pluginCallbackNameSchema as pluginCallbackNameSchema };
|
|
7921
7942
|
}
|
|
7922
7943
|
|
|
7923
7944
|
/**
|
|
@@ -8084,13 +8105,13 @@ declare class AgentScheduler {
|
|
|
8084
8105
|
private emitEvent;
|
|
8085
8106
|
}
|
|
8086
8107
|
|
|
8087
|
-
type index$
|
|
8088
|
-
declare const index$
|
|
8089
|
-
type index$
|
|
8090
|
-
type index$
|
|
8091
|
-
type index$
|
|
8092
|
-
declare namespace index$
|
|
8093
|
-
export { index$
|
|
8108
|
+
type index$3_AgentScheduler = AgentScheduler;
|
|
8109
|
+
declare const index$3_AgentScheduler: typeof AgentScheduler;
|
|
8110
|
+
type index$3_ScheduledJob = ScheduledJob;
|
|
8111
|
+
type index$3_SchedulerEvent = SchedulerEvent;
|
|
8112
|
+
type index$3_SchedulerEventType = SchedulerEventType;
|
|
8113
|
+
declare namespace index$3 {
|
|
8114
|
+
export { index$3_AgentScheduler as AgentScheduler, type index$3_ScheduledJob as ScheduledJob, type index$3_SchedulerEvent as SchedulerEvent, type index$3_SchedulerEventType as SchedulerEventType };
|
|
8094
8115
|
}
|
|
8095
8116
|
|
|
8096
8117
|
/**
|
|
@@ -8316,25 +8337,25 @@ declare function createDatabaseSessionService(databaseUrl: string, options?: any
|
|
|
8316
8337
|
* Sessions module exports
|
|
8317
8338
|
*/
|
|
8318
8339
|
|
|
8319
|
-
type
|
|
8320
|
-
declare const
|
|
8321
|
-
type
|
|
8322
|
-
declare const
|
|
8323
|
-
type
|
|
8324
|
-
type
|
|
8325
|
-
declare const
|
|
8326
|
-
type
|
|
8327
|
-
type
|
|
8328
|
-
type
|
|
8329
|
-
declare const
|
|
8330
|
-
type
|
|
8331
|
-
declare const
|
|
8332
|
-
declare const
|
|
8333
|
-
declare const
|
|
8334
|
-
declare const
|
|
8335
|
-
declare const
|
|
8336
|
-
declare namespace index {
|
|
8337
|
-
export {
|
|
8340
|
+
type index$2_BaseSessionService = BaseSessionService;
|
|
8341
|
+
declare const index$2_BaseSessionService: typeof BaseSessionService;
|
|
8342
|
+
type index$2_DatabaseSessionService = DatabaseSessionService;
|
|
8343
|
+
declare const index$2_DatabaseSessionService: typeof DatabaseSessionService;
|
|
8344
|
+
type index$2_GetSessionConfig = GetSessionConfig;
|
|
8345
|
+
type index$2_InMemorySessionService = InMemorySessionService;
|
|
8346
|
+
declare const index$2_InMemorySessionService: typeof InMemorySessionService;
|
|
8347
|
+
type index$2_ListSessionsResponse = ListSessionsResponse;
|
|
8348
|
+
type index$2_Session = Session;
|
|
8349
|
+
type index$2_State = State;
|
|
8350
|
+
declare const index$2_State: typeof State;
|
|
8351
|
+
type index$2_VertexAiSessionService = VertexAiSessionService;
|
|
8352
|
+
declare const index$2_VertexAiSessionService: typeof VertexAiSessionService;
|
|
8353
|
+
declare const index$2_createDatabaseSessionService: typeof createDatabaseSessionService;
|
|
8354
|
+
declare const index$2_createMysqlSessionService: typeof createMysqlSessionService;
|
|
8355
|
+
declare const index$2_createPostgresSessionService: typeof createPostgresSessionService;
|
|
8356
|
+
declare const index$2_createSqliteSessionService: typeof createSqliteSessionService;
|
|
8357
|
+
declare namespace index$2 {
|
|
8358
|
+
export { index$2_BaseSessionService as BaseSessionService, index$2_DatabaseSessionService as DatabaseSessionService, type index$2_GetSessionConfig as GetSessionConfig, index$2_InMemorySessionService as InMemorySessionService, type index$2_ListSessionsResponse as ListSessionsResponse, type index$2_Session as Session, index$2_State as State, index$2_VertexAiSessionService as VertexAiSessionService, index$2_createDatabaseSessionService as createDatabaseSessionService, index$2_createMysqlSessionService as createMysqlSessionService, index$2_createPostgresSessionService as createPostgresSessionService, index$2_createSqliteSessionService as createSqliteSessionService };
|
|
8338
8359
|
}
|
|
8339
8360
|
|
|
8340
8361
|
/**
|
|
@@ -8459,6 +8480,253 @@ declare function streamTextWithFinalEvent(events: AsyncIterable<Event>): {
|
|
|
8459
8480
|
finalEvent: Promise<Event | undefined>;
|
|
8460
8481
|
};
|
|
8461
8482
|
|
|
8483
|
+
interface UnifiedMemoryConfig {
|
|
8484
|
+
appName: string;
|
|
8485
|
+
userId: string;
|
|
8486
|
+
lastMessages?: number | false;
|
|
8487
|
+
workingMemory?: WorkingMemoryConfig;
|
|
8488
|
+
}
|
|
8489
|
+
interface WorkingMemoryConfig {
|
|
8490
|
+
enabled: boolean;
|
|
8491
|
+
template?: string;
|
|
8492
|
+
}
|
|
8493
|
+
interface SimpleMessage {
|
|
8494
|
+
role: "user" | "assistant" | "system";
|
|
8495
|
+
content: string;
|
|
8496
|
+
}
|
|
8497
|
+
declare const defaultUnifiedMemoryConfig: {
|
|
8498
|
+
lastMessages: number;
|
|
8499
|
+
};
|
|
8500
|
+
|
|
8501
|
+
declare class MemoryBuilder {
|
|
8502
|
+
private sessionService;
|
|
8503
|
+
private memoryService?;
|
|
8504
|
+
private appName;
|
|
8505
|
+
private userId;
|
|
8506
|
+
private lastMessages;
|
|
8507
|
+
private workingMemoryEnabled;
|
|
8508
|
+
private workingMemoryTemplate?;
|
|
8509
|
+
constructor(config: UnifiedMemoryConfig);
|
|
8510
|
+
static create(config: UnifiedMemoryConfig): MemoryBuilder;
|
|
8511
|
+
withSessionService(service: BaseSessionService): MemoryBuilder;
|
|
8512
|
+
withMemoryService(service: MemoryService): MemoryBuilder;
|
|
8513
|
+
withAppName(appName: string): MemoryBuilder;
|
|
8514
|
+
withUserId(userId: string): MemoryBuilder;
|
|
8515
|
+
createSession(state?: Record<string, unknown>, sessionId?: string): Promise<Session>;
|
|
8516
|
+
getSession(sessionId: string): Promise<Session | undefined>;
|
|
8517
|
+
listSessions(): Promise<ListSessionsResponse>;
|
|
8518
|
+
deleteSession(sessionId: string): Promise<void>;
|
|
8519
|
+
addMessage(session: Session, message: SimpleMessage): Promise<Event>;
|
|
8520
|
+
addEvent(session: Session, event: Event): Promise<Event>;
|
|
8521
|
+
recall(sessionId: string): Promise<SimpleMessage[]>;
|
|
8522
|
+
recallEvents(sessionId: string): Promise<Event[]>;
|
|
8523
|
+
search(query: string): Promise<MemorySearchResult[]>;
|
|
8524
|
+
getWorkingMemory(sessionId: string): Promise<string | null>;
|
|
8525
|
+
updateWorkingMemory(session: Session, content: string): Promise<void>;
|
|
8526
|
+
endSession(sessionId: string): Promise<Session | undefined>;
|
|
8527
|
+
getSessionService(): BaseSessionService;
|
|
8528
|
+
getMemoryService(): MemoryService | undefined;
|
|
8529
|
+
private eventAuthorToRole;
|
|
8530
|
+
private extractEventText;
|
|
8531
|
+
}
|
|
8532
|
+
|
|
8533
|
+
type index$1_MemoryBuilder = MemoryBuilder;
|
|
8534
|
+
declare const index$1_MemoryBuilder: typeof MemoryBuilder;
|
|
8535
|
+
type index$1_SimpleMessage = SimpleMessage;
|
|
8536
|
+
type index$1_UnifiedMemoryConfig = UnifiedMemoryConfig;
|
|
8537
|
+
type index$1_WorkingMemoryConfig = WorkingMemoryConfig;
|
|
8538
|
+
declare const index$1_defaultUnifiedMemoryConfig: typeof defaultUnifiedMemoryConfig;
|
|
8539
|
+
declare namespace index$1 {
|
|
8540
|
+
export { index$1_MemoryBuilder as MemoryBuilder, type index$1_SimpleMessage as SimpleMessage, type index$1_UnifiedMemoryConfig as UnifiedMemoryConfig, type index$1_WorkingMemoryConfig as WorkingMemoryConfig, index$1_defaultUnifiedMemoryConfig as defaultUnifiedMemoryConfig };
|
|
8541
|
+
}
|
|
8542
|
+
|
|
8543
|
+
type WorkflowStatus = "pending" | "running" | "suspended" | "success" | "failed";
|
|
8544
|
+
type StepStatus = "pending" | "running" | "suspended" | "success" | "failed";
|
|
8545
|
+
interface StepSuccess<TInput, TOutput> {
|
|
8546
|
+
status: "success";
|
|
8547
|
+
output: TOutput;
|
|
8548
|
+
payload: TInput;
|
|
8549
|
+
startedAt: number;
|
|
8550
|
+
endedAt: number;
|
|
8551
|
+
}
|
|
8552
|
+
interface StepSuspended<TInput, TSuspend> {
|
|
8553
|
+
status: "suspended";
|
|
8554
|
+
payload: TInput;
|
|
8555
|
+
suspendPayload?: TSuspend;
|
|
8556
|
+
startedAt: number;
|
|
8557
|
+
suspendedAt: number;
|
|
8558
|
+
}
|
|
8559
|
+
interface StepResumed<TInput, TOutput, TResume> {
|
|
8560
|
+
status: "success";
|
|
8561
|
+
output: TOutput;
|
|
8562
|
+
payload: TInput;
|
|
8563
|
+
resumePayload?: TResume;
|
|
8564
|
+
startedAt: number;
|
|
8565
|
+
endedAt: number;
|
|
8566
|
+
suspendedAt?: number;
|
|
8567
|
+
resumedAt?: number;
|
|
8568
|
+
}
|
|
8569
|
+
interface StepFailed<TInput> {
|
|
8570
|
+
status: "failed";
|
|
8571
|
+
error: Error;
|
|
8572
|
+
payload: TInput;
|
|
8573
|
+
startedAt: number;
|
|
8574
|
+
endedAt: number;
|
|
8575
|
+
}
|
|
8576
|
+
type StepResult<TInput, TOutput, TResume, TSuspend> = StepSuccess<TInput, TOutput> | StepSuspended<TInput, TSuspend> | StepResumed<TInput, TOutput, TResume> | StepFailed<TInput>;
|
|
8577
|
+
interface WorkflowResultSuccess<TOutput, TStepResults> {
|
|
8578
|
+
status: "success";
|
|
8579
|
+
result: TOutput;
|
|
8580
|
+
steps: TStepResults;
|
|
8581
|
+
}
|
|
8582
|
+
interface WorkflowResultSuspended<TStepResults> {
|
|
8583
|
+
status: "suspended";
|
|
8584
|
+
steps: TStepResults;
|
|
8585
|
+
suspendedStep: string;
|
|
8586
|
+
suspendPayload?: unknown;
|
|
8587
|
+
}
|
|
8588
|
+
interface WorkflowResultFailed<TStepResults> {
|
|
8589
|
+
status: "failed";
|
|
8590
|
+
error: Error;
|
|
8591
|
+
steps: TStepResults;
|
|
8592
|
+
}
|
|
8593
|
+
type WorkflowResult<TOutput, TStepResults> = WorkflowResultSuccess<TOutput, TStepResults> | WorkflowResultSuspended<TStepResults> | WorkflowResultFailed<TStepResults>;
|
|
8594
|
+
type SuspendFunction<TSuspend = unknown> = (payload?: TSuspend) => never;
|
|
8595
|
+
interface ExecuteContext<TInput = unknown, TResume = unknown, TSuspend = unknown> {
|
|
8596
|
+
runId: string;
|
|
8597
|
+
workflowId: string;
|
|
8598
|
+
inputData: TInput;
|
|
8599
|
+
resumeData?: TResume;
|
|
8600
|
+
suspend: SuspendFunction<TSuspend>;
|
|
8601
|
+
getStepResult: <T>(stepId: string) => T | undefined;
|
|
8602
|
+
}
|
|
8603
|
+
type ExecuteFunction<TInput = unknown, TOutput = unknown, TResume = unknown, TSuspend = unknown> = (context: ExecuteContext<TInput, TResume, TSuspend>) => Promise<TOutput>;
|
|
8604
|
+
interface StepDefinition<TId extends string = string, TInput = unknown, TOutput = unknown, TResume = unknown, TSuspend = unknown> {
|
|
8605
|
+
id: TId;
|
|
8606
|
+
description?: string;
|
|
8607
|
+
inputSchema?: z$1.ZodType<TInput>;
|
|
8608
|
+
outputSchema?: z$1.ZodType<TOutput>;
|
|
8609
|
+
resumeSchema?: z$1.ZodType<TResume>;
|
|
8610
|
+
suspendSchema?: z$1.ZodType<TSuspend>;
|
|
8611
|
+
execute: ExecuteFunction<TInput, TOutput, TResume, TSuspend>;
|
|
8612
|
+
}
|
|
8613
|
+
interface Step<TId extends string = string, TInput = unknown, TOutput = unknown, TResume = unknown, TSuspend = unknown> {
|
|
8614
|
+
id: TId;
|
|
8615
|
+
description?: string;
|
|
8616
|
+
inputSchema?: z$1.ZodType<TInput>;
|
|
8617
|
+
outputSchema?: z$1.ZodType<TOutput>;
|
|
8618
|
+
resumeSchema?: z$1.ZodType<TResume>;
|
|
8619
|
+
suspendSchema?: z$1.ZodType<TSuspend>;
|
|
8620
|
+
execute: ExecuteFunction<TInput, TOutput, TResume, TSuspend>;
|
|
8621
|
+
}
|
|
8622
|
+
interface WorkflowConfig<TId extends string = string, TInput = unknown, TOutput = unknown> {
|
|
8623
|
+
id: TId;
|
|
8624
|
+
description?: string;
|
|
8625
|
+
inputSchema?: z$1.ZodType<TInput>;
|
|
8626
|
+
outputSchema?: z$1.ZodType<TOutput>;
|
|
8627
|
+
}
|
|
8628
|
+
interface WorkflowSnapshot {
|
|
8629
|
+
runId: string;
|
|
8630
|
+
workflowId: string;
|
|
8631
|
+
status: WorkflowStatus;
|
|
8632
|
+
input: unknown;
|
|
8633
|
+
stepResults: Record<string, StepResult<unknown, unknown, unknown, unknown>>;
|
|
8634
|
+
suspendedStepId?: string;
|
|
8635
|
+
suspendPayload?: unknown;
|
|
8636
|
+
createdAt: number;
|
|
8637
|
+
updatedAt: number;
|
|
8638
|
+
}
|
|
8639
|
+
|
|
8640
|
+
declare function createStep<TId extends string, TInput, TOutput, TResume = unknown, TSuspend = unknown>(definition: StepDefinition<TId, TInput, TOutput, TResume, TSuspend>): Step<TId, TInput, TOutput, TResume, TSuspend>;
|
|
8641
|
+
|
|
8642
|
+
interface SnapshotStore {
|
|
8643
|
+
save(snapshot: WorkflowSnapshot): Promise<void>;
|
|
8644
|
+
load(workflowId: string, runId: string): Promise<WorkflowSnapshot | null>;
|
|
8645
|
+
delete(workflowId: string, runId: string): Promise<void>;
|
|
8646
|
+
list(workflowId: string): Promise<WorkflowSnapshot[]>;
|
|
8647
|
+
}
|
|
8648
|
+
declare class InMemorySnapshotStore implements SnapshotStore {
|
|
8649
|
+
private snapshots;
|
|
8650
|
+
private getKey;
|
|
8651
|
+
save(snapshot: WorkflowSnapshot): Promise<void>;
|
|
8652
|
+
load(workflowId: string, runId: string): Promise<WorkflowSnapshot | null>;
|
|
8653
|
+
delete(workflowId: string, runId: string): Promise<void>;
|
|
8654
|
+
list(workflowId: string): Promise<WorkflowSnapshot[]>;
|
|
8655
|
+
clear(): void;
|
|
8656
|
+
}
|
|
8657
|
+
|
|
8658
|
+
declare class Run<TInput = unknown, TOutput = unknown> {
|
|
8659
|
+
private workflow;
|
|
8660
|
+
readonly runId: string;
|
|
8661
|
+
private status;
|
|
8662
|
+
private stepResults;
|
|
8663
|
+
private suspendedStepId?;
|
|
8664
|
+
private suspendPayload?;
|
|
8665
|
+
private result?;
|
|
8666
|
+
private input?;
|
|
8667
|
+
private createdAt;
|
|
8668
|
+
private updatedAt;
|
|
8669
|
+
constructor(workflow: Workflow<string, TInput, TOutput>, runId?: string);
|
|
8670
|
+
start(input: TInput): Promise<WorkflowResult<TOutput, typeof this.stepResults>>;
|
|
8671
|
+
resume<TResume = unknown>(options: {
|
|
8672
|
+
resumeData: TResume;
|
|
8673
|
+
step?: string;
|
|
8674
|
+
}): Promise<WorkflowResult<TOutput, typeof this.stepResults>>;
|
|
8675
|
+
private executeSteps;
|
|
8676
|
+
private saveSnapshot;
|
|
8677
|
+
getStatus(): "success" | "pending" | "failed" | "running" | "suspended";
|
|
8678
|
+
getStepResults(): Record<string, StepResult<unknown, unknown, unknown, unknown>>;
|
|
8679
|
+
getSuspendedStepId(): string;
|
|
8680
|
+
static fromSnapshot<TInput, TOutput>(workflow: Workflow<string, TInput, TOutput>, snapshot: WorkflowSnapshot): Promise<Run<TInput, TOutput>>;
|
|
8681
|
+
}
|
|
8682
|
+
declare class Workflow<TId extends string = string, TInput = unknown, TOutput = unknown> {
|
|
8683
|
+
readonly id: TId;
|
|
8684
|
+
readonly description?: string;
|
|
8685
|
+
readonly inputSchema?: z$1.ZodType<TInput>;
|
|
8686
|
+
readonly outputSchema?: z$1.ZodType<TOutput>;
|
|
8687
|
+
stepGraph: Step[];
|
|
8688
|
+
snapshotStore?: SnapshotStore;
|
|
8689
|
+
private committed;
|
|
8690
|
+
constructor(config: WorkflowConfig<TId, TInput, TOutput>);
|
|
8691
|
+
step<TStepOutput>(step: Step<string, unknown, TStepOutput>): this;
|
|
8692
|
+
withSnapshotStore(store: SnapshotStore): this;
|
|
8693
|
+
commit(): this;
|
|
8694
|
+
createRun(runId?: string): Run<TInput, TOutput>;
|
|
8695
|
+
resumeRun(runId: string): Promise<Run<TInput, TOutput> | null>;
|
|
8696
|
+
listRuns(): Promise<WorkflowSnapshot[]>;
|
|
8697
|
+
}
|
|
8698
|
+
declare function createWorkflow<TId extends string, TInput = unknown, TOutput = unknown>(config: WorkflowConfig<TId, TInput, TOutput>): Workflow<TId, TInput, TOutput>;
|
|
8699
|
+
|
|
8700
|
+
type index_ExecuteContext<TInput = unknown, TResume = unknown, TSuspend = unknown> = ExecuteContext<TInput, TResume, TSuspend>;
|
|
8701
|
+
type index_ExecuteFunction<TInput = unknown, TOutput = unknown, TResume = unknown, TSuspend = unknown> = ExecuteFunction<TInput, TOutput, TResume, TSuspend>;
|
|
8702
|
+
type index_InMemorySnapshotStore = InMemorySnapshotStore;
|
|
8703
|
+
declare const index_InMemorySnapshotStore: typeof InMemorySnapshotStore;
|
|
8704
|
+
type index_Run<TInput = unknown, TOutput = unknown> = Run<TInput, TOutput>;
|
|
8705
|
+
declare const index_Run: typeof Run;
|
|
8706
|
+
type index_SnapshotStore = SnapshotStore;
|
|
8707
|
+
type index_Step<TId extends string = string, TInput = unknown, TOutput = unknown, TResume = unknown, TSuspend = unknown> = Step<TId, TInput, TOutput, TResume, TSuspend>;
|
|
8708
|
+
type index_StepDefinition<TId extends string = string, TInput = unknown, TOutput = unknown, TResume = unknown, TSuspend = unknown> = StepDefinition<TId, TInput, TOutput, TResume, TSuspend>;
|
|
8709
|
+
type index_StepFailed<TInput> = StepFailed<TInput>;
|
|
8710
|
+
type index_StepResult<TInput, TOutput, TResume, TSuspend> = StepResult<TInput, TOutput, TResume, TSuspend>;
|
|
8711
|
+
type index_StepStatus = StepStatus;
|
|
8712
|
+
type index_StepSuccess<TInput, TOutput> = StepSuccess<TInput, TOutput>;
|
|
8713
|
+
type index_StepSuspended<TInput, TSuspend> = StepSuspended<TInput, TSuspend>;
|
|
8714
|
+
type index_SuspendFunction<TSuspend = unknown> = SuspendFunction<TSuspend>;
|
|
8715
|
+
type index_Workflow<TId extends string = string, TInput = unknown, TOutput = unknown> = Workflow<TId, TInput, TOutput>;
|
|
8716
|
+
declare const index_Workflow: typeof Workflow;
|
|
8717
|
+
type index_WorkflowConfig<TId extends string = string, TInput = unknown, TOutput = unknown> = WorkflowConfig<TId, TInput, TOutput>;
|
|
8718
|
+
type index_WorkflowResult<TOutput, TStepResults> = WorkflowResult<TOutput, TStepResults>;
|
|
8719
|
+
type index_WorkflowResultFailed<TStepResults> = WorkflowResultFailed<TStepResults>;
|
|
8720
|
+
type index_WorkflowResultSuccess<TOutput, TStepResults> = WorkflowResultSuccess<TOutput, TStepResults>;
|
|
8721
|
+
type index_WorkflowResultSuspended<TStepResults> = WorkflowResultSuspended<TStepResults>;
|
|
8722
|
+
type index_WorkflowSnapshot = WorkflowSnapshot;
|
|
8723
|
+
type index_WorkflowStatus = WorkflowStatus;
|
|
8724
|
+
declare const index_createStep: typeof createStep;
|
|
8725
|
+
declare const index_createWorkflow: typeof createWorkflow;
|
|
8726
|
+
declare namespace index {
|
|
8727
|
+
export { type index_ExecuteContext as ExecuteContext, type index_ExecuteFunction as ExecuteFunction, index_InMemorySnapshotStore as InMemorySnapshotStore, index_Run as Run, type index_SnapshotStore as SnapshotStore, type index_Step as Step, type index_StepDefinition as StepDefinition, type index_StepFailed as StepFailed, type index_StepResult as StepResult, type index_StepStatus as StepStatus, type index_StepSuccess as StepSuccess, type index_StepSuspended as StepSuspended, type index_SuspendFunction as SuspendFunction, index_Workflow as Workflow, type index_WorkflowConfig as WorkflowConfig, type index_WorkflowResult as WorkflowResult, type index_WorkflowResultFailed as WorkflowResultFailed, type index_WorkflowResultSuccess as WorkflowResultSuccess, type index_WorkflowResultSuspended as WorkflowResultSuspended, type index_WorkflowSnapshot as WorkflowSnapshot, type index_WorkflowStatus as WorkflowStatus, index_createStep as createStep, index_createWorkflow as createWorkflow };
|
|
8728
|
+
}
|
|
8729
|
+
|
|
8462
8730
|
/**
|
|
8463
8731
|
* Find function call event if last event is function response.
|
|
8464
8732
|
*/
|
|
@@ -9005,4 +9273,4 @@ declare const recordLlmCall: (dimensions: LlmMetricDimensions) => void;
|
|
|
9005
9273
|
|
|
9006
9274
|
declare const VERSION = "0.1.0";
|
|
9007
9275
|
|
|
9008
|
-
export { AF_FUNCTION_CALL_ID_PREFIX, type AfterAgentCallback, type AfterModelCallback, type AfterToolCallback, LlmAgent as Agent, AgentBuilder, type AgentBuilderConfig, type AgentBuilderWithSchema, AgentEvaluator, type AgentMetricDimensions, AgentScheduler, type AgentSpanAttributes, AgentTool, type AgentToolConfig, type AgentType, index$
|
|
9276
|
+
export { AF_FUNCTION_CALL_ID_PREFIX, type AfterAgentCallback, type AfterModelCallback, type AfterToolCallback, LlmAgent as Agent, AgentBuilder, type AgentBuilderConfig, type AgentBuilderWithSchema, AgentEvaluator, type AgentMetricDimensions, AgentScheduler, type AgentSpanAttributes, AgentTool, type AgentToolConfig, type AgentType, index$7 as Agents, AiSdkLlm, AnthropicLlm, ApiKeyCredential, ApiKeyScheme, AuthConfig, AuthCredential, AuthCredentialType, AuthHandler, AuthScheme, AuthSchemeType, AuthTool, type AuthToolArguments, AutoFlow, BaseAgent, type BaseAgentType, BaseCodeExecutor, type BaseCodeExecutorConfig, BaseLLMConnection, BaseLlm, BaseLlmFlow, BaseLlmRequestProcessor, BaseLlmResponseProcessor, type BaseMemoryService, BasePlanner, BasePlugin, BaseSessionService, BaseTool, BashTool, BasicAuthCredential, BearerTokenCredential, type BeforeAgentCallback, type BeforeModelCallback, type BeforeToolCallback, type BuildFunctionDeclarationOptions, type BuiltAgent, BuiltInCodeExecutor, BuiltInPlanner, CallbackContext, type CodeExecutionInput, type CodeExecutionResult, CodeExecutionUtils, CodeExecutorContext, CohereEmbeddingProvider, type CohereEmbeddingProviderConfig, ContextCacheConfig, type ContextCacheConfigProps, type ContextCacheManager, type CreateToolConfig, type CreateToolConfigWithSchema, type CreateToolConfigWithoutSchema, DatabaseSessionService, EditTool, type EmbeddingProvider, EnhancedAuthConfig, type EnhancedLlmSpanAttributes, type EnhancedRunner, type EnhancedToolSpanAttributes, type Entity, type ErrorSpanAttributes, type EvalCase, type EvalCaseResult, type EvalMetric, type EvalMetricResult, type EvalMetricResultPerInvocation, EvalResult, type EvalSet, type EvalSetResult, EvalStatus, type EvaluateConfig, index$6 as Evaluation, type EvaluationResult, Evaluator, Event, EventActions, type EventCompaction, index$9 as Events, type EventsCompactionConfig, type EventsSummarizer, type ExecuteContext, type ExecuteFunction, ExitLoopTool, type File, FileOperationsTool, FileStorageProvider, type FileStorageProviderConfig, FileVectorStore, type FileVectorStoreConfig, type FilterConfig, FinalResponseMatchV2Evaluator, index$5 as Flows, type ForgetMemoryResult, ForgetMemoryTool, type FullMessage, FunctionTool, GcsArtifactService, GeminiContextCacheManager, type GetSessionConfig, type GetSessionDetailsResult, GetSessionDetailsTool, GetUserChoiceTool, GlobTool, GoogleLlm, GoogleSearchTool, GrepTool, HttpRequestTool, HttpScheme, InMemoryArtifactService, InMemoryMemoryService, InMemoryRunner, InMemorySessionService, InMemorySnapshotStore, InMemoryStorageProvider, InMemoryVectorStore, type InstructionProvider, type IntermediateData, type Interval, type Invocation, InvocationContext, type JudgeModelOptions, LLMRegistry, LangGraphAgent, type LangGraphAgentConfig, type LangGraphNode, LangfusePlugin, type LangfusePluginOptions, type ListSessionsResponse, LlmAgent, type LlmAgentConfig, LlmCallsLimitExceededError, LlmError, type LlmErrorOptions, LlmEventSummarizer, type LlmMetricDimensions, type LlmModel, type LlmModelConfig, LlmRequest, LlmResponse, type LlmSpanAttributes, LlmSummaryProvider, type LlmSummaryProviderConfig, LoadArtifactsTool, LoadMemoryTool, LocalEvalService, LoopAgent, type LoopAgentConfig, McpAbi, McpAtp, McpBamm, McpCoinGecko, McpCoinGeckoPro, type McpConfig, McpDebank, McpDefillama, McpDiscord, McpError, McpErrorType, McpFilesystem, McpFraxlend, McpGeneric, McpIqWiki, McpKalshi, McpLimitless, McpMemory, McpNearAgent, McpNearIntents, McpNotion, McpOdos, McpOpinion, McpPlaywright, McpPolymarket, McpSamplingHandler, type McpSamplingRequest, type McpSamplingResponse, McpSequentialThinking, type McpServerConfig, McpTelegram, McpToolset, type McpTransportType, McpUpbit, index$b as Memory, MemoryBuilder, type MemoryContent, type MemoryDeleteFilter, type MemoryEntry, type MemoryRecord, type MemorySearchQuery, type MemorySearchResult, MemoryService, type MemoryServiceConfig, type MemoryStorageProvider, type MemorySummaryProvider, type MessagePart, type MetricInfo, type MetricValueInfo, ModelFallbackPlugin, index$8 as Models, type MultiAgentResponse, OAuth2Credential, OAuth2Scheme, type OAuthFlow, type OAuthFlows, OllamaEmbeddingProvider, type OllamaEmbeddingProviderConfig, OpenAIEmbeddingProvider, type OpenAIEmbeddingProviderConfig, OpenAiLlm, OpenIdConnectScheme, OpenRouterEmbeddingProvider, type OpenRouterEmbeddingProviderConfig, ParallelAgent, type ParallelAgentConfig, type ParsedArtifactUri, PassthroughSummaryProvider, type PerInvocationResult, type PerToolFailuresCounter, PlanReActPlanner, type PluginCallbackName, PluginManager, index$4 as Plugins, PrebuiltMetrics, PreloadMemoryTool, QdrantVectorStore, type QdrantVectorStoreConfig, REFLECT_AND_RETRY_RESPONSE_TYPE, REQUEST_EUC_FUNCTION_CALL_NAME, RateLimitError, ReadTool, ReadonlyContext, RecallMemoryTool, ReflectAndRetryToolPlugin, type ReflectAndRetryToolPluginOptions, RougeEvaluator, Run, RunConfig, Runner, type RunnerAskReturn, SafetyEvaluatorV1, type SamplingHandler, type ScheduledJob, type SchedulerEvent, type SchedulerEventType, index$3 as Scheduling, type SearchMemoryResponse, type SearchMode, SequentialAgent, type SequentialAgentConfig, type Session, type SessionInput, type SessionOptions, index$2 as Sessions, type SimpleMessage, type SingleAfterModelCallback, type SingleAfterToolCallback, type SingleAgentCallback, type SingleBeforeModelCallback, type SingleBeforeToolCallback, SingleFlow, type SnapshotStore, type SpanCounters, State, type Step, type StepDefinition, type StepFailed, type StepResult, type StepStatus, type StepSuccess, type StepSuspended, StreamingMode, type SuspendFunction, type TelemetryConfig, TelemetryService, type TelemetryStats, type ThinkingConfig, type ToolConfig, ToolContext, type ToolFailureResponse, type ToolMetricDimensions, ToolOutputFilterPlugin, type ToolOutputFilterPluginOptions, type ToolSpanAttributes, type ToolUnion, index$a as Tools, type TopicSegment, type TraceAgentParams, type TraceAgentTransferParams, type TraceCallbackParams, type TraceLlmParams, type TraceMemoryParams, type TracePluginParams, type TraceSessionParams, type TraceToolParams, TrackingScope, TrajectoryEvaluator, type TransferContext, TransferToAgentTool, index$1 as UnifiedMemory, type UnifiedMemoryConfig, UserInteractionTool, VERSION, VectorStorageProvider, type VectorStorageProviderConfig, type VectorStore, VertexAiSessionService, WebFetchTool, WebSearchTool, Workflow, type WorkflowConfig, type WorkflowResult, type WorkflowResultFailed, type WorkflowResultSuccess, type WorkflowResultSuspended, type WorkflowSnapshot, type WorkflowStatus, index as Workflows, type WorkingMemoryConfig, type WriteMemoryResult, WriteMemoryTool, WriteTool, _findFunctionCallEventIfLastEventIsFunctionResponse, adkToMcpToolType, requestProcessor$6 as agentTransferRequestProcessor, requestProcessor$5 as basicRequestProcessor, buildFunctionDeclaration, buildLlmRequestForTrace, buildLlmResponseForTrace, requestProcessor$4 as codeExecutionRequestProcessor, responseProcessor$1 as codeExecutionResponseProcessor, collectTextFrom, requestProcessor$3 as contentRequestProcessor, contextCacheConfigSchema, convertMcpToolToBaseTool, createAuthToolArguments, createBranchContextForSubAgent, createDatabaseSessionService, createFunctionTool, createMysqlSessionService, createPostgresSessionService, createSamplingHandler, createSqliteSessionService, createStep, createTool, createWorkflow, defaultUnifiedMemoryConfig, extractTextFromContent, formatSpanAttributes, generateAuthEvent, generateClientFunctionCallId, getArtifactUri, getEnvironment, getLongRunningFunctionCalls, getMcpTools, getTraces, handleFunctionCallsAsync, handleFunctionCallsLive, requestProcessor$2 as identityRequestProcessor, initializeTelemetry, injectSessionState, requestProcessor$1 as instructionsRequestProcessor, isArtifactRef, isEnhancedAuthConfig, jsonSchemaToDeclaration, mcpSchemaToParameters, mergeAgentRun, mergeParallelFunctionResponseEvents, newInvocationContextId, requestProcessor as nlPlanningRequestProcessor, responseProcessor as nlPlanningResponseProcessor, normalizeJsonSchema, parseArtifactUri, pluginCallbackNameSchema, populateClientFunctionCallId, recordAgentInvocation, recordLlmCall, recordToolExecution, registerProviders, removeClientFunctionCallId, requestProcessor$7 as requestProcessor, runCompactionForSlidingWindow, safeJsonStringify, shouldCaptureContent, shutdownTelemetry, streamTextWithFinalEvent, telemetryService, textStreamFrom, traceAgentInvocation, traceLlmCall, traceToolCall, tracer };
|