@wowok/agent-mcp 3.0.5 → 3.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.
Files changed (129) hide show
  1. package/README.md +25 -20
  2. package/dist/customer/account-events.js +1 -1
  3. package/dist/graph/onchain/dataplane.d.ts +2 -2
  4. package/dist/graph/onchain/edge-schema.js +1 -1
  5. package/dist/graph/onchain/expand.js +1 -1
  6. package/dist/graph/onchain/onchain.spec.js +1 -1
  7. package/dist/graph/onchain/sdk-batch.d.ts +7 -1
  8. package/dist/graph/onchain/sdk-batch.js +1 -1
  9. package/dist/graph/onchain/sdk-dataplane.d.ts +6 -3
  10. package/dist/graph/onchain/sdk-dataplane.js +1 -1
  11. package/dist/graph/onchain/types.d.ts +2 -2
  12. package/dist/index.js +1 -1
  13. package/dist/knowledge/account-marks.js +1 -1
  14. package/dist/knowledge/allocation-risk.js +1 -1
  15. package/dist/knowledge/allocation-templates.js +1 -1
  16. package/dist/knowledge/goal-completion.d.ts +12 -0
  17. package/dist/knowledge/goal-completion.js +1 -1
  18. package/dist/knowledge/guard-risk.js +1 -1
  19. package/dist/knowledge/index.d.ts +4 -0
  20. package/dist/knowledge/index.js +1 -1
  21. package/dist/knowledge/migration-preflight.js +1 -1
  22. package/dist/knowledge/payment-tracker.d.ts +63 -0
  23. package/dist/knowledge/payment-tracker.js +1 -0
  24. package/dist/knowledge/recipient-constraint.d.ts +160 -0
  25. package/dist/knowledge/recipient-constraint.js +1 -0
  26. package/dist/knowledge/safety-rules.d.ts +1 -1
  27. package/dist/knowledge/safety-rules.js +1 -1
  28. package/dist/knowledge/template-registry.js +1 -1
  29. package/dist/knowledge/tools-reference.js +1 -1
  30. package/dist/knowledge/workflow-guidance.js +1 -1
  31. package/dist/knowledge/workspace-lists.d.ts +4 -0
  32. package/dist/knowledge/workspace-lists.js +1 -1
  33. package/dist/monitor/MonitorLoop.js +1 -1
  34. package/dist/participation/arbitrator-interest.d.ts +2 -0
  35. package/dist/participation/arbitrator-interest.js +1 -1
  36. package/dist/participation/collaborator-interest.d.ts +2 -0
  37. package/dist/participation/collaborator-interest.js +1 -1
  38. package/dist/participation/customer-interest.d.ts +2 -0
  39. package/dist/participation/customer-interest.js +1 -1
  40. package/dist/participation/merchant-interest.d.ts +2 -0
  41. package/dist/participation/merchant-interest.js +1 -1
  42. package/dist/participation/supplier-interest.d.ts +2 -0
  43. package/dist/participation/supplier-interest.js +1 -1
  44. package/dist/playbooks/service-build/business-puzzle.js +1 -1
  45. package/dist/playbooks/service-build/context-assembly.js +1 -1
  46. package/dist/playbooks/service-build/merchant-guide.d.ts +7 -0
  47. package/dist/playbooks/service-build/merchant-guide.js +1 -1
  48. package/dist/playbooks/service-build/participation-radar.js +1 -1
  49. package/dist/playbooks/service-build/pipeline-actions.d.ts +2 -2
  50. package/dist/playbooks/service-build/pipeline-actions.js +1 -1
  51. package/dist/playbooks/service-build/relationship-profile.js +1 -1
  52. package/dist/playbooks/service-build/risk-aggregator.js +1 -1
  53. package/dist/playbooks/service-build/topology-query.js +1 -1
  54. package/dist/relationship/derivation.js +1 -1
  55. package/dist/safety/confirm-gate.js +1 -1
  56. package/dist/schema/call/allocation.js +1 -1
  57. package/dist/schema/call/base.js +1 -1
  58. package/dist/schema/call/semantic.js +1 -1
  59. package/dist/schema/call/service.d.ts +6 -6
  60. package/dist/schema/call/service.js +1 -1
  61. package/dist/schema/common/index.js +1 -1
  62. package/dist/schema/evaluation/index.d.ts +4 -4
  63. package/dist/schema/evaluation/index.js +1 -1
  64. package/dist/schema/goal/index.d.ts +21 -21
  65. package/dist/schema/goal/planning.d.ts +6 -6
  66. package/dist/schema/industry-pack/index.d.ts +6 -6
  67. package/dist/schema/industry-pack/modes.d.ts +6 -6
  68. package/dist/schema/intent-radar/index.d.ts +16 -16
  69. package/dist/schema/local/index.js +1 -1
  70. package/dist/schema/messenger/index.d.ts +110 -8
  71. package/dist/schema/messenger/index.js +1 -1
  72. package/dist/schema/operations.d.ts +37 -29
  73. package/dist/schema/operations.js +1 -1
  74. package/dist/schema/persona/index.d.ts +155 -155
  75. package/dist/schema/query/bi.d.ts +26 -26
  76. package/dist/schema/query/bi.js +1 -1
  77. package/dist/schema/query/index.d.ts +15 -12
  78. package/dist/schema/query/index.js +1 -1
  79. package/dist/schema/schema-query/index.d.ts +1 -1
  80. package/dist/schema/schema-version.js +1 -1
  81. package/dist/schema/strategy-review/index.d.ts +1 -1
  82. package/dist/schema-query-impl/index.js +1 -1
  83. package/dist/schemas/bridge_operation.schema.json +14 -14
  84. package/dist/schemas/evaluation_operation.schema.json +7 -7
  85. package/dist/schemas/guard2file.schema.json +3 -3
  86. package/dist/schemas/index.json +1 -1
  87. package/dist/schemas/local_history_operation.schema.json +1 -1
  88. package/dist/schemas/machineNode2file.schema.json +3 -3
  89. package/dist/schemas/messenger_operation.output.json +266 -38
  90. package/dist/schemas/messenger_operation.schema.json +27 -3
  91. package/dist/schemas/onchain_events.schema.json +1 -1
  92. package/dist/schemas/onchain_operations.schema.json +75 -77
  93. package/dist/schemas/onchain_operations_allocation.schema.json +6 -6
  94. package/dist/schemas/onchain_operations_arbitration.schema.json +3 -3
  95. package/dist/schemas/onchain_operations_contact.schema.json +3 -3
  96. package/dist/schemas/onchain_operations_demand.schema.json +3 -3
  97. package/dist/schemas/onchain_operations_gen_passport.schema.json +3 -3
  98. package/dist/schemas/onchain_operations_gen_proof.schema.json +3 -3
  99. package/dist/schemas/onchain_operations_guard.schema.json +4 -4
  100. package/dist/schemas/onchain_operations_machine.schema.json +11 -11
  101. package/dist/schemas/onchain_operations_order.schema.json +3 -3
  102. package/dist/schemas/onchain_operations_payment.schema.json +4 -4
  103. package/dist/schemas/onchain_operations_permission.schema.json +3 -3
  104. package/dist/schemas/onchain_operations_personal.schema.json +3 -3
  105. package/dist/schemas/onchain_operations_progress.schema.json +3 -3
  106. package/dist/schemas/onchain_operations_proof.schema.json +3 -3
  107. package/dist/schemas/onchain_operations_repository.schema.json +3 -3
  108. package/dist/schemas/onchain_operations_reward.schema.json +3 -3
  109. package/dist/schemas/onchain_operations_service.schema.json +9 -11
  110. package/dist/schemas/onchain_operations_treasury.schema.json +5 -5
  111. package/dist/schemas/onchain_table_data.output.json +14 -14
  112. package/dist/schemas/query_toolkit.output.json +38 -13
  113. package/dist/schemas/query_toolkit.schema.json +39 -11
  114. package/dist/strategy/collectors.js +1 -1
  115. package/dist/tools/handlers/config.js +1 -1
  116. package/dist/tools/handlers/evaluation.js +1 -1
  117. package/dist/tools/handlers/messenger.js +1 -1
  118. package/dist/tools/handlers/onchain.js +1 -1
  119. package/dist/tools/handlers/permission.js +1 -1
  120. package/dist/tools/handlers/query.js +1 -1
  121. package/dist/tools/handlers/strategy-review.js +1 -1
  122. package/dist/tools/handlers/workflow.js +1 -1
  123. package/dist/tools/index.js +1 -1
  124. package/dist/tools/registry/onchain.js +1 -1
  125. package/dist/tools/registry/query.js +1 -1
  126. package/dist/tools/rules-hook.d.ts +2 -0
  127. package/dist/tools/rules-hook.js +1 -1
  128. package/dist/tools/shared.js +1 -1
  129. package/package.json +2 -2
@@ -284,9 +284,36 @@
284
284
  "additionalProperties": false
285
285
  },
286
286
  "proof": {
287
- "description": "On-chain proof object address",
287
+ "description": "Latest on-chain proof object address (projection of the last entry in proofs; derived at the read boundary for single-value consumers)",
288
288
  "type": "string"
289
289
  },
290
+ "proofs": {
291
+ "description": "All on-chain proofs anchored for this message, ascending by publish time (one-to-many; a message may be proofed multiple times)",
292
+ "type": "array",
293
+ "items": {
294
+ "type": "object",
295
+ "properties": {
296
+ "address": {
297
+ "type": "string",
298
+ "description": "On-chain Proof object address"
299
+ },
300
+ "network": {
301
+ "description": "Network the proof was published on (testnet/mainnet/localnet); absent in legacy local records",
302
+ "type": "string"
303
+ },
304
+ "createdAt": {
305
+ "type": "number",
306
+ "description": "Local record time (ms)"
307
+ }
308
+ },
309
+ "required": [
310
+ "address",
311
+ "createdAt"
312
+ ],
313
+ "additionalProperties": false,
314
+ "description": "One on-chain proof anchored for this message"
315
+ }
316
+ },
290
317
  "decryptError": {
291
318
  "description": "Decryption failure reason",
292
319
  "type": "string"
@@ -349,20 +376,28 @@
349
376
  "properties": {
350
377
  "messageId": {
351
378
  "type": "string",
352
- "description": "Message ID"
379
+ "description": "Message ID (empty on guard_authorization_required)"
353
380
  },
354
381
  "status": {
355
- "type": "string",
356
- "enum": [
357
- "pending",
358
- "confirmed",
359
- "read",
360
- "failed",
361
- "rejected",
362
- "decrypted",
363
- "decrypt_failed"
382
+ "anyOf": [
383
+ {
384
+ "type": "string",
385
+ "enum": [
386
+ "pending",
387
+ "confirmed",
388
+ "read",
389
+ "failed",
390
+ "rejected",
391
+ "decrypted",
392
+ "decrypt_failed"
393
+ ]
394
+ },
395
+ {
396
+ "type": "string",
397
+ "const": "guard_authorization_required"
398
+ }
364
399
  ],
365
- "description": "Message status"
400
+ "description": "Message status; 'guard_authorization_required' means smart send needs one-click authorization before delivery"
366
401
  },
367
402
  "merkleData": {
368
403
  "description": "Merkle Tree proof data",
@@ -413,6 +448,38 @@
413
448
  "lastReceivedLeafIndex": {
414
449
  "description": "Last received leaf index (for message confirmation)",
415
450
  "type": "number"
451
+ },
452
+ "authRequired": {
453
+ "description": "True on the guard_authorization_required result shape — show the user ONE confirmation card, then resend via send_message with options.authorize=true",
454
+ "type": "boolean"
455
+ },
456
+ "network": {
457
+ "description": "Network the Passport must be created on (present on guard_authorization_required)",
458
+ "type": "string",
459
+ "enum": [
460
+ "localnet",
461
+ "testnet",
462
+ "mainnet"
463
+ ]
464
+ },
465
+ "reason": {
466
+ "description": "Why silent passport reuse failed (present on guard_authorization_required)",
467
+ "type": "string",
468
+ "enum": [
469
+ "no_local_passport",
470
+ "local_passport_stale"
471
+ ]
472
+ },
473
+ "hint": {
474
+ "description": "Guidance text incl. the auto-friend hint — once the recipient replies, the sender is auto-friended and future messages need no verification",
475
+ "type": "string"
476
+ },
477
+ "serverError": {
478
+ "description": "Original server rejection message",
479
+ "type": "string"
480
+ },
481
+ "submissions": {
482
+ "description": "Guard submission requirements, when a guard demands answers before issuing a Passport (route through onchain_operations gen_passport with info)"
416
483
  }
417
484
  },
418
485
  "required": [
@@ -441,20 +508,28 @@
441
508
  "properties": {
442
509
  "messageId": {
443
510
  "type": "string",
444
- "description": "Message ID"
511
+ "description": "Message ID (empty on guard_authorization_required)"
445
512
  },
446
513
  "status": {
447
- "type": "string",
448
- "enum": [
449
- "pending",
450
- "confirmed",
451
- "read",
452
- "failed",
453
- "rejected",
454
- "decrypted",
455
- "decrypt_failed"
514
+ "anyOf": [
515
+ {
516
+ "type": "string",
517
+ "enum": [
518
+ "pending",
519
+ "confirmed",
520
+ "read",
521
+ "failed",
522
+ "rejected",
523
+ "decrypted",
524
+ "decrypt_failed"
525
+ ]
526
+ },
527
+ {
528
+ "type": "string",
529
+ "const": "guard_authorization_required"
530
+ }
456
531
  ],
457
- "description": "Message status"
532
+ "description": "Message status; 'guard_authorization_required' means smart send needs one-click authorization before delivery"
458
533
  },
459
534
  "merkleData": {
460
535
  "description": "Merkle Tree proof data",
@@ -505,6 +580,38 @@
505
580
  "lastReceivedLeafIndex": {
506
581
  "description": "Last received leaf index (for message confirmation)",
507
582
  "type": "number"
583
+ },
584
+ "authRequired": {
585
+ "description": "True on the guard_authorization_required result shape — show the user ONE confirmation card, then resend via send_message with options.authorize=true",
586
+ "type": "boolean"
587
+ },
588
+ "network": {
589
+ "description": "Network the Passport must be created on (present on guard_authorization_required)",
590
+ "type": "string",
591
+ "enum": [
592
+ "localnet",
593
+ "testnet",
594
+ "mainnet"
595
+ ]
596
+ },
597
+ "reason": {
598
+ "description": "Why silent passport reuse failed (present on guard_authorization_required)",
599
+ "type": "string",
600
+ "enum": [
601
+ "no_local_passport",
602
+ "local_passport_stale"
603
+ ]
604
+ },
605
+ "hint": {
606
+ "description": "Guidance text incl. the auto-friend hint — once the recipient replies, the sender is auto-friended and future messages need no verification",
607
+ "type": "string"
608
+ },
609
+ "serverError": {
610
+ "description": "Original server rejection message",
611
+ "type": "string"
612
+ },
613
+ "submissions": {
614
+ "description": "Guard submission requirements, when a guard demands answers before issuing a Passport (route through onchain_operations gen_passport with info)"
508
615
  }
509
616
  },
510
617
  "required": [
@@ -533,20 +640,28 @@
533
640
  "properties": {
534
641
  "messageId": {
535
642
  "type": "string",
536
- "description": "Message ID"
643
+ "description": "Message ID (empty on guard_authorization_required)"
537
644
  },
538
645
  "status": {
539
- "type": "string",
540
- "enum": [
541
- "pending",
542
- "confirmed",
543
- "read",
544
- "failed",
545
- "rejected",
546
- "decrypted",
547
- "decrypt_failed"
646
+ "anyOf": [
647
+ {
648
+ "type": "string",
649
+ "enum": [
650
+ "pending",
651
+ "confirmed",
652
+ "read",
653
+ "failed",
654
+ "rejected",
655
+ "decrypted",
656
+ "decrypt_failed"
657
+ ]
658
+ },
659
+ {
660
+ "type": "string",
661
+ "const": "guard_authorization_required"
662
+ }
548
663
  ],
549
- "description": "Message status"
664
+ "description": "Message status; 'guard_authorization_required' means smart send needs one-click authorization before delivery"
550
665
  },
551
666
  "merkleData": {
552
667
  "description": "Merkle Tree proof data",
@@ -598,6 +713,38 @@
598
713
  "description": "Last received leaf index (for message confirmation)",
599
714
  "type": "number"
600
715
  },
716
+ "authRequired": {
717
+ "description": "True on the guard_authorization_required result shape — show the user ONE confirmation card, then resend via send_message with options.authorize=true",
718
+ "type": "boolean"
719
+ },
720
+ "network": {
721
+ "description": "Network the Passport must be created on (present on guard_authorization_required)",
722
+ "type": "string",
723
+ "enum": [
724
+ "localnet",
725
+ "testnet",
726
+ "mainnet"
727
+ ]
728
+ },
729
+ "reason": {
730
+ "description": "Why silent passport reuse failed (present on guard_authorization_required)",
731
+ "type": "string",
732
+ "enum": [
733
+ "no_local_passport",
734
+ "local_passport_stale"
735
+ ]
736
+ },
737
+ "hint": {
738
+ "description": "Guidance text incl. the auto-friend hint — once the recipient replies, the sender is auto-friended and future messages need no verification",
739
+ "type": "string"
740
+ },
741
+ "serverError": {
742
+ "description": "Original server rejection message",
743
+ "type": "string"
744
+ },
745
+ "submissions": {
746
+ "description": "Guard submission requirements, when a guard demands answers before issuing a Passport (route through onchain_operations gen_passport with info)"
747
+ },
601
748
  "sent_fields": {
602
749
  "type": "array",
603
750
  "items": {
@@ -872,9 +1019,36 @@
872
1019
  "additionalProperties": false
873
1020
  },
874
1021
  "proof": {
875
- "description": "On-chain proof object address",
1022
+ "description": "Latest on-chain proof object address (projection of the last entry in proofs; derived at the read boundary for single-value consumers)",
876
1023
  "type": "string"
877
1024
  },
1025
+ "proofs": {
1026
+ "description": "All on-chain proofs anchored for this message, ascending by publish time (one-to-many; a message may be proofed multiple times)",
1027
+ "type": "array",
1028
+ "items": {
1029
+ "type": "object",
1030
+ "properties": {
1031
+ "address": {
1032
+ "type": "string",
1033
+ "description": "On-chain Proof object address"
1034
+ },
1035
+ "network": {
1036
+ "description": "Network the proof was published on (testnet/mainnet/localnet); absent in legacy local records",
1037
+ "type": "string"
1038
+ },
1039
+ "createdAt": {
1040
+ "type": "number",
1041
+ "description": "Local record time (ms)"
1042
+ }
1043
+ },
1044
+ "required": [
1045
+ "address",
1046
+ "createdAt"
1047
+ ],
1048
+ "additionalProperties": false,
1049
+ "description": "One on-chain proof anchored for this message"
1050
+ }
1051
+ },
878
1052
  "decryptError": {
879
1053
  "description": "Decryption failure reason",
880
1054
  "type": "string"
@@ -1661,7 +1835,7 @@
1661
1835
  "type": "object",
1662
1836
  "properties": {
1663
1837
  "allowStrangerMessages": {
1664
- "description": "Whether messages from strangers are allowed",
1838
+ "description": "Whether messages from strangers are allowed (ineffective while the guard list is non-empty)",
1665
1839
  "type": "boolean"
1666
1840
  },
1667
1841
  "maxInboxSize": {
@@ -1992,9 +2166,36 @@
1992
2166
  "additionalProperties": false
1993
2167
  },
1994
2168
  "proof": {
1995
- "description": "On-chain proof object address",
2169
+ "description": "Latest on-chain proof object address (projection of the last entry in proofs; derived at the read boundary for single-value consumers)",
1996
2170
  "type": "string"
1997
2171
  },
2172
+ "proofs": {
2173
+ "description": "All on-chain proofs anchored for this message, ascending by publish time (one-to-many; a message may be proofed multiple times)",
2174
+ "type": "array",
2175
+ "items": {
2176
+ "type": "object",
2177
+ "properties": {
2178
+ "address": {
2179
+ "type": "string",
2180
+ "description": "On-chain Proof object address"
2181
+ },
2182
+ "network": {
2183
+ "description": "Network the proof was published on (testnet/mainnet/localnet); absent in legacy local records",
2184
+ "type": "string"
2185
+ },
2186
+ "createdAt": {
2187
+ "type": "number",
2188
+ "description": "Local record time (ms)"
2189
+ }
2190
+ },
2191
+ "required": [
2192
+ "address",
2193
+ "createdAt"
2194
+ ],
2195
+ "additionalProperties": false,
2196
+ "description": "One on-chain proof anchored for this message"
2197
+ }
2198
+ },
1998
2199
  "decryptError": {
1999
2200
  "description": "Decryption failure reason",
2000
2201
  "type": "string"
@@ -2284,9 +2485,36 @@
2284
2485
  "additionalProperties": false
2285
2486
  },
2286
2487
  "proof": {
2287
- "description": "On-chain proof object address",
2488
+ "description": "Latest on-chain proof object address (projection of the last entry in proofs; derived at the read boundary for single-value consumers)",
2288
2489
  "type": "string"
2289
2490
  },
2491
+ "proofs": {
2492
+ "description": "All on-chain proofs anchored for this message, ascending by publish time (one-to-many; a message may be proofed multiple times)",
2493
+ "type": "array",
2494
+ "items": {
2495
+ "type": "object",
2496
+ "properties": {
2497
+ "address": {
2498
+ "type": "string",
2499
+ "description": "On-chain Proof object address"
2500
+ },
2501
+ "network": {
2502
+ "description": "Network the proof was published on (testnet/mainnet/localnet); absent in legacy local records",
2503
+ "type": "string"
2504
+ },
2505
+ "createdAt": {
2506
+ "type": "number",
2507
+ "description": "Local record time (ms)"
2508
+ }
2509
+ },
2510
+ "required": [
2511
+ "address",
2512
+ "createdAt"
2513
+ ],
2514
+ "additionalProperties": false,
2515
+ "description": "One on-chain proof anchored for this message"
2516
+ }
2517
+ },
2290
2518
  "decryptError": {
2291
2519
  "description": "Decryption failure reason",
2292
2520
  "type": "string"
@@ -129,7 +129,7 @@
129
129
  "type": "boolean"
130
130
  },
131
131
  "network": {
132
- "description": "Target network for Guard verification (e.g., testnet, mainnet). REQUIRED when guardAddress and passportAddress are provided — Guard messages and regular messages are independent data systems on different networks",
132
+ "description": "Target network. REQUIRED when guardAddress and passportAddress are provided — Guard messages and regular messages are independent data systems on different networks. Guard verification is MAINNET-ONLY (no testnet)",
133
133
  "type": "string",
134
134
  "enum": [
135
135
  "localnet",
@@ -150,6 +150,14 @@
150
150
  "messageId"
151
151
  ],
152
152
  "additionalProperties": false
153
+ },
154
+ "smart": {
155
+ "description": "Smart send (default true): when the recipient's guard policy rejects a plain send, silently resend using a local Passport issued via one of their guards; when no usable Passport exists, returns a structured guard_authorization_required result (authRequired=true) instead of an error. Set false for strict legacy behavior. Guard verification runs on MAINNET only",
156
+ "type": "boolean"
157
+ },
158
+ "authorize": {
159
+ "description": "One-click guard authorization: when the recipient's guard policy rejects the send, create a fresh Passport via ALL of their guards in one gas-consuming transaction and resend automatically. Use after showing the user the guard_authorization_required card and getting consent. If a guard demands submission answers, the result returns authRequired with submissions for follow-up. The Passport tx is always on MAINNET (guard verification is mainnet-only)",
160
+ "type": "boolean"
153
161
  }
154
162
  },
155
163
  "additionalProperties": false
@@ -356,7 +364,7 @@
356
364
  "type": "boolean"
357
365
  },
358
366
  "network": {
359
- "description": "Target network for Guard verification (e.g., testnet, mainnet). REQUIRED when guardAddress and passportAddress are provided — Guard messages and regular messages are independent data systems on different networks",
367
+ "description": "Target network. REQUIRED when guardAddress and passportAddress are provided — Guard messages and regular messages are independent data systems on different networks. Guard verification is MAINNET-ONLY (no testnet)",
360
368
  "type": "string",
361
369
  "enum": [
362
370
  "localnet",
@@ -377,6 +385,14 @@
377
385
  "messageId"
378
386
  ],
379
387
  "additionalProperties": false
388
+ },
389
+ "smart": {
390
+ "description": "Smart send (default true): when the recipient's guard policy rejects a plain send, silently resend using a local Passport issued via one of their guards; when no usable Passport exists, returns a structured guard_authorization_required result (authRequired=true) instead of an error. Set false for strict legacy behavior. Guard verification runs on MAINNET only",
391
+ "type": "boolean"
392
+ },
393
+ "authorize": {
394
+ "description": "One-click guard authorization: when the recipient's guard policy rejects the send, create a fresh Passport via ALL of their guards in one gas-consuming transaction and resend automatically. Use after showing the user the guard_authorization_required card and getting consent. If a guard demands submission answers, the result returns authRequired with submissions for follow-up. The Passport tx is always on MAINNET (guard verification is mainnet-only)",
395
+ "type": "boolean"
380
396
  }
381
397
  },
382
398
  "additionalProperties": false
@@ -559,6 +575,14 @@
559
575
  "description": "Only return messages with proof",
560
576
  "type": "boolean"
561
577
  },
578
+ "beforeCreatedAt": {
579
+ "description": "Keyset pagination cursor: only return messages created strictly BEFORE this timestamp (ms). MUST be provided together with beforeMessageId; when both are absent the newest page is returned. Use for 'open conversation showing latest N, scroll up to load older pages'",
580
+ "type": "number"
581
+ },
582
+ "beforeMessageId": {
583
+ "description": "Keyset pagination cursor: message ID anchor paired with beforeCreatedAt (tie-breaker for messages with identical createdAt). MUST be provided together with beforeCreatedAt",
584
+ "type": "string"
585
+ },
562
586
  "hasLastReceivedIndexOnly": {
563
587
  "description": "Only return messages with lastReceivedLeafIndex",
564
588
  "type": "boolean"
@@ -1471,7 +1495,7 @@
1471
1495
  "const": "set"
1472
1496
  },
1473
1497
  "allowStrangerMessages": {
1474
- "description": "Allow messages from strangers",
1498
+ "description": "Allow messages from strangers. NOTE: only effective while the guard list is EMPTY — with any guard configured the stranger channel is disabled server-side and non-friends must hold a passport issued via one of the configured guards",
1475
1499
  "type": "boolean"
1476
1500
  },
1477
1501
  "maxInboxSize": {
@@ -75,7 +75,7 @@
75
75
  "type": "string"
76
76
  }
77
77
  ],
78
- "description": "Event type to query. Supported types: ArbEvent (arbitration events), NewOrderEvent (new order events), ProgressEvent (progress events), DemandPresentEvent (demand presentation events), DemandFeedbackEvent (demand feedback events), NewEntityEvent (new entity registration events)"
78
+ "description": "Event type to query. Supported types (all 16 built-in framework events): ArbEvent (arbitration events), NewOrderEvent (new order events), ProgressEvent (progress events), DemandPresentEvent (demand presentation events), DemandFeedbackEvent (demand feedback events), NewEntityEvent (new entity registration events), ServiceEvent (service lifecycle events), ArbitrationEvent (arbitration creation events), DemandChangedEvent (demand update events), VoteEvent (voting events), FeedbackEvent (feedback events), AllocationEvent (allocation distribution events), TreasuryEvent (treasury deposit/withdraw events), RewardClaimEvent (reward claim events), RewardFundEvent (reward funding events), NewPaymentEvent (universal fund-flow receipt events). Any other string is accepted as a generic MoveEventType (e.g. '0x2::coin::CoinEvent')"
79
79
  },
80
80
  "cursor": {
81
81
  "description": "Optional pagination cursor for fetching next page of results. Use null for first query, then use nextCursor from response for subsequent queries",