@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
@@ -278,6 +278,54 @@ export const emissionControllerAbi = [
278
278
  ],
279
279
  "stateMutability": "view"
280
280
  },
281
+ {
282
+ "type": "function",
283
+ "name": "emissionPaused",
284
+ "inputs": [],
285
+ "outputs": [
286
+ {
287
+ "name": "",
288
+ "type": "bool",
289
+ "internalType": "bool"
290
+ }
291
+ ],
292
+ "stateMutability": "view"
293
+ },
294
+ {
295
+ "type": "function",
296
+ "name": "emissionSegments",
297
+ "inputs": [],
298
+ "outputs": [
299
+ {
300
+ "name": "segments",
301
+ "type": "tuple[]",
302
+ "internalType": "struct EmissionController.Segment[]",
303
+ "components": [
304
+ {
305
+ "name": "start",
306
+ "type": "uint64",
307
+ "internalType": "uint64"
308
+ },
309
+ {
310
+ "name": "end",
311
+ "type": "uint64",
312
+ "internalType": "uint64"
313
+ },
314
+ {
315
+ "name": "base",
316
+ "type": "uint256",
317
+ "internalType": "uint256"
318
+ },
319
+ {
320
+ "name": "pool",
321
+ "type": "uint256",
322
+ "internalType": "uint256"
323
+ }
324
+ ]
325
+ }
326
+ ],
327
+ "stateMutability": "view"
328
+ },
281
329
  {
282
330
  "type": "function",
283
331
  "name": "execBps",
@@ -517,6 +565,26 @@ export const emissionControllerAbi = [
517
565
  ],
518
566
  "stateMutability": "view"
519
567
  },
568
+ {
569
+ "type": "function",
570
+ "name": "pauseEmission",
571
+ "inputs": [],
572
+ "outputs": [],
573
+ "stateMutability": "nonpayable"
574
+ },
575
+ {
576
+ "type": "function",
577
+ "name": "pausedPool",
578
+ "inputs": [],
579
+ "outputs": [
580
+ {
581
+ "name": "",
582
+ "type": "uint256",
583
+ "internalType": "uint256"
584
+ }
585
+ ],
586
+ "stateMutability": "view"
587
+ },
520
588
  {
521
589
  "type": "function",
522
590
  "name": "platformBps",
@@ -641,6 +709,13 @@ export const emissionControllerAbi = [
641
709
  "outputs": [],
642
710
  "stateMutability": "nonpayable"
643
711
  },
712
+ {
713
+ "type": "function",
714
+ "name": "resumeEmission",
715
+ "inputs": [],
716
+ "outputs": [],
717
+ "stateMutability": "nonpayable"
718
+ },
644
719
  {
645
720
  "type": "function",
646
721
  "name": "revokeRole",
@@ -857,6 +932,37 @@ export const emissionControllerAbi = [
857
932
  ],
858
933
  "stateMutability": "view"
859
934
  },
935
+ {
936
+ "type": "function",
937
+ "name": "vaultWithdrawn",
938
+ "inputs": [],
939
+ "outputs": [
940
+ {
941
+ "name": "",
942
+ "type": "uint256",
943
+ "internalType": "uint256"
944
+ }
945
+ ],
946
+ "stateMutability": "view"
947
+ },
948
+ {
949
+ "type": "function",
950
+ "name": "withdrawVault",
951
+ "inputs": [
952
+ {
953
+ "name": "to",
954
+ "type": "address",
955
+ "internalType": "address"
956
+ },
957
+ {
958
+ "name": "amount",
959
+ "type": "uint256",
960
+ "internalType": "uint256"
961
+ }
962
+ ],
963
+ "outputs": [],
964
+ "stateMutability": "nonpayable"
965
+ },
860
966
  {
861
967
  "type": "event",
862
968
  "name": "ArbitrationReleased",
@@ -907,6 +1013,56 @@ export const emissionControllerAbi = [
907
1013
  ],
908
1014
  "anonymous": false
909
1015
  },
1016
+ {
1017
+ "type": "event",
1018
+ "name": "EmissionPaused",
1019
+ "inputs": [
1020
+ {
1021
+ "name": "pausedAt",
1022
+ "type": "uint64",
1023
+ "indexed": true,
1024
+ "internalType": "uint64"
1025
+ },
1026
+ {
1027
+ "name": "released",
1028
+ "type": "uint256",
1029
+ "indexed": false,
1030
+ "internalType": "uint256"
1031
+ },
1032
+ {
1033
+ "name": "unemitted",
1034
+ "type": "uint256",
1035
+ "indexed": false,
1036
+ "internalType": "uint256"
1037
+ }
1038
+ ],
1039
+ "anonymous": false
1040
+ },
1041
+ {
1042
+ "type": "event",
1043
+ "name": "EmissionResumed",
1044
+ "inputs": [
1045
+ {
1046
+ "name": "resumedAt",
1047
+ "type": "uint64",
1048
+ "indexed": true,
1049
+ "internalType": "uint64"
1050
+ },
1051
+ {
1052
+ "name": "released",
1053
+ "type": "uint256",
1054
+ "indexed": false,
1055
+ "internalType": "uint256"
1056
+ },
1057
+ {
1058
+ "name": "pool",
1059
+ "type": "uint256",
1060
+ "indexed": false,
1061
+ "internalType": "uint256"
1062
+ }
1063
+ ],
1064
+ "anonymous": false
1065
+ },
910
1066
  {
911
1067
  "type": "event",
912
1068
  "name": "ExecutorEscrowPulled",
@@ -1163,6 +1319,31 @@ export const emissionControllerAbi = [
1163
1319
  ],
1164
1320
  "anonymous": false
1165
1321
  },
1322
+ {
1323
+ "type": "event",
1324
+ "name": "VaultWithdrawn",
1325
+ "inputs": [
1326
+ {
1327
+ "name": "to",
1328
+ "type": "address",
1329
+ "indexed": true,
1330
+ "internalType": "address"
1331
+ },
1332
+ {
1333
+ "name": "amount",
1334
+ "type": "uint256",
1335
+ "indexed": false,
1336
+ "internalType": "uint256"
1337
+ },
1338
+ {
1339
+ "name": "unemitted",
1340
+ "type": "uint256",
1341
+ "indexed": false,
1342
+ "internalType": "uint256"
1343
+ }
1344
+ ],
1345
+ "anonymous": false
1346
+ },
1166
1347
  {
1167
1348
  "type": "error",
1168
1349
  "name": "AccessControlBadConfirmation",
@@ -1222,6 +1403,16 @@ export const emissionControllerAbi = [
1222
1403
  "name": "ERC1967NonPayable",
1223
1404
  "inputs": []
1224
1405
  },
1406
+ {
1407
+ "type": "error",
1408
+ "name": "EmissionAlreadyPaused",
1409
+ "inputs": []
1410
+ },
1411
+ {
1412
+ "type": "error",
1413
+ "name": "EmissionNotPaused",
1414
+ "inputs": []
1415
+ },
1225
1416
  {
1226
1417
  "type": "error",
1227
1418
  "name": "FailedInnerCall",
@@ -1432,5 +1623,21 @@ export const emissionControllerAbi = [
1432
1623
  "internalType": "uint256"
1433
1624
  }
1434
1625
  ]
1626
+ },
1627
+ {
1628
+ "type": "error",
1629
+ "name": "WithdrawExceedsUnemitted",
1630
+ "inputs": [
1631
+ {
1632
+ "name": "unemitted",
1633
+ "type": "uint256",
1634
+ "internalType": "uint256"
1635
+ },
1636
+ {
1637
+ "name": "requested",
1638
+ "type": "uint256",
1639
+ "internalType": "uint256"
1640
+ }
1641
+ ]
1435
1642
  }
1436
1643
  ];
@@ -278,6 +278,54 @@
278
278
  ],
279
279
  "stateMutability": "view"
280
280
  },
281
+ {
282
+ "type": "function",
283
+ "name": "emissionPaused",
284
+ "inputs": [],
285
+ "outputs": [
286
+ {
287
+ "name": "",
288
+ "type": "bool",
289
+ "internalType": "bool"
290
+ }
291
+ ],
292
+ "stateMutability": "view"
293
+ },
294
+ {
295
+ "type": "function",
296
+ "name": "emissionSegments",
297
+ "inputs": [],
298
+ "outputs": [
299
+ {
300
+ "name": "segments",
301
+ "type": "tuple[]",
302
+ "internalType": "struct EmissionController.Segment[]",
303
+ "components": [
304
+ {
305
+ "name": "start",
306
+ "type": "uint64",
307
+ "internalType": "uint64"
308
+ },
309
+ {
310
+ "name": "end",
311
+ "type": "uint64",
312
+ "internalType": "uint64"
313
+ },
314
+ {
315
+ "name": "base",
316
+ "type": "uint256",
317
+ "internalType": "uint256"
318
+ },
319
+ {
320
+ "name": "pool",
321
+ "type": "uint256",
322
+ "internalType": "uint256"
323
+ }
324
+ ]
325
+ }
326
+ ],
327
+ "stateMutability": "view"
328
+ },
281
329
  {
282
330
  "type": "function",
283
331
  "name": "execBps",
@@ -517,6 +565,26 @@
517
565
  ],
518
566
  "stateMutability": "view"
519
567
  },
568
+ {
569
+ "type": "function",
570
+ "name": "pauseEmission",
571
+ "inputs": [],
572
+ "outputs": [],
573
+ "stateMutability": "nonpayable"
574
+ },
575
+ {
576
+ "type": "function",
577
+ "name": "pausedPool",
578
+ "inputs": [],
579
+ "outputs": [
580
+ {
581
+ "name": "",
582
+ "type": "uint256",
583
+ "internalType": "uint256"
584
+ }
585
+ ],
586
+ "stateMutability": "view"
587
+ },
520
588
  {
521
589
  "type": "function",
522
590
  "name": "platformBps",
@@ -641,6 +709,13 @@
641
709
  "outputs": [],
642
710
  "stateMutability": "nonpayable"
643
711
  },
712
+ {
713
+ "type": "function",
714
+ "name": "resumeEmission",
715
+ "inputs": [],
716
+ "outputs": [],
717
+ "stateMutability": "nonpayable"
718
+ },
644
719
  {
645
720
  "type": "function",
646
721
  "name": "revokeRole",
@@ -857,6 +932,37 @@
857
932
  ],
858
933
  "stateMutability": "view"
859
934
  },
935
+ {
936
+ "type": "function",
937
+ "name": "vaultWithdrawn",
938
+ "inputs": [],
939
+ "outputs": [
940
+ {
941
+ "name": "",
942
+ "type": "uint256",
943
+ "internalType": "uint256"
944
+ }
945
+ ],
946
+ "stateMutability": "view"
947
+ },
948
+ {
949
+ "type": "function",
950
+ "name": "withdrawVault",
951
+ "inputs": [
952
+ {
953
+ "name": "to",
954
+ "type": "address",
955
+ "internalType": "address"
956
+ },
957
+ {
958
+ "name": "amount",
959
+ "type": "uint256",
960
+ "internalType": "uint256"
961
+ }
962
+ ],
963
+ "outputs": [],
964
+ "stateMutability": "nonpayable"
965
+ },
860
966
  {
861
967
  "type": "event",
862
968
  "name": "ArbitrationReleased",
@@ -907,6 +1013,56 @@
907
1013
  ],
908
1014
  "anonymous": false
909
1015
  },
1016
+ {
1017
+ "type": "event",
1018
+ "name": "EmissionPaused",
1019
+ "inputs": [
1020
+ {
1021
+ "name": "pausedAt",
1022
+ "type": "uint64",
1023
+ "indexed": true,
1024
+ "internalType": "uint64"
1025
+ },
1026
+ {
1027
+ "name": "released",
1028
+ "type": "uint256",
1029
+ "indexed": false,
1030
+ "internalType": "uint256"
1031
+ },
1032
+ {
1033
+ "name": "unemitted",
1034
+ "type": "uint256",
1035
+ "indexed": false,
1036
+ "internalType": "uint256"
1037
+ }
1038
+ ],
1039
+ "anonymous": false
1040
+ },
1041
+ {
1042
+ "type": "event",
1043
+ "name": "EmissionResumed",
1044
+ "inputs": [
1045
+ {
1046
+ "name": "resumedAt",
1047
+ "type": "uint64",
1048
+ "indexed": true,
1049
+ "internalType": "uint64"
1050
+ },
1051
+ {
1052
+ "name": "released",
1053
+ "type": "uint256",
1054
+ "indexed": false,
1055
+ "internalType": "uint256"
1056
+ },
1057
+ {
1058
+ "name": "pool",
1059
+ "type": "uint256",
1060
+ "indexed": false,
1061
+ "internalType": "uint256"
1062
+ }
1063
+ ],
1064
+ "anonymous": false
1065
+ },
910
1066
  {
911
1067
  "type": "event",
912
1068
  "name": "ExecutorEscrowPulled",
@@ -1163,6 +1319,31 @@
1163
1319
  ],
1164
1320
  "anonymous": false
1165
1321
  },
1322
+ {
1323
+ "type": "event",
1324
+ "name": "VaultWithdrawn",
1325
+ "inputs": [
1326
+ {
1327
+ "name": "to",
1328
+ "type": "address",
1329
+ "indexed": true,
1330
+ "internalType": "address"
1331
+ },
1332
+ {
1333
+ "name": "amount",
1334
+ "type": "uint256",
1335
+ "indexed": false,
1336
+ "internalType": "uint256"
1337
+ },
1338
+ {
1339
+ "name": "unemitted",
1340
+ "type": "uint256",
1341
+ "indexed": false,
1342
+ "internalType": "uint256"
1343
+ }
1344
+ ],
1345
+ "anonymous": false
1346
+ },
1166
1347
  {
1167
1348
  "type": "error",
1168
1349
  "name": "AccessControlBadConfirmation",
@@ -1222,6 +1403,16 @@
1222
1403
  "name": "ERC1967NonPayable",
1223
1404
  "inputs": []
1224
1405
  },
1406
+ {
1407
+ "type": "error",
1408
+ "name": "EmissionAlreadyPaused",
1409
+ "inputs": []
1410
+ },
1411
+ {
1412
+ "type": "error",
1413
+ "name": "EmissionNotPaused",
1414
+ "inputs": []
1415
+ },
1225
1416
  {
1226
1417
  "type": "error",
1227
1418
  "name": "FailedInnerCall",
@@ -1432,5 +1623,21 @@
1432
1623
  "internalType": "uint256"
1433
1624
  }
1434
1625
  ]
1626
+ },
1627
+ {
1628
+ "type": "error",
1629
+ "name": "WithdrawExceedsUnemitted",
1630
+ "inputs": [
1631
+ {
1632
+ "name": "unemitted",
1633
+ "type": "uint256",
1634
+ "internalType": "uint256"
1635
+ },
1636
+ {
1637
+ "name": "requested",
1638
+ "type": "uint256",
1639
+ "internalType": "uint256"
1640
+ }
1641
+ ]
1435
1642
  }
1436
1643
  ]