@opengeni/react 1.4.5-canary.38533006839001 → 2.0.1

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.
@@ -3,7 +3,7 @@ import {
3
3
  buildTimeline,
4
4
  groupTimeline,
5
5
  sessionStatusFromEvents
6
- } from "./chunk-KKSJE6P2.js";
6
+ } from "./chunk-HQN5AZFY.js";
7
7
  import {
8
8
  isActionableHumanInputRequest
9
9
  } from "./chunk-IZV5FTJC.js";
@@ -1554,7 +1554,7 @@ function useSessionEvents(sessionId, options = {}) {
1554
1554
  let generation = navigationGenerationRef.current;
1555
1555
  const current = () => ownsNavigation() && generation === navigationGenerationRef.current;
1556
1556
  try {
1557
- const { resolveLatestQuestion } = await import("./latest-question-MYLGMNDL.js");
1557
+ const { resolveLatestQuestion } = await import("./latest-question-6WZQV23L.js");
1558
1558
  if (!current()) return null;
1559
1559
  const destination = await resolveLatestQuestion({
1560
1560
  client,
@@ -3003,4 +3003,4 @@ export {
3003
3003
  useGoal,
3004
3004
  useNewConversation
3005
3005
  };
3006
- //# sourceMappingURL=chunk-ROUV2WRM.js.map
3006
+ //# sourceMappingURL=chunk-25YZS7TK.js.map
@@ -271,6 +271,10 @@ import {
271
271
 
272
272
  // src/timeline/compaction-copy.ts
273
273
  var COMPACTION_FAILURE_TITLE = "Couldn\u2019t compact conversation history";
274
+ var COMPACTION_INTERRUPTED_TITLE = "Compaction interrupted";
275
+ function compactionSkipTitle(reason) {
276
+ return reason === "interrupted" ? COMPACTION_INTERRUPTED_TITLE : COMPACTION_FAILURE_TITLE;
277
+ }
274
278
  var COMPACTION_REJECTION_NOTE = "The provider rejects this request the same way until the conversation changes.";
275
279
  function compactionSkipSubtitle(reason, providerRejection = null) {
276
280
  switch (reason) {
@@ -282,6 +286,8 @@ function compactionSkipSubtitle(reason, providerRejection = null) {
282
286
  return "Checkpoint exceeds this model's context budget. Chat history is unchanged.";
283
287
  case "replacement_unchanged":
284
288
  return "Checkpoint made no progress";
289
+ case "interrupted":
290
+ return "It will retry if still needed. Chat history is unchanged.";
285
291
  case "summarization_failed":
286
292
  return providerRejection ? "Chat history is unchanged. If your next message fails too, start a new session." : "Request it again to retry. Chat history is unchanged.";
287
293
  default:
@@ -3016,7 +3022,7 @@ function looksLikeId(value) {
3016
3022
  }
3017
3023
 
3018
3024
  export {
3019
- COMPACTION_FAILURE_TITLE,
3025
+ compactionSkipTitle,
3020
3026
  compactionSkipSubtitle,
3021
3027
  compactionFailureDetails,
3022
3028
  presentTurnFailureText,
@@ -3029,4 +3035,4 @@ export {
3029
3035
  isTurnExecutionEvidence,
3030
3036
  extractSessionRef
3031
3037
  };
3032
- //# sourceMappingURL=chunk-KKSJE6P2.js.map
3038
+ //# sourceMappingURL=chunk-HQN5AZFY.js.map