multi-agent-protocol 0.0.4 → 0.1.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/schema/meta.json CHANGED
@@ -252,7 +252,7 @@
252
252
  "implementedBy": "system",
253
253
  "callableBy": ["system"],
254
254
  "capabilities": [],
255
- "description": "Connect to a peer MAP system",
255
+ "description": "Connect to a peer MAP system. Supports single-request auth with inline credentials including did:wba.",
256
256
  "requestType": "FederationConnectRequest",
257
257
  "responseType": "FederationConnectResponse"
258
258
  },
@@ -381,6 +381,96 @@
381
381
  "description": "Replay conversation turns from a specific point",
382
382
  "requestType": "MailReplayRequest",
383
383
  "responseType": "MailReplayResponse"
384
+ },
385
+ "cred/get": {
386
+ "tier": "extension",
387
+ "implementedBy": "system",
388
+ "callableBy": ["agent"],
389
+ "capabilities": ["credentials.canGet"],
390
+ "description": "Request a short-lived credential for a scope and resource",
391
+ "requestType": "CredGetRequest",
392
+ "responseType": "CredGetResponse"
393
+ },
394
+ "cred/list": {
395
+ "tier": "extension",
396
+ "implementedBy": "system",
397
+ "callableBy": ["agent"],
398
+ "capabilities": ["credentials.canList"],
399
+ "description": "List available scopes for the authenticated token",
400
+ "requestType": "CredListRequest",
401
+ "responseType": "CredListResponse"
402
+ },
403
+ "cred/status": {
404
+ "tier": "extension",
405
+ "implementedBy": "system",
406
+ "callableBy": ["client", "agent"],
407
+ "capabilities": [],
408
+ "description": "Check credential broker status and available providers",
409
+ "requestType": "CredStatusRequest",
410
+ "responseType": "CredStatusResponse"
411
+ },
412
+ "workspace/search": {
413
+ "tier": "extension",
414
+ "implementedBy": "system",
415
+ "callableBy": ["client", "agent"],
416
+ "capabilities": ["workspace.canSearch"],
417
+ "description": "Search for files matching a query in an agent's workspace",
418
+ "requestType": "WorkspaceSearchRequest",
419
+ "responseType": "WorkspaceSearchResponse"
420
+ },
421
+ "workspace/list": {
422
+ "tier": "extension",
423
+ "implementedBy": "system",
424
+ "callableBy": ["client", "agent"],
425
+ "capabilities": ["workspace.canList"],
426
+ "description": "List files in a directory of an agent's workspace",
427
+ "requestType": "WorkspaceListRequest",
428
+ "responseType": "WorkspaceListResponse"
429
+ },
430
+ "workspace/read": {
431
+ "tier": "extension",
432
+ "implementedBy": "system",
433
+ "callableBy": ["client", "agent"],
434
+ "capabilities": ["workspace.canRead"],
435
+ "description": "Read file contents from an agent's workspace",
436
+ "requestType": "WorkspaceReadRequest",
437
+ "responseType": "WorkspaceReadResponse"
438
+ },
439
+ "trajectory/checkpoint": {
440
+ "tier": "extension",
441
+ "implementedBy": "system",
442
+ "callableBy": ["agent"],
443
+ "capabilities": ["trajectory.canReport"],
444
+ "description": "Report a trajectory checkpoint with metadata",
445
+ "requestType": "TrajectoryCheckpointRequest",
446
+ "responseType": "TrajectoryCheckpointResponse"
447
+ },
448
+ "trajectory/list": {
449
+ "tier": "extension",
450
+ "implementedBy": "system",
451
+ "callableBy": ["client", "agent"],
452
+ "capabilities": ["trajectory.canQuery"],
453
+ "description": "List trajectory checkpoints with filtering",
454
+ "requestType": "TrajectoryListRequest",
455
+ "responseType": "TrajectoryListResponse"
456
+ },
457
+ "trajectory/get": {
458
+ "tier": "extension",
459
+ "implementedBy": "system",
460
+ "callableBy": ["client", "agent"],
461
+ "capabilities": ["trajectory.canQuery"],
462
+ "description": "Get a specific trajectory checkpoint",
463
+ "requestType": "TrajectoryGetRequest",
464
+ "responseType": "TrajectoryGetResponse"
465
+ },
466
+ "trajectory/content": {
467
+ "tier": "extension",
468
+ "implementedBy": "system",
469
+ "callableBy": ["client", "agent"],
470
+ "capabilities": ["trajectory.canRequestContent"],
471
+ "description": "Request full checkpoint content (may stream large transcripts)",
472
+ "requestType": "TrajectoryContentRequest",
473
+ "responseType": "TrajectoryContentResponse"
384
474
  }
385
475
  },
386
476
  "notifications": {
@@ -395,6 +485,12 @@
395
485
  "direction": "system-to-participant",
396
486
  "description": "Message delivery notification",
397
487
  "paramsType": "MessageNotification"
488
+ },
489
+ "trajectory/content.chunk": {
490
+ "tier": "extension",
491
+ "direction": "system-to-participant",
492
+ "description": "Content chunk for streaming large trajectory transcripts",
493
+ "paramsType": "TrajectoryContentChunkNotification"
398
494
  }
399
495
  },
400
496
  "errorCodes": {
@@ -434,7 +530,9 @@
434
530
  "5000": "Federation unavailable",
435
531
  "5001": "System not found",
436
532
  "5002": "Federation auth failed",
437
- "5003": "Route rejected"
533
+ "5003": "Route rejected",
534
+ "5004": "DID resolution failed",
535
+ "5005": "DID proof invalid"
438
536
  },
439
537
  "mail": {
440
538
  "10000": "Conversation not found",
@@ -448,6 +546,25 @@
448
546
  "10008": "Invalid content type",
449
547
  "10009": "Thread nesting limit exceeded",
450
548
  "10010": "Mail not enabled"
549
+ },
550
+ "credentials": {
551
+ "11000": "Credential broker not enabled",
552
+ "11001": "Credential scope denied",
553
+ "11002": "Credential provider unavailable",
554
+ "11003": "Credential request failed"
555
+ },
556
+ "workspace": {
557
+ "12000": "Workspace not enabled",
558
+ "12001": "File not found",
559
+ "12002": "Permission denied",
560
+ "12003": "Invalid path"
561
+ },
562
+ "trajectory": {
563
+ "13000": "Trajectory not enabled",
564
+ "13001": "Checkpoint not found",
565
+ "13002": "Content unavailable",
566
+ "13003": "Stream failed",
567
+ "13004": "Permission denied"
451
568
  }
452
569
  },
453
570
  "tiers": {