Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

fix(build): remove CSS optimizer warnings

vastsa7ba5c6274f53
diff --git a/apps/desktop/src/styles/model-config.css b/apps/desktop/src/styles/model-config.css
index 0f16dd36c..a28fcec60 100644
--- a/apps/desktop/src/styles/model-config.css
+++ b/apps/desktop/src/styles/model-config.css
@@ -1624,6 +1624,7 @@
flex: none;
}
+/* A plugin-declared row lets the plugin provide its fields; a key entry belongs
to the plugin, so the user supplies only the key. */
.model-provider-key-entry {
display: flex;
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 63f104214..b12bbd857 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -5,6 +5,7 @@ settings:
excludeLinksFromLockfile: false
overrides:
+ '@tailwindcss/node>lightningcss': 1.33.0
dompurify@3: '>=3.4.13 <4'
brace-expansion@1: '>=1.1.17 <2'
brace-expansion@2: '>=2.1.4 <3'
@@ -64,7 +65,7 @@ importers:
version: link:../../packages/shared
'@tailwindcss/vite':
specifier: ^4.3.3
'@types/react':
specifier: ^19.2.18
version: 19.2.18
@@ -76,7 +77,7 @@ importers:
version: 8.18.1
'@vitejs/plugin-react':
specifier: ^4.6.0
dompurify:
specifier: '>=3.4.13 <4'
version: 3.4.13
@@ -88,7 +89,7 @@ importers:
electron-vite:
specifier: ^4.0.0
i18next:
specifier: ^26.3.6
version: 26.3.6([email protected])
@@ -145,7 +146,7 @@ importers:
version: 5.9.3
vite:
specifier: ^7.3.6
ws:
specifier: 8.21.1
version: 8.21.1
@@ -188,7 +189,7 @@ importers:
version: 5.9.3
vitest:
specifier: ^4.1.10
optionalDependencies:
node-pty:
specifier: 1.1.0
@@ -198,7 +199,7 @@ importers:
devDependencies:
vitepress:
specifier: ^1.6.4
packages/agent-host:
dependencies:
@@ -214,7 +215,7 @@ importers:
version: 5.9.3
vitest:
specifier: ^4.1.10
packages/agent-runtime:
dependencies:
@@ -251,7 +252,7 @@ importers:
version: 5.9.3
vitest:
specifier: ^4.1.10
packages/host-runtime:
dependencies:
@@ -273,7 +274,7 @@ importers:
version: 5.9.3
vitest:
specifier: ^4.1.10
packages/i18n:
devDependencies:
@@ -282,7 +283,7 @@ importers:
version: 5.9.3
vitest:
specifier: ^4.1.10
packages/plugin-devkit:
dependencies:
@@ -298,7 +299,7 @@ importers:
version: 5.9.3
vitest:
specifier: ^4.1.10
packages/plugin-sdk:
dependencies:
@@ -311,7 +312,7 @@ importers:
version: 5.9.3
vitest:
specifier: ^4.1.10
packages/racp:
dependencies:
@@ -339,7 +340,7 @@ importers:
version: 5.9.3
vitest:
specifier: ^4.1.10
packages/shared:
dependencies:
@@ -352,7 +353,7 @@ importers:
version: 5.9.3
vitest:
specifier: ^4.1.10
packages:
@@ -3070,78 +3071,78 @@ packages:
resolution: {integrity: sha512-0/BnGCCfyUMkBpeDgWihanIAF9JmZhHBgUhEqzvf+adhNGLoP6TaiI5oF8oyb3I45P+PcnrqihSf01M0l0G5+Q==}
- resolution: {integrity: sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==}
+ resolution: {integrity: sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==}
engines: {node: '>= 12.0.0'}
cpu: [arm64]
os: [android]
- resolution: {integrity: sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==}
+ resolution: {integrity: sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg==}
engines: {node: '>= 12.0.0'}
cpu: [arm64]
os: [darwin]
- resolution: {integrity: sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==}
+ resolution: {integrity: sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ==}
engines: {node: '>= 12.0.0'}
cpu: [x64]
os: [darwin]
- resolution: {integrity: sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==}
+ resolution: {integrity: sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg==}
engines: {node: '>= 12.0.0'}
cpu: [x64]
os: [freebsd]
- resolution: {integrity: sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==}
+ resolution: {integrity: sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ==}
engines: {node: '>= 12.0.0'}
cpu: [arm]
os: [linux]
- resolution: {integrity: sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==}
+ resolution: {integrity: sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg==}
engines: {node: '>= 12.0.0'}
cpu: [arm64]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==}
+ resolution: {integrity: sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ==}
engines: {node: '>= 12.0.0'}
cpu: [arm64]
os: [linux]
libc: [musl]
- resolution: {integrity: sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==}
+ resolution: {integrity: sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg==}
engines: {node: '>= 12.0.0'}
cpu: [x64]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==}
+ resolution: {integrity: sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw==}
engines: {node: '>= 12.0.0'}
cpu: [x64]
os: [linux]
libc: [musl]
- resolution: {integrity: sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==}
+ resolution: {integrity: sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA==}
engines: {node: '>= 12.0.0'}
cpu: [arm64]
os: [win32]
- resolution: {integrity: sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==}
+ resolution: {integrity: sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA==}
engines: {node: '>= 12.0.0'}
cpu: [x64]
os: [win32]
- resolution: {integrity: sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==}
+ resolution: {integrity: sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==}
engines: {node: '>= 12.0.0'}
@@ -5537,7 +5538,7 @@ snapshots:
'@jridgewell/remapping': 2.3.5
enhanced-resolve: 5.24.3
jiti: 2.7.0
- lightningcss: 1.32.0
+ lightningcss: 1.33.0
magic-string: 0.30.21
source-map-js: 1.2.1
tailwindcss: 4.3.3
@@ -5593,12 +5594,12 @@ snapshots:
'@tailwindcss/oxide-win32-arm64-msvc': 4.3.3
'@tailwindcss/oxide-win32-x64-msvc': 4.3.3
dependencies:
'@tailwindcss/node': 4.3.3
'@tailwindcss/oxide': 4.3.3
tailwindcss: 4.3.3
dependencies:
@@ -5833,7 +5834,7 @@ snapshots:
d3-selection: 3.0.0
d3-transition: 3.0.1([email protected])
dependencies:
'@babel/core': 7.29.7([email protected])
'@babel/plugin-transform-react-jsx-self': 7.29.7(@babel/[email protected]([email protected]))
@@ -5841,13 +5842,13 @@ snapshots:
'@rolldown/pluginutils': 1.0.0-beta.27
'@types/babel__core': 7.20.5
react-refresh: 0.17.0
transitivePeerDependencies:
- supports-color
dependencies:
vue: 3.5.41([email protected])
'@vitest/[email protected]':
@@ -5859,13 +5860,13 @@ snapshots:
chai: 6.2.2
tinyrainbow: 3.1.0
dependencies:
'@vitest/spy': 4.1.10
estree-walker: 3.0.3
magic-string: 0.30.21
optionalDependencies:
'@vitest/[email protected]':
dependencies:
@@ -6616,7 +6617,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@babel/core': 7.29.7([email protected])
'@babel/plugin-transform-arrow-functions': 7.29.7(@babel/[email protected]([email protected]))
@@ -6624,7 +6625,7 @@ snapshots:
esbuild: 0.25.12
magic-string: 0.30.21
picocolors: 1.1.1
transitivePeerDependencies:
- supports-color
@@ -7313,54 +7314,54 @@ snapshots:
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
dependencies:
detect-libc: 2.1.2
optionalDependencies:
- lightningcss-android-arm64: 1.32.0
- lightningcss-darwin-arm64: 1.32.0
- lightningcss-darwin-x64: 1.32.0
- lightningcss-freebsd-x64: 1.32.0
- lightningcss-linux-arm-gnueabihf: 1.32.0
- lightningcss-linux-arm64-gnu: 1.32.0
- lightningcss-linux-arm64-musl: 1.32.0
- lightningcss-linux-x64-gnu: 1.32.0
- lightningcss-linux-x64-musl: 1.32.0
- lightningcss-win32-arm64-msvc: 1.32.0
- lightningcss-win32-x64-msvc: 1.32.0
+ lightningcss-android-arm64: 1.33.0
+ lightningcss-darwin-arm64: 1.33.0
+ lightningcss-darwin-x64: 1.33.0
+ lightningcss-freebsd-x64: 1.33.0
+ lightningcss-linux-arm-gnueabihf: 1.33.0
+ lightningcss-linux-arm64-gnu: 1.33.0
+ lightningcss-linux-arm64-musl: 1.33.0
+ lightningcss-linux-x64-gnu: 1.33.0
+ lightningcss-linux-x64-musl: 1.33.0
+ lightningcss-win32-arm64-msvc: 1.33.0
+ lightningcss-win32-x64-msvc: 1.33.0
@@ -8561,7 +8562,7 @@ snapshots:
'@types/unist': 3.0.3
vfile-message: 4.0.3
dependencies:
esbuild: 0.25.12
fdir: 6.5.0([email protected])
@@ -8573,10 +8574,10 @@ snapshots:
'@types/node': 24.13.3
fsevents: 2.3.3
jiti: 2.7.0
- lightningcss: 1.32.0
+ lightningcss: 1.33.0
yaml: 2.9.0
dependencies:
esbuild: 0.28.1
fdir: 6.5.0([email protected])
@@ -8588,10 +8589,10 @@ snapshots:
'@types/node': 24.13.3
fsevents: 2.3.3
jiti: 2.7.0
- lightningcss: 1.32.0
+ lightningcss: 1.33.0
yaml: 2.9.0
dependencies:
'@docsearch/css': 3.8.2
'@docsearch/js': 3.8.2(@algolia/[email protected])([email protected])
@@ -8600,7 +8601,7 @@ snapshots:
'@shikijs/transformers': 2.5.0
'@shikijs/types': 2.5.0
'@types/markdown-it': 14.1.2
'@vue/devtools-api': 7.7.10
'@vue/shared': 3.5.41
'@vueuse/core': 12.8.2([email protected])
@@ -8609,7 +8610,7 @@ snapshots:
mark.js: 8.11.1
minisearch: 7.2.0
shiki: 2.5.0
vue: 3.5.41([email protected])
optionalDependencies:
postcss: 8.5.26
@@ -8644,10 +8645,10 @@ snapshots:
- universal-cookie
- yaml
dependencies:
'@vitest/expect': 4.1.10
'@vitest/pretty-format': 4.1.10
'@vitest/runner': 4.1.10
'@vitest/snapshot': 4.1.10
@@ -8664,7 +8665,7 @@ snapshots:
tinyexec: 1.2.4
tinyglobby: 0.2.17
tinyrainbow: 3.1.0
why-is-node-running: 2.3.0
optionalDependencies:
'@opentelemetry/api': 1.9.0
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 48ce60f38..dff0ad25d 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -17,6 +17,10 @@ allowBuilds:
# version. Drop each one once its parent ships a release that resolves the
# patched version on its own.
overrides:
+ # Tailwind's CSS optimizer in 4.3.3 emits a false warning for the valid
+ # Custom Highlight API selector `::highlight()`. The parser fix ships in
+ # lightningcss 1.33.0.
+ '@tailwindcss/node>lightningcss': 1.33.0
# Ships in the app. mermaid allows ^3.3.3 but resolves its own copy, so the
# renderer would load an unpatched sanitizer next to our patched one.
dompurify@3: '>=3.4.13 <4' # detached-subtree XSS, via mermaid