@agentsgot/agent-kit 1.0.4 → 1.0.6

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 (86) hide show
  1. package/dist/guides.d.ts.map +1 -1
  2. package/dist/guides.js +2 -1
  3. package/dist/guides.js.map +1 -1
  4. package/dist/mcp/server.d.ts.map +1 -1
  5. package/dist/mcp/server.js +10 -3
  6. package/dist/mcp/server.js.map +1 -1
  7. package/dist/runner.d.ts +5 -0
  8. package/dist/runner.d.ts.map +1 -1
  9. package/dist/runner.js +20 -1
  10. package/dist/runner.js.map +1 -1
  11. package/dist/sdk/client.d.ts +5 -1
  12. package/dist/sdk/client.d.ts.map +1 -1
  13. package/dist/sdk/client.js +8 -0
  14. package/dist/sdk/client.js.map +1 -1
  15. package/dist/skills.d.ts +1 -1
  16. package/dist/skills.d.ts.map +1 -1
  17. package/dist/skills.js +1 -1
  18. package/dist/skills.js.map +1 -1
  19. package/dist/workers.js +1 -1
  20. package/dist/workers.js.map +1 -1
  21. package/docs/connect-platforms.md +66 -0
  22. package/docs/listing.md +57 -13
  23. package/docs/reference/02-INTERFACES.md +5 -3
  24. package/docs/verification.md +16 -0
  25. package/package.json +1 -1
  26. package/server.json +2 -2
  27. package/skills/dist/agent-skills.json +9 -9
  28. package/skills/dist/arbitrator/SKILL.md +4 -1
  29. package/skills/dist/executor/SKILL.md +4 -2
  30. package/skills/dist/publisher/SKILL.md +2 -2
  31. package/skills/dist/tester/SKILL.md +2 -0
  32. package/vendor/shared/abi/protocol/ArbitrationCourt.js +175 -3
  33. package/vendor/shared/abi/protocol/ArbitrationCourt.json +175 -3
  34. package/vendor/shared/abi/protocol/ArbitrationCourt.ts +175 -3
  35. package/vendor/shared/abi/protocol/ArbitrationSelection.js +42 -61
  36. package/vendor/shared/abi/protocol/ArbitrationSelection.json +42 -61
  37. package/vendor/shared/abi/protocol/ArbitrationSelection.ts +42 -61
  38. package/vendor/shared/abi/protocol/ArbitrationSettlement.js +60 -0
  39. package/vendor/shared/abi/protocol/ArbitrationSettlement.json +60 -0
  40. package/vendor/shared/abi/protocol/ArbitrationSettlement.ts +60 -0
  41. package/vendor/shared/abi/protocol/EmissionController.js +207 -0
  42. package/vendor/shared/abi/protocol/EmissionController.json +207 -0
  43. package/vendor/shared/abi/protocol/EmissionController.ts +207 -0
  44. package/vendor/shared/abi/protocol/TesterAssignment.js +172 -0
  45. package/vendor/shared/abi/protocol/TesterAssignment.json +172 -0
  46. package/vendor/shared/abi/protocol/TesterAssignment.ts +172 -0
  47. package/vendor/shared/dist/abi/protocol/ArbitrationCourt.d.ts +137 -3
  48. package/vendor/shared/dist/abi/protocol/ArbitrationCourt.d.ts.map +1 -1
  49. package/vendor/shared/dist/abi/protocol/ArbitrationCourt.js +175 -3
  50. package/vendor/shared/dist/abi/protocol/ArbitrationCourt.js.map +1 -1
  51. package/vendor/shared/dist/abi/protocol/ArbitrationSelection.d.ts +32 -47
  52. package/vendor/shared/dist/abi/protocol/ArbitrationSelection.d.ts.map +1 -1
  53. package/vendor/shared/dist/abi/protocol/ArbitrationSelection.js +42 -61
  54. package/vendor/shared/dist/abi/protocol/ArbitrationSelection.js.map +1 -1
  55. package/vendor/shared/dist/abi/protocol/ArbitrationSettlement.d.ts +46 -0
  56. package/vendor/shared/dist/abi/protocol/ArbitrationSettlement.d.ts.map +1 -1
  57. package/vendor/shared/dist/abi/protocol/ArbitrationSettlement.js +60 -0
  58. package/vendor/shared/dist/abi/protocol/ArbitrationSettlement.js.map +1 -1
  59. package/vendor/shared/dist/abi/protocol/EmissionController.d.ts +163 -0
  60. package/vendor/shared/dist/abi/protocol/EmissionController.d.ts.map +1 -1
  61. package/vendor/shared/dist/abi/protocol/EmissionController.js +207 -0
  62. package/vendor/shared/dist/abi/protocol/EmissionController.js.map +1 -1
  63. package/vendor/shared/dist/abi/protocol/TesterAssignment.d.ts +132 -0
  64. package/vendor/shared/dist/abi/protocol/TesterAssignment.d.ts.map +1 -1
  65. package/vendor/shared/dist/abi/protocol/TesterAssignment.js +172 -0
  66. package/vendor/shared/dist/abi/protocol/TesterAssignment.js.map +1 -1
  67. package/vendor/shared/dist/emission-schedule.d.ts +29 -1
  68. package/vendor/shared/dist/emission-schedule.d.ts.map +1 -1
  69. package/vendor/shared/dist/emission-schedule.js +51 -13
  70. package/vendor/shared/dist/emission-schedule.js.map +1 -1
  71. package/vendor/shared/dist/rules/index.d.ts +14 -4
  72. package/vendor/shared/dist/rules/index.d.ts.map +1 -1
  73. package/vendor/shared/dist/rules/index.js +44 -18
  74. package/vendor/shared/dist/rules/index.js.map +1 -1
  75. package/vendor/shared/dist/schemas/domain.d.ts +1 -1
  76. package/vendor/shared/dist/schemas/domain.d.ts.map +1 -1
  77. package/vendor/shared/dist/schemas/domain.js +6 -1
  78. package/vendor/shared/dist/schemas/domain.js.map +1 -1
  79. package/vendor/shared/params/params.json +19 -3
  80. package/vendor/shared/params/ranges.json +65 -1
  81. package/vendor/shared/src/emission-schedule.ts +66 -12
  82. package/vendor/shared/src/rules/index.ts +51 -22
  83. package/vendor/shared/src/schemas/domain.ts +6 -1
  84. package/vendor/shared/test/emission-schedule.test.ts +107 -3
  85. package/vendor/shared/test/rules.test.ts +16 -11
  86. package/vendor/shared/types/api/index.d.ts +8 -5
@@ -40,19 +40,6 @@
40
40
  ],
41
41
  "stateMutability": "nonpayable"
42
42
  },
43
- {
44
- "type": "function",
45
- "name": "GOVERNANCE_ROLE",
46
- "inputs": [],
47
- "outputs": [
48
- {
49
- "name": "",
50
- "type": "bytes32",
51
- "internalType": "bytes32"
52
- }
53
- ],
54
- "stateMutability": "view"
55
- },
56
43
  {
57
44
  "type": "function",
58
45
  "name": "UPGRADER_ROLE",
@@ -310,6 +297,24 @@
310
297
  ],
311
298
  "stateMutability": "view"
312
299
  },
300
+ {
301
+ "type": "function",
302
+ "name": "excludeForCase",
303
+ "inputs": [
304
+ {
305
+ "name": "caseId",
306
+ "type": "bytes32",
307
+ "internalType": "bytes32"
308
+ },
309
+ {
310
+ "name": "juror",
311
+ "type": "address",
312
+ "internalType": "address"
313
+ }
314
+ ],
315
+ "outputs": [],
316
+ "stateMutability": "nonpayable"
317
+ },
313
318
  {
314
319
  "type": "function",
315
320
  "name": "fullScale",
@@ -634,6 +639,30 @@
634
639
  ],
635
640
  "stateMutability": "view"
636
641
  },
642
+ {
643
+ "type": "function",
644
+ "name": "sameOwnerCluster",
645
+ "inputs": [
646
+ {
647
+ "name": "a",
648
+ "type": "address",
649
+ "internalType": "address"
650
+ },
651
+ {
652
+ "name": "b",
653
+ "type": "address",
654
+ "internalType": "address"
655
+ }
656
+ ],
657
+ "outputs": [
658
+ {
659
+ "name": "",
660
+ "type": "bool",
661
+ "internalType": "bool"
662
+ }
663
+ ],
664
+ "stateMutability": "view"
665
+ },
637
666
  {
638
667
  "type": "function",
639
668
  "name": "selectPanel",
@@ -700,24 +729,6 @@
700
729
  ],
701
730
  "stateMutability": "view"
702
731
  },
703
- {
704
- "type": "function",
705
- "name": "setArbitratorWhitelist",
706
- "inputs": [
707
- {
708
- "name": "accounts",
709
- "type": "address[]",
710
- "internalType": "address[]"
711
- },
712
- {
713
- "name": "whitelisted",
714
- "type": "bool",
715
- "internalType": "bool"
716
- }
717
- ],
718
- "outputs": [],
719
- "stateMutability": "nonpayable"
720
- },
721
732
  {
722
733
  "type": "function",
723
734
  "name": "settlement",
@@ -833,25 +844,6 @@
833
844
  ],
834
845
  "anonymous": false
835
846
  },
836
- {
837
- "type": "event",
838
- "name": "ArbitratorWhitelistUpdated",
839
- "inputs": [
840
- {
841
- "name": "account",
842
- "type": "address",
843
- "indexed": true,
844
- "internalType": "address"
845
- },
846
- {
847
- "name": "whitelisted",
848
- "type": "bool",
849
- "indexed": false,
850
- "internalType": "bool"
851
- }
852
- ],
853
- "anonymous": false
854
- },
855
847
  {
856
848
  "type": "event",
857
849
  "name": "FullScaleChanged",
@@ -1096,17 +1088,6 @@
1096
1088
  }
1097
1089
  ]
1098
1090
  },
1099
- {
1100
- "type": "error",
1101
- "name": "NotGovernance",
1102
- "inputs": [
1103
- {
1104
- "name": "caller",
1105
- "type": "address",
1106
- "internalType": "address"
1107
- }
1108
- ]
1109
- },
1110
1091
  {
1111
1092
  "type": "error",
1112
1093
  "name": "NotInitializing",
@@ -40,19 +40,6 @@ export const arbitrationSelectionAbi = [
40
40
  ],
41
41
  "stateMutability": "nonpayable"
42
42
  },
43
- {
44
- "type": "function",
45
- "name": "GOVERNANCE_ROLE",
46
- "inputs": [],
47
- "outputs": [
48
- {
49
- "name": "",
50
- "type": "bytes32",
51
- "internalType": "bytes32"
52
- }
53
- ],
54
- "stateMutability": "view"
55
- },
56
43
  {
57
44
  "type": "function",
58
45
  "name": "UPGRADER_ROLE",
@@ -310,6 +297,24 @@ export const arbitrationSelectionAbi = [
310
297
  ],
311
298
  "stateMutability": "view"
312
299
  },
300
+ {
301
+ "type": "function",
302
+ "name": "excludeForCase",
303
+ "inputs": [
304
+ {
305
+ "name": "caseId",
306
+ "type": "bytes32",
307
+ "internalType": "bytes32"
308
+ },
309
+ {
310
+ "name": "juror",
311
+ "type": "address",
312
+ "internalType": "address"
313
+ }
314
+ ],
315
+ "outputs": [],
316
+ "stateMutability": "nonpayable"
317
+ },
313
318
  {
314
319
  "type": "function",
315
320
  "name": "fullScale",
@@ -634,6 +639,30 @@ export const arbitrationSelectionAbi = [
634
639
  ],
635
640
  "stateMutability": "view"
636
641
  },
642
+ {
643
+ "type": "function",
644
+ "name": "sameOwnerCluster",
645
+ "inputs": [
646
+ {
647
+ "name": "a",
648
+ "type": "address",
649
+ "internalType": "address"
650
+ },
651
+ {
652
+ "name": "b",
653
+ "type": "address",
654
+ "internalType": "address"
655
+ }
656
+ ],
657
+ "outputs": [
658
+ {
659
+ "name": "",
660
+ "type": "bool",
661
+ "internalType": "bool"
662
+ }
663
+ ],
664
+ "stateMutability": "view"
665
+ },
637
666
  {
638
667
  "type": "function",
639
668
  "name": "selectPanel",
@@ -700,24 +729,6 @@ export const arbitrationSelectionAbi = [
700
729
  ],
701
730
  "stateMutability": "view"
702
731
  },
703
- {
704
- "type": "function",
705
- "name": "setArbitratorWhitelist",
706
- "inputs": [
707
- {
708
- "name": "accounts",
709
- "type": "address[]",
710
- "internalType": "address[]"
711
- },
712
- {
713
- "name": "whitelisted",
714
- "type": "bool",
715
- "internalType": "bool"
716
- }
717
- ],
718
- "outputs": [],
719
- "stateMutability": "nonpayable"
720
- },
721
732
  {
722
733
  "type": "function",
723
734
  "name": "settlement",
@@ -833,25 +844,6 @@ export const arbitrationSelectionAbi = [
833
844
  ],
834
845
  "anonymous": false
835
846
  },
836
- {
837
- "type": "event",
838
- "name": "ArbitratorWhitelistUpdated",
839
- "inputs": [
840
- {
841
- "name": "account",
842
- "type": "address",
843
- "indexed": true,
844
- "internalType": "address"
845
- },
846
- {
847
- "name": "whitelisted",
848
- "type": "bool",
849
- "indexed": false,
850
- "internalType": "bool"
851
- }
852
- ],
853
- "anonymous": false
854
- },
855
847
  {
856
848
  "type": "event",
857
849
  "name": "FullScaleChanged",
@@ -1096,17 +1088,6 @@ export const arbitrationSelectionAbi = [
1096
1088
  }
1097
1089
  ]
1098
1090
  },
1099
- {
1100
- "type": "error",
1101
- "name": "NotGovernance",
1102
- "inputs": [
1103
- {
1104
- "name": "caller",
1105
- "type": "address",
1106
- "internalType": "address"
1107
- }
1108
- ]
1109
- },
1110
1091
  {
1111
1092
  "type": "error",
1112
1093
  "name": "NotInitializing",
@@ -388,6 +388,24 @@ export const arbitrationSettlementAbi = [
388
388
  "outputs": [],
389
389
  "stateMutability": "nonpayable"
390
390
  },
391
+ {
392
+ "type": "function",
393
+ "name": "recordResolutionSource",
394
+ "inputs": [
395
+ {
396
+ "name": "caseId",
397
+ "type": "bytes32",
398
+ "internalType": "bytes32"
399
+ },
400
+ {
401
+ "name": "source",
402
+ "type": "uint8",
403
+ "internalType": "uint8"
404
+ }
405
+ ],
406
+ "outputs": [],
407
+ "stateMutability": "nonpayable"
408
+ },
391
409
  {
392
410
  "type": "function",
393
411
  "name": "repayDebtFor",
@@ -445,6 +463,25 @@ export const arbitrationSettlementAbi = [
445
463
  ],
446
464
  "stateMutability": "nonpayable"
447
465
  },
466
+ {
467
+ "type": "function",
468
+ "name": "resolutionSource",
469
+ "inputs": [
470
+ {
471
+ "name": "",
472
+ "type": "bytes32",
473
+ "internalType": "bytes32"
474
+ }
475
+ ],
476
+ "outputs": [
477
+ {
478
+ "name": "",
479
+ "type": "uint8",
480
+ "internalType": "uint8"
481
+ }
482
+ ],
483
+ "stateMutability": "view"
484
+ },
448
485
  {
449
486
  "type": "function",
450
487
  "name": "resolve",
@@ -532,6 +569,29 @@ export const arbitrationSettlementAbi = [
532
569
  ],
533
570
  "stateMutability": "view"
534
571
  },
572
+ {
573
+ "type": "function",
574
+ "name": "settleAbandonedRound",
575
+ "inputs": [
576
+ {
577
+ "name": "caseId",
578
+ "type": "bytes32",
579
+ "internalType": "bytes32"
580
+ },
581
+ {
582
+ "name": "finalRound",
583
+ "type": "bool",
584
+ "internalType": "bool"
585
+ },
586
+ {
587
+ "name": "panel",
588
+ "type": "address[]",
589
+ "internalType": "address[]"
590
+ }
591
+ ],
592
+ "outputs": [],
593
+ "stateMutability": "nonpayable"
594
+ },
535
595
  {
536
596
  "type": "function",
537
597
  "name": "token",
@@ -388,6 +388,24 @@
388
388
  "outputs": [],
389
389
  "stateMutability": "nonpayable"
390
390
  },
391
+ {
392
+ "type": "function",
393
+ "name": "recordResolutionSource",
394
+ "inputs": [
395
+ {
396
+ "name": "caseId",
397
+ "type": "bytes32",
398
+ "internalType": "bytes32"
399
+ },
400
+ {
401
+ "name": "source",
402
+ "type": "uint8",
403
+ "internalType": "uint8"
404
+ }
405
+ ],
406
+ "outputs": [],
407
+ "stateMutability": "nonpayable"
408
+ },
391
409
  {
392
410
  "type": "function",
393
411
  "name": "repayDebtFor",
@@ -445,6 +463,25 @@
445
463
  ],
446
464
  "stateMutability": "nonpayable"
447
465
  },
466
+ {
467
+ "type": "function",
468
+ "name": "resolutionSource",
469
+ "inputs": [
470
+ {
471
+ "name": "",
472
+ "type": "bytes32",
473
+ "internalType": "bytes32"
474
+ }
475
+ ],
476
+ "outputs": [
477
+ {
478
+ "name": "",
479
+ "type": "uint8",
480
+ "internalType": "uint8"
481
+ }
482
+ ],
483
+ "stateMutability": "view"
484
+ },
448
485
  {
449
486
  "type": "function",
450
487
  "name": "resolve",
@@ -532,6 +569,29 @@
532
569
  ],
533
570
  "stateMutability": "view"
534
571
  },
572
+ {
573
+ "type": "function",
574
+ "name": "settleAbandonedRound",
575
+ "inputs": [
576
+ {
577
+ "name": "caseId",
578
+ "type": "bytes32",
579
+ "internalType": "bytes32"
580
+ },
581
+ {
582
+ "name": "finalRound",
583
+ "type": "bool",
584
+ "internalType": "bool"
585
+ },
586
+ {
587
+ "name": "panel",
588
+ "type": "address[]",
589
+ "internalType": "address[]"
590
+ }
591
+ ],
592
+ "outputs": [],
593
+ "stateMutability": "nonpayable"
594
+ },
535
595
  {
536
596
  "type": "function",
537
597
  "name": "token",
@@ -388,6 +388,24 @@ export const arbitrationSettlementAbi = [
388
388
  "outputs": [],
389
389
  "stateMutability": "nonpayable"
390
390
  },
391
+ {
392
+ "type": "function",
393
+ "name": "recordResolutionSource",
394
+ "inputs": [
395
+ {
396
+ "name": "caseId",
397
+ "type": "bytes32",
398
+ "internalType": "bytes32"
399
+ },
400
+ {
401
+ "name": "source",
402
+ "type": "uint8",
403
+ "internalType": "uint8"
404
+ }
405
+ ],
406
+ "outputs": [],
407
+ "stateMutability": "nonpayable"
408
+ },
391
409
  {
392
410
  "type": "function",
393
411
  "name": "repayDebtFor",
@@ -445,6 +463,25 @@ export const arbitrationSettlementAbi = [
445
463
  ],
446
464
  "stateMutability": "nonpayable"
447
465
  },
466
+ {
467
+ "type": "function",
468
+ "name": "resolutionSource",
469
+ "inputs": [
470
+ {
471
+ "name": "",
472
+ "type": "bytes32",
473
+ "internalType": "bytes32"
474
+ }
475
+ ],
476
+ "outputs": [
477
+ {
478
+ "name": "",
479
+ "type": "uint8",
480
+ "internalType": "uint8"
481
+ }
482
+ ],
483
+ "stateMutability": "view"
484
+ },
448
485
  {
449
486
  "type": "function",
450
487
  "name": "resolve",
@@ -532,6 +569,29 @@ export const arbitrationSettlementAbi = [
532
569
  ],
533
570
  "stateMutability": "view"
534
571
  },
572
+ {
573
+ "type": "function",
574
+ "name": "settleAbandonedRound",
575
+ "inputs": [
576
+ {
577
+ "name": "caseId",
578
+ "type": "bytes32",
579
+ "internalType": "bytes32"
580
+ },
581
+ {
582
+ "name": "finalRound",
583
+ "type": "bool",
584
+ "internalType": "bool"
585
+ },
586
+ {
587
+ "name": "panel",
588
+ "type": "address[]",
589
+ "internalType": "address[]"
590
+ }
591
+ ],
592
+ "outputs": [],
593
+ "stateMutability": "nonpayable"
594
+ },
535
595
  {
536
596
  "type": "function",
537
597
  "name": "token",