@nexus-cortex/executors 4.26.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 (365) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +2 -0
  3. package/README.md +13 -0
  4. package/dist/ExecutorRegistry.d.ts +89 -0
  5. package/dist/ExecutorRegistry.d.ts.map +1 -0
  6. package/dist/ExecutorRegistry.js +219 -0
  7. package/dist/ExecutorRegistry.js.map +1 -0
  8. package/dist/base/BaseTool.d.ts +108 -0
  9. package/dist/base/BaseTool.d.ts.map +1 -0
  10. package/dist/base/BaseTool.js +111 -0
  11. package/dist/base/BaseTool.js.map +1 -0
  12. package/dist/base/ToolRegistry.d.ts +141 -0
  13. package/dist/base/ToolRegistry.d.ts.map +1 -0
  14. package/dist/base/ToolRegistry.js +241 -0
  15. package/dist/base/ToolRegistry.js.map +1 -0
  16. package/dist/base/ToolResult.d.ts +63 -0
  17. package/dist/base/ToolResult.d.ts.map +1 -0
  18. package/dist/base/ToolResult.js +8 -0
  19. package/dist/base/ToolResult.js.map +1 -0
  20. package/dist/base/index.d.ts +10 -0
  21. package/dist/base/index.d.ts.map +1 -0
  22. package/dist/base/index.js +8 -0
  23. package/dist/base/index.js.map +1 -0
  24. package/dist/implementations/addon/CreateArtifactTool.d.ts +221 -0
  25. package/dist/implementations/addon/CreateArtifactTool.d.ts.map +1 -0
  26. package/dist/implementations/addon/CreateArtifactTool.js +1042 -0
  27. package/dist/implementations/addon/CreateArtifactTool.js.map +1 -0
  28. package/dist/implementations/addon/FrameDiffCache.d.ts +166 -0
  29. package/dist/implementations/addon/FrameDiffCache.d.ts.map +1 -0
  30. package/dist/implementations/addon/FrameDiffCache.js +395 -0
  31. package/dist/implementations/addon/FrameDiffCache.js.map +1 -0
  32. package/dist/implementations/addon/H264StreamEncoder.d.ts +84 -0
  33. package/dist/implementations/addon/H264StreamEncoder.d.ts.map +1 -0
  34. package/dist/implementations/addon/H264StreamEncoder.js +203 -0
  35. package/dist/implementations/addon/H264StreamEncoder.js.map +1 -0
  36. package/dist/implementations/addon/HybridScreenshotManager.d.ts +197 -0
  37. package/dist/implementations/addon/HybridScreenshotManager.d.ts.map +1 -0
  38. package/dist/implementations/addon/HybridScreenshotManager.js +415 -0
  39. package/dist/implementations/addon/HybridScreenshotManager.js.map +1 -0
  40. package/dist/implementations/addon/InspectSandboxTool.d.ts +54 -0
  41. package/dist/implementations/addon/InspectSandboxTool.d.ts.map +1 -0
  42. package/dist/implementations/addon/InspectSandboxTool.js +226 -0
  43. package/dist/implementations/addon/InspectSandboxTool.js.map +1 -0
  44. package/dist/implementations/addon/InteractWithSandboxTool.d.ts +90 -0
  45. package/dist/implementations/addon/InteractWithSandboxTool.d.ts.map +1 -0
  46. package/dist/implementations/addon/InteractWithSandboxTool.js +367 -0
  47. package/dist/implementations/addon/InteractWithSandboxTool.js.map +1 -0
  48. package/dist/implementations/addon/KeyframeDetector.d.ts +140 -0
  49. package/dist/implementations/addon/KeyframeDetector.d.ts.map +1 -0
  50. package/dist/implementations/addon/KeyframeDetector.js +390 -0
  51. package/dist/implementations/addon/KeyframeDetector.js.map +1 -0
  52. package/dist/implementations/addon/ModifySandboxTool.d.ts +62 -0
  53. package/dist/implementations/addon/ModifySandboxTool.d.ts.map +1 -0
  54. package/dist/implementations/addon/ModifySandboxTool.js +266 -0
  55. package/dist/implementations/addon/ModifySandboxTool.js.map +1 -0
  56. package/dist/implementations/addon/ReactArtifactBuilder.d.ts +27 -0
  57. package/dist/implementations/addon/ReactArtifactBuilder.d.ts.map +1 -0
  58. package/dist/implementations/addon/ReactArtifactBuilder.js +198 -0
  59. package/dist/implementations/addon/ReactArtifactBuilder.js.map +1 -0
  60. package/dist/implementations/addon/SandboxEventBroadcaster.d.ts +143 -0
  61. package/dist/implementations/addon/SandboxEventBroadcaster.d.ts.map +1 -0
  62. package/dist/implementations/addon/SandboxEventBroadcaster.js +258 -0
  63. package/dist/implementations/addon/SandboxEventBroadcaster.js.map +1 -0
  64. package/dist/implementations/addon/SandboxIntrospectionTools.d.ts +77 -0
  65. package/dist/implementations/addon/SandboxIntrospectionTools.d.ts.map +1 -0
  66. package/dist/implementations/addon/SandboxIntrospectionTools.js +292 -0
  67. package/dist/implementations/addon/SandboxIntrospectionTools.js.map +1 -0
  68. package/dist/implementations/addon/SandboxViewServer.d.ts +127 -0
  69. package/dist/implementations/addon/SandboxViewServer.d.ts.map +1 -0
  70. package/dist/implementations/addon/SandboxViewServer.js +775 -0
  71. package/dist/implementations/addon/SandboxViewServer.js.map +1 -0
  72. package/dist/implementations/addon/ScreenStream.d.ts +149 -0
  73. package/dist/implementations/addon/ScreenStream.d.ts.map +1 -0
  74. package/dist/implementations/addon/ScreenStream.js +306 -0
  75. package/dist/implementations/addon/ScreenStream.js.map +1 -0
  76. package/dist/implementations/addon/StopSandboxTool.d.ts +61 -0
  77. package/dist/implementations/addon/StopSandboxTool.d.ts.map +1 -0
  78. package/dist/implementations/addon/StopSandboxTool.js +252 -0
  79. package/dist/implementations/addon/StopSandboxTool.js.map +1 -0
  80. package/dist/implementations/addon/TerminalSandbox.d.ts +111 -0
  81. package/dist/implementations/addon/TerminalSandbox.d.ts.map +1 -0
  82. package/dist/implementations/addon/TerminalSandbox.js +345 -0
  83. package/dist/implementations/addon/TerminalSandbox.js.map +1 -0
  84. package/dist/implementations/addon/VisualFeedbackBridge.d.ts +367 -0
  85. package/dist/implementations/addon/VisualFeedbackBridge.d.ts.map +1 -0
  86. package/dist/implementations/addon/VisualFeedbackBridge.js +888 -0
  87. package/dist/implementations/addon/VisualFeedbackBridge.js.map +1 -0
  88. package/dist/implementations/addon/WindowManager.d.ts +138 -0
  89. package/dist/implementations/addon/WindowManager.d.ts.map +1 -0
  90. package/dist/implementations/addon/WindowManager.js +276 -0
  91. package/dist/implementations/addon/WindowManager.js.map +1 -0
  92. package/dist/implementations/addon/index.d.ts +29 -0
  93. package/dist/implementations/addon/index.d.ts.map +1 -0
  94. package/dist/implementations/addon/index.js +29 -0
  95. package/dist/implementations/addon/index.js.map +1 -0
  96. package/dist/implementations/addon/injectables/reactIntrospection.d.ts +57 -0
  97. package/dist/implementations/addon/injectables/reactIntrospection.d.ts.map +1 -0
  98. package/dist/implementations/addon/injectables/reactIntrospection.js +480 -0
  99. package/dist/implementations/addon/injectables/reactIntrospection.js.map +1 -0
  100. package/dist/implementations/addon/terminal-client.html +253 -0
  101. package/dist/implementations/agent/PRAgentTool.d.ts +37 -0
  102. package/dist/implementations/agent/PRAgentTool.d.ts.map +1 -0
  103. package/dist/implementations/agent/PRAgentTool.js +257 -0
  104. package/dist/implementations/agent/PRAgentTool.js.map +1 -0
  105. package/dist/implementations/agent/TaskTool.d.ts +76 -0
  106. package/dist/implementations/agent/TaskTool.d.ts.map +1 -0
  107. package/dist/implementations/agent/TaskTool.js +424 -0
  108. package/dist/implementations/agent/TaskTool.js.map +1 -0
  109. package/dist/implementations/agent/index.d.ts +5 -0
  110. package/dist/implementations/agent/index.d.ts.map +1 -0
  111. package/dist/implementations/agent/index.js +3 -0
  112. package/dist/implementations/agent/index.js.map +1 -0
  113. package/dist/implementations/execution/BackgroundProcessRegistry.d.ts +68 -0
  114. package/dist/implementations/execution/BackgroundProcessRegistry.d.ts.map +1 -0
  115. package/dist/implementations/execution/BackgroundProcessRegistry.js +146 -0
  116. package/dist/implementations/execution/BackgroundProcessRegistry.js.map +1 -0
  117. package/dist/implementations/execution/BashOutputTool.d.ts +42 -0
  118. package/dist/implementations/execution/BashOutputTool.d.ts.map +1 -0
  119. package/dist/implementations/execution/BashOutputTool.js +168 -0
  120. package/dist/implementations/execution/BashOutputTool.js.map +1 -0
  121. package/dist/implementations/execution/CodeExecuteTool.d.ts +31 -0
  122. package/dist/implementations/execution/CodeExecuteTool.d.ts.map +1 -0
  123. package/dist/implementations/execution/CodeExecuteTool.js +127 -0
  124. package/dist/implementations/execution/CodeExecuteTool.js.map +1 -0
  125. package/dist/implementations/execution/KillShellTool.d.ts +37 -0
  126. package/dist/implementations/execution/KillShellTool.d.ts.map +1 -0
  127. package/dist/implementations/execution/KillShellTool.js +144 -0
  128. package/dist/implementations/execution/KillShellTool.js.map +1 -0
  129. package/dist/implementations/execution/SearchToolsTool.d.ts +32 -0
  130. package/dist/implementations/execution/SearchToolsTool.d.ts.map +1 -0
  131. package/dist/implementations/execution/SearchToolsTool.js +109 -0
  132. package/dist/implementations/execution/SearchToolsTool.js.map +1 -0
  133. package/dist/implementations/execution/ShellTool.d.ts +108 -0
  134. package/dist/implementations/execution/ShellTool.d.ts.map +1 -0
  135. package/dist/implementations/execution/ShellTool.js +546 -0
  136. package/dist/implementations/execution/ShellTool.js.map +1 -0
  137. package/dist/implementations/execution/WorkspaceManagerTool.d.ts +40 -0
  138. package/dist/implementations/execution/WorkspaceManagerTool.d.ts.map +1 -0
  139. package/dist/implementations/execution/WorkspaceManagerTool.js +370 -0
  140. package/dist/implementations/execution/WorkspaceManagerTool.js.map +1 -0
  141. package/dist/implementations/execution/index.d.ts +13 -0
  142. package/dist/implementations/execution/index.d.ts.map +1 -0
  143. package/dist/implementations/execution/index.js +13 -0
  144. package/dist/implementations/execution/index.js.map +1 -0
  145. package/dist/implementations/extensions/EndTurnTool.d.ts +62 -0
  146. package/dist/implementations/extensions/EndTurnTool.d.ts.map +1 -0
  147. package/dist/implementations/extensions/EndTurnTool.js +172 -0
  148. package/dist/implementations/extensions/EndTurnTool.js.map +1 -0
  149. package/dist/implementations/extensions/ResearchBacklogTool.d.ts +37 -0
  150. package/dist/implementations/extensions/ResearchBacklogTool.d.ts.map +1 -0
  151. package/dist/implementations/extensions/ResearchBacklogTool.js +102 -0
  152. package/dist/implementations/extensions/ResearchBacklogTool.js.map +1 -0
  153. package/dist/implementations/extensions/SkillTool.d.ts +108 -0
  154. package/dist/implementations/extensions/SkillTool.d.ts.map +1 -0
  155. package/dist/implementations/extensions/SkillTool.js +351 -0
  156. package/dist/implementations/extensions/SkillTool.js.map +1 -0
  157. package/dist/implementations/extensions/SlashCommandTool.d.ts +112 -0
  158. package/dist/implementations/extensions/SlashCommandTool.d.ts.map +1 -0
  159. package/dist/implementations/extensions/SlashCommandTool.js +315 -0
  160. package/dist/implementations/extensions/SlashCommandTool.js.map +1 -0
  161. package/dist/implementations/extensions/index.d.ts +14 -0
  162. package/dist/implementations/extensions/index.d.ts.map +1 -0
  163. package/dist/implementations/extensions/index.js +10 -0
  164. package/dist/implementations/extensions/index.js.map +1 -0
  165. package/dist/implementations/file/EditTool.d.ts +232 -0
  166. package/dist/implementations/file/EditTool.d.ts.map +1 -0
  167. package/dist/implementations/file/EditTool.js +707 -0
  168. package/dist/implementations/file/EditTool.js.map +1 -0
  169. package/dist/implementations/file/ReadFileTool.d.ts +49 -0
  170. package/dist/implementations/file/ReadFileTool.d.ts.map +1 -0
  171. package/dist/implementations/file/ReadFileTool.js +225 -0
  172. package/dist/implementations/file/ReadFileTool.js.map +1 -0
  173. package/dist/implementations/file/WriteBinaryTool.d.ts +21 -0
  174. package/dist/implementations/file/WriteBinaryTool.d.ts.map +1 -0
  175. package/dist/implementations/file/WriteBinaryTool.js +153 -0
  176. package/dist/implementations/file/WriteBinaryTool.js.map +1 -0
  177. package/dist/implementations/file/WriteFileTool.d.ts +41 -0
  178. package/dist/implementations/file/WriteFileTool.d.ts.map +1 -0
  179. package/dist/implementations/file/WriteFileTool.js +220 -0
  180. package/dist/implementations/file/WriteFileTool.js.map +1 -0
  181. package/dist/implementations/file/index.d.ts +8 -0
  182. package/dist/implementations/file/index.d.ts.map +1 -0
  183. package/dist/implementations/file/index.js +8 -0
  184. package/dist/implementations/file/index.js.map +1 -0
  185. package/dist/implementations/historical/GetConversationSegmentTool.d.ts +44 -0
  186. package/dist/implementations/historical/GetConversationSegmentTool.d.ts.map +1 -0
  187. package/dist/implementations/historical/GetConversationSegmentTool.js +220 -0
  188. package/dist/implementations/historical/GetConversationSegmentTool.js.map +1 -0
  189. package/dist/implementations/historical/ListCompactionBoundariesTool.d.ts +36 -0
  190. package/dist/implementations/historical/ListCompactionBoundariesTool.d.ts.map +1 -0
  191. package/dist/implementations/historical/ListCompactionBoundariesTool.js +174 -0
  192. package/dist/implementations/historical/ListCompactionBoundariesTool.js.map +1 -0
  193. package/dist/implementations/historical/ListSessionsTool.d.ts +38 -0
  194. package/dist/implementations/historical/ListSessionsTool.d.ts.map +1 -0
  195. package/dist/implementations/historical/ListSessionsTool.js +140 -0
  196. package/dist/implementations/historical/ListSessionsTool.js.map +1 -0
  197. package/dist/implementations/historical/LoadSessionTool.d.ts +39 -0
  198. package/dist/implementations/historical/LoadSessionTool.d.ts.map +1 -0
  199. package/dist/implementations/historical/LoadSessionTool.js +171 -0
  200. package/dist/implementations/historical/LoadSessionTool.js.map +1 -0
  201. package/dist/implementations/historical/RequestHistoricalContextTool.d.ts +46 -0
  202. package/dist/implementations/historical/RequestHistoricalContextTool.d.ts.map +1 -0
  203. package/dist/implementations/historical/RequestHistoricalContextTool.js +224 -0
  204. package/dist/implementations/historical/RequestHistoricalContextTool.js.map +1 -0
  205. package/dist/implementations/historical/SearchConversationHistoryTool.d.ts +51 -0
  206. package/dist/implementations/historical/SearchConversationHistoryTool.d.ts.map +1 -0
  207. package/dist/implementations/historical/SearchConversationHistoryTool.js +306 -0
  208. package/dist/implementations/historical/SearchConversationHistoryTool.js.map +1 -0
  209. package/dist/implementations/historical/index.d.ts +12 -0
  210. package/dist/implementations/historical/index.d.ts.map +1 -0
  211. package/dist/implementations/historical/index.js +12 -0
  212. package/dist/implementations/historical/index.js.map +1 -0
  213. package/dist/implementations/index.d.ts +16 -0
  214. package/dist/implementations/index.d.ts.map +1 -0
  215. package/dist/implementations/index.js +28 -0
  216. package/dist/implementations/index.js.map +1 -0
  217. package/dist/implementations/mcp/DiscoveredMcpTool.d.ts +58 -0
  218. package/dist/implementations/mcp/DiscoveredMcpTool.d.ts.map +1 -0
  219. package/dist/implementations/mcp/DiscoveredMcpTool.js +269 -0
  220. package/dist/implementations/mcp/DiscoveredMcpTool.js.map +1 -0
  221. package/dist/implementations/mcp/index.d.ts +9 -0
  222. package/dist/implementations/mcp/index.d.ts.map +1 -0
  223. package/dist/implementations/mcp/index.js +8 -0
  224. package/dist/implementations/mcp/index.js.map +1 -0
  225. package/dist/implementations/notebook/NotebookEditTool.d.ts +96 -0
  226. package/dist/implementations/notebook/NotebookEditTool.d.ts.map +1 -0
  227. package/dist/implementations/notebook/NotebookEditTool.js +390 -0
  228. package/dist/implementations/notebook/NotebookEditTool.js.map +1 -0
  229. package/dist/implementations/notebook/index.d.ts +7 -0
  230. package/dist/implementations/notebook/index.d.ts.map +1 -0
  231. package/dist/implementations/notebook/index.js +7 -0
  232. package/dist/implementations/notebook/index.js.map +1 -0
  233. package/dist/implementations/search/GlobTool.d.ts +73 -0
  234. package/dist/implementations/search/GlobTool.d.ts.map +1 -0
  235. package/dist/implementations/search/GlobTool.js +213 -0
  236. package/dist/implementations/search/GlobTool.js.map +1 -0
  237. package/dist/implementations/search/GrepTool.d.ts +102 -0
  238. package/dist/implementations/search/GrepTool.d.ts.map +1 -0
  239. package/dist/implementations/search/GrepTool.js +754 -0
  240. package/dist/implementations/search/GrepTool.js.map +1 -0
  241. package/dist/implementations/search/index.d.ts +6 -0
  242. package/dist/implementations/search/index.d.ts.map +1 -0
  243. package/dist/implementations/search/index.js +6 -0
  244. package/dist/implementations/search/index.js.map +1 -0
  245. package/dist/implementations/tmux/TmuxSessionTool.d.ts +82 -0
  246. package/dist/implementations/tmux/TmuxSessionTool.d.ts.map +1 -0
  247. package/dist/implementations/tmux/TmuxSessionTool.js +371 -0
  248. package/dist/implementations/tmux/TmuxSessionTool.js.map +1 -0
  249. package/dist/implementations/tmux/TmuxViewServer.d.ts +86 -0
  250. package/dist/implementations/tmux/TmuxViewServer.d.ts.map +1 -0
  251. package/dist/implementations/tmux/TmuxViewServer.js +480 -0
  252. package/dist/implementations/tmux/TmuxViewServer.js.map +1 -0
  253. package/dist/implementations/tmux/index.d.ts +6 -0
  254. package/dist/implementations/tmux/index.d.ts.map +1 -0
  255. package/dist/implementations/tmux/index.js +6 -0
  256. package/dist/implementations/tmux/index.js.map +1 -0
  257. package/dist/implementations/ui/AskUserQuestionTool.d.ts +77 -0
  258. package/dist/implementations/ui/AskUserQuestionTool.d.ts.map +1 -0
  259. package/dist/implementations/ui/AskUserQuestionTool.js +241 -0
  260. package/dist/implementations/ui/AskUserQuestionTool.js.map +1 -0
  261. package/dist/implementations/ui/ExitPlanModeTool.d.ts +44 -0
  262. package/dist/implementations/ui/ExitPlanModeTool.d.ts.map +1 -0
  263. package/dist/implementations/ui/ExitPlanModeTool.js +150 -0
  264. package/dist/implementations/ui/ExitPlanModeTool.js.map +1 -0
  265. package/dist/implementations/ui/TodoWriteTool.d.ts +59 -0
  266. package/dist/implementations/ui/TodoWriteTool.d.ts.map +1 -0
  267. package/dist/implementations/ui/TodoWriteTool.js +315 -0
  268. package/dist/implementations/ui/TodoWriteTool.js.map +1 -0
  269. package/dist/implementations/ui/index.d.ts +9 -0
  270. package/dist/implementations/ui/index.d.ts.map +1 -0
  271. package/dist/implementations/ui/index.js +9 -0
  272. package/dist/implementations/ui/index.js.map +1 -0
  273. package/dist/implementations/web/BrowseTool.d.ts +43 -0
  274. package/dist/implementations/web/BrowseTool.d.ts.map +1 -0
  275. package/dist/implementations/web/BrowseTool.js +181 -0
  276. package/dist/implementations/web/BrowseTool.js.map +1 -0
  277. package/dist/implementations/web/SandboxTransferTool.d.ts +30 -0
  278. package/dist/implementations/web/SandboxTransferTool.d.ts.map +1 -0
  279. package/dist/implementations/web/SandboxTransferTool.js +261 -0
  280. package/dist/implementations/web/SandboxTransferTool.js.map +1 -0
  281. package/dist/implementations/web/WebFetchTool.d.ts +93 -0
  282. package/dist/implementations/web/WebFetchTool.d.ts.map +1 -0
  283. package/dist/implementations/web/WebFetchTool.js +484 -0
  284. package/dist/implementations/web/WebFetchTool.js.map +1 -0
  285. package/dist/implementations/web/WebSearchTool.d.ts +53 -0
  286. package/dist/implementations/web/WebSearchTool.d.ts.map +1 -0
  287. package/dist/implementations/web/WebSearchTool.js +227 -0
  288. package/dist/implementations/web/WebSearchTool.js.map +1 -0
  289. package/dist/implementations/web/escalateDirective.d.ts +11 -0
  290. package/dist/implementations/web/escalateDirective.d.ts.map +1 -0
  291. package/dist/implementations/web/escalateDirective.js +20 -0
  292. package/dist/implementations/web/escalateDirective.js.map +1 -0
  293. package/dist/implementations/web/index.d.ts +10 -0
  294. package/dist/implementations/web/index.d.ts.map +1 -0
  295. package/dist/implementations/web/index.js +10 -0
  296. package/dist/implementations/web/index.js.map +1 -0
  297. package/dist/implementations/web/webBackends.d.ts +65 -0
  298. package/dist/implementations/web/webBackends.d.ts.map +1 -0
  299. package/dist/implementations/web/webBackends.js +430 -0
  300. package/dist/implementations/web/webBackends.js.map +1 -0
  301. package/dist/implementations/web/webFetchRequestInit.d.ts +9 -0
  302. package/dist/implementations/web/webFetchRequestInit.d.ts.map +1 -0
  303. package/dist/implementations/web/webFetchRequestInit.js +21 -0
  304. package/dist/implementations/web/webFetchRequestInit.js.map +1 -0
  305. package/dist/index.d.ts +14 -0
  306. package/dist/index.d.ts.map +1 -0
  307. package/dist/index.js +18 -0
  308. package/dist/index.js.map +1 -0
  309. package/dist/utils/ArtifactRegistry.d.ts +138 -0
  310. package/dist/utils/ArtifactRegistry.d.ts.map +1 -0
  311. package/dist/utils/ArtifactRegistry.js +259 -0
  312. package/dist/utils/ArtifactRegistry.js.map +1 -0
  313. package/dist/utils/ChromiumBrowserManager.d.ts +56 -0
  314. package/dist/utils/ChromiumBrowserManager.d.ts.map +1 -0
  315. package/dist/utils/ChromiumBrowserManager.js +243 -0
  316. package/dist/utils/ChromiumBrowserManager.js.map +1 -0
  317. package/dist/utils/FileUtils.d.ts +81 -0
  318. package/dist/utils/FileUtils.d.ts.map +1 -0
  319. package/dist/utils/FileUtils.js +148 -0
  320. package/dist/utils/FileUtils.js.map +1 -0
  321. package/dist/utils/GitPolicy.d.ts +70 -0
  322. package/dist/utils/GitPolicy.d.ts.map +1 -0
  323. package/dist/utils/GitPolicy.js +166 -0
  324. package/dist/utils/GitPolicy.js.map +1 -0
  325. package/dist/utils/GitUtils.d.ts +18 -0
  326. package/dist/utils/GitUtils.d.ts.map +1 -0
  327. package/dist/utils/GitUtils.js +62 -0
  328. package/dist/utils/GitUtils.js.map +1 -0
  329. package/dist/utils/SandboxRegistry.d.ts +110 -0
  330. package/dist/utils/SandboxRegistry.d.ts.map +1 -0
  331. package/dist/utils/SandboxRegistry.js +220 -0
  332. package/dist/utils/SandboxRegistry.js.map +1 -0
  333. package/dist/utils/SchemaValidator.d.ts +21 -0
  334. package/dist/utils/SchemaValidator.d.ts.map +1 -0
  335. package/dist/utils/SchemaValidator.js +67 -0
  336. package/dist/utils/SchemaValidator.js.map +1 -0
  337. package/dist/utils/SessionLock.d.ts +96 -0
  338. package/dist/utils/SessionLock.d.ts.map +1 -0
  339. package/dist/utils/SessionLock.js +276 -0
  340. package/dist/utils/SessionLock.js.map +1 -0
  341. package/dist/utils/SessionPersistence.d.ts +89 -0
  342. package/dist/utils/SessionPersistence.d.ts.map +1 -0
  343. package/dist/utils/SessionPersistence.js +244 -0
  344. package/dist/utils/SessionPersistence.js.map +1 -0
  345. package/dist/utils/TextUtils.d.ts +77 -0
  346. package/dist/utils/TextUtils.d.ts.map +1 -0
  347. package/dist/utils/TextUtils.js +112 -0
  348. package/dist/utils/TextUtils.js.map +1 -0
  349. package/dist/utils/TmuxCapture.d.ts +94 -0
  350. package/dist/utils/TmuxCapture.d.ts.map +1 -0
  351. package/dist/utils/TmuxCapture.js +131 -0
  352. package/dist/utils/TmuxCapture.js.map +1 -0
  353. package/dist/utils/TmuxManager.d.ts +65 -0
  354. package/dist/utils/TmuxManager.d.ts.map +1 -0
  355. package/dist/utils/TmuxManager.js +304 -0
  356. package/dist/utils/TmuxManager.js.map +1 -0
  357. package/dist/utils/autoResearchPlanGate.d.ts +10 -0
  358. package/dist/utils/autoResearchPlanGate.d.ts.map +1 -0
  359. package/dist/utils/autoResearchPlanGate.js +57 -0
  360. package/dist/utils/autoResearchPlanGate.js.map +1 -0
  361. package/dist/utils/index.d.ts +19 -0
  362. package/dist/utils/index.d.ts.map +1 -0
  363. package/dist/utils/index.js +13 -0
  364. package/dist/utils/index.js.map +1 -0
  365. package/package.json +83 -0
@@ -0,0 +1,367 @@
1
+ /**
2
+ * Visual Feedback Bridge
3
+ *
4
+ * Enables the MODEL to see and interact with tools it creates.
5
+ *
6
+ * Flow:
7
+ * 1. Model creates tool → UI spins up
8
+ * 2. Bridge captures screenshot/DOM
9
+ * 3. Returns visual data to model
10
+ * 4. Model analyzes output
11
+ * 5. Model edits code or spawns interaction agent
12
+ * 6. Hot reload applies changes
13
+ * 7. Repeat until satisfied
14
+ */
15
+ import { Page } from 'playwright';
16
+ export interface VisualBridgeConfig {
17
+ headless?: boolean;
18
+ slowMo?: number;
19
+ userDataDir?: string;
20
+ executablePath?: string;
21
+ }
22
+ export interface VisualSnapshot {
23
+ screenshot: string;
24
+ dom: string;
25
+ console: string[];
26
+ network: NetworkRequest[];
27
+ performance: PerformanceMetrics;
28
+ accessibility: AccessibilityTree;
29
+ react?: FrameworkReport;
30
+ }
31
+ /** detect_framework-compatible report (same schema as the nexus-browser MCP tool). */
32
+ export interface FrameworkReport {
33
+ react: boolean;
34
+ reactVersion: string | null;
35
+ next: boolean;
36
+ remix: boolean;
37
+ gatsby: boolean;
38
+ vue: boolean;
39
+ svelte: boolean;
40
+ angular: boolean;
41
+ compiler: boolean;
42
+ hasDevTools: boolean;
43
+ rendererCount: number;
44
+ heavyLibraries: string[];
45
+ }
46
+ export interface NetworkRequest {
47
+ url: string;
48
+ method: string;
49
+ status: number;
50
+ timing: number;
51
+ }
52
+ export interface PerformanceMetrics {
53
+ loadTime: number;
54
+ renderTime: number;
55
+ memoryUsage: number;
56
+ }
57
+ export interface AccessibilityTree {
58
+ roles: string[];
59
+ labels: string[];
60
+ structure: any;
61
+ }
62
+ export interface PageState {
63
+ buttons: Array<{
64
+ text: string | null;
65
+ id: string;
66
+ className: string;
67
+ disabled: boolean;
68
+ visible: boolean;
69
+ position: DOMRect;
70
+ }>;
71
+ inputs: Array<{
72
+ type: string;
73
+ name: string;
74
+ id: string;
75
+ value: string;
76
+ placeholder: string;
77
+ required: boolean;
78
+ disabled: boolean;
79
+ }>;
80
+ forms: Array<{
81
+ id: string;
82
+ name: string;
83
+ action: string;
84
+ method: string;
85
+ elements: number;
86
+ }>;
87
+ links: Array<{
88
+ text: string | null;
89
+ href: string;
90
+ target: string;
91
+ }>;
92
+ meta: {
93
+ title: string;
94
+ url: string;
95
+ referrer: string;
96
+ readyState: string;
97
+ };
98
+ storage: {
99
+ localStorage: Record<string, any>;
100
+ sessionStorage: Record<string, any>;
101
+ cookies: string;
102
+ };
103
+ resources: {
104
+ scripts: Array<{
105
+ src: string;
106
+ type: string;
107
+ async: boolean;
108
+ defer: boolean;
109
+ }>;
110
+ stylesheets: Array<{
111
+ href: string;
112
+ disabled: boolean;
113
+ }>;
114
+ };
115
+ viewport: {
116
+ width: number;
117
+ height: number;
118
+ scrollX: number;
119
+ scrollY: number;
120
+ scrollHeight: number;
121
+ scrollWidth: number;
122
+ };
123
+ }
124
+ export interface JavaScriptError {
125
+ message: string;
126
+ stack: string;
127
+ timestamp: number;
128
+ }
129
+ export interface DetailedPerformanceMetrics {
130
+ scriptDuration: number;
131
+ layoutDuration: number;
132
+ recalcStyleDuration: number;
133
+ taskDuration: number;
134
+ jsHeapUsedSize: number;
135
+ jsHeapTotalSize: number;
136
+ domNodes: number;
137
+ layoutCount: number;
138
+ recalcStyleCount: number;
139
+ }
140
+ export interface ComprehensiveSnapshot {
141
+ url: string;
142
+ timestamp: number;
143
+ visual: {
144
+ screenshot: string;
145
+ viewport: PageState['viewport'];
146
+ };
147
+ structural: {
148
+ dom: string;
149
+ pageState: PageState;
150
+ accessibility: AccessibilityTree;
151
+ };
152
+ runtime: {
153
+ console: string[];
154
+ network: NetworkRequest[];
155
+ performance: DetailedPerformanceMetrics;
156
+ };
157
+ }
158
+ export interface InteractionCommand {
159
+ type: 'click' | 'type' | 'navigate' | 'scroll' | 'select' | 'hover' | 'keypress' | 'zoom';
160
+ selector?: string;
161
+ value?: string;
162
+ coordinates?: {
163
+ x: number;
164
+ y: number;
165
+ };
166
+ key?: string;
167
+ modifiers?: string[];
168
+ zoomLevel?: number;
169
+ deltaX?: number;
170
+ deltaY?: number;
171
+ }
172
+ /**
173
+ * Visual Feedback Bridge
174
+ *
175
+ * Allows model to:
176
+ * - See its creations (screenshot + DOM)
177
+ * - Interact with UI (Playwright automation)
178
+ * - Iterate rapidly (hot reload + visual diff)
179
+ * - Delegate to sub-agents (complex interactions)
180
+ */
181
+ export declare class VisualFeedbackBridge {
182
+ private browser;
183
+ private page;
184
+ private consoleLogs;
185
+ private networkRequests;
186
+ private reactIntrospection;
187
+ /**
188
+ * Enable React introspection for all SUBSEQUENT navigations: installs the
189
+ * DevTools-hook shim + fiber utilities via addInitScript (must run before the
190
+ * page's React loads — addInitScript guarantees pre-script execution).
191
+ * Idempotent; safe to call lazily because captureSnapshot/sandboxScan/etc.
192
+ * always navigate after this.
193
+ */
194
+ enableReactIntrospection(): Promise<void>;
195
+ isReactIntrospectionEnabled(): boolean;
196
+ /** Ensure the page is on the given URL (navigates only when needed). */
197
+ private ensureOnUrl;
198
+ /**
199
+ * Wait for React to have committed at least once (the introspection commit hook sets
200
+ * __lastRoot) — runs even when ensureOnUrl did NOT navigate, so a tree/scan/grab/trace
201
+ * call on an already-loaded page doesn't race a still-mounting app. No-op for non-React.
202
+ */
203
+ private awaitReactReady;
204
+ /** Is a render trace currently active on the live page? (no navigation) */
205
+ isTraceActive(): Promise<boolean>;
206
+ /** detect_framework against the given sandbox URL (nexus-browser schema). */
207
+ sandboxDetect(url: string): Promise<FrameworkReport>;
208
+ /**
209
+ * Element discovery (nexus-browser scan contract): elements carry a unique
210
+ * cssSelector + isInteractive/relevanceScore, and componentName on React pages.
211
+ */
212
+ sandboxScan(url: string, args?: Record<string, unknown>): Promise<any>;
213
+ /**
214
+ * Single-element query by selector or coordinates (nexus-browser grab contract),
215
+ * auto-enriched with react:{componentName,componentStack,props,sourceLocation}.
216
+ */
217
+ sandboxGrab(url: string, args: Record<string, unknown>): Promise<any>;
218
+ /** Component hierarchy of the React tree (component-tree role). */
219
+ sandboxComponentTree(url: string, args?: Record<string, unknown>): Promise<any>;
220
+ /** Begin a render trace (react-scan role). Resets + enables the commit interceptor. */
221
+ sandboxTraceStart(url: string): Promise<any>;
222
+ /** Stop (or peek) a render trace and return per-component render counts/timings. */
223
+ sandboxTraceReport(url: string, args?: Record<string, unknown>): Promise<any>;
224
+ /**
225
+ * Initialize browser for visual feedback
226
+ * @param config Optional configuration for browser launch
227
+ */
228
+ initialize(config?: VisualBridgeConfig): Promise<void>;
229
+ /**
230
+ * Get the Playwright page instance
231
+ */
232
+ getPage(): Page | null;
233
+ /**
234
+ * Navigate to a URL
235
+ */
236
+ navigate(url: string): Promise<void>;
237
+ /**
238
+ * Capture screenshot of current page
239
+ */
240
+ captureScreenshot(): Promise<Buffer>;
241
+ /**
242
+ * Navigate to tool URL and capture snapshot
243
+ */
244
+ captureSnapshot(url: string): Promise<VisualSnapshot>;
245
+ /**
246
+ * Capture accessibility tree for semantic understanding
247
+ */
248
+ private captureAccessibilityTree;
249
+ /**
250
+ * Execute interaction command
251
+ */
252
+ interact(command: InteractionCommand): Promise<void>;
253
+ /**
254
+ * Press keyboard key or key combination
255
+ * @param key Key to press ('Enter', 'Escape', 'a', 'Ctrl+V', etc.)
256
+ * @param modifiers Optional modifier keys (['Control', 'Shift', 'Alt', 'Meta'])
257
+ */
258
+ keyPress(key: string, modifiers?: string[]): Promise<void>;
259
+ /**
260
+ * Scroll the page
261
+ * @param delta Scroll delta { deltaX, deltaY }
262
+ */
263
+ scroll(delta: {
264
+ deltaX?: number;
265
+ deltaY?: number;
266
+ }): Promise<void>;
267
+ /**
268
+ * Zoom the page
269
+ * @param level Zoom level (1.0 = 100%, 1.5 = 150%, 0.5 = 50%)
270
+ */
271
+ zoom(level: number): Promise<void>;
272
+ /**
273
+ * Copy text to clipboard
274
+ * @param text Text to copy to clipboard
275
+ */
276
+ copyToClipboard(text: string): Promise<void>;
277
+ /**
278
+ * Get text from clipboard
279
+ * @returns Text from clipboard
280
+ */
281
+ getClipboard(): Promise<string>;
282
+ /**
283
+ * Paste text from clipboard at current focus
284
+ * Combines clipboard.writeText() with Ctrl+V keypress
285
+ * @param text Text to paste
286
+ */
287
+ paste(text: string): Promise<void>;
288
+ /**
289
+ * Execute JavaScript code in page context
290
+ * Much faster than visual parsing for data extraction
291
+ *
292
+ * @param code JavaScript code to execute (string or function)
293
+ * @returns Result of the execution
294
+ *
295
+ * @example
296
+ * // Get all button texts
297
+ * const buttons = await executeJS(() => {
298
+ * return Array.from(document.querySelectorAll('button'))
299
+ * .map(b => b.textContent);
300
+ * });
301
+ */
302
+ executeJS<T = any>(code: string | (() => T | Promise<T>)): Promise<T>;
303
+ /**
304
+ * Execute JavaScript with arguments
305
+ * @param fn Function to execute in page context
306
+ * @param args Arguments to pass to the function
307
+ */
308
+ executeJSWithArgs<T = any>(fn: any, ...args: any[]): Promise<T>;
309
+ /**
310
+ * Get complete page state including JavaScript runtime data
311
+ * Much faster and more comprehensive than visual parsing
312
+ */
313
+ getPageState(): Promise<PageState>;
314
+ /**
315
+ * Get JavaScript errors from the page
316
+ * Uses Chrome DevTools Protocol for deep inspection
317
+ */
318
+ getJavaScriptErrors(): Promise<JavaScriptError[]>;
319
+ /**
320
+ * Enable Chrome DevTools Protocol for advanced debugging
321
+ * Returns CDP session for direct protocol access
322
+ */
323
+ enableDevTools(): Promise<any>;
324
+ /**
325
+ * Get detailed performance metrics from browser
326
+ * Uses Chrome DevTools Protocol Performance domain
327
+ */
328
+ getDetailedPerformanceMetrics(): Promise<DetailedPerformanceMetrics>;
329
+ /**
330
+ * Comprehensive parallel analysis - visual + structural + performance
331
+ * Runs all analysis types simultaneously for maximum speed
332
+ */
333
+ comprehensiveAnalysis(): Promise<ComprehensiveSnapshot>;
334
+ /**
335
+ * Execute batch of interactions
336
+ */
337
+ interactBatch(commands: InteractionCommand[]): Promise<VisualSnapshot>;
338
+ /**
339
+ * Extract structured data from page
340
+ */
341
+ extractData(selector?: string): Promise<any>;
342
+ /**
343
+ * Get visual diff between snapshots
344
+ */
345
+ compareSnapshots(before: VisualSnapshot, after: VisualSnapshot): Promise<{
346
+ imageDiff: string;
347
+ domDiff: string[];
348
+ behaviorDiff: string[];
349
+ }>;
350
+ /**
351
+ * Cleanup
352
+ */
353
+ close(): Promise<void>;
354
+ /**
355
+ * Format snapshot for model consumption
356
+ */
357
+ formatForModel(snapshot: VisualSnapshot): string;
358
+ /**
359
+ * Simplify DOM for model understanding
360
+ */
361
+ private simplifyDOM;
362
+ }
363
+ /**
364
+ * Singleton instance
365
+ */
366
+ export declare const visualBridge: VisualFeedbackBridge;
367
+ //# sourceMappingURL=VisualFeedbackBridge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VisualFeedbackBridge.d.ts","sourceRoot":"","sources":["../../../src/implementations/addon/VisualFeedbackBridge.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAqB,IAAI,EAAE,MAAM,YAAY,CAAC;AAMrD,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,cAAc,EAAE,CAAC;IAC1B,WAAW,EAAE,kBAAkB,CAAC;IAChC,aAAa,EAAE,iBAAiB,CAAC;IACjC,KAAK,CAAC,EAAE,e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