@anuma/sdk 10.0.1 → 10.0.3

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.
@@ -7614,14 +7614,7 @@ interface MaybeSummarizeHistoryResult {
7614
7614
  /** Summary system message to prepend, or null if no summary */
7615
7615
  summarySystemMessage: LlmapiMessage | null;
7616
7616
  }
7617
- /**
7618
- * Shared summarization logic for both React and Expo useChatStorage hooks.
7619
- *
7620
- * Checks if history needs summarization, calls the LLM if so, persists the result,
7621
- * and returns the window messages + optional summary system message.
7622
- *
7623
- * Falls back to sending all messages verbatim on any error.
7624
- */
7617
+ /** Returns the history window and summary, or rejects if the conversation changes. */
7625
7618
  declare function maybeSummarizeHistory(options: MaybeSummarizeHistoryOptions): Promise<MaybeSummarizeHistoryResult>;
7626
7619
  /**
7627
7620
  * Delete the conversation summary cache. Logs a warning on failure
@@ -7614,14 +7614,7 @@ interface MaybeSummarizeHistoryResult {
7614
7614
  /** Summary system message to prepend, or null if no summary */
7615
7615
  summarySystemMessage: LlmapiMessage | null;
7616
7616
  }
7617
- /**
7618
- * Shared summarization logic for both React and Expo useChatStorage hooks.
7619
- *
7620
- * Checks if history needs summarization, calls the LLM if so, persists the result,
7621
- * and returns the window messages + optional summary system message.
7622
- *
7623
- * Falls back to sending all messages verbatim on any error.
7624
- */
7617
+ /** Returns the history window and summary, or rejects if the conversation changes. */
7625
7618
  declare function maybeSummarizeHistory(options: MaybeSummarizeHistoryOptions): Promise<MaybeSummarizeHistoryResult>;
7626
7619
  /**
7627
7620
  * Delete the conversation summary cache. Logs a warning on failure