@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
@@ -88,7 +88,6 @@ const getExtractOp = {
88
88
  path: "/v1/vision/extracts/{job_id}",
89
89
  params: ["job_id"],
90
90
  timeoutMs: 10000,
91
- stretch: true,
92
91
  scope: "vision:read",
93
92
  };
94
93
  const cancelExtractOp = {
@@ -97,7 +96,6 @@ const cancelExtractOp = {
97
96
  path: "/v1/vision/extracts/{job_id}/cancel",
98
97
  params: ["job_id"],
99
98
  timeoutMs: 10000,
100
- stretch: true,
101
99
  scope: "vision:run",
102
100
  };
103
101
  const extractEventsOp = {
@@ -107,7 +105,29 @@ const extractEventsOp = {
107
105
  params: ["job_id"],
108
106
  stream: "sse",
109
107
  timeoutMs: 3600000,
110
- stretch: true,
108
+ scope: "vision:read",
109
+ };
110
+ const listIdentitiesOp = {
111
+ id: "visionListIdentities",
112
+ method: "GET",
113
+ path: "/v1/vision/identities",
114
+ timeoutMs: 10000,
115
+ scope: "vision:read",
116
+ };
117
+ const retireIdentityOp = {
118
+ id: "visionRetireIdentity",
119
+ method: "DELETE",
120
+ path: "/v1/vision/identities/{identity_id}",
121
+ params: ["identity_id"],
122
+ timeoutMs: 10000,
123
+ scope: "vision:write",
124
+ };
125
+ const getIdentityOp = {
126
+ id: "visionGetIdentity",
127
+ method: "GET",
128
+ path: "/v1/vision/identities/{identity_id}",
129
+ params: ["identity_id"],
130
+ timeoutMs: 10000,
111
131
  scope: "vision:read",
112
132
  };
113
133
  const mapOp = {
@@ -251,6 +271,14 @@ const actOp = {
251
271
  timeoutMs: 65000,
252
272
  scope: "vision:run",
253
273
  };
274
+ const getSessionAuditOp = {
275
+ id: "visionGetSessionAudit",
276
+ method: "GET",
277
+ path: "/v1/vision/sessions/{session_id}/audit",
278
+ params: ["session_id"],
279
+ timeoutMs: 10000,
280
+ scope: "vision:read",
281
+ };
254
282
  const connectCdpOp = {
255
283
  id: "visionConnectCdp",
256
284
  method: "GET",
@@ -315,7 +343,6 @@ const createExtractOp = {
315
343
  idem: true,
316
344
  stream: "sse",
317
345
  timeoutMs: 3600000,
318
- stretch: true,
319
346
  scope: "vision:run",
320
347
  job: { get: getExtractOp, events: extractEventsOp, cancel: cancelExtractOp },
321
348
  };
@@ -337,6 +364,9 @@ export const visionOps = {
337
364
  getExtract: getExtractOp,
338
365
  cancelExtract: cancelExtractOp,
339
366
  extractEvents: extractEventsOp,
367
+ listIdentities: listIdentitiesOp,
368
+ retireIdentity: retireIdentityOp,
369
+ getIdentity: getIdentityOp,
340
370
  map: mapOp,
341
371
  prepare: prepareOp,
342
372
  listProfiles: listProfilesOp,
@@ -353,6 +383,7 @@ export const visionOps = {
353
383
  closeSession: closeSessionOp,
354
384
  getSession: getSessionOp,
355
385
  act: actOp,
386
+ getSessionAudit: getSessionAuditOp,
356
387
  connectCdp: connectCdpOp,
357
388
  saveSessionProfile: saveSessionProfileOp,
358
389
  createSessionTicket: createSessionTicketOp,
@@ -377,7 +408,9 @@ export class VisionAPI extends Namespace {
377
408
  *
378
409
  * Starts a job that scrapes up to 1,000 URLs with the same options. Each delivered page bills one
379
410
  * `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).
411
+ * (`content_withheld`) unless the page options set `walls: "bill"`, as for a single scrape (visionScrape). A
412
+ * URL that serves a PDF is read as a single scrape reads it and bills one `vision.page` per PDF page read; a
413
+ * PDF that cannot be opened fails its page with `pdf_unreadable` or `pdf_encrypted`.
381
414
  * Results are listed with `GET /v1/vision/batches/{batch_id}/pages`; `?wait=`, the events stream and
382
415
  * `webhook` report progress.
383
416
  *
@@ -453,7 +486,9 @@ export class VisionAPI extends Namespace {
453
486
  * sitemap discovery starts from `/sitemap.xml`. One crawl runs at a time per organization.
454
487
  * Each delivered page bills one `vision.page`, except a wall, which is free and carries only its state, status
455
488
  * and final URL (`content_withheld`; its links are not followed) unless the page options set
456
- * `walls: "bill"`, as for a single scrape (visionScrape).
489
+ * `walls: "bill"`, as for a single scrape (visionScrape). Links to PDFs (paths that end in `.pdf`) are
490
+ * followed unless the page options set `pdf.mode: "off"`: each PDF is one page of `limit` and bills one
491
+ * `vision.page` per PDF page read. A PDF's links are not followed.
457
492
  *
458
493
  * `POST /v1/vision/crawls` · scope `vision:run` · served by the node
459
494
  */
@@ -509,13 +544,32 @@ export class VisionAPI extends Namespace {
509
544
  /**
510
545
  * Extract structured data
511
546
  *
512
- * Starts a job that scrapes up to 10 URLs and asks the node's model to fill your JSON Schema from their
513
- * content (with `prompt` as guidance). The result is validated against the schema; an invalid result after
514
- * retries fails the job with `extraction_failed`. Bills `vision.page` per page plus the model's tokens.
547
+ * Starts a job that scrapes up to 10 URLs (PDFs included) and has the node's model fill your JSON Schema from
548
+ * their Markdown, with `prompt` as guidance. With `prompt` alone the model answers one JSON object, which is
549
+ * not validated. At least one of `schema` and `prompt` is required.
550
+ *
551
+ * The schema is checked when the job is created: one that does not compile, uses a remote `$ref`, is larger
552
+ * than 64 KiB or nests deeper than 32 levels answers 400 with a pointer under `/schema`, before anything runs
553
+ * or bills. `scrape` takes the page options of a batch, except that the only format is `markdown`.
554
+ *
555
+ * The pages go to the model together in one call when they fit its context window, else one call per page
556
+ * (or per piece of a long page) whose answers are merged: objects key by key, arrays concatenated without
557
+ * duplicates, and for a single value the first page's, with a warning when another page says otherwise. The
558
+ * model may answer null where the pages do not state a value. The answer is then validated against your
559
+ * schema: a required field no page states fails the job with `extract_fields_missing` (one `errors[]` item per
560
+ * pointer, the rest of the object in `partial_data`), and an answer that does not match is retried once with
561
+ * the errors, then fails with `extraction_failed` (`reason: invalid_answer`). URLs that fail to scrape are
562
+ * listed in `result.pages` and the job goes on with the rest; when every URL fails, the job fails with
563
+ * `extraction_failed` (`reason: no_pages`). `result.field_sources` names the pages each top-level field came
564
+ * from. The data is the model's reading of the pages, so check the values that matter.
565
+ *
566
+ * Needs `infer:run` as well as `vision:run`: the model is called as you, through
567
+ * `POST /v1/infer/chat/completions`, and a node with no model answers 503 `product_unavailable`
568
+ * (`reason: model`). Bills `vision.page` per page read (a PDF one per page read) and the model's tokens
569
+ * (`infer.input_tokens`, `infer.output_tokens`). A job that fails or is canceled after it read pages or called
570
+ * the model keeps those billed, `extract_fields_missing` included.
515
571
  *
516
572
  * `POST /v1/vision/extracts` · scope `vision:run` · served by the node
517
- *
518
- * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
519
573
  */
520
574
  createExtract(body, options) {
521
575
  return this._client._job(createExtractOp, { body }, options);
@@ -526,8 +580,6 @@ export class VisionAPI extends Namespace {
526
580
  * Returns the extraction job; `result.data` holds the extracted JSON once it succeeded.
527
581
  *
528
582
  * `GET /v1/vision/extracts/{job_id}` · scope `vision:read` · served by the node
529
- *
530
- * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
531
583
  */
532
584
  getExtract(jobId, options) {
533
585
  return this._client._call(getExtractOp, { path: [jobId] }, options);
@@ -538,8 +590,6 @@ export class VisionAPI extends Namespace {
538
590
  * Stops the extraction. Pages already scraped and tokens already used stay billed.
539
591
  *
540
592
  * `POST /v1/vision/extracts/{job_id}/cancel` · scope `vision:run` · served by the node
541
- *
542
- * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
543
593
  */
544
594
  cancelExtract(jobId, options) {
545
595
  return this._client._call(cancelExtractOp, { path: [jobId] }, options);
@@ -550,8 +600,6 @@ export class VisionAPI extends Namespace {
550
600
  * Server-sent lifecycle events for the extraction job. Ends after the terminal event.
551
601
  *
552
602
  * `GET /v1/vision/extracts/{job_id}/events` · scope `vision:read` · served by the node
553
- *
554
- * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
555
603
  */
556
604
  extractEvents(jobId, options) {
557
605
  return this._client._stream(extractEventsOp, { path: [jobId] }, options, {
@@ -559,6 +607,44 @@ export class VisionAPI extends Namespace {
559
607
  reconnectOnEnd: true,
560
608
  });
561
609
  }
610
+ /**
611
+ * List stealth identities
612
+ *
613
+ * Lists your organization's stealth identities, newest first, retired ones included. A stealth session
614
+ * (`stealth` on `POST /v1/vision/sessions`) makes a new identity when it names none and its profile has none;
615
+ * new identities per day and active identities in all are limits (`vision.stealth.identities.daily`,
616
+ * `vision.stealth.identities.max`). Behind the `vision.stealth` feature flag: until it is on for your
617
+ * organization the operation answers `404 feature_not_enabled`.
618
+ *
619
+ * `GET /v1/vision/identities` · scope `vision:read` · served by the node
620
+ */
621
+ listIdentities(params, options) {
622
+ return this._client._list(listIdentitiesOp, { query: params }, options);
623
+ }
624
+ /**
625
+ * Retire a stealth identity
626
+ *
627
+ * Retires the identity: no new session uses it (a create that names it answers `409 identity_retired`), and
628
+ * it no longer counts toward `vision.stealth.identities.max`. Its record stays, and it still counts toward the
629
+ * day's new identities. Sessions already using it are not closed. Retiring a retired identity changes nothing.
630
+ * Behind the `vision.stealth` feature flag.
631
+ *
632
+ * `DELETE /v1/vision/identities/{identity_id}` · scope `vision:write` · served by the node
633
+ */
634
+ retireIdentity(identityId, options) {
635
+ return this._client._call(retireIdentityOp, { path: [identityId] }, options);
636
+ }
637
+ /**
638
+ * Get a stealth identity
639
+ *
640
+ * One stealth identity of your organization: what its browser presents (screen, window, fonts), its home
641
+ * region and how often it was used. Behind the `vision.stealth` feature flag.
642
+ *
643
+ * `GET /v1/vision/identities/{identity_id}` · scope `vision:read` · served by the node
644
+ */
645
+ getIdentity(identityId, options) {
646
+ return this._client._call(getIdentityOp, { path: [identityId] }, options);
647
+ }
562
648
  /**
563
649
  * Map a site's URLs
564
650
  *
@@ -684,6 +770,17 @@ export class VisionAPI extends Namespace {
684
770
  * Synchronous: the response arrives when the page is done, within `timeout_ms` (at most 60 seconds). For
685
771
  * many pages use a batch scrape or a crawl.
686
772
  *
773
+ * PDFs: a URL that serves a PDF (an `application/pdf` type, or an octet-stream or untyped body that starts
774
+ * with `%PDF-`) is read from its text layer by the HTTP fetch tier, never by a browser, and returns Markdown:
775
+ * text in reading order, headings, lists, tables where the columns are clear, and the marker
776
+ * `<!-- page N -->` between pages (`pdf.page_markers`). `pdf` in the result carries the page counts, the
777
+ * document's own metadata and `truncated` when a cap stopped the read (`pdf.max_pages`, the node's
778
+ * `vision.pdf.pages_max`, about 2 million characters, or the time left). A PDF bills one `vision.page` per page
779
+ * read, not one per file, and is never served from the cache (`cache.state: bypass`). Scanned pages have no
780
+ * text layer and give a warning (OCR is not available yet). A PDF that cannot be opened answers `422
781
+ * pdf_unreadable` or `422 pdf_encrypted` and bills nothing; `pdf.mode: "off"` answers `422
782
+ * content_type_unsupported` for a PDF, as before PDFs were read.
783
+ *
687
784
  * Billing: one `vision.page` for a page that is returned, whichever tier served it. A free scrape never
688
785
  * carries page content. A scrape that returns no page (an error answer: upstream error, timeout, blocked
689
786
  * target, egress denial, extraction failure, a cache-only miss) bills nothing and does not count against the
@@ -703,6 +800,18 @@ export class VisionAPI extends Namespace {
703
800
  * A browser that goes away during the render (the node's Chrome launcher stopped or restarted) answers `503
704
801
  * product_unavailable` with `Retry-After`: retry, the node reconnects to the launcher by itself.
705
802
  *
803
+ * Where the request leaves from (`proxy`): the node's own address by default. Your own `http://` proxy, with
804
+ * its username and password in a `basic` vault connection (`proxy.connection`, which needs `vault:run`), on
805
+ * the fetch tier and the browser tier alike. With `auto`, vision asks once more from a residential address for
806
+ * a page the node's address got as a wall (`page_state` `blocked` or `captcha`), which gets around the site's
807
+ * IP-based block; where residential reads are off, `auto` is exactly `none`. `residential` reads the page from
808
+ * a residential address, every request of the scrape. A residential read takes public pages only (no profile,
809
+ * credential header or actions), always follows robots.txt and Content Signals, skips sites on the opt-out
810
+ * 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
811
+ * the page, `options` and `X-B3OS-Options` which values applied. A page bills one `vision.page` whichever
812
+ * address it was read from; bytes are never billed. The bytes of residential reads (walls and robots.txt
813
+ * 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.
814
+ *
706
815
  * `POST /v1/vision/scrape` · scope `vision:run` · served by the node
707
816
  */
708
817
  scrape(body, options) {
@@ -749,6 +858,10 @@ export class VisionAPI extends Namespace {
749
858
  * session closes after `timeout_s` (at most 1,800) or on `DELETE`. Bills `vision.browser_ms` from claim to
750
859
  * close. A node whose Chrome runs without its own sandbox (`chrome_sandbox: off` in `/readyz`) answers
751
860
  * `503 product_unavailable`: one browser per session, with a renderer sandbox.
861
+ * `stealth` (needs the `vision.stealth` flag, invited organizations only) gives a session whose browser keeps
862
+ * one consistent identity and leaves through your own proxy or the node's address (`proxy`); see
863
+ * `StealthOption`. A node that serves no stealth browser answers such a create with `503
864
+ * product_unavailable`.
752
865
  *
753
866
  * `POST /v1/vision/sessions` · scope `vision:write` · served by the node
754
867
  */
@@ -798,6 +911,22 @@ export class VisionAPI extends Namespace {
798
911
  act(sessionId, body, options) {
799
912
  return this._client._call(actOp, { path: [sessionId], body }, options);
800
913
  }
914
+ /**
915
+ * Get a stealth session's audit record
916
+ *
917
+ * The durable record of one stealth session, line by line, kept 400 days, also after the session itself is
918
+ * no longer listed: who started it (organization, project, key, creator, the stealth terms version in force),
919
+ * what it presented (identity, persona, stage, engine version, exit class and place), every connection its
920
+ * browser opened (host, port, times, bytes), every main-frame navigation as origin and path (never the
921
+ * query), challenges seen, refusals (the deny list, robots.txt), warnings, act step kinds and the close
922
+ * reason. It never holds page content, form values, cookies, screenshots or CDP payloads. Behind the
923
+ * `vision.stealth` feature flag; a session that was not a stealth session answers `404 session_not_found`.
924
+ *
925
+ * `GET /v1/vision/sessions/{session_id}/audit` · scope `vision:read` · served by the node
926
+ */
927
+ getSessionAudit(sessionId, options) {
928
+ return this._client._call(getSessionAuditOp, { path: [sessionId] }, options);
929
+ }
801
930
  /**
802
931
  * Connect over CDP
803
932
  *
@@ -809,20 +938,22 @@ export class VisionAPI extends Namespace {
809
938
  * file access (`DOM.setFileInputFiles`, file drags); downloads to host paths (they land in the session's
810
939
  * own directory, wiped with the browser); and navigation to anything but `http:`, `https:` and
811
940
  * `about:blank` (`file:`, `chrome:`, `chrome-extension:`, `view-source:`, `devtools:`, `data:`). These
812
- * answer `cdp_method_blocked` in the CDP error (`error.data.code`). `Target.createBrowserContext` with
941
+ * answer a CDP error whose `data` is `cdp_method_blocked` (a string, as Chrome's own errors carry it; `code`
942
+ * and `status` are also in `error.b3os`). `Target.createBrowserContext` with
813
943
  * `proxyServer`, `proxyBypassList` or `originsWithUniversalNetworkAccess` answers `forbidden` (403):
814
944
  * every context of a session uses the session's egress. Reading the browser's cookies and storage, which
815
945
  * hold any profile the session loaded, needs `vision:profiles:export`, as exporting a profile's state does
816
946
  * (default keys, `*` and `vision:*` leave it out): without it, `Network.getAllCookies`,
817
947
  * `Network.getCookies`, `Storage.getCookies`, `Storage.getSharedStorageEntries`, `DOMStorage.*`,
818
- * `IndexedDB.*` and `CacheStorage.*` answer `forbidden` (403) with `required_scope` in `error.data`, and
948
+ * `IndexedDB.*` and `CacheStorage.*` answer `forbidden` (403) with `required_scope` in `error.b3os`, and
819
949
  * network events reach the client without `Cookie` and `Set-Cookie` headers, raw header text or cookie
820
950
  * lists. Until the profile scopes' kept window ends (2026-11-16) these reads still work. Scripts in the page
821
951
  * are not filtered: `Runtime.evaluate` reads what the page's own scripts can, such as `document.cookie`
822
952
  * (without HttpOnly cookies) and `localStorage`. Authenticate with the `Authorization` header or a
823
953
  * ticket from `POST /v1/vision/sessions/{session_id}/ticket`. A client that falls more than a few MB
824
- * behind is disconnected, and so is one that sends a message over 32 MiB. A message with a repeated member
825
- * (two `method`s, say) answers the JSON-RPC parse error `-32700`.
954
+ * behind is disconnected, and so is one that sends a message over 32 MiB. A session takes at most 4 CDP
955
+ * clients at once; the next answers `429 concurrency_limited` until one disconnects. A message with a
956
+ * repeated member (two `method`s, say) answers the JSON-RPC parse error `-32700`.
826
957
  *
827
958
  * `GET /v1/vision/sessions/{session_id}/cdp` · scope `vision:run` · served by the node
828
959
  */
@@ -1 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EAAE,YAAY,IAAI,IAAI,EAAE,CAAC;IAC3D,CAAC;IAED;;;;;;;;;OASG;IACH,kBAAkB,CAChB,SAAiB,EACjB,IAAiC,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"}
@@ -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
+ }