@liangjie559567/ultrapower 5.6.0 → 5.6.2

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 (902) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/LICENSE +21 -21
  4. package/bridge/gyoshu_bridge.py +846 -846
  5. package/dist/features/ccg/ccg-skill.d.ts.map +1 -1
  6. package/dist/features/ccg/ccg-skill.js +6 -2
  7. package/dist/features/ccg/ccg-skill.js.map +1 -1
  8. package/dist/features/ccg/structure-analyzer.d.ts +9 -0
  9. package/dist/features/ccg/structure-analyzer.d.ts.map +1 -0
  10. package/dist/features/ccg/structure-analyzer.js +74 -0
  11. package/dist/features/ccg/structure-analyzer.js.map +1 -0
  12. package/dist/features/ccg/task-assigner.d.ts +9 -0
  13. package/dist/features/ccg/task-assigner.d.ts.map +1 -0
  14. package/dist/features/ccg/task-assigner.js +43 -0
  15. package/dist/features/ccg/task-assigner.js.map +1 -0
  16. package/dist/features/ccg/tech-stack-detector.d.ts +8 -0
  17. package/dist/features/ccg/tech-stack-detector.d.ts.map +1 -0
  18. package/dist/features/ccg/tech-stack-detector.js +71 -0
  19. package/dist/features/ccg/tech-stack-detector.js.map +1 -0
  20. package/dist/features/ccg/workflow-router.d.ts +8 -0
  21. package/dist/features/ccg/workflow-router.d.ts.map +1 -1
  22. package/dist/features/ccg/workflow-router.js +8 -0
  23. package/dist/features/ccg/workflow-router.js.map +1 -1
  24. package/dist/hooks/ultrapilot/index.d.ts +14 -1
  25. package/dist/hooks/ultrapilot/index.d.ts.map +1 -1
  26. package/dist/hooks/ultrapilot/index.js +47 -12
  27. package/dist/hooks/ultrapilot/index.js.map +1 -1
  28. package/dist/hooks/ultrapilot/types.d.ts +4 -0
  29. package/dist/hooks/ultrapilot/types.d.ts.map +1 -1
  30. package/dist/hooks/ultrapilot/types.js +3 -1
  31. package/dist/hooks/ultrapilot/types.js.map +1 -1
  32. package/dist/mcp/adapters/memory-adapter.d.ts +2 -2
  33. package/dist/mcp/adapters/state-adapter.d.ts +5 -5
  34. package/dist/mcp/adapters/trace-adapter.d.ts +3 -3
  35. package/dist/mcp/config/schema.d.ts +3 -3
  36. package/dist/mcp/config-schema.d.ts +3 -3
  37. package/docs/CLAUDE.md +1 -1
  38. package/docs/api/assets/highlight.css +85 -85
  39. package/docs/api/assets/style.css +1633 -1633
  40. package/docs/api/classes/ContextCollector.html +21 -21
  41. package/docs/api/functions/activateUltrawork.html +2 -2
  42. package/docs/api/functions/addCustomNote.html +5 -5
  43. package/docs/api/functions/addDirective.html +2 -2
  44. package/docs/api/functions/addManualEntry.html +2 -2
  45. package/docs/api/functions/addPattern.html +3 -3
  46. package/docs/api/functions/addWorker.html +2 -2
  47. package/docs/api/functions/addWorkingMemoryEntry.html +2 -2
  48. package/docs/api/functions/analyzeContextUsage.html +2 -2
  49. package/docs/api/functions/appendProgress.html +2 -2
  50. package/docs/api/functions/appendSessionId.html +2 -2
  51. package/docs/api/functions/applyCommentFilters.html +3 -3
  52. package/docs/api/functions/assignFileToWorker.html +2 -2
  53. package/docs/api/functions/backgroundUpdateCheck.html +2 -2
  54. package/docs/api/functions/buildAxiomBootContext.html +1 -1
  55. package/docs/api/functions/buildBoulderContinuation.html +2 -2
  56. package/docs/api/functions/buildDelegationTable.html +2 -2
  57. package/docs/api/functions/buildKeyTriggersSection.html +2 -2
  58. package/docs/api/functions/buildOrchestratorReminder.html +2 -2
  59. package/docs/api/functions/buildUseAvoidSection.html +2 -2
  60. package/docs/api/functions/buildVerificationReminder.html +2 -2
  61. package/docs/api/functions/canResumeAutopilot.html +10 -10
  62. package/docs/api/functions/canStartMode.html +5 -5
  63. package/docs/api/functions/cancelAutopilot.html +3 -3
  64. package/docs/api/functions/cancelUltraQA.html +2 -2
  65. package/docs/api/functions/checkBackgroundNotifications.html +2 -2
  66. package/docs/api/functions/checkBoulderContinuation.html +2 -2
  67. package/docs/api/functions/checkDuplicateTriggers.html +2 -2
  68. package/docs/api/functions/checkExpertGate.html +1 -1
  69. package/docs/api/functions/checkForComments.html +2 -2
  70. package/docs/api/functions/checkForUpdates.html +2 -2
  71. package/docs/api/functions/checkIncompleteTodos.html +13 -13
  72. package/docs/api/functions/checkPersistentModes.html +3 -3
  73. package/docs/api/functions/cleanupOrphanedState.html +2 -2
  74. package/docs/api/functions/cleanupStaleAgents.html +2 -2
  75. package/docs/api/functions/cleanupTransientState.html +2 -2
  76. package/docs/api/functions/clearAgentUsageState.html +1 -1
  77. package/docs/api/functions/clearAllModeStates.html +2 -2
  78. package/docs/api/functions/clearAutopilot.html +2 -2
  79. package/docs/api/functions/clearAutopilotState.html +2 -2
  80. package/docs/api/functions/clearBeadsContext.html +2 -2
  81. package/docs/api/functions/clearBoulderState.html +2 -2
  82. package/docs/api/functions/clearDetectionState.html +2 -2
  83. package/docs/api/functions/clearInjectedPaths.html +2 -2
  84. package/docs/api/functions/clearInjectedRules.html +2 -2
  85. package/docs/api/functions/clearLinkedUltraworkState.html +2 -2
  86. package/docs/api/functions/clearModeState.html +10 -10
  87. package/docs/api/functions/clearProjectMemorySession.html +4 -4
  88. package/docs/api/functions/clearRalphState.html +2 -2
  89. package/docs/api/functions/clearRapidFireDebounce.html +2 -2
  90. package/docs/api/functions/clearSkillSession.html +2 -2
  91. package/docs/api/functions/clearThinkModeState.html +2 -2
  92. package/docs/api/functions/clearTrackingState.html +2 -2
  93. package/docs/api/functions/clearUltraQAState.html +2 -2
  94. package/docs/api/functions/clearVerificationState.html +3 -3
  95. package/docs/api/functions/commandExists.html +2 -2
  96. package/docs/api/functions/compareVersions.html +3 -3
  97. package/docs/api/functions/completeUltraQA.html +2 -2
  98. package/docs/api/functions/completeUltrapilot.html +2 -2
  99. package/docs/api/functions/completeWorker.html +2 -2
  100. package/docs/api/functions/containsTokenLimitError.html +2 -2
  101. package/docs/api/functions/createAgentToolRestrictions.html +3 -3
  102. package/docs/api/functions/createAgentUsageReminderHook.html +1 -1
  103. package/docs/api/functions/createAutoSlashCommandHook.html +7 -7
  104. package/docs/api/functions/createBackgroundNotificationHook.html +7 -7
  105. package/docs/api/functions/createBackgroundTaskManager.html +2 -2
  106. package/docs/api/functions/createBoulderState.html +2 -2
  107. package/docs/api/functions/createCommentCheckerHook.html +6 -6
  108. package/docs/api/functions/createCompactCheckpoint.html +2 -2
  109. package/docs/api/functions/createContentHash.html +2 -2
  110. package/docs/api/functions/createContextInjectorHook.html +7 -7
  111. package/docs/api/functions/createDirectoryReadmeInjectorHook.html +9 -9
  112. package/docs/api/functions/createEmptyMessageSanitizerHook.html +6 -6
  113. package/docs/api/functions/createEnvContext.html +2 -2
  114. package/docs/api/functions/createHookOutput.html +4 -4
  115. package/docs/api/functions/createLearnedSkillsHook.html +6 -6
  116. package/docs/api/functions/createMagicKeywordProcessor.html +2 -2
  117. package/docs/api/functions/createModeMarker.html +6 -6
  118. package/docs/api/functions/createPrd.html +2 -2
  119. package/docs/api/functions/createPreemptiveCompactionHook.html +6 -6
  120. package/docs/api/functions/createRalphLoopHook.html +2 -2
  121. package/docs/api/functions/createRecoveryHook.html +7 -7
  122. package/docs/api/functions/createRulesInjectorHook.html +8 -8
  123. package/docs/api/functions/createSimplePrd.html +2 -2
  124. package/docs/api/functions/createSisyphusOrchestratorHook.html +7 -7
  125. package/docs/api/functions/createSisyphusSession.html +7 -7
  126. package/docs/api/functions/createThinkModeHook.html +7 -7
  127. package/docs/api/functions/createThinkingBlockValidatorHook.html +1 -1
  128. package/docs/api/functions/createTodoContinuationHook.html +2 -2
  129. package/docs/api/functions/createUltraworkStateHook.html +2 -2
  130. package/docs/api/functions/deactivateUltrawork.html +8 -8
  131. package/docs/api/functions/decayHotPaths.html +2 -2
  132. package/docs/api/functions/decomposeTask.html +11 -11
  133. package/docs/api/functions/deepMerge.html +2 -2
  134. package/docs/api/functions/detectArchitectApproval.html +2 -2
  135. package/docs/api/functions/detectArchitectRejection.html +2 -2
  136. package/docs/api/functions/detectContextLimitError.html +2 -2
  137. package/docs/api/functions/detectContextLimitErrorInText.html +2 -2
  138. package/docs/api/functions/detectDirectivesFromMessage.html +2 -2
  139. package/docs/api/functions/detectEditError.html +2 -2
  140. package/docs/api/functions/detectEditErrorInOutput.html +2 -2
  141. package/docs/api/functions/detectEditErrorInText.html +2 -2
  142. package/docs/api/functions/detectExtractableMoment.html +2 -2
  143. package/docs/api/functions/detectKeywordsWithType.html +11 -11
  144. package/docs/api/functions/detectMagicKeywords.html +2 -2
  145. package/docs/api/functions/detectProjectEnvironment.html +2 -2
  146. package/docs/api/functions/detectRecoverableError.html +3 -3
  147. package/docs/api/functions/detectSessionErrorType.html +2 -2
  148. package/docs/api/functions/detectSlashCommand.html +3 -3
  149. package/docs/api/functions/detectThinkKeyword.html +2 -2
  150. package/docs/api/functions/detectUltrathinkKeyword.html +2 -2
  151. package/docs/api/functions/discoverAllCommands.html +2 -2
  152. package/docs/api/functions/enablePrdMode.html +2 -2
  153. package/docs/api/functions/enhancePrompt.html +2 -2
  154. package/docs/api/functions/ensureAutopilotDir.html +2 -2
  155. package/docs/api/functions/ensureDirectoryStructure.html +2 -2
  156. package/docs/api/functions/ensureModeStateDir.html +2 -2
  157. package/docs/api/functions/ensureSkillsDir.html +2 -2
  158. package/docs/api/functions/estimateTokens.html +2 -2
  159. package/docs/api/functions/executeSlashCommand.html +2 -2
  160. package/docs/api/functions/expandCommand.html +8 -8
  161. package/docs/api/functions/expandCommandPrompt.html +6 -6
  162. package/docs/api/functions/expandCommands.html +2 -2
  163. package/docs/api/functions/exportSessionSummary.html +2 -2
  164. package/docs/api/functions/exportWisdomToNotepad.html +2 -2
  165. package/docs/api/functions/extractPromptText.html +11 -11
  166. package/docs/api/functions/extractSlashPromptText.html +2 -2
  167. package/docs/api/functions/extractThinkPromptText.html +2 -2
  168. package/docs/api/functions/failWorker.html +2 -2
  169. package/docs/api/functions/findCommand.html +2 -2
  170. package/docs/api/functions/findMatchingSkills.html +2 -2
  171. package/docs/api/functions/findPlannerPlans.html +3 -3
  172. package/docs/api/functions/findPrdPath.html +2 -2
  173. package/docs/api/functions/findPreviousThinkingContent.html +1 -1
  174. package/docs/api/functions/findProgressPath.html +2 -2
  175. package/docs/api/functions/findProjectRoot.html +3 -3
  176. package/docs/api/functions/findRecoveryEmptyMessages.html +2 -2
  177. package/docs/api/functions/findRecoveryOrphanThinking.html +2 -2
  178. package/docs/api/functions/findRecoveryThinkingBlocks.html +2 -2
  179. package/docs/api/functions/findRuleFiles.html +4 -4
  180. package/docs/api/functions/findSkillFiles.html +3 -3
  181. package/docs/api/functions/formatCancelMessage.html +2 -2
  182. package/docs/api/functions/formatCompactSummary.html +2 -2
  183. package/docs/api/functions/formatContextSummary.html +3 -3
  184. package/docs/api/functions/formatDirectivesForContext.html +2 -2
  185. package/docs/api/functions/formatFailureSummary.html +2 -2
  186. package/docs/api/functions/formatFile.html +2 -2
  187. package/docs/api/functions/formatFileChanges.html +2 -2
  188. package/docs/api/functions/formatFileList.html +2 -2
  189. package/docs/api/functions/formatFullContext.html +2 -2
  190. package/docs/api/functions/formatFullNotepad.html +2 -2
  191. package/docs/api/functions/formatLearningsForContext.html +2 -2
  192. package/docs/api/functions/formatNextStoryPrompt.html +2 -2
  193. package/docs/api/functions/formatNotepadContext.html +2 -2
  194. package/docs/api/functions/formatPatternsForContext.html +2 -2
  195. package/docs/api/functions/formatPrd.html +2 -2
  196. package/docs/api/functions/formatPrdStatus.html +2 -2
  197. package/docs/api/functions/formatPreCompactSummary.html +2 -2
  198. package/docs/api/functions/formatProgressForContext.html +2 -2
  199. package/docs/api/functions/formatProgressMessage.html +2 -2
  200. package/docs/api/functions/formatStory.html +2 -2
  201. package/docs/api/functions/formatSummary.html +2 -2
  202. package/docs/api/functions/formatUpdateNotification.html +2 -2
  203. package/docs/api/functions/formatValidationResults.html +2 -2
  204. package/docs/api/functions/generateExtractionPrompt.html +2 -2
  205. package/docs/api/functions/generateSkillFrontmatter.html +2 -2
  206. package/docs/api/functions/generateSummary.html +2 -2
  207. package/docs/api/functions/getActiveAgentCount.html +2 -2
  208. package/docs/api/functions/getActiveExclusiveMode.html +4 -4
  209. package/docs/api/functions/getActiveModes.html +2 -2
  210. package/docs/api/functions/getActivePlanPath.html +2 -2
  211. package/docs/api/functions/getAgentDefinitions.html +2 -2
  212. package/docs/api/functions/getAgentsByType.html +2 -2
  213. package/docs/api/functions/getAllCommands.html +2 -2
  214. package/docs/api/functions/getAllModeStatuses.html +5 -5
  215. package/docs/api/functions/getAllSkills.html +2 -2
  216. package/docs/api/functions/getArchitectRejectionContinuationPrompt.html +2 -2
  217. package/docs/api/functions/getArchitectVerificationPrompt.html +2 -2
  218. package/docs/api/functions/getAutoFormatMessage.html +2 -2
  219. package/docs/api/functions/getAutopilotStateAge.html +3 -3
  220. package/docs/api/functions/getAvailableAgents.html +2 -2
  221. package/docs/api/functions/getAxiomDir.html +1 -1
  222. package/docs/api/functions/getBackgroundTaskGuidance.html +4 -4
  223. package/docs/api/functions/getBeadsContextConfig.html +2 -2
  224. package/docs/api/functions/getBeadsInstructions.html +2 -2
  225. package/docs/api/functions/getBoulderFilePath.html +2 -2
  226. package/docs/api/functions/getCheckpointPath.html +2 -2
  227. package/docs/api/functions/getClaudeThinkingConfig.html +3 -3
  228. package/docs/api/functions/getCommand.html +2 -2
  229. package/docs/api/functions/getCommandsDir.html +2 -2
  230. package/docs/api/functions/getCompactionQueueDepth.html +3 -3
  231. package/docs/api/functions/getCompletedWorkers.html +2 -2
  232. package/docs/api/functions/getDefaultMcpServers.html +1 -1
  233. package/docs/api/functions/getDefaultModelForCategory.html +2 -2
  234. package/docs/api/functions/getDetectionStats.html +2 -2
  235. package/docs/api/functions/getDirectPlanningPrompt.html +3 -3
  236. package/docs/api/functions/getExecutionPrompt.html +2 -2
  237. package/docs/api/functions/getExpansionPrompt.html +3 -3
  238. package/docs/api/functions/getExpertGateMessage.html +1 -1
  239. package/docs/api/functions/getFailedWorkers.html +2 -2
  240. package/docs/api/functions/getFormatter.html +2 -2
  241. package/docs/api/functions/getGitDiffStats.html +2 -2
  242. package/docs/api/functions/getGlobalStateFilePath.html +4 -4
  243. package/docs/api/functions/getGoalCommand.html +2 -2
  244. package/docs/api/functions/getHighVariant.html +3 -3
  245. package/docs/api/functions/getInstallInfo.html +2 -2
  246. package/docs/api/functions/getInstalledVersion.html +2 -2
  247. package/docs/api/functions/getIssuesToFix.html +2 -2
  248. package/docs/api/functions/getLastDetection.html +2 -2
  249. package/docs/api/functions/getLearnerConfigValue.html +2 -2
  250. package/docs/api/functions/getLinter.html +2 -2
  251. package/docs/api/functions/getManualSection.html +2 -2
  252. package/docs/api/functions/getMemoryFilePaths.html +1 -1
  253. package/docs/api/functions/getModeMarkerFilePath.html +2 -2
  254. package/docs/api/functions/getModeStateFilePath.html +2 -2
  255. package/docs/api/functions/getNextStory.html +2 -2
  256. package/docs/api/functions/getNotepadPath.html +2 -2
  257. package/docs/api/functions/getNotepadStats.html +2 -2
  258. package/docs/api/functions/getOmcPrdPath.html +2 -2
  259. package/docs/api/functions/getOmcProgressPath.html +2 -2
  260. package/docs/api/functions/getOmcSystemPrompt.html +2 -2
  261. package/docs/api/functions/getOmcToolNames.html +3 -3
  262. package/docs/api/functions/getPatterns.html +2 -2
  263. package/docs/api/functions/getPhasePrompt.html +2 -2
  264. package/docs/api/functions/getPlanName.html +2 -2
  265. package/docs/api/functions/getPlanPath.html +2 -2
  266. package/docs/api/functions/getPlanProgress.html +2 -2
  267. package/docs/api/functions/getPlanSummaries.html +2 -2
  268. package/docs/api/functions/getPrdCompletionStatus.html +2 -2
  269. package/docs/api/functions/getPrdPath.html +2 -2
  270. package/docs/api/functions/getPrdStatus.html +2 -2
  271. package/docs/api/functions/getPreCommitReminderMessage.html +2 -2
  272. package/docs/api/functions/getPriorityContext.html +2 -2
  273. package/docs/api/functions/getProgressContext.html +2 -2
  274. package/docs/api/functions/getProgressPath.html +2 -2
  275. package/docs/api/functions/getPromotionCandidates.html +2 -2
  276. package/docs/api/functions/getQAPrompt.html +2 -2
  277. package/docs/api/functions/getRalphContext.html +3 -3
  278. package/docs/api/functions/getReadmesForPath.html +2 -2
  279. package/docs/api/functions/getRecentLearnings.html +2 -2
  280. package/docs/api/functions/getRulesForPath.html +2 -2
  281. package/docs/api/functions/getRunningAgents.html +2 -2
  282. package/docs/api/functions/getRunningWorkers.html +2 -2
  283. package/docs/api/functions/getSessionTokenEstimate.html +2 -2
  284. package/docs/api/functions/getSkillsDir.html +2 -2
  285. package/docs/api/functions/getSpecPath.html +2 -2
  286. package/docs/api/functions/getStaleAgents.html +2 -2
  287. package/docs/api/functions/getStateDir.html +2 -2
  288. package/docs/api/functions/getStory.html +2 -2
  289. package/docs/api/functions/getSubagentStateFilePath.html +2 -2
  290. package/docs/api/functions/getThinkModeState.html +2 -2
  291. package/docs/api/functions/getThinkingConfig.html +3 -3
  292. package/docs/api/functions/getTopHotPaths.html +2 -2
  293. package/docs/api/functions/getTrackingStats.html +2 -2
  294. package/docs/api/functions/getTransitionPrompt.html +2 -2
  295. package/docs/api/functions/getUltraworkPersistenceMessage.html +2 -2
  296. package/docs/api/functions/getValidationPrompt.html +2 -2
  297. package/docs/api/functions/getValidationSpawnPrompt.html +2 -2
  298. package/docs/api/functions/getValidationStats.html +1 -1
  299. package/docs/api/functions/getValidationStatus.html +2 -2
  300. package/docs/api/functions/getWorkingMemory.html +2 -2
  301. package/docs/api/functions/handleBackgroundEvent.html +3 -3
  302. package/docs/api/functions/handleContextWindowRecovery.html +2 -2
  303. package/docs/api/functions/handleEditErrorRecovery.html +2 -2
  304. package/docs/api/functions/handlePermissionRequest.html +2 -2
  305. package/docs/api/functions/handleRecovery.html +10 -10
  306. package/docs/api/functions/handleSessionEnd.html +2 -2
  307. package/docs/api/functions/handleSessionRecovery.html +2 -2
  308. package/docs/api/functions/handleSharedFiles.html +7 -7
  309. package/docs/api/functions/handleSubagentStart.html +2 -2
  310. package/docs/api/functions/handleSubagentStop.html +2 -2
  311. package/docs/api/functions/hasBoulder.html +2 -2
  312. package/docs/api/functions/hasContentParts.html +1 -1
  313. package/docs/api/functions/hasModeState.html +3 -3
  314. package/docs/api/functions/hasPrd.html +2 -2
  315. package/docs/api/functions/hasTextContent.html +2 -2
  316. package/docs/api/functions/hasValidContent.html +3 -3
  317. package/docs/api/functions/incrementAgentCount.html +2 -2
  318. package/docs/api/functions/incrementRalphIteration.html +2 -2
  319. package/docs/api/functions/incrementReinforcement.html +2 -2
  320. package/docs/api/functions/initAutopilot.html +2 -2
  321. package/docs/api/functions/initNotepad.html +2 -2
  322. package/docs/api/functions/initPrd.html +2 -2
  323. package/docs/api/functions/initProgress.html +2 -2
  324. package/docs/api/functions/initUltrapilot.html +2 -2
  325. package/docs/api/functions/injectContextIntoText.html +2 -2
  326. package/docs/api/functions/injectPendingContext.html +3 -3
  327. package/docs/api/functions/injectRecoveryTextPart.html +2 -2
  328. package/docs/api/functions/install.html +2 -2
  329. package/docs/api/functions/integrateResults.html +5 -5
  330. package/docs/api/functions/isActiveModeRunning.html +2 -2
  331. package/docs/api/functions/isAllowedPath.html +2 -2
  332. package/docs/api/functions/isAlreadyHighVariant.html +2 -2
  333. package/docs/api/functions/isAutopilotActive.html +2 -2
  334. package/docs/api/functions/isAxiomEnabled.html +1 -1
  335. package/docs/api/functions/isClaudeInstalled.html +3 -3
  336. package/docs/api/functions/isClaudeModel.html +2 -2
  337. package/docs/api/functions/isCompactionInProgress.html +3 -3
  338. package/docs/api/functions/isDuplicateByContentHash.html +2 -2
  339. package/docs/api/functions/isDuplicateByRealPath.html +2 -2
  340. package/docs/api/functions/isExcludedCommand.html +2 -2
  341. package/docs/api/functions/isExtendedThinkingModel.html +1 -1
  342. package/docs/api/functions/isFileOwnedByWorker.html +2 -2
  343. package/docs/api/functions/isFormatterAvailable.html +2 -2
  344. package/docs/api/functions/isGptModel.html +2 -2
  345. package/docs/api/functions/isInstalled.html +2 -2
  346. package/docs/api/functions/isLearnerEnabled.html +2 -2
  347. package/docs/api/functions/isModeActive.html +6 -6
  348. package/docs/api/functions/isNonInteractive.html +1 -1
  349. package/docs/api/functions/isRecoverableError.html +2 -2
  350. package/docs/api/functions/isSafeCommand.html +2 -2
  351. package/docs/api/functions/isSessionRecoverable.html +2 -2
  352. package/docs/api/functions/isSharedFile.html +2 -2
  353. package/docs/api/functions/isThinkModeActive.html +2 -2
  354. package/docs/api/functions/isToolPart.html +2 -2
  355. package/docs/api/functions/isUltraQAActive.html +1 -1
  356. package/docs/api/functions/isWriteEditTool.html +2 -2
  357. package/docs/api/functions/learnFromToolOutput.html +7 -7
  358. package/docs/api/functions/lintFile.html +2 -2
  359. package/docs/api/functions/listAvailableCommands.html +2 -2
  360. package/docs/api/functions/listCommands.html +2 -2
  361. package/docs/api/functions/listPromotableLearnings.html +2 -2
  362. package/docs/api/functions/loadAgentPrompt.html +7 -7
  363. package/docs/api/functions/loadAgentUsageState.html +1 -1
  364. package/docs/api/functions/loadAllSkills.html +3 -3
  365. package/docs/api/functions/loadConfig.html +2 -2
  366. package/docs/api/functions/loadInjectedPaths.html +2 -2
  367. package/docs/api/functions/loadInjectedRules.html +2 -2
  368. package/docs/api/functions/loadLearnerConfig.html +2 -2
  369. package/docs/api/functions/loadProjectMemory.html +3 -3
  370. package/docs/api/functions/loadSkillById.html +2 -2
  371. package/docs/api/functions/mapDirectoryStructure.html +2 -2
  372. package/docs/api/functions/markStoryComplete.html +2 -2
  373. package/docs/api/functions/markStoryIncomplete.html +2 -2
  374. package/docs/api/functions/mergeAgentConfig.html +2 -2
  375. package/docs/api/functions/parseAxiomState.html +1 -1
  376. package/docs/api/functions/parseContextLimitError.html +2 -2
  377. package/docs/api/functions/parseProgress.html +2 -2
  378. package/docs/api/functions/parseRuleFrontmatter.html +10 -10
  379. package/docs/api/functions/parseSkillFile.html +2 -2
  380. package/docs/api/functions/parseSlashCommand.html +2 -2
  381. package/docs/api/functions/parseTokenLimitError.html +2 -2
  382. package/docs/api/functions/performUpdate.html +2 -2
  383. package/docs/api/functions/prependRecoveryThinkingPart.html +2 -2
  384. package/docs/api/functions/prependThinkingBlock.html +1 -1
  385. package/docs/api/functions/processAxiomBoot.html +1 -1
  386. package/docs/api/functions/processAxiomGuards.html +1 -1
  387. package/docs/api/functions/processBackgroundNotification.html +2 -2
  388. package/docs/api/functions/processBackgroundNotificationHook.html +2 -2
  389. package/docs/api/functions/processEditOutput.html +2 -2
  390. package/docs/api/functions/processHook.html +3 -3
  391. package/docs/api/functions/processMessageForSkills.html +2 -2
  392. package/docs/api/functions/processOrchestratorPostTool.html +3 -3
  393. package/docs/api/functions/processOrchestratorPreTool.html +3 -3
  394. package/docs/api/functions/processPermissionRequest.html +2 -2
  395. package/docs/api/functions/processPreCompact.html +6 -6
  396. package/docs/api/functions/processProjectMemoryPreCompact.html +3 -3
  397. package/docs/api/functions/processResponseForDetection.html +3 -3
  398. package/docs/api/functions/processSessionEnd.html +2 -2
  399. package/docs/api/functions/processSetup.html +2 -2
  400. package/docs/api/functions/processSetupInit.html +2 -2
  401. package/docs/api/functions/processSetupMaintenance.html +2 -2
  402. package/docs/api/functions/processSlashCommand.html +2 -2
  403. package/docs/api/functions/processSubagentStart.html +2 -2
  404. package/docs/api/functions/processSubagentStop.html +2 -2
  405. package/docs/api/functions/processThinkMode.html +3 -3
  406. package/docs/api/functions/promoteLearning.html +2 -2
  407. package/docs/api/functions/pruneOldEntries.html +2 -2
  408. package/docs/api/functions/pruneOldStateFiles.html +2 -2
  409. package/docs/api/functions/readActiveContext.html +1 -1
  410. package/docs/api/functions/readAutopilotState.html +2 -2
  411. package/docs/api/functions/readBoulderState.html +2 -2
  412. package/docs/api/functions/readModeMarker.html +4 -4
  413. package/docs/api/functions/readNotepad.html +2 -2
  414. package/docs/api/functions/readPrd.html +2 -2
  415. package/docs/api/functions/readProgress.html +2 -2
  416. package/docs/api/functions/readProgressRaw.html +2 -2
  417. package/docs/api/functions/readProjectDecisions.html +1 -1
  418. package/docs/api/functions/readRalphState.html +2 -2
  419. package/docs/api/functions/readRecoveryMessages.html +2 -2
  420. package/docs/api/functions/readRecoveryParts.html +2 -2
  421. package/docs/api/functions/readTrackingState.html +3 -3
  422. package/docs/api/functions/readUltraQAState.html +2 -2
  423. package/docs/api/functions/readUltrapilotState.html +2 -2
  424. package/docs/api/functions/readUltraworkState.html +4 -4
  425. package/docs/api/functions/readUserPreferences.html +1 -1
  426. package/docs/api/functions/readVerificationState.html +3 -3
  427. package/docs/api/functions/recordArchitectFeedback.html +2 -2
  428. package/docs/api/functions/recordConflict.html +2 -2
  429. package/docs/api/functions/recordFailure.html +2 -2
  430. package/docs/api/functions/recordHookFire.html +2 -2
  431. package/docs/api/functions/recordHookResult.html +2 -2
  432. package/docs/api/functions/recordKeywordDetected.html +2 -2
  433. package/docs/api/functions/recordModeChange.html +2 -2
  434. package/docs/api/functions/recordPattern.html +2 -2
  435. package/docs/api/functions/recordSessionMetrics.html +2 -2
  436. package/docs/api/functions/recordSkillActivated.html +2 -2
  437. package/docs/api/functions/recordSkillInvoked.html +2 -2
  438. package/docs/api/functions/recordStoryProgress.html +2 -2
  439. package/docs/api/functions/recordValidationVerdict.html +2 -2
  440. package/docs/api/functions/registerBeadsContext.html +3 -3
  441. package/docs/api/functions/registerProjectMemoryContext.html +6 -6
  442. package/docs/api/functions/removeCodeBlocks.html +12 -12
  443. package/docs/api/functions/removeModeMarker.html +5 -5
  444. package/docs/api/functions/removeSlashCodeBlocks.html +2 -2
  445. package/docs/api/functions/removeThinkCodeBlocks.html +2 -2
  446. package/docs/api/functions/replaceRecoveryEmptyTextParts.html +2 -2
  447. package/docs/api/functions/rescanProjectEnvironment.html +4 -4
  448. package/docs/api/functions/resetSessionTokenEstimate.html +2 -2
  449. package/docs/api/functions/resumeAutopilot.html +2 -2
  450. package/docs/api/functions/runPreCommitChecks.html +2 -2
  451. package/docs/api/functions/runTests.html +2 -2
  452. package/docs/api/functions/runTypeCheck.html +2 -2
  453. package/docs/api/functions/sanitizeMessage.html +2 -2
  454. package/docs/api/functions/sanitizeMessages.html +2 -2
  455. package/docs/api/functions/saveAgentUsageState.html +1 -1
  456. package/docs/api/functions/saveInjectedPaths.html +2 -2
  457. package/docs/api/functions/saveInjectedRules.html +2 -2
  458. package/docs/api/functions/saveLearnerConfig.html +2 -2
  459. package/docs/api/functions/saveModeSummary.html +2 -2
  460. package/docs/api/functions/saveProjectMemory.html +3 -3
  461. package/docs/api/functions/saveVersionMetadata.html +2 -2
  462. package/docs/api/functions/setCurrentStory.html +2 -2
  463. package/docs/api/functions/setEnvironmentVariables.html +2 -2
  464. package/docs/api/functions/setLearnerConfigValue.html +2 -2
  465. package/docs/api/functions/setPriorityContext.html +2 -2
  466. package/docs/api/functions/shouldActivateThinkMode.html +3 -3
  467. package/docs/api/functions/shouldActivateUltrathink.html +2 -2
  468. package/docs/api/functions/shouldApplyRule.html +2 -2
  469. package/docs/api/functions/shouldCheckForUpdates.html +2 -2
  470. package/docs/api/functions/shouldCompleteByPrd.html +2 -2
  471. package/docs/api/functions/shouldPromptExtraction.html +2 -2
  472. package/docs/api/functions/shouldReinforceUltrawork.html +2 -2
  473. package/docs/api/functions/shouldRetryValidation.html +2 -2
  474. package/docs/api/functions/shouldRunInBackground.html +8 -8
  475. package/docs/api/functions/spawnWorkers.html +7 -7
  476. package/docs/api/functions/startUltraQA.html +3 -3
  477. package/docs/api/functions/startUltrapilot.html +7 -7
  478. package/docs/api/functions/startValidationRound.html +2 -2
  479. package/docs/api/functions/startVerification.html +2 -2
  480. package/docs/api/functions/startsWithThinkingBlock.html +1 -1
  481. package/docs/api/functions/stopUltraQA.html +2 -2
  482. package/docs/api/functions/stripRecoveryThinkingParts.html +2 -2
  483. package/docs/api/functions/toSdkMcpFormat.html +2 -2
  484. package/docs/api/functions/trackAccess.html +2 -2
  485. package/docs/api/functions/trackProgress.html +5 -5
  486. package/docs/api/functions/transitionPhase.html +2 -2
  487. package/docs/api/functions/transitionRalphToUltraQA.html +9 -9
  488. package/docs/api/functions/transitionToComplete.html +2 -2
  489. package/docs/api/functions/transitionToFailed.html +2 -2
  490. package/docs/api/functions/transitionUltraQAToValidation.html +2 -2
  491. package/docs/api/functions/updateDirectoryAccess.html +2 -2
  492. package/docs/api/functions/updateExecution.html +2 -2
  493. package/docs/api/functions/updateExpansion.html +2 -2
  494. package/docs/api/functions/updatePlanning.html +2 -2
  495. package/docs/api/functions/updateQA.html +2 -2
  496. package/docs/api/functions/updateValidation.html +2 -2
  497. package/docs/api/functions/updateWorkerState.html +2 -2
  498. package/docs/api/functions/validateAgentConfig.html +2 -2
  499. package/docs/api/functions/validateCommitMessage.html +2 -2
  500. package/docs/api/functions/validateConfigFiles.html +2 -2
  501. package/docs/api/functions/validateExtractionRequest.html +2 -2
  502. package/docs/api/functions/validateMessage.html +1 -1
  503. package/docs/api/functions/validateMessages.html +1 -1
  504. package/docs/api/functions/validateSkillMetadata.html +2 -2
  505. package/docs/api/functions/writeAutopilotState.html +2 -2
  506. package/docs/api/functions/writeBoulderState.html +2 -2
  507. package/docs/api/functions/writePrd.html +2 -2
  508. package/docs/api/functions/writeRalphState.html +2 -2
  509. package/docs/api/functions/writeSkill.html +2 -2
  510. package/docs/api/functions/writeTrackingState.html +5 -5
  511. package/docs/api/functions/writeUltraQAState.html +2 -2
  512. package/docs/api/functions/writeUltrapilotState.html +2 -2
  513. package/docs/api/functions/writeUltraworkState.html +2 -2
  514. package/docs/api/functions/writeVerificationState.html +2 -2
  515. package/docs/api/hierarchy.html +1 -1
  516. package/docs/api/index.html +843 -843
  517. package/docs/api/interfaces/AgentConfig.html +18 -18
  518. package/docs/api/interfaces/AgentOverrideConfig.html +10 -10
  519. package/docs/api/interfaces/AgentPromptMetadata.html +19 -19
  520. package/docs/api/interfaces/AgentState.html +5 -5
  521. package/docs/api/interfaces/AgentUsageState.html +8 -8
  522. package/docs/api/interfaces/AutoSlashCommandHookInput.html +5 -5
  523. package/docs/api/interfaces/AutoSlashCommandHookOutput.html +3 -3
  524. package/docs/api/interfaces/AutoSlashCommandResult.html +5 -5
  525. package/docs/api/interfaces/AutopilotConfig.html +26 -26
  526. package/docs/api/interfaces/AutopilotExecution.html +16 -16
  527. package/docs/api/interfaces/AutopilotExpansion.html +12 -12
  528. package/docs/api/interfaces/AutopilotPlanning.html +8 -8
  529. package/docs/api/interfaces/AutopilotQA.html +12 -12
  530. package/docs/api/interfaces/AutopilotResult.html +10 -10
  531. package/docs/api/interfaces/AutopilotState.html +36 -36
  532. package/docs/api/interfaces/AutopilotSummary.html +16 -16
  533. package/docs/api/interfaces/AutopilotValidation.html +10 -10
  534. package/docs/api/interfaces/AutopilotValidationResult.html +8 -8
  535. package/docs/api/interfaces/AvailableAgent.html +5 -5
  536. package/docs/api/interfaces/AxiomBootInput.html +3 -3
  537. package/docs/api/interfaces/AxiomBootOutput.html +4 -4
  538. package/docs/api/interfaces/AxiomGuardsInput.html +4 -4
  539. package/docs/api/interfaces/AxiomGuardsOutput.html +4 -4
  540. package/docs/api/interfaces/AxiomMemoryFiles.html +5 -5
  541. package/docs/api/interfaces/AxiomState.html +8 -8
  542. package/docs/api/interfaces/BackgroundNotificationHookConfig.html +11 -11
  543. package/docs/api/interfaces/BackgroundNotificationHookInput.html +8 -8
  544. package/docs/api/interfaces/BackgroundNotificationHookOutput.html +8 -8
  545. package/docs/api/interfaces/BackgroundTask.html +7 -7
  546. package/docs/api/interfaces/BackgroundTaskManager.html +26 -26
  547. package/docs/api/interfaces/BeadsContextConfig.html +4 -4
  548. package/docs/api/interfaces/BoulderState.html +12 -12
  549. package/docs/api/interfaces/BuildInfo.html +6 -6
  550. package/docs/api/interfaces/CanStartResult.html +4 -4
  551. package/docs/api/interfaces/CancelResult.html +4 -4
  552. package/docs/api/interfaces/ClaudeThinkingConfig.html +4 -4
  553. package/docs/api/interfaces/CodeConventions.html +5 -5
  554. package/docs/api/interfaces/CodebasePattern.html +5 -5
  555. package/docs/api/interfaces/CommandInfo.html +5 -5
  556. package/docs/api/interfaces/CommandMetadata.html +7 -7
  557. package/docs/api/interfaces/CommentCheckResult.html +10 -10
  558. package/docs/api/interfaces/CommentCheckerConfig.html +6 -6
  559. package/docs/api/interfaces/CommentInfo.html +14 -14
  560. package/docs/api/interfaces/CommentPendingCall.html +18 -18
  561. package/docs/api/interfaces/CommitConfig.html +9 -9
  562. package/docs/api/interfaces/CompactCheckpoint.html +7 -7
  563. package/docs/api/interfaces/ContextEntry.html +14 -14
  564. package/docs/api/interfaces/ContextUsageResult.html +12 -12
  565. package/docs/api/interfaces/CustomNote.html +5 -5
  566. package/docs/api/interfaces/DelegationDecision.html +7 -7
  567. package/docs/api/interfaces/DelegationRoute.html +7 -7
  568. package/docs/api/interfaces/DelegationRoutingConfig.html +5 -5
  569. package/docs/api/interfaces/DelegationTrigger.html +6 -6
  570. package/docs/api/interfaces/DetectedKeyword.html +13 -13
  571. package/docs/api/interfaces/DetectionConfig.html +8 -8
  572. package/docs/api/interfaces/DetectionResult.html +13 -13
  573. package/docs/api/interfaces/DirectoryInfo.html +7 -7
  574. package/docs/api/interfaces/EmptyMessageSanitizerConfig.html +6 -6
  575. package/docs/api/interfaces/EmptyMessageSanitizerInput.html +6 -6
  576. package/docs/api/interfaces/EmptyMessageSanitizerOutput.html +8 -8
  577. package/docs/api/interfaces/ExecuteResult.html +5 -5
  578. package/docs/api/interfaces/ExpandedCommand.html +4 -4
  579. package/docs/api/interfaces/ExternalModelPreference.html +4 -4
  580. package/docs/api/interfaces/ExternalModelsConfig.html +6 -6
  581. package/docs/api/interfaces/ExternalModelsDefaults.html +5 -5
  582. package/docs/api/interfaces/ExternalModelsFallbackPolicy.html +5 -5
  583. package/docs/api/interfaces/FileOwnership.html +8 -8
  584. package/docs/api/interfaces/FormatConfig.html +7 -7
  585. package/docs/api/interfaces/FrameworkDetection.html +4 -4
  586. package/docs/api/interfaces/FullAgentConfig.html +26 -26
  587. package/docs/api/interfaces/GateCheckResult.html +5 -5
  588. package/docs/api/interfaces/GitBranchPattern.html +3 -3
  589. package/docs/api/interfaces/HookContext.html +5 -5
  590. package/docs/api/interfaces/HookDefinition.html +5 -5
  591. package/docs/api/interfaces/HookInput.html +18 -18
  592. package/docs/api/interfaces/HookOutput.html +10 -10
  593. package/docs/api/interfaces/HookResult.html +4 -4
  594. package/docs/api/interfaces/HotPath.html +6 -6
  595. package/docs/api/interfaces/InjectedPathsData.html +9 -9
  596. package/docs/api/interfaces/InjectedRulesData.html +10 -10
  597. package/docs/api/interfaces/InjectedSkillsData.html +8 -8
  598. package/docs/api/interfaces/InjectionResult.html +8 -8
  599. package/docs/api/interfaces/InstallOptions.html +9 -9
  600. package/docs/api/interfaces/InstallResult.html +10 -10
  601. package/docs/api/interfaces/IntegrationResult.html +14 -14
  602. package/docs/api/interfaces/LanguageDetection.html +5 -5
  603. package/docs/api/interfaces/LearnedSkill.html +16 -16
  604. package/docs/api/interfaces/LearnerConfig.html +18 -18
  605. package/docs/api/interfaces/LintConfig.html +7 -7
  606. package/docs/api/interfaces/MagicKeyword.html +4 -4
  607. package/docs/api/interfaces/MatchResult.html +6 -6
  608. package/docs/api/interfaces/MessageContext.html +8 -8
  609. package/docs/api/interfaces/MessageInfo.html +9 -9
  610. package/docs/api/interfaces/MessagePart.html +15 -15
  611. package/docs/api/interfaces/MessageWithModel.html +3 -3
  612. package/docs/api/interfaces/MessageWithParts.html +6 -6
  613. package/docs/api/interfaces/MessagesTransformHook.html +3 -3
  614. package/docs/api/interfaces/MessagesTransformInput.html +3 -3
  615. package/docs/api/interfaces/MessagesTransformOutput.html +3 -3
  616. package/docs/api/interfaces/ModeConfig.html +13 -13
  617. package/docs/api/interfaces/ModeStatus.html +4 -4
  618. package/docs/api/interfaces/ModelRef.html +4 -4
  619. package/docs/api/interfaces/NonInteractiveEnvConfig.html +2 -2
  620. package/docs/api/interfaces/NotepadConfig.html +7 -7
  621. package/docs/api/interfaces/NotepadStats.html +11 -11
  622. package/docs/api/interfaces/NotificationCheckResult.html +8 -8
  623. package/docs/api/interfaces/OrchestratorToolInput.html +6 -6
  624. package/docs/api/interfaces/OrchestratorToolOutput.html +6 -6
  625. package/docs/api/interfaces/OutputPart.html +4 -4
  626. package/docs/api/interfaces/PRD.html +9 -9
  627. package/docs/api/interfaces/PRDStatus.html +13 -13
  628. package/docs/api/interfaces/ParsedSlashCommand.html +8 -8
  629. package/docs/api/interfaces/ParsedTokenLimitError.html +16 -16
  630. package/docs/api/interfaces/PendingContext.html +8 -8
  631. package/docs/api/interfaces/PermissionHookOutput.html +4 -4
  632. package/docs/api/interfaces/PermissionRequestInput.html +9 -9
  633. package/docs/api/interfaces/PersistentModeResult.html +9 -9
  634. package/docs/api/interfaces/PlanProgress.html +8 -8
  635. package/docs/api/interfaces/PlanSummary.html +10 -10
  636. package/docs/api/interfaces/PluginConfig.html +17 -17
  637. package/docs/api/interfaces/PreCommitResult.html +3 -3
  638. package/docs/api/interfaces/PreCompactHookOutput.html +4 -4
  639. package/docs/api/interfaces/PreCompactInput.html +8 -8
  640. package/docs/api/interfaces/PreemptiveCompactionConfig.html +14 -14
  641. package/docs/api/interfaces/PriorityContextResult.html +5 -5
  642. package/docs/api/interfaces/ProgressEntry.html +11 -11
  643. package/docs/api/interfaces/ProgressLog.html +7 -7
  644. package/docs/api/interfaces/ProjectMemory.html +14 -14
  645. package/docs/api/interfaces/ProjectStructure.html +5 -5
  646. package/docs/api/interfaces/PromotionCandidate.html +9 -9
  647. package/docs/api/interfaces/PruneResult.html +5 -5
  648. package/docs/api/interfaces/QualityValidation.html +10 -10
  649. package/docs/api/interfaces/RalphLoopHook.html +4 -4
  650. package/docs/api/interfaces/RalphLoopOptions.html +5 -5
  651. package/docs/api/interfaces/RalphLoopState.html +21 -21
  652. package/docs/api/interfaces/RecoveryConfig.html +16 -16
  653. package/docs/api/interfaces/RecoveryMessageData.html +4 -4
  654. package/docs/api/interfaces/RecoveryResult.html +10 -10
  655. package/docs/api/interfaces/RecoveryStoredMessageMeta.html +8 -8
  656. package/docs/api/interfaces/RecoveryStoredReasoningPart.html +7 -7
  657. package/docs/api/interfaces/RecoveryStoredTextPart.html +9 -9
  658. package/docs/api/interfaces/RecoveryStoredToolPart.html +9 -9
  659. package/docs/api/interfaces/RegisterContextOptions.html +12 -12
  660. package/docs/api/interfaces/ReleaseInfo.html +9 -9
  661. package/docs/api/interfaces/ResolveDelegationOptions.html +7 -7
  662. package/docs/api/interfaces/ResolveOptions.html +6 -6
  663. package/docs/api/interfaces/ResolvedModel.html +5 -5
  664. package/docs/api/interfaces/RetryState.html +6 -6
  665. package/docs/api/interfaces/RuleFileCandidate.html +12 -12
  666. package/docs/api/interfaces/RuleFrontmatterResult.html +6 -6
  667. package/docs/api/interfaces/RuleInfo.html +18 -18
  668. package/docs/api/interfaces/RuleMetadata.html +9 -9
  669. package/docs/api/interfaces/RuleToInject.html +10 -10
  670. package/docs/api/interfaces/SessionEndHookOutput.html +2 -2
  671. package/docs/api/interfaces/SessionEndInput.html +9 -9
  672. package/docs/api/interfaces/SessionMetrics.html +9 -9
  673. package/docs/api/interfaces/SessionState.html +5 -5
  674. package/docs/api/interfaces/SetupHookOutput.html +3 -3
  675. package/docs/api/interfaces/SetupInput.html +7 -7
  676. package/docs/api/interfaces/SetupResult.html +5 -5
  677. package/docs/api/interfaces/ShellHook.html +4 -4
  678. package/docs/api/interfaces/SisyphusOptions.html +14 -14
  679. package/docs/api/interfaces/SisyphusSession.html +16 -16
  680. package/docs/api/interfaces/SkillExtractionRequest.html +12 -12
  681. package/docs/api/interfaces/SkillFileCandidate.html +10 -10
  682. package/docs/api/interfaces/SkillHookContext.html +5 -5
  683. package/docs/api/interfaces/SkillMetadata.html +22 -22
  684. package/docs/api/interfaces/SkillParseResult.html +5 -5
  685. package/docs/api/interfaces/SubagentHookOutput.html +3 -3
  686. package/docs/api/interfaces/SubagentInfo.html +14 -14
  687. package/docs/api/interfaces/SubagentStartInput.html +10 -10
  688. package/docs/api/interfaces/SubagentStopInput.html +11 -11
  689. package/docs/api/interfaces/SubagentTrackingState.html +6 -6
  690. package/docs/api/interfaces/TaskExecutionDecision.html +10 -10
  691. package/docs/api/interfaces/TechStack.html +5 -5
  692. package/docs/api/interfaces/ThinkModeInput.html +4 -4
  693. package/docs/api/interfaces/ThinkModeState.html +12 -12
  694. package/docs/api/interfaces/ThinkingValidatorMessageInfo.html +6 -6
  695. package/docs/api/interfaces/ThinkingValidatorMessagePart.html +9 -9
  696. package/docs/api/interfaces/ThinkingValidatorMessageWithParts.html +4 -4
  697. package/docs/api/interfaces/TodoContinuationHook.html +2 -2
  698. package/docs/api/interfaces/TransitionResult.html +4 -4
  699. package/docs/api/interfaces/TruncateState.html +6 -6
  700. package/docs/api/interfaces/UltraQAOptions.html +5 -5
  701. package/docs/api/interfaces/UltraQAResult.html +9 -9
  702. package/docs/api/interfaces/UltraQAState.html +19 -19
  703. package/docs/api/interfaces/UltrapilotConfig.html +14 -14
  704. package/docs/api/interfaces/UltrapilotState.html +26 -26
  705. package/docs/api/interfaces/UltraworkState.html +17 -17
  706. package/docs/api/interfaces/UpdateCheckResult.html +7 -7
  707. package/docs/api/interfaces/UpdateResult.html +7 -7
  708. package/docs/api/interfaces/UserDirective.html +7 -7
  709. package/docs/api/interfaces/UserStory.html +15 -15
  710. package/docs/api/interfaces/ValidationCoordinatorResult.html +6 -6
  711. package/docs/api/interfaces/ValidationResult.html +10 -10
  712. package/docs/api/interfaces/VerificationState.html +17 -17
  713. package/docs/api/interfaces/VersionMetadata.html +12 -12
  714. package/docs/api/interfaces/WorkerState.html +24 -24
  715. package/docs/api/interfaces/WriteSkillResult.html +6 -6
  716. package/docs/api/modules.html +1 -1
  717. package/docs/api/types/AgentCategory.html +2 -2
  718. package/docs/api/types/AgentCost.html +3 -3
  719. package/docs/api/types/AgentFactory.html +2 -2
  720. package/docs/api/types/AgentOverrides.html +2 -2
  721. package/docs/api/types/AutopilotPhase.html +2 -2
  722. package/docs/api/types/AutopilotSignal.html +2 -2
  723. package/docs/api/types/CommandScope.html +2 -2
  724. package/docs/api/types/ContextPriority.html +3 -3
  725. package/docs/api/types/ContextSourceType.html +3 -3
  726. package/docs/api/types/DelegationProvider.html +2 -2
  727. package/docs/api/types/DelegationTool.html +2 -2
  728. package/docs/api/types/ExecutionMode.html +3 -3
  729. package/docs/api/types/ExternalModelProvider.html +2 -2
  730. package/docs/api/types/GateType.html +3 -3
  731. package/docs/api/types/InjectionStrategy.html +2 -2
  732. package/docs/api/types/KeywordType.html +10 -10
  733. package/docs/api/types/ModelType.html +2 -2
  734. package/docs/api/types/QAStatus.html +2 -2
  735. package/docs/api/types/RecoveryErrorType.html +2 -2
  736. package/docs/api/types/RecoveryStoredPart.html +2 -2
  737. package/docs/api/types/TaskTool.html +1 -1
  738. package/docs/api/types/ThinkingConfig.html +2 -2
  739. package/docs/api/types/UltraQAGoalType.html +1 -1
  740. package/docs/api/types/UserStoryInput.html +2 -2
  741. package/docs/api/types/ValidationVerdict.html +2 -2
  742. package/docs/api/types/ValidationVerdictType.html +2 -2
  743. package/docs/api/variables/AGENTS_DIR.html +1 -1
  744. package/docs/api/variables/AGENTS_FILENAME.html +2 -2
  745. package/docs/api/variables/AGENT_TOOLS.html +2 -2
  746. package/docs/api/variables/ALLOWED_PATH_PREFIX.html +2 -2
  747. package/docs/api/variables/ANALYST_PROMPT_METADATA.html +1 -1
  748. package/docs/api/variables/ARCHITECT_PROMPT_METADATA.html +1 -1
  749. package/docs/api/variables/AUTO_SLASH_COMMAND_HOOK_NAME.html +4 -4
  750. package/docs/api/variables/AUTO_SLASH_COMMAND_TAG_CLOSE.html +1 -1
  751. package/docs/api/variables/AUTO_SLASH_COMMAND_TAG_OPEN.html +2 -2
  752. package/docs/api/variables/BACKGROUND_NOTIFICATION_HOOK_NAME.html +2 -2
  753. package/docs/api/variables/BDD_KEYWORDS.html +2 -2
  754. package/docs/api/variables/BEADS_INSTRUCTIONS.html +1 -1
  755. package/docs/api/variables/BEADS_RUST_INSTRUCTIONS.html +1 -1
  756. package/docs/api/variables/BLOCKING_PATTERNS.html +3 -3
  757. package/docs/api/variables/BOULDER_CONTINUATION_PROMPT.html +2 -2
  758. package/docs/api/variables/BOULDER_DIR.html +2 -2
  759. package/docs/api/variables/BOULDER_FILE.html +2 -2
  760. package/docs/api/variables/BOULDER_STATE_PATH.html +2 -2
  761. package/docs/api/variables/CHARS_PER_TOKEN.html +2 -2
  762. package/docs/api/variables/CI_COMMANDS.html +2 -2
  763. package/docs/api/variables/CI_GATE_MESSAGE.html +1 -1
  764. package/docs/api/variables/CLAUDE_CONFIG_DIR.html +2 -2
  765. package/docs/api/variables/CLAUDE_DEFAULT_CONTEXT_LIMIT.html +2 -2
  766. package/docs/api/variables/COMMANDS_DIR.html +1 -1
  767. package/docs/api/variables/COMMENT_CHECKER_MESSAGE_HEADER.html +2 -2
  768. package/docs/api/variables/COMPACTION_COOLDOWN_MS.html +2 -2
  769. package/docs/api/variables/CONTENT_PART_TYPES.html +2 -2
  770. package/docs/api/variables/CONTEXT_CRITICAL_MESSAGE.html +2 -2
  771. package/docs/api/variables/CONTEXT_FILENAMES.html +2 -2
  772. package/docs/api/variables/CONTEXT_LIMIT_RECOVERY_MESSAGE.html +2 -2
  773. package/docs/api/variables/CONTEXT_LIMIT_SHORT_MESSAGE.html +2 -2
  774. package/docs/api/variables/CONTEXT_WARNING_MESSAGE.html +2 -2
  775. package/docs/api/variables/CRITICAL_THRESHOLD.html +2 -2
  776. package/docs/api/variables/CRITIC_PROMPT_METADATA.html +1 -1
  777. package/docs/api/variables/DEFAULT_CONFIG.html +2 -2
  778. package/docs/api/variables/DEFAULT_MAX_BACKGROUND_TASKS.html +2 -2
  779. package/docs/api/variables/DEFAULT_THINKING_CONTENT.html +2 -2
  780. package/docs/api/variables/DIRECT_WORK_REMINDER.html +2 -2
  781. package/docs/api/variables/DOCUMENT_SPECIALIST_PROMPT_METADATA.html +1 -1
  782. package/docs/api/variables/DOCUMENT_WRITER_PROMPT_METADATA.html +1 -1
  783. package/docs/api/variables/EDIT_ERROR_PATTERNS.html +2 -2
  784. package/docs/api/variables/EDIT_ERROR_REMINDER.html +3 -3
  785. package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_DEBUG_PREFIX.html +2 -2
  786. package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_ERROR_PATTERNS.html +2 -2
  787. package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_HOOK_NAME.html +2 -2
  788. package/docs/api/variables/ENTRY_SEPARATOR.html +1 -1
  789. package/docs/api/variables/EXCLUDED_COMMANDS.html +3 -3
  790. package/docs/api/variables/EXPERT_GATE_MESSAGE.html +1 -1
  791. package/docs/api/variables/EXPLORE_PROMPT_METADATA.html +1 -1
  792. package/docs/api/variables/EXTENSION_TO_LANGUAGE.html +2 -2
  793. package/docs/api/variables/FEATURE_FLAG_KEY.html +2 -2
  794. package/docs/api/variables/FRONTEND_ENGINEER_PROMPT_METADATA.html +1 -1
  795. package/docs/api/variables/GITHUB_API_URL.html +1 -1
  796. package/docs/api/variables/INSTALLER_CLAUDE_CONFIG_DIR.html +2 -2
  797. package/docs/api/variables/INSTALLER_VERSION.html +2 -2
  798. package/docs/api/variables/LINE_COMMENT_PATTERNS.html +2 -2
  799. package/docs/api/variables/LONG_RUNNING_PATTERNS.html +3 -3
  800. package/docs/api/variables/MANUAL_HEADER.html +1 -1
  801. package/docs/api/variables/MAX_SKILLS_PER_SESSION.html +2 -2
  802. package/docs/api/variables/MAX_SKILL_CONTENT_LENGTH.html +2 -2
  803. package/docs/api/variables/MAX_WARNINGS.html +2 -2
  804. package/docs/api/variables/MIN_QUALITY_SCORE.html +2 -2
  805. package/docs/api/variables/MODE_CONFIGS.html +4 -4
  806. package/docs/api/variables/MULTIMODAL_LOOKER_PROMPT_METADATA.html +1 -1
  807. package/docs/api/variables/NON_EMPTY_CONTENT_RECOVERY_MESSAGE.html +2 -2
  808. package/docs/api/variables/NON_INTERACTIVE_ENV.html +1 -1
  809. package/docs/api/variables/NON_INTERACTIVE_ENV_HOOK_NAME.html +1 -1
  810. package/docs/api/variables/NOTEPAD_BASE_PATH.html +2 -2
  811. package/docs/api/variables/NOTEPAD_DEFAULT_CONFIG.html +1 -1
  812. package/docs/api/variables/NOTEPAD_DIR.html +2 -2
  813. package/docs/api/variables/NOTEPAD_FILENAME.html +1 -1
  814. package/docs/api/variables/OMC_ORCHESTRATOR_HOOK_NAME.html +4 -4
  815. package/docs/api/variables/ORCHESTRATOR_DELEGATION_REQUIRED.html +2 -2
  816. package/docs/api/variables/PATTERNS_HEADER.html +1 -1
  817. package/docs/api/variables/PLACEHOLDER_TEXT.html +3 -3
  818. package/docs/api/variables/PLANNER_PLANS_DIR.html +2 -2
  819. package/docs/api/variables/PLANNER_PROMPT_METADATA.html +1 -1
  820. package/docs/api/variables/PLAN_EXTENSION.html +2 -2
  821. package/docs/api/variables/PRD_EXAMPLE_FILENAME.html +1 -1
  822. package/docs/api/variables/PRD_FILENAME.html +1 -1
  823. package/docs/api/variables/PREEMPTIVE_DEFAULT_THRESHOLD.html +2 -2
  824. package/docs/api/variables/PREVENTED_ERROR.html +2 -2
  825. package/docs/api/variables/PRIORITY_HEADER.html +1 -1
  826. package/docs/api/variables/PROGRESS_FILENAME.html +1 -1
  827. package/docs/api/variables/PROJECT_MARKERS.html +2 -2
  828. package/docs/api/variables/PROJECT_RULE_FILES.html +2 -2
  829. package/docs/api/variables/PROJECT_RULE_SUBDIRS.html +2 -2
  830. package/docs/api/variables/PROJECT_SKILLS_SUBDIR.html +2 -2
  831. package/docs/api/variables/RAPID_FIRE_DEBOUNCE_MS.html +7 -7
  832. package/docs/api/variables/README_FILENAME.html +2 -2
  833. package/docs/api/variables/README_INJECTOR_STORAGE.html +1 -1
  834. package/docs/api/variables/README_TRACKED_TOOLS.html +2 -2
  835. package/docs/api/variables/RECOVERY_FAILED_MESSAGE.html +2 -2
  836. package/docs/api/variables/RECOVERY_MESSAGES.html +2 -2
  837. package/docs/api/variables/RECOVERY_PLACEHOLDER_TEXT.html +2 -2
  838. package/docs/api/variables/REMINDER_MESSAGE.html +2 -2
  839. package/docs/api/variables/REPO_NAME.html +1 -1
  840. package/docs/api/variables/REPO_OWNER.html +2 -2
  841. package/docs/api/variables/RETRY_CONFIG.html +6 -6
  842. package/docs/api/variables/RULES_INJECTOR_STORAGE.html +1 -1
  843. package/docs/api/variables/RULE_EXTENSIONS.html +2 -2
  844. package/docs/api/variables/SHELL_COMMAND_PATTERNS.html +3 -3
  845. package/docs/api/variables/SINGLE_TASK_DIRECTIVE.html +2 -2
  846. package/docs/api/variables/SISYPHUS_JUNIOR_PROMPT_METADATA.html +1 -1
  847. package/docs/api/variables/SKILL_EXTENSION.html +2 -2
  848. package/docs/api/variables/SLASH_COMMAND_PATTERN.html +2 -2
  849. package/docs/api/variables/STALE_STATE_MAX_AGE_MS.html +2 -2
  850. package/docs/api/variables/SYNTHETIC_THINKING_ID_PREFIX.html +2 -2
  851. package/docs/api/variables/TARGET_TOOLS.html +2 -2
  852. package/docs/api/variables/THINKING_BLOCK_VALIDATOR_HOOK_NAME.html +2 -2
  853. package/docs/api/variables/THINKING_CONFIGS.html +2 -2
  854. package/docs/api/variables/THINKING_MODEL_PATTERNS.html +3 -3
  855. package/docs/api/variables/THINKING_PART_TYPES.html +2 -2
  856. package/docs/api/variables/TOKEN_LIMIT_KEYWORDS.html +2 -2
  857. package/docs/api/variables/TOKEN_LIMIT_PATTERNS.html +2 -2
  858. package/docs/api/variables/TOOL_PART_TYPES.html +2 -2
  859. package/docs/api/variables/TRACKED_TOOLS.html +2 -2
  860. package/docs/api/variables/TRUNCATE_CONFIG.html +6 -6
  861. package/docs/api/variables/TRUNCATION_APPLIED_MESSAGE.html +2 -2
  862. package/docs/api/variables/TYPE_CHECKER_PREFIXES.html +2 -2
  863. package/docs/api/variables/ULTRAPILOT_DEFAULT_CONFIG.html +2 -2
  864. package/docs/api/variables/USER_GATE_MESSAGE.html +1 -1
  865. package/docs/api/variables/USER_RULE_DIR.html +2 -2
  866. package/docs/api/variables/USER_SKILLS_DIR.html +2 -2
  867. package/docs/api/variables/VERIFICATION_REMINDER.html +2 -2
  868. package/docs/api/variables/VERSION_FILE.html +1 -1
  869. package/docs/api/variables/WORKING_MEMORY_HEADER.html +1 -1
  870. package/docs/api/variables/WRITE_EDIT_TOOLS.html +2 -2
  871. package/docs/api/variables/allCustomTools.html +3 -3
  872. package/docs/api/variables/analystAgent.html +1 -1
  873. package/docs/api/variables/architectAgent.html +1 -1
  874. package/docs/api/variables/astTools.html +2 -2
  875. package/docs/api/variables/contextCollector.html +2 -2
  876. package/docs/api/variables/criticAgent.html +1 -1
  877. package/docs/api/variables/designerAgent.html +1 -1
  878. package/docs/api/variables/executorAgent.html +1 -1
  879. package/docs/api/variables/exploreAgent.html +1 -1
  880. package/docs/api/variables/lspTools.html +2 -2
  881. package/docs/api/variables/nonInteractiveEnvHook.html +8 -8
  882. package/docs/api/variables/omcSystemPrompt.html +2 -2
  883. package/docs/api/variables/omcToolNames.html +3 -3
  884. package/docs/api/variables/omcToolsServer.html +4 -4
  885. package/docs/api/variables/plannerAgent.html +1 -1
  886. package/docs/api/variables/researcherAgent.html +1 -1
  887. package/docs/api/variables/visionAgent.html +1 -1
  888. package/docs/api/variables/writerAgent.html +1 -1
  889. package/hooks/run-hook.cmd +0 -0
  890. package/hooks/session-start +0 -0
  891. package/package.json +4 -3
  892. package/scripts/persistent-mode.cjs +605 -605
  893. package/scripts/validate-skill-frontmatter.mjs +47 -0
  894. package/skills/release/SKILL.md +5 -3
  895. package/skills/systematic-debugging/find-polluter.sh +0 -0
  896. package/skills/writing-skills/graphviz-conventions.dot +171 -171
  897. package/skills/writing-skills/render-graphs.js +0 -0
  898. package/templates/axiom/scripts/Check-Memory.ps1 +68 -68
  899. package/templates/axiom/scripts/Poll-Memory.ps1 +36 -36
  900. package/templates/axiom/scripts/Watch-Memory.ps1 +149 -149
  901. package/templates/axiom/scripts/agent-runner.ps1 +101 -101
  902. package/templates/axiom/scripts/start-reviews.ps1 +19 -19
@@ -1 +1 @@
1
- {"version":3,"file":"ccg-skill.d.ts","sourceRoot":"","sources":["../../../src/features/ccg/ccg-skill.ts"],"names":[],"mappings":"AAIA,wBAAsB,eAAe,CACnC,UAAU,EAAE,MAAM,EAClB,IAAI,CAAC,EAAE,MAAM,GACZ,OAAO,CAAC,IAAI,CAAC,CAkBf"}
1
+ {"version":3,"file":"ccg-skill.d.ts","sourceRoot":"","sources":["../../../src/features/ccg/ccg-skill.ts"],"names":[],"mappings":"AAMA,wBAAsB,eAAe,CACnC,UAAU,EAAE,MAAM,EAClB,IAAI,CAAC,EAAE,MAAM,GACZ,OAAO,CAAC,IAAI,CAAC,CAoBf"}
@@ -1,5 +1,7 @@
1
1
  import { routeWorkflow } from './workflow-router.js';
2
2
  import { sanitizeCCGInput } from './input-sanitizer.js';
3
+ import { NewProjectWorkflow } from './workflows/new-project-workflow.js';
4
+ import { OldProjectWorkflow } from './workflows/old-project-workflow.js';
3
5
  export async function executeCCGSkill(workingDir, args) {
4
6
  const sanitized = sanitizeCCGInput({
5
7
  workingDir,
@@ -10,11 +12,13 @@ export async function executeCCGSkill(workingDir, args) {
10
12
  console.log(`[CCG] Working directory: ${context.workingDir}`);
11
13
  if (context.projectType === 'new') {
12
14
  console.log('[CCG] Routing to new project workflow...');
13
- // TODO: T1.4 - Implement new project workflow
15
+ const workflow = new NewProjectWorkflow({ workingDir: context.workingDir });
16
+ await workflow.execute();
14
17
  }
15
18
  else {
16
19
  console.log('[CCG] Routing to old project workflow...');
17
- // TODO: T2.1 - Implement old project workflow
20
+ const workflow = new OldProjectWorkflow({ workingDir: context.workingDir });
21
+ await workflow.execute();
18
22
  }
19
23
  }
20
24
  //# sourceMappingURL=ccg-skill.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ccg-skill.js","sourceRoot":"","sources":["../../../src/features/ccg/ccg-skill.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAmB,MAAM,sBAAsB,CAAC;AAEtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,MAAM,CAAC,KAAK,UAAU,eAAe,CACnC,UAA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,GAAG,CAAC,4BAA4B,OAAO,CAAC,UAAU,EAAE,CAAC,CAAC;IAE9D,IAAI,OAAO,CAAC,WAAW,KAAK,KAAK,EAAE,CAAC;QAClC,OAAO,CAAC,GAAG,CAAC,0CAA0C,CAAC,CAAC;QACxD,MAAM,QAAQ,GAAG,IAAI,kBAAkB,CAAC,EAAE,UAAU,EAAE,OAAO,CAAC,UAAU,EAAE,CAAC,CAAC;QAC5E,MAAM,QAAQ,CAAC,OAAO,EAAE,CAAC;IAC3B,CAAC;SAAM,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,0CAA0C,CAAC,CAAC;QACxD,MAAM,QAAQ,GAAG,IAAI,kBAAkB,CAAC,EAAE,UAAU,EAAE,OAAO,CAAC,UAAU,EAAE,CAAC,CAAC;QAC5E,MAAM,QAAQ,CAAC,OAAO,EAAE,CAAC;IAC3B,CAAC;AACH,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { TechStack } from './tech-stack-detector.js';
2
+ export type ProjectStructure = 'frontend-only' | 'backend-only' | 'fullstack-monolith' | 'fullstack-separated' | 'monorepo';
3
+ export interface StructureAnalysis {
4
+ structure: ProjectStructure;
5
+ confidence: number;
6
+ reason: string;
7
+ }
8
+ export declare function analyzeProjectStructure(workingDir: string, techStack: TechStack): Promise<StructureAnalysis>;
9
+ //# sourceMappingURL=structure-analyzer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"structure-analyzer.d.ts","sourceRoot":"","sources":["../../../src/features/ccg/structure-analyzer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAErD,MAAM,MAAM,gBAAgB,GACxB,eAAe,GACf,cAAc,GACd,oBAAoB,GACpB,qBAAqB,GACrB,UAAU,CAAC;AAEf,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,gBAAgB,CAAC;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,wBAAsB,uBAAuB,CAC3C,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,SAAS,GACnB,OAAO,CAAC,iBAAiB,CAAC,CAqD5B"}
@@ -0,0 +1,74 @@
1
+ import { promises as fs } from 'fs';
2
+ import * as path from 'path';
3
+ export async function analyzeProjectStructure(workingDir, techStack) {
4
+ const hasWorkspaces = await detectMonorepo(workingDir);
5
+ if (hasWorkspaces) {
6
+ return {
7
+ structure: 'monorepo',
8
+ confidence: 1.0,
9
+ reason: 'package.json contains workspaces'
10
+ };
11
+ }
12
+ const hasClient = await hasDirectory(workingDir, ['client', 'frontend', 'web']);
13
+ const hasServer = await hasDirectory(workingDir, ['server', 'backend', 'api']);
14
+ const hasFrontend = techStack.frontend !== 'none';
15
+ const hasBackend = techStack.backend !== 'none';
16
+ if (hasClient && hasServer) {
17
+ return {
18
+ structure: 'fullstack-separated',
19
+ confidence: 0.95,
20
+ reason: 'Separate client/ and server/ directories detected'
21
+ };
22
+ }
23
+ if (hasFrontend && hasBackend) {
24
+ return {
25
+ structure: 'fullstack-monolith',
26
+ confidence: 0.9,
27
+ reason: 'Both frontend and backend dependencies in single package.json'
28
+ };
29
+ }
30
+ if (hasFrontend) {
31
+ return {
32
+ structure: 'frontend-only',
33
+ confidence: 0.95,
34
+ reason: `Frontend framework detected: ${techStack.frontend}`
35
+ };
36
+ }
37
+ if (hasBackend) {
38
+ return {
39
+ structure: 'backend-only',
40
+ confidence: 0.95,
41
+ reason: `Backend framework detected: ${techStack.backend}`
42
+ };
43
+ }
44
+ return {
45
+ structure: 'frontend-only',
46
+ confidence: 0.5,
47
+ reason: 'No clear indicators, defaulting to frontend-only'
48
+ };
49
+ }
50
+ async function detectMonorepo(workingDir) {
51
+ try {
52
+ const packageJsonPath = path.join(workingDir, 'package.json');
53
+ const content = await fs.readFile(packageJsonPath, 'utf-8');
54
+ const pkg = JSON.parse(content);
55
+ return !!pkg.workspaces;
56
+ }
57
+ catch {
58
+ return false;
59
+ }
60
+ }
61
+ async function hasDirectory(workingDir, names) {
62
+ for (const name of names) {
63
+ try {
64
+ const stat = await fs.stat(path.join(workingDir, name));
65
+ if (stat.isDirectory())
66
+ return true;
67
+ }
68
+ catch {
69
+ // Directory doesn't exist, continue
70
+ }
71
+ }
72
+ return false;
73
+ }
74
+ //# sourceMappingURL=structure-analyzer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"structure-analyzer.js","sourceRoot":"","sources":["../../../src/features/ccg/structure-analyzer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,EAAE,EAAE,MAAM,IAAI,CAAC;AACpC,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAgB7B,MAAM,CAAC,KAAK,UAAU,uBAAuB,CAC3C,UAAkB,EAClB,SAAoB;IAEpB,MAAM,aAAa,GAAG,MAAM,cAAc,CAAC,UAAU,CAAC,CAAC;IACvD,IAAI,aAAa,EAAE,CAAC;QAClB,OAAO;YACL,SAAS,EAAE,UAAU;YACrB,UAAU,EAAE,GAAG;YACf,MAAM,EAAE,kCAAkC;SAC3C,CAAC;IACJ,CAAC;IAED,MAAM,SAAS,GAAG,MAAM,YAAY,CAAC,UAAU,EAAE,CAAC,QAAQ,EAAE,UAAU,EAAE,KAAK,CAAC,CAAC,CAAC;IAChF,MAAM,SAAS,GAAG,MAAM,YAAY,CAAC,UAAU,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC;IAE/E,MAAM,WAAW,GAAG,SAAS,CAAC,QAAQ,KAAK,MAAM,CAAC;IAClD,MAAM,UAAU,GAAG,SAAS,CAAC,OAAO,KAAK,MAAM,CAAC;IAEhD,IAAI,SAAS,IAAI,SAAS,EAAE,CAAC;QAC3B,OAAO;YACL,SAAS,EAAE,qBAAqB;YAChC,UAAU,EAAE,IAAI;YAChB,MAAM,EAAE,mDAAmD;SAC5D,CAAC;IACJ,CAAC;IAED,IAAI,WAAW,IAAI,UAAU,EAAE,CAAC;QAC9B,OA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AI,CAAC;QACtC,CAAC;QAAC,MAAM,CAAC;YACP,oCAAoC;QACtC,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"}
@@ -0,0 +1,9 @@
1
+ export type ModelType = 'claude' | 'codex' | 'gemini';
2
+ export type ChangeType = 'feature' | 'bugfix' | 'refactor';
3
+ export interface TaskAssignment {
4
+ model: ModelType;
5
+ reason: string;
6
+ confidence: number;
7
+ }
8
+ export declare function assignTask(files: string[], changeType: ChangeType): TaskAssignment;
9
+ //# sourceMappingURL=task-assigner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"task-assigner.d.ts","sourceRoot":"","sources":["../../../src/features/ccg/task-assigner.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;AACtD,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;AAE3D,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,SAAS,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,UAAU,CACxB,KAAK,EAAE,MAAM,EAAE,EACf,UAAU,EAAE,UAAU,GACrB,cAAc,CAqChB"}
@@ -0,0 +1,43 @@
1
+ export function assignTask(files, changeType) {
2
+ if (files.length === 0) {
3
+ return { model: 'claude', reason: 'No files specified', confidence: 0.5 };
4
+ }
5
+ const uiFiles = files.filter(isUIFile);
6
+ const logicFiles = files.filter(isLogicFile);
7
+ const testFiles = files.filter(isTestFile);
8
+ // Pure UI changes → Gemini
9
+ if (uiFiles.length > 0 && logicFiles.length === 0 && testFiles.length === 0) {
10
+ return {
11
+ model: 'gemini',
12
+ reason: `UI-only changes (${uiFiles.length} files)`,
13
+ confidence: 0.9
14
+ };
15
+ }
16
+ // Pure logic/test changes → Codex
17
+ if (uiFiles.length === 0 && (logicFiles.length > 0 || testFiles.length > 0)) {
18
+ return {
19
+ model: 'codex',
20
+ reason: `Logic/test changes (${logicFiles.length + testFiles.length} files)`,
21
+ confidence: 0.9
22
+ };
23
+ }
24
+ // Mixed changes → Claude coordinates
25
+ if (uiFiles.length > 0 && logicFiles.length > 0) {
26
+ return {
27
+ model: 'claude',
28
+ reason: `Cross-layer changes (${uiFiles.length} UI + ${logicFiles.length} logic)`,
29
+ confidence: 0.85
30
+ };
31
+ }
32
+ return { model: 'claude', reason: 'Default coordinator', confidence: 0.7 };
33
+ }
34
+ function isUIFile(file) {
35
+ return /\.(tsx|jsx|vue|svelte)$/.test(file) || /\.css$/.test(file);
36
+ }
37
+ function isLogicFile(file) {
38
+ return /\.(ts|js)$/.test(file) && !isTestFile(file) && !/\.(tsx|jsx)$/.test(file);
39
+ }
40
+ function isTestFile(file) {
41
+ return /\.(test|spec)\.(ts|js|tsx|jsx)$/.test(file);
42
+ }
43
+ //# sourceMappingURL=task-assigner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"task-assigner.js","sourceRoot":"","sources":["../../../src/features/ccg/task-assigner.ts"],"names":[],"mappings":"AASA,MAAM,UAAU,UAAU,CACxB,KAAe,EACf,UAAsB;IAEtB,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACvB,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,oBAAoB,EAAE,UAAU,EAAE,GAAG,EAAE,CAAC;IAC5E,CAAC;IAED,MAAM,OAAO,GAAG,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IACvC,MAAM,UAAU,GAAG,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;IAC7C,MAAM,SAAS,GAAG,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;IAE3C,2BAA2B;IAC3B,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,EA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CAAC;AACtD,CAAC"}
@@ -0,0 +1,8 @@
1
+ export interface TechStack {
2
+ frontend?: 'react' | 'vue' | 'angular' | 'svelte' | 'none';
3
+ backend?: 'express' | 'fastify' | 'nestjs' | 'none';
4
+ language: 'typescript' | 'javascript' | 'mixed';
5
+ buildTool?: 'vite' | 'webpack' | 'rollup';
6
+ }
7
+ export declare function detectTechStack(workingDir: string): Promise<TechStack>;
8
+ //# sourceMappingURL=tech-stack-detector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tech-stack-detector.d.ts","sourceRoot":"","sources":["../../../src/features/ccg/tech-stack-detector.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC3D,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAC;IACpD,QAAQ,EAAE,YAAY,GAAG,YAAY,GAAG,OAAO,CAAC;IAChD,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;CAC3C;AAOD,wBAAsB,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,CA4B5E"}
@@ -0,0 +1,71 @@
1
+ import { promises as fs } from 'fs';
2
+ import * as path from 'path';
3
+ export async function detectTechStack(workingDir) {
4
+ const packageJsonPath = path.join(workingDir, 'package.json');
5
+ try {
6
+ await fs.access(packageJsonPath);
7
+ }
8
+ catch {
9
+ return { language: 'javascript', frontend: 'none', backend: 'none' };
10
+ }
11
+ let packageJson;
12
+ try {
13
+ const content = await fs.readFile(packageJsonPath, 'utf-8');
14
+ packageJson = JSON.parse(content);
15
+ }
16
+ catch {
17
+ return { language: 'javascript', frontend: 'none', backend: 'none' };
18
+ }
19
+ const allDeps = {
20
+ ...packageJson.dependencies,
21
+ ...packageJson.devDependencies
22
+ };
23
+ return {
24
+ frontend: detectFrontend(allDeps),
25
+ backend: detectBackend(allDeps),
26
+ language: await detectLanguage(workingDir, allDeps),
27
+ buildTool: detectBuildTool(allDeps)
28
+ };
29
+ }
30
+ function detectFrontend(deps) {
31
+ if (deps['react'] || deps['react-dom'])
32
+ return 'react';
33
+ if (deps['vue'])
34
+ return 'vue';
35
+ if (deps['@angular/core'])
36
+ return 'angular';
37
+ if (deps['svelte'])
38
+ return 'svelte';
39
+ return 'none';
40
+ }
41
+ function detectBackend(deps) {
42
+ if (deps['@nestjs/core'])
43
+ return 'nestjs';
44
+ if (deps['fastify'])
45
+ return 'fastify';
46
+ if (deps['express'])
47
+ return 'express';
48
+ return 'none';
49
+ }
50
+ async function detectLanguage(workingDir, deps) {
51
+ if (deps['typescript']) {
52
+ try {
53
+ await fs.access(path.join(workingDir, 'tsconfig.json'));
54
+ return 'typescript';
55
+ }
56
+ catch {
57
+ return 'mixed';
58
+ }
59
+ }
60
+ return 'javascript';
61
+ }
62
+ function detectBuildTool(deps) {
63
+ if (deps['vite'])
64
+ return 'vite';
65
+ if (deps['webpack'])
66
+ return 'webpack';
67
+ if (deps['rollup'])
68
+ return 'rollup';
69
+ return undefined;
70
+ }
71
+ //# sourceMappingURL=tech-stack-detector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tech-stack-detector.js","sourceRoot":"","sources":["../../../src/features/ccg/tech-stack-detector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,EAAE,EAAE,MAAM,IAAI,CAAC;AACpC,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAc7B,MAAM,CAAC,KAAK,UAAU,eAAe,CAAC,UAAkB;IACtD,MAAM,eAAe,GAAG,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;IAE9D,IAAI,CAAC;QACH,MAAM,EAAE,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;IACnC,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,EAAE,QAAQ,E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C,IAAI,IAAI,CAAC,SAAS,CAAC;QAAE,OAAO,SAAS,CAAC;IACtC,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,KAAK,UAAU,cAAc,CAAC,UAAkB,EAAE,IAA4B;IAC5E,IAAI,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC;QACvB,IAAI,CAAC;YACH,MAAM,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,eAAe,CAAC,CAAC,CAAC;YACxD,OAAO,YAAY,CAAC;QACtB,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,OAAO,CAAC;QACjB,CAAC;IACH,CAAC;IACD,OAAO,YAAY,CAAC;AACtB,CAAC;AAED,SAAS,eAAe,CAAC,IAA4B;IACnD,IAAI,IAAI,CAAC,MAAM,CAAC;QAAE,OAAO,MAAM,CAAC;IAChC,IAAI,IAAI,CAAC,SAAS,CAAC;QAAE,OAAO,SAAS,CAAC;IACtC,IAAI,IAAI,CAAC,QAAQ,CAAC;QAAE,OAAO,QAAQ,CAAC;IACpC,OAAO,SAAS,CAAC;AACnB,CAAC"}
@@ -1,8 +1,16 @@
1
1
  import { ProjectType } from './project-detector.js';
2
+ import { TechStack } from './tech-stack-detector.js';
3
+ import { ProjectStructure, StructureAnalysis } from './structure-analyzer.js';
4
+ import { assignTask, TaskAssignment, ModelType, ChangeType } from './task-assigner.js';
2
5
  export interface WorkflowContext {
3
6
  workingDir: string;
4
7
  projectType: ProjectType;
8
+ techStack?: TechStack;
9
+ structure?: StructureAnalysis;
10
+ taskAssignment?: TaskAssignment;
5
11
  userInput?: string;
6
12
  }
7
13
  export declare function routeWorkflow(workingDir: string, manualType?: ProjectType): Promise<WorkflowContext>;
14
+ export type { ProjectStructure, StructureAnalysis, ModelType, ChangeType, TaskAssignment };
15
+ export { assignTask };
8
16
  //# sourceMappingURL=workflow-router.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"workflow-router.d.ts","sourceRoot":"","sources":["../../../src/features/ccg/workflow-router.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEvE,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,WAAW,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAsB,aAAa,CACjC,UAAU,EAAE,MAAM,EAClB,UAAU,CAAC,EAAE,WAAW,GACvB,OAAO,CAAC,eAAe,CAAC,CAO1B"}
1
+ {"version":3,"file":"workflow-router.d.ts","sourceRoot":"","sources":["../../../src/features/ccg/workflow-router.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAmB,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,EAA2B,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACvG,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEvF,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,WAAW,CAAC;IACzB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAsB,aAAa,CACjC,UAAU,EAAE,MAAM,EAClB,UAAU,CAAC,EAAE,WAAW,GACvB,OAAO,CAAC,eAAe,CAAC,CAW1B;AAED,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,SAAS,EAAE,UAAU,EAAE,cAAc,EAAE,CAAC;AAC3F,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -1,9 +1,17 @@
1
1
  import { detectProjectType } from './project-detector.js';
2
+ import { detectTechStack } from './tech-stack-detector.js';
3
+ import { analyzeProjectStructure } from './structure-analyzer.js';
4
+ import { assignTask } from './task-assigner.js';
2
5
  export async function routeWorkflow(workingDir, manualType) {
3
6
  const detection = await detectProjectType(workingDir, manualType);
7
+ const techStack = await detectTechStack(workingDir);
8
+ const structure = await analyzeProjectStructure(workingDir, techStack);
4
9
  return {
5
10
  workingDir,
6
11
  projectType: detection.type,
12
+ techStack,
13
+ structure,
7
14
  };
8
15
  }
16
+ export { assignTask };
9
17
  //# sourceMappingURL=workflow-router.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"workflow-router.js","sourceRoot":"","sources":["../../../src/features/ccg/workflow-router.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAe,MAAM,uBAAuB,CAAC;AAQvE,MAAM,CAAC,KAAK,UAAU,aAAa,CACjC,UAAkB,EAClB,UAAwB;IAExB,MAAM,SAAS,GAAG,MAAM,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;IAElE,OAAO;QACL,UAAU;QACV,WAAW,EAAE,SAAS,CAAC,IAAI;KAC5B,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"workflow-router.js","sourceRoot":"","sources":["../../../src/features/ccg/workflow-router.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAe,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAE,eAAe,EAAa,MAAM,0BAA0B,CAAC;AACtE,OAAO,EAAE,uBAAuB,EAAuC,MAAM,yBAAyB,CAAC;AACvG,OAAO,EAAE,UAAU,EAAyC,MAAM,oBAAoB,CAAC;AAWvF,MAAM,CAAC,KAAK,UAAU,aAAa,CACjC,UAAkB,EAClB,UAAwB;IAExB,MAAM,SAAS,GAAG,MAAM,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;IAClE,MAAM,SAAS,GAAG,MAAM,eAAe,CAAC,UAAU,CAAC,CAAC;IACpD,MAAM,SAAS,GAAG,MAAM,uBAAuB,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC;IAEvE,OAAO;QACL,UAAU;QACV,WAAW,EAAE,SAAS,CAAC,IAAI;QAC3B,SAAS;QACT,SAAS;KACV,CAAC;AACJ,CAAC;AAGD,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -6,7 +6,8 @@
6
6
  * while managing file ownership to avoid conflicts.
7
7
  */
8
8
  import type { UltrapilotConfig, UltrapilotState, WorkerState, IntegrationResult } from './types.js';
9
- export { generateDecompositionPrompt, parseDecompositionResult, generateParallelGroups, validateFileOwnership, extractSharedFiles, toSimpleSubtasks, DEFAULT_SHARED_FILE_PATTERNS } from './decomposer.js';
9
+ import { generateDecompositionPrompt, parseDecompositionResult, generateParallelGroups, validateFileOwnership, extractSharedFiles, toSimpleSubtasks, DEFAULT_SHARED_FILE_PATTERNS } from './decomposer.js';
10
+ export { generateDecompositionPrompt, parseDecompositionResult, generateParallelGroups, validateFileOwnership, extractSharedFiles, toSimpleSubtasks, DEFAULT_SHARED_FILE_PATTERNS };
10
11
  export type { DecomposedTask, DecompositionResult, DecompositionOptions, AgentType, ModelTier } from './decomposer.js';
11
12
  /**
12
13
  * Start ultrapilot coordinator
@@ -19,6 +20,18 @@ export type { DecomposedTask, DecompositionResult, DecompositionOptions, AgentTy
19
20
  * @returns Initialized ultrapilot state
20
21
  */
21
22
  export declare function startUltrapilot(cwd: string, task: string, config?: Partial<UltrapilotConfig>, sessionId?: string): Promise<UltrapilotState>;
23
+ /**
24
+ * Decompose a task using Architect agent (AI-powered)
25
+ *
26
+ * Calls the Architect agent to intelligently decompose a task into parallel-safe subtasks
27
+ * with file ownership and dependency tracking.
28
+ *
29
+ * @param task - Task description
30
+ * @param codebaseContext - Context about the codebase structure
31
+ * @param config - Configuration options
32
+ * @returns Array of subtask descriptions
33
+ */
34
+ export declare function decomposeTaskWithAI(task: string, codebaseContext: string, config: Required<UltrapilotConfig>): Promise<string[]>;
22
35
  /**
23
36
  * Decompose a task into parallelizable subtasks
24
37
  *
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/ultrapilot/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EACV,gBAAgB,EAChB,eAAe,EACf,WAAW,EACX,iBAAiB,EAClB,MAAM,YAAY,CAAC;AAoBpB,OAAO,EACL,2BAA2B,EAC3B,wBAAwB,EACxB,sBAAsB,EACtB,qBAAqB,EACrB,kBAAkB,EAClB,gBAAgB,EAChB,4BAA4B,EAC7B,MAAM,iBAAiB,CAAC;AAEzB,YAAY,EACV,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACpB,SAAS,EACT,SAAS,EACV,MAAM,iBAAiB,CAAC;AAEzB;;;;;;;;;GASG;AACH,wBAAsB,eAAe,CACnC,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,MAAM,EACZ,MAAM,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,EAClC,SAAS,CAAC,EAAE,MAAM,GACjB,OAAO,CAAC,eAAe,CAAC,CAa1B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,wBAAsB,aAAa,CACjC,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,QAAQ,CAAC,gBAAgB,CAAC,GACjC,OAAO,CAAC,MAAM,EAAE,CAAC,CAiCnB;AAED;;;;;;;;;GASG;AACH,wBAAsB,YAAY,CAChC,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,MAAM,EAAE,EAClB,MAAM,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,GACjC,OAAO,CAAC,WAAW,EAAE,CAAC,CA2BxB;AAED;;;;;;;GAOG;AACH,wBAAsB,aAAa,CACjC,GAAG,EAAE,MAAM,GACV,OAAO,CAAC;IACT,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf,CAAC,CAgBD;AAED;;;;;;;GAOG;AACH,wBAAsB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC,CA+C9E;AAsFD;;;;;;;;;GASG;AACH,wBAAsB,iBAAiB,CACrC,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,MAAM,EAAE,GACd,OAAO,CAAC,OAAO,CAAC,CAYlB;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,GACf,OAAO,CAQT;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAKnE;AAED;;GAEG;AACH,wBAAsB,kBAAkB,CACtC,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,OAAO,CAAC,CA0BlB;AAGD,YAAY,EACV,gBAAgB,EAChB,eAAe,EACf,WAAW,EACX,iBAAiB,EACjB,aAAa,EACd,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACd,SAAS,EACT,iBAAiB,EACjB,cAAc,EACd,UAAU,EACV,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,cAAc,EACf,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/ultrapilot/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EACV,gBAAgB,EAChB,eAAe,EACf,WAAW,EACX,iBAAiB,EAClB,MAAM,YAAY,CAAC;AAYpB,OAAO,EACL,2BAA2B,EAC3B,wBAAwB,EACxB,sBAAsB,EACtB,qBAAqB,EACrB,kBAAkB,EAClB,gBAAgB,EAChB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C,CAgBD;AAED;;;;;;;GAOG;AACH,wBAAsB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC,CA+C9E;AAsFD;;;;;;;;;GASG;AACH,wBAAsB,iBAAiB,CACrC,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,MAAM,EAAE,GACd,OAAO,CAAC,OAAO,CAAC,CAYlB;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,GACf,OAAO,CAQT;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAKnE;AAED;;GAEG;AACH,wBAAsB,kBAAkB,CACtC,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,OAAO,CAAC,CA0BlB;AAGD,YAAY,EACV,gBAAgB,EAChB,eAAe,EACf,WAAW,EACX,iBAAiB,EACjB,aAAa,EACd,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACd,SAAS,EACT,iBAAiB,EACjB,cAAc,EACd,UAAU,EACV,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,cAAc,EACf,MAAM,YAAY,CAAC"}
@@ -7,14 +7,9 @@
7
7
  */
8
8
  import { DEFAULT_CONFIG } from './types.js';
9
9
  import { readUltrapilotState, writeUltrapilotState, initUltrapilot, addWorker, getCompletedWorkers, getRunningWorkers, getFailedWorkers, recordConflict } from './state.js';
10
- // AI-powered decomposition utilities
11
- // TODO: Use these with the Architect agent for intelligent task decomposition
12
- // Example integration:
13
- // const prompt = generateDecompositionPrompt(task, codebaseContext);
14
- // const response = await Task({ subagent_type: 'architect', prompt });
15
- // const result = parseDecompositionResult(response);
16
- // const subtasks = toSimpleSubtasks(result);
17
- export { generateDecompositionPrompt, parseDecompositionResult, generateParallelGroups, validateFileOwnership, extractSharedFiles, toSimpleSubtasks, DEFAULT_SHARED_FILE_PATTERNS } from './decomposer.js';
10
+ import { generateDecompositionPrompt, parseDecompositionResult, generateParallelGroups, validateFileOwnership, extractSharedFiles, toSimpleSubtasks, DEFAULT_SHARED_FILE_PATTERNS } from './decomposer.js';
11
+ // Re-export AI-powered decomposition utilities
12
+ export { generateDecompositionPrompt, parseDecompositionResult, generateParallelGroups, validateFileOwnership, extractSharedFiles, toSimpleSubtasks, DEFAULT_SHARED_FILE_PATTERNS };
18
13
  /**
19
14
  * Start ultrapilot coordinator
20
15
  *
@@ -36,6 +31,32 @@ export async function startUltrapilot(cwd, task, config, sessionId) {
36
31
  }
37
32
  return state;
38
33
  }
34
+ /**
35
+ * Decompose a task using Architect agent (AI-powered)
36
+ *
37
+ * Calls the Architect agent to intelligently decompose a task into parallel-safe subtasks
38
+ * with file ownership and dependency tracking.
39
+ *
40
+ * @param task - Task description
41
+ * @param codebaseContext - Context about the codebase structure
42
+ * @param config - Configuration options
43
+ * @returns Array of subtask descriptions
44
+ */
45
+ export async function decomposeTaskWithAI(task, codebaseContext, config) {
46
+ const prompt = generateDecompositionPrompt(task, codebaseContext, {
47
+ maxSubtasks: config.maxWorkers,
48
+ preferredModel: config.workerModel || 'sonnet'
49
+ });
50
+ // Return prompt for orchestrator to use with Task tool
51
+ // The orchestrator should call: Task({ subagent_type: 'ultrapower:architect', model: 'opus', prompt })
52
+ // Then parse with: parseDecompositionResult(response)
53
+ // Then convert with: toSimpleSubtasks(result)
54
+ throw new Error('AI decomposition requires Task tool. Call from orchestrator:\n' +
55
+ '1. const prompt = generateDecompositionPrompt(task, context)\n' +
56
+ '2. const response = await Task({ subagent_type: "ultrapower:architect", model: "opus", prompt })\n' +
57
+ '3. const result = parseDecompositionResult(response)\n' +
58
+ '4. const subtasks = toSimpleSubtasks(result)');
59
+ }
39
60
  /**
40
61
  * Decompose a task into parallelizable subtasks
41
62
  *
@@ -75,9 +96,23 @@ export async function startUltrapilot(cwd, task, config, sessionId) {
75
96
  * @returns Array of subtask descriptions
76
97
  */
77
98
  export async function decomposeTask(task, config) {
78
- // Heuristic-based decomposition for simple cases
79
- // For complex tasks, use generateDecompositionPrompt() with Architect agent
80
- // to get structured DecompositionResult with file ownership and dependencies
99
+ // Use AI-powered decomposition if enabled
100
+ if (config.useAIDecomposition && config.codebaseContext) {
101
+ try {
102
+ const prompt = generateDecompositionPrompt(task, config.codebaseContext, {
103
+ maxSubtasks: config.maxWorkers,
104
+ preferredModel: config.workerModel || 'sonnet'
105
+ });
106
+ // Note: This requires Task tool to be available in the calling context
107
+ // The orchestrator should call this and pass the Architect response
108
+ console.log('[Ultrapilot] AI decomposition prompt generated. Use with Architect agent.');
109
+ console.log('[Ultrapilot] Falling back to heuristic decomposition.');
110
+ }
111
+ catch (error) {
112
+ console.warn('[Ultrapilot] AI decomposition failed, using heuristic fallback:', error);
113
+ }
114
+ }
115
+ // Heuristic-based decomposition
81
116
  const subtasks = [];
82
117
  // Look for explicit lists (numbered or bulleted)
83
118
  const listItemPattern = /^[\s]*(?:\d+\.|[-*+])\s+(.+)$/gm;
@@ -92,7 +127,7 @@ export async function decomposeTask(task, config) {
92
127
  const sentences = task
93
128
  .split(/[.;\n]+/)
94
129
  .map((s) => s.trim())
95
- .filter((s) => s.length > 10); // Filter out very short fragments
130
+ .filter((s) => s.length > 10);
96
131
  subtasks.push(...sentences);
97
132
  }
98
133
  // If still no subtasks, treat entire task as single unit
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/hooks/ultrapilot/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAQH,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,E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I,CAAC,QAAQ,CAAC,CAAC;IACnD,CAAC;IAED,OAAO,MAAM,oBAAoB,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;AAChD,CAAC;AAWD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACd,SAAS,EACT,iBAAiB,EACjB,cAAc,EACd,UAAU,EACV,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,cAAc,EACf,MAAM,YAAY,CAAC"}
@@ -23,6 +23,10 @@ export interface UltrapilotConfig {
23
23
  sharedFiles?: string[];
24
24
  /** Whether to enable verbose logging */
25
25
  verbose?: boolean;
26
+ /** Use Architect agent for intelligent task decomposition */
27
+ useAIDecomposition?: boolean;
28
+ /** Codebase context for AI decomposition */
29
+ codebaseContext?: string;
26
30
  }
27
31
  /**
28
32
  * State of an individual worker
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/hooks/ultrapilot/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,yCAAyC;IACzC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0CAA0C;IAC1C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,yCAAyC;IACzC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mDAAmD;IACnD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,4DAA4D;IAC5D,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,wCAAwC;IACxC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,uBAAuB;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,yBAAyB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,mCAAmC;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,0CAA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AAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iCAAiC;IACjC,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,yCAAyC;IACzC,OAAO,EAAE,OAAO,CAAC;IACjB,uCAAuC;IACvC,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,wCAAwC;IACxC,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,oDAAoD;IACpD,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,iCAAiC;IACjC,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,gCAAgC;IAChC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,gBAAgB,CAwBrD,CAAC"}
@@ -31,6 +31,8 @@ export const DEFAULT_CONFIG = {
31
31
  'requirements.txt',
32
32
  'setup.py'
33
33
  ],
34
- verbose: false
34
+ verbose: false,
35
+ useAIDecomposition: false,
36
+ codebaseContext: ''
35
37
  };
36
38
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/hooks/ultrapilot/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA4GH;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAA+B;IACxD,UAAU,EAAE,EAAE;IACd,aAAa,EAAE,CAAC;IAChB,aAAa,EAAE,MAAM,EAAE,YAAY;IACnC,WAAW,EAAE,QAAQ;IACrB,WAAW,EAAE;QACX,cAAc;QACd,mBAAmB;QACnB,eAAe;QACf,gBAAgB;QAChB,YAAY;QACZ,WAAW;QACX,UAAU;QACV,QAAQ;QACR,QAAQ;QACR,YAAY;QACZ,YAAY;QACZ,gBAAgB;QAChB,kBAAkB;QAClB,UAAU;KACX;IACD,OAAO,EAAE,KAAK;CACf,CAAC"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/hooks/ultrapilot/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAgHH;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAA+B;IACxD,UAAU,EAAE,EAAE;IACd,aAAa,EAAE,CAAC;IAChB,aAAa,EAAE,MAAM,EAAE,YAAY;IACnC,WAAW,EAAE,QAAQ;IACrB,WAAW,EAAE;QACX,cAAc;QACd,mBAAmB;QACnB,eAAe;QACf,gBAAgB;QAChB,YAAY;QACZ,WAAW;QACX,UAAU;QACV,QAAQ;QACR,QAAQ;QACR,YAAY;QACZ,YAAY;QACZ,gBAAgB;QAChB,kBAAkB;QAClB,UAAU;KACX;IACD,OAAO,EAAE,KAAK;IACd,kBAAkB,EAAE,KAAK;IACzB,eAAe,EAAE,EAAE;CACpB,CAAC"}
@@ -25,7 +25,7 @@ export declare const memoryTools: ({
25
25
  };
26
26
  handler: (args: {
27
27
  workingDirectory?: string | undefined;
28
- section?: "build" | "all" | "techStack" | "conventions" | "structure" | "notes" | "directives" | undefined;
28
+ section?: "techStack" | "structure" | "build" | "all" | "conventions" | "notes" | "directives" | undefined;
29
29
  }) => Promise<{
30
30
  content: Array<{
31
31
  type: "text";
@@ -142,8 +142,8 @@ export declare const memoryTools: ({
142
142
  };
143
143
  handler: (args: {
144
144
  directive: string;
145
- context?: string | undefined;
146
145
  workingDirectory?: string | undefined;
146
+ context?: string | undefined;
147
147
  priority?: "high" | "normal" | undefined;
148
148
  }) => Promise<{
149
149
  content: Array<{
@@ -31,7 +31,7 @@ export declare const stateTools: ({
31
31
  required: string[];
32
32
  };
33
33
  handler: (args: {
34
- mode: "ultrawork" | "autopilot" | "ralph" | "ultrapilot" | "ultraqa" | "team" | "pipeline" | "swarm" | "ralplan";
34
+ mode: "autopilot" | "ultrapilot" | "team" | "pipeline" | "ralph" | "ultrawork" | "ultraqa" | "swarm" | "ralplan";
35
35
  workingDirectory?: string | undefined;
36
36
  session_id?: string | undefined;
37
37
  }) => Promise<{
@@ -104,12 +104,11 @@ export declare const stateTools: ({
104
104
  required: string[];
105
105
  };
106
106
  handler: (args: {
107
- mode: "ultrawork" | "autopilot" | "ralph" | "ultrapilot" | "ultraqa" | "team" | "pipeline" | "swarm" | "ralplan";
108
- error?: string | undefined;
107
+ mode: "autopilot" | "ultrapilot" | "team" | "pipeline" | "ralph" | "ultrawork" | "ultraqa" | "swarm" | "ralplan";
109
108
  state?: Record<string, unknown> | undefined;
110
- active?: boolean | undefined;
111
109
  workingDirectory?: string | undefined;
112
110
  session_id?: string | undefined;
111
+ active?: boolean | undefined;
113
112
  iteration?: number | undefined;
114
113
  max_iterations?: number | undefined;
115
114
  current_phase?: string | undefined;
@@ -117,6 +116,7 @@ export declare const stateTools: ({
117
116
  plan_path?: string | undefined;
118
117
  started_at?: string | undefined;
119
118
  completed_at?: string | undefined;
119
+ error?: string | undefined;
120
120
  }) => Promise<{
121
121
  content: Array<{
122
122
  type: "text";
@@ -195,7 +195,7 @@ export declare const stateTools: ({
195
195
  required?: undefined;
196
196
  };
197
197
  handler: (args: {
198
- mode?: "ultrawork" | "autopilot" | "ralph" | "ultrapilot" | "ultraqa" | "team" | "pipeline" | "swarm" | "ralplan" | undefined;
198
+ mode?: "autopilot" | "ultrapilot" | "team" | "pipeline" | "ralph" | "ultrawork" | "ultraqa" | "swarm" | "ralplan" | undefined;
199
199
  workingDirectory?: string | undefined;
200
200
  session_id?: string | undefined;
201
201
  }) => Promise<{