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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
},
"devDependencies": {
"esbuild": "^0.28.1",
"prettier": "^3.8.4",
"prettier": "^3.9.3",
"tsup": "^8.3.5",
"tsx": "^4.22.4",
"typescript": "^6.0.3"
Expand Down
2 changes: 1 addition & 1 deletion packages/extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"tw-animate-css": "^1.3.4",
"typescript": "^6.0.3",
"vitest": "^4.1.9",
"wxt": "0.20.26"
"wxt": "0.20.27"
},
"packageManager": "pnpm@9.0.0"
}
3 changes: 1 addition & 2 deletions packages/extension/src/background/ExtensionBrowser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ interface ActionResult {
}

type MetadataScriptResult<T> =
| { success: true; data: T }
| { success: false; error: string; errorType?: "invalid-ref" };
{ success: true; data: T } | { success: false; error: string; errorType?: "invalid-ref" };

interface AriaSnapshotWindow {
generateAndRenderAriaTree: (root: Element, counter?: { value: number }) => string;
Expand Down
3 changes: 1 addition & 2 deletions packages/extension/src/background/indicatorControl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ let tabsUpdatedListener:
) => void)
| null = null;
let webNavCommittedListener:
| ((details: browser.WebNavigation.OnCommittedDetailsType) => void)
| null = null;
((details: browser.WebNavigation.OnCommittedDetailsType) => void) | null = null;
let tabRemovedListener: ((tabId: number) => void) | null = null;

// CSS for the indicator - injected programmatically for reliability
Expand Down
4 changes: 2 additions & 2 deletions packages/extension/test/background/indicatorControl.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ describe("indicatorControl", () => {

describe("navigation listener", () => {
let capturedTabsListener:
| ((tabId: number, changeInfo: { status?: string }, tab: { id?: number }) => void)
| null = null;
((tabId: number, changeInfo: { status?: string }, tab: { id?: number }) => void) | null =
null;
let capturedWebNavListener: ((details: { tabId: number; frameId: number }) => void) | null =
null;

Expand Down
11 changes: 2 additions & 9 deletions packages/server/src/taskRunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,7 @@ export interface PiloTaskRequest {

// AI configuration overrides
provider?:
| "openai"
| "openrouter"
| "vertex"
| "ollama"
| "openai-compatible"
| "lmstudio"
| "google";
"openai" | "openrouter" | "vertex" | "ollama" | "openai-compatible" | "lmstudio" | "google";
model?: string;
openaiApiKey?: string;
openrouterApiKey?: string;
Expand Down Expand Up @@ -334,8 +328,7 @@ export async function runTask(options: TaskRunnerOptions): Promise<TaskExecution
blockAds: body.blockAds ?? serverConfig.block_ads,
blockResources: (body.blockResources ??
(serverConfig.block_resources ? serverConfig.block_resources.split(",") : undefined)) as
| Array<"image" | "stylesheet" | "font" | "media" | "manifest">
| undefined,
Array<"image" | "stylesheet" | "font" | "media" | "manifest"> | undefined,
pwEndpoint: body.pwEndpoint ?? serverConfig.pw_endpoint,
pwCdpEndpoint: body.pwCdpEndpoint ?? serverConfig.pw_cdp_endpoint,
pwCdpEndpoints:
Expand Down
649 changes: 379 additions & 270 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

Loading