webtap-tool 0.2.1__tar.gz → 0.2.2__tar.gz
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.
Potentially problematic release.
This version of webtap-tool might be problematic. Click here for more details.
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/CHANGELOG.md +12 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/PKG-INFO +1 -1
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/pyproject.toml +1 -1
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/services/setup/desktop.py +27 -4
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/.gitignore +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/ARCHITECTURE.md +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/README.md +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/data/filters.json +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/extension/manifest.json +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/extension/popup.html +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/extension/popup.js +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/llms.txt +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/VISION.md +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/__init__.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/api.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/app.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/cdp/README.md +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/cdp/__init__.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/cdp/query.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/cdp/schema/README.md +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/cdp/schema/cdp_protocol.json +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/cdp/schema/cdp_version.json +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/cdp/session.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/commands/DEVELOPER_GUIDE.md +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/commands/TIPS.md +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/commands/__init__.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/commands/_builders.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/commands/_errors.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/commands/_tips.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/commands/_utils.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/commands/body.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/commands/connection.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/commands/console.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/commands/events.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/commands/fetch.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/commands/filters.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/commands/inspect.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/commands/javascript.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/commands/launch.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/commands/navigation.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/commands/network.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/commands/setup.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/filters.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/services/README.md +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/services/__init__.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/services/body.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/services/console.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/services/fetch.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/services/main.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/services/network.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/services/setup/__init__.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/services/setup/chrome.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/services/setup/extension.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/services/setup/filters.py +0 -0
- {webtap_tool-0.2.1 → webtap_tool-0.2.2}/src/webtap/services/setup/platform.py +0 -0
|
@@ -15,6 +15,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
15
15
|
|
|
16
16
|
### Removed
|
|
17
17
|
|
|
18
|
+
## [0.2.2] - 2025-09-12
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
|
|
24
|
+
### Fixed
|
|
25
|
+
- macOS Chrome Debug.app now launches Chrome directly to avoid Rosetta warnings on Apple Silicon
|
|
26
|
+
- Added LSArchitecturePriority to Info.plist for native architecture support
|
|
27
|
+
|
|
28
|
+
### Removed
|
|
29
|
+
|
|
18
30
|
## [0.2.1] - 2025-09-12
|
|
19
31
|
|
|
20
32
|
### Added
|
|
@@ -62,6 +62,11 @@ MACOS_INFO_PLIST = """<?xml version="1.0" encoding="UTF-8"?>
|
|
|
62
62
|
<string>????</string>
|
|
63
63
|
<key>LSMinimumSystemVersion</key>
|
|
64
64
|
<string>10.12</string>
|
|
65
|
+
<key>LSArchitecturePriority</key>
|
|
66
|
+
<array>
|
|
67
|
+
<string>arm64</string>
|
|
68
|
+
<string>x86_64</string>
|
|
69
|
+
</array>
|
|
65
70
|
<key>CFBundleDocumentTypes</key>
|
|
66
71
|
<array>
|
|
67
72
|
<dict>
|
|
@@ -160,12 +165,30 @@ class DesktopSetupService:
|
|
|
160
165
|
macos_dir = contents_dir / "MacOS"
|
|
161
166
|
macos_dir.mkdir(parents=True, exist_ok=True)
|
|
162
167
|
|
|
163
|
-
# Create launcher script
|
|
168
|
+
# Create launcher script that directly launches Chrome
|
|
169
|
+
# This avoids Rosetta warnings from nested bash scripts
|
|
164
170
|
launcher_path = macos_dir / "Chrome Debug"
|
|
171
|
+
|
|
172
|
+
# Get Chrome path from platform info
|
|
173
|
+
chrome_path = self.chrome["path"]
|
|
174
|
+
profile_dir = self.paths["data_dir"] / "profiles" / "default"
|
|
175
|
+
|
|
165
176
|
launcher_content = f"""#!/bin/bash
|
|
166
|
-
# Chrome Debug app launcher
|
|
167
|
-
#
|
|
168
|
-
|
|
177
|
+
# Chrome Debug app launcher - direct Chrome execution
|
|
178
|
+
# Avoids Rosetta warnings by directly launching Chrome
|
|
179
|
+
|
|
180
|
+
PORT=${{WEBTAP_PORT:-9222}}
|
|
181
|
+
PROFILE_DIR="{profile_dir}"
|
|
182
|
+
mkdir -p "$PROFILE_DIR"
|
|
183
|
+
|
|
184
|
+
# Launch Chrome directly with debugging
|
|
185
|
+
exec "{chrome_path}" \\
|
|
186
|
+
--remote-debugging-port="$PORT" \\
|
|
187
|
+
--remote-allow-origins='*' \\
|
|
188
|
+
--user-data-dir="$PROFILE_DIR" \\
|
|
189
|
+
--no-first-run \\
|
|
190
|
+
--no-default-browser-check \\
|
|
191
|
+
"$@"
|
|
169
192
|
"""
|
|
170
193
|
launcher_path.write_text(launcher_content)
|
|
171
194
|
launcher_path.chmod(0o755)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|