@anuma/sdk 6.26.1 → 6.27.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.
@@ -19582,6 +19582,7 @@ function useChatStorage(options) {
19582
19582
  embeddingModel = DEFAULT_API_EMBEDDING_MODEL,
19583
19583
  minContentLength = DEFAULT_MIN_CONTENT_LENGTH,
19584
19584
  preProcessors,
19585
+ smoothing,
19585
19586
  resumable = false,
19586
19587
  onCancelResult,
19587
19588
  onStreamMeta,
@@ -20007,6 +20008,7 @@ function useChatStorage(options) {
20007
20008
  onError,
20008
20009
  apiType,
20009
20010
  preProcessors,
20011
+ smoothing,
20010
20012
  resumable,
20011
20013
  onCancelResult,
20012
20014
  onStreamMeta,
@@ -23176,6 +23178,19 @@ async function refreshNotionAccessToken(params) {
23176
23178
  return result;
23177
23179
  }
23178
23180
 
23181
+ // src/lib/connectors/errors.ts
23182
+ function buildConnectorErrorResult(code, provider, connectUrl, extras) {
23183
+ const payload = {
23184
+ __anuma_connector_error_v1: true,
23185
+ code,
23186
+ provider,
23187
+ connect_url: connectUrl,
23188
+ missing_scopes: extras?.missingScopes,
23189
+ required: extras?.required
23190
+ };
23191
+ return JSON.stringify(payload);
23192
+ }
23193
+
23179
23194
  // src/tools/notion.ts
23180
23195
  var MCP_HTTP_ENDPOINT = "https://mcp.notion.com/mcp";
23181
23196
  var MAX_CONTENT_LENGTH2 = 5e4;
@@ -23348,8 +23363,83 @@ async function callMCPTool(accessToken, toolName, args) {
23348
23363
  }
23349
23364
  return truncateToolResult(jsonRpcResponse.result);
23350
23365
  }
23351
- function createNotionSearchTool(getAccessToken, requestNotionAccess) {
23366
+ var NOTION_PROVIDER = "notion";
23367
+ function directRunner(getAccessToken, requestNotionAccess) {
23368
+ return async (toolName, args) => {
23369
+ let token = getAccessToken();
23370
+ if (!token) {
23371
+ token = await requestNotionAccess();
23372
+ }
23373
+ return callMCPTool(token, toolName, args);
23374
+ };
23375
+ }
23376
+ function readField(json4, key) {
23377
+ return typeof json4 === "object" && json4 !== null ? json4[key] : void 0;
23378
+ }
23379
+ function readString(json4, key) {
23380
+ const value = readField(json4, key);
23381
+ return typeof value === "string" ? value : void 0;
23382
+ }
23383
+ function notionConnectorError(status, json4) {
23384
+ const code = readField(json4, "code");
23385
+ if (status === 503) {
23386
+ return code === "upstream_unavailable" ? buildConnectorErrorResult("upstream_unavailable", NOTION_PROVIDER) : null;
23387
+ }
23388
+ if (status !== 401 && status !== 403 && status !== 412) return null;
23389
+ switch (code) {
23390
+ case "scope_not_covered": {
23391
+ const missingScopes = readField(json4, "missing_scopes");
23392
+ return buildConnectorErrorResult(
23393
+ "scope_not_covered",
23394
+ NOTION_PROVIDER,
23395
+ readString(json4, "connect_url"),
23396
+ Array.isArray(missingScopes) ? { missingScopes } : void 0
23397
+ );
23398
+ }
23399
+ case "insufficient_scope":
23400
+ return buildConnectorErrorResult("insufficient_scope", NOTION_PROVIDER, void 0, {
23401
+ required: readString(json4, "required")
23402
+ });
23403
+ case "upstream_unavailable":
23404
+ return buildConnectorErrorResult("upstream_unavailable", NOTION_PROVIDER);
23405
+ default:
23406
+ return buildConnectorErrorResult(
23407
+ "connector_not_connected",
23408
+ NOTION_PROVIDER,
23409
+ readString(json4, "connect_url")
23410
+ );
23411
+ }
23412
+ }
23413
+ function proxyRunner(callMcp) {
23414
+ return async (toolName, args) => {
23415
+ const { status, json: json4 } = await callMcp(toolName, args);
23416
+ if (status >= 200 && status < 300) {
23417
+ const result = readField(json4, "result");
23418
+ if (result === void 0) {
23419
+ throw new Error(`Notion returned no result (${status})`);
23420
+ }
23421
+ return truncateToolResult(result);
23422
+ }
23423
+ const connectorError = notionConnectorError(status, json4);
23424
+ if (connectorError) return connectorError;
23425
+ const message = readField(json4, "error");
23426
+ throw new Error(`${typeof message === "string" ? message : JSON.stringify(json4)} (${status})`);
23427
+ };
23428
+ }
23429
+ function withNotionExecutor(run, errorPrefix, tool) {
23352
23430
  return {
23431
+ ...tool,
23432
+ executor: async (args) => {
23433
+ try {
23434
+ return await run(tool.function.name, args);
23435
+ } catch (error) {
23436
+ return `${errorPrefix}: ${error instanceof Error ? error.message : String(error)}`;
23437
+ }
23438
+ }
23439
+ };
23440
+ }
23441
+ function notionSearchTool(run) {
23442
+ return withNotionExecutor(run, "Error searching Notion", {
23353
23443
  type: "function",
23354
23444
  function: {
23355
23445
  name: "notion-search",
@@ -23390,22 +23480,11 @@ function createNotionSearchTool(getAccessToken, requestNotionAccess) {
23390
23480
  },
23391
23481
  required: ["query"]
23392
23482
  }
23393
- },
23394
- executor: async (args) => {
23395
- let token = getAccessToken();
23396
- if (!token) {
23397
- token = await requestNotionAccess();
23398
- }
23399
- try {
23400
- return await callMCPTool(token, "notion-search", args);
23401
- } catch (error) {
23402
- return `Error searching Notion: ${error instanceof Error ? error.message : String(error)}`;
23403
- }
23404
23483
  }
23405
- };
23484
+ });
23406
23485
  }
23407
- function createNotionFetchTool(getAccessToken, requestNotionAccess) {
23408
- return {
23486
+ function notionFetchTool(run) {
23487
+ return withNotionExecutor(run, "Error fetching Notion page", {
23409
23488
  type: "function",
23410
23489
  function: {
23411
23490
  name: "notion-fetch",
@@ -23428,22 +23507,11 @@ function createNotionFetchTool(getAccessToken, requestNotionAccess) {
23428
23507
  },
23429
23508
  required: ["id"]
23430
23509
  }
23431
- },
23432
- executor: async (args) => {
23433
- let token = getAccessToken();
23434
- if (!token) {
23435
- token = await requestNotionAccess();
23436
- }
23437
- try {
23438
- return await callMCPTool(token, "notion-fetch", args);
23439
- } catch (error) {
23440
- return `Error fetching Notion page: ${error instanceof Error ? error.message : String(error)}`;
23441
- }
23442
23510
  }
23443
- };
23511
+ });
23444
23512
  }
23445
- function createNotionCreatePagesTool(getAccessToken, requestNotionAccess) {
23446
- return {
23513
+ function notionCreatePagesTool(run) {
23514
+ return withNotionExecutor(run, "Error creating Notion page", {
23447
23515
  type: "function",
23448
23516
  function: {
23449
23517
  name: "notion-create-pages",
@@ -23476,22 +23544,11 @@ function createNotionCreatePagesTool(getAccessToken, requestNotionAccess) {
23476
23544
  },
23477
23545
  required: ["pages"]
23478
23546
  }
23479
- },
23480
- executor: async (args) => {
23481
- let token = getAccessToken();
23482
- if (!token) {
23483
- token = await requestNotionAccess();
23484
- }
23485
- try {
23486
- return await callMCPTool(token, "notion-create-pages", args);
23487
- } catch (error) {
23488
- return `Error creating Notion page: ${error instanceof Error ? error.message : String(error)}`;
23489
- }
23490
23547
  }
23491
- };
23548
+ });
23492
23549
  }
23493
- function createNotionUpdatePageTool(getAccessToken, requestNotionAccess) {
23494
- return {
23550
+ function notionUpdatePageTool(run) {
23551
+ return withNotionExecutor(run, "Error updating Notion page", {
23495
23552
  type: "function",
23496
23553
  function: {
23497
23554
  name: "notion-update-page",
@@ -23539,22 +23596,11 @@ function createNotionUpdatePageTool(getAccessToken, requestNotionAccess) {
23539
23596
  },
23540
23597
  required: ["data"]
23541
23598
  }
23542
- },
23543
- executor: async (args) => {
23544
- let token = getAccessToken();
23545
- if (!token) {
23546
- token = await requestNotionAccess();
23547
- }
23548
- try {
23549
- return await callMCPTool(token, "notion-update-page", args);
23550
- } catch (error) {
23551
- return `Error updating Notion page: ${error instanceof Error ? error.message : String(error)}`;
23552
- }
23553
23599
  }
23554
- };
23600
+ });
23555
23601
  }
23556
- function createNotionMovePagesTool(getAccessToken, requestNotionAccess) {
23557
- return {
23602
+ function notionMovePagesTool(run) {
23603
+ return withNotionExecutor(run, "Error moving Notion pages", {
23558
23604
  type: "function",
23559
23605
  function: {
23560
23606
  name: "notion-move-pages",
@@ -23574,22 +23620,11 @@ function createNotionMovePagesTool(getAccessToken, requestNotionAccess) {
23574
23620
  },
23575
23621
  required: ["page_or_database_ids", "new_parent"]
23576
23622
  }
23577
- },
23578
- executor: async (args) => {
23579
- let token = getAccessToken();
23580
- if (!token) {
23581
- token = await requestNotionAccess();
23582
- }
23583
- try {
23584
- return await callMCPTool(token, "notion-move-pages", args);
23585
- } catch (error) {
23586
- return `Error moving Notion pages: ${error instanceof Error ? error.message : String(error)}`;
23587
- }
23588
23623
  }
23589
- };
23624
+ });
23590
23625
  }
23591
- function createNotionDuplicatePageTool(getAccessToken, requestNotionAccess) {
23592
- return {
23626
+ function notionDuplicatePageTool(run) {
23627
+ return withNotionExecutor(run, "Error duplicating Notion page", {
23593
23628
  type: "function",
23594
23629
  function: {
23595
23630
  name: "notion-duplicate-page",
@@ -23604,22 +23639,11 @@ function createNotionDuplicatePageTool(getAccessToken, requestNotionAccess) {
23604
23639
  },
23605
23640
  required: ["page_id"]
23606
23641
  }
23607
- },
23608
- executor: async (args) => {
23609
- let token = getAccessToken();
23610
- if (!token) {
23611
- token = await requestNotionAccess();
23612
- }
23613
- try {
23614
- return await callMCPTool(token, "notion-duplicate-page", args);
23615
- } catch (error) {
23616
- return `Error duplicating Notion page: ${error instanceof Error ? error.message : String(error)}`;
23617
- }
23618
23642
  }
23619
- };
23643
+ });
23620
23644
  }
23621
- function createNotionCreateDatabaseTool(getAccessToken, requestNotionAccess) {
23622
- return {
23645
+ function notionCreateDatabaseTool(run) {
23646
+ return withNotionExecutor(run, "Error creating Notion database", {
23623
23647
  type: "function",
23624
23648
  function: {
23625
23649
  name: "notion-create-database",
@@ -23648,22 +23672,11 @@ function createNotionCreateDatabaseTool(getAccessToken, requestNotionAccess) {
23648
23672
  },
23649
23673
  required: ["properties"]
23650
23674
  }
23651
- },
23652
- executor: async (args) => {
23653
- let token = getAccessToken();
23654
- if (!token) {
23655
- token = await requestNotionAccess();
23656
- }
23657
- try {
23658
- return await callMCPTool(token, "notion-create-database", args);
23659
- } catch (error) {
23660
- return `Error creating Notion database: ${error instanceof Error ? error.message : String(error)}`;
23661
- }
23662
23675
  }
23663
- };
23676
+ });
23664
23677
  }
23665
- function createNotionUpdateDataSourceTool(getAccessToken, requestNotionAccess) {
23666
- return {
23678
+ function notionUpdateDataSourceTool(run) {
23679
+ return withNotionExecutor(run, "Error updating Notion data source", {
23667
23680
  type: "function",
23668
23681
  function: {
23669
23682
  name: "notion-update-data-source",
@@ -23700,22 +23713,11 @@ function createNotionUpdateDataSourceTool(getAccessToken, requestNotionAccess) {
23700
23713
  },
23701
23714
  required: ["data_source_id"]
23702
23715
  }
23703
- },
23704
- executor: async (args) => {
23705
- let token = getAccessToken();
23706
- if (!token) {
23707
- token = await requestNotionAccess();
23708
- }
23709
- try {
23710
- return await callMCPTool(token, "notion-update-data-source", args);
23711
- } catch (error) {
23712
- return `Error updating Notion data source: ${error instanceof Error ? error.message : String(error)}`;
23713
- }
23714
23716
  }
23715
- };
23717
+ });
23716
23718
  }
23717
- function createNotionCreateCommentTool(getAccessToken, requestNotionAccess) {
23718
- return {
23719
+ function notionCreateCommentTool(run) {
23720
+ return withNotionExecutor(run, "Error creating Notion comment", {
23719
23721
  type: "function",
23720
23722
  function: {
23721
23723
  name: "notion-create-comment",
@@ -23755,22 +23757,11 @@ function createNotionCreateCommentTool(getAccessToken, requestNotionAccess) {
23755
23757
  },
23756
23758
  required: ["page_id", "rich_text"]
23757
23759
  }
23758
- },
23759
- executor: async (args) => {
23760
- let token = getAccessToken();
23761
- if (!token) {
23762
- token = await requestNotionAccess();
23763
- }
23764
- try {
23765
- return await callMCPTool(token, "notion-create-comment", args);
23766
- } catch (error) {
23767
- return `Error creating Notion comment: ${error instanceof Error ? error.message : String(error)}`;
23768
- }
23769
23760
  }
23770
- };
23761
+ });
23771
23762
  }
23772
- function createNotionGetCommentsTool(getAccessToken, requestNotionAccess) {
23773
- return {
23763
+ function notionGetCommentsTool(run) {
23764
+ return withNotionExecutor(run, "Error retrieving Notion comments", {
23774
23765
  type: "function",
23775
23766
  function: {
23776
23767
  name: "notion-get-comments",
@@ -23797,22 +23788,11 @@ function createNotionGetCommentsTool(getAccessToken, requestNotionAccess) {
23797
23788
  },
23798
23789
  required: ["page_id"]
23799
23790
  }
23800
- },
23801
- executor: async (args) => {
23802
- let token = getAccessToken();
23803
- if (!token) {
23804
- token = await requestNotionAccess();
23805
- }
23806
- try {
23807
- return await callMCPTool(token, "notion-get-comments", args);
23808
- } catch (error) {
23809
- return `Error retrieving Notion comments: ${error instanceof Error ? error.message : String(error)}`;
23810
- }
23811
23791
  }
23812
- };
23792
+ });
23813
23793
  }
23814
- function createNotionGetUsersTool(getAccessToken, requestNotionAccess) {
23815
- return {
23794
+ function notionGetUsersTool(run) {
23795
+ return withNotionExecutor(run, "Error listing Notion users", {
23816
23796
  type: "function",
23817
23797
  function: {
23818
23798
  name: "notion-get-users",
@@ -23838,22 +23818,11 @@ function createNotionGetUsersTool(getAccessToken, requestNotionAccess) {
23838
23818
  }
23839
23819
  }
23840
23820
  }
23841
- },
23842
- executor: async (args) => {
23843
- let token = getAccessToken();
23844
- if (!token) {
23845
- token = await requestNotionAccess();
23846
- }
23847
- try {
23848
- return await callMCPTool(token, "notion-get-users", args);
23849
- } catch (error) {
23850
- return `Error listing Notion users: ${error instanceof Error ? error.message : String(error)}`;
23851
- }
23852
23821
  }
23853
- };
23822
+ });
23854
23823
  }
23855
- function createNotionGetTeamsTool(getAccessToken, requestNotionAccess) {
23856
- return {
23824
+ function notionGetTeamsTool(run) {
23825
+ return withNotionExecutor(run, "Error retrieving Notion teams", {
23857
23826
  type: "function",
23858
23827
  function: {
23859
23828
  name: "notion-get-teams",
@@ -23867,40 +23836,35 @@ function createNotionGetTeamsTool(getAccessToken, requestNotionAccess) {
23867
23836
  }
23868
23837
  }
23869
23838
  }
23870
- },
23871
- executor: async (args) => {
23872
- let token = getAccessToken();
23873
- if (!token) {
23874
- token = await requestNotionAccess();
23875
- }
23876
- try {
23877
- return await callMCPTool(token, "notion-get-teams", args);
23878
- } catch (error) {
23879
- return `Error retrieving Notion teams: ${error instanceof Error ? error.message : String(error)}`;
23880
- }
23881
23839
  }
23882
- };
23840
+ });
23883
23841
  }
23842
+ var NOTION_TOOLS = [
23843
+ // Search
23844
+ notionSearchTool,
23845
+ // Pages
23846
+ notionFetchTool,
23847
+ notionCreatePagesTool,
23848
+ notionUpdatePageTool,
23849
+ notionMovePagesTool,
23850
+ notionDuplicatePageTool,
23851
+ // Data Sources (Databases)
23852
+ notionCreateDatabaseTool,
23853
+ notionUpdateDataSourceTool,
23854
+ // Comments
23855
+ notionCreateCommentTool,
23856
+ notionGetCommentsTool,
23857
+ // Users & Teams
23858
+ notionGetUsersTool,
23859
+ notionGetTeamsTool
23860
+ ];
23884
23861
  function createNotionTools(getAccessToken, requestNotionAccess) {
23885
- return [
23886
- // Search
23887
- createNotionSearchTool(getAccessToken, requestNotionAccess),
23888
- // Pages
23889
- createNotionFetchTool(getAccessToken, requestNotionAccess),
23890
- createNotionCreatePagesTool(getAccessToken, requestNotionAccess),
23891
- createNotionUpdatePageTool(getAccessToken, requestNotionAccess),
23892
- createNotionMovePagesTool(getAccessToken, requestNotionAccess),
23893
- createNotionDuplicatePageTool(getAccessToken, requestNotionAccess),
23894
- // Data Sources (Databases)
23895
- createNotionCreateDatabaseTool(getAccessToken, requestNotionAccess),
23896
- createNotionUpdateDataSourceTool(getAccessToken, requestNotionAccess),
23897
- // Comments
23898
- createNotionCreateCommentTool(getAccessToken, requestNotionAccess),
23899
- createNotionGetCommentsTool(getAccessToken, requestNotionAccess),
23900
- // Users & Teams
23901
- createNotionGetUsersTool(getAccessToken, requestNotionAccess),
23902
- createNotionGetTeamsTool(getAccessToken, requestNotionAccess)
23903
- ];
23862
+ const run = directRunner(getAccessToken, requestNotionAccess);
23863
+ return NOTION_TOOLS.map((tool) => tool(run));
23864
+ }
23865
+ function createNotionProxyTools(callMcp) {
23866
+ const run = proxyRunner(callMcp);
23867
+ return NOTION_TOOLS.map((tool) => tool(run));
23904
23868
  }
23905
23869
  export {
23906
23870
  CHUNKS_DISCARDED_ORIGIN,
@@ -23995,6 +23959,7 @@ export {
23995
23959
  createMemoryVaultSearchTool,
23996
23960
  createMemoryVaultTool,
23997
23961
  createMessageSourceResolver,
23962
+ createNotionProxyTools,
23998
23963
  createNotionTools,
23999
23964
  createPlatformCursorStore,
24000
23965
  createRecallTool,
@@ -24066,6 +24066,7 @@ function useChatStorage(options) {
24066
24066
  minContentLength = DEFAULT_MIN_CONTENT_LENGTH,
24067
24067
  mcpR2Domain = MCP_R2_DOMAIN,
24068
24068
  preProcessors,
24069
+ smoothing,
24069
24070
  piiRedaction,
24070
24071
  onPiiRedacted,
24071
24072
  nerDetector,
@@ -24613,6 +24614,7 @@ function useChatStorage(options) {
24613
24614
  onToolCallArgumentsDelta,
24614
24615
  apiType,
24615
24616
  preProcessors,
24617
+ smoothing,
24616
24618
  piiRedaction: resolvedPiiRedaction,
24617
24619
  onPiiRedacted
24618
24620
  });
@@ -5415,6 +5415,8 @@ interface BaseUseChatStorageOptions {
5415
5415
  * a custom one matching `PromptPreProcessor`.
5416
5416
  */
5417
5417
  preProcessors?: PromptPreProcessor[];
5418
+ /** Output pacing forwarded to useChat. Set false when the UI batches streamed updates. */
5419
+ smoothing?: StreamSmoothingConfig | boolean;
5418
5420
  /**
5419
5421
  * Enable best-effort, client-side PII obfuscation (NOT a compliance
5420
5422
  * guarantee). Outbound message text is scanned for personally identifiable
@@ -16577,4 +16579,4 @@ declare function renderAnumaTree(node: AnumaNode): React.ReactElement | null;
16577
16579
  */
16578
16580
  declare function renderAnumaJsx(jsx: string): React.ReactElement | null;
16579
16581
 
16580
- export { Anuma, type AnumaChild, AnumaJsxError, type AnumaNode, AnumaShadowIsolationProvider, type AnumaShadowIsolationProviderProps, type AnumaTheme, AnumaThemeProvider, type AnumaThemeProviderProps, AppFile as AppFileModel, type AppFileOperationsContext, type AttrValue, type AutoExtractMessage, type AutoExtractor, DEFAULT_CONVERSATIONS_FOLDER as BACKUP_DRIVE_CONVERSATIONS_FOLDER, DEFAULT_ROOT_FOLDER as BACKUP_DRIVE_ROOT_FOLDER, DEFAULT_BACKUP_FOLDER as BACKUP_ICLOUD_FOLDER, BUILT_IN_TOOL_SETS, type BackupAuthContextValue, BackupAuthProvider, type BackupAuthProviderProps, type BackupOperationOptions, BlobUrlManager, type Budget, CHUNKS_DISCARDED_ORIGIN, type CachedChunkVectors, type CachedServerTools, ChartCard, type ChartCardProps, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Conversation as ChatConversation, Message as ChatMessage, type ChatRole, type ChatStorageAdapter, type ChatStorageObservable, type ChunkSearchResult, type ChunkVectorCache, type ChunkingOptions, type CircleProps, type ClientToolsFilterFn, type ConsolidationAction, type ConsolidationFallbackReason, type ConversationMemoryInput, ConversationMemory as ConversationMemoryModel, type ConversationMemoryOperationsContext, type ConversationQueryOptions, type CreateAutoExtractorOptions, type CreateConversationOptions, type CreateDecaySweeperOptions, type CreateEntityOptions, type CreateMediaOptions, type CreateMessageOptions, type CreateModelPreferenceOptions, type CreateProjectOptions, type CreateSavedToolOptions, type CreateServerToolsFilterOptions, type CreateUserPreferenceOptions, type CreateVaultFolderOptions, type CreateVaultMemoryOptions, type CryptoPriceClassification, type CryptoPricePreProcessorOptions, DEFAULT_BACKUP_FOLDER$1 as DEFAULT_BACKUP_FOLDER, DEFAULT_CACHE_EXPIRATION_MS, DEFAULT_CHUNK_CACHE_SIZE, DEFAULT_CHUNK_OVERLAP, DEFAULT_CHUNK_SIZE, DEFAULT_DECAY_POLICY, DEFAULT_CONVERSATIONS_FOLDER as DEFAULT_DRIVE_CONVERSATIONS_FOLDER, DEFAULT_ROOT_FOLDER as DEFAULT_DRIVE_ROOT_FOLDER, DEFAULT_BACKUP_FOLDER$1 as DEFAULT_DROPBOX_FOLDER, DEFAULT_EXCLUDED_SERVER_TOOLS, DEFAULT_BACKUP_FOLDER as DEFAULT_ICLOUD_BACKUP_FOLDER, DEFAULT_MAX_CLASSIFIER_CALLS_PER_SWEEP, DEFAULT_MIN_CHUNK_SIZE, DEFAULT_PERSONALITY_SETTINGS, DEFAULT_PROFILE_FACETS, DEFAULT_PROFILE_FACT_TYPE_WEIGHTS, DEFAULT_PROFILE_PROOF_ALPHA, DEFAULT_PROFILE_TREND_MULTIPLIERS, DEFAULT_SERVER_TOOLS_MATCH_OPTIONS, DEFAULT_VAULT_CACHE_SIZE, DatabaseManager, type DatabaseManagerLogger, type DatabaseManagerOptions, type DecayCandidateRaw, type DecayClassifier, type DecayInput, type DecayPolicy, type DecaySweepResult, type DecaySweeper, type DecayVerdict, type DeckProps, type DisplayToolMigrations, type DropboxAuthContextValue, DropboxAuthProvider, type DropboxAuthProviderProps, type DropboxExportResult, type DropboxImportResult, type DurableAutoExtractorOptions, ENTITY_FANOUT, ENTITY_KINDS, type EmbeddedWalletSignerFn, EncryptionKeyMissingError, type EncryptionKeyVersion, type EntityInput, type EntityKind, Entity as EntityModel, type EntityOperationsContext, ExcelProcessor, type ExtractFactsOptions, type ExtractOutcome, type ExtractedCandidate, type ExtractedEntity, type ExtractionCursorStore, type ExtractionFunnel, type ExtractionTimings, FILE_PLACEHOLDER_PREFIX, FILE_PLACEHOLDER_REGEX, type FactType, type FileMetadata, type FileProcessingReason, type FileProcessingStatus, type FileProcessor, type FileTypeQuery, type FileWithData, type FlushResult, type GetConversationsPageOptions, type GetMessagesPageOptions, type GoogleDriveAuthContextValue, GoogleDriveAuthProvider, type GoogleDriveAuthProviderProps, type GoogleDriveExportResult, type GoogleDriveImportResult, type GraphTraversalOptions, type GroupProps, HARD_DELETE_WINDOW_MS, type ICloudAuthContextValue, ICloudAuthProvider, type ICloudAuthProviderProps, type ICloudExportResult, type ICloudImportResult, INFERENCE_ID_HEADER, INTERNAL_FLOW_MARKER, type IconProps, type ImageProps, type InjectionClassifierOptions, type InjectionReason, type InteractionType, type KnownTag, type LazyStoredConversation, type LineProps, type LlmDecayClassifierOptions, type LlmNeighborRefinerOptions, type Logger, LoggerProvider, type LoggerProviderProps, MAX_HOPS, MEDIUM_TTL_MS, type ManualFactType, type MediaDimensions, type MediaFilterOptions, type MediaMetadata, type MediaOperationsContext, type MediaRole, type MediaType, type MemoriesNeedingTopicExtraction, type MemoryContextItem, type MemoryContextLane, type MemoryContextOptions, type MemoryContextResult, type EmbeddingOptions as MemoryEngineEmbeddingOptions, type MemoryEngineResult, type MemoryEngineSearchOptions, MemoryEntity as MemoryEntityModel, type MemoryExtractedEvent, type MemoryKind, type MemoryQuarantinedEvent, type MemoryToVerify, type MemoryVaultSearchOptions, type MemoryVaultToolOptions, type MemoryVerification, type MessageChunk, type MessageFeedback, type MessageOrigin, type MessageSkeleton, type ModelLoadProgress, NEVER_TTL_MS, NODE_BUDGET, type NeighborRefiner, type NowSource, type OCRFile, type ObservationTrend, type ObservationTrendInput, type OperationExecutor, PAST_EVENT_GRACE_MS, PROFILE_DOC_VERSION, type ParsedServerToolsResponse, type PdfExportOptions, type PdfExportProgress, type PdfExportStage, type PdfFile, PdfProcessor, type PendingInteraction, type PersonalitySettings, type PersonalitySliders, type PersonalityStyle, type PhoneCallPollingOptions, type PhotoIngestResult, type PhotoMediaRef, type PlatformStorage, type PortalLlmAuth, type PortalLlmFailure, type PortalLlmFailureReason, type PreprocessingOptions, type PreprocessingResult, type ProcessedFileResult, ProcessorRegistry, type ProfileConfigFingerprint, type ProfileDoc, type ProfileFacet, type ProfileFacetKey, type ProfileSalienceInput, type ProfileSection, type ProfileUpdate, type ProgressCallback, Project, type ProjectOperationsContext, type PromptPreProcessor, type PromptPreProcessorContext, type ProviderAuthState, type ProviderBackupState, ProviderStreamError, type PublishedPhotoMemory, type QuantizedEmbedding, type QuarantinedMemoryInfo, type QueueEncryptionContext, QueueManager, type QueueStatus, type QueuedOperation, type QueuedOperationType, R2_DEFAULT_TTL_MS, RECALL_MAX_LIMIT, RECALL_TOOL_NAME, type RankableVaultMemory, type RankedMemory, type RankedProfileCandidate, type RecallContext, type RecallDegradation, type RecallDiagnostics, type RecallEmptyReason, type RecallOptions, type RecallResult, type RecallToolCallbacks, type RecallToolOptions, type RecencyOptions, type RectProps, type ReflectOptions, type ReflectResult, type RequestEncryptionKeyOptions, RerankerUnavailableError, type ResumeStreamOptions, type ResumeStreamResult, type RetainAction, type RetainContext, type RetainOptions, type RetainResult, type RetainSource, SDK_SCHEMA_VERSION, SERVER_TOOL_DEPENDENCY_SETS, SHORT_TTL_MS, SLIDER_CONFIG, SLIDES_FILE_PATH, SLIDE_CANVAS_HEIGHT, SLIDE_CANVAS_WIDTH, STREAM_RESUMABLE_HEADER, SavedTool as SavedToolModel, type SavedToolOperationsContext, type SavedToolParameter, type ScoreBreakdown, type ScoreProfileSalienceOptions, type ScreenProps, type ScreenResult, type ScreenedCandidate, type SearchMessagesOptions, type SearchSource, type SelectServerToolsForPromptOptions, type SendMessageWithStorageArgs, type SendMessageWithStorageResult, type ServerTool, type ServerToolsFilter, type ServerToolsFilterFn, type ServerToolsFilterFunction, type ServerToolsOptions, type ServerToolsResponse, type SignMessageFn, type SignMessageOptions, type SlideProps, type StepFinishEvent, type StockPriceClassification, type StockPricePreProcessorOptions, type StorageOperationsContext, type StoredAppFile, type ChatCompletionUsage as StoredChatCompletionUsage, type StoredConversation, type StoredConversationMemory, type StoredEntity, type StoredFileWithContext, type StoredMedia, Media as StoredMediaModel, type StoredMessage, type StoredMessageWithSimilarity, type StoredModelPreference, ModelPreference as StoredModelPreferenceModel, type StoredProject, type StoredSavedTool, type StoredTopic, type StoredUserPreference, UserPreference as StoredUserPreferenceModel, type StoredVaultFolder, VaultFolder as StoredVaultFolderModel, type StoredVaultMemory, VaultMemory as StoredVaultMemoryModel, StreamExpiredError, type StreamMetaEvent, type StreamResumeHandle, type SynthesizeProfileOptions, THEME_ATTRS, TOOL_RESULT_ORIGIN, TOPICS_EXTRACTION_VERSION, TOPIC_EXTRACTION_BATCH_SIZE, TREND_RECENT_WINDOW_DAYS, TREND_STALE_WINDOW_DAYS, type TextChunk, TextProcessor, type TextProps, type ThemeAttr, type ToolCallArgumentsDeltaEvent, type ToolMatchOptions, type ToolMatchResult, type ToolSet, type TopicExtractOptions, type TopicExtractionInput, type TopicExtractionRunResult, type TopicSkipReason, type TopicSource, type TranscriptionResult, type TurnCompleteEvent, type TurnSkippedEvent, type UIInteractionContextValue, UIInteractionProvider, type UIInteractionProviderProps, type UncheckedReason, type UnverifiableReason, type UpdateMediaOptions, type UpdateModelPreferenceOptions, type UpdateProjectOptions, type UpdateSavedToolOptions, type UpdateUserPreferenceOptions, type UpdateVaultFolderOptions, type UpdateVaultMemoryOptions, type UseBackupOptions, type UseBackupResult, type UseChatStorageOptions, type UseChatStorageResult, type UseCreditsOptions, type UseCreditsResult, type UseDropboxBackupOptions, type UseDropboxBackupResult, type UseEncryptionResult, type UseExportPdfResult, type UseFilesOptions, type UseFilesResult, type UseGoogleDriveBackupOptions, type UseGoogleDriveBackupResult, type UseICloudBackupOptions, type UseICloudBackupResult, type UseModelsResult, type UseOCRResult, type UsePdfResult, type UsePhoneCallsOptions, type UsePhoneCallsResult, type UseProjectsOptions, type UseProjectsResult, type UseSettingsOptions, type UseSettingsResult, type UseSubscriptionOptions, type UseSubscriptionResult, type UseToolsOptions, type UseToolsResult, type UseVoiceOptions, type UseVoiceResult, type UseWalletBindingOptions, type UseWalletBindingResult, VAULT_SIZE_HOP_CAP, type VaultCandidateKey, type VaultEmbeddingCache, type VaultEmbeddingExpectation, type VaultFolderOperationsContext, type VaultMemoryOperationsContext, type VaultMemoryVisibility, type VaultMemoryWriter, type VaultSaveOperation, type VaultSearchResult, type VaultWriteAction, type VaultWriteInput, type VaultWriteOutcome, type VerificationSources, type VerifyMemoriesForPublishOptions, type VoiceRecording, WalletPoller, WatermelonChatStorageAdapter, type WatermelonChatStorageAdapterOptions, type WeatherClassification, type WeatherPreProcessorOptions, type WebSearchClassification, type WebSearchPreProcessorOptions, type WhisperModel, WordProcessor, ZipProcessor, type ZipProcessorOptions, addConversationMemoriesOp, appFileToStored, archiveVaultMemoryOp, assembleMemoryContext, attachFileContextToLastUserMessage, backfillMemoryEntityUserIdsOp, backfillMemoryTopicsOp, buildAttachedFilesText, capHopsForDensity, chatStorageMigrations, chatStorageSchema, chunkAndEmbedAllMessages, chunkAndEmbedMessage, chunkText, classifyCryptoPrice, classifyCryptoPriceBatch, classifyDecay, classifyInjectionCandidates, classifyObservationTrend, classifyStockPrice, classifyStockPriceBatch, classifyWeather, classifyWeatherBatch, classifyWebSearch, classifyWebSearchBatch, clearAllEncryptionKeys, clearAllEncryptionState, clearAllKeyPairs, clearCalendarToken, clearConversationMemoriesOp, clearDriveToken, clearToken as clearDropboxToken, clearEncryptionKey, clearGithubToken, clearGoogleDriveToken, clearICloudAuth, clearKeyPair, clearLazyTitleCache, clearMemoryTopicsOverrideOp, clearNotionToken, clearServerToolsCache, consoleLogger, conversationMemoryToStored, cosineInt8, createAutoExtractor, createChunkVectorCache, createCryptoPricePreProcessor, createDecaySweeper, createDurableAutoExtractor, createGitHubTools, createLlmDecayClassifier, createLlmNeighborRefiner, createMediaBatchOp, createMediaOp, createMemoryEngineTool, createMemoryVaultSearchTool, createMemoryVaultTool, createMessageSourceResolver, createPlatformCursorStore, createProjectOp, createRecallTool, createSavedToolOp, createServerToolsFilter, createStockPricePreProcessor, createVaultEmbeddingCache, createVaultFolderOp, createVaultMemoriesBatchOp, createVaultMemoryOp, createWeatherPreProcessor, createWebSearchPreProcessor, decodeChunkVector, decryptConversationTitle, decryptData, decryptDataBatch, decryptDataBytes, decryptDataBytesFromBytes, decryptDataWithKey, defaultServerToolsFilter, deleteAllAppFilesOp, deleteAllVaultMemoriesForUserOp, deleteAppFileOp, deleteEncryptedFile, deleteMediaByConversationOp, deleteMediaByMessageOp, deleteMediaOp, deleteMessageOp, deleteProjectOp, deleteSavedToolOp, deleteVaultFolderOp, deleteVaultMemoryOp, dequantizeEmbedding, eagerEmbedContent, embedAllMessages, embedMessage, encodeChunkVector, encryptData, encryptDataBatch, encryptDataBytes, encryptDataWithKey, ensureDefaultFoldersOp, expandToolSetsAdditive, exportElementToPdf, exportMarkdownToPdf, exportPublicKey, extractAndLinkEntitiesForMemoriesOp, extractAndRetain, extractEntitiesForMemories, extractFacts, extractFileIds, fileExists, findById, findMatchingTools, findParentOfId, formatFileProcessingNotes, generateConversationId, generateEmbedding, generateEmbeddings, generateMediaId, generateProjectId, getAIGeneratedMediaOp, getAllSavedToolsOp, getAllVaultFoldersOp, getAllVaultMemoriesOp, getAllVaultMemoryContentsOp, getAndClearCalendarPendingMessage, getAndClearCalendarReturnUrl, getAndClearDrivePendingMessage, getAndClearDriveReturnUrl, getAndClearGithubPendingMessage, getAndClearGithubReturnUrl, getAndClearNotionPendingMessage, getAndClearNotionReturnUrl, getAppFileMapOp, getAppFileOp, getAppFilesOp, getAudioOp, getCachedServerTools, getCalendarAccessToken, getConversationMemoriesOp, getConversationsByProjectLazyOp, getConversationsByProjectOp, getConversationsLazyOp, getConversationsPageOp, getDecayCandidatesRawOp, getDocumentsOp, getDriveAccessToken, getEncryptionKey, getEntitiesByMemoryIdsOp, getGithubAccessToken, getGoogleDriveStoredToken, getId, getImagesOp, getLogger, getMediaByConversationOp, getMediaByIdOp, getMediaByIdsOp, getMediaByMessageOp, getMediaByModelOp, getMediaByRoleOp, getMediaBySourceUrlOp, getMediaByTypeOp, getMediaCountOp, getMediaCountsByTypeOp, getMediaOp, getMediaTypeFromMime, getMemoriesByEntityNamesOp, getMemoriesNeedingTopicExtractionOp, getNotionAccessToken, getNotionMCPUrl, getNumberAttr, getProjectConversationCountOp, getProjectConversationsOp, getProjectOp, getProjectsOp, getRecentMediaOp, getSavedToolByIdOp, getServerTools, getStringAttr, getSupportedFileTypes, getToolsChecksum, getUnfiledVaultMemoriesOp, getUserUploadedMediaOp, getValidCalendarToken, getValidDriveToken, getValidGithubToken, getValidNotionToken, getVaultCandidateKeysOp, getVaultEmbeddingsByIdsOp, getVaultFolderMemoryCountOp, getVaultMemoriesByIdsOp, getVaultMemoryOp, getVaultRankingProjectionsOp, getVideosOp, handleCalendarCallback, handleDriveCallback, handleGithubCallback, handleNotionCallback, hardDeleteDecayedOp, hardDeleteMediaOp, hasCalendarCredentials, hasDriveCredentials, hasDropboxCredentials, hasEncryptionKey, hasGithubCredentials, hasGoogleDriveCredentials, hasICloudCredentials, hasKeyPair, hasNotionCredentials, ingestPublishedPhotoMemoriesOp, injectionSignatureCatalog, insertAfterId, insertChild, isAnumaTag, isAttachedFilesText, isCalendarCallback, isDegradedTopicSkip, isDriveCallback, isEncrypted, isGithubCallback, isHtmlTag, isNotionCallback, isOPFSSupported, isR2UrlExpired, isRerankerAvailable, isSupportedFile, isSupportedMediaType, linkMemoryEntitiesOp, maskScopedEmbeddingCache, mediaToStored, migrateCalendarToken, migrateDisplayResult, migrateDriveToken, migrateGithubToken, migrateNotionClientRegistration, migrateNotionToken, moveMemoriesToFolderOp, noopLogger, onKeyAvailable, parseJsx, parseMedia, preEmbedVaultMemories, preprocessFiles, previewToolSelection, projectToStored, putAppFileOp, quantizeEmbedding, queueManager, rankProfileCandidates, readEncryptedFile, recall, reflect, refreshCalendarToken, refreshDriveToken, refreshEncryptionKeyIfMatches, refreshGithubToken, refreshNotionToken, relinkMemoryTopicsOp, relinkMisclassifiedVideosOp, removeById, renderAnumaJsx, renderAnumaTree, renderElementToCanvas, replaceById, replaceMemoryEntitiesGuardedOp, requestEncryptionKey, requestKeyPair, resolveFilePlaceholders, resolveThemeColor, restoreVaultMemoryOp, resumeStream, retain, revokeCalendarToken, revokeDriveToken, revokeGithubToken, revokeNotionAccess, savedToolToStored, scoreProfileSalience, screenCandidatesForInjection, sdkMigrations, sdkModelClasses, sdkSchema, searchChunksOp, searchMediaOp, searchMessagesOp, searchVaultMemories, seedEncryptionKeys, selectServerToolsForPrompt, serializeJsx, setLogger, setMemoryEntitiesOp, setMemoryVisibilityOp, settingsStorageSchema, shouldChunkMessage, shouldRecallMemory, shouldRefreshTools, stampTopicsExtractedAtOp, startGithubAuth, startNotionAuth, storeCalendarPendingMessage, storeCalendarReturnUrl, storeCalendarToken, storeDrivePendingMessage, storeDriveReturnUrl, storeDriveToken, storeGithubPendingMessage, storeGithubReturnUrl, storeGithubToken, storeNotionPendingMessage, storeNotionReturnUrl, streamCancelPath, streamReplayPath, summarizeObservationTrends, supersedeVaultMemoryOp, synthesizeProfile, traverseGraphLane, ttlForType, updateAttrs, updateConversationProjectOp, updateMediaMessageIdBatchOp, updateMediaOp, updateMessageFeedbackOp, updateProjectNameOp, updateProjectOp, updateSavedToolOp, updateVaultFolderContextOp, updateVaultFolderOp, updateVaultMemoryEmbeddingOp, updateVaultMemoryOp, useAnumaTheme, useBackup, useBackupAuth, useChat, useChatStorage, useCredits, useDatabaseManager, useDropboxAuth, useDropboxBackup, useEncryption, useExportPdf, useFiles, useGoogleDriveAuth, useGoogleDriveBackup, useICloudAuth, useICloudBackup, useModels, useOCR, usePdf, usePhoneCalls, useProjects, useSettings, useSubscription, useTools, useUIInteraction, useVoice, useWalletBinding, userPreferencesStorageSchema, verifyMemoriesForPublish, walk, webPlatformStorage, withInternalFlowMarker, writeEncryptedFile };
16582
+ export { Anuma, type AnumaChild, AnumaJsxError, type AnumaNode, AnumaShadowIsolationProvider, type AnumaShadowIsolationProviderProps, type AnumaTheme, AnumaThemeProvider, type AnumaThemeProviderProps, AppFile as AppFileModel, type AppFileOperationsContext, type AttrValue, type AutoExtractMessage, type AutoExtractor, DEFAULT_CONVERSATIONS_FOLDER as BACKUP_DRIVE_CONVERSATIONS_FOLDER, DEFAULT_ROOT_FOLDER as BACKUP_DRIVE_ROOT_FOLDER, DEFAULT_BACKUP_FOLDER as BACKUP_ICLOUD_FOLDER, BUILT_IN_TOOL_SETS, type BackupAuthContextValue, BackupAuthProvider, type BackupAuthProviderProps, type BackupOperationOptions, BlobUrlManager, type Budget, CHUNKS_DISCARDED_ORIGIN, type CachedChunkVectors, type CachedServerTools, ChartCard, type ChartCardProps, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Conversation as ChatConversation, Message as ChatMessage, type ChatRole, type ChatStorageAdapter, type ChatStorageObservable, type ChunkSearchResult, type ChunkVectorCache, type ChunkingOptions, type CircleProps, type ClientToolsFilterFn, type ConsolidationAction, type ConsolidationFallbackReason, type ConversationMemoryInput, ConversationMemory as ConversationMemoryModel, type ConversationMemoryOperationsContext, type ConversationQueryOptions, type CreateAutoExtractorOptions, type CreateConversationOptions, type CreateDecaySweeperOptions, type CreateEntityOptions, type CreateMediaOptions, type CreateMessageOptions, type CreateModelPreferenceOptions, type CreateProjectOptions, type CreateSavedToolOptions, type CreateServerToolsFilterOptions, type CreateUserPreferenceOptions, type CreateVaultFolderOptions, type CreateVaultMemoryOptions, type CryptoPriceClassification, type CryptoPricePreProcessorOptions, DEFAULT_BACKUP_FOLDER$1 as DEFAULT_BACKUP_FOLDER, DEFAULT_CACHE_EXPIRATION_MS, DEFAULT_CHUNK_CACHE_SIZE, DEFAULT_CHUNK_OVERLAP, DEFAULT_CHUNK_SIZE, DEFAULT_DECAY_POLICY, DEFAULT_CONVERSATIONS_FOLDER as DEFAULT_DRIVE_CONVERSATIONS_FOLDER, DEFAULT_ROOT_FOLDER as DEFAULT_DRIVE_ROOT_FOLDER, DEFAULT_BACKUP_FOLDER$1 as DEFAULT_DROPBOX_FOLDER, DEFAULT_EXCLUDED_SERVER_TOOLS, DEFAULT_BACKUP_FOLDER as DEFAULT_ICLOUD_BACKUP_FOLDER, DEFAULT_MAX_CLASSIFIER_CALLS_PER_SWEEP, DEFAULT_MIN_CHUNK_SIZE, DEFAULT_PERSONALITY_SETTINGS, DEFAULT_PROFILE_FACETS, DEFAULT_PROFILE_FACT_TYPE_WEIGHTS, DEFAULT_PROFILE_PROOF_ALPHA, DEFAULT_PROFILE_TREND_MULTIPLIERS, DEFAULT_SERVER_TOOLS_MATCH_OPTIONS, DEFAULT_VAULT_CACHE_SIZE, DatabaseManager, type DatabaseManagerLogger, type DatabaseManagerOptions, type DecayCandidateRaw, type DecayClassifier, type DecayInput, type DecayPolicy, type DecaySweepResult, type DecaySweeper, type DecayVerdict, type DeckProps, type DisplayToolMigrations, type DropboxAuthContextValue, DropboxAuthProvider, type DropboxAuthProviderProps, type DropboxExportResult, type DropboxImportResult, type DurableAutoExtractorOptions, ENTITY_FANOUT, ENTITY_KINDS, type EmbeddedWalletSignerFn, EncryptionKeyMissingError, type EncryptionKeyVersion, type EntityInput, type EntityKind, Entity as EntityModel, type EntityOperationsContext, ExcelProcessor, type ExtractFactsOptions, type ExtractOutcome, type ExtractedCandidate, type ExtractedEntity, type ExtractionCursorStore, type ExtractionFunnel, type ExtractionTimings, FILE_PLACEHOLDER_PREFIX, FILE_PLACEHOLDER_REGEX, type FactType, type FileMetadata, type FileProcessingReason, type FileProcessingStatus, type FileProcessor, type FileTypeQuery, type FileWithData, type FlushResult, type GetConversationsPageOptions, type GetMessagesPageOptions, type GoogleDriveAuthContextValue, GoogleDriveAuthProvider, type GoogleDriveAuthProviderProps, type GoogleDriveExportResult, type GoogleDriveImportResult, type GraphTraversalOptions, type GroupProps, HARD_DELETE_WINDOW_MS, type ICloudAuthContextValue, ICloudAuthProvider, type ICloudAuthProviderProps, type ICloudExportResult, type ICloudImportResult, INFERENCE_ID_HEADER, INTERNAL_FLOW_MARKER, type IconProps, type ImageProps, type InjectionClassifierOptions, type InjectionReason, type InteractionType, type KnownTag, type LazyStoredConversation, type LineProps, type LlmDecayClassifierOptions, type LlmNeighborRefinerOptions, type Logger, LoggerProvider, type LoggerProviderProps, MAX_HOPS, MEDIUM_TTL_MS, type ManualFactType, type MediaDimensions, type MediaFilterOptions, type MediaMetadata, type MediaOperationsContext, type MediaRole, type MediaType, type MemoriesNeedingTopicExtraction, type MemoryContextItem, type MemoryContextLane, type MemoryContextOptions, type MemoryContextResult, type EmbeddingOptions as MemoryEngineEmbeddingOptions, type MemoryEngineResult, type MemoryEngineSearchOptions, MemoryEntity as MemoryEntityModel, type MemoryExtractedEvent, type MemoryKind, type MemoryQuarantinedEvent, type MemoryToVerify, type MemoryVaultSearchOptions, type MemoryVaultToolOptions, type MemoryVerification, type MessageChunk, type MessageFeedback, type MessageOrigin, type MessageSkeleton, type ModelLoadProgress, NEVER_TTL_MS, NODE_BUDGET, type NeighborRefiner, type NowSource, type OCRFile, type ObservationTrend, type ObservationTrendInput, type OperationExecutor, PAST_EVENT_GRACE_MS, PROFILE_DOC_VERSION, type ParsedServerToolsResponse, type PdfExportOptions, type PdfExportProgress, type PdfExportStage, type PdfFile, PdfProcessor, type PendingInteraction, type PersonalitySettings, type PersonalitySliders, type PersonalityStyle, type PhoneCallPollingOptions, type PhotoIngestResult, type PhotoMediaRef, type PlatformStorage, type PortalLlmAuth, type PortalLlmFailure, type PortalLlmFailureReason, type PreprocessingOptions, type PreprocessingResult, type ProcessedFileResult, ProcessorRegistry, type ProfileConfigFingerprint, type ProfileDoc, type ProfileFacet, type ProfileFacetKey, type ProfileSalienceInput, type ProfileSection, type ProfileUpdate, type ProgressCallback, Project, type ProjectOperationsContext, type PromptPreProcessor, type PromptPreProcessorContext, type ProviderAuthState, type ProviderBackupState, ProviderStreamError, type PublishedPhotoMemory, type QuantizedEmbedding, type QuarantinedMemoryInfo, type QueueEncryptionContext, QueueManager, type QueueStatus, type QueuedOperation, type QueuedOperationType, R2_DEFAULT_TTL_MS, RECALL_MAX_LIMIT, RECALL_TOOL_NAME, type RankableVaultMemory, type RankedMemory, type RankedProfileCandidate, type RecallContext, type RecallDegradation, type RecallDiagnostics, type RecallEmptyReason, type RecallOptions, type RecallResult, type RecallToolCallbacks, type RecallToolOptions, type RecencyOptions, type RectProps, type ReflectOptions, type ReflectResult, type RequestEncryptionKeyOptions, RerankerUnavailableError, type ResumeStreamOptions, type ResumeStreamResult, type RetainAction, type RetainContext, type RetainOptions, type RetainResult, type RetainSource, SDK_SCHEMA_VERSION, SERVER_TOOL_DEPENDENCY_SETS, SHORT_TTL_MS, SLIDER_CONFIG, SLIDES_FILE_PATH, SLIDE_CANVAS_HEIGHT, SLIDE_CANVAS_WIDTH, STREAM_RESUMABLE_HEADER, SavedTool as SavedToolModel, type SavedToolOperationsContext, type SavedToolParameter, type ScoreBreakdown, type ScoreProfileSalienceOptions, type ScreenProps, type ScreenResult, type ScreenedCandidate, type SearchMessagesOptions, type SearchSource, type SelectServerToolsForPromptOptions, type SendMessageWithStorageArgs, type SendMessageWithStorageResult, type ServerTool, type ServerToolsFilter, type ServerToolsFilterFn, type ServerToolsFilterFunction, type ServerToolsOptions, type ServerToolsResponse, type SignMessageFn, type SignMessageOptions, type SlideProps, type StepFinishEvent, type StockPriceClassification, type StockPricePreProcessorOptions, type StorageOperationsContext, type StoredAppFile, type ChatCompletionUsage as StoredChatCompletionUsage, type StoredConversation, type StoredConversationMemory, type StoredEntity, type StoredFileWithContext, type StoredMedia, Media as StoredMediaModel, type StoredMessage, type StoredMessageWithSimilarity, type StoredModelPreference, ModelPreference as StoredModelPreferenceModel, type StoredProject, type StoredSavedTool, type StoredTopic, type StoredUserPreference, UserPreference as StoredUserPreferenceModel, type StoredVaultFolder, VaultFolder as StoredVaultFolderModel, type StoredVaultMemory, VaultMemory as StoredVaultMemoryModel, StreamExpiredError, type StreamMetaEvent, type StreamResumeHandle, type StreamSmoothingConfig, type SynthesizeProfileOptions, THEME_ATTRS, TOOL_RESULT_ORIGIN, TOPICS_EXTRACTION_VERSION, TOPIC_EXTRACTION_BATCH_SIZE, TREND_RECENT_WINDOW_DAYS, TREND_STALE_WINDOW_DAYS, type TextChunk, TextProcessor, type TextProps, type ThemeAttr, type ToolCallArgumentsDeltaEvent, type ToolMatchOptions, type ToolMatchResult, type ToolSet, type TopicExtractOptions, type TopicExtractionInput, type TopicExtractionRunResult, type TopicSkipReason, type TopicSource, type TranscriptionResult, type TurnCompleteEvent, type TurnSkippedEvent, type UIInteractionContextValue, UIInteractionProvider, type UIInteractionProviderProps, type UncheckedReason, type UnverifiableReason, type UpdateMediaOptions, type UpdateModelPreferenceOptions, type UpdateProjectOptions, type UpdateSavedToolOptions, type UpdateUserPreferenceOptions, type UpdateVaultFolderOptions, type UpdateVaultMemoryOptions, type UseBackupOptions, type UseBackupResult, type UseChatStorageOptions, type UseChatStorageResult, type UseCreditsOptions, type UseCreditsResult, type UseDropboxBackupOptions, type UseDropboxBackupResult, type UseEncryptionResult, type UseExportPdfResult, type UseFilesOptions, type UseFilesResult, type UseGoogleDriveBackupOptions, type UseGoogleDriveBackupResult, type UseICloudBackupOptions, type UseICloudBackupResult, type UseModelsResult, type UseOCRResult, type UsePdfResult, type UsePhoneCallsOptions, type UsePhoneCallsResult, type UseProjectsOptions, type UseProjectsResult, type UseSettingsOptions, type UseSettingsResult, type UseSubscriptionOptions, type UseSubscriptionResult, type UseToolsOptions, type UseToolsResult, type UseVoiceOptions, type UseVoiceResult, type UseWalletBindingOptions, type UseWalletBindingResult, VAULT_SIZE_HOP_CAP, type VaultCandidateKey, type VaultEmbeddingCache, type VaultEmbeddingExpectation, type VaultFolderOperationsContext, type VaultMemoryOperationsContext, type VaultMemoryVisibility, type VaultMemoryWriter, type VaultSaveOperation, type VaultSearchResult, type VaultWriteAction, type VaultWriteInput, type VaultWriteOutcome, type VerificationSources, type VerifyMemoriesForPublishOptions, type VoiceRecording, WalletPoller, WatermelonChatStorageAdapter, type WatermelonChatStorageAdapterOptions, type WeatherClassification, type WeatherPreProcessorOptions, type WebSearchClassification, type WebSearchPreProcessorOptions, type WhisperModel, WordProcessor, ZipProcessor, type ZipProcessorOptions, addConversationMemoriesOp, appFileToStored, archiveVaultMemoryOp, assembleMemoryContext, attachFileContextToLastUserMessage, backfillMemoryEntityUserIdsOp, backfillMemoryTopicsOp, buildAttachedFilesText, capHopsForDensity, chatStorageMigrations, chatStorageSchema, chunkAndEmbedAllMessages, chunkAndEmbedMessage, chunkText, classifyCryptoPrice, classifyCryptoPriceBatch, classifyDecay, classifyInjectionCandidates, classifyObservationTrend, classifyStockPrice, classifyStockPriceBatch, classifyWeather, classifyWeatherBatch, classifyWebSearch, classifyWebSearchBatch, clearAllEncryptionKeys, clearAllEncryptionState, clearAllKeyPairs, clearCalendarToken, clearConversationMemoriesOp, clearDriveToken, clearToken as clearDropboxToken, clearEncryptionKey, clearGithubToken, clearGoogleDriveToken, clearICloudAuth, clearKeyPair, clearLazyTitleCache, clearMemoryTopicsOverrideOp, clearNotionToken, clearServerToolsCache, consoleLogger, conversationMemoryToStored, cosineInt8, createAutoExtractor, createChunkVectorCache, createCryptoPricePreProcessor, createDecaySweeper, createDurableAutoExtractor, createGitHubTools, createLlmDecayClassifier, createLlmNeighborRefiner, createMediaBatchOp, createMediaOp, createMemoryEngineTool, createMemoryVaultSearchTool, createMemoryVaultTool, createMessageSourceResolver, createPlatformCursorStore, createProjectOp, createRecallTool, createSavedToolOp, createServerToolsFilter, createStockPricePreProcessor, createVaultEmbeddingCache, createVaultFolderOp, createVaultMemoriesBatchOp, createVaultMemoryOp, createWeatherPreProcessor, createWebSearchPreProcessor, decodeChunkVector, decryptConversationTitle, decryptData, decryptDataBatch, decryptDataBytes, decryptDataBytesFromBytes, decryptDataWithKey, defaultServerToolsFilter, deleteAllAppFilesOp, deleteAllVaultMemoriesForUserOp, deleteAppFileOp, deleteEncryptedFile, deleteMediaByConversationOp, deleteMediaByMessageOp, deleteMediaOp, deleteMessageOp, deleteProjectOp, deleteSavedToolOp, deleteVaultFolderOp, deleteVaultMemoryOp, dequantizeEmbedding, eagerEmbedContent, embedAllMessages, embedMessage, encodeChunkVector, encryptData, encryptDataBatch, encryptDataBytes, encryptDataWithKey, ensureDefaultFoldersOp, expandToolSetsAdditive, exportElementToPdf, exportMarkdownToPdf, exportPublicKey, extractAndLinkEntitiesForMemoriesOp, extractAndRetain, extractEntitiesForMemories, extractFacts, extractFileIds, fileExists, findById, findMatchingTools, findParentOfId, formatFileProcessingNotes, generateConversationId, generateEmbedding, generateEmbeddings, generateMediaId, generateProjectId, getAIGeneratedMediaOp, getAllSavedToolsOp, getAllVaultFoldersOp, getAllVaultMemoriesOp, getAllVaultMemoryContentsOp, getAndClearCalendarPendingMessage, getAndClearCalendarReturnUrl, getAndClearDrivePendingMessage, getAndClearDriveReturnUrl, getAndClearGithubPendingMessage, getAndClearGithubReturnUrl, getAndClearNotionPendingMessage, getAndClearNotionReturnUrl, getAppFileMapOp, getAppFileOp, getAppFilesOp, getAudioOp, getCachedServerTools, getCalendarAccessToken, getConversationMemoriesOp, getConversationsByProjectLazyOp, getConversationsByProjectOp, getConversationsLazyOp, getConversationsPageOp, getDecayCandidatesRawOp, getDocumentsOp, getDriveAccessToken, getEncryptionKey, getEntitiesByMemoryIdsOp, getGithubAccessToken, getGoogleDriveStoredToken, getId, getImagesOp, getLogger, getMediaByConversationOp, getMediaByIdOp, getMediaByIdsOp, getMediaByMessageOp, getMediaByModelOp, getMediaByRoleOp, getMediaBySourceUrlOp, getMediaByTypeOp, getMediaCountOp, getMediaCountsByTypeOp, getMediaOp, getMediaTypeFromMime, getMemoriesByEntityNamesOp, getMemoriesNeedingTopicExtractionOp, getNotionAccessToken, getNotionMCPUrl, getNumberAttr, getProjectConversationCountOp, getProjectConversationsOp, getProjectOp, getProjectsOp, getRecentMediaOp, getSavedToolByIdOp, getServerTools, getStringAttr, getSupportedFileTypes, getToolsChecksum, getUnfiledVaultMemoriesOp, getUserUploadedMediaOp, getValidCalendarToken, getValidDriveToken, getValidGithubToken, getValidNotionToken, getVaultCandidateKeysOp, getVaultEmbeddingsByIdsOp, getVaultFolderMemoryCountOp, getVaultMemoriesByIdsOp, getVaultMemoryOp, getVaultRankingProjectionsOp, getVideosOp, handleCalendarCallback, handleDriveCallback, handleGithubCallback, handleNotionCallback, hardDeleteDecayedOp, hardDeleteMediaOp, hasCalendarCredentials, hasDriveCredentials, hasDropboxCredentials, hasEncryptionKey, hasGithubCredentials, hasGoogleDriveCredentials, hasICloudCredentials, hasKeyPair, hasNotionCredentials, ingestPublishedPhotoMemoriesOp, injectionSignatureCatalog, insertAfterId, insertChild, isAnumaTag, isAttachedFilesText, isCalendarCallback, isDegradedTopicSkip, isDriveCallback, isEncrypted, isGithubCallback, isHtmlTag, isNotionCallback, isOPFSSupported, isR2UrlExpired, isRerankerAvailable, isSupportedFile, isSupportedMediaType, linkMemoryEntitiesOp, maskScopedEmbeddingCache, mediaToStored, migrateCalendarToken, migrateDisplayResult, migrateDriveToken, migrateGithubToken, migrateNotionClientRegistration, migrateNotionToken, moveMemoriesToFolderOp, noopLogger, onKeyAvailable, parseJsx, parseMedia, preEmbedVaultMemories, preprocessFiles, previewToolSelection, projectToStored, putAppFileOp, quantizeEmbedding, queueManager, rankProfileCandidates, readEncryptedFile, recall, reflect, refreshCalendarToken, refreshDriveToken, refreshEncryptionKeyIfMatches, refreshGithubToken, refreshNotionToken, relinkMemoryTopicsOp, relinkMisclassifiedVideosOp, removeById, renderAnumaJsx, renderAnumaTree, renderElementToCanvas, replaceById, replaceMemoryEntitiesGuardedOp, requestEncryptionKey, requestKeyPair, resolveFilePlaceholders, resolveThemeColor, restoreVaultMemoryOp, resumeStream, retain, revokeCalendarToken, revokeDriveToken, revokeGithubToken, revokeNotionAccess, savedToolToStored, scoreProfileSalience, screenCandidatesForInjection, sdkMigrations, sdkModelClasses, sdkSchema, searchChunksOp, searchMediaOp, searchMessagesOp, searchVaultMemories, seedEncryptionKeys, selectServerToolsForPrompt, serializeJsx, setLogger, setMemoryEntitiesOp, setMemoryVisibilityOp, settingsStorageSchema, shouldChunkMessage, shouldRecallMemory, shouldRefreshTools, stampTopicsExtractedAtOp, startGithubAuth, startNotionAuth, storeCalendarPendingMessage, storeCalendarReturnUrl, storeCalendarToken, storeDrivePendingMessage, storeDriveReturnUrl, storeDriveToken, storeGithubPendingMessage, storeGithubReturnUrl, storeGithubToken, storeNotionPendingMessage, storeNotionReturnUrl, streamCancelPath, streamReplayPath, summarizeObservationTrends, supersedeVaultMemoryOp, synthesizeProfile, traverseGraphLane, ttlForType, updateAttrs, updateConversationProjectOp, updateMediaMessageIdBatchOp, updateMediaOp, updateMessageFeedbackOp, updateProjectNameOp, updateProjectOp, updateSavedToolOp, updateVaultFolderContextOp, updateVaultFolderOp, updateVaultMemoryEmbeddingOp, updateVaultMemoryOp, useAnumaTheme, useBackup, useBackupAuth, useChat, useChatStorage, useCredits, useDatabaseManager, useDropboxAuth, useDropboxBackup, useEncryption, useExportPdf, useFiles, useGoogleDriveAuth, useGoogleDriveBackup, useICloudAuth, useICloudBackup, useModels, useOCR, usePdf, usePhoneCalls, useProjects, useSettings, useSubscription, useTools, useUIInteraction, useVoice, useWalletBinding, userPreferencesStorageSchema, verifyMemoriesForPublish, walk, webPlatformStorage, withInternalFlowMarker, writeEncryptedFile };