Skip to content

Novior.MentorAgent 1.0.0

Choose a tag to compare

@macria97 macria97 released this 13 Oct 15:24
· 3 commits to main since this release

Changed

  • Breaking — all packages: the packages are now Novior.MentorAgent, Novior.MentorAgent.Abstractions,
    Novior.MentorAgent.Blazor, Novior.MentorAgent.Declarative and Novior.MentorAgent.Server; the MentorAgent.*
    ids end at 1.0.0-rc.15. The namespaces follow (using Novior.MentorAgent.Extensions;), the widget's static files
    are served from _content/Novior.MentorAgent.Abstractions/, and the log categories start with
    Novior.MentorAgent, so a "MentorAgent" filter under Logging:LogLevel no longer matches. The five packages
    depend on each other at their exact version. Unchanged: the types and extension methods (AddMentorAgent,
    MentorOptions, …), the routes, the telemetry source, meter and metric names, the session snapshot format, the
    MentorAgentMcp CORS policy, MentorAgent.css, MentorAgent.js and window.MentorAgent. The README's
    Migrating from the MentorAgent.* packages walks through the move.

Fixed

  • Novior.MentorAgent: four Warnings outside the tool gate still carried a whole exception, whose text comes from the
    host's code: a UI action that threw, with a ChatClient or a pre-built Agent, and an OnToolResult or a
    McpCallerPrincipal that threw on the MCP server. As in the gate, they name the exception's type; the whole
    exception is logged at Debug (BUG-152, S3).
  • Breaking — Novior.MentorAgent.Server: AddMentorAgentMcp() or AddMentorAgentA2A() called before AddMentorAgent(),
    or with McpServerEnabled / A2AServerEnabled turned on after AddMentorAgent() read them (a Configure or
    PostConfigure of MentorOptions), registered nothing and said nothing; the map call failed later, in the
    second case naming a call the host had made. The host now stops at start-up with the reason and the fix, and
    one that ran without the server because of it no longer starts (BUG-153, S3).
  • Novior.MentorAgent: the README and the rc.15 notes said that the warning about writes that run without
    confirmation comes at startup. It comes the first time the actions are read: at startup only with
    WarmUpAtStartup or MapMentorAgentA2A(), otherwise with the first conversation or the first MCP or tour
    request. With [Description] alone it also names the methods that only read, until IsReadOnlyAction or
    [MentorAction(ReadOnly = true)] declares them. The README now says both (BUG-154, S3).
  • Novior.MentorAgent.Server: the README's minimal SignalR client called Stop, the confirmations and the session
    save and restore without the hub's credentials: with cookies from another origin, or a bearer token, those
    calls were anonymous and did nothing. It now sends them, like the complete components. The README also no
    longer says that the MCP and A2A servers are built into MentorAgent (BUG-155, S3).
  • Novior.MentorAgent: the READMEs, the XML documentation of AddMentorAgent() and the start-up warning for a
    callback that throws listed AppDescription and AgentCard among the options read at registration.
    Only AppName is, as the MCP server's name; the A2A card is built from the real options when
    MapMentorAgentA2A() runs (BUG-156, S4).
  • Novior.MentorAgent: the README's MAUI step 3, pasted into the MAUI Blazor Hybrid template, did not compile: it
    lacked using System.Reflection; and using Microsoft.Extensions.Configuration;, and AddUserSecrets needs
    Microsoft.Extensions.Configuration.UserSecrets, which neither the template nor MentorAgent brings. The step
    now names both and the package, and says that AddUserSecrets needs the project's UserSecretsId and finds
    the secrets only on the development machine (BUG-157, S3).
  • Novior.MentorAgent.Abstractions: its README said that the core package depends on
    ModelContextProtocol.AspNetCore; since rc.15 that transport is in the Server package, and the core
    references ModelContextProtocol (BUG-158, S3).