Skip to content

Commit 6dd64ce

Browse files
authored
Merge pull request #149 from SentienceAPI/sync-extension-v2.8.0
Sync Extension: v2.8.0
2 parents 84275b2 + 06b6e74 commit 6dd64ce

4 files changed

Lines changed: 37 additions & 32 deletions

File tree

src/extension/injected_api.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -845,13 +845,18 @@
845845
let diagnostics;
846846
try {
847847
const lastMutationTs = window.__sentience_lastMutationTs, now = performance.now(), quietMs = "number" == typeof lastMutationTs && Number.isFinite(lastMutationTs) ? Math.max(0, now - lastMutationTs) : null, nodeCount = document.querySelectorAll("*").length;
848+
let requiresVision = !1, requiresVisionReason = null;
849+
const canvasCount = document.getElementsByTagName("canvas").length;
850+
canvasCount > 0 && (requiresVision = !0, requiresVisionReason = `canvas:${canvasCount}`),
848851
diagnostics = {
849852
metrics: {
850853
ready_state: document.readyState || null,
851854
quiet_ms: quietMs,
852855
node_count: nodeCount
853856
},
854-
captcha: detectCaptcha()
857+
captcha: detectCaptcha(),
858+
requires_vision: requiresVision,
859+
requires_vision_reason: requiresVisionReason
855860
};
856861
} catch (e) {}
857862
return {

src/extension/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 3,
33
"name": "Sentience Semantic Visual Grounding Extractor",
4-
"version": "2.7.0",
4+
"version": "2.8.0",
55
"description": "Extract semantic visual grounding data from web pages",
66
"permissions": ["activeTab", "scripting"],
77
"host_permissions": ["<all_urls>"],
-1.41 KB
Binary file not shown.

src/extension/release.json

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"url": "https://api.github.com/repos/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/277802850",
3-
"assets_url": "https://api.github.com/repos/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/277802850/assets",
4-
"upload_url": "https://uploads.github.com/repos/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/277802850/assets{?name,label}",
5-
"html_url": "https://github.com/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/tag/v2.7.0",
6-
"id": 277802850,
2+
"url": "https://api.github.com/repos/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/279228428",
3+
"assets_url": "https://api.github.com/repos/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/279228428/assets",
4+
"upload_url": "https://uploads.github.com/repos/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/279228428/assets{?name,label}",
5+
"html_url": "https://github.com/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/tag/v2.8.0",
6+
"id": 279228428,
77
"author": {
88
"login": "rcholic",
99
"id": 135060,
@@ -25,21 +25,21 @@
2525
"user_view_type": "public",
2626
"site_admin": false
2727
},
28-
"node_id": "RE_kwDOQshiJ84Qju9i",
29-
"tag_name": "v2.7.0",
28+
"node_id": "RE_kwDOQshiJ84QpLAM",
29+
"tag_name": "v2.8.0",
3030
"target_commitish": "main",
31-
"name": "Release v2.7.0",
31+
"name": "Release v2.8.0",
3232
"draft": false,
3333
"immutable": false,
3434
"prerelease": false,
35-
"created_at": "2026-01-19T05:08:35Z",
36-
"updated_at": "2026-01-19T05:09:41Z",
37-
"published_at": "2026-01-19T05:09:31Z",
35+
"created_at": "2026-01-23T03:51:24Z",
36+
"updated_at": "2026-01-23T03:52:39Z",
37+
"published_at": "2026-01-23T03:52:16Z",
3838
"assets": [
3939
{
40-
"url": "https://api.github.com/repos/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/assets/342599449",
41-
"id": 342599449,
42-
"node_id": "RA_kwDOQshiJ84Ua6cZ",
40+
"url": "https://api.github.com/repos/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/assets/344613562",
41+
"id": 344613562,
42+
"node_id": "RA_kwDOQshiJ84UimK6",
4343
"name": "extension-files.tar.gz",
4444
"label": "",
4545
"uploader": {
@@ -65,17 +65,17 @@
6565
},
6666
"content_type": "application/gzip",
6767
"state": "uploaded",
68-
"size": 79222,
69-
"digest": "sha256:e0cad96e20e539d62a4777f1c5baedb1c8bd02cd26a8e38f7c1b9c804325f068",
70-
"download_count": 6,
71-
"created_at": "2026-01-19T05:09:41Z",
72-
"updated_at": "2026-01-19T05:09:41Z",
73-
"browser_download_url": "https://github.com/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/download/v2.7.0/extension-files.tar.gz"
68+
"size": 78756,
69+
"digest": "sha256:5835596decbd70f2c8d0d06a6cbd45222a40b4cb1e150612415bae28878a7ecb",
70+
"download_count": 0,
71+
"created_at": "2026-01-23T03:52:39Z",
72+
"updated_at": "2026-01-23T03:52:39Z",
73+
"browser_download_url": "https://github.com/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/download/v2.8.0/extension-files.tar.gz"
7474
},
7575
{
76-
"url": "https://api.github.com/repos/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/assets/342599448",
77-
"id": 342599448,
78-
"node_id": "RA_kwDOQshiJ84Ua6cY",
76+
"url": "https://api.github.com/repos/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/assets/344613561",
77+
"id": 344613561,
78+
"node_id": "RA_kwDOQshiJ84UimK5",
7979
"name": "extension-package.zip",
8080
"label": "",
8181
"uploader": {
@@ -101,15 +101,15 @@
101101
},
102102
"content_type": "application/zip",
103103
"state": "uploaded",
104-
"size": 80692,
105-
"digest": "sha256:83de4c4c54f401fc6404c27ef01a9205cf8e3566e81f62a7bc08f7103a2b0cc5",
104+
"size": 80234,
105+
"digest": "sha256:dcd4d9a8e555d6f48751ddf140fae1d468a170e6160a156e69d03ab2490a1392",
106106
"download_count": 0,
107-
"created_at": "2026-01-19T05:09:41Z",
108-
"updated_at": "2026-01-19T05:09:41Z",
109-
"browser_download_url": "https://github.com/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/download/v2.7.0/extension-package.zip"
107+
"created_at": "2026-01-23T03:52:39Z",
108+
"updated_at": "2026-01-23T03:52:39Z",
109+
"browser_download_url": "https://github.com/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/download/v2.8.0/extension-package.zip"
110110
}
111111
],
112-
"tarball_url": "https://api.github.com/repos/SentienceAPI/Sentience-Geometry-Chrome-Extension/tarball/v2.7.0",
113-
"zipball_url": "https://api.github.com/repos/SentienceAPI/Sentience-Geometry-Chrome-Extension/zipball/v2.7.0",
112+
"tarball_url": "https://api.github.com/repos/SentienceAPI/Sentience-Geometry-Chrome-Extension/tarball/v2.8.0",
113+
"zipball_url": "https://api.github.com/repos/SentienceAPI/Sentience-Geometry-Chrome-Extension/zipball/v2.8.0",
114114
"body": ""
115115
}

0 commit comments

Comments
 (0)