librechat-data-provider 0.8.523 → 0.8.524

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.
Files changed (48) hide show
  1. package/dist/{data-service-Bx6IFaSa.mjs → data-service-B-WUVvTH.mjs} +434 -174
  2. package/dist/data-service-B-WUVvTH.mjs.map +1 -0
  3. package/dist/{data-service-CTX0tVO5.js → data-service-CUG1qdeC.js} +577 -203
  4. package/dist/data-service-CUG1qdeC.js.map +1 -0
  5. package/dist/index.js +346 -72
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.mjs +307 -68
  8. package/dist/index.mjs.map +1 -1
  9. package/dist/react-query/index.js +1 -1
  10. package/dist/react-query/index.mjs +1 -1
  11. package/dist/types/actions.d.ts +1 -1
  12. package/dist/types/agentToolOptions.d.ts +1 -1
  13. package/dist/types/api-endpoints.d.ts +1 -0
  14. package/dist/types/backgroundResults.d.ts +13 -0
  15. package/dist/types/balance.d.ts +4 -0
  16. package/dist/types/bedrock.d.ts +77 -70
  17. package/dist/types/code/workspace.d.ts +22 -0
  18. package/dist/types/config.d.ts +5362 -4206
  19. package/dist/types/data-service.d.ts +14 -12
  20. package/dist/types/file-config.d.ts +81 -42
  21. package/dist/types/filters.d.ts +205 -205
  22. package/dist/types/footer.d.ts +20 -0
  23. package/dist/types/generate.d.ts +28 -28
  24. package/dist/types/index.d.ts +4 -0
  25. package/dist/types/keys.d.ts +2 -1
  26. package/dist/types/limits.d.ts +8 -0
  27. package/dist/types/mcp.d.ts +999 -352
  28. package/dist/types/messages.d.ts +12 -7
  29. package/dist/types/models.d.ts +429 -429
  30. package/dist/types/parameterSettings.d.ts +2 -1
  31. package/dist/types/parsers.d.ts +25 -1
  32. package/dist/types/resolve-llm-delivery-path.d.ts +97 -4
  33. package/dist/types/schemas.d.ts +646 -643
  34. package/dist/types/types/agents.d.ts +233 -2
  35. package/dist/types/types/assistants.d.ts +2 -641
  36. package/dist/types/types/content.d.ts +286 -0
  37. package/dist/types/types/files.d.ts +14 -1
  38. package/dist/types/types/mutations.d.ts +3 -2
  39. package/dist/types/types/queuedTurns.d.ts +124 -90
  40. package/dist/types/types/runs.d.ts +9 -0
  41. package/dist/types/types/schedules.d.ts +10 -10
  42. package/dist/types/types/skills.d.ts +43 -0
  43. package/dist/types/types/tools.d.ts +132 -0
  44. package/dist/types/types/traces.d.ts +49 -0
  45. package/dist/types/types.d.ts +31 -1
  46. package/package.json +1 -1
  47. package/dist/data-service-Bx6IFaSa.mjs.map +0 -1
  48. package/dist/data-service-CTX0tVO5.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import type { TMessageContentParts } from './types/assistants';
1
+ import type { TMessageContentParts } from './types/content';
2
2
  import type { TFile } from './types/files';
3
3
  import type { TMessage } from './types';
4
4
  /** A generated reasoning title describes the text as it existed at generation time.
@@ -25,12 +25,17 @@ export declare function buildTree({ messages, fileMap, }: {
25
25
  export declare function findMessageById(messages: (TMessage | undefined)[] | null | undefined, messageId?: string | null): TMessage | undefined;
26
26
  /**
27
27
  * True when a turn carries the marker the server stamps on a manual compaction:
28
- * `markCompactionSummary` sets `initiatedBy: 'user'` on the summary a Compact
29
- * action produced, and nothing else writes it, so an automatic summary detour is
30
- * not one. This is the compaction's own identity, independent of where it hangs:
31
- * Compact runs on whatever leaf the branch ends with, so its response can parent
32
- * onto a user message as easily as onto the answer it summarized. Redoing one is
33
- * the context indicator's Compact action, never a rerun of the turn behind it.
28
+ * `markCompactionOutcome` sets `initiatedBy: 'user'` on whichever part carries
29
+ * the outcome — the summary a Compact action produced, or the error part a run
30
+ * that produced none recorded instead — and nothing else writes it, so an
31
+ * automatic summary detour is not one. This is the compaction's own identity,
32
+ * independent of where it hangs: Compact runs on whatever leaf the branch ends
33
+ * with, so its response can parent onto a user message as easily as onto the
34
+ * answer it summarized. Redoing one is the context indicator's Compact action,
35
+ * never a rerun of the turn behind it.
36
+ *
37
+ * Compactions stored before the marker existed carry none, so callers keep
38
+ * their own ancestry test as the fallback.
34
39
  */
35
40
  export declare function isUserInitiatedCompaction(message?: Pick<TMessage, 'content'> | null): boolean;
36
41
  /**