HarnessSkill

sealed class HarnessSkill

A skill available to the agent.

Inheritors

Types

Link copied to clipboard
data class Path(val value: String) : HarnessSkill

The filesystem path to the skill definition.

Link copied to clipboard

Functions

Link copied to clipboard
fun asPath(): String

Casts this HarnessSkill as a Path and retrieves its kotlin.String value. Throws an exception if the HarnessSkill is not a Path.

Link copied to clipboard

Casts this HarnessSkill as a Path and retrieves its kotlin.String value. Returns null if the HarnessSkill is not a Path.