Skip to content

Commit 4b7fee1

Browse files
authored
Merge pull request #85 from SentienceAPI/sync-extension-v2.0.7
Sync Extension: v2.0.7
2 parents 1d51a87 + 56ffc52 commit 4b7fee1

File tree

5 files changed

+159
-159
lines changed

5 files changed

+159
-159
lines changed

latest_release.json

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
11
{
2-
"url": "https://api.github.com/repos/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/273088651",
3-
"assets_url": "https://api.github.com/repos/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/273088651/assets",
4-
"upload_url": "https://uploads.github.com/repos/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/273088651/assets{?name,label}",
5-
"html_url": "https://github.com/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/tag/v2.0.6",
6-
"id": 273088651,
2+
"url": "https://api.github.com/repos/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/273122615",
3+
"assets_url": "https://api.github.com/repos/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/273122615/assets",
4+
"upload_url": "https://uploads.github.com/repos/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/273122615/assets{?name,label}",
5+
"html_url": "https://github.com/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/tag/v2.0.7",
6+
"id": 273122615,
77
"author": {
8-
"login": "rcholic",
9-
"id": 135060,
10-
"node_id": "MDQ6VXNlcjEzNTA2MA==",
11-
"avatar_url": "https://avatars.githubusercontent.com/u/135060?v=4",
8+
"login": "github-actions[bot]",
9+
"id": 41898282,
10+
"node_id": "MDM6Qm90NDE4OTgyODI=",
11+
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
1212
"gravatar_id": "",
13-
"url": "https://api.github.com/users/rcholic",
14-
"html_url": "https://github.com/rcholic",
15-
"followers_url": "https://api.github.com/users/rcholic/followers",
16-
"following_url": "https://api.github.com/users/rcholic/following{/other_user}",
17-
"gists_url": "https://api.github.com/users/rcholic/gists{/gist_id}",
18-
"starred_url": "https://api.github.com/users/rcholic/starred{/owner}{/repo}",
19-
"subscriptions_url": "https://api.github.com/users/rcholic/subscriptions",
20-
"organizations_url": "https://api.github.com/users/rcholic/orgs",
21-
"repos_url": "https://api.github.com/users/rcholic/repos",
22-
"events_url": "https://api.github.com/users/rcholic/events{/privacy}",
23-
"received_events_url": "https://api.github.com/users/rcholic/received_events",
24-
"type": "User",
13+
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
14+
"html_url": "https://github.com/apps/github-actions",
15+
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
16+
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
17+
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
18+
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
19+
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
20+
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
21+
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
22+
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
23+
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
24+
"type": "Bot",
2525
"user_view_type": "public",
2626
"site_admin": false
2727
},
28-
"node_id": "RE_kwDOQshiJ84QRwCL",
29-
"tag_name": "v2.0.6",
28+
"node_id": "RE_kwDOQshiJ84QR4U3",
29+
"tag_name": "v2.0.7",
3030
"target_commitish": "main",
31-
"name": "Release v2.0.6",
31+
"name": "Release v2.0.7",
3232
"draft": false,
3333
"immutable": false,
3434
"prerelease": false,
35-
"created_at": "2025-12-28T18:16:01Z",
36-
"updated_at": "2025-12-28T18:16:59Z",
37-
"published_at": "2025-12-28T18:16:49Z",
35+
"created_at": "2025-12-29T03:56:13Z",
36+
"updated_at": "2025-12-29T03:57:09Z",
37+
"published_at": "2025-12-29T03:57:08Z",
3838
"assets": [
3939
{
40-
"url": "https://api.github.com/repos/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/assets/333817321",
41-
"id": 333817321,
42-
"node_id": "RA_kwDOQshiJ84T5aXp",
40+
"url": "https://api.github.com/repos/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/assets/333966751",
41+
"id": 333966751,
42+
"node_id": "RA_kwDOQshiJ84T5-2f",
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": 78026,
69-
"digest": "sha256:d8ff48cfac38e8a3fe2408f7dacc93fb1c76e4772e7f981545c920aea18998ba",
70-
"download_count": 2,
71-
"created_at": "2025-12-28T18:16:59Z",
72-
"updated_at": "2025-12-28T18:16:59Z",
73-
"browser_download_url": "https://github.com/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/download/v2.0.6/extension-files.tar.gz"
68+
"size": 78091,
69+
"digest": "sha256:e281f8b755b61da4b8015d6172064aa9a337c14133ceceff4ab29199ee53307e",
70+
"download_count": 4,
71+
"created_at": "2025-12-29T03:57:09Z",
72+
"updated_at": "2025-12-29T03:57:09Z",
73+
"browser_download_url": "https://github.com/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/download/v2.0.7/extension-files.tar.gz"
7474
},
7575
{
76-
"url": "https://api.github.com/repos/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/assets/333817320",
77-
"id": 333817320,
78-
"node_id": "RA_kwDOQshiJ84T5aXo",
76+
"url": "https://api.github.com/repos/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/assets/333966752",
77+
"id": 333966752,
78+
"node_id": "RA_kwDOQshiJ84T5-2g",
7979
"name": "extension-package.zip",
8080
"label": "",
8181
"uploader": {
@@ -101,15 +101,15 @@
101101
},
102102
"content_type": "application/zip",
103103
"state": "uploaded",
104-
"size": 80099,
105-
"digest": "sha256:4cb46868d668337ea10ae7ea1b9ff07fc87b947bad3f877d3f4250902fe8610f",
104+
"size": 80179,
105+
"digest": "sha256:a025edeb8b6d05bfb25c57f913b68507060653ecbdf616000a46df4cb8dec377",
106106
"download_count": 0,
107-
"created_at": "2025-12-28T18:16:59Z",
108-
"updated_at": "2025-12-28T18:16:59Z",
109-
"browser_download_url": "https://github.com/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/download/v2.0.6/extension-package.zip"
107+
"created_at": "2025-12-29T03:57:09Z",
108+
"updated_at": "2025-12-29T03:57:09Z",
109+
"browser_download_url": "https://github.com/SentienceAPI/Sentience-Geometry-Chrome-Extension/releases/download/v2.0.7/extension-package.zip"
110110
}
111111
],
112-
"tarball_url": "https://api.github.com/repos/SentienceAPI/Sentience-Geometry-Chrome-Extension/tarball/v2.0.6",
113-
"zipball_url": "https://api.github.com/repos/SentienceAPI/Sentience-Geometry-Chrome-Extension/zipball/v2.0.6",
114-
"body": ""
112+
"tarball_url": "https://api.github.com/repos/SentienceAPI/Sentience-Geometry-Chrome-Extension/tarball/v2.0.7",
113+
"zipball_url": "https://api.github.com/repos/SentienceAPI/Sentience-Geometry-Chrome-Extension/zipball/v2.0.7",
114+
"body": "**Full Changelog**: https://github.com/SentienceAPI/Sentience-Geometry-Chrome-Extension/compare/v2.0.6...v2.0.7"
115115
}

sentience/extension/background.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,13 +144,13 @@ async function handleScreenshotCapture(_tabId, options = {}) {
144144
async function handleSnapshotProcessing(rawData, options = {}) {
145145
const MAX_ELEMENTS = 10000; // Safety limit to prevent hangs
146146
const startTime = performance.now();
147-
147+
148148
try {
149149
// Safety check: limit element count to prevent hangs
150150
if (!Array.isArray(rawData)) {
151151
throw new Error('rawData must be an array');
152152
}
153-
153+
154154
if (rawData.length > MAX_ELEMENTS) {
155155
console.warn(`[Sentience Background] ⚠️ Large dataset: ${rawData.length} elements. Limiting to ${MAX_ELEMENTS} to prevent hangs.`);
156156
rawData = rawData.slice(0, MAX_ELEMENTS);
@@ -186,7 +186,7 @@ async function handleSnapshotProcessing(rawData, options = {}) {
186186
// Add timeout protection (18 seconds - less than content.js timeout)
187187
analyzedElements = await Promise.race([
188188
wasmPromise,
189-
new Promise((_, reject) =>
189+
new Promise((_, reject) =>
190190
setTimeout(() => reject(new Error('WASM processing timeout (>18s)')), 18000)
191191
)
192192
]);

sentience/extension/content.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function handleSnapshotRequest(data) {
9292
if (responded) return; // Already responded via timeout
9393
responded = true;
9494
clearTimeout(timeoutId);
95-
95+
9696
const duration = performance.now() - startTime;
9797

9898
// Handle Chrome extension errors (e.g., background script crashed)

0 commit comments

Comments
 (0)