@b3os/sdk 0.2.1 → 0.2.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 (146) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/core/util.d.ts +1 -1
  3. package/dist/cjs/core/util.js +1 -1
  4. package/dist/cjs/generated/client.d.ts +18 -0
  5. package/dist/cjs/generated/client.js +34 -0
  6. package/dist/cjs/generated/client.js.map +1 -1
  7. package/dist/cjs/generated/errors.d.ts +1 -1
  8. package/dist/cjs/generated/errors.js +120 -0
  9. package/dist/cjs/generated/errors.js.map +1 -1
  10. package/dist/cjs/generated/ids.d.ts +89 -0
  11. package/dist/cjs/generated/ids.js +22 -0
  12. package/dist/cjs/generated/ids.js.map +1 -1
  13. package/dist/cjs/generated/jobs.js +4 -0
  14. package/dist/cjs/generated/jobs.js.map +1 -1
  15. package/dist/cjs/generated/ns/actions.d.ts +267 -33
  16. package/dist/cjs/generated/ns/actions.js +375 -33
  17. package/dist/cjs/generated/ns/actions.js.map +1 -1
  18. package/dist/cjs/generated/ns/agents.d.ts +656 -0
  19. package/dist/cjs/generated/ns/agents.js +989 -0
  20. package/dist/cjs/generated/ns/agents.js.map +1 -0
  21. package/dist/cjs/generated/ns/images.d.ts +162 -0
  22. package/dist/cjs/generated/ns/images.js +246 -0
  23. package/dist/cjs/generated/ns/images.js.map +1 -0
  24. package/dist/cjs/generated/ns/infer.d.ts +71 -3
  25. package/dist/cjs/generated/ns/infer.js +98 -3
  26. package/dist/cjs/generated/ns/infer.js.map +1 -1
  27. package/dist/cjs/generated/ns/keys.d.ts +3 -1
  28. package/dist/cjs/generated/ns/keys.js +3 -1
  29. package/dist/cjs/generated/ns/keys.js.map +1 -1
  30. package/dist/cjs/generated/ns/listeners.d.ts +163 -0
  31. package/dist/cjs/generated/ns/listeners.js +268 -0
  32. package/dist/cjs/generated/ns/listeners.js.map +1 -0
  33. package/dist/cjs/generated/ns/orgs.d.ts +10 -0
  34. package/dist/cjs/generated/ns/orgs.js +26 -1
  35. package/dist/cjs/generated/ns/orgs.js.map +1 -1
  36. package/dist/cjs/generated/ns/projects.d.ts +32 -0
  37. package/dist/cjs/generated/ns/projects.js +66 -0
  38. package/dist/cjs/generated/ns/projects.js.map +1 -1
  39. package/dist/cjs/generated/ns/render.d.ts +192 -21
  40. package/dist/cjs/generated/ns/render.js +267 -24
  41. package/dist/cjs/generated/ns/render.js.map +1 -1
  42. package/dist/cjs/generated/ns/requests.d.ts +3 -1
  43. package/dist/cjs/generated/ns/requests.js +3 -1
  44. package/dist/cjs/generated/ns/requests.js.map +1 -1
  45. package/dist/cjs/generated/ns/routines.d.ts +22 -4
  46. package/dist/cjs/generated/ns/routines.js +22 -4
  47. package/dist/cjs/generated/ns/routines.js.map +1 -1
  48. package/dist/cjs/generated/ns/sandboxes.d.ts +431 -7
  49. package/dist/cjs/generated/ns/sandboxes.js +633 -6
  50. package/dist/cjs/generated/ns/sandboxes.js.map +1 -1
  51. package/dist/cjs/generated/ns/usage.d.ts +1 -1
  52. package/dist/cjs/generated/ns/usage.js +1 -1
  53. package/dist/cjs/generated/ns/vision.d.ts +113 -17
  54. package/dist/cjs/generated/ns/vision.js +152 -21
  55. package/dist/cjs/generated/ns/vision.js.map +1 -1
  56. package/dist/cjs/generated/ns/workspaces.d.ts +225 -0
  57. package/dist/cjs/generated/ns/workspaces.js +410 -0
  58. package/dist/cjs/generated/ns/workspaces.js.map +1 -0
  59. package/dist/cjs/generated/types.d.ts +5259 -605
  60. package/dist/cjs/helpers/sandboxes.d.ts +20 -1
  61. package/dist/cjs/helpers/sandboxes.js +13 -1
  62. package/dist/cjs/helpers/sandboxes.js.map +1 -1
  63. package/dist/esm/core/util.d.ts +1 -1
  64. package/dist/esm/core/util.js +1 -1
  65. package/dist/esm/generated/client.d.ts +18 -0
  66. package/dist/esm/generated/client.js +34 -0
  67. package/dist/esm/generated/client.js.map +1 -1
  68. package/dist/esm/generated/errors.d.ts +1 -1
  69. package/dist/esm/generated/errors.js +120 -0
  70. package/dist/esm/generated/errors.js.map +1 -1
  71. package/dist/esm/generated/ids.d.ts +89 -0
  72. package/dist/esm/generated/ids.js +22 -0
  73. package/dist/esm/generated/ids.js.map +1 -1
  74. package/dist/esm/generated/jobs.js +4 -0
  75. package/dist/esm/generated/jobs.js.map +1 -1
  76. package/dist/esm/generated/ns/actions.d.ts +267 -33
  77. package/dist/esm/generated/ns/actions.js +375 -33
  78. package/dist/esm/generated/ns/actions.js.map +1 -1
  79. package/dist/esm/generated/ns/agents.d.ts +656 -0
  80. package/dist/esm/generated/ns/agents.js +985 -0
  81. package/dist/esm/generated/ns/agents.js.map +1 -0
  82. package/dist/esm/generated/ns/images.d.ts +162 -0
  83. package/dist/esm/generated/ns/images.js +242 -0
  84. package/dist/esm/generated/ns/images.js.map +1 -0
  85. package/dist/esm/generated/ns/infer.d.ts +71 -3
  86. package/dist/esm/generated/ns/infer.js +98 -3
  87. package/dist/esm/generated/ns/infer.js.map +1 -1
  88. package/dist/esm/generated/ns/keys.d.ts +3 -1
  89. package/dist/esm/generated/ns/keys.js +3 -1
  90. package/dist/esm/generated/ns/keys.js.map +1 -1
  91. package/dist/esm/generated/ns/listeners.d.ts +163 -0
  92. package/dist/esm/generated/ns/listeners.js +264 -0
  93. package/dist/esm/generated/ns/listeners.js.map +1 -0
  94. package/dist/esm/generated/ns/orgs.d.ts +10 -0
  95. package/dist/esm/generated/ns/orgs.js +26 -1
  96. package/dist/esm/generated/ns/orgs.js.map +1 -1
  97. package/dist/esm/generated/ns/projects.d.ts +32 -0
  98. package/dist/esm/generated/ns/projects.js +66 -0
  99. package/dist/esm/generated/ns/projects.js.map +1 -1
  100. package/dist/esm/generated/ns/render.d.ts +192 -21
  101. package/dist/esm/generated/ns/render.js +267 -24
  102. package/dist/esm/generated/ns/render.js.map +1 -1
  103. package/dist/esm/generated/ns/requests.d.ts +3 -1
  104. package/dist/esm/generated/ns/requests.js +3 -1
  105. package/dist/esm/generated/ns/requests.js.map +1 -1
  106. package/dist/esm/generated/ns/routines.d.ts +22 -4
  107. package/dist/esm/generated/ns/routines.js +22 -4
  108. package/dist/esm/generated/ns/routines.js.map +1 -1
  109. package/dist/esm/generated/ns/sandboxes.d.ts +431 -7
  110. package/dist/esm/generated/ns/sandboxes.js +633 -6
  111. package/dist/esm/generated/ns/sandboxes.js.map +1 -1
  112. package/dist/esm/generated/ns/usage.d.ts +1 -1
  113. package/dist/esm/generated/ns/usage.js +1 -1
  114. package/dist/esm/generated/ns/vision.d.ts +113 -17
  115. package/dist/esm/generated/ns/vision.js +152 -21
  116. package/dist/esm/generated/ns/vision.js.map +1 -1
  117. package/dist/esm/generated/ns/workspaces.d.ts +225 -0
  118. package/dist/esm/generated/ns/workspaces.js +406 -0
  119. package/dist/esm/generated/ns/workspaces.js.map +1 -0
  120. package/dist/esm/generated/types.d.ts +5259 -605
  121. package/dist/esm/helpers/sandboxes.d.ts +20 -1
  122. package/dist/esm/helpers/sandboxes.js +13 -1
  123. package/dist/esm/helpers/sandboxes.js.map +1 -1
  124. package/package.json +1 -1
  125. package/src/core/util.ts +1 -1
  126. package/src/generated/client.ts +38 -0
  127. package/src/generated/errors.ts +240 -0
  128. package/src/generated/ids.ts +22 -0
  129. package/src/generated/jobs.ts +4 -0
  130. package/src/generated/ns/actions.ts +403 -33
  131. package/src/generated/ns/agents.ts +1102 -0
  132. package/src/generated/ns/images.ts +256 -0
  133. package/src/generated/ns/infer.ts +100 -3
  134. package/src/generated/ns/keys.ts +3 -1
  135. package/src/generated/ns/listeners.ts +300 -0
  136. package/src/generated/ns/orgs.ts +27 -1
  137. package/src/generated/ns/projects.ts +74 -0
  138. package/src/generated/ns/render.ts +277 -24
  139. package/src/generated/ns/requests.ts +3 -1
  140. package/src/generated/ns/routines.ts +22 -4
  141. package/src/generated/ns/sandboxes.ts +694 -7
  142. package/src/generated/ns/usage.ts +1 -1
  143. package/src/generated/ns/vision.ts +159 -21
  144. package/src/generated/ns/workspaces.ts +448 -0
  145. package/src/generated/types.ts +5684 -601
  146. package/src/helpers/sandboxes.ts +31 -2
@@ -91,7 +91,6 @@ const getExtractOp = {
91
91
  path: "/v1/vision/extracts/{job_id}",
92
92
  params: ["job_id"],
93
93
  timeoutMs: 10000,
94
- stretch: true,
95
94
  scope: "vision:read",
96
95
  };
97
96
  const cancelExtractOp = {
@@ -100,7 +99,6 @@ const cancelExtractOp = {
100
99
  path: "/v1/vision/extracts/{job_id}/cancel",
101
100
  params: ["job_id"],
102
101
  timeoutMs: 10000,
103
- stretch: true,
104
102
  scope: "vision:run",
105
103
  };
106
104
  const extractEventsOp = {
@@ -110,7 +108,29 @@ const extractEventsOp = {
110
108
  params: ["job_id"],
111
109
  stream: "sse",
112
110
  timeoutMs: 3600000,
113
- stretch: true,
111
+ scope: "vision:read",
112
+ };
113
+ const listIdentitiesOp = {
114
+ id: "visionListIdentities",
115
+ method: "GET",
116
+ path: "/v1/vision/identities",
117
+ timeoutMs: 10000,
118
+ scope: "vision:read",
119
+ };
120
+ const retireIdentityOp = {
121
+ id: "visionRetireIdentity",
122
+ method: "DELETE",
123
+ path: "/v1/vision/identities/{identity_id}",
124
+ params: ["identity_id"],
125
+ timeoutMs: 10000,
126
+ scope: "vision:write",
127
+ };
128
+ const getIdentityOp = {
129
+ id: "visionGetIdentity",
130
+ method: "GET",
131
+ path: "/v1/vision/identities/{identity_id}",
132
+ params: ["identity_id"],
133
+ timeoutMs: 10000,
114
134
  scope: "vision:read",
115
135
  };
116
136
  const mapOp = {
@@ -254,6 +274,14 @@ const actOp = {
254
274
  timeoutMs: 65000,
255
275
  scope: "vision:run",
256
276
  };
277
+ const getSessionAuditOp = {
278
+ id: "visionGetSessionAudit",
279
+ method: "GET",
280
+ path: "/v1/vision/sessions/{session_id}/audit",
281
+ params: ["session_id"],
282
+ timeoutMs: 10000,
283
+ scope: "vision:read",
284
+ };
257
285
  const connectCdpOp = {
258
286
  id: "visionConnectCdp",
259
287
  method: "GET",
@@ -318,7 +346,6 @@ const createExtractOp = {
318
346
  idem: true,
319
347
  stream: "sse",
320
348
  timeoutMs: 3600000,
321
- stretch: true,
322
349
  scope: "vision:run",
323
350
  job: { get: getExtractOp, events: extractEventsOp, cancel: cancelExtractOp },
324
351
  };
@@ -340,6 +367,9 @@ exports.visionOps = {
340
367
  getExtract: getExtractOp,
341
368
  cancelExtract: cancelExtractOp,
342
369
  extractEvents: extractEventsOp,
370
+ listIdentities: listIdentitiesOp,
371
+ retireIdentity: retireIdentityOp,
372
+ getIdentity: getIdentityOp,
343
373
  map: mapOp,
344
374
  prepare: prepareOp,
345
375
  listProfiles: listProfilesOp,
@@ -356,6 +386,7 @@ exports.visionOps = {
356
386
  closeSession: closeSessionOp,
357
387
  getSession: getSessionOp,
358
388
  act: actOp,
389
+ getSessionAudit: getSessionAuditOp,
359
390
  connectCdp: connectCdpOp,
360
391
  saveSessionProfile: saveSessionProfileOp,
361
392
  createSessionTicket: createSessionTicketOp,
@@ -380,7 +411,9 @@ class VisionAPI extends namespace_ts_1.Namespace {
380
411
  *
381
412
  * Starts a job that scrapes up to 1,000 URLs with the same options. Each delivered page bills one
382
413
  * `vision.page`, except a wall, which is free and carries only its state, status and final URL
383
- * (`content_withheld`) unless the page options set `walls: "bill"`, as for a single scrape (visionScrape).
414
+ * (`content_withheld`) unless the page options set `walls: "bill"`, as for a single scrape (visionScrape). A
415
+ * URL that serves a PDF is read as a single scrape reads it and bills one `vision.page` per PDF page read; a
416
+ * PDF that cannot be opened fails its page with `pdf_unreadable` or `pdf_encrypted`.
384
417
  * Results are listed with `GET /v1/vision/batches/{batch_id}/pages`; `?wait=`, the events stream and
385
418
  * `webhook` report progress.
386
419
  *
@@ -456,7 +489,9 @@ class VisionAPI extends namespace_ts_1.Namespace {
456
489
  * sitemap discovery starts from `/sitemap.xml`. One crawl runs at a time per organization.
457
490
  * Each delivered page bills one `vision.page`, except a wall, which is free and carries only its state, status
458
491
  * and final URL (`content_withheld`; its links are not followed) unless the page options set
459
- * `walls: "bill"`, as for a single scrape (visionScrape).
492
+ * `walls: "bill"`, as for a single scrape (visionScrape). Links to PDFs (paths that end in `.pdf`) are
493
+ * followed unless the page options set `pdf.mode: "off"`: each PDF is one page of `limit` and bills one
494
+ * `vision.page` per PDF page read. A PDF's links are not followed.
460
495
  *
461
496
  * `POST /v1/vision/crawls` · scope `vision:run` · served by the node
462
497
  */
@@ -512,13 +547,32 @@ class VisionAPI extends namespace_ts_1.Namespace {
512
547
  /**
513
548
  * Extract structured data
514
549
  *
515
- * Starts a job that scrapes up to 10 URLs and asks the node's model to fill your JSON Schema from their
516
- * content (with `prompt` as guidance). The result is validated against the schema; an invalid result after
517
- * retries fails the job with `extraction_failed`. Bills `vision.page` per page plus the model's tokens.
550
+ * Starts a job that scrapes up to 10 URLs (PDFs included) and has the node's model fill your JSON Schema from
551
+ * their Markdown, with `prompt` as guidance. With `prompt` alone the model answers one JSON object, which is
552
+ * not validated. At least one of `schema` and `prompt` is required.
553
+ *
554
+ * The schema is checked when the job is created: one that does not compile, uses a remote `$ref`, is larger
555
+ * than 64 KiB or nests deeper than 32 levels answers 400 with a pointer under `/schema`, before anything runs
556
+ * or bills. `scrape` takes the page options of a batch, except that the only format is `markdown`.
557
+ *
558
+ * The pages go to the model together in one call when they fit its context window, else one call per page
559
+ * (or per piece of a long page) whose answers are merged: objects key by key, arrays concatenated without
560
+ * duplicates, and for a single value the first page's, with a warning when another page says otherwise. The
561
+ * model may answer null where the pages do not state a value. The answer is then validated against your
562
+ * schema: a required field no page states fails the job with `extract_fields_missing` (one `errors[]` item per
563
+ * pointer, the rest of the object in `partial_data`), and an answer that does not match is retried once with
564
+ * the errors, then fails with `extraction_failed` (`reason: invalid_answer`). URLs that fail to scrape are
565
+ * listed in `result.pages` and the job goes on with the rest; when every URL fails, the job fails with
566
+ * `extraction_failed` (`reason: no_pages`). `result.field_sources` names the pages each top-level field came
567
+ * from. The data is the model's reading of the pages, so check the values that matter.
568
+ *
569
+ * Needs `infer:run` as well as `vision:run`: the model is called as you, through
570
+ * `POST /v1/infer/chat/completions`, and a node with no model answers 503 `product_unavailable`
571
+ * (`reason: model`). Bills `vision.page` per page read (a PDF one per page read) and the model's tokens
572
+ * (`infer.input_tokens`, `infer.output_tokens`). A job that fails or is canceled after it read pages or called
573
+ * the model keeps those billed, `extract_fields_missing` included.
518
574
  *
519
575
  * `POST /v1/vision/extracts` · scope `vision:run` · served by the node
520
- *
521
- * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
522
576
  */
523
577
  createExtract(body, options) {
524
578
  return this._client._job(createExtractOp, { body }, options);
@@ -529,8 +583,6 @@ class VisionAPI extends namespace_ts_1.Namespace {
529
583
  * Returns the extraction job; `result.data` holds the extracted JSON once it succeeded.
530
584
  *
531
585
  * `GET /v1/vision/extracts/{job_id}` · scope `vision:read` · served by the node
532
- *
533
- * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
534
586
  */
535
587
  getExtract(jobId, options) {
536
588
  return this._client._call(getExtractOp, { path: [jobId] }, options);
@@ -541,8 +593,6 @@ class VisionAPI extends namespace_ts_1.Namespace {
541
593
  * Stops the extraction. Pages already scraped and tokens already used stay billed.
542
594
  *
543
595
  * `POST /v1/vision/extracts/{job_id}/cancel` · scope `vision:run` · served by the node
544
- *
545
- * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
546
596
  */
547
597
  cancelExtract(jobId, options) {
548
598
  return this._client._call(cancelExtractOp, { path: [jobId] }, options);
@@ -553,8 +603,6 @@ class VisionAPI extends namespace_ts_1.Namespace {
553
603
  * Server-sent lifecycle events for the extraction job. Ends after the terminal event.
554
604
  *
555
605
  * `GET /v1/vision/extracts/{job_id}/events` · scope `vision:read` · served by the node
556
- *
557
- * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
558
606
  */
559
607
  extractEvents(jobId, options) {
560
608
  return this._client._stream(extractEventsOp, { path: [jobId] }, options, {
@@ -562,6 +610,44 @@ class VisionAPI extends namespace_ts_1.Namespace {
562
610
  reconnectOnEnd: true,
563
611
  });
564
612
  }
613
+ /**
614
+ * List stealth identities
615
+ *
616
+ * Lists your organization's stealth identities, newest first, retired ones included. A stealth session
617
+ * (`stealth` on `POST /v1/vision/sessions`) makes a new identity when it names none and its profile has none;
618
+ * new identities per day and active identities in all are limits (`vision.stealth.identities.daily`,
619
+ * `vision.stealth.identities.max`). Behind the `vision.stealth` feature flag: until it is on for your
620
+ * organization the operation answers `404 feature_not_enabled`.
621
+ *
622
+ * `GET /v1/vision/identities` · scope `vision:read` · served by the node
623
+ */
624
+ listIdentities(params, options) {
625
+ return this._client._list(listIdentitiesOp, { query: params }, options);
626
+ }
627
+ /**
628
+ * Retire a stealth identity
629
+ *
630
+ * Retires the identity: no new session uses it (a create that names it answers `409 identity_retired`), and
631
+ * it no longer counts toward `vision.stealth.identities.max`. Its record stays, and it still counts toward the
632
+ * day's new identities. Sessions already using it are not closed. Retiring a retired identity changes nothing.
633
+ * Behind the `vision.stealth` feature flag.
634
+ *
635
+ * `DELETE /v1/vision/identities/{identity_id}` · scope `vision:write` · served by the node
636
+ */
637
+ retireIdentity(identityId, options) {
638
+ return this._client._call(retireIdentityOp, { path: [identityId] }, options);
639
+ }
640
+ /**
641
+ * Get a stealth identity
642
+ *
643
+ * One stealth identity of your organization: what its browser presents (screen, window, fonts), its home
644
+ * region and how often it was used. Behind the `vision.stealth` feature flag.
645
+ *
646
+ * `GET /v1/vision/identities/{identity_id}` · scope `vision:read` · served by the node
647
+ */
648
+ getIdentity(identityId, options) {
649
+ return this._client._call(getIdentityOp, { path: [identityId] }, options);
650
+ }
565
651
  /**
566
652
  * Map a site's URLs
567
653
  *
@@ -687,6 +773,17 @@ class VisionAPI extends namespace_ts_1.Namespace {
687
773
  * Synchronous: the response arrives when the page is done, within `timeout_ms` (at most 60 seconds). For
688
774
  * many pages use a batch scrape or a crawl.
689
775
  *
776
+ * PDFs: a URL that serves a PDF (an `application/pdf` type, or an octet-stream or untyped body that starts
777
+ * with `%PDF-`) is read from its text layer by the HTTP fetch tier, never by a browser, and returns Markdown:
778
+ * text in reading order, headings, lists, tables where the columns are clear, and the marker
779
+ * `<!-- page N -->` between pages (`pdf.page_markers`). `pdf` in the result carries the page counts, the
780
+ * document's own metadata and `truncated` when a cap stopped the read (`pdf.max_pages`, the node's
781
+ * `vision.pdf.pages_max`, about 2 million characters, or the time left). A PDF bills one `vision.page` per page
782
+ * read, not one per file, and is never served from the cache (`cache.state: bypass`). Scanned pages have no
783
+ * text layer and give a warning (OCR is not available yet). A PDF that cannot be opened answers `422
784
+ * pdf_unreadable` or `422 pdf_encrypted` and bills nothing; `pdf.mode: "off"` answers `422
785
+ * content_type_unsupported` for a PDF, as before PDFs were read.
786
+ *
690
787
  * Billing: one `vision.page` for a page that is returned, whichever tier served it. A free scrape never
691
788
  * carries page content. A scrape that returns no page (an error answer: upstream error, timeout, blocked
692
789
  * target, egress denial, extraction failure, a cache-only miss) bills nothing and does not count against the
@@ -706,6 +803,18 @@ class VisionAPI extends namespace_ts_1.Namespace {
706
803
  * A browser that goes away during the render (the node's Chrome launcher stopped or restarted) answers `503
707
804
  * product_unavailable` with `Retry-After`: retry, the node reconnects to the launcher by itself.
708
805
  *
806
+ * Where the request leaves from (`proxy`): the node's own address by default. Your own `http://` proxy, with
807
+ * its username and password in a `basic` vault connection (`proxy.connection`, which needs `vault:run`), on
808
+ * the fetch tier and the browser tier alike. With `auto`, vision asks once more from a residential address for
809
+ * a page the node's address got as a wall (`page_state` `blocked` or `captcha`), which gets around the site's
810
+ * IP-based block; where residential reads are off, `auto` is exactly `none`. `residential` reads the page from
811
+ * a residential address, every request of the scrape. A residential read takes public pages only (no profile,
812
+ * credential header or actions), always follows robots.txt and Content Signals, skips sites on the opt-out
813
+ * list and some categories, keeps one address per organization and host, and never retries a 429 or 503. A page read through a proxy is never read from or stored in the cache. `egress` says which exit served
814
+ * the page, `options` and `X-B3OS-Options` which values applied. A page bills one `vision.page` whichever
815
+ * address it was read from; bytes are never billed. The bytes of residential reads (walls and robots.txt
816
+ * included) count against the monthly safety limit `vision.proxy.bytes.monthly`. Batches, crawls, sessions (but stealth sessions, which may take your own proxy) and the Firecrawl surface leave from the node's address.
817
+ *
709
818
  * `POST /v1/vision/scrape` · scope `vision:run` · served by the node
710
819
  */
711
820
  scrape(body, options) {
@@ -752,6 +861,10 @@ class VisionAPI extends namespace_ts_1.Namespace {
752
861
  * session closes after `timeout_s` (at most 1,800) or on `DELETE`. Bills `vision.browser_ms` from claim to
753
862
  * close. A node whose Chrome runs without its own sandbox (`chrome_sandbox: off` in `/readyz`) answers
754
863
  * `503 product_unavailable`: one browser per session, with a renderer sandbox.
864
+ * `stealth` (needs the `vision.stealth` flag, invited organizations only) gives a session whose browser keeps
865
+ * one consistent identity and leaves through your own proxy or the node's address (`proxy`); see
866
+ * `StealthOption`. A node that serves no stealth browser answers such a create with `503
867
+ * product_unavailable`.
755
868
  *
756
869
  * `POST /v1/vision/sessions` · scope `vision:write` · served by the node
757
870
  */
@@ -801,6 +914,22 @@ class VisionAPI extends namespace_ts_1.Namespace {
801
914
  act(sessionId, body, options) {
802
915
  return this._client._call(actOp, { path: [sessionId], body }, options);
803
916
  }
917
+ /**
918
+ * Get a stealth session's audit record
919
+ *
920
+ * The durable record of one stealth session, line by line, kept 400 days, also after the session itself is
921
+ * no longer listed: who started it (organization, project, key, creator, the stealth terms version in force),
922
+ * what it presented (identity, persona, stage, engine version, exit class and place), every connection its
923
+ * browser opened (host, port, times, bytes), every main-frame navigation as origin and path (never the
924
+ * query), challenges seen, refusals (the deny list, robots.txt), warnings, act step kinds and the close
925
+ * reason. It never holds page content, form values, cookies, screenshots or CDP payloads. Behind the
926
+ * `vision.stealth` feature flag; a session that was not a stealth session answers `404 session_not_found`.
927
+ *
928
+ * `GET /v1/vision/sessions/{session_id}/audit` · scope `vision:read` · served by the node
929
+ */
930
+ getSessionAudit(sessionId, options) {
931
+ return this._client._call(getSessionAuditOp, { path: [sessionId] }, options);
932
+ }
804
933
  /**
805
934
  * Connect over CDP
806
935
  *
@@ -812,20 +941,22 @@ class VisionAPI extends namespace_ts_1.Namespace {
812
941
  * file access (`DOM.setFileInputFiles`, file drags); downloads to host paths (they land in the session's
813
942
  * own directory, wiped with the browser); and navigation to anything but `http:`, `https:` and
814
943
  * `about:blank` (`file:`, `chrome:`, `chrome-extension:`, `view-source:`, `devtools:`, `data:`). These
815
- * answer `cdp_method_blocked` in the CDP error (`error.data.code`). `Target.createBrowserContext` with
944
+ * answer a CDP error whose `data` is `cdp_method_blocked` (a string, as Chrome's own errors carry it; `code`
945
+ * and `status` are also in `error.b3os`). `Target.createBrowserContext` with
816
946
  * `proxyServer`, `proxyBypassList` or `originsWithUniversalNetworkAccess` answers `forbidden` (403):
817
947
  * every context of a session uses the session's egress. Reading the browser's cookies and storage, which
818
948
  * hold any profile the session loaded, needs `vision:profiles:export`, as exporting a profile's state does
819
949
  * (default keys, `*` and `vision:*` leave it out): without it, `Network.getAllCookies`,
820
950
  * `Network.getCookies`, `Storage.getCookies`, `Storage.getSharedStorageEntries`, `DOMStorage.*`,
821
- * `IndexedDB.*` and `CacheStorage.*` answer `forbidden` (403) with `required_scope` in `error.data`, and
951
+ * `IndexedDB.*` and `CacheStorage.*` answer `forbidden` (403) with `required_scope` in `error.b3os`, and
822
952
  * network events reach the client without `Cookie` and `Set-Cookie` headers, raw header text or cookie
823
953
  * lists. Until the profile scopes' kept window ends (2026-11-16) these reads still work. Scripts in the page
824
954
  * are not filtered: `Runtime.evaluate` reads what the page's own scripts can, such as `document.cookie`
825
955
  * (without HttpOnly cookies) and `localStorage`. Authenticate with the `Authorization` header or a
826
956
  * ticket from `POST /v1/vision/sessions/{session_id}/ticket`. A client that falls more than a few MB
827
- * behind is disconnected, and so is one that sends a message over 32 MiB. A message with a repeated member
828
- * (two `method`s, say) answers the JSON-RPC parse error `-32700`.
957
+ * behind is disconnected, and so is one that sends a message over 32 MiB. A session takes at most 4 CDP
958
+ * clients at once; the next answers `429 concurrency_limited` until one disconnects. A message with a
959
+ * repeated member (two `method`s, say) answers the JSON-RPC parse error `-32700`.
829
960
  *
830
961
  * `GET /v1/vision/sessions/{session_id}/cdp` · scope `vision:run` · served by the node
831
962
  */
@@ -1 +1 @@
1
- {"version":3,"file":"vision.js","sourceRoot":"","sources":["../../../../src/generated/ns/vision.ts"],"names":[],"mappings":";AAAA,4GAA4G;;;AAG5G,gDAAwD;AACxD,0DAAoD;AAIpD,4CAAiE;AAGjE,MAAM,aAAa,GAAO;IACxB,EAAE,EAAE,mBAAmB;IACvB,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,oBAAoB;IAC1B,SAAS,EAAE,KAAK;IAChB,KAAK,EAAE,aAAa;CACrB,CAAC;AACF,MAAM,UAAU,GAAO;IACrB,EAAE,EAAE,gBAAgB;IACpB,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,+BAA+B;IACrC,MAAM,EAAE,CAAC,UAAU,CAAC;IACpB,SAAS,EAAE,KAAK;IAChB,KAAK,EAAE,aAAa;CACrB,CAAC;AACF,MAAM,aAAa,GAAO;IACxB,EAAE,EAAE,mBAAmB;IACvB,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,sCAAsC;IAC5C,MAAM,EAAE,CAAC,UAAU,CAAC;IACpB,SAAS,EAAE,KAAK;IAChB,KAAK,EAAE,YAAY;CACpB,CAAC;AACF,MAAM,aAAa,GAAO;IACxB,EAAE,EAAE,mBAAmB;IACvB,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,sCAAsC;IAC5C,MAAM,EAAE,CAAC,UAAU,CAAC;IACpB,MAAM,EAAE,KAAK;IACb,SAAS,EAAE,OAAO;IAClB,KAAK,EAAE,aAAa;CACrB,CAAC;AACF,MAAM,gBAAgB,GAAO;IAC3B,EAAE,EAAE,sBAAsB;IAC1B,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,qCAAqC;IAC3C,MAAM,EAAE,CAAC,UAAU,CAAC;IACpB,SAAS,EAAE,KAAK;IAChB,KAAK,EAAE,aAAa;CACrB,CAA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AiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAY,oBAAoB,EAAE,EAAE,IAAI,EAAE,CAAC,SAAS,CAAC,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IACnG,CAAC;IAED;;;;;;;;OAQG;IACH,mBAAmB,CAAC,SAAiB,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAiB,qBAAqB,EAAE,EAAE,IAAI,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;IACnG,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,kBAAkB,CAAC,SAAiB,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAoB,oBAAoB,EAAE,EAAE,IAAI,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;IACrG,CAAC;CACF;AAptBD,8BAotBC"}
@@ -0,0 +1,225 @@
1
+ import type { RequestOptions } from "../../core/client.ts";
2
+ import { Namespace } from "../../core/namespace.ts";
3
+ import type { Op } from "../../core/op.ts";
4
+ import type { APIPromise, ListPromise } from "../../core/promise.ts";
5
+ import type * as T from "../types.ts";
6
+ /** Descriptors of every workspaces operation, keyed by method name (for tooling and custom clients). */
7
+ export declare const workspacesOps: {
8
+ readonly listWorkspaces: Op;
9
+ readonly createWorkspace: Op;
10
+ readonly deleteWorkspace: Op;
11
+ readonly getWorkspace: Op;
12
+ readonly listBranches: Op;
13
+ readonly createBranch: Op;
14
+ readonly deleteBranch: Op;
15
+ readonly getBranch: Op;
16
+ readonly commit: Op;
17
+ readonly merge: Op;
18
+ readonly listCommits: Op;
19
+ readonly getCommit: Op;
20
+ readonly diff: Op;
21
+ readonly listFiles: Op;
22
+ readonly readFile: Op;
23
+ readonly putRules: Op;
24
+ };
25
+ /**
26
+ * Workspaces: file trees with git-compatible history, a branch per agent, commits checked against per-path rules, and merges that report every conflict (`/v1/workspaces`).
27
+ */
28
+ export declare class WorkspacesAPI extends Namespace {
29
+ /**
30
+ * List workspaces
31
+ *
32
+ * Lists this project's workspaces, newest first. Deleted workspaces are not listed.
33
+ *
34
+ * `GET /v1/workspaces` · scope `workspaces:read` · served by the node
35
+ *
36
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
37
+ */
38
+ listWorkspaces(params?: T.WorkspacesListWorkspacesParams, options?: RequestOptions): ListPromise<T.WorkspaceList, T.Workspace>;
39
+ /**
40
+ * Create a workspace
41
+ *
42
+ * Creates an empty workspace with one branch, `main`, protected: merging into `main` needs `workspaces:write`,
43
+ * so agents (whose grants hold `workspaces:run` unless they name more) merge into their own branches and a
44
+ * person or a routine promotes. `rules` are optional; a workspace without rules is open to the whole project,
45
+ * like every other B3OS object. Setting rules later needs `workspaces:rules:write`.
46
+ *
47
+ * `POST /v1/workspaces` · scope `workspaces:write` · served by the node
48
+ *
49
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
50
+ */
51
+ createWorkspace(body: T.WorkspaceCreateRequest, options?: RequestOptions): APIPromise<T.Workspace>;
52
+ /**
53
+ * Delete a workspace
54
+ *
55
+ * Deletes the workspace, its branches and its history. A branch mounted into a sandbox or an agent instance
56
+ * answers `409 branch_held` until it is released. Only this call removes a workspace's data: no expiry, deploy
57
+ * or cleanup does.
58
+ *
59
+ * `DELETE /v1/workspaces/{workspace_id}` · scope `workspaces:write` · served by the node
60
+ *
61
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
62
+ */
63
+ deleteWorkspace(workspaceId: string, options?: RequestOptions): APIPromise<T.Deleted>;
64
+ /**
65
+ * Get a workspace
66
+ *
67
+ * Returns one of this project's workspaces, with its rules, the head of `main` and its usage.
68
+ *
69
+ * `GET /v1/workspaces/{workspace_id}` · scope `workspaces:read` · served by the node
70
+ *
71
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
72
+ */
73
+ getWorkspace(workspaceId: string, options?: RequestOptions): APIPromise<T.Workspace>;
74
+ /**
75
+ * List branches
76
+ *
77
+ * Lists the workspace's branches, newest first, open ones unless `status` says otherwise.
78
+ *
79
+ * `GET /v1/workspaces/{workspace_id}/branches` · scope `workspaces:read` · served by the node
80
+ *
81
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
82
+ */
83
+ listBranches(workspaceId: string, params?: T.WorkspacesListBranchesParams, options?: RequestOptions): ListPromise<T.BranchList, T.Branch>;
84
+ /**
85
+ * Create a branch
86
+ *
87
+ * Makes a branch from a branch's head or from a commit (`from`, `main` by default). No data is copied: the
88
+ * branch starts at that commit. Without a `name` the branch is ephemeral and expires `ttl_s` after its creation
89
+ * (7 days by default) unless it was merged; with one it is kept until it is deleted.
90
+ *
91
+ * `POST /v1/workspaces/{workspace_id}/branches` · scope `workspaces:run` · served by the node
92
+ *
93
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
94
+ */
95
+ createBranch(workspaceId: string, body: T.BranchCreateRequest, options?: RequestOptions): APIPromise<T.Branch>;
96
+ /**
97
+ * Delete a branch
98
+ *
99
+ * Closes the branch. Its commits stay in the history while another branch reaches them, and for
100
+ * `workspaces.history_days` after that. `main` cannot be deleted, and a mounted branch answers `409 branch_held`.
101
+ *
102
+ * `DELETE /v1/workspaces/{workspace_id}/branches/{branch_id}` · scope `workspaces:run` · served by the node
103
+ *
104
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
105
+ */
106
+ deleteBranch(workspaceId: string, branchId: string, options?: RequestOptions): APIPromise<T.Deleted>;
107
+ /**
108
+ * Get a branch
109
+ *
110
+ * Returns one branch: its base and head commits, whether it is protected, and what holds it mounted.
111
+ *
112
+ * `GET /v1/workspaces/{workspace_id}/branches/{branch_id}` · scope `workspaces:read` · served by the node
113
+ *
114
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
115
+ */
116
+ getBranch(workspaceId: string, branchId: string, options?: RequestOptions): APIPromise<T.Branch>;
117
+ /**
118
+ * Commit to a branch
119
+ *
120
+ * Adds a commit on top of the branch's head from a list of files to write or delete. Every path is checked
121
+ * before anything is stored: a path the caller's principals may not write (or may not see) refuses the whole
122
+ * commit with `403 path_not_writable`, an `append_only` file that loses bytes with `422 append_only_violation`,
123
+ * and a file that holds a credential (B3OS keys, common provider tokens, private keys) with
124
+ * `422 secret_in_commit`, which names the path and line and never the value. `if_head` makes the commit apply
125
+ * only while the branch's head is still that commit (`409 head_moved` otherwise). Writing the same bytes a path
126
+ * already holds changes nothing; a commit that changes nothing answers the current head.
127
+ *
128
+ * From inside a sandbox that holds the branch (created with `workspaces`), send no `files`: the node reads what
129
+ * the sandbox changed under the branch's path (new and changed files, deletes, replaced folders), takes from the
130
+ * sandbox only the contents that differ from the head, and commits them as the sandbox, with the same checks.
131
+ * That call needs no workspaces scope: holding the branch is the authority for it, and for nothing else. A
132
+ * sandbox naming another branch is `403 forbidden` (reason `sandbox`), and a file that changes while the commit
133
+ * reads it is `409 conflict` (commit again). Uncommitted changes stay in the sandbox; the next commit sends only
134
+ * what changed since.
135
+ *
136
+ * `POST /v1/workspaces/{workspace_id}/branches/{branch_id}/commits` · scope `workspaces:run` · served by the node
137
+ *
138
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
139
+ */
140
+ commit(workspaceId: string, branchId: string, body: T.CommitRequest, options?: RequestOptions): APIPromise<T.Commit>;
141
+ /**
142
+ * Merge a branch into another
143
+ *
144
+ * Merges the branch into `into` (a branch name or ID, `main` by default) with a three-way merge against their
145
+ * merge base, and answers the target's new head. Paths changed on one side only merge without reading their
146
+ * content; a path changed on both sides merges line by line when both are text, and is a conflict when the
147
+ * changes overlap, when either is binary, or when one side deleted it. A conflict answers
148
+ * `409 merge_conflict` with every conflict (path, kind and the three blob IDs) and changes nothing.
149
+ * `mode: paths` makes any path changed on both sides a conflict. Merging into a protected branch (`main` by
150
+ * default) needs `workspaces:write`.
151
+ *
152
+ * `POST /v1/workspaces/{workspace_id}/branches/{branch_id}/merge` · scope `workspaces:run` · served by the node
153
+ *
154
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
155
+ */
156
+ merge(workspaceId: string, branchId: string, body: T.MergeRequest, options?: RequestOptions): APIPromise<T.MergeResult>;
157
+ /**
158
+ * List commits
159
+ *
160
+ * Lists the commits a branch reaches (`branch_id`, else `main`), newest first.
161
+ *
162
+ * `GET /v1/workspaces/{workspace_id}/commits` · scope `workspaces:read` · served by the node
163
+ *
164
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
165
+ */
166
+ listCommits(workspaceId: string, params?: T.WorkspacesListCommitsParams, options?: RequestOptions): ListPromise<T.CommitList, T.Commit>;
167
+ /**
168
+ * Get a commit
169
+ *
170
+ * Returns one commit of the workspace, with its parents, its git IDs and the principals behind it.
171
+ *
172
+ * `GET /v1/workspaces/{workspace_id}/commits/{commit_id}` · scope `workspaces:read` · served by the node
173
+ *
174
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
175
+ */
176
+ getCommit(workspaceId: string, commitId: string, options?: RequestOptions): APIPromise<T.Commit>;
177
+ /**
178
+ * Diff two commits
179
+ *
180
+ * The paths that differ between `base` and `head` (commit IDs or branch names), each added, modified, deleted or
181
+ * changed type, with sizes, read from the trees without walking any files. Only paths the caller may read are
182
+ * listed. `path` limits the answer to one directory.
183
+ *
184
+ * `GET /v1/workspaces/{workspace_id}/diff` · scope `workspaces:read` · served by the node
185
+ *
186
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
187
+ */
188
+ diff(workspaceId: string, params: T.WorkspacesDiffParams, options?: RequestOptions): APIPromise<T.WorkspaceDiff>;
189
+ /**
190
+ * List files
191
+ *
192
+ * Lists a directory at `ref` (a commit ID or a branch name; `main` by default), or describes one file. Only
193
+ * paths the caller may read are listed; any other path answers `404 workspace_path_not_found`, as a path that
194
+ * does not exist does.
195
+ *
196
+ * `GET /v1/workspaces/{workspace_id}/files` · scope `workspaces:read` · served by the node
197
+ *
198
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
199
+ */
200
+ listFiles(workspaceId: string, params?: T.WorkspacesListFilesParams, options?: RequestOptions): APIPromise<T.WorkspaceEntryList>;
201
+ /**
202
+ * Read a file
203
+ *
204
+ * The bytes of one file at `ref` (a commit ID or a branch name; `main` by default), if the caller may read it.
205
+ *
206
+ * `GET /v1/workspaces/{workspace_id}/files/content` · scope `workspaces:read` · served by the node
207
+ *
208
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
209
+ */
210
+ readFile(workspaceId: string, params: T.WorkspacesReadFileParams, options?: RequestOptions): APIPromise<Uint8Array>;
211
+ /**
212
+ * Replace a workspace's rules
213
+ *
214
+ * Replaces the ordered list of path rules. The last rule that matches a path decides it; a principal may read
215
+ * (or write) a path only when the agent, the human and whoever started the turn are all allowed by it. A rule
216
+ * with `append_only` lets a commit only add bytes at the end of a matching file. New rules bind every commit
217
+ * from now on. Needs `workspaces:rules:write`, which a sandbox's grant holds only when it names it exactly, so an
218
+ * agent never changes the rules that bind it.
219
+ *
220
+ * `PUT /v1/workspaces/{workspace_id}/rules` · scope `workspaces:rules:write` · served by the node
221
+ *
222
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
223
+ */
224
+ putRules(workspaceId: string, body: T.WorkspaceRulesRequest, options?: RequestOptions): APIPromise<T.Workspace>;
225
+ }