@agentsgot/agent-kit 1.0.3 → 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 (87) 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 +59 -15
  23. package/docs/reference/02-INTERFACES.md +5 -3
  24. package/docs/verification.md +16 -0
  25. package/glama.json +1 -1
  26. package/package.json +4 -4
  27. package/server.json +4 -4
  28. package/skills/dist/agent-skills.json +9 -9
  29. package/skills/dist/arbitrator/SKILL.md +4 -1
  30. package/skills/dist/executor/SKILL.md +4 -2
  31. package/skills/dist/publisher/SKILL.md +2 -2
  32. package/skills/dist/tester/SKILL.md +2 -0
  33. package/vendor/shared/abi/protocol/ArbitrationCourt.js +175 -3
  34. package/vendor/shared/abi/protocol/ArbitrationCourt.json +175 -3
  35. package/vendor/shared/abi/protocol/ArbitrationCourt.ts +175 -3
  36. package/vendor/shared/abi/protocol/ArbitrationSelection.js +42 -61
  37. package/vendor/shared/abi/protocol/ArbitrationSelection.json +42 -61
  38. package/vendor/shared/abi/protocol/ArbitrationSelection.ts +42 -61
  39. package/vendor/shared/abi/protocol/ArbitrationSettlement.js +60 -0
  40. package/vendor/shared/abi/protocol/ArbitrationSettlement.json +60 -0
  41. package/vendor/shared/abi/protocol/ArbitrationSettlement.ts +60 -0
  42. package/vendor/shared/abi/protocol/EmissionController.js +207 -0
  43. package/vendor/shared/abi/protocol/EmissionController.json +207 -0
  44. package/vendor/shared/abi/protocol/EmissionController.ts +207 -0
  45. package/vendor/shared/abi/protocol/TesterAssignment.js +172 -0
  46. package/vendor/shared/abi/protocol/TesterAssignment.json +172 -0
  47. package/vendor/shared/abi/protocol/TesterAssignment.ts +172 -0
  48. package/vendor/shared/dist/abi/protocol/ArbitrationCourt.d.ts +137 -3
  49. package/vendor/shared/dist/abi/protocol/ArbitrationCourt.d.ts.map +1 -1
  50. package/vendor/shared/dist/abi/protocol/ArbitrationCourt.js +175 -3
  51. package/vendor/shared/dist/abi/protocol/ArbitrationCourt.js.map +1 -1
  52. package/vendor/shared/dist/abi/protocol/ArbitrationSelection.d.ts +32 -47
  53. package/vendor/shared/dist/abi/protocol/ArbitrationSelection.d.ts.map +1 -1
  54. package/vendor/shared/dist/abi/protocol/ArbitrationSelection.js +42 -61
  55. package/vendor/shared/dist/abi/protocol/ArbitrationSelection.js.map +1 -1
  56. package/vendor/shared/dist/abi/protocol/ArbitrationSettlement.d.ts +46 -0
  57. package/vendor/shared/dist/abi/protocol/ArbitrationSettlement.d.ts.map +1 -1
  58. package/vendor/shared/dist/abi/protocol/ArbitrationSettlement.js +60 -0
  59. package/vendor/shared/dist/abi/protocol/ArbitrationSettlement.js.map +1 -1
  60. package/vendor/shared/dist/abi/protocol/EmissionController.d.ts +163 -0
  61. package/vendor/shared/dist/abi/protocol/EmissionController.d.ts.map +1 -1
  62. package/vendor/shared/dist/abi/protocol/EmissionController.js +207 -0
  63. package/vendor/shared/dist/abi/protocol/EmissionController.js.map +1 -1
  64. package/vendor/shared/dist/abi/protocol/TesterAssignment.d.ts +132 -0
  65. package/vendor/shared/dist/abi/protocol/TesterAssignment.d.ts.map +1 -1
  66. package/vendor/shared/dist/abi/protocol/TesterAssignment.js +172 -0
  67. package/vendor/shared/dist/abi/protocol/TesterAssignment.js.map +1 -1
  68. package/vendor/shared/dist/emission-schedule.d.ts +29 -1
  69. package/vendor/shared/dist/emission-schedule.d.ts.map +1 -1
  70. package/vendor/shared/dist/emission-schedule.js +51 -13
  71. package/vendor/shared/dist/emission-schedule.js.map +1 -1
  72. package/vendor/shared/dist/rules/index.d.ts +14 -4
  73. package/vendor/shared/dist/rules/index.d.ts.map +1 -1
  74. package/vendor/shared/dist/rules/index.js +44 -18
  75. package/vendor/shared/dist/rules/index.js.map +1 -1
  76. package/vendor/shared/dist/schemas/domain.d.ts +1 -1
  77. package/vendor/shared/dist/schemas/domain.d.ts.map +1 -1
  78. package/vendor/shared/dist/schemas/domain.js +6 -1
  79. package/vendor/shared/dist/schemas/domain.js.map +1 -1
  80. package/vendor/shared/params/params.json +19 -3
  81. package/vendor/shared/params/ranges.json +65 -1
  82. package/vendor/shared/src/emission-schedule.ts +66 -12
  83. package/vendor/shared/src/rules/index.ts +51 -22
  84. package/vendor/shared/src/schemas/domain.ts +6 -1
  85. package/vendor/shared/test/emission-schedule.test.ts +107 -3
  86. package/vendor/shared/test/rules.test.ts +16 -11
  87. package/vendor/shared/types/api/index.d.ts +8 -5
@@ -66,6 +66,25 @@ export const testerAssignmentAbi = [
66
66
  ],
67
67
  "stateMutability": "view"
68
68
  },
69
+ {
70
+ "type": "function",
71
+ "name": "activeReviewKey",
72
+ "inputs": [
73
+ {
74
+ "name": "",
75
+ "type": "bytes32",
76
+ "internalType": "bytes32"
77
+ }
78
+ ],
79
+ "outputs": [
80
+ {
81
+ "name": "",
82
+ "type": "bytes32",
83
+ "internalType": "bytes32"
84
+ }
85
+ ],
86
+ "stateMutability": "view"
87
+ },
69
88
  {
70
89
  "type": "function",
71
90
  "name": "arbitrationFeeRecipient",
@@ -200,6 +219,19 @@ export const testerAssignmentAbi = [
200
219
  ],
201
220
  "stateMutability": "view"
202
221
  },
222
+ {
223
+ "type": "function",
224
+ "name": "cancelFallbackReview",
225
+ "inputs": [
226
+ {
227
+ "name": "caseId",
228
+ "type": "bytes32",
229
+ "internalType": "bytes32"
230
+ }
231
+ ],
232
+ "outputs": [],
233
+ "stateMutability": "nonpayable"
234
+ },
203
235
  {
204
236
  "type": "function",
205
237
  "name": "court",
@@ -245,6 +277,35 @@ export const testerAssignmentAbi = [
245
277
  ],
246
278
  "stateMutability": "view"
247
279
  },
280
+ {
281
+ "type": "function",
282
+ "name": "fallbackParticipants",
283
+ "inputs": [
284
+ {
285
+ "name": "caseId",
286
+ "type": "bytes32",
287
+ "internalType": "bytes32"
288
+ },
289
+ {
290
+ "name": "finalRound",
291
+ "type": "bool",
292
+ "internalType": "bool"
293
+ }
294
+ ],
295
+ "outputs": [
296
+ {
297
+ "name": "participants",
298
+ "type": "address[]",
299
+ "internalType": "address[]"
300
+ },
301
+ {
302
+ "name": "approved",
303
+ "type": "bool[]",
304
+ "internalType": "bool[]"
305
+ }
306
+ ],
307
+ "stateMutability": "view"
308
+ },
248
309
  {
249
310
  "type": "function",
250
311
  "name": "fallbackProgress",
@@ -274,6 +335,25 @@ export const testerAssignmentAbi = [
274
335
  ],
275
336
  "stateMutability": "view"
276
337
  },
338
+ {
339
+ "type": "function",
340
+ "name": "finalResultPassed",
341
+ "inputs": [
342
+ {
343
+ "name": "taskId",
344
+ "type": "bytes32",
345
+ "internalType": "bytes32"
346
+ }
347
+ ],
348
+ "outputs": [
349
+ {
350
+ "name": "",
351
+ "type": "bool",
352
+ "internalType": "bool"
353
+ }
354
+ ],
355
+ "stateMutability": "view"
356
+ },
277
357
  {
278
358
  "type": "function",
279
359
  "name": "finalizeFallbackReview",
@@ -519,6 +599,49 @@ export const testerAssignmentAbi = [
519
599
  "outputs": [],
520
600
  "stateMutability": "nonpayable"
521
601
  },
602
+ {
603
+ "type": "function",
604
+ "name": "requestFallbackReviewForRound",
605
+ "inputs": [
606
+ {
607
+ "name": "caseId",
608
+ "type": "bytes32",
609
+ "internalType": "bytes32"
610
+ },
611
+ {
612
+ "name": "finalRound",
613
+ "type": "bool",
614
+ "internalType": "bool"
615
+ },
616
+ {
617
+ "name": "taskId",
618
+ "type": "bytes32",
619
+ "internalType": "bytes32"
620
+ },
621
+ {
622
+ "name": "publisher",
623
+ "type": "address",
624
+ "internalType": "address"
625
+ },
626
+ {
627
+ "name": "executor",
628
+ "type": "address",
629
+ "internalType": "address"
630
+ },
631
+ {
632
+ "name": "testerCount",
633
+ "type": "uint8",
634
+ "internalType": "uint8"
635
+ },
636
+ {
637
+ "name": "excluded",
638
+ "type": "address[]",
639
+ "internalType": "address[]"
640
+ }
641
+ ],
642
+ "outputs": [],
643
+ "stateMutability": "nonpayable"
644
+ },
522
645
  {
523
646
  "type": "function",
524
647
  "name": "selection",
@@ -532,6 +655,30 @@ export const testerAssignmentAbi = [
532
655
  ],
533
656
  "stateMutability": "view"
534
657
  },
658
+ {
659
+ "type": "function",
660
+ "name": "servedInCase",
661
+ "inputs": [
662
+ {
663
+ "name": "",
664
+ "type": "bytes32",
665
+ "internalType": "bytes32"
666
+ },
667
+ {
668
+ "name": "",
669
+ "type": "address",
670
+ "internalType": "address"
671
+ }
672
+ ],
673
+ "outputs": [
674
+ {
675
+ "name": "",
676
+ "type": "bool",
677
+ "internalType": "bool"
678
+ }
679
+ ],
680
+ "stateMutability": "view"
681
+ },
535
682
  {
536
683
  "type": "function",
537
684
  "name": "slashTimedOutTester",
@@ -888,6 +1035,31 @@ export const testerAssignmentAbi = [
888
1035
  ],
889
1036
  "anonymous": false
890
1037
  },
1038
+ {
1039
+ "type": "event",
1040
+ "name": "FallbackRoundRequested",
1041
+ "inputs": [
1042
+ {
1043
+ "name": "caseId",
1044
+ "type": "bytes32",
1045
+ "indexed": true,
1046
+ "internalType": "bytes32"
1047
+ },
1048
+ {
1049
+ "name": "finalRound",
1050
+ "type": "bool",
1051
+ "indexed": true,
1052
+ "internalType": "bool"
1053
+ },
1054
+ {
1055
+ "name": "reviewKey",
1056
+ "type": "bytes32",
1057
+ "indexed": true,
1058
+ "internalType": "bytes32"
1059
+ }
1060
+ ],
1061
+ "anonymous": false
1062
+ },
891
1063
  {
892
1064
  "type": "event",
893
1065
  "name": "FallbackSeedReselected",
@@ -66,6 +66,25 @@
66
66
  ],
67
67
  "stateMutability": "view"
68
68
  },
69
+ {
70
+ "type": "function",
71
+ "name": "activeReviewKey",
72
+ "inputs": [
73
+ {
74
+ "name": "",
75
+ "type": "bytes32",
76
+ "internalType": "bytes32"
77
+ }
78
+ ],
79
+ "outputs": [
80
+ {
81
+ "name": "",
82
+ "type": "bytes32",
83
+ "internalType": "bytes32"
84
+ }
85
+ ],
86
+ "stateMutability": "view"
87
+ },
69
88
  {
70
89
  "type": "function",
71
90
  "name": "arbitrationFeeRecipient",
@@ -200,6 +219,19 @@
200
219
  ],
201
220
  "stateMutability": "view"
202
221
  },
222
+ {
223
+ "type": "function",
224
+ "name": "cancelFallbackReview",
225
+ "inputs": [
226
+ {
227
+ "name": "caseId",
228
+ "type": "bytes32",
229
+ "internalType": "bytes32"
230
+ }
231
+ ],
232
+ "outputs": [],
233
+ "stateMutability": "nonpayable"
234
+ },
203
235
  {
204
236
  "type": "function",
205
237
  "name": "court",
@@ -245,6 +277,35 @@
245
277
  ],
246
278
  "stateMutability": "view"
247
279
  },
280
+ {
281
+ "type": "function",
282
+ "name": "fallbackParticipants",
283
+ "inputs": [
284
+ {
285
+ "name": "caseId",
286
+ "type": "bytes32",
287
+ "internalType": "bytes32"
288
+ },
289
+ {
290
+ "name": "finalRound",
291
+ "type": "bool",
292
+ "internalType": "bool"
293
+ }
294
+ ],
295
+ "outputs": [
296
+ {
297
+ "name": "participants",
298
+ "type": "address[]",
299
+ "internalType": "address[]"
300
+ },
301
+ {
302
+ "name": "approved",
303
+ "type": "bool[]",
304
+ "internalType": "bool[]"
305
+ }
306
+ ],
307
+ "stateMutability": "view"
308
+ },
248
309
  {
249
310
  "type": "function",
250
311
  "name": "fallbackProgress",
@@ -274,6 +335,25 @@
274
335
  ],
275
336
  "stateMutability": "view"
276
337
  },
338
+ {
339
+ "type": "function",
340
+ "name": "finalResultPassed",
341
+ "inputs": [
342
+ {
343
+ "name": "taskId",
344
+ "type": "bytes32",
345
+ "internalType": "bytes32"
346
+ }
347
+ ],
348
+ "outputs": [
349
+ {
350
+ "name": "",
351
+ "type": "bool",
352
+ "internalType": "bool"
353
+ }
354
+ ],
355
+ "stateMutability": "view"
356
+ },
277
357
  {
278
358
  "type": "function",
279
359
  "name": "finalizeFallbackReview",
@@ -519,6 +599,49 @@
519
599
  "outputs": [],
520
600
  "stateMutability": "nonpayable"
521
601
  },
602
+ {
603
+ "type": "function",
604
+ "name": "requestFallbackReviewForRound",
605
+ "inputs": [
606
+ {
607
+ "name": "caseId",
608
+ "type": "bytes32",
609
+ "internalType": "bytes32"
610
+ },
611
+ {
612
+ "name": "finalRound",
613
+ "type": "bool",
614
+ "internalType": "bool"
615
+ },
616
+ {
617
+ "name": "taskId",
618
+ "type": "bytes32",
619
+ "internalType": "bytes32"
620
+ },
621
+ {
622
+ "name": "publisher",
623
+ "type": "address",
624
+ "internalType": "address"
625
+ },
626
+ {
627
+ "name": "executor",
628
+ "type": "address",
629
+ "internalType": "address"
630
+ },
631
+ {
632
+ "name": "testerCount",
633
+ "type": "uint8",
634
+ "internalType": "uint8"
635
+ },
636
+ {
637
+ "name": "excluded",
638
+ "type": "address[]",
639
+ "internalType": "address[]"
640
+ }
641
+ ],
642
+ "outputs": [],
643
+ "stateMutability": "nonpayable"
644
+ },
522
645
  {
523
646
  "type": "function",
524
647
  "name": "selection",
@@ -532,6 +655,30 @@
532
655
  ],
533
656
  "stateMutability": "view"
534
657
  },
658
+ {
659
+ "type": "function",
660
+ "name": "servedInCase",
661
+ "inputs": [
662
+ {
663
+ "name": "",
664
+ "type": "bytes32",
665
+ "internalType": "bytes32"
666
+ },
667
+ {
668
+ "name": "",
669
+ "type": "address",
670
+ "internalType": "address"
671
+ }
672
+ ],
673
+ "outputs": [
674
+ {
675
+ "name": "",
676
+ "type": "bool",
677
+ "internalType": "bool"
678
+ }
679
+ ],
680
+ "stateMutability": "view"
681
+ },
535
682
  {
536
683
  "type": "function",
537
684
  "name": "slashTimedOutTester",
@@ -888,6 +1035,31 @@
888
1035
  ],
889
1036
  "anonymous": false
890
1037
  },
1038
+ {
1039
+ "type": "event",
1040
+ "name": "FallbackRoundRequested",
1041
+ "inputs": [
1042
+ {
1043
+ "name": "caseId",
1044
+ "type": "bytes32",
1045
+ "indexed": true,
1046
+ "internalType": "bytes32"
1047
+ },
1048
+ {
1049
+ "name": "finalRound",
1050
+ "type": "bool",
1051
+ "indexed": true,
1052
+ "internalType": "bool"
1053
+ },
1054
+ {
1055
+ "name": "reviewKey",
1056
+ "type": "bytes32",
1057
+ "indexed": true,
1058
+ "internalType": "bytes32"
1059
+ }
1060
+ ],
1061
+ "anonymous": false
1062
+ },
891
1063
  {
892
1064
  "type": "event",
893
1065
  "name": "FallbackSeedReselected",
@@ -66,6 +66,25 @@ export const testerAssignmentAbi = [
66
66
  ],
67
67
  "stateMutability": "view"
68
68
  },
69
+ {
70
+ "type": "function",
71
+ "name": "activeReviewKey",
72
+ "inputs": [
73
+ {
74
+ "name": "",
75
+ "type": "bytes32",
76
+ "internalType": "bytes32"
77
+ }
78
+ ],
79
+ "outputs": [
80
+ {
81
+ "name": "",
82
+ "type": "bytes32",
83
+ "internalType": "bytes32"
84
+ }
85
+ ],
86
+ "stateMutability": "view"
87
+ },
69
88
  {
70
89
  "type": "function",
71
90
  "name": "arbitrationFeeRecipient",
@@ -200,6 +219,19 @@ export const testerAssignmentAbi = [
200
219
  ],
201
220
  "stateMutability": "view"
202
221
  },
222
+ {
223
+ "type": "function",
224
+ "name": "cancelFallbackReview",
225
+ "inputs": [
226
+ {
227
+ "name": "caseId",
228
+ "type": "bytes32",
229
+ "internalType": "bytes32"
230
+ }
231
+ ],
232
+ "outputs": [],
233
+ "stateMutability": "nonpayable"
234
+ },
203
235
  {
204
236
  "type": "function",
205
237
  "name": "court",
@@ -245,6 +277,35 @@ export const testerAssignmentAbi = [
245
277
  ],
246
278
  "stateMutability": "view"
247
279
  },
280
+ {
281
+ "type": "function",
282
+ "name": "fallbackParticipants",
283
+ "inputs": [
284
+ {
285
+ "name": "caseId",
286
+ "type": "bytes32",
287
+ "internalType": "bytes32"
288
+ },
289
+ {
290
+ "name": "finalRound",
291
+ "type": "bool",
292
+ "internalType": "bool"
293
+ }
294
+ ],
295
+ "outputs": [
296
+ {
297
+ "name": "participants",
298
+ "type": "address[]",
299
+ "internalType": "address[]"
300
+ },
301
+ {
302
+ "name": "approved",
303
+ "type": "bool[]",
304
+ "internalType": "bool[]"
305
+ }
306
+ ],
307
+ "stateMutability": "view"
308
+ },
248
309
  {
249
310
  "type": "function",
250
311
  "name": "fallbackProgress",
@@ -274,6 +335,25 @@ export const testerAssignmentAbi = [
274
335
  ],
275
336
  "stateMutability": "view"
276
337
  },
338
+ {
339
+ "type": "function",
340
+ "name": "finalResultPassed",
341
+ "inputs": [
342
+ {
343
+ "name": "taskId",
344
+ "type": "bytes32",
345
+ "internalType": "bytes32"
346
+ }
347
+ ],
348
+ "outputs": [
349
+ {
350
+ "name": "",
351
+ "type": "bool",
352
+ "internalType": "bool"
353
+ }
354
+ ],
355
+ "stateMutability": "view"
356
+ },
277
357
  {
278
358
  "type": "function",
279
359
  "name": "finalizeFallbackReview",
@@ -519,6 +599,49 @@ export const testerAssignmentAbi = [
519
599
  "outputs": [],
520
600
  "stateMutability": "nonpayable"
521
601
  },
602
+ {
603
+ "type": "function",
604
+ "name": "requestFallbackReviewForRound",
605
+ "inputs": [
606
+ {
607
+ "name": "caseId",
608
+ "type": "bytes32",
609
+ "internalType": "bytes32"
610
+ },
611
+ {
612
+ "name": "finalRound",
613
+ "type": "bool",
614
+ "internalType": "bool"
615
+ },
616
+ {
617
+ "name": "taskId",
618
+ "type": "bytes32",
619
+ "internalType": "bytes32"
620
+ },
621
+ {
622
+ "name": "publisher",
623
+ "type": "address",
624
+ "internalType": "address"
625
+ },
626
+ {
627
+ "name": "executor",
628
+ "type": "address",
629
+ "internalType": "address"
630
+ },
631
+ {
632
+ "name": "testerCount",
633
+ "type": "uint8",
634
+ "internalType": "uint8"
635
+ },
636
+ {
637
+ "name": "excluded",
638
+ "type": "address[]",
639
+ "internalType": "address[]"
640
+ }
641
+ ],
642
+ "outputs": [],
643
+ "stateMutability": "nonpayable"
644
+ },
522
645
  {
523
646
  "type": "function",
524
647
  "name": "selection",
@@ -532,6 +655,30 @@ export const testerAssignmentAbi = [
532
655
  ],
533
656
  "stateMutability": "view"
534
657
  },
658
+ {
659
+ "type": "function",
660
+ "name": "servedInCase",
661
+ "inputs": [
662
+ {
663
+ "name": "",
664
+ "type": "bytes32",
665
+ "internalType": "bytes32"
666
+ },
667
+ {
668
+ "name": "",
669
+ "type": "address",
670
+ "internalType": "address"
671
+ }
672
+ ],
673
+ "outputs": [
674
+ {
675
+ "name": "",
676
+ "type": "bool",
677
+ "internalType": "bool"
678
+ }
679
+ ],
680
+ "stateMutability": "view"
681
+ },
535
682
  {
536
683
  "type": "function",
537
684
  "name": "slashTimedOutTester",
@@ -888,6 +1035,31 @@ export const testerAssignmentAbi = [
888
1035
  ],
889
1036
  "anonymous": false
890
1037
  },
1038
+ {
1039
+ "type": "event",
1040
+ "name": "FallbackRoundRequested",
1041
+ "inputs": [
1042
+ {
1043
+ "name": "caseId",
1044
+ "type": "bytes32",
1045
+ "indexed": true,
1046
+ "internalType": "bytes32"
1047
+ },
1048
+ {
1049
+ "name": "finalRound",
1050
+ "type": "bool",
1051
+ "indexed": true,
1052
+ "internalType": "bool"
1053
+ },
1054
+ {
1055
+ "name": "reviewKey",
1056
+ "type": "bytes32",
1057
+ "indexed": true,
1058
+ "internalType": "bytes32"
1059
+ }
1060
+ ],
1061
+ "anonymous": false
1062
+ },
891
1063
  {
892
1064
  "type": "event",
893
1065
  "name": "FallbackSeedReselected",