Table of Contents

Method ImportTrustedPackageAsync

Namespace
Oscova.Agents.Skills
Assembly
Oscova.Agents.dll

ImportTrustedPackageAsync(string, string, Stream, bool, CancellationToken)

Installs an authorized package while preserving trusted provenance and validating its exact skill name.

public Task<SkillImportResult> ImportTrustedPackageAsync(string userId, string skillName, Stream content, bool replaceExisting, CancellationToken cancellationToken = default)

Parameters

userId string
skillName string
content Stream
replaceExisting bool
cancellationToken CancellationToken

Returns

Task<SkillImportResult>