Enum Class SkillResolverPolicy

java.lang.Object
java.lang.Enum<SkillResolverPolicy>
com.tnsai.skills.SkillResolverPolicy
All Implemented Interfaces:
Serializable, Comparable<SkillResolverPolicy>, Constable

public enum SkillResolverPolicy extends Enum<SkillResolverPolicy>
How an agent surfaces and activates skills (TNS-289).
Since:
0.10.0
  • Enum Constant Details

    • AUTO

      public static final SkillResolverPolicy AUTO
      Resolver runs on every user turn; top-N candidate descriptions are appended to the system prompt and the LLM may invoke any of them via the synthetic invoke_skill tool. Users can also invoke a skill manually with /skill-name [args].
    • MANUAL_ONLY

      public static final SkillResolverPolicy MANUAL_ONLY
      Resolver does NOT run automatically; only manual user-driven invocation (/skill-name [args]) and programmatic agent.invokeSkill(...) are honoured. Useful when the deployment wants deterministic skill loading.
    • OFF

      public static final SkillResolverPolicy OFF
      Skill layer disabled. The store may still be wired (e.g. for inspection by other tooling) but no skill content reaches the LLM. This is the framework default when no SkillStore is configured.
  • Method Details

    • values

      public static SkillResolverPolicy[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SkillResolverPolicy valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null