Skip to content

PromptScript API


Function: toNativeAgentName()

toNativeAgentName(name): string

Defined in: core/src/agent-names.ts:46

Convert a PromptScript agent name into a portable native identifier.

Dots are namespace separators in qualified names, so native targets use hyphens to avoid target-specific nested-path semantics.

Parameters

name

string

Returns

string