
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.
dsh-session-lens
Advanced tools
Session insights and one-click shareable HTML replay for DeepSeek Harness (DSH) · DeepSeek Harness 会话洞察与一键分享插件
DeepSeek Harness 会话洞察与一键分享插件:给任意会话生成"深度体检报告",并可导出为自包含单文件 HTML 回放页——双击离线打开、微信/QQ 直接发送、零外部依赖。
与官方 Trajectory 视图互补:Trajectory 展示原始事件流,Lens 做聚合分析(token 分解、turn 时间线、工具统计)+ 对外分享。
📊 洞察视图(会话内新 Tab)
📤 一键导出 HTML
<details>🔒 隐私优先(结构性保证)
request/header、内部 LLM 请求等事件从结构上无法进入导出文件~:会话工作目录 + 用户主目录(含正/反斜杠、盘符大小写、JSON 转义形态全变体)。注:工作目录之外的绝对路径(如同级仓库目录)默认保留原样以保持回放可读性default-src 'none':导出文件无任何脚本执行能力dsh plugin --profile web add github:bobostudio/dsh-session-lens
重启 DSH Web 后,打开任意会话,点击顶部的「洞察」Tab(与 Chat / Trajectory 并列)。
截图来自本地 DSH Web(http://127.0.0.1:17893/)里的真实会话「把聊天按钮换成可爱狗头」。打开会话后,顶部与「对话 / 轨迹」并列的就是 洞察:

怎么读这张图:
pwsh(66 次 / 4 分 30 秒),读改文件本身几乎不耗时点「导出 HTML」得到的单文件报告(零 JavaScript、可离线打开、微信/QQ 直接发送)。下面是仓库里的交互示例,除了同样的统计表,还带会话回放、工具错误、审批和上下文压缩标记:

完整可点示例:docs/example.html · English
面向 @deepseek-ai/dsh >= 0.1.0-rc.6 的 web profile。DSH 处于开发者预览阶段,插件依赖的内部接口(sessions / sessionPersistence / conversation.view slot)可能随版本变动;所有可选服务均做了降级处理,升级后如遇问题请提 Issue。
npm install
npm run build # esbuild → lib/(Node half + client half)
npm test # 41 个单元/集成测试(node:test,无需构建)
npm run check # tsc --noEmit
开发态挂载(不改 profile):
dsh web --patch <本仓库路径>/cordis.patch.yml
结构:
src/
├── index.ts # Node half:/api/session-lens/{analytics,export} 路由(仅回环、GET-only)
├── analytics.ts # 纯函数:SessionEvent[] → 聚合统计
├── redact.ts # 纯函数:隐私脱敏(白名单/截断/路径掩码)
├── export-html.ts # 纯函数:→ 单文件 HTML
└── client/ # 浏览器 half:conversation.view「洞察」Tab
FAQs
Session insights and one-click shareable HTML replay for DeepSeek Harness (DSH) · DeepSeek Harness 会话洞察与一键分享插件
The npm package dsh-session-lens receives a total of 28 weekly downloads. As such, dsh-session-lens popularity was classified as not popular.
We found that dsh-session-lens 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.