Skip to content

CliToolNodeEntryDto

Discriminated view of a CLI-tool action entry: actionId is "cli-tool" and both commandTree and cliTool are guaranteed present. Narrow with isCliToolEntry.

actionId: "cli-tool"

NodeCatalogEntryDto.actionId


optional adapter?: string | null

Required when nodeType === "action".

NodeCatalogEntryDto.adapter


optional approvalState?: TemplateApprovalState | null

NodeCatalogEntryDto.approvalState


canvasType: string

ReactFlow node-type key (informational once the renderer collapses to GenericNode).

NodeCatalogEntryDto.canvasType


cliTool: CliToolDescriptorDto

Present only on cli-tool action entries. Drives the Node Hub’s install/min-version check.

NodeCatalogEntryDto.cliTool


commandTree: CommandTreeGroupDto[]

Embedded command catalog on cli-tool entries; absent on every other kind. The node factory parses it to drive the inspector’s command picker.

NodeCatalogEntryDto.commandTree


defaults: Record<string, unknown>

Default values stamped onto node.data when a fresh node is dropped.

NodeCatalogEntryDto.defaults


description: string

NodeCatalogEntryDto.description


icon: string

NodeCatalogEntryDto.icon


inspector: string

Inspector sub-form name (informational once GenericInspector is the only inspector).

NodeCatalogEntryDto.inspector


label: string

NodeCatalogEntryDto.label


lowering: LoweringHintDto

NodeCatalogEntryDto.lowering


nodeType: FlowNodeType

One of action | ai | agentic | utility | service.

NodeCatalogEntryDto.nodeType


optional publishedAt?: string | null

NodeCatalogEntryDto.publishedAt


optional publisher?: string | null

Hub-injected provenance; absent on embedded/local entries.

NodeCatalogEntryDto.publisher


renderer: string

React component name for the canvas body (informational once GenericNode is the only renderer).

NodeCatalogEntryDto.renderer


runtimeBindings: RuntimeBindingsDto

NodeCatalogEntryDto.runtimeBindings


schema: Record<string, unknown>

JSON Schema (Draft 2020-12 subset: type/properties/required/enum/pattern/default/title).

NodeCatalogEntryDto.schema


optional serviceIntegration?: ServiceIntegrationDto | null

Present only on service entries. The declarative API integration the generic service adapter executes (base URL, auth, operations).

NodeCatalogEntryDto.serviceIntegration


settings: SettingsRequirementDto[]

NodeCatalogEntryDto.settings


slug: string

NodeCatalogEntryDto.slug


sortKey: number

NodeCatalogEntryDto.sortKey


tags: string[]

NodeCatalogEntryDto.tags


version: string

NodeCatalogEntryDto.version