Repository navigation
Releases
Releases Β· andriuspetravicius/Deckcord
v1.0.9
Changelog
- Restored Deckcord loading on current SteamUI/Decky setups by retrying Discord BrowserView creation and tolerating stale backend/client transports.
- Fixed Steam left sidebar injection so Discord appears again even after SteamUI navigation tree changes.
- Hardened the DOM fallback menu injection so observer/interval retries cannot throw uncaught
insertBeforeerrors. - Added safer Discord client websocket handling for state, media, request/response, and CDP reconnect paths.
Validation
- Built frontend with
pnpm run build. - Type checked with
pnpm exec tsc --noEmit --skipLibCheck. - Checked Python syntax with
python3 -m compileall -q main.py defaults. - Verified on a Steam Deck via SSH: Decky loaded Deckcord, the backend stayed running, and the Steam left menu showed one Discord item without the previous
insertBeforeexecution error.
v1.0.8
Changelog
- Status bar (clock / battery / wifi) now stays visible on top of Discord while the Discord tab is open. A CSS override forces the Big Picture status-bar container back into view instead of letting SteamUI hide it on custom plugin routes.
- On-screen keyboard now uses the
m_refKeyboardAPI directly (SetAsCurrentVirtualKeyboardTarget+ShowVirtualKeyboard). Blurs the currently-focused Steam UI input (e.g. library search) before showing the OSK so text reliably routes to the Discord chat box. - Fixed backend
AttributeError: 'str' object has no attribute 'prepare'being logged on every OSK request β the/openkbhandler now returns a properaiohttp.web.Response.
Known tradeoff
- Steam's side menus do not render a blur overlay over custom plugin BrowserViews β they are solid black by design. Sidebar overlays on top without blur.
v1.0.7
Changelog
- Fix: Steam status bar and side menus now overlay on top of the Discord BrowserView (with native blur) instead of hiding behind it. Discord no longer shifts right when the left menu opens.
- Fix: On-screen keyboard now reliably routes key input to the Discord chat box instead of the Steam library search. Blurs Steam's focused input, raises the BrowserView, fires NotifyUserActivation, and re-asserts focus before showing the OSK.
v1.0.6
Changelog
- Improved Steam side menu behavior by resizing/repositioning the Discord BrowserView instead of hiding it, so Discord remains visible when menus are open.
- Fixed on-screen keyboard routing by forcing BrowserView focus before opening the keyboard, preventing input from going to Steam's library search.
- Updated editable-tap handling to always trigger backend OSK opening for more reliable text input in Discord fields.
Fix
- Rebuilt release zip with
dist/index.jsincluded; previous v1.0.6 asset was missing and causedTypeError: Failed to fetch dynamically imported moduleon load.
v1.0.5
Deckcord v1.0.4
What's New
ποΈ In-BrowserView File Picker
- Native
kdialogreplaced with a custom file picker overlay rendered inside Discord - Quick-access folders: πΈ Screenshots, πΌοΈ Pictures, π₯ Downloads, π Home
- Browse directories, select files, auto-injected into Discord upload via DataTransfer API
β¨οΈ Keyboard Fix
- Fixed keyboard closing while typing β tracks
_activeEditableElementso React re-renders during typing no longer trigger blur
π Security Hardening
- Server now binds to
127.0.0.1(was0.0.0.0β no longer exposed on network) - Path traversal protection: file picker restricted to home directory
- XSS prevention: file/folder names rendered via
textContentnotinnerHTML - 50MB file size limit on uploads to prevent OOM
π Bug Fixes
- Fix
@classmethodparameter (selfβcls) inUser.from_vc - Fix file handle leak in
setup_discord_tab(Path.read_text()) - Fix
StoreAccess.requestsmemory leak (cleanup after response) - Fix
voicestatesKeyError crash on channel select - Fix
useLayoutEffectmissing dependency array in DiscordTab - Replace bare
except:withexcept Exception:+ logging - Move
cmd_idfrom class to instance variable (prevents Tab ID collision) - Remove unused imports
v0.4.0 β SteamOS Compatibility Fix
What's Changed
Root Cause Fix
- BrowserView creation moved from Python backend to TypeScript frontend β the old approach evaluated JS in SharedJSContext via CDP to access
Router.WindowStore.GamepadUIMainWindowInstance, butRouteris not a global in SharedJSContext. It only works in the Decky frontend context via@decky/ui. - The frontend now creates the BrowserView using
Routerfrom@decky/ui, then tells the backend to find and instrument the tab via CDP.
Migration to Latest Decky API
- Migrated from
decky-frontend-libv3 β@decky/apiv1.1 +@decky/uiv4.11 - Updated
definePluginreturn shape (name+titleView) - Fixed event listener cleanup bug (was never actually unsubscribing)
Vencord Fixes
- Replaced hardcoded
wreq(799808)for Go Live withfindByPropsdynamic lookup - Fixed
DeckyPluginLoader.toasterβDECKCORD.dispatchNotification
Build Modernization
- Upgraded rollup v2 β v4, TypeScript v4 β v5, React types v16 β v19
Installation
- Download
Deckcord.zipbelow - Extract to
~/homebrew/plugins/on your Steam Deck (unzip Deckcord.zip -d ~/homebrew/plugins/) - Restart Decky Loader:
sudo systemctl restart plugin_loader