unbrowse 9.6.2 → 9.7.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unbrowse",
3
- "version": "9.6.2",
3
+ "version": "9.7.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/unbrowse-ai/unbrowse.git"
package/runtime/cli.js CHANGED
@@ -2350,7 +2350,7 @@ var init_telemetry = __esm(() => {
2350
2350
  });
2351
2351
 
2352
2352
  // .tmp-runtime-src/build-info.generated.ts
2353
- var BUILD_RELEASE_VERSION = "9.6.2", BUILD_GIT_SHA = "d2d14a6629a0", BUILD_CODE_HASH = "5d9ebf619c61", BUILD_RELEASE_MANIFEST_BASE64 = "eyJzY2hlbWFfdmVyc2lvbiI6MSwicmVsZWFzZV92ZXJzaW9uIjoiOS42LjIiLCJnaXRfc2hhIjoiZDJkMTRhNjYyOWEwIiwiY29kZV9oYXNoIjoiNWQ5ZWJmNjE5YzYxIiwidHJhY2VfdmVyc2lvbiI6IjVkOWViZjYxOWM2MUBkMmQxNGE2NjI5YTAiLCJpc3N1ZWRfYXQiOiIyMDI2LTA2LTE4VDA0OjE3OjAzLjg1M1oifQ", BUILD_RELEASE_MANIFEST_SIGNATURE = "OefvyW2iLVVPQ-0HMg9Mz-bciCmP8LE5u7fVEss_98E", BUILD_DEFAULT_BACKEND_URL = "https://beta-api.unbrowse.ai", BUILD_DEFAULT_PROFILE = "";
2353
+ var BUILD_RELEASE_VERSION = "9.7.0", BUILD_GIT_SHA = "98fa4d4472e2", BUILD_CODE_HASH = "5d9ebf619c61", BUILD_RELEASE_MANIFEST_BASE64 = "eyJzY2hlbWFfdmVyc2lvbiI6MSwicmVsZWFzZV92ZXJzaW9uIjoiOS43LjAiLCJnaXRfc2hhIjoiOThmYTRkNDQ3MmUyIiwiY29kZV9oYXNoIjoiNWQ5ZWJmNjE5YzYxIiwidHJhY2VfdmVyc2lvbiI6IjVkOWViZjYxOWM2MUA5OGZhNGQ0NDcyZTIiLCJpc3N1ZWRfYXQiOiIyMDI2LTA2LTE4VDA0OjU4OjQwLjQ3NFoifQ", BUILD_RELEASE_MANIFEST_SIGNATURE = "-b2L4xhYhJ-mLJeo39RL19HSAKgjhZ2_D3ezoXjvQLQ", BUILD_DEFAULT_BACKEND_URL = "https://beta-api.unbrowse.ai", BUILD_DEFAULT_PROFILE = "";
2354
2354
 
2355
2355
  // .tmp-runtime-src/version.ts
2356
2356
  import { createHash as createHash7 } from "crypto";
@@ -46694,6 +46694,7 @@ __export(exports_capture, {
46694
46694
  tagRequestProvenance: () => tagRequestProvenance,
46695
46695
  shutdownAllBrowsers: () => shutdownAllBrowsers,
46696
46696
  shouldStopHydrationWait: () => shouldStopHydrationWait,
46697
+ shouldScrollStimulate: () => shouldScrollStimulate,
46697
46698
  selectPerformanceReplayCandidates: () => selectPerformanceReplayCandidates,
46698
46699
  registerDocumentStartScript: () => registerDocumentStartScript,
46699
46700
  navigatePageForCapture: () => navigatePageForCapture,
@@ -46956,6 +46957,9 @@ function extractRouteHint(url) {
46956
46957
  } catch {}
46957
46958
  return null;
46958
46959
  }
46960
+ function shouldScrollStimulate(captureUrl, intent) {
46961
+ return isListLikeIntent2(intent) || urlPathLooksListLike2(captureUrl);
46962
+ }
46959
46963
  function deriveIntentHints(captureUrl, intent) {
46960
46964
  const derivedHints = new Set;
46961
46965
  if (captureUrl) {
@@ -47583,8 +47587,7 @@ async function waitForContentReady(tabId, captureUrl, intent, responseBodies) {
47583
47587
  log("capture", `intent-aware wait: already captured API matching one of [${[...derivedHints].join(", ")}], skipping`);
47584
47588
  }
47585
47589
  }
47586
- const lowerIntent = intent?.toLowerCase() ?? "";
47587
- if (captureUrl && responseBodies && (/search|explore|trending|tabs|discover/i.test(captureUrl) || /\b(person|people|profile|profiles|user|users|member|members|company|companies|organization|organisations|business|post|posts|tweet|tweets|status|statuses)\b/.test(lowerIntent))) {
47590
+ if (captureUrl && responseBodies && shouldScrollStimulate(captureUrl, intent)) {
47588
47591
  try {
47589
47592
  const before = responseBodies.size;
47590
47593
  await evaluate(tabId, "window.scrollTo(0, Math.max(window.innerHeight, Math.min(document.body.scrollHeight, window.innerHeight * 2)))");
@@ -48658,6 +48661,7 @@ var init_capture = __esm(async () => {
48658
48661
  init_domain();
48659
48662
  init_logger();
48660
48663
  init_header_classify();
48664
+ init_cardinality2();
48661
48665
  init_browser_access();
48662
48666
  await init_vault();
48663
48667
  waitQueue = [];
@@ -123558,7 +123562,7 @@ function isProtobufContentType(contentType) {
123558
123562
  function isProtobufLikeEndpoint(url, contentType) {
123559
123563
  if (isProtobufContentType(contentType))
123560
123564
  return true;
123561
- return /\/(field-data-proto|proto|protobuf)(\/|$|-)/i.test(url);
123565
+ return /[-/](proto|protobuf)(\/|$|-)/i.test(url);
123562
123566
  }
123563
123567
  function decodeProtobufBytes(bytes) {
123564
123568
  return decodeBytes(bytes, "bytes");
package/runtime/mcp.js CHANGED
@@ -36310,7 +36310,7 @@ var init_cached_resolution = __esm(() => {
36310
36310
  });
36311
36311
 
36312
36312
  // .tmp-runtime-src/build-info.generated.ts
36313
- var BUILD_RELEASE_VERSION = "9.6.2", BUILD_GIT_SHA = "d2d14a6629a0", BUILD_CODE_HASH = "5d9ebf619c61", BUILD_RELEASE_MANIFEST_BASE64 = "eyJzY2hlbWFfdmVyc2lvbiI6MSwicmVsZWFzZV92ZXJzaW9uIjoiOS42LjIiLCJnaXRfc2hhIjoiZDJkMTRhNjYyOWEwIiwiY29kZV9oYXNoIjoiNWQ5ZWJmNjE5YzYxIiwidHJhY2VfdmVyc2lvbiI6IjVkOWViZjYxOWM2MUBkMmQxNGE2NjI5YTAiLCJpc3N1ZWRfYXQiOiIyMDI2LTA2LTE4VDA0OjE3OjAzLjg1M1oifQ", BUILD_RELEASE_MANIFEST_SIGNATURE = "OefvyW2iLVVPQ-0HMg9Mz-bciCmP8LE5u7fVEss_98E", BUILD_DEFAULT_BACKEND_URL = "https://beta-api.unbrowse.ai", BUILD_DEFAULT_PROFILE = "";
36313
+ var BUILD_RELEASE_VERSION = "9.7.0", BUILD_GIT_SHA = "98fa4d4472e2", BUILD_CODE_HASH = "5d9ebf619c61", BUILD_RELEASE_MANIFEST_BASE64 = "eyJzY2hlbWFfdmVyc2lvbiI6MSwicmVsZWFzZV92ZXJzaW9uIjoiOS43LjAiLCJnaXRfc2hhIjoiOThmYTRkNDQ3MmUyIiwiY29kZV9oYXNoIjoiNWQ5ZWJmNjE5YzYxIiwidHJhY2VfdmVyc2lvbiI6IjVkOWViZjYxOWM2MUA5OGZhNGQ0NDcyZTIiLCJpc3N1ZWRfYXQiOiIyMDI2LTA2LTE4VDA0OjU4OjQwLjQ3NFoifQ", BUILD_RELEASE_MANIFEST_SIGNATURE = "-b2L4xhYhJ-mLJeo39RL19HSAKgjhZ2_D3ezoXjvQLQ", BUILD_DEFAULT_BACKEND_URL = "https://beta-api.unbrowse.ai", BUILD_DEFAULT_PROFILE = "";
36314
36314
 
36315
36315
  // .tmp-runtime-src/version.ts
36316
36316
  import { createHash as createHash4 } from "crypto";
@@ -43827,6 +43827,7 @@ __export(exports_capture, {
43827
43827
  tagRequestProvenance: () => tagRequestProvenance,
43828
43828
  shutdownAllBrowsers: () => shutdownAllBrowsers,
43829
43829
  shouldStopHydrationWait: () => shouldStopHydrationWait,
43830
+ shouldScrollStimulate: () => shouldScrollStimulate,
43830
43831
  selectPerformanceReplayCandidates: () => selectPerformanceReplayCandidates,
43831
43832
  registerDocumentStartScript: () => registerDocumentStartScript,
43832
43833
  navigatePageForCapture: () => navigatePageForCapture,
@@ -44089,6 +44090,9 @@ function extractRouteHint(url) {
44089
44090
  } catch {}
44090
44091
  return null;
44091
44092
  }
44093
+ function shouldScrollStimulate(captureUrl, intent) {
44094
+ return isListLikeIntent(intent) || urlPathLooksListLike(captureUrl);
44095
+ }
44092
44096
  function deriveIntentHints(captureUrl, intent) {
44093
44097
  const derivedHints = new Set;
44094
44098
  if (captureUrl) {
@@ -44716,8 +44720,7 @@ async function waitForContentReady(tabId, captureUrl, intent, responseBodies) {
44716
44720
  log("capture", `intent-aware wait: already captured API matching one of [${[...derivedHints].join(", ")}], skipping`);
44717
44721
  }
44718
44722
  }
44719
- const lowerIntent = intent?.toLowerCase() ?? "";
44720
- if (captureUrl && responseBodies && (/search|explore|trending|tabs|discover/i.test(captureUrl) || /\b(person|people|profile|profiles|user|users|member|members|company|companies|organization|organisations|business|post|posts|tweet|tweets|status|statuses)\b/.test(lowerIntent))) {
44723
+ if (captureUrl && responseBodies && shouldScrollStimulate(captureUrl, intent)) {
44721
44724
  try {
44722
44725
  const before = responseBodies.size;
44723
44726
  await evaluate(tabId, "window.scrollTo(0, Math.max(window.innerHeight, Math.min(document.body.scrollHeight, window.innerHeight * 2)))");
@@ -45791,6 +45794,7 @@ var init_capture = __esm(async () => {
45791
45794
  init_domain();
45792
45795
  init_logger();
45793
45796
  init_header_classify();
45797
+ init_cardinality();
45794
45798
  init_browser_access();
45795
45799
  await init_vault();
45796
45800
  waitQueue = [];
@@ -121655,7 +121659,7 @@ function isProtobufContentType(contentType) {
121655
121659
  function isProtobufLikeEndpoint(url, contentType) {
121656
121660
  if (isProtobufContentType(contentType))
121657
121661
  return true;
121658
- return /\/(field-data-proto|proto|protobuf)(\/|$|-)/i.test(url);
121662
+ return /[-/](proto|protobuf)(\/|$|-)/i.test(url);
121659
121663
  }
121660
121664
  function decodeProtobufBytes(bytes) {
121661
121665
  return decodeBytes(bytes, "bytes");
Binary file
@@ -2,7 +2,7 @@
2
2
  "repo_url": "https://github.com/justrach/kuri.git",
3
3
  "branch": "adding-extensions",
4
4
  "source_sha": "149881254046a20778f642b69f20f0c6468f6fb4",
5
- "built_at": "2026-06-18T03:58:10.362Z",
5
+ "built_at": "2026-06-18T04:40:25.593Z",
6
6
  "binaries": {
7
7
  "darwin-arm64": {
8
8
  "zig_target": "aarch64-macos",
@@ -21,11 +21,11 @@
21
21
  },
22
22
  "linux-x64": {
23
23
  "zig_target": "x86_64-linux",
24
- "sha256": "e73aecfbf07001ba0be5032118790eb253ad5d8d12caca6a1dd5ad3ccab44b9e"
24
+ "sha256": "b505ed7fd67c24c58d666b3d868bd5d0eb6c44033f0d6c52a5ad3f4abfcbedf7"
25
25
  },
26
26
  "win-x64": {
27
27
  "zig_target": "x86_64-windows-gnu",
28
- "sha256": "9ecbc82be646e755e4664051cf345d54dde3c6610e457d763deff67895047963",
28
+ "sha256": "5cb9e912772b7a80126ef358721b05a99d28259ffc03e75df2715569ed799b80",
29
29
  "source": "pre-staged"
30
30
  }
31
31
  },
@@ -33,22 +33,22 @@
33
33
  "darwin-arm64": {
34
34
  "zig_target": "aarch64-macos",
35
35
  "lib": "libkuri_ffi.dylib",
36
- "sha256": "6c72cf383df4fa3f870b745da43d64eae8f67e58c6f971214ac29602fb649939"
36
+ "sha256": "01b68bd41b030c8d70ba6c8e4858ad1b2f578511709bb44affb60266766e089a"
37
37
  },
38
38
  "darwin-x64": {
39
39
  "zig_target": "x86_64-macos",
40
40
  "lib": "libkuri_ffi.dylib",
41
- "sha256": "82480772ddc8e44c8e34e70b80d7dc0969004942f77276587af450b62d3d2750"
41
+ "sha256": "bbf6543f8dc9490a1f0e84b877c03499b1836b0462b119b678483b890eadadfa"
42
42
  },
43
43
  "linux-arm64": {
44
44
  "zig_target": "aarch64-linux",
45
45
  "lib": "libkuri_ffi.so",
46
- "sha256": "ef8dfa2b634f04294f93a94472d9856ba777681afaab2d4213f0e29821882e07"
46
+ "sha256": "3ff8184062706577cbdba34700c853bbabb7de40953fd13d94ab12d4fd470424"
47
47
  },
48
48
  "linux-x64": {
49
49
  "zig_target": "x86_64-linux",
50
50
  "lib": "libkuri_ffi.so",
51
- "sha256": "fb29ad2b71186d176306321d17e88074a67fea139991faef9aa4862333942c9e"
51
+ "sha256": "b44805644d94e1cd2d8613d5c0a0474e72fb9550e2067b750c967845c483e3e5"
52
52
  }
53
53
  }
54
54
  }
Binary file