UNPKG

@hashgraphonline/standards-agent-kit

Version:

A modular SDK for building on-chain autonomous agents using Hashgraph Online Standards, including HCS-10 for agent discovery and communication. https://hol.org

30 lines (29 loc) 1.16 kB
import { z } from 'zod'; import { BaseHCS6QueryTool } from './base-hcs6-tools'; import { HCS6QueryToolParams } from './hcs6-tool-params'; import { CallbackManagerForToolRun } from '@langchain/core/callbacks/manager'; /** * Schema for creating a dynamic hashinal registry */ declare const CreateDynamicRegistrySchema: z.ZodObject<{ ttl: z.ZodDefault<z.ZodNumber>; submitKey: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>; }, "strip", z.ZodTypeAny, { ttl: number; submitKey?: string | boolean | undefined; }, { ttl?: number | undefined; submitKey?: string | boolean | undefined; }>; export type CreateDynamicRegistryInput = z.infer<typeof CreateDynamicRegistrySchema>; /** * Tool for creating HCS-6 dynamic registries */ export declare class CreateDynamicRegistryTool extends BaseHCS6QueryTool<typeof CreateDynamicRegistrySchema> { name: string; description: string; get specificInputSchema(): typeof CreateDynamicRegistrySchema; constructor(params: HCS6QueryToolParams); protected executeQuery(params: CreateDynamicRegistryInput, _runManager?: CallbackManagerForToolRun): Promise<unknown>; } export {};