@ai-matrx/agents 0.35.0 → 0.37.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.
- package/CHANGELOG.md +15 -0
- package/dist/content-transfer/index.cjs +12 -12
- package/dist/content-transfer/index.cjs.map +1 -1
- package/dist/content-transfer/index.d.cts +1 -1
- package/dist/content-transfer/index.d.ts +1 -1
- package/dist/content-transfer/index.js +12 -12
- package/dist/content-transfer/index.js.map +1 -1
- package/dist/content-transfer/react/index.cjs +12 -12
- package/dist/content-transfer/react/index.cjs.map +1 -1
- package/dist/content-transfer/react/index.d.cts +1 -1
- package/dist/content-transfer/react/index.d.ts +1 -1
- package/dist/content-transfer/react/index.js +12 -12
- package/dist/content-transfer/react/index.js.map +1 -1
- package/dist/index.cjs +1458 -1220
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1461 -1223
- package/dist/index.js.map +1 -1
- package/dist/{keys.generated-BLDTm66e.d.cts → keys.generated-klzs6I1T.d.cts} +4 -4
- package/dist/{keys.generated-BLDTm66e.d.ts → keys.generated-klzs6I1T.d.ts} +4 -4
- package/dist/mandates/index.cjs +2 -2
- package/dist/mandates/index.cjs.map +1 -1
- package/dist/mandates/index.d.cts +2 -2
- package/dist/mandates/index.d.ts +2 -2
- package/dist/mandates/index.js +2 -2
- package/dist/mandates/index.js.map +1 -1
- package/dist/matrx/index.cjs +1721 -1483
- package/dist/matrx/index.cjs.map +1 -1
- package/dist/matrx/index.d.cts +376 -211
- package/dist/matrx/index.d.ts +376 -211
- package/dist/matrx/index.js +1724 -1486
- package/dist/matrx/index.js.map +1 -1
- package/dist/message-parts/index.cjs +27 -0
- package/dist/message-parts/index.cjs.map +1 -0
- package/dist/message-parts/index.d.cts +105 -0
- package/dist/message-parts/index.d.ts +105 -0
- package/dist/message-parts/index.js +6 -0
- package/dist/message-parts/index.js.map +1 -0
- package/dist/portable/mcp.cjs +99 -11
- package/dist/portable/mcp.cjs.map +1 -1
- package/dist/portable/mcp.js +99 -11
- package/dist/portable/mcp.js.map +1 -1
- package/dist/react/index.cjs +145 -57
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +3 -1
- package/dist/react/index.d.ts +3 -1
- package/dist/react/index.js +145 -57
- package/dist/react/index.js.map +1 -1
- package/mandates/snapshots/keys.0.36.0.json +653 -0
- package/mandates/snapshots/keys.0.37.0.json +653 -0
- package/package.json +13 -3
- package/dist/{operations-BT5kKMHl.d.cts → operations-DqOe2zob.d.cts} +34 -34
- package/dist/{operations-BT5kKMHl.d.ts → operations-DqOe2zob.d.ts} +34 -34
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ContentTransferCapabilities } from '@ai-matrx/design-system/content-transfer';
|
|
3
|
-
import { M as MatrxTransport, a as MatrxStreamEnvelope, b as MatrxRuntimeOperationEvent, c as MatrxRuntimeExecutionStatus } from '../../operations-
|
|
3
|
+
import { M as MatrxTransport, a as MatrxStreamEnvelope, b as MatrxRuntimeOperationEvent, c as MatrxRuntimeExecutionStatus } from '../../operations-DqOe2zob.cjs';
|
|
4
4
|
|
|
5
5
|
interface MatrxContentTransferProgress {
|
|
6
6
|
requestId: string | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ContentTransferCapabilities } from '@ai-matrx/design-system/content-transfer';
|
|
3
|
-
import { M as MatrxTransport, a as MatrxStreamEnvelope, b as MatrxRuntimeOperationEvent, c as MatrxRuntimeExecutionStatus } from '../../operations-
|
|
3
|
+
import { M as MatrxTransport, a as MatrxStreamEnvelope, b as MatrxRuntimeOperationEvent, c as MatrxRuntimeExecutionStatus } from '../../operations-DqOe2zob.js';
|
|
4
4
|
|
|
5
5
|
interface MatrxContentTransferProgress {
|
|
6
6
|
requestId: string | null;
|
|
@@ -634,18 +634,6 @@ function extractMatrxErrorCode(serverDetail) {
|
|
|
634
634
|
return null;
|
|
635
635
|
}
|
|
636
636
|
|
|
637
|
-
// matrx/conversation.ts
|
|
638
|
-
function mintMatrxConversationId() {
|
|
639
|
-
return crypto.randomUUID();
|
|
640
|
-
}
|
|
641
|
-
function newStoredConversationStart(conversationId) {
|
|
642
|
-
return {
|
|
643
|
-
conversation_id: conversationId ?? mintMatrxConversationId(),
|
|
644
|
-
is_new: true,
|
|
645
|
-
store: true
|
|
646
|
-
};
|
|
647
|
-
}
|
|
648
|
-
|
|
649
637
|
// stream/ndjson.ts
|
|
650
638
|
var DEFAULT_MATRX_NDJSON_READ_AHEAD = 64;
|
|
651
639
|
function isRecord2(value) {
|
|
@@ -866,6 +854,18 @@ async function* readMatrxNdjsonStream(body, options = {}) {
|
|
|
866
854
|
}
|
|
867
855
|
}
|
|
868
856
|
|
|
857
|
+
// matrx/conversation.ts
|
|
858
|
+
function mintMatrxConversationId() {
|
|
859
|
+
return crypto.randomUUID();
|
|
860
|
+
}
|
|
861
|
+
function newStoredConversationStart(conversationId) {
|
|
862
|
+
return {
|
|
863
|
+
conversation_id: conversationId ?? mintMatrxConversationId(),
|
|
864
|
+
is_new: true,
|
|
865
|
+
store: true
|
|
866
|
+
};
|
|
867
|
+
}
|
|
868
|
+
|
|
869
869
|
// matrx/internal.ts
|
|
870
870
|
function encodePathSegment(value) {
|
|
871
871
|
return encodeURIComponent(value);
|