Table of Contents

Constructor AgentPluginContext

Namespace
Oscova.Agents.Plugins
Assembly
Oscova.Agents.dll

AgentPluginContext(IToolCredentialResolver, IAgentPluginServices, ILoggerFactory, TimeProvider, string, string)

Creates a plugin context from host-provided services.

public AgentPluginContext(IToolCredentialResolver credentialResolver, IAgentPluginServices services, ILoggerFactory loggerFactory, TimeProvider timeProvider, string pluginDirectory, string modelStorageDirectory)

Parameters

credentialResolver IToolCredentialResolver

The resolver used for plugin-requested credentials.

services IAgentPluginServices

The Host services available to this plugin.

loggerFactory ILoggerFactory

The logger factory exposed to plugin contributions.

timeProvider TimeProvider

Resolves the user's current preferred time zone for user-facing timestamps.

pluginDirectory string

The fully qualified directory containing the plugin manifest.

modelStorageDirectory string

The fully qualified host-owned model storage directory.