browser-use-sdk 1.2.0 → 2.0.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 (963) hide show
  1. package/README.md +130 -317
  2. package/dist/cjs/Client.d.ts +46 -0
  3. package/dist/cjs/Client.js +79 -0
  4. package/dist/cjs/api/errors/BadRequestError.d.ts +8 -0
  5. package/dist/cjs/api/errors/BadRequestError.js +52 -0
  6. package/dist/cjs/api/errors/InternalServerError.d.ts +8 -0
  7. package/dist/cjs/api/errors/InternalServerError.js +52 -0
  8. package/dist/cjs/api/errors/NotFoundError.d.ts +8 -0
  9. package/dist/cjs/api/errors/NotFoundError.js +52 -0
  10. package/dist/cjs/api/errors/PaymentRequiredError.d.ts +9 -0
  11. package/dist/cjs/api/errors/PaymentRequiredError.js +52 -0
  12. package/dist/cjs/api/errors/UnprocessableEntityError.d.ts +8 -0
  13. package/dist/cjs/api/errors/UnprocessableEntityError.js +52 -0
  14. package/dist/cjs/api/errors/index.d.ts +5 -0
  15. package/dist/cjs/api/errors/index.js +21 -0
  16. package/dist/cjs/api/index.d.ts +3 -0
  17. package/dist/cjs/api/index.js +19 -0
  18. package/dist/cjs/api/resources/accounts/client/Client.d.ts +47 -0
  19. package/dist/cjs/api/resources/accounts/client/Client.js +123 -0
  20. package/dist/cjs/api/resources/accounts/client/index.d.ts +1 -0
  21. package/dist/cjs/api/resources/accounts/client/index.js +2 -0
  22. package/dist/cjs/api/resources/accounts/index.d.ts +1 -0
  23. package/dist/cjs/api/resources/accounts/index.js +17 -0
  24. package/dist/cjs/api/resources/files/client/Client.d.ts +72 -0
  25. package/dist/cjs/api/resources/files/client/Client.js +210 -0
  26. package/dist/cjs/api/resources/files/client/index.d.ts +2 -0
  27. package/dist/cjs/api/resources/files/client/index.js +17 -0
  28. package/dist/cjs/api/resources/files/client/requests/UploadFileRequest.d.ts +40 -0
  29. package/dist/cjs/api/resources/files/client/requests/UploadFileRequest.js +25 -0
  30. package/dist/cjs/api/resources/files/client/requests/index.d.ts +1 -0
  31. package/dist/cjs/api/resources/files/client/requests/index.js +2 -0
  32. package/dist/cjs/api/resources/files/index.d.ts +1 -0
  33. package/dist/cjs/api/resources/files/index.js +17 -0
  34. package/dist/cjs/api/resources/index.d.ts +9 -0
  35. package/dist/cjs/api/resources/index.js +48 -0
  36. package/dist/cjs/api/resources/profiles/client/Client.d.ts +93 -0
  37. package/dist/cjs/api/resources/profiles/client/Client.js +319 -0
  38. package/dist/cjs/api/resources/profiles/client/index.d.ts +2 -0
  39. package/dist/cjs/api/resources/profiles/client/index.js +17 -0
  40. package/dist/cjs/api/resources/profiles/client/requests/ListProfilesProfilesGetRequest.d.ts +11 -0
  41. package/dist/cjs/api/resources/profiles/client/requests/ListProfilesProfilesGetRequest.js +5 -0
  42. package/dist/cjs/api/resources/profiles/client/requests/index.d.ts +1 -0
  43. package/dist/cjs/api/resources/profiles/client/requests/index.js +2 -0
  44. package/dist/cjs/api/resources/profiles/index.d.ts +1 -0
  45. package/dist/cjs/api/resources/profiles/index.js +17 -0
  46. package/dist/cjs/api/resources/sessions/client/Client.d.ts +146 -0
  47. package/dist/cjs/api/resources/sessions/client/Client.js +573 -0
  48. package/dist/cjs/api/resources/sessions/client/index.d.ts +2 -0
  49. package/dist/cjs/api/resources/sessions/client/index.js +17 -0
  50. package/dist/cjs/api/resources/sessions/client/requests/CreateSessionRequest.d.ts +14 -0
  51. package/dist/cjs/api/resources/sessions/client/requests/CreateSessionRequest.js +5 -0
  52. package/dist/cjs/api/resources/sessions/client/requests/ListSessionsSessionsGetRequest.d.ts +13 -0
  53. package/dist/cjs/api/resources/sessions/client/requests/ListSessionsSessionsGetRequest.js +5 -0
  54. package/dist/cjs/api/resources/sessions/client/requests/UpdateSessionRequest.d.ts +9 -0
  55. package/dist/cjs/api/resources/sessions/client/requests/UpdateSessionRequest.js +5 -0
  56. package/dist/cjs/api/resources/sessions/client/requests/index.d.ts +3 -0
  57. package/dist/cjs/api/resources/sessions/client/requests/index.js +2 -0
  58. package/dist/cjs/api/resources/sessions/index.d.ts +1 -0
  59. package/dist/cjs/api/resources/sessions/index.js +17 -0
  60. package/dist/cjs/api/resources/tasks/client/Client.d.ts +113 -0
  61. package/dist/cjs/api/resources/tasks/client/Client.js +411 -0
  62. package/dist/cjs/api/resources/tasks/client/index.d.ts +2 -0
  63. package/dist/cjs/api/resources/tasks/client/index.js +17 -0
  64. package/dist/cjs/api/resources/tasks/client/requests/CreateTaskRequest.d.ts +40 -0
  65. package/dist/cjs/api/resources/tasks/client/requests/CreateTaskRequest.js +5 -0
  66. package/dist/cjs/api/resources/tasks/client/requests/ListTasksTasksGetRequest.d.ts +16 -0
  67. package/dist/cjs/api/resources/tasks/client/requests/ListTasksTasksGetRequest.js +5 -0
  68. package/dist/cjs/api/resources/tasks/client/requests/UpdateTaskRequest.d.ts +14 -0
  69. package/dist/cjs/api/resources/tasks/client/requests/UpdateTaskRequest.js +5 -0
  70. package/dist/cjs/api/resources/tasks/client/requests/index.d.ts +3 -0
  71. package/dist/cjs/api/resources/tasks/client/requests/index.js +2 -0
  72. package/dist/cjs/api/resources/tasks/index.d.ts +1 -0
  73. package/dist/cjs/api/resources/tasks/index.js +17 -0
  74. package/dist/cjs/api/types/AccountNotFoundError.d.ts +9 -0
  75. package/dist/cjs/api/types/AccountNotFoundError.js +5 -0
  76. package/dist/cjs/api/types/AccountView.d.ts +18 -0
  77. package/dist/cjs/api/types/AccountView.js +5 -0
  78. package/dist/cjs/api/types/BadRequestErrorBody.d.ts +5 -0
  79. package/dist/cjs/api/types/BadRequestErrorBody.js +5 -0
  80. package/dist/cjs/api/types/DownloadUrlGenerationError.d.ts +9 -0
  81. package/dist/cjs/api/types/DownloadUrlGenerationError.js +5 -0
  82. package/dist/cjs/api/types/FileView.d.ts +12 -0
  83. package/dist/cjs/api/types/FileView.js +5 -0
  84. package/dist/cjs/api/types/HttpValidationError.d.ts +7 -0
  85. package/dist/cjs/api/types/HttpValidationError.js +5 -0
  86. package/dist/cjs/api/types/InsufficientCreditsError.d.ts +9 -0
  87. package/dist/cjs/api/types/InsufficientCreditsError.js +5 -0
  88. package/dist/cjs/api/types/InternalServerErrorBody.d.ts +9 -0
  89. package/dist/cjs/api/types/InternalServerErrorBody.js +5 -0
  90. package/dist/cjs/api/types/NotFoundErrorBody.d.ts +5 -0
  91. package/dist/cjs/api/types/NotFoundErrorBody.js +5 -0
  92. package/dist/cjs/api/types/OutputFileNotFoundError.d.ts +9 -0
  93. package/dist/cjs/api/types/OutputFileNotFoundError.js +5 -0
  94. package/dist/cjs/api/types/ProfileListResponse.d.ts +17 -0
  95. package/dist/cjs/api/types/ProfileListResponse.js +5 -0
  96. package/dist/cjs/api/types/ProfileNotFoundError.d.ts +9 -0
  97. package/dist/cjs/api/types/ProfileNotFoundError.js +5 -0
  98. package/dist/cjs/api/types/ProfileView.d.ts +18 -0
  99. package/dist/cjs/api/types/ProfileView.js +5 -0
  100. package/dist/cjs/api/types/ProxyCountryCode.d.ts +16 -0
  101. package/dist/cjs/api/types/ProxyCountryCode.js +18 -0
  102. package/dist/cjs/api/types/SessionHasRunningTaskError.d.ts +9 -0
  103. package/dist/cjs/api/types/SessionHasRunningTaskError.js +5 -0
  104. package/dist/cjs/api/types/SessionItemView.d.ts +19 -0
  105. package/dist/cjs/api/types/SessionItemView.js +5 -0
  106. package/dist/cjs/api/types/SessionListResponse.d.ts +17 -0
  107. package/dist/cjs/api/types/SessionListResponse.js +5 -0
  108. package/dist/cjs/api/types/SessionNotFoundError.d.ts +9 -0
  109. package/dist/cjs/api/types/SessionNotFoundError.js +5 -0
  110. package/dist/cjs/api/types/SessionStatus.d.ts +15 -0
  111. package/dist/cjs/api/types/SessionStatus.js +10 -0
  112. package/dist/cjs/api/types/SessionStoppedError.d.ts +9 -0
  113. package/dist/cjs/api/types/SessionStoppedError.js +5 -0
  114. package/dist/cjs/api/types/SessionUpdateAction.d.ts +10 -0
  115. package/dist/cjs/api/types/SessionUpdateAction.js +5 -0
  116. package/dist/cjs/api/types/SessionView.d.ts +23 -0
  117. package/dist/cjs/api/types/SessionView.js +5 -0
  118. package/dist/cjs/api/types/ShareNotFoundError.d.ts +9 -0
  119. package/dist/cjs/api/types/ShareNotFoundError.js +5 -0
  120. package/dist/cjs/api/types/ShareView.d.ts +16 -0
  121. package/dist/cjs/api/types/ShareView.js +5 -0
  122. package/dist/cjs/api/types/SupportedLlMs.d.ts +17 -0
  123. package/dist/cjs/api/types/SupportedLlMs.js +19 -0
  124. package/dist/cjs/api/types/TaskCreatedResponse.d.ts +10 -0
  125. package/dist/cjs/api/types/TaskCreatedResponse.js +5 -0
  126. package/dist/cjs/api/types/TaskItemView.d.ts +32 -0
  127. package/dist/cjs/api/types/TaskItemView.js +5 -0
  128. package/dist/cjs/api/types/TaskListResponse.d.ts +17 -0
  129. package/dist/cjs/api/types/TaskListResponse.js +5 -0
  130. package/dist/cjs/api/types/TaskLogFileResponse.d.ts +10 -0
  131. package/dist/cjs/api/types/TaskLogFileResponse.js +5 -0
  132. package/dist/cjs/api/types/TaskNotFoundError.d.ts +9 -0
  133. package/dist/cjs/api/types/TaskNotFoundError.js +5 -0
  134. package/dist/cjs/api/types/TaskOutputFileResponse.d.ts +14 -0
  135. package/dist/cjs/api/types/TaskOutputFileResponse.js +5 -0
  136. package/dist/cjs/api/types/TaskStatus.d.ts +19 -0
  137. package/dist/cjs/api/types/TaskStatus.js +12 -0
  138. package/dist/cjs/api/types/TaskStepView.d.ts +22 -0
  139. package/dist/cjs/api/types/TaskStepView.js +5 -0
  140. package/dist/cjs/api/types/TaskUpdateAction.d.ts +19 -0
  141. package/dist/cjs/api/types/TaskUpdateAction.js +12 -0
  142. package/dist/cjs/api/types/TaskView.d.ts +34 -0
  143. package/dist/cjs/api/types/TaskView.js +5 -0
  144. package/dist/cjs/api/types/UnsupportedContentTypeError.d.ts +9 -0
  145. package/dist/cjs/api/types/UnsupportedContentTypeError.js +5 -0
  146. package/dist/cjs/api/types/UploadFilePresignedUrlResponse.d.ts +18 -0
  147. package/dist/cjs/api/types/UploadFilePresignedUrlResponse.js +5 -0
  148. package/dist/cjs/api/types/ValidationError.d.ts +14 -0
  149. package/dist/cjs/api/types/ValidationError.js +5 -0
  150. package/dist/cjs/api/types/index.d.ts +38 -0
  151. package/dist/cjs/api/types/index.js +54 -0
  152. package/dist/cjs/core/fetcher/APIResponse.d.ts +20 -0
  153. package/dist/cjs/core/fetcher/APIResponse.js +2 -0
  154. package/dist/cjs/core/fetcher/BinaryResponse.d.ts +20 -0
  155. package/dist/cjs/core/fetcher/BinaryResponse.js +17 -0
  156. package/dist/cjs/core/fetcher/Fetcher.d.ts +40 -0
  157. package/dist/cjs/core/fetcher/Fetcher.js +120 -0
  158. package/dist/cjs/core/fetcher/Headers.d.ts +2 -0
  159. package/dist/cjs/core/fetcher/Headers.js +84 -0
  160. package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +58 -0
  161. package/dist/cjs/core/fetcher/HttpResponsePromise.js +103 -0
  162. package/dist/cjs/core/fetcher/RawResponse.d.ts +29 -0
  163. package/dist/cjs/core/fetcher/RawResponse.js +44 -0
  164. package/dist/cjs/core/fetcher/ResponseWithBody.d.ts +4 -0
  165. package/dist/cjs/core/fetcher/ResponseWithBody.js +6 -0
  166. package/dist/cjs/core/fetcher/Supplier.d.ts +4 -0
  167. package/dist/cjs/core/fetcher/Supplier.js +22 -0
  168. package/dist/cjs/core/fetcher/createRequestUrl.d.ts +1 -0
  169. package/dist/cjs/core/fetcher/createRequestUrl.js +8 -0
  170. package/dist/cjs/core/fetcher/getErrorResponseBody.d.ts +1 -0
  171. package/dist/cjs/core/fetcher/getErrorResponseBody.js +44 -0
  172. package/dist/cjs/core/fetcher/getFetchFn.d.ts +1 -0
  173. package/dist/cjs/core/fetcher/getFetchFn.js +17 -0
  174. package/dist/cjs/core/fetcher/getHeader.d.ts +1 -0
  175. package/dist/cjs/core/fetcher/getHeader.js +11 -0
  176. package/dist/cjs/core/fetcher/getRequestBody.d.ts +7 -0
  177. package/dist/cjs/core/fetcher/getRequestBody.js +23 -0
  178. package/dist/cjs/core/fetcher/getResponseBody.d.ts +1 -0
  179. package/dist/cjs/core/fetcher/getResponseBody.js +55 -0
  180. package/dist/cjs/core/fetcher/index.d.ts +9 -0
  181. package/dist/cjs/core/fetcher/index.js +15 -0
  182. package/dist/cjs/core/fetcher/makeRequest.d.ts +1 -0
  183. package/dist/cjs/core/fetcher/makeRequest.js +42 -0
  184. package/dist/cjs/core/fetcher/requestWithRetries.d.ts +1 -0
  185. package/dist/cjs/core/fetcher/requestWithRetries.js +40 -0
  186. package/dist/cjs/core/fetcher/signals.d.ts +11 -0
  187. package/dist/cjs/core/fetcher/signals.js +36 -0
  188. package/dist/cjs/core/headers.d.ts +3 -0
  189. package/dist/cjs/core/headers.js +29 -0
  190. package/dist/cjs/core/index.d.ts +3 -0
  191. package/dist/cjs/core/index.js +42 -0
  192. package/dist/cjs/core/json.d.ts +15 -0
  193. package/dist/cjs/core/json.js +24 -0
  194. package/dist/cjs/core/runtime/index.d.ts +1 -0
  195. package/dist/cjs/core/runtime/index.js +5 -0
  196. package/dist/cjs/core/runtime/runtime.d.ts +9 -0
  197. package/dist/cjs/core/runtime/runtime.js +102 -0
  198. package/dist/cjs/core/url/index.d.ts +2 -0
  199. package/dist/cjs/core/url/index.js +7 -0
  200. package/dist/cjs/core/url/join.d.ts +1 -0
  201. package/dist/cjs/core/url/join.js +69 -0
  202. package/dist/cjs/core/url/qs.d.ts +6 -0
  203. package/dist/cjs/core/url/qs.js +64 -0
  204. package/dist/cjs/environments.d.ts +7 -0
  205. package/dist/cjs/environments.js +9 -0
  206. package/dist/cjs/errors/BrowserUseError.d.ts +15 -0
  207. package/dist/cjs/errors/BrowserUseError.js +30 -0
  208. package/dist/cjs/errors/BrowserUseTimeoutError.d.ts +6 -0
  209. package/dist/cjs/errors/BrowserUseTimeoutError.js +13 -0
  210. package/dist/cjs/errors/index.d.ts +2 -0
  211. package/dist/cjs/errors/index.js +7 -0
  212. package/dist/cjs/index.d.ts +7 -0
  213. package/dist/cjs/index.js +47 -0
  214. package/dist/cjs/version.d.ts +1 -0
  215. package/dist/cjs/version.js +4 -0
  216. package/dist/cjs/wrapper/BrowserUseClient.d.ts +6 -0
  217. package/dist/cjs/wrapper/BrowserUseClient.js +12 -0
  218. package/dist/cjs/wrapper/api/BrowserUseTasks.d.ts +15 -0
  219. package/dist/cjs/wrapper/api/BrowserUseTasks.js +89 -0
  220. package/dist/cjs/wrapper/lib/parse.d.ts +69 -0
  221. package/dist/cjs/wrapper/lib/parse.js +212 -0
  222. package/dist/cjs/wrapper/lib/types.d.ts +74 -0
  223. package/dist/cjs/wrapper/lib/types.js +13 -0
  224. package/dist/cjs/wrapper/lib/webhooks.d.ts +72 -0
  225. package/dist/cjs/wrapper/lib/webhooks.js +97 -0
  226. package/dist/esm/Client.d.mts +46 -0
  227. package/dist/esm/Client.mjs +42 -0
  228. package/dist/esm/api/errors/BadRequestError.d.mts +8 -0
  229. package/dist/esm/api/errors/BadRequestError.mjs +15 -0
  230. package/dist/esm/api/errors/InternalServerError.d.mts +8 -0
  231. package/dist/esm/api/errors/InternalServerError.mjs +15 -0
  232. package/dist/esm/api/errors/NotFoundError.d.mts +8 -0
  233. package/dist/esm/api/errors/NotFoundError.mjs +15 -0
  234. package/dist/esm/api/errors/PaymentRequiredError.d.mts +9 -0
  235. package/dist/esm/api/errors/PaymentRequiredError.mjs +15 -0
  236. package/dist/esm/api/errors/UnprocessableEntityError.d.mts +8 -0
  237. package/dist/esm/api/errors/UnprocessableEntityError.mjs +15 -0
  238. package/dist/esm/api/errors/index.d.mts +5 -0
  239. package/dist/esm/api/errors/index.mjs +5 -0
  240. package/dist/esm/api/index.d.mts +3 -0
  241. package/dist/esm/api/index.mjs +3 -0
  242. package/dist/esm/api/resources/accounts/client/Client.d.mts +47 -0
  243. package/dist/esm/api/resources/accounts/client/Client.mjs +86 -0
  244. package/dist/esm/api/resources/accounts/client/index.d.mts +1 -0
  245. package/dist/esm/api/resources/accounts/client/index.mjs +1 -0
  246. package/dist/esm/api/resources/accounts/index.d.mts +1 -0
  247. package/dist/esm/api/resources/accounts/index.mjs +1 -0
  248. package/dist/esm/api/resources/files/client/Client.d.mts +72 -0
  249. package/dist/esm/api/resources/files/client/Client.mjs +173 -0
  250. package/dist/esm/api/resources/files/client/index.d.mts +2 -0
  251. package/dist/esm/api/resources/files/client/index.mjs +1 -0
  252. package/dist/esm/api/resources/files/client/requests/UploadFileRequest.d.mts +40 -0
  253. package/dist/esm/api/resources/files/client/requests/UploadFileRequest.mjs +22 -0
  254. package/dist/esm/api/resources/files/client/requests/index.d.mts +1 -0
  255. package/dist/esm/api/resources/files/client/requests/index.mjs +1 -0
  256. package/dist/esm/api/resources/files/index.d.mts +1 -0
  257. package/dist/esm/api/resources/files/index.mjs +1 -0
  258. package/dist/esm/api/resources/index.d.mts +9 -0
  259. package/dist/esm/api/resources/index.mjs +9 -0
  260. package/dist/esm/api/resources/profiles/client/Client.d.mts +93 -0
  261. package/dist/esm/api/resources/profiles/client/Client.mjs +282 -0
  262. package/dist/esm/api/resources/profiles/client/index.d.mts +2 -0
  263. package/dist/esm/api/resources/profiles/client/index.mjs +1 -0
  264. package/dist/esm/api/resources/profiles/client/requests/ListProfilesProfilesGetRequest.d.mts +11 -0
  265. package/dist/esm/api/resources/profiles/client/requests/ListProfilesProfilesGetRequest.mjs +4 -0
  266. package/dist/esm/api/resources/profiles/client/requests/index.d.mts +1 -0
  267. package/dist/esm/api/resources/profiles/client/requests/index.mjs +1 -0
  268. package/dist/esm/api/resources/profiles/index.d.mts +1 -0
  269. package/dist/esm/api/resources/profiles/index.mjs +1 -0
  270. package/dist/esm/api/resources/sessions/client/Client.d.mts +146 -0
  271. package/dist/esm/api/resources/sessions/client/Client.mjs +536 -0
  272. package/dist/esm/api/resources/sessions/client/index.d.mts +2 -0
  273. package/dist/esm/api/resources/sessions/client/index.mjs +1 -0
  274. package/dist/esm/api/resources/sessions/client/requests/CreateSessionRequest.d.mts +14 -0
  275. package/dist/esm/api/resources/sessions/client/requests/CreateSessionRequest.mjs +4 -0
  276. package/dist/esm/api/resources/sessions/client/requests/ListSessionsSessionsGetRequest.d.mts +13 -0
  277. package/dist/esm/api/resources/sessions/client/requests/ListSessionsSessionsGetRequest.mjs +4 -0
  278. package/dist/esm/api/resources/sessions/client/requests/UpdateSessionRequest.d.mts +9 -0
  279. package/dist/esm/api/resources/sessions/client/requests/UpdateSessionRequest.mjs +4 -0
  280. package/dist/esm/api/resources/sessions/client/requests/index.d.mts +3 -0
  281. package/dist/esm/api/resources/sessions/client/requests/index.mjs +1 -0
  282. package/dist/esm/api/resources/sessions/index.d.mts +1 -0
  283. package/dist/esm/api/resources/sessions/index.mjs +1 -0
  284. package/dist/esm/api/resources/tasks/client/Client.d.mts +113 -0
  285. package/dist/esm/api/resources/tasks/client/Client.mjs +374 -0
  286. package/dist/esm/api/resources/tasks/client/index.d.mts +2 -0
  287. package/dist/esm/api/resources/tasks/client/index.mjs +1 -0
  288. package/dist/esm/api/resources/tasks/client/requests/CreateTaskRequest.d.mts +40 -0
  289. package/dist/esm/api/resources/tasks/client/requests/CreateTaskRequest.mjs +4 -0
  290. package/dist/esm/api/resources/tasks/client/requests/ListTasksTasksGetRequest.d.mts +16 -0
  291. package/dist/esm/api/resources/tasks/client/requests/ListTasksTasksGetRequest.mjs +4 -0
  292. package/dist/esm/api/resources/tasks/client/requests/UpdateTaskRequest.d.mts +14 -0
  293. package/dist/esm/api/resources/tasks/client/requests/UpdateTaskRequest.mjs +4 -0
  294. package/dist/esm/api/resources/tasks/client/requests/index.d.mts +3 -0
  295. package/dist/esm/api/resources/tasks/client/requests/index.mjs +1 -0
  296. package/dist/esm/api/resources/tasks/index.d.mts +1 -0
  297. package/dist/esm/api/resources/tasks/index.mjs +1 -0
  298. package/dist/esm/api/types/AccountNotFoundError.d.mts +9 -0
  299. package/dist/esm/api/types/AccountNotFoundError.mjs +4 -0
  300. package/dist/esm/api/types/AccountView.d.mts +18 -0
  301. package/dist/esm/api/types/AccountView.mjs +4 -0
  302. package/dist/esm/api/types/BadRequestErrorBody.d.mts +5 -0
  303. package/dist/esm/api/types/BadRequestErrorBody.mjs +4 -0
  304. package/dist/esm/api/types/DownloadUrlGenerationError.d.mts +9 -0
  305. package/dist/esm/api/types/DownloadUrlGenerationError.mjs +4 -0
  306. package/dist/esm/api/types/FileView.d.mts +12 -0
  307. package/dist/esm/api/types/FileView.mjs +4 -0
  308. package/dist/esm/api/types/HttpValidationError.d.mts +7 -0
  309. package/dist/esm/api/types/HttpValidationError.mjs +4 -0
  310. package/dist/esm/api/types/InsufficientCreditsError.d.mts +9 -0
  311. package/dist/esm/api/types/InsufficientCreditsError.mjs +4 -0
  312. package/dist/esm/api/types/InternalServerErrorBody.d.mts +9 -0
  313. package/dist/esm/api/types/InternalServerErrorBody.mjs +4 -0
  314. package/dist/esm/api/types/NotFoundErrorBody.d.mts +5 -0
  315. package/dist/esm/api/types/NotFoundErrorBody.mjs +4 -0
  316. package/dist/esm/api/types/OutputFileNotFoundError.d.mts +9 -0
  317. package/dist/esm/api/types/OutputFileNotFoundError.mjs +4 -0
  318. package/dist/esm/api/types/ProfileListResponse.d.mts +17 -0
  319. package/dist/esm/api/types/ProfileListResponse.mjs +4 -0
  320. package/dist/esm/api/types/ProfileNotFoundError.d.mts +9 -0
  321. package/dist/esm/api/types/ProfileNotFoundError.mjs +4 -0
  322. package/dist/esm/api/types/ProfileView.d.mts +18 -0
  323. package/dist/esm/api/types/ProfileView.mjs +4 -0
  324. package/dist/esm/api/types/ProxyCountryCode.d.mts +16 -0
  325. package/dist/esm/api/types/ProxyCountryCode.mjs +15 -0
  326. package/dist/esm/api/types/SessionHasRunningTaskError.d.mts +9 -0
  327. package/dist/esm/api/types/SessionHasRunningTaskError.mjs +4 -0
  328. package/dist/esm/api/types/SessionItemView.d.mts +19 -0
  329. package/dist/esm/api/types/SessionItemView.mjs +4 -0
  330. package/dist/esm/api/types/SessionListResponse.d.mts +17 -0
  331. package/dist/esm/api/types/SessionListResponse.mjs +4 -0
  332. package/dist/esm/api/types/SessionNotFoundError.d.mts +9 -0
  333. package/dist/esm/api/types/SessionNotFoundError.mjs +4 -0
  334. package/dist/esm/api/types/SessionStatus.d.mts +15 -0
  335. package/dist/esm/api/types/SessionStatus.mjs +7 -0
  336. package/dist/esm/api/types/SessionStoppedError.d.mts +9 -0
  337. package/dist/esm/api/types/SessionStoppedError.mjs +4 -0
  338. package/dist/esm/api/types/SessionUpdateAction.d.mts +10 -0
  339. package/dist/esm/api/types/SessionUpdateAction.mjs +4 -0
  340. package/dist/esm/api/types/SessionView.d.mts +23 -0
  341. package/dist/esm/api/types/SessionView.mjs +4 -0
  342. package/dist/esm/api/types/ShareNotFoundError.d.mts +9 -0
  343. package/dist/esm/api/types/ShareNotFoundError.mjs +4 -0
  344. package/dist/esm/api/types/ShareView.d.mts +16 -0
  345. package/dist/esm/api/types/ShareView.mjs +4 -0
  346. package/dist/esm/api/types/SupportedLlMs.d.mts +17 -0
  347. package/dist/esm/api/types/SupportedLlMs.mjs +16 -0
  348. package/dist/esm/api/types/TaskCreatedResponse.d.mts +10 -0
  349. package/dist/esm/api/types/TaskCreatedResponse.mjs +4 -0
  350. package/dist/esm/api/types/TaskItemView.d.mts +32 -0
  351. package/dist/esm/api/types/TaskItemView.mjs +4 -0
  352. package/dist/esm/api/types/TaskListResponse.d.mts +17 -0
  353. package/dist/esm/api/types/TaskListResponse.mjs +4 -0
  354. package/dist/esm/api/types/TaskLogFileResponse.d.mts +10 -0
  355. package/dist/esm/api/types/TaskLogFileResponse.mjs +4 -0
  356. package/dist/esm/api/types/TaskNotFoundError.d.mts +9 -0
  357. package/dist/esm/api/types/TaskNotFoundError.mjs +4 -0
  358. package/dist/esm/api/types/TaskOutputFileResponse.d.mts +14 -0
  359. package/dist/esm/api/types/TaskOutputFileResponse.mjs +4 -0
  360. package/dist/esm/api/types/TaskStatus.d.mts +19 -0
  361. package/dist/esm/api/types/TaskStatus.mjs +9 -0
  362. package/dist/esm/api/types/TaskStepView.d.mts +22 -0
  363. package/dist/esm/api/types/TaskStepView.mjs +4 -0
  364. package/dist/esm/api/types/TaskUpdateAction.d.mts +19 -0
  365. package/dist/esm/api/types/TaskUpdateAction.mjs +9 -0
  366. package/dist/esm/api/types/TaskView.d.mts +34 -0
  367. package/dist/esm/api/types/TaskView.mjs +4 -0
  368. package/dist/esm/api/types/UnsupportedContentTypeError.d.mts +9 -0
  369. package/dist/esm/api/types/UnsupportedContentTypeError.mjs +4 -0
  370. package/dist/esm/api/types/UploadFilePresignedUrlResponse.d.mts +18 -0
  371. package/dist/esm/api/types/UploadFilePresignedUrlResponse.mjs +4 -0
  372. package/dist/esm/api/types/ValidationError.d.mts +14 -0
  373. package/dist/esm/api/types/ValidationError.mjs +4 -0
  374. package/dist/esm/api/types/index.d.mts +38 -0
  375. package/dist/esm/api/types/index.mjs +38 -0
  376. package/dist/esm/core/fetcher/APIResponse.d.mts +20 -0
  377. package/dist/esm/core/fetcher/APIResponse.mjs +1 -0
  378. package/dist/esm/core/fetcher/BinaryResponse.d.mts +20 -0
  379. package/dist/esm/core/fetcher/BinaryResponse.mjs +14 -0
  380. package/dist/esm/core/fetcher/Fetcher.d.mts +40 -0
  381. package/dist/esm/core/fetcher/Fetcher.mjs +116 -0
  382. package/dist/esm/core/fetcher/Headers.d.mts +2 -0
  383. package/dist/esm/core/fetcher/Headers.mjs +82 -0
  384. package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +58 -0
  385. package/dist/esm/core/fetcher/HttpResponsePromise.mjs +99 -0
  386. package/dist/esm/core/fetcher/RawResponse.d.mts +29 -0
  387. package/dist/esm/core/fetcher/RawResponse.mjs +40 -0
  388. package/dist/esm/core/fetcher/ResponseWithBody.d.mts +4 -0
  389. package/dist/esm/core/fetcher/ResponseWithBody.mjs +3 -0
  390. package/dist/esm/core/fetcher/Supplier.d.mts +4 -0
  391. package/dist/esm/core/fetcher/Supplier.mjs +19 -0
  392. package/dist/esm/core/fetcher/createRequestUrl.d.mts +1 -0
  393. package/dist/esm/core/fetcher/createRequestUrl.mjs +5 -0
  394. package/dist/esm/core/fetcher/getErrorResponseBody.d.mts +1 -0
  395. package/dist/esm/core/fetcher/getErrorResponseBody.mjs +41 -0
  396. package/dist/esm/core/fetcher/getFetchFn.d.mts +1 -0
  397. package/dist/esm/core/fetcher/getFetchFn.mjs +14 -0
  398. package/dist/esm/core/fetcher/getHeader.d.mts +1 -0
  399. package/dist/esm/core/fetcher/getHeader.mjs +8 -0
  400. package/dist/esm/core/fetcher/getRequestBody.d.mts +7 -0
  401. package/dist/esm/core/fetcher/getRequestBody.mjs +20 -0
  402. package/dist/esm/core/fetcher/getResponseBody.d.mts +1 -0
  403. package/dist/esm/core/fetcher/getResponseBody.mjs +52 -0
  404. package/dist/esm/core/fetcher/index.d.mts +9 -0
  405. package/dist/esm/core/fetcher/index.mjs +5 -0
  406. package/dist/esm/core/fetcher/makeRequest.d.mts +1 -0
  407. package/dist/esm/core/fetcher/makeRequest.mjs +38 -0
  408. package/dist/esm/core/fetcher/requestWithRetries.d.mts +1 -0
  409. package/dist/esm/core/fetcher/requestWithRetries.mjs +37 -0
  410. package/dist/esm/core/fetcher/signals.d.mts +11 -0
  411. package/dist/esm/core/fetcher/signals.mjs +32 -0
  412. package/dist/esm/core/headers.d.mts +3 -0
  413. package/dist/esm/core/headers.mjs +25 -0
  414. package/dist/esm/core/index.d.mts +3 -0
  415. package/dist/esm/core/index.mjs +3 -0
  416. package/dist/esm/core/json.d.mts +15 -0
  417. package/dist/esm/core/json.mjs +19 -0
  418. package/dist/esm/core/runtime/index.d.mts +1 -0
  419. package/dist/esm/core/runtime/index.mjs +1 -0
  420. package/dist/esm/core/runtime/runtime.d.mts +9 -0
  421. package/dist/esm/core/runtime/runtime.mjs +99 -0
  422. package/dist/esm/core/url/index.d.mts +2 -0
  423. package/dist/esm/core/url/index.mjs +2 -0
  424. package/dist/esm/core/url/join.d.mts +1 -0
  425. package/dist/esm/core/url/join.mjs +66 -0
  426. package/dist/esm/core/url/qs.d.mts +6 -0
  427. package/dist/esm/core/url/qs.mjs +61 -0
  428. package/dist/esm/environments.d.mts +7 -0
  429. package/dist/esm/environments.mjs +6 -0
  430. package/dist/esm/errors/BrowserUseError.d.mts +15 -0
  431. package/dist/esm/errors/BrowserUseError.mjs +26 -0
  432. package/dist/esm/errors/BrowserUseTimeoutError.d.mts +6 -0
  433. package/dist/esm/errors/BrowserUseTimeoutError.mjs +9 -0
  434. package/dist/esm/errors/index.d.mts +2 -0
  435. package/dist/esm/errors/index.mjs +2 -0
  436. package/dist/esm/index.d.mts +7 -0
  437. package/dist/esm/index.mjs +5 -0
  438. package/dist/esm/version.d.mts +1 -0
  439. package/dist/esm/version.mjs +1 -0
  440. package/dist/esm/wrapper/BrowserUseClient.d.mts +6 -0
  441. package/dist/esm/wrapper/BrowserUseClient.mjs +8 -0
  442. package/dist/esm/wrapper/api/BrowserUseTasks.d.mts +15 -0
  443. package/dist/esm/wrapper/api/BrowserUseTasks.mjs +52 -0
  444. package/dist/esm/wrapper/lib/parse.d.mts +69 -0
  445. package/dist/esm/wrapper/lib/parse.mjs +203 -0
  446. package/dist/esm/wrapper/lib/types.d.mts +74 -0
  447. package/dist/esm/wrapper/lib/types.mjs +9 -0
  448. package/dist/esm/wrapper/lib/webhooks.d.mts +72 -0
  449. package/dist/esm/wrapper/lib/webhooks.mjs +89 -0
  450. package/package.json +83 -158
  451. package/reference.md +1302 -0
  452. package/CHANGELOG.md +0 -157
  453. package/LICENSE +0 -201
  454. package/api-promise.d.mts +0 -2
  455. package/api-promise.d.mts.map +0 -1
  456. package/api-promise.d.ts +0 -2
  457. package/api-promise.d.ts.map +0 -1
  458. package/api-promise.js +0 -6
  459. package/api-promise.js.map +0 -1
  460. package/api-promise.mjs +0 -2
  461. package/api-promise.mjs.map +0 -1
  462. package/client.d.mts +0 -192
  463. package/client.d.mts.map +0 -1
  464. package/client.d.ts +0 -192
  465. package/client.d.ts.map +0 -1
  466. package/client.js +0 -473
  467. package/client.js.map +0 -1
  468. package/client.mjs +0 -469
  469. package/client.mjs.map +0 -1
  470. package/core/api-promise.d.mts +0 -46
  471. package/core/api-promise.d.mts.map +0 -1
  472. package/core/api-promise.d.ts +0 -46
  473. package/core/api-promise.d.ts.map +0 -1
  474. package/core/api-promise.js +0 -74
  475. package/core/api-promise.js.map +0 -1
  476. package/core/api-promise.mjs +0 -70
  477. package/core/api-promise.mjs.map +0 -1
  478. package/core/error.d.mts +0 -46
  479. package/core/error.d.mts.map +0 -1
  480. package/core/error.d.ts +0 -46
  481. package/core/error.d.ts.map +0 -1
  482. package/core/error.js +0 -113
  483. package/core/error.js.map +0 -1
  484. package/core/error.mjs +0 -97
  485. package/core/error.mjs.map +0 -1
  486. package/core/resource.d.mts +0 -6
  487. package/core/resource.d.mts.map +0 -1
  488. package/core/resource.d.ts +0 -6
  489. package/core/resource.d.ts.map +0 -1
  490. package/core/resource.js +0 -11
  491. package/core/resource.js.map +0 -1
  492. package/core/resource.mjs +0 -7
  493. package/core/resource.mjs.map +0 -1
  494. package/core/uploads.d.mts +0 -3
  495. package/core/uploads.d.mts.map +0 -1
  496. package/core/uploads.d.ts +0 -3
  497. package/core/uploads.d.ts.map +0 -1
  498. package/core/uploads.js +0 -6
  499. package/core/uploads.js.map +0 -1
  500. package/core/uploads.mjs +0 -2
  501. package/core/uploads.mjs.map +0 -1
  502. package/error.d.mts +0 -2
  503. package/error.d.mts.map +0 -1
  504. package/error.d.ts +0 -2
  505. package/error.d.ts.map +0 -1
  506. package/error.js +0 -6
  507. package/error.js.map +0 -1
  508. package/error.mjs +0 -2
  509. package/error.mjs.map +0 -1
  510. package/index.d.mts +0 -6
  511. package/index.d.mts.map +0 -1
  512. package/index.d.ts +0 -6
  513. package/index.d.ts.map +0 -1
  514. package/index.js +0 -30
  515. package/index.js.map +0 -1
  516. package/index.mjs +0 -7
  517. package/index.mjs.map +0 -1
  518. package/internal/builtin-types.d.mts +0 -73
  519. package/internal/builtin-types.d.mts.map +0 -1
  520. package/internal/builtin-types.d.ts +0 -73
  521. package/internal/builtin-types.d.ts.map +0 -1
  522. package/internal/builtin-types.js +0 -4
  523. package/internal/builtin-types.js.map +0 -1
  524. package/internal/builtin-types.mjs +0 -3
  525. package/internal/builtin-types.mjs.map +0 -1
  526. package/internal/detect-platform.d.mts +0 -15
  527. package/internal/detect-platform.d.mts.map +0 -1
  528. package/internal/detect-platform.d.ts +0 -15
  529. package/internal/detect-platform.d.ts.map +0 -1
  530. package/internal/detect-platform.js +0 -162
  531. package/internal/detect-platform.js.map +0 -1
  532. package/internal/detect-platform.mjs +0 -157
  533. package/internal/detect-platform.mjs.map +0 -1
  534. package/internal/errors.d.mts +0 -3
  535. package/internal/errors.d.mts.map +0 -1
  536. package/internal/errors.d.ts +0 -3
  537. package/internal/errors.d.ts.map +0 -1
  538. package/internal/errors.js +0 -41
  539. package/internal/errors.js.map +0 -1
  540. package/internal/errors.mjs +0 -36
  541. package/internal/errors.mjs.map +0 -1
  542. package/internal/headers.d.mts +0 -20
  543. package/internal/headers.d.mts.map +0 -1
  544. package/internal/headers.d.ts +0 -20
  545. package/internal/headers.d.ts.map +0 -1
  546. package/internal/headers.js +0 -79
  547. package/internal/headers.js.map +0 -1
  548. package/internal/headers.mjs +0 -74
  549. package/internal/headers.mjs.map +0 -1
  550. package/internal/parse.d.mts +0 -12
  551. package/internal/parse.d.mts.map +0 -1
  552. package/internal/parse.d.ts +0 -12
  553. package/internal/parse.d.ts.map +0 -1
  554. package/internal/parse.js +0 -35
  555. package/internal/parse.js.map +0 -1
  556. package/internal/parse.mjs +0 -32
  557. package/internal/parse.mjs.map +0 -1
  558. package/internal/request-options.d.mts +0 -75
  559. package/internal/request-options.d.mts.map +0 -1
  560. package/internal/request-options.d.ts +0 -75
  561. package/internal/request-options.d.ts.map +0 -1
  562. package/internal/request-options.js +0 -14
  563. package/internal/request-options.js.map +0 -1
  564. package/internal/request-options.mjs +0 -10
  565. package/internal/request-options.mjs.map +0 -1
  566. package/internal/shim-types.d.mts +0 -17
  567. package/internal/shim-types.d.mts.map +0 -1
  568. package/internal/shim-types.d.ts +0 -17
  569. package/internal/shim-types.d.ts.map +0 -1
  570. package/internal/shim-types.js +0 -4
  571. package/internal/shim-types.js.map +0 -1
  572. package/internal/shim-types.mjs +0 -3
  573. package/internal/shim-types.mjs.map +0 -1
  574. package/internal/shims.d.mts +0 -20
  575. package/internal/shims.d.mts.map +0 -1
  576. package/internal/shims.d.ts +0 -20
  577. package/internal/shims.d.ts.map +0 -1
  578. package/internal/shims.js +0 -92
  579. package/internal/shims.js.map +0 -1
  580. package/internal/shims.mjs +0 -85
  581. package/internal/shims.mjs.map +0 -1
  582. package/internal/to-file.d.mts +0 -45
  583. package/internal/to-file.d.mts.map +0 -1
  584. package/internal/to-file.d.ts +0 -45
  585. package/internal/to-file.d.ts.map +0 -1
  586. package/internal/to-file.js +0 -91
  587. package/internal/to-file.js.map +0 -1
  588. package/internal/to-file.mjs +0 -88
  589. package/internal/to-file.mjs.map +0 -1
  590. package/internal/tslib.js +0 -85
  591. package/internal/tslib.mjs +0 -17
  592. package/internal/types.d.mts +0 -69
  593. package/internal/types.d.mts.map +0 -1
  594. package/internal/types.d.ts +0 -69
  595. package/internal/types.d.ts.map +0 -1
  596. package/internal/types.js +0 -4
  597. package/internal/types.js.map +0 -1
  598. package/internal/types.mjs +0 -3
  599. package/internal/types.mjs.map +0 -1
  600. package/internal/uploads.d.mts +0 -42
  601. package/internal/uploads.d.mts.map +0 -1
  602. package/internal/uploads.d.ts +0 -42
  603. package/internal/uploads.d.ts.map +0 -1
  604. package/internal/uploads.js +0 -141
  605. package/internal/uploads.js.map +0 -1
  606. package/internal/uploads.mjs +0 -131
  607. package/internal/uploads.mjs.map +0 -1
  608. package/internal/utils/base64.d.mts +0 -3
  609. package/internal/utils/base64.d.mts.map +0 -1
  610. package/internal/utils/base64.d.ts +0 -3
  611. package/internal/utils/base64.d.ts.map +0 -1
  612. package/internal/utils/base64.js +0 -38
  613. package/internal/utils/base64.js.map +0 -1
  614. package/internal/utils/base64.mjs +0 -33
  615. package/internal/utils/base64.mjs.map +0 -1
  616. package/internal/utils/bytes.d.mts +0 -4
  617. package/internal/utils/bytes.d.mts.map +0 -1
  618. package/internal/utils/bytes.d.ts +0 -4
  619. package/internal/utils/bytes.d.ts.map +0 -1
  620. package/internal/utils/bytes.js +0 -31
  621. package/internal/utils/bytes.js.map +0 -1
  622. package/internal/utils/bytes.mjs +0 -26
  623. package/internal/utils/bytes.mjs.map +0 -1
  624. package/internal/utils/env.d.mts +0 -9
  625. package/internal/utils/env.d.mts.map +0 -1
  626. package/internal/utils/env.d.ts +0 -9
  627. package/internal/utils/env.d.ts.map +0 -1
  628. package/internal/utils/env.js +0 -22
  629. package/internal/utils/env.js.map +0 -1
  630. package/internal/utils/env.mjs +0 -18
  631. package/internal/utils/env.mjs.map +0 -1
  632. package/internal/utils/log.d.mts +0 -37
  633. package/internal/utils/log.d.mts.map +0 -1
  634. package/internal/utils/log.d.ts +0 -37
  635. package/internal/utils/log.d.ts.map +0 -1
  636. package/internal/utils/log.js +0 -86
  637. package/internal/utils/log.js.map +0 -1
  638. package/internal/utils/log.mjs +0 -80
  639. package/internal/utils/log.mjs.map +0 -1
  640. package/internal/utils/path.d.mts +0 -15
  641. package/internal/utils/path.d.mts.map +0 -1
  642. package/internal/utils/path.d.ts +0 -15
  643. package/internal/utils/path.d.ts.map +0 -1
  644. package/internal/utils/path.js +0 -79
  645. package/internal/utils/path.js.map +0 -1
  646. package/internal/utils/path.mjs +0 -74
  647. package/internal/utils/path.mjs.map +0 -1
  648. package/internal/utils/sleep.d.mts +0 -2
  649. package/internal/utils/sleep.d.mts.map +0 -1
  650. package/internal/utils/sleep.d.ts +0 -2
  651. package/internal/utils/sleep.d.ts.map +0 -1
  652. package/internal/utils/sleep.js +0 -7
  653. package/internal/utils/sleep.js.map +0 -1
  654. package/internal/utils/sleep.mjs +0 -3
  655. package/internal/utils/sleep.mjs.map +0 -1
  656. package/internal/utils/uuid.d.mts +0 -5
  657. package/internal/utils/uuid.d.mts.map +0 -1
  658. package/internal/utils/uuid.d.ts +0 -5
  659. package/internal/utils/uuid.d.ts.map +0 -1
  660. package/internal/utils/uuid.js +0 -19
  661. package/internal/utils/uuid.js.map +0 -1
  662. package/internal/utils/uuid.mjs +0 -15
  663. package/internal/utils/uuid.mjs.map +0 -1
  664. package/internal/utils/values.d.mts +0 -18
  665. package/internal/utils/values.d.mts.map +0 -1
  666. package/internal/utils/values.d.ts +0 -18
  667. package/internal/utils/values.d.ts.map +0 -1
  668. package/internal/utils/values.js +0 -112
  669. package/internal/utils/values.js.map +0 -1
  670. package/internal/utils/values.mjs +0 -94
  671. package/internal/utils/values.mjs.map +0 -1
  672. package/internal/utils.d.mts +0 -7
  673. package/internal/utils.d.mts.map +0 -1
  674. package/internal/utils.d.ts +0 -7
  675. package/internal/utils.d.ts.map +0 -1
  676. package/internal/utils.js +0 -11
  677. package/internal/utils.js.map +0 -1
  678. package/internal/utils.mjs +0 -8
  679. package/internal/utils.mjs.map +0 -1
  680. package/lib/bin/auth.d.mts +0 -10
  681. package/lib/bin/auth.d.mts.map +0 -1
  682. package/lib/bin/auth.d.ts +0 -10
  683. package/lib/bin/auth.d.ts.map +0 -1
  684. package/lib/bin/auth.js +0 -52
  685. package/lib/bin/auth.js.map +0 -1
  686. package/lib/bin/auth.mjs +0 -47
  687. package/lib/bin/auth.mjs.map +0 -1
  688. package/lib/bin/cli.d.mts +0 -3
  689. package/lib/bin/cli.d.mts.map +0 -1
  690. package/lib/bin/cli.d.ts +0 -3
  691. package/lib/bin/cli.d.ts.map +0 -1
  692. package/lib/bin/cli.js +0 -12
  693. package/lib/bin/cli.js.map +0 -1
  694. package/lib/bin/cli.mjs +0 -10
  695. package/lib/bin/cli.mjs.map +0 -1
  696. package/lib/bin/commands/listen.d.mts +0 -3
  697. package/lib/bin/commands/listen.d.mts.map +0 -1
  698. package/lib/bin/commands/listen.d.ts +0 -3
  699. package/lib/bin/commands/listen.d.ts.map +0 -1
  700. package/lib/bin/commands/listen.js +0 -143
  701. package/lib/bin/commands/listen.js.map +0 -1
  702. package/lib/bin/commands/listen.mjs +0 -140
  703. package/lib/bin/commands/listen.mjs.map +0 -1
  704. package/lib/nextjs/hooks/useBrowserUse.d.mts +0 -7
  705. package/lib/nextjs/hooks/useBrowserUse.d.mts.map +0 -1
  706. package/lib/nextjs/hooks/useBrowserUse.d.ts +0 -7
  707. package/lib/nextjs/hooks/useBrowserUse.d.ts.map +0 -1
  708. package/lib/nextjs/hooks/useBrowserUse.js +0 -30
  709. package/lib/nextjs/hooks/useBrowserUse.js.map +0 -1
  710. package/lib/nextjs/hooks/useBrowserUse.mjs +0 -27
  711. package/lib/nextjs/hooks/useBrowserUse.mjs.map +0 -1
  712. package/lib/nextjs/server/utils.d.mts +0 -26
  713. package/lib/nextjs/server/utils.d.mts.map +0 -1
  714. package/lib/nextjs/server/utils.d.ts +0 -26
  715. package/lib/nextjs/server/utils.d.ts.map +0 -1
  716. package/lib/nextjs/server/utils.js +0 -42
  717. package/lib/nextjs/server/utils.js.map +0 -1
  718. package/lib/nextjs/server/utils.mjs +0 -39
  719. package/lib/nextjs/server/utils.mjs.map +0 -1
  720. package/lib/parse.d.mts +0 -11
  721. package/lib/parse.d.mts.map +0 -1
  722. package/lib/parse.d.ts +0 -11
  723. package/lib/parse.d.ts.map +0 -1
  724. package/lib/parse.js +0 -32
  725. package/lib/parse.js.map +0 -1
  726. package/lib/parse.mjs +0 -27
  727. package/lib/parse.mjs.map +0 -1
  728. package/lib/stream.d.mts +0 -7
  729. package/lib/stream.d.mts.map +0 -1
  730. package/lib/stream.d.ts +0 -7
  731. package/lib/stream.d.ts.map +0 -1
  732. package/lib/stream.js +0 -16
  733. package/lib/stream.js.map +0 -1
  734. package/lib/stream.mjs +0 -12
  735. package/lib/stream.mjs.map +0 -1
  736. package/lib/types.d.mts +0 -75
  737. package/lib/types.d.mts.map +0 -1
  738. package/lib/types.d.ts +0 -75
  739. package/lib/types.d.ts.map +0 -1
  740. package/lib/types.js +0 -14
  741. package/lib/types.js.map +0 -1
  742. package/lib/types.mjs +0 -10
  743. package/lib/types.mjs.map +0 -1
  744. package/lib/webhooks.d.mts +0 -73
  745. package/lib/webhooks.d.mts.map +0 -1
  746. package/lib/webhooks.d.ts +0 -73
  747. package/lib/webhooks.d.ts.map +0 -1
  748. package/lib/webhooks.js +0 -85
  749. package/lib/webhooks.js.map +0 -1
  750. package/lib/webhooks.mjs +0 -79
  751. package/lib/webhooks.mjs.map +0 -1
  752. package/resource.d.mts +0 -2
  753. package/resource.d.mts.map +0 -1
  754. package/resource.d.ts +0 -2
  755. package/resource.d.ts.map +0 -1
  756. package/resource.js +0 -6
  757. package/resource.js.map +0 -1
  758. package/resource.mjs +0 -2
  759. package/resource.mjs.map +0 -1
  760. package/resources/agent-profiles.d.mts +0 -174
  761. package/resources/agent-profiles.d.mts.map +0 -1
  762. package/resources/agent-profiles.d.ts +0 -174
  763. package/resources/agent-profiles.d.ts.map +0 -1
  764. package/resources/agent-profiles.js +0 -125
  765. package/resources/agent-profiles.js.map +0 -1
  766. package/resources/agent-profiles.mjs +0 -121
  767. package/resources/agent-profiles.mjs.map +0 -1
  768. package/resources/browser-profiles.d.mts +0 -179
  769. package/resources/browser-profiles.d.mts.map +0 -1
  770. package/resources/browser-profiles.d.ts +0 -179
  771. package/resources/browser-profiles.d.ts.map +0 -1
  772. package/resources/browser-profiles.js +0 -126
  773. package/resources/browser-profiles.js.map +0 -1
  774. package/resources/browser-profiles.mjs +0 -122
  775. package/resources/browser-profiles.mjs.map +0 -1
  776. package/resources/index.d.mts +0 -6
  777. package/resources/index.d.mts.map +0 -1
  778. package/resources/index.d.ts +0 -6
  779. package/resources/index.d.ts.map +0 -1
  780. package/resources/index.js +0 -15
  781. package/resources/index.js.map +0 -1
  782. package/resources/index.mjs +0 -7
  783. package/resources/index.mjs.map +0 -1
  784. package/resources/sessions/index.d.mts +0 -3
  785. package/resources/sessions/index.d.mts.map +0 -1
  786. package/resources/sessions/index.d.ts +0 -3
  787. package/resources/sessions/index.d.ts.map +0 -1
  788. package/resources/sessions/index.js +0 -9
  789. package/resources/sessions/index.js.map +0 -1
  790. package/resources/sessions/index.mjs +0 -4
  791. package/resources/sessions/index.mjs.map +0 -1
  792. package/resources/sessions/public-share.d.mts +0 -89
  793. package/resources/sessions/public-share.d.mts.map +0 -1
  794. package/resources/sessions/public-share.d.ts +0 -89
  795. package/resources/sessions/public-share.d.ts.map +0 -1
  796. package/resources/sessions/public-share.js +0 -86
  797. package/resources/sessions/public-share.js.map +0 -1
  798. package/resources/sessions/public-share.mjs +0 -82
  799. package/resources/sessions/public-share.mjs.map +0 -1
  800. package/resources/sessions/sessions.d.mts +0 -186
  801. package/resources/sessions/sessions.d.mts.map +0 -1
  802. package/resources/sessions/sessions.d.ts +0 -186
  803. package/resources/sessions/sessions.d.ts.map +0 -1
  804. package/resources/sessions/sessions.js +0 -113
  805. package/resources/sessions/sessions.js.map +0 -1
  806. package/resources/sessions/sessions.mjs +0 -108
  807. package/resources/sessions/sessions.mjs.map +0 -1
  808. package/resources/sessions.d.mts +0 -2
  809. package/resources/sessions.d.mts.map +0 -1
  810. package/resources/sessions.d.ts +0 -2
  811. package/resources/sessions.d.ts.map +0 -1
  812. package/resources/sessions.js +0 -6
  813. package/resources/sessions.js.map +0 -1
  814. package/resources/sessions.mjs +0 -3
  815. package/resources/sessions.mjs.map +0 -1
  816. package/resources/tasks.d.mts +0 -529
  817. package/resources/tasks.d.mts.map +0 -1
  818. package/resources/tasks.d.ts +0 -529
  819. package/resources/tasks.d.ts.map +0 -1
  820. package/resources/tasks.js +0 -238
  821. package/resources/tasks.js.map +0 -1
  822. package/resources/tasks.mjs +0 -234
  823. package/resources/tasks.mjs.map +0 -1
  824. package/resources/users/index.d.mts +0 -3
  825. package/resources/users/index.d.mts.map +0 -1
  826. package/resources/users/index.d.ts +0 -3
  827. package/resources/users/index.d.ts.map +0 -1
  828. package/resources/users/index.js +0 -9
  829. package/resources/users/index.js.map +0 -1
  830. package/resources/users/index.mjs +0 -4
  831. package/resources/users/index.mjs.map +0 -1
  832. package/resources/users/me/files.d.mts +0 -64
  833. package/resources/users/me/files.d.mts.map +0 -1
  834. package/resources/users/me/files.d.ts +0 -64
  835. package/resources/users/me/files.d.ts.map +0 -1
  836. package/resources/users/me/files.js +0 -43
  837. package/resources/users/me/files.js.map +0 -1
  838. package/resources/users/me/files.mjs +0 -39
  839. package/resources/users/me/files.mjs.map +0 -1
  840. package/resources/users/me/index.d.mts +0 -3
  841. package/resources/users/me/index.d.mts.map +0 -1
  842. package/resources/users/me/index.d.ts +0 -3
  843. package/resources/users/me/index.d.ts.map +0 -1
  844. package/resources/users/me/index.js +0 -9
  845. package/resources/users/me/index.js.map +0 -1
  846. package/resources/users/me/index.mjs +0 -4
  847. package/resources/users/me/index.mjs.map +0 -1
  848. package/resources/users/me/me.d.mts +0 -50
  849. package/resources/users/me/me.d.mts.map +0 -1
  850. package/resources/users/me/me.d.ts +0 -50
  851. package/resources/users/me/me.d.ts.map +0 -1
  852. package/resources/users/me/me.js +0 -41
  853. package/resources/users/me/me.js.map +0 -1
  854. package/resources/users/me/me.mjs +0 -36
  855. package/resources/users/me/me.mjs.map +0 -1
  856. package/resources/users/me.d.mts +0 -2
  857. package/resources/users/me.d.mts.map +0 -1
  858. package/resources/users/me.d.ts +0 -2
  859. package/resources/users/me.d.ts.map +0 -1
  860. package/resources/users/me.js +0 -6
  861. package/resources/users/me.js.map +0 -1
  862. package/resources/users/me.mjs +0 -3
  863. package/resources/users/me.mjs.map +0 -1
  864. package/resources/users/users.d.mts +0 -10
  865. package/resources/users/users.d.mts.map +0 -1
  866. package/resources/users/users.d.ts +0 -10
  867. package/resources/users/users.d.ts.map +0 -1
  868. package/resources/users/users.js +0 -17
  869. package/resources/users/users.js.map +0 -1
  870. package/resources/users/users.mjs +0 -12
  871. package/resources/users/users.mjs.map +0 -1
  872. package/resources/users.d.mts +0 -2
  873. package/resources/users.d.mts.map +0 -1
  874. package/resources/users.d.ts +0 -2
  875. package/resources/users.d.ts.map +0 -1
  876. package/resources/users.js +0 -6
  877. package/resources/users.js.map +0 -1
  878. package/resources/users.mjs +0 -3
  879. package/resources/users.mjs.map +0 -1
  880. package/resources.d.mts +0 -2
  881. package/resources.d.mts.map +0 -1
  882. package/resources.d.ts +0 -2
  883. package/resources.d.ts.map +0 -1
  884. package/resources.js +0 -5
  885. package/resources.js.map +0 -1
  886. package/resources.mjs +0 -2
  887. package/resources.mjs.map +0 -1
  888. package/src/api-promise.ts +0 -2
  889. package/src/client.ts +0 -824
  890. package/src/core/README.md +0 -3
  891. package/src/core/api-promise.ts +0 -92
  892. package/src/core/error.ts +0 -130
  893. package/src/core/resource.ts +0 -11
  894. package/src/core/uploads.ts +0 -2
  895. package/src/error.ts +0 -2
  896. package/src/index.ts +0 -22
  897. package/src/internal/README.md +0 -3
  898. package/src/internal/builtin-types.ts +0 -93
  899. package/src/internal/detect-platform.ts +0 -196
  900. package/src/internal/errors.ts +0 -33
  901. package/src/internal/headers.ts +0 -97
  902. package/src/internal/parse.ts +0 -50
  903. package/src/internal/request-options.ts +0 -91
  904. package/src/internal/shim-types.ts +0 -26
  905. package/src/internal/shims.ts +0 -107
  906. package/src/internal/to-file.ts +0 -154
  907. package/src/internal/types.ts +0 -95
  908. package/src/internal/uploads.ts +0 -187
  909. package/src/internal/utils/base64.ts +0 -40
  910. package/src/internal/utils/bytes.ts +0 -32
  911. package/src/internal/utils/env.ts +0 -18
  912. package/src/internal/utils/log.ts +0 -127
  913. package/src/internal/utils/path.ts +0 -88
  914. package/src/internal/utils/sleep.ts +0 -3
  915. package/src/internal/utils/uuid.ts +0 -17
  916. package/src/internal/utils/values.ts +0 -105
  917. package/src/internal/utils.ts +0 -8
  918. package/src/lib/.keep +0 -4
  919. package/src/lib/bin/auth.ts +0 -63
  920. package/src/lib/bin/cli.ts +0 -11
  921. package/src/lib/bin/commands/listen.ts +0 -183
  922. package/src/lib/nextjs/hooks/useBrowserUse.ts +0 -37
  923. package/src/lib/nextjs/server/utils.ts +0 -69
  924. package/src/lib/parse.ts +0 -46
  925. package/src/lib/stream.ts +0 -14
  926. package/src/lib/types.ts +0 -73
  927. package/src/lib/webhooks.ts +0 -119
  928. package/src/resource.ts +0 -2
  929. package/src/resources/agent-profiles.ts +0 -245
  930. package/src/resources/browser-profiles.ts +0 -255
  931. package/src/resources/index.ts +0 -46
  932. package/src/resources/sessions/index.ts +0 -11
  933. package/src/resources/sessions/public-share.ts +0 -109
  934. package/src/resources/sessions/sessions.ts +0 -240
  935. package/src/resources/sessions.ts +0 -3
  936. package/src/resources/tasks.ts +0 -783
  937. package/src/resources/users/index.ts +0 -4
  938. package/src/resources/users/me/files.ts +0 -95
  939. package/src/resources/users/me/index.ts +0 -4
  940. package/src/resources/users/me/me.ts +0 -68
  941. package/src/resources/users/me.ts +0 -3
  942. package/src/resources/users/users.ts +0 -15
  943. package/src/resources/users.ts +0 -3
  944. package/src/resources.ts +0 -1
  945. package/src/tsconfig.json +0 -11
  946. package/src/uploads.ts +0 -2
  947. package/src/version.ts +0 -1
  948. package/uploads.d.mts +0 -2
  949. package/uploads.d.mts.map +0 -1
  950. package/uploads.d.ts +0 -2
  951. package/uploads.d.ts.map +0 -1
  952. package/uploads.js +0 -6
  953. package/uploads.js.map +0 -1
  954. package/uploads.mjs +0 -2
  955. package/uploads.mjs.map +0 -1
  956. package/version.d.mts +0 -2
  957. package/version.d.mts.map +0 -1
  958. package/version.d.ts +0 -2
  959. package/version.d.ts.map +0 -1
  960. package/version.js +0 -5
  961. package/version.js.map +0 -1
  962. package/version.mjs +0 -2
  963. package/version.mjs.map +0 -1
@@ -1,174 +0,0 @@
1
- import { APIResource } from "../core/resource.mjs";
2
- import { APIPromise } from "../core/api-promise.mjs";
3
- import { RequestOptions } from "../internal/request-options.mjs";
4
- export declare class AgentProfiles extends APIResource {
5
- /**
6
- * Create a new agent profile for the authenticated user.
7
- *
8
- * Agent profiles define how your AI agents behave during tasks. You can create
9
- * multiple profiles for different use cases (e.g., customer support, data
10
- * analysis, web scraping). Free users can create 1 profile; paid users can create
11
- * unlimited profiles.
12
- *
13
- * Key features you can configure:
14
- *
15
- * - System prompt: The core instructions that define the agent's personality and
16
- * behavior
17
- * - Allowed domains: Restrict which websites the agent can access
18
- * - Max steps: Limit how many actions the agent can take in a single task
19
- * - Vision: Enable/disable the agent's ability to see and analyze screenshots
20
- * - Thinking: Enable/disable the agent's reasoning process
21
- *
22
- * Args:
23
- *
24
- * - request: The agent profile configuration including name, description, and
25
- * behavior settings
26
- *
27
- * Returns:
28
- *
29
- * - The newly created agent profile with all its details
30
- *
31
- * Raises:
32
- *
33
- * - 402: If user needs a subscription to create additional profiles
34
- */
35
- create(body: AgentProfileCreateParams, options?: RequestOptions): APIPromise<AgentProfileView>;
36
- /**
37
- * Get a specific agent profile by its ID.
38
- *
39
- * Retrieves the complete details of an agent profile, including all its
40
- * configuration settings like system prompts, allowed domains, and behavior flags.
41
- *
42
- * Args:
43
- *
44
- * - profile_id: The unique identifier of the agent profile
45
- *
46
- * Returns:
47
- *
48
- * - Complete agent profile information
49
- *
50
- * Raises:
51
- *
52
- * - 404: If the user agent profile doesn't exist
53
- */
54
- retrieve(profileID: string, options?: RequestOptions): APIPromise<AgentProfileView>;
55
- /**
56
- * Update an existing agent profile.
57
- *
58
- * Modify any aspect of an agent profile, such as its name, description, system
59
- * prompt, or behavior settings. Only the fields you provide will be updated; other
60
- * fields remain unchanged.
61
- *
62
- * Args:
63
- *
64
- * - profile_id: The unique identifier of the agent profile to update
65
- * - request: The fields to update (only provided fields will be changed)
66
- *
67
- * Returns:
68
- *
69
- * - The updated agent profile with all its current details
70
- *
71
- * Raises:
72
- *
73
- * - 404: If the user agent profile doesn't exist
74
- */
75
- update(profileID: string, body: AgentProfileUpdateParams, options?: RequestOptions): APIPromise<AgentProfileView>;
76
- /**
77
- * Get a paginated list of all agent profiles for the authenticated user.
78
- *
79
- * Agent profiles define how your AI agents behave, including their personality,
80
- * capabilities, and limitations. Use this endpoint to see all your configured
81
- * agent profiles.
82
- *
83
- * Returns:
84
- *
85
- * - A paginated list of agent profiles
86
- * - Total count of profiles
87
- * - Page information for navigation
88
- */
89
- list(query?: AgentProfileListParams | null | undefined, options?: RequestOptions): APIPromise<AgentProfileListResponse>;
90
- /**
91
- * Delete an agent profile.
92
- *
93
- * Permanently removes an agent profile and all its configuration. This action
94
- * cannot be undone. Any tasks that were using this profile will continue to work,
95
- * but you won't be able to create new tasks with the deleted profile.
96
- *
97
- * Args:
98
- *
99
- * - profile_id: The unique identifier of the agent profile to delete
100
- *
101
- * Returns:
102
- *
103
- * - 204 No Content on successful deletion (idempotent)
104
- */
105
- delete(profileID: string, options?: RequestOptions): APIPromise<void>;
106
- }
107
- /**
108
- * View model for representing an agent profile
109
- *
110
- * Attributes: id: Unique identifier for the profile name: Display name for the
111
- * profile description: Optional description of the profile highlight_elements:
112
- * Whether to highlight elements during agent interaction with the browser
113
- * max_agent_steps: Maximum number of steps the agent can take before stopping
114
- * allowed_domains: List of domains the agent is allowed to access flash_mode:
115
- * Whether flash mode is enabled thinking: Whether thinking mode is enabled vision:
116
- * Whether vision capabilities are enabled custom_system_prompt_extension: Optional
117
- * custom system prompt for the agent created_at: Timestamp when the profile was
118
- * created updated_at: Timestamp when the profile was last updated
119
- */
120
- export interface AgentProfileView {
121
- id: string;
122
- allowedDomains: Array<string>;
123
- createdAt: string;
124
- customSystemPromptExtension: string;
125
- description: string;
126
- flashMode: boolean;
127
- highlightElements: boolean;
128
- maxAgentSteps: number;
129
- name: string;
130
- thinking: boolean;
131
- updatedAt: string;
132
- vision: boolean;
133
- }
134
- /**
135
- * Response model for paginated agent profile list requests
136
- *
137
- * Attributes: items: List of agent profile views for the current page
138
- */
139
- export interface AgentProfileListResponse {
140
- items: Array<AgentProfileView>;
141
- pageNumber: number;
142
- pageSize: number;
143
- totalItems: number;
144
- }
145
- export interface AgentProfileCreateParams {
146
- name: string;
147
- allowedDomains?: Array<string>;
148
- customSystemPromptExtension?: string;
149
- description?: string;
150
- flashMode?: boolean;
151
- highlightElements?: boolean;
152
- maxAgentSteps?: number;
153
- thinking?: boolean;
154
- vision?: boolean;
155
- }
156
- export interface AgentProfileUpdateParams {
157
- allowedDomains?: Array<string> | null;
158
- customSystemPromptExtension?: string | null;
159
- description?: string | null;
160
- flashMode?: boolean | null;
161
- highlightElements?: boolean | null;
162
- maxAgentSteps?: number | null;
163
- name?: string | null;
164
- thinking?: boolean | null;
165
- vision?: boolean | null;
166
- }
167
- export interface AgentProfileListParams {
168
- pageNumber?: number;
169
- pageSize?: number;
170
- }
171
- export declare namespace AgentProfiles {
172
- export { type AgentProfileView as AgentProfileView, type AgentProfileListResponse as AgentProfileListResponse, type AgentProfileCreateParams as AgentProfileCreateParams, type AgentProfileUpdateParams as AgentProfileUpdateParams, type AgentProfileListParams as AgentProfileListParams, };
173
- }
174
- //# sourceMappingURL=agent-profiles.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agent-profiles.d.mts","sourceRoot":"","sources":["../src/resources/agent-profiles.ts"],"names":[],"mappings":"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"}
@@ -1,174 +0,0 @@
1
- import { APIResource } from "../core/resource.js";
2
- import { APIPromise } from "../core/api-promise.js";
3
- import { RequestOptions } from "../internal/request-options.js";
4
- export declare class AgentProfiles extends APIResource {
5
- /**
6
- * Create a new agent profile for the authenticated user.
7
- *
8
- * Agent profiles define how your AI agents behave during tasks. You can create
9
- * multiple profiles for different use cases (e.g., customer support, data
10
- * analysis, web scraping). Free users can create 1 profile; paid users can create
11
- * unlimited profiles.
12
- *
13
- * Key features you can configure:
14
- *
15
- * - System prompt: The core instructions that define the agent's personality and
16
- * behavior
17
- * - Allowed domains: Restrict which websites the agent can access
18
- * - Max steps: Limit how many actions the agent can take in a single task
19
- * - Vision: Enable/disable the agent's ability to see and analyze screenshots
20
- * - Thinking: Enable/disable the agent's reasoning process
21
- *
22
- * Args:
23
- *
24
- * - request: The agent profile configuration including name, description, and
25
- * behavior settings
26
- *
27
- * Returns:
28
- *
29
- * - The newly created agent profile with all its details
30
- *
31
- * Raises:
32
- *
33
- * - 402: If user needs a subscription to create additional profiles
34
- */
35
- create(body: AgentProfileCreateParams, options?: RequestOptions): APIPromise<AgentProfileView>;
36
- /**
37
- * Get a specific agent profile by its ID.
38
- *
39
- * Retrieves the complete details of an agent profile, including all its
40
- * configuration settings like system prompts, allowed domains, and behavior flags.
41
- *
42
- * Args:
43
- *
44
- * - profile_id: The unique identifier of the agent profile
45
- *
46
- * Returns:
47
- *
48
- * - Complete agent profile information
49
- *
50
- * Raises:
51
- *
52
- * - 404: If the user agent profile doesn't exist
53
- */
54
- retrieve(profileID: string, options?: RequestOptions): APIPromise<AgentProfileView>;
55
- /**
56
- * Update an existing agent profile.
57
- *
58
- * Modify any aspect of an agent profile, such as its name, description, system
59
- * prompt, or behavior settings. Only the fields you provide will be updated; other
60
- * fields remain unchanged.
61
- *
62
- * Args:
63
- *
64
- * - profile_id: The unique identifier of the agent profile to update
65
- * - request: The fields to update (only provided fields will be changed)
66
- *
67
- * Returns:
68
- *
69
- * - The updated agent profile with all its current details
70
- *
71
- * Raises:
72
- *
73
- * - 404: If the user agent profile doesn't exist
74
- */
75
- update(profileID: string, body: AgentProfileUpdateParams, options?: RequestOptions): APIPromise<AgentProfileView>;
76
- /**
77
- * Get a paginated list of all agent profiles for the authenticated user.
78
- *
79
- * Agent profiles define how your AI agents behave, including their personality,
80
- * capabilities, and limitations. Use this endpoint to see all your configured
81
- * agent profiles.
82
- *
83
- * Returns:
84
- *
85
- * - A paginated list of agent profiles
86
- * - Total count of profiles
87
- * - Page information for navigation
88
- */
89
- list(query?: AgentProfileListParams | null | undefined, options?: RequestOptions): APIPromise<AgentProfileListResponse>;
90
- /**
91
- * Delete an agent profile.
92
- *
93
- * Permanently removes an agent profile and all its configuration. This action
94
- * cannot be undone. Any tasks that were using this profile will continue to work,
95
- * but you won't be able to create new tasks with the deleted profile.
96
- *
97
- * Args:
98
- *
99
- * - profile_id: The unique identifier of the agent profile to delete
100
- *
101
- * Returns:
102
- *
103
- * - 204 No Content on successful deletion (idempotent)
104
- */
105
- delete(profileID: string, options?: RequestOptions): APIPromise<void>;
106
- }
107
- /**
108
- * View model for representing an agent profile
109
- *
110
- * Attributes: id: Unique identifier for the profile name: Display name for the
111
- * profile description: Optional description of the profile highlight_elements:
112
- * Whether to highlight elements during agent interaction with the browser
113
- * max_agent_steps: Maximum number of steps the agent can take before stopping
114
- * allowed_domains: List of domains the agent is allowed to access flash_mode:
115
- * Whether flash mode is enabled thinking: Whether thinking mode is enabled vision:
116
- * Whether vision capabilities are enabled custom_system_prompt_extension: Optional
117
- * custom system prompt for the agent created_at: Timestamp when the profile was
118
- * created updated_at: Timestamp when the profile was last updated
119
- */
120
- export interface AgentProfileView {
121
- id: string;
122
- allowedDomains: Array<string>;
123
- createdAt: string;
124
- customSystemPromptExtension: string;
125
- description: string;
126
- flashMode: boolean;
127
- highlightElements: boolean;
128
- maxAgentSteps: number;
129
- name: string;
130
- thinking: boolean;
131
- updatedAt: string;
132
- vision: boolean;
133
- }
134
- /**
135
- * Response model for paginated agent profile list requests
136
- *
137
- * Attributes: items: List of agent profile views for the current page
138
- */
139
- export interface AgentProfileListResponse {
140
- items: Array<AgentProfileView>;
141
- pageNumber: number;
142
- pageSize: number;
143
- totalItems: number;
144
- }
145
- export interface AgentProfileCreateParams {
146
- name: string;
147
- allowedDomains?: Array<string>;
148
- customSystemPromptExtension?: string;
149
- description?: string;
150
- flashMode?: boolean;
151
- highlightElements?: boolean;
152
- maxAgentSteps?: number;
153
- thinking?: boolean;
154
- vision?: boolean;
155
- }
156
- export interface AgentProfileUpdateParams {
157
- allowedDomains?: Array<string> | null;
158
- customSystemPromptExtension?: string | null;
159
- description?: string | null;
160
- flashMode?: boolean | null;
161
- highlightElements?: boolean | null;
162
- maxAgentSteps?: number | null;
163
- name?: string | null;
164
- thinking?: boolean | null;
165
- vision?: boolean | null;
166
- }
167
- export interface AgentProfileListParams {
168
- pageNumber?: number;
169
- pageSize?: number;
170
- }
171
- export declare namespace AgentProfiles {
172
- export { type AgentProfileView as AgentProfileView, type AgentProfileListResponse as AgentProfileListResponse, type AgentProfileCreateParams as AgentProfileCreateParams, type AgentProfileUpdateParams as AgentProfileUpdateParams, type AgentProfileListParams as AgentProfileListParams, };
173
- }
174
- //# sourceMappingURL=agent-profiles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agent-profiles.d.ts","sourceRoot":"","sources":["../src/resources/agent-profiles.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACH,MAAM,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;IAI9F;;;;;;;;;;;;;;;;;OAiBG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;IAInF;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gBAAgB,CAAC;IAI/B;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,KAAK,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wBAAwB,CAAC;IAIvC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAMtE;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IAEX,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE9B,SAAS,EAAE,MAAM,CAAC;IAElB,2BAA2B,EAAE,MAAM,CAAC;IAEpC,WAAW,EAAE,MAAM,CAAC;IAEpB,SAAS,EAAE,OAAO,CAAC;IAEnB,iBAAiB,EAAE,OAAO,CAAC;IAE3B,aAAa,EAAE,MAAM,CAAC;IAEtB,IAAI,EAAE,MAAM,CAAC;IAEb,QAAQ,EAAE,OAAO,CAAC;IAElB,SAAS,EAAE,MAAM,CAAC;IAElB,MAAM,EAAE,OAAO,CAAC;CACjB;AAED;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;IAE/B,UAAU,EAAE,MAAM,CAAC;IAEnB,QAAQ,EAAE,MAAM,CAAC;IAEjB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,CAAC;IAEb,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE/B,2BAA2B,CAAC,EAAE,MAAM,CAAC;IAErC,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,wBAAwB;IACvC,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAEtC,2BAA2B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5C,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAE3B,iBAAiB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAEnC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAE1B,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CACzB;AAED,MAAM,WAAW,sBAAsB;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
@@ -1,125 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.AgentProfiles = void 0;
5
- const resource_1 = require("../core/resource.js");
6
- const headers_1 = require("../internal/headers.js");
7
- const path_1 = require("../internal/utils/path.js");
8
- class AgentProfiles extends resource_1.APIResource {
9
- /**
10
- * Create a new agent profile for the authenticated user.
11
- *
12
- * Agent profiles define how your AI agents behave during tasks. You can create
13
- * multiple profiles for different use cases (e.g., customer support, data
14
- * analysis, web scraping). Free users can create 1 profile; paid users can create
15
- * unlimited profiles.
16
- *
17
- * Key features you can configure:
18
- *
19
- * - System prompt: The core instructions that define the agent's personality and
20
- * behavior
21
- * - Allowed domains: Restrict which websites the agent can access
22
- * - Max steps: Limit how many actions the agent can take in a single task
23
- * - Vision: Enable/disable the agent's ability to see and analyze screenshots
24
- * - Thinking: Enable/disable the agent's reasoning process
25
- *
26
- * Args:
27
- *
28
- * - request: The agent profile configuration including name, description, and
29
- * behavior settings
30
- *
31
- * Returns:
32
- *
33
- * - The newly created agent profile with all its details
34
- *
35
- * Raises:
36
- *
37
- * - 402: If user needs a subscription to create additional profiles
38
- */
39
- create(body, options) {
40
- return this._client.post('/agent-profiles', { body, ...options });
41
- }
42
- /**
43
- * Get a specific agent profile by its ID.
44
- *
45
- * Retrieves the complete details of an agent profile, including all its
46
- * configuration settings like system prompts, allowed domains, and behavior flags.
47
- *
48
- * Args:
49
- *
50
- * - profile_id: The unique identifier of the agent profile
51
- *
52
- * Returns:
53
- *
54
- * - Complete agent profile information
55
- *
56
- * Raises:
57
- *
58
- * - 404: If the user agent profile doesn't exist
59
- */
60
- retrieve(profileID, options) {
61
- return this._client.get((0, path_1.path) `/agent-profiles/${profileID}`, options);
62
- }
63
- /**
64
- * Update an existing agent profile.
65
- *
66
- * Modify any aspect of an agent profile, such as its name, description, system
67
- * prompt, or behavior settings. Only the fields you provide will be updated; other
68
- * fields remain unchanged.
69
- *
70
- * Args:
71
- *
72
- * - profile_id: The unique identifier of the agent profile to update
73
- * - request: The fields to update (only provided fields will be changed)
74
- *
75
- * Returns:
76
- *
77
- * - The updated agent profile with all its current details
78
- *
79
- * Raises:
80
- *
81
- * - 404: If the user agent profile doesn't exist
82
- */
83
- update(profileID, body, options) {
84
- return this._client.patch((0, path_1.path) `/agent-profiles/${profileID}`, { body, ...options });
85
- }
86
- /**
87
- * Get a paginated list of all agent profiles for the authenticated user.
88
- *
89
- * Agent profiles define how your AI agents behave, including their personality,
90
- * capabilities, and limitations. Use this endpoint to see all your configured
91
- * agent profiles.
92
- *
93
- * Returns:
94
- *
95
- * - A paginated list of agent profiles
96
- * - Total count of profiles
97
- * - Page information for navigation
98
- */
99
- list(query = {}, options) {
100
- return this._client.get('/agent-profiles', { query, ...options });
101
- }
102
- /**
103
- * Delete an agent profile.
104
- *
105
- * Permanently removes an agent profile and all its configuration. This action
106
- * cannot be undone. Any tasks that were using this profile will continue to work,
107
- * but you won't be able to create new tasks with the deleted profile.
108
- *
109
- * Args:
110
- *
111
- * - profile_id: The unique identifier of the agent profile to delete
112
- *
113
- * Returns:
114
- *
115
- * - 204 No Content on successful deletion (idempotent)
116
- */
117
- delete(profileID, options) {
118
- return this._client.delete((0, path_1.path) `/agent-profiles/${profileID}`, {
119
- ...options,
120
- headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
121
- });
122
- }
123
- }
124
- exports.AgentProfiles = AgentProfiles;
125
- //# sourceMappingURL=agent-profiles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agent-profiles.js","sourceRoot":"","sources":["../src/resources/agent-profiles.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,oDAAmD;AAEnD,oDAA8C;AAE9C,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACH,MAAM,CAAC,IAA8B,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,QAAQ,CAAC,SAAiB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,mBAAmB,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,SAAiB,EACjB,IAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,mBAAmB,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,SAAiB,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,mBAAmB,SAAS,EAAE,EAAE;YAC7D,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AA9HD,sCA8HC"}
@@ -1,121 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../core/resource.mjs";
3
- import { buildHeaders } from "../internal/headers.mjs";
4
- import { path } from "../internal/utils/path.mjs";
5
- export class AgentProfiles extends APIResource {
6
- /**
7
- * Create a new agent profile for the authenticated user.
8
- *
9
- * Agent profiles define how your AI agents behave during tasks. You can create
10
- * multiple profiles for different use cases (e.g., customer support, data
11
- * analysis, web scraping). Free users can create 1 profile; paid users can create
12
- * unlimited profiles.
13
- *
14
- * Key features you can configure:
15
- *
16
- * - System prompt: The core instructions that define the agent's personality and
17
- * behavior
18
- * - Allowed domains: Restrict which websites the agent can access
19
- * - Max steps: Limit how many actions the agent can take in a single task
20
- * - Vision: Enable/disable the agent's ability to see and analyze screenshots
21
- * - Thinking: Enable/disable the agent's reasoning process
22
- *
23
- * Args:
24
- *
25
- * - request: The agent profile configuration including name, description, and
26
- * behavior settings
27
- *
28
- * Returns:
29
- *
30
- * - The newly created agent profile with all its details
31
- *
32
- * Raises:
33
- *
34
- * - 402: If user needs a subscription to create additional profiles
35
- */
36
- create(body, options) {
37
- return this._client.post('/agent-profiles', { body, ...options });
38
- }
39
- /**
40
- * Get a specific agent profile by its ID.
41
- *
42
- * Retrieves the complete details of an agent profile, including all its
43
- * configuration settings like system prompts, allowed domains, and behavior flags.
44
- *
45
- * Args:
46
- *
47
- * - profile_id: The unique identifier of the agent profile
48
- *
49
- * Returns:
50
- *
51
- * - Complete agent profile information
52
- *
53
- * Raises:
54
- *
55
- * - 404: If the user agent profile doesn't exist
56
- */
57
- retrieve(profileID, options) {
58
- return this._client.get(path `/agent-profiles/${profileID}`, options);
59
- }
60
- /**
61
- * Update an existing agent profile.
62
- *
63
- * Modify any aspect of an agent profile, such as its name, description, system
64
- * prompt, or behavior settings. Only the fields you provide will be updated; other
65
- * fields remain unchanged.
66
- *
67
- * Args:
68
- *
69
- * - profile_id: The unique identifier of the agent profile to update
70
- * - request: The fields to update (only provided fields will be changed)
71
- *
72
- * Returns:
73
- *
74
- * - The updated agent profile with all its current details
75
- *
76
- * Raises:
77
- *
78
- * - 404: If the user agent profile doesn't exist
79
- */
80
- update(profileID, body, options) {
81
- return this._client.patch(path `/agent-profiles/${profileID}`, { body, ...options });
82
- }
83
- /**
84
- * Get a paginated list of all agent profiles for the authenticated user.
85
- *
86
- * Agent profiles define how your AI agents behave, including their personality,
87
- * capabilities, and limitations. Use this endpoint to see all your configured
88
- * agent profiles.
89
- *
90
- * Returns:
91
- *
92
- * - A paginated list of agent profiles
93
- * - Total count of profiles
94
- * - Page information for navigation
95
- */
96
- list(query = {}, options) {
97
- return this._client.get('/agent-profiles', { query, ...options });
98
- }
99
- /**
100
- * Delete an agent profile.
101
- *
102
- * Permanently removes an agent profile and all its configuration. This action
103
- * cannot be undone. Any tasks that were using this profile will continue to work,
104
- * but you won't be able to create new tasks with the deleted profile.
105
- *
106
- * Args:
107
- *
108
- * - profile_id: The unique identifier of the agent profile to delete
109
- *
110
- * Returns:
111
- *
112
- * - 204 No Content on successful deletion (idempotent)
113
- */
114
- delete(profileID, options) {
115
- return this._client.delete(path `/agent-profiles/${profileID}`, {
116
- ...options,
117
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
118
- });
119
- }
120
- }
121
- //# sourceMappingURL=agent-profiles.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agent-profiles.mjs","sourceRoot":"","sources":["../src/resources/agent-profiles.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACH,MAAM,CAAC,IAA8B,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,QAAQ,CAAC,SAAiB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,mBAAmB,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,SAAiB,EACjB,IAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,mBAAmB,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,SAAiB,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,mBAAmB,SAAS,EAAE,EAAE;YAC7D,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}