webpilot-engine 2.0.0__py3-none-any.whl

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.
Files changed (47) hide show
  1. adapters/__init__.py +14 -0
  2. adapters/base.py +34 -0
  3. adapters/browser_adapter.py +300 -0
  4. adapters/dom_scripts.py +518 -0
  5. adapters/envelope_builder.py +108 -0
  6. adapters/live_session_manager.py +326 -0
  7. adapters/upload_adapter.py +77 -0
  8. builder.py +83 -0
  9. cli.py +341 -0
  10. config/__init__.py +23 -0
  11. config/settings.py +339 -0
  12. constants/__init__.py +165 -0
  13. constants/contracts.py +95 -0
  14. constants/selectors.py +27 -0
  15. constants/timeouts.py +25 -0
  16. core/__init__.py +45 -0
  17. core/exceptions.py +33 -0
  18. core/models.py +273 -0
  19. engine.py +199 -0
  20. exceptions.py +23 -0
  21. mcp_server.py +347 -0
  22. models.py +29 -0
  23. orchestration/__init__.py +19 -0
  24. orchestration/context.py +71 -0
  25. orchestration/flow_orchestrator.py +358 -0
  26. orchestration/session_coordinator.py +88 -0
  27. services/__init__.py +17 -0
  28. services/auth_navigation_service.py +129 -0
  29. services/field_interaction_service.py +174 -0
  30. services/form_filler_service.py +106 -0
  31. services/inspection_formatter_service.py +68 -0
  32. services/inspection_service.py +40 -0
  33. services/reactive_interaction_service.py +174 -0
  34. supervisor/__init__.py +13 -0
  35. supervisor/client.py +171 -0
  36. supervisor/contracts.py +62 -0
  37. supervisor/master_daemon.py +303 -0
  38. supervisor/shell.py +194 -0
  39. supervisor/worker_process.py +400 -0
  40. validators/__init__.py +9 -0
  41. validators/form_validator.py +28 -0
  42. validators/payload_validator.py +25 -0
  43. webpilot_engine-2.0.0.dist-info/METADATA +299 -0
  44. webpilot_engine-2.0.0.dist-info/RECORD +47 -0
  45. webpilot_engine-2.0.0.dist-info/WHEEL +5 -0
  46. webpilot_engine-2.0.0.dist-info/entry_points.txt +6 -0
  47. webpilot_engine-2.0.0.dist-info/top_level.txt +14 -0
@@ -0,0 +1,299 @@
1
+ Metadata-Version: 2.4
2
+ Name: webpilot-engine
3
+ Version: 2.0.0
4
+ Summary: WebPilot: Enterprise Autonomous Browser Engine, Universal Form Inspector & AI Agent Web Runtime
5
+ Author: Antigravity Engineering
6
+ License: MIT
7
+ Keywords: webpilot,browser-runtime,ai-agent,web-automation,playwright,form-filler,ats-automation,sap-successfactors,workday,browser-supervisor,process-isolation
8
+ Classifier: Development Status :: 5 - Production/Stable
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: Topic :: Software Development :: Testing
11
+ Classifier: Topic :: Internet :: WWW/HTTP :: Browsers
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.10
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.13
17
+ Classifier: Operating System :: Microsoft :: Windows
18
+ Classifier: Operating System :: POSIX :: Linux
19
+ Classifier: Operating System :: MacOS
20
+ Requires-Python: >=3.10
21
+ Description-Content-Type: text/markdown
22
+ Requires-Dist: playwright>=1.40.0
23
+ Requires-Dist: python-dotenv>=1.0.0
24
+ Provides-Extra: dev
25
+ Requires-Dist: pytest>=8.0.0; extra == "dev"
26
+ Requires-Dist: pytest-asyncio>=0.23.0; extra == "dev"
27
+ Requires-Dist: pytest-cov>=4.1.0; extra == "dev"
28
+ Requires-Dist: pytest-mock>=3.12.0; extra == "dev"
29
+ Requires-Dist: Faker>=24.0.0; extra == "dev"
30
+ Provides-Extra: mcp
31
+ Requires-Dist: mcp>=1.0.0; extra == "mcp"
32
+
33
+ # WebPilot: Autonomous Multi-Tier Browser Automation Engine & AI Agent Web Runtime
34
+
35
+ [![Python 3.10+](https://img.shields.io/badge/python-3.10%2B-blue.svg)](https://www.python.org/)
36
+ [![Playwright](https://img.shields.io/badge/playwright-v1.40%2B-green.svg)](https://playwright.dev/)
37
+ [![Architecture](https://img.shields.io/badge/architecture-3--Tier%20Multi--Process-orange.svg)](#-3-tier-multi-process-architecture)
38
+ [![Standard User](https://img.shields.io/badge/security-Zero%20Elevation%20(No%20Admin)-success.svg)](#-zero-elevation-standard-user-security)
39
+ [![Tests Passing](https://img.shields.io/badge/tests-27%2F27%20passing-brightgreen.svg)](#-testing--verification)
40
+ [![CLI](https://img.shields.io/badge/cli-webpilot%20%7C%20wp-6f42c1.svg)](#-quick-start-guide)
41
+
42
+ An enterprise-grade, general-purpose autonomous browser engine and AI agent web runtime designed to inspect, interact with, fill, and operate any website, complex Single-Page Application (SPA), or enterprise portal (such as **SAP SuccessFactors**, **Workday**, **Greenhouse**, **Oracle Taleo**, and modern web apps) with zero site-specific selectors or hardcoding.
43
+
44
+ ---
45
+
46
+ ## ๐Ÿ—๏ธ 3-Tier Multi-Process Architecture
47
+
48
+ To solve the fundamental Windows OS limitation where terminal and subshell runners terminate background child processes upon exit (Windows Job Object `JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE`), WebPilot implements an elevated-resilient **Zero-Elevation Three-Tier Process Architecture**:
49
+
50
+ ```
51
+ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
52
+ โ”‚ WebPilot CLI & REPL Shell (webpilot / wp) โ”‚
53
+ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
54
+ โ”‚ HTTP REST (127.0.0.1:9333)
55
+ โ–ผ
56
+ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
57
+ โ”‚ Layer 1: Master Supervisor Host (Daemon) โ”‚
58
+ โ”‚ โ€ข Zero Playwright Imports (~15 MB RAM) โ”‚
59
+ โ”‚ โ€ข 30-Minute Inactivity Watchdog (Automatic RAM release) โ”‚
60
+ โ”‚ โ€ข Windows WMI Zero-Touch Auto-Spawn (Session 0 Breakout) โ”‚
61
+ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
62
+ โ”‚ stdin / stdout (Isolated JSON-RPC)
63
+ โ–ผ
64
+ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
65
+ โ”‚ Layer 2: Operational Worker Process โ”‚
66
+ โ”‚ โ€ข Playwright Runtime + SessionCoordinator โ”‚
67
+ โ”‚ โ€ข Persistent in-memory browser session across CLI calls โ”‚
68
+ โ”‚ โ€ข DOM Services (Field, Auth, Reactive, Inspection) โ”‚
69
+ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
70
+ โ”‚ Process Tree Attachment
71
+ โ–ผ
72
+ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
73
+ โ”‚ Layer 3: Chromium Browser Engine โ”‚
74
+ โ”‚ โ€ข Chromium Main Process + GPU + Renderers โ”‚
75
+ โ”‚ โ€ข Immediate Cascading Kill (taskkill /F /T /PID) โ”‚
76
+ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
77
+ ```
78
+
79
+ ### โšก Key Architectural Advantages:
80
+ 1. **Persistent Browser Session Across CLI Calls**: Run step-by-step sequential commands (`open` -> `fill username` -> `fill password` -> `press submit`) without restarting the browser or losing active DOM state.
81
+ 2. **Zero-Elevation / Standard User Mode**: Runs 100% as a standard, unprivileged user. **Zero administrative or UAC prompts required** (no `asudo` or Administrator escalation).
82
+ 3. **Cascading Kill & Instant Self-Healing**: Terminating Layer 2 via `taskkill /F /T /PID` instantly eliminates all child Chromium processes with **zero zombie leaks**. Layer 1 survives and automatically respawns a clean Layer 2 in **~300ms**.
83
+ 4. **30-Minute Watchdog Supervisor**: Automatically reclaims 100% of browser memory if the session remains idle for 30 minutes.
84
+
85
+ ---
86
+
87
+ ## ๐ŸŒŸ Core Features
88
+
89
+ - **Universal Inspection (`inspect`)**: Navigates to any URL and outputs a token-optimized, clean schema containing text fields, picklists, radio groups, checkboxes, file uploads, and action buttons.
90
+ - **Dynamic Field Population (`apply`)**: Fills fields dynamically via JSON payloads (`--data`) or inline CLI flags (`--fill`), with automatic type detection (text, combobox, radio, select).
91
+ - **Reactive Interaction Service**:
92
+ - Automatically observes button clicks (`--press`).
93
+ - Detects redirects and route transitions (`[๐Ÿ”€ Redirect]`) and auto-inspects the resulting page.
94
+ - Detects and switches to newly spawned browser tabs/windows (`[๐ŸŒ New Window]`).
95
+ - Detects dynamic DOM expansions and section accordions (`[๐Ÿ“‹ Dynamic Form Expansion]`).
96
+ - **Dynamic Loader Dissolution**:
97
+ - Automatically identifies global blocking overlays (`#loading`, `.sapUiBusy`, `.busyIndicator`, `.modal-backdrop`, `[aria-busy="true"]`) and waits dynamically for their dissolution (`state="hidden"`).
98
+ - Distinguishes between global page-blocking veils and local dropdown loaders.
99
+ - **Modal & Pointer Trap Escape Pipeline**:
100
+ - Resolves modal popups and pointer-locked elements using a 4-stage pipeline: Natural Selection -> Keyboard `Escape` -> Backdrop Click -> DOM Surgical Removal.
101
+ - **Enterprise Picklist Auto-scrolling**:
102
+ - Intelligent scrolling algorithm for virtualized dropdowns (such as SAP picklists with `aria-owns` and scroll containers).
103
+ - **Interactive REPL Shell (`shell`)**:
104
+ - Interactive automation console with real-time feedback, tab switching, and live DOM inspection.
105
+
106
+ ---
107
+
108
+ ## ๐Ÿ“ฆ Installation & Setup
109
+
110
+ ### Option A: Install from PyPI or Editable Mode
111
+ ```bash
112
+ # Editable install into environment
113
+ pip install -e .
114
+
115
+ # Or install dependencies directly
116
+ pip install -r requirements.txt
117
+ playwright install chromium
118
+ ```
119
+
120
+ ### Option B: Standalone Portable Binary (Windows)
121
+ Download `webpilot.exe` from GitHub Releases and run directly without needing a local Python installation.
122
+
123
+ ---
124
+
125
+ ## ๐Ÿš€ Quick Start Guide
126
+
127
+ You can use the full `webpilot` command or the ultra-fast shortcut **`wp`** (or `python cli.py`):
128
+
129
+ ### 1. Check & Start Background Supervisor Service
130
+ ```powershell
131
+ # Check multi-tier service status
132
+ wp service status
133
+
134
+ # Start service (automatically auto-spawns detached host via WMI)
135
+ wp service start
136
+ ```
137
+
138
+ ### 2. Inspect Any Web Page
139
+ ```powershell
140
+ wp inspect --url "https://example.com/portal" --output "schema.json" --screenshot "page.png"
141
+ ```
142
+
143
+ ### 3. Step-by-Step Multi-Turn Web Automation
144
+ Execute sequential commands on the **same live persistent browser session**:
145
+
146
+ ```powershell
147
+ # Step 1: Open target portal and inspect initial schema
148
+ wp apply --url "https://example.com/login" --screenshot "step1.png"
149
+
150
+ # Step 2: Fill email only on the active persistent page
151
+ wp apply --fill "username=john.doe@example.com" --screenshot "step2.png"
152
+
153
+ # Step 3: Fill password only on the active persistent page
154
+ wp apply --fill "password=MySecurePassword123!" --screenshot "step3.png"
155
+
156
+ # Step 4: Click Sign In, detect redirect, auto-inspect profile, and save cookies
157
+ wp apply --press "Sign In" --cookies "session_cookies.json" --screenshot "step4.png"
158
+ ```
159
+
160
+ ### 4. Interactive REPL Shell Mode
161
+ Launch the sub-second interactive REPL shell:
162
+ ```powershell
163
+ wp shell
164
+ ```
165
+
166
+ Inside the shell, enter commands sequentially:
167
+ ```text
168
+ webpilot> open https://example.com/login
169
+ webpilot> fill username=john.doe@example.com
170
+ webpilot> fill password=MySecurePassword123!
171
+ webpilot> press Sign In
172
+ webpilot> tabs
173
+ webpilot> screenshot dashboard.png
174
+ webpilot> exit
175
+ ```
176
+
177
+ ---
178
+
179
+ ## ๐Ÿ› ๏ธ CLI Reference
180
+
181
+ ### Common Global Flags
182
+ - `--host`: Supervisor host address (default: `127.0.0.1`).
183
+ - `--port`: Supervisor port (default: `9333`).
184
+ - `--standalone`: Bypasses Master Supervisor to run in-process via `FlowOrchestrator`.
185
+
186
+ ### `python cli.py inspect`
187
+ Inspects a URL or active session and outputs a clean form schema:
188
+ - `--url <URL>`: Target URL (optional if connecting to existing live session).
189
+ - `--output <path>`: Save full JSON schema to disk.
190
+ - `--screenshot <path>`: Capture page screenshot.
191
+ - `--cookies <path>`: Load session cookies.
192
+ - `--unpack-options`: Probe dropdowns to sample options.
193
+ - `--tab <index>`: Inspect specific tab by index.
194
+ - `--list-tabs`: List all open tabs in active session.
195
+
196
+ ### `python cli.py apply`
197
+ Fills fields, uploads files, presses buttons, and validates state:
198
+ - `--url <URL>`: Target URL (optional if operating on existing page).
199
+ - `--data <path>`: Load key-value mappings from JSON file.
200
+ - `--fill <key=val>`: Set field value (can be repeated).
201
+ - `--press <btn>`: Click button with reactive observation (can be repeated).
202
+ - `--upload <kw=file>`: Upload document to upload area (can be repeated).
203
+ - `--cookies <path>`: Save or load session cookies.
204
+ - `--submit`: Submit form after filling.
205
+ - `--screenshot <path>`: Capture post-interaction screenshot.
206
+ - `--no-auto-inspect`: Disable automatic post-interaction schema inspection.
207
+
208
+ ### `python cli.py service`
209
+ Manages the Master Supervisor daemon:
210
+ - `python cli.py service status`: Query real-time PID telemetry for Layer 1, Layer 2, and Layer 3.
211
+ - `python cli.py service restart`: Trigger cascading kill of Layer 2 & Layer 3, and respawn fresh worker (~300ms).
212
+ - `python cli.py service stop`: Cleanly terminate all tiers and release all memory.
213
+ - `python cli.py service start`: Ensure Layer 1 daemon is running.
214
+
215
+ ---
216
+
217
+ ## ๐Ÿ“ Project Directory Layout
218
+
219
+ ```
220
+ universal_web_applier/
221
+ โ”œโ”€โ”€ adapters/
222
+ โ”‚ โ”œโ”€โ”€ browser_adapter.py # Playwright & Chromium connection adapter
223
+ โ”‚ โ”œโ”€โ”€ dom_scripts.py # Pure JavaScript DOM manipulation scripts
224
+ โ”‚ โ”œโ”€โ”€ live_session_manager.py # Legacy CDP live session fallback
225
+ โ”‚ โ””โ”€โ”€ upload_adapter.py # Intelligent file upload handler
226
+ โ”œโ”€โ”€ config/
227
+ โ”‚ โ”œโ”€โ”€ builder.py # Payload & Envelope builders
228
+ โ”‚ โ”œโ”€โ”€ settings.py # 3-tier settings resolver (env -> .env -> json)
229
+ โ”‚ โ”œโ”€โ”€ settings.json # Active settings
230
+ โ”‚ โ””โ”€โ”€ device_profile.json # Browser fingerprint & viewport settings
231
+ โ”œโ”€โ”€ constants/
232
+ โ”‚ โ”œโ”€โ”€ contracts.py # Single Source of Truth for JSON contracts
233
+ โ”‚ โ””โ”€โ”€ timeouts.py # Centralized timeouts and pauses
234
+ โ”œโ”€โ”€ core/
235
+ โ”‚ โ””โ”€โ”€ models.py # Dataclasses & schema models
236
+ โ”œโ”€โ”€ orchestration/
237
+ โ”‚ โ”œโ”€โ”€ context.py # Request & session contexts
238
+ โ”‚ โ”œโ”€โ”€ flow_orchestrator.py # In-process standalone workflow pipeline
239
+ โ”‚ โ””โ”€โ”€ session_coordinator.py # Session lifecycle coordinator
240
+ โ”œโ”€โ”€ services/
241
+ โ”‚ โ”œโ”€โ”€ auth_navigation_service.py # Login detection & portal transitions
242
+ โ”‚ โ”œโ”€โ”€ field_interaction_service.py# Field value injection & verification
243
+ โ”‚ โ”œโ”€โ”€ inspection_service.py # DOM inspection & schema extraction
244
+ โ”‚ โ”œโ”€โ”€ inspection_formatter_service.py # Lean human-readable summary formatter
245
+ โ”‚ โ””โ”€โ”€ reactive_interaction_service.py # Post-click reactive changes observer
246
+ โ”œโ”€โ”€ supervisor/
247
+ โ”‚ โ”œโ”€โ”€ contracts.py # Supervisor request/response contracts
248
+ โ”‚ โ”œโ”€โ”€ master_daemon.py # Layer 1: Lightweight HTTP Daemon
249
+ โ”‚ โ”œโ”€โ”€ worker_process.py # Layer 2: Supervised JSON-RPC Worker
250
+ โ”‚ โ”œโ”€โ”€ client.py # Zero-Touch WMI client & HTTP proxy
251
+ โ”‚ โ””โ”€โ”€ shell.py # Interactive REPL automation shell
252
+ โ”œโ”€โ”€ tests/
253
+ โ”‚ โ”œโ”€โ”€ test_contracts.py # Wire contract unit tests
254
+ โ”‚ โ”œโ”€โ”€ test_engine_facade.py # Engine facade tests
255
+ โ”‚ โ”œโ”€โ”€ test_live_session.py # Live session tests
256
+ โ”‚ โ”œโ”€โ”€ test_orchestration.py # Pipeline orchestration tests
257
+ โ”‚ โ”œโ”€โ”€ test_redaction.py # Security & credential redaction tests
258
+ โ”‚ โ”œโ”€โ”€ test_services.py # DOM interaction services tests
259
+ โ”‚ โ””โ”€โ”€ test_supervisor.py # Master supervisor & client unit tests
260
+ โ”œโ”€โ”€ cli.py # Unified CLI entrypoint
261
+ โ”œโ”€โ”€ requirements.txt # Python dependencies
262
+ โ”œโ”€โ”€ pyproject.toml # Modern package specifications
263
+ โ””โ”€โ”€ README.md # Master documentation
264
+ ```
265
+
266
+ ---
267
+
268
+ ## ๐Ÿงช Testing & Verification
269
+
270
+ Run the comprehensive unit test suite:
271
+ ```powershell
272
+ python -m pytest tests/
273
+ ```
274
+
275
+ All 27 contract and service tests execute in < 25s:
276
+ ```text
277
+ tests\test_contracts.py .... [ 14%]
278
+ tests\test_engine_facade.py ... [ 25%]
279
+ tests\test_live_session.py .. [ 33%]
280
+ tests\test_orchestration.py ... [ 44%]
281
+ tests\test_redaction.py .... [ 59%]
282
+ tests\test_services.py ....... [ 85%]
283
+ tests\test_supervisor.py .... [100%]
284
+
285
+ ============================= 27 passed in 22.58s =============================
286
+ ```
287
+
288
+ ---
289
+
290
+ ## ๐Ÿ”’ Security & Privacy
291
+
292
+ - **Credential Redaction**: Passwords, auth tokens, and sensitive inputs are automatically redacted in CLI outputs, telemetry cards, and logs.
293
+ - **Zero Administrative Elevation**: Does not require Administrator rights or elevated Windows tokens.
294
+ - **Local Isolation**: Master Supervisor listens exclusively on loopback `127.0.0.1:9333`.
295
+
296
+ ---
297
+
298
+ ## ๐Ÿ“„ License
299
+ MIT License. Free for commercial and personal use.
@@ -0,0 +1,47 @@
1
+ builder.py,sha256=nCwdXWAUeEgGqnunvbslJZ6a5_5ysbOpb71SVS8GOQ0,3250
2
+ cli.py,sha256=TTls-WdTDB0bQDOiH6NPDlaeZn9Y3XeNYHy_A2uILB8,15948
3
+ engine.py,sha256=o1z5Mr7gPNGgPY219II9YRhjDyBZTIZ-goVTzY_ormY,9683
4
+ exceptions.py,sha256=8IEyOwoHdwqCom0ean9hx-4aiQGTPP9Bm7Hv4R-cO0Y,511
5
+ mcp_server.py,sha256=FJ4w_knWMr3Y5Lylos6Qmmw1b6nbmZDqLFoRYZzlHQ0,10687
6
+ models.py,sha256=SLdch8m5dm6H2XgDzxBjp2M8wp3B-gyAKOxYUHPJEbg,549
7
+ adapters/__init__.py,sha256=zNyNVbu9QYix1O9ii3527MkAUDdxdl86nDQ7K0UWwzs,404
8
+ adapters/base.py,sha256=uONa9eSR1v1aJ2pvnow60bu-iNHQdgWQnZ_m_1claOY,905
9
+ adapters/browser_adapter.py,sha256=X6CnEoxtZkq1_0US8m1LbP2yBTlzozO7Ei48nXanAG4,12995
10
+ adapters/dom_scripts.py,sha256=PvUzlIw_hEqogpDUTkGdIBX2t1KRCYYQik_AH0xj9gY,23003
11
+ adapters/envelope_builder.py,sha256=enxgvCCKkXgbPOeZlmixHx-Yr2A5BE9mOMDQMKhfdF8,4421
12
+ adapters/live_session_manager.py,sha256=GTub9Em7hWsWhZdaJDoLJD2pVSvt4iehIE8Xts8JOOA,11639
13
+ adapters/upload_adapter.py,sha256=tAfwiOBvs_F-hUqhqKewwq9m063thdT5dRTbuaxBIsE,3293
14
+ config/__init__.py,sha256=W_svebbUZHlPb04NitYVWHs9wuXWY6djuOh1v3DgBxg,473
15
+ config/settings.py,sha256=L25Nk8K0ormMrx4CWLp72ej6fYMr5esyDhx3KSatx5A,14526
16
+ constants/__init__.py,sha256=SvCKaPG9gBIpTXX8K2b9FPv4sYG79Rx3TdNPSGQn-2w,4470
17
+ constants/contracts.py,sha256=75ZPvneN0cmiP7O7idJeV4uv4T0UOA-CsWhdBSV-SH4,3136
18
+ constants/selectors.py,sha256=pS5C_jlRMyxgn_aSsQmNIA6rVukyIqZyE3-7tcf64N4,1321
19
+ constants/timeouts.py,sha256=PuTg0XqJlLl4EoZBT9WypJdKUVQImbgbJZ8_5w2zfdY,982
20
+ core/__init__.py,sha256=eB7TCyYQTRgMI8v_S2xz_R7HyR8gfO7g1A9S91p24uU,938
21
+ core/exceptions.py,sha256=MpUkrHA217p0B-nbDwhpLe8McQvdp086Z0_yNymfZdA,1047
22
+ core/models.py,sha256=HXZitIpId7xAyMkFJvb-HtOLKhx3QAvSZLvvgNW3fy0,10236
23
+ orchestration/__init__.py,sha256=FR-0-FyHszSKX-uN2_OmYP9RcPLpQIi82rSdSwCIRPE,495
24
+ orchestration/context.py,sha256=nADU6r_QqLaSPPotjeMPAlgBUT09zzJ7EWZE9c3hxCs,2208
25
+ orchestration/flow_orchestrator.py,sha256=ElLCewZvxjb0L_JV3G5ZiNu93u0UpO5wjfHtW6YHMOI,16217
26
+ orchestration/session_coordinator.py,sha256=MrlHbwYo-5VhL6XNSrjblI1ZmoyNiWqsRVob5PUBFbc,3299
27
+ services/__init__.py,sha256=9OwzuFjpkNB5N_i4rp_SNUkX_eR6OQcHAEsWgrMzOuo,653
28
+ services/auth_navigation_service.py,sha256=Ft-pd76ikn6EjkzAzbJ-4tUNGZBYVe6D5LQtZ83kH8M,5073
29
+ services/field_interaction_service.py,sha256=5ewNR8eVXqVIr7nKH-nz0yQPQcVM78yFzCIk_IRgrFY,6650
30
+ services/form_filler_service.py,sha256=-QhAkasWQ-_wFUCyB1h6aLMa6oI1vaQedB9_yIIb5b8,4380
31
+ services/inspection_formatter_service.py,sha256=QIFXMlksnFgfxKLLe7Asz8RMnbnNFElaHBXfpKgHY3s,2955
32
+ services/inspection_service.py,sha256=_j6ClHhe_44qHA2azS3FO6Wt8aR8lb_Se6otO7cOpA0,1766
33
+ services/reactive_interaction_service.py,sha256=KNK9kDq-6yY9waLBFTtps5e1kZzGCj5cTUk3ZUsTMls,6739
34
+ supervisor/__init__.py,sha256=ZRa-VP-48X5PXgEcOe_0ITgJWYXo7D9b6GxhJHu01Mk,435
35
+ supervisor/client.py,sha256=XQ2V644cEX94iuVJTu7gMLtG4u15ZqbH4D7G0sRCD4A,6578
36
+ supervisor/contracts.py,sha256=MmIdEDj3mUGPfZSs6DlUoEbQlm9n0h8ml6d4peakhQM,2295
37
+ supervisor/master_daemon.py,sha256=WPnIVCDEczzw_tFVeYkURGMXM-ST63R0vGeHQCffjFg,11589
38
+ supervisor/shell.py,sha256=Hes-OFQtlLWSsmOp6DK41ONYdHso9FUOEry-BVgXhuc,7588
39
+ supervisor/worker_process.py,sha256=qS7IjUhmHQXcisevu93pCZl734h1-7-gUBlctHroWyw,15874
40
+ validators/__init__.py,sha256=XYOSFI-yh6xzFX4LRPl81Omlo-0gjcLLYugSLlSvzyM,223
41
+ validators/form_validator.py,sha256=Mjp__nk4bnue22WAyPhY5Bb1O3CPuOFzDtzP9c2WfTs,1169
42
+ validators/payload_validator.py,sha256=xiSLMLBOlwph0wGchSqF63Yd1ViXpuYwbFCXyA7EFh0,1063
43
+ webpilot_engine-2.0.0.dist-info/METADATA,sha256=kn7CxoFM6cVozjKZNkWbV-Vz4e4IuhTbd6_pxMzHHNg,16377
44
+ webpilot_engine-2.0.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
45
+ webpilot_engine-2.0.0.dist-info/entry_points.txt,sha256=z5_DrVqOXc3zAUnaFAmNH3zBdN6CVmzT_Aqaex5QUDI,130
46
+ webpilot_engine-2.0.0.dist-info/top_level.txt,sha256=Wgun5MJQB7xHl_5LX8zwyx_PvBTd2P_G8zopTCztao4,124
47
+ webpilot_engine-2.0.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.0.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,6 @@
1
+ [console_scripts]
2
+ uapply = cli:main
3
+ universal-applier = cli:main
4
+ webpilot = cli:main
5
+ webpilot-mcp = mcp_server:main
6
+ wp = cli:main
@@ -0,0 +1,14 @@
1
+ adapters
2
+ builder
3
+ cli
4
+ config
5
+ constants
6
+ core
7
+ engine
8
+ exceptions
9
+ mcp_server
10
+ models
11
+ orchestration
12
+ services
13
+ supervisor
14
+ validators