Skip to content

SkillScriptSupport

Namespace AgentPrism · Assembly AgentPrism.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 AgentPrism’s own source. Using MAF’s file source for database data would bypass tenant isolation and cache fingerprinting.

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

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

Creates a new script support instance.

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

runner SandboxedSkillScriptRunner

The isolated runner.

options IOptions<AgentPrismOptions>

The AgentPrism settings.

loggerFactory ILoggerFactory?

The logger factory.

ArgumentNullException

One of the required dependencies is null.