@mechris3/glassbox 0.1.47 → 0.1.49

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.
package/README.md CHANGED
@@ -12,16 +12,19 @@ Features:
12
12
 
13
13
  ## Quick Start
14
14
 
15
+ > **Note:** There is an unrelated npm package also called `glassbox` (a code-review tool).
16
+ > Always use the full scoped name `@mechris3/glassbox` with `npx` to avoid resolving the wrong package.
17
+
15
18
  ```bash
16
19
  # Install
17
20
  npm install @mechris3/glassbox
18
21
 
19
22
  # Scaffold a project (creates glassbox.config.ts + directories)
20
- npx glassbox init
23
+ npx @mechris3/glassbox init
21
24
 
22
25
  # Write journeys and page objects (see below), then:
23
- npx glassbox serve # Dashboard UI at http://localhost:3001
24
- npx glassbox run # Headless batch run (for CI)
26
+ npx @mechris3/glassbox serve # Dashboard UI at http://localhost:3001
27
+ npx @mechris3/glassbox run # Headless batch run (for CI)
25
28
  ```
26
29
 
27
30
  `glassbox init` creates this structure in your current directory:
@@ -42,7 +45,7 @@ npm run run # Run all journeys headless (exit 0 = pass, 1 = fail)
42
45
  npm run run:headed # Run with a visible browser window
43
46
  ```
44
47
 
45
- After running `glassbox init`, install dependencies and you're ready:
48
+ After running `npx @mechris3/glassbox init`, install dependencies and you're ready:
46
49
 
47
50
  ```bash
48
51
  npm install
@@ -69,7 +72,7 @@ my-app/
69
72
  └── page-objects/
70
73
  ```
71
74
 
72
- Either way, run `glassbox` commands from the directory containing your `glassbox.config.ts`.
75
+ Either way, run `@mechris3/glassbox` commands from the directory containing your `glassbox.config.ts`.
73
76
 
74
77
  ## Prerequisites
75
78
 
@@ -341,25 +344,30 @@ Run all commands from the directory containing your `glassbox.config.ts`:
341
344
  cd my-tests/ # where your glassbox.config.ts lives
342
345
  ```
343
346
 
347
+ > Once you've run `npm install` in your project, use `npm run serve` / `npm run run` — these
348
+ > resolve the local `node_modules/.bin/glassbox` (the right one) automatically.
349
+ > When running outside a project with `npx`, always use the full scoped name:
350
+ > `npx @mechris3/glassbox <command>`
351
+
344
352
  **Dashboard (visual UI):**
345
353
  ```bash
346
- npx glassbox serve # Start dashboard at http://localhost:3001
354
+ npx @mechris3/glassbox serve # Start dashboard at http://localhost:3001
347
355
  ```
348
356
  Open the URL in your browser to see journeys, run them, set breakpoints, pause/step, and inspect results visually.
349
357
 
350
358
  **Headless runner (CI / terminal):**
351
359
  ```bash
352
- npx glassbox run # Run all journeys, exit 0/1
353
- npx glassbox run login # Only journeys matching "login"
354
- npx glassbox run --url http://localhost:3000 # Specify app URL
355
- npx glassbox run --headed # Show the browser while running
356
- npx glassbox run --no-fail-fast # Don't stop at first failure
360
+ npx @mechris3/glassbox run # Run all journeys, exit 0/1
361
+ npx @mechris3/glassbox run login # Only journeys matching "login"
362
+ npx @mechris3/glassbox run --url http://localhost:3000 # Specify app URL
363
+ npx @mechris3/glassbox run --headed # Show the browser while running
364
+ npx @mechris3/glassbox run --no-fail-fast # Don't stop at first failure
357
365
  ```
358
366
 
359
367
  **Other:**
360
368
  ```bash
361
- npx glassbox init # Scaffold config + directories in current dir
362
- npx glassbox mcp # Start MCP server for AI agent integration
369
+ npx @mechris3/glassbox init # Scaffold config + directories in current dir
370
+ npx @mechris3/glassbox mcp # Start MCP server for AI agent integration
363
371
  ```
364
372
 
365
373
  ## MCP Server (AI Integration)
@@ -373,7 +381,7 @@ Add to your `.kiro/settings/mcp.json`:
373
381
  "mcpServers": {
374
382
  "glassbox": {
375
383
  "command": "npx",
376
- "args": ["glassbox", "mcp"],
384
+ "args": ["@mechris3/glassbox", "mcp"],
377
385
  "env": { "GLASSBOX_URL": "http://localhost:3001" },
378
386
  "cwd": "/absolute/path/to/your/glassbox-tests"
379
387
  }
@@ -387,7 +395,7 @@ Requires `glassbox serve` to be running. The AI gets these tools:
387
395
 
388
396
  | Tool | Purpose |
389
397
  |------|---------|
390
- | `getJourneyStatus` | Summary of diagnostic counts (call first) |
398
+ | `getDiagnosticSummary` | Summary of diagnostic counts (call first) |
391
399
  | `getConsoleErrors` | console.error/warn with stack traces |
392
400
  | `getExceptions` | Unhandled JS exceptions with source locations |
393
401
  | `getNetworkFailures` | Failed HTTP requests (4xx/5xx/network errors) |
@@ -130,9 +130,11 @@ export default defineConfig({
130
130
  private: true,
131
131
  type: 'module',
132
132
  scripts: {
133
- serve: 'glassbox serve',
134
- run: 'glassbox run',
135
- 'run:headed': 'glassbox run --headed',
133
+ // Use the full scoped name so these work before/after npm install,
134
+ // and to avoid resolving the unrelated 'glassbox' package on npm.
135
+ serve: 'npx @mechris3/glassbox serve',
136
+ run: 'npx @mechris3/glassbox run',
137
+ 'run:headed': 'npx @mechris3/glassbox run --headed',
136
138
  },
137
139
  dependencies: {
138
140
  '@mechris3/glassbox': '^0.1.0',
@@ -1 +1 @@
1
- {"version":3,"file":"glassbox.js","sourceRoot":"","sources":["../../bin/glassbox.ts"],"names":[],"mappings":";;AAEA;;;;;;;;;;GAUG;;AAEH,yCAAoC;AACpC,gDAA8C;AAC9C,qDAA8D;AAE9D,MAAM,OAAO,GAAG,IAAI,mBAAO,EAAE,CAAC;AAE9B,OAAO;KACJ,IAAI,CAAC,UAAU,CAAC;KAChB,WAAW,CAAC,mFAAmF,CAAC;KAChG,OAAO,CAAC,OAAO,CAAC,CAAC;AAEpB;;;;;;;;;;GAUG;AACH,OAAO;KACJ,OAAO,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;KACrC,WAAW,CAAC,+BAA+B,CAAC;KAC5C,MAAM,CAAC,mBAAmB,EAAE,gCAAgC,CAAC;KAC7D,MAAM,CAAC,qBAAqB,EAAE,4BAA4B,CAAC;KAC3D,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;IACxB,MAAM,MAAM,GAAG,MAAM,IAAA,sBAAU,EAAC,OAAO,CAAC,MAAM,CAAC,CAAC;IAChD,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,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version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../src/mcp/server.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAuNH,4BAA4B;AAC5B,wBAAsB,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CA6BpD"}
1
+ {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../src/mcp/server.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAsWH,4BAA4B;AAC5B,wBAAsB,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CA6BpD"}
@@ -27,90 +27,233 @@ const GLASSBOX_URL = process.env.GLASSBOX_URL ?? 'http://localhost:3001';
27
27
  /** Tool definitions — each maps to a diagnostic REST endpoint. */
28
28
  const TOOLS = [
29
29
  {
30
- name: 'getJourneyStatus',
31
- description: 'Get a summary of diagnostic data from the last journey run: counts of console errors, exceptions, network failures, and total requests. Call this first to understand what happened.',
30
+ name: 'getDiagnosticSummary',
31
+ description: `Returns a summary of diagnostic data counts from the last journey run. Use this AFTER runJourney to decide which detailed diagnostic tools to call next.
32
+
33
+ Response shape: { consoleErrors: number, exceptions: number, networkFailures: number, totalRequests: number, timelineEvents: number, liveSessionAvailable: boolean }
34
+
35
+ Workflow: runJourney → getDiagnosticSummary (see what data is available) → drill into specific categories (getConsoleErrors, getExceptions, getNetworkFailures, getTimeline, getDomSnapshot).
36
+
37
+ If consoleErrors > 0: call getConsoleErrors to see the error messages and stack traces.
38
+ If exceptions > 0: call getExceptions to see unhandled errors with source locations.
39
+ If networkFailures > 0: call getNetworkFailures to see which API calls failed and why.
40
+ If you need to understand the sequence of events: call getTimeline.
41
+ If liveSessionAvailable is true: you can call getDomSnapshot and getScreenshot to inspect the current page state.`,
32
42
  inputSchema: { type: 'object', properties: {} },
33
43
  },
34
44
  {
35
45
  name: 'getConsoleErrors',
36
- description: 'Returns all console.error() and console.warn() calls captured during the journey, with stack traces. Use when investigating runtime errors.',
46
+ description: `Returns all console.error() and console.warn() calls captured during the journey execution, including stack traces and argument values.
47
+
48
+ Each entry contains: { level: 'error'|'warning', text: string, args: string[], timestamp: number, stackTrace: Array<{ functionName, url, lineNumber, columnNumber }> }
49
+
50
+ Use this when:
51
+ - getDiagnosticSummary shows consoleErrors > 0
52
+ - You suspect the app is logging errors that explain the failure
53
+ - You need to see validation errors, deprecation warnings, or framework-level error messages
54
+
55
+ The stack traces show where in the APPLICATION code the error originated (not the test code). Look for your app's source files in the trace to identify the root cause.`,
37
56
  inputSchema: { type: 'object', properties: {} },
38
57
  },
39
58
  {
40
59
  name: 'getExceptions',
41
- description: 'Returns all unhandled JavaScript exceptions thrown during the journey, with full stack traces and source locations. Use when the failure might be caused by an uncaught error.',
60
+ description: `Returns all unhandled JavaScript exceptions thrown during the journey, with full stack traces, source file URLs, and line/column numbers.
61
+
62
+ Each entry contains: { text: string, description: string, lineNumber: number, columnNumber: number, url: string, stackTrace: Array<{ functionName, url, lineNumber, columnNumber }>, timestamp: number }
63
+
64
+ Use this when:
65
+ - getDiagnosticSummary shows exceptions > 0
66
+ - The journey failed with a cryptic error and you need to see what crashed
67
+ - You suspect a null reference, type error, or unhandled promise rejection in the app
68
+
69
+ These are UNCAUGHT exceptions — errors that propagated up without being caught. They typically indicate bugs in the application code rather than expected failures.`,
42
70
  inputSchema: { type: 'object', properties: {} },
43
71
  },
44
72
  {
45
73
  name: 'getNetworkFailures',
46
- description: 'Returns all failed network requests (HTTP status >= 400 or network-level failures). Use when the failure might be caused by a backend issue or misconfigured API call.',
74
+ description: `Returns all failed network requests — both HTTP errors (status >= 400) and network-level failures (connection refused, timeout, CORS blocked).
75
+
76
+ Each entry contains: { requestId: string, url: string, method: string, errorText: string, timestamp: number }
77
+
78
+ Use this when:
79
+ - getDiagnosticSummary shows networkFailures > 0
80
+ - The app shows "something went wrong" but no console errors
81
+ - You suspect the backend API is returning errors or is unreachable
82
+ - Login/auth flows are failing (look for 401/403 responses)
83
+
84
+ Common patterns:
85
+ - 401 Unauthorized: auth token expired or not being sent
86
+ - 404 Not Found: wrong API URL or missing route
87
+ - 500 Internal Server Error: backend bug
88
+ - net::ERR_CONNECTION_REFUSED: backend server not running
89
+ - CORS error: missing Access-Control headers`,
47
90
  inputSchema: { type: 'object', properties: {} },
48
91
  },
49
92
  {
50
93
  name: 'getNetworkLog',
51
- description: 'Returns all XHR/Fetch API calls made during the journey with URLs, methods, and status codes. Use to understand what API calls the app made.',
94
+ description: `Returns ALL network requests made during the journey (not just failures) — every XHR and Fetch call with URL, method, status code, and timing.
95
+
96
+ Each entry contains: { requestId: string, url: string, method: string, status?: number, statusText?: string, type: string, timestamp: number, failed?: boolean, failureReason?: string }
97
+
98
+ Use this when:
99
+ - You need to verify an API call was actually made (e.g. "did the login POST fire?")
100
+ - You want to check the order of API calls
101
+ - You need to see response status codes for requests that didn't fail (2xx/3xx)
102
+ - Debugging race conditions between API calls
103
+
104
+ This returns ALL requests including successful ones. For just failures, use getNetworkFailures instead. The list can be large on API-heavy pages.`,
52
105
  inputSchema: { type: 'object', properties: {} },
53
106
  },
54
107
  {
55
108
  name: 'getTimeline',
56
- description: 'Returns the last N events in chronological order (console calls, network requests, exceptions). Use to understand the sequence of events leading up to the failure.',
109
+ description: `Returns a chronological stream of ALL events that occurred during the journey — console calls, network requests, network responses, network failures, and exceptions — interleaved in time order.
110
+
111
+ Each entry contains: { type: 'console'|'exception'|'network-request'|'network-response'|'network-failure'|'metrics', timestamp: number, data: object }
112
+
113
+ RECOMMENDED as the first diagnostic tool after a failure. It shows you the SEQUENCE of events leading up to the error, which is often more useful than looking at categories in isolation.
114
+
115
+ Example: you might see "login API returned 200 → app navigated → network request to /api/profile returned 401 → console error 'unauthorized' → exception thrown". That sequence tells the story.
116
+
117
+ Use lastN parameter to limit results (default 20). Start with lastN=30 and increase if needed.`,
57
118
  inputSchema: {
58
119
  type: 'object',
59
120
  properties: {
60
- lastN: { type: 'number', description: 'Number of recent events to return (default: 20)' },
121
+ lastN: { type: 'number', description: 'Number of most recent events to return. Default: 20. Increase to 50-100 if you need more context around the failure.' },
61
122
  },
62
123
  },
63
124
  },
64
125
  {
65
126
  name: 'getPerformanceMetrics',
66
- description: 'Returns performance metric snapshots captured during the journey (heap size, DOM nodes, layout recalculations). Use when investigating performance issues.',
127
+ description: `Returns Chrome performance metric snapshots captured at key points during the journey (start, after navigation, on failure/completion).
128
+
129
+ Each snapshot contains: { label: string, timestamp: number, metrics: { JSHeapUsedSize, JSHeapTotalSize, Nodes, LayoutCount, RecalcStyleCount, ... } }
130
+
131
+ Use this when:
132
+ - The page is slow or unresponsive (check LayoutCount, RecalcStyleCount)
133
+ - You suspect a memory leak (compare JSHeapUsedSize across snapshots)
134
+ - DOM is too complex (check Nodes count)
135
+ - The journey times out without errors (performance issue rather than functional bug)
136
+
137
+ This is rarely needed for functional test failures. Use it for performance investigations only.`,
67
138
  inputSchema: { type: 'object', properties: {} },
68
139
  },
69
140
  {
70
141
  name: 'listJourneys',
71
- description: 'Returns all available journey files that can be run.',
142
+ description: `Returns all available journey files discovered from the configured glob pattern. Each journey has an id (filename without extension), a human-readable name (derived from filename), and the relative file path.
143
+
144
+ Response shape: Array<{ id: string, name: string, path: string }>
145
+
146
+ Use this to discover what journeys exist before calling runJourney. The id or name can be used as the journey parameter in runJourney (partial matches work — e.g. "login" matches "login-and-edit-profile").`,
72
147
  inputSchema: { type: 'object', properties: {} },
73
148
  },
74
149
  {
75
150
  name: 'runJourney',
76
- description: 'Run a specific journey (or all journeys) and collect diagnostic data. The browser stays open on failure so you can inspect the DOM and take screenshots. Use after making a code change to verify the fix.',
151
+ description: `Execute one or more journeys and collect diagnostic data. Returns pass/fail status, error messages, and a diagnostic summary in a single response.
152
+
153
+ Response shape: { outcome: 'PASSED'|'FAILED', results: Array<{ journey, status, duration, error? }>, diagnostics: { consoleErrors, exceptions, networkFailures, totalRequests, timelineEvents, liveSessionAvailable }, failedJourneys: Array<{ journey, error }> }
154
+
155
+ Behaviour:
156
+ - Resets diagnostic data before running (clean slate)
157
+ - Runs lifecycle hooks (globalSetup, beforeEach, afterEach, globalTeardown) if configured
158
+ - On failure: browser stays open so getDomSnapshot and getScreenshot can inspect the final page state
159
+ - On success: browser is closed (unless keepBrowserOpen is configured)
160
+
161
+ After a failure, follow this workflow:
162
+ 1. Read the error message in failedJourneys[].error
163
+ 2. Check diagnostics counts to decide what to investigate
164
+ 3. Call getTimeline(lastN=30) to see the sequence of events
165
+ 4. Use getDomSnapshot with a specific selector to check element state
166
+ 5. If needed, use getConsoleErrors or getNetworkFailures for details
167
+
168
+ The journey parameter accepts: full path, ID (e.g. "login-and-edit-profile"), name (e.g. "Login And Edit Profile"), or partial match (e.g. "login"). Omit to run all journeys.`,
77
169
  inputSchema: {
78
170
  type: 'object',
79
171
  properties: {
80
- journey: { type: 'string', description: 'Journey name, ID, or path (from listJourneys). Omit to run all.' },
81
- targetUrl: { type: 'string', description: 'Target URL of the app under test (default: http://localhost:3000)' },
172
+ journey: { type: 'string', description: 'Journey identifier — name, ID, path, or partial match (from listJourneys). Omit to run all journeys sequentially.' },
173
+ targetUrl: { type: 'string', description: 'Target URL of the app under test. Defaults to the URL configured in the dashboard settings (typically http://localhost:3000 or http://localhost:4200).' },
82
174
  },
83
175
  },
84
176
  },
85
177
  {
86
178
  name: 'getDomSnapshot',
87
- description: 'Returns the outerHTML of the page or a specific element. Only available after a journey run (browser stays open on failure). Use when an expected element is missing or has wrong content.',
179
+ description: `Returns the outerHTML of a specific element or the full page. PREFERRED over getScreenshot for debugging because you can see actual selectors, text content, attribute values, form state, and hidden elements.
180
+
181
+ ALWAYS provide a selector — full page HTML is extremely large and will consume excessive context. Use targeted queries like:
182
+ - "[data-testid='login-form']" — inspect a specific component
183
+ - "[data-testid='error-message']" — check if an error is showing
184
+ - "form" — see all form inputs and their current values
185
+ - ".modal" — check if a modal/dialog is present
186
+ - "body" — get a high-level view (still large but smaller than full HTML)
187
+
188
+ Only available when liveSessionAvailable is true (browser stays open after failure). If the page has navigated away from the expected state, this shows you what's ACTUALLY rendered.
189
+
190
+ Use this when:
191
+ - A selector-based action failed ("not found within 5000ms") — check if the element exists with a different selector
192
+ - Form submission didn't work — inspect form values and button states
193
+ - The wrong page is showing — check what URL/content is rendered
194
+ - Text content doesn't match expectations — see the actual text`,
88
195
  inputSchema: {
89
196
  type: 'object',
90
197
  properties: {
91
- selector: { type: 'string', description: 'CSS selector to inspect. Omit for full page HTML.' },
198
+ selector: { type: 'string', description: 'CSS selector to inspect. ALWAYS provide this — full page HTML is too large. Examples: "[data-testid=\'submit-btn\']", ".error-message", "#app", "form input"' },
92
199
  },
93
200
  },
94
201
  },
95
202
  {
96
203
  name: 'getScreenshot',
97
- description: 'Capture a screenshot of the current page state (base64 PNG). Only available when the browser is still open after a run. Use to see the visual state at the point of failure.',
204
+ description: `Capture a screenshot of the current page state as a base64-encoded PNG image.
205
+
206
+ Use this when:
207
+ - You need to see the VISUAL layout (element positioning, overlapping, responsive issues)
208
+ - You want a quick confirmation of what page/state the browser is on
209
+ - Debugging CSS/styling issues that don't show in HTML
210
+
211
+ Limitations:
212
+ - Cannot reveal text content reliably (depends on rendering resolution)
213
+ - Cannot see hidden elements (display:none, visibility:hidden, off-screen)
214
+ - Cannot inspect attribute values, form state, or data-testid selectors
215
+ - Large base64 payload consumes context
216
+
217
+ For debugging FUNCTIONAL issues (wrong content, missing elements, failed interactions), use getDomSnapshot with a selector instead — it's more precise and actionable.
218
+
219
+ Only available when liveSessionAvailable is true (browser stays open after failure).`,
98
220
  inputSchema: { type: 'object', properties: {} },
99
221
  },
100
222
  {
101
223
  name: 'getAccessibilityTree',
102
- description: 'Returns the full ARIA accessibility tree of the page. More structured than raw HTML for understanding page layout and interactive elements.',
224
+ description: `Returns the full ARIA accessibility tree of the current page — a structured representation of all interactive elements, their roles, names, and states.
225
+
226
+ More structured than raw HTML for understanding:
227
+ - Page layout and landmark regions
228
+ - Interactive elements (buttons, inputs, links) and their accessible names
229
+ - Current states (expanded, checked, disabled, selected)
230
+ - Form field labels and descriptions
231
+
232
+ Use this when:
233
+ - You need to understand the page structure without reading large HTML
234
+ - Looking for a specific interactive element by its accessible name
235
+ - Debugging accessibility issues (missing labels, wrong roles)
236
+ - The DOM is complex but you just need to know what's interactable
237
+
238
+ Only available when liveSessionAvailable is true (browser stays open after failure).`,
103
239
  inputSchema: { type: 'object', properties: {} },
104
240
  },
105
241
  {
106
242
  name: 'resetDiagnostics',
107
- description: 'Clear all collected diagnostic data and close any live browser session. Use before re-running a journey to get fresh results.',
243
+ description: `Clear all collected diagnostic data and close any live browser session. You rarely need to call this manually — runJourney resets diagnostics automatically before each run.
244
+
245
+ Only use this if:
246
+ - You want to close the live browser session without running another journey
247
+ - You need to free resources after finishing an investigation
248
+ - You're debugging the diagnostic system itself
249
+
250
+ Do NOT call this between runJourney and your diagnostic queries — it would erase the data you're trying to inspect.`,
108
251
  inputSchema: { type: 'object', properties: {} },
109
252
  },
110
253
  ];
111
254
  /** Map tool names to their API call implementations. */
112
255
  const toolHandlers = new Map([
113
- ['getJourneyStatus', async () => fetchJson('/api/diagnostics/summary')],
256
+ ['getDiagnosticSummary', async () => fetchJson('/api/diagnostics/summary')],
114
257
  ['getConsoleErrors', async () => fetchJson('/api/diagnostics/console-errors')],
115
258
  ['getExceptions', async () => fetchJson('/api/diagnostics/exceptions')],
116
259
  ['getNetworkFailures', async () => fetchJson('/api/diagnostics/network-failures')],
@@ -1 +1 @@
1
- {"version":3,"file":"server.js","sourceRoot":"","sources":["../../../src/mcp/server.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;AAwNH,wCA6BC;AAnPD,wEAAmE;AACnE,wEAAiF;AACjF,iEAAmG;AAEnG,MAAM,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,IAAI,uBAAuB,CAAC;AAEzE,kEAAkE;AAClE,MAAM,KAAK,GAAG;IACZ;QACE,IAAI,EAAE,kBAAkB;QACxB,WAAW,EAAE,sLAAsL;QACnM,WAAW,EAAE,EAA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KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YACvE,OAAO,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,OAAO,EAAE,EAAE,CAAC,EAAE,CAAC;QACpE,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,MAAM,SAAS,GAAG,IAAI,+BAAoB,EAAE,CAAC;IAC7C,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;AAClC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mechris3/glassbox",
3
- "version": "0.1.47",
3
+ "version": "0.1.49",
4
4
  "description": "Debugger-style browser automation test runner with live execution control via CDP",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",