@lingxiao-office/sdk 1.0.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 (2273) hide show
  1. package/dist/agents/AgentCompletionNoteWriter.d.ts +20 -0
  2. package/dist/agents/AgentCompletionNoteWriter.d.ts.map +1 -0
  3. package/dist/agents/AgentCompletionNoteWriter.js +26 -0
  4. package/dist/agents/AgentCompletionNoteWriter.js.map +1 -0
  5. package/dist/agents/AgentContextController.d.ts +14 -0
  6. package/dist/agents/AgentContextController.d.ts.map +1 -0
  7. package/dist/agents/AgentContextController.js +50 -0
  8. package/dist/agents/AgentContextController.js.map +1 -0
  9. package/dist/agents/AgentDefinitionService.d.ts +79 -0
  10. package/dist/agents/AgentDefinitionService.d.ts.map +1 -0
  11. package/dist/agents/AgentDefinitionService.js +295 -0
  12. package/dist/agents/AgentDefinitionService.js.map +1 -0
  13. package/dist/agents/AgentExecutionResult.d.ts +68 -0
  14. package/dist/agents/AgentExecutionResult.d.ts.map +1 -0
  15. package/dist/agents/AgentExecutionResult.js +81 -0
  16. package/dist/agents/AgentExecutionResult.js.map +1 -0
  17. package/dist/agents/AgentInterventionHandler.d.ts +33 -0
  18. package/dist/agents/AgentInterventionHandler.d.ts.map +1 -0
  19. package/dist/agents/AgentInterventionHandler.js +58 -0
  20. package/dist/agents/AgentInterventionHandler.js.map +1 -0
  21. package/dist/agents/AgentMessageHistory.d.ts +27 -0
  22. package/dist/agents/AgentMessageHistory.d.ts.map +1 -0
  23. package/dist/agents/AgentMessageHistory.js +43 -0
  24. package/dist/agents/AgentMessageHistory.js.map +1 -0
  25. package/dist/agents/AgentPoolRuntime.d.ts +647 -0
  26. package/dist/agents/AgentPoolRuntime.d.ts.map +1 -0
  27. package/dist/agents/AgentPoolRuntime.js +1713 -0
  28. package/dist/agents/AgentPoolRuntime.js.map +1 -0
  29. package/dist/agents/AgentRoundExecutor.d.ts +56 -0
  30. package/dist/agents/AgentRoundExecutor.d.ts.map +1 -0
  31. package/dist/agents/AgentRoundExecutor.js +116 -0
  32. package/dist/agents/AgentRoundExecutor.js.map +1 -0
  33. package/dist/agents/AgentRuntimeUtilities.d.ts +14 -0
  34. package/dist/agents/AgentRuntimeUtilities.d.ts.map +1 -0
  35. package/dist/agents/AgentRuntimeUtilities.js +169 -0
  36. package/dist/agents/AgentRuntimeUtilities.js.map +1 -0
  37. package/dist/agents/AutonomyDecisionEngine.d.ts +20 -0
  38. package/dist/agents/AutonomyDecisionEngine.d.ts.map +1 -0
  39. package/dist/agents/AutonomyDecisionEngine.js +150 -0
  40. package/dist/agents/AutonomyDecisionEngine.js.map +1 -0
  41. package/dist/agents/BaseAgentRuntime.d.ts +509 -0
  42. package/dist/agents/BaseAgentRuntime.d.ts.map +1 -0
  43. package/dist/agents/BaseAgentRuntime.js +3280 -0
  44. package/dist/agents/BaseAgentRuntime.js.map +1 -0
  45. package/dist/agents/BlockedAgingPolicy.d.ts +3 -0
  46. package/dist/agents/BlockedAgingPolicy.d.ts.map +1 -0
  47. package/dist/agents/BlockedAgingPolicy.js +3 -0
  48. package/dist/agents/BlockedAgingPolicy.js.map +1 -0
  49. package/dist/agents/DispatchDecisionCoordinator.d.ts +98 -0
  50. package/dist/agents/DispatchDecisionCoordinator.d.ts.map +1 -0
  51. package/dist/agents/DispatchDecisionCoordinator.js +388 -0
  52. package/dist/agents/DispatchDecisionCoordinator.js.map +1 -0
  53. package/dist/agents/IntentClassifier.d.ts +19 -0
  54. package/dist/agents/IntentClassifier.d.ts.map +1 -0
  55. package/dist/agents/IntentClassifier.js +176 -0
  56. package/dist/agents/IntentClassifier.js.map +1 -0
  57. package/dist/agents/LeaderAgent.d.ts +752 -0
  58. package/dist/agents/LeaderAgent.d.ts.map +1 -0
  59. package/dist/agents/LeaderAgent.js +3511 -0
  60. package/dist/agents/LeaderAgent.js.map +1 -0
  61. package/dist/agents/LeaderBlackboard.d.ts +177 -0
  62. package/dist/agents/LeaderBlackboard.d.ts.map +1 -0
  63. package/dist/agents/LeaderBlackboard.js +800 -0
  64. package/dist/agents/LeaderBlackboard.js.map +1 -0
  65. package/dist/agents/LeaderDirectTools.d.ts +66 -0
  66. package/dist/agents/LeaderDirectTools.d.ts.map +1 -0
  67. package/dist/agents/LeaderDirectTools.js +124 -0
  68. package/dist/agents/LeaderDirectTools.js.map +1 -0
  69. package/dist/agents/LeaderExecutionController.d.ts +102 -0
  70. package/dist/agents/LeaderExecutionController.d.ts.map +1 -0
  71. package/dist/agents/LeaderExecutionController.js +260 -0
  72. package/dist/agents/LeaderExecutionController.js.map +1 -0
  73. package/dist/agents/LeaderPermissionManager.d.ts +117 -0
  74. package/dist/agents/LeaderPermissionManager.d.ts.map +1 -0
  75. package/dist/agents/LeaderPermissionManager.js +455 -0
  76. package/dist/agents/LeaderPermissionManager.js.map +1 -0
  77. package/dist/agents/LeaderProgressInvariant.d.ts +174 -0
  78. package/dist/agents/LeaderProgressInvariant.d.ts.map +1 -0
  79. package/dist/agents/LeaderProgressInvariant.js +479 -0
  80. package/dist/agents/LeaderProgressInvariant.js.map +1 -0
  81. package/dist/agents/LeaderSupervisionCoordinator.d.ts +109 -0
  82. package/dist/agents/LeaderSupervisionCoordinator.d.ts.map +1 -0
  83. package/dist/agents/LeaderSupervisionCoordinator.js +492 -0
  84. package/dist/agents/LeaderSupervisionCoordinator.js.map +1 -0
  85. package/dist/agents/LeaderSupervisionPolicy.d.ts +52 -0
  86. package/dist/agents/LeaderSupervisionPolicy.d.ts.map +1 -0
  87. package/dist/agents/LeaderSupervisionPolicy.js +130 -0
  88. package/dist/agents/LeaderSupervisionPolicy.js.map +1 -0
  89. package/dist/agents/LeaderTools.d.ts +169 -0
  90. package/dist/agents/LeaderTools.d.ts.map +1 -0
  91. package/dist/agents/LeaderTools.js +1693 -0
  92. package/dist/agents/LeaderTools.js.map +1 -0
  93. package/dist/agents/LeaderWorkOrchestrator.d.ts +187 -0
  94. package/dist/agents/LeaderWorkOrchestrator.d.ts.map +1 -0
  95. package/dist/agents/LeaderWorkOrchestrator.js +554 -0
  96. package/dist/agents/LeaderWorkOrchestrator.js.map +1 -0
  97. package/dist/agents/LlmGuard.d.ts +160 -0
  98. package/dist/agents/LlmGuard.d.ts.map +1 -0
  99. package/dist/agents/LlmGuard.js +727 -0
  100. package/dist/agents/LlmGuard.js.map +1 -0
  101. package/dist/agents/OrchestrationRuntime.d.ts +50 -0
  102. package/dist/agents/OrchestrationRuntime.d.ts.map +1 -0
  103. package/dist/agents/OrchestrationRuntime.js +436 -0
  104. package/dist/agents/OrchestrationRuntime.js.map +1 -0
  105. package/dist/agents/ProjectControlService.d.ts +18 -0
  106. package/dist/agents/ProjectControlService.d.ts.map +1 -0
  107. package/dist/agents/ProjectControlService.js +99 -0
  108. package/dist/agents/ProjectControlService.js.map +1 -0
  109. package/dist/agents/RoleCapabilityModel.d.ts +125 -0
  110. package/dist/agents/RoleCapabilityModel.d.ts.map +1 -0
  111. package/dist/agents/RoleCapabilityModel.js +303 -0
  112. package/dist/agents/RoleCapabilityModel.js.map +1 -0
  113. package/dist/agents/RoleRegistry.d.ts +92 -0
  114. package/dist/agents/RoleRegistry.d.ts.map +1 -0
  115. package/dist/agents/RoleRegistry.js +209 -0
  116. package/dist/agents/RoleRegistry.js.map +1 -0
  117. package/dist/agents/TaskClassifier.d.ts +34 -0
  118. package/dist/agents/TaskClassifier.d.ts.map +1 -0
  119. package/dist/agents/TaskClassifier.js +132 -0
  120. package/dist/agents/TaskClassifier.js.map +1 -0
  121. package/dist/agents/TeamSynchronizer.d.ts +113 -0
  122. package/dist/agents/TeamSynchronizer.d.ts.map +1 -0
  123. package/dist/agents/TeamSynchronizer.js +250 -0
  124. package/dist/agents/TeamSynchronizer.js.map +1 -0
  125. package/dist/agents/UnifiedScheduler.d.ts +111 -0
  126. package/dist/agents/UnifiedScheduler.d.ts.map +1 -0
  127. package/dist/agents/UnifiedScheduler.js +246 -0
  128. package/dist/agents/UnifiedScheduler.js.map +1 -0
  129. package/dist/agents/WorkerDbClosedClassification.d.ts +51 -0
  130. package/dist/agents/WorkerDbClosedClassification.d.ts.map +1 -0
  131. package/dist/agents/WorkerDbClosedClassification.js +59 -0
  132. package/dist/agents/WorkerDbClosedClassification.js.map +1 -0
  133. package/dist/agents/WorkerFlushRegistry.d.ts +15 -0
  134. package/dist/agents/WorkerFlushRegistry.d.ts.map +1 -0
  135. package/dist/agents/WorkerFlushRegistry.js +33 -0
  136. package/dist/agents/WorkerFlushRegistry.js.map +1 -0
  137. package/dist/agents/WorkerProcessEntry.d.ts +12 -0
  138. package/dist/agents/WorkerProcessEntry.d.ts.map +1 -0
  139. package/dist/agents/WorkerProcessEntry.js +565 -0
  140. package/dist/agents/WorkerProcessEntry.js.map +1 -0
  141. package/dist/agents/WorkerTaskAgent.d.ts +46 -0
  142. package/dist/agents/WorkerTaskAgent.d.ts.map +1 -0
  143. package/dist/agents/WorkerTaskAgent.js +114 -0
  144. package/dist/agents/WorkerTaskAgent.js.map +1 -0
  145. package/dist/agents/agentP0Message.d.ts +42 -0
  146. package/dist/agents/agentP0Message.d.ts.map +1 -0
  147. package/dist/agents/agentP0Message.js +48 -0
  148. package/dist/agents/agentP0Message.js.map +1 -0
  149. package/dist/agents/errors/TimeoutError.d.ts +12 -0
  150. package/dist/agents/errors/TimeoutError.d.ts.map +1 -0
  151. package/dist/agents/errors/TimeoutError.js +20 -0
  152. package/dist/agents/errors/TimeoutError.js.map +1 -0
  153. package/dist/agents/external/ExternalAgentOrphans.d.ts +16 -0
  154. package/dist/agents/external/ExternalAgentOrphans.d.ts.map +1 -0
  155. package/dist/agents/external/ExternalAgentOrphans.js +95 -0
  156. package/dist/agents/external/ExternalAgentOrphans.js.map +1 -0
  157. package/dist/agents/external/ExternalAgentRunner.d.ts +78 -0
  158. package/dist/agents/external/ExternalAgentRunner.d.ts.map +1 -0
  159. package/dist/agents/external/ExternalAgentRunner.js +671 -0
  160. package/dist/agents/external/ExternalAgentRunner.js.map +1 -0
  161. package/dist/agents/external/availability.d.ts +16 -0
  162. package/dist/agents/external/availability.d.ts.map +1 -0
  163. package/dist/agents/external/availability.js +43 -0
  164. package/dist/agents/external/availability.js.map +1 -0
  165. package/dist/agents/external/completionReport.d.ts +17 -0
  166. package/dist/agents/external/completionReport.d.ts.map +1 -0
  167. package/dist/agents/external/completionReport.js +167 -0
  168. package/dist/agents/external/completionReport.js.map +1 -0
  169. package/dist/agents/external/drivers/ClaudeCodeDriver.d.ts +9 -0
  170. package/dist/agents/external/drivers/ClaudeCodeDriver.d.ts.map +1 -0
  171. package/dist/agents/external/drivers/ClaudeCodeDriver.js +210 -0
  172. package/dist/agents/external/drivers/ClaudeCodeDriver.js.map +1 -0
  173. package/dist/agents/external/drivers/CodexDriver.d.ts +9 -0
  174. package/dist/agents/external/drivers/CodexDriver.d.ts.map +1 -0
  175. package/dist/agents/external/drivers/CodexDriver.js +184 -0
  176. package/dist/agents/external/drivers/CodexDriver.js.map +1 -0
  177. package/dist/agents/external/lineReader.d.ts +10 -0
  178. package/dist/agents/external/lineReader.d.ts.map +1 -0
  179. package/dist/agents/external/lineReader.js +30 -0
  180. package/dist/agents/external/lineReader.js.map +1 -0
  181. package/dist/agents/external/modelResolver.d.ts +5 -0
  182. package/dist/agents/external/modelResolver.d.ts.map +1 -0
  183. package/dist/agents/external/modelResolver.js +87 -0
  184. package/dist/agents/external/modelResolver.js.map +1 -0
  185. package/dist/agents/external/promptBuilder.d.ts +3 -0
  186. package/dist/agents/external/promptBuilder.d.ts.map +1 -0
  187. package/dist/agents/external/promptBuilder.js +39 -0
  188. package/dist/agents/external/promptBuilder.js.map +1 -0
  189. package/dist/agents/external/types.d.ts +131 -0
  190. package/dist/agents/external/types.d.ts.map +1 -0
  191. package/dist/agents/external/types.js +2 -0
  192. package/dist/agents/external/types.js.map +1 -0
  193. package/dist/agents/leader/LeaderContextBuilder.d.ts +155 -0
  194. package/dist/agents/leader/LeaderContextBuilder.d.ts.map +1 -0
  195. package/dist/agents/leader/LeaderContextBuilder.js +629 -0
  196. package/dist/agents/leader/LeaderContextBuilder.js.map +1 -0
  197. package/dist/agents/leader/LeaderLlmSession.d.ts +11 -0
  198. package/dist/agents/leader/LeaderLlmSession.d.ts.map +1 -0
  199. package/dist/agents/leader/LeaderLlmSession.js +17 -0
  200. package/dist/agents/leader/LeaderLlmSession.js.map +1 -0
  201. package/dist/agents/leader/LeaderMetaToolRegistry.d.ts +15 -0
  202. package/dist/agents/leader/LeaderMetaToolRegistry.d.ts.map +1 -0
  203. package/dist/agents/leader/LeaderMetaToolRegistry.js +73 -0
  204. package/dist/agents/leader/LeaderMetaToolRegistry.js.map +1 -0
  205. package/dist/agents/leader/LeaderStreamBuffer.d.ts +15 -0
  206. package/dist/agents/leader/LeaderStreamBuffer.d.ts.map +1 -0
  207. package/dist/agents/leader/LeaderStreamBuffer.js +19 -0
  208. package/dist/agents/leader/LeaderStreamBuffer.js.map +1 -0
  209. package/dist/agents/leader/LeaderThinkingLoop.d.ts +239 -0
  210. package/dist/agents/leader/LeaderThinkingLoop.d.ts.map +1 -0
  211. package/dist/agents/leader/LeaderThinkingLoop.js +950 -0
  212. package/dist/agents/leader/LeaderThinkingLoop.js.map +1 -0
  213. package/dist/agents/leader/LeaderToolDispatch.d.ts +48 -0
  214. package/dist/agents/leader/LeaderToolDispatch.d.ts.map +1 -0
  215. package/dist/agents/leader/LeaderToolDispatch.js +337 -0
  216. package/dist/agents/leader/LeaderToolDispatch.js.map +1 -0
  217. package/dist/agents/leader/LeaderToolFailure.d.ts +22 -0
  218. package/dist/agents/leader/LeaderToolFailure.d.ts.map +1 -0
  219. package/dist/agents/leader/LeaderToolFailure.js +25 -0
  220. package/dist/agents/leader/LeaderToolFailure.js.map +1 -0
  221. package/dist/agents/leader/LeaderToolGates.d.ts +131 -0
  222. package/dist/agents/leader/LeaderToolGates.d.ts.map +1 -0
  223. package/dist/agents/leader/LeaderToolGates.js +290 -0
  224. package/dist/agents/leader/LeaderToolGates.js.map +1 -0
  225. package/dist/agents/leader/artifactContent.d.ts +38 -0
  226. package/dist/agents/leader/artifactContent.d.ts.map +1 -0
  227. package/dist/agents/leader/artifactContent.js +101 -0
  228. package/dist/agents/leader/artifactContent.js.map +1 -0
  229. package/dist/agents/leader/builtinRoles.d.ts +36 -0
  230. package/dist/agents/leader/builtinRoles.d.ts.map +1 -0
  231. package/dist/agents/leader/builtinRoles.js +41 -0
  232. package/dist/agents/leader/builtinRoles.js.map +1 -0
  233. package/dist/agents/leader/contextLimit.d.ts +25 -0
  234. package/dist/agents/leader/contextLimit.d.ts.map +1 -0
  235. package/dist/agents/leader/contextLimit.js +24 -0
  236. package/dist/agents/leader/contextLimit.js.map +1 -0
  237. package/dist/agents/leader/contextMemory.d.ts +19 -0
  238. package/dist/agents/leader/contextMemory.d.ts.map +1 -0
  239. package/dist/agents/leader/contextMemory.js +18 -0
  240. package/dist/agents/leader/contextMemory.js.map +1 -0
  241. package/dist/agents/leader/conversationBuffer.d.ts +23 -0
  242. package/dist/agents/leader/conversationBuffer.d.ts.map +1 -0
  243. package/dist/agents/leader/conversationBuffer.js +42 -0
  244. package/dist/agents/leader/conversationBuffer.js.map +1 -0
  245. package/dist/agents/leader/dynamicContext.d.ts +23 -0
  246. package/dist/agents/leader/dynamicContext.d.ts.map +1 -0
  247. package/dist/agents/leader/dynamicContext.js +51 -0
  248. package/dist/agents/leader/dynamicContext.js.map +1 -0
  249. package/dist/agents/leader/p0Message.d.ts +154 -0
  250. package/dist/agents/leader/p0Message.d.ts.map +1 -0
  251. package/dist/agents/leader/p0Message.js +229 -0
  252. package/dist/agents/leader/p0Message.js.map +1 -0
  253. package/dist/agents/leader/progressReport.d.ts +33 -0
  254. package/dist/agents/leader/progressReport.d.ts.map +1 -0
  255. package/dist/agents/leader/progressReport.js +59 -0
  256. package/dist/agents/leader/progressReport.js.map +1 -0
  257. package/dist/agents/leader/systemPrompt.d.ts +32 -0
  258. package/dist/agents/leader/systemPrompt.d.ts.map +1 -0
  259. package/dist/agents/leader/systemPrompt.js +32 -0
  260. package/dist/agents/leader/systemPrompt.js.map +1 -0
  261. package/dist/agents/leader/tools/LeaderAgentControlTools.d.ts +62 -0
  262. package/dist/agents/leader/tools/LeaderAgentControlTools.d.ts.map +1 -0
  263. package/dist/agents/leader/tools/LeaderAgentControlTools.js +619 -0
  264. package/dist/agents/leader/tools/LeaderAgentControlTools.js.map +1 -0
  265. package/dist/agents/leader/tools/LeaderTaskPlanningTools.d.ts +54 -0
  266. package/dist/agents/leader/tools/LeaderTaskPlanningTools.d.ts.map +1 -0
  267. package/dist/agents/leader/tools/LeaderTaskPlanningTools.js +1353 -0
  268. package/dist/agents/leader/tools/LeaderTaskPlanningTools.js.map +1 -0
  269. package/dist/agents/leader/userContent.d.ts +15 -0
  270. package/dist/agents/leader/userContent.d.ts.map +1 -0
  271. package/dist/agents/leader/userContent.js +50 -0
  272. package/dist/agents/leader/userContent.js.map +1 -0
  273. package/dist/agents/leader/workerCompletionFormatter.d.ts +48 -0
  274. package/dist/agents/leader/workerCompletionFormatter.d.ts.map +1 -0
  275. package/dist/agents/leader/workerCompletionFormatter.js +53 -0
  276. package/dist/agents/leader/workerCompletionFormatter.js.map +1 -0
  277. package/dist/agents/messageMemoryBudget.d.ts +41 -0
  278. package/dist/agents/messageMemoryBudget.d.ts.map +1 -0
  279. package/dist/agents/messageMemoryBudget.js +91 -0
  280. package/dist/agents/messageMemoryBudget.js.map +1 -0
  281. package/dist/agents/office/OfficeModeProtocol.d.ts +3 -0
  282. package/dist/agents/office/OfficeModeProtocol.d.ts.map +1 -0
  283. package/dist/agents/office/OfficeModeProtocol.js +111 -0
  284. package/dist/agents/office/OfficeModeProtocol.js.map +1 -0
  285. package/dist/agents/pool/AgentPoolBroadcast.d.ts +25 -0
  286. package/dist/agents/pool/AgentPoolBroadcast.d.ts.map +1 -0
  287. package/dist/agents/pool/AgentPoolBroadcast.js +88 -0
  288. package/dist/agents/pool/AgentPoolBroadcast.js.map +1 -0
  289. package/dist/agents/pool/AgentPoolCompletionPayload.d.ts +17 -0
  290. package/dist/agents/pool/AgentPoolCompletionPayload.d.ts.map +1 -0
  291. package/dist/agents/pool/AgentPoolCompletionPayload.js +2 -0
  292. package/dist/agents/pool/AgentPoolCompletionPayload.js.map +1 -0
  293. package/dist/agents/pool/AgentPoolEvents.d.ts +20 -0
  294. package/dist/agents/pool/AgentPoolEvents.d.ts.map +1 -0
  295. package/dist/agents/pool/AgentPoolEvents.js +35 -0
  296. package/dist/agents/pool/AgentPoolEvents.js.map +1 -0
  297. package/dist/agents/pool/FaultRecovery.d.ts +106 -0
  298. package/dist/agents/pool/FaultRecovery.d.ts.map +1 -0
  299. package/dist/agents/pool/FaultRecovery.js +290 -0
  300. package/dist/agents/pool/FaultRecovery.js.map +1 -0
  301. package/dist/agents/pool/RemoteDispatchCoordinator.d.ts +63 -0
  302. package/dist/agents/pool/RemoteDispatchCoordinator.d.ts.map +1 -0
  303. package/dist/agents/pool/RemoteDispatchCoordinator.js +127 -0
  304. package/dist/agents/pool/RemoteDispatchCoordinator.js.map +1 -0
  305. package/dist/agents/pool/SlotScheduler.d.ts +83 -0
  306. package/dist/agents/pool/SlotScheduler.d.ts.map +1 -0
  307. package/dist/agents/pool/SlotScheduler.js +292 -0
  308. package/dist/agents/pool/SlotScheduler.js.map +1 -0
  309. package/dist/agents/pool/WorkerEventHandlerBinder.d.ts +133 -0
  310. package/dist/agents/pool/WorkerEventHandlerBinder.d.ts.map +1 -0
  311. package/dist/agents/pool/WorkerEventHandlerBinder.js +668 -0
  312. package/dist/agents/pool/WorkerEventHandlerBinder.js.map +1 -0
  313. package/dist/agents/pool/WorkerLifecycle.d.ts +68 -0
  314. package/dist/agents/pool/WorkerLifecycle.d.ts.map +1 -0
  315. package/dist/agents/pool/WorkerLifecycle.js +99 -0
  316. package/dist/agents/pool/WorkerLifecycle.js.map +1 -0
  317. package/dist/agents/pool/WorkerPayloadBuilder.d.ts +46 -0
  318. package/dist/agents/pool/WorkerPayloadBuilder.d.ts.map +1 -0
  319. package/dist/agents/pool/WorkerPayloadBuilder.js +294 -0
  320. package/dist/agents/pool/WorkerPayloadBuilder.js.map +1 -0
  321. package/dist/agents/prompts/PromptTemplates.d.ts +59 -0
  322. package/dist/agents/prompts/PromptTemplates.d.ts.map +1 -0
  323. package/dist/agents/prompts/PromptTemplates.js +223 -0
  324. package/dist/agents/prompts/PromptTemplates.js.map +1 -0
  325. package/dist/agents/prompts/architect_system.d.ts +30 -0
  326. package/dist/agents/prompts/architect_system.d.ts.map +1 -0
  327. package/dist/agents/prompts/architect_system.js +95 -0
  328. package/dist/agents/prompts/architect_system.js.map +1 -0
  329. package/dist/agents/prompts/backend_system.d.ts +5 -0
  330. package/dist/agents/prompts/backend_system.d.ts.map +1 -0
  331. package/dist/agents/prompts/backend_system.js +64 -0
  332. package/dist/agents/prompts/backend_system.js.map +1 -0
  333. package/dist/agents/prompts/evaluator_system.d.ts +5 -0
  334. package/dist/agents/prompts/evaluator_system.d.ts.map +1 -0
  335. package/dist/agents/prompts/evaluator_system.js +67 -0
  336. package/dist/agents/prompts/evaluator_system.js.map +1 -0
  337. package/dist/agents/prompts/frontend_system.d.ts +5 -0
  338. package/dist/agents/prompts/frontend_system.d.ts.map +1 -0
  339. package/dist/agents/prompts/frontend_system.js +66 -0
  340. package/dist/agents/prompts/frontend_system.js.map +1 -0
  341. package/dist/agents/prompts/fullstack_system.d.ts +5 -0
  342. package/dist/agents/prompts/fullstack_system.d.ts.map +1 -0
  343. package/dist/agents/prompts/fullstack_system.js +64 -0
  344. package/dist/agents/prompts/fullstack_system.js.map +1 -0
  345. package/dist/agents/prompts/i18n/catalog.d.ts +172 -0
  346. package/dist/agents/prompts/i18n/catalog.d.ts.map +1 -0
  347. package/dist/agents/prompts/i18n/catalog.js +498 -0
  348. package/dist/agents/prompts/i18n/catalog.js.map +1 -0
  349. package/dist/agents/prompts/i18n/leader_system_prompt.d.ts +6 -0
  350. package/dist/agents/prompts/i18n/leader_system_prompt.d.ts.map +1 -0
  351. package/dist/agents/prompts/i18n/leader_system_prompt.js +909 -0
  352. package/dist/agents/prompts/i18n/leader_system_prompt.js.map +1 -0
  353. package/dist/agents/prompts/i18n/userIntentLabels.d.ts +10 -0
  354. package/dist/agents/prompts/i18n/userIntentLabels.d.ts.map +1 -0
  355. package/dist/agents/prompts/i18n/userIntentLabels.js +21 -0
  356. package/dist/agents/prompts/i18n/userIntentLabels.js.map +1 -0
  357. package/dist/agents/prompts/leader/system_prompt.d.ts +6 -0
  358. package/dist/agents/prompts/leader/system_prompt.d.ts.map +1 -0
  359. package/dist/agents/prompts/leader/system_prompt.js +8 -0
  360. package/dist/agents/prompts/leader/system_prompt.js.map +1 -0
  361. package/dist/agents/prompts/planner_system.d.ts +5 -0
  362. package/dist/agents/prompts/planner_system.d.ts.map +1 -0
  363. package/dist/agents/prompts/planner_system.js +69 -0
  364. package/dist/agents/prompts/planner_system.js.map +1 -0
  365. package/dist/agents/prompts/qa_system.d.ts +5 -0
  366. package/dist/agents/prompts/qa_system.d.ts.map +1 -0
  367. package/dist/agents/prompts/qa_system.js +57 -0
  368. package/dist/agents/prompts/qa_system.js.map +1 -0
  369. package/dist/agents/prompts/shared/fragments.d.ts +54 -0
  370. package/dist/agents/prompts/shared/fragments.d.ts.map +1 -0
  371. package/dist/agents/prompts/shared/fragments.js +222 -0
  372. package/dist/agents/prompts/shared/fragments.js.map +1 -0
  373. package/dist/agents/prompts/shared/prompt_builder.d.ts +6 -0
  374. package/dist/agents/prompts/shared/prompt_builder.d.ts.map +1 -0
  375. package/dist/agents/prompts/shared/prompt_builder.js +17 -0
  376. package/dist/agents/prompts/shared/prompt_builder.js.map +1 -0
  377. package/dist/agents/prompts/task-runtime/thinking_instruction.d.ts +2 -0
  378. package/dist/agents/prompts/task-runtime/thinking_instruction.d.ts.map +1 -0
  379. package/dist/agents/prompts/task-runtime/thinking_instruction.js +37 -0
  380. package/dist/agents/prompts/task-runtime/thinking_instruction.js.map +1 -0
  381. package/dist/agents/prompts/task-runtime/worker_task_prompt.d.ts +42 -0
  382. package/dist/agents/prompts/task-runtime/worker_task_prompt.d.ts.map +1 -0
  383. package/dist/agents/prompts/task-runtime/worker_task_prompt.js +181 -0
  384. package/dist/agents/prompts/task-runtime/worker_task_prompt.js.map +1 -0
  385. package/dist/agents/prompts/ux_designer_system.d.ts +5 -0
  386. package/dist/agents/prompts/ux_designer_system.d.ts.map +1 -0
  387. package/dist/agents/prompts/ux_designer_system.js +60 -0
  388. package/dist/agents/prompts/ux_designer_system.js.map +1 -0
  389. package/dist/agents/prompts/worker/system_prompts.d.ts +22 -0
  390. package/dist/agents/prompts/worker/system_prompts.d.ts.map +1 -0
  391. package/dist/agents/prompts/worker/system_prompts.js +313 -0
  392. package/dist/agents/prompts/worker/system_prompts.js.map +1 -0
  393. package/dist/agents/raw_tool_calls.d.ts +15 -0
  394. package/dist/agents/raw_tool_calls.d.ts.map +1 -0
  395. package/dist/agents/raw_tool_calls.js +273 -0
  396. package/dist/agents/raw_tool_calls.js.map +1 -0
  397. package/dist/agents/runtime/AgentCore.d.ts +13 -0
  398. package/dist/agents/runtime/AgentCore.d.ts.map +1 -0
  399. package/dist/agents/runtime/AgentCore.js +19 -0
  400. package/dist/agents/runtime/AgentCore.js.map +1 -0
  401. package/dist/agents/runtime/AgentInboxParsers.d.ts +46 -0
  402. package/dist/agents/runtime/AgentInboxParsers.d.ts.map +1 -0
  403. package/dist/agents/runtime/AgentInboxParsers.js +152 -0
  404. package/dist/agents/runtime/AgentInboxParsers.js.map +1 -0
  405. package/dist/agents/runtime/AgentRuntimeState.d.ts +36 -0
  406. package/dist/agents/runtime/AgentRuntimeState.d.ts.map +1 -0
  407. package/dist/agents/runtime/AgentRuntimeState.js +68 -0
  408. package/dist/agents/runtime/AgentRuntimeState.js.map +1 -0
  409. package/dist/agents/runtime/CompletionTerminationPolicy.d.ts +15 -0
  410. package/dist/agents/runtime/CompletionTerminationPolicy.d.ts.map +1 -0
  411. package/dist/agents/runtime/CompletionTerminationPolicy.js +18 -0
  412. package/dist/agents/runtime/CompletionTerminationPolicy.js.map +1 -0
  413. package/dist/agents/runtime/EternalPatrolJudge.d.ts +23 -0
  414. package/dist/agents/runtime/EternalPatrolJudge.d.ts.map +1 -0
  415. package/dist/agents/runtime/EternalPatrolJudge.js +114 -0
  416. package/dist/agents/runtime/EternalPatrolJudge.js.map +1 -0
  417. package/dist/agents/runtime/LlmRoundExecutor.d.ts +55 -0
  418. package/dist/agents/runtime/LlmRoundExecutor.d.ts.map +1 -0
  419. package/dist/agents/runtime/LlmRoundExecutor.js +382 -0
  420. package/dist/agents/runtime/LlmRoundExecutor.js.map +1 -0
  421. package/dist/agents/runtime/LlmStreamHooks.d.ts +59 -0
  422. package/dist/agents/runtime/LlmStreamHooks.d.ts.map +1 -0
  423. package/dist/agents/runtime/LlmStreamHooks.js +140 -0
  424. package/dist/agents/runtime/LlmStreamHooks.js.map +1 -0
  425. package/dist/agents/runtime/MandatoryVerification.d.ts +23 -0
  426. package/dist/agents/runtime/MandatoryVerification.d.ts.map +1 -0
  427. package/dist/agents/runtime/MandatoryVerification.js +108 -0
  428. package/dist/agents/runtime/MandatoryVerification.js.map +1 -0
  429. package/dist/agents/runtime/NextSpeakerPolicy.d.ts +53 -0
  430. package/dist/agents/runtime/NextSpeakerPolicy.d.ts.map +1 -0
  431. package/dist/agents/runtime/NextSpeakerPolicy.js +162 -0
  432. package/dist/agents/runtime/NextSpeakerPolicy.js.map +1 -0
  433. package/dist/agents/runtime/ReasoningLoopDriver.d.ts +32 -0
  434. package/dist/agents/runtime/ReasoningLoopDriver.d.ts.map +1 -0
  435. package/dist/agents/runtime/ReasoningLoopDriver.js +58 -0
  436. package/dist/agents/runtime/ReasoningLoopDriver.js.map +1 -0
  437. package/dist/agents/runtime/StreamChunkBuffer.d.ts +45 -0
  438. package/dist/agents/runtime/StreamChunkBuffer.d.ts.map +1 -0
  439. package/dist/agents/runtime/StreamChunkBuffer.js +57 -0
  440. package/dist/agents/runtime/StreamChunkBuffer.js.map +1 -0
  441. package/dist/agents/runtime/ToolCallSafety.d.ts +42 -0
  442. package/dist/agents/runtime/ToolCallSafety.d.ts.map +1 -0
  443. package/dist/agents/runtime/ToolCallSafety.js +319 -0
  444. package/dist/agents/runtime/ToolCallSafety.js.map +1 -0
  445. package/dist/agents/runtime/ToolFailureLoopGuard.d.ts +163 -0
  446. package/dist/agents/runtime/ToolFailureLoopGuard.d.ts.map +1 -0
  447. package/dist/agents/runtime/ToolFailureLoopGuard.js +368 -0
  448. package/dist/agents/runtime/ToolFailureLoopGuard.js.map +1 -0
  449. package/dist/agents/runtime/ToolLoopDetector.d.ts +47 -0
  450. package/dist/agents/runtime/ToolLoopDetector.d.ts.map +1 -0
  451. package/dist/agents/runtime/ToolLoopDetector.js +108 -0
  452. package/dist/agents/runtime/ToolLoopDetector.js.map +1 -0
  453. package/dist/agents/runtime/ToolProgressHeartbeat.d.ts +73 -0
  454. package/dist/agents/runtime/ToolProgressHeartbeat.d.ts.map +1 -0
  455. package/dist/agents/runtime/ToolProgressHeartbeat.js +152 -0
  456. package/dist/agents/runtime/ToolProgressHeartbeat.js.map +1 -0
  457. package/dist/agents/runtime/ToolResponseProcessor.d.ts +57 -0
  458. package/dist/agents/runtime/ToolResponseProcessor.d.ts.map +1 -0
  459. package/dist/agents/runtime/ToolResponseProcessor.js +87 -0
  460. package/dist/agents/runtime/ToolResponseProcessor.js.map +1 -0
  461. package/dist/agents/runtime/ToolScheduler.d.ts +31 -0
  462. package/dist/agents/runtime/ToolScheduler.d.ts.map +1 -0
  463. package/dist/agents/runtime/ToolScheduler.js +63 -0
  464. package/dist/agents/runtime/ToolScheduler.js.map +1 -0
  465. package/dist/agents/runtime/WorkerCompletionPolicy.d.ts +47 -0
  466. package/dist/agents/runtime/WorkerCompletionPolicy.d.ts.map +1 -0
  467. package/dist/agents/runtime/WorkerCompletionPolicy.js +304 -0
  468. package/dist/agents/runtime/WorkerCompletionPolicy.js.map +1 -0
  469. package/dist/agents/runtime/WorkerInteractiveRuntime.d.ts +87 -0
  470. package/dist/agents/runtime/WorkerInteractiveRuntime.d.ts.map +1 -0
  471. package/dist/agents/runtime/WorkerInteractiveRuntime.js +122 -0
  472. package/dist/agents/runtime/WorkerInteractiveRuntime.js.map +1 -0
  473. package/dist/agents/runtime/messageSummary.d.ts +7 -0
  474. package/dist/agents/runtime/messageSummary.d.ts.map +1 -0
  475. package/dist/agents/runtime/messageSummary.js +21 -0
  476. package/dist/agents/runtime/messageSummary.js.map +1 -0
  477. package/dist/agents/runtime/parallelToolBatch.d.ts +39 -0
  478. package/dist/agents/runtime/parallelToolBatch.d.ts.map +1 -0
  479. package/dist/agents/runtime/parallelToolBatch.js +64 -0
  480. package/dist/agents/runtime/parallelToolBatch.js.map +1 -0
  481. package/dist/config/ModelManager.d.ts +59 -0
  482. package/dist/config/ModelManager.d.ts.map +1 -0
  483. package/dist/config/ModelManager.js +256 -0
  484. package/dist/config/ModelManager.js.map +1 -0
  485. package/dist/config/defaults.d.ts +468 -0
  486. package/dist/config/defaults.d.ts.map +1 -0
  487. package/dist/config/defaults.js +520 -0
  488. package/dist/config/defaults.js.map +1 -0
  489. package/dist/config.d.ts +1225 -0
  490. package/dist/config.d.ts.map +1 -0
  491. package/dist/config.js +1580 -0
  492. package/dist/config.js.map +1 -0
  493. package/dist/contracts/adapters/BlockedAgingPolicy.d.ts +22 -0
  494. package/dist/contracts/adapters/BlockedAgingPolicy.d.ts.map +1 -0
  495. package/dist/contracts/adapters/BlockedAgingPolicy.js +29 -0
  496. package/dist/contracts/adapters/BlockedAgingPolicy.js.map +1 -0
  497. package/dist/contracts/adapters/EternalPatrolPolicy.d.ts +49 -0
  498. package/dist/contracts/adapters/EternalPatrolPolicy.d.ts.map +1 -0
  499. package/dist/contracts/adapters/EternalPatrolPolicy.js +78 -0
  500. package/dist/contracts/adapters/EternalPatrolPolicy.js.map +1 -0
  501. package/dist/contracts/adapters/EternalRuntimeProjection.d.ts +39 -0
  502. package/dist/contracts/adapters/EternalRuntimeProjection.d.ts.map +1 -0
  503. package/dist/contracts/adapters/EternalRuntimeProjection.js +114 -0
  504. package/dist/contracts/adapters/EternalRuntimeProjection.js.map +1 -0
  505. package/dist/contracts/adapters/EventAdapter.d.ts +89 -0
  506. package/dist/contracts/adapters/EventAdapter.d.ts.map +1 -0
  507. package/dist/contracts/adapters/EventAdapter.js +535 -0
  508. package/dist/contracts/adapters/EventAdapter.js.map +1 -0
  509. package/dist/contracts/adapters/SessionScope.d.ts +12 -0
  510. package/dist/contracts/adapters/SessionScope.d.ts.map +1 -0
  511. package/dist/contracts/adapters/SessionScope.js +33 -0
  512. package/dist/contracts/adapters/SessionScope.js.map +1 -0
  513. package/dist/contracts/adapters/StatusAdapter.d.ts +238 -0
  514. package/dist/contracts/adapters/StatusAdapter.d.ts.map +1 -0
  515. package/dist/contracts/adapters/StatusAdapter.js +719 -0
  516. package/dist/contracts/adapters/StatusAdapter.js.map +1 -0
  517. package/dist/contracts/adapters/ThinkContent.d.ts +19 -0
  518. package/dist/contracts/adapters/ThinkContent.d.ts.map +1 -0
  519. package/dist/contracts/adapters/ThinkContent.js +99 -0
  520. package/dist/contracts/adapters/ThinkContent.js.map +1 -0
  521. package/dist/contracts/constants/eventTypes.d.ts +3 -0
  522. package/dist/contracts/constants/eventTypes.d.ts.map +1 -0
  523. package/dist/contracts/constants/eventTypes.js +2 -0
  524. package/dist/contracts/constants/eventTypes.js.map +1 -0
  525. package/dist/contracts/constants/leaderToolDefinitions.d.ts +18 -0
  526. package/dist/contracts/constants/leaderToolDefinitions.d.ts.map +1 -0
  527. package/dist/contracts/constants/leaderToolDefinitions.js +1070 -0
  528. package/dist/contracts/constants/leaderToolDefinitions.js.map +1 -0
  529. package/dist/contracts/constants/statusValues.d.ts +7 -0
  530. package/dist/contracts/constants/statusValues.d.ts.map +1 -0
  531. package/dist/contracts/constants/statusValues.js +6 -0
  532. package/dist/contracts/constants/statusValues.js.map +1 -0
  533. package/dist/contracts/constants/toolNames.d.ts +8 -0
  534. package/dist/contracts/constants/toolNames.d.ts.map +1 -0
  535. package/dist/contracts/constants/toolNames.js +25 -0
  536. package/dist/contracts/constants/toolNames.js.map +1 -0
  537. package/dist/contracts/index.d.ts +13 -0
  538. package/dist/contracts/index.d.ts.map +1 -0
  539. package/dist/contracts/index.js +13 -0
  540. package/dist/contracts/index.js.map +1 -0
  541. package/dist/contracts/modes.d.ts +93 -0
  542. package/dist/contracts/modes.d.ts.map +1 -0
  543. package/dist/contracts/modes.js +104 -0
  544. package/dist/contracts/modes.js.map +1 -0
  545. package/dist/contracts/types/Agent.d.ts +164 -0
  546. package/dist/contracts/types/Agent.d.ts.map +1 -0
  547. package/dist/contracts/types/Agent.js +156 -0
  548. package/dist/contracts/types/Agent.js.map +1 -0
  549. package/dist/contracts/types/Autonomy.d.ts +88 -0
  550. package/dist/contracts/types/Autonomy.d.ts.map +1 -0
  551. package/dist/contracts/types/Autonomy.js +126 -0
  552. package/dist/contracts/types/Autonomy.js.map +1 -0
  553. package/dist/contracts/types/AutonomyDecision.d.ts +48 -0
  554. package/dist/contracts/types/AutonomyDecision.d.ts.map +1 -0
  555. package/dist/contracts/types/AutonomyDecision.js +27 -0
  556. package/dist/contracts/types/AutonomyDecision.js.map +1 -0
  557. package/dist/contracts/types/Canvas.d.ts +163 -0
  558. package/dist/contracts/types/Canvas.d.ts.map +1 -0
  559. package/dist/contracts/types/Canvas.js +22 -0
  560. package/dist/contracts/types/Canvas.js.map +1 -0
  561. package/dist/contracts/types/Event.d.ts +510 -0
  562. package/dist/contracts/types/Event.d.ts.map +1 -0
  563. package/dist/contracts/types/Event.js +197 -0
  564. package/dist/contracts/types/Event.js.map +1 -0
  565. package/dist/contracts/types/Message.d.ts +94 -0
  566. package/dist/contracts/types/Message.d.ts.map +1 -0
  567. package/dist/contracts/types/Message.js +151 -0
  568. package/dist/contracts/types/Message.js.map +1 -0
  569. package/dist/contracts/types/Session.d.ts +9 -0
  570. package/dist/contracts/types/Session.d.ts.map +1 -0
  571. package/dist/contracts/types/Session.js +2 -0
  572. package/dist/contracts/types/Session.js.map +1 -0
  573. package/dist/contracts/types/Status.d.ts +12 -0
  574. package/dist/contracts/types/Status.d.ts.map +1 -0
  575. package/dist/contracts/types/Status.js +30 -0
  576. package/dist/contracts/types/Status.js.map +1 -0
  577. package/dist/contracts/types/TokenUsage.d.ts +46 -0
  578. package/dist/contracts/types/TokenUsage.d.ts.map +1 -0
  579. package/dist/contracts/types/TokenUsage.js +41 -0
  580. package/dist/contracts/types/TokenUsage.js.map +1 -0
  581. package/dist/contracts/types/Tool.d.ts +66 -0
  582. package/dist/contracts/types/Tool.d.ts.map +1 -0
  583. package/dist/contracts/types/Tool.js +10 -0
  584. package/dist/contracts/types/Tool.js.map +1 -0
  585. package/dist/contracts/types/ToolMetadata.d.ts +35 -0
  586. package/dist/contracts/types/ToolMetadata.d.ts.map +1 -0
  587. package/dist/contracts/types/ToolMetadata.js +131 -0
  588. package/dist/contracts/types/ToolMetadata.js.map +1 -0
  589. package/dist/contracts/types/Workflow.d.ts +278 -0
  590. package/dist/contracts/types/Workflow.d.ts.map +1 -0
  591. package/dist/contracts/types/Workflow.js +752 -0
  592. package/dist/contracts/types/Workflow.js.map +1 -0
  593. package/dist/core/ActiveSessionCoordinator.d.ts +23 -0
  594. package/dist/core/ActiveSessionCoordinator.d.ts.map +1 -0
  595. package/dist/core/ActiveSessionCoordinator.js +34 -0
  596. package/dist/core/ActiveSessionCoordinator.js.map +1 -0
  597. package/dist/core/AgentHealthMonitor.d.ts +162 -0
  598. package/dist/core/AgentHealthMonitor.d.ts.map +1 -0
  599. package/dist/core/AgentHealthMonitor.js +442 -0
  600. package/dist/core/AgentHealthMonitor.js.map +1 -0
  601. package/dist/core/AgentProtocol.d.ts +187 -0
  602. package/dist/core/AgentProtocol.d.ts.map +1 -0
  603. package/dist/core/AgentProtocol.js +213 -0
  604. package/dist/core/AgentProtocol.js.map +1 -0
  605. package/dist/core/AlertManager.d.ts +66 -0
  606. package/dist/core/AlertManager.d.ts.map +1 -0
  607. package/dist/core/AlertManager.js +126 -0
  608. package/dist/core/AlertManager.js.map +1 -0
  609. package/dist/core/ArtifactAwareness.d.ts +37 -0
  610. package/dist/core/ArtifactAwareness.d.ts.map +1 -0
  611. package/dist/core/ArtifactAwareness.js +212 -0
  612. package/dist/core/ArtifactAwareness.js.map +1 -0
  613. package/dist/core/AssumptionTracker.d.ts +88 -0
  614. package/dist/core/AssumptionTracker.d.ts.map +1 -0
  615. package/dist/core/AssumptionTracker.js +316 -0
  616. package/dist/core/AssumptionTracker.js.map +1 -0
  617. package/dist/core/AstStructuralEngine.d.ts +91 -0
  618. package/dist/core/AstStructuralEngine.d.ts.map +1 -0
  619. package/dist/core/AstStructuralEngine.js +436 -0
  620. package/dist/core/AstStructuralEngine.js.map +1 -0
  621. package/dist/core/AutonomousFaultPolicy.d.ts +17 -0
  622. package/dist/core/AutonomousFaultPolicy.d.ts.map +1 -0
  623. package/dist/core/AutonomousFaultPolicy.js +108 -0
  624. package/dist/core/AutonomousFaultPolicy.js.map +1 -0
  625. package/dist/core/BaselineAlertMonitor.d.ts +25 -0
  626. package/dist/core/BaselineAlertMonitor.d.ts.map +1 -0
  627. package/dist/core/BaselineAlertMonitor.js +66 -0
  628. package/dist/core/BaselineAlertMonitor.js.map +1 -0
  629. package/dist/core/BootstrapDoctor.d.ts +36 -0
  630. package/dist/core/BootstrapDoctor.d.ts.map +1 -0
  631. package/dist/core/BootstrapDoctor.js +288 -0
  632. package/dist/core/BootstrapDoctor.js.map +1 -0
  633. package/dist/core/BrowserProvider.d.ts +59 -0
  634. package/dist/core/BrowserProvider.d.ts.map +1 -0
  635. package/dist/core/BrowserProvider.js +533 -0
  636. package/dist/core/BrowserProvider.js.map +1 -0
  637. package/dist/core/BrowserRuntime.d.ts +178 -0
  638. package/dist/core/BrowserRuntime.d.ts.map +1 -0
  639. package/dist/core/BrowserRuntime.js +487 -0
  640. package/dist/core/BrowserRuntime.js.map +1 -0
  641. package/dist/core/BrowserStealth.d.ts +31 -0
  642. package/dist/core/BrowserStealth.d.ts.map +1 -0
  643. package/dist/core/BrowserStealth.js +111 -0
  644. package/dist/core/BrowserStealth.js.map +1 -0
  645. package/dist/core/BughuntDagScheduler.d.ts +19 -0
  646. package/dist/core/BughuntDagScheduler.d.ts.map +1 -0
  647. package/dist/core/BughuntDagScheduler.js +82 -0
  648. package/dist/core/BughuntDagScheduler.js.map +1 -0
  649. package/dist/core/BughuntEvidenceCapture.d.ts +9 -0
  650. package/dist/core/BughuntEvidenceCapture.d.ts.map +1 -0
  651. package/dist/core/BughuntEvidenceCapture.js +27 -0
  652. package/dist/core/BughuntEvidenceCapture.js.map +1 -0
  653. package/dist/core/BughuntEvidenceExtractor.d.ts +10 -0
  654. package/dist/core/BughuntEvidenceExtractor.d.ts.map +1 -0
  655. package/dist/core/BughuntEvidenceExtractor.js +82 -0
  656. package/dist/core/BughuntEvidenceExtractor.js.map +1 -0
  657. package/dist/core/BughuntEvidencePack.d.ts +11 -0
  658. package/dist/core/BughuntEvidencePack.d.ts.map +1 -0
  659. package/dist/core/BughuntEvidencePack.js +47 -0
  660. package/dist/core/BughuntEvidencePack.js.map +1 -0
  661. package/dist/core/BughuntLedger.d.ts +125 -0
  662. package/dist/core/BughuntLedger.d.ts.map +1 -0
  663. package/dist/core/BughuntLedger.js +432 -0
  664. package/dist/core/BughuntLedger.js.map +1 -0
  665. package/dist/core/BughuntPolicy.d.ts +23 -0
  666. package/dist/core/BughuntPolicy.d.ts.map +1 -0
  667. package/dist/core/BughuntPolicy.js +37 -0
  668. package/dist/core/BughuntPolicy.js.map +1 -0
  669. package/dist/core/BuildDiagnosticsCollector.d.ts +97 -0
  670. package/dist/core/BuildDiagnosticsCollector.d.ts.map +1 -0
  671. package/dist/core/BuildDiagnosticsCollector.js +200 -0
  672. package/dist/core/BuildDiagnosticsCollector.js.map +1 -0
  673. package/dist/core/BundledSkillRegistry.d.ts +25 -0
  674. package/dist/core/BundledSkillRegistry.d.ts.map +1 -0
  675. package/dist/core/BundledSkillRegistry.js +86 -0
  676. package/dist/core/BundledSkillRegistry.js.map +1 -0
  677. package/dist/core/BusMessageTypes.d.ts +109 -0
  678. package/dist/core/BusMessageTypes.d.ts.map +1 -0
  679. package/dist/core/BusMessageTypes.js +49 -0
  680. package/dist/core/BusMessageTypes.js.map +1 -0
  681. package/dist/core/ChangeImpactResolver.d.ts +71 -0
  682. package/dist/core/ChangeImpactResolver.d.ts.map +1 -0
  683. package/dist/core/ChangeImpactResolver.js +130 -0
  684. package/dist/core/ChangeImpactResolver.js.map +1 -0
  685. package/dist/core/CleanupRegistry.d.ts +39 -0
  686. package/dist/core/CleanupRegistry.d.ts.map +1 -0
  687. package/dist/core/CleanupRegistry.js +91 -0
  688. package/dist/core/CleanupRegistry.js.map +1 -0
  689. package/dist/core/ContextManager.d.ts +135 -0
  690. package/dist/core/ContextManager.d.ts.map +1 -0
  691. package/dist/core/ContextManager.js +755 -0
  692. package/dist/core/ContextManager.js.map +1 -0
  693. package/dist/core/ContextManifest.d.ts +125 -0
  694. package/dist/core/ContextManifest.d.ts.map +1 -0
  695. package/dist/core/ContextManifest.js +265 -0
  696. package/dist/core/ContextManifest.js.map +1 -0
  697. package/dist/core/ContextMemoryIndex.d.ts +74 -0
  698. package/dist/core/ContextMemoryIndex.d.ts.map +1 -0
  699. package/dist/core/ContextMemoryIndex.js +431 -0
  700. package/dist/core/ContextMemoryIndex.js.map +1 -0
  701. package/dist/core/ContextRuntimeState.d.ts +43 -0
  702. package/dist/core/ContextRuntimeState.d.ts.map +1 -0
  703. package/dist/core/ContextRuntimeState.js +79 -0
  704. package/dist/core/ContextRuntimeState.js.map +1 -0
  705. package/dist/core/ContractAllowedScope.d.ts +67 -0
  706. package/dist/core/ContractAllowedScope.d.ts.map +1 -0
  707. package/dist/core/ContractAllowedScope.js +109 -0
  708. package/dist/core/ContractAllowedScope.js.map +1 -0
  709. package/dist/core/ContractDriftAudit.d.ts +28 -0
  710. package/dist/core/ContractDriftAudit.d.ts.map +1 -0
  711. package/dist/core/ContractDriftAudit.js +31 -0
  712. package/dist/core/ContractDriftAudit.js.map +1 -0
  713. package/dist/core/ContractHotSync.d.ts +88 -0
  714. package/dist/core/ContractHotSync.d.ts.map +1 -0
  715. package/dist/core/ContractHotSync.js +142 -0
  716. package/dist/core/ContractHotSync.js.map +1 -0
  717. package/dist/core/ContractPack.d.ts +67 -0
  718. package/dist/core/ContractPack.d.ts.map +1 -0
  719. package/dist/core/ContractPack.js +397 -0
  720. package/dist/core/ContractPack.js.map +1 -0
  721. package/dist/core/ContractProvenance.d.ts +6 -0
  722. package/dist/core/ContractProvenance.d.ts.map +1 -0
  723. package/dist/core/ContractProvenance.js +39 -0
  724. package/dist/core/ContractProvenance.js.map +1 -0
  725. package/dist/core/CrashReporter.d.ts +51 -0
  726. package/dist/core/CrashReporter.d.ts.map +1 -0
  727. package/dist/core/CrashReporter.js +179 -0
  728. package/dist/core/CrashReporter.js.map +1 -0
  729. package/dist/core/DaemonManager.d.ts +100 -0
  730. package/dist/core/DaemonManager.d.ts.map +1 -0
  731. package/dist/core/DaemonManager.js +429 -0
  732. package/dist/core/DaemonManager.js.map +1 -0
  733. package/dist/core/DagScheduler.d.ts +73 -0
  734. package/dist/core/DagScheduler.d.ts.map +1 -0
  735. package/dist/core/DagScheduler.js +111 -0
  736. package/dist/core/DagScheduler.js.map +1 -0
  737. package/dist/core/Database.d.ts +545 -0
  738. package/dist/core/Database.d.ts.map +1 -0
  739. package/dist/core/Database.js +2158 -0
  740. package/dist/core/Database.js.map +1 -0
  741. package/dist/core/DatabaseLockRecovery.d.ts +50 -0
  742. package/dist/core/DatabaseLockRecovery.d.ts.map +1 -0
  743. package/dist/core/DatabaseLockRecovery.js +167 -0
  744. package/dist/core/DatabaseLockRecovery.js.map +1 -0
  745. package/dist/core/DatabaseRepositories.d.ts +298 -0
  746. package/dist/core/DatabaseRepositories.d.ts.map +1 -0
  747. package/dist/core/DatabaseRepositories.js +292 -0
  748. package/dist/core/DatabaseRepositories.js.map +1 -0
  749. package/dist/core/DesignAssetCatalog.d.ts +180 -0
  750. package/dist/core/DesignAssetCatalog.d.ts.map +1 -0
  751. package/dist/core/DesignAssetCatalog.js +691 -0
  752. package/dist/core/DesignAssetCatalog.js.map +1 -0
  753. package/dist/core/DeterministicAcceptance.d.ts +96 -0
  754. package/dist/core/DeterministicAcceptance.d.ts.map +1 -0
  755. package/dist/core/DeterministicAcceptance.js +218 -0
  756. package/dist/core/DeterministicAcceptance.js.map +1 -0
  757. package/dist/core/Diagnostics.d.ts +49 -0
  758. package/dist/core/Diagnostics.d.ts.map +1 -0
  759. package/dist/core/Diagnostics.js +308 -0
  760. package/dist/core/Diagnostics.js.map +1 -0
  761. package/dist/core/EternalGoal.d.ts +15 -0
  762. package/dist/core/EternalGoal.d.ts.map +1 -0
  763. package/dist/core/EternalGoal.js +67 -0
  764. package/dist/core/EternalGoal.js.map +1 -0
  765. package/dist/core/EternalLoop.d.ts +206 -0
  766. package/dist/core/EternalLoop.d.ts.map +1 -0
  767. package/dist/core/EternalLoop.js +595 -0
  768. package/dist/core/EternalLoop.js.map +1 -0
  769. package/dist/core/EternalRuntimeProjection.d.ts +39 -0
  770. package/dist/core/EternalRuntimeProjection.d.ts.map +1 -0
  771. package/dist/core/EternalRuntimeProjection.js +114 -0
  772. package/dist/core/EternalRuntimeProjection.js.map +1 -0
  773. package/dist/core/EternalRuntimeTelemetry.d.ts +63 -0
  774. package/dist/core/EternalRuntimeTelemetry.d.ts.map +1 -0
  775. package/dist/core/EternalRuntimeTelemetry.js +153 -0
  776. package/dist/core/EternalRuntimeTelemetry.js.map +1 -0
  777. package/dist/core/EternalSupervisor.d.ts +108 -0
  778. package/dist/core/EternalSupervisor.d.ts.map +1 -0
  779. package/dist/core/EternalSupervisor.js +259 -0
  780. package/dist/core/EternalSupervisor.js.map +1 -0
  781. package/dist/core/EventEmitter.d.ts +1325 -0
  782. package/dist/core/EventEmitter.d.ts.map +1 -0
  783. package/dist/core/EventEmitter.js +76 -0
  784. package/dist/core/EventEmitter.js.map +1 -0
  785. package/dist/core/ExecutionLease.d.ts +46 -0
  786. package/dist/core/ExecutionLease.d.ts.map +1 -0
  787. package/dist/core/ExecutionLease.js +123 -0
  788. package/dist/core/ExecutionLease.js.map +1 -0
  789. package/dist/core/ExecutionTraceMemory.d.ts +96 -0
  790. package/dist/core/ExecutionTraceMemory.d.ts.map +1 -0
  791. package/dist/core/ExecutionTraceMemory.js +243 -0
  792. package/dist/core/ExecutionTraceMemory.js.map +1 -0
  793. package/dist/core/FileLock.d.ts +108 -0
  794. package/dist/core/FileLock.d.ts.map +1 -0
  795. package/dist/core/FileLock.js +431 -0
  796. package/dist/core/FileLock.js.map +1 -0
  797. package/dist/core/HardeningPolicy.d.ts +85 -0
  798. package/dist/core/HardeningPolicy.d.ts.map +1 -0
  799. package/dist/core/HardeningPolicy.js +191 -0
  800. package/dist/core/HardeningPolicy.js.map +1 -0
  801. package/dist/core/HierarchicalContextManager.d.ts +83 -0
  802. package/dist/core/HierarchicalContextManager.d.ts.map +1 -0
  803. package/dist/core/HierarchicalContextManager.js +324 -0
  804. package/dist/core/HierarchicalContextManager.js.map +1 -0
  805. package/dist/core/ImportGraphEngine.d.ts +84 -0
  806. package/dist/core/ImportGraphEngine.d.ts.map +1 -0
  807. package/dist/core/ImportGraphEngine.js +253 -0
  808. package/dist/core/ImportGraphEngine.js.map +1 -0
  809. package/dist/core/IntegrationVerifyInjector.d.ts +76 -0
  810. package/dist/core/IntegrationVerifyInjector.d.ts.map +1 -0
  811. package/dist/core/IntegrationVerifyInjector.js +164 -0
  812. package/dist/core/IntegrationVerifyInjector.js.map +1 -0
  813. package/dist/core/IntuitionRuntime.d.ts +12 -0
  814. package/dist/core/IntuitionRuntime.d.ts.map +1 -0
  815. package/dist/core/IntuitionRuntime.js +137 -0
  816. package/dist/core/IntuitionRuntime.js.map +1 -0
  817. package/dist/core/JudgmentService.d.ts +45 -0
  818. package/dist/core/JudgmentService.d.ts.map +1 -0
  819. package/dist/core/JudgmentService.js +77 -0
  820. package/dist/core/JudgmentService.js.map +1 -0
  821. package/dist/core/LangfuseIntegration.d.ts +208 -0
  822. package/dist/core/LangfuseIntegration.d.ts.map +1 -0
  823. package/dist/core/LangfuseIntegration.js +611 -0
  824. package/dist/core/LangfuseIntegration.js.map +1 -0
  825. package/dist/core/LlmInputManifest.d.ts +40 -0
  826. package/dist/core/LlmInputManifest.d.ts.map +1 -0
  827. package/dist/core/LlmInputManifest.js +94 -0
  828. package/dist/core/LlmInputManifest.js.map +1 -0
  829. package/dist/core/LocalLlmGateway.d.ts +75 -0
  830. package/dist/core/LocalLlmGateway.d.ts.map +1 -0
  831. package/dist/core/LocalLlmGateway.js +389 -0
  832. package/dist/core/LocalLlmGateway.js.map +1 -0
  833. package/dist/core/LocalLlmGatewayServer.d.ts +38 -0
  834. package/dist/core/LocalLlmGatewayServer.d.ts.map +1 -0
  835. package/dist/core/LocalLlmGatewayServer.js +85 -0
  836. package/dist/core/LocalLlmGatewayServer.js.map +1 -0
  837. package/dist/core/Log.d.ts +97 -0
  838. package/dist/core/Log.d.ts.map +1 -0
  839. package/dist/core/Log.js +249 -0
  840. package/dist/core/Log.js.map +1 -0
  841. package/dist/core/LogMaintenance.d.ts +38 -0
  842. package/dist/core/LogMaintenance.d.ts.map +1 -0
  843. package/dist/core/LogMaintenance.js +239 -0
  844. package/dist/core/LogMaintenance.js.map +1 -0
  845. package/dist/core/MarketplaceService.d.ts +57 -0
  846. package/dist/core/MarketplaceService.d.ts.map +1 -0
  847. package/dist/core/MarketplaceService.js +982 -0
  848. package/dist/core/MarketplaceService.js.map +1 -0
  849. package/dist/core/McpClient.d.ts +93 -0
  850. package/dist/core/McpClient.d.ts.map +1 -0
  851. package/dist/core/McpClient.js +277 -0
  852. package/dist/core/McpClient.js.map +1 -0
  853. package/dist/core/MessageBus.d.ts +247 -0
  854. package/dist/core/MessageBus.d.ts.map +1 -0
  855. package/dist/core/MessageBus.js +852 -0
  856. package/dist/core/MessageBus.js.map +1 -0
  857. package/dist/core/Metrics.d.ts +50 -0
  858. package/dist/core/Metrics.d.ts.map +1 -0
  859. package/dist/core/Metrics.js +171 -0
  860. package/dist/core/Metrics.js.map +1 -0
  861. package/dist/core/MetricsRegistry.d.ts +47 -0
  862. package/dist/core/MetricsRegistry.d.ts.map +1 -0
  863. package/dist/core/MetricsRegistry.js +119 -0
  864. package/dist/core/MetricsRegistry.js.map +1 -0
  865. package/dist/core/ModeAudit.d.ts +87 -0
  866. package/dist/core/ModeAudit.d.ts.map +1 -0
  867. package/dist/core/ModeAudit.js +113 -0
  868. package/dist/core/ModeAudit.js.map +1 -0
  869. package/dist/core/ModeRuntimeProjection.d.ts +96 -0
  870. package/dist/core/ModeRuntimeProjection.d.ts.map +1 -0
  871. package/dist/core/ModeRuntimeProjection.js +216 -0
  872. package/dist/core/ModeRuntimeProjection.js.map +1 -0
  873. package/dist/core/ModeStore.d.ts +62 -0
  874. package/dist/core/ModeStore.d.ts.map +1 -0
  875. package/dist/core/ModeStore.js +77 -0
  876. package/dist/core/ModeStore.js.map +1 -0
  877. package/dist/core/ModeToolPolicy.d.ts +62 -0
  878. package/dist/core/ModeToolPolicy.d.ts.map +1 -0
  879. package/dist/core/ModeToolPolicy.js +145 -0
  880. package/dist/core/ModeToolPolicy.js.map +1 -0
  881. package/dist/core/ModeWorktreeService.d.ts +31 -0
  882. package/dist/core/ModeWorktreeService.d.ts.map +1 -0
  883. package/dist/core/ModeWorktreeService.js +116 -0
  884. package/dist/core/ModeWorktreeService.js.map +1 -0
  885. package/dist/core/OrchestrationTypes.d.ts +114 -0
  886. package/dist/core/OrchestrationTypes.d.ts.map +1 -0
  887. package/dist/core/OrchestrationTypes.js +2 -0
  888. package/dist/core/OrchestrationTypes.js.map +1 -0
  889. package/dist/core/PatternRecognitionEngine.d.ts +33 -0
  890. package/dist/core/PatternRecognitionEngine.d.ts.map +1 -0
  891. package/dist/core/PatternRecognitionEngine.js +82 -0
  892. package/dist/core/PatternRecognitionEngine.js.map +1 -0
  893. package/dist/core/PerformanceBaselineTracker.d.ts +28 -0
  894. package/dist/core/PerformanceBaselineTracker.d.ts.map +1 -0
  895. package/dist/core/PerformanceBaselineTracker.js +48 -0
  896. package/dist/core/PerformanceBaselineTracker.js.map +1 -0
  897. package/dist/core/PermissionStore.d.ts +14 -0
  898. package/dist/core/PermissionStore.d.ts.map +1 -0
  899. package/dist/core/PermissionStore.js +318 -0
  900. package/dist/core/PermissionStore.js.map +1 -0
  901. package/dist/core/PermissionSystem.d.ts +79 -0
  902. package/dist/core/PermissionSystem.d.ts.map +1 -0
  903. package/dist/core/PermissionSystem.js +380 -0
  904. package/dist/core/PermissionSystem.js.map +1 -0
  905. package/dist/core/PhasePolicy.d.ts +10 -0
  906. package/dist/core/PhasePolicy.d.ts.map +1 -0
  907. package/dist/core/PhasePolicy.js +15 -0
  908. package/dist/core/PhasePolicy.js.map +1 -0
  909. package/dist/core/PidRegistry.d.ts +58 -0
  910. package/dist/core/PidRegistry.d.ts.map +1 -0
  911. package/dist/core/PidRegistry.js +152 -0
  912. package/dist/core/PidRegistry.js.map +1 -0
  913. package/dist/core/ProcessIdleGuard.d.ts +76 -0
  914. package/dist/core/ProcessIdleGuard.d.ts.map +1 -0
  915. package/dist/core/ProcessIdleGuard.js +201 -0
  916. package/dist/core/ProcessIdleGuard.js.map +1 -0
  917. package/dist/core/ProcessOrphanCleaner.d.ts +37 -0
  918. package/dist/core/ProcessOrphanCleaner.d.ts.map +1 -0
  919. package/dist/core/ProcessOrphanCleaner.js +106 -0
  920. package/dist/core/ProcessOrphanCleaner.js.map +1 -0
  921. package/dist/core/ProcessSelfProtection.d.ts +45 -0
  922. package/dist/core/ProcessSelfProtection.d.ts.map +1 -0
  923. package/dist/core/ProcessSelfProtection.js +234 -0
  924. package/dist/core/ProcessSelfProtection.js.map +1 -0
  925. package/dist/core/ProjectBlueprint.d.ts +176 -0
  926. package/dist/core/ProjectBlueprint.d.ts.map +1 -0
  927. package/dist/core/ProjectBlueprint.js +542 -0
  928. package/dist/core/ProjectBlueprint.js.map +1 -0
  929. package/dist/core/ProjectContracts.d.ts +22 -0
  930. package/dist/core/ProjectContracts.d.ts.map +1 -0
  931. package/dist/core/ProjectContracts.js +97 -0
  932. package/dist/core/ProjectContracts.js.map +1 -0
  933. package/dist/core/ProjectRetentionPolicy.d.ts +31 -0
  934. package/dist/core/ProjectRetentionPolicy.d.ts.map +1 -0
  935. package/dist/core/ProjectRetentionPolicy.js +68 -0
  936. package/dist/core/ProjectRetentionPolicy.js.map +1 -0
  937. package/dist/core/ProjectRuntimeManager.d.ts +91 -0
  938. package/dist/core/ProjectRuntimeManager.d.ts.map +1 -0
  939. package/dist/core/ProjectRuntimeManager.js +458 -0
  940. package/dist/core/ProjectRuntimeManager.js.map +1 -0
  941. package/dist/core/ProjectRuntimeState.d.ts +122 -0
  942. package/dist/core/ProjectRuntimeState.d.ts.map +1 -0
  943. package/dist/core/ProjectRuntimeState.js +27 -0
  944. package/dist/core/ProjectRuntimeState.js.map +1 -0
  945. package/dist/core/ProxyConfig.d.ts +26 -0
  946. package/dist/core/ProxyConfig.d.ts.map +1 -0
  947. package/dist/core/ProxyConfig.js +121 -0
  948. package/dist/core/ProxyConfig.js.map +1 -0
  949. package/dist/core/RecoveryRecords.d.ts +29 -0
  950. package/dist/core/RecoveryRecords.d.ts.map +1 -0
  951. package/dist/core/RecoveryRecords.js +122 -0
  952. package/dist/core/RecoveryRecords.js.map +1 -0
  953. package/dist/core/RepairStrategyEngine.d.ts +94 -0
  954. package/dist/core/RepairStrategyEngine.d.ts.map +1 -0
  955. package/dist/core/RepairStrategyEngine.js +268 -0
  956. package/dist/core/RepairStrategyEngine.js.map +1 -0
  957. package/dist/core/ResourceBudgetService.d.ts +61 -0
  958. package/dist/core/ResourceBudgetService.d.ts.map +1 -0
  959. package/dist/core/ResourceBudgetService.js +257 -0
  960. package/dist/core/ResourceBudgetService.js.map +1 -0
  961. package/dist/core/ResumeManager.d.ts +18 -0
  962. package/dist/core/ResumeManager.d.ts.map +1 -0
  963. package/dist/core/ResumeManager.js +139 -0
  964. package/dist/core/ResumeManager.js.map +1 -0
  965. package/dist/core/RuntimeDiagnostics.d.ts +126 -0
  966. package/dist/core/RuntimeDiagnostics.d.ts.map +1 -0
  967. package/dist/core/RuntimeDiagnostics.js +367 -0
  968. package/dist/core/RuntimeDiagnostics.js.map +1 -0
  969. package/dist/core/RuntimeGuards.d.ts +16 -0
  970. package/dist/core/RuntimeGuards.d.ts.map +1 -0
  971. package/dist/core/RuntimeGuards.js +222 -0
  972. package/dist/core/RuntimeGuards.js.map +1 -0
  973. package/dist/core/RuntimeRecoveryController.d.ts +52 -0
  974. package/dist/core/RuntimeRecoveryController.d.ts.map +1 -0
  975. package/dist/core/RuntimeRecoveryController.js +156 -0
  976. package/dist/core/RuntimeRecoveryController.js.map +1 -0
  977. package/dist/core/ScheduledTaskManager.d.ts +110 -0
  978. package/dist/core/ScheduledTaskManager.d.ts.map +1 -0
  979. package/dist/core/ScheduledTaskManager.js +532 -0
  980. package/dist/core/ScheduledTaskManager.js.map +1 -0
  981. package/dist/core/ScratchpadReview.d.ts +22 -0
  982. package/dist/core/ScratchpadReview.d.ts.map +1 -0
  983. package/dist/core/ScratchpadReview.js +162 -0
  984. package/dist/core/ScratchpadReview.js.map +1 -0
  985. package/dist/core/SessionManager.d.ts +3 -0
  986. package/dist/core/SessionManager.d.ts.map +1 -0
  987. package/dist/core/SessionManager.js +2 -0
  988. package/dist/core/SessionManager.js.map +1 -0
  989. package/dist/core/SessionManagerRuntime.d.ts +3 -0
  990. package/dist/core/SessionManagerRuntime.d.ts.map +1 -0
  991. package/dist/core/SessionManagerRuntime.js +3 -0
  992. package/dist/core/SessionManagerRuntime.js.map +1 -0
  993. package/dist/core/SessionRuntime.d.ts +2 -0
  994. package/dist/core/SessionRuntime.d.ts.map +1 -0
  995. package/dist/core/SessionRuntime.js +2 -0
  996. package/dist/core/SessionRuntime.js.map +1 -0
  997. package/dist/core/SessionRuntimeState.d.ts +112 -0
  998. package/dist/core/SessionRuntimeState.d.ts.map +1 -0
  999. package/dist/core/SessionRuntimeState.js +250 -0
  1000. package/dist/core/SessionRuntimeState.js.map +1 -0
  1001. package/dist/core/SessionStateKeys.d.ts +138 -0
  1002. package/dist/core/SessionStateKeys.d.ts.map +1 -0
  1003. package/dist/core/SessionStateKeys.js +168 -0
  1004. package/dist/core/SessionStateKeys.js.map +1 -0
  1005. package/dist/core/SharedLedger.d.ts +98 -0
  1006. package/dist/core/SharedLedger.d.ts.map +1 -0
  1007. package/dist/core/SharedLedger.js +145 -0
  1008. package/dist/core/SharedLedger.js.map +1 -0
  1009. package/dist/core/SkillCatalog.d.ts +79 -0
  1010. package/dist/core/SkillCatalog.d.ts.map +1 -0
  1011. package/dist/core/SkillCatalog.js +473 -0
  1012. package/dist/core/SkillCatalog.js.map +1 -0
  1013. package/dist/core/SkillDefinitionService.d.ts +56 -0
  1014. package/dist/core/SkillDefinitionService.d.ts.map +1 -0
  1015. package/dist/core/SkillDefinitionService.js +144 -0
  1016. package/dist/core/SkillDefinitionService.js.map +1 -0
  1017. package/dist/core/SkillPhaseLoader.d.ts +21 -0
  1018. package/dist/core/SkillPhaseLoader.d.ts.map +1 -0
  1019. package/dist/core/SkillPhaseLoader.js +85 -0
  1020. package/dist/core/SkillPhaseLoader.js.map +1 -0
  1021. package/dist/core/SkillSelectionPolicy.d.ts +7 -0
  1022. package/dist/core/SkillSelectionPolicy.d.ts.map +1 -0
  1023. package/dist/core/SkillSelectionPolicy.js +10 -0
  1024. package/dist/core/SkillSelectionPolicy.js.map +1 -0
  1025. package/dist/core/SlidevServerManager.d.ts +51 -0
  1026. package/dist/core/SlidevServerManager.d.ts.map +1 -0
  1027. package/dist/core/SlidevServerManager.js +200 -0
  1028. package/dist/core/SlidevServerManager.js.map +1 -0
  1029. package/dist/core/SoulExtractor.d.ts +34 -0
  1030. package/dist/core/SoulExtractor.d.ts.map +1 -0
  1031. package/dist/core/SoulExtractor.js +100 -0
  1032. package/dist/core/SoulExtractor.js.map +1 -0
  1033. package/dist/core/SpecFirstPipeline.d.ts +77 -0
  1034. package/dist/core/SpecFirstPipeline.d.ts.map +1 -0
  1035. package/dist/core/SpecFirstPipeline.js +95 -0
  1036. package/dist/core/SpecFirstPipeline.js.map +1 -0
  1037. package/dist/core/SpeculativeExecutionController.d.ts +64 -0
  1038. package/dist/core/SpeculativeExecutionController.d.ts.map +1 -0
  1039. package/dist/core/SpeculativeExecutionController.js +263 -0
  1040. package/dist/core/SpeculativeExecutionController.js.map +1 -0
  1041. package/dist/core/SpeculativeOrchestrationPlanner.d.ts +40 -0
  1042. package/dist/core/SpeculativeOrchestrationPlanner.d.ts.map +1 -0
  1043. package/dist/core/SpeculativeOrchestrationPlanner.js +186 -0
  1044. package/dist/core/SpeculativeOrchestrationPlanner.js.map +1 -0
  1045. package/dist/core/StateSemantics.d.ts +238 -0
  1046. package/dist/core/StateSemantics.d.ts.map +1 -0
  1047. package/dist/core/StateSemantics.js +729 -0
  1048. package/dist/core/StateSemantics.js.map +1 -0
  1049. package/dist/core/SystemBrowserOpener.d.ts +25 -0
  1050. package/dist/core/SystemBrowserOpener.d.ts.map +1 -0
  1051. package/dist/core/SystemBrowserOpener.js +154 -0
  1052. package/dist/core/SystemBrowserOpener.js.map +1 -0
  1053. package/dist/core/SystemMessageSlot.d.ts +48 -0
  1054. package/dist/core/SystemMessageSlot.d.ts.map +1 -0
  1055. package/dist/core/SystemMessageSlot.js +130 -0
  1056. package/dist/core/SystemMessageSlot.js.map +1 -0
  1057. package/dist/core/TaintFlowEngine.d.ts +37 -0
  1058. package/dist/core/TaintFlowEngine.d.ts.map +1 -0
  1059. package/dist/core/TaintFlowEngine.js +200 -0
  1060. package/dist/core/TaintFlowEngine.js.map +1 -0
  1061. package/dist/core/TaskBoard.d.ts +243 -0
  1062. package/dist/core/TaskBoard.d.ts.map +1 -0
  1063. package/dist/core/TaskBoard.js +955 -0
  1064. package/dist/core/TaskBoard.js.map +1 -0
  1065. package/dist/core/TaskContextEnricher.d.ts +37 -0
  1066. package/dist/core/TaskContextEnricher.d.ts.map +1 -0
  1067. package/dist/core/TaskContextEnricher.js +147 -0
  1068. package/dist/core/TaskContextEnricher.js.map +1 -0
  1069. package/dist/core/TaskDisplayState.d.ts +21 -0
  1070. package/dist/core/TaskDisplayState.d.ts.map +1 -0
  1071. package/dist/core/TaskDisplayState.js +29 -0
  1072. package/dist/core/TaskDisplayState.js.map +1 -0
  1073. package/dist/core/TaskPriorityEngine.d.ts +31 -0
  1074. package/dist/core/TaskPriorityEngine.d.ts.map +1 -0
  1075. package/dist/core/TaskPriorityEngine.js +122 -0
  1076. package/dist/core/TaskPriorityEngine.js.map +1 -0
  1077. package/dist/core/TeamCommunicationGuard.d.ts +83 -0
  1078. package/dist/core/TeamCommunicationGuard.d.ts.map +1 -0
  1079. package/dist/core/TeamCommunicationGuard.js +221 -0
  1080. package/dist/core/TeamCommunicationGuard.js.map +1 -0
  1081. package/dist/core/TeamCommunicationService.d.ts +55 -0
  1082. package/dist/core/TeamCommunicationService.d.ts.map +1 -0
  1083. package/dist/core/TeamCommunicationService.js +178 -0
  1084. package/dist/core/TeamCommunicationService.js.map +1 -0
  1085. package/dist/core/TeamMailbox.d.ts +203 -0
  1086. package/dist/core/TeamMailbox.d.ts.map +1 -0
  1087. package/dist/core/TeamMailbox.js +729 -0
  1088. package/dist/core/TeamMailbox.js.map +1 -0
  1089. package/dist/core/TeamProtocol.d.ts +70 -0
  1090. package/dist/core/TeamProtocol.d.ts.map +1 -0
  1091. package/dist/core/TeamProtocol.js +75 -0
  1092. package/dist/core/TeamProtocol.js.map +1 -0
  1093. package/dist/core/TeamRequestTracker.d.ts +59 -0
  1094. package/dist/core/TeamRequestTracker.d.ts.map +1 -0
  1095. package/dist/core/TeamRequestTracker.js +212 -0
  1096. package/dist/core/TeamRequestTracker.js.map +1 -0
  1097. package/dist/core/TeamView.d.ts +34 -0
  1098. package/dist/core/TeamView.d.ts.map +1 -0
  1099. package/dist/core/TeamView.js +109 -0
  1100. package/dist/core/TeamView.js.map +1 -0
  1101. package/dist/core/TempDownloadRegistry.d.ts +44 -0
  1102. package/dist/core/TempDownloadRegistry.d.ts.map +1 -0
  1103. package/dist/core/TempDownloadRegistry.js +150 -0
  1104. package/dist/core/TempDownloadRegistry.js.map +1 -0
  1105. package/dist/core/TestRunnerAdapter.d.ts +31 -0
  1106. package/dist/core/TestRunnerAdapter.d.ts.map +1 -0
  1107. package/dist/core/TestRunnerAdapter.js +203 -0
  1108. package/dist/core/TestRunnerAdapter.js.map +1 -0
  1109. package/dist/core/ThinkContent.d.ts +19 -0
  1110. package/dist/core/ThinkContent.d.ts.map +1 -0
  1111. package/dist/core/ThinkContent.js +99 -0
  1112. package/dist/core/ThinkContent.js.map +1 -0
  1113. package/dist/core/TiktokenCache.d.ts +32 -0
  1114. package/dist/core/TiktokenCache.d.ts.map +1 -0
  1115. package/dist/core/TiktokenCache.js +188 -0
  1116. package/dist/core/TiktokenCache.js.map +1 -0
  1117. package/dist/core/TokenTracker.d.ts +64 -0
  1118. package/dist/core/TokenTracker.d.ts.map +1 -0
  1119. package/dist/core/TokenTracker.js +146 -0
  1120. package/dist/core/TokenTracker.js.map +1 -0
  1121. package/dist/core/ToolPruner.d.ts +73 -0
  1122. package/dist/core/ToolPruner.d.ts.map +1 -0
  1123. package/dist/core/ToolPruner.js +297 -0
  1124. package/dist/core/ToolPruner.js.map +1 -0
  1125. package/dist/core/Tracing.d.ts +74 -0
  1126. package/dist/core/Tracing.d.ts.map +1 -0
  1127. package/dist/core/Tracing.js +171 -0
  1128. package/dist/core/Tracing.js.map +1 -0
  1129. package/dist/core/TurnCoordinator.d.ts +12 -0
  1130. package/dist/core/TurnCoordinator.d.ts.map +1 -0
  1131. package/dist/core/TurnCoordinator.js +112 -0
  1132. package/dist/core/TurnCoordinator.js.map +1 -0
  1133. package/dist/core/UpdateChecker.d.ts +32 -0
  1134. package/dist/core/UpdateChecker.d.ts.map +1 -0
  1135. package/dist/core/UpdateChecker.js +129 -0
  1136. package/dist/core/UpdateChecker.js.map +1 -0
  1137. package/dist/core/UserAgent.d.ts +5 -0
  1138. package/dist/core/UserAgent.d.ts.map +1 -0
  1139. package/dist/core/UserAgent.js +34 -0
  1140. package/dist/core/UserAgent.js.map +1 -0
  1141. package/dist/core/VerificationPipeline.d.ts +47 -0
  1142. package/dist/core/VerificationPipeline.d.ts.map +1 -0
  1143. package/dist/core/VerificationPipeline.js +144 -0
  1144. package/dist/core/VerificationPipeline.js.map +1 -0
  1145. package/dist/core/WorkNoteManager.d.ts +94 -0
  1146. package/dist/core/WorkNoteManager.d.ts.map +1 -0
  1147. package/dist/core/WorkNoteManager.js +273 -0
  1148. package/dist/core/WorkNoteManager.js.map +1 -0
  1149. package/dist/core/WorkerProcessRunner.d.ts +330 -0
  1150. package/dist/core/WorkerProcessRunner.d.ts.map +1 -0
  1151. package/dist/core/WorkerProcessRunner.js +903 -0
  1152. package/dist/core/WorkerProcessRunner.js.map +1 -0
  1153. package/dist/core/Workspace.d.ts +85 -0
  1154. package/dist/core/Workspace.d.ts.map +1 -0
  1155. package/dist/core/Workspace.js +151 -0
  1156. package/dist/core/Workspace.js.map +1 -0
  1157. package/dist/core/WorktreeManager.d.ts +63 -0
  1158. package/dist/core/WorktreeManager.d.ts.map +1 -0
  1159. package/dist/core/WorktreeManager.js +147 -0
  1160. package/dist/core/WorktreeManager.js.map +1 -0
  1161. package/dist/core/WorktreeService.d.ts +104 -0
  1162. package/dist/core/WorktreeService.d.ts.map +1 -0
  1163. package/dist/core/WorktreeService.js +335 -0
  1164. package/dist/core/WorktreeService.js.map +1 -0
  1165. package/dist/core/blackboard/BlackboardGraph.d.ts +146 -0
  1166. package/dist/core/blackboard/BlackboardGraph.d.ts.map +1 -0
  1167. package/dist/core/blackboard/BlackboardGraph.js +793 -0
  1168. package/dist/core/blackboard/BlackboardGraph.js.map +1 -0
  1169. package/dist/core/blackboard/CompletionChecker.d.ts +39 -0
  1170. package/dist/core/blackboard/CompletionChecker.d.ts.map +1 -0
  1171. package/dist/core/blackboard/CompletionChecker.js +179 -0
  1172. package/dist/core/blackboard/CompletionChecker.js.map +1 -0
  1173. package/dist/core/blackboard/ContractFormatParser.d.ts +67 -0
  1174. package/dist/core/blackboard/ContractFormatParser.d.ts.map +1 -0
  1175. package/dist/core/blackboard/ContractFormatParser.js +212 -0
  1176. package/dist/core/blackboard/ContractFormatParser.js.map +1 -0
  1177. package/dist/core/blackboard/DispatcherEngine.d.ts +33 -0
  1178. package/dist/core/blackboard/DispatcherEngine.d.ts.map +1 -0
  1179. package/dist/core/blackboard/DispatcherEngine.js +135 -0
  1180. package/dist/core/blackboard/DispatcherEngine.js.map +1 -0
  1181. package/dist/core/blackboard/GraphBridge.d.ts +52 -0
  1182. package/dist/core/blackboard/GraphBridge.d.ts.map +1 -0
  1183. package/dist/core/blackboard/GraphBridge.js +166 -0
  1184. package/dist/core/blackboard/GraphBridge.js.map +1 -0
  1185. package/dist/core/blackboard/GraphStore.d.ts +46 -0
  1186. package/dist/core/blackboard/GraphStore.d.ts.map +1 -0
  1187. package/dist/core/blackboard/GraphStore.js +237 -0
  1188. package/dist/core/blackboard/GraphStore.js.map +1 -0
  1189. package/dist/core/blackboard/WorkerOutputParser.d.ts +25 -0
  1190. package/dist/core/blackboard/WorkerOutputParser.d.ts.map +1 -0
  1191. package/dist/core/blackboard/WorkerOutputParser.js +191 -0
  1192. package/dist/core/blackboard/WorkerOutputParser.js.map +1 -0
  1193. package/dist/core/blackboard/schemas.d.ts +137 -0
  1194. package/dist/core/blackboard/schemas.d.ts.map +1 -0
  1195. package/dist/core/blackboard/schemas.js +102 -0
  1196. package/dist/core/blackboard/schemas.js.map +1 -0
  1197. package/dist/core/blackboard/types.d.ts +115 -0
  1198. package/dist/core/blackboard/types.d.ts.map +1 -0
  1199. package/dist/core/blackboard/types.js +31 -0
  1200. package/dist/core/blackboard/types.js.map +1 -0
  1201. package/dist/core/canvas/CanvasStore.d.ts +64 -0
  1202. package/dist/core/canvas/CanvasStore.d.ts.map +1 -0
  1203. package/dist/core/canvas/CanvasStore.js +193 -0
  1204. package/dist/core/canvas/CanvasStore.js.map +1 -0
  1205. package/dist/core/checkpoint/CheckpointBoundary.d.ts +36 -0
  1206. package/dist/core/checkpoint/CheckpointBoundary.d.ts.map +1 -0
  1207. package/dist/core/checkpoint/CheckpointBoundary.js +147 -0
  1208. package/dist/core/checkpoint/CheckpointBoundary.js.map +1 -0
  1209. package/dist/core/checkpoint/CheckpointPrompt.d.ts +15 -0
  1210. package/dist/core/checkpoint/CheckpointPrompt.d.ts.map +1 -0
  1211. package/dist/core/checkpoint/CheckpointPrompt.js +76 -0
  1212. package/dist/core/checkpoint/CheckpointPrompt.js.map +1 -0
  1213. package/dist/core/checkpoint/CheckpointService.d.ts +55 -0
  1214. package/dist/core/checkpoint/CheckpointService.d.ts.map +1 -0
  1215. package/dist/core/checkpoint/CheckpointService.js +168 -0
  1216. package/dist/core/checkpoint/CheckpointService.js.map +1 -0
  1217. package/dist/core/checkpoint/CheckpointWriter.d.ts +38 -0
  1218. package/dist/core/checkpoint/CheckpointWriter.d.ts.map +1 -0
  1219. package/dist/core/checkpoint/CheckpointWriter.js +193 -0
  1220. package/dist/core/checkpoint/CheckpointWriter.js.map +1 -0
  1221. package/dist/core/checkpoint/ContextRebuild.d.ts +52 -0
  1222. package/dist/core/checkpoint/ContextRebuild.d.ts.map +1 -0
  1223. package/dist/core/checkpoint/ContextRebuild.js +213 -0
  1224. package/dist/core/checkpoint/ContextRebuild.js.map +1 -0
  1225. package/dist/core/checkpoint/MicroCompact.d.ts +32 -0
  1226. package/dist/core/checkpoint/MicroCompact.d.ts.map +1 -0
  1227. package/dist/core/checkpoint/MicroCompact.js +109 -0
  1228. package/dist/core/checkpoint/MicroCompact.js.map +1 -0
  1229. package/dist/core/checkpoint/index.d.ts +11 -0
  1230. package/dist/core/checkpoint/index.d.ts.map +1 -0
  1231. package/dist/core/checkpoint/index.js +11 -0
  1232. package/dist/core/checkpoint/index.js.map +1 -0
  1233. package/dist/core/checkpoint/types.d.ts +47 -0
  1234. package/dist/core/checkpoint/types.d.ts.map +1 -0
  1235. package/dist/core/checkpoint/types.js +24 -0
  1236. package/dist/core/checkpoint/types.js.map +1 -0
  1237. package/dist/core/compress/BlackboardCompressor.d.ts +54 -0
  1238. package/dist/core/compress/BlackboardCompressor.d.ts.map +1 -0
  1239. package/dist/core/compress/BlackboardCompressor.js +342 -0
  1240. package/dist/core/compress/BlackboardCompressor.js.map +1 -0
  1241. package/dist/core/compress/CompressionPipeline.d.ts +93 -0
  1242. package/dist/core/compress/CompressionPipeline.d.ts.map +1 -0
  1243. package/dist/core/compress/CompressionPipeline.js +1143 -0
  1244. package/dist/core/compress/CompressionPipeline.js.map +1 -0
  1245. package/dist/core/compress/CompressionTypes.d.ts +103 -0
  1246. package/dist/core/compress/CompressionTypes.d.ts.map +1 -0
  1247. package/dist/core/compress/CompressionTypes.js +5 -0
  1248. package/dist/core/compress/CompressionTypes.js.map +1 -0
  1249. package/dist/core/compress/ContextDAG.d.ts +149 -0
  1250. package/dist/core/compress/ContextDAG.d.ts.map +1 -0
  1251. package/dist/core/compress/ContextDAG.js +323 -0
  1252. package/dist/core/compress/ContextDAG.js.map +1 -0
  1253. package/dist/core/compress/ContextTokenCalculator.d.ts +46 -0
  1254. package/dist/core/compress/ContextTokenCalculator.d.ts.map +1 -0
  1255. package/dist/core/compress/ContextTokenCalculator.js +216 -0
  1256. package/dist/core/compress/ContextTokenCalculator.js.map +1 -0
  1257. package/dist/core/compress/MessageByteTruncator.d.ts +65 -0
  1258. package/dist/core/compress/MessageByteTruncator.d.ts.map +1 -0
  1259. package/dist/core/compress/MessageByteTruncator.js +178 -0
  1260. package/dist/core/compress/MessageByteTruncator.js.map +1 -0
  1261. package/dist/core/constants.d.ts +67 -0
  1262. package/dist/core/constants.d.ts.map +1 -0
  1263. package/dist/core/constants.js +67 -0
  1264. package/dist/core/constants.js.map +1 -0
  1265. package/dist/core/errors.d.ts +9 -0
  1266. package/dist/core/errors.d.ts.map +1 -0
  1267. package/dist/core/errors.js +20 -0
  1268. package/dist/core/errors.js.map +1 -0
  1269. package/dist/core/git/GitEnv.d.ts +10 -0
  1270. package/dist/core/git/GitEnv.d.ts.map +1 -0
  1271. package/dist/core/git/GitEnv.js +47 -0
  1272. package/dist/core/git/GitEnv.js.map +1 -0
  1273. package/dist/core/git/GitPlatformApi.d.ts +90 -0
  1274. package/dist/core/git/GitPlatformApi.d.ts.map +1 -0
  1275. package/dist/core/git/GitPlatformApi.js +552 -0
  1276. package/dist/core/git/GitPlatformApi.js.map +1 -0
  1277. package/dist/core/git/RealGitService.d.ts +184 -0
  1278. package/dist/core/git/RealGitService.d.ts.map +1 -0
  1279. package/dist/core/git/RealGitService.js +430 -0
  1280. package/dist/core/git/RealGitService.js.map +1 -0
  1281. package/dist/core/hooks/executor.d.ts +51 -0
  1282. package/dist/core/hooks/executor.d.ts.map +1 -0
  1283. package/dist/core/hooks/executor.js +317 -0
  1284. package/dist/core/hooks/executor.js.map +1 -0
  1285. package/dist/core/hooks/index.d.ts +9 -0
  1286. package/dist/core/hooks/index.d.ts.map +1 -0
  1287. package/dist/core/hooks/index.js +12 -0
  1288. package/dist/core/hooks/index.js.map +1 -0
  1289. package/dist/core/hooks/registry.d.ts +71 -0
  1290. package/dist/core/hooks/registry.d.ts.map +1 -0
  1291. package/dist/core/hooks/registry.js +231 -0
  1292. package/dist/core/hooks/registry.js.map +1 -0
  1293. package/dist/core/hooks/session_hooks.d.ts +54 -0
  1294. package/dist/core/hooks/session_hooks.d.ts.map +1 -0
  1295. package/dist/core/hooks/session_hooks.js +104 -0
  1296. package/dist/core/hooks/session_hooks.js.map +1 -0
  1297. package/dist/core/hooks/types.d.ts +136 -0
  1298. package/dist/core/hooks/types.d.ts.map +1 -0
  1299. package/dist/core/hooks/types.js +49 -0
  1300. package/dist/core/hooks/types.js.map +1 -0
  1301. package/dist/core/index.d.ts +23 -0
  1302. package/dist/core/index.d.ts.map +1 -0
  1303. package/dist/core/index.js +22 -0
  1304. package/dist/core/index.js.map +1 -0
  1305. package/dist/core/ipc/IPCDrainQueue.d.ts +58 -0
  1306. package/dist/core/ipc/IPCDrainQueue.d.ts.map +1 -0
  1307. package/dist/core/ipc/IPCDrainQueue.js +166 -0
  1308. package/dist/core/ipc/IPCDrainQueue.js.map +1 -0
  1309. package/dist/core/mcp-share/McpBundle.d.ts +43 -0
  1310. package/dist/core/mcp-share/McpBundle.d.ts.map +1 -0
  1311. package/dist/core/mcp-share/McpBundle.js +100 -0
  1312. package/dist/core/mcp-share/McpBundle.js.map +1 -0
  1313. package/dist/core/mcp-share/McpShare.d.ts +110 -0
  1314. package/dist/core/mcp-share/McpShare.d.ts.map +1 -0
  1315. package/dist/core/mcp-share/McpShare.js +311 -0
  1316. package/dist/core/mcp-share/McpShare.js.map +1 -0
  1317. package/dist/core/plugins/PluginManifest.d.ts +128 -0
  1318. package/dist/core/plugins/PluginManifest.d.ts.map +1 -0
  1319. package/dist/core/plugins/PluginManifest.js +166 -0
  1320. package/dist/core/plugins/PluginManifest.js.map +1 -0
  1321. package/dist/core/plugins/PluginStore.d.ts +76 -0
  1322. package/dist/core/plugins/PluginStore.d.ts.map +1 -0
  1323. package/dist/core/plugins/PluginStore.js +511 -0
  1324. package/dist/core/plugins/PluginStore.js.map +1 -0
  1325. package/dist/core/session/SessionCleanup.d.ts +15 -0
  1326. package/dist/core/session/SessionCleanup.d.ts.map +1 -0
  1327. package/dist/core/session/SessionCleanup.js +24 -0
  1328. package/dist/core/session/SessionCleanup.js.map +1 -0
  1329. package/dist/core/session/SessionFactory.d.ts +14 -0
  1330. package/dist/core/session/SessionFactory.d.ts.map +1 -0
  1331. package/dist/core/session/SessionFactory.js +15 -0
  1332. package/dist/core/session/SessionFactory.js.map +1 -0
  1333. package/dist/core/session/SessionFork.d.ts +31 -0
  1334. package/dist/core/session/SessionFork.d.ts.map +1 -0
  1335. package/dist/core/session/SessionFork.js +78 -0
  1336. package/dist/core/session/SessionFork.js.map +1 -0
  1337. package/dist/core/session/SessionInitialization.d.ts +23 -0
  1338. package/dist/core/session/SessionInitialization.d.ts.map +1 -0
  1339. package/dist/core/session/SessionInitialization.js +55 -0
  1340. package/dist/core/session/SessionInitialization.js.map +1 -0
  1341. package/dist/core/session/SessionStateSync.d.ts +14 -0
  1342. package/dist/core/session/SessionStateSync.d.ts.map +1 -0
  1343. package/dist/core/session/SessionStateSync.js +23 -0
  1344. package/dist/core/session/SessionStateSync.js.map +1 -0
  1345. package/dist/core/session/TurnCoordinator.d.ts +3 -0
  1346. package/dist/core/session/TurnCoordinator.d.ts.map +1 -0
  1347. package/dist/core/session/TurnCoordinator.js +2 -0
  1348. package/dist/core/session/TurnCoordinator.js.map +1 -0
  1349. package/dist/core/terminalRestore.d.ts +36 -0
  1350. package/dist/core/terminalRestore.d.ts.map +1 -0
  1351. package/dist/core/terminalRestore.js +52 -0
  1352. package/dist/core/terminalRestore.js.map +1 -0
  1353. package/dist/core/transport/LocalTransport.d.ts +11 -0
  1354. package/dist/core/transport/LocalTransport.d.ts.map +1 -0
  1355. package/dist/core/transport/LocalTransport.js +20 -0
  1356. package/dist/core/transport/LocalTransport.js.map +1 -0
  1357. package/dist/core/transport/RemoteWorkerRegistry.d.ts +25 -0
  1358. package/dist/core/transport/RemoteWorkerRegistry.d.ts.map +1 -0
  1359. package/dist/core/transport/RemoteWorkerRegistry.js +77 -0
  1360. package/dist/core/transport/RemoteWorkerRegistry.js.map +1 -0
  1361. package/dist/core/transport/Transport.d.ts +18 -0
  1362. package/dist/core/transport/Transport.d.ts.map +1 -0
  1363. package/dist/core/transport/Transport.js +17 -0
  1364. package/dist/core/transport/Transport.js.map +1 -0
  1365. package/dist/core/transport/WebSocketTransport.d.ts +41 -0
  1366. package/dist/core/transport/WebSocketTransport.d.ts.map +1 -0
  1367. package/dist/core/transport/WebSocketTransport.js +124 -0
  1368. package/dist/core/transport/WebSocketTransport.js.map +1 -0
  1369. package/dist/core/verify/BughuntVerificationRunner.d.ts +45 -0
  1370. package/dist/core/verify/BughuntVerificationRunner.d.ts.map +1 -0
  1371. package/dist/core/verify/BughuntVerificationRunner.js +109 -0
  1372. package/dist/core/verify/BughuntVerificationRunner.js.map +1 -0
  1373. package/dist/core/verify/TargetServiceManager.d.ts +24 -0
  1374. package/dist/core/verify/TargetServiceManager.d.ts.map +1 -0
  1375. package/dist/core/verify/TargetServiceManager.js +115 -0
  1376. package/dist/core/verify/TargetServiceManager.js.map +1 -0
  1377. package/dist/core/workflow/ExecutionGraph.d.ts +83 -0
  1378. package/dist/core/workflow/ExecutionGraph.d.ts.map +1 -0
  1379. package/dist/core/workflow/ExecutionGraph.js +275 -0
  1380. package/dist/core/workflow/ExecutionGraph.js.map +1 -0
  1381. package/dist/core/workflow/ScheduleTriggerSync.d.ts +22 -0
  1382. package/dist/core/workflow/ScheduleTriggerSync.d.ts.map +1 -0
  1383. package/dist/core/workflow/ScheduleTriggerSync.js +141 -0
  1384. package/dist/core/workflow/ScheduleTriggerSync.js.map +1 -0
  1385. package/dist/core/workflow/VariableResolver.d.ts +83 -0
  1386. package/dist/core/workflow/VariableResolver.d.ts.map +1 -0
  1387. package/dist/core/workflow/VariableResolver.js +277 -0
  1388. package/dist/core/workflow/VariableResolver.js.map +1 -0
  1389. package/dist/core/workflow/WorkflowAnalyzer.d.ts +40 -0
  1390. package/dist/core/workflow/WorkflowAnalyzer.d.ts.map +1 -0
  1391. package/dist/core/workflow/WorkflowAnalyzer.js +381 -0
  1392. package/dist/core/workflow/WorkflowAnalyzer.js.map +1 -0
  1393. package/dist/core/workflow/WorkflowEngine.d.ts +158 -0
  1394. package/dist/core/workflow/WorkflowEngine.d.ts.map +1 -0
  1395. package/dist/core/workflow/WorkflowEngine.js +1249 -0
  1396. package/dist/core/workflow/WorkflowEngine.js.map +1 -0
  1397. package/dist/core/workflow/WorkflowManager.d.ts +129 -0
  1398. package/dist/core/workflow/WorkflowManager.d.ts.map +1 -0
  1399. package/dist/core/workflow/WorkflowManager.js +525 -0
  1400. package/dist/core/workflow/WorkflowManager.js.map +1 -0
  1401. package/dist/core/workflow/executors/AgentNodeExecutor.d.ts +21 -0
  1402. package/dist/core/workflow/executors/AgentNodeExecutor.d.ts.map +1 -0
  1403. package/dist/core/workflow/executors/AgentNodeExecutor.js +44 -0
  1404. package/dist/core/workflow/executors/AgentNodeExecutor.js.map +1 -0
  1405. package/dist/core/workflow/executors/BaseNodeExecutor.d.ts +24 -0
  1406. package/dist/core/workflow/executors/BaseNodeExecutor.d.ts.map +1 -0
  1407. package/dist/core/workflow/executors/BaseNodeExecutor.js +30 -0
  1408. package/dist/core/workflow/executors/BaseNodeExecutor.js.map +1 -0
  1409. package/dist/core/workflow/executors/ConditionNodeExecutor.d.ts +25 -0
  1410. package/dist/core/workflow/executors/ConditionNodeExecutor.d.ts.map +1 -0
  1411. package/dist/core/workflow/executors/ConditionNodeExecutor.js +118 -0
  1412. package/dist/core/workflow/executors/ConditionNodeExecutor.js.map +1 -0
  1413. package/dist/core/workflow/executors/DataNodeExecutor.d.ts +26 -0
  1414. package/dist/core/workflow/executors/DataNodeExecutor.d.ts.map +1 -0
  1415. package/dist/core/workflow/executors/DataNodeExecutor.js +315 -0
  1416. package/dist/core/workflow/executors/DataNodeExecutor.js.map +1 -0
  1417. package/dist/core/workflow/executors/ParallelNodeExecutor.d.ts +17 -0
  1418. package/dist/core/workflow/executors/ParallelNodeExecutor.d.ts.map +1 -0
  1419. package/dist/core/workflow/executors/ParallelNodeExecutor.js +58 -0
  1420. package/dist/core/workflow/executors/ParallelNodeExecutor.js.map +1 -0
  1421. package/dist/core/workflow/executors/ToolNodeExecutor.d.ts +16 -0
  1422. package/dist/core/workflow/executors/ToolNodeExecutor.d.ts.map +1 -0
  1423. package/dist/core/workflow/executors/ToolNodeExecutor.js +83 -0
  1424. package/dist/core/workflow/executors/ToolNodeExecutor.js.map +1 -0
  1425. package/dist/core/workflow/expressionEvaluator.d.ts +27 -0
  1426. package/dist/core/workflow/expressionEvaluator.d.ts.map +1 -0
  1427. package/dist/core/workflow/expressionEvaluator.js +35 -0
  1428. package/dist/core/workflow/expressionEvaluator.js.map +1 -0
  1429. package/dist/core/workflow/safeExpressionEvaluator.d.ts +28 -0
  1430. package/dist/core/workflow/safeExpressionEvaluator.d.ts.map +1 -0
  1431. package/dist/core/workflow/safeExpressionEvaluator.js +298 -0
  1432. package/dist/core/workflow/safeExpressionEvaluator.js.map +1 -0
  1433. package/dist/core/workflow/types.d.ts +258 -0
  1434. package/dist/core/workflow/types.d.ts.map +1 -0
  1435. package/dist/core/workflow/types.js +7 -0
  1436. package/dist/core/workflow/types.js.map +1 -0
  1437. package/dist/core/workflow/variableScope.d.ts +20 -0
  1438. package/dist/core/workflow/variableScope.d.ts.map +1 -0
  1439. package/dist/core/workflow/variableScope.js +42 -0
  1440. package/dist/core/workflow/variableScope.js.map +1 -0
  1441. package/dist/facade/AgentLoop.d.ts +91 -0
  1442. package/dist/facade/AgentLoop.d.ts.map +1 -0
  1443. package/dist/facade/AgentLoop.js +140 -0
  1444. package/dist/facade/AgentLoop.js.map +1 -0
  1445. package/dist/i18n.d.ts +871 -0
  1446. package/dist/i18n.d.ts.map +1 -0
  1447. package/dist/i18n.js +1912 -0
  1448. package/dist/i18n.js.map +1 -0
  1449. package/dist/index.d.ts +31 -0
  1450. package/dist/index.d.ts.map +1 -0
  1451. package/dist/index.js +29 -0
  1452. package/dist/index.js.map +1 -0
  1453. package/dist/llm/AnthropicContentGenerator.d.ts +66 -0
  1454. package/dist/llm/AnthropicContentGenerator.d.ts.map +1 -0
  1455. package/dist/llm/AnthropicContentGenerator.js +973 -0
  1456. package/dist/llm/AnthropicContentGenerator.js.map +1 -0
  1457. package/dist/llm/AnthropicToolSchema.d.ts +4 -0
  1458. package/dist/llm/AnthropicToolSchema.d.ts.map +1 -0
  1459. package/dist/llm/AnthropicToolSchema.js +179 -0
  1460. package/dist/llm/AnthropicToolSchema.js.map +1 -0
  1461. package/dist/llm/CircuitBreaker.d.ts +77 -0
  1462. package/dist/llm/CircuitBreaker.d.ts.map +1 -0
  1463. package/dist/llm/CircuitBreaker.js +185 -0
  1464. package/dist/llm/CircuitBreaker.js.map +1 -0
  1465. package/dist/llm/Client.d.ts +59 -0
  1466. package/dist/llm/Client.d.ts.map +1 -0
  1467. package/dist/llm/Client.js +174 -0
  1468. package/dist/llm/Client.js.map +1 -0
  1469. package/dist/llm/ContentGenerationPipeline.d.ts +104 -0
  1470. package/dist/llm/ContentGenerationPipeline.d.ts.map +1 -0
  1471. package/dist/llm/ContentGenerationPipeline.js +85 -0
  1472. package/dist/llm/ContentGenerationPipeline.js.map +1 -0
  1473. package/dist/llm/ContentGenerator.d.ts +137 -0
  1474. package/dist/llm/ContentGenerator.d.ts.map +1 -0
  1475. package/dist/llm/ContentGenerator.js +49 -0
  1476. package/dist/llm/ContentGenerator.js.map +1 -0
  1477. package/dist/llm/CostService.d.ts +121 -0
  1478. package/dist/llm/CostService.d.ts.map +1 -0
  1479. package/dist/llm/CostService.js +287 -0
  1480. package/dist/llm/CostService.js.map +1 -0
  1481. package/dist/llm/LoggingContentGenerator.d.ts +25 -0
  1482. package/dist/llm/LoggingContentGenerator.d.ts.map +1 -0
  1483. package/dist/llm/LoggingContentGenerator.js +82 -0
  1484. package/dist/llm/LoggingContentGenerator.js.map +1 -0
  1485. package/dist/llm/ModelGateway.d.ts +88 -0
  1486. package/dist/llm/ModelGateway.d.ts.map +1 -0
  1487. package/dist/llm/ModelGateway.js +261 -0
  1488. package/dist/llm/ModelGateway.js.map +1 -0
  1489. package/dist/llm/ModelsDevRegistry.d.ts +159 -0
  1490. package/dist/llm/ModelsDevRegistry.d.ts.map +1 -0
  1491. package/dist/llm/ModelsDevRegistry.js +301 -0
  1492. package/dist/llm/ModelsDevRegistry.js.map +1 -0
  1493. package/dist/llm/OpenAIContentGenerator.d.ts +57 -0
  1494. package/dist/llm/OpenAIContentGenerator.d.ts.map +1 -0
  1495. package/dist/llm/OpenAIContentGenerator.js +644 -0
  1496. package/dist/llm/OpenAIContentGenerator.js.map +1 -0
  1497. package/dist/llm/RetryEngine.d.ts +89 -0
  1498. package/dist/llm/RetryEngine.d.ts.map +1 -0
  1499. package/dist/llm/RetryEngine.js +121 -0
  1500. package/dist/llm/RetryEngine.js.map +1 -0
  1501. package/dist/llm/StreamingToolCallParser.d.ts +113 -0
  1502. package/dist/llm/StreamingToolCallParser.d.ts.map +1 -0
  1503. package/dist/llm/StreamingToolCallParser.js +294 -0
  1504. package/dist/llm/StreamingToolCallParser.js.map +1 -0
  1505. package/dist/llm/VercelAIContentGenerator.d.ts +71 -0
  1506. package/dist/llm/VercelAIContentGenerator.d.ts.map +1 -0
  1507. package/dist/llm/VercelAIContentGenerator.js +471 -0
  1508. package/dist/llm/VercelAIContentGenerator.js.map +1 -0
  1509. package/dist/llm/errors.d.ts +44 -0
  1510. package/dist/llm/errors.d.ts.map +1 -0
  1511. package/dist/llm/errors.js +713 -0
  1512. package/dist/llm/errors.js.map +1 -0
  1513. package/dist/llm/http_dispatcher.d.ts +51 -0
  1514. package/dist/llm/http_dispatcher.d.ts.map +1 -0
  1515. package/dist/llm/http_dispatcher.js +151 -0
  1516. package/dist/llm/http_dispatcher.js.map +1 -0
  1517. package/dist/llm/image_blob_store.d.ts +8 -0
  1518. package/dist/llm/image_blob_store.d.ts.map +1 -0
  1519. package/dist/llm/image_blob_store.js +135 -0
  1520. package/dist/llm/image_blob_store.js.map +1 -0
  1521. package/dist/llm/local_vision_fallback.d.ts +37 -0
  1522. package/dist/llm/local_vision_fallback.d.ts.map +1 -0
  1523. package/dist/llm/local_vision_fallback.js +296 -0
  1524. package/dist/llm/local_vision_fallback.js.map +1 -0
  1525. package/dist/llm/message_sanitizer.d.ts +109 -0
  1526. package/dist/llm/message_sanitizer.d.ts.map +1 -0
  1527. package/dist/llm/message_sanitizer.js +536 -0
  1528. package/dist/llm/message_sanitizer.js.map +1 -0
  1529. package/dist/llm/model_capabilities.d.ts +131 -0
  1530. package/dist/llm/model_capabilities.d.ts.map +1 -0
  1531. package/dist/llm/model_capabilities.js +484 -0
  1532. package/dist/llm/model_capabilities.js.map +1 -0
  1533. package/dist/llm/model_capability_config.d.ts +19 -0
  1534. package/dist/llm/model_capability_config.d.ts.map +1 -0
  1535. package/dist/llm/model_capability_config.js +16 -0
  1536. package/dist/llm/model_capability_config.js.map +1 -0
  1537. package/dist/llm/promptCacheKey.d.ts +27 -0
  1538. package/dist/llm/promptCacheKey.d.ts.map +1 -0
  1539. package/dist/llm/promptCacheKey.js +53 -0
  1540. package/dist/llm/promptCacheKey.js.map +1 -0
  1541. package/dist/llm/provider_runtime.d.ts +64 -0
  1542. package/dist/llm/provider_runtime.d.ts.map +1 -0
  1543. package/dist/llm/provider_runtime.js +181 -0
  1544. package/dist/llm/provider_runtime.js.map +1 -0
  1545. package/dist/llm/providers/anthropic.d.ts +7 -0
  1546. package/dist/llm/providers/anthropic.d.ts.map +1 -0
  1547. package/dist/llm/providers/anthropic.js +12 -0
  1548. package/dist/llm/providers/anthropic.js.map +1 -0
  1549. package/dist/llm/providers/bedrock.d.ts +7 -0
  1550. package/dist/llm/providers/bedrock.d.ts.map +1 -0
  1551. package/dist/llm/providers/bedrock.js +14 -0
  1552. package/dist/llm/providers/bedrock.js.map +1 -0
  1553. package/dist/llm/providers/custom.d.ts +10 -0
  1554. package/dist/llm/providers/custom.d.ts.map +1 -0
  1555. package/dist/llm/providers/custom.js +16 -0
  1556. package/dist/llm/providers/custom.js.map +1 -0
  1557. package/dist/llm/providers/google.d.ts +7 -0
  1558. package/dist/llm/providers/google.d.ts.map +1 -0
  1559. package/dist/llm/providers/google.js +12 -0
  1560. package/dist/llm/providers/google.js.map +1 -0
  1561. package/dist/llm/providers/index.d.ts +31 -0
  1562. package/dist/llm/providers/index.d.ts.map +1 -0
  1563. package/dist/llm/providers/index.js +36 -0
  1564. package/dist/llm/providers/index.js.map +1 -0
  1565. package/dist/llm/providers/openai.d.ts +7 -0
  1566. package/dist/llm/providers/openai.d.ts.map +1 -0
  1567. package/dist/llm/providers/openai.js +12 -0
  1568. package/dist/llm/providers/openai.js.map +1 -0
  1569. package/dist/llm/reasoningSampling.d.ts +55 -0
  1570. package/dist/llm/reasoningSampling.d.ts.map +1 -0
  1571. package/dist/llm/reasoningSampling.js +72 -0
  1572. package/dist/llm/reasoningSampling.js.map +1 -0
  1573. package/dist/llm/tesseractResolver.d.ts +41 -0
  1574. package/dist/llm/tesseractResolver.d.ts.map +1 -0
  1575. package/dist/llm/tesseractResolver.js +103 -0
  1576. package/dist/llm/tesseractResolver.js.map +1 -0
  1577. package/dist/llm/tokenLimits.d.ts +32 -0
  1578. package/dist/llm/tokenLimits.d.ts.map +1 -0
  1579. package/dist/llm/tokenLimits.js +91 -0
  1580. package/dist/llm/tokenLimits.js.map +1 -0
  1581. package/dist/llm/token_counter.d.ts +82 -0
  1582. package/dist/llm/token_counter.d.ts.map +1 -0
  1583. package/dist/llm/token_counter.js +184 -0
  1584. package/dist/llm/token_counter.js.map +1 -0
  1585. package/dist/llm/types.d.ts +192 -0
  1586. package/dist/llm/types.d.ts.map +1 -0
  1587. package/dist/llm/types.js +10 -0
  1588. package/dist/llm/types.js.map +1 -0
  1589. package/dist/llm/usageExtractor.d.ts +36 -0
  1590. package/dist/llm/usageExtractor.d.ts.map +1 -0
  1591. package/dist/llm/usageExtractor.js +156 -0
  1592. package/dist/llm/usageExtractor.js.map +1 -0
  1593. package/dist/mcp-servers/browser-server.d.ts +12 -0
  1594. package/dist/mcp-servers/browser-server.d.ts.map +1 -0
  1595. package/dist/mcp-servers/browser-server.js +264 -0
  1596. package/dist/mcp-servers/browser-server.js.map +1 -0
  1597. package/dist/mcp-servers/code-intelligence-server.d.ts +8 -0
  1598. package/dist/mcp-servers/code-intelligence-server.d.ts.map +1 -0
  1599. package/dist/mcp-servers/code-intelligence-server.js +218 -0
  1600. package/dist/mcp-servers/code-intelligence-server.js.map +1 -0
  1601. package/dist/mcp-servers/memory-server.d.ts +9 -0
  1602. package/dist/mcp-servers/memory-server.d.ts.map +1 -0
  1603. package/dist/mcp-servers/memory-server.js +142 -0
  1604. package/dist/mcp-servers/memory-server.js.map +1 -0
  1605. package/dist/mcp-servers/session-server.d.ts +8 -0
  1606. package/dist/mcp-servers/session-server.d.ts.map +1 -0
  1607. package/dist/mcp-servers/session-server.js +113 -0
  1608. package/dist/mcp-servers/session-server.js.map +1 -0
  1609. package/dist/mcp-servers/shared.d.ts +41 -0
  1610. package/dist/mcp-servers/shared.d.ts.map +1 -0
  1611. package/dist/mcp-servers/shared.js +34 -0
  1612. package/dist/mcp-servers/shared.js.map +1 -0
  1613. package/dist/memory/AssetUsageStore.d.ts +63 -0
  1614. package/dist/memory/AssetUsageStore.d.ts.map +1 -0
  1615. package/dist/memory/AssetUsageStore.js +117 -0
  1616. package/dist/memory/AssetUsageStore.js.map +1 -0
  1617. package/dist/memory/AutoDreamTrigger.d.ts +37 -0
  1618. package/dist/memory/AutoDreamTrigger.d.ts.map +1 -0
  1619. package/dist/memory/AutoDreamTrigger.js +79 -0
  1620. package/dist/memory/AutoDreamTrigger.js.map +1 -0
  1621. package/dist/memory/DistillCommand.d.ts +89 -0
  1622. package/dist/memory/DistillCommand.d.ts.map +1 -0
  1623. package/dist/memory/DistillCommand.js +418 -0
  1624. package/dist/memory/DistillCommand.js.map +1 -0
  1625. package/dist/memory/DreamCommand.d.ts +54 -0
  1626. package/dist/memory/DreamCommand.d.ts.map +1 -0
  1627. package/dist/memory/DreamCommand.js +289 -0
  1628. package/dist/memory/DreamCommand.js.map +1 -0
  1629. package/dist/memory/MemoryDeduplicator.d.ts +38 -0
  1630. package/dist/memory/MemoryDeduplicator.d.ts.map +1 -0
  1631. package/dist/memory/MemoryDeduplicator.js +125 -0
  1632. package/dist/memory/MemoryDeduplicator.js.map +1 -0
  1633. package/dist/memory/MemoryEmbedding.d.ts +25 -0
  1634. package/dist/memory/MemoryEmbedding.d.ts.map +1 -0
  1635. package/dist/memory/MemoryEmbedding.js +104 -0
  1636. package/dist/memory/MemoryEmbedding.js.map +1 -0
  1637. package/dist/memory/MemoryFTS.d.ts +55 -0
  1638. package/dist/memory/MemoryFTS.d.ts.map +1 -0
  1639. package/dist/memory/MemoryFTS.js +333 -0
  1640. package/dist/memory/MemoryFTS.js.map +1 -0
  1641. package/dist/memory/MemoryGC.d.ts +40 -0
  1642. package/dist/memory/MemoryGC.d.ts.map +1 -0
  1643. package/dist/memory/MemoryGC.js +146 -0
  1644. package/dist/memory/MemoryGC.js.map +1 -0
  1645. package/dist/memory/MemoryMaintenance.d.ts +31 -0
  1646. package/dist/memory/MemoryMaintenance.d.ts.map +1 -0
  1647. package/dist/memory/MemoryMaintenance.js +111 -0
  1648. package/dist/memory/MemoryMaintenance.js.map +1 -0
  1649. package/dist/memory/MemoryMaintenanceEvents.d.ts +24 -0
  1650. package/dist/memory/MemoryMaintenanceEvents.d.ts.map +1 -0
  1651. package/dist/memory/MemoryMaintenanceEvents.js +47 -0
  1652. package/dist/memory/MemoryMaintenanceEvents.js.map +1 -0
  1653. package/dist/memory/MemoryMaintenanceStatus.d.ts +61 -0
  1654. package/dist/memory/MemoryMaintenanceStatus.d.ts.map +1 -0
  1655. package/dist/memory/MemoryMaintenanceStatus.js +165 -0
  1656. package/dist/memory/MemoryMaintenanceStatus.js.map +1 -0
  1657. package/dist/memory/MemoryManager.d.ts +80 -0
  1658. package/dist/memory/MemoryManager.d.ts.map +1 -0
  1659. package/dist/memory/MemoryManager.js +310 -0
  1660. package/dist/memory/MemoryManager.js.map +1 -0
  1661. package/dist/memory/MemoryReconciler.d.ts +27 -0
  1662. package/dist/memory/MemoryReconciler.d.ts.map +1 -0
  1663. package/dist/memory/MemoryReconciler.js +163 -0
  1664. package/dist/memory/MemoryReconciler.js.map +1 -0
  1665. package/dist/memory/MemoryService.d.ts +82 -0
  1666. package/dist/memory/MemoryService.d.ts.map +1 -0
  1667. package/dist/memory/MemoryService.js +114 -0
  1668. package/dist/memory/MemoryService.js.map +1 -0
  1669. package/dist/memory/TrajectoryReader.d.ts +39 -0
  1670. package/dist/memory/TrajectoryReader.d.ts.map +1 -0
  1671. package/dist/memory/TrajectoryReader.js +150 -0
  1672. package/dist/memory/TrajectoryReader.js.map +1 -0
  1673. package/dist/memory/types.d.ts +122 -0
  1674. package/dist/memory/types.d.ts.map +1 -0
  1675. package/dist/memory/types.js +10 -0
  1676. package/dist/memory/types.js.map +1 -0
  1677. package/dist/plugins/hooks/ChatTransformHook.d.ts +57 -0
  1678. package/dist/plugins/hooks/ChatTransformHook.d.ts.map +1 -0
  1679. package/dist/plugins/hooks/ChatTransformHook.js +59 -0
  1680. package/dist/plugins/hooks/ChatTransformHook.js.map +1 -0
  1681. package/dist/plugins/hooks/ToolHooks.d.ts +125 -0
  1682. package/dist/plugins/hooks/ToolHooks.d.ts.map +1 -0
  1683. package/dist/plugins/hooks/ToolHooks.js +106 -0
  1684. package/dist/plugins/hooks/ToolHooks.js.map +1 -0
  1685. package/dist/plugins/hooks/index.d.ts +8 -0
  1686. package/dist/plugins/hooks/index.d.ts.map +1 -0
  1687. package/dist/plugins/hooks/index.js +6 -0
  1688. package/dist/plugins/hooks/index.js.map +1 -0
  1689. package/dist/runtime/LoggingRuntime.d.ts +35 -0
  1690. package/dist/runtime/LoggingRuntime.d.ts.map +1 -0
  1691. package/dist/runtime/LoggingRuntime.js +87 -0
  1692. package/dist/runtime/LoggingRuntime.js.map +1 -0
  1693. package/dist/runtime/SessionManagerRuntime.d.ts +475 -0
  1694. package/dist/runtime/SessionManagerRuntime.d.ts.map +1 -0
  1695. package/dist/runtime/SessionManagerRuntime.js +2299 -0
  1696. package/dist/runtime/SessionManagerRuntime.js.map +1 -0
  1697. package/dist/runtime/SessionRuntime.d.ts +62 -0
  1698. package/dist/runtime/SessionRuntime.d.ts.map +1 -0
  1699. package/dist/runtime/SessionRuntime.js +241 -0
  1700. package/dist/runtime/SessionRuntime.js.map +1 -0
  1701. package/dist/tools/LazyToolProxy.d.ts +33 -0
  1702. package/dist/tools/LazyToolProxy.d.ts.map +1 -0
  1703. package/dist/tools/LazyToolProxy.js +59 -0
  1704. package/dist/tools/LazyToolProxy.js.map +1 -0
  1705. package/dist/tools/LspClient.d.ts +94 -0
  1706. package/dist/tools/LspClient.d.ts.map +1 -0
  1707. package/dist/tools/LspClient.js +429 -0
  1708. package/dist/tools/LspClient.js.map +1 -0
  1709. package/dist/tools/MetaTool.d.ts +22 -0
  1710. package/dist/tools/MetaTool.d.ts.map +1 -0
  1711. package/dist/tools/MetaTool.js +21 -0
  1712. package/dist/tools/MetaTool.js.map +1 -0
  1713. package/dist/tools/Registry.d.ts +156 -0
  1714. package/dist/tools/Registry.d.ts.map +1 -0
  1715. package/dist/tools/Registry.js +1484 -0
  1716. package/dist/tools/Registry.js.map +1 -0
  1717. package/dist/tools/SchemaUtils.d.ts +5 -0
  1718. package/dist/tools/SchemaUtils.d.ts.map +1 -0
  1719. package/dist/tools/SchemaUtils.js +215 -0
  1720. package/dist/tools/SchemaUtils.js.map +1 -0
  1721. package/dist/tools/Tool.d.ts +90 -0
  1722. package/dist/tools/Tool.d.ts.map +1 -0
  1723. package/dist/tools/Tool.js +128 -0
  1724. package/dist/tools/Tool.js.map +1 -0
  1725. package/dist/tools/ToolMetadata.d.ts +35 -0
  1726. package/dist/tools/ToolMetadata.d.ts.map +1 -0
  1727. package/dist/tools/ToolMetadata.js +139 -0
  1728. package/dist/tools/ToolMetadata.js.map +1 -0
  1729. package/dist/tools/UserToolFactory.d.ts +34 -0
  1730. package/dist/tools/UserToolFactory.d.ts.map +1 -0
  1731. package/dist/tools/UserToolFactory.js +249 -0
  1732. package/dist/tools/UserToolFactory.js.map +1 -0
  1733. package/dist/tools/implementations/AddEdgeTool.d.ts +22 -0
  1734. package/dist/tools/implementations/AddEdgeTool.d.ts.map +1 -0
  1735. package/dist/tools/implementations/AddEdgeTool.js +43 -0
  1736. package/dist/tools/implementations/AddEdgeTool.js.map +1 -0
  1737. package/dist/tools/implementations/AstQueryTool.d.ts +40 -0
  1738. package/dist/tools/implementations/AstQueryTool.d.ts.map +1 -0
  1739. package/dist/tools/implementations/AstQueryTool.js +142 -0
  1740. package/dist/tools/implementations/AstQueryTool.js.map +1 -0
  1741. package/dist/tools/implementations/AttemptCompletionTool.d.ts +178 -0
  1742. package/dist/tools/implementations/AttemptCompletionTool.d.ts.map +1 -0
  1743. package/dist/tools/implementations/AttemptCompletionTool.js +384 -0
  1744. package/dist/tools/implementations/AttemptCompletionTool.js.map +1 -0
  1745. package/dist/tools/implementations/BlackboardTool.d.ts +80 -0
  1746. package/dist/tools/implementations/BlackboardTool.d.ts.map +1 -0
  1747. package/dist/tools/implementations/BlackboardTool.js +87 -0
  1748. package/dist/tools/implementations/BlackboardTool.js.map +1 -0
  1749. package/dist/tools/implementations/BrowserActionTool.d.ts +109 -0
  1750. package/dist/tools/implementations/BrowserActionTool.d.ts.map +1 -0
  1751. package/dist/tools/implementations/BrowserActionTool.js +265 -0
  1752. package/dist/tools/implementations/BrowserActionTool.js.map +1 -0
  1753. package/dist/tools/implementations/BrowserManager.d.ts +191 -0
  1754. package/dist/tools/implementations/BrowserManager.d.ts.map +1 -0
  1755. package/dist/tools/implementations/BrowserManager.js +619 -0
  1756. package/dist/tools/implementations/BrowserManager.js.map +1 -0
  1757. package/dist/tools/implementations/BrowserVisualVerifyTool.d.ts +56 -0
  1758. package/dist/tools/implementations/BrowserVisualVerifyTool.d.ts.map +1 -0
  1759. package/dist/tools/implementations/BrowserVisualVerifyTool.js +269 -0
  1760. package/dist/tools/implementations/BrowserVisualVerifyTool.js.map +1 -0
  1761. package/dist/tools/implementations/BughuntScanToolWrappers.d.ts +28 -0
  1762. package/dist/tools/implementations/BughuntScanToolWrappers.d.ts.map +1 -0
  1763. package/dist/tools/implementations/BughuntScanToolWrappers.js +183 -0
  1764. package/dist/tools/implementations/BughuntScanToolWrappers.js.map +1 -0
  1765. package/dist/tools/implementations/BughuntScanTools.d.ts +48 -0
  1766. package/dist/tools/implementations/BughuntScanTools.d.ts.map +1 -0
  1767. package/dist/tools/implementations/BughuntScanTools.js +502 -0
  1768. package/dist/tools/implementations/BughuntScanTools.js.map +1 -0
  1769. package/dist/tools/implementations/BughuntTaintScanner.d.ts +11 -0
  1770. package/dist/tools/implementations/BughuntTaintScanner.d.ts.map +1 -0
  1771. package/dist/tools/implementations/BughuntTaintScanner.js +82 -0
  1772. package/dist/tools/implementations/BughuntTaintScanner.js.map +1 -0
  1773. package/dist/tools/implementations/CodeSearch.d.ts +55 -0
  1774. package/dist/tools/implementations/CodeSearch.d.ts.map +1 -0
  1775. package/dist/tools/implementations/CodeSearch.js +564 -0
  1776. package/dist/tools/implementations/CodeSearch.js.map +1 -0
  1777. package/dist/tools/implementations/CodeSearchTool.d.ts +17 -0
  1778. package/dist/tools/implementations/CodeSearchTool.d.ts.map +1 -0
  1779. package/dist/tools/implementations/CodeSearchTool.js +35 -0
  1780. package/dist/tools/implementations/CodeSearchTool.js.map +1 -0
  1781. package/dist/tools/implementations/DeclareAssumptionTool.d.ts +21 -0
  1782. package/dist/tools/implementations/DeclareAssumptionTool.d.ts.map +1 -0
  1783. package/dist/tools/implementations/DeclareAssumptionTool.js +60 -0
  1784. package/dist/tools/implementations/DeclareAssumptionTool.js.map +1 -0
  1785. package/dist/tools/implementations/DeclareIntentTool.d.ts +14 -0
  1786. package/dist/tools/implementations/DeclareIntentTool.d.ts.map +1 -0
  1787. package/dist/tools/implementations/DeclareIntentTool.js +41 -0
  1788. package/dist/tools/implementations/DeclareIntentTool.js.map +1 -0
  1789. package/dist/tools/implementations/DesignAssetTool.d.ts +25 -0
  1790. package/dist/tools/implementations/DesignAssetTool.d.ts.map +1 -0
  1791. package/dist/tools/implementations/DesignAssetTool.js +197 -0
  1792. package/dist/tools/implementations/DesignAssetTool.js.map +1 -0
  1793. package/dist/tools/implementations/EditDocxTool.d.ts +60 -0
  1794. package/dist/tools/implementations/EditDocxTool.d.ts.map +1 -0
  1795. package/dist/tools/implementations/EditDocxTool.js +344 -0
  1796. package/dist/tools/implementations/EditDocxTool.js.map +1 -0
  1797. package/dist/tools/implementations/EditPptxTool.d.ts +100 -0
  1798. package/dist/tools/implementations/EditPptxTool.d.ts.map +1 -0
  1799. package/dist/tools/implementations/EditPptxTool.js +447 -0
  1800. package/dist/tools/implementations/EditPptxTool.js.map +1 -0
  1801. package/dist/tools/implementations/EditXlsxTool.d.ts +58 -0
  1802. package/dist/tools/implementations/EditXlsxTool.d.ts.map +1 -0
  1803. package/dist/tools/implementations/EditXlsxTool.js +210 -0
  1804. package/dist/tools/implementations/EditXlsxTool.js.map +1 -0
  1805. package/dist/tools/implementations/ExecutionSandbox.d.ts +51 -0
  1806. package/dist/tools/implementations/ExecutionSandbox.d.ts.map +1 -0
  1807. package/dist/tools/implementations/ExecutionSandbox.js +415 -0
  1808. package/dist/tools/implementations/ExecutionSandbox.js.map +1 -0
  1809. package/dist/tools/implementations/FileCreate.d.ts +15 -0
  1810. package/dist/tools/implementations/FileCreate.d.ts.map +1 -0
  1811. package/dist/tools/implementations/FileCreate.js +68 -0
  1812. package/dist/tools/implementations/FileCreate.js.map +1 -0
  1813. package/dist/tools/implementations/FileParser.d.ts +41 -0
  1814. package/dist/tools/implementations/FileParser.d.ts.map +1 -0
  1815. package/dist/tools/implementations/FileParser.js +524 -0
  1816. package/dist/tools/implementations/FileParser.js.map +1 -0
  1817. package/dist/tools/implementations/FileRead.d.ts +14 -0
  1818. package/dist/tools/implementations/FileRead.d.ts.map +1 -0
  1819. package/dist/tools/implementations/FileRead.js +311 -0
  1820. package/dist/tools/implementations/FileRead.js.map +1 -0
  1821. package/dist/tools/implementations/GenerateCanvasTool.d.ts +109 -0
  1822. package/dist/tools/implementations/GenerateCanvasTool.d.ts.map +1 -0
  1823. package/dist/tools/implementations/GenerateCanvasTool.js +364 -0
  1824. package/dist/tools/implementations/GenerateCanvasTool.js.map +1 -0
  1825. package/dist/tools/implementations/GenerateDocxTool.d.ts +36 -0
  1826. package/dist/tools/implementations/GenerateDocxTool.d.ts.map +1 -0
  1827. package/dist/tools/implementations/GenerateDocxTool.js +327 -0
  1828. package/dist/tools/implementations/GenerateDocxTool.js.map +1 -0
  1829. package/dist/tools/implementations/GenerateHtmlDocumentTool.d.ts +149 -0
  1830. package/dist/tools/implementations/GenerateHtmlDocumentTool.d.ts.map +1 -0
  1831. package/dist/tools/implementations/GenerateHtmlDocumentTool.js +111 -0
  1832. package/dist/tools/implementations/GenerateHtmlDocumentTool.js.map +1 -0
  1833. package/dist/tools/implementations/GenerateHtmlPresentationTool.d.ts +20 -0
  1834. package/dist/tools/implementations/GenerateHtmlPresentationTool.d.ts.map +1 -0
  1835. package/dist/tools/implementations/GenerateHtmlPresentationTool.js +77 -0
  1836. package/dist/tools/implementations/GenerateHtmlPresentationTool.js.map +1 -0
  1837. package/dist/tools/implementations/GeneratePdfTool.d.ts +48 -0
  1838. package/dist/tools/implementations/GeneratePdfTool.d.ts.map +1 -0
  1839. package/dist/tools/implementations/GeneratePdfTool.js +301 -0
  1840. package/dist/tools/implementations/GeneratePdfTool.js.map +1 -0
  1841. package/dist/tools/implementations/GeneratePptxTool.d.ts +91 -0
  1842. package/dist/tools/implementations/GeneratePptxTool.d.ts.map +1 -0
  1843. package/dist/tools/implementations/GeneratePptxTool.js +570 -0
  1844. package/dist/tools/implementations/GeneratePptxTool.js.map +1 -0
  1845. package/dist/tools/implementations/GenerateSlidevTool.d.ts +26 -0
  1846. package/dist/tools/implementations/GenerateSlidevTool.d.ts.map +1 -0
  1847. package/dist/tools/implementations/GenerateSlidevTool.js +128 -0
  1848. package/dist/tools/implementations/GenerateSlidevTool.js.map +1 -0
  1849. package/dist/tools/implementations/GenerateXlsxTool.d.ts +63 -0
  1850. package/dist/tools/implementations/GenerateXlsxTool.d.ts.map +1 -0
  1851. package/dist/tools/implementations/GenerateXlsxTool.js +202 -0
  1852. package/dist/tools/implementations/GenerateXlsxTool.js.map +1 -0
  1853. package/dist/tools/implementations/GetTerminalOutput.d.ts +15 -0
  1854. package/dist/tools/implementations/GetTerminalOutput.d.ts.map +1 -0
  1855. package/dist/tools/implementations/GetTerminalOutput.js +97 -0
  1856. package/dist/tools/implementations/GetTerminalOutput.js.map +1 -0
  1857. package/dist/tools/implementations/GitTool.d.ts +70 -0
  1858. package/dist/tools/implementations/GitTool.d.ts.map +1 -0
  1859. package/dist/tools/implementations/GitTool.js +321 -0
  1860. package/dist/tools/implementations/GitTool.js.map +1 -0
  1861. package/dist/tools/implementations/GlobTool.d.ts +16 -0
  1862. package/dist/tools/implementations/GlobTool.d.ts.map +1 -0
  1863. package/dist/tools/implementations/GlobTool.js +85 -0
  1864. package/dist/tools/implementations/GlobTool.js.map +1 -0
  1865. package/dist/tools/implementations/HttpRequestTool.d.ts +33 -0
  1866. package/dist/tools/implementations/HttpRequestTool.d.ts.map +1 -0
  1867. package/dist/tools/implementations/HttpRequestTool.js +197 -0
  1868. package/dist/tools/implementations/HttpRequestTool.js.map +1 -0
  1869. package/dist/tools/implementations/InspectDocxTool.d.ts +14 -0
  1870. package/dist/tools/implementations/InspectDocxTool.d.ts.map +1 -0
  1871. package/dist/tools/implementations/InspectDocxTool.js +78 -0
  1872. package/dist/tools/implementations/InspectDocxTool.js.map +1 -0
  1873. package/dist/tools/implementations/InspectPptxTool.d.ts +14 -0
  1874. package/dist/tools/implementations/InspectPptxTool.d.ts.map +1 -0
  1875. package/dist/tools/implementations/InspectPptxTool.js +81 -0
  1876. package/dist/tools/implementations/InspectPptxTool.js.map +1 -0
  1877. package/dist/tools/implementations/ListDir.d.ts +15 -0
  1878. package/dist/tools/implementations/ListDir.d.ts.map +1 -0
  1879. package/dist/tools/implementations/ListDir.js +156 -0
  1880. package/dist/tools/implementations/ListDir.js.map +1 -0
  1881. package/dist/tools/implementations/LspTool.d.ts +27 -0
  1882. package/dist/tools/implementations/LspTool.d.ts.map +1 -0
  1883. package/dist/tools/implementations/LspTool.js +111 -0
  1884. package/dist/tools/implementations/LspTool.js.map +1 -0
  1885. package/dist/tools/implementations/McpTool.d.ts +41 -0
  1886. package/dist/tools/implementations/McpTool.d.ts.map +1 -0
  1887. package/dist/tools/implementations/McpTool.js +103 -0
  1888. package/dist/tools/implementations/McpTool.js.map +1 -0
  1889. package/dist/tools/implementations/MemoryTool.d.ts +90 -0
  1890. package/dist/tools/implementations/MemoryTool.d.ts.map +1 -0
  1891. package/dist/tools/implementations/MemoryTool.js +167 -0
  1892. package/dist/tools/implementations/MemoryTool.js.map +1 -0
  1893. package/dist/tools/implementations/NodeReplTool.d.ts +20 -0
  1894. package/dist/tools/implementations/NodeReplTool.d.ts.map +1 -0
  1895. package/dist/tools/implementations/NodeReplTool.js +109 -0
  1896. package/dist/tools/implementations/NodeReplTool.js.map +1 -0
  1897. package/dist/tools/implementations/OCRTool.d.ts +33 -0
  1898. package/dist/tools/implementations/OCRTool.d.ts.map +1 -0
  1899. package/dist/tools/implementations/OCRTool.js +253 -0
  1900. package/dist/tools/implementations/OCRTool.js.map +1 -0
  1901. package/dist/tools/implementations/OfficeAssetTool.d.ts +42 -0
  1902. package/dist/tools/implementations/OfficeAssetTool.d.ts.map +1 -0
  1903. package/dist/tools/implementations/OfficeAssetTool.js +210 -0
  1904. package/dist/tools/implementations/OfficeAssetTool.js.map +1 -0
  1905. package/dist/tools/implementations/OfficeOpsTool.d.ts +33 -0
  1906. package/dist/tools/implementations/OfficeOpsTool.d.ts.map +1 -0
  1907. package/dist/tools/implementations/OfficeOpsTool.js +221 -0
  1908. package/dist/tools/implementations/OfficeOpsTool.js.map +1 -0
  1909. package/dist/tools/implementations/OfficeReviewTool.d.ts +75 -0
  1910. package/dist/tools/implementations/OfficeReviewTool.d.ts.map +1 -0
  1911. package/dist/tools/implementations/OfficeReviewTool.js +125 -0
  1912. package/dist/tools/implementations/OfficeReviewTool.js.map +1 -0
  1913. package/dist/tools/implementations/OfficeRuntimeTool.d.ts +40 -0
  1914. package/dist/tools/implementations/OfficeRuntimeTool.d.ts.map +1 -0
  1915. package/dist/tools/implementations/OfficeRuntimeTool.js +266 -0
  1916. package/dist/tools/implementations/OfficeRuntimeTool.js.map +1 -0
  1917. package/dist/tools/implementations/OfficeXmlBuilder.d.ts +226 -0
  1918. package/dist/tools/implementations/OfficeXmlBuilder.d.ts.map +1 -0
  1919. package/dist/tools/implementations/OfficeXmlBuilder.js +560 -0
  1920. package/dist/tools/implementations/OfficeXmlBuilder.js.map +1 -0
  1921. package/dist/tools/implementations/ParallelReadBatchTool.d.ts +21 -0
  1922. package/dist/tools/implementations/ParallelReadBatchTool.d.ts.map +1 -0
  1923. package/dist/tools/implementations/ParallelReadBatchTool.js +90 -0
  1924. package/dist/tools/implementations/ParallelReadBatchTool.js.map +1 -0
  1925. package/dist/tools/implementations/ParseFileTool.d.ts +20 -0
  1926. package/dist/tools/implementations/ParseFileTool.d.ts.map +1 -0
  1927. package/dist/tools/implementations/ParseFileTool.js +59 -0
  1928. package/dist/tools/implementations/ParseFileTool.js.map +1 -0
  1929. package/dist/tools/implementations/PythonExec.d.ts +38 -0
  1930. package/dist/tools/implementations/PythonExec.d.ts.map +1 -0
  1931. package/dist/tools/implementations/PythonExec.js +204 -0
  1932. package/dist/tools/implementations/PythonExec.js.map +1 -0
  1933. package/dist/tools/implementations/PythonExecTool.d.ts +15 -0
  1934. package/dist/tools/implementations/PythonExecTool.d.ts.map +1 -0
  1935. package/dist/tools/implementations/PythonExecTool.js +54 -0
  1936. package/dist/tools/implementations/PythonExecTool.js.map +1 -0
  1937. package/dist/tools/implementations/ReadGraphTool.d.ts +31 -0
  1938. package/dist/tools/implementations/ReadGraphTool.d.ts.map +1 -0
  1939. package/dist/tools/implementations/ReadGraphTool.js +259 -0
  1940. package/dist/tools/implementations/ReadGraphTool.js.map +1 -0
  1941. package/dist/tools/implementations/ScreenshotTool.d.ts +27 -0
  1942. package/dist/tools/implementations/ScreenshotTool.d.ts.map +1 -0
  1943. package/dist/tools/implementations/ScreenshotTool.js +124 -0
  1944. package/dist/tools/implementations/ScreenshotTool.js.map +1 -0
  1945. package/dist/tools/implementations/SendMessageTool.d.ts +21 -0
  1946. package/dist/tools/implementations/SendMessageTool.d.ts.map +1 -0
  1947. package/dist/tools/implementations/SendMessageTool.js +75 -0
  1948. package/dist/tools/implementations/SendMessageTool.js.map +1 -0
  1949. package/dist/tools/implementations/SessionArtifacts.d.ts +22 -0
  1950. package/dist/tools/implementations/SessionArtifacts.d.ts.map +1 -0
  1951. package/dist/tools/implementations/SessionArtifacts.js +141 -0
  1952. package/dist/tools/implementations/SessionArtifacts.js.map +1 -0
  1953. package/dist/tools/implementations/SessionInfoTool.d.ts +10 -0
  1954. package/dist/tools/implementations/SessionInfoTool.d.ts.map +1 -0
  1955. package/dist/tools/implementations/SessionInfoTool.js +38 -0
  1956. package/dist/tools/implementations/SessionInfoTool.js.map +1 -0
  1957. package/dist/tools/implementations/Shell.d.ts +77 -0
  1958. package/dist/tools/implementations/Shell.d.ts.map +1 -0
  1959. package/dist/tools/implementations/Shell.js +772 -0
  1960. package/dist/tools/implementations/Shell.js.map +1 -0
  1961. package/dist/tools/implementations/StructuredPatchTool.d.ts +57 -0
  1962. package/dist/tools/implementations/StructuredPatchTool.d.ts.map +1 -0
  1963. package/dist/tools/implementations/StructuredPatchTool.js +970 -0
  1964. package/dist/tools/implementations/StructuredPatchTool.js.map +1 -0
  1965. package/dist/tools/implementations/SupersedeNodeTool.d.ts +19 -0
  1966. package/dist/tools/implementations/SupersedeNodeTool.d.ts.map +1 -0
  1967. package/dist/tools/implementations/SupersedeNodeTool.js +50 -0
  1968. package/dist/tools/implementations/SupersedeNodeTool.js.map +1 -0
  1969. package/dist/tools/implementations/TeamCreate.d.ts +20 -0
  1970. package/dist/tools/implementations/TeamCreate.d.ts.map +1 -0
  1971. package/dist/tools/implementations/TeamCreate.js +99 -0
  1972. package/dist/tools/implementations/TeamCreate.js.map +1 -0
  1973. package/dist/tools/implementations/TeamDelete.d.ts +11 -0
  1974. package/dist/tools/implementations/TeamDelete.d.ts.map +1 -0
  1975. package/dist/tools/implementations/TeamDelete.js +55 -0
  1976. package/dist/tools/implementations/TeamDelete.js.map +1 -0
  1977. package/dist/tools/implementations/TeamEdit.d.ts +35 -0
  1978. package/dist/tools/implementations/TeamEdit.d.ts.map +1 -0
  1979. package/dist/tools/implementations/TeamEdit.js +254 -0
  1980. package/dist/tools/implementations/TeamEdit.js.map +1 -0
  1981. package/dist/tools/implementations/TeamInboxCheck.d.ts +22 -0
  1982. package/dist/tools/implementations/TeamInboxCheck.d.ts.map +1 -0
  1983. package/dist/tools/implementations/TeamInboxCheck.js +111 -0
  1984. package/dist/tools/implementations/TeamInboxCheck.js.map +1 -0
  1985. package/dist/tools/implementations/TeamInboxTool.d.ts +13 -0
  1986. package/dist/tools/implementations/TeamInboxTool.d.ts.map +1 -0
  1987. package/dist/tools/implementations/TeamInboxTool.js +17 -0
  1988. package/dist/tools/implementations/TeamInboxTool.js.map +1 -0
  1989. package/dist/tools/implementations/TeamListMembers.d.ts +16 -0
  1990. package/dist/tools/implementations/TeamListMembers.d.ts.map +1 -0
  1991. package/dist/tools/implementations/TeamListMembers.js +34 -0
  1992. package/dist/tools/implementations/TeamListMembers.js.map +1 -0
  1993. package/dist/tools/implementations/TeamManageTool.d.ts +33 -0
  1994. package/dist/tools/implementations/TeamManageTool.d.ts.map +1 -0
  1995. package/dist/tools/implementations/TeamManageTool.js +68 -0
  1996. package/dist/tools/implementations/TeamManageTool.js.map +1 -0
  1997. package/dist/tools/implementations/TeamMessageTool.d.ts +94 -0
  1998. package/dist/tools/implementations/TeamMessageTool.d.ts.map +1 -0
  1999. package/dist/tools/implementations/TeamMessageTool.js +89 -0
  2000. package/dist/tools/implementations/TeamMessageTool.js.map +1 -0
  2001. package/dist/tools/implementations/TeamSendMessage.d.ts +57 -0
  2002. package/dist/tools/implementations/TeamSendMessage.d.ts.map +1 -0
  2003. package/dist/tools/implementations/TeamSendMessage.js +290 -0
  2004. package/dist/tools/implementations/TeamSendMessage.js.map +1 -0
  2005. package/dist/tools/implementations/TeamStatus.d.ts +18 -0
  2006. package/dist/tools/implementations/TeamStatus.d.ts.map +1 -0
  2007. package/dist/tools/implementations/TeamStatus.js +106 -0
  2008. package/dist/tools/implementations/TeamStatus.js.map +1 -0
  2009. package/dist/tools/implementations/TeamTaskBoard.d.ts +22 -0
  2010. package/dist/tools/implementations/TeamTaskBoard.d.ts.map +1 -0
  2011. package/dist/tools/implementations/TeamTaskBoard.js +119 -0
  2012. package/dist/tools/implementations/TeamTaskBoard.js.map +1 -0
  2013. package/dist/tools/implementations/TerminalControl.d.ts +27 -0
  2014. package/dist/tools/implementations/TerminalControl.d.ts.map +1 -0
  2015. package/dist/tools/implementations/TerminalControl.js +198 -0
  2016. package/dist/tools/implementations/TerminalControl.js.map +1 -0
  2017. package/dist/tools/implementations/TerminalSessionManager.d.ts +196 -0
  2018. package/dist/tools/implementations/TerminalSessionManager.d.ts.map +1 -0
  2019. package/dist/tools/implementations/TerminalSessionManager.js +525 -0
  2020. package/dist/tools/implementations/TerminalSessionManager.js.map +1 -0
  2021. package/dist/tools/implementations/ToolDiscoveryTool.d.ts +24 -0
  2022. package/dist/tools/implementations/ToolDiscoveryTool.d.ts.map +1 -0
  2023. package/dist/tools/implementations/ToolDiscoveryTool.js +138 -0
  2024. package/dist/tools/implementations/ToolDiscoveryTool.js.map +1 -0
  2025. package/dist/tools/implementations/ToolPreflightTool.d.ts +17 -0
  2026. package/dist/tools/implementations/ToolPreflightTool.d.ts.map +1 -0
  2027. package/dist/tools/implementations/ToolPreflightTool.js +27 -0
  2028. package/dist/tools/implementations/ToolPreflightTool.js.map +1 -0
  2029. package/dist/tools/implementations/TreeSitterSecurityEngine.d.ts +67 -0
  2030. package/dist/tools/implementations/TreeSitterSecurityEngine.d.ts.map +1 -0
  2031. package/dist/tools/implementations/TreeSitterSecurityEngine.js +355 -0
  2032. package/dist/tools/implementations/TreeSitterSecurityEngine.js.map +1 -0
  2033. package/dist/tools/implementations/ValidateOfficeTool.d.ts +33 -0
  2034. package/dist/tools/implementations/ValidateOfficeTool.d.ts.map +1 -0
  2035. package/dist/tools/implementations/ValidateOfficeTool.js +50 -0
  2036. package/dist/tools/implementations/ValidateOfficeTool.js.map +1 -0
  2037. package/dist/tools/implementations/VisualContactSheetTool.d.ts +32 -0
  2038. package/dist/tools/implementations/VisualContactSheetTool.d.ts.map +1 -0
  2039. package/dist/tools/implementations/VisualContactSheetTool.js +234 -0
  2040. package/dist/tools/implementations/VisualContactSheetTool.js.map +1 -0
  2041. package/dist/tools/implementations/WebCommon.d.ts +12 -0
  2042. package/dist/tools/implementations/WebCommon.d.ts.map +1 -0
  2043. package/dist/tools/implementations/WebCommon.js +286 -0
  2044. package/dist/tools/implementations/WebCommon.js.map +1 -0
  2045. package/dist/tools/implementations/WebFetch.d.ts +38 -0
  2046. package/dist/tools/implementations/WebFetch.d.ts.map +1 -0
  2047. package/dist/tools/implementations/WebFetch.js +294 -0
  2048. package/dist/tools/implementations/WebFetch.js.map +1 -0
  2049. package/dist/tools/implementations/WebSearch.d.ts +45 -0
  2050. package/dist/tools/implementations/WebSearch.d.ts.map +1 -0
  2051. package/dist/tools/implementations/WebSearch.js +432 -0
  2052. package/dist/tools/implementations/WebSearch.js.map +1 -0
  2053. package/dist/tools/implementations/WorkNoteTool.d.ts +71 -0
  2054. package/dist/tools/implementations/WorkNoteTool.d.ts.map +1 -0
  2055. package/dist/tools/implementations/WorkNoteTool.js +238 -0
  2056. package/dist/tools/implementations/WorkNoteTool.js.map +1 -0
  2057. package/dist/tools/implementations/WriteFactTool.d.ts +34 -0
  2058. package/dist/tools/implementations/WriteFactTool.d.ts.map +1 -0
  2059. package/dist/tools/implementations/WriteFactTool.js +43 -0
  2060. package/dist/tools/implementations/WriteFactTool.js.map +1 -0
  2061. package/dist/tools/implementations/office/ConditionalFormattingBuilder.d.ts +149 -0
  2062. package/dist/tools/implementations/office/ConditionalFormattingBuilder.d.ts.map +1 -0
  2063. package/dist/tools/implementations/office/ConditionalFormattingBuilder.js +259 -0
  2064. package/dist/tools/implementations/office/ConditionalFormattingBuilder.js.map +1 -0
  2065. package/dist/tools/implementations/office/ExcelWorkbook.d.ts +21 -0
  2066. package/dist/tools/implementations/office/ExcelWorkbook.d.ts.map +1 -0
  2067. package/dist/tools/implementations/office/ExcelWorkbook.js +114 -0
  2068. package/dist/tools/implementations/office/ExcelWorkbook.js.map +1 -0
  2069. package/dist/tools/implementations/office/OfficeAuditLog.d.ts +28 -0
  2070. package/dist/tools/implementations/office/OfficeAuditLog.d.ts.map +1 -0
  2071. package/dist/tools/implementations/office/OfficeAuditLog.js +221 -0
  2072. package/dist/tools/implementations/office/OfficeAuditLog.js.map +1 -0
  2073. package/dist/tools/implementations/office/OfficePdfRenderer.d.ts +33 -0
  2074. package/dist/tools/implementations/office/OfficePdfRenderer.d.ts.map +1 -0
  2075. package/dist/tools/implementations/office/OfficePdfRenderer.js +194 -0
  2076. package/dist/tools/implementations/office/OfficePdfRenderer.js.map +1 -0
  2077. package/dist/tools/implementations/office/OfficePreviewExtractor.d.ts +6 -0
  2078. package/dist/tools/implementations/office/OfficePreviewExtractor.d.ts.map +1 -0
  2079. package/dist/tools/implementations/office/OfficePreviewExtractor.js +493 -0
  2080. package/dist/tools/implementations/office/OfficePreviewExtractor.js.map +1 -0
  2081. package/dist/tools/implementations/office/OfficePreviewModel.d.ts +96 -0
  2082. package/dist/tools/implementations/office/OfficePreviewModel.d.ts.map +1 -0
  2083. package/dist/tools/implementations/office/OfficePreviewModel.js +2 -0
  2084. package/dist/tools/implementations/office/OfficePreviewModel.js.map +1 -0
  2085. package/dist/tools/implementations/office/OfficeReview.d.ts +94 -0
  2086. package/dist/tools/implementations/office/OfficeReview.d.ts.map +1 -0
  2087. package/dist/tools/implementations/office/OfficeReview.js +496 -0
  2088. package/dist/tools/implementations/office/OfficeReview.js.map +1 -0
  2089. package/dist/tools/implementations/office/OfficeRuntime.d.ts +13 -0
  2090. package/dist/tools/implementations/office/OfficeRuntime.d.ts.map +1 -0
  2091. package/dist/tools/implementations/office/OfficeRuntime.js +22 -0
  2092. package/dist/tools/implementations/office/OfficeRuntime.js.map +1 -0
  2093. package/dist/tools/implementations/office/OfficeTemplateRegistry.d.ts +76 -0
  2094. package/dist/tools/implementations/office/OfficeTemplateRegistry.d.ts.map +1 -0
  2095. package/dist/tools/implementations/office/OfficeTemplateRegistry.js +624 -0
  2096. package/dist/tools/implementations/office/OfficeTemplateRegistry.js.map +1 -0
  2097. package/dist/tools/implementations/office/OfficeValidator.d.ts +33 -0
  2098. package/dist/tools/implementations/office/OfficeValidator.d.ts.map +1 -0
  2099. package/dist/tools/implementations/office/OfficeValidator.js +651 -0
  2100. package/dist/tools/implementations/office/OfficeValidator.js.map +1 -0
  2101. package/dist/tools/implementations/office/OoxmlTextReplace.d.ts +12 -0
  2102. package/dist/tools/implementations/office/OoxmlTextReplace.d.ts.map +1 -0
  2103. package/dist/tools/implementations/office/OoxmlTextReplace.js +107 -0
  2104. package/dist/tools/implementations/office/OoxmlTextReplace.js.map +1 -0
  2105. package/dist/tools/implementations/office/XlsxStyleBuilder.d.ts +85 -0
  2106. package/dist/tools/implementations/office/XlsxStyleBuilder.d.ts.map +1 -0
  2107. package/dist/tools/implementations/office/XlsxStyleBuilder.js +156 -0
  2108. package/dist/tools/implementations/office/XlsxStyleBuilder.js.map +1 -0
  2109. package/dist/tools/implementations/office/html/HtmlOfficeEngine.d.ts +53 -0
  2110. package/dist/tools/implementations/office/html/HtmlOfficeEngine.d.ts.map +1 -0
  2111. package/dist/tools/implementations/office/html/HtmlOfficeEngine.js +90 -0
  2112. package/dist/tools/implementations/office/html/HtmlOfficeEngine.js.map +1 -0
  2113. package/dist/tools/implementations/office/html/assemble.d.ts +52 -0
  2114. package/dist/tools/implementations/office/html/assemble.d.ts.map +1 -0
  2115. package/dist/tools/implementations/office/html/assemble.js +183 -0
  2116. package/dist/tools/implementations/office/html/assemble.js.map +1 -0
  2117. package/dist/tools/implementations/office/html/components.d.ts +132 -0
  2118. package/dist/tools/implementations/office/html/components.d.ts.map +1 -0
  2119. package/dist/tools/implementations/office/html/components.js +182 -0
  2120. package/dist/tools/implementations/office/html/components.js.map +1 -0
  2121. package/dist/tools/implementations/office/html/exporters/HtmlToDocx.d.ts +19 -0
  2122. package/dist/tools/implementations/office/html/exporters/HtmlToDocx.d.ts.map +1 -0
  2123. package/dist/tools/implementations/office/html/exporters/HtmlToDocx.js +180 -0
  2124. package/dist/tools/implementations/office/html/exporters/HtmlToDocx.js.map +1 -0
  2125. package/dist/tools/implementations/office/html/exporters/HtmlToPdf.d.ts +38 -0
  2126. package/dist/tools/implementations/office/html/exporters/HtmlToPdf.d.ts.map +1 -0
  2127. package/dist/tools/implementations/office/html/exporters/HtmlToPdf.js +118 -0
  2128. package/dist/tools/implementations/office/html/exporters/HtmlToPdf.js.map +1 -0
  2129. package/dist/tools/implementations/office/html/exporters/HtmlToPptx.d.ts +28 -0
  2130. package/dist/tools/implementations/office/html/exporters/HtmlToPptx.d.ts.map +1 -0
  2131. package/dist/tools/implementations/office/html/exporters/HtmlToPptx.js +79 -0
  2132. package/dist/tools/implementations/office/html/exporters/HtmlToPptx.js.map +1 -0
  2133. package/dist/tools/implementations/office/html/exporters/HtmlToXlsx.d.ts +20 -0
  2134. package/dist/tools/implementations/office/html/exporters/HtmlToXlsx.d.ts.map +1 -0
  2135. package/dist/tools/implementations/office/html/exporters/HtmlToXlsx.js +101 -0
  2136. package/dist/tools/implementations/office/html/exporters/HtmlToXlsx.js.map +1 -0
  2137. package/dist/tools/implementations/office/html/provenance.d.ts +25 -0
  2138. package/dist/tools/implementations/office/html/provenance.d.ts.map +1 -0
  2139. package/dist/tools/implementations/office/html/provenance.js +51 -0
  2140. package/dist/tools/implementations/office/html/provenance.js.map +1 -0
  2141. package/dist/tools/implementations/office/html/themes.d.ts +60 -0
  2142. package/dist/tools/implementations/office/html/themes.d.ts.map +1 -0
  2143. package/dist/tools/implementations/office/html/themes.js +183 -0
  2144. package/dist/tools/implementations/office/html/themes.js.map +1 -0
  2145. package/dist/tools/implementations/rules/RuleLoader.d.ts +27 -0
  2146. package/dist/tools/implementations/rules/RuleLoader.d.ts.map +1 -0
  2147. package/dist/tools/implementations/rules/RuleLoader.js +69 -0
  2148. package/dist/tools/implementations/rules/RuleLoader.js.map +1 -0
  2149. package/dist/tools/implementations/rules/schema.d.ts +236 -0
  2150. package/dist/tools/implementations/rules/schema.d.ts.map +1 -0
  2151. package/dist/tools/implementations/rules/schema.js +119 -0
  2152. package/dist/tools/implementations/rules/schema.js.map +1 -0
  2153. package/dist/tools/implementations/rules/seed.d.ts +18 -0
  2154. package/dist/tools/implementations/rules/seed.d.ts.map +1 -0
  2155. package/dist/tools/implementations/rules/seed.js +252 -0
  2156. package/dist/tools/implementations/rules/seed.js.map +1 -0
  2157. package/dist/tools/implementations/rules/taintFacts.d.ts +26 -0
  2158. package/dist/tools/implementations/rules/taintFacts.d.ts.map +1 -0
  2159. package/dist/tools/implementations/rules/taintFacts.js +48 -0
  2160. package/dist/tools/implementations/rules/taintFacts.js.map +1 -0
  2161. package/dist/tools/implementations/scanners/ScannerAdapter.d.ts +35 -0
  2162. package/dist/tools/implementations/scanners/ScannerAdapter.d.ts.map +1 -0
  2163. package/dist/tools/implementations/scanners/ScannerAdapter.js +2 -0
  2164. package/dist/tools/implementations/scanners/ScannerAdapter.js.map +1 -0
  2165. package/dist/tools/implementations/utils.d.ts +76 -0
  2166. package/dist/tools/implementations/utils.d.ts.map +1 -0
  2167. package/dist/tools/implementations/utils.js +468 -0
  2168. package/dist/tools/implementations/utils.js.map +1 -0
  2169. package/dist/tools/implementations/workflow/WorkflowAddNodeTool.d.ts +128 -0
  2170. package/dist/tools/implementations/workflow/WorkflowAddNodeTool.d.ts.map +1 -0
  2171. package/dist/tools/implementations/workflow/WorkflowAddNodeTool.js +399 -0
  2172. package/dist/tools/implementations/workflow/WorkflowAddNodeTool.js.map +1 -0
  2173. package/dist/tools/implementations/workflow/WorkflowApplyTool.d.ts +98 -0
  2174. package/dist/tools/implementations/workflow/WorkflowApplyTool.d.ts.map +1 -0
  2175. package/dist/tools/implementations/workflow/WorkflowApplyTool.js +329 -0
  2176. package/dist/tools/implementations/workflow/WorkflowApplyTool.js.map +1 -0
  2177. package/dist/tools/implementations/workflow/WorkflowAuditTool.d.ts +12 -0
  2178. package/dist/tools/implementations/workflow/WorkflowAuditTool.d.ts.map +1 -0
  2179. package/dist/tools/implementations/workflow/WorkflowAuditTool.js +51 -0
  2180. package/dist/tools/implementations/workflow/WorkflowAuditTool.js.map +1 -0
  2181. package/dist/tools/implementations/workflow/WorkflowConnectTool.d.ts +21 -0
  2182. package/dist/tools/implementations/workflow/WorkflowConnectTool.d.ts.map +1 -0
  2183. package/dist/tools/implementations/workflow/WorkflowConnectTool.js +175 -0
  2184. package/dist/tools/implementations/workflow/WorkflowConnectTool.js.map +1 -0
  2185. package/dist/tools/implementations/workflow/WorkflowCreateTool.d.ts +17 -0
  2186. package/dist/tools/implementations/workflow/WorkflowCreateTool.d.ts.map +1 -0
  2187. package/dist/tools/implementations/workflow/WorkflowCreateTool.js +78 -0
  2188. package/dist/tools/implementations/workflow/WorkflowCreateTool.js.map +1 -0
  2189. package/dist/tools/implementations/workflow/WorkflowExecuteTool.d.ts +20 -0
  2190. package/dist/tools/implementations/workflow/WorkflowExecuteTool.d.ts.map +1 -0
  2191. package/dist/tools/implementations/workflow/WorkflowExecuteTool.js +178 -0
  2192. package/dist/tools/implementations/workflow/WorkflowExecuteTool.js.map +1 -0
  2193. package/dist/tools/implementations/workflow/WorkflowGetStatusTool.d.ts +12 -0
  2194. package/dist/tools/implementations/workflow/WorkflowGetStatusTool.d.ts.map +1 -0
  2195. package/dist/tools/implementations/workflow/WorkflowGetStatusTool.js +87 -0
  2196. package/dist/tools/implementations/workflow/WorkflowGetStatusTool.js.map +1 -0
  2197. package/dist/tools/implementations/workflow/WorkflowInspectTool.d.ts +11 -0
  2198. package/dist/tools/implementations/workflow/WorkflowInspectTool.d.ts.map +1 -0
  2199. package/dist/tools/implementations/workflow/WorkflowInspectTool.js +186 -0
  2200. package/dist/tools/implementations/workflow/WorkflowInspectTool.js.map +1 -0
  2201. package/dist/tools/implementations/workflow/WorkflowSchemaUtils.d.ts +49 -0
  2202. package/dist/tools/implementations/workflow/WorkflowSchemaUtils.d.ts.map +1 -0
  2203. package/dist/tools/implementations/workflow/WorkflowSchemaUtils.js +186 -0
  2204. package/dist/tools/implementations/workflow/WorkflowSchemaUtils.js.map +1 -0
  2205. package/dist/tools/implementations/workflow/WorkflowTool.d.ts +129 -0
  2206. package/dist/tools/implementations/workflow/WorkflowTool.d.ts.map +1 -0
  2207. package/dist/tools/implementations/workflow/WorkflowTool.js +141 -0
  2208. package/dist/tools/implementations/workflow/WorkflowTool.js.map +1 -0
  2209. package/dist/tools/implementations/workflow/WorkflowValidateTool.d.ts +11 -0
  2210. package/dist/tools/implementations/workflow/WorkflowValidateTool.d.ts.map +1 -0
  2211. package/dist/tools/implementations/workflow/WorkflowValidateTool.js +238 -0
  2212. package/dist/tools/implementations/workflow/WorkflowValidateTool.js.map +1 -0
  2213. package/dist/tools/index.d.ts +49 -0
  2214. package/dist/tools/index.d.ts.map +1 -0
  2215. package/dist/tools/index.js +364 -0
  2216. package/dist/tools/index.js.map +1 -0
  2217. package/dist/tools/officeToolContract.d.ts +2 -0
  2218. package/dist/tools/officeToolContract.d.ts.map +1 -0
  2219. package/dist/tools/officeToolContract.js +2 -0
  2220. package/dist/tools/officeToolContract.js.map +1 -0
  2221. package/dist/tools/slidev/SlidevExporter.d.ts +15 -0
  2222. package/dist/tools/slidev/SlidevExporter.d.ts.map +1 -0
  2223. package/dist/tools/slidev/SlidevExporter.js +112 -0
  2224. package/dist/tools/slidev/SlidevExporter.js.map +1 -0
  2225. package/dist/tools/slidev/SlidevProjectBuilder.d.ts +22 -0
  2226. package/dist/tools/slidev/SlidevProjectBuilder.d.ts.map +1 -0
  2227. package/dist/tools/slidev/SlidevProjectBuilder.js +139 -0
  2228. package/dist/tools/slidev/SlidevProjectBuilder.js.map +1 -0
  2229. package/dist/types/canonical.d.ts +124 -0
  2230. package/dist/types/canonical.d.ts.map +1 -0
  2231. package/dist/types/canonical.js +8 -0
  2232. package/dist/types/canonical.js.map +1 -0
  2233. package/dist/utils/SmartTruncator.d.ts +22 -0
  2234. package/dist/utils/SmartTruncator.d.ts.map +1 -0
  2235. package/dist/utils/SmartTruncator.js +88 -0
  2236. package/dist/utils/SmartTruncator.js.map +1 -0
  2237. package/dist/utils/getPty.d.ts +42 -0
  2238. package/dist/utils/getPty.d.ts.map +1 -0
  2239. package/dist/utils/getPty.js +57 -0
  2240. package/dist/utils/getPty.js.map +1 -0
  2241. package/dist/utils/platform.d.ts +137 -0
  2242. package/dist/utils/platform.d.ts.map +1 -0
  2243. package/dist/utils/platform.js +374 -0
  2244. package/dist/utils/platform.js.map +1 -0
  2245. package/dist/utils/sleep.d.ts +8 -0
  2246. package/dist/utils/sleep.d.ts.map +1 -0
  2247. package/dist/utils/sleep.js +10 -0
  2248. package/dist/utils/sleep.js.map +1 -0
  2249. package/dist/utils/textTable.d.ts +27 -0
  2250. package/dist/utils/textTable.d.ts.map +1 -0
  2251. package/dist/utils/textTable.js +55 -0
  2252. package/dist/utils/textTable.js.map +1 -0
  2253. package/dist/version.d.ts +12 -0
  2254. package/dist/version.d.ts.map +1 -0
  2255. package/dist/version.js +42 -0
  2256. package/dist/version.js.map +1 -0
  2257. package/dist/web-server/FileChangesApi.d.ts +131 -0
  2258. package/dist/web-server/FileChangesApi.d.ts.map +1 -0
  2259. package/dist/web-server/FileChangesApi.js +552 -0
  2260. package/dist/web-server/FileChangesApi.js.map +1 -0
  2261. package/dist/web-server/GitEnv.d.ts +6 -0
  2262. package/dist/web-server/GitEnv.d.ts.map +1 -0
  2263. package/dist/web-server/GitEnv.js +6 -0
  2264. package/dist/web-server/GitEnv.js.map +1 -0
  2265. package/dist/web-server/GitService.d.ts +151 -0
  2266. package/dist/web-server/GitService.d.ts.map +1 -0
  2267. package/dist/web-server/GitService.js +1172 -0
  2268. package/dist/web-server/GitService.js.map +1 -0
  2269. package/dist/web-server/LocalLlmGatewayRoutes.d.ts +45 -0
  2270. package/dist/web-server/LocalLlmGatewayRoutes.d.ts.map +1 -0
  2271. package/dist/web-server/LocalLlmGatewayRoutes.js +812 -0
  2272. package/dist/web-server/LocalLlmGatewayRoutes.js.map +1 -0
  2273. package/package.json +114 -0
@@ -0,0 +1,1070 @@
1
+ /**
2
+ * Leader 元工具 schema 定义。
3
+ *
4
+ * 历史上整段挂在 LeaderAgent.ts 文件首部约 750 行,与运行时类纠缠在一起;
5
+ * 这里抽出来作为纯数据模块,零状态依赖。消费者直接从本模块导入这些常量。
6
+ *
7
+ * 模块只描述工具的 OpenAI/Anthropic function 协议;具体执行逻辑分散在:
8
+ * - LeaderToolsExecutor(带 Leader 状态副作用)
9
+ * - BughuntLedger(ledger 元工具)
10
+ * - ToolRegistry(普通 Tool,包括下放的 bughunt scan / team_manage 等)
11
+ */
12
+ export { OFFICE_TOOL_NAMES } from './toolNames.js';
13
+ // ─── BugHunt 模式专用元工具(仍走 LeaderToolsExecutor) ───
14
+ //
15
+ // 注:4 个 bughunt scan 工具已下放为普通 Tool(src/tools/implementations/
16
+ // BughuntScanToolWrappers.ts),通过 directToolsExecutor → ToolRegistry 调用,
17
+ // BUGHUNT_TOOL_NAMES 仅保留 ledger 类元工具;BUGHUNT_MODE_TOOL_NAMES 是 UI/状态接口的完整集合。
18
+ export const BUGHUNT_TOOLS = [
19
+ {
20
+ type: 'function',
21
+ function: {
22
+ name: 'set_bughunt_dag',
23
+ description: 'Bughunt 模式专用:建立/修订调查调度核心 DAG。节点 evidence_gate 是硬门控(结构化:finding_status/event_present/artifact_present/all),blocked_by 决定拓扑序。写入后反馈就绪候选;就绪节点须经 get_ready_dag_nodes 查询、再由你 dispatch_agent 派发(不自动派发)。',
24
+ parameters: {
25
+ type: 'object',
26
+ properties: {
27
+ target: { type: 'string', description: '本次 Bughunt 的目标范围' },
28
+ nodes: {
29
+ type: 'array',
30
+ items: {
31
+ type: 'object',
32
+ properties: {
33
+ id: { type: 'string', description: 'DAG 节点 ID' },
34
+ phase: { type: 'string', enum: ['surface_map', 'finding_triage', 'repro_instrument', 'blackbox_verify', 'fix', 'review_close'], description: '调查阶段' },
35
+ role: { type: 'string', description: '节点角色(如 research/coding/verify)' },
36
+ objective: { type: 'string', description: '节点目标描述' },
37
+ read_scope: { type: 'array', items: { type: 'string' }, description: '只读范围' },
38
+ write_scope: { type: 'array', items: { type: 'string' }, description: '写入范围' },
39
+ blocked_by: { type: 'array', items: { type: 'string' }, description: '依赖的节点 ID 列表' },
40
+ evidence_gate: {
41
+ description: '结构化硬门控。object 形态:{kind:"finding_status",findingId,status} | {kind:"event_present",eventKind:"compile|blackbox_probe|..."} | {kind:"artifact_present",field:"repro_artifact|whitebox_artifacts|compile_artifacts|blackbox_artifacts"} | {kind:"all",gates:[...]};字符串或留空=无门(向后兼容)。',
42
+ },
43
+ expected_artifact: { type: 'string', description: '预期产物路径' },
44
+ task_id: { type: 'string', description: '关联的任务 ID' },
45
+ status: { type: 'string', enum: ['planned', 'dispatched', 'completed', 'blocked'], description: '节点状态' },
46
+ },
47
+ required: ['id', 'phase', 'role', 'objective'],
48
+ },
49
+ },
50
+ },
51
+ required: ['nodes'],
52
+ },
53
+ },
54
+ },
55
+ {
56
+ type: 'function',
57
+ function: {
58
+ name: 'get_ready_dag_nodes',
59
+ description: 'Bughunt 模式专用:返回就绪可派发的 DAG 节点候选(拓扑序 + blocked_by 全 completed + evidence_gate 硬门控通过)。仅提供候选,不自动 dispatch——派发经 create_task + dispatch_agent 由你决策。brief 已附 ready_dag_nodes 摘要。',
60
+ parameters: {
61
+ type: 'object',
62
+ properties: {},
63
+ },
64
+ },
65
+ },
66
+ {
67
+ type: 'function',
68
+ function: {
69
+ name: 'verify_finding',
70
+ description: 'Bughunt 模式专用:对 finding 跑真实执行验证。compile 层(必,跑 compile_commands 如 tsc --noEmit/npm test/build,捕获 exit_code)+ 可选 blackbox 层(起目标服务 + HTTP probe,需 authorize_blackbox=true,默认关闭)。产物回写 compile_artifacts/blackbox_artifacts,verified 门认真实执行产物(非 LLM 手填)。',
71
+ parameters: {
72
+ type: 'object',
73
+ properties: {
74
+ finding_id: { type: 'string', description: '要验证的 finding ID' },
75
+ compile_commands: {
76
+ type: 'array',
77
+ items: {
78
+ type: 'object',
79
+ properties: {
80
+ command: { type: 'string', description: '编译/测试命令' },
81
+ args: { type: 'array', items: { type: 'string' }, description: '命令参数' },
82
+ cwd: { type: 'string', description: '执行目录(worktree/workspace 内)' },
83
+ },
84
+ required: ['command', 'cwd'],
85
+ },
86
+ },
87
+ authorize_blackbox: { type: 'boolean', description: '显式授权 blackbox 层(起服务+联网 probe,默认关闭)' },
88
+ blackbox_probe: {
89
+ type: 'object',
90
+ properties: {
91
+ cwd: { type: 'string', description: '服务启动目录' },
92
+ start_command: { type: 'string', description: '服务启动命令' },
93
+ start_args: { type: 'array', items: { type: 'string' }, description: '启动参数' },
94
+ health_path: { type: 'string', description: '健康检查路径(如 /health)' },
95
+ request_path: { type: 'string', description: '探测请求路径' },
96
+ expected_status: { type: 'number', description: '期望 HTTP 状态码' },
97
+ },
98
+ required: ['cwd', 'start_command'],
99
+ },
100
+ },
101
+ required: ['finding_id', 'compile_commands'],
102
+ },
103
+ },
104
+ },
105
+ {
106
+ type: 'function',
107
+ function: {
108
+ name: 'upsert_bughunt_finding',
109
+ description: 'Bughunt 模式专用:新增或更新 finding ledger。扫描只能写 hypothesis/likely;confirmed 必须补 source/sink、taint_path 或 whitebox/repro 证据;verified 必须补 compile/test 信号和 blackbox_commands 输出证据。',
110
+ parameters: {
111
+ type: 'object',
112
+ properties: {
113
+ finding: {
114
+ type: 'object',
115
+ properties: {
116
+ id: { type: 'string', description: 'finding ID' },
117
+ title: { type: 'string', description: 'finding 标题' },
118
+ severity: { type: 'string', enum: ['CRITICAL', 'HIGH', 'MEDIUM', 'LOW', 'INFO'], description: '严重程度' },
119
+ status: { type: 'string', enum: ['hypothesis', 'likely', 'confirmed', 'fixed', 'verified', 'closed', 'false_positive', 'blocked'], description: 'finding 状态' },
120
+ files: { type: 'array', items: { type: 'string' }, description: '相关文件列表' },
121
+ cwe: { type: 'string', description: 'CWE 编号,例如 CWE-78/CWE-89' },
122
+ owasp: { type: 'string', description: 'OWASP 分类,例如 A03:2021' },
123
+ cvss: { type: 'string', description: 'CVSS 向量或评分' },
124
+ attack_vector: { type: 'string', description: '攻击入口,例如 HTTP route、CLI arg、env、file upload、dependency install' },
125
+ trust_boundary: { type: 'string', description: '跨越的信任边界/权限边界' },
126
+ source: { type: 'string', description: '不可信输入源,例如 req.query.path' },
127
+ sink: { type: 'string', description: '危险汇点,例如 exec、raw SQL、readFile、innerHTML' },
128
+ taint_path: { type: 'array', items: { type: 'string' }, description: 'source 到 sink 的关键调用链/数据流节点' },
129
+ preconditions: { type: 'array', items: { type: 'string' }, description: '触发该漏洞需要满足的前置条件' },
130
+ payloads: { type: 'array', items: { type: 'string' }, description: '最小 payload 或攻击输入样例;使用脱敏占位符表示外部凭证' },
131
+ trigger: { type: 'string', description: '触发条件' },
132
+ impact: { type: 'string', description: '影响描述' },
133
+ exploitability: { type: 'string', enum: ['proven', 'probable', 'possible', 'unknown', 'not_exploitable'] },
134
+ blast_radius: { type: 'string', description: '影响范围、权限提升范围、数据暴露范围' },
135
+ evidence: { type: 'array', items: { type: 'string' }, description: '证据列表' },
136
+ evidence_gap: { type: 'array', items: { type: 'string' }, description: '证据缺口' },
137
+ repro_artifact: { type: 'string', description: '复现产物路径' },
138
+ whitebox_artifacts: { type: 'array', items: { type: 'string' }, description: '源码审计/调用链/断言/最小复现产物路径或摘要' },
139
+ instrumentation_artifacts: { type: 'array', items: { type: 'string' }, description: '插桩、trace、probe、临时测试脚手架产物' },
140
+ compile_commands: { type: 'array', items: { type: 'string' }, description: '编译/类型检查/测试命令' },
141
+ compile_artifacts: { type: 'array', items: { type: 'string' }, description: '编译/测试输出、日志或证据包路径' },
142
+ fix_files: { type: 'array', items: { type: 'string' }, description: '修复涉及的文件' },
143
+ blackbox_commands: { type: 'array', items: { type: 'string' }, description: '黑盒验证命令' },
144
+ blackbox_artifacts: { type: 'array', items: { type: 'string' }, description: 'HTTP/CLI 外部验证输出、日志或证据包路径' },
145
+ close_reason: { type: 'string', description: '关闭原因' },
146
+ false_positive_reason: { type: 'string', description: '误报理由' },
147
+ residual_risk: { type: 'string', description: '残余风险' },
148
+ linked_tasks: { type: 'array', items: { type: 'string' }, description: '关联任务 ID 列表' },
149
+ },
150
+ required: ['id', 'title', 'severity', 'status'],
151
+ },
152
+ },
153
+ required: ['finding'],
154
+ },
155
+ },
156
+ },
157
+ {
158
+ type: 'function',
159
+ function: {
160
+ name: 'get_bughunt_ledger',
161
+ description: 'Bughunt 模式专用:读取 Bughunt ledger。scope=brief(默认)返回 DAG/finding 态势概览;scope=open 返回未关闭 finding 聚焦列表(可按 severity 过滤);scope=finding 按 finding_id 返回单个 finding 的完整证据包。',
162
+ parameters: {
163
+ type: 'object',
164
+ properties: {
165
+ scope: {
166
+ type: 'string',
167
+ enum: ['brief', 'open', 'finding'],
168
+ description: '读取视图:brief=态势概览(默认);open=未关闭 finding 列表;finding=单个 finding 完整证据包',
169
+ },
170
+ severity: { type: 'string', enum: ['CRITICAL', 'HIGH', 'MEDIUM', 'LOW', 'INFO'], description: '仅 scope=open 有效:只返回指定严重度的未关闭 finding。' },
171
+ finding_id: { type: 'string', description: '仅 scope=finding 有效且必填:Finding ID,例如 F-1' },
172
+ },
173
+ required: [],
174
+ },
175
+ },
176
+ },
177
+ ];
178
+ export { BUGHUNT_TOOL_NAMES, BUGHUNT_SCAN_TOOL_NAMES, BUGHUNT_MODE_TOOL_NAMES, } from './toolNames.js';
179
+ export { WORKFLOW_TOOL_NAMES } from './toolNames.js';
180
+ const CONTRACT_SCHEMA = {
181
+ type: 'object',
182
+ description: '可选。强校验契约模板:必须包含 surface/title/content;version 如提供必须为正整数。criteria 可写验收项。最小合法形态:{surface,title,content,version?,criteria?};不要只传 criteria。',
183
+ properties: {
184
+ surface: { type: 'string', minLength: 1, description: '稳定契约 surface,如 "POST /api/login" 或 "chat.message.api"' },
185
+ title: { type: 'string', minLength: 1, description: '契约标题' },
186
+ content: { type: 'string', minLength: 1, description: '契约正文:字段、行为、边界、验收口径' },
187
+ version: { type: 'integer', minimum: 1, description: '正整数版本号,省略时默认 v1' },
188
+ criteria: { type: 'array', items: { type: 'string', minLength: 1 }, description: '验收项列表' },
189
+ },
190
+ required: ['surface', 'title', 'content'],
191
+ additionalProperties: false,
192
+ };
193
+ const EVALUATION_POLICY_SCHEMA = {
194
+ type: 'object',
195
+ description: '可选。结构化评估策略;定义验收门槛、必须证据和修复上限。',
196
+ properties: {
197
+ required_evidence: { type: 'array', items: { type: 'string', minLength: 1 }, description: '必须产出的证据清单,例如外部来源、API 测试结果、定向测试命令。' },
198
+ critical_gates: { type: 'array', items: { type: 'string', minLength: 1 }, description: '关键验收 gate 清单;任一失败则任务不应完成。' },
199
+ max_repair: { type: 'integer', minimum: 0, description: '最多允许修复轮数,非负整数。' },
200
+ evaluator_role: { type: 'string', minLength: 1, description: '可选。评估/验收角色。' },
201
+ },
202
+ additionalProperties: false,
203
+ };
204
+ // ─── Leader 元工具:带 Leader 状态副作用,由 LeaderToolsExecutor 直接处理 ───
205
+ export const LEADER_META_TOOLS = [
206
+ {
207
+ type: 'function',
208
+ function: {
209
+ name: 'record_capability_intent',
210
+ description: '【每用户 turn 最多一次·意图记录非权限开关】记录当前用户 turn 的 capability intent profile。这是意图记录(给后续 Agent / 审计看的),不是权限开关;真正能不能调用由运行时权限系统决定。primaryIntent 只是摘要,grants/denies/requiredGates/constraints 才是 gate 依据。若工具结果提示本轮已记录,必须停止再次调用并直接继续执行用户请求。',
211
+ parameters: {
212
+ type: 'object',
213
+ properties: {
214
+ primaryIntent: { type: 'string', enum: ['diagnose', 'explain', 'plan', 'implement', 'fix', 'refactor', 'verify', 'operate', 'research'], description: '用户最终目标摘要,不是权限边界。' },
215
+ scope: {
216
+ type: 'object',
217
+ properties: {
218
+ kind: { type: 'string', enum: ['read_only', 'workspace', 'selected_paths', 'project', 'system', 'external'] },
219
+ paths: { type: 'array', items: { type: 'string' } },
220
+ surfaces: { type: 'array', items: { type: 'string' } },
221
+ taskIds: { type: 'array', items: { type: 'string' } },
222
+ subsystemIds: { type: 'array', items: { type: 'string' } },
223
+ externalTargets: { type: 'array', items: { type: 'string' } },
224
+ },
225
+ required: ['kind'],
226
+ additionalProperties: false,
227
+ },
228
+ phase: { type: 'string', enum: ['understand', 'design', 'prepare', 'execute', 'verify', 'finalize', 'recover'], description: '当前执行阶段。' },
229
+ grants: { type: 'array', items: { type: 'string', enum: ['read', 'write', 'shell', 'task', 'dispatch'] }, description: '用户本轮授予的五类粗能力:read=读/搜索/分析/计划;write=写 workspace 文件;shell=命令/git/npm/test/deploy/python/terminal;task=创建/更新任务图;dispatch=派发 worker/agent。' },
230
+ denies: { type: 'array', items: { type: 'string', enum: ['read', 'write', 'shell', 'task', 'dispatch'] }, description: '用户本轮禁止的五类粗能力;deny 优先于 grant。不要传 no_* 细枚举;所有命令类统一归 shell,派 worker 归 dispatch。' },
231
+ requiredGates: { type: 'array', items: { type: 'string', enum: ['confirm_before_write', 'confirm_before_command', 'confirm_before_dispatch', 'confirm_before_workflow_apply', 'confirm_before_scope_expansion', 'confirm_before_network', 'confirm_before_git', 'confirm_before_permission_change', 'blueprint_coverage', 'read_before_write', 'verify_after_change'] }, description: '即使具备 grant 也必须先经过的确认/结构化 gate。' },
232
+ constraints: {
233
+ type: 'object',
234
+ properties: {
235
+ maxRisk: { type: 'string', enum: ['low', 'medium', 'high', 'critical'] },
236
+ allowedTools: { type: 'array', items: { type: 'string' } },
237
+ deniedTools: { type: 'array', items: { type: 'string' } },
238
+ allowedPaths: { type: 'array', items: { type: 'string' } },
239
+ deniedPaths: { type: 'array', items: { type: 'string' } },
240
+ commandAllowlist: { type: 'array', items: { type: 'string' } },
241
+ commandDenylist: { type: 'array', items: { type: 'string' } },
242
+ mustStayWithinBlueprint: { type: 'boolean' },
243
+ requireEvidence: { type: 'boolean' },
244
+ },
245
+ additionalProperties: false,
246
+ },
247
+ confidence: { type: 'number', description: '置信度 0..1。' },
248
+ reason: { type: 'string', description: '一句话说明判断依据,用户限制必须同时结构化写入 denies/constraints。' },
249
+ },
250
+ required: ['primaryIntent', 'scope', 'phase', 'grants', 'denies', 'requiredGates', 'constraints', 'confidence', 'reason'],
251
+ additionalProperties: false,
252
+ },
253
+ },
254
+ },
255
+ {
256
+ type: 'function',
257
+ function: {
258
+ name: 'spawn_worker',
259
+ description: '一步到位派发临时 worker:创建任务 + 派发 + 等待完成,结果异步回流。适用于需要隔离上下文执行的子任务,替代 create_task + dispatch_agent 两步操作。Worker 完成后结果自动回流到 Leader 上下文。',
260
+ parameters: {
261
+ type: 'object',
262
+ properties: {
263
+ goal: {
264
+ type: 'string',
265
+ description: '任务目标:具体写清要做什么、验收标准。',
266
+ },
267
+ scope: {
268
+ type: 'string',
269
+ description: '可选。工作范围(目录/模块),限定 worker 的写入范围。',
270
+ },
271
+ role: {
272
+ type: 'string',
273
+ description: '可选。Worker 角色类型,默认 fullstack。',
274
+ },
275
+ context: {
276
+ type: 'string',
277
+ description: '可选。背景知识包,给 worker 的额外上下文。',
278
+ },
279
+ },
280
+ required: ['goal'],
281
+ },
282
+ },
283
+ }, {
284
+ type: 'function',
285
+ function: {
286
+ name: 'create_task',
287
+ description: '创建任务并加入任务板。派发由 dispatch_agent 执行。DAG 依赖用 blocked_by。多任务并行须 write_scope 两两正交。新建角色附带 role_definition 一步完成。',
288
+ parameters: {
289
+ type: 'object',
290
+ properties: {
291
+ subject: { type: 'string', description: '任务标题(祈使句)' },
292
+ description: { type: 'string', description: '任务的详细执行目标:具体写清用户意图、范围、关键文件、实现目标和验收标准。' },
293
+ context: {
294
+ type: 'string',
295
+ description: '【强烈建议填写】Worker 启动时的背景知识包:用户原始需求摘要、已知的关键文件/路径/技术栈、前置调研结论、验收标准。越具体 Worker 越少走弯路。',
296
+ },
297
+ agent_type: { type: 'string', description: '角色类型:预设角色或自定义角色名,由 Leader 按任务契约选择(建议显式提供)。容错:未注册的变体名/缩写按名字归约到规范角色(fe→frontend, be→backend, ui→ux_designer...),归约不到回落 fullstack;完全省略也回落 fullstack。要新建专用角色请改用 role_definition。' },
298
+ role_definition: {
299
+ type: 'object',
300
+ description: '可选。当 agent_type 尚不存在时,可在创建任务时直接附带角色定义,一次调用完成"创建角色 + 创建任务"。',
301
+ properties: {
302
+ role_name: { type: 'string', description: '角色名称;通常与 agent_type 一致。若省略,创建的角色使用 agent_type。' },
303
+ base_role: { type: 'string', description: '可选。基于预设角色增强时的基线,可填 research/coding/verify/review/frontend/backend/fullstack/qa/ux_designer/planner/evaluator/architect 或其短形(fe/be/ui...),系统按名字归约。' },
304
+ role_description: { type: 'string', description: '角色职责描述' },
305
+ system_prompt: { type: 'string', description: '该角色的系统提示词,定义其行为和能力' },
306
+ tools: {
307
+ type: 'array',
308
+ items: { type: 'string' },
309
+ description: '该角色请求使用的工具列表',
310
+ },
311
+ skill_names: {
312
+ type: 'array',
313
+ items: { type: 'string' },
314
+ description: '显式指定的技能列表。Leader 必须从当前 skills 摘要中按任务契约选择,系统只校验存在性并注入',
315
+ },
316
+ },
317
+ required: ['role_description', 'system_prompt', 'tools'],
318
+ },
319
+ blocked_by: {
320
+ type: 'array',
321
+ items: { type: 'string' },
322
+ description: '依赖的任务ID列表。修改相同文件的任务必须串行化,如 ["T-1"]',
323
+ },
324
+ working_directory: {
325
+ type: 'string',
326
+ description: '可选。该任务默认工作的目录,必须位于当前 workspace 内。',
327
+ },
328
+ write_scope: {
329
+ type: 'array',
330
+ items: { type: 'string' },
331
+ description: '可选。该任务允许写入的目录或文件根路径列表,必须位于当前 workspace 内。',
332
+ },
333
+ preferred_agent_name: {
334
+ type: 'string',
335
+ description: '可选。未来 dispatch_agent 的 agent_name 提示。',
336
+ },
337
+ },
338
+ required: ['subject', 'description'],
339
+ },
340
+ },
341
+ },
342
+ {
343
+ type: 'function',
344
+ function: {
345
+ name: 'define_project_blueprint',
346
+ description: '【高级/内部】定义项目蓝图子系统清单。大多数情况不需要调用——Leader 直接按用户需求建任务即可。仅当用户明确要求蓝图规划或需要子系统跟踪时使用。',
347
+ parameters: {
348
+ type: 'object',
349
+ properties: {
350
+ subsystems: {
351
+ type: 'array',
352
+ minItems: 1,
353
+ description: '本项目全部子系统清单。每个子系统的 id/名称/范围由你自定义;不在此列出的子系统不在本项目范围内。⚠ 硬约束:当 implement 状态的子系统 ≥ 3 个时,必须额外包含一个集成验证子系统(其 subsystem_id 包含 integration-verify 或 integ-verify,如 {subsystem_id:"integration-verify", name:"集成验证", description:"端到端集成测试与冒烟验证", status:"implement", agent_type:"verify"}),否则蓝图校验会直接报错。建议该子系统 depends_on 设为所有其它 implement 子系统。',
354
+ items: {
355
+ type: 'object',
356
+ properties: {
357
+ subsystem_id: { type: 'string', description: '子系统稳定标识(用作 create_task.subsystem 取值),如 auth/config/api-surface 或你自定义的 slug。全清单内唯一、非空。' },
358
+ name: { type: 'string', description: '子系统中文名(必填),如「认证登录」。' },
359
+ description: { type: 'string', description: '该子系统涵盖范围(必填),如「注册/登录/会话/token 刷新」。' },
360
+ status: { type: 'string', enum: ['implement', 'defer', 'not_applicable'], description: '该子系统的处置,默认 implement。' },
361
+ rationale: { type: 'string', description: 'defer/not_applicable 时必填:为何不做/何时补做;implement 可省略。' },
362
+ agent_type: { type: 'string', description: '可选。该子系统的实现角色(如 backend/frontend/fullstack/verify)。' },
363
+ depends_on: {
364
+ type: 'array',
365
+ items: { type: 'string' },
366
+ description: '可选。该子系统依赖的其它 subsystem_id(必须在本 subsystems 清单内,且整体无环)。系统据此算「可推进子系统」提示按依赖顺序建/派任务;不阻断 dispatch。',
367
+ },
368
+ },
369
+ required: ['subsystem_id', 'name', 'description'],
370
+ additionalProperties: false,
371
+ },
372
+ },
373
+ notes: { type: 'string', description: '可选。蓝图备注(整体取舍/约束)。' },
374
+ },
375
+ required: ['subsystems'],
376
+ },
377
+ },
378
+ },
379
+ {
380
+ type: 'function',
381
+ function: {
382
+ name: 'update_task',
383
+ description: '编辑尚未派发的任务定义,用于修正 Leader 建错的 DAG 节点(标题、描述、角色、依赖、上下文、工作目录/写入范围、预绑定成员),也可补充或修改 contractBinding / evaluation_policy。适用于未分配 Agent 且仍为 dispatchable 的任务;running/terminal 任务通过新任务或重派流程处理。agent_type 同 create_task 支持变体名/缩写归约(fe→frontend 等)与 fullstack 回落。',
384
+ parameters: {
385
+ type: 'object',
386
+ properties: {
387
+ task_id: { type: 'string', description: '要编辑的任务 ID,如 T-3' },
388
+ subject: { type: 'string', description: '可选,新任务标题' },
389
+ description: { type: 'string', description: '可选,新任务描述;必须具体说明目标和验收标准' },
390
+ context: { type: 'string', description: '可选,新任务上下文' },
391
+ agent_type: { type: 'string', description: '可选,新角色类型;未注册的变体名/缩写按名字归约到规范角色(fe→frontend 等),归约不到回落 fullstack。' },
392
+ blocked_by: { type: 'array', items: { type: 'string' }, description: '可选,完整替换依赖任务 ID 列表' },
393
+ working_directory: { type: 'string', description: '可选,新工作目录' },
394
+ write_scope: { type: 'array', items: { type: 'string' }, description: '可选,完整替换写入范围' },
395
+ },
396
+ required: ['task_id'],
397
+ },
398
+ },
399
+ },
400
+ {
401
+ type: 'function',
402
+ function: {
403
+ name: 'delete_task',
404
+ description: '删除尚未派发的错误任务节点,并自动从下游任务的 blocked_by 中移除该依赖,保持 DAG 一致。适用于未分配 Agent 且仍为 dispatchable 的任务;running/terminal 任务通过取消、修复或新任务处理。',
405
+ parameters: {
406
+ type: 'object',
407
+ properties: {
408
+ task_id: { type: 'string', description: '要删除的任务 ID,如 T-3' },
409
+ reason: { type: 'string', description: '可选,删除原因' },
410
+ },
411
+ required: ['task_id'],
412
+ },
413
+ },
414
+ },
415
+ {
416
+ type: 'function',
417
+ function: {
418
+ name: 'define_agent_role',
419
+ description: '动态定义一个新的 Agent 角色。当预设角色覆盖不了任务职责时,创建自定义角色并声明职责、工具和 skills。也可由 create_task 附带 role_definition 一步完成。base_role 支持变体名/缩写归约(fe→frontend, be→backend 等)。',
420
+ parameters: {
421
+ type: 'object',
422
+ properties: {
423
+ role_name: { type: 'string', description: '角色名称,如 "security_auditor", "data_analyst"' },
424
+ base_role: {
425
+ type: 'string',
426
+ description: '可选。基于预设角色增强时的基线,可填 research/coding/verify/review/frontend/backend/fullstack/qa/ux_designer/planner/evaluator/architect 或其短形(fe/be/ui...),系统按名字归约;省略则按纯自定义角色处理。',
427
+ },
428
+ role_description: { type: 'string', description: '角色职责描述' },
429
+ system_prompt: { type: 'string', description: '该角色的系统提示词,定义其行为和能力' },
430
+ tools: {
431
+ type: 'array',
432
+ items: { type: 'string' },
433
+ description: '该角色请求使用的工具列表。若指定了 base_role,则系统会以预设基线工具为起点并做有边界的增强',
434
+ },
435
+ skill_names: {
436
+ type: 'array',
437
+ items: { type: 'string' },
438
+ description: '可选但强烈建议提供。由 Leader 从当前 skills 摘要中自行挑选多个最相关的 skill 名称,系统会校验并注入给该角色',
439
+ },
440
+ },
441
+ required: ['role_name', 'role_description', 'system_prompt', 'tools'],
442
+ },
443
+ },
444
+ },
445
+ {
446
+ type: 'function',
447
+ function: {
448
+ name: 'delete_agent_role',
449
+ description: '删除 define_agent_role 或 create_task(role_definition) 在当前会话中创建的 runtime 自定义 Agent 角色。不能删除系统预设角色;持久化 custom agent 文件请在 Settings → Roles 删除。若该角色仍被未终态任务引用,默认拒绝,确认后可传 force=true。',
450
+ parameters: {
451
+ type: 'object',
452
+ properties: {
453
+ role_name: { type: 'string', description: '要删除的 runtime 自定义角色名' },
454
+ force: { type: 'boolean', description: '可选。角色仍被未终态任务引用时是否强制删除角色定义;默认 false。' },
455
+ },
456
+ required: ['role_name'],
457
+ },
458
+ },
459
+ },
460
+ {
461
+ type: 'function',
462
+ function: {
463
+ name: 'list_available_roles',
464
+ description: '列出所有可用的 Agent 角色(预设+自定义)。create_task/update_task 的 agent_type 接受这些规范名,也接受其变体/缩写(如 backend-agents/fe-1/be_dev)并自动归约,无需精确记忆全名。',
465
+ parameters: { type: 'object', properties: {}, required: [] },
466
+ },
467
+ },
468
+ {
469
+ type: 'function',
470
+ function: {
471
+ name: 'dispatch_agent',
472
+ description: '派发原语:启动一个 Agent 执行已通过 create_task 创建且已经出现在任务板上的单个任务。重要前置条件:team 模式下 dispatch_agent 只能派发当前 active team roster 中尚未忙碌的 member;如果当前没有 active team,系统会自动创建一个包含 leader + 目标 agent 的最小 team(无需手动 team_manage)。不要凭空发明 roster 外名字;新增成员先 team_manage edit/add。多 Agent 编排请先 create_task 建完整 DAG,再对 ready 任务显式 dispatch_agent;同批 create_task 后不能引用模型自造 task_id。⚠ 并发限制:系统有最大并发槽位(见每轮「并发概览」的实际槽位数),同时运行的 Agent 数量不能超过此上限。槽位满时 dispatch 会被 skip 并返回"并发槽位已满"错误,请等待运行中 Agent 完成后再重试,或减少同批并行数量。',
473
+ parameters: {
474
+ type: 'object',
475
+ properties: {
476
+ task_id: { type: 'string', description: '已通过 create_task 创建的任务ID (如 "T-1")。该任务必须已在任务板上且状态为 dispatchable/ready。' },
477
+ agent_name: { type: 'string', description: '当前 active team roster 中一个未忙碌的 member 名字(如 Sam, Lucy)。没有 active team 时系统会自动建团并加入该成员;已有 active team 时必须使用 roster 中的名字,新增成员先 team_manage edit/add。' },
478
+ },
479
+ required: ['task_id', 'agent_name'],
480
+ },
481
+ },
482
+ },
483
+ {
484
+ type: 'function',
485
+ function: {
486
+ name: 'dispatch_batch',
487
+ description: '批量派发原语:一次显式 Leader 工具调用中派发多个已经 ready/dispatchable 的任务。它不自动派发 preferred_agent_name;每一项仍等价于一次 dispatch_agent 校验。Team 模式下每个 agent_name 必须来自当前 active team roster(没有 active team 时系统会自动建团);Solo 模式下按执行路由策略创建 ephemeral worker。部分成功允许,但结果会逐项返回 ok/skipped/failed。优先把 write_scope 两两正交的 ready 任务批量并行派发(每项一个独立 agent_name);scope 重叠的任务用 blocked_by 串行,不要同批并行以免撞写。⚠ 并发限制:同批 dispatch 数量 + 当前运行中 Agent 数量不能超过最大并发槽位(见每轮「并发概览」的实际槽位数)。超出部分会被 skip 并返回"并发槽位已满"错误。建议:先查当前并发概览确认可用空槽数,再按空槽数量安排同批派发,剩余任务等槽位释放后再派。',
488
+ parameters: {
489
+ type: 'object',
490
+ properties: {
491
+ dispatches: {
492
+ type: 'array',
493
+ minItems: 1,
494
+ description: '要派发的任务列表。每项都必须显式给出 task_id 和 agent_name。',
495
+ items: {
496
+ type: 'object',
497
+ properties: {
498
+ task_id: { type: 'string', description: '已存在且 ready/dispatchable 的任务 ID,例如 "T-1"。' },
499
+ agent_name: { type: 'string', description: '显式派发目标 Agent 名字。若任务设置了 preferred_agent_name,必须与其一致。' },
500
+ },
501
+ required: ['task_id', 'agent_name'],
502
+ },
503
+ },
504
+ },
505
+ required: ['dispatches'],
506
+ },
507
+ },
508
+ },
509
+ {
510
+ type: 'function',
511
+ function: {
512
+ name: 'explore',
513
+ description: '一键派发一个只读探索 worker(独立隔离上下文)做广度搜索,结论经 task_complete 异步回流到本上下文,不会把搜索过程/源码正文读进来。适用于需要大范围摸清代码、定位功能或调用关系、理清架构但不想污染主上下文的场景。等价于 create_task(agent_type="explore") + dispatch_agent 一步到位;Solo 下派发 ephemeral worker。返回值包含 task_id 供追踪。探索完成后会收到结论区块(含文件路径:行号)。',
514
+ parameters: {
515
+ type: 'object',
516
+ properties: {
517
+ goal: { type: 'string', minLength: 1, description: '探索目标/要回答的事实性问题,越具体越好,如"找到消息总线订阅派发的全部调用路径"。' },
518
+ scope: { type: 'string', description: '可选。探索范围(目录/模块/路径前缀),缩小搜索面。' },
519
+ breadth: { type: 'string', enum: ['medium', 'thorough'], description: '可选。搜索广度:medium=聚焦快速定位(默认);thorough=多角度穷举。' },
520
+ focus_questions: {
521
+ type: 'array',
522
+ items: { type: 'string', minLength: 1 },
523
+ description: '可选。需逐一回答的具体子问题清单,探索结论应逐条覆盖。',
524
+ },
525
+ agent_name: { type: 'string', description: '可选。自定义探索 worker 名字;省略时自动生成唯一 ephemeral 名。' },
526
+ },
527
+ required: ['goal'],
528
+ },
529
+ },
530
+ },
531
+ {
532
+ type: 'function',
533
+ function: {
534
+ name: 'send_message_to_agent',
535
+ description: 'Leader 向运行中的 Agent 发送消息(干预、评价或提供新信息)。方向:Leader → Agent。参数:agent_name + content。与 worker 使用的 send_message(参数:recipient)和 Team 成员间的 team_message(参数:target_type+target)不同,本工具仅 Leader 可用。',
536
+ parameters: {
537
+ type: 'object',
538
+ properties: {
539
+ agent_name: { type: 'string', description: '目标Agent名称' },
540
+ content: { type: 'string', description: '消息内容' },
541
+ },
542
+ required: ['agent_name', 'content'],
543
+ },
544
+ },
545
+ },
546
+ {
547
+ type: 'function',
548
+ function: {
549
+ name: 'update_task_status',
550
+ description: '更新任务状态。Worker Agent 完成任务后会自动将任务标记为 completed/failed;Leader 使用本工具处理:1) 手动取消未启动的 pending 任务(→ cancelled);2) Agent 失败后标记(→ failed/cancelled);3) 修正错误状态。如果任务已经是 completed,再次调用会被忽略(幂等)。',
551
+ parameters: {
552
+ type: 'object',
553
+ properties: {
554
+ task_id: { type: 'string', description: '任务ID' },
555
+ status: {
556
+ type: 'string',
557
+ enum: ['cancelled', 'failed'],
558
+ description: '目标状态:cancelled=主动取消未派发任务,failed=标记 worker 已挂的任务为失败。Worker 正常完成时由 worker 自身 emit 终态事件。',
559
+ },
560
+ },
561
+ required: ['task_id', 'status'],
562
+ },
563
+ },
564
+ },
565
+ {
566
+ type: 'function',
567
+ function: {
568
+ name: 'force_complete_task',
569
+ description: '【任务级强制完成·谨慎】标记任务为已完成(UNVERIFIED),无论 Agent 实际状态。目标对象:任务节点。仅用于 Agent 长期无进展、陷入循环或偏离目标。与 terminate_agent 的区别:force_complete 标记任务完成,terminate 终止 Agent 实例。给予充分时间后再使用。',
570
+ parameters: {
571
+ type: 'object',
572
+ properties: {
573
+ task_id: { type: 'string', description: '要强制完成的任务ID' },
574
+ reason: { type: 'string', description: '强制完成的原因,必须具体说明 Agent 的问题和已等待的时间' },
575
+ },
576
+ required: ['task_id', 'reason'],
577
+ },
578
+ },
579
+ },
580
+ {
581
+ type: 'function',
582
+ function: {
583
+ name: 'retry_agent_llm',
584
+ description: '重试指定 Agent,无论其当前处于何种状态都尝试激活:运行中的 Agent 会中止当前 LLM 调用并重新发起请求(适用于返回了不完整或错误的响应);已停止/失败/被终止的 Agent 会自动重开其任务并加载完整历史复活重跑(模型与角色保持不变)。当你想"救回"一个卡死、失败或被误终止的 Agent 时,优先用本工具而不是重建任务。',
585
+ parameters: {
586
+ type: 'object',
587
+ properties: {
588
+ agent_name: { type: 'string', description: '目标 Agent 名称(如 researcher-1、coding-2)' },
589
+ reason: { type: 'string', description: '可选。要求重试的原因说明' },
590
+ },
591
+ required: ['agent_name'],
592
+ },
593
+ },
594
+ },
595
+ {
596
+ type: 'function',
597
+ function: {
598
+ name: 'nudge_agent',
599
+ description: '【干预级别2/4】向 Agent 注入提示让其自主调整策略(不暂停)。适用于方向偏离、陷入循环或长期无进展。提示会进入 system prompt,Agent 继续运行。升级路径:pause < nudge < intervene+confirm < terminate。',
600
+ parameters: {
601
+ type: 'object',
602
+ properties: {
603
+ agent_name: { type: 'string', description: '目标 Agent 名称(如 researcher-1、coding-2)' },
604
+ message: { type: 'string', description: '干预提示内容,应具体指出问题和期望的调整方向' },
605
+ },
606
+ required: ['agent_name', 'message'],
607
+ },
608
+ },
609
+ },
610
+ {
611
+ type: 'function',
612
+ function: {
613
+ name: 'compact_agent_context',
614
+ description: '压缩指定 Agent 的对话上下文:裁剪早期工具结果和图片历史以释放 token 空间。适用于 Agent 上下文膨胀、频繁 413 或 unknown_error 时。此工具只压缩目标 Agent 的上下文。',
615
+ parameters: {
616
+ type: 'object',
617
+ properties: {
618
+ agent_name: { type: 'string', description: '目标 Agent 名称(如 researcher-1、coding-2)' },
619
+ },
620
+ required: ['agent_name'],
621
+ },
622
+ },
623
+ },
624
+ {
625
+ type: 'function',
626
+ function: {
627
+ name: 'create_download_link',
628
+ description: '为当前会话中已生成的文件创建临时下载卡片。适用于 PPT/DOCX/PDF/ZIP/图片/任意二进制产物。必须传入已经存在的文件路径;工具只发布下载链接,不负责写文件。',
629
+ parameters: {
630
+ type: 'object',
631
+ properties: {
632
+ path: { type: 'string', description: '已存在文件的绝对路径或相对当前 workspace 的路径。文件必须位于 workspace、session artifacts 或临时上传目录内。' },
633
+ name: { type: 'string', description: '可选,下载时显示的文件名。默认使用 path basename。' },
634
+ mime_type: { type: 'string', description: '可选,文件 MIME 类型。默认按扩展名推断。' },
635
+ expires_in_seconds: { type: 'number', description: '可选,链接有效期,默认 3600 秒,范围 60 秒到 24 小时。' },
636
+ },
637
+ required: ['path'],
638
+ },
639
+ },
640
+ },
641
+ {
642
+ type: 'function',
643
+ function: {
644
+ name: 'ask_user',
645
+ description: '向用户提问或请求关键输入、决策指引。ask_user 必须是本批次最后/唯一工具调用;调用后不要在同一批继续 create_task/dispatch_agent。行为取决于控制模式(manual/eternal),与执行路由模式(direct/hybrid/delegate)无关。\n\n【Manual 控制模式】系统会暂停直到收到所有回复。\n\n【Eternal 控制模式】用户已授权完全自治:调用 ask_user 会把问题反向注入到你自己的对话历史,由你基于现有信息自主决策;下一轮请直接给出答案/继续推进。\n\n【一次性提问原则】每次一次性收集所有当前路径所需信息。优先用 questions 数组,单问题用非空 question + options;question 和 questions 二选一。',
646
+ parameters: {
647
+ type: 'object',
648
+ properties: {
649
+ question: { type: 'string', minLength: 1, description: '单个问题文本(与 questions 二选一,单问题场景使用)' },
650
+ options: {
651
+ type: 'array',
652
+ description: '单问题的选项列表(仅在使用 question 时有效)',
653
+ items: {
654
+ type: 'object',
655
+ properties: {
656
+ value: { type: 'string', description: '选项的值' },
657
+ label: { type: 'string', description: '选项的显示文本(可选)' },
658
+ },
659
+ required: ['value'],
660
+ },
661
+ },
662
+ multiSelect: { type: 'boolean', description: '单问题是否多选(默认 false)' },
663
+ questions: {
664
+ type: 'array',
665
+ minItems: 1,
666
+ description: '多问题列表,前端以分步向导展示,用户逐步回答后统一提交。每个问题可有独立选项和多选模式。',
667
+ items: {
668
+ type: 'object',
669
+ properties: {
670
+ question: { type: 'string', minLength: 1, description: '问题文本' },
671
+ options: {
672
+ type: 'array',
673
+ description: '该问题的选项列表(可选,不提供则为自由输入)',
674
+ items: {
675
+ type: 'object',
676
+ properties: {
677
+ value: { type: 'string', description: '选项值' },
678
+ label: { type: 'string', description: '显示文本(可选)' },
679
+ },
680
+ required: ['value'],
681
+ },
682
+ },
683
+ multiSelect: { type: 'boolean', description: '是否允许多选(默认 false)' },
684
+ },
685
+ required: ['question'],
686
+ },
687
+ },
688
+ },
689
+ },
690
+ },
691
+ },
692
+ {
693
+ type: 'function',
694
+ function: {
695
+ name: 'plan_create',
696
+ description: '创建或替换当前 Leader 执行计划。仅存储 ACTIVE_PLAN 状态;不创建 TaskBoard 任务、不提交审批、不创建 Team、不派发 Agent。',
697
+ parameters: {
698
+ type: 'object',
699
+ properties: {
700
+ goal: { type: 'string', description: 'Leader 执行计划的当前目标' },
701
+ items: {
702
+ type: 'array',
703
+ items: {
704
+ type: 'object',
705
+ properties: {
706
+ id: { type: 'string', description: '计划项 ID' },
707
+ title: { type: 'string', description: '计划项标题' },
708
+ status: { type: 'string', enum: ['pending', 'in_progress', 'completed', 'blocked', 'cancelled'], description: '计划项状态' },
709
+ notes: { type: 'string', description: '计划项备注' },
710
+ },
711
+ required: ['title'],
712
+ },
713
+ },
714
+ reason: { type: 'string', description: '创建或替换计划的原因(可选)' },
715
+ },
716
+ required: ['goal'],
717
+ },
718
+ },
719
+ },
720
+ {
721
+ type: 'function',
722
+ function: {
723
+ name: 'plan_update',
724
+ description: '更新当前 Leader 执行计划并递增版本号。仅存储 ACTIVE_PLAN 状态;不修改 TaskBoard 或派发就绪状态。',
725
+ parameters: {
726
+ type: 'object',
727
+ properties: {
728
+ goal: { type: 'string', description: '更新后的计划目标(可选,不传则保留原目标)' },
729
+ items: {
730
+ type: 'array',
731
+ items: {
732
+ type: 'object',
733
+ properties: {
734
+ id: { type: 'string', description: '计划项 ID' },
735
+ title: { type: 'string', description: '计划项标题' },
736
+ status: { type: 'string', enum: ['pending', 'in_progress', 'completed', 'blocked', 'cancelled'], description: '计划项状态' },
737
+ notes: { type: 'string', description: '计划项备注' },
738
+ },
739
+ required: ['title'],
740
+ },
741
+ },
742
+ reason: { type: 'string', description: '更新原因(可选)' },
743
+ },
744
+ },
745
+ },
746
+ },
747
+ {
748
+ type: 'function',
749
+ function: {
750
+ name: 'plan_checkpoint',
751
+ description: '向当前 Leader 执行计划追加叙事检查点。仅用于可见性/恢复状态,不阻塞执行。',
752
+ parameters: {
753
+ type: 'object',
754
+ properties: {
755
+ summary: { type: 'string', description: '检查点摘要' },
756
+ reason: { type: 'string', description: '追加检查点的原因(可选)' },
757
+ },
758
+ required: ['summary'],
759
+ },
760
+ },
761
+ },
762
+ {
763
+ type: 'function',
764
+ function: {
765
+ name: 'plan_finalize',
766
+ description: '终结当前 Leader 执行计划(completed/cancelled/superseded)。不结束会话,不要求 TaskBoard 全部终态。',
767
+ parameters: {
768
+ type: 'object',
769
+ properties: {
770
+ final_status: { type: 'string', enum: ['completed', 'cancelled', 'superseded'], description: '终结状态:completed=完成,cancelled=取消,superseded=被新计划取代' },
771
+ summary: { type: 'string', description: '终结总结(可选)' },
772
+ },
773
+ required: ['final_status'],
774
+ },
775
+ },
776
+ },
777
+ {
778
+ type: 'function',
779
+ function: {
780
+ name: 'submit_plan',
781
+ description: '提交当前的完整执行方案。行为取决于控制模式(manual/eternal),与执行路由模式(direct/hybrid/delegate)无关。\n\n【Manual 控制模式】进入 pending_review 等待用户批准。\n\n【Eternal 控制模式】用户已授权自治,方案被自动批准并落入对话历史,应立即按方案派发 ready 任务。',
782
+ parameters: {
783
+ type: 'object',
784
+ properties: {
785
+ goal: { type: 'string', description: '最终目标' },
786
+ analysis: { type: 'string', description: '现状分析及技术根因' },
787
+ approach: { type: 'string', description: '核心步骤及实现方案' },
788
+ risks: { type: 'string', description: '潜在风险或副作用' },
789
+ verification: { type: 'string', description: '验证方案' },
790
+ },
791
+ required: ['goal', 'analysis', 'approach'],
792
+ },
793
+ },
794
+ },
795
+ {
796
+ type: 'function',
797
+ function: {
798
+ name: 'finish_session',
799
+ description: '结束整个会话并生成总结。仅当任务板全部为终态且没有 running worker 时调用;仍有开放任务/运行中 Agent 时,用普通回复、write_work_note 或继续验收,不要用 finish_session 做阶段总结。调用前回顾本轮会话是否有值得记录到长期记忆的内容(架构决策、技术选型、用户偏好、关键发现),有稳定价值时先调用 learn_soul 写入项目级/用户级记忆再结束。行为取决于控制模式(manual/eternal),与执行路由模式(direct/hybrid/delegate)无关。\n\n【Manual 控制模式】正常结束会话。\n\n【Eternal 控制模式】发布阶段性总结并进入 idle 待命;EternalLoop 继续巡逻。用户显式切回 manual 后,可用此工具结束会话。完成工作后默认进入待命,用户明确要求结束时再调用此工具。',
800
+ parameters: {
801
+ type: 'object',
802
+ properties: {
803
+ summary: { type: 'string', description: '本次会话的成果总结' },
804
+ },
805
+ required: ['summary'],
806
+ },
807
+ },
808
+ },
809
+ {
810
+ type: 'function',
811
+ function: {
812
+ name: 'complete_eternal_goal',
813
+ description: '标记当前 Eternal 目标为已完成。仅当有充分证据证明目标已达成时调用。调用后 goal 被清除,自动切回 manual 模式,Leader 进入 idle 待命。如需继续可设置新 goal。不要在目标仍有未验证部分时调用。',
814
+ parameters: {
815
+ type: 'object',
816
+ properties: {
817
+ evidence: { type: 'string', description: '目标完成的具体证据(测试通过、构建成功、代码提交等可验证事实)' },
818
+ summary: { type: 'string', description: '目标完成总结,包含完成了什么、关键产出和后续建议' },
819
+ },
820
+ required: ['evidence', 'summary'],
821
+ },
822
+ },
823
+ },
824
+ {
825
+ type: 'function',
826
+ function: {
827
+ name: 'list_runtime_agents',
828
+ description: '列出当前 AgentPool 中所有 runtime agents(running/stopped、taskId、角色、最近心跳/进展、恢复失败计数)。用于在调用 check_agent_progress / retry / terminate 前确认真实 agent 名和运行态,避免拿过期 agent 名反复撞错。只读,不唤醒、不重试、不派发。',
829
+ parameters: {
830
+ type: 'object',
831
+ properties: {},
832
+ additionalProperties: false,
833
+ },
834
+ },
835
+ },
836
+ {
837
+ type: 'function',
838
+ function: {
839
+ name: 'check_agent_progress',
840
+ description: '【限速:每 Agent 每 60s 最多一次】查看当前 active Agent 的最近动作和详细日志。仅在以下情况使用:(1) 系统报告 Agent 异常、停滞或 watchdog 告警;(2) 长期无任何进度通知且需要判断是否干预;(3) 需要验收完成结果或用户明确询问当前进度。\n\n【先列后查】如果 agent_name 来自恢复报告、旧上下文或不确定是否仍存在,必须先调用 list_runtime_agents 获取当前真实 agent 名和运行态;只有目标仍在当前 runtime agents 中且 active 时才调用本工具。目标不存在时不要拿旧名反复调用。\n\n【等待原则】如果 Agent 最近仍有活动或正在执行工具,不要调用本工具做例行确认;等待 task_complete/failed/watchdog_alert 等自然信号。调用后若 Agent 仍在正常运行,结束本轮等待自然完成信号。不要用前台 sleep、重复 read_work_notes、team_inbox 或文件树扫描来制造观察窗口;频繁查询对 Agent 执行无加速作用,只消耗 token。',
841
+ parameters: {
842
+ type: 'object',
843
+ properties: {
844
+ agent_name: { type: 'string', description: '要查看的Agent名称' },
845
+ },
846
+ required: ['agent_name'],
847
+ },
848
+ },
849
+ },
850
+ {
851
+ type: 'function',
852
+ function: {
853
+ name: 'write_contract',
854
+ description: 'Leader 直接写入契约到 SharedLedger。用于解除蓝图 dispatch 拦截、跟过 architect 任务、或 Leader 已有明确接口设计时直接写入。写入后对应 contract_surface 的任务将自动解除契约阻塞。',
855
+ parameters: {
856
+ type: 'object',
857
+ properties: {
858
+ surface: { type: 'string', minLength: 1, description: '契约 surface,如 "POST /api/login" 或 "data-model" 或蓝图 subsystem id。' },
859
+ title: { type: 'string', minLength: 1, description: '契约标题。' },
860
+ content: { type: 'string', minLength: 1, description: '契约正文:接口定义、数据结构、行为约束、验收标准等。' },
861
+ evidence: { type: 'array', items: { type: 'string' }, description: '可选。证据引用:文件路径、URL、task_id 等。' },
862
+ },
863
+ required: ['surface', 'content'],
864
+ },
865
+ },
866
+ },
867
+ {
868
+ type: 'function',
869
+ function: {
870
+ name: 'learn_soul',
871
+ description: '【已废弃·新代码禁用】记忆便捷写入,等价于 memory(action="save", content=..., scope=...)。保留仅为向后兼容,新代码请直接用 memory 工具。底层调用同一个 MemoryManager,写入路径:project=.lingxiao/memory/ 或 user=~/.lingxiao/memory/。',
872
+ parameters: {
873
+ type: 'object',
874
+ properties: {
875
+ content: { type: 'string', description: '要记录的内容,简洁明了,包含关键信息' },
876
+ scope: {
877
+ type: 'string',
878
+ description: '记忆范围:"user" 表示用户级全局记忆,"project" 表示项目专属记忆',
879
+ enum: ['user', 'project'],
880
+ },
881
+ },
882
+ required: ['content', 'scope'],
883
+ },
884
+ },
885
+ },
886
+ {
887
+ type: 'function',
888
+ function: {
889
+ name: 'request_permission_update',
890
+ description: [
891
+ '请求提升当前 session 的权限模式或网络权限。调用后会等待用户批准或拒绝。',
892
+ '',
893
+ '普通 Leader 自发提权:不要传 request_id/worker_name。',
894
+ 'worker 权限请求:只有当系统明确要求你代 worker 转发时才调用,并必须原样回传 request_id 和 worker_name 两个字段;如果报告写着“系统已自动向用户发起审批,无需再调”,不要调用本工具。',
895
+ '看到 "--- 来自 Agent @xxx 的权限请求 ---" 报告时,把里面的 request_id / worker_name 一字不差地填到工具参数里——',
896
+ '不知道 request_id 时直接省略,不要传空字符串。',
897
+ '一旦丢失,worker 会卡在 waitForMessageType 里直到超时(默认 30s ~ 5min),表现为"权限已批准但 agent 没动"。',
898
+ ].join('\n'),
899
+ parameters: {
900
+ type: 'object',
901
+ properties: {
902
+ source: { type: 'string', enum: ['leader', 'worker'], description: '可选。leader=Leader 自发提权;worker=代 worker 转发审批。worker 场景必须提供 request_id 和 worker_name。' },
903
+ reason: { type: 'string', description: '为什么需要提权' },
904
+ mode: {
905
+ type: 'string',
906
+ enum: ['strict', 'dev', 'networked', 'yolo'],
907
+ description: '请求切换到的权限模式',
908
+ },
909
+ allowed_hosts: {
910
+ type: 'array',
911
+ items: { type: 'string' },
912
+ description: '如果请求 networked,可附带要访问的 allowlist hosts',
913
+ },
914
+ request_id: {
915
+ type: 'string',
916
+ minLength: 1,
917
+ description: 'worker 触发时必传:从权限请求报告里复制 request_id 原文,用于回传 permission_response。普通 Leader 自发提权不要传;不知道时省略,不要传空字符串。',
918
+ },
919
+ worker_name: {
920
+ type: 'string',
921
+ minLength: 1,
922
+ description: 'worker 触发时必传:从权限请求报告里复制 worker_name 原文。漏传 permission_response 无法路由到 worker 的 bus。',
923
+ },
924
+ tool_name: { type: 'string', description: '触发该请求的工具名' },
925
+ },
926
+ required: ['reason', 'mode', 'tool_name'],
927
+ },
928
+ },
929
+ },
930
+ {
931
+ type: 'function',
932
+ function: {
933
+ name: 'pause_agent',
934
+ description: '【干预级别1/4】暂停 Agent 并保留进度,可用 resume_agent 恢复。适用于等待外部条件或临时释放资源。不改变指令,只暂停执行。升级路径:pause < nudge < intervene+confirm < terminate。',
935
+ parameters: {
936
+ type: 'object',
937
+ properties: {
938
+ agent_name: { type: 'string', description: '目标 Agent 名称' },
939
+ },
940
+ required: ['agent_name'],
941
+ },
942
+ },
943
+ },
944
+ {
945
+ type: 'function',
946
+ function: {
947
+ name: 'resume_agent',
948
+ description: '【干预闭环】恢复 pause_agent 暂停的 Agent,让其从暂停点继续执行。',
949
+ parameters: {
950
+ type: 'object',
951
+ properties: {
952
+ agent_name: { type: 'string', description: '目标 Agent 名称' },
953
+ },
954
+ required: ['agent_name'],
955
+ },
956
+ },
957
+ },
958
+ {
959
+ type: 'function',
960
+ function: {
961
+ name: 'intervene_agent',
962
+ description: '【干预级别3/4】停止 Agent、注入指令、等待你调用 confirm_intervention 后才继续执行。与 nudge 的区别:intervene 会暂停并等待确认,nudge 不暂停。调用后必须再调 confirm_intervention 才能让 Agent 继续。升级路径:pause < nudge < intervene+confirm < terminate。',
963
+ parameters: {
964
+ type: 'object',
965
+ properties: {
966
+ agent_name: { type: 'string', description: '目标 Agent 名称' },
967
+ instruction: { type: 'string', description: '干预指令内容,应具体说明需要调整的方向' },
968
+ },
969
+ required: ['agent_name', 'instruction'],
970
+ },
971
+ },
972
+ },
973
+ {
974
+ type: 'function',
975
+ function: {
976
+ name: 'terminate_agent',
977
+ description: '【干预级别4/4·不可逆】完全终止 Agent 并丢弃进度(不可恢复)。目标对象:Agent 实例。仅用于严重偏离、破坏性操作或无法修正。优先使用 nudge / retry / intervene。与 force_complete_task 的区别:terminate 终止 Agent,force_complete 标记任务为完成。升级路径:pause < nudge < intervene+confirm < terminate。',
978
+ parameters: {
979
+ type: 'object',
980
+ properties: {
981
+ agent_name: { type: 'string', description: '目标 Agent 名称' },
982
+ reason: { type: 'string', description: '终止原因,必须至少 10 个字符' },
983
+ },
984
+ required: ['agent_name', 'reason'],
985
+ },
986
+ },
987
+ },
988
+ {
989
+ type: 'function',
990
+ function: {
991
+ name: 'confirm_intervention',
992
+ description: '【干预闭环】确认 intervene_agent 注入的指令,让 Agent 带着新指令继续执行。必须在 intervene_agent 之后调用,否则 Agent 会一直等待。',
993
+ parameters: {
994
+ type: 'object',
995
+ properties: {
996
+ agent_name: { type: 'string', description: '目标 Agent 名称' },
997
+ },
998
+ required: ['agent_name'],
999
+ },
1000
+ },
1001
+ },
1002
+ {
1003
+ type: 'function',
1004
+ function: {
1005
+ name: 'write_work_note',
1006
+ description: '写入当前 Agent 的工作笔记,记录当前进展摘要。默认自动使用当前 agentId/taskId。每次任务完成或重要阶段调用。包含 phase、summary、details、artifacts、keyFindings、impactAnalysis,并写入实质进展与可追踪证据。',
1007
+ parameters: {
1008
+ type: 'object',
1009
+ properties: {
1010
+ taskId: { type: 'string', description: '任务 ID;通常省略,使用当前上下文 taskId' },
1011
+ phase: { type: 'string', enum: ['research', 'coding', 'testing', 'reviewing', 'other'], description: '当前阶段' },
1012
+ summary: { type: 'string', description: '一句话摘要(实质内容,非模板)' },
1013
+ details: { type: 'string', description: '可选,详细说明' },
1014
+ artifacts: { type: 'array', items: { type: 'string' }, description: '可选,涉及的文件列表' },
1015
+ blockers: { type: 'array', items: { type: 'string' }, description: '可选,阻塞项列表' },
1016
+ nextSteps: { type: 'array', items: { type: 'string' }, description: '可选,下一步建议' },
1017
+ keyFindings: { type: 'array', items: { type: 'string' }, description: '可选,关键发现(文件路径:行号 — 说明)' },
1018
+ impactAnalysis: { type: 'string', description: '可选,改动影响范围分析' },
1019
+ },
1020
+ required: ['phase', 'summary'],
1021
+ },
1022
+ },
1023
+ },
1024
+ {
1025
+ type: 'function',
1026
+ function: {
1027
+ name: 'request_work_note',
1028
+ description: '请求某个 Agent 更新工作笔记。是 send_message_to_agent 的便捷包装:底层通过消息总线发送 request_work_note 事件,目标 Agent 收到后主动更新笔记。与 send_message_to_agent 的区别:本工具只触发“更新笔记”动作,不能传自定义消息内容。',
1029
+ parameters: {
1030
+ type: 'object',
1031
+ properties: {
1032
+ agentId: { type: 'string', description: '目标 Agent ID' },
1033
+ },
1034
+ required: ['agentId'],
1035
+ },
1036
+ },
1037
+ },
1038
+ {
1039
+ type: 'function',
1040
+ function: {
1041
+ name: 'read_work_notes',
1042
+ description: '读取工作笔记。可过滤指定 Agent 或任务。用于了解前序任务结论或其他 Agent 进展。',
1043
+ parameters: {
1044
+ type: 'object',
1045
+ properties: {
1046
+ agentId: { type: 'string', description: '可选,按 Agent ID 过滤' },
1047
+ taskId: { type: 'string', description: '可选,按任务 ID 过滤' },
1048
+ limit: { type: 'number', description: '可选,返回条数上限(默认 10)' },
1049
+ },
1050
+ required: [],
1051
+ },
1052
+ },
1053
+ },
1054
+ {
1055
+ type: 'function',
1056
+ function: {
1057
+ name: 'set_mode',
1058
+ description: '开启或关闭一个会话级能力模式(office / bughunt),无需用户手动敲 /office 或 /bughunt。开启 office:注入办公审美协议 + JS 生成路线(用 shell 跑 node 调 pptxgenjs/docx/exceljs/pdfkit 自由生成 PPTX/DOCX/XLSX/PDF),并解锁 office_ops/parse_file 验收工具;关闭则卸载这些上下文。开启 bughunt:注入缺陷调查 DAG 与 ledger 元工具。何时用:当用户的任务需要办公文档产出(做 PPT/Word/Excel/PDF 等)或系统性缺陷排查时,先用本工具开启对应模式,再开展工作。注意:workflow 是 beta 能力,只能由用户手动开启,本工具不支持。模式相互独立可叠加;重复设置同一状态是幂等的。',
1059
+ parameters: {
1060
+ type: 'object',
1061
+ properties: {
1062
+ mode: { type: 'string', enum: ['office', 'bughunt'], description: '要切换的模式。office=办公文档生成与审美交付;bughunt=系统性缺陷调查。不接受 workflow(beta,仅用户手动开启)。' },
1063
+ enabled: { type: 'boolean', description: '目标状态:true=开启,false=关闭。' },
1064
+ },
1065
+ required: ['mode', 'enabled'],
1066
+ },
1067
+ },
1068
+ },
1069
+ ];
1070
+ //# sourceMappingURL=leaderToolDefinitions.js.map