/** * @name schemas/registry * @description Zod schemas for SAP agent registry operations — registration, updates, and lookups. * * @flow * 1. Registry MCP tools import these schemas for input validation. * 2. `schemas/index.ts` re-exports them for external consumers. * * @module schemas/registry */ import { z } from 'zod'; /** * @name RegisterAgentSchema * @description Zod schema for registering a new SAP agent on-chain. * * @property name — Agent display name (3–64 characters). * @property description — Optional agent description. * @property capabilities — Array of capability identifier strings. * @property metadataUri — Optional URL to off-chain agent metadata. * @property x402Endpoint — Optional URL for the agent's x402 payment endpoint. * @property pricePerCall — Positive price per call in lamports. * @property maxCallsPerSettlement — Maximum calls per settlement cycle. * * @usedBy Registry MCP tools in the SAP MCP runtime. */ export declare const RegisterAgentSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional; capabilities: z.ZodArray; metadataUri: z.ZodOptional; x402Endpoint: z.ZodOptional; pricePerCall: z.ZodNumber; maxCallsPerSettlement: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; capabilities: string[]; pricePerCall: number; maxCallsPerSettlement: number; description?: string | undefined; metadataUri?: string | undefined; x402Endpoint?: string | undefined; }, { name: string; capabilities: string[]; pricePerCall: number; maxCallsPerSettlement: number; description?: string | undefined; metadataUri?: string | undefined; x402Endpoint?: string | undefined; }>; /** * @name UpdateAgentSchema * @description Zod schema for updating an existing SAP agent's on-chain profile. * * @property wallet — Base58 wallet address of the agent to update. * @property name — Optional new display name (3–64 characters). * @property capabilities — Optional new array of capability identifiers. * @property metadataUri — Optional new URL to off-chain agent metadata. * * @usedBy Registry MCP tools in the SAP MCP runtime. */ export declare const UpdateAgentSchema: z.ZodObject<{ wallet: z.ZodString; name: z.ZodOptional; capabilities: z.ZodOptional>; metadataUri: z.ZodOptional; }, "strip", z.ZodTypeAny, { wallet: string; name?: string | undefined; capabilities?: string[] | undefined; metadataUri?: string | undefined; }, { wallet: string; name?: string | undefined; capabilities?: string[] | undefined; metadataUri?: string | undefined; }>; /** * @name GetAgentSchema * @description Zod schema for looking up a SAP agent by wallet or PDA. * * @property wallet — Optional base58 wallet address to look up. * @property agentPda — Optional PDA of the agent account. * * @usedBy Registry MCP tools in the SAP MCP runtime. */ export declare const GetAgentSchema: z.ZodObject<{ wallet: z.ZodOptional; agentPda: z.ZodOptional; }, "strip", z.ZodTypeAny, { wallet?: string | undefined; agentPda?: string | undefined; }, { wallet?: string | undefined; agentPda?: string | undefined; }>; //# sourceMappingURL=registry.schema.d.ts.map