Skip to content
Tracon

SkillScriptSupport

Namespace Tracon · Assembly Tracon.Core.dll

The compile-path handle for skill script execution: sets up MAF’s file-based skill source and produces the execution delegate for stored scripts.

public sealed class SkillScriptSupport

objectSkillScriptSupport

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

This type is registered only when UseSkillScripts is called. If not registered, the compiler runs without script support; this is the concrete expression of the feature being disabled by default.

Two sources are kept separate:

  • Skills on disk — scanned by MAF’s AgentFileSkillsSource type. Whoever deploys the application writes the content.
  • Skills in the database — go through Tracon’s own source. Using MAF’s file source for database data would bypass tenant isolation and cache fingerprinting.

SkillScriptSupport(SandboxedSkillScriptRunner, IOptions<TraconOptions>, ILoggerFactory?)

Section titled “ SkillScriptSupport(SandboxedSkillScriptRunner, IOptions<TraconOptions>, ILoggerFactory?)”

Creates a new script support instance.

public SkillScriptSupport(SandboxedSkillScriptRunner runner, IOptions<TraconOptions> options, ILoggerFactory? loggerFactory = null)

runner SandboxedSkillScriptRunner

The isolated runner.

options IOptions<TraconOptions>

The Tracon settings.

loggerFactory ILoggerFactory?

The logger factory.

ArgumentNullException

One of the required dependencies is null.