@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
@@ -251,6 +251,25 @@ export const arbitrationCourtAbi = [
251
251
  "outputs": [],
252
252
  "stateMutability": "nonpayable"
253
253
  },
254
+ {
255
+ "type": "function",
256
+ "name": "defaultRulingAt",
257
+ "inputs": [
258
+ {
259
+ "name": "caseId",
260
+ "type": "bytes32",
261
+ "internalType": "bytes32"
262
+ }
263
+ ],
264
+ "outputs": [
265
+ {
266
+ "name": "",
267
+ "type": "uint256",
268
+ "internalType": "uint256"
269
+ }
270
+ ],
271
+ "stateMutability": "view"
272
+ },
254
273
  {
255
274
  "type": "function",
256
275
  "name": "drawPanel",
@@ -277,6 +296,51 @@ export const arbitrationCourtAbi = [
277
296
  "outputs": [],
278
297
  "stateMutability": "nonpayable"
279
298
  },
299
+ {
300
+ "type": "function",
301
+ "name": "forceResolve",
302
+ "inputs": [
303
+ {
304
+ "name": "caseId",
305
+ "type": "bytes32",
306
+ "internalType": "bytes32"
307
+ }
308
+ ],
309
+ "outputs": [],
310
+ "stateMutability": "nonpayable"
311
+ },
312
+ {
313
+ "type": "function",
314
+ "name": "forceResolveAt",
315
+ "inputs": [
316
+ {
317
+ "name": "caseId",
318
+ "type": "bytes32",
319
+ "internalType": "bytes32"
320
+ }
321
+ ],
322
+ "outputs": [
323
+ {
324
+ "name": "",
325
+ "type": "uint256",
326
+ "internalType": "uint256"
327
+ }
328
+ ],
329
+ "stateMutability": "view"
330
+ },
331
+ {
332
+ "type": "function",
333
+ "name": "forceResolveEpoch",
334
+ "inputs": [],
335
+ "outputs": [
336
+ {
337
+ "name": "",
338
+ "type": "uint64",
339
+ "internalType": "uint64"
340
+ }
341
+ ],
342
+ "stateMutability": "view"
343
+ },
280
344
  {
281
345
  "type": "function",
282
346
  "name": "governance",
@@ -316,6 +380,13 @@ export const arbitrationCourtAbi = [
316
380
  "outputs": [],
317
381
  "stateMutability": "nonpayable"
318
382
  },
383
+ {
384
+ "type": "function",
385
+ "name": "initializeV2",
386
+ "inputs": [],
387
+ "outputs": [],
388
+ "stateMutability": "nonpayable"
389
+ },
319
390
  {
320
391
  "type": "function",
321
392
  "name": "joinArbitrator",
@@ -439,7 +510,7 @@ export const arbitrationCourtAbi = [
439
510
  {
440
511
  "name": "",
441
512
  "type": "uint8",
442
- "internalType": "enum ArbitrationCourt.Phase"
513
+ "internalType": "enum CourtTypes.Phase"
443
514
  }
444
515
  ],
445
516
  "stateMutability": "view"
@@ -765,6 +836,19 @@ export const arbitrationCourtAbi = [
765
836
  ],
766
837
  "stateMutability": "view"
767
838
  },
839
+ {
840
+ "type": "function",
841
+ "name": "waiveAppeal",
842
+ "inputs": [
843
+ {
844
+ "name": "caseId",
845
+ "type": "bytes32",
846
+ "internalType": "bytes32"
847
+ }
848
+ ],
849
+ "outputs": [],
850
+ "stateMutability": "nonpayable"
851
+ },
768
852
  {
769
853
  "type": "event",
770
854
  "name": "AcceptWindowStarted",
@@ -821,6 +905,25 @@ export const arbitrationCourtAbi = [
821
905
  ],
822
906
  "anonymous": false
823
907
  },
908
+ {
909
+ "type": "event",
910
+ "name": "AppealWaived",
911
+ "inputs": [
912
+ {
913
+ "name": "caseId",
914
+ "type": "bytes32",
915
+ "indexed": true,
916
+ "internalType": "bytes32"
917
+ },
918
+ {
919
+ "name": "party",
920
+ "type": "address",
921
+ "indexed": true,
922
+ "internalType": "address"
923
+ }
924
+ ],
925
+ "anonymous": false
926
+ },
824
927
  {
825
928
  "type": "event",
826
929
  "name": "AppealWindowStarted",
@@ -896,6 +999,25 @@ export const arbitrationCourtAbi = [
896
999
  ],
897
1000
  "anonymous": false
898
1001
  },
1002
+ {
1003
+ "type": "event",
1004
+ "name": "CaseResolvedByDefault",
1005
+ "inputs": [
1006
+ {
1007
+ "name": "caseId",
1008
+ "type": "bytes32",
1009
+ "indexed": true,
1010
+ "internalType": "bytes32"
1011
+ },
1012
+ {
1013
+ "name": "executorWins",
1014
+ "type": "bool",
1015
+ "indexed": false,
1016
+ "internalType": "bool"
1017
+ }
1018
+ ],
1019
+ "anonymous": false
1020
+ },
899
1021
  {
900
1022
  "type": "event",
901
1023
  "name": "CommitStarted",
@@ -959,6 +1081,25 @@ export const arbitrationCourtAbi = [
959
1081
  ],
960
1082
  "anonymous": false
961
1083
  },
1084
+ {
1085
+ "type": "event",
1086
+ "name": "JurorExcluded",
1087
+ "inputs": [
1088
+ {
1089
+ "name": "caseId",
1090
+ "type": "bytes32",
1091
+ "indexed": true,
1092
+ "internalType": "bytes32"
1093
+ },
1094
+ {
1095
+ "name": "juror",
1096
+ "type": "address",
1097
+ "indexed": true,
1098
+ "internalType": "address"
1099
+ }
1100
+ ],
1101
+ "anonymous": false
1102
+ },
962
1103
  {
963
1104
  "type": "event",
964
1105
  "name": "PanelDrawn",
@@ -1027,6 +1168,37 @@ export const arbitrationCourtAbi = [
1027
1168
  ],
1028
1169
  "anonymous": false
1029
1170
  },
1171
+ {
1172
+ "type": "event",
1173
+ "name": "PanelShrunk",
1174
+ "inputs": [
1175
+ {
1176
+ "name": "caseId",
1177
+ "type": "bytes32",
1178
+ "indexed": true,
1179
+ "internalType": "bytes32"
1180
+ },
1181
+ {
1182
+ "name": "finalRound",
1183
+ "type": "bool",
1184
+ "indexed": true,
1185
+ "internalType": "bool"
1186
+ },
1187
+ {
1188
+ "name": "panelSize",
1189
+ "type": "uint8",
1190
+ "indexed": false,
1191
+ "internalType": "uint8"
1192
+ },
1193
+ {
1194
+ "name": "jurors",
1195
+ "type": "address[]",
1196
+ "indexed": false,
1197
+ "internalType": "address[]"
1198
+ }
1199
+ ],
1200
+ "anonymous": false
1201
+ },
1030
1202
  {
1031
1203
  "type": "event",
1032
1204
  "name": "RevealStarted",
@@ -1451,12 +1623,12 @@ export const arbitrationCourtAbi = [
1451
1623
  {
1452
1624
  "name": "current",
1453
1625
  "type": "uint8",
1454
- "internalType": "enum ArbitrationCourt.Phase"
1626
+ "internalType": "enum CourtTypes.Phase"
1455
1627
  },
1456
1628
  {
1457
1629
  "name": "required",
1458
1630
  "type": "uint8",
1459
- "internalType": "enum ArbitrationCourt.Phase"
1631
+ "internalType": "enum CourtTypes.Phase"
1460
1632
  }
1461
1633
  ]
1462
1634
  },
@@ -251,6 +251,25 @@
251
251
  "outputs": [],
252
252
  "stateMutability": "nonpayable"
253
253
  },
254
+ {
255
+ "type": "function",
256
+ "name": "defaultRulingAt",
257
+ "inputs": [
258
+ {
259
+ "name": "caseId",
260
+ "type": "bytes32",
261
+ "internalType": "bytes32"
262
+ }
263
+ ],
264
+ "outputs": [
265
+ {
266
+ "name": "",
267
+ "type": "uint256",
268
+ "internalType": "uint256"
269
+ }
270
+ ],
271
+ "stateMutability": "view"
272
+ },
254
273
  {
255
274
  "type": "function",
256
275
  "name": "drawPanel",
@@ -277,6 +296,51 @@
277
296
  "outputs": [],
278
297
  "stateMutability": "nonpayable"
279
298
  },
299
+ {
300
+ "type": "function",
301
+ "name": "forceResolve",
302
+ "inputs": [
303
+ {
304
+ "name": "caseId",
305
+ "type": "bytes32",
306
+ "internalType": "bytes32"
307
+ }
308
+ ],
309
+ "outputs": [],
310
+ "stateMutability": "nonpayable"
311
+ },
312
+ {
313
+ "type": "function",
314
+ "name": "forceResolveAt",
315
+ "inputs": [
316
+ {
317
+ "name": "caseId",
318
+ "type": "bytes32",
319
+ "internalType": "bytes32"
320
+ }
321
+ ],
322
+ "outputs": [
323
+ {
324
+ "name": "",
325
+ "type": "uint256",
326
+ "internalType": "uint256"
327
+ }
328
+ ],
329
+ "stateMutability": "view"
330
+ },
331
+ {
332
+ "type": "function",
333
+ "name": "forceResolveEpoch",
334
+ "inputs": [],
335
+ "outputs": [
336
+ {
337
+ "name": "",
338
+ "type": "uint64",
339
+ "internalType": "uint64"
340
+ }
341
+ ],
342
+ "stateMutability": "view"
343
+ },
280
344
  {
281
345
  "type": "function",
282
346
  "name": "governance",
@@ -316,6 +380,13 @@
316
380
  "outputs": [],
317
381
  "stateMutability": "nonpayable"
318
382
  },
383
+ {
384
+ "type": "function",
385
+ "name": "initializeV2",
386
+ "inputs": [],
387
+ "outputs": [],
388
+ "stateMutability": "nonpayable"
389
+ },
319
390
  {
320
391
  "type": "function",
321
392
  "name": "joinArbitrator",
@@ -439,7 +510,7 @@
439
510
  {
440
511
  "name": "",
441
512
  "type": "uint8",
442
- "internalType": "enum ArbitrationCourt.Phase"
513
+ "internalType": "enum CourtTypes.Phase"
443
514
  }
444
515
  ],
445
516
  "stateMutability": "view"
@@ -765,6 +836,19 @@
765
836
  ],
766
837
  "stateMutability": "view"
767
838
  },
839
+ {
840
+ "type": "function",
841
+ "name": "waiveAppeal",
842
+ "inputs": [
843
+ {
844
+ "name": "caseId",
845
+ "type": "bytes32",
846
+ "internalType": "bytes32"
847
+ }
848
+ ],
849
+ "outputs": [],
850
+ "stateMutability": "nonpayable"
851
+ },
768
852
  {
769
853
  "type": "event",
770
854
  "name": "AcceptWindowStarted",
@@ -821,6 +905,25 @@
821
905
  ],
822
906
  "anonymous": false
823
907
  },
908
+ {
909
+ "type": "event",
910
+ "name": "AppealWaived",
911
+ "inputs": [
912
+ {
913
+ "name": "caseId",
914
+ "type": "bytes32",
915
+ "indexed": true,
916
+ "internalType": "bytes32"
917
+ },
918
+ {
919
+ "name": "party",
920
+ "type": "address",
921
+ "indexed": true,
922
+ "internalType": "address"
923
+ }
924
+ ],
925
+ "anonymous": false
926
+ },
824
927
  {
825
928
  "type": "event",
826
929
  "name": "AppealWindowStarted",
@@ -896,6 +999,25 @@
896
999
  ],
897
1000
  "anonymous": false
898
1001
  },
1002
+ {
1003
+ "type": "event",
1004
+ "name": "CaseResolvedByDefault",
1005
+ "inputs": [
1006
+ {
1007
+ "name": "caseId",
1008
+ "type": "bytes32",
1009
+ "indexed": true,
1010
+ "internalType": "bytes32"
1011
+ },
1012
+ {
1013
+ "name": "executorWins",
1014
+ "type": "bool",
1015
+ "indexed": false,
1016
+ "internalType": "bool"
1017
+ }
1018
+ ],
1019
+ "anonymous": false
1020
+ },
899
1021
  {
900
1022
  "type": "event",
901
1023
  "name": "CommitStarted",
@@ -959,6 +1081,25 @@
959
1081
  ],
960
1082
  "anonymous": false
961
1083
  },
1084
+ {
1085
+ "type": "event",
1086
+ "name": "JurorExcluded",
1087
+ "inputs": [
1088
+ {
1089
+ "name": "caseId",
1090
+ "type": "bytes32",
1091
+ "indexed": true,
1092
+ "internalType": "bytes32"
1093
+ },
1094
+ {
1095
+ "name": "juror",
1096
+ "type": "address",
1097
+ "indexed": true,
1098
+ "internalType": "address"
1099
+ }
1100
+ ],
1101
+ "anonymous": false
1102
+ },
962
1103
  {
963
1104
  "type": "event",
964
1105
  "name": "PanelDrawn",
@@ -1027,6 +1168,37 @@
1027
1168
  ],
1028
1169
  "anonymous": false
1029
1170
  },
1171
+ {
1172
+ "type": "event",
1173
+ "name": "PanelShrunk",
1174
+ "inputs": [
1175
+ {
1176
+ "name": "caseId",
1177
+ "type": "bytes32",
1178
+ "indexed": true,
1179
+ "internalType": "bytes32"
1180
+ },
1181
+ {
1182
+ "name": "finalRound",
1183
+ "type": "bool",
1184
+ "indexed": true,
1185
+ "internalType": "bool"
1186
+ },
1187
+ {
1188
+ "name": "panelSize",
1189
+ "type": "uint8",
1190
+ "indexed": false,
1191
+ "internalType": "uint8"
1192
+ },
1193
+ {
1194
+ "name": "jurors",
1195
+ "type": "address[]",
1196
+ "indexed": false,
1197
+ "internalType": "address[]"
1198
+ }
1199
+ ],
1200
+ "anonymous": false
1201
+ },
1030
1202
  {
1031
1203
  "type": "event",
1032
1204
  "name": "RevealStarted",
@@ -1451,12 +1623,12 @@
1451
1623
  {
1452
1624
  "name": "current",
1453
1625
  "type": "uint8",
1454
- "internalType": "enum ArbitrationCourt.Phase"
1626
+ "internalType": "enum CourtTypes.Phase"
1455
1627
  },
1456
1628
  {
1457
1629
  "name": "required",
1458
1630
  "type": "uint8",
1459
- "internalType": "enum ArbitrationCourt.Phase"
1631
+ "internalType": "enum CourtTypes.Phase"
1460
1632
  }
1461
1633
  ]
1462
1634
  },