Skip to content

Commit 8240655

Browse files
author
Sentience Dev
committed
clean up
1 parent 7296330 commit 8240655

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

sentience/browser.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,8 @@ def start(self) -> None:
7575

7676
if package_ext_path.exists() and (package_ext_path / "manifest.json").exists():
7777
extension_source = package_ext_path
78-
print(f"[SentienceBrowser] Loading SDK extension from: {package_ext_path}")
7978
elif dev_ext_path.exists() and (dev_ext_path / "manifest.json").exists():
8079
extension_source = dev_ext_path
81-
print(f"[SentienceBrowser] Loading SDK extension from (dev): {dev_ext_path}")
8280
else:
8381
raise FileNotFoundError(
8482
f"Extension not found. Checked:\n"
@@ -87,18 +85,6 @@ def start(self) -> None:
8785
"Make sure the extension is built and 'sentience/extension' directory exists."
8886
)
8987

90-
# Print extension version for debugging
91-
import json
92-
93-
try:
94-
with open(extension_source / "manifest.json") as f:
95-
manifest = json.load(f)
96-
print(
97-
f"[SentienceBrowser] SDK extension version: {manifest.get('version', 'unknown')}"
98-
)
99-
except Exception:
100-
pass
101-
10288
# Create temporary extension bundle
10389
# We copy it to a temp dir to avoid file locking issues and ensure clean state
10490
self._extension_path = tempfile.mkdtemp(prefix="sentience-ext-")

0 commit comments

Comments
 (0)