@ai-matrx/agents 0.36.0 → 0.37.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.
Files changed (54) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/content-transfer/index.cjs +12 -12
  3. package/dist/content-transfer/index.cjs.map +1 -1
  4. package/dist/content-transfer/index.d.cts +1 -1
  5. package/dist/content-transfer/index.d.ts +1 -1
  6. package/dist/content-transfer/index.js +12 -12
  7. package/dist/content-transfer/index.js.map +1 -1
  8. package/dist/content-transfer/react/index.cjs +12 -12
  9. package/dist/content-transfer/react/index.cjs.map +1 -1
  10. package/dist/content-transfer/react/index.d.cts +1 -1
  11. package/dist/content-transfer/react/index.d.ts +1 -1
  12. package/dist/content-transfer/react/index.js +12 -12
  13. package/dist/content-transfer/react/index.js.map +1 -1
  14. package/dist/generated/api-types.cjs.map +1 -1
  15. package/dist/generated/api-types.d.cts +5 -0
  16. package/dist/generated/api-types.d.ts +5 -0
  17. package/dist/index.cjs +1458 -1220
  18. package/dist/index.cjs.map +1 -1
  19. package/dist/index.d.cts +2 -2
  20. package/dist/index.d.ts +2 -2
  21. package/dist/index.js +1461 -1223
  22. package/dist/index.js.map +1 -1
  23. package/dist/{keys.generated-DCtN66RS.d.cts → keys.generated-DL-5LCNz.d.cts} +4 -4
  24. package/dist/{keys.generated-DCtN66RS.d.ts → keys.generated-DL-5LCNz.d.ts} +4 -4
  25. package/dist/mandates/index.cjs +2 -2
  26. package/dist/mandates/index.cjs.map +1 -1
  27. package/dist/mandates/index.d.cts +2 -2
  28. package/dist/mandates/index.d.ts +2 -2
  29. package/dist/mandates/index.js +2 -2
  30. package/dist/mandates/index.js.map +1 -1
  31. package/dist/matrx/index.cjs +1721 -1483
  32. package/dist/matrx/index.cjs.map +1 -1
  33. package/dist/matrx/index.d.cts +376 -211
  34. package/dist/matrx/index.d.ts +376 -211
  35. package/dist/matrx/index.js +1724 -1486
  36. package/dist/matrx/index.js.map +1 -1
  37. package/dist/message-parts/index.d.cts +1 -100929
  38. package/dist/message-parts/index.d.ts +1 -100929
  39. package/dist/portable/mcp.cjs +99 -11
  40. package/dist/portable/mcp.cjs.map +1 -1
  41. package/dist/portable/mcp.js +99 -11
  42. package/dist/portable/mcp.js.map +1 -1
  43. package/dist/react/index.cjs +145 -57
  44. package/dist/react/index.cjs.map +1 -1
  45. package/dist/react/index.d.cts +3 -1
  46. package/dist/react/index.d.ts +3 -1
  47. package/dist/react/index.js +145 -57
  48. package/dist/react/index.js.map +1 -1
  49. package/generated/api-types.ts +5 -0
  50. package/mandates/snapshots/keys.0.37.0.json +653 -0
  51. package/mandates/snapshots/keys.0.37.1.json +653 -0
  52. package/package.json +4 -4
  53. package/dist/{operations-BT5kKMHl.d.cts → operations-DqOe2zob.d.cts} +34 -34
  54. package/dist/{operations-BT5kKMHl.d.ts → operations-DqOe2zob.d.ts} +34 -34
@@ -662,18 +662,6 @@ function extractMatrxErrorCode(serverDetail) {
662
662
  return null;
663
663
  }
664
664
 
665
- // matrx/conversation.ts
666
- function mintMatrxConversationId() {
667
- return crypto.randomUUID();
668
- }
669
- function newStoredConversationStart(conversationId) {
670
- return {
671
- conversation_id: conversationId ?? mintMatrxConversationId(),
672
- is_new: true,
673
- store: true
674
- };
675
- }
676
-
677
665
  // stream/ndjson.ts
678
666
  var DEFAULT_MATRX_NDJSON_READ_AHEAD = 64;
679
667
  function isRecord2(value) {
@@ -894,6 +882,18 @@ async function* readMatrxNdjsonStream(body, options = {}) {
894
882
  }
895
883
  }
896
884
 
885
+ // matrx/conversation.ts
886
+ function mintMatrxConversationId() {
887
+ return crypto.randomUUID();
888
+ }
889
+ function newStoredConversationStart(conversationId) {
890
+ return {
891
+ conversation_id: conversationId ?? mintMatrxConversationId(),
892
+ is_new: true,
893
+ store: true
894
+ };
895
+ }
896
+
897
897
  // matrx/internal.ts
898
898
  function encodePathSegment(value) {
899
899
  return encodeURIComponent(value);