Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'
cache: 'npm'
cache-dependency-path: extension/package-lock.json

Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
# - name: Setup Node.js
# uses: actions/setup-node@v4
# with:
# node-version: '20'
# node-version: '22'
# cache: 'npm'
# cache-dependency-path: extension/package-lock.json
#
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,8 @@ jobs:
- uses: astral-sh/setup-uv@v5
- run: uv run ruff check --no-fix --select PLE # check only for syntax errors
- run: uv build
# Use pip intentionally: unlike uv, it cannot apply this project's local
# dependency overrides and therefore validates the published wheel graph.
- name: Verify wheel dependencies resolve without uv overrides
run: uvx --from pip pip install --dry-run --ignore-installed dist/*.whl
Comment thread
sauravpanda marked this conversation as resolved.
- run: uv publish --token ${{ secrets.PYPI_API_TOKEN }}
5,075 changes: 841 additions & 4,234 deletions extension/package-lock.json

Large diffs are not rendered by default.

12 changes: 9 additions & 3 deletions extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,19 @@
"eslint-plugin-react-refresh": "0.4.24",
"tw-animate-css": "1.3.4",
"typescript": "5.8.3",
"wxt": "0.20.7"
"wxt": "0.21.4"
Comment thread
sauravpanda marked this conversation as resolved.
Comment thread
sauravpanda marked this conversation as resolved.
},
"overrides": {
"shell-quote": "1.10.0",
"node-forge": "1.4.0",
"tar": "7.5.20",
"tar": "7.5.21",
"rollup": "4.62.2",
"js-yaml": "4.3.0",
"@babel/core": "7.29.6",
"ajv@6": "6.14.0",
"brace-expansion@1": "1.1.18",
"brace-expansion@2": "2.1.4",
"brace-expansion@5": "5.0.9",
"js-yaml": "4.3.1",
"minimatch@3": "3.1.5",
"minimatch@9": "9.0.9",
"minimatch@10": "10.2.5",
Expand All @@ -59,6 +64,7 @@
"tmp": "0.2.7",
"uuid": "11.1.1",
"vite": "6.4.3",
"nanoid": "3.3.18",
"postcss": "8.5.24",
"ws": "8.21.0"
}
Expand Down
6 changes: 3 additions & 3 deletions extension/src/entrypoints/background.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
// import { eventWithTime } from 'rrweb'; // Type not directly available
import { EventType, IncrementalSource } from "@rrweb/types";
import {
import type {
StoredCustomClickEvent,
StoredCustomInputEvent,
StoredCustomKeyEvent,
StoredEvent,
StoredRrwebEvent,
StoredExtractionEvent,
} from "../lib/types";
import {
import type {
ClickStep,
InputStep,
KeyPressStep,
Expand All @@ -18,7 +18,7 @@ import {
Workflow,
ExtractStep,
} from "../lib/workflow-types";
import {
import type {
HttpEvent,
HttpRecordingStartedEvent,
HttpRecordingStoppedEvent,
Expand Down
2 changes: 2 additions & 0 deletions extension/src/entrypoints/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ function getXPath(element: HTMLElement): string {
if (siblings) {
for (let i = 0; i < siblings.length; i++) {
const sibling = siblings[i];
if (!sibling) continue;
if (sibling === element) {
return `${getXPath(
element.parentElement as HTMLElement
Expand Down Expand Up @@ -744,6 +745,7 @@ function handleSelectChange(event: Event) {
const allOptions: Array<{text: string, value: string}> = [];
for (let i = 0; i < targetElement.options.length; i++) {
const option = targetElement.options[i];
if (!option) continue;
allOptions.push({
text: option.text.trim(),
value: option.value
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useEffect, useRef } from "react";
import {
import type {
ClickStep,
InputStep,
KeyPressStep,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React, {
createContext,
ReactNode,
useCallback,
useContext,
useEffect,
useState,
} from "react";
import { Workflow } from "../../../lib/workflow-types"; // Adjust path as needed
import type { ReactNode } from "react";
import type { Workflow } from "../../../lib/workflow-types";

type WorkflowState = {
workflow: Workflow | null;
Expand Down
2 changes: 1 addition & 1 deletion extension/src/lib/message-bus-types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Workflow } from "./workflow-types"; // Assuming Workflow is in this path
import type { Workflow } from "./workflow-types";

// Types for events sent via HTTP to the Python server

Expand Down
Loading
Loading