fix: improve Windows UX and stabilize chat/session behavior across runtimes (#693)
* fix: preserve unsent prompt when adding editor context in VS Code * fix: append Add to chat selections as markdown blocks with stable spacing Convert selected assistant content to markdown before appending Wrap each Add to chat selection in an `md` fenced block Preserve multiline composer formatting across repeated appends * fix: normalize persisted Windows paths to prevent identity mismatches * fix: hide Windows subprocess console popups across server tasks Hide OpenCode startup and shell command child windows in the web server Apply windowsHide to cloudflared and skills-catalog git subprocesses Cover remaining git service exec paths that could surface console windows * fix: restore chat auto re-pin when reaching bottom Re-pin now triggers when scrolling back into the bottom zone, not only via the button. Upward user scroll intent still unpins immediately and is not overridden by re-pin. Unified bottom/re-pin threshold logic to reduce sensitivity mismatches. * fix: restore chat scroll release on mobile during streaming Restores pinned-scroll release on touch scroll up so mobile users can leave auto-follow while streaming. Improves re-pin behavior near bottom to avoid sticky or inconsistent pin states. Includes related chat UI and dependency updates in the same change set. * fix: hide daemon startup probe consoles on Windows * fix: prevent pinned scroll tug-of-war during streaming * fix: prefer git.exe to avoid Windows diff popup flashes * fix: prefer git.exe discovery in Windows git flows * fix: avoid where probes in Windows git resolution * fix: avoid update-check subprocess flashes on Windows * fix: normalize read file path labels * feat: add OpenChamber defaults and improve theme ports Add new OpenChamber light and dark themes Regenerate imported themes with stronger surface mapping Set OpenChamber themes as the default top options * fix: stabilize chat pin and unpin behavior during streaming Restores reliable unpin on upward wheel and touch gestures while auto-follow is active. Prevents immediate re-pin while the user is actively scrolling upward near the bottom. Keeps smooth follow-to-bottom behavior while reducing scroll tug-of-war. * fix: suppress Windows command popups in VSCode runtime processes Hide spawned git and server process windows in VS Code runtime Extend hidden-window handling to server port cleanup and reveal commands Keep behavior unchanged on non-Windows platforms
This commit is contained in:
committed by
GitHub
parent
a07c068b66
commit
3123de5f43
@@ -2,79 +2,81 @@
|
||||
"metadata": {
|
||||
"id": "vercel-dark",
|
||||
"name": "Vercel",
|
||||
"description": "Port of OpenCode Vercel theme (dark variant)",
|
||||
"description": "Ported from OpenCode Vercel theme (dark variant)",
|
||||
"author": "OpenCode",
|
||||
"version": "1.0.0",
|
||||
"variant": "dark",
|
||||
"tags": [
|
||||
"dark",
|
||||
"opencode",
|
||||
"ported",
|
||||
"vercel"
|
||||
]
|
||||
},
|
||||
"colors": {
|
||||
"primary": {
|
||||
"base": "#0164db",
|
||||
"base": "#0070F3",
|
||||
"hover": "#207dfc",
|
||||
"active": "#207dfc",
|
||||
"active": "#2280d6",
|
||||
"foreground": "#ffffff",
|
||||
"muted": "#0164db80",
|
||||
"emphasis": "#207dfc"
|
||||
"muted": "#0070F380",
|
||||
"emphasis": "#b6d7fc"
|
||||
},
|
||||
"surface": {
|
||||
"background": "#000000",
|
||||
"foreground": "#ededed",
|
||||
"muted": "#0f0f0f",
|
||||
"muted": "#000000",
|
||||
"mutedForeground": "#878787",
|
||||
"elevated": "#090909",
|
||||
"elevatedForeground": "#ededed",
|
||||
"overlay": "#00000080",
|
||||
"overlay": "#000000cc",
|
||||
"subtle": "#171717"
|
||||
},
|
||||
"interactive": {
|
||||
"border": "#3f3f3f",
|
||||
"borderHover": "#484848",
|
||||
"borderFocus": "#0e4374",
|
||||
"selection": "#063056",
|
||||
"selectionForeground": "#ffffff",
|
||||
"focus": "#0e4374",
|
||||
"focusRing": "#0e437459",
|
||||
"cursor": "#ededed",
|
||||
"hover": "#171717",
|
||||
"active": "#171717"
|
||||
"borderFocus": "#2280d6",
|
||||
"selection": "#ededed1f",
|
||||
"selectionForeground": "#ededed",
|
||||
"focus": "#2280d6",
|
||||
"focusRing": "#2280d661",
|
||||
"cursor": "#fdfdfd",
|
||||
"hover": "#ededed17",
|
||||
"active": "#ededed1f"
|
||||
},
|
||||
"status": {
|
||||
"error": "#c41e2f",
|
||||
"errorForeground": "#ffffff",
|
||||
"error": "#E5484D",
|
||||
"errorForeground": "#151313",
|
||||
"errorBackground": "#5b0710",
|
||||
"errorBorder": "#7b101b",
|
||||
"warning": "#c37018",
|
||||
"warningForeground": "#ffffff",
|
||||
"warning": "#FFB224",
|
||||
"warningForeground": "#151313",
|
||||
"warningBackground": "#412900",
|
||||
"warningBorder": "#593b03",
|
||||
"success": "#148434",
|
||||
"successForeground": "#ffffff",
|
||||
"success": "#46A758",
|
||||
"successForeground": "#151313",
|
||||
"successBackground": "#023a12",
|
||||
"successBorder": "#08501d",
|
||||
"info": "#2280d6",
|
||||
"infoForeground": "#ffffff",
|
||||
"info": "#52A8FF",
|
||||
"infoForeground": "#151313",
|
||||
"infoBackground": "#063056",
|
||||
"infoBorder": "#0e4374"
|
||||
},
|
||||
"pr": {
|
||||
"open": "#148434",
|
||||
"open": "#46A758",
|
||||
"draft": "#878787",
|
||||
"blocked": "#c37018",
|
||||
"merged": "#F75590",
|
||||
"closed": "#c41e2f"
|
||||
"blocked": "#FFB224",
|
||||
"merged": "#F2A700",
|
||||
"closed": "#E5484D"
|
||||
},
|
||||
"syntax": {
|
||||
"base": {
|
||||
"background": "#0f0f0f",
|
||||
"background": "#090909",
|
||||
"foreground": "#ededed",
|
||||
"comment": "#878787",
|
||||
"keyword": "#F75590",
|
||||
"string": "#63C46D",
|
||||
"number": "#BF7AF0",
|
||||
"number": "#F2A700",
|
||||
"function": "#0AC7AC",
|
||||
"variable": "#52A8FF",
|
||||
"type": "#0AC7AC",
|
||||
@@ -82,7 +84,7 @@
|
||||
},
|
||||
"tokens": {
|
||||
"commentDoc": "#878787",
|
||||
"stringEscape": "#F2A700",
|
||||
"stringEscape": "#ededed",
|
||||
"keywordImport": "#F75590",
|
||||
"storageModifier": "#F75590",
|
||||
"functionCall": "#0AC7AC",
|
||||
@@ -90,7 +92,7 @@
|
||||
"variableProperty": "#0AC7AC",
|
||||
"variableOther": "#52A8FF",
|
||||
"variableGlobal": "#F2A700",
|
||||
"variableLocal": "#878787",
|
||||
"variableLocal": "#EDEDED",
|
||||
"parameter": "#52A8FF",
|
||||
"constant": "#F2A700",
|
||||
"class": "#0AC7AC",
|
||||
@@ -99,38 +101,65 @@
|
||||
"struct": "#0AC7AC",
|
||||
"enum": "#0AC7AC",
|
||||
"typeParameter": "#0AC7AC",
|
||||
"namespace": "#F75590",
|
||||
"namespace": "#0AC7AC",
|
||||
"module": "#F75590",
|
||||
"tag": "#F75590",
|
||||
"jsxTag": "#F75590",
|
||||
"tagAttribute": "#0AC7AC",
|
||||
"tagAttributeValue": "#63C46D",
|
||||
"boolean": "#BF7AF0",
|
||||
"boolean": "#F2A700",
|
||||
"decorator": "#F75590",
|
||||
"label": "#F75590",
|
||||
"label": "#0AC7AC",
|
||||
"punctuation": "#EDEDED",
|
||||
"macro": "#F75590",
|
||||
"preprocessor": "#F75590",
|
||||
"regex": "#ededed",
|
||||
"url": "#52A8FF",
|
||||
"url": "#b6d7fc",
|
||||
"key": "#0AC7AC",
|
||||
"exception": "#c41e2f"
|
||||
"exception": "#E5484D"
|
||||
},
|
||||
"highlights": {
|
||||
"diffAdded": "#38fc61",
|
||||
"diffAddedBackground": "#001402",
|
||||
"diffRemoved": "#f22942",
|
||||
"diffRemovedBackground": "#240103",
|
||||
"diffAddedBackground": "#001d04",
|
||||
"diffRemoved": "#fbc4c1",
|
||||
"diffRemovedBackground": "#310206",
|
||||
"diffModified": "#fdd8a4",
|
||||
"diffModifiedBackground": "#161e27",
|
||||
"diffModifiedBackground": "#0a0d11",
|
||||
"lineNumber": "#646464",
|
||||
"lineNumberActive": "#ededed"
|
||||
}
|
||||
},
|
||||
"header": {
|
||||
"background": "#000000",
|
||||
"foreground": "#ededed",
|
||||
"border": "#3f3f3f",
|
||||
"icon": "#848484",
|
||||
"hover": "#171717"
|
||||
},
|
||||
"sidebar": {
|
||||
"background": "#000000",
|
||||
"foreground": "#878787",
|
||||
"border": "#3f3f3f",
|
||||
"icon": "#080808",
|
||||
"hover": "#171717",
|
||||
"active": "#063056",
|
||||
"accent": "#0070F3",
|
||||
"accentForeground": "#ffffff"
|
||||
},
|
||||
"chat": {
|
||||
"background": "#000000",
|
||||
"userMessage": "#ededed",
|
||||
"userMessageBackground": "#0f0f0f",
|
||||
"assistantMessage": "#ededed",
|
||||
"assistantMessageBackground": "#000000",
|
||||
"timestamp": "#646464",
|
||||
"divider": "#2c2c2c",
|
||||
"typing": "#878787"
|
||||
},
|
||||
"markdown": {
|
||||
"heading1": "#BF7AF0",
|
||||
"heading2": "#BF7AF0",
|
||||
"heading3": "#ededed",
|
||||
"heading3": "#fdfdfd",
|
||||
"heading4": "#ededed",
|
||||
"link": "#52A8FF",
|
||||
"linkHover": "#0AC7AC",
|
||||
@@ -138,30 +167,242 @@
|
||||
"inlineCodeBackground": "#0f0f0f",
|
||||
"blockquote": "#878787",
|
||||
"blockquoteBorder": "#3f3f3f",
|
||||
"listMarker": "#EDEDED99"
|
||||
},
|
||||
"chat": {
|
||||
"userMessage": "#ededed",
|
||||
"userMessageBackground": "#063056",
|
||||
"assistantMessage": "#ededed",
|
||||
"assistantMessageBackground": "#000000",
|
||||
"timestamp": "#878787",
|
||||
"divider": "#3f3f3f"
|
||||
"listMarker": "#EDEDED99",
|
||||
"bold": "#F75590",
|
||||
"italic": "#F2A700",
|
||||
"strikethrough": "#878787",
|
||||
"hr": "#454545"
|
||||
},
|
||||
"tools": {
|
||||
"background": "#0f0f0f80",
|
||||
"border": "#3f3f3fb3",
|
||||
"headerHover": "#17171780",
|
||||
"icon": "#878787",
|
||||
"background": "#0f0f0f",
|
||||
"border": "#2c2c2c",
|
||||
"headerHover": "#171717",
|
||||
"icon": "#080808",
|
||||
"title": "#ededed",
|
||||
"description": "#878787",
|
||||
"edit": {
|
||||
"added": "#38fc61",
|
||||
"addedBackground": "#001402",
|
||||
"addedBackground": "#001d04",
|
||||
"removed": "#f22942",
|
||||
"removedBackground": "#240103",
|
||||
"removedBackground": "#310206",
|
||||
"modified": "#fdd8a4",
|
||||
"modifiedBackground": "#0a0d11",
|
||||
"lineNumber": "#646464"
|
||||
},
|
||||
"bash": {
|
||||
"background": "#090909",
|
||||
"foreground": "#ededed",
|
||||
"info": "#52A8FF",
|
||||
"warning": "#FFB224",
|
||||
"error": "#E5484D"
|
||||
},
|
||||
"lsp": {
|
||||
"background": "#090909",
|
||||
"foreground": "#ededed",
|
||||
"info": "#52A8FF",
|
||||
"warning": "#FFB224",
|
||||
"error": "#E5484D"
|
||||
}
|
||||
},
|
||||
"forms": {
|
||||
"inputBackground": "#000000",
|
||||
"inputForeground": "#ededed",
|
||||
"inputBorder": "#2c2c2c",
|
||||
"inputBorderHover": "#353535",
|
||||
"inputBorderFocus": "#2280d6",
|
||||
"inputPlaceholder": "#646464",
|
||||
"inputDisabled": "#010101",
|
||||
"inputSelection": "#065ca1",
|
||||
"label": "#878787",
|
||||
"helperText": "#646464"
|
||||
},
|
||||
"buttons": {
|
||||
"primary": {
|
||||
"bg": "#0070F3",
|
||||
"fg": "#ffffff",
|
||||
"border": "#0e4374",
|
||||
"hover": "#207dfc",
|
||||
"active": "#2280d6",
|
||||
"disabled": "#353535"
|
||||
},
|
||||
"secondary": {
|
||||
"bg": "#090909",
|
||||
"fg": "#ededed",
|
||||
"border": "#3f3f3f",
|
||||
"hover": "#0f0f0f",
|
||||
"active": "#171717",
|
||||
"disabled": "#010101"
|
||||
},
|
||||
"ghost": {
|
||||
"bg": "#00000000",
|
||||
"fg": "#ededed",
|
||||
"border": "#00000000",
|
||||
"hover": "#0f0f0f",
|
||||
"active": "#171717",
|
||||
"disabled": "#646464"
|
||||
},
|
||||
"destructive": {
|
||||
"bg": "#E5484D",
|
||||
"fg": "#151313",
|
||||
"border": "#7b101b",
|
||||
"hover": "#7b101b",
|
||||
"active": "#c41e2f",
|
||||
"disabled": "#010101"
|
||||
}
|
||||
},
|
||||
"modal": {
|
||||
"background": "#090909",
|
||||
"foreground": "#ededed",
|
||||
"border": "#3f3f3f",
|
||||
"overlay": "#000000d6"
|
||||
},
|
||||
"popover": {
|
||||
"background": "#090909",
|
||||
"foreground": "#ededed",
|
||||
"border": "#3f3f3f",
|
||||
"shadow": "0 18px 48px rgba(0, 0, 0, 0.45)"
|
||||
},
|
||||
"commandPalette": {
|
||||
"background": "#090909",
|
||||
"foreground": "#ededed",
|
||||
"border": "#3f3f3f",
|
||||
"inputBackground": "#000000",
|
||||
"selectedBackground": "#063056",
|
||||
"selectedForeground": "#ededed",
|
||||
"muted": "#878787"
|
||||
},
|
||||
"fileAttachment": {
|
||||
"background": "#0f0f0f",
|
||||
"foreground": "#ededed",
|
||||
"border": "#2c2c2c",
|
||||
"icon": "#080808",
|
||||
"removeHover": "#5b0710"
|
||||
},
|
||||
"sessions": {
|
||||
"background": "#000000",
|
||||
"foreground": "#ededed",
|
||||
"mutedForeground": "#878787",
|
||||
"border": "#222222",
|
||||
"hover": "#171717",
|
||||
"active": "#063056"
|
||||
},
|
||||
"modelSelector": {
|
||||
"background": "#090909",
|
||||
"foreground": "#ededed",
|
||||
"border": "#3f3f3f",
|
||||
"selectedBackground": "#063056",
|
||||
"selectedForeground": "#ededed"
|
||||
},
|
||||
"permissions": {
|
||||
"background": "#090909",
|
||||
"foreground": "#ededed",
|
||||
"border": "#3f3f3f",
|
||||
"allow": "#46A758",
|
||||
"allowBackground": "#023a12",
|
||||
"deny": "#E5484D",
|
||||
"denyBackground": "#5b0710"
|
||||
},
|
||||
"loading": {
|
||||
"spinner": "#0070F3",
|
||||
"spinnerTrack": "#171717",
|
||||
"skeleton": "#0f0f0f",
|
||||
"shimmer": "#171717"
|
||||
},
|
||||
"scrollbar": {
|
||||
"track": "transparent",
|
||||
"thumb": "#ededed33",
|
||||
"thumbHover": "#ededed57"
|
||||
},
|
||||
"badges": {
|
||||
"default": {
|
||||
"bg": "#0f0f0f",
|
||||
"fg": "#ededed",
|
||||
"border": "#2c2c2c"
|
||||
},
|
||||
"info": {
|
||||
"bg": "#063056",
|
||||
"fg": "#52A8FF",
|
||||
"border": "#0e4374"
|
||||
},
|
||||
"success": {
|
||||
"bg": "#023a12",
|
||||
"fg": "#46A758",
|
||||
"border": "#08501d"
|
||||
},
|
||||
"warning": {
|
||||
"bg": "#412900",
|
||||
"fg": "#FFB224",
|
||||
"border": "#593b03"
|
||||
},
|
||||
"error": {
|
||||
"bg": "#5b0710",
|
||||
"fg": "#E5484D",
|
||||
"border": "#7b101b"
|
||||
}
|
||||
},
|
||||
"toast": {
|
||||
"background": "#090909",
|
||||
"foreground": "#ededed",
|
||||
"border": "#3f3f3f",
|
||||
"success": {
|
||||
"background": "#023a12",
|
||||
"foreground": "#46A758",
|
||||
"border": "#08501d"
|
||||
},
|
||||
"warning": {
|
||||
"background": "#412900",
|
||||
"foreground": "#FFB224",
|
||||
"border": "#593b03"
|
||||
},
|
||||
"error": {
|
||||
"background": "#5b0710",
|
||||
"foreground": "#E5484D",
|
||||
"border": "#7b101b"
|
||||
},
|
||||
"info": {
|
||||
"background": "#063056",
|
||||
"foreground": "#52A8FF",
|
||||
"border": "#0e4374"
|
||||
}
|
||||
},
|
||||
"emptyState": {
|
||||
"icon": "#878787",
|
||||
"title": "#ededed",
|
||||
"description": "#878787",
|
||||
"border": "#222222"
|
||||
},
|
||||
"table": {
|
||||
"border": "#222222",
|
||||
"headerBackground": "#090909",
|
||||
"headerForeground": "#ededed",
|
||||
"rowHover": "#171717",
|
||||
"rowSelected": "#063056"
|
||||
},
|
||||
"charts": {
|
||||
"series": [
|
||||
"#0070F3",
|
||||
"#52A8FF",
|
||||
"#46A758",
|
||||
"#FFB224",
|
||||
"#E5484D"
|
||||
]
|
||||
},
|
||||
"a11y": {
|
||||
"focusRing": "#2280d6",
|
||||
"selection": "#063056",
|
||||
"highContrast": false
|
||||
},
|
||||
"shadows": {
|
||||
"sm": "0 2px 8px rgba(0, 0, 0, 0.22)",
|
||||
"md": "0 12px 32px rgba(0, 0, 0, 0.32)",
|
||||
"lg": "0 24px 56px rgba(0, 0, 0, 0.42)",
|
||||
"focus": "0 0 0 3px #52A8FF59"
|
||||
},
|
||||
"animation": {
|
||||
"fast": "150ms ease",
|
||||
"normal": "250ms ease",
|
||||
"slow": "350ms ease",
|
||||
"emphasis": "450ms cubic-bezier(0.2, 0.8, 0.2, 1)"
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
@@ -178,6 +419,13 @@
|
||||
"xl": "0.75rem",
|
||||
"full": "9999px"
|
||||
},
|
||||
"spacing": {
|
||||
"xs": "0.25rem",
|
||||
"sm": "0.5rem",
|
||||
"md": "0.75rem",
|
||||
"lg": "1rem",
|
||||
"xl": "1.5rem"
|
||||
},
|
||||
"transitions": {
|
||||
"fast": "150ms ease",
|
||||
"normal": "250ms ease",
|
||||
|
||||
Reference in New Issue
Block a user