@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,651 @@
1
+ import { existsSync, mkdtempSync, readFileSync, rmSync, statSync } from 'fs';
2
+ import { spawnSync } from 'child_process';
3
+ import { tmpdir } from 'os';
4
+ import { basename, extname, join, posix as pathPosix } from 'path';
5
+ import JSZip from 'jszip';
6
+ import { detectFormat, parseFile } from '../FileParser.js';
7
+ import { hiddenSpawnOpts, resolveCommandPath } from '../../../utils/platform.js';
8
+ const IMAGE_RELATIONSHIP = /\/relationships\/image$/i;
9
+ const CHART_RELATIONSHIP = /\/relationships\/chart$/i;
10
+ const SLIDE_LAYOUT_RELATIONSHIP = /\/relationships\/slideLayout$/i;
11
+ const SLIDE_MASTER_RELATIONSHIP = /\/relationships\/slideMaster$/i;
12
+ const OPEN_CHECK_TIMEOUT_MS = 30000;
13
+ const OUTPUT_SUMMARY_LIMIT = 2000;
14
+ export async function validateOfficeFile(options) {
15
+ const result = createResult('unknown');
16
+ const filePath = options.path;
17
+ const requestedFormat = options.format && options.format !== 'auto' ? options.format : undefined;
18
+ result.format = requestedFormat ?? normalizeFormat(detectFormat(filePath), filePath);
19
+ if (!existsSync(filePath)) {
20
+ addCheck(result, 'file_exists', false, 'File does not exist.', { path: filePath });
21
+ finish(result);
22
+ return result;
23
+ }
24
+ const stats = statSync(filePath);
25
+ addCheck(result, 'file_exists', true, 'File exists.', { path: filePath, bytes: stats.size });
26
+ const detectedFormat = normalizeFormat(detectFormat(filePath), filePath);
27
+ result.format = requestedFormat ?? detectedFormat;
28
+ if (requestedFormat && detectedFormat !== 'unknown' && requestedFormat !== detectedFormat) {
29
+ addCheck(result, 'format_matches', false, `Requested ${requestedFormat}, detected ${detectedFormat}.`, {
30
+ requested: requestedFormat,
31
+ detected: detectedFormat,
32
+ });
33
+ }
34
+ else {
35
+ addCheck(result, 'format_detected', result.format !== 'unknown', `Detected format: ${result.format}.`, {
36
+ requested: requestedFormat ?? 'auto',
37
+ detected: detectedFormat,
38
+ });
39
+ }
40
+ if (result.format === 'docx') {
41
+ await validateDocx(filePath, options, result);
42
+ }
43
+ else if (result.format === 'pptx') {
44
+ await validatePptx(filePath, options, result);
45
+ }
46
+ else if (result.format === 'pdf') {
47
+ await validatePdf(filePath, options, result);
48
+ }
49
+ else {
50
+ addCheck(result, 'supported_format', false, 'Only DOCX, PPTX, and PDF are supported.', {
51
+ detected: detectedFormat,
52
+ extension: extname(filePath).toLowerCase(),
53
+ });
54
+ }
55
+ if (options.openCheck) {
56
+ validateOpenMatrix(filePath, result, options);
57
+ }
58
+ finish(result);
59
+ return result;
60
+ }
61
+ async function validateDocx(filePath, options, result) {
62
+ const zip = await loadZip(filePath, result);
63
+ if (!zip)
64
+ return;
65
+ validateOoxmlBasics(zip, result, 'word/document.xml');
66
+ const documentXml = await readZipText(zip, 'word/document.xml');
67
+ if (!documentXml)
68
+ return;
69
+ const text = extractWordText(documentXml);
70
+ if (text.length === 0) {
71
+ result.warnings.push('DOCX document.xml contains no extractable w:t text; structural checks still ran.');
72
+ }
73
+ addCheck(result, 'docx_text_extractable', true, text.length > 0 ? 'DOCX text was extracted.' : 'DOCX has no extractable document text.', {
74
+ characters: text.length,
75
+ });
76
+ validateExpectedTexts(result, text, options.expectedTexts, 'expected_texts');
77
+ const imageRelCheck = await validateImageRelationships(zip, result, 'word/document.xml', 'docx_media_relationships');
78
+ const hasEmbeddedImageRef = /r:embed="[^"]+"/.test(documentXml) || /r:link="[^"]+"/.test(documentXml);
79
+ if (hasEmbeddedImageRef && imageRelCheck.total === 0) {
80
+ addCheck(result, 'docx_media_rels_present', false, 'Document contains image references but no image relationships were found.');
81
+ }
82
+ else {
83
+ addCheck(result, 'docx_media_rels_present', true, 'DOCX media relationship presence is coherent.', {
84
+ imageRelationships: imageRelCheck.total,
85
+ embeddedImageReferences: hasEmbeddedImageRef,
86
+ });
87
+ }
88
+ const commentsXml = await readZipText(zip, 'word/comments.xml');
89
+ const nativeComments = commentsXml ? Array.from(commentsXml.matchAll(/<w:comment\b/g)).length : 0;
90
+ const commentAnchors = {
91
+ rangeStart: Array.from(documentXml.matchAll(/<w:commentRangeStart\b/g)).length,
92
+ rangeEnd: Array.from(documentXml.matchAll(/<w:commentRangeEnd\b/g)).length,
93
+ references: Array.from(documentXml.matchAll(/<w:commentReference\b/g)).length,
94
+ };
95
+ addCheck(result, 'docx_native_comments', options.expectedNativeComments === undefined || nativeComments >= options.expectedNativeComments, options.expectedNativeComments === undefined
96
+ ? `DOCX contains ${nativeComments} native comment(s).`
97
+ : `DOCX contains ${nativeComments} native comment(s), expected at least ${options.expectedNativeComments}.`, { nativeComments, expectedNativeComments: options.expectedNativeComments });
98
+ addCheck(result, 'docx_native_comment_anchors', nativeComments === 0 || (commentAnchors.rangeStart >= nativeComments && commentAnchors.rangeEnd >= nativeComments && commentAnchors.references >= nativeComments), nativeComments === 0
99
+ ? 'DOCX has no native comments to anchor.'
100
+ : `DOCX comment anchors: ${commentAnchors.rangeStart} start, ${commentAnchors.rangeEnd} end, ${commentAnchors.references} reference marker(s).`, { nativeComments, ...commentAnchors });
101
+ await validateDocxCommentsPackage(zip, result, nativeComments, options.expectedNativeComments);
102
+ const insertedRevisions = Array.from(documentXml.matchAll(/<w:ins\b/g)).length;
103
+ const deletedRevisions = Array.from(documentXml.matchAll(/<w:del\b/g)).length;
104
+ const trackedRevisions = insertedRevisions + deletedRevisions;
105
+ const settingsXml = await readZipText(zip, 'word/settings.xml');
106
+ const trackRevisionsEnabled = /<w:trackRevisions\b/i.test(settingsXml || '');
107
+ addCheck(result, 'docx_tracked_revisions', options.expectedTrackedRevisions === undefined || trackedRevisions >= options.expectedTrackedRevisions, options.expectedTrackedRevisions === undefined
108
+ ? `DOCX contains ${trackedRevisions} tracked revision marker(s).`
109
+ : `DOCX contains ${trackedRevisions} tracked revision marker(s), expected at least ${options.expectedTrackedRevisions}.`, { trackedRevisions, insertedRevisions, deletedRevisions, expectedTrackedRevisions: options.expectedTrackedRevisions });
110
+ addCheck(result, 'docx_track_revisions_enabled', trackedRevisions === 0 || trackRevisionsEnabled, trackRevisionsEnabled
111
+ ? 'DOCX has w:trackRevisions enabled in settings.xml.'
112
+ : trackedRevisions === 0
113
+ ? 'DOCX has no tracked revisions that require w:trackRevisions.'
114
+ : 'DOCX has tracked revision markers but w:trackRevisions is not enabled.', { trackedRevisions, trackRevisionsEnabled, hasSettingsXml: Boolean(settingsXml) });
115
+ addCheck(result, 'docx_revision_balance', trackedRevisions === 0 || (insertedRevisions > 0 && deletedRevisions > 0), trackedRevisions === 0
116
+ ? 'DOCX has no tracked revision markers.'
117
+ : `DOCX revisions include ${insertedRevisions} insertion marker(s) and ${deletedRevisions} deletion marker(s).`, { insertedRevisions, deletedRevisions });
118
+ }
119
+ async function validateDocxCommentsPackage(zip, result, nativeComments, expectedNativeComments) {
120
+ const contentTypes = await readZipText(zip, '[Content_Types].xml');
121
+ const hasContentType = Boolean(contentTypes?.includes('PartName="/word/comments.xml"'));
122
+ addCheck(result, 'docx_comments_content_type', nativeComments === 0 && expectedNativeComments === undefined ? true : hasContentType, hasContentType
123
+ ? 'DOCX comments content type override is present.'
124
+ : nativeComments === 0 && expectedNativeComments === undefined
125
+ ? 'DOCX has no native comments that require a comments content type override.'
126
+ : 'DOCX comments.xml is missing its content type override.', { nativeComments, expectedNativeComments, hasContentType });
127
+ const relXml = await readZipText(zip, relationshipsPathForPart('word/document.xml'));
128
+ const commentRels = relXml
129
+ ? parseRelationships(relXml).filter((rel) => rel.type?.endsWith('/relationships/comments'))
130
+ : [];
131
+ const targets = commentRels
132
+ .map((rel) => rel.target ? resolveRelationshipTarget('word/document.xml', rel.target) : null)
133
+ .filter((target) => Boolean(target));
134
+ const missing = targets.filter((target) => !zip.file(target));
135
+ addCheck(result, 'docx_comments_relationship', nativeComments === 0 && expectedNativeComments === undefined ? true : commentRels.length > 0 && missing.length === 0, commentRels.length > 0 && missing.length === 0
136
+ ? 'DOCX comments relationship target is present.'
137
+ : nativeComments === 0 && expectedNativeComments === undefined
138
+ ? 'DOCX has no native comments that require a comments relationship.'
139
+ : 'DOCX comments relationship is missing or points to a missing target.', { nativeComments, expectedNativeComments, relationshipCount: commentRels.length, targets, missing });
140
+ }
141
+ async function validatePptx(filePath, options, result) {
142
+ const zip = await loadZip(filePath, result);
143
+ if (!zip)
144
+ return;
145
+ validateOoxmlBasics(zip, result, 'ppt/presentation.xml');
146
+ const slideEntries = getSlideEntries(zip);
147
+ const expected = options.expectedSlideCount;
148
+ addCheck(result, 'pptx_slide_count', slideEntries.length > 0 && (expected === undefined || slideEntries.length === expected), expected === undefined
149
+ ? `PPTX contains ${slideEntries.length} slide(s).`
150
+ : `PPTX contains ${slideEntries.length} slide(s), expected ${expected}.`, { slideCount: slideEntries.length, expectedSlideCount: expected });
151
+ const texts = [];
152
+ for (const entry of slideEntries) {
153
+ const xml = await readZipText(zip, entry);
154
+ if (xml)
155
+ texts.push(extractDrawingText(xml));
156
+ await validateImageRelationships(zip, result, entry, `pptx_${basename(entry, '.xml')}_image_relationships`);
157
+ }
158
+ validateExpectedTexts(result, texts.join('\n'), options.expectedTexts, 'expected_texts');
159
+ const chartEntries = Object.keys(zip.files).filter((name) => /^ppt\/charts\/chart\d+\.xml$/i.test(name) && !zip.files[name].dir);
160
+ addCheck(result, 'pptx_chart_count', options.expectedChartCount === undefined || chartEntries.length >= options.expectedChartCount, options.expectedChartCount === undefined
161
+ ? `PPTX contains ${chartEntries.length} chart part(s).`
162
+ : `PPTX contains ${chartEntries.length} chart part(s), expected at least ${options.expectedChartCount}.`, { chartCount: chartEntries.length, expectedChartCount: options.expectedChartCount, chartEntries });
163
+ const slideMasters = Object.keys(zip.files).filter((name) => /^ppt\/slideMasters\/slideMaster\d+\.xml$/i.test(name) && !zip.files[name].dir);
164
+ addCheck(result, 'pptx_slide_master', !options.requireSlideMaster || slideMasters.length > 0, slideMasters.length > 0 ? `PPTX contains ${slideMasters.length} slide master part(s).` : 'PPTX contains no slide master part.', { slideMasterCount: slideMasters.length, required: options.requireSlideMaster === true });
165
+ await validatePptxStructureRelationships(zip, result, slideEntries);
166
+ const nativeTiming = await findNativeTiming(zip, slideEntries);
167
+ addCheck(result, 'pptx_native_timing', nativeTiming.totalTargets > 0 || !options.requireAnimationPlan, nativeTiming.totalTargets > 0
168
+ ? `PPTX contains native p:timing on ${nativeTiming.slides.length} slide(s).`
169
+ : 'PPTX contains no native p:timing animation targets.', { ...nativeTiming, requiredWhenAnimationPlanRequired: options.requireAnimationPlan === true });
170
+ const animationPart = await findAnimationPlan(zip);
171
+ const hasAnimation = Boolean(animationPart) || nativeTiming.totalTargets > 0;
172
+ addCheck(result, 'pptx_animation_plan', !options.requireAnimationPlan || hasAnimation, animationPart
173
+ ? `PPTX contains LingXiao animation plan at ${animationPart}.`
174
+ : nativeTiming.totalTargets > 0
175
+ ? 'PPTX contains native p:timing animation data.'
176
+ : 'PPTX contains no LingXiao animation plan or native p:timing animation data.', { animationPart, nativeTimingTargets: nativeTiming.totalTargets, required: options.requireAnimationPlan === true });
177
+ }
178
+ async function validatePdf(filePath, options, result) {
179
+ const buffer = readFileSync(filePath);
180
+ const hasHeader = buffer.subarray(0, 5).toString('latin1') === '%PDF-';
181
+ addCheck(result, 'pdf_header', hasHeader, hasHeader ? 'PDF header is present.' : 'PDF header is missing.', {
182
+ header: buffer.subarray(0, 8).toString('latin1'),
183
+ });
184
+ let parserText = '';
185
+ let parserPages;
186
+ let hasTextLayer;
187
+ try {
188
+ const parsed = await parseFile(filePath, 'full');
189
+ parserText = parsed.metadata?.plainText || parsed.content || '';
190
+ parserPages = parsed.metadata?.pages;
191
+ hasTextLayer = parsed.metadata?.hasTextLayer;
192
+ if (parsed.content.startsWith('PDF 解析失败')) {
193
+ result.warnings.push(`PDF parser could not extract text/page metadata: ${parsed.content}`);
194
+ }
195
+ }
196
+ catch (error) {
197
+ result.warnings.push(`PDF parser failed: ${error instanceof Error ? error.message : String(error)}`);
198
+ }
199
+ const roughPages = parserPages || countPdfPageObjects(buffer);
200
+ const pageValid = roughPages > 0
201
+ && (options.expectedPageCount === undefined || roughPages === options.expectedPageCount)
202
+ && (options.minPages === undefined || roughPages >= options.minPages);
203
+ addCheck(result, 'pdf_page_count', pageValid, `PDF rough page count is ${roughPages}.`, {
204
+ pages: roughPages,
205
+ expectedPageCount: options.expectedPageCount,
206
+ minPages: options.minPages,
207
+ source: parserPages ? 'parser' : 'page-object-scan',
208
+ });
209
+ if (options.expectedTexts?.length) {
210
+ const canVerifyText = hasTextLayer === true || (parserText.trim().length > 0 && !parserText.includes('未检测到文本层'));
211
+ if (canVerifyText) {
212
+ validateExpectedTexts(result, parserText, options.expectedTexts, 'expected_texts');
213
+ }
214
+ else {
215
+ result.warnings.push('PDF expected_texts could not be verified because no reliable text layer was detected; use OCR for scanned/image-only PDFs.');
216
+ addCheck(result, 'expected_texts', true, 'PDF text expectations were skipped with warning because text layer is unavailable.', {
217
+ expectedTexts: options.expectedTexts,
218
+ hasTextLayer,
219
+ });
220
+ }
221
+ }
222
+ }
223
+ function validateOoxmlBasics(zip, result, coreEntry) {
224
+ for (const entry of ['[Content_Types].xml', '_rels/.rels', coreEntry]) {
225
+ addCheck(result, `ooxml_entry_${entry}`, Boolean(zip.file(entry)), `${entry} ${zip.file(entry) ? 'exists' : 'is missing'}.`, { entry });
226
+ }
227
+ }
228
+ async function validateImageRelationships(zip, result, sourcePart, checkName) {
229
+ const relsPath = relationshipsPathForPart(sourcePart);
230
+ const relXml = await readZipText(zip, relsPath);
231
+ if (!relXml) {
232
+ addCheck(result, checkName, true, `No relationship part found for ${sourcePart}; no media links to validate.`, {
233
+ sourcePart,
234
+ relationshipsPart: relsPath,
235
+ imageRelationships: 0,
236
+ });
237
+ return { total: 0, missing: [] };
238
+ }
239
+ const relationships = parseRelationships(relXml).filter((rel) => rel.type && IMAGE_RELATIONSHIP.test(rel.type));
240
+ const missing = [];
241
+ const targets = [];
242
+ for (const rel of relationships) {
243
+ if (!rel.target || rel.targetMode?.toLowerCase() === 'external')
244
+ continue;
245
+ const target = resolveRelationshipTarget(sourcePart, rel.target);
246
+ if (!target) {
247
+ missing.push(rel.target);
248
+ continue;
249
+ }
250
+ targets.push(target);
251
+ if (!zip.file(target))
252
+ missing.push(target);
253
+ }
254
+ addCheck(result, checkName, missing.length === 0, missing.length === 0
255
+ ? `All ${relationships.length} image relationship target(s) exist.`
256
+ : `${missing.length} image relationship target(s) are missing.`, { sourcePart, relationshipsPart: relsPath, imageRelationships: relationships.length, targets, missing });
257
+ return { total: relationships.length, missing };
258
+ }
259
+ async function validatePptxStructureRelationships(zip, result, slideEntries) {
260
+ const slideLayoutRefs = await collectRelationshipTargets(zip, slideEntries, SLIDE_LAYOUT_RELATIONSHIP);
261
+ addCheck(result, 'pptx_slide_layout_relationships', slideLayoutRefs.missing.length === 0 && (slideLayoutRefs.total >= slideEntries.length || slideLayoutRefs.total === 0), slideLayoutRefs.missing.length === 0 && slideLayoutRefs.total > 0
262
+ ? `PPTX slide layout relationships are coherent (${slideLayoutRefs.total} found).`
263
+ : slideLayoutRefs.missing.length === 0
264
+ ? 'No slide layout relationships were found; minimal/custom PPTX structure accepted.'
265
+ : `${slideLayoutRefs.missing.length} slide layout relationship target(s) are missing.`, { slideCount: slideEntries.length, ...slideLayoutRefs });
266
+ const layoutEntries = Object.keys(zip.files).filter((name) => /^ppt\/slideLayouts\/slideLayout\d+\.xml$/i.test(name) && !zip.files[name].dir);
267
+ const slideMasterRefs = await collectRelationshipTargets(zip, layoutEntries, SLIDE_MASTER_RELATIONSHIP);
268
+ addCheck(result, 'pptx_slide_master_relationships', layoutEntries.length === 0 || (slideMasterRefs.missing.length === 0 && slideMasterRefs.total >= layoutEntries.length), slideMasterRefs.missing.length === 0
269
+ ? `PPTX slide master relationships are coherent (${slideMasterRefs.total} found).`
270
+ : `${slideMasterRefs.missing.length} slide master relationship target(s) are missing.`, { layoutCount: layoutEntries.length, ...slideMasterRefs });
271
+ const chartRefs = await collectRelationshipTargets(zip, slideEntries, CHART_RELATIONSHIP);
272
+ addCheck(result, 'pptx_chart_relationships', chartRefs.missing.length === 0, chartRefs.missing.length === 0
273
+ ? `PPTX chart relationships are coherent (${chartRefs.total} found).`
274
+ : `${chartRefs.missing.length} chart relationship target(s) are missing.`, chartRefs);
275
+ }
276
+ async function collectRelationshipTargets(zip, sourceParts, typePattern) {
277
+ const sources = [];
278
+ const targets = [];
279
+ const missing = [];
280
+ let total = 0;
281
+ for (const sourcePart of sourceParts) {
282
+ const relXml = await readZipText(zip, relationshipsPathForPart(sourcePart));
283
+ if (!relXml)
284
+ continue;
285
+ const relationships = parseRelationships(relXml).filter((rel) => rel.type && typePattern.test(rel.type));
286
+ if (relationships.length > 0)
287
+ sources.push(sourcePart);
288
+ total += relationships.length;
289
+ for (const rel of relationships) {
290
+ if (!rel.target || rel.targetMode?.toLowerCase() === 'external')
291
+ continue;
292
+ const target = resolveRelationshipTarget(sourcePart, rel.target);
293
+ if (!target) {
294
+ missing.push(rel.target);
295
+ continue;
296
+ }
297
+ targets.push(target);
298
+ if (!zip.file(target))
299
+ missing.push(target);
300
+ }
301
+ }
302
+ return { total, sources, targets, missing };
303
+ }
304
+ async function loadZip(filePath, result) {
305
+ try {
306
+ const zip = await JSZip.loadAsync(readFileSync(filePath));
307
+ addCheck(result, 'zip_readable', true, 'OOXML ZIP package is readable.');
308
+ return zip;
309
+ }
310
+ catch (error) {
311
+ addCheck(result, 'zip_readable', false, `OOXML ZIP package is not readable: ${error instanceof Error ? error.message : String(error)}`);
312
+ return null;
313
+ }
314
+ }
315
+ async function readZipText(zip, entry) {
316
+ const file = zip.file(entry);
317
+ if (!file)
318
+ return null;
319
+ return file.async('string');
320
+ }
321
+ function getSlideEntries(zip) {
322
+ return Object.keys(zip.files)
323
+ .filter((name) => /^ppt\/slides\/slide\d+\.xml$/i.test(name) && !zip.files[name].dir)
324
+ .sort((a, b) => Number(a.match(/slide(\d+)\.xml/i)?.[1] || 0) - Number(b.match(/slide(\d+)\.xml/i)?.[1] || 0));
325
+ }
326
+ function relationshipsPathForPart(partPath) {
327
+ const dir = pathPosix.dirname(partPath);
328
+ const file = pathPosix.basename(partPath);
329
+ return pathPosix.join(dir, '_rels', `${file}.rels`);
330
+ }
331
+ function resolveRelationshipTarget(sourcePart, target) {
332
+ if (/^[a-z][a-z0-9+.-]*:/i.test(target))
333
+ return null;
334
+ const normalized = target.startsWith('/')
335
+ ? pathPosix.normalize(target.slice(1))
336
+ : pathPosix.normalize(pathPosix.join(pathPosix.dirname(sourcePart), target));
337
+ if (normalized.startsWith('../') || normalized === '..')
338
+ return null;
339
+ return normalized;
340
+ }
341
+ function parseRelationships(xml) {
342
+ return Array.from(xml.matchAll(/<Relationship\b([^>]*?)\/?>/g)).map((match) => {
343
+ const attrs = parseAttributes(match[1]);
344
+ return {
345
+ id: attrs.Id,
346
+ type: attrs.Type,
347
+ target: attrs.Target,
348
+ targetMode: attrs.TargetMode,
349
+ };
350
+ });
351
+ }
352
+ function parseAttributes(value) {
353
+ const attrs = {};
354
+ for (const match of value.matchAll(/\b([A-Za-z_:][\w:.-]*)="([^"]*)"/g)) {
355
+ attrs[match[1]] = decodeXmlText(match[2]);
356
+ }
357
+ return attrs;
358
+ }
359
+ function extractWordText(xml) {
360
+ const parts = Array.from(xml.matchAll(/<w:t\b[^>]*>([\s\S]*?)<\/w:t>/g)).map((match) => decodeXmlText(match[1]));
361
+ return parts.join('');
362
+ }
363
+ function extractDrawingText(xml) {
364
+ return Array.from(xml.matchAll(/<a:t\b[^>]*>([\s\S]*?)<\/a:t>/g))
365
+ .map((match) => decodeXmlText(match[1]))
366
+ .join('\n');
367
+ }
368
+ function decodeXmlText(value) {
369
+ return value
370
+ .replace(/&#x([0-9a-f]+);/gi, (_, hex) => String.fromCodePoint(Number.parseInt(hex, 16)))
371
+ .replace(/&#(\d+);/g, (_, num) => String.fromCodePoint(Number.parseInt(num, 10)))
372
+ .replace(/&amp;/g, '&')
373
+ .replace(/&lt;/g, '<')
374
+ .replace(/&gt;/g, '>')
375
+ .replace(/&quot;/g, '"')
376
+ .replace(/&apos;/g, "'");
377
+ }
378
+ function validateExpectedTexts(result, text, expectedTexts, checkName) {
379
+ if (!expectedTexts?.length) {
380
+ addCheck(result, checkName, true, 'No expected texts were provided.');
381
+ return;
382
+ }
383
+ const missing = expectedTexts.filter((expected) => !containsText(text, expected));
384
+ addCheck(result, checkName, missing.length === 0, missing.length === 0 ? 'All expected texts were found.' : `${missing.length} expected text(s) were missing.`, { expectedTexts, missing, extractedCharacters: text.length });
385
+ }
386
+ function containsText(haystack, needle) {
387
+ if (haystack.includes(needle))
388
+ return true;
389
+ return normalizeText(haystack).includes(normalizeText(needle));
390
+ }
391
+ function normalizeText(value) {
392
+ return value.replace(/\s+/g, ' ').trim();
393
+ }
394
+ function countPdfPageObjects(buffer) {
395
+ const content = buffer.toString('latin1');
396
+ return Array.from(content.matchAll(/\/Type\s*\/Page\b/g)).length;
397
+ }
398
+ async function findAnimationPlan(zip) {
399
+ for (const name of Object.keys(zip.files)) {
400
+ if (!/^customXml\/item\d+\.xml$/i.test(name))
401
+ continue;
402
+ const xml = await readZipText(zip, name);
403
+ if (xml?.includes('lingxiao.pptx.animationPlan.v1'))
404
+ return name;
405
+ }
406
+ return null;
407
+ }
408
+ async function findNativeTiming(zip, slideEntries) {
409
+ const slides = [];
410
+ let totalTargets = 0;
411
+ let totalEffects = 0;
412
+ for (const entry of slideEntries) {
413
+ const xml = await readZipText(zip, entry);
414
+ const timing = xml?.match(/<p:timing\b[\s\S]*?<\/p:timing>/)?.[0];
415
+ if (!timing)
416
+ continue;
417
+ const targets = Array.from(timing.matchAll(/<p:spTgt\b[^>]*\bspid="([^"]+)"/g)).map((match) => decodeXmlText(match[1]));
418
+ const uniqueTargets = Array.from(new Set(targets));
419
+ const effects = Array.from(timing.matchAll(/<p:(?:animEffect|anim|animScale|animRot|set)\b/g)).length;
420
+ totalTargets += uniqueTargets.length;
421
+ totalEffects += effects;
422
+ slides.push({ slide: entry, targets: uniqueTargets, effects });
423
+ }
424
+ return { slides, totalTargets, totalEffects };
425
+ }
426
+ function validateOpenMatrix(filePath, result, options) {
427
+ const apps = options.openCheckApps?.length ? options.openCheckApps : ['libreoffice', 'wps', 'powerpoint'];
428
+ const adapterStatuses = [];
429
+ for (const app of apps) {
430
+ if (app === 'libreoffice') {
431
+ const executable = findExecutable(['soffice', 'libreoffice', 'libreoffice7.6', 'libreoffice7.5']);
432
+ if (!executable) {
433
+ const reason = 'LibreOffice/soffice command was not found on PATH.';
434
+ result.warnings.push(`${reason} LibreOffice PDF conversion check skipped.`);
435
+ adapterStatuses.push({ app, status: 'skipped', reason });
436
+ addCheck(result, 'open_matrix_libreoffice', true, 'LibreOffice PDF conversion check skipped because LibreOffice is unavailable.', {
437
+ app,
438
+ status: 'skipped',
439
+ available: false,
440
+ reason,
441
+ commandCandidates: ['soffice', 'libreoffice', 'libreoffice7.6', 'libreoffice7.5'],
442
+ platform: process.platform,
443
+ });
444
+ continue;
445
+ }
446
+ const outDir = mkdtempSync(join(tmpdir(), 'lingxiao-office-open-'));
447
+ try {
448
+ const args = ['--headless', '--convert-to', 'pdf', '--outdir', outDir, filePath];
449
+ const run = runCommand(executable, args, OPEN_CHECK_TIMEOUT_MS);
450
+ const expectedPdf = join(outDir, `${basename(filePath, extname(filePath))}.pdf`);
451
+ const pdfCheck = inspectGeneratedPdf(expectedPdf);
452
+ const ok = run.status === 0 && pdfCheck.exists && pdfCheck.bytes > 0 && pdfCheck.headerPresent && pdfCheck.pageCount > 0;
453
+ adapterStatuses.push({ app, status: 'executed', executable, elapsedMs: run.elapsedMs, reason: ok ? undefined : 'LibreOffice conversion did not produce a valid non-empty PDF.' });
454
+ addCheck(result, 'open_matrix_libreoffice_pdf', ok, ok ? 'LibreOffice opened the file and converted it to a valid PDF.' : 'LibreOffice failed to produce a valid PDF conversion.', {
455
+ app,
456
+ status: 'executed',
457
+ available: true,
458
+ executable,
459
+ command: [executable, ...args],
460
+ args,
461
+ processStatus: run.status,
462
+ signal: run.signal,
463
+ timedOut: run.timedOut,
464
+ elapsedMs: run.elapsedMs,
465
+ stdoutSummary: run.stdoutSummary,
466
+ stderrSummary: run.stderrSummary,
467
+ stdout: run.stdoutSummary,
468
+ stderr: run.stderrSummary,
469
+ error: run.error,
470
+ expectedPdf,
471
+ output: pdfCheck,
472
+ });
473
+ }
474
+ finally {
475
+ rmSync(outDir, { recursive: true, force: true });
476
+ }
477
+ }
478
+ else if (app === 'wps') {
479
+ const executable = findExecutable(['wps', 'wpp', 'et', 'wpsoffice']);
480
+ const commandCandidates = ['wps', 'wpp', 'et', 'wpsoffice'];
481
+ if (!executable) {
482
+ const reason = 'WPS command-line executable was not found on PATH.';
483
+ result.warnings.push(`${reason} WPS open check skipped.`);
484
+ adapterStatuses.push({ app, status: 'skipped', reason });
485
+ addCheck(result, 'open_matrix_wps', true, 'WPS open check skipped because WPS is unavailable.', {
486
+ app,
487
+ status: 'skipped',
488
+ available: false,
489
+ reason,
490
+ commandCandidates,
491
+ platform: process.platform,
492
+ });
493
+ }
494
+ else {
495
+ const reason = process.platform === 'linux'
496
+ ? 'WPS Linux exposes desktop-oriented commands, but no stable headless open/convert adapter is configured.'
497
+ : 'WPS executable was detected, but automated open verification is not configured for this platform.';
498
+ result.warnings.push(`${reason} WPS open check skipped.`);
499
+ adapterStatuses.push({ app, status: 'warning', executable, reason });
500
+ addCheck(result, 'open_matrix_wps', true, 'WPS executable detected but automated open verification was skipped with warning.', {
501
+ app,
502
+ status: 'warning',
503
+ available: true,
504
+ executable,
505
+ command: [executable],
506
+ commandCandidates,
507
+ reason,
508
+ platform: process.platform,
509
+ });
510
+ }
511
+ }
512
+ else if (app === 'powerpoint') {
513
+ const commandCandidates = process.platform === 'darwin'
514
+ ? ['osascript']
515
+ : ['powerpnt', 'POWERPNT.EXE'];
516
+ const executable = process.platform === 'linux' ? null : findExecutable(commandCandidates);
517
+ if (!executable) {
518
+ const reason = process.platform === 'linux'
519
+ ? 'PowerPoint desktop automation is unavailable on Linux.'
520
+ : 'PowerPoint automation command was not found on PATH.';
521
+ result.warnings.push(`${reason} PowerPoint open check skipped.`);
522
+ adapterStatuses.push({ app, status: 'skipped', reason });
523
+ addCheck(result, 'open_matrix_powerpoint', true, 'PowerPoint open check skipped because PowerPoint automation is unavailable.', {
524
+ app,
525
+ status: 'skipped',
526
+ available: false,
527
+ reason,
528
+ commandCandidates,
529
+ platform: process.platform,
530
+ });
531
+ }
532
+ else {
533
+ const reason = 'PowerPoint executable was detected, but automated open verification is not configured in this runtime.';
534
+ result.warnings.push(`${reason} PowerPoint open check skipped.`);
535
+ adapterStatuses.push({ app, status: 'warning', executable, reason });
536
+ addCheck(result, 'open_matrix_powerpoint', true, 'PowerPoint executable detected but automated open verification was skipped with warning.', {
537
+ app,
538
+ status: 'warning',
539
+ available: true,
540
+ executable,
541
+ command: [executable],
542
+ commandCandidates,
543
+ reason,
544
+ platform: process.platform,
545
+ });
546
+ }
547
+ }
548
+ }
549
+ addCheck(result, 'open_matrix_summary', true, `Open matrix completed; executed adapters: ${adapterStatuses.filter((item) => item.status === 'executed').map((item) => item.app).join(', ') || 'none'}.`, {
550
+ requested: apps,
551
+ adapters: adapterStatuses,
552
+ executed: adapterStatuses.filter((item) => item.status === 'executed').map((item) => item.app),
553
+ skipped: adapterStatuses.filter((item) => item.status === 'skipped').map((item) => item.app),
554
+ warnings: adapterStatuses.filter((item) => item.status === 'warning').map((item) => item.app),
555
+ });
556
+ }
557
+ function findExecutable(names) {
558
+ for (const name of names) {
559
+ const first = resolveCommandPath(name);
560
+ if (first)
561
+ return first;
562
+ }
563
+ return null;
564
+ }
565
+ function quoteCmdArg(value) {
566
+ return `"${value.replace(/"/g, '""').replace(/%/g, '%%')}"`;
567
+ }
568
+ export function buildWindowsBatchCommand(executable, args) {
569
+ return ['call', quoteCmdArg(executable), ...args.map(quoteCmdArg)].join(' ');
570
+ }
571
+ function runCommand(executable, args, timeoutMs) {
572
+ const started = Date.now();
573
+ const windowsBatch = process.platform === 'win32' && /\.(?:bat|cmd)$/i.test(executable);
574
+ const proc = windowsBatch ? spawnSync('cmd.exe', ['/d', '/s', '/c', buildWindowsBatchCommand(executable, args)], {
575
+ encoding: 'utf-8',
576
+ timeout: timeoutMs,
577
+ ...hiddenSpawnOpts(),
578
+ }) : spawnSync(executable, args, {
579
+ encoding: 'utf-8',
580
+ timeout: timeoutMs,
581
+ ...hiddenSpawnOpts(),
582
+ });
583
+ const elapsedMs = Date.now() - started;
584
+ return {
585
+ executable,
586
+ args,
587
+ status: proc.status,
588
+ signal: proc.signal,
589
+ stdout: proc.stdout ?? '',
590
+ stderr: proc.stderr ?? '',
591
+ stdoutSummary: summarizeOutput(proc.stdout ?? ''),
592
+ stderrSummary: summarizeOutput(proc.stderr ?? ''),
593
+ elapsedMs,
594
+ timedOut: proc.error instanceof Error && (proc.error.name === 'TimeoutError' || 'code' in proc.error && proc.error.code === 'ETIMEDOUT'),
595
+ error: proc.error instanceof Error ? proc.error.message : undefined,
596
+ };
597
+ }
598
+ function inspectGeneratedPdf(filePath) {
599
+ if (!existsSync(filePath)) {
600
+ return { exists: false, bytes: 0, headerPresent: false, pageCount: 0 };
601
+ }
602
+ const buffer = readFileSync(filePath);
603
+ return {
604
+ exists: true,
605
+ bytes: buffer.length,
606
+ headerPresent: buffer.subarray(0, 5).toString('latin1') === '%PDF-',
607
+ pageCount: countPdfPageObjects(buffer),
608
+ };
609
+ }
610
+ function summarizeOutput(value) {
611
+ const normalized = value.replace(/\s+/g, ' ').trim();
612
+ if (normalized.length <= OUTPUT_SUMMARY_LIMIT)
613
+ return normalized;
614
+ return `${normalized.slice(0, OUTPUT_SUMMARY_LIMIT)}...`;
615
+ }
616
+ function normalizeFormat(format, filePath) {
617
+ if (format === 'docx' || format === 'pptx' || format === 'pdf')
618
+ return format;
619
+ const ext = extname(filePath).toLowerCase();
620
+ if (ext === '.docx')
621
+ return 'docx';
622
+ if (ext === '.pptx')
623
+ return 'pptx';
624
+ if (ext === '.pdf')
625
+ return 'pdf';
626
+ return 'unknown';
627
+ }
628
+ function createResult(format) {
629
+ return {
630
+ valid: false,
631
+ format,
632
+ checks: [],
633
+ errors: [],
634
+ warnings: [],
635
+ summary: '',
636
+ };
637
+ }
638
+ function addCheck(result, name, valid, message, details) {
639
+ result.checks.push({ name, valid, message, ...(details ? { details } : {}) });
640
+ if (!valid)
641
+ result.errors.push(`${name}: ${message}`);
642
+ }
643
+ function finish(result) {
644
+ result.valid = result.errors.length === 0;
645
+ const failed = result.checks.filter((check) => !check.valid).length;
646
+ const passed = result.checks.length - failed;
647
+ result.summary = result.valid
648
+ ? `${result.format.toUpperCase()} validation passed (${passed}/${result.checks.length} checks).`
649
+ : `${result.format.toUpperCase()} validation failed (${failed}/${result.checks.length} checks failed).`;
650
+ }
651
+ //# sourceMappingURL=OfficeValidator.js.map