/** * Public surface of the skills foundation. * * Consumers reach the skills layer two ways: * * 1. Via `ClientOptions.skills` at `new QodoClient()` time. The client * owns a `SkillsManager` instance and the `tasks.startWithAgent` / * `tasks.startWithGraph` paths auto-inject the slim index into * inline-agent `instructions`. Consumers don't have to call any * skills API directly for the common case. * 2. Via `client.skills` for direct introspection: `await * client.skills.list()` returns the catalog, `await client.skills.get('foo')` * resolves a specifier. Useful for UIs that want to surface the * available skills before dispatch. * * The foundation includes parser + validator + manager + renderer + * injection helpers + the in-process `qodo-skills` MCP server for * runtime `get_skill` / `list_skills` / `get_skill_file` tool calls, * trust enforcement, lockfile, and hot reload. */ export { SkillsManager, SkillNotFoundError, SkillAmbiguousPinError, SkillsBudgetExceededError, QodoSkillError, } from './manager.js'; export type { CatalogSnapshot, ResolvedRequiresCaps, SkillGetOptions } from './manager.js'; export { isSkillTrusted, SkillsTrustConfigError, sourceIdentityKey, validateTrustedSources, } from './trust.js'; export { activationFailureMessage, lookupFromSnapshot, renderActiveSkillsBlock, resolveActivationGraph, resolveAllActivations, } from './activation.js'; export type { ActivationGraph, ActivationGraphResult, ActiveSkillsRenderResult, MultiActivationResult, SkillLookup, } from './activation.js'; export { renderSlimIndex } from './render.js'; export type { RenderOptions, RenderResult } from './render.js'; export { injectIntoAgentSpec, injectIntoGraphSpec } from './inject.js'; export type { InjectionResult } from './inject.js'; export { parseSkillDocument, SkillParseError } from './parser.js'; export type { FrontmatterParseResult } from './parser.js'; export { parseArgv, substitute, substituteWithArgumentsTrailer, } from './substitute.js'; export type { SubstitutionContext, SubstitutionResult, SubstitutionWarning, } from './substitute.js'; export { SKILL_EVENT_KINDS, eventSubjectFqn, skillActivated, skillAllowedToolsAdvisory, skillAllowedToolsApplied, skillAllowedToolsUnmatched, skillDisableModelInvocationOverridden, skillDiscovered, skillError, skillFileLoaded, skillFileRejected, skillForkDeclined, skillHooksIgnored, skillIndexOverflowPinned, skillIndexTruncated, skillIndexed, skillInvocationDenied, skillLoaded, skillLockDrift, skillLockUnreachable, skillPinOmitted, skillPreprocessBlocked, skillPreprocessExecuted, skillRemoved, skillRequiresCapExceeded, skillRequiresTrustDenied, skillShadowed, skillSourceScanned, skillSubstitutionWarn, skillTierAssigned, skillUnknownField, tierAssignedFor, } from './events.js'; export { findCommandBlocks, isAllowlisted, parseFirstToken, POWERSHELL_GATE_ENV_VAR, preprocessBody, substituteQodoVars, } from './preprocess.js'; export type { PreprocessContext, PreprocessResult } from './preprocess.js'; export { cosine, fnv1a32, prefilterCatalog, skillEmbedText, SkillEmbeddingCache, } from './prefilter.js'; export type { PrefilterOptions, PrefilterOutcome } from './prefilter.js'; export { validateFrontmatter, validateBody } from './validator.js'; export type { ValidatedFrontmatter, ValidatedBody, ValidationIssue } from './validator.js'; export { LOCKFILE_BASENAME, LOCKFILE_SCHEMA_VERSION, LockfileParseError, LockfileValidationError, buildLockfile, computeSkillHash, findLockfile, loadLockfile, parseLockfile, validateLockfileEntry, writeLockfile, } from './lockfile.js'; export type { Lockfile, LockfileEntry, LockfileValidation } from './lockfile.js'; export type { AllowedToolEntry, ParsedSkill, SkillArgument, SkillEmbedder, SkillEvent, SkillEventKind, SkillEventSeverity, SkillFrontmatter, SkillSource, SkillSourceType, SkillSpecifier, SkillTrustTier, SkillsConfig, SkillsEventSink, SkillsActivationConfig, SkillsPreprocessingConfig, SkillsPreprocessingMode, SkillsRequiresConfig, } from './types.js'; export { ACTIVATION_DEFAULT_MIN_SCORE, ACTIVATION_DEFAULT_TOP_K, DEFAULT_INDEX_CHAR_BUDGET, DEFAULT_SOURCE_ORDER, PREPROCESS_DEFAULT_MAX_OUTPUT_BYTES, PREPROCESS_DEFAULT_TIMEOUT_MS, REQUIRES_DEFAULT_MAX_DEPTH, REQUIRES_DEFAULT_MAX_TRANSITIVE, REQUIRES_DEFAULT_MAX_TRANSITIVE_TOKENS, SKILL_BODY_HARD_BYTES, SKILL_BODY_SOFT_LINES, SKILL_NAME_MAX_CHARS, SKILL_NAME_RESERVED_WORDS, SLIM_INDEX_ENTRY_BUDGET, SOURCE_DEFAULT_VENDORS, SOURCE_TRUST_TIERS, } from './types.js'; //# sourceMappingURL=index.d.ts.map