MentorAgent Docs
Menu

Questa pagina non è ancora tradotta in italiano: qui la trovi in inglese.

RiferimentoPacchetto: Novior.MentorAgent

MentorRecipeSourceResult record

The recipes a IMentorRecipeSource gives, and those it left out with their reason.

In questa pagina

Namespace: Novior.MentorAgent.Core. Package: Novior.MentorAgent.

public sealed record MentorRecipeSourceResult : IEquatable<MentorRecipeSourceResult>

Terminal
dotnet add package Novior.MentorAgent

public MentorRecipeSourceResult(IReadOnlyList<MentorRecipeDefinition> Recipes, IReadOnlyList<MentorRecipeRejection> Rejected)

The recipes a IMentorRecipeSource gives, and those it left out with their reason.

Parameters

  • Recipes: The definitions, in the order the source gives them.
  • Rejected: What the source itself left out, with a MentorRecipeRejectionReasons code or one of its own.

public MentorRecipePrecedence Precedence { get; init; }

Who wins when one of these recipes has the name of a UI action the page registers in code (RegisterUIAction): the code, by default, or the source. Any other tool — an action of the application, a tool of an MCP server, one of MentorAgent's — always wins over a recipe.

public IReadOnlyList<MentorRecipeDefinition> Recipes { get; init; }

The definitions, in the order the source gives them.

public IReadOnlyList<MentorRecipeRejection> Rejected { get; init; }

What the source itself left out, with a MentorRecipeRejectionReasons code or one of its own.