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
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ updates:
# (43.1.1 produced stale-tile strips at the sidebar boundary on
# Windows). Bump manually and soak on real hardware first.
- dependency-name: "electron"
# Playwright upgrades change private injected engine source that is
# vendored for the desktop preview. Bump both packages together and
# regenerate the checked-in artifacts with vendor:playwright.
- dependency-name: "playwright"
- dependency-name: "playwright-core"
# effect core is patched (patches/effect@4.0.0-beta.97.patch and
# patches/@effect__platform-node-shared@4.0.0-beta.97.patch), and the
# effect beta packages must move in lockstep — bumping satellites alone
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@effect/vitest": "catalog:",
"@types/node": "catalog:",
"electron-builder": "^26.15.3",
"playwright-core": "^1.62.0",
"playwright-core": "^1.62.1",
"typescript": "catalog:",
"vite": "catalog:",
"vite-plus": "catalog:",
Expand Down
21 changes: 15 additions & 6 deletions apps/desktop/src/preview/vendor/playwrightInjected.js
Original file line number Diff line number Diff line change
Expand Up @@ -2789,6 +2789,9 @@ function runPlugins(snapshot, plugins, options) {
function isLeafGeneric(node) {
return node.role === "generic" && node.children.every((child) => typeof child === "string");
}
function isClickTargetRoot(node, ctx) {
return !!node.ref && hasPointerCursor(node) && !ctx.ancestors.some((ancestor) => !!ancestor.ref && hasPointerCursor(ancestor));
}
var mergeStringChildren = {
name: "mergeStringChildren",
exit(node) {
Expand Down Expand Up @@ -2818,15 +2821,18 @@ var mergeStringChildren = {
};
var unwrapSingleChildGenerics = {
name: "unwrapSingleChildGenerics",
exit(node) {
if (node.role === "generic" && !node.name && node.children.length <= 1 && node.children.every((child) => typeof child !== "string" && !!child.ref))
return "unwrap";
exit(node, ctx) {
if (node.role !== "generic" || node.name || node.children.length > 1 || !node.children.every((child) => typeof child !== "string" && !!child.ref))
return;
if (!node.children.length && isClickTargetRoot(node, ctx))
return;
return "unwrap";
}
};
var removeNamelessImages = {
name: "removeNamelessImages",
exit(node) {
if (node.role === "img" && !node.name && !node.children.length)
exit(node, ctx) {
if (node.role === "img" && !node.name && !node.children.length && !isClickTargetRoot(node, ctx))
return "remove";
}
};
Expand Down Expand Up @@ -2865,8 +2871,11 @@ var removeNameRepeatingChild = {
return;
const singleTextChild = node.children.length === 1 && typeof node.children[0] === "string" ? node.children[0] : void 0;
const text = node.name ? node.children.length ? void 0 : node.name : singleTextChild;
if (text && text === parent.name)
if (text && text === parent.name) {
if (node.ref)
ctx.pendingContentRefs.add(node.ref);
return "remove";
}
}
};
var inlineTextIntoGeneric = {
Expand Down
6 changes: 3 additions & 3 deletions apps/desktop/src/preview/vendor/playwrightInjected.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"playwrightCoreVersion": "1.62.0",
"playwrightCoreVersion": "1.62.1",
"modulePath": "packages/playwright-core/src/generated/injectedScriptSource.ts",
"bytes": 316337,
"sha256": "7584abc1379ea2cffc301df3d2c7956a6caa4b331a06812b18d1f5b362c43cd0"
"bytes": 316714,
"sha256": "fc43c7ab27d27b4e2241190a6f7a990089328dc95ca29785eb54ed59159f6315"
}
2 changes: 1 addition & 1 deletion apps/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@effect/platform-node": "catalog:",
"@effect/platform-node-shared": "catalog:",
"@effect/sql-sqlite-bun": "catalog:",
"@opencode-ai/sdk": "^1.18.10",
"@opencode-ai/sdk": "^1.18.11",
"@pierre/diffs": "catalog:",
"effect": "catalog:",
"node-pty": "^1.1.0"
Expand Down
8 changes: 4 additions & 4 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@
"@tailwindcss/vite": "^4.3.3",
"@tanstack/router-plugin": "^1.168.23",
"@types/babel__core": "^7.20.5",
"@types/react": "~19.2.14",
"@types/react-dom": "~19.2.3",
"@vitejs/plugin-react": "^6.0.4",
"@types/react": "~19.2.18",
"@types/react-dom": "~19.2.4",
"@vitejs/plugin-react": "^6.0.5",
"@vitest/browser-playwright": "catalog:",
"babel-plugin-react-compiler": "1.0.0",
"msw": "2.15.0",
"playwright": "^1.62.0",
"playwright": "^1.62.1",
"tailwindcss": "^4.3.3",
"typescript": "catalog:",
"vite": "catalog:",
Expand Down
4 changes: 2 additions & 2 deletions oxlint-plugin-threadlines/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
},
"dependencies": {
"@effect/platform-node": "catalog:",
"@oxlint/plugins": "^1.76.0",
"@oxlint/plugins": "^1.77.0",
"effect": "catalog:"
},
"devDependencies": {
"@effect/vitest": "catalog:",
"oxlint": "^1.76.0",
"oxlint": "^1.77.0",
"typescript": "catalog:",
"vite": "catalog:",
"vite-plus": "catalog:",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
},
"devDependencies": {
"@effect/tsgo": "catalog:",
"@oxlint/plugins": "^1.76.0",
"@oxlint/plugins": "^1.77.0",
"@types/node": "catalog:",
"@typescript/native-preview": "catalog:",
"vite": "catalog:",
Expand Down
Loading
Loading