@su-record/vibe 3.0.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLAUDE.md +2 -2
- package/README.en.md +6 -4
- package/README.md +5 -3
- package/dist/__tests__/wiring-integrity.test.d.ts +2 -0
- package/dist/__tests__/wiring-integrity.test.d.ts.map +1 -0
- package/dist/__tests__/wiring-integrity.test.js +160 -0
- package/dist/__tests__/wiring-integrity.test.js.map +1 -0
- package/dist/cli/commands/info.d.ts.map +1 -1
- package/dist/cli/commands/info.js +2 -1
- package/dist/cli/commands/info.js.map +1 -1
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +4 -2
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/index.js +102 -128
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/postinstall/claude-agents.d.ts.map +1 -1
- package/dist/cli/postinstall/claude-agents.js +0 -5
- package/dist/cli/postinstall/claude-agents.js.map +1 -1
- package/dist/cli/postinstall/constants.d.ts +6 -0
- package/dist/cli/postinstall/constants.d.ts.map +1 -1
- package/dist/cli/postinstall/constants.js +42 -60
- package/dist/cli/postinstall/constants.js.map +1 -1
- package/dist/cli/postinstall/inline-skills.js +2 -2
- package/dist/cli/postinstall/inline-skills.js.map +1 -1
- package/dist/cli/postinstall/main.d.ts.map +1 -1
- package/dist/cli/postinstall/main.js +2 -0
- package/dist/cli/postinstall/main.js.map +1 -1
- package/dist/cli/postinstall.d.ts +6 -1
- package/dist/cli/postinstall.d.ts.map +1 -1
- package/dist/cli/postinstall.js +6 -1
- package/dist/cli/postinstall.js.map +1 -1
- package/dist/cli/setup/GlobalInstaller.d.ts +1 -15
- package/dist/cli/setup/GlobalInstaller.d.ts.map +1 -1
- package/dist/cli/setup/GlobalInstaller.js +16 -115
- package/dist/cli/setup/GlobalInstaller.js.map +1 -1
- package/dist/cli/setup/GlobalInstaller.test.d.ts +2 -0
- package/dist/cli/setup/GlobalInstaller.test.d.ts.map +1 -0
- package/dist/cli/setup/GlobalInstaller.test.js +16 -0
- package/dist/cli/setup/GlobalInstaller.test.js.map +1 -0
- package/dist/cli/setup/ProjectSetup.js +2 -2
- package/dist/cli/setup/ProjectSetup.js.map +1 -1
- package/dist/cli/setup.d.ts +1 -1
- package/dist/cli/setup.d.ts.map +1 -1
- package/dist/cli/setup.js +1 -1
- package/dist/cli/setup.js.map +1 -1
- package/dist/infra/lib/SkillRepository.js +1 -1
- package/dist/infra/lib/evolution/__tests__/integration.test.js +0 -42
- package/dist/infra/lib/evolution/__tests__/integration.test.js.map +1 -1
- package/hooks/scripts/__tests__/.vibe/command-log.txt +3 -78
- package/hooks/scripts/__tests__/clone-behaviors.test.js +97 -1
- package/hooks/scripts/__tests__/clone-merge-responsive.test.js +106 -0
- package/hooks/scripts/__tests__/code-check-memory-write.test.js +81 -0
- package/hooks/scripts/__tests__/step-counter.test.js +21 -0
- package/hooks/scripts/auto-format.js +2 -11
- package/hooks/scripts/auto-test.js +2 -11
- package/hooks/scripts/clone-extract.js +388 -38
- package/hooks/scripts/clone-merge-responsive.js +184 -0
- package/hooks/scripts/clone-spec.js +33 -8
- package/hooks/scripts/clone-validate.js +15 -9
- package/hooks/scripts/code-check.js +27 -55
- package/hooks/scripts/lib/glob.js +32 -0
- package/hooks/scripts/lib/hook-context.js +19 -2
- package/hooks/scripts/post-edit.js +2 -3
- package/hooks/scripts/prompt-dispatcher.js +1 -1
- package/hooks/scripts/scope-guard.js +3 -42
- package/hooks/scripts/sentinel-guard.js +5 -20
- package/hooks/scripts/session-start.js +2 -2
- package/hooks/scripts/step-counter.js +35 -57
- package/package.json +6 -4
- package/skills/clone/SKILL.md +74 -203
- package/skills/clone/references/capture-rules.md +48 -0
- package/skills/clone/references/legal-and-error-recovery.md +40 -0
- package/skills/clone/references/refine-rules.md +61 -0
- package/skills/clone/references/scaffold-phases.md +59 -0
- package/skills/clone/references/setup-and-layout.md +30 -0
- package/skills/docs/SKILL.md +39 -4
- package/skills/docs/references/api-docs-changelog.md +34 -0
- package/skills/docs/references/codemaps-output.md +23 -0
- package/{agents/diagrammer.md → skills/docs/references/diagram-spec.md} +2 -15
- package/skills/exec-plan/SKILL.md +1 -1
- package/skills/exec-plan/templates/plan.md +1 -1
- package/skills/handoff/SKILL.md +3 -3
- package/skills/handoff/templates/handoff.md +1 -1
- package/skills/vibe/SKILL.md +3 -2
- package/skills/vibe.analyze/SKILL.md +12 -249
- package/skills/vibe.analyze/references/output-templates.md +188 -0
- package/skills/vibe.analyze/references/quality-gate.md +93 -0
- package/skills/vibe.clone/SKILL.md +52 -19
- package/skills/vibe.continue/SKILL.md +32 -0
- package/skills/vibe.design/SKILL.md +23 -1
- package/skills/vibe.design/references/ui-preview.md +20 -0
- package/skills/vibe.docs/SKILL.md +4 -2
- package/skills/vibe.figma/SKILL.md +33 -260
- package/skills/vibe.figma/references/branch-phases.md +113 -0
- package/skills/vibe.figma/references/state-schema.md +42 -0
- package/skills/vibe.figma/references/step-algorithms.md +204 -0
- package/skills/vibe.image/SKILL.md +62 -0
- package/skills/vibe.image/references/image-generation-examples.md +39 -0
- package/skills/vibe.reason/SKILL.md +3 -183
- package/skills/vibe.reason/references/output-format-template.md +57 -0
- package/skills/vibe.reason/references/quality-rubrics.md +94 -0
- package/skills/vibe.reason/references/worked-example.md +45 -0
- package/skills/vibe.review/SKILL.md +13 -348
- package/skills/vibe.review/references/boundary-check.md +25 -0
- package/skills/vibe.review/references/output-template.md +74 -0
- package/skills/vibe.review/references/quality-gate.md +84 -0
- package/skills/vibe.review/references/race-mode.md +117 -0
- package/skills/vibe.review/references/worked-examples.md +94 -0
- package/vibe/templates/claudemd-template.md +1 -1
- package/agents/acceptance-tester.md +0 -56
- package/agents/documenter.md +0 -43
- package/agents/figma/figma-engineer.md +0 -76
- package/dist/cli/llm/gemini-commands.d.ts +0 -25
- package/dist/cli/llm/gemini-commands.d.ts.map +0 -1
- package/dist/cli/llm/gemini-commands.js +0 -143
- package/dist/cli/llm/gemini-commands.js.map +0 -1
- package/dist/cli/postinstall/codex-agents.d.ts +0 -24
- package/dist/cli/postinstall/codex-agents.d.ts.map +0 -1
- package/dist/cli/postinstall/codex-agents.js +0 -114
- package/dist/cli/postinstall/codex-agents.js.map +0 -1
- package/dist/cli/postinstall/codex-instruction.d.ts +0 -10
- package/dist/cli/postinstall/codex-instruction.d.ts.map +0 -1
- package/dist/cli/postinstall/codex-instruction.js +0 -56
- package/dist/cli/postinstall/codex-instruction.js.map +0 -1
- package/dist/cli/postinstall/gemini-agents.d.ts +0 -12
- package/dist/cli/postinstall/gemini-agents.d.ts.map +0 -1
- package/dist/cli/postinstall/gemini-agents.js +0 -80
- package/dist/cli/postinstall/gemini-agents.js.map +0 -1
- package/dist/cli/postinstall/gemini-instruction.d.ts +0 -10
- package/dist/cli/postinstall/gemini-instruction.d.ts.map +0 -1
- package/dist/cli/postinstall/gemini-instruction.js +0 -59
- package/dist/cli/postinstall/gemini-instruction.js.map +0 -1
- package/dist/cli/postinstall/index.d.ts +0 -23
- package/dist/cli/postinstall/index.d.ts.map +0 -1
- package/dist/cli/postinstall/index.js +0 -23
- package/dist/cli/postinstall/index.js.map +0 -1
- package/dist/cli/setup/index.d.ts +0 -9
- package/dist/cli/setup/index.d.ts.map +0 -1
- package/dist/cli/setup/index.js +0 -12
- package/dist/cli/setup/index.js.map +0 -1
- package/dist/infra/lib/ContextCompressor.d.ts +0 -104
- package/dist/infra/lib/ContextCompressor.d.ts.map +0 -1
- package/dist/infra/lib/ContextCompressor.js +0 -297
- package/dist/infra/lib/ContextCompressor.js.map +0 -1
- package/dist/infra/lib/ContextCompressor.test.d.ts +0 -2
- package/dist/infra/lib/ContextCompressor.test.d.ts.map +0 -1
- package/dist/infra/lib/ContextCompressor.test.js +0 -25
- package/dist/infra/lib/ContextCompressor.test.js.map +0 -1
- package/dist/infra/lib/ProgressTracker.d.ts +0 -73
- package/dist/infra/lib/ProgressTracker.d.ts.map +0 -1
- package/dist/infra/lib/ProgressTracker.js +0 -267
- package/dist/infra/lib/ProgressTracker.js.map +0 -1
- package/dist/infra/lib/TokenBudgetTracker.d.ts +0 -68
- package/dist/infra/lib/TokenBudgetTracker.d.ts.map +0 -1
- package/dist/infra/lib/TokenBudgetTracker.js +0 -191
- package/dist/infra/lib/TokenBudgetTracker.js.map +0 -1
- package/dist/infra/lib/autonomy/AuditStore.d.ts +0 -63
- package/dist/infra/lib/autonomy/AuditStore.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/AuditStore.js +0 -185
- package/dist/infra/lib/autonomy/AuditStore.js.map +0 -1
- package/dist/infra/lib/autonomy/AutonomyConfig.d.ts +0 -84
- package/dist/infra/lib/autonomy/AutonomyConfig.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/AutonomyConfig.js +0 -49
- package/dist/infra/lib/autonomy/AutonomyConfig.js.map +0 -1
- package/dist/infra/lib/autonomy/AutonomyOrchestrator.d.ts +0 -78
- package/dist/infra/lib/autonomy/AutonomyOrchestrator.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/AutonomyOrchestrator.js +0 -246
- package/dist/infra/lib/autonomy/AutonomyOrchestrator.js.map +0 -1
- package/dist/infra/lib/autonomy/BackgroundMonitor.d.ts +0 -36
- package/dist/infra/lib/autonomy/BackgroundMonitor.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/BackgroundMonitor.js +0 -138
- package/dist/infra/lib/autonomy/BackgroundMonitor.js.map +0 -1
- package/dist/infra/lib/autonomy/CollaborationProtocol.d.ts +0 -56
- package/dist/infra/lib/autonomy/CollaborationProtocol.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/CollaborationProtocol.js +0 -122
- package/dist/infra/lib/autonomy/CollaborationProtocol.js.map +0 -1
- package/dist/infra/lib/autonomy/ConfirmationManager.d.ts +0 -42
- package/dist/infra/lib/autonomy/ConfirmationManager.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/ConfirmationManager.js +0 -200
- package/dist/infra/lib/autonomy/ConfirmationManager.js.map +0 -1
- package/dist/infra/lib/autonomy/ConfirmationStore.d.ts +0 -55
- package/dist/infra/lib/autonomy/ConfirmationStore.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/ConfirmationStore.js +0 -130
- package/dist/infra/lib/autonomy/ConfirmationStore.js.map +0 -1
- package/dist/infra/lib/autonomy/EventBus.d.ts +0 -20
- package/dist/infra/lib/autonomy/EventBus.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/EventBus.js +0 -119
- package/dist/infra/lib/autonomy/EventBus.js.map +0 -1
- package/dist/infra/lib/autonomy/EventOutbox.d.ts +0 -32
- package/dist/infra/lib/autonomy/EventOutbox.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/EventOutbox.js +0 -152
- package/dist/infra/lib/autonomy/EventOutbox.js.map +0 -1
- package/dist/infra/lib/autonomy/NotificationDispatcher.d.ts +0 -24
- package/dist/infra/lib/autonomy/NotificationDispatcher.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/NotificationDispatcher.js +0 -112
- package/dist/infra/lib/autonomy/NotificationDispatcher.js.map +0 -1
- package/dist/infra/lib/autonomy/PolicyEngine.d.ts +0 -76
- package/dist/infra/lib/autonomy/PolicyEngine.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/PolicyEngine.js +0 -208
- package/dist/infra/lib/autonomy/PolicyEngine.js.map +0 -1
- package/dist/infra/lib/autonomy/ProactiveAnalyzer.d.ts +0 -61
- package/dist/infra/lib/autonomy/ProactiveAnalyzer.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/ProactiveAnalyzer.js +0 -236
- package/dist/infra/lib/autonomy/ProactiveAnalyzer.js.map +0 -1
- package/dist/infra/lib/autonomy/RiskClassifier.d.ts +0 -35
- package/dist/infra/lib/autonomy/RiskClassifier.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/RiskClassifier.js +0 -147
- package/dist/infra/lib/autonomy/RiskClassifier.js.map +0 -1
- package/dist/infra/lib/autonomy/SecuritySentinel.d.ts +0 -51
- package/dist/infra/lib/autonomy/SecuritySentinel.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/SecuritySentinel.js +0 -162
- package/dist/infra/lib/autonomy/SecuritySentinel.js.map +0 -1
- package/dist/infra/lib/autonomy/SuggestionStore.d.ts +0 -54
- package/dist/infra/lib/autonomy/SuggestionStore.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/SuggestionStore.js +0 -144
- package/dist/infra/lib/autonomy/SuggestionStore.js.map +0 -1
- package/dist/infra/lib/autonomy/TaskDecomposer.d.ts +0 -38
- package/dist/infra/lib/autonomy/TaskDecomposer.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/TaskDecomposer.js +0 -175
- package/dist/infra/lib/autonomy/TaskDecomposer.js.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/audit-store.test.d.ts +0 -2
- package/dist/infra/lib/autonomy/__tests__/audit-store.test.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/audit-store.test.js +0 -198
- package/dist/infra/lib/autonomy/__tests__/audit-store.test.js.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/event-bus.test.d.ts +0 -2
- package/dist/infra/lib/autonomy/__tests__/event-bus.test.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/event-bus.test.js +0 -225
- package/dist/infra/lib/autonomy/__tests__/event-bus.test.js.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/event-core.test.d.ts +0 -2
- package/dist/infra/lib/autonomy/__tests__/event-core.test.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/event-core.test.js +0 -194
- package/dist/infra/lib/autonomy/__tests__/event-core.test.js.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/governance.test.d.ts +0 -2
- package/dist/infra/lib/autonomy/__tests__/governance.test.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/governance.test.js +0 -540
- package/dist/infra/lib/autonomy/__tests__/governance.test.js.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/integration.test.d.ts +0 -2
- package/dist/infra/lib/autonomy/__tests__/integration.test.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/integration.test.js +0 -480
- package/dist/infra/lib/autonomy/__tests__/integration.test.js.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/proactive.test.d.ts +0 -2
- package/dist/infra/lib/autonomy/__tests__/proactive.test.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/proactive.test.js +0 -410
- package/dist/infra/lib/autonomy/__tests__/proactive.test.js.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/sentinel.test.d.ts +0 -2
- package/dist/infra/lib/autonomy/__tests__/sentinel.test.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/sentinel.test.js +0 -486
- package/dist/infra/lib/autonomy/__tests__/sentinel.test.js.map +0 -1
- package/dist/infra/lib/autonomy/index.d.ts +0 -18
- package/dist/infra/lib/autonomy/index.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/index.js +0 -22
- package/dist/infra/lib/autonomy/index.js.map +0 -1
- package/dist/infra/lib/autonomy/schemas.d.ts +0 -317
- package/dist/infra/lib/autonomy/schemas.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/schemas.js +0 -90
- package/dist/infra/lib/autonomy/schemas.js.map +0 -1
- package/dist/infra/lib/claude/index.d.ts +0 -5
- package/dist/infra/lib/claude/index.d.ts.map +0 -1
- package/dist/infra/lib/claude/index.js +0 -5
- package/dist/infra/lib/claude/index.js.map +0 -1
- package/dist/infra/lib/claude/storage.d.ts +0 -12
- package/dist/infra/lib/claude/storage.d.ts.map +0 -1
- package/dist/infra/lib/claude/storage.js +0 -54
- package/dist/infra/lib/claude/storage.js.map +0 -1
- package/dist/infra/lib/gemini/auth.d.ts +0 -18
- package/dist/infra/lib/gemini/auth.d.ts.map +0 -1
- package/dist/infra/lib/gemini/auth.js +0 -32
- package/dist/infra/lib/gemini/auth.js.map +0 -1
- package/dist/infra/lib/gemini/capabilities.d.ts +0 -28
- package/dist/infra/lib/gemini/capabilities.d.ts.map +0 -1
- package/dist/infra/lib/gemini/capabilities.js +0 -178
- package/dist/infra/lib/gemini/capabilities.js.map +0 -1
- package/dist/infra/lib/gemini/chat.d.ts +0 -35
- package/dist/infra/lib/gemini/chat.d.ts.map +0 -1
- package/dist/infra/lib/gemini/chat.js +0 -161
- package/dist/infra/lib/gemini/chat.js.map +0 -1
- package/dist/infra/lib/gemini/completion.d.ts +0 -12
- package/dist/infra/lib/gemini/completion.d.ts.map +0 -1
- package/dist/infra/lib/gemini/completion.js +0 -13
- package/dist/infra/lib/gemini/completion.js.map +0 -1
- package/dist/infra/lib/gemini/constants.d.ts +0 -8
- package/dist/infra/lib/gemini/constants.d.ts.map +0 -1
- package/dist/infra/lib/gemini/constants.js +0 -11
- package/dist/infra/lib/gemini/constants.js.map +0 -1
- package/dist/infra/lib/gemini/index.d.ts +0 -13
- package/dist/infra/lib/gemini/index.d.ts.map +0 -1
- package/dist/infra/lib/gemini/index.js +0 -12
- package/dist/infra/lib/gemini/index.js.map +0 -1
- package/dist/infra/lib/gemini/models.d.ts +0 -11
- package/dist/infra/lib/gemini/models.d.ts.map +0 -1
- package/dist/infra/lib/gemini/models.js +0 -38
- package/dist/infra/lib/gemini/models.js.map +0 -1
- package/dist/infra/lib/gemini/orchestration.d.ts +0 -33
- package/dist/infra/lib/gemini/orchestration.d.ts.map +0 -1
- package/dist/infra/lib/gemini/orchestration.js +0 -62
- package/dist/infra/lib/gemini/orchestration.js.map +0 -1
- package/dist/infra/lib/gemini/types.d.ts +0 -115
- package/dist/infra/lib/gemini/types.d.ts.map +0 -1
- package/dist/infra/lib/gemini/types.js +0 -5
- package/dist/infra/lib/gemini/types.js.map +0 -1
- package/dist/infra/orchestrator/AgentAnnouncer.d.ts +0 -64
- package/dist/infra/orchestrator/AgentAnnouncer.d.ts.map +0 -1
- package/dist/infra/orchestrator/AgentAnnouncer.js +0 -127
- package/dist/infra/orchestrator/AgentAnnouncer.js.map +0 -1
- package/dist/infra/orchestrator/AgentAnnouncer.test.d.ts +0 -5
- package/dist/infra/orchestrator/AgentAnnouncer.test.d.ts.map +0 -1
- package/dist/infra/orchestrator/AgentAnnouncer.test.js +0 -119
- package/dist/infra/orchestrator/AgentAnnouncer.test.js.map +0 -1
- package/dist/infra/orchestrator/AgentExecutor.d.ts +0 -22
- package/dist/infra/orchestrator/AgentExecutor.d.ts.map +0 -1
- package/dist/infra/orchestrator/AgentExecutor.js +0 -272
- package/dist/infra/orchestrator/AgentExecutor.js.map +0 -1
- package/dist/infra/orchestrator/AgentManager.d.ts +0 -72
- package/dist/infra/orchestrator/AgentManager.d.ts.map +0 -1
- package/dist/infra/orchestrator/AgentManager.js +0 -183
- package/dist/infra/orchestrator/AgentManager.js.map +0 -1
- package/dist/infra/orchestrator/AgentManifestCache.d.ts +0 -54
- package/dist/infra/orchestrator/AgentManifestCache.d.ts.map +0 -1
- package/dist/infra/orchestrator/AgentManifestCache.js +0 -191
- package/dist/infra/orchestrator/AgentManifestCache.js.map +0 -1
- package/dist/infra/orchestrator/AgentRegistry.d.ts +0 -76
- package/dist/infra/orchestrator/AgentRegistry.d.ts.map +0 -1
- package/dist/infra/orchestrator/AgentRegistry.js +0 -217
- package/dist/infra/orchestrator/AgentRegistry.js.map +0 -1
- package/dist/infra/orchestrator/AgentRegistry.test.d.ts +0 -5
- package/dist/infra/orchestrator/AgentRegistry.test.d.ts.map +0 -1
- package/dist/infra/orchestrator/AgentRegistry.test.js +0 -122
- package/dist/infra/orchestrator/AgentRegistry.test.js.map +0 -1
- package/dist/infra/orchestrator/BackgroundManager.d.ts +0 -128
- package/dist/infra/orchestrator/BackgroundManager.d.ts.map +0 -1
- package/dist/infra/orchestrator/BackgroundManager.js +0 -620
- package/dist/infra/orchestrator/BackgroundManager.js.map +0 -1
- package/dist/infra/orchestrator/BackgroundManager.test.d.ts +0 -6
- package/dist/infra/orchestrator/BackgroundManager.test.d.ts.map +0 -1
- package/dist/infra/orchestrator/BackgroundManager.test.js +0 -162
- package/dist/infra/orchestrator/BackgroundManager.test.js.map +0 -1
- package/dist/infra/orchestrator/CheckpointManager.d.ts +0 -54
- package/dist/infra/orchestrator/CheckpointManager.d.ts.map +0 -1
- package/dist/infra/orchestrator/CheckpointManager.js +0 -121
- package/dist/infra/orchestrator/CheckpointManager.js.map +0 -1
- package/dist/infra/orchestrator/CodexAgentRuntime.d.ts +0 -12
- package/dist/infra/orchestrator/CodexAgentRuntime.d.ts.map +0 -1
- package/dist/infra/orchestrator/CodexAgentRuntime.js +0 -94
- package/dist/infra/orchestrator/CodexAgentRuntime.js.map +0 -1
- package/dist/infra/orchestrator/CodexAgentRuntime.test.d.ts +0 -2
- package/dist/infra/orchestrator/CodexAgentRuntime.test.d.ts.map +0 -1
- package/dist/infra/orchestrator/CodexAgentRuntime.test.js +0 -37
- package/dist/infra/orchestrator/CodexAgentRuntime.test.js.map +0 -1
- package/dist/infra/orchestrator/LLMCluster.d.ts +0 -82
- package/dist/infra/orchestrator/LLMCluster.d.ts.map +0 -1
- package/dist/infra/orchestrator/LLMCluster.js +0 -146
- package/dist/infra/orchestrator/LLMCluster.js.map +0 -1
- package/dist/infra/orchestrator/MultiLlmResearch.d.ts +0 -31
- package/dist/infra/orchestrator/MultiLlmResearch.d.ts.map +0 -1
- package/dist/infra/orchestrator/MultiLlmResearch.js +0 -160
- package/dist/infra/orchestrator/MultiLlmResearch.js.map +0 -1
- package/dist/infra/orchestrator/PhasePipeline.d.ts +0 -122
- package/dist/infra/orchestrator/PhasePipeline.d.ts.map +0 -1
- package/dist/infra/orchestrator/PhasePipeline.js +0 -385
- package/dist/infra/orchestrator/PhasePipeline.js.map +0 -1
- package/dist/infra/orchestrator/PhaseResultStore.d.ts +0 -39
- package/dist/infra/orchestrator/PhaseResultStore.d.ts.map +0 -1
- package/dist/infra/orchestrator/PhaseResultStore.js +0 -151
- package/dist/infra/orchestrator/PhaseResultStore.js.map +0 -1
- package/dist/infra/orchestrator/SessionStore.d.ts +0 -40
- package/dist/infra/orchestrator/SessionStore.d.ts.map +0 -1
- package/dist/infra/orchestrator/SessionStore.js +0 -116
- package/dist/infra/orchestrator/SessionStore.js.map +0 -1
- package/dist/infra/orchestrator/SmartRouter.d.ts +0 -90
- package/dist/infra/orchestrator/SmartRouter.d.ts.map +0 -1
- package/dist/infra/orchestrator/SmartRouter.js +0 -277
- package/dist/infra/orchestrator/SmartRouter.js.map +0 -1
- package/dist/infra/orchestrator/SmartRouter.test.d.ts +0 -5
- package/dist/infra/orchestrator/SmartRouter.test.d.ts.map +0 -1
- package/dist/infra/orchestrator/SmartRouter.test.js +0 -484
- package/dist/infra/orchestrator/SmartRouter.test.js.map +0 -1
- package/dist/infra/orchestrator/SwarmOrchestrator.d.ts +0 -143
- package/dist/infra/orchestrator/SwarmOrchestrator.d.ts.map +0 -1
- package/dist/infra/orchestrator/SwarmOrchestrator.js +0 -378
- package/dist/infra/orchestrator/SwarmOrchestrator.js.map +0 -1
- package/dist/infra/orchestrator/SwarmOrchestrator.test.d.ts +0 -5
- package/dist/infra/orchestrator/SwarmOrchestrator.test.d.ts.map +0 -1
- package/dist/infra/orchestrator/SwarmOrchestrator.test.js +0 -95
- package/dist/infra/orchestrator/SwarmOrchestrator.test.js.map +0 -1
- package/dist/infra/orchestrator/agentDiscovery.d.ts +0 -26
- package/dist/infra/orchestrator/agentDiscovery.d.ts.map +0 -1
- package/dist/infra/orchestrator/agentDiscovery.js +0 -175
- package/dist/infra/orchestrator/agentDiscovery.js.map +0 -1
- package/dist/infra/orchestrator/backgroundAgent.d.ts +0 -9
- package/dist/infra/orchestrator/backgroundAgent.d.ts.map +0 -1
- package/dist/infra/orchestrator/backgroundAgent.js +0 -10
- package/dist/infra/orchestrator/backgroundAgent.js.map +0 -1
- package/dist/infra/orchestrator/index.d.ts +0 -207
- package/dist/infra/orchestrator/index.d.ts.map +0 -1
- package/dist/infra/orchestrator/index.js +0 -362
- package/dist/infra/orchestrator/index.js.map +0 -1
- package/dist/infra/orchestrator/orchestrator.d.ts +0 -60
- package/dist/infra/orchestrator/orchestrator.d.ts.map +0 -1
- package/dist/infra/orchestrator/orchestrator.js +0 -214
- package/dist/infra/orchestrator/orchestrator.js.map +0 -1
- package/dist/infra/orchestrator/parallelResearch.d.ts +0 -27
- package/dist/infra/orchestrator/parallelResearch.d.ts.map +0 -1
- package/dist/infra/orchestrator/parallelResearch.js +0 -285
- package/dist/infra/orchestrator/parallelResearch.js.map +0 -1
- package/dist/infra/orchestrator/types.d.ts +0 -205
- package/dist/infra/orchestrator/types.d.ts.map +0 -1
- package/dist/infra/orchestrator/types.js +0 -87
- package/dist/infra/orchestrator/types.js.map +0 -1
- package/dist/infra/orchestrator/types.test.d.ts +0 -2
- package/dist/infra/orchestrator/types.test.d.ts.map +0 -1
- package/dist/infra/orchestrator/types.test.js +0 -57
- package/dist/infra/orchestrator/types.test.js.map +0 -1
- package/dist/tools/semantic/analyzeDependencyGraph.d.ts +0 -12
- package/dist/tools/semantic/analyzeDependencyGraph.d.ts.map +0 -1
- package/dist/tools/semantic/analyzeDependencyGraph.js +0 -359
- package/dist/tools/semantic/analyzeDependencyGraph.js.map +0 -1
- package/dist/tools/semantic/astGrep.d.ts +0 -25
- package/dist/tools/semantic/astGrep.d.ts.map +0 -1
- package/dist/tools/semantic/astGrep.js +0 -324
- package/dist/tools/semantic/astGrep.js.map +0 -1
- package/dist/tools/semantic/astGrep.test.d.ts +0 -2
- package/dist/tools/semantic/astGrep.test.d.ts.map +0 -1
- package/dist/tools/semantic/astGrep.test.js +0 -74
- package/dist/tools/semantic/astGrep.test.js.map +0 -1
- package/dist/tools/semantic/findReferences.d.ts +0 -9
- package/dist/tools/semantic/findReferences.d.ts.map +0 -1
- package/dist/tools/semantic/findReferences.js +0 -200
- package/dist/tools/semantic/findReferences.js.map +0 -1
- package/dist/tools/semantic/findSymbol.d.ts +0 -8
- package/dist/tools/semantic/findSymbol.d.ts.map +0 -1
- package/dist/tools/semantic/findSymbol.js +0 -204
- package/dist/tools/semantic/findSymbol.js.map +0 -1
- package/dist/tools/semantic/index.d.ts +0 -9
- package/dist/tools/semantic/index.d.ts.map +0 -1
- package/dist/tools/semantic/index.js +0 -11
- package/dist/tools/semantic/index.js.map +0 -1
- package/dist/tools/semantic/lsp.d.ts +0 -68
- package/dist/tools/semantic/lsp.d.ts.map +0 -1
- package/dist/tools/semantic/lsp.js +0 -561
- package/dist/tools/semantic/lsp.js.map +0 -1
- package/dist/tools/spec/e2eTestGenerator.d.ts +0 -61
- package/dist/tools/spec/e2eTestGenerator.d.ts.map +0 -1
- package/dist/tools/spec/e2eTestGenerator.js +0 -255
- package/dist/tools/spec/e2eTestGenerator.js.map +0 -1
- package/dist/tools/spec/specVersioning.d.ts +0 -76
- package/dist/tools/spec/specVersioning.d.ts.map +0 -1
- package/dist/tools/spec/specVersioning.js +0 -236
- package/dist/tools/spec/specVersioning.js.map +0 -1
- package/hooks/scripts/__tests__/.vibe/memories/memories.db +0 -0
- package/hooks/scripts/__tests__/.vibe/memories/memories.db-shm +0 -0
- package/hooks/scripts/__tests__/.vibe/memories/memories.db-wal +0 -0
- package/hooks/scripts/evolution-engine.js +0 -91
- package/hooks/scripts/hud-status.js +0 -321
- package/hooks/scripts/skill-injector.js +0 -83
- package/skills/vibe.utils/SKILL.md +0 -415
|
@@ -1,272 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AgentExecutor - 백그라운드 에이전트 실행
|
|
3
|
-
*/
|
|
4
|
-
import { getModelOverride } from '../lib/config/GlobalConfigManager.js';
|
|
5
|
-
import { getAgentSdkQuery } from '../lib/utils.js';
|
|
6
|
-
import { AGENT } from '../lib/constants.js';
|
|
7
|
-
import { sessionStore } from './SessionStore.js';
|
|
8
|
-
import { isCodexAvailable } from '../lib/llm-availability.js';
|
|
9
|
-
import { launchCodexBackgroundAgent } from './CodexAgentRuntime.js';
|
|
10
|
-
/**
|
|
11
|
-
* 시뮬레이션 핸들 생성 (Agent SDK 미설치 시)
|
|
12
|
-
*/
|
|
13
|
-
function createSimulatedHandle(agentName, prompt) {
|
|
14
|
-
return {
|
|
15
|
-
sessionId: `simulated-${Date.now()}`,
|
|
16
|
-
agentName,
|
|
17
|
-
status: 'completed',
|
|
18
|
-
startTime: Date.now(),
|
|
19
|
-
getResult: async () => ({
|
|
20
|
-
agentName,
|
|
21
|
-
sessionId: `simulated-${Date.now()}`,
|
|
22
|
-
result: `[Agent SDK not installed] Would execute: ${prompt.slice(0, 100)}...`,
|
|
23
|
-
success: true,
|
|
24
|
-
duration: 0
|
|
25
|
-
}),
|
|
26
|
-
cancel: () => { }
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* 백그라운드 에이전트 시작
|
|
31
|
-
*/
|
|
32
|
-
export async function launchBackgroundAgent(args) {
|
|
33
|
-
const { prompt, agentName = `agent-${Date.now()}`, model = getModelOverride('claudeBackground') ?? process.env.CLAUDE_BACKGROUND_MODEL, maxTurns = AGENT.MAX_TURNS, allowedTools = AGENT.DEFAULT_ALLOWED_TOOLS, projectPath = process.cwd(), onProgress } = args;
|
|
34
|
-
const query = await getAgentSdkQuery();
|
|
35
|
-
if (!query) {
|
|
36
|
-
if (isCodexAvailable()) {
|
|
37
|
-
const handle = launchCodexBackgroundAgent(args);
|
|
38
|
-
const resultPromise = handle.getResult();
|
|
39
|
-
sessionStore.add(handle.sessionId, {
|
|
40
|
-
handle,
|
|
41
|
-
resultPromise,
|
|
42
|
-
cancelController: new AbortController(),
|
|
43
|
-
createdAt: handle.startTime
|
|
44
|
-
});
|
|
45
|
-
resultPromise.then((agentResult) => {
|
|
46
|
-
sessionStore.addToHistory({
|
|
47
|
-
sessionId: agentResult.sessionId,
|
|
48
|
-
agentName: agentResult.agentName,
|
|
49
|
-
status: agentResult.success ? 'completed' : 'failed',
|
|
50
|
-
startTime: handle.startTime,
|
|
51
|
-
endTime: Date.now(),
|
|
52
|
-
prompt
|
|
53
|
-
});
|
|
54
|
-
sessionStore.delete(handle.sessionId);
|
|
55
|
-
});
|
|
56
|
-
return {
|
|
57
|
-
content: [{
|
|
58
|
-
type: 'text',
|
|
59
|
-
text: `Background agent "${agentName}" started via Codex\nSession ID: ${handle.sessionId}\n\nUse getBackgroundAgentResult("${handle.sessionId}") to check status.`
|
|
60
|
-
}],
|
|
61
|
-
handle
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
const handle = createSimulatedHandle(agentName, prompt);
|
|
65
|
-
return {
|
|
66
|
-
content: [{
|
|
67
|
-
type: 'text',
|
|
68
|
-
text: `Background agent "${agentName}" started (simulated)\nSession ID: ${handle.sessionId}\n\nNote: Install @anthropic-ai/claude-agent-sdk for real execution.`
|
|
69
|
-
}],
|
|
70
|
-
handle
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
const startTime = Date.now();
|
|
74
|
-
const cancelController = new AbortController();
|
|
75
|
-
let sessionId = '';
|
|
76
|
-
let result = '';
|
|
77
|
-
let status = 'running';
|
|
78
|
-
// 결과 수집 Promise
|
|
79
|
-
const resultPromise = new Promise(async (resolve) => {
|
|
80
|
-
// cancel 시 즉시 resolve되도록 abort 리스너 등록
|
|
81
|
-
let resolved = false;
|
|
82
|
-
const safeResolve = (value) => {
|
|
83
|
-
if (!resolved) {
|
|
84
|
-
resolved = true;
|
|
85
|
-
resolve(value);
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
|
-
cancelController.signal.addEventListener('abort', () => {
|
|
89
|
-
status = 'cancelled';
|
|
90
|
-
safeResolve({
|
|
91
|
-
agentName, sessionId,
|
|
92
|
-
result: result || 'Cancelled by user',
|
|
93
|
-
success: false,
|
|
94
|
-
error: 'Cancelled',
|
|
95
|
-
duration: Date.now() - startTime
|
|
96
|
-
});
|
|
97
|
-
});
|
|
98
|
-
try {
|
|
99
|
-
// abortController 를 SDK 에 전달해, cancel()/timeout 시 로컬 promise 뿐 아니라
|
|
100
|
-
// 실제 query stream/process 가 종료되도록 한다 (B-3 잔여).
|
|
101
|
-
const response = query({
|
|
102
|
-
prompt,
|
|
103
|
-
options: { model, maxTurns, allowedTools, cwd: projectPath, abortController: cancelController }
|
|
104
|
-
});
|
|
105
|
-
for await (const message of response) {
|
|
106
|
-
if (cancelController.signal.aborted) {
|
|
107
|
-
return; // abort 리스너에서 이미 resolve됨
|
|
108
|
-
}
|
|
109
|
-
const msg = message;
|
|
110
|
-
if (msg.type === 'system' && msg.subtype === 'init' && msg.session_id) {
|
|
111
|
-
sessionId = msg.session_id;
|
|
112
|
-
}
|
|
113
|
-
if (msg.type === 'system' && msg.subtype === 'progress' && onProgress) {
|
|
114
|
-
onProgress(msg.content || 'Processing...');
|
|
115
|
-
}
|
|
116
|
-
if (msg.type === 'result' && msg.result) {
|
|
117
|
-
result = msg.result;
|
|
118
|
-
}
|
|
119
|
-
if (msg.type === 'assistant' && msg.message?.content) {
|
|
120
|
-
const textContent = msg.message.content
|
|
121
|
-
.filter(block => block.type === 'text' && block.text)
|
|
122
|
-
.map(block => block.text)
|
|
123
|
-
.join('\n');
|
|
124
|
-
if (textContent)
|
|
125
|
-
result += textContent;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
status = 'completed';
|
|
129
|
-
safeResolve({
|
|
130
|
-
agentName, sessionId,
|
|
131
|
-
result: result || 'No result',
|
|
132
|
-
success: true,
|
|
133
|
-
duration: Date.now() - startTime
|
|
134
|
-
});
|
|
135
|
-
}
|
|
136
|
-
catch (error) {
|
|
137
|
-
status = 'failed';
|
|
138
|
-
safeResolve({
|
|
139
|
-
agentName, sessionId,
|
|
140
|
-
result: result || '',
|
|
141
|
-
success: false,
|
|
142
|
-
error: error instanceof Error ? error.message : String(error),
|
|
143
|
-
duration: Date.now() - startTime
|
|
144
|
-
});
|
|
145
|
-
}
|
|
146
|
-
});
|
|
147
|
-
// 핸들 생성
|
|
148
|
-
const handle = {
|
|
149
|
-
sessionId: sessionId || `pending-${Date.now()}`,
|
|
150
|
-
agentName,
|
|
151
|
-
status,
|
|
152
|
-
startTime,
|
|
153
|
-
getResult: () => resultPromise,
|
|
154
|
-
cancel: () => {
|
|
155
|
-
cancelController.abort();
|
|
156
|
-
status = 'cancelled';
|
|
157
|
-
}
|
|
158
|
-
};
|
|
159
|
-
// 세션 등록
|
|
160
|
-
sessionStore.add(handle.sessionId, {
|
|
161
|
-
handle, resultPromise, cancelController, createdAt: startTime
|
|
162
|
-
});
|
|
163
|
-
// 완료 시 히스토리에 추가
|
|
164
|
-
resultPromise.then((agentResult) => {
|
|
165
|
-
sessionStore.addToHistory({
|
|
166
|
-
sessionId: agentResult.sessionId,
|
|
167
|
-
agentName: agentResult.agentName,
|
|
168
|
-
status: agentResult.success ? 'completed' : 'failed',
|
|
169
|
-
startTime,
|
|
170
|
-
endTime: Date.now(),
|
|
171
|
-
prompt
|
|
172
|
-
});
|
|
173
|
-
sessionStore.delete(handle.sessionId);
|
|
174
|
-
});
|
|
175
|
-
return {
|
|
176
|
-
content: [{
|
|
177
|
-
type: 'text',
|
|
178
|
-
text: `Background agent "${agentName}" started\nSession ID: ${handle.sessionId}\nModel: ${model}\nMax Turns: ${maxTurns}\n\nUse getBackgroundAgentResult("${handle.sessionId}") to check status.`
|
|
179
|
-
}],
|
|
180
|
-
handle
|
|
181
|
-
};
|
|
182
|
-
}
|
|
183
|
-
/**
|
|
184
|
-
* 백그라운드 에이전트 결과 조회
|
|
185
|
-
*/
|
|
186
|
-
export async function getBackgroundAgentResult(sessionId) {
|
|
187
|
-
const session = sessionStore.get(sessionId);
|
|
188
|
-
if (!session) {
|
|
189
|
-
const historical = sessionStore.findInHistory(sessionId);
|
|
190
|
-
if (historical) {
|
|
191
|
-
return {
|
|
192
|
-
content: [{
|
|
193
|
-
type: 'text',
|
|
194
|
-
text: `Session "${sessionId}" completed at ${new Date(historical.endTime).toISOString()}\nStatus: ${historical.status}`
|
|
195
|
-
}]
|
|
196
|
-
};
|
|
197
|
-
}
|
|
198
|
-
return {
|
|
199
|
-
content: [{ type: 'text', text: `Session "${sessionId}" not found` }]
|
|
200
|
-
};
|
|
201
|
-
}
|
|
202
|
-
if (session.handle.status === 'running') {
|
|
203
|
-
return {
|
|
204
|
-
content: [{
|
|
205
|
-
type: 'text',
|
|
206
|
-
text: `Session "${sessionId}" is still running\nAgent: ${session.handle.agentName}\nStarted: ${new Date(session.handle.startTime).toISOString()}`
|
|
207
|
-
}]
|
|
208
|
-
};
|
|
209
|
-
}
|
|
210
|
-
const result = await session.resultPromise;
|
|
211
|
-
return {
|
|
212
|
-
content: [{
|
|
213
|
-
type: 'text',
|
|
214
|
-
text: `Session "${sessionId}" ${result.success ? 'completed' : 'failed'}\nDuration: ${(result.duration / 1000).toFixed(1)}s\n\nResult:\n${result.result}`
|
|
215
|
-
}],
|
|
216
|
-
result
|
|
217
|
-
};
|
|
218
|
-
}
|
|
219
|
-
/**
|
|
220
|
-
* 백그라운드 에이전트 취소
|
|
221
|
-
*/
|
|
222
|
-
export function cancelBackgroundAgent(sessionId) {
|
|
223
|
-
const session = sessionStore.get(sessionId);
|
|
224
|
-
if (!session) {
|
|
225
|
-
return {
|
|
226
|
-
content: [{ type: 'text', text: `Session "${sessionId}" not found or already completed` }]
|
|
227
|
-
};
|
|
228
|
-
}
|
|
229
|
-
session.handle.cancel();
|
|
230
|
-
return {
|
|
231
|
-
content: [{ type: 'text', text: `Session "${sessionId}" cancelled` }]
|
|
232
|
-
};
|
|
233
|
-
}
|
|
234
|
-
/**
|
|
235
|
-
* 여러 백그라운드 에이전트 동시 실행
|
|
236
|
-
*/
|
|
237
|
-
export async function launchParallelAgents(agentConfigs) {
|
|
238
|
-
const handles = [];
|
|
239
|
-
const errors = [];
|
|
240
|
-
const results = await Promise.all(agentConfigs.map(async (config) => {
|
|
241
|
-
try {
|
|
242
|
-
const result = await launchBackgroundAgent(config);
|
|
243
|
-
if ('handle' in result) {
|
|
244
|
-
return result.handle;
|
|
245
|
-
}
|
|
246
|
-
return null;
|
|
247
|
-
}
|
|
248
|
-
catch (error) {
|
|
249
|
-
errors.push(`${config.agentName}: ${error instanceof Error ? error.message : String(error)}`);
|
|
250
|
-
return null;
|
|
251
|
-
}
|
|
252
|
-
}));
|
|
253
|
-
for (const result of results) {
|
|
254
|
-
if (result)
|
|
255
|
-
handles.push(result);
|
|
256
|
-
}
|
|
257
|
-
let summary = `## Launched ${handles.length} Background Agents\n\n`;
|
|
258
|
-
for (const handle of handles) {
|
|
259
|
-
summary += `- ${handle.agentName}: ${handle.sessionId}\n`;
|
|
260
|
-
}
|
|
261
|
-
if (errors.length > 0) {
|
|
262
|
-
summary += `\n### Errors (${errors.length})\n`;
|
|
263
|
-
for (const error of errors) {
|
|
264
|
-
summary += `- ${error}\n`;
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
return {
|
|
268
|
-
content: [{ type: 'text', text: summary }],
|
|
269
|
-
handles
|
|
270
|
-
};
|
|
271
|
-
}
|
|
272
|
-
//# sourceMappingURL=AgentExecutor.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AgentExecutor.js","sourceRoot":"","sources":["../../../src/infra/orchestrator/AgentExecutor.ts"],"names":[],"mappings":"AAAA;;GAEG;AAQH,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAExE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAEpE;;GAEG;AACH,SAAS,qBAAqB,CAC5B,SAAiB,EACjB,MAAc;IAEd,OAAO;QACL,SAAS,EAAE,aAAa,IAAI,CAAC,GAAG,EAAE,EAAE;QACpC,SAAS;QACT,MAAM,EAAE,WAAW;QACnB,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE;QACrB,SAAS,EAAE,KAAK,I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O,EAAE,CAAC;QAC7B,OAAO,IAAI,KAAK,MAAM,CAAC,SAAS,KAAK,MAAM,CAAC,SAAS,IAAI,CAAC;IAC5D,CAAC;IAED,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACtB,OAAO,IAAI,iBAAiB,MAAM,CAAC,MAAM,KAAK,CAAC;QAC/C,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;YAC3B,OAAO,IAAI,KAAK,KAAK,IAAI,CAAC;QAC5B,CAAC;IACH,CAAC;IAED,OAAO;QACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;QAC1C,OAAO;KAC6C,CAAC;AACzD,CAAC"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AgentManager - 에이전트 관리 및 실행
|
|
3
|
-
*/
|
|
4
|
-
import { AgentResult, BackgroundAgentArgs, BackgroundAgentHandle, DiscoveredAgent } from './types.js';
|
|
5
|
-
import { ToolResult } from '../types/tool.js';
|
|
6
|
-
/**
|
|
7
|
-
* AgentManager 설정
|
|
8
|
-
*/
|
|
9
|
-
export interface AgentManagerOptions {
|
|
10
|
-
projectPath?: string;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* AgentManager - 에이전트 탐색, 실행, 결과 관리
|
|
14
|
-
*/
|
|
15
|
-
export declare class AgentManager {
|
|
16
|
-
private projectPath;
|
|
17
|
-
constructor(options?: AgentManagerOptions);
|
|
18
|
-
/**
|
|
19
|
-
* 에이전트 탐색
|
|
20
|
-
*/
|
|
21
|
-
discover(category?: string): Promise<DiscoveredAgent[]>;
|
|
22
|
-
/**
|
|
23
|
-
* 특정 에이전트 로드
|
|
24
|
-
*/
|
|
25
|
-
load(agentName: string): Promise<DiscoveredAgent | null>;
|
|
26
|
-
/**
|
|
27
|
-
* 카테고리별 에이전트 목록
|
|
28
|
-
*/
|
|
29
|
-
listByCategory(category: string): Promise<DiscoveredAgent[]>;
|
|
30
|
-
/**
|
|
31
|
-
* 백그라운드 에이전트 시작
|
|
32
|
-
*/
|
|
33
|
-
launch(args: BackgroundAgentArgs): Promise<BackgroundAgentHandle | null>;
|
|
34
|
-
/**
|
|
35
|
-
* 여러 에이전트 동시 실행
|
|
36
|
-
*/
|
|
37
|
-
launchParallel(configs: BackgroundAgentArgs[]): Promise<BackgroundAgentHandle[]>;
|
|
38
|
-
/**
|
|
39
|
-
* 에이전트 결과 조회
|
|
40
|
-
*/
|
|
41
|
-
getResult(sessionId: string): Promise<AgentResult | null>;
|
|
42
|
-
/**
|
|
43
|
-
* 에이전트 취소
|
|
44
|
-
*/
|
|
45
|
-
cancel(sessionId: string): boolean;
|
|
46
|
-
/**
|
|
47
|
-
* 활성 세션 목록
|
|
48
|
-
*/
|
|
49
|
-
getActiveSessions(): ToolResult;
|
|
50
|
-
/**
|
|
51
|
-
* 세션 히스토리
|
|
52
|
-
*/
|
|
53
|
-
getHistory(limit?: number): ToolResult;
|
|
54
|
-
/**
|
|
55
|
-
* 리뷰 에이전트 병렬 실행
|
|
56
|
-
*/
|
|
57
|
-
runParallelReview(filePaths: string[], techStack?: string[]): Promise<AgentResult[]>;
|
|
58
|
-
/**
|
|
59
|
-
* 기술 스택에 맞는 에이전트 필터링
|
|
60
|
-
*/
|
|
61
|
-
private filterRelevantAgents;
|
|
62
|
-
/**
|
|
63
|
-
* 리뷰 프롬프트 생성
|
|
64
|
-
*/
|
|
65
|
-
private buildReviewPrompt;
|
|
66
|
-
/**
|
|
67
|
-
* 프로젝트 경로 업데이트
|
|
68
|
-
*/
|
|
69
|
-
setProjectPath(path: string): void;
|
|
70
|
-
}
|
|
71
|
-
export declare function getAgentManager(options?: AgentManagerOptions): AgentManager;
|
|
72
|
-
//# sourceMappingURL=AgentManager.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AgentManager.d.ts","sourceRoot":"","sources":["../../../src/infra/orchestr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uC5B;;OAEG;IACH,OAAO,CAAC,iBAAiB;IAgBzB;;OAEG;IACH,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;CAGnC;AAKD,wBAAgB,eAAe,CAAC,OAAO,CAAC,EAAE,mBAAmB,GAAG,YAAY,CAK3E"}
|
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AgentManager - 에이전트 관리 및 실행
|
|
3
|
-
*/
|
|
4
|
-
import { getModelOverride } from '../lib/config/GlobalConfigManager.js';
|
|
5
|
-
import { discoverAgents, loadAgent, listAgentsByCategory } from './agentDiscovery.js';
|
|
6
|
-
import { launchBackgroundAgent, getBackgroundAgentResult, cancelBackgroundAgent, listActiveSessions, getSessionHistory, launchParallelAgents } from './backgroundAgent.js';
|
|
7
|
-
/**
|
|
8
|
-
* AgentManager - 에이전트 탐색, 실행, 결과 관리
|
|
9
|
-
*/
|
|
10
|
-
export class AgentManager {
|
|
11
|
-
projectPath;
|
|
12
|
-
constructor(options = {}) {
|
|
13
|
-
this.projectPath = options.projectPath ?? process.cwd();
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* 에이전트 탐색
|
|
17
|
-
*/
|
|
18
|
-
async discover(category) {
|
|
19
|
-
const result = await discoverAgents({
|
|
20
|
-
projectPath: this.projectPath,
|
|
21
|
-
category
|
|
22
|
-
});
|
|
23
|
-
if ('agents' in result) {
|
|
24
|
-
return result.agents;
|
|
25
|
-
}
|
|
26
|
-
return [];
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* 특정 에이전트 로드
|
|
30
|
-
*/
|
|
31
|
-
async load(agentName) {
|
|
32
|
-
return loadAgent(agentName, this.projectPath);
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* 카테고리별 에이전트 목록
|
|
36
|
-
*/
|
|
37
|
-
async listByCategory(category) {
|
|
38
|
-
return listAgentsByCategory(category, this.projectPath);
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* 백그라운드 에이전트 시작
|
|
42
|
-
*/
|
|
43
|
-
async launch(args) {
|
|
44
|
-
const result = await launchBackgroundAgent({
|
|
45
|
-
...args,
|
|
46
|
-
projectPath: args.projectPath || this.projectPath
|
|
47
|
-
});
|
|
48
|
-
if ('handle' in result) {
|
|
49
|
-
return result.handle;
|
|
50
|
-
}
|
|
51
|
-
return null;
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* 여러 에이전트 동시 실행
|
|
55
|
-
*/
|
|
56
|
-
async launchParallel(configs) {
|
|
57
|
-
const result = await launchParallelAgents(configs.map(c => ({
|
|
58
|
-
...c,
|
|
59
|
-
projectPath: c.projectPath || this.projectPath
|
|
60
|
-
})));
|
|
61
|
-
if ('handles' in result) {
|
|
62
|
-
return result.handles;
|
|
63
|
-
}
|
|
64
|
-
return [];
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* 에이전트 결과 조회
|
|
68
|
-
*/
|
|
69
|
-
async getResult(sessionId) {
|
|
70
|
-
const result = await getBackgroundAgentResult(sessionId);
|
|
71
|
-
if ('result' in result) {
|
|
72
|
-
return result.result;
|
|
73
|
-
}
|
|
74
|
-
return null;
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* 에이전트 취소
|
|
78
|
-
*/
|
|
79
|
-
cancel(sessionId) {
|
|
80
|
-
const result = cancelBackgroundAgent(sessionId);
|
|
81
|
-
return result.content[0].text.includes('cancelled');
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* 활성 세션 목록
|
|
85
|
-
*/
|
|
86
|
-
getActiveSessions() {
|
|
87
|
-
return listActiveSessions();
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* 세션 히스토리
|
|
91
|
-
*/
|
|
92
|
-
getHistory(limit = 10) {
|
|
93
|
-
return getSessionHistory(limit);
|
|
94
|
-
}
|
|
95
|
-
/**
|
|
96
|
-
* 리뷰 에이전트 병렬 실행
|
|
97
|
-
*/
|
|
98
|
-
async runParallelReview(filePaths, techStack = []) {
|
|
99
|
-
const reviewAgents = await this.listByCategory('review');
|
|
100
|
-
const relevantAgents = this.filterRelevantAgents(reviewAgents, techStack);
|
|
101
|
-
const agentConfigs = relevantAgents.map(agent => ({
|
|
102
|
-
agentName: agent.name,
|
|
103
|
-
prompt: this.buildReviewPrompt(agent, filePaths),
|
|
104
|
-
model: getModelOverride('claudeReview') ?? process.env.CLAUDE_REVIEW_MODEL,
|
|
105
|
-
maxTurns: 3,
|
|
106
|
-
allowedTools: ['Read', 'Glob', 'Grep']
|
|
107
|
-
}));
|
|
108
|
-
const handles = await this.launchParallel(agentConfigs);
|
|
109
|
-
const results = [];
|
|
110
|
-
for (const handle of handles) {
|
|
111
|
-
const result = await handle.getResult();
|
|
112
|
-
results.push(result);
|
|
113
|
-
}
|
|
114
|
-
return results;
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* 기술 스택에 맞는 에이전트 필터링
|
|
118
|
-
*/
|
|
119
|
-
filterRelevantAgents(agents, techStack) {
|
|
120
|
-
const coreReviewers = [
|
|
121
|
-
'security-reviewer',
|
|
122
|
-
'performance-reviewer',
|
|
123
|
-
'architecture-reviewer',
|
|
124
|
-
'complexity-reviewer',
|
|
125
|
-
'simplicity-reviewer',
|
|
126
|
-
'data-integrity-reviewer',
|
|
127
|
-
'test-coverage-reviewer',
|
|
128
|
-
'git-history-reviewer'
|
|
129
|
-
];
|
|
130
|
-
const stackReviewers = {
|
|
131
|
-
typescript: ['typescript-reviewer'],
|
|
132
|
-
python: ['python-reviewer'],
|
|
133
|
-
react: ['react-reviewer'],
|
|
134
|
-
rails: ['rails-reviewer'],
|
|
135
|
-
ruby: ['rails-reviewer']
|
|
136
|
-
};
|
|
137
|
-
const relevantNames = new Set(coreReviewers);
|
|
138
|
-
for (const tech of techStack) {
|
|
139
|
-
const reviewers = stackReviewers[tech.toLowerCase()];
|
|
140
|
-
if (reviewers) {
|
|
141
|
-
reviewers.forEach(r => relevantNames.add(r));
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
return agents.filter(agent => {
|
|
145
|
-
const normalizedName = agent.name.toLowerCase().replace(/\s+/g, '-');
|
|
146
|
-
return relevantNames.has(normalizedName) ||
|
|
147
|
-
Array.from(relevantNames).some(r => normalizedName.includes(r));
|
|
148
|
-
});
|
|
149
|
-
}
|
|
150
|
-
/**
|
|
151
|
-
* 리뷰 프롬프트 생성
|
|
152
|
-
*/
|
|
153
|
-
buildReviewPrompt(agent, filePaths) {
|
|
154
|
-
return `You are a ${agent.name}. Review the following files for issues in your domain:
|
|
155
|
-
|
|
156
|
-
Files to review:
|
|
157
|
-
${filePaths.map(f => `- ${f}`).join('\n')}
|
|
158
|
-
|
|
159
|
-
${agent.content}
|
|
160
|
-
|
|
161
|
-
Provide findings in this format:
|
|
162
|
-
- Priority: P1 (Critical), P2 (Important), P3 (Nice-to-have)
|
|
163
|
-
- Category: Your specialty area
|
|
164
|
-
- Location: file:line
|
|
165
|
-
- Issue: Description
|
|
166
|
-
- Fix: Recommendation`;
|
|
167
|
-
}
|
|
168
|
-
/**
|
|
169
|
-
* 프로젝트 경로 업데이트
|
|
170
|
-
*/
|
|
171
|
-
setProjectPath(path) {
|
|
172
|
-
this.projectPath = path;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
// 싱글톤 인스턴스
|
|
176
|
-
let defaultManager = null;
|
|
177
|
-
export function getAgentManager(options) {
|
|
178
|
-
if (!defaultManager || options) {
|
|
179
|
-
defaultManager = new AgentManager(options);
|
|
180
|
-
}
|
|
181
|
-
return defaultManager;
|
|
182
|
-
}
|
|
183
|
-
//# sourceMappingURL=AgentManager.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AgentManager.js","sourceRoot":"","sources":["../../../src/infra/orchestrator/AgentManager.ts"],"names":[],"mappings":"AAAA;;GAEG;AASH,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EA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
|
-
/**
|
|
2
|
-
* AgentManifestCache - Two-tier agent loading with LRU cache
|
|
3
|
-
* Lightweight manifests at warmup, full content on demand
|
|
4
|
-
*/
|
|
5
|
-
export interface AgentManifest {
|
|
6
|
-
name: string;
|
|
7
|
-
path: string;
|
|
8
|
-
category: string;
|
|
9
|
-
description: string;
|
|
10
|
-
estimatedTokens: number;
|
|
11
|
-
}
|
|
12
|
-
export interface CachedFullAgent {
|
|
13
|
-
manifest: AgentManifest;
|
|
14
|
-
content: string;
|
|
15
|
-
loadedAt: number;
|
|
16
|
-
lastAccess: number;
|
|
17
|
-
}
|
|
18
|
-
export interface AgentCacheStats {
|
|
19
|
-
manifestCount: number;
|
|
20
|
-
fullCacheSize: number;
|
|
21
|
-
fullCacheMaxSize: number;
|
|
22
|
-
totalEstimatedTokens: number;
|
|
23
|
-
categories: string[];
|
|
24
|
-
}
|
|
25
|
-
export declare class AgentManifestCache {
|
|
26
|
-
private static instances;
|
|
27
|
-
private static defaultInstance;
|
|
28
|
-
private manifests;
|
|
29
|
-
private fullCache;
|
|
30
|
-
private accessOrder;
|
|
31
|
-
private maxFullCacheSize;
|
|
32
|
-
private projectPath;
|
|
33
|
-
private agentsBasePath;
|
|
34
|
-
private constructor();
|
|
35
|
-
static getInstance(projectPath?: string, maxFullCacheSize?: number): AgentManifestCache;
|
|
36
|
-
warmUp(): Promise<void>;
|
|
37
|
-
getManifest(name: string): AgentManifest | null;
|
|
38
|
-
getFullAgent(name: string): Promise<CachedFullAgent | null>;
|
|
39
|
-
listByCategory(category: string): AgentManifest[];
|
|
40
|
-
listAll(): AgentManifest[];
|
|
41
|
-
estimateTokenCost(names: string[]): {
|
|
42
|
-
total: number;
|
|
43
|
-
breakdown: Record<string, number>;
|
|
44
|
-
wouldExceedBudget: boolean;
|
|
45
|
-
};
|
|
46
|
-
getStats(): AgentCacheStats;
|
|
47
|
-
invalidate(): void;
|
|
48
|
-
static resetInstance(): void;
|
|
49
|
-
private findAgentsDir;
|
|
50
|
-
private readPreview;
|
|
51
|
-
private evictIfNeeded;
|
|
52
|
-
private touchAccessOrder;
|
|
53
|
-
}
|
|
54
|
-
//# sourceMappingURL=AgentManifestCache.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AgentManifestCache.d.ts","sourceRoot":"","sources":["../../../src/infra/orchestrator/AgentManifestCache.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAaH,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,aAAa,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;IACzB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB;AAcD,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,MAAM,CAAC,SAAS,CAA8C;IACtE,OAAO,CAAC,MAAM,CAAC,eAAe,CAAmC;IAEjE,OAAO,CAAC,SAAS,CAAyC;IAC1D,OAAO,CAAC,SAAS,CAA2C;IAC5D,OAAO,CAAC,WAAW,CAAgB;IACnC,OAAO,CAAC,gBAAgB,CAAS;IACjC,OAAO,CAAC,WAAW,CAAS;IAC5B,OAAO,CAAC,cAAc,CAAuB;IAE7C,OAAO;IAKP,MAAM,CAAC,WAAW,CAChB,WAAW,GAAE,MAAsB,EACnC,gBAAgB,GAAE,MAA+B,GAChD,kBAAkB;IAQf,MAAM,IAAI,OAAO,CAAC,IAAI,CA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