@su-record/vibe 3.0.0 → 3.1.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.
Files changed (341) hide show
  1. package/hooks/scripts/__tests__/.vibe/command-log.txt +3 -78
  2. package/hooks/scripts/__tests__/.vibe/memories/memories.db +0 -0
  3. package/hooks/scripts/__tests__/.vibe/memories/memories.db-shm +0 -0
  4. package/hooks/scripts/__tests__/.vibe/memories/memories.db-wal +0 -0
  5. package/hooks/scripts/__tests__/clone-behaviors.test.js +64 -0
  6. package/hooks/scripts/__tests__/clone-merge-responsive.test.js +106 -0
  7. package/hooks/scripts/clone-extract.js +242 -28
  8. package/hooks/scripts/clone-merge-responsive.js +184 -0
  9. package/hooks/scripts/clone-spec.js +33 -8
  10. package/hooks/scripts/clone-validate.js +15 -9
  11. package/package.json +5 -2
  12. package/skills/clone/SKILL.md +132 -55
  13. package/skills/vibe.clone/SKILL.md +39 -19
  14. package/dist/cli/llm/gemini-commands.d.ts +0 -25
  15. package/dist/cli/llm/gemini-commands.d.ts.map +0 -1
  16. package/dist/cli/llm/gemini-commands.js +0 -143
  17. package/dist/cli/llm/gemini-commands.js.map +0 -1
  18. package/dist/cli/postinstall/codex-agents.d.ts +0 -24
  19. package/dist/cli/postinstall/codex-agents.d.ts.map +0 -1
  20. package/dist/cli/postinstall/codex-agents.js +0 -114
  21. package/dist/cli/postinstall/codex-agents.js.map +0 -1
  22. package/dist/cli/postinstall/codex-instruction.d.ts +0 -10
  23. package/dist/cli/postinstall/codex-instruction.d.ts.map +0 -1
  24. package/dist/cli/postinstall/codex-instruction.js +0 -56
  25. package/dist/cli/postinstall/codex-instruction.js.map +0 -1
  26. package/dist/cli/postinstall/gemini-agents.d.ts +0 -12
  27. package/dist/cli/postinstall/gemini-agents.d.ts.map +0 -1
  28. package/dist/cli/postinstall/gemini-agents.js +0 -80
  29. package/dist/cli/postinstall/gemini-agents.js.map +0 -1
  30. package/dist/cli/postinstall/gemini-instruction.d.ts +0 -10
  31. package/dist/cli/postinstall/gemini-instruction.d.ts.map +0 -1
  32. package/dist/cli/postinstall/gemini-instruction.js +0 -59
  33. package/dist/cli/postinstall/gemini-instruction.js.map +0 -1
  34. package/dist/infra/lib/ContextCompressor.d.ts +0 -104
  35. package/dist/infra/lib/ContextCompressor.d.ts.map +0 -1
  36. package/dist/infra/lib/ContextCompressor.js +0 -297
  37. package/dist/infra/lib/ContextCompressor.js.map +0 -1
  38. package/dist/infra/lib/ContextCompressor.test.d.ts +0 -2
  39. package/dist/infra/lib/ContextCompressor.test.d.ts.map +0 -1
  40. package/dist/infra/lib/ContextCompressor.test.js +0 -25
  41. package/dist/infra/lib/ContextCompressor.test.js.map +0 -1
  42. package/dist/infra/lib/ProgressTracker.d.ts +0 -73
  43. package/dist/infra/lib/ProgressTracker.d.ts.map +0 -1
  44. package/dist/infra/lib/ProgressTracker.js +0 -267
  45. package/dist/infra/lib/ProgressTracker.js.map +0 -1
  46. package/dist/infra/lib/TokenBudgetTracker.d.ts +0 -68
  47. package/dist/infra/lib/TokenBudgetTracker.d.ts.map +0 -1
  48. package/dist/infra/lib/TokenBudgetTracker.js +0 -191
  49. package/dist/infra/lib/TokenBudgetTracker.js.map +0 -1
  50. package/dist/infra/lib/autonomy/AuditStore.d.ts +0 -63
  51. package/dist/infra/lib/autonomy/AuditStore.d.ts.map +0 -1
  52. package/dist/infra/lib/autonomy/AuditStore.js +0 -185
  53. package/dist/infra/lib/autonomy/AuditStore.js.map +0 -1
  54. package/dist/infra/lib/autonomy/AutonomyConfig.d.ts +0 -84
  55. package/dist/infra/lib/autonomy/AutonomyConfig.d.ts.map +0 -1
  56. package/dist/infra/lib/autonomy/AutonomyConfig.js +0 -49
  57. package/dist/infra/lib/autonomy/AutonomyConfig.js.map +0 -1
  58. package/dist/infra/lib/autonomy/AutonomyOrchestrator.d.ts +0 -78
  59. package/dist/infra/lib/autonomy/AutonomyOrchestrator.d.ts.map +0 -1
  60. package/dist/infra/lib/autonomy/AutonomyOrchestrator.js +0 -246
  61. package/dist/infra/lib/autonomy/AutonomyOrchestrator.js.map +0 -1
  62. package/dist/infra/lib/autonomy/BackgroundMonitor.d.ts +0 -36
  63. package/dist/infra/lib/autonomy/BackgroundMonitor.d.ts.map +0 -1
  64. package/dist/infra/lib/autonomy/BackgroundMonitor.js +0 -138
  65. package/dist/infra/lib/autonomy/BackgroundMonitor.js.map +0 -1
  66. package/dist/infra/lib/autonomy/CollaborationProtocol.d.ts +0 -56
  67. package/dist/infra/lib/autonomy/CollaborationProtocol.d.ts.map +0 -1
  68. package/dist/infra/lib/autonomy/CollaborationProtocol.js +0 -122
  69. package/dist/infra/lib/autonomy/CollaborationProtocol.js.map +0 -1
  70. package/dist/infra/lib/autonomy/ConfirmationManager.d.ts +0 -42
  71. package/dist/infra/lib/autonomy/ConfirmationManager.d.ts.map +0 -1
  72. package/dist/infra/lib/autonomy/ConfirmationManager.js +0 -200
  73. package/dist/infra/lib/autonomy/ConfirmationManager.js.map +0 -1
  74. package/dist/infra/lib/autonomy/ConfirmationStore.d.ts +0 -55
  75. package/dist/infra/lib/autonomy/ConfirmationStore.d.ts.map +0 -1
  76. package/dist/infra/lib/autonomy/ConfirmationStore.js +0 -130
  77. package/dist/infra/lib/autonomy/ConfirmationStore.js.map +0 -1
  78. package/dist/infra/lib/autonomy/EventBus.d.ts +0 -20
  79. package/dist/infra/lib/autonomy/EventBus.d.ts.map +0 -1
  80. package/dist/infra/lib/autonomy/EventBus.js +0 -119
  81. package/dist/infra/lib/autonomy/EventBus.js.map +0 -1
  82. package/dist/infra/lib/autonomy/EventOutbox.d.ts +0 -32
  83. package/dist/infra/lib/autonomy/EventOutbox.d.ts.map +0 -1
  84. package/dist/infra/lib/autonomy/EventOutbox.js +0 -152
  85. package/dist/infra/lib/autonomy/EventOutbox.js.map +0 -1
  86. package/dist/infra/lib/autonomy/NotificationDispatcher.d.ts +0 -24
  87. package/dist/infra/lib/autonomy/NotificationDispatcher.d.ts.map +0 -1
  88. package/dist/infra/lib/autonomy/NotificationDispatcher.js +0 -112
  89. package/dist/infra/lib/autonomy/NotificationDispatcher.js.map +0 -1
  90. package/dist/infra/lib/autonomy/PolicyEngine.d.ts +0 -76
  91. package/dist/infra/lib/autonomy/PolicyEngine.d.ts.map +0 -1
  92. package/dist/infra/lib/autonomy/PolicyEngine.js +0 -208
  93. package/dist/infra/lib/autonomy/PolicyEngine.js.map +0 -1
  94. package/dist/infra/lib/autonomy/ProactiveAnalyzer.d.ts +0 -61
  95. package/dist/infra/lib/autonomy/ProactiveAnalyzer.d.ts.map +0 -1
  96. package/dist/infra/lib/autonomy/ProactiveAnalyzer.js +0 -236
  97. package/dist/infra/lib/autonomy/ProactiveAnalyzer.js.map +0 -1
  98. package/dist/infra/lib/autonomy/RiskClassifier.d.ts +0 -35
  99. package/dist/infra/lib/autonomy/RiskClassifier.d.ts.map +0 -1
  100. package/dist/infra/lib/autonomy/RiskClassifier.js +0 -147
  101. package/dist/infra/lib/autonomy/RiskClassifier.js.map +0 -1
  102. package/dist/infra/lib/autonomy/SecuritySentinel.d.ts +0 -51
  103. package/dist/infra/lib/autonomy/SecuritySentinel.d.ts.map +0 -1
  104. package/dist/infra/lib/autonomy/SecuritySentinel.js +0 -162
  105. package/dist/infra/lib/autonomy/SecuritySentinel.js.map +0 -1
  106. package/dist/infra/lib/autonomy/SuggestionStore.d.ts +0 -54
  107. package/dist/infra/lib/autonomy/SuggestionStore.d.ts.map +0 -1
  108. package/dist/infra/lib/autonomy/SuggestionStore.js +0 -144
  109. package/dist/infra/lib/autonomy/SuggestionStore.js.map +0 -1
  110. package/dist/infra/lib/autonomy/TaskDecomposer.d.ts +0 -38
  111. package/dist/infra/lib/autonomy/TaskDecomposer.d.ts.map +0 -1
  112. package/dist/infra/lib/autonomy/TaskDecomposer.js +0 -175
  113. package/dist/infra/lib/autonomy/TaskDecomposer.js.map +0 -1
  114. package/dist/infra/lib/autonomy/__tests__/audit-store.test.d.ts +0 -2
  115. package/dist/infra/lib/autonomy/__tests__/audit-store.test.d.ts.map +0 -1
  116. package/dist/infra/lib/autonomy/__tests__/audit-store.test.js +0 -198
  117. package/dist/infra/lib/autonomy/__tests__/audit-store.test.js.map +0 -1
  118. package/dist/infra/lib/autonomy/__tests__/event-bus.test.d.ts +0 -2
  119. package/dist/infra/lib/autonomy/__tests__/event-bus.test.d.ts.map +0 -1
  120. package/dist/infra/lib/autonomy/__tests__/event-bus.test.js +0 -225
  121. package/dist/infra/lib/autonomy/__tests__/event-bus.test.js.map +0 -1
  122. package/dist/infra/lib/autonomy/__tests__/event-core.test.d.ts +0 -2
  123. package/dist/infra/lib/autonomy/__tests__/event-core.test.d.ts.map +0 -1
  124. package/dist/infra/lib/autonomy/__tests__/event-core.test.js +0 -194
  125. package/dist/infra/lib/autonomy/__tests__/event-core.test.js.map +0 -1
  126. package/dist/infra/lib/autonomy/__tests__/governance.test.d.ts +0 -2
  127. package/dist/infra/lib/autonomy/__tests__/governance.test.d.ts.map +0 -1
  128. package/dist/infra/lib/autonomy/__tests__/governance.test.js +0 -540
  129. package/dist/infra/lib/autonomy/__tests__/governance.test.js.map +0 -1
  130. package/dist/infra/lib/autonomy/__tests__/integration.test.d.ts +0 -2
  131. package/dist/infra/lib/autonomy/__tests__/integration.test.d.ts.map +0 -1
  132. package/dist/infra/lib/autonomy/__tests__/integration.test.js +0 -480
  133. package/dist/infra/lib/autonomy/__tests__/integration.test.js.map +0 -1
  134. package/dist/infra/lib/autonomy/__tests__/proactive.test.d.ts +0 -2
  135. package/dist/infra/lib/autonomy/__tests__/proactive.test.d.ts.map +0 -1
  136. package/dist/infra/lib/autonomy/__tests__/proactive.test.js +0 -410
  137. package/dist/infra/lib/autonomy/__tests__/proactive.test.js.map +0 -1
  138. package/dist/infra/lib/autonomy/__tests__/sentinel.test.d.ts +0 -2
  139. package/dist/infra/lib/autonomy/__tests__/sentinel.test.d.ts.map +0 -1
  140. package/dist/infra/lib/autonomy/__tests__/sentinel.test.js +0 -486
  141. package/dist/infra/lib/autonomy/__tests__/sentinel.test.js.map +0 -1
  142. package/dist/infra/lib/autonomy/index.d.ts +0 -18
  143. package/dist/infra/lib/autonomy/index.d.ts.map +0 -1
  144. package/dist/infra/lib/autonomy/index.js +0 -22
  145. package/dist/infra/lib/autonomy/index.js.map +0 -1
  146. package/dist/infra/lib/autonomy/schemas.d.ts +0 -317
  147. package/dist/infra/lib/autonomy/schemas.d.ts.map +0 -1
  148. package/dist/infra/lib/autonomy/schemas.js +0 -90
  149. package/dist/infra/lib/autonomy/schemas.js.map +0 -1
  150. package/dist/infra/lib/claude/index.d.ts +0 -5
  151. package/dist/infra/lib/claude/index.d.ts.map +0 -1
  152. package/dist/infra/lib/claude/index.js +0 -5
  153. package/dist/infra/lib/claude/index.js.map +0 -1
  154. package/dist/infra/lib/claude/storage.d.ts +0 -12
  155. package/dist/infra/lib/claude/storage.d.ts.map +0 -1
  156. package/dist/infra/lib/claude/storage.js +0 -54
  157. package/dist/infra/lib/claude/storage.js.map +0 -1
  158. package/dist/infra/lib/gemini/auth.d.ts +0 -18
  159. package/dist/infra/lib/gemini/auth.d.ts.map +0 -1
  160. package/dist/infra/lib/gemini/auth.js +0 -32
  161. package/dist/infra/lib/gemini/auth.js.map +0 -1
  162. package/dist/infra/lib/gemini/capabilities.d.ts +0 -28
  163. package/dist/infra/lib/gemini/capabilities.d.ts.map +0 -1
  164. package/dist/infra/lib/gemini/capabilities.js +0 -178
  165. package/dist/infra/lib/gemini/capabilities.js.map +0 -1
  166. package/dist/infra/lib/gemini/chat.d.ts +0 -35
  167. package/dist/infra/lib/gemini/chat.d.ts.map +0 -1
  168. package/dist/infra/lib/gemini/chat.js +0 -161
  169. package/dist/infra/lib/gemini/chat.js.map +0 -1
  170. package/dist/infra/lib/gemini/completion.d.ts +0 -12
  171. package/dist/infra/lib/gemini/completion.d.ts.map +0 -1
  172. package/dist/infra/lib/gemini/completion.js +0 -13
  173. package/dist/infra/lib/gemini/completion.js.map +0 -1
  174. package/dist/infra/lib/gemini/constants.d.ts +0 -8
  175. package/dist/infra/lib/gemini/constants.d.ts.map +0 -1
  176. package/dist/infra/lib/gemini/constants.js +0 -11
  177. package/dist/infra/lib/gemini/constants.js.map +0 -1
  178. package/dist/infra/lib/gemini/index.d.ts +0 -13
  179. package/dist/infra/lib/gemini/index.d.ts.map +0 -1
  180. package/dist/infra/lib/gemini/index.js +0 -12
  181. package/dist/infra/lib/gemini/index.js.map +0 -1
  182. package/dist/infra/lib/gemini/models.d.ts +0 -11
  183. package/dist/infra/lib/gemini/models.d.ts.map +0 -1
  184. package/dist/infra/lib/gemini/models.js +0 -38
  185. package/dist/infra/lib/gemini/models.js.map +0 -1
  186. package/dist/infra/lib/gemini/orchestration.d.ts +0 -33
  187. package/dist/infra/lib/gemini/orchestration.d.ts.map +0 -1
  188. package/dist/infra/lib/gemini/orchestration.js +0 -62
  189. package/dist/infra/lib/gemini/orchestration.js.map +0 -1
  190. package/dist/infra/lib/gemini/types.d.ts +0 -115
  191. package/dist/infra/lib/gemini/types.d.ts.map +0 -1
  192. package/dist/infra/lib/gemini/types.js +0 -5
  193. package/dist/infra/lib/gemini/types.js.map +0 -1
  194. package/dist/infra/orchestrator/AgentAnnouncer.d.ts +0 -64
  195. package/dist/infra/orchestrator/AgentAnnouncer.d.ts.map +0 -1
  196. package/dist/infra/orchestrator/AgentAnnouncer.js +0 -127
  197. package/dist/infra/orchestrator/AgentAnnouncer.js.map +0 -1
  198. package/dist/infra/orchestrator/AgentAnnouncer.test.d.ts +0 -5
  199. package/dist/infra/orchestrator/AgentAnnouncer.test.d.ts.map +0 -1
  200. package/dist/infra/orchestrator/AgentAnnouncer.test.js +0 -119
  201. package/dist/infra/orchestrator/AgentAnnouncer.test.js.map +0 -1
  202. package/dist/infra/orchestrator/AgentExecutor.d.ts +0 -22
  203. package/dist/infra/orchestrator/AgentExecutor.d.ts.map +0 -1
  204. package/dist/infra/orchestrator/AgentExecutor.js +0 -272
  205. package/dist/infra/orchestrator/AgentExecutor.js.map +0 -1
  206. package/dist/infra/orchestrator/AgentManager.d.ts +0 -72
  207. package/dist/infra/orchestrator/AgentManager.d.ts.map +0 -1
  208. package/dist/infra/orchestrator/AgentManager.js +0 -183
  209. package/dist/infra/orchestrator/AgentManager.js.map +0 -1
  210. package/dist/infra/orchestrator/AgentManifestCache.d.ts +0 -54
  211. package/dist/infra/orchestrator/AgentManifestCache.d.ts.map +0 -1
  212. package/dist/infra/orchestrator/AgentManifestCache.js +0 -191
  213. package/dist/infra/orchestrator/AgentManifestCache.js.map +0 -1
  214. package/dist/infra/orchestrator/AgentRegistry.d.ts +0 -76
  215. package/dist/infra/orchestrator/AgentRegistry.d.ts.map +0 -1
  216. package/dist/infra/orchestrator/AgentRegistry.js +0 -217
  217. package/dist/infra/orchestrator/AgentRegistry.js.map +0 -1
  218. package/dist/infra/orchestrator/AgentRegistry.test.d.ts +0 -5
  219. package/dist/infra/orchestrator/AgentRegistry.test.d.ts.map +0 -1
  220. package/dist/infra/orchestrator/AgentRegistry.test.js +0 -122
  221. package/dist/infra/orchestrator/AgentRegistry.test.js.map +0 -1
  222. package/dist/infra/orchestrator/BackgroundManager.d.ts +0 -128
  223. package/dist/infra/orchestrator/BackgroundManager.d.ts.map +0 -1
  224. package/dist/infra/orchestrator/BackgroundManager.js +0 -620
  225. package/dist/infra/orchestrator/BackgroundManager.js.map +0 -1
  226. package/dist/infra/orchestrator/BackgroundManager.test.d.ts +0 -6
  227. package/dist/infra/orchestrator/BackgroundManager.test.d.ts.map +0 -1
  228. package/dist/infra/orchestrator/BackgroundManager.test.js +0 -162
  229. package/dist/infra/orchestrator/BackgroundManager.test.js.map +0 -1
  230. package/dist/infra/orchestrator/CheckpointManager.d.ts +0 -54
  231. package/dist/infra/orchestrator/CheckpointManager.d.ts.map +0 -1
  232. package/dist/infra/orchestrator/CheckpointManager.js +0 -121
  233. package/dist/infra/orchestrator/CheckpointManager.js.map +0 -1
  234. package/dist/infra/orchestrator/CodexAgentRuntime.d.ts +0 -12
  235. package/dist/infra/orchestrator/CodexAgentRuntime.d.ts.map +0 -1
  236. package/dist/infra/orchestrator/CodexAgentRuntime.js +0 -94
  237. package/dist/infra/orchestrator/CodexAgentRuntime.js.map +0 -1
  238. package/dist/infra/orchestrator/CodexAgentRuntime.test.d.ts +0 -2
  239. package/dist/infra/orchestrator/CodexAgentRuntime.test.d.ts.map +0 -1
  240. package/dist/infra/orchestrator/CodexAgentRuntime.test.js +0 -37
  241. package/dist/infra/orchestrator/CodexAgentRuntime.test.js.map +0 -1
  242. package/dist/infra/orchestrator/LLMCluster.d.ts +0 -82
  243. package/dist/infra/orchestrator/LLMCluster.d.ts.map +0 -1
  244. package/dist/infra/orchestrator/LLMCluster.js +0 -146
  245. package/dist/infra/orchestrator/LLMCluster.js.map +0 -1
  246. package/dist/infra/orchestrator/MultiLlmResearch.d.ts +0 -31
  247. package/dist/infra/orchestrator/MultiLlmResearch.d.ts.map +0 -1
  248. package/dist/infra/orchestrator/MultiLlmResearch.js +0 -160
  249. package/dist/infra/orchestrator/MultiLlmResearch.js.map +0 -1
  250. package/dist/infra/orchestrator/PhasePipeline.d.ts +0 -122
  251. package/dist/infra/orchestrator/PhasePipeline.d.ts.map +0 -1
  252. package/dist/infra/orchestrator/PhasePipeline.js +0 -385
  253. package/dist/infra/orchestrator/PhasePipeline.js.map +0 -1
  254. package/dist/infra/orchestrator/PhaseResultStore.d.ts +0 -39
  255. package/dist/infra/orchestrator/PhaseResultStore.d.ts.map +0 -1
  256. package/dist/infra/orchestrator/PhaseResultStore.js +0 -151
  257. package/dist/infra/orchestrator/PhaseResultStore.js.map +0 -1
  258. package/dist/infra/orchestrator/SessionStore.d.ts +0 -40
  259. package/dist/infra/orchestrator/SessionStore.d.ts.map +0 -1
  260. package/dist/infra/orchestrator/SessionStore.js +0 -116
  261. package/dist/infra/orchestrator/SessionStore.js.map +0 -1
  262. package/dist/infra/orchestrator/SmartRouter.d.ts +0 -90
  263. package/dist/infra/orchestrator/SmartRouter.d.ts.map +0 -1
  264. package/dist/infra/orchestrator/SmartRouter.js +0 -277
  265. package/dist/infra/orchestrator/SmartRouter.js.map +0 -1
  266. package/dist/infra/orchestrator/SmartRouter.test.d.ts +0 -5
  267. package/dist/infra/orchestrator/SmartRouter.test.d.ts.map +0 -1
  268. package/dist/infra/orchestrator/SmartRouter.test.js +0 -484
  269. package/dist/infra/orchestrator/SmartRouter.test.js.map +0 -1
  270. package/dist/infra/orchestrator/SwarmOrchestrator.d.ts +0 -143
  271. package/dist/infra/orchestrator/SwarmOrchestrator.d.ts.map +0 -1
  272. package/dist/infra/orchestrator/SwarmOrchestrator.js +0 -378
  273. package/dist/infra/orchestrator/SwarmOrchestrator.js.map +0 -1
  274. package/dist/infra/orchestrator/SwarmOrchestrator.test.d.ts +0 -5
  275. package/dist/infra/orchestrator/SwarmOrchestrator.test.d.ts.map +0 -1
  276. package/dist/infra/orchestrator/SwarmOrchestrator.test.js +0 -95
  277. package/dist/infra/orchestrator/SwarmOrchestrator.test.js.map +0 -1
  278. package/dist/infra/orchestrator/agentDiscovery.d.ts +0 -26
  279. package/dist/infra/orchestrator/agentDiscovery.d.ts.map +0 -1
  280. package/dist/infra/orchestrator/agentDiscovery.js +0 -175
  281. package/dist/infra/orchestrator/agentDiscovery.js.map +0 -1
  282. package/dist/infra/orchestrator/backgroundAgent.d.ts +0 -9
  283. package/dist/infra/orchestrator/backgroundAgent.d.ts.map +0 -1
  284. package/dist/infra/orchestrator/backgroundAgent.js +0 -10
  285. package/dist/infra/orchestrator/backgroundAgent.js.map +0 -1
  286. package/dist/infra/orchestrator/index.d.ts +0 -207
  287. package/dist/infra/orchestrator/index.d.ts.map +0 -1
  288. package/dist/infra/orchestrator/index.js +0 -362
  289. package/dist/infra/orchestrator/index.js.map +0 -1
  290. package/dist/infra/orchestrator/orchestrator.d.ts +0 -60
  291. package/dist/infra/orchestrator/orchestrator.d.ts.map +0 -1
  292. package/dist/infra/orchestrator/orchestrator.js +0 -214
  293. package/dist/infra/orchestrator/orchestrator.js.map +0 -1
  294. package/dist/infra/orchestrator/parallelResearch.d.ts +0 -27
  295. package/dist/infra/orchestrator/parallelResearch.d.ts.map +0 -1
  296. package/dist/infra/orchestrator/parallelResearch.js +0 -285
  297. package/dist/infra/orchestrator/parallelResearch.js.map +0 -1
  298. package/dist/infra/orchestrator/types.d.ts +0 -205
  299. package/dist/infra/orchestrator/types.d.ts.map +0 -1
  300. package/dist/infra/orchestrator/types.js +0 -87
  301. package/dist/infra/orchestrator/types.js.map +0 -1
  302. package/dist/infra/orchestrator/types.test.d.ts +0 -2
  303. package/dist/infra/orchestrator/types.test.d.ts.map +0 -1
  304. package/dist/infra/orchestrator/types.test.js +0 -57
  305. package/dist/infra/orchestrator/types.test.js.map +0 -1
  306. package/dist/tools/semantic/analyzeDependencyGraph.d.ts +0 -12
  307. package/dist/tools/semantic/analyzeDependencyGraph.d.ts.map +0 -1
  308. package/dist/tools/semantic/analyzeDependencyGraph.js +0 -359
  309. package/dist/tools/semantic/analyzeDependencyGraph.js.map +0 -1
  310. package/dist/tools/semantic/astGrep.d.ts +0 -25
  311. package/dist/tools/semantic/astGrep.d.ts.map +0 -1
  312. package/dist/tools/semantic/astGrep.js +0 -324
  313. package/dist/tools/semantic/astGrep.js.map +0 -1
  314. package/dist/tools/semantic/astGrep.test.d.ts +0 -2
  315. package/dist/tools/semantic/astGrep.test.d.ts.map +0 -1
  316. package/dist/tools/semantic/astGrep.test.js +0 -74
  317. package/dist/tools/semantic/astGrep.test.js.map +0 -1
  318. package/dist/tools/semantic/findReferences.d.ts +0 -9
  319. package/dist/tools/semantic/findReferences.d.ts.map +0 -1
  320. package/dist/tools/semantic/findReferences.js +0 -200
  321. package/dist/tools/semantic/findReferences.js.map +0 -1
  322. package/dist/tools/semantic/findSymbol.d.ts +0 -8
  323. package/dist/tools/semantic/findSymbol.d.ts.map +0 -1
  324. package/dist/tools/semantic/findSymbol.js +0 -204
  325. package/dist/tools/semantic/findSymbol.js.map +0 -1
  326. package/dist/tools/semantic/index.d.ts +0 -9
  327. package/dist/tools/semantic/index.d.ts.map +0 -1
  328. package/dist/tools/semantic/index.js +0 -11
  329. package/dist/tools/semantic/index.js.map +0 -1
  330. package/dist/tools/semantic/lsp.d.ts +0 -68
  331. package/dist/tools/semantic/lsp.d.ts.map +0 -1
  332. package/dist/tools/semantic/lsp.js +0 -561
  333. package/dist/tools/semantic/lsp.js.map +0 -1
  334. package/dist/tools/spec/e2eTestGenerator.d.ts +0 -61
  335. package/dist/tools/spec/e2eTestGenerator.d.ts.map +0 -1
  336. package/dist/tools/spec/e2eTestGenerator.js +0 -255
  337. package/dist/tools/spec/e2eTestGenerator.js.map +0 -1
  338. package/dist/tools/spec/specVersioning.d.ts +0 -76
  339. package/dist/tools/spec/specVersioning.d.ts.map +0 -1
  340. package/dist/tools/spec/specVersioning.js +0 -236
  341. package/dist/tools/spec/specVersioning.js.map +0 -1
@@ -1,175 +0,0 @@
1
- /**
2
- * Agent Discovery - .codex/.claude/agents 폴더에서 에이전트 동적 탐색
3
- */
4
- import { promises as fs } from 'fs';
5
- import path from 'path';
6
- import { glob } from 'glob';
7
- import { errorLog } from '../lib/utils.js';
8
- // 에이전트 디렉토리 우선순위: .codex/agents > .claude/agents > agents
9
- const AGENTS_DIRS = ['.codex/agents', '.claude/agents', 'agents'];
10
- /**
11
- * 에이전트 마크다운 파일에서 메타데이터 추출
12
- */
13
- export function parseAgentMarkdown(content, filePath) {
14
- const lines = content.split('\n');
15
- let name = path.basename(filePath, '.md');
16
- let description = '';
17
- // 첫 번째 # 헤더에서 이름 추출
18
- for (const line of lines) {
19
- if (line.startsWith('# ')) {
20
- name = line.slice(2).trim();
21
- break;
22
- }
23
- }
24
- // 첫 번째 일반 텍스트 단락에서 설명 추출
25
- let inDescription = false;
26
- for (const line of lines) {
27
- if (line.startsWith('# ') || line.startsWith('## ')) {
28
- if (inDescription)
29
- break;
30
- inDescription = true;
31
- continue;
32
- }
33
- if (inDescription && line.trim() && !line.startsWith('#') && !line.startsWith('```')) {
34
- description = line.trim();
35
- break;
36
- }
37
- }
38
- return { name, description };
39
- }
40
- /**
41
- * 카테고리 추출 (폴더명 기반)
42
- */
43
- export function extractCategory(filePath, basePath) {
44
- const relativePath = path.relative(basePath, filePath);
45
- const parts = relativePath.split(path.sep);
46
- // agents/review/xxx.md -> review
47
- // agents/research/xxx.md -> research
48
- if (parts.length > 1) {
49
- return parts[0];
50
- }
51
- return 'general';
52
- }
53
- /**
54
- * 에이전트 동적 탐색
55
- */
56
- export async function discoverAgents(args) {
57
- const { projectPath = process.cwd(), category, pattern } = args;
58
- try {
59
- // 에이전트 디렉토리 찾기 (우선순위대로)
60
- let agentsBasePath = null;
61
- for (const dir of AGENTS_DIRS) {
62
- const candidatePath = path.join(projectPath, dir);
63
- try {
64
- await fs.access(candidatePath);
65
- agentsBasePath = candidatePath;
66
- break;
67
- }
68
- catch { /* ignore: optional operation */
69
- // 다음 경로 시도
70
- }
71
- }
72
- if (!agentsBasePath) {
73
- return {
74
- content: [{
75
- type: 'text',
76
- text: `No agents directory found. Searched: ${AGENTS_DIRS.join(', ')}. Create agents in .codex/agents/, .claude/agents/, or agents/ folder.`
77
- }]
78
- };
79
- }
80
- // 패턴 구성
81
- let searchPattern = '**/*.md';
82
- if (category) {
83
- searchPattern = `${category}/**/*.md`;
84
- }
85
- if (pattern) {
86
- searchPattern = pattern;
87
- }
88
- // 에이전트 파일 검색
89
- const agentFiles = await glob(searchPattern, {
90
- cwd: agentsBasePath,
91
- absolute: true
92
- });
93
- if (agentFiles.length === 0) {
94
- return {
95
- content: [{
96
- type: 'text',
97
- text: `No agents found matching pattern: ${searchPattern}`
98
- }]
99
- };
100
- }
101
- // 에이전트 정보 수집
102
- const agents = [];
103
- for (const filePath of agentFiles) {
104
- try {
105
- const content = await fs.readFile(filePath, 'utf-8');
106
- const metadata = parseAgentMarkdown(content, filePath);
107
- const agentCategory = extractCategory(filePath, agentsBasePath);
108
- agents.push({
109
- name: metadata.name || path.basename(filePath, '.md'),
110
- path: path.relative(projectPath, filePath),
111
- category: agentCategory,
112
- description: metadata.description || '',
113
- content
114
- });
115
- }
116
- catch (error) {
117
- // 개별 파일 에러는 무시하고 계속 진행
118
- errorLog(`Failed to read agent file: ${filePath}`, error);
119
- }
120
- }
121
- // 카테고리별 그룹핑
122
- const byCategory = agents.reduce((acc, agent) => {
123
- if (!acc[agent.category]) {
124
- acc[agent.category] = [];
125
- }
126
- acc[agent.category].push(agent);
127
- return acc;
128
- }, {});
129
- // 결과 포맷팅
130
- let summary = `## Discovered Agents (${agents.length} total)\n\n`;
131
- for (const [cat, catAgents] of Object.entries(byCategory)) {
132
- summary += `### ${cat} (${catAgents.length})\n`;
133
- for (const agent of catAgents) {
134
- summary += `- **${agent.name}**: ${agent.description || 'No description'}\n`;
135
- summary += ` Path: ${agent.path}\n`;
136
- }
137
- summary += '\n';
138
- }
139
- return {
140
- content: [{ type: 'text', text: summary }],
141
- agents // 추가 데이터로 에이전트 목록 포함
142
- };
143
- }
144
- catch (error) {
145
- return {
146
- content: [{
147
- type: 'text',
148
- text: `Failed to discover agents: ${error instanceof Error ? error.message : String(error)}`
149
- }]
150
- };
151
- }
152
- }
153
- /**
154
- * 특정 에이전트 로드
155
- */
156
- export async function loadAgent(agentName, projectPath = process.cwd()) {
157
- const result = await discoverAgents({ projectPath });
158
- if ('agents' in result) {
159
- const agents = result.agents;
160
- return agents.find(a => a.name.toLowerCase() === agentName.toLowerCase() ||
161
- a.path.includes(agentName)) || null;
162
- }
163
- return null;
164
- }
165
- /**
166
- * 카테고리별 에이전트 목록
167
- */
168
- export async function listAgentsByCategory(category, projectPath = process.cwd()) {
169
- const result = await discoverAgents({ projectPath, category });
170
- if ('agents' in result) {
171
- return result.agents;
172
- }
173
- return [];
174
- }
175
- //# sourceMappingURL=agentDiscovery.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agentDiscovery.js","sourceRoot":"","sources":["../../../src/infra/orchestrator/agentDiscovery.ts"],"names":[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OAAO,EAAE,CAAC;oBACR,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,8BAA8B,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE;iBAC7F,CAAC;SACH,CAAC;IACJ,CAAC;AACH,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,SAAS,CAAC,SAAiB,EAAE,cAAsB,OAAO,CAAC,GAAG,EAAE;IACpF,MAAM,MAAM,GAAG,MAAM,cAAc,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC;IAErD,IAAI,QAAQ,IAAI,MAAM,EAAE,CAAC;QACvB,MAAM,MAAM,GAAI,MAAqD,CAAC,MAAM,CAAC;QAC7E,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CACrB,CAAC,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK,SAAS,CAAC,WAAW,EAAE;YAChD,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAC3B,IAAI,IAAI,CAAC;IACZ,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,oBAAoB,CAAC,QAAgB,EAAE,cAAsB,OAAO,CAAC,GAAG,EAAE;IAC9F,MAAM,MAAM,GAAG,MAAM,cAAc,CAAC,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC,CAAC;IAE/D,IAAI,QAAQ,IAAI,MAAM,EAAE,CAAC;QACvB,OAAQ,MAAqD,CAAC,MAAM,CAAC;IACvE,CAAC;IAED,OAAO,EAAE,CAAC;AACZ,CAAC"}
@@ -1,9 +0,0 @@
1
- /**
2
- * Background Agent - 백그라운드 에이전트 관리 (re-export)
3
- */
4
- export { sessionStore, listActiveSessions, getSessionHistory } from './SessionStore.js';
5
- export type { SessionData } from './SessionStore.js';
6
- export { launchBackgroundAgent, getBackgroundAgentResult, cancelBackgroundAgent, launchParallelAgents } from './AgentExecutor.js';
7
- export { backgroundManager, launch, poll, cancel, getStats, QueueOverflowError, TaskTimeoutError, PipelineTimeoutError, AgentExecutionError } from './BackgroundManager.js';
8
- export type { TaskStatus, TaskInfo, QueueStats } from './BackgroundManager.js';
9
- //# sourceMappingURL=backgroundAgent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"backgroundAgent.d.ts","sourceRoot":"","sources":["../../../src/infra/orchestrator/backgroundAgent.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGrD,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EACxB,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EACL,iBAAiB,EACjB,MAAM,EACN,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,kBAAkB,EAClB,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACpB,MAAM,wBAAwB,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC"}
@@ -1,10 +0,0 @@
1
- /**
2
- * Background Agent - 백그라운드 에이전트 관리 (re-export)
3
- */
4
- // SessionStore
5
- export { sessionStore, listActiveSessions, getSessionHistory } from './SessionStore.js';
6
- // AgentExecutor
7
- export { launchBackgroundAgent, getBackgroundAgentResult, cancelBackgroundAgent, launchParallelAgents } from './AgentExecutor.js';
8
- // BackgroundManager
9
- export { backgroundManager, launch, poll, cancel, getStats, QueueOverflowError, TaskTimeoutError, PipelineTimeoutError, AgentExecutionError } from './BackgroundManager.js';
10
- //# sourceMappingURL=backgroundAgent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"backgroundAgent.js","sourceRoot":"","sources":["../../../src/infra/orchestrator/backgroundAgent.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAe;AACf,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,mBAAmB,CAAC;AAG3B,gBAAgB;AAChB,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EACxB,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,oBAAoB,CAAC;AAE5B,oBAAoB;AACpB,OAAO,EACL,iBAAiB,EACjB,MAAM,EACN,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,kBAAkB,EAClB,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACpB,MAAM,wBAAwB,CAAC"}
@@ -1,207 +0,0 @@
1
- /**
2
- * VIBE Orchestrator - Agent SDK 기반 멀티 에이전트 오케스트레이션
3
- *
4
- * 사용법 (hooks에서):
5
- * node -e "import('@su-record/vibe/orchestrator').then(o => o.parallelResearch({...})).then(console.log)"
6
- *
7
- * 사용법 (코드에서):
8
- * import { CoreOrchestrator, parallelResearch } from '@su-record/vibe/orchestrator';
9
- */
10
- export type { AgentConfig, AgentResult, ResearchTask, ParallelResearchArgs, ParallelResearchResult, BackgroundAgentArgs, BackgroundAgentHandle, DiscoveredAgent, AgentDiscoveryArgs, SessionInfo, OrchestratorOptions, AgentMessage, TaskType, LLMProvider, SmartRouteRequest, SmartRouteResult, LLMAvailabilityCache, MultiLlmResult, MultiLlmResearchResult } from './types.js';
11
- export { TASK_LLM_PRIORITY } from './types.js';
12
- export { discoverAgents, loadAgent, listAgentsByCategory, parseAgentMarkdown, extractCategory } from './agentDiscovery.js';
13
- export { AgentManifestCache } from './AgentManifestCache.js';
14
- export type { AgentManifest, CachedFullAgent, AgentCacheStats } from './AgentManifestCache.js';
15
- export { parallelResearch, researchFeature, createResearchTasks, parallelResearchWithMultiLlm, executeMultiLlmResearch, formatMultiLlmResults } from './parallelResearch.js';
16
- export { launchBackgroundAgent, getBackgroundAgentResult, cancelBackgroundAgent, listActiveSessions, getSessionHistory, launchParallelAgents, backgroundManager, launch, poll, cancel, getStats, QueueOverflowError, TaskTimeoutError, PipelineTimeoutError, AgentExecutionError } from './backgroundAgent.js';
17
- export type { TaskStatus, TaskInfo, QueueStats } from './backgroundAgent.js';
18
- export { CoreOrchestrator, getOrchestrator } from './orchestrator.js';
19
- export { SmartRouter, SmartRouterOptions, getSmartRouter, AllProvidersFailedError } from './SmartRouter.js';
20
- export { LLMCluster, LLMClusterOptions, MultiLlmQueryResult, LlmStatusResult, getLLMCluster } from './LLMCluster.js';
21
- export { AgentManager, AgentManagerOptions, getAgentManager } from './AgentManager.js';
22
- export { AgentAnnouncer, agentAnnouncer } from './AgentAnnouncer.js';
23
- export type { AgentStartEvent, AgentCompleteEvent, AgentErrorEvent, AgentStats } from './AgentAnnouncer.js';
24
- export { AgentRegistry } from './AgentRegistry.js';
25
- export type { AgentExecution, AgentHistoryItem, AgentStatsSummary, GlobalAgentStats } from './AgentRegistry.js';
26
- export { PhasePipeline, createStage, createPipeline, createUltraworkPipeline, pipelineResultToToolResult } from './PhasePipeline.js';
27
- export type { PipelineStage, StageContext, StageResult, PipelineOptions, PipelineResult } from './PhasePipeline.js';
28
- export { PhaseResultStore } from './PhaseResultStore.js';
29
- export type { PhaseResultFile } from './PhaseResultStore.js';
30
- export { CheckpointManager } from './CheckpointManager.js';
31
- export type { CheckpointGate } from './CheckpointManager.js';
32
- export { SwarmOrchestrator, swarm, analyzeTaskComplexity } from './SwarmOrchestrator.js';
33
- export type { SwarmConfig, SwarmTask, SwarmResult } from './SwarmOrchestrator.js';
34
- import { ToolResult } from '../types/tool.js';
35
- /**
36
- * 기능 기반 병렬 리서치 (간편 API)
37
- *
38
- * @example
39
- * node -e "import('@su-record/vibe/orchestrator').then(o => o.research('login feature', ['React', 'TypeScript'])).then(console.log)"
40
- */
41
- export declare function research(feature: string, techStack?: string[], projectPath?: string): Promise<ToolResult>;
42
- /**
43
- * 백그라운드 에이전트 시작 (간편 API)
44
- *
45
- * @example
46
- * node -e "import('@su-record/vibe/orchestrator').then(o => o.runAgent('Fix the login bug', 'bug-fixer')).then(console.log)"
47
- */
48
- export declare function runAgent(prompt: string, agentName?: string, projectPath?: string): Promise<ToolResult>;
49
- /**
50
- * 에이전트 결과 조회 (간편 API)
51
- *
52
- * @example
53
- * node -e "import('@su-record/vibe/orchestrator').then(o => o.getResult('session-id')).then(console.log)"
54
- */
55
- export declare function getResult(sessionId: string): Promise<ToolResult>;
56
- /**
57
- * 에이전트 목록 조회 (간편 API)
58
- *
59
- * @example
60
- * node -e "import('@su-record/vibe/orchestrator').then(o => o.listAgents()).then(console.log)"
61
- */
62
- export declare function listAgents(category?: string, projectPath?: string): Promise<ToolResult>;
63
- /**
64
- * 병렬 리뷰 실행 (간편 API)
65
- *
66
- * @example
67
- * node -e "import('@su-record/vibe/orchestrator').then(o => o.review(['src/api/user.ts'], ['TypeScript'])).then(console.log)"
68
- */
69
- export declare function review(filePaths: string[], techStack?: string[], projectPath?: string): Promise<ToolResult>;
70
- /**
71
- * 오케스트레이터 상태 확인
72
- *
73
- * @example
74
- * node -e "import('@su-record/vibe/orchestrator').then(o => o.status()).then(console.log)"
75
- */
76
- export declare function status(): ToolResult;
77
- /**
78
- * GPT 질문 (간편 API) - 웹 검색 없음, Antigravity로 위임
79
- *
80
- * @example
81
- * node -e "import('@su-record/vibe/orchestrator').then(o => o.gptSearch('React 19 features')).then(console.log)"
82
- * @deprecated GPT Codex API는 웹 검색을 지원하지 않습니다. antigravitySearch를 사용하세요.
83
- */
84
- export declare function gptSearch(query: string): Promise<ToolResult>;
85
- /**
86
- * GPT 오케스트레이션 (간편 API)
87
- *
88
- * @example
89
- * node -e "import('@su-record/vibe/orchestrator').then(o => o.gpt('Analyze this architecture')).then(console.log)"
90
- */
91
- export declare function gpt(prompt: string, systemPrompt?: string): Promise<ToolResult>;
92
- /**
93
- * Antigravity 웹 검색 (간편 API)
94
- *
95
- * @example
96
- * node -e "import('@su-record/vibe/orchestrator').then(o => o.antigravitySearch('React 19 features')).then(console.log)"
97
- */
98
- export declare function antigravitySearch(query: string): Promise<ToolResult>;
99
- /**
100
- * Antigravity 오케스트레이션 (간편 API)
101
- *
102
- * @example
103
- * node -e "import('@su-record/vibe/orchestrator').then(o => o.antigravity('Review this UI')).then(console.log)"
104
- */
105
- export declare function antigravity(prompt: string, systemPrompt?: string): Promise<ToolResult>;
106
- /**
107
- * 멀티 LLM 병렬 쿼리 (간편 API)
108
- * GPT, Antigravity 동시 호출
109
- *
110
- * @example
111
- * node -e "import('@su-record/vibe/orchestrator').then(o => o.multiLlm('Review this code')).then(console.log)"
112
- */
113
- export declare function multiLlm(prompt: string, options?: {
114
- useGpt?: boolean;
115
- useAntigravity?: boolean;
116
- }): Promise<ToolResult>;
117
- /**
118
- * LLM 상태 확인 (간편 API)
119
- *
120
- * @example
121
- * node -e "import('@su-record/vibe/orchestrator').then(o => o.llmStatus()).then(console.log)"
122
- */
123
- export declare function llmStatus(): Promise<ToolResult>;
124
- import type { TaskType, SmartRouteResult } from './types.js';
125
- /**
126
- * 스마트 라우팅 - 작업 유형에 따라 최적의 LLM 선택 + 자동 fallback
127
- * systemPrompt 미지정 시 작업 유형별 기본값(TASK_SYSTEM_PROMPTS SSOT)을 사용한다.
128
- *
129
- * @example
130
- * node -e "import('@su-record/vibe/orchestrator').then(o => o.smartRoute({type:'architecture',prompt:'Review this design'})).then(console.log)"
131
- */
132
- export declare function smartRoute(type: TaskType, prompt: string, systemPrompt?: string): Promise<ToolResult & {
133
- result: SmartRouteResult;
134
- }>;
135
- /**
136
- * 아키텍처 분석 with fallback (GPT → Antigravity → Claude)
137
- *
138
- * @example
139
- * node -e "import('@su-record/vibe/orchestrator').then(o => o.smartArchitecture('Review this system design')).then(console.log)"
140
- */
141
- export declare function smartArchitecture(prompt: string): Promise<ToolResult & {
142
- result: SmartRouteResult;
143
- }>;
144
- /**
145
- * UI/UX 분석 with fallback (Antigravity → GPT → Claude)
146
- *
147
- * @example
148
- * node -e "import('@su-record/vibe/orchestrator').then(o => o.smartUiux('Improve this form UX')).then(console.log)"
149
- */
150
- export declare function smartUiux(prompt: string): Promise<ToolResult & {
151
- result: SmartRouteResult;
152
- }>;
153
- /**
154
- * 코드 분석 with fallback (Antigravity → GPT → Claude)
155
- *
156
- * @example
157
- * node -e "import('@su-record/vibe/orchestrator').then(o => o.smartCodeAnalysis('Analyze this code')).then(console.log)"
158
- */
159
- export declare function smartCodeAnalysis(prompt: string): Promise<ToolResult & {
160
- result: SmartRouteResult;
161
- }>;
162
- /**
163
- * 디버깅 with fallback (GPT → Antigravity → Claude)
164
- *
165
- * @example
166
- * node -e "import('@su-record/vibe/orchestrator').then(o => o.smartDebugging('Find bugs in this code')).then(console.log)"
167
- */
168
- export declare function smartDebugging(prompt: string): Promise<ToolResult & {
169
- result: SmartRouteResult;
170
- }>;
171
- /**
172
- * 웹 검색 with fallback (GPT → Antigravity → Claude)
173
- *
174
- * @example
175
- * node -e "import('@su-record/vibe/orchestrator').then(o => o.smartWebSearch('React 19 new features')).then(console.log)"
176
- */
177
- export declare function smartWebSearch(query: string): Promise<ToolResult & {
178
- result: SmartRouteResult;
179
- }>;
180
- /**
181
- * 코드 생성 with fallback (Claude 직접)
182
- *
183
- * @example
184
- * node -e "import('@su-record/vibe/orchestrator').then(o => o.smartCodeGen('Create a React button component')).then(console.log)"
185
- */
186
- export declare function smartCodeGen(description: string, context?: string): Promise<ToolResult & {
187
- result: SmartRouteResult;
188
- }>;
189
- /**
190
- * 코드 리뷰 with fallback (GPT → Antigravity → Claude)
191
- *
192
- * @example
193
- * node -e "import('@su-record/vibe/orchestrator').then(o => o.smartCodeReview('Review this PR')).then(console.log)"
194
- */
195
- export declare function smartCodeReview(prompt: string): Promise<ToolResult & {
196
- result: SmartRouteResult;
197
- }>;
198
- /**
199
- * 추론/분석 with fallback (GPT → Antigravity → Claude)
200
- *
201
- * @example
202
- * node -e "import('@su-record/vibe/orchestrator').then(o => o.smartReasoning('Analyze this problem')).then(console.log)"
203
- */
204
- export declare function smartReasoning(prompt: string): Promise<ToolResult & {
205
- result: SmartRouteResult;
206
- }>;
207
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/infra/orchestrator/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,YAAY,EACV,WAAW,EACX,WAAW,EACX,YAAY,EACZ,oBAAoB,EACpB,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,EACrB,eAAe,EACf,kBAAkB,EAClB,WAAW,EACX,mBAAmB,EACnB,YAAY,EAEZ,QAAQ,EACR,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,EAEpB,cAAc,EACd,sBAAsB,EACvB,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAG/C,OAAO,EACL,cAAc,EACd,SAAS,EACT,oBAAoB,EACpB,kBAAkB,EAClB,eAAe,EAChB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAG/F,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,mBAAmB,EAEnB,4BAA4B,EAC5B,uBAAuB,EACvB,qBAAqB,EACtB,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EACxB,qBAAqB,EACrB,kBAAkB,EAClB,iBAAiB,EACjB,oBAAoB,EAEpB,iBAAiB,EACjB,MAAM,EACN,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,kBAAkB,EAClB,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACpB,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAG7E,OAAO,EACL,g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