
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
Pin DeepSeek Harness sidebar conversations: pin a session to the top of its workspace, or lift it into a global tray above all workspaces. 会话置顶:工作区内置顶 / 置顶到所有工作区最上面(全局置顶区),一键取消还原原位置。
给 DeepSeek Harness 的侧边栏会话加上「置顶」——悬停任意会话,两个按钮:📌 置顶到本工作区、⌃⌃ 置顶到所有工作区最上面(会话进入侧边栏顶部的全局置顶区,悬浮在所有工作区组之上,组内原行自动隐藏);支持同时置顶多个会话;再点一次(或点置顶区的 ✕)取消置顶,精确还原该会话被置顶前的位置,不影响其他置顶会话。
| ① 置顶到所有工作区最上面:会话进入列表顶部的「已置顶」区(所有工作区组之上),组内原行隐藏;点置顶区里的行直接打开会话,✕ 取消 | ② 悬停会话行:📌 工作区内置顶 / ⌃⌃ 全局置顶,随时可点 |
|---|---|
![]() | ![]() |
before/after 双锚点,前邻居优先),不会把整份旧快照盖回去、也不会挤掉仍在置顶的其他会话;宿主持久顺序与浏览器显示顺序双双还原;锚点失效时逐级回退(追到末尾),绝不丢位置。若它曾是唯一置顶,还会把排序模式切回置顶前的模式(如「最近更新」)。全局置顶是纯显示级置顶(不动任何顺序),取消即恢复,零副作用。旧版本(曾把全局置顶实现为“移动工作区”)遗留的置顶记录在取消时会自动回滚当时的顺序改动。workspace.insertSessionBefore / workspace.insertBefore,与应用自带拖拽排序同一条通道;顺序持久化在 DSH 工作区注册表里,所有浏览器/客户端可见。不改 DSH 本体,零运行时依赖。# 从 GitHub(--profile 指定装进哪个 profile)
dsh plugin --profile web add github:Yu-tao-Li/dsh-pin
# 或在 DSH 设置的插件市场(dshmarket)搜索 dsh-pin
重启 dsh web 生效。按钮出现在侧边栏会话行的悬停菜单里(⋯ 左侧)。
纯客户端插件:服务端半个是 no-op,所有排序走宿主现成的 RPC;不新增任何 HTTP 路由,无端口、无后端。
侧边栏会话行(React)
│ 悬停 → 注入 📌 / ⌃⌃ 按钮(DOM,不侵入 React 树;MutationObserver 自愈)
▼
dsh-pin 客户端 bundle(本仓库 lib/client.js)
├─ React fiber 读取行身份(session id / workspace id)
├─ 读取应用视图存储(localStorage "dsh.workspace.view.v5"):当前排序模式 + 显示顺序
├─ pin-core(纯函数,25 个单测覆盖):计划 pin / unpin,计算双锚点,多置顶安全还原
└─ 执行
├─ 全局置顶区 渲染在所有工作区组之上的「已置顶」托盘(显示级,置顶行在组内隐藏)
├─ 宿主 RPC workspace.insertSessionBefore / insertBefore ← 工作区内置顶的持久顺序
├─ 应用存储 setSessionOrder / setOrderBy(必要时切手动排序) ← 显示顺序
└─ 本地记录 localStorage "dsh-pin.records.v3"(每个置顶会话一条)
dsh.workspace.view.v5):DSH 大版本升级后若结构变化,按钮可能失效——此时升级/等待本仓库适配即可,不影响应用本身。lib/pin-core.mjs 纯逻辑核心(Node 可测;构建时内联进 bundle)
lib/client.js 客户端 bundle(已构建,勿手改;由 build 生成)
src/client-src.js 客户端源码(/*__PIN_CORE__*/ 占位符)
scripts/build-client.mjs 构建(含语法校验)+ --check(校验已提交 bundle 同步)
test/pin-core.test.mjs 25 个单测(node:test,零依赖)
e2e/browser-e2e.mjs 无头 CDP 端到端(需要一台跑着 dsh web 的实例)
e2e/screenshot.mjs README 截图脚本
npm test # 单测
npm run build # 重新生成 lib/client.js
npm run check # 校验 bundle 与源码同步(CI 用)
npm run e2e # 对 http://127.0.0.1:3081 的 scratch 实例做端到端
CI(.github/workflows/ci.yml)在每次 push/PR 时跑单测 + bundle 同步校验。E2E 需要 Windows + 运行中的 DSH 实例,不进 CI(手动跑)。
MIT,见 LICENSE。
FAQs
Pin DeepSeek Harness sidebar conversations: pin a session to the top of its workspace, or lift it into a global tray above all workspaces. 会话置顶:工作区内置顶 / 置顶到所有工作区最上面(全局置顶区),一键取消还原原位置。
We found that dsh-pin 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
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.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.