@skillkit/core 1.9.0 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -2414,6 +2414,26 @@ interface ReasoningRecommendationResult extends RecommendationResult {
2414
2414
  strategy: string;
2415
2415
  };
2416
2416
  }
2417
+ /**
2418
+ * Hybrid search options for RecommendationEngine
2419
+ */
2420
+ interface RecommendHybridSearchOptions extends SearchOptions {
2421
+ hybrid?: boolean;
2422
+ enableExpansion?: boolean;
2423
+ enableReranking?: boolean;
2424
+ semanticWeight?: number;
2425
+ keywordWeight?: number;
2426
+ }
2427
+ /**
2428
+ * Hybrid search result with additional metadata for RecommendationEngine
2429
+ */
2430
+ interface RecommendHybridSearchResult extends SearchResult {
2431
+ hybridScore?: number;
2432
+ vectorSimilarity?: number;
2433
+ keywordScore?: number;
2434
+ rrfScore?: number;
2435
+ expandedTerms?: string[];
2436
+ }
2417
2437
 
2418
2438
  interface TreeNode {
2419
2439
  id: string;
@@ -2565,7 +2585,16 @@ interface ReasoningEngineStats {
2565
2585
  declare class RecommendationEngine {
2566
2586
  private weights;
2567
2587
  private index;
2588
+ private hybridPipeline;
2568
2589
  constructor(weights?: Partial<ScoringWeights>);
2590
+ /**
2591
+ * Initialize hybrid search pipeline for vector + keyword search
2592
+ */
2593
+ initHybridSearch(): Promise<void>;
2594
+ /**
2595
+ * Check if hybrid search is available
2596
+ */
2597
+ isHybridSearchAvailable(): boolean;
2569
2598
  /**
2570
2599
  * Load skill index from cache or generate from local skills
2571
2600
  */
@@ -2630,6 +2659,19 @@ declare class RecommendationEngine {
2630
2659
  * Calculate search relevance for a skill
2631
2660
  */
2632
2661
  private calculateRelevance;
2662
+ /**
2663
+ * Hybrid search combining vector embeddings and keyword matching
2664
+ */
2665
+ hybridSearch(options: RecommendHybridSearchOptions): Promise<RecommendHybridSearchResult[]>;
2666
+ /**
2667
+ * Build hybrid search index from skills
2668
+ */
2669
+ buildHybridIndex(onProgress?: (progress: {
2670
+ phase: string;
2671
+ current: number;
2672
+ total: number;
2673
+ message?: string;
2674
+ }) => void): Promise<void>;
2633
2675
  /**
2634
2676
  * Check freshness of installed skills against project dependencies
2635
2677
  *
@@ -9937,13 +9979,13 @@ declare const ConnectorPlaceholderSchema: z.ZodObject<{
9937
9979
  required: z.ZodDefault<z.ZodBoolean>;
9938
9980
  }, "strip", z.ZodTypeAny, {
9939
9981
  description: string;
9940
- category: "custom" | "search" | "ai" | "chat" | "docs" | "data" | "crm" | "email" | "calendar" | "enrichment" | "analytics" | "storage" | "notifications";
9982
+ category: "custom" | "search" | "ai" | "storage" | "data" | "chat" | "docs" | "crm" | "email" | "calendar" | "enrichment" | "analytics" | "notifications";
9941
9983
  required: boolean;
9942
9984
  examples: string[];
9943
9985
  placeholder: string;
9944
9986
  }, {
9945
9987
  description: string;
9946
- category: "custom" | "search" | "ai" | "chat" | "docs" | "data" | "crm" | "email" | "calendar" | "enrichment" | "analytics" | "storage" | "notifications";
9988
+ category: "custom" | "search" | "ai" | "storage" | "data" | "chat" | "docs" | "crm" | "email" | "calendar" | "enrichment" | "analytics" | "notifications";
9947
9989
  placeholder: string;
9948
9990
  required?: boolean | undefined;
9949
9991
  examples?: string[] | undefined;
@@ -10073,11 +10115,11 @@ declare const ExecutionStepSchema: z.ZodObject<{
10073
10115
  description?: string | undefined;
10074
10116
  metadata?: Record<string, unknown> | undefined;
10075
10117
  error?: string | undefined;
10118
+ input?: Record<string, unknown> | undefined;
10076
10119
  startedAt?: string | undefined;
10077
10120
  completedAt?: string | undefined;
10078
10121
  output?: Record<string, unknown> | undefined;
10079
10122
  duration?: number | undefined;
10080
- input?: Record<string, unknown> | undefined;
10081
10123
  }, {
10082
10124
  name: string;
10083
10125
  id: string;
@@ -10085,11 +10127,11 @@ declare const ExecutionStepSchema: z.ZodObject<{
10085
10127
  description?: string | undefined;
10086
10128
  metadata?: Record<string, unknown> | undefined;
10087
10129
  error?: string | undefined;
10130
+ input?: Record<string, unknown> | undefined;
10088
10131
  startedAt?: string | undefined;
10089
10132
  completedAt?: string | undefined;
10090
10133
  output?: Record<string, unknown> | undefined;
10091
10134
  duration?: number | undefined;
10092
- input?: Record<string, unknown> | undefined;
10093
10135
  retryCount?: number | undefined;
10094
10136
  }>;
10095
10137
  type ExecutionStep = z.infer<typeof ExecutionStepSchema>;
@@ -10118,11 +10160,11 @@ declare const ExecutionFlowSchema: z.ZodObject<{
10118
10160
  description?: string | undefined;
10119
10161
  metadata?: Record<string, unknown> | undefined;
10120
10162
  error?: string | undefined;
10163
+ input?: Record<string, unknown> | undefined;
10121
10164
  startedAt?: string | undefined;
10122
10165
  completedAt?: string | undefined;
10123
10166
  output?: Record<string, unknown> | undefined;
10124
10167
  duration?: number | undefined;
10125
- input?: Record<string, unknown> | undefined;
10126
10168
  }, {
10127
10169
  name: string;
10128
10170
  id: string;
@@ -10130,11 +10172,11 @@ declare const ExecutionFlowSchema: z.ZodObject<{
10130
10172
  description?: string | undefined;
10131
10173
  metadata?: Record<string, unknown> | undefined;
10132
10174
  error?: string | undefined;
10175
+ input?: Record<string, unknown> | undefined;
10133
10176
  startedAt?: string | undefined;
10134
10177
  completedAt?: string | undefined;
10135
10178
  output?: Record<string, unknown> | undefined;
10136
10179
  duration?: number | undefined;
10137
- input?: Record<string, unknown> | undefined;
10138
10180
  retryCount?: number | undefined;
10139
10181
  }>, "many">;
10140
10182
  currentStepIndex: z.ZodDefault<z.ZodNumber>;
@@ -10148,8 +10190,8 @@ declare const ExecutionFlowSchema: z.ZodObject<{
10148
10190
  }, "strip", z.ZodTypeAny, {
10149
10191
  status: "pending" | "completed" | "failed" | "running" | "skipped";
10150
10192
  version: number;
10151
- id: string;
10152
10193
  skillName: string;
10194
+ id: string;
10153
10195
  steps: {
10154
10196
  status: "pending" | "completed" | "failed" | "running" | "skipped";
10155
10197
  name: string;
@@ -10158,11 +10200,11 @@ declare const ExecutionFlowSchema: z.ZodObject<{
10158
10200
  description?: string | undefined;
10159
10201
  metadata?: Record<string, unknown> | undefined;
10160
10202
  error?: string | undefined;
10203
+ input?: Record<string, unknown> | undefined;
10161
10204
  startedAt?: string | undefined;
10162
10205
  completedAt?: string | undefined;
10163
10206
  output?: Record<string, unknown> | undefined;
10164
10207
  duration?: number | undefined;
10165
- input?: Record<string, unknown> | undefined;
10166
10208
  }[];
10167
10209
  mode: "standalone" | "enhanced";
10168
10210
  currentStepIndex: number;
@@ -10172,8 +10214,8 @@ declare const ExecutionFlowSchema: z.ZodObject<{
10172
10214
  totalDuration?: number | undefined;
10173
10215
  mcpServers?: string[] | undefined;
10174
10216
  }, {
10175
- id: string;
10176
10217
  skillName: string;
10218
+ id: string;
10177
10219
  steps: {
10178
10220
  name: string;
10179
10221
  id: string;
@@ -10181,11 +10223,11 @@ declare const ExecutionFlowSchema: z.ZodObject<{
10181
10223
  description?: string | undefined;
10182
10224
  metadata?: Record<string, unknown> | undefined;
10183
10225
  error?: string | undefined;
10226
+ input?: Record<string, unknown> | undefined;
10184
10227
  startedAt?: string | undefined;
10185
10228
  completedAt?: string | undefined;
10186
10229
  output?: Record<string, unknown> | undefined;
10187
10230
  duration?: number | undefined;
10188
- input?: Record<string, unknown> | undefined;
10189
10231
  retryCount?: number | undefined;
10190
10232
  }[];
10191
10233
  status?: "pending" | "completed" | "failed" | "running" | "skipped" | undefined;
@@ -10315,4 +10357,391 @@ declare function requireCapability(result: ModeDetectionResult, capability: keyo
10315
10357
  declare function getStandaloneAlternative(capability: keyof ModeCapabilities): string;
10316
10358
  declare function createModeAwareExecutor<T>(enhancedFn: () => Promise<T>, standaloneFn: () => Promise<T>, modeResult: ModeDetectionResult): () => Promise<T>;
10317
10359
 
10318
- export { AGENT_CLI_CONFIGS, AGENT_CONFIG, AGENT_DISCOVERY_PATHS, AGENT_FORMAT_MAP, AGENT_INSTRUCTION_TEMPLATES, AGENT_SKILL_FORMATS, type AIConfig, type AIGenerateOptions, AIManager, type AIProvider, AISearch, type AISearchOptions, type AISearchResult, AISkillGenerator, ALL_AGENT_DISCOVERY_PATHS, APIBasedCompressor, type APICompressionConfig, type ActivatedSkill, type AdvancedScore, type AgentAdapterInfo, type AgentCLIConfig, type AgentCommandFormat, AgentConfig, type AgentDirectoryConfig, type AgentExecutionResult, type AgentFormatCategory, AgentFrontmatter, AgentHook, type AgentHookFormat, type AgentInstance, type AgentInstructionTemplate, AgentLocation, AgentMetadata, AgentPermissionMode, type AgentPipeline, type AgentSkillFormat, type AgentStatus, type AgentTranslationOptions, type AgentTranslationResult, AgentType, type AssertionResult, type AuditEvent, type AuditEventType, type AuditExportOptions, AuditLogger, type AuditQuery, type AuditStats, BUILTIN_PIPELINES, BaseAIProvider, type BenchmarkResult, BitbucketProvider, type BundleManifest, CATEGORY_RELEVANCE_PROMPT, CATEGORY_TAXONOMY, CIConfig, CIRCLECI_CONFIG_TEMPLATE, CONTEXT_DIR, CONTEXT_FILE, CUSTOM_AGENT_FORMAT_MAP, type CanonicalAgent, type CanonicalSkill, type CategoryMapping, type CategoryScore, type CategoryStats, type CheckpointHandler, type CheckpointResponse, type ClarityScore, type CloneOptions, type CloneResult, CodeConvention, type CommandArg, type CommandBundle, type CommandContext, type CommandEvent, type CommandEventListener, CommandGenerator, type CommandGeneratorOptions, type CommandHandler, type CommandPlugin, CommandRegistry, type CommandRegistryOptions, type CommandResult, type CommandSearchOptions, type CommandValidationResult, type CompletenessResult, type CompressedLearning, type CompressionEngine, type CompressionOptions, type CompressionResult, type ConnectorAnalysis, type ConnectorCategory, ConnectorCategorySchema, type ConnectorConfig, ConnectorConfigSchema, type ConnectorMapping, ConnectorMappingSchema, type ConnectorPlaceholder, ConnectorPlaceholderSchema, type ContextCategory, type ContextExportOptions, type ContextImportOptions, type ContextLoadOptions, ContextLoader, ContextManager, ContextSync, type ContextSyncOptions, CopilotTranslator, type CrossAgentSkill, type CurrentExecution, CursorTranslator, type CustomAgent, DEFAULT_CACHE_TTL, DEFAULT_CONTEXT_CATEGORIES, DEFAULT_GUIDELINE_CONFIG, DEFAULT_LEARNING_CONFIG, DEFAULT_MEMORY_CONFIG, DEFAULT_PROFILE_CONFIG, DEFAULT_REASONING_CONFIG, DEFAULT_SCORING_WEIGHTS, DEFAULT_SKILL_SOURCES, DependencyInfo, Detection, type DetectionSource, type DiscoveredSkill, DockerConfig, EXPLANATION_PROMPT, EnvConfig, type EvolvingPattern, type ExecutableSkill, type ExecutableTask, type ExecutableTaskType, type ExecutionContext, type ExecutionFlow, type ExecutionFlowConfig, ExecutionFlowSchema, type ExecutionHistory, ExecutionManager, type ExecutionMode, type ExecutionModeConfig, type ExecutionOptions, type ExecutionProgressCallback, type ExecutionProgressEvent, type ExecutionStep, ExecutionStepSchema, type ExecutionStepStatus, ExecutionStepStatusSchema, type ExecutionStrategy, type ExecutionTaskStatus, type ExplainedMatch, type ExplainedMatchDetails, type ExplainedRecommendation, type ExplainedScoredSkill, type FeedbackResult, type FlowMetrics, type FlowSummary, type FormatCategory, type FormatTranslator, type FreshnessResult, GITHUB_ACTION_TEMPLATE, GITLAB_CI_TEMPLATE, type GenerateOptions, type GeneratedInstruction, type GeneratedSkill, type GitAnalysisOptions, type GitAnalysisResult, type GitAnalysisSummary, type GitCommit, type GitFileChange, GitHubProvider, GitLabProvider, GitProvider, type GitProviderAdapter, type Guideline, type GuidelineCategory, type GuidelineConfig, type HookConfig, type HookContext, type HookError, type HookEvent, type HookEventListener, HookManager, type HookManagerOptions, type HookTriggerResult, INDEX_CACHE_HOURS, INDEX_PATH, type ImportOptions, type IndexSource, type InjectedMemory, type InjectionMode, type InjectionOptions, type InjectionResult, type InstallOptions, type InstallResult, type InstalledPackInfo, type InstalledSkillInfo, type IssueSeverity, KNOWN_SKILL_REPOS, type LLMResponse, type LearnedPattern, type LearnedSkillOutput, type Learning, type LearningConfig, LearningConsolidator, LearningStore, type LearningStoreData, type LoadedContext, LocalProvider, MARKETPLACE_CACHE_FILE, MarketplaceAggregator, type MarketplaceConfig, type MarketplaceIndex, type MarketplaceSearchOptions, type MarketplaceSearchResult, type MarketplaceSkill, type MatchCategory, type MatchReason, type MatcherFunction, MemoryCompressor, type MemoryConfig, MemoryEnabledEngine, type MemoryEnabledEngineOptions, type MemoryFull, type MemoryIndex, MemoryIndexStore, MemoryInjector, MemoryObserver, type MemoryObserverConfig, type MemoryPaths, type MemoryPreview, type MemorySearchOptions, type MemorySearchResult, type MemoryStatus, type MemorySummary, type MessageHandler, type MessageType, MethodologyLoader, MethodologyManager, type MethodologyManagerOptions, type MethodologyPack, type MethodologySearchQuery, type MethodologySearchResult, type MethodologySkill, type MethodologySkillMetadata, type MethodologyState, type MethodologySyncResult, MockAIProvider, type ModeCapabilities, type ModeDetectionResult, type ObservableEvent, type ObservableEventType, type Observation, type ObservationContent, ObservationStore, type ObservationStoreData, type ObservationType, type OperationalProfile, type OrchestratorOptions, type OrchestratorTaskStatus, type OrchestratorTeamConfig, PRE_COMMIT_CONFIG_TEMPLATE, PRE_COMMIT_HOOK_TEMPLATE, PROJECT_TYPE_HINTS, PackageManager, type ParseOptions, type PatternCategory, type PatternDomain, type PatternExtractionResult, type PatternGenerateOptions, type PatternStore, type PipelineStage, type PlaceholderMatch, type PlaceholderReplacement, type PlanEvent, type PlanEventListener, type PlanExecutionOptions, type PlanExecutionResult, PlanExecutor, PlanGenerator, PlanParser, type PlanResult, type PlanStatus, type PlanStep, type PlanTask, type PlanTaskFiles, type PlanTaskResult, type PlanValidationResult, PlanValidator, type Plugin, type PluginConfig, type PluginContext, type PluginHooks, PluginLoader, PluginManager, type PluginMetadata, PrimerAnalysis, PrimerAnalyzer, PrimerGenerator, PrimerLanguage, type PrimerOptions, type PrimerResult, type ProfileConfig, type ProfileName, ProjectContext, ProjectDetector, ProjectPatterns, type ProjectProfile, ProjectStack, ProjectStructure, type ProviderPlugin, type QualityScore, type ReasoningCacheEntry, type ReasoningConfig, ReasoningEngine, type ReasoningEngineStats, type ReasoningPrompt, type ReasoningProvider, ReasoningProviderSchema, type ReasoningRecommendOptions, ReasoningRecommendationEngine, type ReasoningRecommendationResult, type RecommendOptions, RecommendationEngine, type RecommendationResult, type RegisteredCommand, type RegistrySkill, type RelatedSkillResult, type RelationType, type ReviewIssue, type ReviewResult, type ReviewStage, type ReviewStageName, RuleBasedCompressor, SEARCH_PLANNING_PROMPT, SESSION_FILE, SKILL_DISCOVERY_PATHS, SKILL_MATCH_PROMPT, STANDARD_PLACEHOLDERS, type ScoredSkill, type ScoringWeights, type SearchOptions, type SearchPlan, type SearchResult, type SearchableSkill, type SessionContext, type SessionDecision, type SessionFile, SessionManager, type SessionMessage, type SessionState, type SessionSummary, type SessionTask, type ShareOptions, type SharedSkill, Skill, SkillBundle, type SkillEntry, type SkillExample, SkillExecutionEngine, type SkillExecutionEvent, type SkillExecutionResult, type SkillExecutor, type SkillExecutorOptions, SkillFrontmatter, type SkillGraph, type SkillHook, type SkillIndex, SkillLocation, SkillMdTranslator, SkillMetadata, type SkillNode, SkillPreferences, type SkillRelation, type SkillSource, SkillSummary, type SkillTestCase, type SkillTestSuite, type SkillToSubagentOptions, type SkillTranslationOptions, type SkillTranslationResult, type SkillTree, SkillTreeSchema, SkillTriggerEngine, SkillkitConfig, type SkillsManifest, type SlashCommand, type SlashCommandResult, type SpecificityScore, type StepDefinition, type StepExecutor, type StepType, type StructureScore, type StructuredPlan, type SyncOptions, type SyncReport, type SyncResult, TAG_TO_CATEGORY, TAG_TO_TECH, TASK_TEMPLATES, TREE_FILE_NAME, type Task, type TaskEvent, type TaskEventListener, type TaskExecutionResult, type TaskFiles, type TaskFilter, TaskManager, type TaskPlan, type TaskResult, type TaskStatus, type TaskStep, type TaskTemplate, type Team, type TeamConfig, type TeamEvent, type TeamEventListener, TeamManager, type TeamMember, type TeamMessage, TeamMessageBus, TeamOrchestrator, type TeamRegistry, type TeamStatus, type TestAssertion, type TestAssertionType, type TestCaseResult, type TestProgressEvent, type TestResult, type TestRunnerOptions, type TestSuiteResult, TranslatableSkillFrontmatter, type TranslationOptions, type TranslationPath, type TranslationResult, type TranslatorPlugin, TranslatorRegistry, TreeGenerator, type TreeGeneratorOptions, type TreeNode, TreeNodeSchema, type TreePath, type TreeReasoningResult, type TreeSearchQuery, type TreeSearchResult, type TreeTraversalStep, type TriggerEngineOptions, type UpdateOptions, type ValidationError, type ValidationIssue, type ValidationResult, type ValidationWarning, type ValidatorOptions, type VerificationRule, WORKFLOWS_DIR, WORKFLOW_EXTENSION, type WaveExecutionStatus, type WellKnownIndex, WellKnownProvider, type WellKnownSkill, WindsurfTranslator, type Workflow, type WorkflowExecution, type WorkflowExecutionStatus, WorkflowOrchestrator, type WorkflowProgressCallback, type WorkflowSkill, type WorkflowWave, addCustomGuideline, addCustomProfile, addPattern, addToManifest, agentExists, analyzeForPrimer, analyzeGitHistory, analyzePlaceholders, analyzePrimer, analyzeProject, applyConnectorConfig, approvePattern, benchmarkSkill, buildCategoryRelevancePrompt, buildExplanationPrompt, buildSearchPlanPrompt, buildSkillGraph, buildSkillIndex, buildSkillMatchPrompt, calculateBaseSkillsUrl, calculatePercentile, canTranslate, clusterPatterns, compareTreeVersions, copilotTranslator, createAPIBasedCompressor, createCommandGenerator, createCommandRegistry, createConnectorConfig, createContextLoader, createContextManager, createContextSync, createExecutionEngine, createExecutionManager, createHookManager, createMarketplaceAggregator, createMemoryCompressor, createMemoryEnabledEngine, createMemoryInjector, createMemoryObserver, createMessageBus, createMethodologyLoader, createMethodologyManager, createModeAwareExecutor, createPlanExecutor, createPlanGenerator, createPlanParser, createPlanValidator, createPluginManager, createReasoningEngine, createReasoningRecommendationEngine, createRecommendationEngine, createRuleBasedCompressor, createSessionFile, createSessionManager, createSimulatedSkillExecutor, createSkillBundle, createSkillExecutor, createTaskManager, createTeamManager, createTeamOrchestrator, createTestSuiteFromFrontmatter, createTriggerEngine, createWorkflowOrchestrator, createWorkflowTemplate, cursorTranslator, deserializeGraph, deserializeTree, detectCategory, detectExecutionMode, detectPlaceholders, detectProvider, detectSkillFormat, disableGuideline, discoverAgents, discoverAgentsForAgent, discoverAgentsFromPath, discoverAgentsRecursive, discoverGlobalAgents, discoverSkills, dryRunExecutor, enableGuideline, estimateTokens, evaluateSkillContent, evaluateSkillDirectory, evaluateSkillFile, executeWithAgent, exportBundle, exportPatternsAsJson, extractAgentContent, extractAgentFrontmatter, extractField, extractFrontmatter, extractJsonFromResponse, extractPatternsFromSession, extractSkillMetadata, fetchSkillsFromRepo, findAgent, findAllAgents, findAllSkills, findManifestPath, findSkill, findSkillsByRelationType, findSkillsInCategory, formatSkillAsPrompt, fromCanonicalAgent, generateComparisonNotes, generateConnectorsMarkdown, generateManifestFromInstalled, generatePatternReport, generatePrimer, generatePrimerForAgent, generateRecommendations, generateSkillFromPatterns, generateSkillTree, generateSkillsConfig, generateSubagentFromSkill, generateWellKnownIndex, generateWellKnownStructure, getActiveProfile, getAgentCLIConfig, getAgentConfigFile, getAgentConfigPath, getAgentDirectoryConfig, getAgentFilename, getAgentFormat, getAgentSkillsDir, getAgentStats, getAgentTargetDirectory, getAgentsDirectory, getAllCategories, getAllGuidelines, getAllPatterns, getAllProfiles, getAllProviders, getAllSkillsDirs, getApprovedPatterns, getAvailableCLIAgents, getBuiltinGuidelines, getBuiltinPacksDir, getBuiltinPipeline, getBuiltinPipelines, getBuiltinProfiles, getCICDTemplate, getCategoryStats, getConfigFile, getConfigFormat, getDefaultConfigPath, getDefaultStorePath, getEnabledGuidelineContent, getEnabledGuidelines, getEvolvingPattern, getEvolvingPatternsByDomain, getExecutionStrategy, getGitCommits, getGlobalConfigPath, getGlobalSkillsDir, getGrade, getGuideline, getGuidelineContent, getGuidelinesByCategory, getHighConfidencePatterns, getIndexStatus, getInstallDir, getLowConfidencePatterns, getManualExecutionInstructions, getMemoryPaths, getMemoryStatus, getModeDescription, getMostRecentSession, getMostUsedPatterns, getPattern, getPatternStats, getPatternsByCategory, getPlaceholderInfo, getProfile, getProfileContext, getProfileNames, getProjectConfigPath, getProvider, getQualityGrade, getRecentBugFixes, getRecentRefactors, getRelatedSkills, getSearchDirs, getSkillPath, getSkillsDir, getStackTags, getStandaloneAlternative, getSupportedTranslationAgents, getTechTags, globalMemoryDirectoryExists, importBundle, importPatternsFromJson, initContext, initManifest, initProject, initializeMemoryDirectory, isAgentCLIAvailable, isAgentCompatible, isBuiltinGuideline, isBuiltinProfile, isGitUrl, isGuidelineEnabled, isHighQuality, isIndexStale, isLocalPath, isPathInside, listCICDTemplates, listSessions, listWorkflows, loadAgentMetadata, loadAndConvertSkill, loadConfig, loadContext, loadGuidelineConfig, loadIndex, loadLearningConfig, loadManifest, loadMetadata, loadPatternStore, loadPlugin, loadPluginsFromDirectory, loadProfileConfig, loadSessionFile, loadSkillMetadata, loadTree, loadWorkflow, loadWorkflowByName, memoryDirectoryExists, mergePatterns, parseAgentDir, parseAgentFile, parseShorthand, parseSkill, parseSkillContent, parseSkillContentToCanonical, parseSkillToCanonical, parseSource, parseWorkflow, readAgentContent, readSkillContent, recordFailure, recordSuccess, rejectPattern, removeCustomGuideline, removeCustomProfile, removeFromManifest, removePattern, replacePlaceholders, requireCapability, requireEnhancedMode, runTestSuite, saveConfig, saveGeneratedSkill, saveGuidelineConfig, saveIndex, saveLearningConfig, saveManifest, savePatternStore, saveProfileConfig, saveSessionFile, saveSkillMetadata, saveTree, saveWorkflow, serializeGraph, serializeTree, serializeWorkflow, setActiveProfile, setSkillEnabled, shellExecutor, skillMdTranslator, skillToSubagent, suggestMappingsFromMcp, supportsAutoDiscovery, supportsSlashCommands, syncToAgent, syncToAllAgents, toCanonicalAgent, translateAgent, translateAgentContent, translateAgents, translateCanonicalAgent, translateSkill, translateSkillFile, translateSkillToAgent, translateSkillToAll, translatorRegistry, treeToMarkdown, treeToText, updateSessionFile, validateAgent, validateBuiltinPacks, validateCategoryScore, validateConnectorConfig, validatePackDirectory, validatePackManifest, validatePlan, validateSearchPlan, validateSkill, validateSkillContent, validateWorkflow, windsurfTranslator, wrapProgressCallbackWithMemory, writeTranslatedSkill };
10360
+ declare const LocalModelConfigSchema: z.ZodObject<{
10361
+ embedModel: z.ZodDefault<z.ZodString>;
10362
+ llmModel: z.ZodDefault<z.ZodString>;
10363
+ modelDir: z.ZodOptional<z.ZodString>;
10364
+ autoDownload: z.ZodDefault<z.ZodBoolean>;
10365
+ gpuLayers: z.ZodDefault<z.ZodNumber>;
10366
+ }, "strip", z.ZodTypeAny, {
10367
+ embedModel: string;
10368
+ llmModel: string;
10369
+ autoDownload: boolean;
10370
+ gpuLayers: number;
10371
+ modelDir?: string | undefined;
10372
+ }, {
10373
+ embedModel?: string | undefined;
10374
+ llmModel?: string | undefined;
10375
+ modelDir?: string | undefined;
10376
+ autoDownload?: boolean | undefined;
10377
+ gpuLayers?: number | undefined;
10378
+ }>;
10379
+ type LocalModelConfig = z.infer<typeof LocalModelConfigSchema>;
10380
+ declare const SkillChunkSchema: z.ZodObject<{
10381
+ content: z.ZodString;
10382
+ startLine: z.ZodNumber;
10383
+ endLine: z.ZodNumber;
10384
+ tokenCount: z.ZodNumber;
10385
+ }, "strip", z.ZodTypeAny, {
10386
+ content: string;
10387
+ startLine: number;
10388
+ endLine: number;
10389
+ tokenCount: number;
10390
+ }, {
10391
+ content: string;
10392
+ startLine: number;
10393
+ endLine: number;
10394
+ tokenCount: number;
10395
+ }>;
10396
+ type SkillChunk = z.infer<typeof SkillChunkSchema>;
10397
+ interface SkillEmbedding {
10398
+ skillName: string;
10399
+ vector: Float32Array;
10400
+ textContent: string;
10401
+ chunks?: {
10402
+ content: string;
10403
+ vector: Float32Array;
10404
+ startLine: number;
10405
+ endLine: number;
10406
+ }[];
10407
+ generatedAt: string;
10408
+ }
10409
+ interface VectorSearchResult {
10410
+ skillName: string;
10411
+ similarity: number;
10412
+ matchedChunk?: {
10413
+ content: string;
10414
+ startLine: number;
10415
+ };
10416
+ }
10417
+ interface ExpandedQuery {
10418
+ original: string;
10419
+ variations: string[];
10420
+ weights: number[];
10421
+ }
10422
+ interface RRFRanking {
10423
+ skillName: string;
10424
+ rrfScore: number;
10425
+ ranks: {
10426
+ source: string;
10427
+ rank: number;
10428
+ }[];
10429
+ }
10430
+ interface HybridSearchOptions {
10431
+ query: string;
10432
+ limit?: number;
10433
+ enableExpansion?: boolean;
10434
+ enableReranking?: boolean;
10435
+ semanticWeight?: number;
10436
+ keywordWeight?: number;
10437
+ rrfK?: number;
10438
+ positionAwareBlending?: boolean;
10439
+ }
10440
+ interface HybridSearchResult extends SearchResult {
10441
+ hybridScore: number;
10442
+ vectorSimilarity?: number;
10443
+ keywordScore?: number;
10444
+ rrfScore?: number;
10445
+ rerankerScore?: number;
10446
+ expandedTerms?: string[];
10447
+ blendingWeights?: {
10448
+ retrieval: number;
10449
+ reranker: number;
10450
+ };
10451
+ }
10452
+ interface HybridSearchResponse {
10453
+ results: HybridSearchResult[];
10454
+ query: {
10455
+ original: string;
10456
+ expanded?: ExpandedQuery;
10457
+ };
10458
+ timing: {
10459
+ totalMs: number;
10460
+ embeddingMs?: number;
10461
+ vectorSearchMs?: number;
10462
+ keywordSearchMs?: number;
10463
+ fusionMs?: number;
10464
+ rerankingMs?: number;
10465
+ };
10466
+ stats: {
10467
+ candidatesFromVector: number;
10468
+ candidatesFromKeyword: number;
10469
+ totalMerged: number;
10470
+ reranked: number;
10471
+ };
10472
+ }
10473
+ interface EmbeddingServiceStats {
10474
+ totalSkillsIndexed: number;
10475
+ totalChunks: number;
10476
+ indexSizeBytes: number;
10477
+ lastIndexedAt: string;
10478
+ modelName: string;
10479
+ embeddingDimensions: number;
10480
+ }
10481
+ interface VectorStoreConfig {
10482
+ dbPath: string;
10483
+ tableName?: string;
10484
+ dimensions?: number;
10485
+ }
10486
+ interface IndexBuildProgress {
10487
+ phase: 'downloading' | 'loading' | 'embedding' | 'storing' | 'complete';
10488
+ current: number;
10489
+ total: number;
10490
+ skillName?: string;
10491
+ message?: string;
10492
+ }
10493
+ type IndexBuildCallback = (progress: IndexBuildProgress) => void;
10494
+ declare const MODEL_REGISTRY: {
10495
+ readonly embeddings: {
10496
+ readonly 'nomic-embed-text-v1.5.Q4_K_M.gguf': {
10497
+ readonly url: "https://huggingface.co/nomic-ai/nomic-embed-text-v1.5-GGUF/resolve/main/nomic-embed-text-v1.5.Q4_K_M.gguf";
10498
+ readonly size: 547000000;
10499
+ readonly dimensions: 768;
10500
+ readonly description: "Nomic Embed Text v1.5 - High quality embeddings";
10501
+ };
10502
+ };
10503
+ readonly llm: {
10504
+ readonly 'gemma-2b-it-Q4_K_M.gguf': {
10505
+ readonly url: "https://huggingface.co/bartowski/gemma-2-2b-it-GGUF/resolve/main/gemma-2-2b-it-Q4_K_M.gguf";
10506
+ readonly size: 1500000000;
10507
+ readonly description: "Gemma 2 2B Instruct - Fast query expansion and reranking";
10508
+ };
10509
+ };
10510
+ };
10511
+ declare const DEFAULT_CHUNKING_CONFIG: {
10512
+ readonly maxTokens: 800;
10513
+ readonly overlapPercent: 15;
10514
+ readonly minChunkSize: 100;
10515
+ };
10516
+ declare const DEFAULT_HYBRID_CONFIG: {
10517
+ readonly rrfK: 60;
10518
+ readonly semanticWeight: 0.5;
10519
+ readonly keywordWeight: 0.5;
10520
+ readonly rerankTopN: 30;
10521
+ readonly positionBlending: {
10522
+ readonly top3: {
10523
+ readonly retrieval: 0.75;
10524
+ readonly reranker: 0.25;
10525
+ };
10526
+ readonly top10: {
10527
+ readonly retrieval: 0.6;
10528
+ readonly reranker: 0.4;
10529
+ };
10530
+ readonly rest: {
10531
+ readonly retrieval: 0.4;
10532
+ readonly reranker: 0.6;
10533
+ };
10534
+ };
10535
+ readonly expansionCacheTtlMs: number;
10536
+ };
10537
+ interface RerankerInput {
10538
+ query: string;
10539
+ skillName: string;
10540
+ skillDescription: string;
10541
+ skillTags: string[];
10542
+ }
10543
+ interface RerankerOutput {
10544
+ skillName: string;
10545
+ score: number;
10546
+ reasoning?: string;
10547
+ }
10548
+
10549
+ declare class LocalModelManager {
10550
+ private config;
10551
+ private embedModelPath;
10552
+ private llmModelPath;
10553
+ constructor(config?: Partial<LocalModelConfig>);
10554
+ ensureModelsDirectory(): Promise<void>;
10555
+ getEmbedModelPath(): string;
10556
+ getLlmModelPath(): string;
10557
+ isEmbedModelAvailable(): boolean;
10558
+ isLlmModelAvailable(): boolean;
10559
+ private getModelInfo;
10560
+ downloadModel(modelType: 'embed' | 'llm', onProgress?: IndexBuildCallback): Promise<string>;
10561
+ ensureEmbedModel(onProgress?: IndexBuildCallback): Promise<string>;
10562
+ ensureLlmModel(onProgress?: IndexBuildCallback): Promise<string>;
10563
+ ensureAllModels(onProgress?: IndexBuildCallback): Promise<{
10564
+ embedModel: string;
10565
+ llmModel: string;
10566
+ }>;
10567
+ getPublicModelInfo(modelType: 'embed' | 'llm'): {
10568
+ name: string;
10569
+ path: string;
10570
+ available: boolean;
10571
+ size: number;
10572
+ description: string;
10573
+ };
10574
+ clearModels(): Promise<void>;
10575
+ getConfig(): Required<LocalModelConfig>;
10576
+ }
10577
+ declare function formatBytes(bytes: number): string;
10578
+ declare function getDefaultModelDir(): string;
10579
+
10580
+ declare class EmbeddingService {
10581
+ private modelManager;
10582
+ private model;
10583
+ private context;
10584
+ private initialized;
10585
+ private dimensions;
10586
+ constructor(modelManager?: LocalModelManager);
10587
+ initialize(onProgress?: IndexBuildCallback): Promise<void>;
10588
+ embed(text: string): Promise<Float32Array>;
10589
+ embedBatch(texts: string[]): Promise<Float32Array[]>;
10590
+ embedSkill(skill: SkillSummary): Promise<SkillEmbedding>;
10591
+ embedSkillWithChunks(skill: SkillSummary, fullContent?: string): Promise<SkillEmbedding>;
10592
+ embedSkills(skills: SkillSummary[], onProgress?: IndexBuildCallback): Promise<SkillEmbedding[]>;
10593
+ private buildSkillText;
10594
+ private chunkText;
10595
+ cosineSimilarity(a: Float32Array, b: Float32Array): number;
10596
+ getDimensions(): number;
10597
+ isInitialized(): boolean;
10598
+ dispose(): Promise<void>;
10599
+ }
10600
+ declare function createEmbeddingService(modelManager?: LocalModelManager): EmbeddingService;
10601
+
10602
+ declare class VectorStore {
10603
+ private config;
10604
+ private db;
10605
+ private initialized;
10606
+ private usingSqliteVec;
10607
+ private embeddings;
10608
+ private embeddingService;
10609
+ constructor(config?: Partial<VectorStoreConfig>, embeddingService?: EmbeddingService);
10610
+ initialize(): Promise<void>;
10611
+ private initializeSqliteVecTables;
10612
+ private initializeFallbackTables;
10613
+ private loadEmbeddingsFromDb;
10614
+ store(embedding: SkillEmbedding): Promise<void>;
10615
+ storeBatch(embeddings: SkillEmbedding[], onProgress?: IndexBuildCallback): Promise<void>;
10616
+ search(queryVector: Float32Array, limit?: number): Promise<VectorSearchResult[]>;
10617
+ private searchWithSqliteVec;
10618
+ private searchInMemory;
10619
+ searchChunks(queryVector: Float32Array, limit?: number): Promise<VectorSearchResult[]>;
10620
+ has(skillName: string): boolean;
10621
+ get(skillName: string): SkillEmbedding | undefined;
10622
+ delete(skillName: string): Promise<void>;
10623
+ clear(): Promise<void>;
10624
+ getStats(): EmbeddingServiceStats;
10625
+ isInitialized(): boolean;
10626
+ isUsingSqliteVec(): boolean;
10627
+ getEmbeddingCount(): number;
10628
+ close(): Promise<void>;
10629
+ }
10630
+ declare function createVectorStore(config?: Partial<VectorStoreConfig>, embeddingService?: EmbeddingService): VectorStore;
10631
+
10632
+ interface RankerResult {
10633
+ skillName: string;
10634
+ score: number;
10635
+ }
10636
+ interface RRFInput {
10637
+ source: string;
10638
+ results: RankerResult[];
10639
+ }
10640
+ declare function computeRRFScore(ranks: number[], k?: number): number;
10641
+ declare function fuseWithRRF(rankerInputs: RRFInput[], k?: number): RRFRanking[];
10642
+ declare function normalizeScores(results: RankerResult[]): RankerResult[];
10643
+ declare function weightedCombine(results: RRFInput[], weights: Record<string, number>): RankerResult[];
10644
+ declare function applyPositionAwareBlending(retrievalScores: Map<string, number>, rerankerScores: Map<string, number>, sortedSkillNames: string[], config?: {
10645
+ readonly top3: {
10646
+ readonly retrieval: 0.75;
10647
+ readonly reranker: 0.25;
10648
+ };
10649
+ readonly top10: {
10650
+ readonly retrieval: 0.6;
10651
+ readonly reranker: 0.4;
10652
+ };
10653
+ readonly rest: {
10654
+ readonly retrieval: 0.4;
10655
+ readonly reranker: 0.6;
10656
+ };
10657
+ }): Map<string, number>;
10658
+ declare function getRankFromScore(skillName: string, rankedResults: RankerResult[]): number;
10659
+ declare function mergeRankings(primaryRankings: RRFRanking[], secondaryRankings: RRFRanking[], primaryWeight?: number): RRFRanking[];
10660
+
10661
+ declare class QueryExpander {
10662
+ private modelManager;
10663
+ private model;
10664
+ private context;
10665
+ private initialized;
10666
+ private cacheTtlMs;
10667
+ constructor(modelManager?: LocalModelManager, cacheTtlMs?: number);
10668
+ initialize(onProgress?: IndexBuildCallback): Promise<void>;
10669
+ expand(query: string, maxVariations?: number): Promise<ExpandedQuery>;
10670
+ private generateVariations;
10671
+ private expandWithoutLLM;
10672
+ private getFromCache;
10673
+ private addToCache;
10674
+ clearCache(): void;
10675
+ isInitialized(): boolean;
10676
+ dispose(): Promise<void>;
10677
+ }
10678
+ declare function createQueryExpander(modelManager?: LocalModelManager, cacheTtlMs?: number): QueryExpander;
10679
+ declare function expandQuerySimple(query: string): ExpandedQuery;
10680
+
10681
+ declare class HybridSearchPipeline {
10682
+ private embeddingService;
10683
+ private vectorStore;
10684
+ private queryExpander;
10685
+ private modelManager;
10686
+ private recommendationEngine;
10687
+ private initialized;
10688
+ private skillsMap;
10689
+ constructor(config?: Partial<LocalModelConfig>);
10690
+ initialize(onProgress?: IndexBuildCallback): Promise<void>;
10691
+ buildIndex(skills: SkillSummary[], onProgress?: IndexBuildCallback): Promise<void>;
10692
+ search(options: HybridSearchOptions): Promise<HybridSearchResponse>;
10693
+ private rerank;
10694
+ loadSkillsIndex(index: SkillIndex): void;
10695
+ getStats(): {
10696
+ vectorStore: ReturnType<VectorStore['getStats']>;
10697
+ initialized: boolean;
10698
+ skillCount: number;
10699
+ };
10700
+ isInitialized(): boolean;
10701
+ dispose(): Promise<void>;
10702
+ }
10703
+ declare function createHybridSearchPipeline(config?: Partial<LocalModelConfig>): HybridSearchPipeline;
10704
+ declare function hybridSearch(skills: SkillSummary[], query: string, options?: Partial<HybridSearchOptions>): Promise<HybridSearchResponse>;
10705
+
10706
+ interface ExternalSkill {
10707
+ name: string;
10708
+ description: string;
10709
+ source: string;
10710
+ registry: string;
10711
+ path?: string;
10712
+ stars?: number;
10713
+ updatedAt?: string;
10714
+ }
10715
+ interface ExternalRegistry {
10716
+ name: string;
10717
+ search(query: string, options?: {
10718
+ limit?: number;
10719
+ timeoutMs?: number;
10720
+ }): Promise<ExternalSkill[]>;
10721
+ }
10722
+ interface FederatedResult {
10723
+ skills: ExternalSkill[];
10724
+ registries: string[];
10725
+ total: number;
10726
+ query: string;
10727
+ }
10728
+ declare class RateLimitError extends Error {
10729
+ constructor(registry: string);
10730
+ }
10731
+ declare class GitHubSkillRegistry implements ExternalRegistry {
10732
+ name: string;
10733
+ private baseUrl;
10734
+ search(query: string, options?: {
10735
+ limit?: number;
10736
+ timeoutMs?: number;
10737
+ }): Promise<ExternalSkill[]>;
10738
+ }
10739
+ declare class FederatedSearch {
10740
+ private registries;
10741
+ addRegistry(registry: ExternalRegistry): void;
10742
+ search(query: string, options?: {
10743
+ limit?: number;
10744
+ }): Promise<FederatedResult>;
10745
+ }
10746
+
10747
+ export { AGENT_CLI_CONFIGS, AGENT_CONFIG, AGENT_DISCOVERY_PATHS, AGENT_FORMAT_MAP, AGENT_INSTRUCTION_TEMPLATES, AGENT_SKILL_FORMATS, type AIConfig, type AIGenerateOptions, AIManager, type AIProvider, AISearch, type AISearchOptions, type AISearchResult, AISkillGenerator, ALL_AGENT_DISCOVERY_PATHS, APIBasedCompressor, type APICompressionConfig, type ActivatedSkill, type AdvancedScore, type AgentAdapterInfo, type AgentCLIConfig, type AgentCommandFormat, AgentConfig, type AgentDirectoryConfig, type AgentExecutionResult, type AgentFormatCategory, AgentFrontmatter, AgentHook, type AgentHookFormat, type AgentInstance, type AgentInstructionTemplate, AgentLocation, AgentMetadata, AgentPermissionMode, type AgentPipeline, type AgentSkillFormat, type AgentStatus, type AgentTranslationOptions, type AgentTranslationResult, AgentType, type AssertionResult, type AuditEvent, type AuditEventType, type AuditExportOptions, AuditLogger, type AuditQuery, type AuditStats, BUILTIN_PIPELINES, BaseAIProvider, type BenchmarkResult, BitbucketProvider, type BundleManifest, CATEGORY_RELEVANCE_PROMPT, CATEGORY_TAXONOMY, CIConfig, CIRCLECI_CONFIG_TEMPLATE, CONTEXT_DIR, CONTEXT_FILE, CUSTOM_AGENT_FORMAT_MAP, type CanonicalAgent, type CanonicalSkill, type CategoryMapping, type CategoryScore, type CategoryStats, type CheckpointHandler, type CheckpointResponse, type ClarityScore, type CloneOptions, type CloneResult, CodeConvention, type CommandArg, type CommandBundle, type CommandContext, type CommandEvent, type CommandEventListener, CommandGenerator, type CommandGeneratorOptions, type CommandHandler, type CommandPlugin, CommandRegistry, type CommandRegistryOptions, type CommandResult, type CommandSearchOptions, type CommandValidationResult, type CompletenessResult, type CompressedLearning, type CompressionEngine, type CompressionOptions, type CompressionResult, type ConnectorAnalysis, type ConnectorCategory, ConnectorCategorySchema, type ConnectorConfig, ConnectorConfigSchema, type ConnectorMapping, ConnectorMappingSchema, type ConnectorPlaceholder, ConnectorPlaceholderSchema, type ContextCategory, type ContextExportOptions, type ContextImportOptions, type ContextLoadOptions, ContextLoader, ContextManager, ContextSync, type ContextSyncOptions, CopilotTranslator, type CrossAgentSkill, type CurrentExecution, CursorTranslator, type CustomAgent, DEFAULT_CACHE_TTL, DEFAULT_CHUNKING_CONFIG, DEFAULT_CONTEXT_CATEGORIES, DEFAULT_GUIDELINE_CONFIG, DEFAULT_HYBRID_CONFIG, DEFAULT_LEARNING_CONFIG, DEFAULT_MEMORY_CONFIG, DEFAULT_PROFILE_CONFIG, DEFAULT_REASONING_CONFIG, DEFAULT_SCORING_WEIGHTS, DEFAULT_SKILL_SOURCES, DependencyInfo, Detection, type DetectionSource, type DiscoveredSkill, DockerConfig, EXPLANATION_PROMPT, EmbeddingService, type EmbeddingServiceStats, EnvConfig, type EvolvingPattern, type ExecutableSkill, type ExecutableTask, type ExecutableTaskType, type ExecutionContext, type ExecutionFlow, type ExecutionFlowConfig, ExecutionFlowSchema, type ExecutionHistory, ExecutionManager, type ExecutionMode, type ExecutionModeConfig, type ExecutionOptions, type ExecutionProgressCallback, type ExecutionProgressEvent, type ExecutionStep, ExecutionStepSchema, type ExecutionStepStatus, ExecutionStepStatusSchema, type ExecutionStrategy, type ExecutionTaskStatus, type ExpandedQuery, type ExplainedMatch, type ExplainedMatchDetails, type ExplainedRecommendation, type ExplainedScoredSkill, type ExternalRegistry, type ExternalSkill, type FederatedResult, FederatedSearch, type FeedbackResult, type FlowMetrics, type FlowSummary, type FormatCategory, type FormatTranslator, type FreshnessResult, GITHUB_ACTION_TEMPLATE, GITLAB_CI_TEMPLATE, type GenerateOptions, type GeneratedInstruction, type GeneratedSkill, type GitAnalysisOptions, type GitAnalysisResult, type GitAnalysisSummary, type GitCommit, type GitFileChange, GitHubProvider, GitHubSkillRegistry, GitLabProvider, GitProvider, type GitProviderAdapter, type Guideline, type GuidelineCategory, type GuidelineConfig, type HookConfig, type HookContext, type HookError, type HookEvent, type HookEventListener, HookManager, type HookManagerOptions, type HookTriggerResult, type HybridSearchOptions, HybridSearchPipeline, type HybridSearchResponse, type HybridSearchResult, INDEX_CACHE_HOURS, INDEX_PATH, type ImportOptions, type IndexBuildCallback, type IndexBuildProgress, type IndexSource, type InjectedMemory, type InjectionMode, type InjectionOptions, type InjectionResult, type InstallOptions, type InstallResult, type InstalledPackInfo, type InstalledSkillInfo, type IssueSeverity, KNOWN_SKILL_REPOS, type LLMResponse, type LearnedPattern, type LearnedSkillOutput, type Learning, type LearningConfig, LearningConsolidator, LearningStore, type LearningStoreData, type LoadedContext, type LocalModelConfig, LocalModelConfigSchema, LocalModelManager, LocalProvider, MARKETPLACE_CACHE_FILE, MODEL_REGISTRY, MarketplaceAggregator, type MarketplaceConfig, type MarketplaceIndex, type MarketplaceSearchOptions, type MarketplaceSearchResult, type MarketplaceSkill, type MatchCategory, type MatchReason, type MatcherFunction, MemoryCompressor, type MemoryConfig, MemoryEnabledEngine, type MemoryEnabledEngineOptions, type MemoryFull, type MemoryIndex, MemoryIndexStore, MemoryInjector, MemoryObserver, type MemoryObserverConfig, type MemoryPaths, type MemoryPreview, type MemorySearchOptions, type MemorySearchResult, type MemoryStatus, type MemorySummary, type MessageHandler, type MessageType, MethodologyLoader, MethodologyManager, type MethodologyManagerOptions, type MethodologyPack, type MethodologySearchQuery, type MethodologySearchResult, type MethodologySkill, type MethodologySkillMetadata, type MethodologyState, type MethodologySyncResult, MockAIProvider, type ModeCapabilities, type ModeDetectionResult, type ObservableEvent, type ObservableEventType, type Observation, type ObservationContent, ObservationStore, type ObservationStoreData, type ObservationType, type OperationalProfile, type OrchestratorOptions, type OrchestratorTaskStatus, type OrchestratorTeamConfig, PRE_COMMIT_CONFIG_TEMPLATE, PRE_COMMIT_HOOK_TEMPLATE, PROJECT_TYPE_HINTS, PackageManager, type ParseOptions, type PatternCategory, type PatternDomain, type PatternExtractionResult, type PatternGenerateOptions, type PatternStore, type PipelineStage, type PlaceholderMatch, type PlaceholderReplacement, type PlanEvent, type PlanEventListener, type PlanExecutionOptions, type PlanExecutionResult, PlanExecutor, PlanGenerator, PlanParser, type PlanResult, type PlanStatus, type PlanStep, type PlanTask, type PlanTaskFiles, type PlanTaskResult, type PlanValidationResult, PlanValidator, type Plugin, type PluginConfig, type PluginContext, type PluginHooks, PluginLoader, PluginManager, type PluginMetadata, PrimerAnalysis, PrimerAnalyzer, PrimerGenerator, PrimerLanguage, type PrimerOptions, type PrimerResult, type ProfileConfig, type ProfileName, ProjectContext, ProjectDetector, ProjectPatterns, type ProjectProfile, ProjectStack, ProjectStructure, type ProviderPlugin, type QualityScore, QueryExpander, type RRFInput, type RRFRanking, type RankerResult, RateLimitError, type ReasoningCacheEntry, type ReasoningConfig, ReasoningEngine, type ReasoningEngineStats, type ReasoningPrompt, type ReasoningProvider, ReasoningProviderSchema, type ReasoningRecommendOptions, ReasoningRecommendationEngine, type ReasoningRecommendationResult, type RecommendHybridSearchOptions, type RecommendHybridSearchResult, type RecommendOptions, RecommendationEngine, type RecommendationResult, type RegisteredCommand, type RegistrySkill, type RelatedSkillResult, type RelationType, type RerankerInput, type RerankerOutput, type ReviewIssue, type ReviewResult, type ReviewStage, type ReviewStageName, RuleBasedCompressor, SEARCH_PLANNING_PROMPT, SESSION_FILE, SKILL_DISCOVERY_PATHS, SKILL_MATCH_PROMPT, STANDARD_PLACEHOLDERS, type ScoredSkill, type ScoringWeights, type SearchOptions, type SearchPlan, type SearchResult, type SearchableSkill, type SessionContext, type SessionDecision, type SessionFile, SessionManager, type SessionMessage, type SessionState, type SessionSummary, type SessionTask, type ShareOptions, type SharedSkill, Skill, SkillBundle, type SkillChunk, SkillChunkSchema, type SkillEmbedding, type SkillEntry, type SkillExample, SkillExecutionEngine, type SkillExecutionEvent, type SkillExecutionResult, type SkillExecutor, type SkillExecutorOptions, SkillFrontmatter, type SkillGraph, type SkillHook, type SkillIndex, SkillLocation, SkillMdTranslator, SkillMetadata, type SkillNode, SkillPreferences, type SkillRelation, type SkillSource, SkillSummary, type SkillTestCase, type SkillTestSuite, type SkillToSubagentOptions, type SkillTranslationOptions, type SkillTranslationResult, type SkillTree, SkillTreeSchema, SkillTriggerEngine, SkillkitConfig, type SkillsManifest, type SlashCommand, type SlashCommandResult, type SpecificityScore, type StepDefinition, type StepExecutor, type StepType, type StructureScore, type StructuredPlan, type SyncOptions, type SyncReport, type SyncResult, TAG_TO_CATEGORY, TAG_TO_TECH, TASK_TEMPLATES, TREE_FILE_NAME, type Task, type TaskEvent, type TaskEventListener, type TaskExecutionResult, type TaskFiles, type TaskFilter, TaskManager, type TaskPlan, type TaskResult, type TaskStatus, type TaskStep, type TaskTemplate, type Team, type TeamConfig, type TeamEvent, type TeamEventListener, TeamManager, type TeamMember, type TeamMessage, TeamMessageBus, TeamOrchestrator, type TeamRegistry, type TeamStatus, type TestAssertion, type TestAssertionType, type TestCaseResult, type TestProgressEvent, type TestResult, type TestRunnerOptions, type TestSuiteResult, TranslatableSkillFrontmatter, type TranslationOptions, type TranslationPath, type TranslationResult, type TranslatorPlugin, TranslatorRegistry, TreeGenerator, type TreeGeneratorOptions, type TreeNode, TreeNodeSchema, type TreePath, type TreeReasoningResult, type TreeSearchQuery, type TreeSearchResult, type TreeTraversalStep, type TriggerEngineOptions, type UpdateOptions, type ValidationError, type ValidationIssue, type ValidationResult, type ValidationWarning, type ValidatorOptions, type VectorSearchResult, VectorStore, type VectorStoreConfig, type VerificationRule, WORKFLOWS_DIR, WORKFLOW_EXTENSION, type WaveExecutionStatus, type WellKnownIndex, WellKnownProvider, type WellKnownSkill, WindsurfTranslator, type Workflow, type WorkflowExecution, type WorkflowExecutionStatus, WorkflowOrchestrator, type WorkflowProgressCallback, type WorkflowSkill, type WorkflowWave, addCustomGuideline, addCustomProfile, addPattern, addToManifest, agentExists, analyzeForPrimer, analyzeGitHistory, analyzePlaceholders, analyzePrimer, analyzeProject, applyConnectorConfig, applyPositionAwareBlending, approvePattern, benchmarkSkill, buildCategoryRelevancePrompt, buildExplanationPrompt, buildSearchPlanPrompt, buildSkillGraph, buildSkillIndex, buildSkillMatchPrompt, calculateBaseSkillsUrl, calculatePercentile, canTranslate, clusterPatterns, compareTreeVersions, computeRRFScore, copilotTranslator, createAPIBasedCompressor, createCommandGenerator, createCommandRegistry, createConnectorConfig, createContextLoader, createContextManager, createContextSync, createEmbeddingService, createExecutionEngine, createExecutionManager, createHookManager, createHybridSearchPipeline, createMarketplaceAggregator, createMemoryCompressor, createMemoryEnabledEngine, createMemoryInjector, createMemoryObserver, createMessageBus, createMethodologyLoader, createMethodologyManager, createModeAwareExecutor, createPlanExecutor, createPlanGenerator, createPlanParser, createPlanValidator, createPluginManager, createQueryExpander, createReasoningEngine, createReasoningRecommendationEngine, createRecommendationEngine, createRuleBasedCompressor, createSessionFile, createSessionManager, createSimulatedSkillExecutor, createSkillBundle, createSkillExecutor, createTaskManager, createTeamManager, createTeamOrchestrator, createTestSuiteFromFrontmatter, createTriggerEngine, createVectorStore, createWorkflowOrchestrator, createWorkflowTemplate, cursorTranslator, deserializeGraph, deserializeTree, detectCategory, detectExecutionMode, detectPlaceholders, detectProvider, detectSkillFormat, disableGuideline, discoverAgents, discoverAgentsForAgent, discoverAgentsFromPath, discoverAgentsRecursive, discoverGlobalAgents, discoverSkills, dryRunExecutor, enableGuideline, estimateTokens, evaluateSkillContent, evaluateSkillDirectory, evaluateSkillFile, executeWithAgent, expandQuerySimple, exportBundle, exportPatternsAsJson, extractAgentContent, extractAgentFrontmatter, extractField, extractFrontmatter, extractJsonFromResponse, extractPatternsFromSession, extractSkillMetadata, fetchSkillsFromRepo, findAgent, findAllAgents, findAllSkills, findManifestPath, findSkill, findSkillsByRelationType, findSkillsInCategory, formatBytes, formatSkillAsPrompt, fromCanonicalAgent, fuseWithRRF, generateComparisonNotes, generateConnectorsMarkdown, generateManifestFromInstalled, generatePatternReport, generatePrimer, generatePrimerForAgent, generateRecommendations, generateSkillFromPatterns, generateSkillTree, generateSkillsConfig, generateSubagentFromSkill, generateWellKnownIndex, generateWellKnownStructure, getActiveProfile, getAgentCLIConfig, getAgentConfigFile, getAgentConfigPath, getAgentDirectoryConfig, getAgentFilename, getAgentFormat, getAgentSkillsDir, getAgentStats, getAgentTargetDirectory, getAgentsDirectory, getAllCategories, getAllGuidelines, getAllPatterns, getAllProfiles, getAllProviders, getAllSkillsDirs, getApprovedPatterns, getAvailableCLIAgents, getBuiltinGuidelines, getBuiltinPacksDir, getBuiltinPipeline, getBuiltinPipelines, getBuiltinProfiles, getCICDTemplate, getCategoryStats, getConfigFile, getConfigFormat, getDefaultConfigPath, getDefaultModelDir, getDefaultStorePath, getEnabledGuidelineContent, getEnabledGuidelines, getEvolvingPattern, getEvolvingPatternsByDomain, getExecutionStrategy, getGitCommits, getGlobalConfigPath, getGlobalSkillsDir, getGrade, getGuideline, getGuidelineContent, getGuidelinesByCategory, getHighConfidencePatterns, getIndexStatus, getInstallDir, getLowConfidencePatterns, getManualExecutionInstructions, getMemoryPaths, getMemoryStatus, getModeDescription, getMostRecentSession, getMostUsedPatterns, getPattern, getPatternStats, getPatternsByCategory, getPlaceholderInfo, getProfile, getProfileContext, getProfileNames, getProjectConfigPath, getProvider, getQualityGrade, getRankFromScore, getRecentBugFixes, getRecentRefactors, getRelatedSkills, getSearchDirs, getSkillPath, getSkillsDir, getStackTags, getStandaloneAlternative, getSupportedTranslationAgents, getTechTags, globalMemoryDirectoryExists, hybridSearch, importBundle, importPatternsFromJson, initContext, initManifest, initProject, initializeMemoryDirectory, isAgentCLIAvailable, isAgentCompatible, isBuiltinGuideline, isBuiltinProfile, isGitUrl, isGuidelineEnabled, isHighQuality, isIndexStale, isLocalPath, isPathInside, listCICDTemplates, listSessions, listWorkflows, loadAgentMetadata, loadAndConvertSkill, loadConfig, loadContext, loadGuidelineConfig, loadIndex, loadLearningConfig, loadManifest, loadMetadata, loadPatternStore, loadPlugin, loadPluginsFromDirectory, loadProfileConfig, loadSessionFile, loadSkillMetadata, loadTree, loadWorkflow, loadWorkflowByName, memoryDirectoryExists, mergePatterns, mergeRankings, normalizeScores, parseAgentDir, parseAgentFile, parseShorthand, parseSkill, parseSkillContent, parseSkillContentToCanonical, parseSkillToCanonical, parseSource, parseWorkflow, readAgentContent, readSkillContent, recordFailure, recordSuccess, rejectPattern, removeCustomGuideline, removeCustomProfile, removeFromManifest, removePattern, replacePlaceholders, requireCapability, requireEnhancedMode, runTestSuite, saveConfig, saveGeneratedSkill, saveGuidelineConfig, saveIndex, saveLearningConfig, saveManifest, savePatternStore, saveProfileConfig, saveSessionFile, saveSkillMetadata, saveTree, saveWorkflow, serializeGraph, serializeTree, serializeWorkflow, setActiveProfile, setSkillEnabled, shellExecutor, skillMdTranslator, skillToSubagent, suggestMappingsFromMcp, supportsAutoDiscovery, supportsSlashCommands, syncToAgent, syncToAllAgents, toCanonicalAgent, translateAgent, translateAgentContent, translateAgents, translateCanonicalAgent, translateSkill, translateSkillFile, translateSkillToAgent, translateSkillToAll, translatorRegistry, treeToMarkdown, treeToText, updateSessionFile, validateAgent, validateBuiltinPacks, validateCategoryScore, validateConnectorConfig, validatePackDirectory, validatePackManifest, validatePlan, validateSearchPlan, validateSkill, validateSkillContent, validateWorkflow, weightedCombine, windsurfTranslator, wrapProgressCallbackWithMemory, writeTranslatedSkill };