@ai-matrx/agents 0.36.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 +10 -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-DCtN66RS.d.cts → keys.generated-klzs6I1T.d.cts} +4 -4
- package/dist/{keys.generated-DCtN66RS.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.d.cts +1 -100929
- package/dist/message-parts/index.d.ts +1 -100929
- 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.37.0.json +653 -0
- package/package.json +2 -2
- 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 { M as MatrxTransport } from '../transport-CxD0fL8p.cjs';
|
|
2
|
-
import { v as MatrxRuntimeOperationEvent, u as MatrxRuntimeExecutionStatus, c as MatrxCancelResponse } from '../operations-C9QvBH_2.cjs';
|
|
3
2
|
import { MatrxStreamEnvelope } from '../stream/ndjson.cjs';
|
|
3
|
+
import { v as MatrxRuntimeOperationEvent, u as MatrxRuntimeExecutionStatus, c as MatrxCancelResponse } from '../operations-C9QvBH_2.cjs';
|
|
4
4
|
import { PageAction, Payload, Snapshot, Draft, TransferOutcome, TransferTarget } from '@ai-matrx/kit/content-transfer';
|
|
5
5
|
import '../stream/sse.cjs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { M as MatrxTransport } from '../transport-CxD0fL8p.js';
|
|
2
|
-
import { v as MatrxRuntimeOperationEvent, u as MatrxRuntimeExecutionStatus, c as MatrxCancelResponse } from '../operations-C3iHFcnt.js';
|
|
3
2
|
import { MatrxStreamEnvelope } from '../stream/ndjson.js';
|
|
3
|
+
import { v as MatrxRuntimeOperationEvent, u as MatrxRuntimeExecutionStatus, c as MatrxCancelResponse } from '../operations-C3iHFcnt.js';
|
|
4
4
|
import { PageAction, Payload, Snapshot, Draft, TransferOutcome, TransferTarget } from '@ai-matrx/kit/content-transfer';
|
|
5
5
|
import '../stream/sse.js';
|
|
6
6
|
|
|
@@ -686,18 +686,6 @@ function extractMatrxErrorCode(serverDetail) {
|
|
|
686
686
|
return null;
|
|
687
687
|
}
|
|
688
688
|
|
|
689
|
-
// matrx/conversation.ts
|
|
690
|
-
function mintMatrxConversationId() {
|
|
691
|
-
return crypto.randomUUID();
|
|
692
|
-
}
|
|
693
|
-
function newStoredConversationStart(conversationId) {
|
|
694
|
-
return {
|
|
695
|
-
conversation_id: conversationId ?? mintMatrxConversationId(),
|
|
696
|
-
is_new: true,
|
|
697
|
-
store: true
|
|
698
|
-
};
|
|
699
|
-
}
|
|
700
|
-
|
|
701
689
|
// stream/ndjson.ts
|
|
702
690
|
var DEFAULT_MATRX_NDJSON_READ_AHEAD = 64;
|
|
703
691
|
function isRecord2(value) {
|
|
@@ -918,6 +906,18 @@ async function* readMatrxNdjsonStream(body, options = {}) {
|
|
|
918
906
|
}
|
|
919
907
|
}
|
|
920
908
|
|
|
909
|
+
// matrx/conversation.ts
|
|
910
|
+
function mintMatrxConversationId() {
|
|
911
|
+
return crypto.randomUUID();
|
|
912
|
+
}
|
|
913
|
+
function newStoredConversationStart(conversationId) {
|
|
914
|
+
return {
|
|
915
|
+
conversation_id: conversationId ?? mintMatrxConversationId(),
|
|
916
|
+
is_new: true,
|
|
917
|
+
store: true
|
|
918
|
+
};
|
|
919
|
+
}
|
|
920
|
+
|
|
921
921
|
// matrx/internal.ts
|
|
922
922
|
function encodePathSegment(value) {
|
|
923
923
|
return encodeURIComponent(value);
|