@b3os/sdk 0.1.0 → 0.1.3

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 (204) hide show
  1. package/README.md +171 -42
  2. package/dist/cjs/core/bytes.d.ts +30 -0
  3. package/dist/cjs/core/bytes.js +115 -0
  4. package/dist/cjs/core/bytes.js.map +1 -0
  5. package/dist/cjs/core/client.d.ts +61 -3
  6. package/dist/cjs/core/client.js +211 -33
  7. package/dist/cjs/core/client.js.map +1 -1
  8. package/dist/cjs/core/errors.d.ts +16 -4
  9. package/dist/cjs/core/errors.js +9 -6
  10. package/dist/cjs/core/errors.js.map +1 -1
  11. package/dist/cjs/core/handle.d.ts +31 -0
  12. package/dist/cjs/core/handle.js +86 -0
  13. package/dist/cjs/core/handle.js.map +1 -0
  14. package/dist/cjs/core/index.d.ts +6 -4
  15. package/dist/cjs/core/index.js +8 -1
  16. package/dist/cjs/core/index.js.map +1 -1
  17. package/dist/cjs/core/login.d.ts +24 -0
  18. package/dist/cjs/core/login.js +93 -0
  19. package/dist/cjs/core/login.js.map +1 -0
  20. package/dist/cjs/core/namespace.d.ts +1 -1
  21. package/dist/cjs/core/namespace.js +1 -1
  22. package/dist/cjs/core/op.d.ts +11 -1
  23. package/dist/cjs/core/timing.d.ts +1 -1
  24. package/dist/cjs/core/timing.js +8 -1
  25. package/dist/cjs/core/timing.js.map +1 -1
  26. package/dist/cjs/core/transport.js +1 -1
  27. package/dist/cjs/core/transport.js.map +1 -1
  28. package/dist/cjs/core/util.d.ts +15 -3
  29. package/dist/cjs/core/util.js +54 -2
  30. package/dist/cjs/core/util.js.map +1 -1
  31. package/dist/cjs/core/ws.d.ts +4 -0
  32. package/dist/cjs/core/ws.js +7 -4
  33. package/dist/cjs/core/ws.js.map +1 -1
  34. package/dist/cjs/generated/client.d.ts +2 -2
  35. package/dist/cjs/generated/client.js +2 -2
  36. package/dist/cjs/generated/errors.d.ts +1 -1
  37. package/dist/cjs/generated/errors.js +30 -0
  38. package/dist/cjs/generated/errors.js.map +1 -1
  39. package/dist/cjs/generated/jobs.js +1 -1
  40. package/dist/cjs/generated/ns/actions.d.ts +48 -6
  41. package/dist/cjs/generated/ns/actions.js +59 -6
  42. package/dist/cjs/generated/ns/actions.js.map +1 -1
  43. package/dist/cjs/generated/ns/infer.d.ts +185 -54
  44. package/dist/cjs/generated/ns/infer.js +28 -74
  45. package/dist/cjs/generated/ns/infer.js.map +1 -1
  46. package/dist/cjs/generated/ns/keys.d.ts +12 -0
  47. package/dist/cjs/generated/ns/keys.js +22 -0
  48. package/dist/cjs/generated/ns/keys.js.map +1 -1
  49. package/dist/cjs/generated/ns/render.d.ts +95 -6
  50. package/dist/cjs/generated/ns/render.js +124 -7
  51. package/dist/cjs/generated/ns/render.js.map +1 -1
  52. package/dist/cjs/generated/ns/requests.d.ts +3 -1
  53. package/dist/cjs/generated/ns/requests.js +3 -1
  54. package/dist/cjs/generated/ns/requests.js.map +1 -1
  55. package/dist/cjs/generated/ns/routines.d.ts +131 -9
  56. package/dist/cjs/generated/ns/routines.js +186 -9
  57. package/dist/cjs/generated/ns/routines.js.map +1 -1
  58. package/dist/cjs/generated/ns/sandboxes.d.ts +298 -31
  59. package/dist/cjs/generated/ns/sandboxes.js +368 -29
  60. package/dist/cjs/generated/ns/sandboxes.js.map +1 -1
  61. package/dist/cjs/generated/ns/vision.d.ts +133 -14
  62. package/dist/cjs/generated/ns/vision.js +158 -12
  63. package/dist/cjs/generated/ns/vision.js.map +1 -1
  64. package/dist/cjs/generated/ns/webhooks.d.ts +8 -5
  65. package/dist/cjs/generated/ns/webhooks.js +8 -5
  66. package/dist/cjs/generated/ns/webhooks.js.map +1 -1
  67. package/dist/cjs/generated/types.d.ts +1956 -301
  68. package/dist/cjs/helpers/agents.d.ts +95 -0
  69. package/dist/cjs/helpers/agents.js +205 -0
  70. package/dist/cjs/helpers/agents.js.map +1 -0
  71. package/dist/cjs/helpers/render.d.ts +15 -0
  72. package/dist/cjs/helpers/render.js +74 -0
  73. package/dist/cjs/helpers/render.js.map +1 -0
  74. package/dist/cjs/helpers/routines.d.ts +61 -0
  75. package/dist/cjs/helpers/routines.js +234 -0
  76. package/dist/cjs/helpers/routines.js.map +1 -0
  77. package/dist/cjs/helpers/sandboxes.d.ts +237 -0
  78. package/dist/cjs/helpers/sandboxes.js +608 -0
  79. package/dist/cjs/helpers/sandboxes.js.map +1 -0
  80. package/dist/cjs/index.d.ts +4 -1
  81. package/dist/cjs/index.js +8 -5
  82. package/dist/cjs/index.js.map +1 -1
  83. package/dist/cjs/routines.d.ts +1 -0
  84. package/dist/cjs/routines.js +21 -0
  85. package/dist/cjs/routines.js.map +1 -0
  86. package/dist/cjs/webhooks.js.map +1 -1
  87. package/dist/esm/core/bytes.d.ts +30 -0
  88. package/dist/esm/core/bytes.js +111 -0
  89. package/dist/esm/core/bytes.js.map +1 -0
  90. package/dist/esm/core/client.d.ts +61 -3
  91. package/dist/esm/core/client.js +208 -31
  92. package/dist/esm/core/client.js.map +1 -1
  93. package/dist/esm/core/errors.d.ts +16 -4
  94. package/dist/esm/core/errors.js +9 -6
  95. package/dist/esm/core/errors.js.map +1 -1
  96. package/dist/esm/core/handle.d.ts +31 -0
  97. package/dist/esm/core/handle.js +82 -0
  98. package/dist/esm/core/handle.js.map +1 -0
  99. package/dist/esm/core/index.d.ts +6 -4
  100. package/dist/esm/core/index.js +4 -2
  101. package/dist/esm/core/index.js.map +1 -1
  102. package/dist/esm/core/login.d.ts +24 -0
  103. package/dist/esm/core/login.js +85 -0
  104. package/dist/esm/core/login.js.map +1 -0
  105. package/dist/esm/core/namespace.d.ts +1 -1
  106. package/dist/esm/core/namespace.js +1 -1
  107. package/dist/esm/core/op.d.ts +11 -1
  108. package/dist/esm/core/timing.d.ts +1 -1
  109. package/dist/esm/core/timing.js +8 -1
  110. package/dist/esm/core/timing.js.map +1 -1
  111. package/dist/esm/core/transport.js +1 -1
  112. package/dist/esm/core/transport.js.map +1 -1
  113. package/dist/esm/core/util.d.ts +15 -3
  114. package/dist/esm/core/util.js +48 -1
  115. package/dist/esm/core/util.js.map +1 -1
  116. package/dist/esm/core/ws.d.ts +4 -0
  117. package/dist/esm/core/ws.js +7 -4
  118. package/dist/esm/core/ws.js.map +1 -1
  119. package/dist/esm/generated/client.d.ts +2 -2
  120. package/dist/esm/generated/client.js +2 -2
  121. package/dist/esm/generated/errors.d.ts +1 -1
  122. package/dist/esm/generated/errors.js +30 -0
  123. package/dist/esm/generated/errors.js.map +1 -1
  124. package/dist/esm/generated/jobs.js +1 -1
  125. package/dist/esm/generated/ns/actions.d.ts +48 -6
  126. package/dist/esm/generated/ns/actions.js +59 -6
  127. package/dist/esm/generated/ns/actions.js.map +1 -1
  128. package/dist/esm/generated/ns/infer.d.ts +185 -54
  129. package/dist/esm/generated/ns/infer.js +28 -74
  130. package/dist/esm/generated/ns/infer.js.map +1 -1
  131. package/dist/esm/generated/ns/keys.d.ts +12 -0
  132. package/dist/esm/generated/ns/keys.js +22 -0
  133. package/dist/esm/generated/ns/keys.js.map +1 -1
  134. package/dist/esm/generated/ns/render.d.ts +95 -6
  135. package/dist/esm/generated/ns/render.js +124 -7
  136. package/dist/esm/generated/ns/render.js.map +1 -1
  137. package/dist/esm/generated/ns/requests.d.ts +3 -1
  138. package/dist/esm/generated/ns/requests.js +3 -1
  139. package/dist/esm/generated/ns/requests.js.map +1 -1
  140. package/dist/esm/generated/ns/routines.d.ts +131 -9
  141. package/dist/esm/generated/ns/routines.js +186 -9
  142. package/dist/esm/generated/ns/routines.js.map +1 -1
  143. package/dist/esm/generated/ns/sandboxes.d.ts +298 -31
  144. package/dist/esm/generated/ns/sandboxes.js +368 -29
  145. package/dist/esm/generated/ns/sandboxes.js.map +1 -1
  146. package/dist/esm/generated/ns/vision.d.ts +133 -14
  147. package/dist/esm/generated/ns/vision.js +158 -12
  148. package/dist/esm/generated/ns/vision.js.map +1 -1
  149. package/dist/esm/generated/ns/webhooks.d.ts +8 -5
  150. package/dist/esm/generated/ns/webhooks.js +8 -5
  151. package/dist/esm/generated/ns/webhooks.js.map +1 -1
  152. package/dist/esm/generated/types.d.ts +1956 -301
  153. package/dist/esm/helpers/agents.d.ts +95 -0
  154. package/dist/esm/helpers/agents.js +199 -0
  155. package/dist/esm/helpers/agents.js.map +1 -0
  156. package/dist/esm/helpers/render.d.ts +15 -0
  157. package/dist/esm/helpers/render.js +70 -0
  158. package/dist/esm/helpers/render.js.map +1 -0
  159. package/dist/esm/helpers/routines.d.ts +61 -0
  160. package/dist/esm/helpers/routines.js +226 -0
  161. package/dist/esm/helpers/routines.js.map +1 -0
  162. package/dist/esm/helpers/sandboxes.d.ts +237 -0
  163. package/dist/esm/helpers/sandboxes.js +600 -0
  164. package/dist/esm/helpers/sandboxes.js.map +1 -0
  165. package/dist/esm/index.d.ts +4 -1
  166. package/dist/esm/index.js +6 -5
  167. package/dist/esm/index.js.map +1 -1
  168. package/dist/esm/routines.d.ts +1 -0
  169. package/dist/esm/routines.js +5 -0
  170. package/dist/esm/routines.js.map +1 -0
  171. package/dist/esm/webhooks.js.map +1 -1
  172. package/package.json +14 -3
  173. package/src/core/bytes.ts +112 -0
  174. package/src/core/client.ts +253 -33
  175. package/src/core/errors.ts +27 -10
  176. package/src/core/handle.ts +97 -0
  177. package/src/core/index.ts +7 -2
  178. package/src/core/login.ts +98 -0
  179. package/src/core/namespace.ts +1 -1
  180. package/src/core/op.ts +11 -1
  181. package/src/core/timing.ts +7 -2
  182. package/src/core/transport.ts +1 -1
  183. package/src/core/util.ts +53 -3
  184. package/src/core/ws.ts +11 -4
  185. package/src/generated/client.ts +2 -2
  186. package/src/generated/errors.ts +60 -0
  187. package/src/generated/jobs.ts +1 -1
  188. package/src/generated/ns/actions.ts +69 -6
  189. package/src/generated/ns/infer.ts +229 -61
  190. package/src/generated/ns/keys.ts +23 -0
  191. package/src/generated/ns/render.ts +152 -7
  192. package/src/generated/ns/requests.ts +3 -1
  193. package/src/generated/ns/routines.ts +205 -9
  194. package/src/generated/ns/sandboxes.ts +434 -34
  195. package/src/generated/ns/vision.ts +168 -14
  196. package/src/generated/ns/webhooks.ts +8 -5
  197. package/src/generated/types.ts +2211 -422
  198. package/src/helpers/agents.ts +300 -0
  199. package/src/helpers/render.ts +91 -0
  200. package/src/helpers/routines.ts +278 -0
  201. package/src/helpers/sandboxes.ts +788 -0
  202. package/src/index.ts +29 -5
  203. package/src/routines.ts +5 -0
  204. package/src/webhooks.ts +5 -1
@@ -1 +1 @@
1
- {"version":3,"file":"sandboxes.js","sourceRoot":"","sources":["../../../../src/generated/ns/sandboxes.ts"],"names":[],"mappings":"AAAA,4GAA4G;AAG5G,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAIpD,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAGvE,MAAM,eAAe,GAAO;IAC1B,EAAE,EAAE,wBAAwB;IAC5B,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,eAAe;IACrB,SAAS,EAAE,KAAK;IAChB,KAAK,EAAE,gBAAgB;CACxB,CAAC;AACF,MAAM,eAAe,GAAO;IAC1B,EAAE,EAAE,wBAAwB;IAC5B,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,IAAI;IACV,SAAS,EAAE,KAAK;IAChB,KAAK,EAAE,iBAAiB;CACzB,CAAC;AACF,MAAM,eAAe,GAAO;IAC1B,EAAE,EAAE,wBAAwB;IAC5B,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,yBAAyB;IAC/B,SAAS,EAAE,KAAK;IAChB,KAAK,EAAE,gBAAgB;CACxB,CAAC;AACF,MAAM,gBAAgB,GAAO;IAC3B,EAAE,EAAE,yBAAyB;IAC7B,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,uCAAuC;IAC7C,MAAM,EAAE,CAAC,aAAa,CAAC;IACvB,SAAS,EAAE,KAAK;IA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C;IAED;;;;OAIG;IACH,wBAAwB,CAAC,OAAmC;QAC1D,OAAO,wBAAwB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IACjD,CAAC;IAED;;;;OAIG;IACH,0BAA0B,CAAC,OAAoC;QAC7D,OAAO,0BAA0B,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;IAED;;;OAGG;IACH,oBAAoB,CAAC,OAA+B;QAClD,OAAO,oBAAoB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC7C,CAAC;CACF"}
@@ -24,6 +24,7 @@ export declare const visionOps: {
24
24
  readonly cancelExtract: Op;
25
25
  readonly extractEvents: Op;
26
26
  readonly map: Op;
27
+ readonly prepare: Op;
27
28
  readonly listProfiles: Op;
28
29
  readonly createProfile: Op;
29
30
  readonly deleteProfile: Op;
@@ -32,6 +33,7 @@ export declare const visionOps: {
32
33
  readonly exportProfileState: Op;
33
34
  readonly readUrl: Op;
34
35
  readonly scrape: Op;
36
+ readonly search: Op;
35
37
  readonly listSessions: Op;
36
38
  readonly createSession: Op;
37
39
  readonly closeSession: Op;
@@ -40,6 +42,7 @@ export declare const visionOps: {
40
42
  readonly connectCdp: Op;
41
43
  readonly saveSessionProfile: Op;
42
44
  readonly createSessionTicket: Op;
45
+ readonly getSessionTimeline: Op;
43
46
  };
44
47
  /**
45
48
  * Browsers and web extraction: scrape, map, crawl, batch, browser sessions and profiles (`/v1/vision`).
@@ -56,7 +59,9 @@ export declare class VisionAPI extends Namespace {
56
59
  /**
57
60
  * Scrape a list of URLs
58
61
  *
59
- * Starts a job that scrapes up to 1,000 URLs with the same options. Each page bills one `vision.page`.
62
+ * Starts a job that scrapes up to 1,000 URLs with the same options. Each delivered page bills one
63
+ * `vision.page`, except a wall, which is free and carries only its state, status and final URL
64
+ * (`content_withheld`) unless the page options set `walls: "bill"`, as for a single scrape (visionScrape).
60
65
  * Results are listed with `GET /v1/vision/batches/{batch_id}/pages`; `?wait=`, the events stream and
61
66
  * `webhook` report progress.
62
67
  *
@@ -83,7 +88,9 @@ export declare class VisionAPI extends Namespace {
83
88
  * Stream a batch's events
84
89
  *
85
90
  * Server-sent events for the batch: lifecycle events plus `page.succeeded` and `page.failed` per URL. Ends
86
- * after the terminal event. Reconnect with `Last-Event-ID` to resume.
91
+ * after the terminal event. Reconnect with `Last-Event-ID` to resume. Events are kept with the batch, so the
92
+ * stream reads the same, with the same `seq`, after the node restarts; a batch that was running then ends
93
+ * with `job.failed`.
87
94
  *
88
95
  * `GET /v1/vision/batches/{batch_id}/events` · scope `vision:read` · served by the node
89
96
  */
@@ -108,8 +115,14 @@ export declare class VisionAPI extends Namespace {
108
115
  * Crawl a site
109
116
  *
110
117
  * Starts a job that discovers pages from `url` (links and sitemaps), breadth first, and scrapes up to `limit`
111
- * pages (at most 500). robots.txt is honored and requests to one host are spaced politely. One crawl runs
112
- * at a time per organization. Each page bills one `vision.page`.
118
+ * pages (at most 500). Requests to one host are spaced politely (`delay_ms`). robots.txt rules apply only
119
+ * with `respect_robots: true`: disallowed pages are skipped (listed in `result.robots_blocked`), a robots.txt
120
+ * that cannot be read stops the crawl's pages (RFC 9309), and its Crawl-delay is used when `delay_ms` is not
121
+ * set; its `Sitemap:` lines then point sitemap discovery. Without it no robots.txt is fetched at all and
122
+ * sitemap discovery starts from `/sitemap.xml`. One crawl runs at a time per organization.
123
+ * Each delivered page bills one `vision.page`, except a wall, which is free and carries only its state, status
124
+ * and final URL (`content_withheld`; its links are not followed) unless the page options set
125
+ * `walls: "bill"`, as for a single scrape (visionScrape).
113
126
  *
114
127
  * `POST /v1/vision/crawls` · scope `vision:run` · served by the node
115
128
  */
@@ -134,7 +147,9 @@ export declare class VisionAPI extends Namespace {
134
147
  * Stream a crawl's events
135
148
  *
136
149
  * Server-sent events for the crawl: lifecycle events plus `page.succeeded` and `page.failed` per page. Ends
137
- * after the terminal event. Reconnect with `Last-Event-ID` to resume.
150
+ * after the terminal event. Reconnect with `Last-Event-ID` to resume. Events are kept with the crawl, so the
151
+ * stream reads the same, with the same `seq`, after the node restarts; a crawl that was running then ends
152
+ * with `job.failed`.
138
153
  *
139
154
  * `GET /v1/vision/crawls/{crawl_id}/events` · scope `vision:read` · served by the node
140
155
  */
@@ -194,11 +209,32 @@ export declare class VisionAPI extends Namespace {
194
209
  *
195
210
  * Lists URLs on a site from its sitemaps and from links on the start page, without scraping each page. Use it
196
211
  * to choose what to scrape or crawl. `search` orders the results by relevance to a phrase. Bills one
197
- * `vision.page` per call.
212
+ * `vision.page` per call that returns at least one link (a map that found nothing is free). A start page
213
+ * that is a wall (`page_state` `blocked` or `captcha`) gives no links, not even its own URL, so a map of a
214
+ * wall finds only what the sitemaps list.
198
215
  *
199
216
  * `POST /v1/vision/map` · scope `vision:run` · served by the node
200
217
  */
201
218
  map(body: T.MapRequest, options?: RequestOptions): APIPromise<T.MapResult>;
219
+ /**
220
+ * Prepare a coming scrape
221
+ *
222
+ * Warms what a scrape of `url` will need, so it is off the scrape's critical path: the destination resolved
223
+ * and checked by the egress guard, and a keep-alive connection to the origin that the scrape's HTTP fetch
224
+ * reuses (opened with a `HEAD` of the URL, whose answer is not used, carrying the request headers the
225
+ * scrape's navigation sends: Chrome's for that URL). Routines call it for the next step
226
+ * while the current one runs. Bills nothing. With `respect_robots: true` it fetches and caches the origin's
227
+ * robots.txt instead of the `HEAD`, and `robots` says whether robots.txt allows the URL (`unreachable`: a
228
+ * scrape still proceeds, a crawl does not); otherwise `robots` is `not_checked`.
229
+ *
230
+ * It sends the target at most one `HEAD` per origin per 60 seconds for your organization: a prepare of an
231
+ * origin you prepared within the last 60 seconds finds the connection pooled and sends nothing (its
232
+ * `timing` then has no `connect_ms`). Each request a prepare does send (the `HEAD`, or a robots.txt this node
233
+ * does not hold yet) counts against `vision.scrape.rpm` like a scrape: `429 rate_limited` when it is used up.
234
+ *
235
+ * `POST /v1/vision/prepare` · scope `vision:run` · served by the node
236
+ */
237
+ prepare(body: T.PrepareRequest, options?: RequestOptions): APIPromise<T.PrepareResult>;
202
238
  /**
203
239
  * List profiles
204
240
  *
@@ -248,7 +284,12 @@ export declare class VisionAPI extends Namespace {
248
284
  *
249
285
  * Returns the current revision's storage state (Playwright `storageState` JSON) so you can load it into your
250
286
  * own browser or move it to another project. It contains live session cookies: treat the response like a
251
- * password. Requires `vision:write`, the same scope that can replace the state.
287
+ * password. Requires `vision:profiles:export` as well as `vision:write`. Export is an explicit grant: default
288
+ * keys, `*` and `vision:*` do not include it, so a key that exports state names the scope. Until the end of the
289
+ * 14-day kept window (plan 3.18), a key with `vision:write` and without `vision:profiles:export` still exports,
290
+ * and the response carries `Sunset` with the date that stops. A profile whose state a B3OS session saved
291
+ * (`exportable: false`) is never exported: 403 `profile_not_exportable`, with any scope, once the kept window
292
+ * ends (inside it, it exports with `Sunset`).
252
293
  *
253
294
  * `GET /v1/vision/profiles/{profile_id}/state` · scope `vision:write` · served by the node
254
295
  */
@@ -257,8 +298,13 @@ export declare class VisionAPI extends Namespace {
257
298
  * Read a URL as Markdown
258
299
  *
259
300
  * The shortest way to read a page: put the target URL after `/v1/vision/r/`, unencoded, for example
260
- * `GET /v1/vision/r/https://example.com/pricing`. Returns `text/markdown` by default. Options go in
261
- * `X-B3OS-*` headers so the target URL stays untouched. Same tiers, cache and billing as `scrape`.
301
+ * `GET /v1/vision/r/https://example.com/pricing`. Returns `text/markdown` by default (`X-B3OS-Format`:
302
+ * `text/html` for `html`, `text/plain` for `text`, a scrape result as JSON for `json`). Options go in
303
+ * `X-B3OS-*` headers so the target URL stays untouched. Same tiers, cache and billing as `scrape`: a wall is
304
+ * free and its body is empty (`X-B3OS-Content-Withheld: true`; the `json` format returns the withheld result)
305
+ * unless `X-B3OS-Walls: bill`. `X-B3OS-Page-State` names the page's state. A path with
306
+ * a `.` or `..` segment (also percent-encoded) answers `400 invalid_url` instead of being resolved: clients and
307
+ * proxies resolve dot segments differently, so resolve them first or `POST /v1/vision/scrape`.
262
308
  *
263
309
  * `GET /v1/vision/r/{url}` · scope `vision:run` · served by the node
264
310
  */
@@ -270,17 +316,58 @@ export declare class VisionAPI extends Namespace {
270
316
  * Scrape a page
271
317
  *
272
318
  * Fetches one URL and returns the formats you ask for. With `engine: "auto"` (the default) vision answers
273
- * from the cache when a fresh copy exists (`max_age_ms`, default 2 days), otherwise fetches over HTTP and
274
- * switches to a warm browser only when the page needs JavaScript. Custom `headers`, a `profile` or `actions`
319
+ * from the cache when a fresh copy exists (`max_age_ms`, default 2 days), otherwise fetches over HTTP and uses a
320
+ * warm browser when the page needs JavaScript, when the fetch came back thin or mostly script, and when the
321
+ * fetch failed in a way a browser may not. Custom `headers`, a `profile` or `actions`
275
322
  * bypass the cache; a page that sets cookies (by a response or a script) is cached for your organization
276
323
  * only. The response's `cache.state` and `tier` say what served it.
277
324
  *
278
325
  * Synchronous: the response arrives when the page is done, within `timeout_ms` (at most 60 seconds). For
279
326
  * many pages use a batch scrape or a crawl.
280
327
  *
328
+ * Billing: one `vision.page` for a page that is returned, whichever tier served it. A free scrape never
329
+ * carries page content. A scrape that returns no page (an error answer: upstream error, timeout, blocked
330
+ * target, egress denial, extraction failure, a cache-only miss) bills nothing and does not count against the
331
+ * monthly allowance. A page vision judges a wall (`page_state` `blocked` or `captcha`: a refusal or
332
+ * challenge page, see PageState) is free too, and its content is withheld: the result has only `page_state`
333
+ * (with its `signal`), `status_code`, `final_url` and `content_withheld: true`, and none of the formats,
334
+ * `links`, `metadata`, the screenshot or `json`. The judgement is a heuristic and can take a page for a wall
335
+ * that is not one; such a page then comes back without its content, never with it for free, so it errs
336
+ * toward `ok`: a wall needs little text and an interstitial signal or a 403 or 429 status. With
337
+ * `walls: "bill"` a wall bills like any page and its content is returned. A scrape with `actions` bills
338
+ * whatever the page is and returns everything (its steps ran, and a step can send what it reads out through
339
+ * the page's own requests). A 403 or 429 that carries the page's content as text is not a wall (`page_state`
340
+ * `error`) and is billed like any page, whatever `include_tags`, `exclude_tags` or `only_main_content` keep
341
+ * of it. The same holds for batch and crawl pages and for cache hits. Once the organization has used its
342
+ * `vision.pages.monthly` allowance, scrapes answer `429 quota_exceeded` until the next UTC month.
343
+ *
344
+ * A browser that goes away during the render (the node's Chrome launcher stopped or restarted) answers `503
345
+ * product_unavailable` with `Retry-After`: retry, the node reconnects to the launcher by itself.
346
+ *
281
347
  * `POST /v1/vision/scrape` · scope `vision:run` · served by the node
282
348
  */
283
349
  scrape(body: T.ScrapeRequest, options?: RequestOptions): APIPromise<T.ScrapeResult>;
350
+ /**
351
+ * Search the web
352
+ *
353
+ * Searches the web for `query` and returns up to `limit` results in the provider's order, each with its URL,
354
+ * title and description. The node sends the query to its search provider (the Brave Search API) with the
355
+ * node's key and nothing that identifies your organization; the result sites are not contacted unless you ask
356
+ * for their pages. With `scrape`, every result is also scraped with those options, through the same egress
357
+ * guard and politeness as a scrape, and its document is in the result's `scrape`; a result whose scrape fails
358
+ * has `error` instead, and the search still answers 200 with a `scrape_failed` warning. One answer holds at
359
+ * most 64 MiB of pages; a result past that has `error` `search_answer_too_large` and is not billed. A search's
360
+ * results get no custom `headers`, `profile`, `actions` or `json` format: scrape the URLs you trust with those.
361
+ *
362
+ * Bills one `vision.page` per search that returns at least one result, plus one `vision.page` per scraped
363
+ * result (as a scrape bills). A search with no results bills nothing. Each search counts against
364
+ * `vision.search.monthly` (searches per UTC calendar month) and `vision.search.rpm`; it answers 429
365
+ * `quota_exceeded` or `rate_limited` when they are used up. A node without a search key answers 503
366
+ * `search_unavailable`.
367
+ *
368
+ * `POST /v1/vision/search` · scope `vision:run` · served by the node
369
+ */
370
+ search(body: T.SearchRequest, options?: RequestOptions): APIPromise<T.SearchResult>;
284
371
  /**
285
372
  * List browser sessions
286
373
  *
@@ -295,7 +382,8 @@ export declare class VisionAPI extends Namespace {
295
382
  * Claims a warm, dedicated browser for your organization and returns it ready to drive. Load a `profile` to
296
383
  * start signed in; set `persist_profile` to save cookies and storage back when the session closes. The
297
384
  * session closes after `timeout_s` (at most 1,800) or on `DELETE`. Bills `vision.browser_ms` from claim to
298
- * close.
385
+ * close. A node whose Chrome runs without its own sandbox (`chrome_sandbox: off` in `/readyz`) answers
386
+ * `503 product_unavailable`: one browser per session, with a renderer sandbox.
299
387
  *
300
388
  * `POST /v1/vision/sessions` · scope `vision:write` · served by the node
301
389
  */
@@ -326,7 +414,13 @@ export declare class VisionAPI extends Namespace {
326
414
  * `navigate`, `click`, `hover`, `type`, `key`, `scroll`, `select` and `wait` (the same kinds and fields as
327
415
  * render scripts), plus `evaluate`, `screenshot` and `markdown`. Execution stops at the first failed action
328
416
  * unless `continue_on_error` is set; the failed action's result carries the error (for example
329
- * `target_not_found`) and later actions are reported as `skipped`. The batch must finish within `timeout_ms`.
417
+ * `target_not_found`, or `target_covered` for a click whose target another element covers) and later actions
418
+ * are reported as `skipped`. The batch must finish within `timeout_ms`. The scripts vision runs in the page to
419
+ * find targets and wait run in an isolated world: they add nothing the page's own scripts can see. Only
420
+ * `evaluate` runs in the page's own JavaScript world.
421
+ * JavaScript dialogs never stall a batch: `alert`, `confirm` and `prompt` are dismissed (`confirm` returns
422
+ * false and `prompt` null; `accept_confirm: true` accepts `confirm`), `beforeunload` is accepted, and each
423
+ * dialog is listed in the `dialogs` of the action that was running.
330
424
  *
331
425
  * `POST /v1/vision/sessions/{session_id}/act` · scope `vision:run` · served by the node
332
426
  */
@@ -344,7 +438,15 @@ export declare class VisionAPI extends Namespace {
344
438
  * `about:blank` (`file:`, `chrome:`, `chrome-extension:`, `view-source:`, `devtools:`, `data:`). These
345
439
  * answer `cdp_method_blocked` in the CDP error (`error.data.code`). `Target.createBrowserContext` with
346
440
  * `proxyServer`, `proxyBypassList` or `originsWithUniversalNetworkAccess` answers `forbidden` (403):
347
- * every context of a session uses the session's egress. Authenticate with the `Authorization` header or a
441
+ * every context of a session uses the session's egress. Reading the browser's cookies and storage, which
442
+ * hold any profile the session loaded, needs `vision:profiles:export`, as exporting a profile's state does
443
+ * (default keys, `*` and `vision:*` leave it out): without it, `Network.getAllCookies`,
444
+ * `Network.getCookies`, `Storage.getCookies`, `Storage.getSharedStorageEntries`, `DOMStorage.*`,
445
+ * `IndexedDB.*` and `CacheStorage.*` answer `forbidden` (403) with `required_scope` in `error.data`, and
446
+ * network events reach the client without `Cookie` and `Set-Cookie` headers, raw header text or cookie
447
+ * lists. Until the profile scopes' kept window ends (2026-11-16) these reads still work. Scripts in the page
448
+ * are not filtered: `Runtime.evaluate` reads what the page's own scripts can, such as `document.cookie`
449
+ * (without HttpOnly cookies) and `localStorage`. Authenticate with the `Authorization` header or a
348
450
  * ticket from `POST /v1/vision/sessions/{session_id}/ticket`. A client that falls more than a few MB
349
451
  * behind is disconnected, and so is one that sends a message over 32 MiB. A message with a repeated member
350
452
  * (two `method`s, say) answers the JSON-RPC parse error `-32700`.
@@ -373,4 +475,21 @@ export declare class VisionAPI extends Namespace {
373
475
  * `POST /v1/vision/sessions/{session_id}/ticket` · scope `vision:read` · served by the node
374
476
  */
375
477
  createSessionTicket(sessionId: string, options?: RequestOptions): APIPromise<T.StreamTicket>;
478
+ /**
479
+ * Get a session's timeline
480
+ *
481
+ * The session's act steps in order, one row per step (skipped steps included): kind, start, duration,
482
+ * status, error, the target's box in the viewport, and a JPEG thumbnail when the session was created with
483
+ * `thumbnails: true`. Also the cursor path: every pointer event, from act steps and from
484
+ * `Input.dispatchMouseEvent` commands a CDP client sent over the session's socket, with its time since the
485
+ * session was created. Kept with the session (at most 1,000 steps, 20,000 points and 8 MiB of thumbnails;
486
+ * `dropped` counts what did not fit); a row's `url` and its error's `detail` are cut to 2,048 characters, and
487
+ * a CDP command whose `type` or `button` is not one of the documented values adds no point. Thumbnails are
488
+ * dropped 15 minutes after the session closes. The closed sessions of one organization keep at most 64 MiB of
489
+ * timelines together: the most recently closed keep theirs, older ones read empty, with what they held
490
+ * counted in `dropped`. The timeline is empty for a session closed by a node restart.
491
+ *
492
+ * `GET /v1/vision/sessions/{session_id}/timeline` · scope `vision:read` · served by the node
493
+ */
494
+ getSessionTimeline(sessionId: string, options?: RequestOptions): APIPromise<T.SessionTimeline>;
376
495
  }
@@ -118,6 +118,14 @@ const mapOp = {
118
118
  timeoutMs: 65000,
119
119
  scope: "vision:run",
120
120
  };
121
+ const prepareOp = {
122
+ id: "visionPrepare",
123
+ method: "POST",
124
+ path: "/v1/vision/prepare",
125
+ body: "json",
126
+ timeoutMs: 15000,
127
+ scope: "vision:run",
128
+ };
121
129
  const listProfilesOp = {
122
130
  id: "visionListProfiles",
123
131
  method: "GET",
@@ -180,6 +188,8 @@ const readUrlOp = {
180
188
  max_age_ms: "X-B3OS-Max-Age-Ms",
181
189
  only_main_content: "X-B3OS-Only-Main-Content",
182
190
  wait_for_ms: "X-B3OS-Wait-For-Ms",
191
+ respect_robots: "X-B3OS-Respect-Robots",
192
+ walls: "X-B3OS-Walls",
183
193
  },
184
194
  timeoutMs: 65000,
185
195
  scope: "vision:run",
@@ -192,6 +202,14 @@ const scrapeOp = {
192
202
  timeoutMs: 65000,
193
203
  scope: "vision:run",
194
204
  };
205
+ const searchOp = {
206
+ id: "visionSearch",
207
+ method: "POST",
208
+ path: "/v1/vision/search",
209
+ body: "json",
210
+ timeoutMs: 65000,
211
+ scope: "vision:run",
212
+ };
195
213
  const listSessionsOp = {
196
214
  id: "visionListSessions",
197
215
  method: "GET",
@@ -259,6 +277,14 @@ const createSessionTicketOp = {
259
277
  timeoutMs: 5000,
260
278
  scope: "vision:read",
261
279
  };
280
+ const getSessionTimelineOp = {
281
+ id: "visionGetSessionTimeline",
282
+ method: "GET",
283
+ path: "/v1/vision/sessions/{session_id}/timeline",
284
+ params: ["session_id"],
285
+ timeoutMs: 5000,
286
+ scope: "vision:read",
287
+ };
262
288
  const createBatchOp = {
263
289
  id: "visionCreateBatch",
264
290
  method: "POST",
@@ -312,6 +338,7 @@ export const visionOps = {
312
338
  cancelExtract: cancelExtractOp,
313
339
  extractEvents: extractEventsOp,
314
340
  map: mapOp,
341
+ prepare: prepareOp,
315
342
  listProfiles: listProfilesOp,
316
343
  createProfile: createProfileOp,
317
344
  deleteProfile: deleteProfileOp,
@@ -320,6 +347,7 @@ export const visionOps = {
320
347
  exportProfileState: exportProfileStateOp,
321
348
  readUrl: readUrlOp,
322
349
  scrape: scrapeOp,
350
+ search: searchOp,
323
351
  listSessions: listSessionsOp,
324
352
  createSession: createSessionOp,
325
353
  closeSession: closeSessionOp,
@@ -328,6 +356,7 @@ export const visionOps = {
328
356
  connectCdp: connectCdpOp,
329
357
  saveSessionProfile: saveSessionProfileOp,
330
358
  createSessionTicket: createSessionTicketOp,
359
+ getSessionTimeline: getSessionTimelineOp,
331
360
  };
332
361
  /**
333
362
  * Browsers and web extraction: scrape, map, crawl, batch, browser sessions and profiles (`/v1/vision`).
@@ -346,7 +375,9 @@ export class VisionAPI extends Namespace {
346
375
  /**
347
376
  * Scrape a list of URLs
348
377
  *
349
- * Starts a job that scrapes up to 1,000 URLs with the same options. Each page bills one `vision.page`.
378
+ * Starts a job that scrapes up to 1,000 URLs with the same options. Each delivered page bills one
379
+ * `vision.page`, except a wall, which is free and carries only its state, status and final URL
380
+ * (`content_withheld`) unless the page options set `walls: "bill"`, as for a single scrape (visionScrape).
350
381
  * Results are listed with `GET /v1/vision/batches/{batch_id}/pages`; `?wait=`, the events stream and
351
382
  * `webhook` report progress.
352
383
  *
@@ -379,7 +410,9 @@ export class VisionAPI extends Namespace {
379
410
  * Stream a batch's events
380
411
  *
381
412
  * Server-sent events for the batch: lifecycle events plus `page.succeeded` and `page.failed` per URL. Ends
382
- * after the terminal event. Reconnect with `Last-Event-ID` to resume.
413
+ * after the terminal event. Reconnect with `Last-Event-ID` to resume. Events are kept with the batch, so the
414
+ * stream reads the same, with the same `seq`, after the node restarts; a batch that was running then ends
415
+ * with `job.failed`.
383
416
  *
384
417
  * `GET /v1/vision/batches/{batch_id}/events` · scope `vision:read` · served by the node
385
418
  */
@@ -413,8 +446,14 @@ export class VisionAPI extends Namespace {
413
446
  * Crawl a site
414
447
  *
415
448
  * Starts a job that discovers pages from `url` (links and sitemaps), breadth first, and scrapes up to `limit`
416
- * pages (at most 500). robots.txt is honored and requests to one host are spaced politely. One crawl runs
417
- * at a time per organization. Each page bills one `vision.page`.
449
+ * pages (at most 500). Requests to one host are spaced politely (`delay_ms`). robots.txt rules apply only
450
+ * with `respect_robots: true`: disallowed pages are skipped (listed in `result.robots_blocked`), a robots.txt
451
+ * that cannot be read stops the crawl's pages (RFC 9309), and its Crawl-delay is used when `delay_ms` is not
452
+ * set; its `Sitemap:` lines then point sitemap discovery. Without it no robots.txt is fetched at all and
453
+ * sitemap discovery starts from `/sitemap.xml`. One crawl runs at a time per organization.
454
+ * Each delivered page bills one `vision.page`, except a wall, which is free and carries only its state, status
455
+ * and final URL (`content_withheld`; its links are not followed) unless the page options set
456
+ * `walls: "bill"`, as for a single scrape (visionScrape).
418
457
  *
419
458
  * `POST /v1/vision/crawls` · scope `vision:run` · served by the node
420
459
  */
@@ -445,7 +484,9 @@ export class VisionAPI extends Namespace {
445
484
  * Stream a crawl's events
446
485
  *
447
486
  * Server-sent events for the crawl: lifecycle events plus `page.succeeded` and `page.failed` per page. Ends
448
- * after the terminal event. Reconnect with `Last-Event-ID` to resume.
487
+ * after the terminal event. Reconnect with `Last-Event-ID` to resume. Events are kept with the crawl, so the
488
+ * stream reads the same, with the same `seq`, after the node restarts; a crawl that was running then ends
489
+ * with `job.failed`.
449
490
  *
450
491
  * `GET /v1/vision/crawls/{crawl_id}/events` · scope `vision:read` · served by the node
451
492
  */
@@ -523,13 +564,36 @@ export class VisionAPI extends Namespace {
523
564
  *
524
565
  * Lists URLs on a site from its sitemaps and from links on the start page, without scraping each page. Use it
525
566
  * to choose what to scrape or crawl. `search` orders the results by relevance to a phrase. Bills one
526
- * `vision.page` per call.
567
+ * `vision.page` per call that returns at least one link (a map that found nothing is free). A start page
568
+ * that is a wall (`page_state` `blocked` or `captcha`) gives no links, not even its own URL, so a map of a
569
+ * wall finds only what the sitemaps list.
527
570
  *
528
571
  * `POST /v1/vision/map` · scope `vision:run` · served by the node
529
572
  */
530
573
  map(body, options) {
531
574
  return this._client._call(mapOp, { body }, options);
532
575
  }
576
+ /**
577
+ * Prepare a coming scrape
578
+ *
579
+ * Warms what a scrape of `url` will need, so it is off the scrape's critical path: the destination resolved
580
+ * and checked by the egress guard, and a keep-alive connection to the origin that the scrape's HTTP fetch
581
+ * reuses (opened with a `HEAD` of the URL, whose answer is not used, carrying the request headers the
582
+ * scrape's navigation sends: Chrome's for that URL). Routines call it for the next step
583
+ * while the current one runs. Bills nothing. With `respect_robots: true` it fetches and caches the origin's
584
+ * robots.txt instead of the `HEAD`, and `robots` says whether robots.txt allows the URL (`unreachable`: a
585
+ * scrape still proceeds, a crawl does not); otherwise `robots` is `not_checked`.
586
+ *
587
+ * It sends the target at most one `HEAD` per origin per 60 seconds for your organization: a prepare of an
588
+ * origin you prepared within the last 60 seconds finds the connection pooled and sends nothing (its
589
+ * `timing` then has no `connect_ms`). Each request a prepare does send (the `HEAD`, or a robots.txt this node
590
+ * does not hold yet) counts against `vision.scrape.rpm` like a scrape: `429 rate_limited` when it is used up.
591
+ *
592
+ * `POST /v1/vision/prepare` · scope `vision:run` · served by the node
593
+ */
594
+ prepare(body, options) {
595
+ return this._client._call(prepareOp, { body }, options);
596
+ }
533
597
  /**
534
598
  * List profiles
535
599
  *
@@ -589,7 +653,12 @@ export class VisionAPI extends Namespace {
589
653
  *
590
654
  * Returns the current revision's storage state (Playwright `storageState` JSON) so you can load it into your
591
655
  * own browser or move it to another project. It contains live session cookies: treat the response like a
592
- * password. Requires `vision:write`, the same scope that can replace the state.
656
+ * password. Requires `vision:profiles:export` as well as `vision:write`. Export is an explicit grant: default
657
+ * keys, `*` and `vision:*` do not include it, so a key that exports state names the scope. Until the end of the
658
+ * 14-day kept window (plan 3.18), a key with `vision:write` and without `vision:profiles:export` still exports,
659
+ * and the response carries `Sunset` with the date that stops. A profile whose state a B3OS session saved
660
+ * (`exportable: false`) is never exported: 403 `profile_not_exportable`, with any scope, once the kept window
661
+ * ends (inside it, it exports with `Sunset`).
593
662
  *
594
663
  * `GET /v1/vision/profiles/{profile_id}/state` · scope `vision:write` · served by the node
595
664
  */
@@ -606,19 +675,62 @@ export class VisionAPI extends Namespace {
606
675
  * Scrape a page
607
676
  *
608
677
  * Fetches one URL and returns the formats you ask for. With `engine: "auto"` (the default) vision answers
609
- * from the cache when a fresh copy exists (`max_age_ms`, default 2 days), otherwise fetches over HTTP and
610
- * switches to a warm browser only when the page needs JavaScript. Custom `headers`, a `profile` or `actions`
678
+ * from the cache when a fresh copy exists (`max_age_ms`, default 2 days), otherwise fetches over HTTP and uses a
679
+ * warm browser when the page needs JavaScript, when the fetch came back thin or mostly script, and when the
680
+ * fetch failed in a way a browser may not. Custom `headers`, a `profile` or `actions`
611
681
  * bypass the cache; a page that sets cookies (by a response or a script) is cached for your organization
612
682
  * only. The response's `cache.state` and `tier` say what served it.
613
683
  *
614
684
  * Synchronous: the response arrives when the page is done, within `timeout_ms` (at most 60 seconds). For
615
685
  * many pages use a batch scrape or a crawl.
616
686
  *
687
+ * Billing: one `vision.page` for a page that is returned, whichever tier served it. A free scrape never
688
+ * carries page content. A scrape that returns no page (an error answer: upstream error, timeout, blocked
689
+ * target, egress denial, extraction failure, a cache-only miss) bills nothing and does not count against the
690
+ * monthly allowance. A page vision judges a wall (`page_state` `blocked` or `captcha`: a refusal or
691
+ * challenge page, see PageState) is free too, and its content is withheld: the result has only `page_state`
692
+ * (with its `signal`), `status_code`, `final_url` and `content_withheld: true`, and none of the formats,
693
+ * `links`, `metadata`, the screenshot or `json`. The judgement is a heuristic and can take a page for a wall
694
+ * that is not one; such a page then comes back without its content, never with it for free, so it errs
695
+ * toward `ok`: a wall needs little text and an interstitial signal or a 403 or 429 status. With
696
+ * `walls: "bill"` a wall bills like any page and its content is returned. A scrape with `actions` bills
697
+ * whatever the page is and returns everything (its steps ran, and a step can send what it reads out through
698
+ * the page's own requests). A 403 or 429 that carries the page's content as text is not a wall (`page_state`
699
+ * `error`) and is billed like any page, whatever `include_tags`, `exclude_tags` or `only_main_content` keep
700
+ * of it. The same holds for batch and crawl pages and for cache hits. Once the organization has used its
701
+ * `vision.pages.monthly` allowance, scrapes answer `429 quota_exceeded` until the next UTC month.
702
+ *
703
+ * A browser that goes away during the render (the node's Chrome launcher stopped or restarted) answers `503
704
+ * product_unavailable` with `Retry-After`: retry, the node reconnects to the launcher by itself.
705
+ *
617
706
  * `POST /v1/vision/scrape` · scope `vision:run` · served by the node
618
707
  */
619
708
  scrape(body, options) {
620
709
  return this._client._call(scrapeOp, { body }, options);
621
710
  }
711
+ /**
712
+ * Search the web
713
+ *
714
+ * Searches the web for `query` and returns up to `limit` results in the provider's order, each with its URL,
715
+ * title and description. The node sends the query to its search provider (the Brave Search API) with the
716
+ * node's key and nothing that identifies your organization; the result sites are not contacted unless you ask
717
+ * for their pages. With `scrape`, every result is also scraped with those options, through the same egress
718
+ * guard and politeness as a scrape, and its document is in the result's `scrape`; a result whose scrape fails
719
+ * has `error` instead, and the search still answers 200 with a `scrape_failed` warning. One answer holds at
720
+ * most 64 MiB of pages; a result past that has `error` `search_answer_too_large` and is not billed. A search's
721
+ * results get no custom `headers`, `profile`, `actions` or `json` format: scrape the URLs you trust with those.
722
+ *
723
+ * Bills one `vision.page` per search that returns at least one result, plus one `vision.page` per scraped
724
+ * result (as a scrape bills). A search with no results bills nothing. Each search counts against
725
+ * `vision.search.monthly` (searches per UTC calendar month) and `vision.search.rpm`; it answers 429
726
+ * `quota_exceeded` or `rate_limited` when they are used up. A node without a search key answers 503
727
+ * `search_unavailable`.
728
+ *
729
+ * `POST /v1/vision/search` · scope `vision:run` · served by the node
730
+ */
731
+ search(body, options) {
732
+ return this._client._call(searchOp, { body }, options);
733
+ }
622
734
  /**
623
735
  * List browser sessions
624
736
  *
@@ -635,7 +747,8 @@ export class VisionAPI extends Namespace {
635
747
  * Claims a warm, dedicated browser for your organization and returns it ready to drive. Load a `profile` to
636
748
  * start signed in; set `persist_profile` to save cookies and storage back when the session closes. The
637
749
  * session closes after `timeout_s` (at most 1,800) or on `DELETE`. Bills `vision.browser_ms` from claim to
638
- * close.
750
+ * close. A node whose Chrome runs without its own sandbox (`chrome_sandbox: off` in `/readyz`) answers
751
+ * `503 product_unavailable`: one browser per session, with a renderer sandbox.
639
752
  *
640
753
  * `POST /v1/vision/sessions` · scope `vision:write` · served by the node
641
754
  */
@@ -672,7 +785,13 @@ export class VisionAPI extends Namespace {
672
785
  * `navigate`, `click`, `hover`, `type`, `key`, `scroll`, `select` and `wait` (the same kinds and fields as
673
786
  * render scripts), plus `evaluate`, `screenshot` and `markdown`. Execution stops at the first failed action
674
787
  * unless `continue_on_error` is set; the failed action's result carries the error (for example
675
- * `target_not_found`) and later actions are reported as `skipped`. The batch must finish within `timeout_ms`.
788
+ * `target_not_found`, or `target_covered` for a click whose target another element covers) and later actions
789
+ * are reported as `skipped`. The batch must finish within `timeout_ms`. The scripts vision runs in the page to
790
+ * find targets and wait run in an isolated world: they add nothing the page's own scripts can see. Only
791
+ * `evaluate` runs in the page's own JavaScript world.
792
+ * JavaScript dialogs never stall a batch: `alert`, `confirm` and `prompt` are dismissed (`confirm` returns
793
+ * false and `prompt` null; `accept_confirm: true` accepts `confirm`), `beforeunload` is accepted, and each
794
+ * dialog is listed in the `dialogs` of the action that was running.
676
795
  *
677
796
  * `POST /v1/vision/sessions/{session_id}/act` · scope `vision:run` · served by the node
678
797
  */
@@ -692,7 +811,15 @@ export class VisionAPI extends Namespace {
692
811
  * `about:blank` (`file:`, `chrome:`, `chrome-extension:`, `view-source:`, `devtools:`, `data:`). These
693
812
  * answer `cdp_method_blocked` in the CDP error (`error.data.code`). `Target.createBrowserContext` with
694
813
  * `proxyServer`, `proxyBypassList` or `originsWithUniversalNetworkAccess` answers `forbidden` (403):
695
- * every context of a session uses the session's egress. Authenticate with the `Authorization` header or a
814
+ * every context of a session uses the session's egress. Reading the browser's cookies and storage, which
815
+ * hold any profile the session loaded, needs `vision:profiles:export`, as exporting a profile's state does
816
+ * (default keys, `*` and `vision:*` leave it out): without it, `Network.getAllCookies`,
817
+ * `Network.getCookies`, `Storage.getCookies`, `Storage.getSharedStorageEntries`, `DOMStorage.*`,
818
+ * `IndexedDB.*` and `CacheStorage.*` answer `forbidden` (403) with `required_scope` in `error.data`, and
819
+ * network events reach the client without `Cookie` and `Set-Cookie` headers, raw header text or cookie
820
+ * lists. Until the profile scopes' kept window ends (2026-11-16) these reads still work. Scripts in the page
821
+ * are not filtered: `Runtime.evaluate` reads what the page's own scripts can, such as `document.cookie`
822
+ * (without HttpOnly cookies) and `localStorage`. Authenticate with the `Authorization` header or a
696
823
  * ticket from `POST /v1/vision/sessions/{session_id}/ticket`. A client that falls more than a few MB
697
824
  * behind is disconnected, and so is one that sends a message over 32 MiB. A message with a repeated member
698
825
  * (two `method`s, say) answers the JSON-RPC parse error `-32700`.
@@ -728,5 +855,24 @@ export class VisionAPI extends Namespace {
728
855
  createSessionTicket(sessionId, options) {
729
856
  return this._client._call(createSessionTicketOp, { path: [sessionId] }, options);
730
857
  }
858
+ /**
859
+ * Get a session's timeline
860
+ *
861
+ * The session's act steps in order, one row per step (skipped steps included): kind, start, duration,
862
+ * status, error, the target's box in the viewport, and a JPEG thumbnail when the session was created with
863
+ * `thumbnails: true`. Also the cursor path: every pointer event, from act steps and from
864
+ * `Input.dispatchMouseEvent` commands a CDP client sent over the session's socket, with its time since the
865
+ * session was created. Kept with the session (at most 1,000 steps, 20,000 points and 8 MiB of thumbnails;
866
+ * `dropped` counts what did not fit); a row's `url` and its error's `detail` are cut to 2,048 characters, and
867
+ * a CDP command whose `type` or `button` is not one of the documented values adds no point. Thumbnails are
868
+ * dropped 15 minutes after the session closes. The closed sessions of one organization keep at most 64 MiB of
869
+ * timelines together: the most recently closed keep theirs, older ones read empty, with what they held
870
+ * counted in `dropped`. The timeline is empty for a session closed by a node restart.
871
+ *
872
+ * `GET /v1/vision/sessions/{session_id}/timeline` · scope `vision:read` · served by the node
873
+ */
874
+ getSessionTimeline(sessionId, options) {
875
+ return this._client._call(getSessionTimelineOp, { path: [sessionId] }, options);
876
+ }
731
877
  }
732
878
  //# sourceMappingURL=vision.js.map