Skip to content

Documentation / @agentick/core / SubstituteOptions

Interface: SubstituteOptions

Defined in: core/src/skill/substitute.ts:23

Properties

args?

optional args: unknown

Defined in: core/src/skill/substitute.ts:32

The argument value. May be:

  • an object — keys become available as $name, values (in argumentNames order, or insertion order) as $N / $ARGUMENTS[N]
  • a string — used directly as $ARGUMENTS; $N indexed via shell-style tokenization (whitespace + quotes)
  • undefined — substitutions resolve to empty string

argumentNames?

optional argumentNames: string[]

Defined in: core/src/skill/substitute.ts:39

Declared argument names (from the arguments frontmatter field). When present, drives the order for $N access on object args, and the set of valid $name keys.


vars?

optional vars: Record<string, string>

Defined in: core/src/skill/substitute.ts:44

Environment-style variables for ${VAR} substitution.

Released under the ISC License.