@su-record/vibe 2.6.35 → 2.6.41
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/.env +62 -0
- package/.env.example +54 -0
- package/CLAUDE.md +323 -107
- package/README.md +612 -203
- package/agents/compounder.md +1 -1
- package/agents/junior-mentor.md +141 -0
- package/agents/research/best-practices-agent.md +4 -4
- package/agents/research/codebase-patterns-agent.md +1 -1
- package/agents/research/framework-docs-agent.md +1 -1
- package/agents/research/security-advisory-agent.md +4 -4
- package/agents/review/complexity-reviewer.md +2 -2
- package/agents/ui/ui-a11y-auditor.md +93 -0
- package/agents/ui/ui-antipattern-detector.md +94 -0
- package/agents/ui/ui-dataviz-advisor.md +69 -0
- package/agents/ui/ui-design-system-gen.md +57 -0
- package/agents/ui/ui-industry-analyzer.md +49 -0
- package/agents/ui/ui-layout-architect.md +65 -0
- package/agents/ui/ui-stack-implementer.md +68 -0
- package/agents/ui/ux-compliance-reviewer.md +81 -0
- package/agents/ui-previewer.md +2 -2
- package/commands/vibe.analyze.md +35 -18
- package/commands/vibe.reason.md +5 -1
- package/commands/vibe.review.md +140 -8
- package/commands/vibe.run.md +535 -25
- package/commands/vibe.spec.md +133 -14
- package/commands/vibe.spec.review.md +155 -10
- package/commands/vibe.trace.md +49 -1
- package/commands/vibe.utils.md +25 -10
- package/commands/vibe.verify.md +44 -5
- package/commands/vibe.voice.md +82 -0
- package/dist/cli/auth.d.ts +16 -4
- package/dist/cli/auth.d.ts.map +1 -1
- package/dist/cli/auth.js +100 -91
- package/dist/cli/auth.js.map +1 -1
- package/dist/cli/collaborator.js +17 -17
- package/dist/cli/commands/evolution.d.ts +16 -0
- package/dist/cli/commands/evolution.d.ts.map +1 -0
- package/dist/cli/commands/evolution.js +210 -0
- package/dist/cli/commands/evolution.js.map +1 -0
- package/dist/cli/commands/index.d.ts +13 -0
- package/dist/cli/commands/index.d.ts.map +1 -0
- package/dist/cli/commands/index.js +13 -0
- package/dist/cli/commands/index.js.map +1 -0
- package/dist/cli/commands/info.d.ts +16 -0
- package/dist/cli/commands/info.d.ts.map +1 -0
- package/dist/cli/commands/info.js +150 -0
- package/dist/cli/commands/info.js.map +1 -0
- package/dist/cli/commands/init.d.ts +20 -0
- package/dist/cli/commands/init.d.ts.map +1 -0
- package/dist/cli/commands/init.js +142 -0
- package/dist/cli/commands/init.js.map +1 -0
- package/dist/cli/commands/remove.d.ts +8 -0
- package/dist/cli/commands/remove.d.ts.map +1 -0
- package/dist/cli/commands/remove.js +142 -0
- package/dist/cli/commands/remove.js.map +1 -0
- package/dist/cli/commands/sentinel.d.ts +13 -0
- package/dist/cli/commands/sentinel.d.ts.map +1 -0
- package/dist/cli/commands/sentinel.js +322 -0
- package/dist/cli/commands/sentinel.js.map +1 -0
- package/dist/cli/commands/setup.d.ts +9 -0
- package/dist/cli/commands/setup.d.ts.map +1 -0
- package/dist/cli/commands/setup.js +216 -0
- package/dist/cli/commands/setup.js.map +1 -0
- package/dist/cli/commands/slack.d.ts +12 -0
- package/dist/cli/commands/slack.d.ts.map +1 -0
- package/dist/cli/commands/slack.js +92 -0
- package/dist/cli/commands/slack.js.map +1 -0
- package/dist/cli/commands/sync.d.ts +9 -0
- package/dist/cli/commands/sync.d.ts.map +1 -0
- package/dist/cli/commands/sync.js +166 -0
- package/dist/cli/commands/sync.js.map +1 -0
- package/dist/cli/commands/telegram.d.ts +11 -0
- package/dist/cli/commands/telegram.d.ts.map +1 -0
- package/dist/cli/commands/telegram.js +259 -0
- package/dist/cli/commands/telegram.js.map +1 -0
- package/dist/cli/commands/update.d.ts +10 -0
- package/dist/cli/commands/update.d.ts.map +1 -0
- package/dist/cli/commands/update.js +90 -0
- package/dist/cli/commands/update.js.map +1 -0
- package/dist/cli/commands/upgrade.d.ts +10 -0
- package/dist/cli/commands/upgrade.d.ts.map +1 -0
- package/dist/cli/commands/upgrade.js +26 -0
- package/dist/cli/commands/upgrade.js.map +1 -0
- package/dist/cli/index.d.ts +5 -6
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +157 -534
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/llm/claude-commands.d.ts +12 -0
- package/dist/cli/llm/claude-commands.d.ts.map +1 -0
- package/dist/cli/llm/claude-commands.js +73 -0
- package/dist/cli/llm/claude-commands.js.map +1 -0
- package/dist/cli/llm/config.d.ts +21 -0
- package/dist/cli/llm/config.d.ts.map +1 -0
- package/dist/cli/llm/config.js +140 -0
- package/dist/cli/llm/config.js.map +1 -0
- package/dist/cli/llm/gemini-commands.d.ts +27 -0
- package/dist/cli/llm/gemini-commands.d.ts.map +1 -0
- package/dist/cli/llm/gemini-commands.js +361 -0
- package/dist/cli/llm/gemini-commands.js.map +1 -0
- package/dist/cli/llm/gpt-commands.d.ts +23 -0
- package/dist/cli/llm/gpt-commands.d.ts.map +1 -0
- package/dist/cli/llm/gpt-commands.js +139 -0
- package/dist/cli/llm/gpt-commands.js.map +1 -0
- package/dist/cli/llm/help.d.ts +12 -0
- package/dist/cli/llm/help.d.ts.map +1 -0
- package/dist/cli/llm/help.js +37 -0
- package/dist/cli/llm/help.js.map +1 -0
- package/dist/cli/llm/index.d.ts +9 -0
- package/dist/cli/llm/index.d.ts.map +1 -0
- package/dist/cli/llm/index.js +9 -0
- package/dist/cli/llm/index.js.map +1 -0
- package/dist/cli/llm.d.ts +10 -46
- package/dist/cli/llm.d.ts.map +1 -1
- package/dist/cli/llm.js +10 -499
- package/dist/cli/llm.js.map +1 -1
- package/dist/cli/postinstall/claude-agents.d.ts +13 -0
- package/dist/cli/postinstall/claude-agents.d.ts.map +1 -0
- package/dist/cli/postinstall/claude-agents.js +161 -0
- package/dist/cli/postinstall/claude-agents.js.map +1 -0
- package/dist/cli/postinstall/constants.d.ts +25 -0
- package/dist/cli/postinstall/constants.d.ts.map +1 -0
- package/dist/cli/postinstall/constants.js +313 -0
- package/dist/cli/postinstall/constants.js.map +1 -0
- package/dist/cli/postinstall/cursor-agents.d.ts +8 -0
- package/dist/cli/postinstall/cursor-agents.d.ts.map +1 -0
- package/dist/cli/postinstall/cursor-agents.js +131 -0
- package/dist/cli/postinstall/cursor-agents.js.map +1 -0
- package/dist/cli/postinstall/cursor-rules.d.ts +11 -0
- package/dist/cli/postinstall/cursor-rules.d.ts.map +1 -0
- package/dist/cli/postinstall/cursor-rules.js +205 -0
- package/dist/cli/postinstall/cursor-rules.js.map +1 -0
- package/dist/cli/postinstall/cursor-skills.d.ts +9 -0
- package/dist/cli/postinstall/cursor-skills.d.ts.map +1 -0
- package/dist/cli/postinstall/cursor-skills.js +800 -0
- package/dist/cli/postinstall/cursor-skills.js.map +1 -0
- package/dist/cli/postinstall/fs-utils.d.ts +31 -0
- package/dist/cli/postinstall/fs-utils.d.ts.map +1 -0
- package/dist/cli/postinstall/fs-utils.js +90 -0
- package/dist/cli/postinstall/fs-utils.js.map +1 -0
- package/dist/cli/postinstall/global-config.d.ts +22 -0
- package/dist/cli/postinstall/global-config.d.ts.map +1 -0
- package/dist/cli/postinstall/global-config.js +155 -0
- package/dist/cli/postinstall/global-config.js.map +1 -0
- package/dist/cli/postinstall/index.d.ts +23 -0
- package/dist/cli/postinstall/index.d.ts.map +1 -0
- package/dist/cli/postinstall/index.js +23 -0
- package/dist/cli/postinstall/index.js.map +1 -0
- package/dist/cli/postinstall/inline-skills.d.ts +8 -0
- package/dist/cli/postinstall/inline-skills.d.ts.map +1 -0
- package/dist/cli/postinstall/inline-skills.js +158 -0
- package/dist/cli/postinstall/inline-skills.js.map +1 -0
- package/dist/cli/postinstall/main.d.ts +9 -0
- package/dist/cli/postinstall/main.d.ts.map +1 -0
- package/dist/cli/postinstall/main.js +169 -0
- package/dist/cli/postinstall/main.js.map +1 -0
- package/dist/cli/postinstall.d.ts +3 -18
- package/dist/cli/postinstall.d.ts.map +1 -1
- package/dist/cli/postinstall.js +4 -1572
- package/dist/cli/postinstall.js.map +1 -1
- package/dist/cli/prompt.d.ts +28 -0
- package/dist/cli/prompt.d.ts.map +1 -0
- package/dist/cli/prompt.js +64 -0
- package/dist/cli/prompt.js.map +1 -0
- package/dist/cli/setup/GlobalInstaller.d.ts +5 -6
- package/dist/cli/setup/GlobalInstaller.d.ts.map +1 -1
- package/dist/cli/setup/GlobalInstaller.js +22 -23
- package/dist/cli/setup/GlobalInstaller.js.map +1 -1
- package/dist/cli/setup/LanguageDetector.d.ts +1 -2
- package/dist/cli/setup/LanguageDetector.d.ts.map +1 -1
- package/dist/cli/setup/LanguageDetector.js +1 -2
- package/dist/cli/setup/LanguageDetector.js.map +1 -1
- package/dist/cli/setup/LegacyMigration.d.ts +5 -6
- package/dist/cli/setup/LegacyMigration.d.ts.map +1 -1
- package/dist/cli/setup/LegacyMigration.js +97 -39
- package/dist/cli/setup/LegacyMigration.js.map +1 -1
- package/dist/cli/setup/ProjectSetup.d.ts +4 -5
- package/dist/cli/setup/ProjectSetup.d.ts.map +1 -1
- package/dist/cli/setup/ProjectSetup.js +73 -73
- package/dist/cli/setup/ProjectSetup.js.map +1 -1
- package/dist/cli/setup/index.d.ts +2 -8
- package/dist/cli/setup/index.d.ts.map +1 -1
- package/dist/cli/setup/index.js +2 -8
- package/dist/cli/setup/index.js.map +1 -1
- package/dist/cli/setup.d.ts +3 -11
- package/dist/cli/setup.d.ts.map +1 -1
- package/dist/cli/setup.js +3 -11
- package/dist/cli/setup.js.map +1 -1
- package/dist/cli/types.d.ts +17 -2
- package/dist/cli/types.d.ts.map +1 -1
- package/dist/cli/utils.d.ts +9 -0
- package/dist/cli/utils.d.ts.map +1 -1
- package/dist/cli/utils.js +28 -0
- package/dist/cli/utils.js.map +1 -1
- package/dist/infra/lib/ContextCompressor.d.ts.map +1 -0
- package/dist/infra/lib/ContextCompressor.js +306 -0
- package/dist/infra/lib/ContextCompressor.js.map +1 -0
- package/dist/infra/lib/DeepInit.d.ts.map +1 -0
- package/dist/infra/lib/DeepInit.js.map +1 -0
- package/dist/infra/lib/FrameworkDetector.d.ts.map +1 -0
- package/dist/infra/lib/FrameworkDetector.js.map +1 -0
- package/dist/infra/lib/IterationTracker.d.ts +81 -0
- package/dist/infra/lib/IterationTracker.d.ts.map +1 -0
- package/dist/infra/lib/IterationTracker.js.map +1 -0
- package/dist/infra/lib/MemoryManager.d.ts +96 -0
- package/dist/infra/lib/MemoryManager.d.ts.map +1 -0
- package/dist/infra/lib/MemoryManager.js +314 -0
- package/dist/infra/lib/MemoryManager.js.map +1 -0
- package/dist/infra/lib/ModelRouter.d.ts.map +1 -0
- package/dist/infra/lib/ModelRouter.js.map +1 -0
- package/dist/infra/lib/OrchestrateWorkflow.d.ts.map +1 -0
- package/dist/infra/lib/OrchestrateWorkflow.js.map +1 -0
- package/dist/infra/lib/ProgressTracker.d.ts.map +1 -0
- package/dist/infra/lib/ProgressTracker.js +267 -0
- package/dist/infra/lib/ProgressTracker.js.map +1 -0
- package/dist/infra/lib/ProjectCache.d.ts.map +1 -0
- package/dist/infra/lib/ProjectCache.js.map +1 -0
- package/dist/infra/lib/PythonParser.d.ts.map +1 -0
- package/dist/infra/lib/PythonParser.js +269 -0
- package/dist/infra/lib/PythonParser.js.map +1 -0
- package/dist/infra/lib/ReviewRace.d.ts.map +1 -0
- package/dist/infra/lib/ReviewRace.js +446 -0
- package/dist/infra/lib/ReviewRace.js.map +1 -0
- package/dist/infra/lib/RuleBuildSystem.d.ts +157 -0
- package/dist/infra/lib/RuleBuildSystem.d.ts.map +1 -0
- package/dist/infra/lib/RuleBuildSystem.js +550 -0
- package/dist/infra/lib/RuleBuildSystem.js.map +1 -0
- package/dist/infra/lib/SkillFrontmatter.d.ts +67 -0
- package/dist/infra/lib/SkillFrontmatter.d.ts.map +1 -0
- package/dist/infra/lib/SkillFrontmatter.js.map +1 -0
- package/dist/infra/lib/SkillQualityGate.d.ts.map +1 -0
- package/dist/infra/lib/SkillQualityGate.js.map +1 -0
- package/dist/infra/lib/SkillRepository.d.ts.map +1 -0
- package/dist/infra/lib/SkillRepository.js +477 -0
- package/dist/infra/lib/SkillRepository.js.map +1 -0
- package/dist/infra/lib/UltraQA.d.ts +85 -0
- package/dist/infra/lib/UltraQA.d.ts.map +1 -0
- package/dist/infra/lib/UltraQA.js +297 -0
- package/dist/infra/lib/UltraQA.js.map +1 -0
- package/dist/infra/lib/autonomy/AuditStore.d.ts +63 -0
- package/dist/infra/lib/autonomy/AuditStore.d.ts.map +1 -0
- package/dist/infra/lib/autonomy/AuditStore.js +185 -0
- package/dist/infra/lib/autonomy/AuditStore.js.map +1 -0
- package/dist/infra/lib/autonomy/AutonomyConfig.d.ts +84 -0
- package/dist/infra/lib/autonomy/AutonomyConfig.d.ts.map +1 -0
- package/dist/infra/lib/autonomy/AutonomyConfig.js +49 -0
- package/dist/infra/lib/autonomy/AutonomyConfig.js.map +1 -0
- package/dist/infra/lib/autonomy/AutonomyOrchestrator.d.ts +78 -0
- package/dist/infra/lib/autonomy/AutonomyOrchestrator.d.ts.map +1 -0
- package/dist/infra/lib/autonomy/AutonomyOrchestrator.js +246 -0
- package/dist/infra/lib/autonomy/AutonomyOrchestrator.js.map +1 -0
- package/dist/infra/lib/autonomy/BackgroundMonitor.d.ts +36 -0
- package/dist/infra/lib/autonomy/BackgroundMonitor.d.ts.map +1 -0
- package/dist/infra/lib/autonomy/BackgroundMonitor.js +138 -0
- package/dist/infra/lib/autonomy/BackgroundMonitor.js.map +1 -0
- package/dist/infra/lib/autonomy/CollaborationProtocol.d.ts +56 -0
- package/dist/infra/lib/autonomy/CollaborationProtocol.d.ts.map +1 -0
- package/dist/infra/lib/autonomy/CollaborationProtocol.js +122 -0
- package/dist/infra/lib/autonomy/CollaborationProtocol.js.map +1 -0
- package/dist/infra/lib/autonomy/ConfirmationManager.d.ts +42 -0
- package/dist/infra/lib/autonomy/ConfirmationManager.d.ts.map +1 -0
- package/dist/infra/lib/autonomy/ConfirmationManager.js +200 -0
- package/dist/infra/lib/autonomy/ConfirmationManager.js.map +1 -0
- package/dist/infra/lib/autonomy/ConfirmationStore.d.ts +55 -0
- package/dist/infra/lib/autonomy/ConfirmationStore.d.ts.map +1 -0
- package/dist/infra/lib/autonomy/ConfirmationStore.js +130 -0
- package/dist/infra/lib/autonomy/ConfirmationStore.js.map +1 -0
- package/dist/infra/lib/autonomy/EventBus.d.ts +20 -0
- package/dist/infra/lib/autonomy/EventBus.d.ts.map +1 -0
- package/dist/infra/lib/autonomy/EventBus.js +119 -0
- package/dist/infra/lib/autonomy/EventBus.js.map +1 -0
- package/dist/infra/lib/autonomy/EventOutbox.d.ts +32 -0
- package/dist/infra/lib/autonomy/EventOutbox.d.ts.map +1 -0
- package/dist/infra/lib/autonomy/EventOutbox.js +152 -0
- package/dist/infra/lib/autonomy/EventOutbox.js.map +1 -0
- package/dist/infra/lib/autonomy/NotificationDispatcher.d.ts +24 -0
- package/dist/infra/lib/autonomy/NotificationDispatcher.d.ts.map +1 -0
- package/dist/infra/lib/autonomy/NotificationDispatcher.js +112 -0
- package/dist/infra/lib/autonomy/NotificationDispatcher.js.map +1 -0
- package/dist/infra/lib/autonomy/PolicyEngine.d.ts +76 -0
- package/dist/infra/lib/autonomy/PolicyEngine.d.ts.map +1 -0
- package/dist/infra/lib/autonomy/PolicyEngine.js +208 -0
- package/dist/infra/lib/autonomy/PolicyEngine.js.map +1 -0
- package/dist/infra/lib/autonomy/ProactiveAnalyzer.d.ts +61 -0
- package/dist/infra/lib/autonomy/ProactiveAnalyzer.d.ts.map +1 -0
- package/dist/infra/lib/autonomy/ProactiveAnalyzer.js +236 -0
- package/dist/infra/lib/autonomy/ProactiveAnalyzer.js.map +1 -0
- package/dist/infra/lib/autonomy/RiskClassifier.d.ts +35 -0
- package/dist/infra/lib/autonomy/RiskClassifier.d.ts.map +1 -0
- package/dist/infra/lib/autonomy/RiskClassifier.js +147 -0
- package/dist/infra/lib/autonomy/RiskClassifier.js.map +1 -0
- package/dist/infra/lib/autonomy/SecuritySentinel.d.ts +51 -0
- package/dist/infra/lib/autonomy/SecuritySentinel.d.ts.map +1 -0
- package/dist/infra/lib/autonomy/SecuritySentinel.js +162 -0
- package/dist/infra/lib/autonomy/SecuritySentinel.js.map +1 -0
- package/dist/infra/lib/autonomy/SuggestionStore.d.ts +54 -0
- package/dist/infra/lib/autonomy/SuggestionStore.d.ts.map +1 -0
- package/dist/infra/lib/autonomy/SuggestionStore.js +144 -0
- package/dist/infra/lib/autonomy/SuggestionStore.js.map +1 -0
- package/dist/infra/lib/autonomy/TaskDecomposer.d.ts +38 -0
- package/dist/infra/lib/autonomy/TaskDecomposer.d.ts.map +1 -0
- package/dist/infra/lib/autonomy/TaskDecomposer.js +175 -0
- package/dist/infra/lib/autonomy/TaskDecomposer.js.map +1 -0
- package/dist/infra/lib/autonomy/__tests__/audit-store.test.d.ts +2 -0
- package/dist/infra/lib/autonomy/__tests__/audit-store.test.d.ts.map +1 -0
- package/dist/infra/lib/autonomy/__tests__/audit-store.test.js +198 -0
- package/dist/infra/lib/autonomy/__tests__/audit-store.test.js.map +1 -0
- package/dist/infra/lib/autonomy/__tests__/event-bus.test.d.ts +2 -0
- package/dist/infra/lib/autonomy/__tests__/event-bus.test.d.ts.map +1 -0
- package/dist/infra/lib/autonomy/__tests__/event-bus.test.js +225 -0
- package/dist/infra/lib/autonomy/__tests__/event-bus.test.js.map +1 -0
- package/dist/infra/lib/autonomy/__tests__/event-core.test.d.ts +2 -0
- package/dist/infra/lib/autonomy/__tests__/event-core.test.d.ts.map +1 -0
- package/dist/infra/lib/autonomy/__tests__/event-core.test.js +194 -0
- package/dist/infra/lib/autonomy/__tests__/event-core.test.js.map +1 -0
- package/dist/infra/lib/autonomy/__tests__/governance.test.d.ts +2 -0
- package/dist/infra/lib/autonomy/__tests__/governance.test.d.ts.map +1 -0
- package/dist/infra/lib/autonomy/__tests__/governance.test.js +540 -0
- package/dist/infra/lib/autonomy/__tests__/governance.test.js.map +1 -0
- package/dist/infra/lib/autonomy/__tests__/integration.test.d.ts +2 -0
- package/dist/infra/lib/autonomy/__tests__/integration.test.d.ts.map +1 -0
- package/dist/infra/lib/autonomy/__tests__/integration.test.js +480 -0
- package/dist/infra/lib/autonomy/__tests__/integration.test.js.map +1 -0
- package/dist/infra/lib/autonomy/__tests__/proactive.test.d.ts +2 -0
- package/dist/infra/lib/autonomy/__tests__/proactive.test.d.ts.map +1 -0
- package/dist/infra/lib/autonomy/__tests__/proactive.test.js +410 -0
- package/dist/infra/lib/autonomy/__tests__/proactive.test.js.map +1 -0
- package/dist/infra/lib/autonomy/__tests__/sentinel.test.d.ts +2 -0
- package/dist/infra/lib/autonomy/__tests__/sentinel.test.d.ts.map +1 -0
- package/dist/infra/lib/autonomy/__tests__/sentinel.test.js +486 -0
- package/dist/infra/lib/autonomy/__tests__/sentinel.test.js.map +1 -0
- package/dist/infra/lib/autonomy/index.d.ts +18 -0
- package/dist/infra/lib/autonomy/index.d.ts.map +1 -0
- package/dist/infra/lib/autonomy/index.js +22 -0
- package/dist/infra/lib/autonomy/index.js.map +1 -0
- package/dist/infra/lib/autonomy/schemas.d.ts +317 -0
- package/dist/infra/lib/autonomy/schemas.d.ts.map +1 -0
- package/dist/infra/lib/autonomy/schemas.js +90 -0
- package/dist/infra/lib/autonomy/schemas.js.map +1 -0
- package/dist/infra/lib/claude/index.d.ts +5 -0
- package/dist/infra/lib/claude/index.d.ts.map +1 -0
- package/dist/infra/lib/claude/index.js +5 -0
- package/dist/infra/lib/claude/index.js.map +1 -0
- package/dist/infra/lib/claude/storage.d.ts +12 -0
- package/dist/infra/lib/claude/storage.d.ts.map +1 -0
- package/dist/infra/lib/claude/storage.js +59 -0
- package/dist/infra/lib/claude/storage.js.map +1 -0
- package/dist/infra/lib/claude-storage.d.ts +12 -0
- package/dist/infra/lib/claude-storage.d.ts.map +1 -0
- package/dist/infra/lib/claude-storage.js +59 -0
- package/dist/infra/lib/claude-storage.js.map +1 -0
- package/dist/infra/lib/constants.d.ts +76 -0
- package/dist/infra/lib/constants.d.ts.map +1 -0
- package/dist/infra/lib/constants.js +92 -0
- package/dist/infra/lib/constants.js.map +1 -0
- package/dist/infra/lib/embedding/EmbeddingProvider.d.ts +20 -0
- package/dist/infra/lib/embedding/EmbeddingProvider.d.ts.map +1 -0
- package/dist/infra/lib/embedding/EmbeddingProvider.js +82 -0
- package/dist/infra/lib/embedding/EmbeddingProvider.js.map +1 -0
- package/dist/infra/lib/embedding/VectorStore.d.ts +47 -0
- package/dist/infra/lib/embedding/VectorStore.d.ts.map +1 -0
- package/dist/infra/lib/embedding/VectorStore.js +116 -0
- package/dist/infra/lib/embedding/VectorStore.js.map +1 -0
- package/dist/infra/lib/embedding/__tests__/EmbeddingProvider.test.d.ts +2 -0
- package/dist/infra/lib/embedding/__tests__/EmbeddingProvider.test.d.ts.map +1 -0
- package/dist/infra/lib/embedding/__tests__/EmbeddingProvider.test.js +39 -0
- package/dist/infra/lib/embedding/__tests__/EmbeddingProvider.test.js.map +1 -0
- package/dist/infra/lib/embedding/__tests__/VectorStore.test.d.ts +2 -0
- package/dist/infra/lib/embedding/__tests__/VectorStore.test.d.ts.map +1 -0
- package/dist/infra/lib/embedding/__tests__/VectorStore.test.js +94 -0
- package/dist/infra/lib/embedding/__tests__/VectorStore.test.js.map +1 -0
- package/dist/infra/lib/embedding/__tests__/cosine.test.d.ts +2 -0
- package/dist/infra/lib/embedding/__tests__/cosine.test.d.ts.map +1 -0
- package/dist/infra/lib/embedding/__tests__/cosine.test.js +73 -0
- package/dist/infra/lib/embedding/__tests__/cosine.test.js.map +1 -0
- package/dist/infra/lib/embedding/cosine.d.ts +19 -0
- package/dist/infra/lib/embedding/cosine.d.ts.map +1 -0
- package/dist/infra/lib/embedding/cosine.js +40 -0
- package/dist/infra/lib/embedding/cosine.js.map +1 -0
- package/dist/infra/lib/embedding/index.d.ts +9 -0
- package/dist/infra/lib/embedding/index.d.ts.map +1 -0
- package/dist/infra/lib/embedding/index.js +8 -0
- package/dist/infra/lib/embedding/index.js.map +1 -0
- package/dist/infra/lib/embedding/types.d.ts +30 -0
- package/dist/infra/lib/embedding/types.d.ts.map +1 -0
- package/dist/infra/lib/embedding/types.js +12 -0
- package/dist/infra/lib/embedding/types.js.map +1 -0
- package/dist/infra/lib/evolution/AgentAnalyzer.d.ts +15 -0
- package/dist/infra/lib/evolution/AgentAnalyzer.d.ts.map +1 -0
- package/dist/infra/lib/evolution/AgentAnalyzer.js +84 -0
- package/dist/infra/lib/evolution/AgentAnalyzer.js.map +1 -0
- package/dist/infra/lib/evolution/CircuitBreaker.d.ts +31 -0
- package/dist/infra/lib/evolution/CircuitBreaker.d.ts.map +1 -0
- package/dist/infra/lib/evolution/CircuitBreaker.js +86 -0
- package/dist/infra/lib/evolution/CircuitBreaker.js.map +1 -0
- package/dist/infra/lib/evolution/EvolutionOrchestrator.d.ts +35 -0
- package/dist/infra/lib/evolution/EvolutionOrchestrator.d.ts.map +1 -0
- package/dist/infra/lib/evolution/EvolutionOrchestrator.js +212 -0
- package/dist/infra/lib/evolution/EvolutionOrchestrator.js.map +1 -0
- package/dist/infra/lib/evolution/GenerationRegistry.d.ts +53 -0
- package/dist/infra/lib/evolution/GenerationRegistry.d.ts.map +1 -0
- package/dist/infra/lib/evolution/GenerationRegistry.js +121 -0
- package/dist/infra/lib/evolution/GenerationRegistry.js.map +1 -0
- package/dist/infra/lib/evolution/InsightExtractor.d.ts +24 -0
- package/dist/infra/lib/evolution/InsightExtractor.d.ts.map +1 -0
- package/dist/infra/lib/evolution/InsightExtractor.js +131 -0
- package/dist/infra/lib/evolution/InsightExtractor.js.map +1 -0
- package/dist/infra/lib/evolution/InsightStore.d.ts +55 -0
- package/dist/infra/lib/evolution/InsightStore.d.ts.map +1 -0
- package/dist/infra/lib/evolution/InsightStore.js +219 -0
- package/dist/infra/lib/evolution/InsightStore.js.map +1 -0
- package/dist/infra/lib/evolution/LifecycleManager.d.ts +43 -0
- package/dist/infra/lib/evolution/LifecycleManager.d.ts.map +1 -0
- package/dist/infra/lib/evolution/LifecycleManager.js +134 -0
- package/dist/infra/lib/evolution/LifecycleManager.js.map +1 -0
- package/dist/infra/lib/evolution/RollbackManager.d.ts +26 -0
- package/dist/infra/lib/evolution/RollbackManager.d.ts.map +1 -0
- package/dist/infra/lib/evolution/RollbackManager.js +133 -0
- package/dist/infra/lib/evolution/RollbackManager.js.map +1 -0
- package/dist/infra/lib/evolution/SkillGapDetector.d.ts +22 -0
- package/dist/infra/lib/evolution/SkillGapDetector.d.ts.map +1 -0
- package/dist/infra/lib/evolution/SkillGapDetector.js +81 -0
- package/dist/infra/lib/evolution/SkillGapDetector.js.map +1 -0
- package/dist/infra/lib/evolution/TriggerCollisionDetector.d.ts +27 -0
- package/dist/infra/lib/evolution/TriggerCollisionDetector.d.ts.map +1 -0
- package/dist/infra/lib/evolution/TriggerCollisionDetector.js +100 -0
- package/dist/infra/lib/evolution/TriggerCollisionDetector.js.map +1 -0
- package/dist/infra/lib/evolution/UsageTracker.d.ts +53 -0
- package/dist/infra/lib/evolution/UsageTracker.d.ts.map +1 -0
- package/dist/infra/lib/evolution/UsageTracker.js +157 -0
- package/dist/infra/lib/evolution/UsageTracker.js.map +1 -0
- package/dist/infra/lib/evolution/__tests__/generation.test.d.ts +2 -0
- package/dist/infra/lib/evolution/__tests__/generation.test.d.ts.map +1 -0
- package/dist/infra/lib/evolution/__tests__/generation.test.js +396 -0
- package/dist/infra/lib/evolution/__tests__/generation.test.js.map +1 -0
- package/dist/infra/lib/evolution/__tests__/insight.test.d.ts +2 -0
- package/dist/infra/lib/evolution/__tests__/insight.test.d.ts.map +1 -0
- package/dist/infra/lib/evolution/__tests__/insight.test.js +204 -0
- package/dist/infra/lib/evolution/__tests__/insight.test.js.map +1 -0
- package/dist/infra/lib/evolution/__tests__/integration.test.d.ts +2 -0
- package/dist/infra/lib/evolution/__tests__/integration.test.d.ts.map +1 -0
- package/dist/infra/lib/evolution/__tests__/integration.test.js +248 -0
- package/dist/infra/lib/evolution/__tests__/integration.test.js.map +1 -0
- package/dist/infra/lib/evolution/__tests__/lifecycle.test.d.ts +2 -0
- package/dist/infra/lib/evolution/__tests__/lifecycle.test.d.ts.map +1 -0
- package/dist/infra/lib/evolution/__tests__/lifecycle.test.js +350 -0
- package/dist/infra/lib/evolution/__tests__/lifecycle.test.js.map +1 -0
- package/dist/infra/lib/evolution/generators/AgentGenerator.d.ts +14 -0
- package/dist/infra/lib/evolution/generators/AgentGenerator.d.ts.map +1 -0
- package/dist/infra/lib/evolution/generators/AgentGenerator.js +55 -0
- package/dist/infra/lib/evolution/generators/AgentGenerator.js.map +1 -0
- package/dist/infra/lib/evolution/generators/RuleGenerator.d.ts +13 -0
- package/dist/infra/lib/evolution/generators/RuleGenerator.d.ts.map +1 -0
- package/dist/infra/lib/evolution/generators/RuleGenerator.js +52 -0
- package/dist/infra/lib/evolution/generators/RuleGenerator.js.map +1 -0
- package/dist/infra/lib/evolution/generators/SkillGenerator.d.ts +15 -0
- package/dist/infra/lib/evolution/generators/SkillGenerator.d.ts.map +1 -0
- package/dist/infra/lib/evolution/generators/SkillGenerator.js +73 -0
- package/dist/infra/lib/evolution/generators/SkillGenerator.js.map +1 -0
- package/dist/infra/lib/evolution/index.d.ts +23 -0
- package/dist/infra/lib/evolution/index.d.ts.map +1 -0
- package/dist/infra/lib/evolution/index.js +21 -0
- package/dist/infra/lib/evolution/index.js.map +1 -0
- package/dist/infra/lib/gemini/auth.d.ts +30 -0
- package/dist/infra/lib/gemini/auth.d.ts.map +1 -0
- package/dist/infra/lib/gemini/auth.js +351 -0
- package/dist/infra/lib/gemini/auth.js.map +1 -0
- package/dist/infra/lib/gemini/capabilities.d.ts +32 -0
- package/dist/infra/lib/gemini/capabilities.d.ts.map +1 -0
- package/dist/infra/lib/gemini/capabilities.js +336 -0
- package/dist/infra/lib/gemini/capabilities.js.map +1 -0
- package/dist/infra/lib/gemini/chat.d.ts +44 -0
- package/dist/infra/lib/gemini/chat.d.ts.map +1 -0
- package/dist/infra/lib/gemini/chat.js +473 -0
- package/dist/infra/lib/gemini/chat.js.map +1 -0
- package/dist/infra/lib/gemini/completion.d.ts +22 -0
- package/dist/infra/lib/gemini/completion.d.ts.map +1 -0
- package/dist/infra/lib/gemini/completion.js +104 -0
- package/dist/infra/lib/gemini/completion.js.map +1 -0
- package/dist/infra/lib/gemini/constants.d.ts +37 -0
- package/dist/infra/lib/gemini/constants.d.ts.map +1 -0
- package/dist/infra/lib/gemini/constants.js +86 -0
- package/dist/infra/lib/gemini/constants.js.map +1 -0
- package/dist/infra/lib/gemini/index.d.ts +15 -0
- package/dist/infra/lib/gemini/index.d.ts.map +1 -0
- package/dist/infra/lib/gemini/index.js +14 -0
- package/dist/infra/lib/gemini/index.js.map +1 -0
- package/dist/infra/lib/gemini/models.d.ts +12 -0
- package/dist/infra/lib/gemini/models.d.ts.map +1 -0
- package/dist/infra/lib/gemini/models.js +114 -0
- package/dist/infra/lib/gemini/models.js.map +1 -0
- package/dist/infra/lib/gemini/orchestration.d.ts +33 -0
- package/dist/infra/lib/gemini/orchestration.d.ts.map +1 -0
- package/dist/infra/lib/gemini/orchestration.js +62 -0
- package/dist/infra/lib/gemini/orchestration.js.map +1 -0
- package/dist/infra/lib/gemini/types.d.ts +143 -0
- package/dist/infra/lib/gemini/types.d.ts.map +1 -0
- package/dist/infra/lib/gemini/types.js +5 -0
- package/dist/infra/lib/gemini/types.js.map +1 -0
- package/dist/infra/lib/gemini-api.d.ts +13 -0
- package/dist/infra/lib/gemini-api.d.ts.map +1 -0
- package/dist/infra/lib/gemini-api.js +13 -0
- package/dist/infra/lib/gemini-api.js.map +1 -0
- package/dist/infra/lib/gemini-constants.d.ts +8 -0
- package/dist/infra/lib/gemini-constants.d.ts.map +1 -0
- package/dist/infra/lib/gemini-constants.js +18 -0
- package/dist/infra/lib/gemini-constants.js.map +1 -0
- package/dist/infra/lib/gemini-oauth.d.ts.map +1 -0
- package/dist/infra/lib/gemini-oauth.js.map +1 -0
- package/dist/infra/lib/gemini-storage.d.ts.map +1 -0
- package/dist/infra/lib/gemini-storage.js.map +1 -0
- package/dist/infra/lib/gpt/auth.d.ts +19 -0
- package/dist/infra/lib/gpt/auth.d.ts.map +1 -0
- package/dist/infra/lib/gpt/auth.js +116 -0
- package/dist/infra/lib/gpt/auth.js.map +1 -0
- package/dist/infra/lib/gpt/chat.d.ts +36 -0
- package/dist/infra/lib/gpt/chat.d.ts.map +1 -0
- package/dist/infra/lib/gpt/chat.js +460 -0
- package/dist/infra/lib/gpt/chat.js.map +1 -0
- package/dist/infra/lib/gpt/constants.d.ts +12 -0
- package/dist/infra/lib/gpt/constants.d.ts.map +1 -0
- package/dist/infra/lib/gpt/constants.js +18 -0
- package/dist/infra/lib/gpt/constants.js.map +1 -0
- package/dist/infra/lib/gpt/embedding.d.ts +15 -0
- package/dist/infra/lib/gpt/embedding.d.ts.map +1 -0
- package/dist/infra/lib/gpt/embedding.js +79 -0
- package/dist/infra/lib/gpt/embedding.js.map +1 -0
- package/dist/infra/lib/gpt/index.d.ts +17 -0
- package/dist/infra/lib/gpt/index.d.ts.map +1 -0
- package/dist/infra/lib/gpt/index.js +17 -0
- package/dist/infra/lib/gpt/index.js.map +1 -0
- package/dist/infra/lib/gpt/oauth.d.ts +66 -0
- package/dist/infra/lib/gpt/oauth.d.ts.map +1 -0
- package/dist/infra/lib/gpt/oauth.js +403 -0
- package/dist/infra/lib/gpt/oauth.js.map +1 -0
- package/dist/infra/lib/gpt/orchestration.d.ts +28 -0
- package/dist/infra/lib/gpt/orchestration.d.ts.map +1 -0
- package/dist/infra/lib/gpt/orchestration.js +52 -0
- package/dist/infra/lib/gpt/orchestration.js.map +1 -0
- package/dist/infra/lib/gpt/specializations.d.ts +12 -0
- package/dist/infra/lib/gpt/specializations.d.ts.map +1 -0
- package/dist/infra/lib/gpt/specializations.js +27 -0
- package/dist/infra/lib/gpt/specializations.js.map +1 -0
- package/dist/infra/lib/gpt/types.d.ts +70 -0
- package/dist/infra/lib/gpt/types.d.ts.map +1 -0
- package/dist/infra/lib/gpt/types.js +5 -0
- package/dist/infra/lib/gpt/types.js.map +1 -0
- package/dist/infra/lib/gpt-api.d.ts +13 -0
- package/dist/infra/lib/gpt-api.d.ts.map +1 -0
- package/dist/infra/lib/gpt-api.js +13 -0
- package/dist/infra/lib/gpt-api.js.map +1 -0
- package/dist/infra/lib/gpt-constants.d.ts +12 -0
- package/dist/infra/lib/gpt-constants.d.ts.map +1 -0
- package/dist/infra/lib/gpt-constants.js +18 -0
- package/dist/infra/lib/gpt-constants.js.map +1 -0
- package/dist/infra/lib/gpt-oauth.d.ts.map +1 -0
- package/dist/infra/lib/gpt-oauth.js +389 -0
- package/dist/infra/lib/gpt-oauth.js.map +1 -0
- package/dist/infra/lib/gpt-storage.d.ts +40 -0
- package/dist/infra/lib/gpt-storage.d.ts.map +1 -0
- package/dist/infra/lib/gpt-storage.js +106 -0
- package/dist/infra/lib/gpt-storage.js.map +1 -0
- package/dist/infra/lib/llm/auth/ApiKeyManager.d.ts.map +1 -0
- package/dist/infra/lib/llm/auth/ApiKeyManager.js.map +1 -0
- package/dist/infra/lib/llm/auth/AuthProfileManager.d.ts +59 -0
- package/dist/infra/lib/llm/auth/AuthProfileManager.d.ts.map +1 -0
- package/dist/infra/lib/llm/auth/AuthProfileManager.js +248 -0
- package/dist/infra/lib/llm/auth/AuthProfileManager.js.map +1 -0
- package/dist/infra/lib/llm/auth/AuthProfileManager.test.d.ts +5 -0
- package/dist/infra/lib/llm/auth/AuthProfileManager.test.d.ts.map +1 -0
- package/dist/infra/lib/llm/auth/AuthProfileManager.test.js +168 -0
- package/dist/infra/lib/llm/auth/AuthProfileManager.test.js.map +1 -0
- package/dist/infra/lib/llm/auth/ConfigManager.d.ts +29 -0
- package/dist/infra/lib/llm/auth/ConfigManager.d.ts.map +1 -0
- package/dist/infra/lib/llm/auth/ConfigManager.js +67 -0
- package/dist/infra/lib/llm/auth/ConfigManager.js.map +1 -0
- package/dist/infra/lib/llm/auth/ProfileFileLock.d.ts +16 -0
- package/dist/infra/lib/llm/auth/ProfileFileLock.d.ts.map +1 -0
- package/dist/infra/lib/llm/auth/ProfileFileLock.js +99 -0
- package/dist/infra/lib/llm/auth/ProfileFileLock.js.map +1 -0
- package/dist/infra/lib/llm/auth/TokenRefresher.d.ts +35 -0
- package/dist/infra/lib/llm/auth/TokenRefresher.d.ts.map +1 -0
- package/dist/infra/lib/llm/auth/TokenRefresher.js +217 -0
- package/dist/infra/lib/llm/auth/TokenRefresher.js.map +1 -0
- package/dist/infra/lib/llm/auth/TokenRefresher.test.d.ts +2 -0
- package/dist/infra/lib/llm/auth/TokenRefresher.test.d.ts.map +1 -0
- package/dist/infra/lib/llm/auth/TokenRefresher.test.js +120 -0
- package/dist/infra/lib/llm/auth/TokenRefresher.test.js.map +1 -0
- package/dist/infra/lib/llm/auth/index.d.ts +30 -0
- package/dist/infra/lib/llm/auth/index.d.ts.map +1 -0
- package/dist/infra/lib/llm/auth/index.js +86 -0
- package/dist/infra/lib/llm/auth/index.js.map +1 -0
- package/dist/infra/lib/llm/index.d.ts.map +1 -0
- package/dist/infra/lib/llm/index.js.map +1 -0
- package/dist/infra/lib/llm/types.d.ts.map +1 -0
- package/dist/infra/lib/llm/types.js.map +1 -0
- package/dist/infra/lib/llm/utils/index.d.ts.map +1 -0
- package/dist/infra/lib/llm/utils/index.js.map +1 -0
- package/dist/infra/lib/llm/utils/retry.d.ts.map +1 -0
- package/dist/infra/lib/llm/utils/retry.js.map +1 -0
- package/dist/infra/lib/llm/utils/stream.d.ts.map +1 -0
- package/dist/infra/lib/llm/utils/stream.js.map +1 -0
- package/dist/infra/lib/memory/KnowledgeGraph.d.ts.map +1 -0
- package/dist/infra/lib/memory/KnowledgeGraph.js.map +1 -0
- package/dist/infra/lib/memory/KnowledgeGraph.test.d.ts.map +1 -0
- package/dist/infra/lib/memory/KnowledgeGraph.test.js +189 -0
- package/dist/infra/lib/memory/KnowledgeGraph.test.js.map +1 -0
- package/dist/infra/lib/memory/MemorySearch.d.ts +55 -0
- package/dist/infra/lib/memory/MemorySearch.d.ts.map +1 -0
- package/dist/infra/lib/memory/MemorySearch.js +309 -0
- package/dist/infra/lib/memory/MemorySearch.js.map +1 -0
- package/dist/infra/lib/memory/MemorySearch.test.d.ts.map +1 -0
- package/dist/infra/lib/memory/MemorySearch.test.js +149 -0
- package/dist/infra/lib/memory/MemorySearch.test.js.map +1 -0
- package/dist/infra/lib/memory/MemoryStorage.d.ts +110 -0
- package/dist/infra/lib/memory/MemoryStorage.d.ts.map +1 -0
- package/dist/infra/lib/memory/MemoryStorage.js +527 -0
- package/dist/infra/lib/memory/MemoryStorage.js.map +1 -0
- package/dist/infra/lib/memory/MemoryStorage.test.d.ts.map +1 -0
- package/dist/infra/lib/memory/MemoryStorage.test.js +198 -0
- package/dist/infra/lib/memory/MemoryStorage.test.js.map +1 -0
- package/dist/infra/lib/memory/ObservationStore.d.ts.map +1 -0
- package/dist/infra/lib/memory/ObservationStore.js.map +1 -0
- package/dist/infra/lib/memory/ReflectionStore.d.ts +60 -0
- package/dist/infra/lib/memory/ReflectionStore.d.ts.map +1 -0
- package/dist/infra/lib/memory/ReflectionStore.js +177 -0
- package/dist/infra/lib/memory/ReflectionStore.js.map +1 -0
- package/dist/infra/lib/memory/SessionRAGRetriever.d.ts +88 -0
- package/dist/infra/lib/memory/SessionRAGRetriever.d.ts.map +1 -0
- package/dist/infra/lib/memory/SessionRAGRetriever.js +306 -0
- package/dist/infra/lib/memory/SessionRAGRetriever.js.map +1 -0
- package/dist/infra/lib/memory/SessionRAGRetriever.test.d.ts.map +1 -0
- package/dist/infra/lib/memory/SessionRAGRetriever.test.js +180 -0
- package/dist/infra/lib/memory/SessionRAGRetriever.test.js.map +1 -0
- package/dist/infra/lib/memory/SessionRAGStore.d.ts +163 -0
- package/dist/infra/lib/memory/SessionRAGStore.d.ts.map +1 -0
- package/dist/infra/lib/memory/SessionRAGStore.js +728 -0
- package/dist/infra/lib/memory/SessionRAGStore.js.map +1 -0
- package/dist/infra/lib/memory/SessionRAGStore.test.d.ts.map +1 -0
- package/dist/infra/lib/memory/SessionRAGStore.test.js +326 -0
- package/dist/infra/lib/memory/SessionRAGStore.test.js.map +1 -0
- package/dist/infra/lib/memory/SessionSummarizer.d.ts.map +1 -0
- package/dist/infra/lib/memory/SessionSummarizer.js.map +1 -0
- package/dist/infra/lib/memory/__tests__/ReflectionStore.test.d.ts +2 -0
- package/dist/infra/lib/memory/__tests__/ReflectionStore.test.d.ts.map +1 -0
- package/dist/infra/lib/memory/__tests__/ReflectionStore.test.js +196 -0
- package/dist/infra/lib/memory/__tests__/ReflectionStore.test.js.map +1 -0
- package/dist/infra/lib/memory/index.d.ts +11 -0
- package/dist/infra/lib/memory/index.d.ts.map +1 -0
- package/dist/infra/lib/memory/index.js +13 -0
- package/dist/infra/lib/memory/index.js.map +1 -0
- package/dist/infra/lib/memory/index.test.d.ts +2 -0
- package/dist/infra/lib/memory/index.test.d.ts.map +1 -0
- package/dist/infra/lib/memory/index.test.js +23 -0
- package/dist/infra/lib/memory/index.test.js.map +1 -0
- package/dist/infra/lib/sync/constants.d.ts +21 -0
- package/dist/infra/lib/sync/constants.d.ts.map +1 -0
- package/dist/infra/lib/sync/constants.js +78 -0
- package/dist/infra/lib/sync/constants.js.map +1 -0
- package/dist/infra/lib/sync/crypto.d.ts +23 -0
- package/dist/infra/lib/sync/crypto.d.ts.map +1 -0
- package/dist/infra/lib/sync/crypto.js +55 -0
- package/dist/infra/lib/sync/crypto.js.map +1 -0
- package/dist/infra/lib/sync/drive.d.ts +22 -0
- package/dist/infra/lib/sync/drive.d.ts.map +1 -0
- package/dist/infra/lib/sync/drive.js +99 -0
- package/dist/infra/lib/sync/drive.js.map +1 -0
- package/dist/infra/lib/sync/index.d.ts +9 -0
- package/dist/infra/lib/sync/index.d.ts.map +1 -0
- package/dist/infra/lib/sync/index.js +9 -0
- package/dist/infra/lib/sync/index.js.map +1 -0
- package/dist/infra/lib/sync/oauth.d.ts +12 -0
- package/dist/infra/lib/sync/oauth.d.ts.map +1 -0
- package/dist/infra/lib/sync/oauth.js +157 -0
- package/dist/infra/lib/sync/oauth.js.map +1 -0
- package/dist/infra/lib/sync/storage.d.ts +21 -0
- package/dist/infra/lib/sync/storage.d.ts.map +1 -0
- package/dist/infra/lib/sync/storage.js +32 -0
- package/dist/infra/lib/sync/storage.js.map +1 -0
- package/dist/infra/lib/ui-ux/Bm25Engine.d.ts +67 -0
- package/dist/infra/lib/ui-ux/Bm25Engine.d.ts.map +1 -0
- package/dist/infra/lib/ui-ux/Bm25Engine.js +153 -0
- package/dist/infra/lib/ui-ux/Bm25Engine.js.map +1 -0
- package/dist/infra/lib/ui-ux/Bm25Engine.test.d.ts +2 -0
- package/dist/infra/lib/ui-ux/Bm25Engine.test.d.ts.map +1 -0
- package/dist/infra/lib/ui-ux/Bm25Engine.test.js +159 -0
- package/dist/infra/lib/ui-ux/Bm25Engine.test.js.map +1 -0
- package/dist/infra/lib/ui-ux/CsvDataLoader.d.ts +48 -0
- package/dist/infra/lib/ui-ux/CsvDataLoader.d.ts.map +1 -0
- package/dist/infra/lib/ui-ux/CsvDataLoader.js +125 -0
- package/dist/infra/lib/ui-ux/CsvDataLoader.js.map +1 -0
- package/dist/infra/lib/ui-ux/CsvDataLoader.test.d.ts +2 -0
- package/dist/infra/lib/ui-ux/CsvDataLoader.test.d.ts.map +1 -0
- package/dist/infra/lib/ui-ux/CsvDataLoader.test.js +141 -0
- package/dist/infra/lib/ui-ux/CsvDataLoader.test.js.map +1 -0
- package/dist/infra/lib/ui-ux/DesignSystemGenerator.d.ts +119 -0
- package/dist/infra/lib/ui-ux/DesignSystemGenerator.d.ts.map +1 -0
- package/dist/infra/lib/ui-ux/DesignSystemGenerator.js +519 -0
- package/dist/infra/lib/ui-ux/DesignSystemGenerator.js.map +1 -0
- package/dist/infra/lib/ui-ux/DesignSystemGenerator.test.d.ts +2 -0
- package/dist/infra/lib/ui-ux/DesignSystemGenerator.test.d.ts.map +1 -0
- package/dist/infra/lib/ui-ux/DesignSystemGenerator.test.js +370 -0
- package/dist/infra/lib/ui-ux/DesignSystemGenerator.test.js.map +1 -0
- package/dist/infra/lib/ui-ux/SearchService.d.ts +64 -0
- package/dist/infra/lib/ui-ux/SearchService.d.ts.map +1 -0
- package/dist/infra/lib/ui-ux/SearchService.js +240 -0
- package/dist/infra/lib/ui-ux/SearchService.js.map +1 -0
- package/dist/infra/lib/ui-ux/SearchService.test.d.ts +2 -0
- package/dist/infra/lib/ui-ux/SearchService.test.d.ts.map +1 -0
- package/dist/infra/lib/ui-ux/SearchService.test.js +215 -0
- package/dist/infra/lib/ui-ux/SearchService.test.js.map +1 -0
- package/dist/infra/lib/ui-ux/UiUxWorkflow.d.ts +58 -0
- package/dist/infra/lib/ui-ux/UiUxWorkflow.d.ts.map +1 -0
- package/dist/infra/lib/ui-ux/UiUxWorkflow.js +163 -0
- package/dist/infra/lib/ui-ux/UiUxWorkflow.js.map +1 -0
- package/dist/infra/lib/ui-ux/constants.d.ts +39 -0
- package/dist/infra/lib/ui-ux/constants.d.ts.map +1 -0
- package/dist/infra/lib/ui-ux/constants.js +203 -0
- package/dist/infra/lib/ui-ux/constants.js.map +1 -0
- package/dist/infra/lib/ui-ux/index.d.ts +11 -0
- package/dist/infra/lib/ui-ux/index.d.ts.map +1 -0
- package/dist/infra/lib/ui-ux/index.js +11 -0
- package/dist/infra/lib/ui-ux/index.js.map +1 -0
- package/dist/infra/lib/ui-ux/types.d.ts +243 -0
- package/dist/infra/lib/ui-ux/types.d.ts.map +1 -0
- package/dist/infra/lib/ui-ux/types.js +7 -0
- package/dist/infra/lib/ui-ux/types.js.map +1 -0
- package/dist/infra/lib/utils.d.ts.map +1 -0
- package/dist/infra/lib/utils.js.map +1 -0
- package/dist/infra/orchestrator/AgentAnnouncer.d.ts +64 -0
- package/dist/infra/orchestrator/AgentAnnouncer.d.ts.map +1 -0
- package/dist/infra/orchestrator/AgentAnnouncer.js +127 -0
- package/dist/infra/orchestrator/AgentAnnouncer.js.map +1 -0
- package/dist/infra/orchestrator/AgentAnnouncer.test.d.ts +5 -0
- package/dist/infra/orchestrator/AgentAnnouncer.test.d.ts.map +1 -0
- package/dist/infra/orchestrator/AgentAnnouncer.test.js +119 -0
- package/dist/infra/orchestrator/AgentAnnouncer.test.js.map +1 -0
- package/dist/infra/orchestrator/AgentExecutor.d.ts +22 -0
- package/dist/infra/orchestrator/AgentExecutor.d.ts.map +1 -0
- package/dist/infra/orchestrator/AgentExecutor.js +240 -0
- package/dist/infra/orchestrator/AgentExecutor.js.map +1 -0
- package/dist/infra/orchestrator/AgentManager.d.ts +72 -0
- package/dist/infra/orchestrator/AgentManager.d.ts.map +1 -0
- package/dist/infra/orchestrator/AgentManager.js +182 -0
- package/dist/infra/orchestrator/AgentManager.js.map +1 -0
- package/dist/infra/orchestrator/AgentRegistry.d.ts +76 -0
- package/dist/infra/orchestrator/AgentRegistry.d.ts.map +1 -0
- package/dist/infra/orchestrator/AgentRegistry.js +217 -0
- package/dist/infra/orchestrator/AgentRegistry.js.map +1 -0
- package/dist/infra/orchestrator/AgentRegistry.test.d.ts +5 -0
- package/dist/infra/orchestrator/AgentRegistry.test.d.ts.map +1 -0
- package/dist/infra/orchestrator/AgentRegistry.test.js +122 -0
- package/dist/infra/orchestrator/AgentRegistry.test.js.map +1 -0
- package/dist/infra/orchestrator/BackgroundManager.d.ts +128 -0
- package/dist/infra/orchestrator/BackgroundManager.d.ts.map +1 -0
- package/dist/infra/orchestrator/BackgroundManager.js +617 -0
- package/dist/infra/orchestrator/BackgroundManager.js.map +1 -0
- package/dist/infra/orchestrator/BackgroundManager.test.d.ts.map +1 -0
- package/dist/infra/orchestrator/BackgroundManager.test.js.map +1 -0
- package/dist/infra/orchestrator/CheckpointManager.d.ts +54 -0
- package/dist/infra/orchestrator/CheckpointManager.d.ts.map +1 -0
- package/dist/infra/orchestrator/CheckpointManager.js +121 -0
- package/dist/infra/orchestrator/CheckpointManager.js.map +1 -0
- package/dist/infra/orchestrator/LLMCluster.d.ts +69 -0
- package/dist/infra/orchestrator/LLMCluster.d.ts.map +1 -0
- package/dist/infra/orchestrator/LLMCluster.js +90 -0
- package/dist/infra/orchestrator/LLMCluster.js.map +1 -0
- package/dist/infra/orchestrator/MultiLlmResearch.d.ts +26 -0
- package/dist/infra/orchestrator/MultiLlmResearch.d.ts.map +1 -0
- package/dist/infra/orchestrator/MultiLlmResearch.js +144 -0
- package/dist/infra/orchestrator/MultiLlmResearch.js.map +1 -0
- package/dist/infra/orchestrator/PhasePipeline.d.ts +122 -0
- package/dist/infra/orchestrator/PhasePipeline.d.ts.map +1 -0
- package/dist/infra/orchestrator/PhasePipeline.js +381 -0
- package/dist/infra/orchestrator/PhasePipeline.js.map +1 -0
- package/dist/infra/orchestrator/PhaseResultStore.d.ts +39 -0
- package/dist/infra/orchestrator/PhaseResultStore.d.ts.map +1 -0
- package/dist/infra/orchestrator/PhaseResultStore.js +151 -0
- package/dist/infra/orchestrator/PhaseResultStore.js.map +1 -0
- package/dist/infra/orchestrator/SessionStore.d.ts +40 -0
- package/dist/infra/orchestrator/SessionStore.d.ts.map +1 -0
- package/dist/infra/orchestrator/SessionStore.js +116 -0
- package/dist/infra/orchestrator/SessionStore.js.map +1 -0
- package/dist/infra/orchestrator/SmartRouter.d.ts +77 -0
- package/dist/infra/orchestrator/SmartRouter.d.ts.map +1 -0
- package/dist/infra/orchestrator/SmartRouter.js +267 -0
- package/dist/infra/orchestrator/SmartRouter.js.map +1 -0
- package/dist/infra/orchestrator/SwarmOrchestrator.d.ts +143 -0
- package/dist/infra/orchestrator/SwarmOrchestrator.d.ts.map +1 -0
- package/dist/infra/orchestrator/SwarmOrchestrator.js +377 -0
- package/dist/infra/orchestrator/SwarmOrchestrator.js.map +1 -0
- package/dist/infra/orchestrator/SwarmOrchestrator.test.d.ts.map +1 -0
- package/dist/infra/orchestrator/SwarmOrchestrator.test.js.map +1 -0
- package/dist/infra/orchestrator/agentDiscovery.d.ts.map +1 -0
- package/dist/infra/orchestrator/agentDiscovery.js.map +1 -0
- package/dist/infra/orchestrator/backgroundAgent.d.ts +9 -0
- package/dist/infra/orchestrator/backgroundAgent.d.ts.map +1 -0
- package/dist/infra/orchestrator/backgroundAgent.js +10 -0
- package/dist/infra/orchestrator/backgroundAgent.js.map +1 -0
- package/dist/infra/orchestrator/index.d.ts +204 -0
- package/dist/infra/orchestrator/index.d.ts.map +1 -0
- package/dist/infra/orchestrator/index.js +360 -0
- package/dist/infra/orchestrator/index.js.map +1 -0
- package/dist/infra/orchestrator/orchestrator.d.ts +60 -0
- package/dist/infra/orchestrator/orchestrator.d.ts.map +1 -0
- package/dist/infra/orchestrator/orchestrator.js +214 -0
- package/dist/infra/orchestrator/orchestrator.js.map +1 -0
- package/dist/infra/orchestrator/parallelResearch.d.ts +27 -0
- package/dist/infra/orchestrator/parallelResearch.d.ts.map +1 -0
- package/dist/infra/orchestrator/parallelResearch.js +244 -0
- package/dist/infra/orchestrator/parallelResearch.js.map +1 -0
- package/dist/infra/orchestrator/types.d.ts +175 -0
- package/dist/infra/orchestrator/types.d.ts.map +1 -0
- package/dist/infra/orchestrator/types.js +21 -0
- package/dist/infra/orchestrator/types.js.map +1 -0
- package/dist/infra/types/tool.d.ts.map +1 -0
- package/dist/infra/types/tool.js.map +1 -0
- package/dist/tools/convention/analyzeComplexity.d.ts +1 -1
- package/dist/tools/convention/analyzeComplexity.d.ts.map +1 -1
- package/dist/tools/convention/analyzeComplexity.js +1 -1
- package/dist/tools/convention/analyzeComplexity.js.map +1 -1
- package/dist/tools/convention/applyQualityRules.d.ts +1 -1
- package/dist/tools/convention/applyQualityRules.d.ts.map +1 -1
- package/dist/tools/convention/checkCouplingCohesion.d.ts +1 -1
- package/dist/tools/convention/checkCouplingCohesion.d.ts.map +1 -1
- package/dist/tools/convention/suggestImprovements.d.ts +1 -1
- package/dist/tools/convention/suggestImprovements.d.ts.map +1 -1
- package/dist/tools/convention/validateCodeQuality.d.ts +1 -1
- package/dist/tools/convention/validateCodeQuality.d.ts.map +1 -1
- package/dist/tools/evolution/dashboardTools.d.ts +26 -0
- package/dist/tools/evolution/dashboardTools.d.ts.map +1 -0
- package/dist/tools/evolution/dashboardTools.js +216 -0
- package/dist/tools/evolution/dashboardTools.js.map +1 -0
- package/dist/tools/evolution/index.d.ts +3 -0
- package/dist/tools/evolution/index.d.ts.map +1 -0
- package/dist/tools/evolution/index.js +6 -0
- package/dist/tools/evolution/index.js.map +1 -0
- package/dist/tools/evolution/insightTools.d.ts +21 -0
- package/dist/tools/evolution/insightTools.d.ts.map +1 -0
- package/dist/tools/evolution/insightTools.js +184 -0
- package/dist/tools/evolution/insightTools.js.map +1 -0
- package/dist/tools/index.d.ts +31 -21
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +38 -26
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/interaction/askUser.d.ts +2 -2
- package/dist/tools/interaction/askUser.d.ts.map +1 -1
- package/dist/tools/interaction/askUser.js +1 -1
- package/dist/tools/memory/addObservation.d.ts +2 -2
- package/dist/tools/memory/addObservation.d.ts.map +1 -1
- package/dist/tools/memory/addObservation.js +1 -1
- package/dist/tools/memory/addObservation.js.map +1 -1
- package/dist/tools/memory/autoSaveContext.d.ts +1 -1
- package/dist/tools/memory/autoSaveContext.d.ts.map +1 -1
- package/dist/tools/memory/autoSaveContext.js +2 -2
- package/dist/tools/memory/autoSaveContext.js.map +1 -1
- package/dist/tools/memory/createMemoryTimeline.d.ts +1 -1
- package/dist/tools/memory/createMemoryTimeline.d.ts.map +1 -1
- package/dist/tools/memory/createMemoryTimeline.js +11 -11
- package/dist/tools/memory/createMemoryTimeline.js.map +1 -1
- package/dist/tools/memory/deleteMemory.d.ts +1 -1
- package/dist/tools/memory/deleteMemory.d.ts.map +1 -1
- package/dist/tools/memory/deleteMemory.js +1 -1
- package/dist/tools/memory/deleteMemory.js.map +1 -1
- package/dist/tools/memory/getMemoryGraph.d.ts +1 -1
- package/dist/tools/memory/getMemoryGraph.d.ts.map +1 -1
- package/dist/tools/memory/getMemoryGraph.js +13 -13
- package/dist/tools/memory/getMemoryGraph.js.map +1 -1
- package/dist/tools/memory/getSessionContext.d.ts +1 -1
- package/dist/tools/memory/getSessionContext.d.ts.map +1 -1
- package/dist/tools/memory/getSessionContext.js +10 -10
- package/dist/tools/memory/getSessionContext.js.map +1 -1
- package/dist/tools/memory/index.d.ts +1 -0
- package/dist/tools/memory/index.d.ts.map +1 -1
- package/dist/tools/memory/index.js +2 -0
- package/dist/tools/memory/index.js.map +1 -1
- package/dist/tools/memory/linkMemories.d.ts +1 -1
- package/dist/tools/memory/linkMemories.d.ts.map +1 -1
- package/dist/tools/memory/linkMemories.js +15 -15
- package/dist/tools/memory/linkMemories.js.map +1 -1
- package/dist/tools/memory/listMemories.d.ts +1 -1
- package/dist/tools/memory/listMemories.d.ts.map +1 -1
- package/dist/tools/memory/listMemories.js +5 -5
- package/dist/tools/memory/listMemories.js.map +1 -1
- package/dist/tools/memory/manageGoals.d.ts +2 -2
- package/dist/tools/memory/manageGoals.d.ts.map +1 -1
- package/dist/tools/memory/manageGoals.js +1 -1
- package/dist/tools/memory/manageGoals.js.map +1 -1
- package/dist/tools/memory/prioritizeMemory.d.ts +1 -1
- package/dist/tools/memory/prioritizeMemory.d.ts.map +1 -1
- package/dist/tools/memory/prioritizeMemory.js +1 -1
- package/dist/tools/memory/prioritizeMemory.js.map +1 -1
- package/dist/tools/memory/recallMemory.d.ts +1 -1
- package/dist/tools/memory/recallMemory.d.ts.map +1 -1
- package/dist/tools/memory/recallMemory.js +5 -5
- package/dist/tools/memory/recallMemory.js.map +1 -1
- package/dist/tools/memory/reflectionTools.d.ts +27 -0
- package/dist/tools/memory/reflectionTools.d.ts.map +1 -0
- package/dist/tools/memory/reflectionTools.js +180 -0
- package/dist/tools/memory/reflectionTools.js.map +1 -0
- package/dist/tools/memory/restoreSessionContext.d.ts +1 -1
- package/dist/tools/memory/restoreSessionContext.d.ts.map +1 -1
- package/dist/tools/memory/restoreSessionContext.js +1 -1
- package/dist/tools/memory/restoreSessionContext.js.map +1 -1
- package/dist/tools/memory/retrieveSessionContext.d.ts +1 -1
- package/dist/tools/memory/retrieveSessionContext.d.ts.map +1 -1
- package/dist/tools/memory/retrieveSessionContext.js +1 -1
- package/dist/tools/memory/retrieveSessionContext.js.map +1 -1
- package/dist/tools/memory/saveMemory.d.ts +1 -1
- package/dist/tools/memory/saveMemory.d.ts.map +1 -1
- package/dist/tools/memory/saveMemory.js +5 -5
- package/dist/tools/memory/saveMemory.js.map +1 -1
- package/dist/tools/memory/saveSessionItem.d.ts +1 -1
- package/dist/tools/memory/saveSessionItem.d.ts.map +1 -1
- package/dist/tools/memory/saveSessionItem.js +1 -1
- package/dist/tools/memory/saveSessionItem.js.map +1 -1
- package/dist/tools/memory/searchMemories.d.ts +1 -1
- package/dist/tools/memory/searchMemories.d.ts.map +1 -1
- package/dist/tools/memory/searchMemories.js +1 -1
- package/dist/tools/memory/searchMemories.js.map +1 -1
- package/dist/tools/memory/searchMemoriesAdvanced.d.ts +1 -1
- package/dist/tools/memory/searchMemoriesAdvanced.d.ts.map +1 -1
- package/dist/tools/memory/searchMemoriesAdvanced.js +24 -24
- package/dist/tools/memory/searchMemoriesAdvanced.js.map +1 -1
- package/dist/tools/memory/searchObservations.d.ts +2 -2
- package/dist/tools/memory/searchObservations.d.ts.map +1 -1
- package/dist/tools/memory/searchObservations.js +1 -1
- package/dist/tools/memory/searchObservations.js.map +1 -1
- package/dist/tools/memory/startSession.d.ts +1 -1
- package/dist/tools/memory/startSession.d.ts.map +1 -1
- package/dist/tools/memory/startSession.js +28 -6
- package/dist/tools/memory/startSession.js.map +1 -1
- package/dist/tools/memory/updateMemory.d.ts +1 -1
- package/dist/tools/memory/updateMemory.d.ts.map +1 -1
- package/dist/tools/memory/updateMemory.js +1 -1
- package/dist/tools/memory/updateMemory.js.map +1 -1
- package/dist/tools/semantic/analyzeDependencyGraph.d.ts +1 -1
- package/dist/tools/semantic/analyzeDependencyGraph.d.ts.map +1 -1
- package/dist/tools/semantic/analyzeDependencyGraph.js +13 -13
- package/dist/tools/semantic/analyzeDependencyGraph.js.map +1 -1
- package/dist/tools/semantic/astGrep.d.ts +23 -0
- package/dist/tools/semantic/astGrep.d.ts.map +1 -0
- package/dist/tools/semantic/astGrep.js +298 -0
- package/dist/tools/semantic/astGrep.js.map +1 -0
- package/dist/tools/semantic/astGrep.test.d.ts +2 -0
- package/dist/tools/semantic/astGrep.test.d.ts.map +1 -0
- package/dist/tools/semantic/astGrep.test.js +66 -0
- package/dist/tools/semantic/astGrep.test.js.map +1 -0
- package/dist/tools/semantic/findReferences.d.ts +1 -1
- package/dist/tools/semantic/findReferences.d.ts.map +1 -1
- package/dist/tools/semantic/findReferences.js +2 -2
- package/dist/tools/semantic/findReferences.js.map +1 -1
- package/dist/tools/semantic/findSymbol.d.ts +1 -1
- package/dist/tools/semantic/findSymbol.d.ts.map +1 -1
- package/dist/tools/semantic/findSymbol.js +3 -3
- package/dist/tools/semantic/findSymbol.js.map +1 -1
- package/dist/tools/semantic/index.d.ts +2 -0
- package/dist/tools/semantic/index.d.ts.map +1 -1
- package/dist/tools/semantic/index.js +4 -0
- package/dist/tools/semantic/index.js.map +1 -1
- package/dist/tools/semantic/lsp.d.ts +68 -0
- package/dist/tools/semantic/lsp.d.ts.map +1 -0
- package/dist/tools/semantic/lsp.js +553 -0
- package/dist/tools/semantic/lsp.js.map +1 -0
- package/dist/tools/spec/e2eTestGenerator.d.ts +0 -1
- package/dist/tools/spec/e2eTestGenerator.d.ts.map +1 -1
- package/dist/tools/spec/e2eTestGenerator.js +0 -1
- package/dist/tools/spec/e2eTestGenerator.js.map +1 -1
- package/dist/tools/spec/prdParser.d.ts +0 -1
- package/dist/tools/spec/prdParser.d.ts.map +1 -1
- package/dist/tools/spec/prdParser.js +8 -6
- package/dist/tools/spec/prdParser.js.map +1 -1
- package/dist/tools/spec/requirementId.d.ts +0 -1
- package/dist/tools/spec/requirementId.d.ts.map +1 -1
- package/dist/tools/spec/requirementId.js +0 -1
- package/dist/tools/spec/requirementId.js.map +1 -1
- package/dist/tools/spec/specGenerator.d.ts +0 -1
- package/dist/tools/spec/specGenerator.d.ts.map +1 -1
- package/dist/tools/spec/specGenerator.js +0 -1
- package/dist/tools/spec/specGenerator.js.map +1 -1
- package/dist/tools/spec/specVersioning.d.ts +0 -1
- package/dist/tools/spec/specVersioning.d.ts.map +1 -1
- package/dist/tools/spec/specVersioning.js +0 -1
- package/dist/tools/spec/specVersioning.js.map +1 -1
- package/dist/tools/spec/traceabilityMatrix.d.ts +0 -1
- package/dist/tools/spec/traceabilityMatrix.d.ts.map +1 -1
- package/dist/tools/spec/traceabilityMatrix.js +12 -7
- package/dist/tools/spec/traceabilityMatrix.js.map +1 -1
- package/dist/tools/time/getCurrentTime.d.ts +2 -2
- package/dist/tools/time/getCurrentTime.d.ts.map +1 -1
- package/dist/tools/time/getCurrentTime.js +1 -9
- package/dist/tools/time/getCurrentTime.js.map +1 -1
- package/dist/tools/ui/generateDesignSystem.d.ts +7 -0
- package/dist/tools/ui/generateDesignSystem.d.ts.map +1 -0
- package/dist/tools/ui/generateDesignSystem.js +70 -0
- package/dist/tools/ui/generateDesignSystem.js.map +1 -0
- package/dist/tools/ui/index.d.ts +5 -1
- package/dist/tools/ui/index.d.ts.map +1 -1
- package/dist/tools/ui/index.js +5 -1
- package/dist/tools/ui/index.js.map +1 -1
- package/dist/tools/ui/persistDesignSystem.d.ts +8 -0
- package/dist/tools/ui/persistDesignSystem.d.ts.map +1 -0
- package/dist/tools/ui/persistDesignSystem.js +77 -0
- package/dist/tools/ui/persistDesignSystem.js.map +1 -0
- package/dist/tools/ui/previewUiAscii.d.ts +1 -1
- package/dist/tools/ui/previewUiAscii.d.ts.map +1 -1
- package/dist/tools/ui/searchUiUx.d.ts +8 -0
- package/dist/tools/ui/searchUiUx.d.ts.map +1 -0
- package/dist/tools/ui/searchUiUx.js +82 -0
- package/dist/tools/ui/searchUiUx.js.map +1 -0
- package/dist/tools/ui/searchUiUxStack.d.ts +8 -0
- package/dist/tools/ui/searchUiUxStack.d.ts.map +1 -0
- package/dist/tools/ui/searchUiUxStack.js +83 -0
- package/dist/tools/ui/searchUiUxStack.js.map +1 -0
- package/hooks/hooks.json +32 -10
- package/hooks/scripts/__tests__/skill-injector.test.js +234 -0
- package/hooks/scripts/autonomy-controller.js +101 -0
- package/hooks/scripts/context-save.js +152 -5
- package/hooks/scripts/evolution-engine.js +101 -0
- package/hooks/scripts/keyword-detector.js +1 -1
- package/hooks/scripts/llm-orchestrate.js +224 -37
- package/hooks/scripts/post-edit.js +2 -45
- package/hooks/scripts/post-tool-verify.js +1 -1
- package/hooks/scripts/pre-tool-guard.js +1 -1
- package/hooks/scripts/prompt-dispatcher.js +56 -1
- package/hooks/scripts/sentinel-guard.js +104 -0
- package/hooks/scripts/session-start.js +76 -0
- package/hooks/scripts/skill-injector.js +546 -83
- package/hooks/scripts/skill-requirements.js +83 -0
- package/hooks/scripts/stop-notify.js +207 -0
- package/hooks/scripts/utils.js +8 -8
- package/package.json +55 -18
- package/skills/brand-assets/SKILL.md +138 -0
- package/skills/commit-push-pr/SKILL.md +118 -0
- package/skills/context7-usage/SKILL.md +105 -0
- package/skills/core-capabilities/SKILL.md +164 -0
- package/skills/git-worktree/SKILL.md +184 -0
- package/skills/handoff/SKILL.md +101 -0
- package/skills/parallel-research/SKILL.md +80 -0
- package/skills/priority-todos/SKILL.md +242 -0
- package/skills/techdebt/SKILL.md +122 -0
- package/skills/tool-fallback/SKILL.md +193 -0
- package/skills/typescript-advanced-types/SKILL.md +720 -0
- package/skills/ui-ux-pro-max/SKILL.md +386 -0
- package/skills/vercel-react-best-practices/SKILL.md +304 -0
- package/vibe/config.json +29 -29
- package/vibe/constitution.md +3 -3
- package/vibe/rules/quality/bdd-contract-testing.md +6 -6
- package/vibe/rules/quality/performance.md +236 -0
- package/vibe/rules/standards/git-workflow.md +237 -0
- package/vibe/rules/standards/security.md +305 -0
- package/vibe/rules/writing/document-style.md +74 -0
- package/vibe/setup.sh +6 -6
- package/vibe/templates/constitution-template.md +3 -3
- package/vibe/ui-ux-data/charts.csv +26 -0
- package/vibe/ui-ux-data/colors.csv +97 -0
- package/vibe/ui-ux-data/icons.csv +101 -0
- package/vibe/ui-ux-data/landing.csv +31 -0
- package/vibe/ui-ux-data/products.csv +97 -0
- package/vibe/ui-ux-data/react-performance.csv +45 -0
- package/vibe/ui-ux-data/stacks/astro.csv +54 -0
- package/vibe/ui-ux-data/stacks/flutter.csv +53 -0
- package/vibe/ui-ux-data/stacks/html-tailwind.csv +56 -0
- package/vibe/ui-ux-data/stacks/jetpack-compose.csv +53 -0
- package/vibe/ui-ux-data/stacks/nextjs.csv +53 -0
- package/vibe/ui-ux-data/stacks/nuxt-ui.csv +51 -0
- package/vibe/ui-ux-data/stacks/nuxtjs.csv +59 -0
- package/vibe/ui-ux-data/stacks/react-native.csv +52 -0
- package/vibe/ui-ux-data/stacks/react.csv +54 -0
- package/vibe/ui-ux-data/stacks/shadcn.csv +61 -0
- package/vibe/ui-ux-data/stacks/svelte.csv +54 -0
- package/vibe/ui-ux-data/stacks/swiftui.csv +51 -0
- package/vibe/ui-ux-data/stacks/vue.csv +50 -0
- package/vibe/ui-ux-data/styles.csv +68 -0
- package/vibe/ui-ux-data/typography.csv +58 -0
- package/vibe/ui-ux-data/ui-reasoning.csv +101 -0
- package/vibe/ui-ux-data/ux-guidelines.csv +100 -0
- package/vibe/ui-ux-data/version.json +31 -0
- package/vibe/ui-ux-data/web-interface.csv +31 -0
- package/dist/cli/hud.d.ts +0 -33
- package/dist/cli/hud.d.ts.map +0 -1
- package/dist/cli/hud.js +0 -247
- package/dist/cli/hud.js.map +0 -1
- package/dist/lib/ContextCompressor.d.ts.map +0 -1
- package/dist/lib/ContextCompressor.js +0 -306
- package/dist/lib/ContextCompressor.js.map +0 -1
- package/dist/lib/DeepInit.d.ts.map +0 -1
- package/dist/lib/DeepInit.js.map +0 -1
- package/dist/lib/FrameworkDetector.d.ts.map +0 -1
- package/dist/lib/FrameworkDetector.js.map +0 -1
- package/dist/lib/IterationTracker.d.ts +0 -81
- package/dist/lib/IterationTracker.d.ts.map +0 -1
- package/dist/lib/IterationTracker.js.map +0 -1
- package/dist/lib/MemoryManager.d.ts +0 -86
- package/dist/lib/MemoryManager.d.ts.map +0 -1
- package/dist/lib/MemoryManager.js +0 -287
- package/dist/lib/MemoryManager.js.map +0 -1
- package/dist/lib/ModelRouter.d.ts.map +0 -1
- package/dist/lib/ModelRouter.js.map +0 -1
- package/dist/lib/OrchestrateWorkflow.d.ts.map +0 -1
- package/dist/lib/OrchestrateWorkflow.js.map +0 -1
- package/dist/lib/ProgressTracker.d.ts.map +0 -1
- package/dist/lib/ProgressTracker.js +0 -267
- package/dist/lib/ProgressTracker.js.map +0 -1
- package/dist/lib/ProjectCache.d.ts.map +0 -1
- package/dist/lib/ProjectCache.js.map +0 -1
- package/dist/lib/PythonParser.d.ts.map +0 -1
- package/dist/lib/PythonParser.js +0 -269
- package/dist/lib/PythonParser.js.map +0 -1
- package/dist/lib/ReviewRace.d.ts.map +0 -1
- package/dist/lib/ReviewRace.js +0 -446
- package/dist/lib/ReviewRace.js.map +0 -1
- package/dist/lib/RuleBuildSystem.d.ts +0 -117
- package/dist/lib/RuleBuildSystem.d.ts.map +0 -1
- package/dist/lib/RuleBuildSystem.js +0 -402
- package/dist/lib/RuleBuildSystem.js.map +0 -1
- package/dist/lib/SkillFrontmatter.d.ts +0 -62
- package/dist/lib/SkillFrontmatter.d.ts.map +0 -1
- package/dist/lib/SkillFrontmatter.js.map +0 -1
- package/dist/lib/SkillQualityGate.d.ts.map +0 -1
- package/dist/lib/SkillQualityGate.js.map +0 -1
- package/dist/lib/SkillRepository.d.ts.map +0 -1
- package/dist/lib/SkillRepository.js +0 -477
- package/dist/lib/SkillRepository.js.map +0 -1
- package/dist/lib/UltraQA.d.ts +0 -68
- package/dist/lib/UltraQA.d.ts.map +0 -1
- package/dist/lib/UltraQA.js +0 -232
- package/dist/lib/UltraQA.js.map +0 -1
- package/dist/lib/constants.d.ts +0 -45
- package/dist/lib/constants.d.ts.map +0 -1
- package/dist/lib/constants.js +0 -62
- package/dist/lib/constants.js.map +0 -1
- package/dist/lib/gemini-api.d.ts +0 -128
- package/dist/lib/gemini-api.d.ts.map +0 -1
- package/dist/lib/gemini-api.js +0 -662
- package/dist/lib/gemini-api.js.map +0 -1
- package/dist/lib/gemini-constants.d.ts +0 -19
- package/dist/lib/gemini-constants.d.ts.map +0 -1
- package/dist/lib/gemini-constants.js +0 -34
- package/dist/lib/gemini-constants.js.map +0 -1
- package/dist/lib/gemini-oauth.d.ts +0 -52
- package/dist/lib/gemini-oauth.d.ts.map +0 -1
- package/dist/lib/gemini-oauth.js +0 -363
- package/dist/lib/gemini-oauth.js.map +0 -1
- package/dist/lib/gemini-storage.d.ts +0 -64
- package/dist/lib/gemini-storage.d.ts.map +0 -1
- package/dist/lib/gemini-storage.js +0 -177
- package/dist/lib/gemini-storage.js.map +0 -1
- package/dist/lib/gpt-api.d.ts +0 -106
- package/dist/lib/gpt-api.d.ts.map +0 -1
- package/dist/lib/gpt-api.js +0 -556
- package/dist/lib/gpt-api.js.map +0 -1
- package/dist/lib/gpt-constants.d.ts +0 -12
- package/dist/lib/gpt-constants.d.ts.map +0 -1
- package/dist/lib/gpt-constants.js +0 -18
- package/dist/lib/gpt-constants.js.map +0 -1
- package/dist/lib/gpt-oauth.d.ts.map +0 -1
- package/dist/lib/gpt-oauth.js +0 -373
- package/dist/lib/gpt-oauth.js.map +0 -1
- package/dist/lib/gpt-storage.d.ts +0 -64
- package/dist/lib/gpt-storage.d.ts.map +0 -1
- package/dist/lib/gpt-storage.js +0 -180
- package/dist/lib/gpt-storage.js.map +0 -1
- package/dist/lib/llm/auth/ApiKeyManager.d.ts.map +0 -1
- package/dist/lib/llm/auth/ApiKeyManager.js.map +0 -1
- package/dist/lib/llm/auth/ConfigManager.d.ts +0 -29
- package/dist/lib/llm/auth/ConfigManager.d.ts.map +0 -1
- package/dist/lib/llm/auth/ConfigManager.js +0 -67
- package/dist/lib/llm/auth/ConfigManager.js.map +0 -1
- package/dist/lib/llm/auth/index.d.ts +0 -25
- package/dist/lib/llm/auth/index.d.ts.map +0 -1
- package/dist/lib/llm/auth/index.js +0 -83
- package/dist/lib/llm/auth/index.js.map +0 -1
- package/dist/lib/llm/index.d.ts.map +0 -1
- package/dist/lib/llm/index.js.map +0 -1
- package/dist/lib/llm/types.d.ts.map +0 -1
- package/dist/lib/llm/types.js.map +0 -1
- package/dist/lib/llm/utils/index.d.ts.map +0 -1
- package/dist/lib/llm/utils/index.js.map +0 -1
- package/dist/lib/llm/utils/retry.d.ts.map +0 -1
- package/dist/lib/llm/utils/retry.js.map +0 -1
- package/dist/lib/llm/utils/stream.d.ts.map +0 -1
- package/dist/lib/llm/utils/stream.js.map +0 -1
- package/dist/lib/memory/KnowledgeGraph.d.ts.map +0 -1
- package/dist/lib/memory/KnowledgeGraph.js.map +0 -1
- package/dist/lib/memory/KnowledgeGraph.test.d.ts.map +0 -1
- package/dist/lib/memory/KnowledgeGraph.test.js +0 -189
- package/dist/lib/memory/KnowledgeGraph.test.js.map +0 -1
- package/dist/lib/memory/MemorySearch.d.ts +0 -27
- package/dist/lib/memory/MemorySearch.d.ts.map +0 -1
- package/dist/lib/memory/MemorySearch.js +0 -145
- package/dist/lib/memory/MemorySearch.js.map +0 -1
- package/dist/lib/memory/MemorySearch.test.d.ts.map +0 -1
- package/dist/lib/memory/MemorySearch.test.js +0 -149
- package/dist/lib/memory/MemorySearch.test.js.map +0 -1
- package/dist/lib/memory/MemoryStorage.d.ts +0 -88
- package/dist/lib/memory/MemoryStorage.d.ts.map +0 -1
- package/dist/lib/memory/MemoryStorage.js +0 -404
- package/dist/lib/memory/MemoryStorage.js.map +0 -1
- package/dist/lib/memory/MemoryStorage.test.d.ts.map +0 -1
- package/dist/lib/memory/MemoryStorage.test.js +0 -198
- package/dist/lib/memory/MemoryStorage.test.js.map +0 -1
- package/dist/lib/memory/ObservationStore.d.ts.map +0 -1
- package/dist/lib/memory/ObservationStore.js.map +0 -1
- package/dist/lib/memory/SessionRAGRetriever.d.ts +0 -66
- package/dist/lib/memory/SessionRAGRetriever.d.ts.map +0 -1
- package/dist/lib/memory/SessionRAGRetriever.js +0 -196
- package/dist/lib/memory/SessionRAGRetriever.js.map +0 -1
- package/dist/lib/memory/SessionRAGRetriever.test.d.ts.map +0 -1
- package/dist/lib/memory/SessionRAGRetriever.test.js +0 -180
- package/dist/lib/memory/SessionRAGRetriever.test.js.map +0 -1
- package/dist/lib/memory/SessionRAGStore.d.ts +0 -153
- package/dist/lib/memory/SessionRAGStore.d.ts.map +0 -1
- package/dist/lib/memory/SessionRAGStore.js +0 -673
- package/dist/lib/memory/SessionRAGStore.js.map +0 -1
- package/dist/lib/memory/SessionRAGStore.test.d.ts.map +0 -1
- package/dist/lib/memory/SessionRAGStore.test.js +0 -326
- package/dist/lib/memory/SessionRAGStore.test.js.map +0 -1
- package/dist/lib/memory/SessionSummarizer.d.ts.map +0 -1
- package/dist/lib/memory/SessionSummarizer.js.map +0 -1
- package/dist/lib/memory/index.d.ts +0 -5
- package/dist/lib/memory/index.d.ts.map +0 -1
- package/dist/lib/memory/index.js +0 -9
- package/dist/lib/memory/index.js.map +0 -1
- package/dist/lib/utils.d.ts.map +0 -1
- package/dist/lib/utils.js.map +0 -1
- package/dist/orchestrator/AgentExecutor.d.ts +0 -23
- package/dist/orchestrator/AgentExecutor.d.ts.map +0 -1
- package/dist/orchestrator/AgentExecutor.js +0 -231
- package/dist/orchestrator/AgentExecutor.js.map +0 -1
- package/dist/orchestrator/AgentManager.d.ts +0 -73
- package/dist/orchestrator/AgentManager.d.ts.map +0 -1
- package/dist/orchestrator/AgentManager.js +0 -184
- package/dist/orchestrator/AgentManager.js.map +0 -1
- package/dist/orchestrator/BackgroundManager.d.ts +0 -109
- package/dist/orchestrator/BackgroundManager.d.ts.map +0 -1
- package/dist/orchestrator/BackgroundManager.js +0 -456
- package/dist/orchestrator/BackgroundManager.js.map +0 -1
- package/dist/orchestrator/BackgroundManager.test.d.ts.map +0 -1
- package/dist/orchestrator/BackgroundManager.test.js.map +0 -1
- package/dist/orchestrator/LLMCluster.d.ts +0 -70
- package/dist/orchestrator/LLMCluster.d.ts.map +0 -1
- package/dist/orchestrator/LLMCluster.js +0 -91
- package/dist/orchestrator/LLMCluster.js.map +0 -1
- package/dist/orchestrator/MultiLlmResearch.d.ts +0 -27
- package/dist/orchestrator/MultiLlmResearch.d.ts.map +0 -1
- package/dist/orchestrator/MultiLlmResearch.js +0 -145
- package/dist/orchestrator/MultiLlmResearch.js.map +0 -1
- package/dist/orchestrator/PhasePipeline.d.ts +0 -108
- package/dist/orchestrator/PhasePipeline.d.ts.map +0 -1
- package/dist/orchestrator/PhasePipeline.js +0 -313
- package/dist/orchestrator/PhasePipeline.js.map +0 -1
- package/dist/orchestrator/SessionStore.d.ts +0 -41
- package/dist/orchestrator/SessionStore.d.ts.map +0 -1
- package/dist/orchestrator/SessionStore.js +0 -117
- package/dist/orchestrator/SessionStore.js.map +0 -1
- package/dist/orchestrator/SmartRouter.d.ts +0 -68
- package/dist/orchestrator/SmartRouter.d.ts.map +0 -1
- package/dist/orchestrator/SmartRouter.js +0 -256
- package/dist/orchestrator/SmartRouter.js.map +0 -1
- package/dist/orchestrator/SwarmOrchestrator.d.ts +0 -144
- package/dist/orchestrator/SwarmOrchestrator.d.ts.map +0 -1
- package/dist/orchestrator/SwarmOrchestrator.js +0 -361
- package/dist/orchestrator/SwarmOrchestrator.js.map +0 -1
- package/dist/orchestrator/SwarmOrchestrator.test.d.ts.map +0 -1
- package/dist/orchestrator/SwarmOrchestrator.test.js.map +0 -1
- package/dist/orchestrator/agentDiscovery.d.ts.map +0 -1
- package/dist/orchestrator/agentDiscovery.js.map +0 -1
- package/dist/orchestrator/backgroundAgent.d.ts +0 -15
- package/dist/orchestrator/backgroundAgent.d.ts.map +0 -1
- package/dist/orchestrator/backgroundAgent.js +0 -16
- package/dist/orchestrator/backgroundAgent.js.map +0 -1
- package/dist/orchestrator/index.d.ts +0 -179
- package/dist/orchestrator/index.d.ts.map +0 -1
- package/dist/orchestrator/index.js +0 -335
- package/dist/orchestrator/index.js.map +0 -1
- package/dist/orchestrator/orchestrator.d.ts +0 -63
- package/dist/orchestrator/orchestrator.d.ts.map +0 -1
- package/dist/orchestrator/orchestrator.js +0 -212
- package/dist/orchestrator/orchestrator.js.map +0 -1
- package/dist/orchestrator/parallelResearch.d.ts +0 -30
- package/dist/orchestrator/parallelResearch.d.ts.map +0 -1
- package/dist/orchestrator/parallelResearch.js +0 -247
- package/dist/orchestrator/parallelResearch.js.map +0 -1
- package/dist/orchestrator/types.d.ts +0 -170
- package/dist/orchestrator/types.d.ts.map +0 -1
- package/dist/orchestrator/types.js +0 -14
- package/dist/orchestrator/types.js.map +0 -1
- package/dist/types/tool.d.ts.map +0 -1
- package/dist/types/tool.js.map +0 -1
- package/skills/brand-assets.md +0 -137
- package/skills/context7-usage.md +0 -102
- package/skills/git-worktree.md +0 -181
- package/skills/parallel-research.md +0 -77
- package/skills/priority-todos.md +0 -239
- package/skills/tool-fallback.md +0 -190
- package/skills/vibe-capabilities.md +0 -161
- /package/dist/{lib → infra/lib}/ContextCompressor.d.ts +0 -0
- /package/dist/{lib → infra/lib}/DeepInit.d.ts +0 -0
- /package/dist/{lib → infra/lib}/DeepInit.js +0 -0
- /package/dist/{lib → infra/lib}/FrameworkDetector.d.ts +0 -0
- /package/dist/{lib → infra/lib}/FrameworkDetector.js +0 -0
- /package/dist/{lib → infra/lib}/IterationTracker.js +0 -0
- /package/dist/{lib → infra/lib}/ModelRouter.d.ts +0 -0
- /package/dist/{lib → infra/lib}/ModelRouter.js +0 -0
- /package/dist/{lib → infra/lib}/OrchestrateWorkflow.d.ts +0 -0
- /package/dist/{lib → infra/lib}/OrchestrateWorkflow.js +0 -0
- /package/dist/{lib → infra/lib}/ProgressTracker.d.ts +0 -0
- /package/dist/{lib → infra/lib}/ProjectCache.d.ts +0 -0
- /package/dist/{lib → infra/lib}/ProjectCache.js +0 -0
- /package/dist/{lib → infra/lib}/PythonParser.d.ts +0 -0
- /package/dist/{lib → infra/lib}/ReviewRace.d.ts +0 -0
- /package/dist/{lib → infra/lib}/SkillFrontmatter.js +0 -0
- /package/dist/{lib → infra/lib}/SkillQualityGate.d.ts +0 -0
- /package/dist/{lib → infra/lib}/SkillQualityGate.js +0 -0
- /package/dist/{lib → infra/lib}/SkillRepository.d.ts +0 -0
- /package/dist/{lib → infra/lib}/gpt-oauth.d.ts +0 -0
- /package/dist/{lib → infra/lib}/llm/auth/ApiKeyManager.d.ts +0 -0
- /package/dist/{lib → infra/lib}/llm/auth/ApiKeyManager.js +0 -0
- /package/dist/{lib → infra/lib}/llm/index.d.ts +0 -0
- /package/dist/{lib → infra/lib}/llm/index.js +0 -0
- /package/dist/{lib → infra/lib}/llm/types.d.ts +0 -0
- /package/dist/{lib → infra/lib}/llm/types.js +0 -0
- /package/dist/{lib → infra/lib}/llm/utils/index.d.ts +0 -0
- /package/dist/{lib → infra/lib}/llm/utils/index.js +0 -0
- /package/dist/{lib → infra/lib}/llm/utils/retry.d.ts +0 -0
- /package/dist/{lib → infra/lib}/llm/utils/retry.js +0 -0
- /package/dist/{lib → infra/lib}/llm/utils/stream.d.ts +0 -0
- /package/dist/{lib → infra/lib}/llm/utils/stream.js +0 -0
- /package/dist/{lib → infra/lib}/memory/KnowledgeGraph.d.ts +0 -0
- /package/dist/{lib → infra/lib}/memory/KnowledgeGraph.js +0 -0
- /package/dist/{lib → infra/lib}/memory/KnowledgeGraph.test.d.ts +0 -0
- /package/dist/{lib → infra/lib}/memory/MemorySearch.test.d.ts +0 -0
- /package/dist/{lib → infra/lib}/memory/MemoryStorage.test.d.ts +0 -0
- /package/dist/{lib → infra/lib}/memory/ObservationStore.d.ts +0 -0
- /package/dist/{lib → infra/lib}/memory/ObservationStore.js +0 -0
- /package/dist/{lib → infra/lib}/memory/SessionRAGRetriever.test.d.ts +0 -0
- /package/dist/{lib → infra/lib}/memory/SessionRAGStore.test.d.ts +0 -0
- /package/dist/{lib → infra/lib}/memory/SessionSummarizer.d.ts +0 -0
- /package/dist/{lib → infra/lib}/memory/SessionSummarizer.js +0 -0
- /package/dist/{lib → infra/lib}/utils.d.ts +0 -0
- /package/dist/{lib → infra/lib}/utils.js +0 -0
- /package/dist/{orchestrator → infra/orchestrator}/BackgroundManager.test.d.ts +0 -0
- /package/dist/{orchestrator → infra/orchestrator}/BackgroundManager.test.js +0 -0
- /package/dist/{orchestrator → infra/orchestrator}/SwarmOrchestrator.test.d.ts +0 -0
- /package/dist/{orchestrator → infra/orchestrator}/SwarmOrchestrator.test.js +0 -0
- /package/dist/{orchestrator → infra/orchestrator}/agentDiscovery.d.ts +0 -0
- /package/dist/{orchestrator → infra/orchestrator}/agentDiscovery.js +0 -0
- /package/dist/{types → infra/types}/tool.d.ts +0 -0
- /package/dist/{types → infra/types}/tool.js +0 -0
- /package/skills/{commerce-patterns.md → commerce-patterns/SKILL.md} +0 -0
- /package/skills/{e2e-commerce.md → e2e-commerce/SKILL.md} +0 -0
- /package/skills/{frontend-design.md → frontend-design/SKILL.md} +0 -0
- /package/skills/{seo-checklist.md → seo-checklist/SKILL.md} +0 -0
- /package/vibe/rules/{core → principles}/communication-guide.md +0 -0
- /package/vibe/rules/{core → principles}/development-philosophy.md +0 -0
- /package/vibe/rules/{core → principles}/quick-start.md +0 -0
|
@@ -0,0 +1,370 @@
|
|
|
1
|
+
import { describe, it, expect, beforeEach, afterEach } from 'vitest';
|
|
2
|
+
import { DesignSystemGenerator } from './DesignSystemGenerator.js';
|
|
3
|
+
import { SearchService } from './SearchService.js';
|
|
4
|
+
import { CsvDataLoader } from './CsvDataLoader.js';
|
|
5
|
+
import { join } from 'path';
|
|
6
|
+
import { fileURLToPath } from 'url';
|
|
7
|
+
import { dirname } from 'path';
|
|
8
|
+
import { mkdirSync, rmSync, existsSync, readFileSync } from 'fs';
|
|
9
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
10
|
+
const __dirname = dirname(__filename);
|
|
11
|
+
const fixturesPath = join(__dirname, '../../../tests/fixtures/ui-ux-data');
|
|
12
|
+
const tmpDir = join(__dirname, '../../../tmp');
|
|
13
|
+
describe('DesignSystemGenerator', () => {
|
|
14
|
+
let generator;
|
|
15
|
+
let searchService;
|
|
16
|
+
let loader;
|
|
17
|
+
beforeEach(() => {
|
|
18
|
+
loader = new CsvDataLoader(fixturesPath);
|
|
19
|
+
searchService = new SearchService(loader);
|
|
20
|
+
searchService.initialize();
|
|
21
|
+
generator = new DesignSystemGenerator(searchService);
|
|
22
|
+
if (!existsSync(tmpDir)) {
|
|
23
|
+
mkdirSync(tmpDir, { recursive: true });
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
afterEach(() => {
|
|
27
|
+
if (existsSync(tmpDir)) {
|
|
28
|
+
rmSync(tmpDir, { recursive: true, force: true });
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
describe('generate', () => {
|
|
32
|
+
it('should generate design system with all required fields', () => {
|
|
33
|
+
const ds = generator.generate('SaaS business dashboard', 'my-project');
|
|
34
|
+
expect(ds).toBeDefined();
|
|
35
|
+
expect(ds.projectName).toBe('my-project');
|
|
36
|
+
expect(ds).toHaveProperty('category');
|
|
37
|
+
expect(ds).toHaveProperty('stylePriority');
|
|
38
|
+
expect(ds).toHaveProperty('colorMood');
|
|
39
|
+
expect(ds).toHaveProperty('typographyMood');
|
|
40
|
+
expect(ds).toHaveProperty('antiPatterns');
|
|
41
|
+
expect(ds).toHaveProperty('severity');
|
|
42
|
+
expect(ds).toHaveProperty('decisionRules');
|
|
43
|
+
expect(ds).toHaveProperty('colorPalette');
|
|
44
|
+
expect(ds).toHaveProperty('typography');
|
|
45
|
+
expect(ds).toHaveProperty('style');
|
|
46
|
+
expect(ds).toHaveProperty('layout');
|
|
47
|
+
expect(ds).toHaveProperty('cssVariables');
|
|
48
|
+
});
|
|
49
|
+
it('should generate CSS variables', () => {
|
|
50
|
+
const ds = generator.generate('SaaS product', 'test-project');
|
|
51
|
+
expect(ds.cssVariables).toBeDefined();
|
|
52
|
+
expect(typeof ds.cssVariables).toBe('object');
|
|
53
|
+
});
|
|
54
|
+
it('should populate color palette from search results', () => {
|
|
55
|
+
const ds = generator.generate('SaaS blue professional', 'test-project');
|
|
56
|
+
if (ds.colorPalette) {
|
|
57
|
+
expect(ds.colorPalette.primary).toBeDefined();
|
|
58
|
+
expect(ds.colorPalette.secondary).toBeDefined();
|
|
59
|
+
expect(ds.colorPalette.cta).toBeDefined();
|
|
60
|
+
expect(ds.colorPalette.background).toBeDefined();
|
|
61
|
+
expect(ds.colorPalette.text).toBeDefined();
|
|
62
|
+
expect(ds.colorPalette.border).toBeDefined();
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
it('should include dashboard layout when available', () => {
|
|
66
|
+
const ds = generator.generate('SaaS dashboard', 'test-project');
|
|
67
|
+
if (ds.dashboardLayout) {
|
|
68
|
+
expect(typeof ds.dashboardLayout).toBe('string');
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
it('should parse style priority array', () => {
|
|
72
|
+
const ds = generator.generate('SaaS', 'test-project');
|
|
73
|
+
expect(Array.isArray(ds.stylePriority)).toBe(true);
|
|
74
|
+
});
|
|
75
|
+
it('should parse anti-patterns array', () => {
|
|
76
|
+
const ds = generator.generate('SaaS business', 'test-project');
|
|
77
|
+
expect(Array.isArray(ds.antiPatterns)).toBe(true);
|
|
78
|
+
});
|
|
79
|
+
it('should parse decision rules object', () => {
|
|
80
|
+
const ds = generator.generate('SaaS', 'test-project');
|
|
81
|
+
expect(typeof ds.decisionRules).toBe('object');
|
|
82
|
+
});
|
|
83
|
+
});
|
|
84
|
+
describe('detectCategory', () => {
|
|
85
|
+
it('should detect product category from query', () => {
|
|
86
|
+
const result = generator.detectCategory('SaaS business application');
|
|
87
|
+
expect(result).toHaveProperty('category');
|
|
88
|
+
expect(typeof result.category).toBe('string');
|
|
89
|
+
});
|
|
90
|
+
it('should return default category when no match found', () => {
|
|
91
|
+
const result = generator.detectCategory('xyzabc123notfound');
|
|
92
|
+
expect(result.category).toBeDefined();
|
|
93
|
+
});
|
|
94
|
+
it('should detect dashboard layout', () => {
|
|
95
|
+
const result = generator.detectCategory('SaaS dashboard');
|
|
96
|
+
expect(result).toHaveProperty('dashboardLayout');
|
|
97
|
+
});
|
|
98
|
+
it('should return null for dashboard layout when not available', () => {
|
|
99
|
+
const result = generator.detectCategory('unknown product');
|
|
100
|
+
expect(result.dashboardLayout === null || typeof result.dashboardLayout === 'string').toBe(true);
|
|
101
|
+
});
|
|
102
|
+
});
|
|
103
|
+
describe('validateProjectName', () => {
|
|
104
|
+
it('should accept valid project names', () => {
|
|
105
|
+
const ds1 = generator.generate('SaaS', 'my-project');
|
|
106
|
+
expect(ds1.projectName).toBe('my-project');
|
|
107
|
+
const ds2 = generator.generate('SaaS', 'MyProject123');
|
|
108
|
+
expect(ds2.projectName).toBe('MyProject123');
|
|
109
|
+
const ds3 = generator.generate('SaaS', 'my_project_v2');
|
|
110
|
+
expect(ds3.projectName).toBe('my_project_v2');
|
|
111
|
+
});
|
|
112
|
+
it('should reject invalid project names during persist', () => {
|
|
113
|
+
const ds = generator.generate('SaaS', 'valid-project');
|
|
114
|
+
expect(() => {
|
|
115
|
+
generator.persist(ds, 'invalid project!@#');
|
|
116
|
+
}).toThrow();
|
|
117
|
+
});
|
|
118
|
+
it('should reject Windows reserved names', () => {
|
|
119
|
+
const ds = generator.generate('SaaS', 'valid-project');
|
|
120
|
+
expect(() => {
|
|
121
|
+
generator.persist(ds, 'CON');
|
|
122
|
+
}).toThrow();
|
|
123
|
+
expect(() => {
|
|
124
|
+
generator.persist(ds, 'PRN');
|
|
125
|
+
}).toThrow();
|
|
126
|
+
expect(() => {
|
|
127
|
+
generator.persist(ds, 'LPT1');
|
|
128
|
+
}).toThrow();
|
|
129
|
+
});
|
|
130
|
+
it('should be case-insensitive for reserved names', () => {
|
|
131
|
+
const ds = generator.generate('SaaS', 'valid-project');
|
|
132
|
+
expect(() => {
|
|
133
|
+
generator.persist(ds, 'con');
|
|
134
|
+
}).toThrow();
|
|
135
|
+
expect(() => {
|
|
136
|
+
generator.persist(ds, 'Prn');
|
|
137
|
+
}).toThrow();
|
|
138
|
+
});
|
|
139
|
+
});
|
|
140
|
+
describe('formatMarkdown', () => {
|
|
141
|
+
it('should generate markdown with project name', () => {
|
|
142
|
+
const ds = generator.generate('SaaS', 'MyProject');
|
|
143
|
+
const md = generator.formatMarkdown(ds);
|
|
144
|
+
expect(md).toContain('# MyProject - Design System');
|
|
145
|
+
});
|
|
146
|
+
it('should include CSS Variables section', () => {
|
|
147
|
+
const ds = generator.generate('SaaS', 'test-project');
|
|
148
|
+
const md = generator.formatMarkdown(ds);
|
|
149
|
+
expect(md).toContain('## CSS Variables');
|
|
150
|
+
expect(md).toContain(':root {');
|
|
151
|
+
expect(md).toContain('--color-primary');
|
|
152
|
+
});
|
|
153
|
+
it('should include Color Palette section when available', () => {
|
|
154
|
+
const ds = generator.generate('SaaS color palette', 'test-project');
|
|
155
|
+
const md = generator.formatMarkdown(ds);
|
|
156
|
+
if (ds.colorPalette) {
|
|
157
|
+
expect(md).toContain('## Color Palette');
|
|
158
|
+
}
|
|
159
|
+
});
|
|
160
|
+
it('should include Typography section when available', () => {
|
|
161
|
+
const ds = generator.generate('SaaS typography', 'test-project');
|
|
162
|
+
const md = generator.formatMarkdown(ds);
|
|
163
|
+
if (ds.typography) {
|
|
164
|
+
expect(md).toContain('## Typography');
|
|
165
|
+
}
|
|
166
|
+
});
|
|
167
|
+
it('should include Style section when available', () => {
|
|
168
|
+
const ds = generator.generate('SaaS style', 'test-project');
|
|
169
|
+
const md = generator.formatMarkdown(ds);
|
|
170
|
+
if (ds.style) {
|
|
171
|
+
expect(md).toContain('## Style');
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
it('should include Layout section when available', () => {
|
|
175
|
+
const ds = generator.generate('SaaS landing layout', 'test-project');
|
|
176
|
+
const md = generator.formatMarkdown(ds);
|
|
177
|
+
if (ds.layout) {
|
|
178
|
+
expect(md).toContain('## Layout');
|
|
179
|
+
}
|
|
180
|
+
});
|
|
181
|
+
it('should include Dashboard Layout section when available', () => {
|
|
182
|
+
const ds = generator.generate('SaaS dashboard', 'test-project');
|
|
183
|
+
const md = generator.formatMarkdown(ds);
|
|
184
|
+
if (ds.dashboardLayout) {
|
|
185
|
+
expect(md).toContain('## Dashboard Layout');
|
|
186
|
+
}
|
|
187
|
+
});
|
|
188
|
+
it('should include Anti-Patterns section when available', () => {
|
|
189
|
+
const ds = generator.generate('SaaS business', 'test-project');
|
|
190
|
+
const md = generator.formatMarkdown(ds);
|
|
191
|
+
if (ds.antiPatterns.length > 0) {
|
|
192
|
+
expect(md).toContain('## Anti-Patterns');
|
|
193
|
+
}
|
|
194
|
+
});
|
|
195
|
+
it('should include Decision Rules section when available', () => {
|
|
196
|
+
const ds = generator.generate('SaaS', 'test-project');
|
|
197
|
+
const md = generator.formatMarkdown(ds);
|
|
198
|
+
if (Object.keys(ds.decisionRules).length > 0) {
|
|
199
|
+
expect(md).toContain('## Decision Rules');
|
|
200
|
+
}
|
|
201
|
+
});
|
|
202
|
+
it('should include metadata in markdown', () => {
|
|
203
|
+
const ds = generator.generate('SaaS', 'test-project');
|
|
204
|
+
const md = generator.formatMarkdown(ds);
|
|
205
|
+
expect(md).toContain('**Category:**');
|
|
206
|
+
expect(md).toContain('**Severity:**');
|
|
207
|
+
expect(md).toContain('**Color Mood:**');
|
|
208
|
+
expect(md).toContain('**Typography Mood:**');
|
|
209
|
+
});
|
|
210
|
+
it('should format valid CSS in code blocks', () => {
|
|
211
|
+
const ds = generator.generate('SaaS', 'test-project');
|
|
212
|
+
const md = generator.formatMarkdown(ds);
|
|
213
|
+
expect(md).toContain('```css');
|
|
214
|
+
expect(md).toContain('```');
|
|
215
|
+
});
|
|
216
|
+
it('should format valid JSON in code blocks', () => {
|
|
217
|
+
const ds = generator.generate('SaaS business', 'test-project');
|
|
218
|
+
const md = generator.formatMarkdown(ds);
|
|
219
|
+
if (Object.keys(ds.decisionRules).length > 0) {
|
|
220
|
+
expect(md).toContain('```json');
|
|
221
|
+
}
|
|
222
|
+
});
|
|
223
|
+
});
|
|
224
|
+
describe('persist', () => {
|
|
225
|
+
it('should create MASTER.md file', () => {
|
|
226
|
+
const originalCwd = process.cwd();
|
|
227
|
+
try {
|
|
228
|
+
process.chdir(tmpDir);
|
|
229
|
+
const ds = generator.generate('SaaS', 'test-project');
|
|
230
|
+
const path = generator.persist(ds, 'test-project');
|
|
231
|
+
expect(path).toContain('MASTER.md');
|
|
232
|
+
expect(existsSync(path)).toBe(true);
|
|
233
|
+
}
|
|
234
|
+
finally {
|
|
235
|
+
process.chdir(originalCwd);
|
|
236
|
+
}
|
|
237
|
+
});
|
|
238
|
+
it('should create project directory structure', () => {
|
|
239
|
+
const originalCwd = process.cwd();
|
|
240
|
+
try {
|
|
241
|
+
process.chdir(tmpDir);
|
|
242
|
+
const ds = generator.generate('SaaS', 'structure-test');
|
|
243
|
+
const path = generator.persist(ds, 'structure-test');
|
|
244
|
+
expect(path).toContain('structure-test');
|
|
245
|
+
expect(path).toContain('MASTER.md');
|
|
246
|
+
}
|
|
247
|
+
finally {
|
|
248
|
+
process.chdir(originalCwd);
|
|
249
|
+
}
|
|
250
|
+
});
|
|
251
|
+
it('should create page-specific override file when page specified', () => {
|
|
252
|
+
const originalCwd = process.cwd();
|
|
253
|
+
try {
|
|
254
|
+
process.chdir(tmpDir);
|
|
255
|
+
const ds = generator.generate('SaaS', 'page-test');
|
|
256
|
+
const path = generator.persist(ds, 'page-test', 'landing');
|
|
257
|
+
expect(path).toContain('pages');
|
|
258
|
+
expect(path).toContain('landing.md');
|
|
259
|
+
}
|
|
260
|
+
finally {
|
|
261
|
+
process.chdir(originalCwd);
|
|
262
|
+
}
|
|
263
|
+
});
|
|
264
|
+
it('should reject invalid project name during persist', () => {
|
|
265
|
+
const ds = generator.generate('SaaS', 'valid');
|
|
266
|
+
expect(() => {
|
|
267
|
+
generator.persist(ds, 'invalid!@#$');
|
|
268
|
+
}).toThrow();
|
|
269
|
+
});
|
|
270
|
+
it('should reject invalid page name during persist', () => {
|
|
271
|
+
const ds = generator.generate('SaaS', 'valid-project');
|
|
272
|
+
expect(() => {
|
|
273
|
+
generator.persist(ds, 'valid-project', 'invalid!@#');
|
|
274
|
+
}).toThrow();
|
|
275
|
+
});
|
|
276
|
+
it('should write markdown content to file', () => {
|
|
277
|
+
const originalCwd = process.cwd();
|
|
278
|
+
try {
|
|
279
|
+
process.chdir(tmpDir);
|
|
280
|
+
const ds = generator.generate('SaaS', 'content-test');
|
|
281
|
+
const persistedPath = generator.persist(ds, 'content-test');
|
|
282
|
+
expect(existsSync(persistedPath)).toBe(true);
|
|
283
|
+
const content = readFileSync(persistedPath, 'utf-8');
|
|
284
|
+
expect(content.length).toBeGreaterThan(0);
|
|
285
|
+
expect(content).toContain('# content-test - Design System');
|
|
286
|
+
}
|
|
287
|
+
finally {
|
|
288
|
+
process.chdir(originalCwd);
|
|
289
|
+
}
|
|
290
|
+
});
|
|
291
|
+
});
|
|
292
|
+
describe('CSS color validation', () => {
|
|
293
|
+
it('should validate hex colors in color palette', () => {
|
|
294
|
+
const ds = generator.generate('SaaS blue', 'test-project');
|
|
295
|
+
if (ds.colorPalette) {
|
|
296
|
+
expect(ds.colorPalette.primary).toMatch(/^#[0-9A-Fa-f]{6}$/);
|
|
297
|
+
}
|
|
298
|
+
});
|
|
299
|
+
it('should use default color fallbacks for invalid hex', () => {
|
|
300
|
+
const ds = generator.generate('SaaS', 'test-project');
|
|
301
|
+
if (ds.colorPalette) {
|
|
302
|
+
const hexRegex = /^#[0-9A-Fa-f]{6}$/;
|
|
303
|
+
expect(hexRegex.test(ds.colorPalette.primary)).toBe(true);
|
|
304
|
+
expect(hexRegex.test(ds.colorPalette.secondary)).toBe(true);
|
|
305
|
+
expect(hexRegex.test(ds.colorPalette.cta)).toBe(true);
|
|
306
|
+
}
|
|
307
|
+
});
|
|
308
|
+
it('should include color variables in CSS variables', () => {
|
|
309
|
+
const ds = generator.generate('SaaS', 'test-project');
|
|
310
|
+
expect(ds.cssVariables['--color-primary']).toBeDefined();
|
|
311
|
+
expect(ds.cssVariables['--color-secondary']).toBeDefined();
|
|
312
|
+
expect(ds.cssVariables['--color-cta']).toBeDefined();
|
|
313
|
+
expect(ds.cssVariables['--color-background']).toBeDefined();
|
|
314
|
+
expect(ds.cssVariables['--color-text']).toBeDefined();
|
|
315
|
+
expect(ds.cssVariables['--color-border']).toBeDefined();
|
|
316
|
+
});
|
|
317
|
+
});
|
|
318
|
+
describe('CSS variable generation', () => {
|
|
319
|
+
it('should generate font variables', () => {
|
|
320
|
+
const ds = generator.generate('SaaS typography', 'test-project');
|
|
321
|
+
expect(ds.cssVariables['--font-heading']).toBeDefined();
|
|
322
|
+
expect(ds.cssVariables['--font-body']).toBeDefined();
|
|
323
|
+
});
|
|
324
|
+
it('should not contain script injection in CSS values', () => {
|
|
325
|
+
const ds = generator.generate('SaaS', 'test-project');
|
|
326
|
+
const md = generator.formatMarkdown(ds);
|
|
327
|
+
// CSS variable values should not contain script tags or expression()
|
|
328
|
+
expect(md).not.toMatch(/expression\s*\(/i);
|
|
329
|
+
expect(md).not.toMatch(/<script/i);
|
|
330
|
+
});
|
|
331
|
+
it('should parse custom variables from style row', () => {
|
|
332
|
+
const ds = generator.generate('SaaS style', 'test-project');
|
|
333
|
+
expect(typeof ds.cssVariables).toBe('object');
|
|
334
|
+
});
|
|
335
|
+
});
|
|
336
|
+
describe('edge cases', () => {
|
|
337
|
+
it('should handle queries that match no results', () => {
|
|
338
|
+
const ds = generator.generate('xyzabc123notfound', 'default-test');
|
|
339
|
+
expect(ds).toBeDefined();
|
|
340
|
+
expect(ds.category).toBeDefined();
|
|
341
|
+
});
|
|
342
|
+
it('should handle empty style priority gracefully', () => {
|
|
343
|
+
const ds = generator.generate('SaaS', 'test-project');
|
|
344
|
+
expect(Array.isArray(ds.stylePriority)).toBe(true);
|
|
345
|
+
});
|
|
346
|
+
it('should generate valid markdown even with minimal data', () => {
|
|
347
|
+
const ds = generator.generate('generic', 'minimal-test');
|
|
348
|
+
const md = generator.formatMarkdown(ds);
|
|
349
|
+
expect(md).toContain('# minimal-test - Design System');
|
|
350
|
+
expect(md).toContain('## CSS Variables');
|
|
351
|
+
});
|
|
352
|
+
it('should handle queries with special characters', () => {
|
|
353
|
+
const ds = generator.generate('SaaS@Design#UI', 'special-test');
|
|
354
|
+
expect(ds).toBeDefined();
|
|
355
|
+
});
|
|
356
|
+
it('should handle very long project names (up to 50 chars)', () => {
|
|
357
|
+
const longName = 'a'.repeat(50);
|
|
358
|
+
const ds = generator.generate('SaaS', longName);
|
|
359
|
+
expect(ds.projectName).toBe(longName);
|
|
360
|
+
});
|
|
361
|
+
it('should reject project names longer than 50 characters', () => {
|
|
362
|
+
const ds = generator.generate('SaaS', 'valid');
|
|
363
|
+
const tooLong = 'a'.repeat(51);
|
|
364
|
+
expect(() => {
|
|
365
|
+
generator.persist(ds, tooLong);
|
|
366
|
+
}).toThrow();
|
|
367
|
+
});
|
|
368
|
+
});
|
|
369
|
+
});
|
|
370
|
+
//# sourceMappingURL=DesignSystemGenerator.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DesignSystemGenerator.test.js","sourceRoot":"","sources":["../../../../src/infra/lib/ui-ux/DesignSystemGenerator.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AAC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AAQ,CAAC,gBAAgB,EAAE,cAAc,CAAC,CAAC;YAEhE,MAAM,CAAC,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;QAC3B,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,wDAAwD,EAAE,GAAG,EAAE;YAChE,MAAM,QAAQ,GAAG,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;YAChC,MAAM,EAAE,GAAG,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;YAEhD,MAAM,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACxC,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,uDAAuD,EAAE,GAAG,EAAE;YAC/D,MAAM,EAAE,GAAG,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;YAC/C,MAAM,OAAO,GAAG,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;YAE/B,MAAM,CAAC,GAAG,EAAE;gBACV,SAAS,CAAC,OAAO,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;YACjC,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;QACf,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { SearchDomain, SearchResult } from './types.js';
|
|
2
|
+
import { CsvDataLoader } from './CsvDataLoader.js';
|
|
3
|
+
/**
|
|
4
|
+
* Main search service combining CsvDataLoader and Bm25Engine
|
|
5
|
+
* Features:
|
|
6
|
+
* - 12 domain search + 13 stack search
|
|
7
|
+
* - Auto domain detection from keywords
|
|
8
|
+
* - LRU cache (max 100 entries, 5min TTL)
|
|
9
|
+
* - Hot cache (products + ui-reasoning loaded eagerly)
|
|
10
|
+
* - Lazy load (other domains on first access)
|
|
11
|
+
*/
|
|
12
|
+
export declare class SearchService {
|
|
13
|
+
private loader;
|
|
14
|
+
private engines;
|
|
15
|
+
private domainData;
|
|
16
|
+
private cache;
|
|
17
|
+
private initialized;
|
|
18
|
+
constructor(loader?: CsvDataLoader);
|
|
19
|
+
/**
|
|
20
|
+
* Initialize hot cache domains (products + ui-reasoning)
|
|
21
|
+
*/
|
|
22
|
+
initialize(): void;
|
|
23
|
+
/**
|
|
24
|
+
* Search a specific domain
|
|
25
|
+
*/
|
|
26
|
+
search(query: string, domain?: SearchDomain, maxResults?: number): SearchResult;
|
|
27
|
+
/**
|
|
28
|
+
* Search a specific stack
|
|
29
|
+
*/
|
|
30
|
+
searchStack(query: string, stack: string, maxResults?: number): SearchResult;
|
|
31
|
+
/**
|
|
32
|
+
* Auto-detect domain from query keywords
|
|
33
|
+
*/
|
|
34
|
+
detectDomain(query: string): SearchDomain;
|
|
35
|
+
/**
|
|
36
|
+
* Sanitize query (truncate to 200 chars, limit to 20 tokens)
|
|
37
|
+
*/
|
|
38
|
+
private sanitizeQuery;
|
|
39
|
+
/**
|
|
40
|
+
* Ensure a domain's data and engine are loaded
|
|
41
|
+
*/
|
|
42
|
+
private ensureDomainLoaded;
|
|
43
|
+
/**
|
|
44
|
+
* Build searchable text from row's search columns
|
|
45
|
+
*/
|
|
46
|
+
private buildSearchText;
|
|
47
|
+
/**
|
|
48
|
+
* LRU cache get with TTL
|
|
49
|
+
*/
|
|
50
|
+
private cacheGet;
|
|
51
|
+
/**
|
|
52
|
+
* LRU cache set with eviction
|
|
53
|
+
*/
|
|
54
|
+
private cacheSet;
|
|
55
|
+
/**
|
|
56
|
+
* Build cache key
|
|
57
|
+
*/
|
|
58
|
+
private buildCacheKey;
|
|
59
|
+
/**
|
|
60
|
+
* Clear expired cache entries
|
|
61
|
+
*/
|
|
62
|
+
clearCache(): void;
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=SearchService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchService.d.ts","sourceRoot":"","sources":["../../../../src/infra/lib/ui-ux/SearchService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EAGb,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAenD;;;;;;;;GAQG;AACH,qBAAa,aAAa;IACxB,OAAO,CAAC,MAAM,CAAgB;IAC9B,OAAO,CAAC,OAAO,CAA0B;IACzC,OAAO,CAAC,UAAU,CAAwC;IAC1D,OAAO,CAAC,KAAK,CAAwC;IACrD,OAAO,CAAC,WAAW,CAAU;gBAEjB,MAAM,CAAC,EAAE,aAAa;IAQlC;;OAEG;IACH,UAAU,IAAI,IAAI;IAalB;;OAEG;IACH,MAAM,CACJ,KAAK,EAAE,MAAM,EACb,MAAM,CAAC,EAAE,YAAY,EACrB,UAAU,GAAE,MAA4B,GACvC,YAAY;IA2Cf;;OAEG;IACH,WAAW,CACT,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,EACb,UAAU,GAAE,MAA4B,GACvC,YAAY;IA2Cf;;OAEG;IACH,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY;IAgCzC;;OAEG;IACH,OAAO,CAAC,aAAa;IAcrB;;OAEG;IACH,OAAO,CAAC,kBAAkB;IAuB1B;;OAEG;IACH,OAAO,CAAC,eAAe;IAOvB;;OAEG;IACH,OAAO,CAAC,QAAQ;IAahB;;OAEG;IACH,OAAO,CAAC,QAAQ;IAchB;;OAEG;IACH,OAAO,CAAC,aAAa;IASrB;;OAEG;IACH,UAAU,IAAI,IAAI;CAcnB"}
|