@multi-agent-protocol/sdk 0.0.10 → 0.0.11
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/dist/{index-C7Jyk_qT.d.cts → index-BojLgS6o.d.cts} +15 -2
- package/dist/{index-C7Jyk_qT.d.ts → index-BojLgS6o.d.ts} +15 -2
- 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.map +1 -1
- package/dist/testing.cjs +1 -1
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.d.cts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +1 -1
- package/dist/testing.js.map +1 -1
- package/package.json +1 -1
|
@@ -827,7 +827,13 @@ interface SubscriptionAckNotification extends MAPNotificationBase<SubscriptionAc
|
|
|
827
827
|
method: "map/subscribe.ack";
|
|
828
828
|
params: SubscriptionAckParams;
|
|
829
829
|
}
|
|
830
|
-
/**
|
|
830
|
+
/**
|
|
831
|
+
* Data for message_sent events.
|
|
832
|
+
*
|
|
833
|
+
* Payload is included for subscribers that have permission to observe the
|
|
834
|
+
* event stream. Access control is enforced at the subscription level —
|
|
835
|
+
* clients that can subscribe are trusted to see message content.
|
|
836
|
+
*/
|
|
831
837
|
interface MessageSentEventData {
|
|
832
838
|
messageId: MessageId;
|
|
833
839
|
from: ParticipantId;
|
|
@@ -835,14 +841,21 @@ interface MessageSentEventData {
|
|
|
835
841
|
timestamp: Timestamp;
|
|
836
842
|
correlationId?: CorrelationId;
|
|
837
843
|
priority?: MessagePriority;
|
|
844
|
+
payload?: unknown;
|
|
838
845
|
}
|
|
839
|
-
/**
|
|
846
|
+
/**
|
|
847
|
+
* Data for message_delivered events.
|
|
848
|
+
*
|
|
849
|
+
* Payload is included for subscribers that have permission to observe the
|
|
850
|
+
* event stream. Access control is enforced at the subscription level.
|
|
851
|
+
*/
|
|
840
852
|
interface MessageDeliveredEventData {
|
|
841
853
|
messageId: MessageId;
|
|
842
854
|
from: ParticipantId;
|
|
843
855
|
deliveredTo: ParticipantId[];
|
|
844
856
|
timestamp: Timestamp;
|
|
845
857
|
correlationId?: CorrelationId;
|
|
858
|
+
payload?: unknown;
|
|
846
859
|
}
|
|
847
860
|
/** Data for message_failed events */
|
|
848
861
|
interface MessageFailedEventData {
|
|
@@ -827,7 +827,13 @@ interface SubscriptionAckNotification extends MAPNotificationBase<SubscriptionAc
|
|
|
827
827
|
method: "map/subscribe.ack";
|
|
828
828
|
params: SubscriptionAckParams;
|
|
829
829
|
}
|
|
830
|
-
/**
|
|
830
|
+
/**
|
|
831
|
+
* Data for message_sent events.
|
|
832
|
+
*
|
|
833
|
+
* Payload is included for subscribers that have permission to observe the
|
|
834
|
+
* event stream. Access control is enforced at the subscription level —
|
|
835
|
+
* clients that can subscribe are trusted to see message content.
|
|
836
|
+
*/
|
|
831
837
|
interface MessageSentEventData {
|
|
832
838
|
messageId: MessageId;
|
|
833
839
|
from: ParticipantId;
|
|
@@ -835,14 +841,21 @@ interface MessageSentEventData {
|
|
|
835
841
|
timestamp: Timestamp;
|
|
836
842
|
correlationId?: CorrelationId;
|
|
837
843
|
priority?: MessagePriority;
|
|
844
|
+
payload?: unknown;
|
|
838
845
|
}
|
|
839
|
-
/**
|
|
846
|
+
/**
|
|
847
|
+
* Data for message_delivered events.
|
|
848
|
+
*
|
|
849
|
+
* Payload is included for subscribers that have permission to observe the
|
|
850
|
+
* event stream. Access control is enforced at the subscription level.
|
|
851
|
+
*/
|
|
840
852
|
interface MessageDeliveredEventData {
|
|
841
853
|
messageId: MessageId;
|
|
842
854
|
from: ParticipantId;
|
|
843
855
|
deliveredTo: ParticipantId[];
|
|
844
856
|
timestamp: Timestamp;
|
|
845
857
|
correlationId?: CorrelationId;
|
|
858
|
+
payload?: unknown;
|
|
846
859
|
}
|
|
847
860
|
/** Data for message_failed events */
|
|
848
861
|
interface MessageFailedEventData {
|