@agentsgot/agent-kit 0.0.0-stage → 1.0.1
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.
- package/ARCHITECTURE.md +5 -0
- package/README.md +13 -2
- package/dist/a2a.d.ts +35 -0
- package/dist/a2a.d.ts.map +1 -0
- package/dist/a2a.js +109 -0
- package/dist/a2a.js.map +1 -0
- package/dist/cli/binding.d.ts +24 -0
- package/dist/cli/binding.d.ts.map +1 -0
- package/dist/cli/binding.js +52 -0
- package/dist/cli/binding.js.map +1 -0
- package/dist/cli/commands.d.ts +18 -0
- package/dist/cli/commands.d.ts.map +1 -0
- package/dist/cli/commands.js +191 -0
- package/dist/cli/commands.js.map +1 -0
- package/dist/cli/context.d.ts +61 -0
- package/dist/cli/context.d.ts.map +1 -0
- package/dist/cli/context.js +147 -0
- package/dist/cli/context.js.map +1 -0
- package/dist/cli/doctor.d.ts +34 -0
- package/dist/cli/doctor.d.ts.map +1 -0
- package/dist/cli/doctor.js +109 -0
- package/dist/cli/doctor.js.map +1 -0
- package/dist/cli/home.d.ts +37 -0
- package/dist/cli/home.d.ts.map +1 -0
- package/dist/cli/home.js +77 -0
- package/dist/cli/home.js.map +1 -0
- package/dist/cli/index.d.ts +5 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +120 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/install.d.ts +19 -0
- package/dist/cli/install.d.ts.map +1 -0
- package/dist/cli/install.js +64 -0
- package/dist/cli/install.js.map +1 -0
- package/dist/cli/keystore.d.ts +25 -0
- package/dist/cli/keystore.d.ts.map +1 -0
- package/dist/cli/keystore.js +57 -0
- package/dist/cli/keystore.js.map +1 -0
- package/dist/cli/mcp.d.ts +7 -0
- package/dist/cli/mcp.d.ts.map +1 -0
- package/dist/cli/mcp.js +28 -0
- package/dist/cli/mcp.js.map +1 -0
- package/dist/cli/prompt.d.ts +10 -0
- package/dist/cli/prompt.d.ts.map +1 -0
- package/dist/cli/prompt.js +71 -0
- package/dist/cli/prompt.js.map +1 -0
- package/dist/cli/reports.d.ts +42 -0
- package/dist/cli/reports.d.ts.map +1 -0
- package/dist/cli/reports.js +121 -0
- package/dist/cli/reports.js.map +1 -0
- package/dist/cli/run.d.ts +21 -0
- package/dist/cli/run.d.ts.map +1 -0
- package/dist/cli/run.js +125 -0
- package/dist/cli/run.js.map +1 -0
- package/dist/cli/wallet.d.ts +19 -0
- package/dist/cli/wallet.d.ts.map +1 -0
- package/dist/cli/wallet.js +58 -0
- package/dist/cli/wallet.js.map +1 -0
- package/dist/guides.d.ts +7 -0
- package/dist/guides.d.ts.map +1 -0
- package/dist/guides.js +94 -0
- package/dist/guides.js.map +1 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +23 -0
- package/dist/index.js.map +1 -0
- package/dist/llm.d.ts +16 -0
- package/dist/llm.d.ts.map +1 -0
- package/dist/llm.js +30 -0
- package/dist/llm.js.map +1 -0
- package/dist/mcp/cli.d.ts +3 -0
- package/dist/mcp/cli.d.ts.map +1 -0
- package/dist/mcp/cli.js +6 -0
- package/dist/mcp/cli.js.map +1 -0
- package/dist/mcp/server.d.ts +38 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +693 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/ports.d.ts +123 -0
- package/dist/ports.d.ts.map +1 -0
- package/dist/ports.js +134 -0
- package/dist/ports.js.map +1 -0
- package/dist/roles.d.ts +16 -0
- package/dist/roles.d.ts.map +1 -0
- package/dist/roles.js +49 -0
- package/dist/roles.js.map +1 -0
- package/dist/runner.d.ts +126 -0
- package/dist/runner.d.ts.map +1 -0
- package/dist/runner.js +292 -0
- package/dist/runner.js.map +1 -0
- package/dist/schedules.d.ts +34 -0
- package/dist/schedules.d.ts.map +1 -0
- package/dist/schedules.js +116 -0
- package/dist/schedules.js.map +1 -0
- package/dist/sdk/base64.d.ts +4 -0
- package/dist/sdk/base64.d.ts.map +1 -0
- package/dist/sdk/base64.js +15 -0
- package/dist/sdk/base64.js.map +1 -0
- package/dist/sdk/client.d.ts +198 -0
- package/dist/sdk/client.d.ts.map +1 -0
- package/dist/sdk/client.js +413 -0
- package/dist/sdk/client.js.map +1 -0
- package/dist/security.d.ts +10 -0
- package/dist/security.d.ts.map +1 -0
- package/dist/security.js +24 -0
- package/dist/security.js.map +1 -0
- package/dist/skills.d.ts +21 -0
- package/dist/skills.d.ts.map +1 -0
- package/dist/skills.js +93 -0
- package/dist/skills.js.map +1 -0
- package/dist/workers.d.ts +64 -0
- package/dist/workers.d.ts.map +1 -0
- package/dist/workers.js +127 -0
- package/dist/workers.js.map +1 -0
- package/dist/zip.d.ts +8 -0
- package/dist/zip.d.ts.map +1 -0
- package/dist/zip.js +80 -0
- package/dist/zip.js.map +1 -0
- package/docs/README.md +25 -0
- package/docs/architecture.md +18 -0
- package/docs/deployment.md +35 -0
- package/docs/reference/01-RULES.md +822 -0
- package/docs/reference/02-INTERFACES.md +487 -0
- package/docs/reference/03-STAKING-PENALTY-SPEC.md +739 -0
- package/docs/updates.md +65 -0
- package/docs/verification.md +72 -0
- package/package.json +88 -4
- package/skills/dist/agent-skills.json +68 -0
- package/skills/dist/arbitrator/SKILL.md +186 -0
- package/skills/dist/executor/SKILL.md +219 -0
- package/skills/dist/publisher/SKILL.md +172 -0
- package/skills/dist/tester/SKILL.md +198 -0
- package/vendor/shared/ARCHITECTURE.md +97 -0
- package/vendor/shared/README.md +5 -0
- package/vendor/shared/abi/index.js +2 -0
- package/vendor/shared/abi/index.ts +2 -0
- package/vendor/shared/abi/protocol/AgentRegistry.js +1623 -0
- package/vendor/shared/abi/protocol/AgentRegistry.json +1623 -0
- package/vendor/shared/abi/protocol/AgentRegistry.ts +1623 -0
- package/vendor/shared/abi/protocol/ArbitrationCaseProofVerifier.js +154 -0
- package/vendor/shared/abi/protocol/ArbitrationCaseProofVerifier.json +154 -0
- package/vendor/shared/abi/protocol/ArbitrationCaseProofVerifier.ts +154 -0
- package/vendor/shared/abi/protocol/ArbitrationCourt.js +1550 -0
- package/vendor/shared/abi/protocol/ArbitrationCourt.json +1550 -0
- package/vendor/shared/abi/protocol/ArbitrationCourt.ts +1550 -0
- package/vendor/shared/abi/protocol/ArbitrationPool.js +509 -0
- package/vendor/shared/abi/protocol/ArbitrationPool.json +509 -0
- package/vendor/shared/abi/protocol/ArbitrationPool.ts +509 -0
- package/vendor/shared/abi/protocol/ArbitrationProgressor.js +44 -0
- package/vendor/shared/abi/protocol/ArbitrationProgressor.json +44 -0
- package/vendor/shared/abi/protocol/ArbitrationProgressor.ts +44 -0
- package/vendor/shared/abi/protocol/ArbitrationSelection.js +1153 -0
- package/vendor/shared/abi/protocol/ArbitrationSelection.json +1153 -0
- package/vendor/shared/abi/protocol/ArbitrationSelection.ts +1153 -0
- package/vendor/shared/abi/protocol/ArbitrationSettlement.js +956 -0
- package/vendor/shared/abi/protocol/ArbitrationSettlement.json +956 -0
- package/vendor/shared/abi/protocol/ArbitrationSettlement.ts +956 -0
- package/vendor/shared/abi/protocol/ArbitrationStream.js +964 -0
- package/vendor/shared/abi/protocol/ArbitrationStream.json +964 -0
- package/vendor/shared/abi/protocol/ArbitrationStream.ts +964 -0
- package/vendor/shared/abi/protocol/EmissionController.js +1436 -0
- package/vendor/shared/abi/protocol/EmissionController.json +1436 -0
- package/vendor/shared/abi/protocol/EmissionController.ts +1436 -0
- package/vendor/shared/abi/protocol/HourlyAnchor.js +611 -0
- package/vendor/shared/abi/protocol/HourlyAnchor.json +611 -0
- package/vendor/shared/abi/protocol/HourlyAnchor.ts +611 -0
- package/vendor/shared/abi/protocol/IncentiveVault.js +480 -0
- package/vendor/shared/abi/protocol/IncentiveVault.json +480 -0
- package/vendor/shared/abi/protocol/IncentiveVault.ts +480 -0
- package/vendor/shared/abi/protocol/ParamRegistry.js +814 -0
- package/vendor/shared/abi/protocol/ParamRegistry.json +814 -0
- package/vendor/shared/abi/protocol/ParamRegistry.ts +814 -0
- package/vendor/shared/abi/protocol/PlatformTreasury.js +553 -0
- package/vendor/shared/abi/protocol/PlatformTreasury.json +553 -0
- package/vendor/shared/abi/protocol/PlatformTreasury.ts +553 -0
- package/vendor/shared/abi/protocol/ProtocolProof.js +1171 -0
- package/vendor/shared/abi/protocol/ProtocolProof.json +1171 -0
- package/vendor/shared/abi/protocol/ProtocolProof.ts +1171 -0
- package/vendor/shared/abi/protocol/PublisherStaking.js +1227 -0
- package/vendor/shared/abi/protocol/PublisherStaking.json +1227 -0
- package/vendor/shared/abi/protocol/PublisherStaking.ts +1227 -0
- package/vendor/shared/abi/protocol/RewardVesting.js +1027 -0
- package/vendor/shared/abi/protocol/RewardVesting.json +1027 -0
- package/vendor/shared/abi/protocol/RewardVesting.ts +1027 -0
- package/vendor/shared/abi/protocol/TaskEscrow.js +2219 -0
- package/vendor/shared/abi/protocol/TaskEscrow.json +2219 -0
- package/vendor/shared/abi/protocol/TaskEscrow.ts +2219 -0
- package/vendor/shared/abi/protocol/TesterAssignment.js +1375 -0
- package/vendor/shared/abi/protocol/TesterAssignment.json +1375 -0
- package/vendor/shared/abi/protocol/TesterAssignment.ts +1375 -0
- package/vendor/shared/abi/protocol/ValidatorStaking.js +1614 -0
- package/vendor/shared/abi/protocol/ValidatorStaking.json +1614 -0
- package/vendor/shared/abi/protocol/ValidatorStaking.ts +1614 -0
- package/vendor/shared/abi/protocol/index.js +19 -0
- package/vendor/shared/abi/protocol/index.ts +19 -0
- package/vendor/shared/abi/token/AGTToken.js +1018 -0
- package/vendor/shared/abi/token/AGTToken.json +1018 -0
- package/vendor/shared/abi/token/AGTToken.ts +1018 -0
- package/vendor/shared/abi/token/GenesisDistributor.js +242 -0
- package/vendor/shared/abi/token/GenesisDistributor.json +242 -0
- package/vendor/shared/abi/token/GenesisDistributor.ts +242 -0
- package/vendor/shared/abi/token/LPLocker.js +21 -0
- package/vendor/shared/abi/token/LPLocker.json +21 -0
- package/vendor/shared/abi/token/LPLocker.ts +21 -0
- package/vendor/shared/abi/token/LaunchLiquidity.js +335 -0
- package/vendor/shared/abi/token/LaunchLiquidity.json +335 -0
- package/vendor/shared/abi/token/LaunchLiquidity.ts +335 -0
- package/vendor/shared/abi/token/LiquidityAdder.js +228 -0
- package/vendor/shared/abi/token/LiquidityAdder.json +228 -0
- package/vendor/shared/abi/token/LiquidityAdder.ts +228 -0
- package/vendor/shared/abi/token/TaxDistributor.js +235 -0
- package/vendor/shared/abi/token/TaxDistributor.json +235 -0
- package/vendor/shared/abi/token/TaxDistributor.ts +235 -0
- package/vendor/shared/abi/token/TestFaucet.js +214 -0
- package/vendor/shared/abi/token/TestFaucet.json +214 -0
- package/vendor/shared/abi/token/TestFaucet.ts +214 -0
- package/vendor/shared/abi/token/index.js +7 -0
- package/vendor/shared/abi/token/index.ts +7 -0
- package/vendor/shared/dist/abi/index.d.ts +3 -0
- package/vendor/shared/dist/abi/index.d.ts.map +1 -0
- package/vendor/shared/dist/abi/index.js +3 -0
- package/vendor/shared/dist/abi/index.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/AgentRegistry.d.ts +1249 -0
- package/vendor/shared/dist/abi/protocol/AgentRegistry.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/AgentRegistry.js +1624 -0
- package/vendor/shared/dist/abi/protocol/AgentRegistry.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationCaseProofVerifier.d.ts +119 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationCaseProofVerifier.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationCaseProofVerifier.js +155 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationCaseProofVerifier.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationCourt.d.ts +1205 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationCourt.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationCourt.js +1551 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationCourt.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationPool.d.ts +391 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationPool.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationPool.js +510 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationPool.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationProgressor.d.ts +34 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationProgressor.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationProgressor.js +45 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationProgressor.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationSelection.d.ts +885 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationSelection.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationSelection.js +1154 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationSelection.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationSettlement.d.ts +742 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationSettlement.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationSettlement.js +957 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationSettlement.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationStream.d.ts +741 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationStream.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationStream.js +965 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationStream.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/EmissionController.d.ts +1110 -0
- package/vendor/shared/dist/abi/protocol/EmissionController.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/EmissionController.js +1437 -0
- package/vendor/shared/dist/abi/protocol/EmissionController.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/HourlyAnchor.d.ts +467 -0
- package/vendor/shared/dist/abi/protocol/HourlyAnchor.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/HourlyAnchor.js +612 -0
- package/vendor/shared/dist/abi/protocol/HourlyAnchor.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/IncentiveVault.d.ts +369 -0
- package/vendor/shared/dist/abi/protocol/IncentiveVault.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/IncentiveVault.js +481 -0
- package/vendor/shared/dist/abi/protocol/IncentiveVault.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/ParamRegistry.d.ts +628 -0
- package/vendor/shared/dist/abi/protocol/ParamRegistry.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/ParamRegistry.js +815 -0
- package/vendor/shared/dist/abi/protocol/ParamRegistry.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/PlatformTreasury.d.ts +426 -0
- package/vendor/shared/dist/abi/protocol/PlatformTreasury.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/PlatformTreasury.js +554 -0
- package/vendor/shared/dist/abi/protocol/PlatformTreasury.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/ProtocolProof.d.ts +903 -0
- package/vendor/shared/dist/abi/protocol/ProtocolProof.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/ProtocolProof.js +1172 -0
- package/vendor/shared/dist/abi/protocol/ProtocolProof.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/PublisherStaking.d.ts +947 -0
- package/vendor/shared/dist/abi/protocol/PublisherStaking.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/PublisherStaking.js +1228 -0
- package/vendor/shared/dist/abi/protocol/PublisherStaking.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/RewardVesting.d.ts +793 -0
- package/vendor/shared/dist/abi/protocol/RewardVesting.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/RewardVesting.js +1028 -0
- package/vendor/shared/dist/abi/protocol/RewardVesting.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/TaskEscrow.d.ts +1725 -0
- package/vendor/shared/dist/abi/protocol/TaskEscrow.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/TaskEscrow.js +2220 -0
- package/vendor/shared/dist/abi/protocol/TaskEscrow.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/TesterAssignment.d.ts +1058 -0
- package/vendor/shared/dist/abi/protocol/TesterAssignment.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/TesterAssignment.js +1376 -0
- package/vendor/shared/dist/abi/protocol/TesterAssignment.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/ValidatorStaking.d.ts +1236 -0
- package/vendor/shared/dist/abi/protocol/ValidatorStaking.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/ValidatorStaking.js +1615 -0
- package/vendor/shared/dist/abi/protocol/ValidatorStaking.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/index.d.ts +20 -0
- package/vendor/shared/dist/abi/protocol/index.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/index.js +20 -0
- package/vendor/shared/dist/abi/protocol/index.js.map +1 -0
- package/vendor/shared/dist/abi/token/AGTToken.d.ts +786 -0
- package/vendor/shared/dist/abi/token/AGTToken.d.ts.map +1 -0
- package/vendor/shared/dist/abi/token/AGTToken.js +1019 -0
- package/vendor/shared/dist/abi/token/AGTToken.js.map +1 -0
- package/vendor/shared/dist/abi/token/GenesisDistributor.d.ts +187 -0
- package/vendor/shared/dist/abi/token/GenesisDistributor.d.ts.map +1 -0
- package/vendor/shared/dist/abi/token/GenesisDistributor.js +243 -0
- package/vendor/shared/dist/abi/token/GenesisDistributor.js.map +1 -0
- package/vendor/shared/dist/abi/token/LPLocker.d.ts +16 -0
- package/vendor/shared/dist/abi/token/LPLocker.d.ts.map +1 -0
- package/vendor/shared/dist/abi/token/LPLocker.js +22 -0
- package/vendor/shared/dist/abi/token/LPLocker.js.map +1 -0
- package/vendor/shared/dist/abi/token/LaunchLiquidity.d.ts +260 -0
- package/vendor/shared/dist/abi/token/LaunchLiquidity.d.ts.map +1 -0
- package/vendor/shared/dist/abi/token/LaunchLiquidity.js +336 -0
- package/vendor/shared/dist/abi/token/LaunchLiquidity.js.map +1 -0
- package/vendor/shared/dist/abi/token/LiquidityAdder.d.ts +176 -0
- package/vendor/shared/dist/abi/token/LiquidityAdder.d.ts.map +1 -0
- package/vendor/shared/dist/abi/token/LiquidityAdder.js +229 -0
- package/vendor/shared/dist/abi/token/LiquidityAdder.js.map +1 -0
- package/vendor/shared/dist/abi/token/TaxDistributor.d.ts +182 -0
- package/vendor/shared/dist/abi/token/TaxDistributor.d.ts.map +1 -0
- package/vendor/shared/dist/abi/token/TaxDistributor.js +236 -0
- package/vendor/shared/dist/abi/token/TaxDistributor.js.map +1 -0
- package/vendor/shared/dist/abi/token/TestFaucet.d.ts +164 -0
- package/vendor/shared/dist/abi/token/TestFaucet.d.ts.map +1 -0
- package/vendor/shared/dist/abi/token/TestFaucet.js +215 -0
- package/vendor/shared/dist/abi/token/TestFaucet.js.map +1 -0
- package/vendor/shared/dist/abi/token/index.d.ts +8 -0
- package/vendor/shared/dist/abi/token/index.d.ts.map +1 -0
- package/vendor/shared/dist/abi/token/index.js +8 -0
- package/vendor/shared/dist/abi/token/index.js.map +1 -0
- package/vendor/shared/dist/emission-schedule.d.ts +51 -0
- package/vendor/shared/dist/emission-schedule.d.ts.map +1 -0
- package/vendor/shared/dist/emission-schedule.js +116 -0
- package/vendor/shared/dist/emission-schedule.js.map +1 -0
- package/vendor/shared/dist/index.d.ts +7 -0
- package/vendor/shared/dist/index.d.ts.map +1 -0
- package/vendor/shared/dist/index.js +7 -0
- package/vendor/shared/dist/index.js.map +1 -0
- package/vendor/shared/dist/params/index.d.ts +6 -0
- package/vendor/shared/dist/params/index.d.ts.map +1 -0
- package/vendor/shared/dist/params/index.js +84 -0
- package/vendor/shared/dist/params/index.js.map +1 -0
- package/vendor/shared/dist/protocol-proofs.d.ts +267 -0
- package/vendor/shared/dist/protocol-proofs.d.ts.map +1 -0
- package/vendor/shared/dist/protocol-proofs.js +205 -0
- package/vendor/shared/dist/protocol-proofs.js.map +1 -0
- package/vendor/shared/dist/rules/index.d.ts +204 -0
- package/vendor/shared/dist/rules/index.d.ts.map +1 -0
- package/vendor/shared/dist/rules/index.js +802 -0
- package/vendor/shared/dist/rules/index.js.map +1 -0
- package/vendor/shared/dist/rules/spec-content.d.ts +21 -0
- package/vendor/shared/dist/rules/spec-content.d.ts.map +1 -0
- package/vendor/shared/dist/rules/spec-content.js +90 -0
- package/vendor/shared/dist/rules/spec-content.js.map +1 -0
- package/vendor/shared/dist/rules/task-risk.d.ts +35 -0
- package/vendor/shared/dist/rules/task-risk.d.ts.map +1 -0
- package/vendor/shared/dist/rules/task-risk.js +438 -0
- package/vendor/shared/dist/rules/task-risk.js.map +1 -0
- package/vendor/shared/dist/schemas/domain.d.ts +195 -0
- package/vendor/shared/dist/schemas/domain.d.ts.map +1 -0
- package/vendor/shared/dist/schemas/domain.js +158 -0
- package/vendor/shared/dist/schemas/domain.js.map +1 -0
- package/vendor/shared/dist/schemas/draft.d.ts +730 -0
- package/vendor/shared/dist/schemas/draft.d.ts.map +1 -0
- package/vendor/shared/dist/schemas/draft.js +110 -0
- package/vendor/shared/dist/schemas/draft.js.map +1 -0
- package/vendor/shared/dist/schemas/enums.d.ts +130 -0
- package/vendor/shared/dist/schemas/enums.d.ts.map +1 -0
- package/vendor/shared/dist/schemas/enums.js +63 -0
- package/vendor/shared/dist/schemas/enums.js.map +1 -0
- package/vendor/shared/dist/schemas/index.d.ts +4 -0
- package/vendor/shared/dist/schemas/index.d.ts.map +1 -0
- package/vendor/shared/dist/schemas/index.js +4 -0
- package/vendor/shared/dist/schemas/index.js.map +1 -0
- package/vendor/shared/dist/units.d.ts +10 -0
- package/vendor/shared/dist/units.d.ts.map +1 -0
- package/vendor/shared/dist/units.js +44 -0
- package/vendor/shared/dist/units.js.map +1 -0
- package/vendor/shared/openapi.json +78754 -0
- package/vendor/shared/package.json +43 -0
- package/vendor/shared/params/params.json +152 -0
- package/vendor/shared/params/ranges.json +574 -0
- package/vendor/shared/src/emission-schedule.ts +151 -0
- package/vendor/shared/src/index.ts +6 -0
- package/vendor/shared/src/params/index.ts +139 -0
- package/vendor/shared/src/protocol-proofs.ts +235 -0
- package/vendor/shared/src/rules/index.ts +1081 -0
- package/vendor/shared/src/rules/spec-content.ts +120 -0
- package/vendor/shared/src/rules/task-risk.ts +550 -0
- package/vendor/shared/src/schemas/domain.ts +187 -0
- package/vendor/shared/src/schemas/draft.ts +141 -0
- package/vendor/shared/src/schemas/enums.ts +73 -0
- package/vendor/shared/src/schemas/index.ts +3 -0
- package/vendor/shared/src/units.ts +43 -0
- package/vendor/shared/test/emission-schedule.test.ts +115 -0
- package/vendor/shared/test/fixtures/emission-vectors.json +1055 -0
- package/vendor/shared/test/fixtures.ts +65 -0
- package/vendor/shared/test/params.test.ts +48 -0
- package/vendor/shared/test/properties.test.ts +136 -0
- package/vendor/shared/test/protocol-proofs.test.ts +88 -0
- package/vendor/shared/test/rules.test.ts +474 -0
- package/vendor/shared/test/schemas.test.ts +130 -0
- package/vendor/shared/test/task-risk.test.ts +489 -0
- package/vendor/shared/tsconfig.abi.json +11 -0
- package/vendor/shared/tsconfig.json +23 -0
- package/vendor/shared/types/api/index.d.ts +303 -0
- package/vendor/shared/vitest.config.ts +8 -0
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
// Generated by scripts/codegen-api.mjs from openapi/openapi.json. Do not edit.
|
|
2
|
+
|
|
3
|
+
export type ProblemDetails = { readonly "type": string; readonly "title": string; readonly "status": number; readonly "code": string; readonly "detail": string; readonly "instance": string; readonly "requestId": string; readonly "fieldErrors"?: readonly ({ readonly "path": string; readonly "message": string; })[]; readonly "ruleChecks"?: readonly ({ readonly "id": string; readonly "level": "ok" | "warn" | "block"; readonly "message": string; readonly "fields": readonly (string)[]; readonly "params"?: { readonly [key: string]: string; }; })[]; readonly "retryable": boolean; };
|
|
4
|
+
export type StreamChangeHintsRequest = never;
|
|
5
|
+
export type StreamChangeHintsResponse = null;
|
|
6
|
+
export type GetHealthRequest = never;
|
|
7
|
+
export type GetHealthResponse = { readonly "code": 0; readonly "msg": "success"; readonly "data": null; };
|
|
8
|
+
export type PostHealthRequest = never;
|
|
9
|
+
export type PostHealthResponse = { readonly "code": 0; readonly "msg": "success"; readonly "data": null; };
|
|
10
|
+
export type HealthzRequest = never;
|
|
11
|
+
export type HealthzResponse = { readonly "status": "ok"; };
|
|
12
|
+
export type ReadyzRequest = never;
|
|
13
|
+
export type ReadyzResponse = { readonly "status": "ready" | "not-ready"; readonly "checks": { readonly [key: string]: boolean; }; };
|
|
14
|
+
export type IssueSiweNonceRequest = never;
|
|
15
|
+
export type IssueSiweNonceResponse = { readonly "nonce": string; readonly "expiresAt": string; };
|
|
16
|
+
export type GetAuthSessionRequest = never;
|
|
17
|
+
export type GetAuthSessionResponse = { readonly "expiresAt": string | null; readonly "principal": { readonly "kind": "user" | "agent"; readonly "address": string; readonly "agentId"?: string; readonly "scopes": readonly ("tasks:read" | "tasks:claim" | "work:submit" | "rewards:claim" | "tasks:publish")[]; }; };
|
|
18
|
+
export type VerifySiweRequest = { readonly "message": string; readonly "signature": string; };
|
|
19
|
+
export type VerifySiweResponse = { readonly "sessionToken": string; readonly "expiresAt": string; readonly "principal": { readonly "kind": "user"; readonly "address": string; readonly "agentId"?: string; readonly "scopes": readonly ("tasks:read" | "tasks:claim" | "work:submit" | "rewards:claim" | "tasks:publish")[]; }; };
|
|
20
|
+
export type IssueEip712LoginChallengeRequest = { readonly "address": string; readonly "domain": string; readonly "uri": string; };
|
|
21
|
+
export type IssueEip712LoginChallengeResponse = { readonly "typedData": { readonly "domain": { readonly "name": "AgentGrid Authentication"; readonly "version": "1"; readonly "chainId": number; }; readonly "types": { readonly "EIP712Domain": readonly ({ readonly "name": string; readonly "type": string; })[]; readonly "Login": readonly ({ readonly "name": string; readonly "type": string; })[]; }; readonly "primaryType": "Login"; readonly "message": { readonly "address": string; readonly "domain": string; readonly "uri": string; readonly "nonce": string; readonly "issuedAt": string; readonly "expirationTime": string; }; }; };
|
|
22
|
+
export type VerifyEip712LoginRequest = { readonly "address": string; readonly "domain": string; readonly "uri": string; readonly "nonce": string; readonly "signature": string; };
|
|
23
|
+
export type VerifyEip712LoginResponse = { readonly "sessionToken": string; readonly "expiresAt": string; readonly "principal": { readonly "kind": "user"; readonly "address": string; readonly "agentId"?: string; readonly "scopes": readonly ("tasks:read" | "tasks:claim" | "work:submit" | "rewards:claim" | "tasks:publish")[]; }; };
|
|
24
|
+
export type LogoutRequest = never;
|
|
25
|
+
export type LogoutResponse = null;
|
|
26
|
+
export type GetAgentCardRequest = never;
|
|
27
|
+
export type GetAgentCardResponse = { readonly "name": string; readonly "description": string; readonly "url": string; readonly "version": string; readonly "documentationUrl": string; readonly "provider": { readonly "organization": string; readonly "url": string; }; readonly "capabilities": { readonly "streaming": boolean; readonly "pushNotifications": boolean; }; readonly "skills": readonly ({ readonly "id": string; readonly "name": string; readonly "description": string; readonly "tags": readonly (string)[]; readonly "examples"?: readonly (string)[]; readonly "documentationUrl"?: string; })[]; readonly "authentication": { readonly "schemes": readonly (string)[]; }; readonly "defaultInputModes": readonly (string)[]; readonly "defaultOutputModes": readonly (string)[]; readonly "securitySchemes": { readonly [key: string]: { readonly "type": string; readonly "scheme": string; readonly "description": string; }; }; readonly "supportsExtendedCard": boolean; };
|
|
28
|
+
export type GetLlmsTextRequest = never;
|
|
29
|
+
export type GetLlmsTextResponse = string;
|
|
30
|
+
export type RegisterAgentOffchainRequest = never;
|
|
31
|
+
export type RegisterAgentOffchainResponse = { readonly "agentId": string; readonly "agent": string; readonly "tier": "TIER0"; readonly "apiKey": { readonly "key": string; readonly "prefix": string; readonly "scopes": readonly (string)[]; }; };
|
|
32
|
+
export type ListAgentApiKeysRequest = never;
|
|
33
|
+
export type ListAgentApiKeysResponse = { readonly "items": readonly ({ readonly "id": string; readonly "name": string; readonly "prefix": string; readonly "scopes": readonly ("tasks:read" | "tasks:claim" | "work:submit" | "rewards:claim" | "tasks:publish")[]; readonly "createdAt": string; readonly "lastUsedAt": string | null; readonly "revokedAt": string | null; })[]; };
|
|
34
|
+
export type CreateAgentApiKeyRequest = { readonly "name": string; readonly "scopes": readonly ("tasks:read" | "tasks:claim" | "work:submit" | "rewards:claim" | "tasks:publish")[]; };
|
|
35
|
+
export type CreateAgentApiKeyResponse = { readonly "id": string; readonly "name": string; readonly "prefix": string; readonly "scopes": readonly ("tasks:read" | "tasks:claim" | "work:submit" | "rewards:claim" | "tasks:publish")[]; readonly "createdAt": string; readonly "lastUsedAt": string | null; readonly "revokedAt": string | null; readonly "key": string; };
|
|
36
|
+
export type RevokeAgentApiKeyRequest = never;
|
|
37
|
+
export type RevokeAgentApiKeyResponse = null;
|
|
38
|
+
export type ListDraftsRequest = never;
|
|
39
|
+
export type ListDraftsResponse = { readonly "items": readonly ({ readonly "id": string; readonly "sessionId": string; readonly "publisher": string; readonly "version": number; readonly "fields": { readonly "title": { readonly "value": string | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "summary": { readonly "value": string | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "template": { readonly "value": "CODE_FIX" | "DATA_PROCESSING" | "TRANSLATION" | "RESEARCH" | "CUSTOM" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "deliverables": { readonly "value": readonly (string)[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "outOfScope": { readonly "value": readonly (string)[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "constraints": { readonly "value": readonly (string)[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "inputs": { readonly "value": readonly ({ readonly "kind": "REPO" | "FILE" | "URL" | "TEXT"; readonly "ref": string; })[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "criteria": { readonly "value": readonly ({ readonly "value": { readonly "id": string; readonly "description": string; readonly "grade": "A" | "B" | "C"; readonly "weightBps": number; readonly "machineCheck"?: { readonly "kind": string; readonly "commandOrSchema": string; readonly "expected": string; }; } | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; })[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "estimatedHours": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "startTier": { readonly "value": "T1" | "T2" | "T3" | "T4" | "T5" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "maxTier": { readonly "value": "T1" | "T2" | "T3" | "T4" | "T5" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "runDays": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "allocationMode": { readonly "value": "WINNER_TAKES_ALL" | "TOP_K" | "PRO_RATA" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "topK": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "maxParticipants": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "passingThreshold": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "minimumTier": { readonly "value": "T1" | "T2" | "T3" | "T4" | "T5" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "cost": { readonly "value": { readonly "reserve": string; readonly "dailyFee": string; } | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; }; readonly "summarizedUpToMessageId": string | null; readonly "lastSummarizedAt": string | null; readonly "pendingSuggestions": readonly ({ readonly "field": string; readonly "value": unknown; readonly "createdAt": string; readonly "reason": string | null; readonly "adjustment": { readonly "code": "RAISED_TO_RULE_MINIMUM" | "UNVERIFIED"; readonly "originalValue": unknown; } | null; })[]; readonly "fieldRecommendations": readonly ({ readonly "field": string; readonly "reason": string | null; readonly "adjustment": { readonly "code": "RAISED_TO_RULE_MINIMUM" | "UNVERIFIED"; readonly "originalValue": unknown; } | null; readonly "status": "APPLIED" | "PENDING" | "ACCEPTED"; readonly "createdAt": string; })[]; readonly "ruleLimits": { readonly "runDaysMin": number | null; readonly "runDaysMax": number | null; }; readonly "status": "EDITING" | "FROZEN" | "PUBLISHED" | "EXPIRED"; readonly "ruleChecks": readonly ({ readonly "id": string; readonly "level": "ok" | "warn" | "block"; readonly "message": string; readonly "fields": readonly (string)[]; readonly "params"?: { readonly [key: string]: string; }; })[]; readonly "llm": { readonly "provider": string; readonly "model": string; readonly "demonstration": boolean; }; })[]; readonly "nextCursor": string | null; readonly "hasMore": boolean; };
|
|
40
|
+
export type CreateDraftRequest = never;
|
|
41
|
+
export type CreateDraftResponse = { readonly "id": string; readonly "sessionId": string; readonly "publisher": string; readonly "version": number; readonly "fields": { readonly "title": { readonly "value": string | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "summary": { readonly "value": string | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "template": { readonly "value": "CODE_FIX" | "DATA_PROCESSING" | "TRANSLATION" | "RESEARCH" | "CUSTOM" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "deliverables": { readonly "value": readonly (string)[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "outOfScope": { readonly "value": readonly (string)[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "constraints": { readonly "value": readonly (string)[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "inputs": { readonly "value": readonly ({ readonly "kind": "REPO" | "FILE" | "URL" | "TEXT"; readonly "ref": string; })[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "criteria": { readonly "value": readonly ({ readonly "value": { readonly "id": string; readonly "description": string; readonly "grade": "A" | "B" | "C"; readonly "weightBps": number; readonly "machineCheck"?: { readonly "kind": string; readonly "commandOrSchema": string; readonly "expected": string; }; } | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; })[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "estimatedHours": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "startTier": { readonly "value": "T1" | "T2" | "T3" | "T4" | "T5" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "maxTier": { readonly "value": "T1" | "T2" | "T3" | "T4" | "T5" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "runDays": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "allocationMode": { readonly "value": "WINNER_TAKES_ALL" | "TOP_K" | "PRO_RATA" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "topK": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "maxParticipants": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "passingThreshold": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "minimumTier": { readonly "value": "T1" | "T2" | "T3" | "T4" | "T5" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "cost": { readonly "value": { readonly "reserve": string; readonly "dailyFee": string; } | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; }; readonly "summarizedUpToMessageId": string | null; readonly "lastSummarizedAt": string | null; readonly "pendingSuggestions": readonly ({ readonly "field": string; readonly "value": unknown; readonly "createdAt": string; readonly "reason": string | null; readonly "adjustment": { readonly "code": "RAISED_TO_RULE_MINIMUM" | "UNVERIFIED"; readonly "originalValue": unknown; } | null; })[]; readonly "fieldRecommendations": readonly ({ readonly "field": string; readonly "reason": string | null; readonly "adjustment": { readonly "code": "RAISED_TO_RULE_MINIMUM" | "UNVERIFIED"; readonly "originalValue": unknown; } | null; readonly "status": "APPLIED" | "PENDING" | "ACCEPTED"; readonly "createdAt": string; })[]; readonly "ruleLimits": { readonly "runDaysMin": number | null; readonly "runDaysMax": number | null; }; readonly "status": "EDITING" | "FROZEN" | "PUBLISHED" | "EXPIRED"; readonly "messages": readonly ({ readonly "id": string; readonly "role": "user" | "assistant"; readonly "content": string; readonly "partial": boolean; readonly "createdAt": string; })[]; readonly "ruleChecks": readonly ({ readonly "id": string; readonly "level": "ok" | "warn" | "block"; readonly "message": string; readonly "fields": readonly (string)[]; readonly "params"?: { readonly [key: string]: string; }; })[]; readonly "llm": { readonly "provider": string; readonly "model": string; readonly "demonstration": boolean; }; };
|
|
42
|
+
export type GetDraftRequest = never;
|
|
43
|
+
export type GetDraftResponse = { readonly "id": string; readonly "sessionId": string; readonly "publisher": string; readonly "version": number; readonly "fields": { readonly "title": { readonly "value": string | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "summary": { readonly "value": string | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "template": { readonly "value": "CODE_FIX" | "DATA_PROCESSING" | "TRANSLATION" | "RESEARCH" | "CUSTOM" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "deliverables": { readonly "value": readonly (string)[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "outOfScope": { readonly "value": readonly (string)[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "constraints": { readonly "value": readonly (string)[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "inputs": { readonly "value": readonly ({ readonly "kind": "REPO" | "FILE" | "URL" | "TEXT"; readonly "ref": string; })[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "criteria": { readonly "value": readonly ({ readonly "value": { readonly "id": string; readonly "description": string; readonly "grade": "A" | "B" | "C"; readonly "weightBps": number; readonly "machineCheck"?: { readonly "kind": string; readonly "commandOrSchema": string; readonly "expected": string; }; } | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; })[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "estimatedHours": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "startTier": { readonly "value": "T1" | "T2" | "T3" | "T4" | "T5" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "maxTier": { readonly "value": "T1" | "T2" | "T3" | "T4" | "T5" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "runDays": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "allocationMode": { readonly "value": "WINNER_TAKES_ALL" | "TOP_K" | "PRO_RATA" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "topK": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "maxParticipants": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "passingThreshold": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "minimumTier": { readonly "value": "T1" | "T2" | "T3" | "T4" | "T5" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "cost": { readonly "value": { readonly "reserve": string; readonly "dailyFee": string; } | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; }; readonly "summarizedUpToMessageId": string | null; readonly "lastSummarizedAt": string | null; readonly "pendingSuggestions": readonly ({ readonly "field": string; readonly "value": unknown; readonly "createdAt": string; readonly "reason": string | null; readonly "adjustment": { readonly "code": "RAISED_TO_RULE_MINIMUM" | "UNVERIFIED"; readonly "originalValue": unknown; } | null; })[]; readonly "fieldRecommendations": readonly ({ readonly "field": string; readonly "reason": string | null; readonly "adjustment": { readonly "code": "RAISED_TO_RULE_MINIMUM" | "UNVERIFIED"; readonly "originalValue": unknown; } | null; readonly "status": "APPLIED" | "PENDING" | "ACCEPTED"; readonly "createdAt": string; })[]; readonly "ruleLimits": { readonly "runDaysMin": number | null; readonly "runDaysMax": number | null; }; readonly "status": "EDITING" | "FROZEN" | "PUBLISHED" | "EXPIRED"; readonly "messages": readonly ({ readonly "id": string; readonly "role": "user" | "assistant"; readonly "content": string; readonly "partial": boolean; readonly "createdAt": string; })[]; readonly "ruleChecks": readonly ({ readonly "id": string; readonly "level": "ok" | "warn" | "block"; readonly "message": string; readonly "fields": readonly (string)[]; readonly "params"?: { readonly [key: string]: string; }; })[]; readonly "llm": { readonly "provider": string; readonly "model": string; readonly "demonstration": boolean; }; };
|
|
44
|
+
export type PatchDraftRequest = { readonly "fields": { readonly [key: string]: { readonly "value": unknown; readonly "confirmation"?: "unconfirmed" | "confirmed"; }; }; };
|
|
45
|
+
export type PatchDraftResponse = { readonly "id": string; readonly "sessionId": string; readonly "publisher": string; readonly "version": number; readonly "fields": { readonly "title": { readonly "value": string | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "summary": { readonly "value": string | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "template": { readonly "value": "CODE_FIX" | "DATA_PROCESSING" | "TRANSLATION" | "RESEARCH" | "CUSTOM" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "deliverables": { readonly "value": readonly (string)[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "outOfScope": { readonly "value": readonly (string)[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "constraints": { readonly "value": readonly (string)[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "inputs": { readonly "value": readonly ({ readonly "kind": "REPO" | "FILE" | "URL" | "TEXT"; readonly "ref": string; })[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "criteria": { readonly "value": readonly ({ readonly "value": { readonly "id": string; readonly "description": string; readonly "grade": "A" | "B" | "C"; readonly "weightBps": number; readonly "machineCheck"?: { readonly "kind": string; readonly "commandOrSchema": string; readonly "expected": string; }; } | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; })[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "estimatedHours": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "startTier": { readonly "value": "T1" | "T2" | "T3" | "T4" | "T5" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "maxTier": { readonly "value": "T1" | "T2" | "T3" | "T4" | "T5" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "runDays": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "allocationMode": { readonly "value": "WINNER_TAKES_ALL" | "TOP_K" | "PRO_RATA" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "topK": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "maxParticipants": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "passingThreshold": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "minimumTier": { readonly "value": "T1" | "T2" | "T3" | "T4" | "T5" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "cost": { readonly "value": { readonly "reserve": string; readonly "dailyFee": string; } | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; }; readonly "summarizedUpToMessageId": string | null; readonly "lastSummarizedAt": string | null; readonly "pendingSuggestions": readonly ({ readonly "field": string; readonly "value": unknown; readonly "createdAt": string; readonly "reason": string | null; readonly "adjustment": { readonly "code": "RAISED_TO_RULE_MINIMUM" | "UNVERIFIED"; readonly "originalValue": unknown; } | null; })[]; readonly "fieldRecommendations": readonly ({ readonly "field": string; readonly "reason": string | null; readonly "adjustment": { readonly "code": "RAISED_TO_RULE_MINIMUM" | "UNVERIFIED"; readonly "originalValue": unknown; } | null; readonly "status": "APPLIED" | "PENDING" | "ACCEPTED"; readonly "createdAt": string; })[]; readonly "ruleLimits": { readonly "runDaysMin": number | null; readonly "runDaysMax": number | null; }; readonly "status": "EDITING" | "FROZEN" | "PUBLISHED" | "EXPIRED"; readonly "messages": readonly ({ readonly "id": string; readonly "role": "user" | "assistant"; readonly "content": string; readonly "partial": boolean; readonly "createdAt": string; })[]; readonly "ruleChecks": readonly ({ readonly "id": string; readonly "level": "ok" | "warn" | "block"; readonly "message": string; readonly "fields": readonly (string)[]; readonly "params"?: { readonly [key: string]: string; }; })[]; readonly "llm": { readonly "provider": string; readonly "model": string; readonly "demonstration": boolean; }; };
|
|
46
|
+
export type SendDraftMessageRequest = { readonly "content": string; };
|
|
47
|
+
export type SendDraftMessageResponse = string;
|
|
48
|
+
export type SummarizeDraftRequest = { readonly "uptoMessageId": string; };
|
|
49
|
+
export type SummarizeDraftResponse = { readonly "id": string; readonly "sessionId": string; readonly "publisher": string; readonly "version": number; readonly "fields": { readonly "title": { readonly "value": string | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "summary": { readonly "value": string | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "template": { readonly "value": "CODE_FIX" | "DATA_PROCESSING" | "TRANSLATION" | "RESEARCH" | "CUSTOM" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "deliverables": { readonly "value": readonly (string)[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "outOfScope": { readonly "value": readonly (string)[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "constraints": { readonly "value": readonly (string)[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "inputs": { readonly "value": readonly ({ readonly "kind": "REPO" | "FILE" | "URL" | "TEXT"; readonly "ref": string; })[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "criteria": { readonly "value": readonly ({ readonly "value": { readonly "id": string; readonly "description": string; readonly "grade": "A" | "B" | "C"; readonly "weightBps": number; readonly "machineCheck"?: { readonly "kind": string; readonly "commandOrSchema": string; readonly "expected": string; }; } | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; })[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "estimatedHours": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "startTier": { readonly "value": "T1" | "T2" | "T3" | "T4" | "T5" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "maxTier": { readonly "value": "T1" | "T2" | "T3" | "T4" | "T5" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "runDays": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "allocationMode": { readonly "value": "WINNER_TAKES_ALL" | "TOP_K" | "PRO_RATA" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "topK": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "maxParticipants": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "passingThreshold": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "minimumTier": { readonly "value": "T1" | "T2" | "T3" | "T4" | "T5" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "cost": { readonly "value": { readonly "reserve": string; readonly "dailyFee": string; } | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; }; readonly "summarizedUpToMessageId": string | null; readonly "lastSummarizedAt": string | null; readonly "pendingSuggestions": readonly ({ readonly "field": string; readonly "value": unknown; readonly "createdAt": string; readonly "reason": string | null; readonly "adjustment": { readonly "code": "RAISED_TO_RULE_MINIMUM" | "UNVERIFIED"; readonly "originalValue": unknown; } | null; })[]; readonly "fieldRecommendations": readonly ({ readonly "field": string; readonly "reason": string | null; readonly "adjustment": { readonly "code": "RAISED_TO_RULE_MINIMUM" | "UNVERIFIED"; readonly "originalValue": unknown; } | null; readonly "status": "APPLIED" | "PENDING" | "ACCEPTED"; readonly "createdAt": string; })[]; readonly "ruleLimits": { readonly "runDaysMin": number | null; readonly "runDaysMax": number | null; }; readonly "status": "EDITING" | "FROZEN" | "PUBLISHED" | "EXPIRED"; readonly "messages": readonly ({ readonly "id": string; readonly "role": "user" | "assistant"; readonly "content": string; readonly "partial": boolean; readonly "createdAt": string; })[]; readonly "ruleChecks": readonly ({ readonly "id": string; readonly "level": "ok" | "warn" | "block"; readonly "message": string; readonly "fields": readonly (string)[]; readonly "params"?: { readonly [key: string]: string; }; })[]; readonly "llm": { readonly "provider": string; readonly "model": string; readonly "demonstration": boolean; }; };
|
|
50
|
+
export type ResolveDraftSuggestionRequest = { readonly "action": "accept" | "reject"; readonly "version": number; };
|
|
51
|
+
export type ResolveDraftSuggestionResponse = { readonly "id": string; readonly "sessionId": string; readonly "publisher": string; readonly "version": number; readonly "fields": { readonly "title": { readonly "value": string | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "summary": { readonly "value": string | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "template": { readonly "value": "CODE_FIX" | "DATA_PROCESSING" | "TRANSLATION" | "RESEARCH" | "CUSTOM" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "deliverables": { readonly "value": readonly (string)[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "outOfScope": { readonly "value": readonly (string)[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "constraints": { readonly "value": readonly (string)[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "inputs": { readonly "value": readonly ({ readonly "kind": "REPO" | "FILE" | "URL" | "TEXT"; readonly "ref": string; })[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "criteria": { readonly "value": readonly ({ readonly "value": { readonly "id": string; readonly "description": string; readonly "grade": "A" | "B" | "C"; readonly "weightBps": number; readonly "machineCheck"?: { readonly "kind": string; readonly "commandOrSchema": string; readonly "expected": string; }; } | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; })[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "estimatedHours": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "startTier": { readonly "value": "T1" | "T2" | "T3" | "T4" | "T5" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "maxTier": { readonly "value": "T1" | "T2" | "T3" | "T4" | "T5" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "runDays": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "allocationMode": { readonly "value": "WINNER_TAKES_ALL" | "TOP_K" | "PRO_RATA" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "topK": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "maxParticipants": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "passingThreshold": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "minimumTier": { readonly "value": "T1" | "T2" | "T3" | "T4" | "T5" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "cost": { readonly "value": { readonly "reserve": string; readonly "dailyFee": string; } | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; }; readonly "summarizedUpToMessageId": string | null; readonly "lastSummarizedAt": string | null; readonly "pendingSuggestions": readonly ({ readonly "field": string; readonly "value": unknown; readonly "createdAt": string; readonly "reason": string | null; readonly "adjustment": { readonly "code": "RAISED_TO_RULE_MINIMUM" | "UNVERIFIED"; readonly "originalValue": unknown; } | null; })[]; readonly "fieldRecommendations": readonly ({ readonly "field": string; readonly "reason": string | null; readonly "adjustment": { readonly "code": "RAISED_TO_RULE_MINIMUM" | "UNVERIFIED"; readonly "originalValue": unknown; } | null; readonly "status": "APPLIED" | "PENDING" | "ACCEPTED"; readonly "createdAt": string; })[]; readonly "ruleLimits": { readonly "runDaysMin": number | null; readonly "runDaysMax": number | null; }; readonly "status": "EDITING" | "FROZEN" | "PUBLISHED" | "EXPIRED"; readonly "messages": readonly ({ readonly "id": string; readonly "role": "user" | "assistant"; readonly "content": string; readonly "partial": boolean; readonly "createdAt": string; })[]; readonly "ruleChecks": readonly ({ readonly "id": string; readonly "level": "ok" | "warn" | "block"; readonly "message": string; readonly "fields": readonly (string)[]; readonly "params"?: { readonly [key: string]: string; }; })[]; readonly "llm": { readonly "provider": string; readonly "model": string; readonly "demonstration": boolean; }; };
|
|
52
|
+
export type CreatePublishIntentRequest = { readonly "version"?: number; readonly "operator"?: string; } | null;
|
|
53
|
+
export type CreatePublishIntentResponse = { readonly "id": string; readonly "draftId": string; readonly "draftVersion": number; readonly "specification": { readonly "version": "AGENTGRID_TASK_SPEC_V3" | "AGENTGRID_TASK_SPEC_V4"; readonly "title": string; readonly "summary": string; readonly "template": "CODE_FIX" | "DATA_PROCESSING" | "TRANSLATION" | "RESEARCH" | "CUSTOM"; readonly "deliverables": readonly (string)[]; readonly "outOfScope": readonly (string)[]; readonly "constraints": readonly (string)[]; readonly "inputs": readonly ({ readonly "kind": "REPO" | "FILE" | "URL" | "TEXT"; readonly "ref": string; })[]; readonly "criteria": readonly ({ readonly "id": string; readonly "description": string; readonly "grade": "A" | "B" | "C"; readonly "weightBps": number; readonly "machineCheck"?: { readonly "kind": string; readonly "commandOrSchema": string; readonly "expected": string; }; })[]; readonly "estimatedHours": number; readonly "startTier": "T1" | "T2" | "T3" | "T4" | "T5"; readonly "maxTier": "T1" | "T2" | "T3" | "T4" | "T5"; readonly "runDays": number; readonly "allocationMode": "WINNER_TAKES_ALL" | "TOP_K" | "PRO_RATA"; readonly "topK"?: number; readonly "maxParticipants"?: number; readonly "passingThreshold": number; readonly "criticReportHash"?: string; }; readonly "specHash": string; readonly "criticReport": { readonly "summary": string; readonly "findings": readonly ({ readonly "severity": "info" | "warn" | "block"; readonly "field": string | null; readonly "message": string; })[]; }; readonly "criticReportHash": string; readonly "ruleChecks": readonly ({ readonly "id": string; readonly "level": "ok" | "warn" | "block"; readonly "message": string; readonly "fields": readonly (string)[]; readonly "params"?: { readonly [key: string]: string; }; })[]; readonly "quote": { readonly [key: string]: unknown; }; readonly "txRequest": { readonly [key: string]: unknown; }; readonly "approve": { readonly [key: string]: unknown; } | null; readonly "txHash": string | null; readonly "taskId": string | null; readonly "indexedAt": string | null; readonly "status": "QUOTED" | "SUBMITTED" | "INDEXED"; readonly "createdAt": string; readonly "updatedAt": string; };
|
|
54
|
+
export type ResetDraftRequest = never;
|
|
55
|
+
export type ResetDraftResponse = { readonly "id": string; readonly "sessionId": string; readonly "publisher": string; readonly "version": number; readonly "fields": { readonly "title": { readonly "value": string | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "summary": { readonly "value": string | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "template": { readonly "value": "CODE_FIX" | "DATA_PROCESSING" | "TRANSLATION" | "RESEARCH" | "CUSTOM" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "deliverables": { readonly "value": readonly (string)[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "outOfScope": { readonly "value": readonly (string)[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "constraints": { readonly "value": readonly (string)[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "inputs": { readonly "value": readonly ({ readonly "kind": "REPO" | "FILE" | "URL" | "TEXT"; readonly "ref": string; })[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "criteria": { readonly "value": readonly ({ readonly "value": { readonly "id": string; readonly "description": string; readonly "grade": "A" | "B" | "C"; readonly "weightBps": number; readonly "machineCheck"?: { readonly "kind": string; readonly "commandOrSchema": string; readonly "expected": string; }; } | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; })[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "estimatedHours": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "startTier": { readonly "value": "T1" | "T2" | "T3" | "T4" | "T5" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "maxTier": { readonly "value": "T1" | "T2" | "T3" | "T4" | "T5" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "runDays": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "allocationMode": { readonly "value": "WINNER_TAKES_ALL" | "TOP_K" | "PRO_RATA" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "topK": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "maxParticipants": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "passingThreshold": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "minimumTier": { readonly "value": "T1" | "T2" | "T3" | "T4" | "T5" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "cost": { readonly "value": { readonly "reserve": string; readonly "dailyFee": string; } | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; }; readonly "summarizedUpToMessageId": string | null; readonly "lastSummarizedAt": string | null; readonly "pendingSuggestions": readonly ({ readonly "field": string; readonly "value": unknown; readonly "createdAt": string; readonly "reason": string | null; readonly "adjustment": { readonly "code": "RAISED_TO_RULE_MINIMUM" | "UNVERIFIED"; readonly "originalValue": unknown; } | null; })[]; readonly "fieldRecommendations": readonly ({ readonly "field": string; readonly "reason": string | null; readonly "adjustment": { readonly "code": "RAISED_TO_RULE_MINIMUM" | "UNVERIFIED"; readonly "originalValue": unknown; } | null; readonly "status": "APPLIED" | "PENDING" | "ACCEPTED"; readonly "createdAt": string; })[]; readonly "ruleLimits": { readonly "runDaysMin": number | null; readonly "runDaysMax": number | null; }; readonly "status": "EDITING" | "FROZEN" | "PUBLISHED" | "EXPIRED"; readonly "messages": readonly ({ readonly "id": string; readonly "role": "user" | "assistant"; readonly "content": string; readonly "partial": boolean; readonly "createdAt": string; })[]; readonly "ruleChecks": readonly ({ readonly "id": string; readonly "level": "ok" | "warn" | "block"; readonly "message": string; readonly "fields": readonly (string)[]; readonly "params"?: { readonly [key: string]: string; }; })[]; readonly "llm": { readonly "provider": string; readonly "model": string; readonly "demonstration": boolean; }; };
|
|
56
|
+
export type AbandonPublishRequest = never;
|
|
57
|
+
export type AbandonPublishResponse = { readonly "id": string; readonly "sessionId": string; readonly "publisher": string; readonly "version": number; readonly "fields": { readonly "title": { readonly "value": string | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "summary": { readonly "value": string | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "template": { readonly "value": "CODE_FIX" | "DATA_PROCESSING" | "TRANSLATION" | "RESEARCH" | "CUSTOM" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "deliverables": { readonly "value": readonly (string)[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "outOfScope": { readonly "value": readonly (string)[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "constraints": { readonly "value": readonly (string)[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "inputs": { readonly "value": readonly ({ readonly "kind": "REPO" | "FILE" | "URL" | "TEXT"; readonly "ref": string; })[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "criteria": { readonly "value": readonly ({ readonly "value": { readonly "id": string; readonly "description": string; readonly "grade": "A" | "B" | "C"; readonly "weightBps": number; readonly "machineCheck"?: { readonly "kind": string; readonly "commandOrSchema": string; readonly "expected": string; }; } | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; })[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "estimatedHours": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "startTier": { readonly "value": "T1" | "T2" | "T3" | "T4" | "T5" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "maxTier": { readonly "value": "T1" | "T2" | "T3" | "T4" | "T5" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "runDays": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "allocationMode": { readonly "value": "WINNER_TAKES_ALL" | "TOP_K" | "PRO_RATA" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "topK": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "maxParticipants": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "passingThreshold": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "minimumTier": { readonly "value": "T1" | "T2" | "T3" | "T4" | "T5" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "cost": { readonly "value": { readonly "reserve": string; readonly "dailyFee": string; } | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; }; readonly "summarizedUpToMessageId": string | null; readonly "lastSummarizedAt": string | null; readonly "pendingSuggestions": readonly ({ readonly "field": string; readonly "value": unknown; readonly "createdAt": string; readonly "reason": string | null; readonly "adjustment": { readonly "code": "RAISED_TO_RULE_MINIMUM" | "UNVERIFIED"; readonly "originalValue": unknown; } | null; })[]; readonly "fieldRecommendations": readonly ({ readonly "field": string; readonly "reason": string | null; readonly "adjustment": { readonly "code": "RAISED_TO_RULE_MINIMUM" | "UNVERIFIED"; readonly "originalValue": unknown; } | null; readonly "status": "APPLIED" | "PENDING" | "ACCEPTED"; readonly "createdAt": string; })[]; readonly "ruleLimits": { readonly "runDaysMin": number | null; readonly "runDaysMax": number | null; }; readonly "status": "EDITING" | "FROZEN" | "PUBLISHED" | "EXPIRED"; readonly "messages": readonly ({ readonly "id": string; readonly "role": "user" | "assistant"; readonly "content": string; readonly "partial": boolean; readonly "createdAt": string; })[]; readonly "ruleChecks": readonly ({ readonly "id": string; readonly "level": "ok" | "warn" | "block"; readonly "message": string; readonly "fields": readonly (string)[]; readonly "params"?: { readonly [key: string]: string; }; })[]; readonly "llm": { readonly "provider": string; readonly "model": string; readonly "demonstration": boolean; }; };
|
|
58
|
+
export type ConfirmAllDraftFieldsRequest = { readonly "version": number; };
|
|
59
|
+
export type ConfirmAllDraftFieldsResponse = { readonly "id": string; readonly "sessionId": string; readonly "publisher": string; readonly "version": number; readonly "fields": { readonly "title": { readonly "value": string | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "summary": { readonly "value": string | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "template": { readonly "value": "CODE_FIX" | "DATA_PROCESSING" | "TRANSLATION" | "RESEARCH" | "CUSTOM" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "deliverables": { readonly "value": readonly (string)[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "outOfScope": { readonly "value": readonly (string)[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "constraints": { readonly "value": readonly (string)[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "inputs": { readonly "value": readonly ({ readonly "kind": "REPO" | "FILE" | "URL" | "TEXT"; readonly "ref": string; })[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "criteria": { readonly "value": readonly ({ readonly "value": { readonly "id": string; readonly "description": string; readonly "grade": "A" | "B" | "C"; readonly "weightBps": number; readonly "machineCheck"?: { readonly "kind": string; readonly "commandOrSchema": string; readonly "expected": string; }; } | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; })[] | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "estimatedHours": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "startTier": { readonly "value": "T1" | "T2" | "T3" | "T4" | "T5" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "maxTier": { readonly "value": "T1" | "T2" | "T3" | "T4" | "T5" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "runDays": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "allocationMode": { readonly "value": "WINNER_TAKES_ALL" | "TOP_K" | "PRO_RATA" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "topK": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "maxParticipants": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "passingThreshold": { readonly "value": number | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "minimumTier": { readonly "value": "T1" | "T2" | "T3" | "T4" | "T5" | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; readonly "cost": { readonly "value": { readonly "reserve": string; readonly "dailyFee": string; } | null; readonly "source": "user" | "ai" | "rule"; readonly "confirmation": "unconfirmed" | "confirmed" | "suggested"; readonly "updatedAt": string; }; }; readonly "summarizedUpToMessageId": string | null; readonly "lastSummarizedAt": string | null; readonly "pendingSuggestions": readonly ({ readonly "field": string; readonly "value": unknown; readonly "createdAt": string; readonly "reason": string | null; readonly "adjustment": { readonly "code": "RAISED_TO_RULE_MINIMUM" | "UNVERIFIED"; readonly "originalValue": unknown; } | null; })[]; readonly "fieldRecommendations": readonly ({ readonly "field": string; readonly "reason": string | null; readonly "adjustment": { readonly "code": "RAISED_TO_RULE_MINIMUM" | "UNVERIFIED"; readonly "originalValue": unknown; } | null; readonly "status": "APPLIED" | "PENDING" | "ACCEPTED"; readonly "createdAt": string; })[]; readonly "ruleLimits": { readonly "runDaysMin": number | null; readonly "runDaysMax": number | null; }; readonly "status": "EDITING" | "FROZEN" | "PUBLISHED" | "EXPIRED"; readonly "messages": readonly ({ readonly "id": string; readonly "role": "user" | "assistant"; readonly "content": string; readonly "partial": boolean; readonly "createdAt": string; })[]; readonly "ruleChecks": readonly ({ readonly "id": string; readonly "level": "ok" | "warn" | "block"; readonly "message": string; readonly "fields": readonly (string)[]; readonly "params"?: { readonly [key: string]: string; }; })[]; readonly "llm": { readonly "provider": string; readonly "model": string; readonly "demonstration": boolean; }; };
|
|
60
|
+
export type BindPublishTransactionRequest = { readonly "txHash": string; };
|
|
61
|
+
export type BindPublishTransactionResponse = { readonly "id": string; readonly "draftId": string; readonly "draftVersion": number; readonly "specification": { readonly "version": "AGENTGRID_TASK_SPEC_V3" | "AGENTGRID_TASK_SPEC_V4"; readonly "title": string; readonly "summary": string; readonly "template": "CODE_FIX" | "DATA_PROCESSING" | "TRANSLATION" | "RESEARCH" | "CUSTOM"; readonly "deliverables": readonly (string)[]; readonly "outOfScope": readonly (string)[]; readonly "constraints": readonly (string)[]; readonly "inputs": readonly ({ readonly "kind": "REPO" | "FILE" | "URL" | "TEXT"; readonly "ref": string; })[]; readonly "criteria": readonly ({ readonly "id": string; readonly "description": string; readonly "grade": "A" | "B" | "C"; readonly "weightBps": number; readonly "machineCheck"?: { readonly "kind": string; readonly "commandOrSchema": string; readonly "expected": string; }; })[]; readonly "estimatedHours": number; readonly "startTier": "T1" | "T2" | "T3" | "T4" | "T5"; readonly "maxTier": "T1" | "T2" | "T3" | "T4" | "T5"; readonly "runDays": number; readonly "allocationMode": "WINNER_TAKES_ALL" | "TOP_K" | "PRO_RATA"; readonly "topK"?: number; readonly "maxParticipants"?: number; readonly "passingThreshold": number; readonly "criticReportHash"?: string; }; readonly "specHash": string; readonly "criticReport": { readonly "summary": string; readonly "findings": readonly ({ readonly "severity": "info" | "warn" | "block"; readonly "field": string | null; readonly "message": string; })[]; }; readonly "criticReportHash": string; readonly "ruleChecks": readonly ({ readonly "id": string; readonly "level": "ok" | "warn" | "block"; readonly "message": string; readonly "fields": readonly (string)[]; readonly "params"?: { readonly [key: string]: string; }; })[]; readonly "quote": { readonly [key: string]: unknown; }; readonly "txRequest": { readonly [key: string]: unknown; }; readonly "approve": { readonly [key: string]: unknown; } | null; readonly "txHash": string | null; readonly "taskId": string | null; readonly "indexedAt": string | null; readonly "status": "QUOTED" | "SUBMITTED" | "INDEXED"; readonly "createdAt": string; readonly "updatedAt": string; };
|
|
62
|
+
export type GetExecutorProfileRequest = never;
|
|
63
|
+
export type GetExecutorProfileResponse = { readonly "address": string; readonly "acceptedTasks": number; readonly "adverseEvents": number; readonly "cooldownUntil": string | null; readonly "recentAdverseEvents": readonly ({ readonly "kind": string; readonly "reason": string | null; readonly "taskId": string | null; readonly "submissionId": string | null; readonly "occurredAt": string; })[]; };
|
|
64
|
+
export type GetPublisherProfileRequest = never;
|
|
65
|
+
export type GetPublisherProfileResponse = { readonly "address": string; readonly "completedTasks": number; readonly "adverseEvents": number; };
|
|
66
|
+
export type GetValidatorProfileRequest = never;
|
|
67
|
+
export type GetValidatorProfileResponse = { readonly "address": string; readonly "coefficientBps": number; readonly "alignedDecisions": number; readonly "completedDecisions": number; };
|
|
68
|
+
export type GetActiveIndependentExecutors30dRequest = never;
|
|
69
|
+
export type GetActiveIndependentExecutors30dResponse = { readonly "activeIndependentExecutors30d": number; readonly "asOf": string; };
|
|
70
|
+
export type ListNotificationsRequest = never;
|
|
71
|
+
export type ListNotificationsResponse = { readonly "items": readonly ({ readonly "id": string; readonly "type": string; readonly "subjectId": string; readonly "payload": { readonly [key: string]: unknown; }; readonly "readAt": string | null; readonly "createdAt": string; })[]; readonly "nextCursor": string | null; readonly "hasMore": boolean; readonly "unreadCount": number; };
|
|
72
|
+
export type MarkAllNotificationsReadRequest = never;
|
|
73
|
+
export type MarkAllNotificationsReadResponse = { readonly "updatedCount": number; };
|
|
74
|
+
export type MarkNotificationReadRequest = never;
|
|
75
|
+
export type MarkNotificationReadResponse = { readonly "id": string; readonly "type": string; readonly "subjectId": string; readonly "payload": { readonly [key: string]: unknown; }; readonly "readAt": string | null; readonly "createdAt": string; };
|
|
76
|
+
export type GetAgentWebhookRequest = never;
|
|
77
|
+
export type GetAgentWebhookResponse = { readonly "agentId": string; readonly "configured": boolean; readonly "url": string | null; readonly "enabled": boolean; };
|
|
78
|
+
export type ConfigureAgentWebhookRequest = { readonly "url": string; readonly "enabled"?: boolean; };
|
|
79
|
+
export type ConfigureAgentWebhookResponse = { readonly "agentId": string; readonly "url": string; readonly "enabled": boolean; readonly "signingSecret": string; };
|
|
80
|
+
export type IssuePublisherProfileProofRequest = never;
|
|
81
|
+
export type IssuePublisherProfileProofResponse = { readonly "type": "PublisherProfile" | "CollusionReport"; readonly "domain": { readonly "name": "AgentGrid Protocol"; readonly "version": "1"; readonly "chainId": number; readonly "verifyingContract": string; }; readonly "message": { readonly [key: string]: unknown; }; readonly "signature": string; };
|
|
82
|
+
export type IssueCollusionReportProofRequest = { readonly "juror": string; readonly "evidenceHash": string; };
|
|
83
|
+
export type IssueCollusionReportProofResponse = { readonly "type": "PublisherProfile" | "CollusionReport"; readonly "domain": { readonly "name": "AgentGrid Protocol"; readonly "version": "1"; readonly "chainId": number; readonly "verifyingContract": string; }; readonly "message": { readonly [key: string]: unknown; }; readonly "signature": string; };
|
|
84
|
+
export type ListAvailableTriggerActionsRequest = never;
|
|
85
|
+
export type ListAvailableTriggerActionsResponse = { readonly "items": readonly ({ readonly "action": "SETTLE_TIMEOUT" | "SETTLE_CANCELLED" | "SETTLE_TASK" | "EXPIRE_FALLBACK" | "BURN_TASK_POOL" | "FINALIZE_MAINTENANCE" | "DRAW_OR_RESEED" | "ADVANCE_CONFIRMATION" | "ADVANCE_COMMIT" | "TALLY" | "EXECUTE_RULING" | "ADVANCE_ARBITRATION" | "FINALIZE_FALLBACK_REVIEW" | "REDRAW_FALLBACK_REVIEW" | "TALLY_FALLBACK_REVIEW" | "SWEEP_ARBITRATION_POOL" | "POKE_ARBITRATION_WEIGHT"; readonly "subject": { readonly "kind": "TASK" | "ARBITRATION_CASE" | "ARBITRATION_POOL" | "ARBITRATOR"; readonly "id": string; }; readonly "beneficiaries": readonly (string)[]; readonly "proofs": readonly ({ readonly "type": string; readonly "message": { readonly [key: string]: unknown; }; readonly "signature": string; })[]; readonly "calldata": { readonly "chainId": number; readonly "to": string; readonly "data": string; readonly "value": "0"; readonly "estimatedGas": string; }; readonly "asOfBlock": number; readonly "asOf": string; readonly "note": string | null; })[]; readonly "asOfBlock": number; readonly "asOf": string; };
|
|
86
|
+
export type CreateTaskClaimRequest = never;
|
|
87
|
+
export type CreateTaskClaimResponse = { readonly "id": string; readonly "taskId": string; readonly "executor": string; readonly "status": "CLAIMED" | "SUBMITTED" | "RELEASED" | "EXPIRED" | "LOST"; readonly "leaseExpiresAt": string; readonly "heartbeatAt": string; readonly "stale": boolean; readonly "voucher": { readonly "taskId": string; readonly "executor": string; readonly "issuedAt": string; readonly "expiresAt": string; readonly "nonce": string; readonly "signature": string; }; };
|
|
88
|
+
export type HeartbeatTaskClaimRequest = never;
|
|
89
|
+
export type HeartbeatTaskClaimResponse = { readonly "id": string; readonly "taskId": string; readonly "executor": string; readonly "status": "CLAIMED" | "SUBMITTED" | "RELEASED" | "EXPIRED" | "LOST"; readonly "leaseExpiresAt": string; readonly "heartbeatAt": string; readonly "stale": boolean; readonly "voucher": { readonly "taskId": string; readonly "executor": string; readonly "issuedAt": string; readonly "expiresAt": string; readonly "nonce": string; readonly "signature": string; }; };
|
|
90
|
+
export type ReleaseTaskClaimRequest = never;
|
|
91
|
+
export type ReleaseTaskClaimResponse = { readonly "id": string; readonly "taskId": string; readonly "executor": string; readonly "status": "CLAIMED" | "SUBMITTED" | "RELEASED" | "EXPIRED" | "LOST"; readonly "leaseExpiresAt": string; readonly "heartbeatAt": string; readonly "stale": boolean; readonly "voucher": { readonly "taskId": string; readonly "executor": string; readonly "issuedAt": string; readonly "expiresAt": string; readonly "nonce": string; readonly "signature": string; }; };
|
|
92
|
+
export type GetCancellationCompensationIntentRequest = never;
|
|
93
|
+
export type GetCancellationCompensationIntentResponse = { readonly "claimDeadline": string; readonly "voucherClaimWindowHours": number; readonly "voucher": { readonly "taskId": string; readonly "executor": string; readonly "issuedAt": string; readonly "expiresAt": string; readonly "nonce": string; readonly "signature": string; }; readonly "tx": { readonly "chainId": number; readonly "to": string; readonly "data": string; readonly "value": "0"; }; };
|
|
94
|
+
export type CreateTaskCancellationIntentRequest = never;
|
|
95
|
+
export type CreateTaskCancellationIntentResponse = { readonly "scenario": "UNCLAIMED" | "CLAIMED"; readonly "testerWorkBps": number; readonly "estimate": { readonly "publisherRefundAgt": string; readonly "executorCompensationAgt": string; readonly "testerCompensationAgt": string; readonly "arbitrationPoolAgt": string; readonly "protocolFeeAgt": string; readonly "totalEscrowAgt": string; }; readonly "tx": { readonly "chainId": number; readonly "to": string; readonly "data": string; readonly "value": "0"; }; };
|
|
96
|
+
export type CloseTaskExecutionRequest = never;
|
|
97
|
+
export type CloseTaskExecutionResponse = { readonly "taskId": string; readonly "closedAt": string; };
|
|
98
|
+
export type ListTasksRequest = never;
|
|
99
|
+
export type ListTasksResponse = { readonly "items": readonly ({ readonly "taskId": string; readonly "publisher": string; readonly "executor": string | null; readonly "startTier": "T1" | "T2" | "T3" | "T4" | "T5"; readonly "maxTier": "T1" | "T2" | "T3" | "T4" | "T5"; readonly "runDays": number; readonly "allocationMode": "WINNER_TAKES_ALL" | "TOP_K" | "PRO_RATA" | null; readonly "estimatedHours": number | null; readonly "deadline": string; readonly "status": "PUBLISHED" | "RUNNING" | "GRACE" | "CLOSED" | "TESTING" | "REVIEWING" | "RESULT_POSTED" | "ACCEPTED" | "DISPUTED" | "APPEALED" | "MAINTENANCE" | "COMPLETED" | "CANCELLED" | "EXPIRED" | "NO_SUBMISSION" | "INSUFFICIENT" | "FAILED"; readonly "outcome": "NONE" | "ACCEPTED" | "PUBLISHER_WINS" | "EXECUTOR_WINS" | "PARTIAL" | "UNCLAIMED_TIMEOUT" | "UNCLAIMED_CANCEL" | "CLAIMED_CANCEL" | "MAINTENANCE_DEFECT"; readonly "specHash": string; readonly "artifactHash": string | null; readonly "reviewDeadline": string | null; readonly "appeal": { readonly "deadline": string; readonly "executors": readonly (string)[] | null; readonly "waivedBy": readonly (string)[]; } | null; readonly "specification": { readonly "version": "AGENTGRID_TASK_SPEC_V3" | "AGENTGRID_TASK_SPEC_V4"; readonly "title": string; readonly "summary": string; readonly "template": "CODE_FIX" | "DATA_PROCESSING" | "TRANSLATION" | "RESEARCH" | "CUSTOM"; readonly "deliverables": readonly (string)[]; readonly "outOfScope": readonly (string)[]; readonly "constraints": readonly (string)[]; readonly "inputs": readonly ({ readonly "kind": "REPO" | "FILE" | "URL" | "TEXT"; readonly "ref": string; })[]; readonly "criteria": readonly ({ readonly "id": string; readonly "description": string; readonly "grade": "A" | "B" | "C"; readonly "weightBps": number; readonly "machineCheck"?: { readonly "kind": string; readonly "commandOrSchema": string; readonly "expected": string; }; })[]; readonly "estimatedHours": number; readonly "startTier": "T1" | "T2" | "T3" | "T4" | "T5"; readonly "maxTier": "T1" | "T2" | "T3" | "T4" | "T5"; readonly "runDays": number; readonly "allocationMode": "WINNER_TAKES_ALL" | "TOP_K" | "PRO_RATA"; readonly "topK"?: number; readonly "maxParticipants"?: number; readonly "passingThreshold": number; readonly "criticReportHash"?: string; } | null; readonly "originalSpecification": { readonly "version": "AGENTGRID_TASK_SPEC_V3" | "AGENTGRID_TASK_SPEC_V4"; readonly "title": string; readonly "summary": string; readonly "template": "CODE_FIX" | "DATA_PROCESSING" | "TRANSLATION" | "RESEARCH" | "CUSTOM"; readonly "deliverables": readonly (string)[]; readonly "outOfScope": readonly (string)[]; readonly "constraints": readonly (string)[]; readonly "inputs": readonly ({ readonly "kind": "REPO" | "FILE" | "URL" | "TEXT"; readonly "ref": string; })[]; readonly "criteria": readonly ({ readonly "id": string; readonly "description": string; readonly "grade": "A" | "B" | "C"; readonly "weightBps": number; readonly "machineCheck"?: { readonly "kind": string; readonly "commandOrSchema": string; readonly "expected": string; }; })[]; readonly "estimatedHours": number; readonly "startTier": "T1" | "T2" | "T3" | "T4" | "T5"; readonly "maxTier": "T1" | "T2" | "T3" | "T4" | "T5"; readonly "runDays": number; readonly "allocationMode": "WINNER_TAKES_ALL" | "TOP_K" | "PRO_RATA"; readonly "topK"?: number; readonly "maxParticipants"?: number; readonly "passingThreshold": number; readonly "criticReportHash"?: string; } | null; readonly "amendedAt": string | null; readonly "participation": { readonly "max": number | null; readonly "occupied": number; readonly "submitted": number; readonly "available": number | null; readonly "closesAt": string; readonly "executionClosed": boolean; }; readonly "createdBlock": number; readonly "createdTxHash": string; readonly "createdAt": string; readonly "updatedBlock": number; readonly "updatedTxHash": string; readonly "updatedAt": string; readonly "timeline": readonly ({ readonly "event": string; readonly "transactionHash": string; readonly "logIndex": number; readonly "blockNumber": number; readonly "timestamp": string; readonly "args": { readonly [key: string]: unknown; }; })[]; readonly "settlement"?: { readonly "testerAssignment": { readonly "testers": readonly (string)[]; readonly "reportsSubmitted": number; readonly "testerRound": number; readonly "reportDeadline": string | null; readonly "redrawRoundsUsed": number; }; readonly "testingProgress": { readonly "submissionsTesting": number; readonly "submissionsCompleted": number; }; readonly "deliveries"?: readonly ({ readonly "executor": string; readonly "artifactHash": string; readonly "testers": readonly (string)[]; readonly "status": "SIGNED" | "FINALIZED"; readonly "submittedAt": string; })[]; readonly "sandboxReport": { readonly "passed": boolean; readonly "reportHash": string; readonly "summary": string; } | null; readonly "reviews": readonly ({ readonly "id": string; readonly "accept": boolean; readonly "reasonHash": string; readonly "txHash": string | null; })[]; readonly "tranches": { readonly "total": number; readonly "claimed": number; readonly "clawedBack": number; }; readonly "keeper": { readonly "pending": readonly (string)[]; readonly "warnings": readonly (string)[]; }; }; readonly "viewer": { readonly "canClaim": boolean; readonly "canClaimReason": "TASK_CLOSED" | "TASK_PARTICIPATION_FULL" | "EXECUTOR_INELIGIBLE" | "CHAIN_UNAVAILABLE" | "TASK_RISK_BLOCKED" | "TASK_PUBLISHER_CANNOT_CLAIM" | null; readonly "currentClaim": { readonly "id": string; readonly "status": string; readonly "leaseExpiresAt": string; readonly "heartbeatAt": string; readonly "stale": boolean; readonly "voucher": { readonly [key: string]: unknown; }; } | null; readonly "canSubmit": boolean; readonly "submissionLimits": { readonly "maxFileBytes": number; readonly "maxTotalBytes": number; readonly "maxFiles": number; }; readonly "submission": { readonly "id": string; readonly "claimId": string; readonly "artifactHash": string; readonly "cid": string; readonly "cidHash": string; readonly "manifest": { readonly "files": readonly ({ readonly "name": string; readonly "size": number; readonly "sha256": string; })[]; readonly "evidenceSha256": string | null; }; readonly "status": string; readonly "retirement": { readonly "retiredAt": string; readonly "reason": string | null; readonly "score": number | null; } | null; readonly "executorSignature": string | null; } | null; readonly "testerSeats": readonly ({ readonly "submissionId": string; readonly "executor": string; readonly "cidHash": string; readonly "reported": boolean; })[]; } | null; })[]; readonly "nextCursor": string | null; readonly "hasMore": boolean; readonly "totalCount": number | null; };
|
|
100
|
+
export type GetTaskRequest = never;
|
|
101
|
+
export type GetTaskResponse = { readonly "taskId": string; readonly "publisher": string; readonly "executor": string | null; readonly "startTier": "T1" | "T2" | "T3" | "T4" | "T5"; readonly "maxTier": "T1" | "T2" | "T3" | "T4" | "T5"; readonly "runDays": number; readonly "allocationMode": "WINNER_TAKES_ALL" | "TOP_K" | "PRO_RATA" | null; readonly "estimatedHours": number | null; readonly "deadline": string; readonly "status": "PUBLISHED" | "RUNNING" | "GRACE" | "CLOSED" | "TESTING" | "REVIEWING" | "RESULT_POSTED" | "ACCEPTED" | "DISPUTED" | "APPEALED" | "MAINTENANCE" | "COMPLETED" | "CANCELLED" | "EXPIRED" | "NO_SUBMISSION" | "INSUFFICIENT" | "FAILED"; readonly "outcome": "NONE" | "ACCEPTED" | "PUBLISHER_WINS" | "EXECUTOR_WINS" | "PARTIAL" | "UNCLAIMED_TIMEOUT" | "UNCLAIMED_CANCEL" | "CLAIMED_CANCEL" | "MAINTENANCE_DEFECT"; readonly "specHash": string; readonly "artifactHash": string | null; readonly "reviewDeadline": string | null; readonly "appeal": { readonly "deadline": string; readonly "executors": readonly (string)[] | null; readonly "waivedBy": readonly (string)[]; } | null; readonly "specification": { readonly "version": "AGENTGRID_TASK_SPEC_V3" | "AGENTGRID_TASK_SPEC_V4"; readonly "title": string; readonly "summary": string; readonly "template": "CODE_FIX" | "DATA_PROCESSING" | "TRANSLATION" | "RESEARCH" | "CUSTOM"; readonly "deliverables": readonly (string)[]; readonly "outOfScope": readonly (string)[]; readonly "constraints": readonly (string)[]; readonly "inputs": readonly ({ readonly "kind": "REPO" | "FILE" | "URL" | "TEXT"; readonly "ref": string; })[]; readonly "criteria": readonly ({ readonly "id": string; readonly "description": string; readonly "grade": "A" | "B" | "C"; readonly "weightBps": number; readonly "machineCheck"?: { readonly "kind": string; readonly "commandOrSchema": string; readonly "expected": string; }; })[]; readonly "estimatedHours": number; readonly "startTier": "T1" | "T2" | "T3" | "T4" | "T5"; readonly "maxTier": "T1" | "T2" | "T3" | "T4" | "T5"; readonly "runDays": number; readonly "allocationMode": "WINNER_TAKES_ALL" | "TOP_K" | "PRO_RATA"; readonly "topK"?: number; readonly "maxParticipants"?: number; readonly "passingThreshold": number; readonly "criticReportHash"?: string; } | null; readonly "originalSpecification": { readonly "version": "AGENTGRID_TASK_SPEC_V3" | "AGENTGRID_TASK_SPEC_V4"; readonly "title": string; readonly "summary": string; readonly "template": "CODE_FIX" | "DATA_PROCESSING" | "TRANSLATION" | "RESEARCH" | "CUSTOM"; readonly "deliverables": readonly (string)[]; readonly "outOfScope": readonly (string)[]; readonly "constraints": readonly (string)[]; readonly "inputs": readonly ({ readonly "kind": "REPO" | "FILE" | "URL" | "TEXT"; readonly "ref": string; })[]; readonly "criteria": readonly ({ readonly "id": string; readonly "description": string; readonly "grade": "A" | "B" | "C"; readonly "weightBps": number; readonly "machineCheck"?: { readonly "kind": string; readonly "commandOrSchema": string; readonly "expected": string; }; })[]; readonly "estimatedHours": number; readonly "startTier": "T1" | "T2" | "T3" | "T4" | "T5"; readonly "maxTier": "T1" | "T2" | "T3" | "T4" | "T5"; readonly "runDays": number; readonly "allocationMode": "WINNER_TAKES_ALL" | "TOP_K" | "PRO_RATA"; readonly "topK"?: number; readonly "maxParticipants"?: number; readonly "passingThreshold": number; readonly "criticReportHash"?: string; } | null; readonly "amendedAt": string | null; readonly "participation": { readonly "max": number | null; readonly "occupied": number; readonly "submitted": number; readonly "available": number | null; readonly "closesAt": string; readonly "executionClosed": boolean; }; readonly "createdBlock": number; readonly "createdTxHash": string; readonly "createdAt": string; readonly "updatedBlock": number; readonly "updatedTxHash": string; readonly "updatedAt": string; readonly "timeline": readonly ({ readonly "event": string; readonly "transactionHash": string; readonly "logIndex": number; readonly "blockNumber": number; readonly "timestamp": string; readonly "args": { readonly [key: string]: unknown; }; })[]; readonly "settlement"?: { readonly "testerAssignment": { readonly "testers": readonly (string)[]; readonly "reportsSubmitted": number; readonly "testerRound": number; readonly "reportDeadline": string | null; readonly "redrawRoundsUsed": number; }; readonly "testingProgress": { readonly "submissionsTesting": number; readonly "submissionsCompleted": number; }; readonly "deliveries"?: readonly ({ readonly "executor": string; readonly "artifactHash": string; readonly "testers": readonly (string)[]; readonly "status": "SIGNED" | "FINALIZED"; readonly "submittedAt": string; })[]; readonly "sandboxReport": { readonly "passed": boolean; readonly "reportHash": string; readonly "summary": string; } | null; readonly "reviews": readonly ({ readonly "id": string; readonly "accept": boolean; readonly "reasonHash": string; readonly "txHash": string | null; })[]; readonly "tranches": { readonly "total": number; readonly "claimed": number; readonly "clawedBack": number; }; readonly "keeper": { readonly "pending": readonly (string)[]; readonly "warnings": readonly (string)[]; }; }; readonly "viewer": { readonly "canClaim": boolean; readonly "canClaimReason": "TASK_CLOSED" | "TASK_PARTICIPATION_FULL" | "EXECUTOR_INELIGIBLE" | "CHAIN_UNAVAILABLE" | "TASK_RISK_BLOCKED" | "TASK_PUBLISHER_CANNOT_CLAIM" | null; readonly "currentClaim": { readonly "id": string; readonly "status": string; readonly "leaseExpiresAt": string; readonly "heartbeatAt": string; readonly "stale": boolean; readonly "voucher": { readonly [key: string]: unknown; }; } | null; readonly "canSubmit": boolean; readonly "submissionLimits": { readonly "maxFileBytes": number; readonly "maxTotalBytes": number; readonly "maxFiles": number; }; readonly "submission": { readonly "id": string; readonly "claimId": string; readonly "artifactHash": string; readonly "cid": string; readonly "cidHash": string; readonly "manifest": { readonly "files": readonly ({ readonly "name": string; readonly "size": number; readonly "sha256": string; })[]; readonly "evidenceSha256": string | null; }; readonly "status": string; readonly "retirement": { readonly "retiredAt": string; readonly "reason": string | null; readonly "score": number | null; } | null; readonly "executorSignature": string | null; } | null; readonly "testerSeats": readonly ({ readonly "submissionId": string; readonly "executor": string; readonly "cidHash": string; readonly "reported": boolean; })[]; } | null; };
|
|
102
|
+
export type CreateTaskAmendIntentRequest = { readonly "specification": { readonly "version": "AGENTGRID_TASK_SPEC_V3" | "AGENTGRID_TASK_SPEC_V4"; readonly "title": string; readonly "summary": string; readonly "template": "CODE_FIX" | "DATA_PROCESSING" | "TRANSLATION" | "RESEARCH" | "CUSTOM"; readonly "deliverables": readonly (string)[]; readonly "outOfScope": readonly (string)[]; readonly "constraints": readonly (string)[]; readonly "inputs": readonly ({ readonly "kind": "REPO" | "FILE" | "URL" | "TEXT"; readonly "ref": string; })[]; readonly "criteria": readonly ({ readonly "id": string; readonly "description": string; readonly "grade": "A" | "B" | "C"; readonly "weightBps": number; readonly "machineCheck"?: { readonly "kind": string; readonly "commandOrSchema": string; readonly "expected": string; }; })[]; readonly "estimatedHours": number; readonly "startTier": "T1" | "T2" | "T3" | "T4" | "T5"; readonly "maxTier": "T1" | "T2" | "T3" | "T4" | "T5"; readonly "runDays": number; readonly "allocationMode": "WINNER_TAKES_ALL" | "TOP_K" | "PRO_RATA"; readonly "topK"?: number; readonly "maxParticipants"?: number; readonly "passingThreshold"?: number; readonly "criticReportHash"?: string; }; };
|
|
103
|
+
export type CreateTaskAmendIntentResponse = { readonly "intentId": string; readonly "previousSpecHash": string; readonly "specHash": string; readonly "tx": { readonly "chainId": number; readonly "to": string; readonly "data": string; readonly "value": string; }; };
|
|
104
|
+
export type CreateTaskSubmissionRequest = never;
|
|
105
|
+
export type CreateTaskSubmissionResponse = { readonly "id": string; readonly "claimId": string; readonly "taskId": string; readonly "artifactHash": string; readonly "cid": string; readonly "cidHash": string; readonly "manifest": { readonly "files": readonly ({ readonly "name": string; readonly "size": number; readonly "sha256": string; })[]; readonly "evidenceSha256": string | null; }; readonly "status": "STORED" | "SIGNED" | "FINALIZED" | "RETIRED"; readonly "retirement": { readonly "retiredAt": string; readonly "reason": string | null; readonly "score": number | null; } | null; readonly "executorSignature": string | null; readonly "executorTypedData": { readonly "domain": { readonly [key: string]: unknown; }; readonly "types": { readonly [key: string]: unknown; }; readonly "primaryType": "ExecutorDelivery"; readonly "message": { readonly "taskId": string; readonly "cidHash": string; }; }; };
|
|
106
|
+
export type SignExecutorDeliveryRequest = { readonly "signature": string; };
|
|
107
|
+
export type SignExecutorDeliveryResponse = { readonly "id": string; readonly "claimId": string; readonly "taskId": string; readonly "artifactHash": string; readonly "cid": string; readonly "cidHash": string; readonly "manifest": { readonly "files": readonly ({ readonly "name": string; readonly "size": number; readonly "sha256": string; })[]; readonly "evidenceSha256": string | null; }; readonly "status": "STORED" | "SIGNED" | "FINALIZED" | "RETIRED"; readonly "retirement": { readonly "retiredAt": string; readonly "reason": string | null; readonly "score": number | null; } | null; readonly "executorSignature": string | null; readonly "executorTypedData": { readonly "domain": { readonly [key: string]: unknown; }; readonly "types": { readonly [key: string]: unknown; }; readonly "primaryType": "ExecutorDelivery"; readonly "message": { readonly "taskId": string; readonly "cidHash": string; }; }; };
|
|
108
|
+
export type GetTaskSubmissionRequest = never;
|
|
109
|
+
export type GetTaskSubmissionResponse = { readonly "id": string; readonly "claimId": string; readonly "taskId": string; readonly "artifactHash": string; readonly "cid": string; readonly "cidHash": string; readonly "manifest": { readonly "files": readonly ({ readonly "name": string; readonly "size": number; readonly "sha256": string; })[]; readonly "evidenceSha256": string | null; }; readonly "status": "STORED" | "SIGNED" | "FINALIZED" | "RETIRED"; readonly "retirement": { readonly "retiredAt": string; readonly "reason": string | null; readonly "score": number | null; } | null; readonly "executorSignature": string | null; readonly "executorTypedData": { readonly "domain": { readonly [key: string]: unknown; }; readonly "types": { readonly [key: string]: unknown; }; readonly "primaryType": "ExecutorDelivery"; readonly "message": { readonly "taskId": string; readonly "cidHash": string; }; }; };
|
|
110
|
+
export type DownloadSubmissionFileRequest = never;
|
|
111
|
+
export type DownloadSubmissionFileResponse = null;
|
|
112
|
+
export type CommitTesterDrawSeedRequest = never;
|
|
113
|
+
export type CommitTesterDrawSeedResponse = { readonly "taskId": string; readonly "submissionId": string; readonly "round": number; readonly "executor": string; readonly "seedCommitment": string; readonly "seed": string | null; readonly "poolSnapshot": readonly ({ readonly "address": string; readonly "weight": string; readonly "eligible": boolean; readonly "excluded": boolean; })[]; readonly "testers": readonly (string)[]; readonly "executorTier": number; readonly "nonce": string; readonly "deadline": string; readonly "reportDeadline": string | null; readonly "redrawFailureReason": string | null; readonly "signature": string | null; };
|
|
114
|
+
export type RevealTesterDrawRequest = never;
|
|
115
|
+
export type RevealTesterDrawResponse = { readonly "taskId": string; readonly "submissionId": string; readonly "round": number; readonly "executor": string; readonly "seedCommitment": string; readonly "seed": string | null; readonly "poolSnapshot": readonly ({ readonly "address": string; readonly "weight": string; readonly "eligible": boolean; readonly "excluded": boolean; })[]; readonly "testers": readonly (string)[]; readonly "executorTier": number; readonly "nonce": string; readonly "deadline": string; readonly "reportDeadline": string | null; readonly "redrawFailureReason": string | null; readonly "signature": string | null; };
|
|
116
|
+
export type ListTaskTestReportsRequest = never;
|
|
117
|
+
export type ListTaskTestReportsResponse = { readonly "taskId": string; readonly "round": number; readonly "reportDeadline": string | null; readonly "redrawRoundsUsed": number; readonly "seats": readonly ({ readonly "seat": number; readonly "tester": string; readonly "status": "SUBMITTED" | "PENDING" | "REPLACED"; readonly "round": number; readonly "replacedBy": string | null; readonly "report": { readonly "id": string; readonly "taskId": string; readonly "submissionId": string; readonly "executor": string; readonly "tester": string; readonly "approved": boolean; readonly "criteria": readonly ({ readonly "criterionId": string; readonly "passed": boolean; readonly "note": string; })[]; readonly "summary": string; readonly "conclusionsHash": string; readonly "signature": string; readonly "status": "SIGNED"; readonly "submittedAt": string; } | null; })[]; };
|
|
118
|
+
export type CreateSignedTestReportRequest = { readonly "submissionId"?: string; readonly "approved": boolean; readonly "criteria": readonly ({ readonly "criterionId": string; readonly "passed": boolean; readonly "note": string; })[]; readonly "summary": string; readonly "signature": string; };
|
|
119
|
+
export type CreateSignedTestReportResponse = { readonly "id": string; readonly "taskId": string; readonly "submissionId": string; readonly "executor": string; readonly "tester": string; readonly "approved": boolean; readonly "criteria": readonly ({ readonly "criterionId": string; readonly "passed": boolean; readonly "note": string; })[]; readonly "summary": string; readonly "conclusionsHash": string; readonly "signature": string; readonly "status": "SIGNED"; };
|
|
120
|
+
export type IssueTesterTimeoutProofRequest = { readonly "tester": string; };
|
|
121
|
+
export type IssueTesterTimeoutProofResponse = { readonly "type": "TesterTimeout"; readonly "domain": { readonly "name": "AgentGrid Protocol"; readonly "version": "1"; readonly "chainId": number; readonly "verifyingContract": string; }; readonly "message": { readonly "taskId": string; readonly "tester": string; readonly "nonce": string; readonly "deadline": string; }; readonly "signature": string; };
|
|
122
|
+
export type GetFinalResultIntentRequest = never;
|
|
123
|
+
export type GetFinalResultIntentResponse = { readonly "results": readonly ({ readonly "taskId": string; readonly "submissionId": string; readonly "executor": string; readonly "cid": string; readonly "executorSignature": string; readonly "assignment": { readonly [key: string]: unknown; }; readonly "reports": readonly ({ readonly [key: string]: unknown; })[]; readonly "score": number; readonly "rewardEligible": boolean; readonly "share": string; })[]; readonly "reviewers": readonly (string)[]; readonly "tx": { readonly "chainId": number; readonly "to": string; readonly "data": string; readonly "value": "0"; }; };
|
|
124
|
+
export type GetAcceptResultIntentRequest = never;
|
|
125
|
+
export type GetAcceptResultIntentResponse = { readonly "tx": { readonly "chainId": number; readonly "to": string; readonly "data": string; readonly "value": "0"; }; };
|
|
126
|
+
export type ListTaskReviewsRequest = never;
|
|
127
|
+
export type ListTaskReviewsResponse = { readonly "items": readonly ({ readonly "id": string; readonly "taskId": string; readonly "publisher": string; readonly "accept": boolean; readonly "reason": string | null; readonly "criteria": readonly (string)[] | null; readonly "reasonHash": string; readonly "txHash": string | null; readonly "tx": { readonly "chainId": number; readonly "to": string; readonly "data": string; readonly "value": "0"; }; readonly "createdAt": string; })[]; };
|
|
128
|
+
export type CreateTaskReviewRequest = { readonly "accept": boolean; readonly "reason"?: string; readonly "criteria"?: readonly (string)[]; };
|
|
129
|
+
export type CreateTaskReviewResponse = { readonly "id": string; readonly "taskId": string; readonly "publisher": string; readonly "accept": boolean; readonly "reason": string | null; readonly "criteria": readonly (string)[] | null; readonly "reasonHash": string; readonly "txHash": string | null; readonly "tx": { readonly "chainId": number; readonly "to": string; readonly "data": string; readonly "value": "0"; }; readonly "createdAt": string; };
|
|
130
|
+
export type BindReviewTransactionRequest = { readonly "txHash": string; };
|
|
131
|
+
export type BindReviewTransactionResponse = { readonly "id": string; readonly "taskId": string; readonly "publisher": string; readonly "accept": boolean; readonly "reason": string | null; readonly "criteria": readonly (string)[] | null; readonly "reasonHash": string; readonly "txHash": string | null; readonly "tx": { readonly "chainId": number; readonly "to": string; readonly "data": string; readonly "value": "0"; }; readonly "createdAt": string; };
|
|
132
|
+
export type ListTaskRewardTranchesRequest = never;
|
|
133
|
+
export type ListTaskRewardTranchesResponse = { readonly "chainTime": string; readonly "items": readonly ({ readonly "scheduleId": string; readonly "trancheIndex": number; readonly "taskId": string; readonly "kind": "REWARD" | "EMISSION"; readonly "amount": string; readonly "releaseAt": string; readonly "status": "ACCRUING" | "LOCKED" | "CLAIMABLE" | "CLAIMED" | "CLAWED_BACK"; })[]; };
|
|
134
|
+
export type ListRewardTranchesRequest = never;
|
|
135
|
+
export type ListRewardTranchesResponse = { readonly "chainTime": string; readonly "items": readonly ({ readonly "scheduleId": string; readonly "trancheIndex": number; readonly "taskId": string; readonly "kind": "REWARD" | "EMISSION"; readonly "amount": string; readonly "releaseAt": string; readonly "status": "ACCRUING" | "LOCKED" | "CLAIMABLE" | "CLAIMED" | "CLAWED_BACK"; })[]; };
|
|
136
|
+
export type CreateRewardClaimIntentRequest = { readonly "scheduleIds": readonly (string)[]; };
|
|
137
|
+
export type CreateRewardClaimIntentResponse = { readonly "scheduleIds": readonly (string)[]; readonly "tx": { readonly "chainId": number; readonly "to": string; readonly "data": string; readonly "value": "0"; }; };
|
|
138
|
+
export type GetArbitrationStreamPendingRequest = never;
|
|
139
|
+
export type GetArbitrationStreamPendingResponse = { readonly "account": string; readonly "pendingWei": string; readonly "claimedWei": string; readonly "earnedWei": string; readonly "weight": string; readonly "totalWeight": string; readonly "dailyBudgetWei": string; readonly "available": boolean; };
|
|
140
|
+
export type GetRewardsBreakdownRequest = never;
|
|
141
|
+
export type GetRewardsBreakdownResponse = { readonly "chainTime": string; readonly "items": readonly ({ readonly "scheduleId": string; readonly "trancheIndex": number; readonly "taskId": string; readonly "kind": "REWARD" | "EMISSION"; readonly "amount": string; readonly "releaseAt": string; readonly "status": "ACCRUING" | "LOCKED" | "CLAIMABLE" | "CLAIMED" | "CLAWED_BACK"; })[]; };
|
|
142
|
+
export type CreateArbitrationStreamClaimIntentRequest = never;
|
|
143
|
+
export type CreateArbitrationStreamClaimIntentResponse = { readonly "tx": { readonly "chainId": number; readonly "to": string; readonly "data": string; readonly "value": "0"; }; readonly "account": string; };
|
|
144
|
+
export type ListTesterSeatsRequest = never;
|
|
145
|
+
export type ListTesterSeatsResponse = { readonly "items": readonly ({ readonly "taskId": string; readonly "tester": string; readonly "status": "ACCRUING" | "CLAIMABLE" | "FULLY_CLAIMED"; readonly "accruedWei": string; readonly "claimedWei": string; readonly "claimableWei": string; readonly "seatEndEpoch": number; readonly "hourId": number | null; })[]; };
|
|
146
|
+
export type ListExecutorPoolsRequest = never;
|
|
147
|
+
export type ListExecutorPoolsResponse = { readonly "items": readonly ({ readonly "taskId": string; readonly "taskStatus": string; readonly "delivered": boolean; readonly "deliveries": number; readonly "poolWei": string; readonly "hourId": number | null; })[]; };
|
|
148
|
+
export type ListExecutorSharesRequest = never;
|
|
149
|
+
export type ListExecutorSharesResponse = { readonly "items": readonly ({ readonly "taskId": string; readonly "executor": string; readonly "shareWei": string; readonly "amountWei": string | null; readonly "status": "POSTED" | "CLAIMABLE" | "CLAIMED"; })[]; };
|
|
150
|
+
export type CreateExecutorShareClaimIntentRequest = { readonly "taskId": string; readonly "includeOthers"?: boolean; };
|
|
151
|
+
export type CreateExecutorShareClaimIntentResponse = { readonly "taskId": string; readonly "claims": readonly ({ readonly "executor": string; readonly "shareWei": string; readonly "amountWei": string | null; })[]; readonly "remaining": number; readonly "tx": { readonly "chainId": number; readonly "to": string; readonly "data": string; readonly "value": "0"; }; };
|
|
152
|
+
export type CreateTesterSeatClaimIntentRequest = { readonly "taskId"?: string; readonly "taskIds"?: readonly (string)[]; };
|
|
153
|
+
export type CreateTesterSeatClaimIntentResponse = { readonly "taskId": string; readonly "tester": string; readonly "amountWei": string; readonly "hourId": number; readonly "claims": readonly ({ readonly "taskId": string; readonly "amountWei": string; readonly "claimableWei": string; readonly "hourId": number; })[]; readonly "claimableWei": string; readonly "tx": { readonly "chainId": number; readonly "to": string; readonly "data": string; readonly "value": "0"; }; };
|
|
154
|
+
export type ListDisputesRequest = never;
|
|
155
|
+
export type ListDisputesResponse = { readonly "items": readonly ({ readonly "caseId": string; readonly "taskId": string; readonly "publisher": string; readonly "executor": string; readonly "appellant": string | null; readonly "reasonHash": string; readonly "phase": "DRAWING" | "CONFIRMING" | "COMMIT" | "REVEAL" | "TALLIED" | "FALLBACK" | "EXECUTED"; readonly "ruling": "NONE" | "PUBLISHER_WINS" | "EXECUTOR_WINS" | "PARTIAL"; readonly "executorAwardBps": number; readonly "rulingHash": string | null; readonly "finalRound": boolean; readonly "appealed": boolean; readonly "executed": boolean; readonly "seedBlock": number | null; readonly "phaseDeadline": string | null; readonly "appealDeadline": string | null; readonly "evidenceHash": string | null; readonly "evidenceAsOf": string | null; readonly "criteria": readonly ({ readonly "id": string; readonly "weightBps": number; readonly "key": string | null; readonly "description": string | null; })[]; readonly "statement": { readonly "text": string; readonly "criteria": readonly (string)[]; } | null; readonly "evidence": { readonly "access": "PUBLIC" | "SUMMARY" | "FULL"; readonly "delivery": { readonly "submissionId": string | null; readonly "artifactHash": string; readonly "fileCount": number; readonly "files": readonly ({ readonly "name": string; readonly "size": number; readonly "sha256": string; readonly "path": string; })[]; } | null; readonly "testReports": { readonly "submitted": number; readonly "expected": number; readonly "path": string | null; }; readonly "missing": readonly ("STATEMENT" | "DELIVERY" | "TEST_REPORTS")[]; }; readonly "seats": readonly ({ readonly "juror": string; readonly "finalRound": boolean; readonly "confirmed": boolean; readonly "committed": boolean; readonly "revealed": boolean; readonly "lockedAmount": string | null; })[]; readonly "fallback": { readonly "phase": "SEEDING" | "REPORTING" | "REDRAW_DUE" | "TALLY_DUE" | "TALLIED"; readonly "seedBlock": number; readonly "reportDeadline": string | null; readonly "redraws": number; readonly "redrawRoundsMax": number; readonly "testers": readonly ({ readonly "address": string; readonly "status": "PENDING" | "SUBMITTED" | "REPLACED"; readonly "report": { readonly "approved": boolean; readonly "criteria": readonly ({ readonly "criterionId": string; readonly "passed": boolean; readonly "note": string; })[]; readonly "summary": string; readonly "reportHash": string; } | null; })[]; readonly "approvals": number; readonly "reportsSubmitted": number; readonly "outcome": "EXECUTOR_WINS" | "PUBLISHER_WINS" | null; readonly "candidatesExhausted": boolean; } | null; readonly "openedAt": string; readonly "updatedAt": string; })[]; readonly "nextCursor": string | null; readonly "hasMore": boolean; readonly "total": number; };
|
|
156
|
+
export type GetDisputeRequest = never;
|
|
157
|
+
export type GetDisputeResponse = { readonly "caseId": string; readonly "taskId": string; readonly "publisher": string; readonly "executor": string; readonly "appellant": string | null; readonly "reasonHash": string; readonly "phase": "DRAWING" | "CONFIRMING" | "COMMIT" | "REVEAL" | "TALLIED" | "FALLBACK" | "EXECUTED"; readonly "ruling": "NONE" | "PUBLISHER_WINS" | "EXECUTOR_WINS" | "PARTIAL"; readonly "executorAwardBps": number; readonly "rulingHash": string | null; readonly "finalRound": boolean; readonly "appealed": boolean; readonly "executed": boolean; readonly "seedBlock": number | null; readonly "phaseDeadline": string | null; readonly "appealDeadline": string | null; readonly "evidenceHash": string | null; readonly "evidenceAsOf": string | null; readonly "criteria": readonly ({ readonly "id": string; readonly "weightBps": number; readonly "key": string | null; readonly "description": string | null; })[]; readonly "statement": { readonly "text": string; readonly "criteria": readonly (string)[]; } | null; readonly "evidence": { readonly "access": "PUBLIC" | "SUMMARY" | "FULL"; readonly "delivery": { readonly "submissionId": string | null; readonly "artifactHash": string; readonly "fileCount": number; readonly "files": readonly ({ readonly "name": string; readonly "size": number; readonly "sha256": string; readonly "path": string; })[]; } | null; readonly "testReports": { readonly "submitted": number; readonly "expected": number; readonly "path": string | null; }; readonly "missing": readonly ("STATEMENT" | "DELIVERY" | "TEST_REPORTS")[]; }; readonly "seats": readonly ({ readonly "juror": string; readonly "finalRound": boolean; readonly "confirmed": boolean; readonly "committed": boolean; readonly "revealed": boolean; readonly "lockedAmount": string | null; })[]; readonly "fallback": { readonly "phase": "SEEDING" | "REPORTING" | "REDRAW_DUE" | "TALLY_DUE" | "TALLIED"; readonly "seedBlock": number; readonly "reportDeadline": string | null; readonly "redraws": number; readonly "redrawRoundsMax": number; readonly "testers": readonly ({ readonly "address": string; readonly "status": "PENDING" | "SUBMITTED" | "REPLACED"; readonly "report": { readonly "approved": boolean; readonly "criteria": readonly ({ readonly "criterionId": string; readonly "passed": boolean; readonly "note": string; })[]; readonly "summary": string; readonly "reportHash": string; } | null; })[]; readonly "approvals": number; readonly "reportsSubmitted": number; readonly "outcome": "EXECUTOR_WINS" | "PUBLISHER_WINS" | null; readonly "candidatesExhausted": boolean; } | null; readonly "openedAt": string; readonly "updatedAt": string; };
|
|
158
|
+
export type ListArbitratorCasesRequest = never;
|
|
159
|
+
export type ListArbitratorCasesResponse = { readonly "items": readonly ({ readonly "caseId": string; readonly "taskId": string; readonly "publisher": string; readonly "executor": string; readonly "appellant": string | null; readonly "reasonHash": string; readonly "phase": "DRAWING" | "CONFIRMING" | "COMMIT" | "REVEAL" | "TALLIED" | "FALLBACK" | "EXECUTED"; readonly "ruling": "NONE" | "PUBLISHER_WINS" | "EXECUTOR_WINS" | "PARTIAL"; readonly "executorAwardBps": number; readonly "rulingHash": string | null; readonly "finalRound": boolean; readonly "appealed": boolean; readonly "executed": boolean; readonly "seedBlock": number | null; readonly "phaseDeadline": string | null; readonly "appealDeadline": string | null; readonly "evidenceHash": string | null; readonly "evidenceAsOf": string | null; readonly "criteria": readonly ({ readonly "id": string; readonly "weightBps": number; readonly "key": string | null; readonly "description": string | null; })[]; readonly "statement": { readonly "text": string; readonly "criteria": readonly (string)[]; } | null; readonly "evidence": { readonly "access": "PUBLIC" | "SUMMARY" | "FULL"; readonly "delivery": { readonly "submissionId": string | null; readonly "artifactHash": string; readonly "fileCount": number; readonly "files": readonly ({ readonly "name": string; readonly "size": number; readonly "sha256": string; readonly "path": string; })[]; } | null; readonly "testReports": { readonly "submitted": number; readonly "expected": number; readonly "path": string | null; }; readonly "missing": readonly ("STATEMENT" | "DELIVERY" | "TEST_REPORTS")[]; }; readonly "seats": readonly ({ readonly "juror": string; readonly "finalRound": boolean; readonly "confirmed": boolean; readonly "committed": boolean; readonly "revealed": boolean; readonly "lockedAmount": string | null; })[]; readonly "fallback": { readonly "phase": "SEEDING" | "REPORTING" | "REDRAW_DUE" | "TALLY_DUE" | "TALLIED"; readonly "seedBlock": number; readonly "reportDeadline": string | null; readonly "redraws": number; readonly "redrawRoundsMax": number; readonly "testers": readonly ({ readonly "address": string; readonly "status": "PENDING" | "SUBMITTED" | "REPLACED"; readonly "report": { readonly "approved": boolean; readonly "criteria": readonly ({ readonly "criterionId": string; readonly "passed": boolean; readonly "note": string; })[]; readonly "summary": string; readonly "reportHash": string; } | null; })[]; readonly "approvals": number; readonly "reportsSubmitted": number; readonly "outcome": "EXECUTOR_WINS" | "PUBLISHER_WINS" | null; readonly "candidatesExhausted": boolean; } | null; readonly "openedAt": string; readonly "updatedAt": string; })[]; };
|
|
160
|
+
export type CreateFallbackReportIntentRequest = { readonly "approved": boolean; readonly "criteria": readonly ({ readonly "criterionId": string; readonly "passed": boolean; readonly "note": string; })[]; readonly "summary": string; };
|
|
161
|
+
export type CreateFallbackReportIntentResponse = { readonly "caseId": string; readonly "reportHash": string; readonly "tx": { readonly "chainId": number; readonly "to": string; readonly "data": string; readonly "value": "0"; }; };
|
|
162
|
+
export type CreateDisputeRequest = { readonly "statement": string; readonly "criteria"?: readonly (string)[]; };
|
|
163
|
+
export type CreateDisputeResponse = { readonly "taskId": string; readonly "caseId": string; readonly "reasonHash": string; readonly "appealFeeWei": string; readonly "appealId"?: string; readonly "tx": { readonly "chainId": number; readonly "to": string; readonly "data": string; readonly "value": "0"; }; readonly "approve": { readonly "token": string; readonly "spender": string; readonly "amount": string; readonly "data": string; }; readonly "proof": { readonly "type": "ArbitrationCase"; readonly "message": { readonly [key: string]: unknown; }; readonly "signature": string; }; };
|
|
164
|
+
export type CreateTaskAppealRequest = { readonly "statement": string; readonly "criteria"?: readonly (string)[]; };
|
|
165
|
+
export type CreateTaskAppealResponse = { readonly "taskId": string; readonly "caseId": string; readonly "reasonHash": string; readonly "appealFeeWei": string; readonly "appealId"?: string; readonly "tx": { readonly "chainId": number; readonly "to": string; readonly "data": string; readonly "value": "0"; }; readonly "approve": { readonly "token": string; readonly "spender": string; readonly "amount": string; readonly "data": string; }; readonly "proof": { readonly "type": "ArbitrationCase"; readonly "message": { readonly [key: string]: unknown; }; readonly "signature": string; }; };
|
|
166
|
+
export type ConfirmArbitrationSeatRequest = never;
|
|
167
|
+
export type ConfirmArbitrationSeatResponse = { readonly "caseId": string; readonly "tx": { readonly "chainId": number; readonly "to": string; readonly "data": string; readonly "value": "0"; }; };
|
|
168
|
+
export type CreateArbitrationVoteIntentRequest = { readonly "salt": string; readonly "votes": readonly ({ readonly "satisfied": boolean; readonly "reason": string; })[]; };
|
|
169
|
+
export type CreateArbitrationVoteIntentResponse = { readonly "caseId": string; readonly "finalRound": boolean; readonly "salt": string; readonly "reasonHashes": readonly (string)[]; readonly "commitments": readonly (string)[]; readonly "commitTx": { readonly "chainId": number; readonly "to": string; readonly "data": string; readonly "value": "0"; }; readonly "revealTx": { readonly "chainId": number; readonly "to": string; readonly "data": string; readonly "value": "0"; }; };
|
|
170
|
+
export type AppealDisputeRequest = never;
|
|
171
|
+
export type AppealDisputeResponse = { readonly "caseId": string; readonly "requiredBondAgt": string; readonly "tx": { readonly "chainId": number; readonly "to": string; readonly "data": string; readonly "value": "0"; }; readonly "approve": { readonly "token": string; readonly "spender": string; readonly "amount": string; readonly "data": string; }; };
|
|
172
|
+
export type WaiveTaskAppealRequest = never;
|
|
173
|
+
export type WaiveTaskAppealResponse = { readonly "taskId": string; readonly "tx": { readonly "chainId": number; readonly "to": string; readonly "data": string; readonly "value": "0"; }; };
|
|
174
|
+
export type ListEmissionHoursRequest = never;
|
|
175
|
+
export type ListEmissionHoursResponse = { readonly "items": readonly ({ readonly "hourId": number; readonly "emission": string; readonly "allocationRoot": string | null; readonly "totalTaskWeight": string; readonly "activeTaskCount": number; readonly "platformAmount": string; readonly "executorAmount": string; readonly "testerAmount": string; readonly "arbitrationAmount": string; readonly "allocatedAmount": string; readonly "burnedAmount": string; readonly "submitted": boolean; readonly "finalized": boolean; readonly "updatedAt": string; })[]; readonly "nextCursor": string | null; readonly "hasMore": boolean; };
|
|
176
|
+
export type GetEmissionHourRequest = never;
|
|
177
|
+
export type GetEmissionHourResponse = { readonly "hourId": number; readonly "emission": string; readonly "allocationRoot": string | null; readonly "totalTaskWeight": string; readonly "activeTaskCount": number; readonly "platformAmount": string; readonly "executorAmount": string; readonly "testerAmount": string; readonly "arbitrationAmount": string; readonly "allocatedAmount": string; readonly "burnedAmount": string; readonly "submitted": boolean; readonly "finalized": boolean; readonly "updatedAt": string; };
|
|
178
|
+
export type GetEmissionStatusRequest = never;
|
|
179
|
+
export type GetEmissionStatusResponse = { readonly "latest": { readonly "hourId": number; readonly "emission": string; readonly "allocationRoot": string | null; readonly "totalTaskWeight": string; readonly "activeTaskCount": number; readonly "platformAmount": string; readonly "executorAmount": string; readonly "testerAmount": string; readonly "arbitrationAmount": string; readonly "allocatedAmount": string; readonly "burnedAmount": string; readonly "submitted": boolean; readonly "finalized": boolean; readonly "updatedAt": string; } | null; readonly "schedule": { readonly "startTime": string; readonly "initialBalanceAgt": string; readonly "hourDecay18": string; readonly "platformBps": string; readonly "execBps": string; readonly "testBps": string; } | null; readonly "cumulativeReleasedAgt": string; readonly "currentHourEmissionAgt": string; readonly "lastSettledHour": number | null; readonly "lagHours": number; readonly "keeper": { readonly "blockedBy": string | null; readonly "pending": readonly (string)[]; readonly "warnings": readonly (string)[]; }; };
|
|
180
|
+
export type GetEconomySummaryRequest = never;
|
|
181
|
+
export type GetEconomySummaryResponse = { readonly "incentiveVaultBalanceAgt": string; readonly "cumulativeReleasedAgt": string; readonly "initialTokenSupplyAgt": string; readonly "currentTokenSupplyAgt": string; readonly "cumulativeBurnedAgt": string; readonly "rewardClaimedAgt": string; readonly "rewardClaimableAgt": string; readonly "rewardLockedAgt": string; readonly "arbitrationPoolBalanceAgt": string; readonly "arbitrationPoolReserveAgt": string; readonly "accrualStartedAt": string | null; readonly "updatedAt": string | null; };
|
|
182
|
+
export type GetStakingPositionsRequest = never;
|
|
183
|
+
export type GetStakingPositionsResponse = { readonly "publisher": string; readonly "balanceAgt": string; readonly "exposureAgt": string; readonly "reservations": readonly ({ readonly "taskId": string; readonly "rewardAgt": string; readonly "chargedAgt": string; readonly "startAt": string; readonly "endAt": string; })[]; readonly "updatedBlock": number | null; readonly "updatedAt": string | null; };
|
|
184
|
+
export type GetPublisherReadinessRequest = never;
|
|
185
|
+
export type GetPublisherReadinessResponse = { readonly "address": string; readonly "stakeWei": string; readonly "inFlightReserveWei": string; readonly "requiredStakeWei": string; readonly "walletAgtWei": string; readonly "gasWei": string; readonly "operator": { readonly "address": string; readonly "active": boolean; readonly "allowanceWei": string; readonly "expiresAt": number; readonly "gasWei": string; } | null; readonly "ready": boolean; readonly "missing": readonly ({ readonly "code": "PUBLISHER_STAKE_BELOW_REQUIRED" | "GAS_BALANCE_EMPTY" | "OPERATOR_NOT_AUTHORIZED" | "OPERATOR_ALLOWANCE_LOW"; readonly "description": string; })[]; };
|
|
186
|
+
export type GetTesterPoolJoinIntentRequest = never;
|
|
187
|
+
export type GetTesterPoolJoinIntentResponse = { readonly "inPool": boolean; readonly "meetsMinimum": boolean; readonly "canJoin": boolean; readonly "tx": { readonly "chainId": number; readonly "to": string; readonly "data": string; readonly "value": "0"; }; };
|
|
188
|
+
export type GetArbitratorPoolJoinIntentRequest = never;
|
|
189
|
+
export type GetArbitratorPoolJoinIntentResponse = { readonly "inPool": boolean; readonly "meetsMinimum": boolean; readonly "stakeAgt": string; readonly "canJoin": boolean; readonly "tx": { readonly "chainId": number; readonly "to": string; readonly "data": string; readonly "value": "0"; }; };
|
|
190
|
+
export type GetAgentEligibilityRequest = never;
|
|
191
|
+
export type GetAgentEligibilityResponse = { readonly "address": string; readonly "asOf": string; readonly "chainAvailable": boolean; readonly "registered": boolean; readonly "online": boolean; readonly "onlineWindowSeconds": number; readonly "scopes": readonly (string)[]; readonly "thresholds": { readonly "testerMinStakeAgt": number; readonly "arbitratorMinStakeAgt": number; readonly "publisherBaseStakeAgt": number; readonly "publisherExposureBps": number; }; readonly "stake": { readonly "validatorStakeWei": string | null; readonly "publisherStakeWei": string | null; readonly "publisherInFlightRewardWei": string | null; readonly "walletAgtWei": string | null; readonly "walletGasWei": string | null; }; readonly "roles": { readonly "executor": { readonly "eligible": boolean; readonly "missing": readonly ({ readonly "code": string; readonly "description": string; readonly "request": { readonly "method": "GET" | "POST"; readonly "path": string; } | null; })[]; }; readonly "tester": { readonly "eligible": boolean; readonly "missing": readonly ({ readonly "code": string; readonly "description": string; readonly "request": { readonly "method": "GET" | "POST"; readonly "path": string; } | null; })[]; readonly "inPool": boolean | null; readonly "meetsMinimum": boolean | null; readonly "shortfallWei": string | null; }; readonly "arbitrator": { readonly "eligible": boolean; readonly "missing": readonly ({ readonly "code": string; readonly "description": string; readonly "request": { readonly "method": "GET" | "POST"; readonly "path": string; } | null; })[]; readonly "inPool": boolean | null; readonly "meetsMinimum": boolean | null; readonly "shortfallWei": string | null; readonly "arbitrationDeployed": boolean | null; }; readonly "publisher": { readonly "eligible": boolean; readonly "missing": readonly ({ readonly "code": string; readonly "description": string; readonly "request": { readonly "method": "GET" | "POST"; readonly "path": string; } | null; })[]; readonly "requiredStakeWei": string | null; readonly "freeStakeWei": string | null; }; }; };
|
|
192
|
+
export type GetAgentNextActionsRequest = never;
|
|
193
|
+
export type GetAgentNextActionsResponse = { readonly "address": string; readonly "asOf": string; readonly "items": readonly ({ readonly "kind": "CLAIM_HEARTBEAT" | "SUBMIT_DELIVERY" | "SIGN_DELIVERY" | "TESTER_DRAW_COMMIT" | "TESTER_DRAW_REVEAL" | "SUBMIT_TEST_REPORT" | "SUBMIT_FALLBACK_REPORT" | "POST_RESULT" | "APPEAL_DECISION" | "REVIEW_RESULT" | "CONFIRM_ARBITRATION_SEAT" | "COMMIT_ARBITRATION_VOTE" | "REVEAL_ARBITRATION_VOTE" | "CLAIM_REWARDS" | "TRIGGER"; readonly "role": "executor" | "tester" | "arbitrator" | "publisher" | "any"; readonly "priority": number; readonly "subject": { readonly "kind": "TASK" | "CLAIM" | "SUBMISSION" | "ARBITRATION_CASE" | "REWARD" | "OTHER"; readonly "id": string; }; readonly "taskId": string | null; readonly "deadline": string | null; readonly "request": { readonly "method": "GET" | "POST"; readonly "path": string; readonly "body": { readonly [key: string]: unknown; } | null; }; readonly "onChain": boolean; readonly "hint": string; readonly "trigger": { readonly [key: string]: unknown; } | null; })[]; readonly "warnings": readonly (string)[]; };
|
|
194
|
+
export type GetNetworkStatsRequest = never;
|
|
195
|
+
export type GetNetworkStatsResponse = { readonly "registeredAgents": number; readonly "onlineAgents": number; readonly "activeExecutors30d": number; readonly "totalTasks": number; readonly "openTasks": number; readonly "inProgressTasks": number; readonly "escrowedRewardAgt": string; readonly "openArbitrationCases": number; readonly "onlineWindowSeconds": number; readonly "asOf": string; };
|
|
196
|
+
export type ListAgentsRequest = never;
|
|
197
|
+
export type ListAgentsResponse = { readonly "items": readonly ({ readonly "agentId": string; readonly "address": string; readonly "acceptedTasks": number; readonly "status": string; readonly "online": boolean; readonly "lastHeartbeatAt": string | null; readonly "completedTasks": number; readonly "registeredAt": string; })[]; readonly "nextCursor": string | null; readonly "hasMore": boolean; readonly "total": number; };
|
|
198
|
+
export type HeartbeatAgentRequest = never;
|
|
199
|
+
export type HeartbeatAgentResponse = { readonly "agentId": string; readonly "lastHeartbeatAt": string; readonly "onlineUntil": string; };
|
|
200
|
+
export type GetOpenApiDocumentRequest = never;
|
|
201
|
+
export type GetOpenApiDocumentResponse = { readonly [key: string]: unknown; };
|
|
202
|
+
|
|
203
|
+
export interface ApiOperations {
|
|
204
|
+
readonly "streamChangeHints": { readonly method: "GET"; readonly path: "/events"; readonly request: StreamChangeHintsRequest; readonly response: StreamChangeHintsResponse; };
|
|
205
|
+
readonly "getHealth": { readonly method: "GET"; readonly path: "/health"; readonly request: GetHealthRequest; readonly response: GetHealthResponse; };
|
|
206
|
+
readonly "postHealth": { readonly method: "POST"; readonly path: "/health"; readonly request: PostHealthRequest; readonly response: PostHealthResponse; };
|
|
207
|
+
readonly "healthz": { readonly method: "GET"; readonly path: "/healthz"; readonly request: HealthzRequest; readonly response: HealthzResponse; };
|
|
208
|
+
readonly "readyz": { readonly method: "GET"; readonly path: "/readyz"; readonly request: ReadyzRequest; readonly response: ReadyzResponse; };
|
|
209
|
+
readonly "issueSiweNonce": { readonly method: "POST"; readonly path: "/auth/nonce"; readonly request: IssueSiweNonceRequest; readonly response: IssueSiweNonceResponse; };
|
|
210
|
+
readonly "getAuthSession": { readonly method: "GET"; readonly path: "/auth/session"; readonly request: GetAuthSessionRequest; readonly response: GetAuthSessionResponse; };
|
|
211
|
+
readonly "verifySiwe": { readonly method: "POST"; readonly path: "/auth/verify"; readonly request: VerifySiweRequest; readonly response: VerifySiweResponse; };
|
|
212
|
+
readonly "issueEip712LoginChallenge": { readonly method: "POST"; readonly path: "/auth/eip712/challenge"; readonly request: IssueEip712LoginChallengeRequest; readonly response: IssueEip712LoginChallengeResponse; };
|
|
213
|
+
readonly "verifyEip712Login": { readonly method: "POST"; readonly path: "/auth/eip712/verify"; readonly request: VerifyEip712LoginRequest; readonly response: VerifyEip712LoginResponse; };
|
|
214
|
+
readonly "logout": { readonly method: "POST"; readonly path: "/auth/logout"; readonly request: LogoutRequest; readonly response: LogoutResponse; };
|
|
215
|
+
readonly "getAgentCard": { readonly method: "GET"; readonly path: "/.well-known/agent-card.json"; readonly request: GetAgentCardRequest; readonly response: GetAgentCardResponse; };
|
|
216
|
+
readonly "getLlmsText": { readonly method: "GET"; readonly path: "/llms.txt"; readonly request: GetLlmsTextRequest; readonly response: GetLlmsTextResponse; };
|
|
217
|
+
readonly "registerAgentOffchain": { readonly method: "POST"; readonly path: "/agents/register"; readonly request: RegisterAgentOffchainRequest; readonly response: RegisterAgentOffchainResponse; };
|
|
218
|
+
readonly "listAgentApiKeys": { readonly method: "GET"; readonly path: "/agents/{id}/keys"; readonly request: ListAgentApiKeysRequest; readonly response: ListAgentApiKeysResponse; };
|
|
219
|
+
readonly "createAgentApiKey": { readonly method: "POST"; readonly path: "/agents/{id}/keys"; readonly request: CreateAgentApiKeyRequest; readonly response: CreateAgentApiKeyResponse; };
|
|
220
|
+
readonly "revokeAgentApiKey": { readonly method: "DELETE"; readonly path: "/agents/{id}/keys/{keyId}"; readonly request: RevokeAgentApiKeyRequest; readonly response: RevokeAgentApiKeyResponse; };
|
|
221
|
+
readonly "listDrafts": { readonly method: "GET"; readonly path: "/drafts"; readonly request: ListDraftsRequest; readonly response: ListDraftsResponse; };
|
|
222
|
+
readonly "createDraft": { readonly method: "POST"; readonly path: "/drafts"; readonly request: CreateDraftRequest; readonly response: CreateDraftResponse; };
|
|
223
|
+
readonly "getDraft": { readonly method: "GET"; readonly path: "/drafts/{id}"; readonly request: GetDraftRequest; readonly response: GetDraftResponse; };
|
|
224
|
+
readonly "patchDraft": { readonly method: "PATCH"; readonly path: "/drafts/{id}"; readonly request: PatchDraftRequest; readonly response: PatchDraftResponse; };
|
|
225
|
+
readonly "sendDraftMessage": { readonly method: "POST"; readonly path: "/drafts/{id}/messages"; readonly request: SendDraftMessageRequest; readonly response: SendDraftMessageResponse; };
|
|
226
|
+
readonly "summarizeDraft": { readonly method: "POST"; readonly path: "/drafts/{id}/summarize"; readonly request: SummarizeDraftRequest; readonly response: SummarizeDraftResponse; };
|
|
227
|
+
readonly "resolveDraftSuggestion": { readonly method: "POST"; readonly path: "/drafts/{id}/suggestions/{field}"; readonly request: ResolveDraftSuggestionRequest; readonly response: ResolveDraftSuggestionResponse; };
|
|
228
|
+
readonly "createPublishIntent": { readonly method: "POST"; readonly path: "/drafts/{id}/publish-intent"; readonly request: CreatePublishIntentRequest; readonly response: CreatePublishIntentResponse; };
|
|
229
|
+
readonly "resetDraft": { readonly method: "POST"; readonly path: "/drafts/{id}/reset"; readonly request: ResetDraftRequest; readonly response: ResetDraftResponse; };
|
|
230
|
+
readonly "abandonPublish": { readonly method: "POST"; readonly path: "/drafts/{id}/abandon-publish"; readonly request: AbandonPublishRequest; readonly response: AbandonPublishResponse; };
|
|
231
|
+
readonly "confirmAllDraftFields": { readonly method: "POST"; readonly path: "/drafts/{id}/confirm-all"; readonly request: ConfirmAllDraftFieldsRequest; readonly response: ConfirmAllDraftFieldsResponse; };
|
|
232
|
+
readonly "bindPublishTransaction": { readonly method: "POST"; readonly path: "/publish-intents/{id}/tx"; readonly request: BindPublishTransactionRequest; readonly response: BindPublishTransactionResponse; };
|
|
233
|
+
readonly "getExecutorProfile": { readonly method: "GET"; readonly path: "/profiles/executors/{address}"; readonly request: GetExecutorProfileRequest; readonly response: GetExecutorProfileResponse; };
|
|
234
|
+
readonly "getPublisherProfile": { readonly method: "GET"; readonly path: "/profiles/publishers/{address}"; readonly request: GetPublisherProfileRequest; readonly response: GetPublisherProfileResponse; };
|
|
235
|
+
readonly "getValidatorProfile": { readonly method: "GET"; readonly path: "/profiles/validators/{address}"; readonly request: GetValidatorProfileRequest; readonly response: GetValidatorProfileResponse; };
|
|
236
|
+
readonly "getActiveIndependentExecutors30d": { readonly method: "GET"; readonly path: "/risk/active-independent-executors-30d"; readonly request: GetActiveIndependentExecutors30dRequest; readonly response: GetActiveIndependentExecutors30dResponse; };
|
|
237
|
+
readonly "listNotifications": { readonly method: "GET"; readonly path: "/notifications"; readonly request: ListNotificationsRequest; readonly response: ListNotificationsResponse; };
|
|
238
|
+
readonly "markAllNotificationsRead": { readonly method: "PATCH"; readonly path: "/notifications/read-all"; readonly request: MarkAllNotificationsReadRequest; readonly response: MarkAllNotificationsReadResponse; };
|
|
239
|
+
readonly "markNotificationRead": { readonly method: "PATCH"; readonly path: "/notifications/{id}/read"; readonly request: MarkNotificationReadRequest; readonly response: MarkNotificationReadResponse; };
|
|
240
|
+
readonly "getAgentWebhook": { readonly method: "GET"; readonly path: "/agents/{id}/webhook"; readonly request: GetAgentWebhookRequest; readonly response: GetAgentWebhookResponse; };
|
|
241
|
+
readonly "configureAgentWebhook": { readonly method: "PUT"; readonly path: "/agents/{id}/webhook"; readonly request: ConfigureAgentWebhookRequest; readonly response: ConfigureAgentWebhookResponse; };
|
|
242
|
+
readonly "issuePublisherProfileProof": { readonly method: "POST"; readonly path: "/protocol-proofs/publisher-profile"; readonly request: IssuePublisherProfileProofRequest; readonly response: IssuePublisherProfileProofResponse; };
|
|
243
|
+
readonly "issueCollusionReportProof": { readonly method: "POST"; readonly path: "/protocol-proofs/collusion-report"; readonly request: IssueCollusionReportProofRequest; readonly response: IssueCollusionReportProofResponse; };
|
|
244
|
+
readonly "listAvailableTriggerActions": { readonly method: "GET"; readonly path: "/actions/available"; readonly request: ListAvailableTriggerActionsRequest; readonly response: ListAvailableTriggerActionsResponse; };
|
|
245
|
+
readonly "createTaskClaim": { readonly method: "POST"; readonly path: "/tasks/{id}/claims"; readonly request: CreateTaskClaimRequest; readonly response: CreateTaskClaimResponse; };
|
|
246
|
+
readonly "heartbeatTaskClaim": { readonly method: "POST"; readonly path: "/claims/{id}/heartbeat"; readonly request: HeartbeatTaskClaimRequest; readonly response: HeartbeatTaskClaimResponse; };
|
|
247
|
+
readonly "releaseTaskClaim": { readonly method: "DELETE"; readonly path: "/claims/{id}"; readonly request: ReleaseTaskClaimRequest; readonly response: ReleaseTaskClaimResponse; };
|
|
248
|
+
readonly "getCancellationCompensationIntent": { readonly method: "GET"; readonly path: "/claims/{id}/cancellation-intent"; readonly request: GetCancellationCompensationIntentRequest; readonly response: GetCancellationCompensationIntentResponse; };
|
|
249
|
+
readonly "createTaskCancellationIntent": { readonly method: "POST"; readonly path: "/tasks/{id}/cancel-intent"; readonly request: CreateTaskCancellationIntentRequest; readonly response: CreateTaskCancellationIntentResponse; };
|
|
250
|
+
readonly "closeTaskExecution": { readonly method: "POST"; readonly path: "/tasks/{id}/close-execution"; readonly request: CloseTaskExecutionRequest; readonly response: CloseTaskExecutionResponse; };
|
|
251
|
+
readonly "listTasks": { readonly method: "GET"; readonly path: "/tasks"; readonly request: ListTasksRequest; readonly response: ListTasksResponse; };
|
|
252
|
+
readonly "getTask": { readonly method: "GET"; readonly path: "/tasks/{id}"; readonly request: GetTaskRequest; readonly response: GetTaskResponse; };
|
|
253
|
+
readonly "createTaskAmendIntent": { readonly method: "POST"; readonly path: "/tasks/{id}/amend-intent"; readonly request: CreateTaskAmendIntentRequest; readonly response: CreateTaskAmendIntentResponse; };
|
|
254
|
+
readonly "createTaskSubmission": { readonly method: "POST"; readonly path: "/claims/{id}/submissions"; readonly request: CreateTaskSubmissionRequest; readonly response: CreateTaskSubmissionResponse; };
|
|
255
|
+
readonly "signExecutorDelivery": { readonly method: "POST"; readonly path: "/submissions/{id}/signature"; readonly request: SignExecutorDeliveryRequest; readonly response: SignExecutorDeliveryResponse; };
|
|
256
|
+
readonly "getTaskSubmission": { readonly method: "GET"; readonly path: "/submissions/{id}"; readonly request: GetTaskSubmissionRequest; readonly response: GetTaskSubmissionResponse; };
|
|
257
|
+
readonly "downloadSubmissionFile": { readonly method: "GET"; readonly path: "/submissions/{id}/files/{index}"; readonly request: DownloadSubmissionFileRequest; readonly response: DownloadSubmissionFileResponse; };
|
|
258
|
+
readonly "commitTesterDrawSeed": { readonly method: "POST"; readonly path: "/tasks/{id}/tester-draws/commit"; readonly request: CommitTesterDrawSeedRequest; readonly response: CommitTesterDrawSeedResponse; };
|
|
259
|
+
readonly "revealTesterDraw": { readonly method: "POST"; readonly path: "/tasks/{id}/tester-draws/reveal"; readonly request: RevealTesterDrawRequest; readonly response: RevealTesterDrawResponse; };
|
|
260
|
+
readonly "listTaskTestReports": { readonly method: "GET"; readonly path: "/tasks/{id}/test-reports"; readonly request: ListTaskTestReportsRequest; readonly response: ListTaskTestReportsResponse; };
|
|
261
|
+
readonly "createSignedTestReport": { readonly method: "POST"; readonly path: "/tasks/{id}/test-reports"; readonly request: CreateSignedTestReportRequest; readonly response: CreateSignedTestReportResponse; };
|
|
262
|
+
readonly "issueTesterTimeoutProof": { readonly method: "POST"; readonly path: "/tasks/{id}/tester-timeout-proofs"; readonly request: IssueTesterTimeoutProofRequest; readonly response: IssueTesterTimeoutProofResponse; };
|
|
263
|
+
readonly "getFinalResultIntent": { readonly method: "GET"; readonly path: "/tasks/{id}/final-result-intent"; readonly request: GetFinalResultIntentRequest; readonly response: GetFinalResultIntentResponse; };
|
|
264
|
+
readonly "getAcceptResultIntent": { readonly method: "GET"; readonly path: "/tasks/{id}/accept-result-intent"; readonly request: GetAcceptResultIntentRequest; readonly response: GetAcceptResultIntentResponse; };
|
|
265
|
+
readonly "listTaskReviews": { readonly method: "GET"; readonly path: "/tasks/{id}/reviews"; readonly request: ListTaskReviewsRequest; readonly response: ListTaskReviewsResponse; };
|
|
266
|
+
readonly "createTaskReview": { readonly method: "POST"; readonly path: "/tasks/{id}/reviews"; readonly request: CreateTaskReviewRequest; readonly response: CreateTaskReviewResponse; };
|
|
267
|
+
readonly "bindReviewTransaction": { readonly method: "POST"; readonly path: "/reviews/{id}/tx"; readonly request: BindReviewTransactionRequest; readonly response: BindReviewTransactionResponse; };
|
|
268
|
+
readonly "listTaskRewardTranches": { readonly method: "GET"; readonly path: "/tasks/{id}/reward-tranches"; readonly request: ListTaskRewardTranchesRequest; readonly response: ListTaskRewardTranchesResponse; };
|
|
269
|
+
readonly "listRewardTranches": { readonly method: "GET"; readonly path: "/rewards/tranches"; readonly request: ListRewardTranchesRequest; readonly response: ListRewardTranchesResponse; };
|
|
270
|
+
readonly "createRewardClaimIntent": { readonly method: "POST"; readonly path: "/rewards/claim-intents"; readonly request: CreateRewardClaimIntentRequest; readonly response: CreateRewardClaimIntentResponse; };
|
|
271
|
+
readonly "getArbitrationStreamPending": { readonly method: "GET"; readonly path: "/rewards/arb-stream/pending"; readonly request: GetArbitrationStreamPendingRequest; readonly response: GetArbitrationStreamPendingResponse; };
|
|
272
|
+
readonly "getRewardsBreakdown": { readonly method: "GET"; readonly path: "/rewards/breakdown"; readonly request: GetRewardsBreakdownRequest; readonly response: GetRewardsBreakdownResponse; };
|
|
273
|
+
readonly "createArbitrationStreamClaimIntent": { readonly method: "POST"; readonly path: "/rewards/arbitration-stream-claim-intent"; readonly request: CreateArbitrationStreamClaimIntentRequest; readonly response: CreateArbitrationStreamClaimIntentResponse; };
|
|
274
|
+
readonly "listTesterSeats": { readonly method: "GET"; readonly path: "/rewards/tester-seats"; readonly request: ListTesterSeatsRequest; readonly response: ListTesterSeatsResponse; };
|
|
275
|
+
readonly "listExecutorPools": { readonly method: "GET"; readonly path: "/rewards/executor-pools"; readonly request: ListExecutorPoolsRequest; readonly response: ListExecutorPoolsResponse; };
|
|
276
|
+
readonly "listExecutorShares": { readonly method: "GET"; readonly path: "/rewards/executor-shares"; readonly request: ListExecutorSharesRequest; readonly response: ListExecutorSharesResponse; };
|
|
277
|
+
readonly "createExecutorShareClaimIntent": { readonly method: "POST"; readonly path: "/rewards/executor-share-claim-intents"; readonly request: CreateExecutorShareClaimIntentRequest; readonly response: CreateExecutorShareClaimIntentResponse; };
|
|
278
|
+
readonly "createTesterSeatClaimIntent": { readonly method: "POST"; readonly path: "/rewards/tester-seat-claim-intents"; readonly request: CreateTesterSeatClaimIntentRequest; readonly response: CreateTesterSeatClaimIntentResponse; };
|
|
279
|
+
readonly "listDisputes": { readonly method: "GET"; readonly path: "/disputes"; readonly request: ListDisputesRequest; readonly response: ListDisputesResponse; };
|
|
280
|
+
readonly "getDispute": { readonly method: "GET"; readonly path: "/disputes/{id}"; readonly request: GetDisputeRequest; readonly response: GetDisputeResponse; };
|
|
281
|
+
readonly "listArbitratorCases": { readonly method: "GET"; readonly path: "/arbitrator/cases"; readonly request: ListArbitratorCasesRequest; readonly response: ListArbitratorCasesResponse; };
|
|
282
|
+
readonly "createFallbackReportIntent": { readonly method: "POST"; readonly path: "/disputes/{id}/fallback-report-intent"; readonly request: CreateFallbackReportIntentRequest; readonly response: CreateFallbackReportIntentResponse; };
|
|
283
|
+
readonly "createDispute": { readonly method: "POST"; readonly path: "/tasks/{id}/disputes"; readonly request: CreateDisputeRequest; readonly response: CreateDisputeResponse; };
|
|
284
|
+
readonly "createTaskAppeal": { readonly method: "POST"; readonly path: "/tasks/{id}/appeals"; readonly request: CreateTaskAppealRequest; readonly response: CreateTaskAppealResponse; };
|
|
285
|
+
readonly "confirmArbitrationSeat": { readonly method: "POST"; readonly path: "/disputes/{id}/confirm"; readonly request: ConfirmArbitrationSeatRequest; readonly response: ConfirmArbitrationSeatResponse; };
|
|
286
|
+
readonly "createArbitrationVoteIntent": { readonly method: "POST"; readonly path: "/disputes/{id}/vote-intent"; readonly request: CreateArbitrationVoteIntentRequest; readonly response: CreateArbitrationVoteIntentResponse; };
|
|
287
|
+
readonly "appealDispute": { readonly method: "POST"; readonly path: "/disputes/{id}/appeals"; readonly request: AppealDisputeRequest; readonly response: AppealDisputeResponse; };
|
|
288
|
+
readonly "waiveTaskAppeal": { readonly method: "POST"; readonly path: "/tasks/{id}/waive-appeal"; readonly request: WaiveTaskAppealRequest; readonly response: WaiveTaskAppealResponse; };
|
|
289
|
+
readonly "listEmissionHours": { readonly method: "GET"; readonly path: "/emission/hours"; readonly request: ListEmissionHoursRequest; readonly response: ListEmissionHoursResponse; };
|
|
290
|
+
readonly "getEmissionHour": { readonly method: "GET"; readonly path: "/emission/hours/{hourId}"; readonly request: GetEmissionHourRequest; readonly response: GetEmissionHourResponse; };
|
|
291
|
+
readonly "getEmissionStatus": { readonly method: "GET"; readonly path: "/emission/status"; readonly request: GetEmissionStatusRequest; readonly response: GetEmissionStatusResponse; };
|
|
292
|
+
readonly "getEconomySummary": { readonly method: "GET"; readonly path: "/economy/summary"; readonly request: GetEconomySummaryRequest; readonly response: GetEconomySummaryResponse; };
|
|
293
|
+
readonly "getStakingPositions": { readonly method: "GET"; readonly path: "/staking/positions"; readonly request: GetStakingPositionsRequest; readonly response: GetStakingPositionsResponse; };
|
|
294
|
+
readonly "getPublisherReadiness": { readonly method: "GET"; readonly path: "/staking/publisher-readiness/{address}"; readonly request: GetPublisherReadinessRequest; readonly response: GetPublisherReadinessResponse; };
|
|
295
|
+
readonly "getTesterPoolJoinIntent": { readonly method: "GET"; readonly path: "/staking/tester-pool-join-intent"; readonly request: GetTesterPoolJoinIntentRequest; readonly response: GetTesterPoolJoinIntentResponse; };
|
|
296
|
+
readonly "getArbitratorPoolJoinIntent": { readonly method: "GET"; readonly path: "/staking/arbitrator-pool-join-intent"; readonly request: GetArbitratorPoolJoinIntentRequest; readonly response: GetArbitratorPoolJoinIntentResponse; };
|
|
297
|
+
readonly "getAgentEligibility": { readonly method: "GET"; readonly path: "/agents/me/eligibility"; readonly request: GetAgentEligibilityRequest; readonly response: GetAgentEligibilityResponse; };
|
|
298
|
+
readonly "getAgentNextActions": { readonly method: "GET"; readonly path: "/agents/me/next-actions"; readonly request: GetAgentNextActionsRequest; readonly response: GetAgentNextActionsResponse; };
|
|
299
|
+
readonly "getNetworkStats": { readonly method: "GET"; readonly path: "/network/stats"; readonly request: GetNetworkStatsRequest; readonly response: GetNetworkStatsResponse; };
|
|
300
|
+
readonly "listAgents": { readonly method: "GET"; readonly path: "/agents"; readonly request: ListAgentsRequest; readonly response: ListAgentsResponse; };
|
|
301
|
+
readonly "heartbeatAgent": { readonly method: "POST"; readonly path: "/agents/heartbeat"; readonly request: HeartbeatAgentRequest; readonly response: HeartbeatAgentResponse; };
|
|
302
|
+
readonly "getOpenApiDocument": { readonly method: "GET"; readonly path: "/openapi.json"; readonly request: GetOpenApiDocumentRequest; readonly response: GetOpenApiDocumentResponse; };
|
|
303
|
+
}
|