donobu 2.22.0 → 2.23.1

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 (399) hide show
  1. package/dist/apis/FlowsApi.js +2 -2
  2. package/dist/apis/FlowsApi.js.map +1 -1
  3. package/dist/apis/ToolsApi.js +2 -5
  4. package/dist/apis/ToolsApi.js.map +1 -1
  5. package/dist/assets/generated/version +1 -1
  6. package/dist/bindings/PageInteractionTracker.d.ts.map +1 -1
  7. package/dist/bindings/PageInteractionTracker.js +17 -12
  8. package/dist/bindings/PageInteractionTracker.js.map +1 -1
  9. package/dist/bindings/ProposeToolCall.d.ts.map +1 -1
  10. package/dist/bindings/ProposeToolCall.js +6 -1
  11. package/dist/bindings/ProposeToolCall.js.map +1 -1
  12. package/dist/bindings/{ToggleDonobuAnnotations.d.ts → SetDonobuAnnotations.d.ts} +1 -1
  13. package/dist/bindings/SetDonobuAnnotations.d.ts.map +1 -0
  14. package/dist/{esm/bindings/ToggleDonobuAnnotations.js → bindings/SetDonobuAnnotations.js} +7 -2
  15. package/dist/bindings/SetDonobuAnnotations.js.map +1 -0
  16. package/dist/esm/apis/FlowsApi.js +2 -2
  17. package/dist/esm/apis/FlowsApi.js.map +1 -1
  18. package/dist/esm/apis/ToolsApi.js +2 -5
  19. package/dist/esm/apis/ToolsApi.js.map +1 -1
  20. package/dist/esm/assets/generated/version +1 -1
  21. package/dist/esm/bindings/PageInteractionTracker.d.ts.map +1 -1
  22. package/dist/esm/bindings/PageInteractionTracker.js +17 -12
  23. package/dist/esm/bindings/PageInteractionTracker.js.map +1 -1
  24. package/dist/esm/bindings/ProposeToolCall.d.ts.map +1 -1
  25. package/dist/esm/bindings/ProposeToolCall.js +6 -1
  26. package/dist/esm/bindings/ProposeToolCall.js.map +1 -1
  27. package/dist/esm/bindings/{ToggleDonobuAnnotations.d.ts → SetDonobuAnnotations.d.ts} +1 -1
  28. package/dist/esm/bindings/SetDonobuAnnotations.d.ts.map +1 -0
  29. package/dist/{bindings/ToggleDonobuAnnotations.js → esm/bindings/SetDonobuAnnotations.js} +7 -2
  30. package/dist/esm/bindings/SetDonobuAnnotations.js.map +1 -0
  31. package/dist/esm/lib/DonobuExtendedPage.d.ts +12 -0
  32. package/dist/esm/lib/DonobuExtendedPage.d.ts.map +1 -1
  33. package/dist/esm/lib/testExtension.d.ts.map +1 -1
  34. package/dist/esm/lib/testExtension.js +54 -2
  35. package/dist/esm/lib/testExtension.js.map +1 -1
  36. package/dist/esm/managers/DonobuFlow.d.ts +0 -2
  37. package/dist/esm/managers/DonobuFlow.d.ts.map +1 -1
  38. package/dist/esm/managers/DonobuFlow.js +55 -61
  39. package/dist/esm/managers/DonobuFlow.js.map +1 -1
  40. package/dist/esm/managers/DonobuFlowsManager.d.ts.map +1 -1
  41. package/dist/esm/managers/DonobuFlowsManager.js +6 -0
  42. package/dist/esm/managers/DonobuFlowsManager.js.map +1 -1
  43. package/dist/esm/managers/PageInspector.d.ts +26 -2
  44. package/dist/esm/managers/PageInspector.d.ts.map +1 -1
  45. package/dist/esm/managers/PageInspector.js +115 -4
  46. package/dist/esm/managers/PageInspector.js.map +1 -1
  47. package/dist/esm/models/FlowMetadata.d.ts +0 -2
  48. package/dist/esm/models/FlowMetadata.d.ts.map +1 -1
  49. package/dist/esm/models/FlowMetadata.js +12 -7
  50. package/dist/esm/models/FlowMetadata.js.map +1 -1
  51. package/dist/esm/models/InteractableElement.d.ts +1 -0
  52. package/dist/esm/models/InteractableElement.d.ts.map +1 -1
  53. package/dist/esm/models/InteractableElement.js +9 -0
  54. package/dist/esm/models/InteractableElement.js.map +1 -1
  55. package/dist/esm/tools/ChooseSelectOptionTool.js +1 -1
  56. package/dist/esm/tools/ChooseSelectOptionTool.js.map +1 -1
  57. package/dist/esm/tools/ClickTool.js +2 -2
  58. package/dist/esm/tools/ClickTool.js.map +1 -1
  59. package/dist/esm/tools/DownloadPdfTool.js +1 -1
  60. package/dist/esm/tools/DownloadPdfTool.js.map +1 -1
  61. package/dist/esm/tools/HoverOverElementTool.js +1 -1
  62. package/dist/esm/tools/HoverOverElementTool.js.map +1 -1
  63. package/dist/esm/tools/InputRandomizedEmailAddressTool.js +1 -1
  64. package/dist/esm/tools/InputRandomizedEmailAddressTool.js.map +1 -1
  65. package/dist/esm/tools/InputTextTool.js +1 -1
  66. package/dist/esm/tools/InputTextTool.js.map +1 -1
  67. package/dist/esm/tools/PressKeyTool.js +1 -1
  68. package/dist/esm/tools/PressKeyTool.js.map +1 -1
  69. package/dist/esm/tools/ReplayableInteraction.d.ts +3 -1
  70. package/dist/esm/tools/ReplayableInteraction.d.ts.map +1 -1
  71. package/dist/esm/tools/ReplayableInteraction.js +19 -5
  72. package/dist/esm/tools/ReplayableInteraction.js.map +1 -1
  73. package/dist/esm/tools/SolveMfaChallenge.js +1 -1
  74. package/dist/esm/tools/SolveMfaChallenge.js.map +1 -1
  75. package/dist/esm/utils/PlaywrightUtils.d.ts +1 -2
  76. package/dist/esm/utils/PlaywrightUtils.d.ts.map +1 -1
  77. package/dist/esm/utils/PlaywrightUtils.js +1 -2
  78. package/dist/esm/utils/PlaywrightUtils.js.map +1 -1
  79. package/dist/lib/DonobuExtendedPage.d.ts +12 -0
  80. package/dist/lib/DonobuExtendedPage.d.ts.map +1 -1
  81. package/dist/lib/testExtension.d.ts.map +1 -1
  82. package/dist/lib/testExtension.js +54 -2
  83. package/dist/lib/testExtension.js.map +1 -1
  84. package/dist/managers/DonobuFlow.d.ts +0 -2
  85. package/dist/managers/DonobuFlow.d.ts.map +1 -1
  86. package/dist/managers/DonobuFlow.js +55 -61
  87. package/dist/managers/DonobuFlow.js.map +1 -1
  88. package/dist/managers/DonobuFlowsManager.d.ts.map +1 -1
  89. package/dist/managers/DonobuFlowsManager.js +6 -0
  90. package/dist/managers/DonobuFlowsManager.js.map +1 -1
  91. package/dist/managers/PageInspector.d.ts +26 -2
  92. package/dist/managers/PageInspector.d.ts.map +1 -1
  93. package/dist/managers/PageInspector.js +115 -4
  94. package/dist/managers/PageInspector.js.map +1 -1
  95. package/dist/models/FlowMetadata.d.ts +0 -2
  96. package/dist/models/FlowMetadata.d.ts.map +1 -1
  97. package/dist/models/FlowMetadata.js +12 -7
  98. package/dist/models/FlowMetadata.js.map +1 -1
  99. package/dist/models/InteractableElement.d.ts +1 -0
  100. package/dist/models/InteractableElement.d.ts.map +1 -1
  101. package/dist/models/InteractableElement.js +9 -0
  102. package/dist/models/InteractableElement.js.map +1 -1
  103. package/dist/tools/ChooseSelectOptionTool.js +1 -1
  104. package/dist/tools/ChooseSelectOptionTool.js.map +1 -1
  105. package/dist/tools/ClickTool.js +2 -2
  106. package/dist/tools/ClickTool.js.map +1 -1
  107. package/dist/tools/DownloadPdfTool.js +1 -1
  108. package/dist/tools/DownloadPdfTool.js.map +1 -1
  109. package/dist/tools/HoverOverElementTool.js +1 -1
  110. package/dist/tools/HoverOverElementTool.js.map +1 -1
  111. package/dist/tools/InputRandomizedEmailAddressTool.js +1 -1
  112. package/dist/tools/InputRandomizedEmailAddressTool.js.map +1 -1
  113. package/dist/tools/InputTextTool.js +1 -1
  114. package/dist/tools/InputTextTool.js.map +1 -1
  115. package/dist/tools/PressKeyTool.js +1 -1
  116. package/dist/tools/PressKeyTool.js.map +1 -1
  117. package/dist/tools/ReplayableInteraction.d.ts +3 -1
  118. package/dist/tools/ReplayableInteraction.d.ts.map +1 -1
  119. package/dist/tools/ReplayableInteraction.js +19 -5
  120. package/dist/tools/ReplayableInteraction.js.map +1 -1
  121. package/dist/tools/SolveMfaChallenge.js +1 -1
  122. package/dist/tools/SolveMfaChallenge.js.map +1 -1
  123. package/dist/utils/PlaywrightUtils.d.ts +1 -2
  124. package/dist/utils/PlaywrightUtils.d.ts.map +1 -1
  125. package/dist/utils/PlaywrightUtils.js +1 -2
  126. package/dist/utils/PlaywrightUtils.js.map +1 -1
  127. package/package.json +1 -1
  128. package/dist/apis/EnvironmentDataApi.d.ts +0 -26
  129. package/dist/apis/EnvironmentDataApi.d.ts.map +0 -1
  130. package/dist/apis/EnvironmentDataApi.js +0 -59
  131. package/dist/apis/EnvironmentDataApi.js.map +0 -1
  132. package/dist/assets/donobu-virtual-mouse.svg +0 -11
  133. package/dist/assets/donobu.css +0 -62
  134. package/dist/assets/generated/parameter-schemas.json +0 -2241
  135. package/dist/assets/record.umd.min.cjs +0 -10399
  136. package/dist/bindings/FocusPage.d.ts +0 -23
  137. package/dist/bindings/FocusPage.d.ts.map +0 -1
  138. package/dist/bindings/FocusPage.js +0 -20
  139. package/dist/bindings/FocusPage.js.map +0 -1
  140. package/dist/bindings/ToggleDonobuAnnotations.d.ts.map +0 -1
  141. package/dist/bindings/ToggleDonobuAnnotations.js.map +0 -1
  142. package/dist/esm/apis/EnvironmentDataApi.d.ts +0 -26
  143. package/dist/esm/apis/EnvironmentDataApi.d.ts.map +0 -1
  144. package/dist/esm/apis/EnvironmentDataApi.js +0 -59
  145. package/dist/esm/apis/EnvironmentDataApi.js.map +0 -1
  146. package/dist/esm/assets/donobu-virtual-mouse.svg +0 -11
  147. package/dist/esm/assets/donobu.css +0 -62
  148. package/dist/esm/assets/generated/parameter-schemas.json +0 -2241
  149. package/dist/esm/assets/record.umd.min.cjs +0 -10399
  150. package/dist/esm/bindings/FocusPage.d.ts +0 -23
  151. package/dist/esm/bindings/FocusPage.d.ts.map +0 -1
  152. package/dist/esm/bindings/FocusPage.js +0 -20
  153. package/dist/esm/bindings/FocusPage.js.map +0 -1
  154. package/dist/esm/bindings/ToggleDonobuAnnotations.d.ts.map +0 -1
  155. package/dist/esm/bindings/ToggleDonobuAnnotations.js.map +0 -1
  156. package/dist/esm/lib/constants.d.ts +0 -8
  157. package/dist/esm/lib/constants.d.ts.map +0 -1
  158. package/dist/esm/lib/constants.js +0 -14
  159. package/dist/esm/lib/constants.js.map +0 -1
  160. package/dist/esm/lib/fixtures/testExtension.d.ts +0 -10
  161. package/dist/esm/lib/fixtures/testExtension.d.ts.map +0 -1
  162. package/dist/esm/lib/fixtures/testExtension.js +0 -383
  163. package/dist/esm/lib/fixtures/testExtension.js.map +0 -1
  164. package/dist/esm/lib/types.d.ts +0 -106
  165. package/dist/esm/lib/types.d.ts.map +0 -1
  166. package/dist/esm/lib/types.js +0 -3
  167. package/dist/esm/lib/types.js.map +0 -1
  168. package/dist/esm/managers/EnvironmentDataManager.d.ts +0 -58
  169. package/dist/esm/managers/EnvironmentDataManager.d.ts.map +0 -1
  170. package/dist/esm/managers/EnvironmentDataManager.js +0 -134
  171. package/dist/esm/managers/EnvironmentDataManager.js.map +0 -1
  172. package/dist/esm/managers/ProjectStructureGenerator.d.ts +0 -62
  173. package/dist/esm/managers/ProjectStructureGenerator.d.ts.map +0 -1
  174. package/dist/esm/managers/ProjectStructureGenerator.js +0 -234
  175. package/dist/esm/managers/ProjectStructureGenerator.js.map +0 -1
  176. package/dist/esm/managers/TestFileUpdater.d.ts +0 -56
  177. package/dist/esm/managers/TestFileUpdater.d.ts.map +0 -1
  178. package/dist/esm/managers/TestFileUpdater.js +0 -224
  179. package/dist/esm/managers/TestFileUpdater.js.map +0 -1
  180. package/dist/esm/models/AskAiRequest.d.ts +0 -15
  181. package/dist/esm/models/AskAiRequest.d.ts.map +0 -1
  182. package/dist/esm/models/AskAiRequest.js +0 -3
  183. package/dist/esm/models/AskAiRequest.js.map +0 -1
  184. package/dist/esm/models/BaseToolGptParameters.d.ts +0 -10
  185. package/dist/esm/models/BaseToolGptParameters.d.ts.map +0 -1
  186. package/dist/esm/models/BaseToolGptParameters.js +0 -3
  187. package/dist/esm/models/BaseToolGptParameters.js.map +0 -1
  188. package/dist/esm/models/BrowserFramework.d.ts +0 -61
  189. package/dist/esm/models/BrowserFramework.d.ts.map +0 -1
  190. package/dist/esm/models/BrowserFramework.js +0 -339
  191. package/dist/esm/models/BrowserFramework.js.map +0 -1
  192. package/dist/esm/models/EnvironmentDatum.d.ts +0 -54
  193. package/dist/esm/models/EnvironmentDatum.d.ts.map +0 -1
  194. package/dist/esm/models/EnvironmentDatum.js +0 -57
  195. package/dist/esm/models/EnvironmentDatum.js.map +0 -1
  196. package/dist/esm/models/FlowsQuery.d.ts +0 -12
  197. package/dist/esm/models/FlowsQuery.d.ts.map +0 -1
  198. package/dist/esm/models/FlowsQuery.js +0 -3
  199. package/dist/esm/models/FlowsQuery.js.map +0 -1
  200. package/dist/esm/persistence/AgentsPersistence.d.ts +0 -12
  201. package/dist/esm/persistence/AgentsPersistence.d.ts.map +0 -1
  202. package/dist/esm/persistence/AgentsPersistence.js +0 -3
  203. package/dist/esm/persistence/AgentsPersistence.js.map +0 -1
  204. package/dist/esm/persistence/AgentsPersistenceSqlite.d.ts +0 -15
  205. package/dist/esm/persistence/AgentsPersistenceSqlite.d.ts.map +0 -1
  206. package/dist/esm/persistence/AgentsPersistenceSqlite.js +0 -50
  207. package/dist/esm/persistence/AgentsPersistenceSqlite.js.map +0 -1
  208. package/dist/esm/persistence/AgentsPersistenceVolatile.d.ts +0 -14
  209. package/dist/esm/persistence/AgentsPersistenceVolatile.d.ts.map +0 -1
  210. package/dist/esm/persistence/AgentsPersistenceVolatile.js +0 -26
  211. package/dist/esm/persistence/AgentsPersistenceVolatile.js.map +0 -1
  212. package/dist/esm/persistence/FlowsPersistence.d.ts +0 -104
  213. package/dist/esm/persistence/FlowsPersistence.d.ts.map +0 -1
  214. package/dist/esm/persistence/FlowsPersistence.js +0 -3
  215. package/dist/esm/persistence/FlowsPersistence.js.map +0 -1
  216. package/dist/esm/persistence/FlowsPersistenceAwsS3.d.ts +0 -75
  217. package/dist/esm/persistence/FlowsPersistenceAwsS3.d.ts.map +0 -1
  218. package/dist/esm/persistence/FlowsPersistenceAwsS3.js +0 -525
  219. package/dist/esm/persistence/FlowsPersistenceAwsS3.js.map +0 -1
  220. package/dist/esm/persistence/FlowsPersistenceFactory.d.ts +0 -10
  221. package/dist/esm/persistence/FlowsPersistenceFactory.d.ts.map +0 -1
  222. package/dist/esm/persistence/FlowsPersistenceFactory.js +0 -3
  223. package/dist/esm/persistence/FlowsPersistenceFactory.js.map +0 -1
  224. package/dist/esm/persistence/FlowsPersistenceFactoryImpl.d.ts +0 -57
  225. package/dist/esm/persistence/FlowsPersistenceFactoryImpl.d.ts.map +0 -1
  226. package/dist/esm/persistence/FlowsPersistenceFactoryImpl.js +0 -235
  227. package/dist/esm/persistence/FlowsPersistenceFactoryImpl.js.map +0 -1
  228. package/dist/esm/persistence/FlowsPersistenceFactoryPreset.d.ts +0 -13
  229. package/dist/esm/persistence/FlowsPersistenceFactoryPreset.d.ts.map +0 -1
  230. package/dist/esm/persistence/FlowsPersistenceFactoryPreset.js +0 -24
  231. package/dist/esm/persistence/FlowsPersistenceFactoryPreset.js.map +0 -1
  232. package/dist/esm/persistence/FlowsPersistenceFilesystem.d.ts +0 -69
  233. package/dist/esm/persistence/FlowsPersistenceFilesystem.d.ts.map +0 -1
  234. package/dist/esm/persistence/FlowsPersistenceFilesystem.js +0 -381
  235. package/dist/esm/persistence/FlowsPersistenceFilesystem.js.map +0 -1
  236. package/dist/esm/persistence/FlowsPersistenceGoogleCloudStorage.d.ts +0 -75
  237. package/dist/esm/persistence/FlowsPersistenceGoogleCloudStorage.d.ts.map +0 -1
  238. package/dist/esm/persistence/FlowsPersistenceGoogleCloudStorage.js +0 -485
  239. package/dist/esm/persistence/FlowsPersistenceGoogleCloudStorage.js.map +0 -1
  240. package/dist/esm/persistence/FlowsPersistenceSqlite.d.ts +0 -44
  241. package/dist/esm/persistence/FlowsPersistenceSqlite.d.ts.map +0 -1
  242. package/dist/esm/persistence/FlowsPersistenceSqlite.js +0 -264
  243. package/dist/esm/persistence/FlowsPersistenceSqlite.js.map +0 -1
  244. package/dist/esm/persistence/FlowsPersistenceSupabase.d.ts +0 -44
  245. package/dist/esm/persistence/FlowsPersistenceSupabase.d.ts.map +0 -1
  246. package/dist/esm/persistence/FlowsPersistenceSupabase.js +0 -262
  247. package/dist/esm/persistence/FlowsPersistenceSupabase.js.map +0 -1
  248. package/dist/esm/persistence/FlowsPersistenceVolatile.d.ts +0 -41
  249. package/dist/esm/persistence/FlowsPersistenceVolatile.d.ts.map +0 -1
  250. package/dist/esm/persistence/FlowsPersistenceVolatile.js +0 -171
  251. package/dist/esm/persistence/FlowsPersistenceVolatile.js.map +0 -1
  252. package/dist/esm/persistence/GptConfigsPersistence.d.ts +0 -12
  253. package/dist/esm/persistence/GptConfigsPersistence.d.ts.map +0 -1
  254. package/dist/esm/persistence/GptConfigsPersistence.js +0 -3
  255. package/dist/esm/persistence/GptConfigsPersistence.js.map +0 -1
  256. package/dist/esm/persistence/GptConfigsPersistenceSqlite.d.ts +0 -13
  257. package/dist/esm/persistence/GptConfigsPersistenceSqlite.d.ts.map +0 -1
  258. package/dist/esm/persistence/GptConfigsPersistenceSqlite.js +0 -35
  259. package/dist/esm/persistence/GptConfigsPersistenceSqlite.js.map +0 -1
  260. package/dist/esm/persistence/GptConfigsPersistenceVolatile.d.ts +0 -15
  261. package/dist/esm/persistence/GptConfigsPersistenceVolatile.d.ts.map +0 -1
  262. package/dist/esm/persistence/GptConfigsPersistenceVolatile.js +0 -31
  263. package/dist/esm/persistence/GptConfigsPersistenceVolatile.js.map +0 -1
  264. package/dist/esm/playwrightTestExtensions.d.ts +0 -155
  265. package/dist/esm/playwrightTestExtensions.d.ts.map +0 -1
  266. package/dist/esm/playwrightTestExtensions.js +0 -688
  267. package/dist/esm/playwrightTestExtensions.js.map +0 -1
  268. package/dist/esm/utils/ToolsPluginsLoader.d.ts +0 -52
  269. package/dist/esm/utils/ToolsPluginsLoader.d.ts.map +0 -1
  270. package/dist/esm/utils/ToolsPluginsLoader.js +0 -301
  271. package/dist/esm/utils/ToolsPluginsLoader.js.map +0 -1
  272. package/dist/lib/autoTest.d.ts +0 -2
  273. package/dist/lib/autoTest.d.ts.map +0 -1
  274. package/dist/lib/autoTest.js +0 -17
  275. package/dist/lib/autoTest.js.map +0 -1
  276. package/dist/lib/constants.d.ts +0 -8
  277. package/dist/lib/constants.d.ts.map +0 -1
  278. package/dist/lib/constants.js +0 -14
  279. package/dist/lib/constants.js.map +0 -1
  280. package/dist/lib/fixtures/testExtension.d.ts +0 -10
  281. package/dist/lib/fixtures/testExtension.d.ts.map +0 -1
  282. package/dist/lib/fixtures/testExtension.js +0 -383
  283. package/dist/lib/fixtures/testExtension.js.map +0 -1
  284. package/dist/lib/types.d.ts +0 -106
  285. package/dist/lib/types.d.ts.map +0 -1
  286. package/dist/lib/types.js +0 -3
  287. package/dist/lib/types.js.map +0 -1
  288. package/dist/managers/EnvironmentDataManager.d.ts +0 -58
  289. package/dist/managers/EnvironmentDataManager.d.ts.map +0 -1
  290. package/dist/managers/EnvironmentDataManager.js +0 -134
  291. package/dist/managers/EnvironmentDataManager.js.map +0 -1
  292. package/dist/managers/ProjectStructureGenerator.d.ts +0 -62
  293. package/dist/managers/ProjectStructureGenerator.d.ts.map +0 -1
  294. package/dist/managers/ProjectStructureGenerator.js +0 -234
  295. package/dist/managers/ProjectStructureGenerator.js.map +0 -1
  296. package/dist/managers/TestFileUpdater.d.ts +0 -56
  297. package/dist/managers/TestFileUpdater.d.ts.map +0 -1
  298. package/dist/managers/TestFileUpdater.js +0 -224
  299. package/dist/managers/TestFileUpdater.js.map +0 -1
  300. package/dist/models/AskAiRequest.d.ts +0 -15
  301. package/dist/models/AskAiRequest.d.ts.map +0 -1
  302. package/dist/models/AskAiRequest.js +0 -3
  303. package/dist/models/AskAiRequest.js.map +0 -1
  304. package/dist/models/BaseToolGptParameters.d.ts +0 -10
  305. package/dist/models/BaseToolGptParameters.d.ts.map +0 -1
  306. package/dist/models/BaseToolGptParameters.js +0 -3
  307. package/dist/models/BaseToolGptParameters.js.map +0 -1
  308. package/dist/models/BrowserFramework.d.ts +0 -51
  309. package/dist/models/BrowserFramework.d.ts.map +0 -1
  310. package/dist/models/BrowserFramework.js +0 -364
  311. package/dist/models/BrowserFramework.js.map +0 -1
  312. package/dist/models/EnvironmentDatum.d.ts +0 -54
  313. package/dist/models/EnvironmentDatum.d.ts.map +0 -1
  314. package/dist/models/EnvironmentDatum.js +0 -57
  315. package/dist/models/EnvironmentDatum.js.map +0 -1
  316. package/dist/models/FlowsQuery.d.ts +0 -12
  317. package/dist/models/FlowsQuery.d.ts.map +0 -1
  318. package/dist/models/FlowsQuery.js +0 -3
  319. package/dist/models/FlowsQuery.js.map +0 -1
  320. package/dist/persistence/AgentsPersistence.d.ts +0 -12
  321. package/dist/persistence/AgentsPersistence.d.ts.map +0 -1
  322. package/dist/persistence/AgentsPersistence.js +0 -3
  323. package/dist/persistence/AgentsPersistence.js.map +0 -1
  324. package/dist/persistence/AgentsPersistenceSqlite.d.ts +0 -15
  325. package/dist/persistence/AgentsPersistenceSqlite.d.ts.map +0 -1
  326. package/dist/persistence/AgentsPersistenceSqlite.js +0 -50
  327. package/dist/persistence/AgentsPersistenceSqlite.js.map +0 -1
  328. package/dist/persistence/AgentsPersistenceVolatile.d.ts +0 -14
  329. package/dist/persistence/AgentsPersistenceVolatile.d.ts.map +0 -1
  330. package/dist/persistence/AgentsPersistenceVolatile.js +0 -26
  331. package/dist/persistence/AgentsPersistenceVolatile.js.map +0 -1
  332. package/dist/persistence/FlowsPersistence.d.ts +0 -104
  333. package/dist/persistence/FlowsPersistence.d.ts.map +0 -1
  334. package/dist/persistence/FlowsPersistence.js +0 -3
  335. package/dist/persistence/FlowsPersistence.js.map +0 -1
  336. package/dist/persistence/FlowsPersistenceAwsS3.d.ts +0 -75
  337. package/dist/persistence/FlowsPersistenceAwsS3.d.ts.map +0 -1
  338. package/dist/persistence/FlowsPersistenceAwsS3.js +0 -525
  339. package/dist/persistence/FlowsPersistenceAwsS3.js.map +0 -1
  340. package/dist/persistence/FlowsPersistenceFactory.d.ts +0 -10
  341. package/dist/persistence/FlowsPersistenceFactory.d.ts.map +0 -1
  342. package/dist/persistence/FlowsPersistenceFactory.js +0 -3
  343. package/dist/persistence/FlowsPersistenceFactory.js.map +0 -1
  344. package/dist/persistence/FlowsPersistenceFactoryImpl.d.ts +0 -57
  345. package/dist/persistence/FlowsPersistenceFactoryImpl.d.ts.map +0 -1
  346. package/dist/persistence/FlowsPersistenceFactoryImpl.js +0 -235
  347. package/dist/persistence/FlowsPersistenceFactoryImpl.js.map +0 -1
  348. package/dist/persistence/FlowsPersistenceFactoryPreset.d.ts +0 -13
  349. package/dist/persistence/FlowsPersistenceFactoryPreset.d.ts.map +0 -1
  350. package/dist/persistence/FlowsPersistenceFactoryPreset.js +0 -24
  351. package/dist/persistence/FlowsPersistenceFactoryPreset.js.map +0 -1
  352. package/dist/persistence/FlowsPersistenceFilesystem.d.ts +0 -69
  353. package/dist/persistence/FlowsPersistenceFilesystem.d.ts.map +0 -1
  354. package/dist/persistence/FlowsPersistenceFilesystem.js +0 -381
  355. package/dist/persistence/FlowsPersistenceFilesystem.js.map +0 -1
  356. package/dist/persistence/FlowsPersistenceGoogleCloudStorage.d.ts +0 -75
  357. package/dist/persistence/FlowsPersistenceGoogleCloudStorage.d.ts.map +0 -1
  358. package/dist/persistence/FlowsPersistenceGoogleCloudStorage.js +0 -485
  359. package/dist/persistence/FlowsPersistenceGoogleCloudStorage.js.map +0 -1
  360. package/dist/persistence/FlowsPersistenceSqlite.d.ts +0 -44
  361. package/dist/persistence/FlowsPersistenceSqlite.d.ts.map +0 -1
  362. package/dist/persistence/FlowsPersistenceSqlite.js +0 -264
  363. package/dist/persistence/FlowsPersistenceSqlite.js.map +0 -1
  364. package/dist/persistence/FlowsPersistenceSupabase.d.ts +0 -44
  365. package/dist/persistence/FlowsPersistenceSupabase.d.ts.map +0 -1
  366. package/dist/persistence/FlowsPersistenceSupabase.js +0 -262
  367. package/dist/persistence/FlowsPersistenceSupabase.js.map +0 -1
  368. package/dist/persistence/FlowsPersistenceVolatile.d.ts +0 -41
  369. package/dist/persistence/FlowsPersistenceVolatile.d.ts.map +0 -1
  370. package/dist/persistence/FlowsPersistenceVolatile.js +0 -171
  371. package/dist/persistence/FlowsPersistenceVolatile.js.map +0 -1
  372. package/dist/persistence/GptConfigsPersistence.d.ts +0 -12
  373. package/dist/persistence/GptConfigsPersistence.d.ts.map +0 -1
  374. package/dist/persistence/GptConfigsPersistence.js +0 -3
  375. package/dist/persistence/GptConfigsPersistence.js.map +0 -1
  376. package/dist/persistence/GptConfigsPersistenceSqlite.d.ts +0 -13
  377. package/dist/persistence/GptConfigsPersistenceSqlite.d.ts.map +0 -1
  378. package/dist/persistence/GptConfigsPersistenceSqlite.js +0 -35
  379. package/dist/persistence/GptConfigsPersistenceSqlite.js.map +0 -1
  380. package/dist/persistence/GptConfigsPersistenceVolatile.d.ts +0 -15
  381. package/dist/persistence/GptConfigsPersistenceVolatile.d.ts.map +0 -1
  382. package/dist/persistence/GptConfigsPersistenceVolatile.js +0 -31
  383. package/dist/persistence/GptConfigsPersistenceVolatile.js.map +0 -1
  384. package/dist/playwrightTestExtensions.d.ts +0 -155
  385. package/dist/playwrightTestExtensions.d.ts.map +0 -1
  386. package/dist/playwrightTestExtensions.js +0 -688
  387. package/dist/playwrightTestExtensions.js.map +0 -1
  388. package/dist/tools/CreatePageObjectModel.d.ts +0 -16
  389. package/dist/tools/CreatePageObjectModel.d.ts.map +0 -1
  390. package/dist/tools/CreatePageObjectModel.js +0 -33
  391. package/dist/tools/CreatePageObjectModel.js.map +0 -1
  392. package/dist/utils/ToolsPluginsLoader.d.ts +0 -52
  393. package/dist/utils/ToolsPluginsLoader.d.ts.map +0 -1
  394. package/dist/utils/ToolsPluginsLoader.js +0 -301
  395. package/dist/utils/ToolsPluginsLoader.js.map +0 -1
  396. /package/dist/utils/{jsonSchemaUtils.d.ts → JsonSchemaUtils.d.ts} +0 -0
  397. /package/dist/utils/{jsonSchemaUtils.d.ts.map → JsonSchemaUtils.d.ts.map} +0 -0
  398. /package/dist/utils/{jsonSchemaUtils.js → JsonSchemaUtils.js} +0 -0
  399. /package/dist/utils/{jsonSchemaUtils.js.map → JsonSchemaUtils.js.map} +0 -0
@@ -1,2241 +0,0 @@
1
- {
2
- "Protocol.Target.exposeDevToolsProtocolParameters": {
3
- "description": "Inject object to the target's main frame that provides a communication\nchannel with browser target.\n\nInjected object will be available as `window[bindingName]`.\n\nThe object has the following API:\n- `binding.send(json)` - a method to send messages over the remote debugging protocol\n- `binding.onmessage = json => handleMessage(json)` - a callback that will be called for the protocol notifications and command responses.",
4
- "type": "object",
5
- "properties": {
6
- "targetId": {
7
- "type": "string"
8
- },
9
- "bindingName": {
10
- "description": "Binding name, 'cdp' if not specified.",
11
- "type": ["string", "null"]
12
- }
13
- },
14
- "additionalProperties": false,
15
- "required": ["targetId", "bindingName"]
16
- },
17
- "ToolParameters": {
18
- "anyOf": [
19
- {
20
- "type": "object",
21
- "properties": {
22
- "_type": {},
23
- "_output": {},
24
- "_input": {},
25
- "_def": {},
26
- "description": {
27
- "type": "string"
28
- },
29
- "~standard": {
30
- "description": "The Standard Schema properties interface.",
31
- "type": "object",
32
- "properties": {
33
- "version": {
34
- "description": "The version number of the standard.",
35
- "type": "number",
36
- "const": 1
37
- },
38
- "vendor": {
39
- "description": "The vendor name of the schema library.",
40
- "type": "string"
41
- },
42
- "validate": {
43
- "description": "Validates unknown input values.",
44
- "type": "object",
45
- "additionalProperties": false
46
- },
47
- "types": {
48
- "description": "Inferred types associated with the schema.",
49
- "type": "object",
50
- "properties": {
51
- "input": {
52
- "description": "The input type of the schema."
53
- },
54
- "output": {
55
- "description": "The output type of the schema."
56
- }
57
- },
58
- "additionalProperties": false,
59
- "required": ["input", "output"]
60
- }
61
- },
62
- "additionalProperties": false,
63
- "required": ["validate", "vendor", "version"]
64
- },
65
- "spa": {
66
- "description": "Alias of safeParseAsync",
67
- "type": "object",
68
- "additionalProperties": false
69
- }
70
- },
71
- "additionalProperties": false,
72
- "required": [
73
- "_def",
74
- "_input",
75
- "_output",
76
- "_type",
77
- "description",
78
- "spa",
79
- "~standard"
80
- ]
81
- },
82
- {
83
- "additionalProperties": false,
84
- "type": "object",
85
- "properties": {
86
- "validate": {
87
- "description": "Optional. Validates that the structure of a value matches this schema,\nand returns a typed version of the value if it does.",
88
- "type": "object",
89
- "additionalProperties": false
90
- },
91
- "__@validatorSymbol@6492": {
92
- "description": "Used to mark validator functions so we can support both Zod and custom schemas.",
93
- "type": "boolean",
94
- "const": true
95
- },
96
- "_type": {
97
- "description": "Schema type for inference."
98
- },
99
- "jsonSchema": {
100
- "$ref": "#/definitions/JSONSchema7",
101
- "description": "The JSON Schema for the schema. It is passed to the providers."
102
- },
103
- "__@schemaSymbol@6497": {
104
- "description": "Used to mark schemas so we can support both Zod and custom schemas.",
105
- "type": "boolean",
106
- "const": true
107
- }
108
- },
109
- "required": [
110
- "__@schemaSymbol@6497",
111
- "__@validatorSymbol@6492",
112
- "_type",
113
- "jsonSchema"
114
- ]
115
- }
116
- ]
117
- },
118
- "BaseToolGptParameters": {
119
- "description": "This interface is intended to be the base for all tool parameters that are generated by a GPT.",
120
- "type": "object",
121
- "properties": {
122
- "rationale": {
123
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
124
- "type": "string"
125
- }
126
- },
127
- "additionalProperties": false,
128
- "required": ["rationale"]
129
- },
130
- "RunAccessibilityTestToolCoreParameters": {
131
- "type": "object",
132
- "additionalProperties": false,
133
- "required": [],
134
- "properties": {}
135
- },
136
- "RunAccessibilityTestToolGptParameters": {
137
- "type": "object",
138
- "properties": {
139
- "rationale": {
140
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
141
- "type": "string"
142
- }
143
- },
144
- "additionalProperties": false,
145
- "required": ["rationale"]
146
- },
147
- "ChooseSelectOptionToolCoreParameters": {
148
- "type": "object",
149
- "properties": {
150
- "optionValues": {
151
- "description": "The <option> values to choose.",
152
- "type": "array",
153
- "items": {
154
- "type": "string"
155
- }
156
- }
157
- },
158
- "additionalProperties": false,
159
- "required": ["optionValues"]
160
- },
161
- "SelectorBasedChooseSelectOptionToolParameters": {
162
- "type": "object",
163
- "properties": {
164
- "selector": {
165
- "description": "A query structure used to resolve specific a HTML element in a webpage.",
166
- "type": "object",
167
- "properties": {
168
- "element": {
169
- "description": "An prioritized list of element selectors to use to attempt to resolve the\ndesired element, going from most specific to least specific. The first\nelement selector that is successfully used, wins, and the rest are ignored.",
170
- "type": "array",
171
- "items": {
172
- "type": "string"
173
- }
174
- },
175
- "frame": {
176
- "description": "A selector for the corresponding frame of the element to select.\nIf null, this means the primary frame of the page is used.",
177
- "type": "string"
178
- }
179
- },
180
- "additionalProperties": false,
181
- "required": ["element", "frame"]
182
- },
183
- "optionValues": {
184
- "description": "The <option> values to choose.",
185
- "type": "array",
186
- "items": {
187
- "type": "string"
188
- }
189
- }
190
- },
191
- "additionalProperties": false,
192
- "required": ["optionValues", "selector"]
193
- },
194
- "AnnotationBasedChooseSelectOptionToolParameters": {
195
- "type": "object",
196
- "properties": {
197
- "whyThisAnnotation": {
198
- "description": "The reason why this particular numbered annotation was chosen.",
199
- "type": "string"
200
- },
201
- "annotation": {
202
- "description": "The numbered annotation of the element to click.",
203
- "type": "string"
204
- },
205
- "rationale": {
206
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
207
- "type": "string"
208
- },
209
- "optionValues": {
210
- "description": "The <option> values to choose.",
211
- "type": "array",
212
- "items": {
213
- "type": "string"
214
- }
215
- }
216
- },
217
- "additionalProperties": false,
218
- "required": ["annotation", "optionValues", "rationale", "whyThisAnnotation"]
219
- },
220
- "ClickToolCoreParameters": {
221
- "type": "object",
222
- "additionalProperties": false,
223
- "required": [],
224
- "properties": {}
225
- },
226
- "SelectorBasedClickToolParameters": {
227
- "type": "object",
228
- "properties": {
229
- "selector": {
230
- "description": "A query structure used to resolve specific a HTML element in a webpage.",
231
- "type": "object",
232
- "properties": {
233
- "element": {
234
- "description": "An prioritized list of element selectors to use to attempt to resolve the\ndesired element, going from most specific to least specific. The first\nelement selector that is successfully used, wins, and the rest are ignored.",
235
- "type": "array",
236
- "items": {
237
- "type": "string"
238
- }
239
- },
240
- "frame": {
241
- "description": "A selector for the corresponding frame of the element to select.\nIf null, this means the primary frame of the page is used.",
242
- "type": "string"
243
- }
244
- },
245
- "additionalProperties": false,
246
- "required": ["element", "frame"]
247
- }
248
- },
249
- "additionalProperties": false,
250
- "required": ["selector"]
251
- },
252
- "AnnotationBasedClickToolParameters": {
253
- "type": "object",
254
- "properties": {
255
- "whyThisAnnotation": {
256
- "description": "The reason why this particular numbered annotation was chosen.",
257
- "type": "string"
258
- },
259
- "annotation": {
260
- "description": "The numbered annotation of the element to click.",
261
- "type": "string"
262
- },
263
- "rationale": {
264
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
265
- "type": "string"
266
- }
267
- },
268
- "additionalProperties": false,
269
- "required": ["annotation", "rationale", "whyThisAnnotation"]
270
- },
271
- "InputTextToolCoreParameters": {
272
- "type": "object",
273
- "properties": {
274
- "text": {
275
- "description": "The text to input.",
276
- "type": "string"
277
- },
278
- "finalizeWithSubmit": {
279
- "description": "Attempt to submit the data after inputting the text (i.e. hitting 'Enter' at the end).\nThis can be useful if doing something like using a webpage's search box, etc.",
280
- "type": "boolean"
281
- }
282
- },
283
- "additionalProperties": false,
284
- "required": ["finalizeWithSubmit", "text"]
285
- },
286
- "SelectorBasedInputTextToolParameters": {
287
- "type": "object",
288
- "properties": {
289
- "selector": {
290
- "description": "A query structure used to resolve specific a HTML element in a webpage.",
291
- "type": "object",
292
- "properties": {
293
- "element": {
294
- "description": "An prioritized list of element selectors to use to attempt to resolve the\ndesired element, going from most specific to least specific. The first\nelement selector that is successfully used, wins, and the rest are ignored.",
295
- "type": "array",
296
- "items": {
297
- "type": "string"
298
- }
299
- },
300
- "frame": {
301
- "description": "A selector for the corresponding frame of the element to select.\nIf null, this means the primary frame of the page is used.",
302
- "type": "string"
303
- }
304
- },
305
- "additionalProperties": false,
306
- "required": ["element", "frame"]
307
- },
308
- "text": {
309
- "description": "The text to input.",
310
- "type": "string"
311
- },
312
- "finalizeWithSubmit": {
313
- "description": "Attempt to submit the data after inputting the text (i.e. hitting 'Enter' at the end).\nThis can be useful if doing something like using a webpage's search box, etc.",
314
- "type": "boolean"
315
- }
316
- },
317
- "additionalProperties": false,
318
- "required": ["finalizeWithSubmit", "selector", "text"]
319
- },
320
- "AnnotationBasedInputTextToolParameters": {
321
- "type": "object",
322
- "properties": {
323
- "whyThisAnnotation": {
324
- "description": "The reason why this particular numbered annotation was chosen.",
325
- "type": "string"
326
- },
327
- "annotation": {
328
- "description": "The numbered annotation of the element to click.",
329
- "type": "string"
330
- },
331
- "rationale": {
332
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
333
- "type": "string"
334
- },
335
- "text": {
336
- "description": "The text to input.",
337
- "type": "string"
338
- },
339
- "finalizeWithSubmit": {
340
- "description": "Attempt to submit the data after inputting the text (i.e. hitting 'Enter' at the end).\nThis can be useful if doing something like using a webpage's search box, etc.",
341
- "type": "boolean"
342
- }
343
- },
344
- "additionalProperties": false,
345
- "required": [
346
- "annotation",
347
- "finalizeWithSubmit",
348
- "rationale",
349
- "text",
350
- "whyThisAnnotation"
351
- ]
352
- },
353
- "InputRandomizedEmailAddressToolCoreParameters": {
354
- "type": "object",
355
- "properties": {
356
- "baseEmail": {
357
- "description": "The base email to create a derived email from.",
358
- "type": "string"
359
- },
360
- "finalizeWithSubmit": {
361
- "description": "Attempt to submit the data after inputting the randomized email (i.e. hitting 'Enter' at the end).",
362
- "type": "boolean"
363
- }
364
- },
365
- "additionalProperties": false,
366
- "required": ["baseEmail", "finalizeWithSubmit"]
367
- },
368
- "SelectorBasedInputRandomizedEmailAddressToolParameters": {
369
- "type": "object",
370
- "properties": {
371
- "selector": {
372
- "description": "A query structure used to resolve specific a HTML element in a webpage.",
373
- "type": "object",
374
- "properties": {
375
- "element": {
376
- "description": "An prioritized list of element selectors to use to attempt to resolve the\ndesired element, going from most specific to least specific. The first\nelement selector that is successfully used, wins, and the rest are ignored.",
377
- "type": "array",
378
- "items": {
379
- "type": "string"
380
- }
381
- },
382
- "frame": {
383
- "description": "A selector for the corresponding frame of the element to select.\nIf null, this means the primary frame of the page is used.",
384
- "type": "string"
385
- }
386
- },
387
- "additionalProperties": false,
388
- "required": ["element", "frame"]
389
- },
390
- "baseEmail": {
391
- "description": "The base email to create a derived email from.",
392
- "type": "string"
393
- },
394
- "finalizeWithSubmit": {
395
- "description": "Attempt to submit the data after inputting the randomized email (i.e. hitting 'Enter' at the end).",
396
- "type": "boolean"
397
- }
398
- },
399
- "additionalProperties": false,
400
- "required": ["baseEmail", "finalizeWithSubmit", "selector"]
401
- },
402
- "AnnotationBasedInputRandomizedEmailAddressToolParameters": {
403
- "type": "object",
404
- "properties": {
405
- "whyThisAnnotation": {
406
- "description": "The reason why this particular numbered annotation was chosen.",
407
- "type": "string"
408
- },
409
- "annotation": {
410
- "description": "The numbered annotation of the element to click.",
411
- "type": "string"
412
- },
413
- "rationale": {
414
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
415
- "type": "string"
416
- },
417
- "baseEmail": {
418
- "description": "The base email to create a derived email from.",
419
- "type": "string"
420
- },
421
- "finalizeWithSubmit": {
422
- "description": "Attempt to submit the data after inputting the randomized email (i.e. hitting 'Enter' at the end).",
423
- "type": "boolean"
424
- }
425
- },
426
- "additionalProperties": false,
427
- "required": [
428
- "annotation",
429
- "baseEmail",
430
- "finalizeWithSubmit",
431
- "rationale",
432
- "whyThisAnnotation"
433
- ]
434
- },
435
- "PressKeyToolCoreParameters": {
436
- "type": "object",
437
- "properties": {
438
- "key": {
439
- "description": "The key to press.",
440
- "type": "string"
441
- }
442
- },
443
- "additionalProperties": false,
444
- "required": ["key"]
445
- },
446
- "SelectorBasedPressKeyToolParameters": {
447
- "type": "object",
448
- "properties": {
449
- "selector": {
450
- "description": "A query structure used to resolve specific a HTML element in a webpage.",
451
- "type": "object",
452
- "properties": {
453
- "element": {
454
- "description": "An prioritized list of element selectors to use to attempt to resolve the\ndesired element, going from most specific to least specific. The first\nelement selector that is successfully used, wins, and the rest are ignored.",
455
- "type": "array",
456
- "items": {
457
- "type": "string"
458
- }
459
- },
460
- "frame": {
461
- "description": "A selector for the corresponding frame of the element to select.\nIf null, this means the primary frame of the page is used.",
462
- "type": "string"
463
- }
464
- },
465
- "additionalProperties": false,
466
- "required": ["element", "frame"]
467
- },
468
- "key": {
469
- "description": "The key to press.",
470
- "type": "string"
471
- }
472
- },
473
- "additionalProperties": false,
474
- "required": ["key", "selector"]
475
- },
476
- "AnnotationBasedPressKeyToolParameters": {
477
- "type": "object",
478
- "properties": {
479
- "whyThisAnnotation": {
480
- "description": "The reason why this particular numbered annotation was chosen.",
481
- "type": "string"
482
- },
483
- "annotation": {
484
- "description": "The numbered annotation of the element to click.",
485
- "type": "string"
486
- },
487
- "rationale": {
488
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
489
- "type": "string"
490
- },
491
- "key": {
492
- "description": "The key to press.",
493
- "type": "string"
494
- }
495
- },
496
- "additionalProperties": false,
497
- "required": ["annotation", "key", "rationale", "whyThisAnnotation"]
498
- },
499
- "HandleBrowserDialogToolCoreParameters": {
500
- "description": "The parameters for handling browser dialogs",
501
- "type": "object",
502
- "properties": {
503
- "text": {
504
- "description": "If this is a \"confirm\" dialog, a string of \"true\" will accept the dialog and a string of \"false\" will dismiss it.\nHowever, if this is a \"prompt\" dialog, any non-null string will accept it, and a null value will dismiss it.",
505
- "type": ["string", "null"]
506
- }
507
- },
508
- "additionalProperties": false,
509
- "required": ["text"]
510
- },
511
- "HandleBrowserDialogToolGptParameters": {
512
- "type": "object",
513
- "properties": {
514
- "rationale": {
515
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
516
- "type": "string"
517
- },
518
- "text": {
519
- "description": "If this is a \"confirm\" dialog, a string of \"true\" will accept the dialog and a string of \"false\" will dismiss it.\nHowever, if this is a \"prompt\" dialog, any non-null string will accept it, and a null value will dismiss it.",
520
- "type": ["string", "null"]
521
- }
522
- },
523
- "additionalProperties": false,
524
- "required": ["rationale", "text"]
525
- },
526
- "MarkObjectiveCompleteToolCoreParameters": {
527
- "description": "Parameters for marking an objective as complete",
528
- "type": "object",
529
- "additionalProperties": false,
530
- "required": [],
531
- "properties": {}
532
- },
533
- "MarkObjectiveCompleteToolGptParameters": {
534
- "description": "Parameters for marking an objective as complete",
535
- "type": "object",
536
- "properties": {
537
- "details": {
538
- "description": "Relevant details for the completed objective.",
539
- "type": "string"
540
- },
541
- "rationale": {
542
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
543
- "type": "string"
544
- }
545
- },
546
- "additionalProperties": false,
547
- "required": ["details", "rationale"]
548
- },
549
- "GoToWebpageToolCoreParameters": {
550
- "type": "object",
551
- "properties": {
552
- "url": {
553
- "description": "The URL to navigate to. Must use the http or https (example is https://google.com).",
554
- "type": "string"
555
- }
556
- },
557
- "additionalProperties": false,
558
- "required": ["url"]
559
- },
560
- "GoToWebpageToolGptParameters": {
561
- "type": "object",
562
- "properties": {
563
- "rationale": {
564
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
565
- "type": "string"
566
- },
567
- "url": {
568
- "description": "The URL to navigate to. Must use the http or https (example is https://google.com).",
569
- "type": "string"
570
- }
571
- },
572
- "additionalProperties": false,
573
- "required": ["rationale", "url"]
574
- },
575
- "ScrollPageToolCoreParameters": {
576
- "type": "object",
577
- "properties": {
578
- "direction": {
579
- "description": "The direction to scroll - either UP or DOWN",
580
- "enum": ["DOWN", "UP"],
581
- "type": "string"
582
- }
583
- },
584
- "additionalProperties": false,
585
- "required": ["direction"]
586
- },
587
- "ScrollPageToolGptParameters": {
588
- "type": "object",
589
- "properties": {
590
- "rationale": {
591
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
592
- "type": "string"
593
- },
594
- "direction": {
595
- "description": "The direction to scroll - either UP or DOWN",
596
- "enum": ["DOWN", "UP"],
597
- "type": "string"
598
- }
599
- },
600
- "additionalProperties": false,
601
- "required": ["direction", "rationale"]
602
- },
603
- "AssertToolCoreParameters": {
604
- "type": "object",
605
- "properties": {
606
- "assertionToTestFor": {
607
- "description": "The assertion that will be tested for, using plain English.\n\nExamples:\n- 'Assert that this webpage includes a product summary.'\n- 'Assert there are more than 3 search results.'\n- 'Assert that the webpage title is \"Hello World\".'\n- 'Assert that the theme of the website is in dark mode.'\n\nThe raw assertion text should avoid embedding state about the webpage\nsince the assertion is being evaluated by the tool itself, and the tool\nwill have access to the webpage's content, title, URL, etc.\n\nExamples of bad assertions:\n- 'Assert that the 3 search results is greater than 2.'\n- 'Assert that the first search result (\"banana\") is not \"strawberry\".'\n\nExamples of the bad assertions being rephrased as good assertions:\n- 'Assert that there are more than 2 search results.'\n- 'Assert that the first search result is not \"strawberry\".'",
608
- "type": "string"
609
- }
610
- },
611
- "additionalProperties": false,
612
- "required": ["assertionToTestFor"]
613
- },
614
- "AssertToolGptParameters": {
615
- "type": "object",
616
- "properties": {
617
- "rationale": {
618
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
619
- "type": "string"
620
- },
621
- "assertionToTestFor": {
622
- "description": "The assertion that will be tested for, using plain English.\n\nExamples:\n- 'Assert that this webpage includes a product summary.'\n- 'Assert there are more than 3 search results.'\n- 'Assert that the webpage title is \"Hello World\".'\n- 'Assert that the theme of the website is in dark mode.'\n\nThe raw assertion text should avoid embedding state about the webpage\nsince the assertion is being evaluated by the tool itself, and the tool\nwill have access to the webpage's content, title, URL, etc.\n\nExamples of bad assertions:\n- 'Assert that the 3 search results is greater than 2.'\n- 'Assert that the first search result (\"banana\") is not \"strawberry\".'\n\nExamples of the bad assertions being rephrased as good assertions:\n- 'Assert that there are more than 2 search results.'\n- 'Assert that the first search result is not \"strawberry\".'",
623
- "type": "string"
624
- }
625
- },
626
- "additionalProperties": false,
627
- "required": ["assertionToTestFor", "rationale"]
628
- },
629
- "AnalyzePageTextToolCoreParameters": {
630
- "type": "object",
631
- "properties": {
632
- "analysisToRun": {
633
- "description": "The analysis to run on the text of the current page.",
634
- "type": "string"
635
- },
636
- "additionalRelevantContext": {
637
- "description": "Additional relevant context for running the analysis.",
638
- "type": "string"
639
- }
640
- },
641
- "additionalProperties": false,
642
- "required": ["additionalRelevantContext", "analysisToRun"]
643
- },
644
- "AnalyzePageTextToolGptParameters": {
645
- "type": "object",
646
- "properties": {
647
- "rationale": {
648
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
649
- "type": "string"
650
- },
651
- "analysisToRun": {
652
- "description": "The analysis to run on the text of the current page.",
653
- "type": "string"
654
- },
655
- "additionalRelevantContext": {
656
- "description": "Additional relevant context for running the analysis.",
657
- "type": "string"
658
- }
659
- },
660
- "additionalProperties": false,
661
- "required": ["additionalRelevantContext", "analysisToRun", "rationale"]
662
- },
663
- "CreateBrowserCookieReportToolCoreParameters": {
664
- "type": "object",
665
- "additionalProperties": false,
666
- "required": [],
667
- "properties": {}
668
- },
669
- "CreateBrowserCookieReportToolGptParameters": {
670
- "type": "object",
671
- "properties": {
672
- "rationale": {
673
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
674
- "type": "string"
675
- }
676
- },
677
- "additionalProperties": false,
678
- "required": ["rationale"]
679
- },
680
- "MarkObjectiveNotCompletableToolCoreParameters": {
681
- "type": "object",
682
- "additionalProperties": false,
683
- "required": [],
684
- "properties": {}
685
- },
686
- "MarkObjectiveNotCompletableToolGptParameters": {
687
- "type": "object",
688
- "properties": {
689
- "rationale": {
690
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
691
- "type": "string"
692
- }
693
- },
694
- "additionalProperties": false,
695
- "required": ["rationale"]
696
- },
697
- "RunInlineJavaScriptCodeToolCoreParameters": {
698
- "type": "object",
699
- "properties": {
700
- "javaScriptCode": {
701
- "description": "The JavaScript code to run.",
702
- "type": "string"
703
- }
704
- },
705
- "additionalProperties": false,
706
- "required": ["javaScriptCode"]
707
- },
708
- "RunInlineJavaScriptCodeToolGptParameters": {
709
- "additionalProperties": false,
710
- "type": "object",
711
- "properties": {
712
- "rationale": {
713
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
714
- "type": "string"
715
- },
716
- "javaScriptCode": {
717
- "description": "The JavaScript code to run.",
718
- "type": "string"
719
- }
720
- },
721
- "required": ["javaScriptCode", "rationale"]
722
- },
723
- "RunSandboxedJavaScriptCodeToolCoreParameters": {
724
- "type": "object",
725
- "properties": {
726
- "javaScriptCode": {
727
- "description": "The JavaScript code to run.",
728
- "type": "string"
729
- }
730
- },
731
- "additionalProperties": false,
732
- "required": ["javaScriptCode"]
733
- },
734
- "RunSandboxedJavaScriptCodeToolGptParameters": {
735
- "type": "object",
736
- "properties": {
737
- "rationale": {
738
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
739
- "type": "string"
740
- },
741
- "javaScriptCode": {
742
- "description": "The JavaScript code to run.",
743
- "type": "string"
744
- }
745
- },
746
- "additionalProperties": false,
747
- "required": ["javaScriptCode", "rationale"]
748
- },
749
- "SummarizeLearningsToolCoreParameters": {
750
- "type": "object",
751
- "additionalProperties": false,
752
- "required": [],
753
- "properties": {}
754
- },
755
- "SummarizeLearningsToolGptParameters": {
756
- "type": "object",
757
- "properties": {
758
- "summary": {
759
- "description": "The summary to make.",
760
- "type": "string"
761
- },
762
- "rationale": {
763
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
764
- "type": "string"
765
- }
766
- },
767
- "additionalProperties": false,
768
- "required": ["rationale", "summary"]
769
- },
770
- "TriggerDonobuFlowToolCoreParameters": {
771
- "type": "object",
772
- "properties": {
773
- "donobuFlowParameters": {
774
- "description": "The parameters to use for the new Donobu flow.",
775
- "type": "object",
776
- "properties": {
777
- "targetWebsite": {
778
- "description": "The initial website to load",
779
- "type": "string"
780
- },
781
- "overallObjective": {
782
- "description": "The overall objective to pursue; can only be omitted if `initialRunMode`\nhas an effective value of `INSTRUCT` or `DETEMINISTIC`.",
783
- "type": ["string", "null"]
784
- },
785
- "name": {
786
- "description": "The name for this flow; if present, must be fewer than 256 characters.",
787
- "type": ["string", "null"]
788
- },
789
- "browser": {
790
- "type": ["object", "null"],
791
- "properties": {
792
- "initialState": {
793
- "description": "When starting the flow, initialize the browser state from here.",
794
- "anyOf": [
795
- {
796
- "type": "object",
797
- "properties": {
798
- "type": {
799
- "type": "string",
800
- "const": "id"
801
- },
802
- "value": {
803
- "type": "string"
804
- }
805
- },
806
- "additionalProperties": false,
807
- "required": ["type", "value"]
808
- },
809
- {
810
- "type": "object",
811
- "properties": {
812
- "type": {
813
- "type": "string",
814
- "const": "name"
815
- },
816
- "value": {
817
- "type": "string"
818
- }
819
- },
820
- "additionalProperties": false,
821
- "required": ["type", "value"]
822
- },
823
- {
824
- "type": "object",
825
- "properties": {
826
- "type": {
827
- "type": "string",
828
- "const": "json"
829
- },
830
- "value": {
831
- "description": "This type is expected to match the data returned by the Playwright `BrowserContext.storageState()` method.",
832
- "type": "object",
833
- "properties": {
834
- "cookies": {
835
- "type": "array",
836
- "items": {
837
- "type": "object",
838
- "properties": {
839
- "name": {
840
- "type": "string"
841
- },
842
- "value": {
843
- "type": "string"
844
- },
845
- "domain": {
846
- "type": "string"
847
- },
848
- "path": {
849
- "type": "string"
850
- },
851
- "expires": {
852
- "description": "Unix time in seconds.",
853
- "type": "number"
854
- },
855
- "httpOnly": {
856
- "type": "boolean"
857
- },
858
- "secure": {
859
- "type": "boolean"
860
- },
861
- "sameSite": {
862
- "enum": ["Lax", "None", "Strict"],
863
- "type": "string"
864
- }
865
- },
866
- "additionalProperties": false,
867
- "required": [
868
- "domain",
869
- "expires",
870
- "httpOnly",
871
- "name",
872
- "path",
873
- "sameSite",
874
- "secure",
875
- "value"
876
- ]
877
- }
878
- },
879
- "origins": {
880
- "type": "array",
881
- "items": {
882
- "type": "object",
883
- "properties": {
884
- "origin": {
885
- "type": "string"
886
- },
887
- "localStorage": {
888
- "type": "array",
889
- "items": {
890
- "type": "object",
891
- "properties": {
892
- "name": {
893
- "type": "string"
894
- },
895
- "value": {
896
- "type": "string"
897
- }
898
- },
899
- "additionalProperties": false,
900
- "required": ["name", "value"]
901
- }
902
- },
903
- "sessionStorage": {
904
- "type": "array",
905
- "items": {
906
- "type": "object",
907
- "properties": {
908
- "name": {
909
- "type": "string"
910
- },
911
- "value": {
912
- "type": "string"
913
- }
914
- },
915
- "additionalProperties": false,
916
- "required": ["name", "value"]
917
- }
918
- }
919
- },
920
- "additionalProperties": false,
921
- "required": ["localStorage", "origin"]
922
- }
923
- }
924
- },
925
- "additionalProperties": false,
926
- "required": ["cookies", "origins"]
927
- }
928
- },
929
- "additionalProperties": false,
930
- "required": ["type", "value"]
931
- }
932
- ]
933
- },
934
- "persistState": {
935
- "description": "If set to true, saves the browser state at the end of the flow.",
936
- "type": "boolean"
937
- },
938
- "using": {
939
- "anyOf": [
940
- {
941
- "type": "object",
942
- "properties": {
943
- "type": {
944
- "type": "string",
945
- "const": "device"
946
- },
947
- "deviceName": {
948
- "description": "The name of the device to run the flow with. See `devices.json` for details.\nIf not specified, defaults to 'Desktop Chromium'.",
949
- "type": "string"
950
- },
951
- "headless": {
952
- "description": "If true, will not open a real browser window to perform the flow.",
953
- "type": "boolean"
954
- }
955
- },
956
- "additionalProperties": false,
957
- "required": ["type"]
958
- },
959
- {
960
- "type": "object",
961
- "properties": {
962
- "type": {
963
- "type": "string",
964
- "const": "remoteInstance"
965
- },
966
- "url": {
967
- "description": "The URL of a remote browser instance to connect to using the Chrome DevTools\nProtocol (CDP).",
968
- "type": "string"
969
- }
970
- },
971
- "additionalProperties": false,
972
- "required": ["type", "url"]
973
- },
974
- {
975
- "type": "object",
976
- "properties": {
977
- "type": {
978
- "type": "string",
979
- "const": "browserBase"
980
- },
981
- "sessionArgs": {
982
- "description": "Broadly follows the HTTP body fields described in...\nhttps://docs.browserbase.com/reference/api/create-a-session",
983
- "type": "object",
984
- "properties": {
985
- "projectId": {
986
- "type": "string"
987
- },
988
- "extensionId": {
989
- "type": "string"
990
- },
991
- "browserSettings": {
992
- "type": "object",
993
- "properties": {
994
- "context": {
995
- "type": "object",
996
- "properties": {
997
- "id": {
998
- "type": "string"
999
- }
1000
- },
1001
- "additionalProperties": false,
1002
- "required": ["id"]
1003
- },
1004
- "extensionId": {
1005
- "type": "string"
1006
- },
1007
- "viewport": {
1008
- "type": "object",
1009
- "properties": {
1010
- "width": {
1011
- "type": "number"
1012
- },
1013
- "height": {
1014
- "type": "number"
1015
- }
1016
- },
1017
- "additionalProperties": false,
1018
- "required": ["height", "width"]
1019
- },
1020
- "blockAds": {
1021
- "type": "boolean"
1022
- },
1023
- "solveCaptchas": {
1024
- "type": "boolean"
1025
- },
1026
- "advancedStealth": {
1027
- "type": "boolean"
1028
- }
1029
- },
1030
- "additionalProperties": false
1031
- },
1032
- "timeout": {
1033
- "description": "Duration in seconds after which the session will automatically end.",
1034
- "type": "number"
1035
- },
1036
- "proxies": {
1037
- "type": "boolean"
1038
- },
1039
- "region": {
1040
- "type": "string"
1041
- },
1042
- "userMetadata": {
1043
- "type": "object",
1044
- "additionalProperties": false
1045
- }
1046
- },
1047
- "additionalProperties": false,
1048
- "required": ["projectId"]
1049
- }
1050
- },
1051
- "additionalProperties": false,
1052
- "required": ["sessionArgs", "type"]
1053
- }
1054
- ]
1055
- }
1056
- },
1057
- "additionalProperties": false,
1058
- "required": ["using"]
1059
- },
1060
- "envVars": {
1061
- "description": "The names of environment variables to make available for use by the flow.",
1062
- "type": ["array", "null"],
1063
- "items": {
1064
- "type": "string"
1065
- }
1066
- },
1067
- "callbackUrl": {
1068
- "description": "The URL to HTTP POST to when the flow completes. The body will contain a\nJSON object with single field, \"id\", of which is the ID of the flow that\ncompleted.",
1069
- "type": ["string", "null"]
1070
- },
1071
- "customTools": {
1072
- "description": "Custom tools to enable for this flow. Any tools specified here will be\nimplicitly added to allowedTools.",
1073
- "type": ["array", "null"],
1074
- "items": {
1075
- "description": "A definition of a user-defined tool to use for a DonobuFlow.",
1076
- "type": "object",
1077
- "properties": {
1078
- "name": {
1079
- "type": "string"
1080
- },
1081
- "description": {
1082
- "type": "string"
1083
- },
1084
- "inputSchema": {
1085
- "type": "object",
1086
- "additionalProperties": false,
1087
- "required": [],
1088
- "properties": {}
1089
- },
1090
- "javascript": {
1091
- "type": "string"
1092
- }
1093
- },
1094
- "additionalProperties": false,
1095
- "required": ["description", "inputSchema", "javascript", "name"]
1096
- }
1097
- },
1098
- "maxIterations": {
1099
- "description": "The maximum number of times to iterate with the underlying GPT.",
1100
- "type": ["number", "null"]
1101
- },
1102
- "gptConfigNameOverride": {
1103
- "description": "The name of a specific GPT configuration to use. If the corresponding GPT\nconfiguration is not defined or unresolvable, the default flow agent\nconfiguration will be used.",
1104
- "type": ["string", "null"]
1105
- },
1106
- "defaultMessageDuration": {
1107
- "description": "The default amount of time the Donobu flow agent's messaging for the user should show (in milliseconds).",
1108
- "type": ["number", "null"]
1109
- },
1110
- "initialRunMode": {
1111
- "description": "The initial run mode of the flow. If not specified, defaults to\nAUTONOMOUS if gptPlatform is non-null, otherwise, defaults to INSTRUCT.",
1112
- "enum": ["AUTONOMOUS", "DETERMINISTIC", "INSTRUCT"],
1113
- "type": ["string", "null"]
1114
- },
1115
- "isControlPanelEnabled": {
1116
- "description": "Set to true if the in-browser control panel should be enabled.\nIf the headless parameter is true, then this parameter is ignored.",
1117
- "type": ["boolean", "null"]
1118
- },
1119
- "allowedTools": {
1120
- "description": "If present and non-empty, will constrain the flow to only use these tools (by\nTool.name()). If null or empty, then there are no constraints on the types of\ntools used. Note that all tools in customTools are implicitly added here.",
1121
- "type": ["array", "null"],
1122
- "items": {
1123
- "type": "string"
1124
- }
1125
- },
1126
- "toolCallsOnStart": {
1127
- "description": "An ordered series of tool calls to invoke when starting the flow.",
1128
- "type": ["array", "null"],
1129
- "items": {
1130
- "description": "A proposed (i.e. yet to be executed) tool call.",
1131
- "type": "object",
1132
- "properties": {
1133
- "name": {
1134
- "description": "The name of the tool to call.",
1135
- "type": "string"
1136
- },
1137
- "parameters": {
1138
- "description": "The parameters to supply to the tool's call method.\nMust conform to the tool's expected parameters type."
1139
- },
1140
- "toolCallId": {
1141
- "description": "The ID used by the GPT model to track a proposed tool call to tool a call result.\nThis maps to the toolCallId in ToolCallResultMessage.",
1142
- "type": ["string", "null"]
1143
- }
1144
- },
1145
- "additionalProperties": false,
1146
- "required": ["name", "parameters", "toolCallId"]
1147
- }
1148
- },
1149
- "resultJsonSchema": {
1150
- "$ref": "#/definitions/JSONSchema7",
1151
- "description": "If non-null, the Donobu flow will attempt to save its result using this JSON-schema."
1152
- }
1153
- },
1154
- "additionalProperties": false,
1155
- "required": [
1156
- "targetWebsite",
1157
- "overallObjective",
1158
- "name",
1159
- "browser",
1160
- "envVars",
1161
- "callbackUrl",
1162
- "customTools",
1163
- "maxIterations",
1164
- "gptConfigNameOverride",
1165
- "defaultMessageDuration",
1166
- "initialRunMode",
1167
- "isControlPanelEnabled",
1168
- "allowedTools",
1169
- "toolCallsOnStart",
1170
- "resultJsonSchema"
1171
- ]
1172
- },
1173
- "rationale": {
1174
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
1175
- "type": "string"
1176
- }
1177
- },
1178
- "additionalProperties": false,
1179
- "required": ["donobuFlowParameters", "rationale"]
1180
- },
1181
- "TriggerDonobuFlowToolGptParameters": {
1182
- "type": "object",
1183
- "properties": {
1184
- "rationale": {
1185
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
1186
- "type": "string"
1187
- },
1188
- "donobuFlowParameters": {
1189
- "description": "The parameters to use for the new Donobu flow.",
1190
- "type": "object",
1191
- "properties": {
1192
- "targetWebsite": {
1193
- "description": "The initial website to load",
1194
- "type": "string"
1195
- },
1196
- "overallObjective": {
1197
- "description": "The overall objective to pursue; can only be omitted if `initialRunMode`\nhas an effective value of `INSTRUCT` or `DETEMINISTIC`.",
1198
- "type": ["string", "null"]
1199
- },
1200
- "name": {
1201
- "description": "The name for this flow; if present, must be fewer than 256 characters.",
1202
- "type": ["string", "null"]
1203
- },
1204
- "browser": {
1205
- "type": ["object", "null"],
1206
- "properties": {
1207
- "initialState": {
1208
- "description": "When starting the flow, initialize the browser state from here.",
1209
- "anyOf": [
1210
- {
1211
- "type": "object",
1212
- "properties": {
1213
- "type": {
1214
- "type": "string",
1215
- "const": "id"
1216
- },
1217
- "value": {
1218
- "type": "string"
1219
- }
1220
- },
1221
- "additionalProperties": false,
1222
- "required": ["type", "value"]
1223
- },
1224
- {
1225
- "type": "object",
1226
- "properties": {
1227
- "type": {
1228
- "type": "string",
1229
- "const": "name"
1230
- },
1231
- "value": {
1232
- "type": "string"
1233
- }
1234
- },
1235
- "additionalProperties": false,
1236
- "required": ["type", "value"]
1237
- },
1238
- {
1239
- "type": "object",
1240
- "properties": {
1241
- "type": {
1242
- "type": "string",
1243
- "const": "json"
1244
- },
1245
- "value": {
1246
- "description": "This type is expected to match the data returned by the Playwright `BrowserContext.storageState()` method.",
1247
- "type": "object",
1248
- "properties": {
1249
- "cookies": {
1250
- "type": "array",
1251
- "items": {
1252
- "type": "object",
1253
- "properties": {
1254
- "name": {
1255
- "type": "string"
1256
- },
1257
- "value": {
1258
- "type": "string"
1259
- },
1260
- "domain": {
1261
- "type": "string"
1262
- },
1263
- "path": {
1264
- "type": "string"
1265
- },
1266
- "expires": {
1267
- "description": "Unix time in seconds.",
1268
- "type": "number"
1269
- },
1270
- "httpOnly": {
1271
- "type": "boolean"
1272
- },
1273
- "secure": {
1274
- "type": "boolean"
1275
- },
1276
- "sameSite": {
1277
- "enum": ["Lax", "None", "Strict"],
1278
- "type": "string"
1279
- }
1280
- },
1281
- "additionalProperties": false,
1282
- "required": [
1283
- "domain",
1284
- "expires",
1285
- "httpOnly",
1286
- "name",
1287
- "path",
1288
- "sameSite",
1289
- "secure",
1290
- "value"
1291
- ]
1292
- }
1293
- },
1294
- "origins": {
1295
- "type": "array",
1296
- "items": {
1297
- "type": "object",
1298
- "properties": {
1299
- "origin": {
1300
- "type": "string"
1301
- },
1302
- "localStorage": {
1303
- "type": "array",
1304
- "items": {
1305
- "type": "object",
1306
- "properties": {
1307
- "name": {
1308
- "type": "string"
1309
- },
1310
- "value": {
1311
- "type": "string"
1312
- }
1313
- },
1314
- "additionalProperties": false,
1315
- "required": ["name", "value"]
1316
- }
1317
- },
1318
- "sessionStorage": {
1319
- "type": "array",
1320
- "items": {
1321
- "type": "object",
1322
- "properties": {
1323
- "name": {
1324
- "type": "string"
1325
- },
1326
- "value": {
1327
- "type": "string"
1328
- }
1329
- },
1330
- "additionalProperties": false,
1331
- "required": ["name", "value"]
1332
- }
1333
- }
1334
- },
1335
- "additionalProperties": false,
1336
- "required": ["localStorage", "origin"]
1337
- }
1338
- }
1339
- },
1340
- "additionalProperties": false,
1341
- "required": ["cookies", "origins"]
1342
- }
1343
- },
1344
- "additionalProperties": false,
1345
- "required": ["type", "value"]
1346
- }
1347
- ]
1348
- },
1349
- "persistState": {
1350
- "description": "If set to true, saves the browser state at the end of the flow.",
1351
- "type": "boolean"
1352
- },
1353
- "using": {
1354
- "anyOf": [
1355
- {
1356
- "type": "object",
1357
- "properties": {
1358
- "type": {
1359
- "type": "string",
1360
- "const": "device"
1361
- },
1362
- "deviceName": {
1363
- "description": "The name of the device to run the flow with. See `devices.json` for details.\nIf not specified, defaults to 'Desktop Chromium'.",
1364
- "type": "string"
1365
- },
1366
- "headless": {
1367
- "description": "If true, will not open a real browser window to perform the flow.",
1368
- "type": "boolean"
1369
- }
1370
- },
1371
- "additionalProperties": false,
1372
- "required": ["type"]
1373
- },
1374
- {
1375
- "type": "object",
1376
- "properties": {
1377
- "type": {
1378
- "type": "string",
1379
- "const": "remoteInstance"
1380
- },
1381
- "url": {
1382
- "description": "The URL of a remote browser instance to connect to using the Chrome DevTools\nProtocol (CDP).",
1383
- "type": "string"
1384
- }
1385
- },
1386
- "additionalProperties": false,
1387
- "required": ["type", "url"]
1388
- },
1389
- {
1390
- "type": "object",
1391
- "properties": {
1392
- "type": {
1393
- "type": "string",
1394
- "const": "browserBase"
1395
- },
1396
- "sessionArgs": {
1397
- "description": "Broadly follows the HTTP body fields described in...\nhttps://docs.browserbase.com/reference/api/create-a-session",
1398
- "type": "object",
1399
- "properties": {
1400
- "projectId": {
1401
- "type": "string"
1402
- },
1403
- "extensionId": {
1404
- "type": "string"
1405
- },
1406
- "browserSettings": {
1407
- "type": "object",
1408
- "properties": {
1409
- "context": {
1410
- "type": "object",
1411
- "properties": {
1412
- "id": {
1413
- "type": "string"
1414
- }
1415
- },
1416
- "additionalProperties": false,
1417
- "required": ["id"]
1418
- },
1419
- "extensionId": {
1420
- "type": "string"
1421
- },
1422
- "viewport": {
1423
- "type": "object",
1424
- "properties": {
1425
- "width": {
1426
- "type": "number"
1427
- },
1428
- "height": {
1429
- "type": "number"
1430
- }
1431
- },
1432
- "additionalProperties": false,
1433
- "required": ["height", "width"]
1434
- },
1435
- "blockAds": {
1436
- "type": "boolean"
1437
- },
1438
- "solveCaptchas": {
1439
- "type": "boolean"
1440
- },
1441
- "advancedStealth": {
1442
- "type": "boolean"
1443
- }
1444
- },
1445
- "additionalProperties": false
1446
- },
1447
- "timeout": {
1448
- "description": "Duration in seconds after which the session will automatically end.",
1449
- "type": "number"
1450
- },
1451
- "proxies": {
1452
- "type": "boolean"
1453
- },
1454
- "region": {
1455
- "type": "string"
1456
- },
1457
- "userMetadata": {
1458
- "type": "object",
1459
- "additionalProperties": false
1460
- }
1461
- },
1462
- "additionalProperties": false,
1463
- "required": ["projectId"]
1464
- }
1465
- },
1466
- "additionalProperties": false,
1467
- "required": ["sessionArgs", "type"]
1468
- }
1469
- ]
1470
- }
1471
- },
1472
- "additionalProperties": false,
1473
- "required": ["using"]
1474
- },
1475
- "envVars": {
1476
- "description": "The names of environment variables to make available for use by the flow.",
1477
- "type": ["array", "null"],
1478
- "items": {
1479
- "type": "string"
1480
- }
1481
- },
1482
- "callbackUrl": {
1483
- "description": "The URL to HTTP POST to when the flow completes. The body will contain a\nJSON object with single field, \"id\", of which is the ID of the flow that\ncompleted.",
1484
- "type": ["string", "null"]
1485
- },
1486
- "customTools": {
1487
- "description": "Custom tools to enable for this flow. Any tools specified here will be\nimplicitly added to allowedTools.",
1488
- "type": ["array", "null"],
1489
- "items": {
1490
- "description": "A definition of a user-defined tool to use for a DonobuFlow.",
1491
- "type": "object",
1492
- "properties": {
1493
- "name": {
1494
- "type": "string"
1495
- },
1496
- "description": {
1497
- "type": "string"
1498
- },
1499
- "inputSchema": {
1500
- "type": "object",
1501
- "additionalProperties": false,
1502
- "required": [],
1503
- "properties": {}
1504
- },
1505
- "javascript": {
1506
- "type": "string"
1507
- }
1508
- },
1509
- "additionalProperties": false,
1510
- "required": ["description", "inputSchema", "javascript", "name"]
1511
- }
1512
- },
1513
- "maxIterations": {
1514
- "description": "The maximum number of times to iterate with the underlying GPT.",
1515
- "type": ["number", "null"]
1516
- },
1517
- "gptConfigNameOverride": {
1518
- "description": "The name of a specific GPT configuration to use. If the corresponding GPT\nconfiguration is not defined or unresolvable, the default flow agent\nconfiguration will be used.",
1519
- "type": ["string", "null"]
1520
- },
1521
- "defaultMessageDuration": {
1522
- "description": "The default amount of time the Donobu flow agent's messaging for the user should show (in milliseconds).",
1523
- "type": ["number", "null"]
1524
- },
1525
- "initialRunMode": {
1526
- "description": "The initial run mode of the flow. If not specified, defaults to\nAUTONOMOUS if gptPlatform is non-null, otherwise, defaults to INSTRUCT.",
1527
- "enum": ["AUTONOMOUS", "DETERMINISTIC", "INSTRUCT"],
1528
- "type": ["string", "null"]
1529
- },
1530
- "isControlPanelEnabled": {
1531
- "description": "Set to true if the in-browser control panel should be enabled.\nIf the headless parameter is true, then this parameter is ignored.",
1532
- "type": ["boolean", "null"]
1533
- },
1534
- "allowedTools": {
1535
- "description": "If present and non-empty, will constrain the flow to only use these tools (by\nTool.name()). If null or empty, then there are no constraints on the types of\ntools used. Note that all tools in customTools are implicitly added here.",
1536
- "type": ["array", "null"],
1537
- "items": {
1538
- "type": "string"
1539
- }
1540
- },
1541
- "toolCallsOnStart": {
1542
- "description": "An ordered series of tool calls to invoke when starting the flow.",
1543
- "type": ["array", "null"],
1544
- "items": {
1545
- "description": "A proposed (i.e. yet to be executed) tool call.",
1546
- "type": "object",
1547
- "properties": {
1548
- "name": {
1549
- "description": "The name of the tool to call.",
1550
- "type": "string"
1551
- },
1552
- "parameters": {
1553
- "description": "The parameters to supply to the tool's call method.\nMust conform to the tool's expected parameters type."
1554
- },
1555
- "toolCallId": {
1556
- "description": "The ID used by the GPT model to track a proposed tool call to tool a call result.\nThis maps to the toolCallId in ToolCallResultMessage.",
1557
- "type": ["string", "null"]
1558
- }
1559
- },
1560
- "additionalProperties": false,
1561
- "required": ["name", "parameters", "toolCallId"]
1562
- }
1563
- },
1564
- "resultJsonSchema": {
1565
- "$ref": "#/definitions/JSONSchema7",
1566
- "description": "If non-null, the Donobu flow will attempt to save its result using this JSON-schema."
1567
- }
1568
- },
1569
- "additionalProperties": false,
1570
- "required": [
1571
- "targetWebsite",
1572
- "overallObjective",
1573
- "name",
1574
- "browser",
1575
- "envVars",
1576
- "callbackUrl",
1577
- "customTools",
1578
- "maxIterations",
1579
- "gptConfigNameOverride",
1580
- "defaultMessageDuration",
1581
- "initialRunMode",
1582
- "isControlPanelEnabled",
1583
- "allowedTools",
1584
- "toolCallsOnStart",
1585
- "resultJsonSchema"
1586
- ]
1587
- }
1588
- },
1589
- "additionalProperties": false,
1590
- "required": ["donobuFlowParameters", "rationale"]
1591
- },
1592
- "ChangeWebBrowserTabToolCoreParameters": {
1593
- "type": "object",
1594
- "properties": {
1595
- "tabUrl": {
1596
- "description": "The URL for the tab to bring focus to.",
1597
- "type": "string"
1598
- }
1599
- },
1600
- "additionalProperties": false,
1601
- "required": ["tabUrl"]
1602
- },
1603
- "ChangeWebBrowserTabToolGptParameters": {
1604
- "type": "object",
1605
- "properties": {
1606
- "rationale": {
1607
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
1608
- "type": "string"
1609
- },
1610
- "tabUrl": {
1611
- "description": "The URL for the tab to bring focus to.",
1612
- "type": "string"
1613
- }
1614
- },
1615
- "additionalProperties": false,
1616
- "required": ["rationale", "tabUrl"]
1617
- },
1618
- "GoToGoogleMapsStreetViewToolCoreParameters": {
1619
- "description": "Parameters for the GoToGoogleMapsStreetViewTool",
1620
- "type": "object",
1621
- "properties": {
1622
- "entityName": {
1623
- "description": "The name of the business/entity to find.",
1624
- "type": "string"
1625
- },
1626
- "entityLocation": {
1627
- "description": "The address of the business/entity to find.",
1628
- "type": "string"
1629
- }
1630
- },
1631
- "additionalProperties": false,
1632
- "required": ["entityLocation", "entityName"]
1633
- },
1634
- "GoToGoogleMapsStreetViewToolGptParameters": {
1635
- "type": "object",
1636
- "properties": {
1637
- "rationale": {
1638
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
1639
- "type": "string"
1640
- },
1641
- "entityName": {
1642
- "description": "The name of the business/entity to find.",
1643
- "type": "string"
1644
- },
1645
- "entityLocation": {
1646
- "description": "The address of the business/entity to find.",
1647
- "type": "string"
1648
- }
1649
- },
1650
- "additionalProperties": false,
1651
- "required": ["entityLocation", "entityName", "rationale"]
1652
- },
1653
- "NavigateWithinStreetViewToolCoreParameters": {
1654
- "type": "object",
1655
- "properties": {
1656
- "action": {
1657
- "description": "Choose a value that will most likely help towards the current objective.\n- A value of ZOOM_IN will zoom in on current street maps view.\n- A value of ZOOM_OUT will zoom out on current street maps view.\n- A value of ROTATE_CLOCKWISE will rotate the current street maps view clockwise.\n- A value of ROTATE_COUNTERCLOCKWISE will rotate the current street maps view counterclockwise.",
1658
- "type": "string",
1659
- "enum": [
1660
- "ROTATE_CLOCKWISE",
1661
- "ROTATE_COUNTERCLOCKWISE",
1662
- "ZOOM_IN",
1663
- "ZOOM_OUT"
1664
- ]
1665
- }
1666
- },
1667
- "additionalProperties": false,
1668
- "required": ["action"]
1669
- },
1670
- "NavigateWithinStreetViewToolGptParameters": {
1671
- "type": "object",
1672
- "properties": {
1673
- "rationale": {
1674
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
1675
- "type": "string"
1676
- },
1677
- "action": {
1678
- "description": "Choose a value that will most likely help towards the current objective.\n- A value of ZOOM_IN will zoom in on current street maps view.\n- A value of ZOOM_OUT will zoom out on current street maps view.\n- A value of ROTATE_CLOCKWISE will rotate the current street maps view clockwise.\n- A value of ROTATE_COUNTERCLOCKWISE will rotate the current street maps view counterclockwise.",
1679
- "type": "string",
1680
- "enum": [
1681
- "ROTATE_CLOCKWISE",
1682
- "ROTATE_COUNTERCLOCKWISE",
1683
- "ZOOM_IN",
1684
- "ZOOM_OUT"
1685
- ]
1686
- }
1687
- },
1688
- "additionalProperties": false,
1689
- "required": ["action", "rationale"]
1690
- },
1691
- "ExtractGoogleStreetviewEntityDataToolCoreParameters": {
1692
- "type": "object",
1693
- "properties": {
1694
- "entityName": {
1695
- "description": "The target business/entity to keep a careful eye out for.",
1696
- "type": "string"
1697
- }
1698
- },
1699
- "additionalProperties": false,
1700
- "required": ["entityName"]
1701
- },
1702
- "ExtractGoogleStreetviewEntityDataToolGptParameters": {
1703
- "type": "object",
1704
- "properties": {
1705
- "rationale": {
1706
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
1707
- "type": "string"
1708
- },
1709
- "entityName": {
1710
- "description": "The target business/entity to keep a careful eye out for.",
1711
- "type": "string"
1712
- }
1713
- },
1714
- "additionalProperties": false,
1715
- "required": ["entityName", "rationale"]
1716
- },
1717
- "ExtractPaymentProviderToolCoreParameters": {
1718
- "type": "object",
1719
- "additionalProperties": false,
1720
- "required": [],
1721
- "properties": {}
1722
- },
1723
- "ExtractPaymentProviderToolGptParameters": {
1724
- "type": "object",
1725
- "properties": {
1726
- "rationale": {
1727
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
1728
- "type": "string"
1729
- }
1730
- },
1731
- "additionalProperties": false,
1732
- "required": ["rationale"]
1733
- },
1734
- "ExtractPublicFacebookEntityDataToolCoreParameters": {
1735
- "type": "object",
1736
- "properties": {
1737
- "facebookEntityName": {
1738
- "description": "The name of the entity's public Facebook page used in its URL. For example, passing a value of 'TheCocaColaCo'\nwould cause Donobu to inspect https://www.facebook.com/TheCocaColaCo.",
1739
- "type": ["string", "null"]
1740
- },
1741
- "facebookEntityUrl": {
1742
- "description": "The URL of the entity's public Facebook page. For example, https://www.facebook.com/TheCocaColaCo.",
1743
- "type": ["string", "null"]
1744
- },
1745
- "rationale": {
1746
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
1747
- "type": "string"
1748
- }
1749
- },
1750
- "additionalProperties": false,
1751
- "required": ["rationale", "facebookEntityName", "facebookEntityUrl"]
1752
- },
1753
- "ExtractPublicFacebookEntityDataToolGptParameters": {
1754
- "type": "object",
1755
- "properties": {
1756
- "rationale": {
1757
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
1758
- "type": "string"
1759
- },
1760
- "facebookEntityName": {
1761
- "description": "The name of the entity's public Facebook page used in its URL. For example, passing a value of 'TheCocaColaCo'\nwould cause Donobu to inspect https://www.facebook.com/TheCocaColaCo.",
1762
- "type": ["string", "null"]
1763
- },
1764
- "facebookEntityUrl": {
1765
- "description": "The URL of the entity's public Facebook page. For example, https://www.facebook.com/TheCocaColaCo.",
1766
- "type": ["string", "null"]
1767
- }
1768
- },
1769
- "additionalProperties": false,
1770
- "required": ["rationale", "facebookEntityName", "facebookEntityUrl"]
1771
- },
1772
- "GetEntityDataFromGoogleMapResultToolCoreParameters": {
1773
- "type": "object",
1774
- "additionalProperties": false,
1775
- "required": [],
1776
- "properties": {}
1777
- },
1778
- "GetEntityDataFromGoogleMapResultToolGptParameters": {
1779
- "type": "object",
1780
- "properties": {
1781
- "entityName": {
1782
- "description": "The name of the business/entity at the current Google Maps location.",
1783
- "type": "string"
1784
- },
1785
- "entityAddress": {
1786
- "description": "The address of the business/entity at the current Google Maps location.",
1787
- "type": "string"
1788
- },
1789
- "rationale": {
1790
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
1791
- "type": "string"
1792
- }
1793
- },
1794
- "additionalProperties": false,
1795
- "required": ["entityAddress", "entityName", "rationale"]
1796
- },
1797
- "GoForwardOrBackToolCoreParameters": {
1798
- "type": "object",
1799
- "properties": {
1800
- "direction": {
1801
- "description": "The direction to navigate - either FORWARD or BACK",
1802
- "type": "string",
1803
- "enum": ["FORWARD", "BACK"]
1804
- }
1805
- },
1806
- "additionalProperties": false,
1807
- "required": ["direction"]
1808
- },
1809
- "GoForwardOrBackToolGptParameters": {
1810
- "type": "object",
1811
- "properties": {
1812
- "rationale": {
1813
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
1814
- "type": "string"
1815
- },
1816
- "direction": {
1817
- "description": "The direction to navigate - either FORWARD or BACK",
1818
- "type": "string",
1819
- "enum": ["FORWARD", "BACK"]
1820
- }
1821
- },
1822
- "additionalProperties": false,
1823
- "required": ["direction", "rationale"]
1824
- },
1825
- "MakeCommentToolCoreParameters": {
1826
- "type": "object",
1827
- "additionalProperties": false,
1828
- "required": [],
1829
- "properties": {}
1830
- },
1831
- "MakeCommentToolGptParameters": {
1832
- "type": "object",
1833
- "properties": {
1834
- "comment": {
1835
- "description": "The comment to make.",
1836
- "type": "string"
1837
- },
1838
- "rationale": {
1839
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
1840
- "type": "string"
1841
- }
1842
- },
1843
- "additionalProperties": false,
1844
- "required": ["comment", "rationale"]
1845
- },
1846
- "PauseForUserInteractionToolCoreParameters": {
1847
- "type": "object",
1848
- "additionalProperties": false,
1849
- "required": [],
1850
- "properties": {}
1851
- },
1852
- "PauseForUserInteractionToolGptParameters": {
1853
- "type": "object",
1854
- "properties": {
1855
- "rationale": {
1856
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
1857
- "type": "string"
1858
- }
1859
- },
1860
- "additionalProperties": false,
1861
- "required": ["rationale"]
1862
- },
1863
- "ReloadPageToolCoreParameters": {
1864
- "type": "object",
1865
- "additionalProperties": false,
1866
- "required": [],
1867
- "properties": {}
1868
- },
1869
- "ReloadPageToolGptParameters": {
1870
- "type": "object",
1871
- "properties": {
1872
- "rationale": {
1873
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
1874
- "type": "string"
1875
- }
1876
- },
1877
- "additionalProperties": false,
1878
- "required": ["rationale"]
1879
- },
1880
- "SaveWebpageAsPdfToolCoreParameters": {
1881
- "type": "object",
1882
- "additionalProperties": false,
1883
- "required": [],
1884
- "properties": {}
1885
- },
1886
- "SaveWebpageAsPdfToolGptParameters": {
1887
- "type": "object",
1888
- "properties": {
1889
- "rationale": {
1890
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
1891
- "type": "string"
1892
- }
1893
- },
1894
- "additionalProperties": false,
1895
- "required": ["rationale"]
1896
- },
1897
- "SetRunModeToolCoreParameters": {
1898
- "type": "object",
1899
- "properties": {
1900
- "runMode": {
1901
- "description": "The value of the run mode to set.",
1902
- "enum": ["AUTONOMOUS", "DETERMINISTIC", "INSTRUCT"],
1903
- "type": "string"
1904
- }
1905
- },
1906
- "additionalProperties": false,
1907
- "required": ["runMode"]
1908
- },
1909
- "SetRunModeToolGptParameters": {
1910
- "type": "object",
1911
- "properties": {
1912
- "rationale": {
1913
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
1914
- "type": "string"
1915
- },
1916
- "runMode": {
1917
- "description": "The value of the run mode to set.",
1918
- "enum": ["AUTONOMOUS", "DETERMINISTIC", "INSTRUCT"],
1919
- "type": "string"
1920
- }
1921
- },
1922
- "additionalProperties": false,
1923
- "required": ["rationale", "runMode"]
1924
- },
1925
- "DownloadPdfToolCoreParameters": {
1926
- "type": "object",
1927
- "properties": {
1928
- "url": {
1929
- "description": "The URL of the PDF file to be downloaded.",
1930
- "type": "string"
1931
- }
1932
- },
1933
- "additionalProperties": false,
1934
- "required": ["url"]
1935
- },
1936
- "DownloadPdfToolGptParameters": {
1937
- "type": "object",
1938
- "properties": {
1939
- "rationale": {
1940
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
1941
- "type": "string"
1942
- },
1943
- "url": {
1944
- "description": "The URL of the PDF file to be downloaded.",
1945
- "type": "string"
1946
- }
1947
- },
1948
- "additionalProperties": false,
1949
- "required": ["rationale", "url"]
1950
- },
1951
- "WaitToolCoreParameters": {
1952
- "type": "object",
1953
- "properties": {
1954
- "seconds": {
1955
- "description": "The number of seconds to wait.",
1956
- "type": "number"
1957
- }
1958
- },
1959
- "additionalProperties": false,
1960
- "required": ["seconds"]
1961
- },
1962
- "WaitToolGptParameters": {
1963
- "type": "object",
1964
- "properties": {
1965
- "rationale": {
1966
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
1967
- "type": "string"
1968
- },
1969
- "seconds": {
1970
- "description": "The number of seconds to wait.",
1971
- "type": "number"
1972
- }
1973
- },
1974
- "additionalProperties": false,
1975
- "required": ["rationale", "seconds"]
1976
- },
1977
- "HoverOverElementToolCoreParameters": {
1978
- "type": "object",
1979
- "additionalProperties": false,
1980
- "required": [],
1981
- "properties": {}
1982
- },
1983
- "SelectorBasedHoverOverElementToolParameters": {
1984
- "type": "object",
1985
- "properties": {
1986
- "selector": {
1987
- "description": "A query structure used to resolve specific a HTML element in a webpage.",
1988
- "type": "object",
1989
- "properties": {
1990
- "element": {
1991
- "description": "An prioritized list of element selectors to use to attempt to resolve the\ndesired element, going from most specific to least specific. The first\nelement selector that is successfully used, wins, and the rest are ignored.",
1992
- "type": "array",
1993
- "items": {
1994
- "type": "string"
1995
- }
1996
- },
1997
- "frame": {
1998
- "description": "A selector for the corresponding frame of the element to select.\nIf null, this means the primary frame of the page is used.",
1999
- "type": "string"
2000
- }
2001
- },
2002
- "additionalProperties": false,
2003
- "required": ["element", "frame"]
2004
- }
2005
- },
2006
- "additionalProperties": false,
2007
- "required": ["selector"]
2008
- },
2009
- "AnnotationBasedHoverOverElementToolParameters": {
2010
- "type": "object",
2011
- "properties": {
2012
- "whyThisAnnotation": {
2013
- "description": "The reason why this particular numbered annotation was chosen.",
2014
- "type": "string"
2015
- },
2016
- "annotation": {
2017
- "description": "The numbered annotation of the element to click.",
2018
- "type": "string"
2019
- },
2020
- "rationale": {
2021
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
2022
- "type": "string"
2023
- }
2024
- },
2025
- "additionalProperties": false,
2026
- "required": ["annotation", "rationale", "whyThisAnnotation"]
2027
- },
2028
- "DetectBrokenLinksToolCoreParameters": {
2029
- "type": "object",
2030
- "properties": {
2031
- "captureScreenshots": {
2032
- "description": "(Optional) Whether to capture screenshots for dead links for visual verification.",
2033
- "type": ["boolean", "null"]
2034
- }
2035
- },
2036
- "additionalProperties": false,
2037
- "required": ["captureScreenshots"]
2038
- },
2039
- "DetectBrokenLinksToolGptParameters": {
2040
- "type": "object",
2041
- "properties": {
2042
- "rationale": {
2043
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
2044
- "type": "string"
2045
- },
2046
- "captureScreenshots": {
2047
- "description": "(Optional) Whether to capture screenshots for dead links for visual verification.",
2048
- "type": ["boolean", "null"]
2049
- }
2050
- },
2051
- "additionalProperties": false,
2052
- "required": ["rationale", "captureScreenshots"]
2053
- },
2054
- "AssertPageTextToolCoreParameters": {
2055
- "type": "object",
2056
- "properties": {
2057
- "text": {
2058
- "description": "The text to check visibility for in the current page.",
2059
- "type": "string"
2060
- }
2061
- },
2062
- "additionalProperties": false,
2063
- "required": ["text"]
2064
- },
2065
- "AssertPageTextToolGptParameters": {
2066
- "type": "object",
2067
- "properties": {
2068
- "rationale": {
2069
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
2070
- "type": "string"
2071
- },
2072
- "text": {
2073
- "description": "The text to check visibility for in the current page.",
2074
- "type": "string"
2075
- }
2076
- },
2077
- "additionalProperties": false,
2078
- "required": ["rationale", "text"]
2079
- },
2080
- "AssertPageToolCoreParameters": {
2081
- "type": "object",
2082
- "properties": {
2083
- "type": {
2084
- "description": "The type of assertion to perform on the current page.",
2085
- "enum": ["content", "title", "url"],
2086
- "type": "string"
2087
- },
2088
- "expected": {
2089
- "description": "The expected value to check for. For 'content' type, this is the text to find on the page.\nFor 'title' type, this is the expected page title. For 'url' type, this is the expected URL.\nCan be a string for exact matching or a regex pattern when isRegex is true.",
2090
- "type": "string"
2091
- },
2092
- "isRegex": {
2093
- "description": "Whether to treat the expected value as a regular expression pattern. Defaults to false.",
2094
- "type": ["boolean", "null"]
2095
- }
2096
- },
2097
- "additionalProperties": false,
2098
- "required": ["expected", "type", "isRegex"]
2099
- },
2100
- "AssertPageToolGptParameters": {
2101
- "type": "object",
2102
- "properties": {
2103
- "rationale": {
2104
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
2105
- "type": "string"
2106
- },
2107
- "type": {
2108
- "description": "The type of assertion to perform on the current page.",
2109
- "enum": ["content", "title", "url"],
2110
- "type": "string"
2111
- },
2112
- "expected": {
2113
- "description": "The expected value to check for. For 'content' type, this is the text to find on the page.\nFor 'title' type, this is the expected page title. For 'url' type, this is the expected URL.\nCan be a string for exact matching or a regex pattern when isRegex is true.",
2114
- "type": "string"
2115
- },
2116
- "isRegex": {
2117
- "description": "Whether to treat the expected value as a regular expression pattern. Defaults to false.",
2118
- "type": ["boolean", "null"]
2119
- }
2120
- },
2121
- "additionalProperties": false,
2122
- "required": ["expected", "rationale", "type", "isRegex"]
2123
- },
2124
- "SolveMfaChallengeToolCoreParameters": {
2125
- "type": "object",
2126
- "properties": {
2127
- "gmailClientId": {
2128
- "description": "The Gmail client ID. This should be passed using an environment variable\nreference like {{$.env.GMAIL_CLIENT_ID}} or similar.",
2129
- "type": "string"
2130
- },
2131
- "gmailClientSecret": {
2132
- "description": "The Gmail client secret. This should be passed using an environment\nvariable reference like {{$.env.GMAIL_CLIENT_SECRET}} or similar.",
2133
- "type": "string"
2134
- },
2135
- "gmailRefreshToken": {
2136
- "description": "The Gmail refresh token. This should be passed using an environment\nvariable reference like {{$.env.GMAIL_REFRESH_TOKEN}} or similar.",
2137
- "type": "string"
2138
- }
2139
- },
2140
- "additionalProperties": false,
2141
- "required": ["gmailClientId", "gmailClientSecret", "gmailRefreshToken"]
2142
- },
2143
- "SelectorBasedSolveMfaChallengeToolParameters": {
2144
- "type": "object",
2145
- "properties": {
2146
- "selector": {
2147
- "description": "A query structure used to resolve specific a HTML element in a webpage.",
2148
- "type": "object",
2149
- "properties": {
2150
- "element": {
2151
- "description": "An prioritized list of element selectors to use to attempt to resolve the\ndesired element, going from most specific to least specific. The first\nelement selector that is successfully used, wins, and the rest are ignored.",
2152
- "type": "array",
2153
- "items": {
2154
- "type": "string"
2155
- }
2156
- },
2157
- "frame": {
2158
- "description": "A selector for the corresponding frame of the element to select.\nIf null, this means the primary frame of the page is used.",
2159
- "type": "string"
2160
- }
2161
- },
2162
- "additionalProperties": false,
2163
- "required": ["element", "frame"]
2164
- },
2165
- "gmailClientId": {
2166
- "description": "The Gmail client ID. This should be passed using an environment variable\nreference like {{$.env.GMAIL_CLIENT_ID}} or similar.",
2167
- "type": "string"
2168
- },
2169
- "gmailClientSecret": {
2170
- "description": "The Gmail client secret. This should be passed using an environment\nvariable reference like {{$.env.GMAIL_CLIENT_SECRET}} or similar.",
2171
- "type": "string"
2172
- },
2173
- "gmailRefreshToken": {
2174
- "description": "The Gmail refresh token. This should be passed using an environment\nvariable reference like {{$.env.GMAIL_REFRESH_TOKEN}} or similar.",
2175
- "type": "string"
2176
- }
2177
- },
2178
- "additionalProperties": false,
2179
- "required": [
2180
- "gmailClientId",
2181
- "gmailClientSecret",
2182
- "gmailRefreshToken",
2183
- "selector"
2184
- ]
2185
- },
2186
- "AnnotationBasedSolveMfaChallengeToolParameters": {
2187
- "type": "object",
2188
- "properties": {
2189
- "whyThisAnnotation": {
2190
- "description": "The reason why this particular numbered annotation was chosen.",
2191
- "type": "string"
2192
- },
2193
- "annotation": {
2194
- "description": "The numbered annotation of the element to click.",
2195
- "type": "string"
2196
- },
2197
- "rationale": {
2198
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
2199
- "type": "string"
2200
- },
2201
- "gmailClientId": {
2202
- "description": "The Gmail client ID. This should be passed using an environment variable\nreference like {{$.env.GMAIL_CLIENT_ID}} or similar.",
2203
- "type": "string"
2204
- },
2205
- "gmailClientSecret": {
2206
- "description": "The Gmail client secret. This should be passed using an environment\nvariable reference like {{$.env.GMAIL_CLIENT_SECRET}} or similar.",
2207
- "type": "string"
2208
- },
2209
- "gmailRefreshToken": {
2210
- "description": "The Gmail refresh token. This should be passed using an environment\nvariable reference like {{$.env.GMAIL_REFRESH_TOKEN}} or similar.",
2211
- "type": "string"
2212
- }
2213
- },
2214
- "additionalProperties": false,
2215
- "required": [
2216
- "annotation",
2217
- "gmailClientId",
2218
- "gmailClientSecret",
2219
- "gmailRefreshToken",
2220
- "rationale",
2221
- "whyThisAnnotation"
2222
- ]
2223
- },
2224
- "AggregateExtractedStreetviewDataToolCoreParameters": {
2225
- "type": "object",
2226
- "additionalProperties": false,
2227
- "required": [],
2228
- "properties": {}
2229
- },
2230
- "AggregateExtractedStreetviewDataToolGptParameters": {
2231
- "type": "object",
2232
- "properties": {
2233
- "rationale": {
2234
- "description": "The reason why this particular action is being taken. It MUST relate to the overall objective.",
2235
- "type": "string"
2236
- }
2237
- },
2238
- "additionalProperties": false,
2239
- "required": ["rationale"]
2240
- }
2241
- }