/** * Skills system - main entry point. * Re-exports all skills subsystems and CAAMP delegated types. * * @epic T4454 * @task T4516 */ export { catalog } from '@cleocode/caamp'; export { agentExists, getAgentsDir, getSubagentConfig, loadAgentConfig } from './agents/config.js'; export { installAgent, installAllAgents, uninstallAgent } from './agents/install.js'; export { getAgent, listAgents, readRegistry, registerAgent, syncRegistry, unregisterAgent, } from './agents/registry.js'; export { caampDiscoverSkill, caampDiscoverSkills, caampParseSkillFile, discoverAllSkills, discoverSkill, discoverSkillsInDir, findSkill, generateManifest, getSharedDir, getSkillSearchPaths, getSkillsDir, listCanonicalSkillNames, mapSkillName, parseFrontmatter, resolveTemplatePath, toSkillSummary, } from './discovery.js'; export type { MultiSkillComposition } from './dispatch.js'; export { autoDispatch, dispatchExplicit, getProtocolForDispatch, prepareSpawnContext, prepareSpawnMulti, } from './dispatch.js'; export type { BridgeStatus, BrokenSymlinkRecord, DoctorDiagnoseOptions, DoctorDiagnoseReport, DriftRecord, EntryKind, OrphanRecord, SkillSymlinkRecord, } from './doctor.js'; export { diagnoseSkillStore, renderDoctorDiagnoseReport } from './doctor.js'; export type { AdoptedSkillRowData, DoctorAdoptCliAdapters, DoctorAdoptOptions, DoctorAdoptOrphanRecord, DoctorAdoptResult, OrphanActionResult, OrphanDecision, OrphanRefusal, RecordRowFn, RegisteredNamesLoader, } from './doctor-adopt.js'; export { applyDecision, caampStandaloneAdapters, discoverOrphans, runDoctorAdopt, writeAuditLog, } from './doctor-adopt.js'; export type { BridgeSymlinkRecord, DoctorBridgeOptions, DoctorBridgeResult, PerSkillSymlinkRemoval, } from './doctor-bridge.js'; export { AgentsSkillsRealDirError, buildBackupTimestamp, runDoctorBridge, } from './doctor-bridge.js'; export type { FederatedSearchOptions, FederatedSearchResponse, FederatedSearchResult, } from './federated-search.js'; export { computeScore, federatedSearch } from './federated-search.js'; export type { FederationInstallDecision, FederationInstallGateOptions, FederationInstallGateResult, } from './federation-install-gate.js'; export { computeArtefactChecksum, evaluateFederationInstallGate, requiresInteractiveConfirmation, } from './federation-install-gate.js'; export type { AddFederationResult, FederationEntry, FederationIndex, FederationTrustLevel, } from './federation-store.js'; export { addFederationPeer, assertTrustLevel, getFederationIndexPath, listFederationPeers, normaliseFederationUrl, readFederationIndex, removeFederationPeer, writeFederationIndex, } from './federation-store.js'; export type { ClassifyOptions, HermesClassification, HermesRecordInput, ImportedSkillSourceType, } from './hermes-import-classifier.js'; export { classifyHermesBatch, classifyHermesRecord, TRUSTED_REPOS_FOR_IMPORT, } from './hermes-import-classifier.js'; export { buildTaskContext, injectProtocol, loadProtocolBase, orchestratorSpawnSkill, prepareTokenValues, } from './injection/subagent.js'; export type { TokenValues } from './injection/token.js'; export { buildDefaults, hasUnresolvedTokens, injectTokens, loadAndInject, loadPlaceholders, setFullContext, validateAllTokens, validateRequired, validateTokenValue, } from './injection/token.js'; export { installSkill } from './install.js'; export type { ConsensusResult, ContributionConflict, ContributionDecision, } from './manifests/contribution.js'; export { computeConsensus, createContributionManifestEntry, detectConflicts, generateContributionId, getContributionInjection, validateContributionTask, } from './manifests/contribution.js'; export { appendManifest, archiveEntry, ensureOutputs, filterEntries, findEntry, getFollowupTaskIds, getPendingFollowup, readManifest, rotateManifest, taskHasResearch, } from './manifests/research.js'; export { invalidateCache, isCacheFresh, regenerateCache, resolveManifest, } from './manifests/resolver.js'; export type { MarketplaceSkill, SkillsMpConfig } from './marketplace.js'; export { getSkill as getMpSkill, isEnabled as isMpEnabled, loadConfig as loadMpConfig, searchSkills, } from './marketplace.js'; export type { MigratedSkillRecord, MigrationOptions, MigrationOutcome, SkippedSkillRecord, TarExec, } from './migration.js'; export { defaultMigrationOptions, formatBackupTimestamp, isAlreadyMigrated, LEGACY_MIGRATED_MARKER, listBackups, listSkillDirs, planMigration, runMigration, runRollback, systemTarExec, } from './migration.js'; export type { BatchSpawnEntry, BatchSpawnResult } from './orchestrator/spawn.js'; export { buildPrompt, canParallelize, spawn, spawnBatch } from './orchestrator/spawn.js'; export type { PauseStatus, SessionInitResult } from './orchestrator/startup.js'; export { analyzeDependencies, generateHitlSummary, getContextState, getNextTask, getReadyTasks, getThresholds, sessionInit, shouldPause, } from './orchestrator/startup.js'; export { validateManifestIntegrity, validateOrchestratorCompliance, validateSubagentOutput, verifyCompliance, } from './orchestrator/validator.js'; export type { CommandRunner, ProposeCanonicalPatchArgs, ProposeCanonicalPatchDryRun, ProposeCanonicalPatchErrorCode, ProposeCanonicalPatchFailure, ProposeCanonicalPatchOk, ProposeCanonicalPatchResult, } from './propose-patch.js'; export { proposeCanonicalPatch } from './propose-patch.js'; export type { SkillExecutorAdapterOptions, SkillRunner, } from './skill-executor-adapter.js'; export { defaultSkillRunner, SkillExecutorAdapter } from './skill-executor-adapter.js'; export type { SkillSearchPath as MultiSourceSkillSearchPath, SkillSourceMode, SkillSourceType, } from './skill-paths.js'; export { getSkillSearchPaths as getMultiSourceSkillPaths, getSkillSourceType, resolveProtocolPath, resolveSharedPath, resolveSkillPath, } from './skill-paths.js'; export type { IsCanonicalOptions, SkillSourceType as SkillRootSourceType } from './skill-root.js'; export { AGENTS_SKILLS_BRIDGE_PATH, CLAUDE_SKILLS_AGENTS_SHARED_PATH, is_canonical, resolveSkillsRoot, } from './skill-root.js'; export type { Finding, InstallDecision, InstallGateDecision, ScanResult, ScanVerdict, SkillTrustLevel, } from './skills-guard.js'; export { contentHash, formatScanReport, resolveTrustLevel, scanFile, scanSkill, shouldAllowInstall, TRUSTED_REPOS, } from './skills-guard.js'; export type { SkillTrustBypassEntry } from './skills-guard-audit.js'; export { getTrustBypassLogPath, recordTrustBypass } from './skills-guard-audit.js'; export type { FindingCategory, FindingSeverity, ThreatPattern } from './skills-guard-patterns.js'; export { INVISIBLE_CHARS, SCANNABLE_EXTENSIONS, STRUCTURAL_LIMITS, SUSPICIOUS_BINARY_EXTENSIONS, THREAT_PATTERNS, } from './skills-guard-patterns.js'; export { formatDateYMD, formatIsoDate, getCurrentTimestamp, isValidIsoDate, } from './test-utility.js'; export type { AgentConfig, AgentRegistry, AgentRegistryEntry, CaampSkillMetadata, ComplianceResult, CtDispatchMatrix, CtManifest, CtManifestSkill, CtProfileDefinition, CtSkillEntry, CtValidationIssue, CtValidationResult, DependencyAnalysis, DependencyWave, DispatchResult, DispatchStrategy, HitlSummary, InstalledSkill, InstalledSkillsFile, ManifestEntry, ManifestValidationResult, McpServerConfig, OrchestratorThresholds, PreSpawnCheckResult, Provider, Skill, SkillFrontmatter, SkillManifest, SkillProtocolType, SkillSearchPath, SkillSearchScope, SkillSummary, SpawnPromptResult, TokenContext, TokenDefinition, TokenValidationResult, } from './types.js'; export { SKILL_NAME_MAP } from './types.js'; export type { SkillUsageAction, SkillUsageContext } from './usage-recorder.js'; export { recordSkillUsage } from './usage-recorder.js'; export type { IssueSeverity, SkillValidationResult, ValidationIssue } from './validation.js'; export { validateReturnMessage, validateSkill, validateSkills, } from './validation.js'; export { checkAllSkillUpdatesAsync, checkSkillUpdateAsync, getInstalledVersionAsync, } from './version.js'; //# sourceMappingURL=index.d.ts.map