multi-agent-protocol 0.0.3 → 0.0.4
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/README.md +4 -0
- package/docs/00-design-specification.md +36 -0
- package/docs/01-open-questions.md +0 -5
- package/docs/02-wire-protocol.md +1 -1
- package/docs/09-authentication.md +680 -0
- package/docs/10-mail-protocol.md +553 -0
- package/docs/agent-iam-integration.md +877 -0
- package/docs/agentic-mesh-integration-draft.md +459 -0
- package/docs/git-transport-draft.md +251 -0
- package/package.json +5 -4
- package/schema/meta.json +130 -0
- package/schema/schema.json +732 -2
package/README.md
CHANGED
|
@@ -155,6 +155,16 @@ interface MAPParticipantCapabilities {
|
|
|
155
155
|
// Scope management
|
|
156
156
|
canCreateScopes: boolean;
|
|
157
157
|
canManageScopes: boolean;
|
|
158
|
+
|
|
159
|
+
// Mail (conversations/turns) - extension
|
|
160
|
+
mail?: {
|
|
161
|
+
enabled?: boolean; // Server supports mail (response only)
|
|
162
|
+
canCreate?: boolean; // Can create conversations
|
|
163
|
+
canJoin?: boolean; // Can join conversations
|
|
164
|
+
canInvite?: boolean; // Can invite participants
|
|
165
|
+
canViewHistory?: boolean; // Can view conversation history
|
|
166
|
+
canCreateThreads?: boolean; // Can create threads
|
|
167
|
+
};
|
|
158
168
|
}
|
|
159
169
|
```
|
|
160
170
|
|
|
@@ -318,6 +328,14 @@ interface MAPMessage {
|
|
|
318
328
|
isResult?: boolean;
|
|
319
329
|
priority?: "urgent" | "high" | "normal" | "low";
|
|
320
330
|
delivery?: "fire-and-forget" | "acknowledged" | "guaranteed";
|
|
331
|
+
|
|
332
|
+
// Mail turn tracking (optional extension)
|
|
333
|
+
mail?: {
|
|
334
|
+
conversationId: string; // Record as turn in this conversation
|
|
335
|
+
threadId?: string; // Optionally assign to thread
|
|
336
|
+
inReplyTo?: string; // Turn ID this is replying to
|
|
337
|
+
visibility?: TurnVisibility; // Who can see this turn
|
|
338
|
+
};
|
|
321
339
|
};
|
|
322
340
|
}
|
|
323
341
|
```
|
|
@@ -421,8 +439,25 @@ type MAPAddress =
|
|
|
421
439
|
// FEDERATION
|
|
422
440
|
"map/federation/connect" // Connect to peer MAP system
|
|
423
441
|
"map/federation/route" // Route message to peer system
|
|
442
|
+
|
|
443
|
+
// MAIL (Conversations, Turns, Threads)
|
|
444
|
+
"mail/create" // Create a conversation
|
|
445
|
+
"mail/get" // Get conversation details with optional includes
|
|
446
|
+
"mail/list" // List conversations with filtering
|
|
447
|
+
"mail/close" // Close a conversation
|
|
448
|
+
"mail/join" // Join a conversation with optional catch-up
|
|
449
|
+
"mail/leave" // Leave a conversation
|
|
450
|
+
"mail/invite" // Invite a participant to a conversation
|
|
451
|
+
"mail/turn" // Record a turn in a conversation
|
|
452
|
+
"mail/turns/list" // List turns with filtering and pagination
|
|
453
|
+
"mail/thread/create" // Create a thread within a conversation
|
|
454
|
+
"mail/thread/list" // List threads in a conversation
|
|
455
|
+
"mail/summary" // Get or generate a conversation summary
|
|
456
|
+
"mail/replay" // Replay conversation turns from a point
|
|
424
457
|
```
|
|
425
458
|
|
|
459
|
+
> See [10-mail-protocol.md](10-mail-protocol.md) for the full Mail Protocol specification.
|
|
460
|
+
|
|
426
461
|
---
|
|
427
462
|
|
|
428
463
|
## Design Decisions Summary
|
|
@@ -450,6 +485,7 @@ type MAPAddress =
|
|
|
450
485
|
- [06-visibility-permissions.md](06-visibility-permissions.md): Visibility & Permission Model
|
|
451
486
|
- [07-federation.md](07-federation.md): Federation & System-to-System Communication
|
|
452
487
|
- [08-macro-agent-migration.md](08-macro-agent-migration.md): macro-agent Migration Example
|
|
488
|
+
- [10-mail-protocol.md](10-mail-protocol.md): Mail Protocol (Conversations, Turns, Threads)
|
|
453
489
|
|
|
454
490
|
---
|
|
455
491
|
|
|
@@ -1048,8 +1048,3 @@ Child specs where these questions originated:
|
|
|
1048
1048
|
- Connection Model & Client Patterns (05-connection-model.md)
|
|
1049
1049
|
- Visibility & Permission Model (06-visibility-permissions.md)
|
|
1050
1050
|
- Federation & System-to-System Communication (07-federation.md)
|
|
1051
|
-
|
|
1052
|
-
External references:
|
|
1053
|
-
- [A2A Protocol Specification](https://google.github.io/A2A/specification/) - Artifacts and task model
|
|
1054
|
-
- [ACP SDK](https://github.com/anthropics/acp) - Capability negotiation patterns
|
|
1055
|
-
- [Agent Interoperability Survey](https://arxiv.org/html/2505.02279v1) - Protocol comparison
|
package/docs/02-wire-protocol.md
CHANGED