Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.
TypeScript adhdagent-orchestrationai-agentscanvasclaude-codecodexcoding-agentsdeveloper-toolselectrongeminilinuxmacosmultiplexeropencodeparallel-agentsterminalterminal-emulatorterminal-multiplexertmuxworkspace-manager
fix(glass): blur 15% less under terminal windows
iceclatterWT4e71032436a7
diff --git a/CLAUDE.md b/CLAUDE.mdindex a837acb84..79d543617 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -3892,7 +3892,8 @@ glass never sits over plain black; a wallpaper the user chose is never replaced.alpha right of it is higher — so Readable→Tinted keeps 4.5:1; left of the tick the row says theguarantee is off. Measured: chrome dark 0.20 / 0.70 / 0.95, chrome light 0.20 / 0.745 / 0.95,nodeterm-dark 0.20 / 0.675 / 0.95 (Clear / Readable / Tinted). App.tsx sets `--glass-t` (blur- 16→28px, saturation 200→145%) and `--glass-sheen`. **Refraction** is ONE shared SVG filter+ 16→28px on chrome and × 0.85 = 13.6→23.8px on terminal nodes via `--glass-term-blur`, saturation+ 200→145%) and `--glass-sheen`. **Refraction** is ONE shared SVG filter(`components/GlassRefraction.tsx`, `#nt-refract`: a 256² edge-lens displacement map generated once,`primitiveUnits="objectBoundingBox"` so one filter fits every element), referenced from`--glass-blur` as `url(#nt-refract)` — no per-node filters. Its scale is `0.06 × (1 − t)`; it movesdiff --git a/src/renderer/styles.css b/src/renderer/styles.cssindex de3db1fd6..33e3c326f 100644--- a/src/renderer/styles.css+++ b/src/renderer/styles.css@@ -13542,6 +13542,10 @@ body.focus-mode .dock:hover {--glass-refract: url(#nt-refract);--glass-blur: var(--glass-refract) blur(calc(16px + 12px * var(--glass-t)))saturate(calc(200% - 55% * var(--glass-t)));+ /* Terminal nodes frost 15% less than the chrome (the user asked for less blur under the terminal+ windows): same curve, radius × 0.85, same saturation and refraction. */+ --glass-term-blur: var(--glass-refract) blur(calc((16px + 12px * var(--glass-t)) * 0.85))+ saturate(calc(200% - 55% * var(--glass-t)));/* A diagonal light across the surface, strongest at the top-left rim. Painted as a backgroundlayer (under the content), and only left of the Readable tick: it lightens the surface, so itmay only appear where the contrast promise is already off. */@@ -13626,6 +13630,8 @@ body.focus-mode .dock:hover {top border and the colour dot are INLINE styles from `data.color`, hence !important. The dotstays as a neutral ring: it is also the button that opens the colour picker. */:root[data-nt-glass='on'] .term-node {+ -webkit-backdrop-filter: var(--glass-term-blur);+ backdrop-filter: var(--glass-term-blur);border-color: var(--glass-edge);border-top-width: 1px;border-top-color: var(--glass-edge) !important;@@ -13717,6 +13723,7 @@ body.focus-mode .dock:hover {@media (prefers-reduced-transparency: reduce) {:root[data-nt-glass='on'] {--glass-blur: none;+ --glass-term-blur: none;--glass-sheen: 0;--glass-sheen-image: none;}diff --git a/src/renderer/styles.palette.test.ts b/src/renderer/styles.palette.test.tsindex afe7cf8ca..97f825db9 100644--- a/src/renderer/styles.palette.test.ts+++ b/src/renderer/styles.palette.test.ts@@ -226,3 +226,15 @@ describe('needs-you under Liquid Glass is an inner light', () => {expect(reduced).toContain('animation: none')})})++describe('terminal glass blur', () => {+ it('terminal nodes frost 15% less than the chrome, and drop it under Reduce Transparency', () => {+ const glass = blocks(":root[data-nt-glass='on']")+ expect(glass.get('--glass-blur')).toContain('blur(calc(16px + 12px * var(--glass-t)))')+ expect(glass.get('--glass-term-blur')).toContain('blur(calc((16px + 12px * var(--glass-t)) * 0.85))')+ const rule = CSS.slice(CSS.indexOf(":root[data-nt-glass='on'] .term-node {\n"))+ expect(rule.slice(0, rule.indexOf('}'))).toContain('backdrop-filter: var(--glass-term-blur)')+ const reduce = CSS.slice(CSS.indexOf('@media (prefers-reduced-transparency: reduce) {'))+ expect(reduce.slice(0, reduce.indexOf('}'))).toMatch(/--glass-term-blur:\s*none/)+ })+})