
Security News
Rust 1.100 Will Add Dependency Cooldowns to Cargo
Rust 1.100 will add opt-in dependency cooldowns to Cargo, giving security scanners and maintainers time to catch malicious crate releases.
dsh-opencode-tui-theme
Advanced tools
DSH Web 界面 opencode TUI 主题(Client 插件):统一 #0a0a0a 深黑背景、全等宽终端正文、淡紫标题、翠绿内联代码、One Dark 语法高亮、深灰输入框卡片。
DSH(DeepSeek Harness)Web 界面的 opencode TUI 风格主题(Client 插件)。
让整个对话界面复刻 opencode TUI 的观感:
#0a0a0a(像素采样自 opencode TUI 截图)#d4d4d4、全等宽终端字体、13px 紧凑字号#c084fc、内联代码翠绿 #4ade80(无背景芯片)#131316 / 横幅 #19191d)+ One Dark 语法高亮#1c1c1e,与聊天内容明显分层ctx.effect(fn) 的函数体,
而 cordis 的语义是「fn 立即执行、返回值才是清理器」——导致样式注入后同一瞬间被
移除,插件显示 active 但界面毫无变化。v1.1.0 已改为正确写法。getComputedStyle 实测
body 背景/字体/字号的生效自检行。npm install dsh-opencode-tui-theme
然后在本机 DSH profile 的 cordis.patch.yml 追加:
- insert:
- id: opencode-tui-theme
name: 'dsh-opencode-tui-theme'
刷新浏览器页面即可生效(配置热加载,无需重启 DSH)。之后每次启动自动生效,无需审批。
注意:npm 安装的包要能被 DSH 找到,需装在 DSH profile 的依赖树里 (
~/.dsh/profiles下执行npm install,或在 profile 的 package.json 中声明)。
rgb(10, 10, 10)、字体以 JetBrains Mono 开头。document.querySelector('style[data-plugin="dsh-opencode-tui-theme"]')
返回 style 元素即已注入。删除 cordis.patch.yml 中的 insert 行,然后 npm uninstall dsh-opencode-tui-theme。
dsh.client: { platform: 'web' } 声明自己是浏览器端插件;dsh-client-modules 扫描组合条目,把 exports["./client"] 指向的
bundle 伺服为 /plugins/<id>/client.js 并注入 window.__DSH_BOOT__;theme.overrideTokens 覆盖 13 个注册主题 token,
并注入 <style> 覆盖 CSS 层变量(输入框/按钮/代码块/shiki 高亮/字体/字号);ctx.effect 的返回值清理 token 层与样式标签。MIT
FAQs
DSH Web 界面 opencode TUI 主题(Client 插件):统一 #0a0a0a 深黑背景、全等宽终端正文、淡紫标题、翠绿内联代码、One Dark 语法高亮、深灰输入框卡片。
The npm package dsh-opencode-tui-theme receives a total of 0 weekly downloads. As such, dsh-opencode-tui-theme popularity was classified as not popular.
We found that dsh-opencode-tui-theme demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Rust 1.100 will add opt-in dependency cooldowns to Cargo, giving security scanners and maintainers time to catch malicious crate releases.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.