UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

33 lines 1.4 kB
import { Static, Type } from "typebox"; //#region packages/gateway-protocol/src/schema/nodes.d.ts declare const NodeHostStatsPayloadSchema: Type.TRefine<Type.TObject<{ cpuCount: Type.TInteger; loadAverage: Type.TOptional<Type.TTuple<[Type.TNumber, Type.TNumber, Type.TNumber]>>; memoryTotalBytes: Type.TInteger; memoryFreeBytes: Type.TInteger; diskTotalBytes: Type.TOptional<Type.TInteger>; diskAvailableBytes: Type.TOptional<Type.TInteger>; }>>; /** Agent-visible tool descriptor advertised by a connected node. */ declare const NodePluginToolDescriptorSchema: Type.TObject<{ pluginId: Type.TString; name: Type.TString; description: Type.TString; parameters: Type.TOptional<Type.TRecord<"^.*$", Type.TUnknown>>; command: Type.TOptional<Type.TString>; mcp: Type.TOptional<Type.TObject<{ server: Type.TString; tool: Type.TString; }>>; }>; type NodePluginToolDescriptor = Static<typeof NodePluginToolDescriptorSchema>; /** Agent-visible skill descriptor advertised by a connected node. */ declare const NodeSkillDescriptorSchema: Type.TObject<{ name: Type.TString; description: Type.TString; content: Type.TString; }>; type NodeSkillDescriptor = Static<typeof NodeSkillDescriptorSchema>; type NodeHostStatsPayload = Static<typeof NodeHostStatsPayloadSchema>; //#endregion export { NodePluginToolDescriptor as n, NodeSkillDescriptor as r, NodeHostStatsPayload as t };