feat: add A2A agent integration control plane
All checks were successful
CI and Production Smoke / smoke (push) Successful in 10s
All checks were successful
CI and Production Smoke / smoke (push) Successful in 10s
This commit is contained in:
@@ -499,6 +499,7 @@ export const QueryAgentMemoryResponseSchema = z.object({
|
||||
// ─────────────────────────────────────────────
|
||||
export const NegotiateBountyRequestSchema = z.object({
|
||||
task_id: UUIDSchema,
|
||||
agent_id: z.string().min(1, "必須提供 agent_id 進行白名單驗證"),
|
||||
requested_amount: MoneyAmountSchema,
|
||||
reasoning: z.string().min(10, "Reasoning is required for negotiation"),
|
||||
});
|
||||
|
||||
@@ -117,7 +117,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
|
||||
},
|
||||
{
|
||||
name: MCPToolName.NEGOTIATE_BOUNTY,
|
||||
description: "[A2A Economy] Negotiate a higher bounty payout for an open task. Requests within a 10% margin are automatically approved by the platform.",
|
||||
description: "[A2A Economy] Request a higher bounty payout for an open task. Production defaults to human review; tightly capped auto-approval requires platform configuration.",
|
||||
inputSchema: toJsonSchema(NegotiateBountyRequestSchema),
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user