dsh-at-file
FSMargoo/dsh-at-fileCodex 风格的 `@file` 文件引用,输入框里直接搜索并引用工作区文件。
Web UI 移动端布局修复:窄屏下设置面板全屏化、插件导航单行排满、侧边栏全屏、弹层居中、会话日志按钮图标化。
English | 简体中文
Mobile layout fixes for the DeepSeek Harness Web UI.
A pure client-side CSS overlay that repairs the worst mobile breakages on narrow (≤700px viewport) screens, without touching any product source:
The plugin ships a browser half (exports["./client"], declared via dsh.client.platform: "web"), discovered by the client-modules scanner and loaded from the boot manifest. It injects one <style> tag with @media (max-width: 700px) overrides targeting the product's stable data-slot attributes, and removes the tag on unload — fully reversible.
dsh --profile web), any recent 0.1.x releaseJust send this repository link directly to your DSH web chat and say:
"Install this plugin for me: https://github.com/AcidGr/dsh-web-mobile-fix"
Your DSH coding agent will automatically execute the installation command and set everything up for you.
Install from npm:
dsh plugin --profile web add dsh-web-mobile-fix
(Or install directly from GitHub:
dsh plugin --profile web add github:AcidGr/dsh-web-mobile-fix
)
After installation, simply refresh your browser.
PROFILE="$DSH_HOME/profiles/web" # adjust DSH_HOME and profile name
mkdir -p "$PROFILE/plugins" "$PROFILE/node_modules/@dsh-profile"
cp -r dsh-web-mobile-fix "$PROFILE/plugins/mobile-fix"
ln -sfn ../../plugins/mobile-fix "$PROFILE/node_modules/@dsh-profile/mobile-fix"
# append to $PROFILE/cordis.patch.yml:
# - insert:
# - id: mobile-fix
# name: '@dsh-profile/mobile-fix'
Open the Web UI on a phone or resize your browser to mobile width (≤700px):
dsh plugin --profile web remove dsh-web-mobile-fixmobile-fix insert block from cordis.patch.yml (the plugin dir can stay or go)No product source is modified; upgrades do not overwrite it.
MIT