dsh-sideask

DSH PLUGIN通知与集成

仓库 Yebeimu/dsh-sideask

通知与集成 L4 · 沙盒安装通过 安全审查:低风险 可信度:银 可安装插件
安装这个插件

在任意会话里查看并回答其他会话挂着的 ask_user_question,不用切过去

一句话选型结论

按资料字段整理

dsh-sideask 是通知与集成类的 DSH 可安装插件,验证等级 L4 · 沙盒安装通过,安全审查为低风险,有可直接复制的安装命令。验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么;涉及密钥或系统权限的,建议先在隔离环境试装。

分类通知与集成 收录类型可安装插件 验证等级L4 · 沙盒安装通过 安全审查低风险
验证等级 L4 L4 · 沙盒安装通过
GitHub 星标 0 复刻 0 · 未关闭 issue 0
最近更新 2026-10-23 创建于 2026-10-17
README 8.9 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
dsh plugin --profile web add github:Yebeimu/dsh-sideask
  1. 1
    确认版本与运行环境

    仓库没有标注兼容版本与 Node.js 要求,先确认你的 DSH 版本能装,再继续。

  2. 2
    执行安装命令

    在 DSH 里执行上面的命令;多包仓库要注意区分具体子包名,别装错包。

  3. 3
    确认已挂载

    用 dsh plugin list 查看列表里是否出现这个插件,出现即挂载成功。

  4. 4
    试跑并检查权限

    加载后跑一个最小用例,确认它能正常工作;同时看它申请了哪些文件、命令或网络权限。

兼容 DSH 版本未标注版本不匹配时安装会报错
Node.js 要求未标注来自仓库 package.json 的 engines 字段
前置依赖无需要同时安装的同级依赖
npm 包名未发布到 npm可用 npm view 查看包信息

能做什么

通知与集成
字段来自项目仓库与公开索引,中文说明由本站标注

适用场景

通知

上游标签

ask-user-questiondsh-plugindsh-plugin-desktopdsh-plugins

验证等级与安全审查

L4 · 沙盒安装通过
自动化流程结论,不是人工审核
验证等级L4 · 沙盒安装通过安装命令在隔离沙盒内真实执行成功,无依赖错误
安全审查低风险静态分析结论,未标注不代表已通过审查
仓库健康度活跃按仓库活跃度与最近更新时间给出
可信度银综合仓库活跃度与验证结果

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 验证等级 L4:在沙盒里真实装过,依赖能装上,不是纸面声明。
  • 静态安全审查为低风险,没有发现明显可疑行为。
  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有声明 Node.js 版本要求,版本不匹配可能装不上。
  • 验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么。

更适合

  • 需要在通知与集成场景里给 DSH 补能力的人。
  • 想装完就能用、不想自己排依赖的人。
  • 能接受在本地装依赖、愿意自己确认权限的人。

不太适合

  • 只使用 DSH 官方内置能力、不接受第三方插件的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
插件验证等级安全审查星标兼容版本安装命令
dsh-sideask当前 L4 · 沙盒安装通过 低风险 0 未标注 有
treg L3 · 安装规范通过 低风险 4,976 未标注 无
dsh-purge 未做沙盒验证 未标注 3,412 未标注 有
dsh-im L5 · 运行验证通过 低风险 1,837 0.1.7-rc.2 等 10 个 有
dsh-dafeiyu L5 · 运行验证通过 低风险 425 0.1.7-rc.2 等 10 个 有
dsh-trading L3 · 安装规范通过 低风险 235 未标注 无

仓库档案

通知与集成
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方Yebeimu仓库 dsh-sideask · 默认分支 main
分类通知与集成notify
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言未标注仓库主语言
许可证MIT商用或二次分发前请确认条款原文
星标 / 复刻 / issue0 / 0 / 0收录时的数值,非实时
创建 / 更新2026-10-17 · 2026-10-23最后推送 2026-10-23
本站收录2026-10-30首次进入本站目录的时间

README 全文

8.9 KB
作者原文,中文版优先;只做安全转义,不改内容

dsh-sideask

在任意 DSH 会话里,查看并回答别的会话挂着的 ask_user_question,不用切过去。

Powered by DSH。

解决什么

DSH 只把 ask_user_question 的卡片画在发起提问的那个会话里。人在会话 B 干活时,会话 A 正等着一个回答,你既看不见,也没法在 B 处理。要么切过去翻,要么让那边干等。

做什么

  • 把一个工作区里所有会话挂着的提问收在一起。
  • 侧栏底部一个「待答 N」小按钮,没有待答时完全不显示。
  • 点一下,左下角浮出面板:一个会话一张卡,写清会话标题、问题、选项,另带一个自由输入框。
  • 提交后通过 userQuestions.answer 把答案送回发起提问的会话。

面板不占输入区,不抢焦点,不遮页面中间。

前提

  • DSH 0.2.0 及以上。
  • ask_user_question 必须工作在 timed 模式。

这一条关键。默认的 blocking 模式下,提问一直停在前台等待,只有发起它的会话里的卡片能结算,任何外部界面都答不了。timed 模式到期后工具返回 pending,提问变成 continued:仍然可答,但不再归某一个界面独占。本插件接的就是这个状态。

在 profile 的 cordis.patch.yml 里给 tool-ask-user 那一行加配置:

- id: tool-ask-user
name: '@deepseek-ai/dsh-tool-ask-user'
config:
mode: timed
timeout: 60

这样提问在 timeout 秒之后就能从面板答。工具也接受每次调用自带的 timeout 参数,调用方想快一点可以传更小的值。

安装

  1. 把包放进 profile 的插件目录,例如 ~/.dsh/profiles/desktop/plugins/dsh-sideask。
  2. 在 profile 的 node_modules/@local 下建一条与包名一致的链接:
New-Item -ItemType Junction `
-Path  "$HOME\.dsh\profiles\desktop\node_modules\@local\dsh-sideask" `
-Target "$HOME\.dsh\profiles\desktop\plugins\dsh-sideask"
  1. 在 cordis.patch.yml 里加一行:
- id: dsh-sideask
name: '@local/dsh-sideask'
  1. 重启 DSH。客户端插件在启动时打包,刷新页面不够。

实现

两半。

host 半 index.js 全局监听 session/event,用 sessionId|callId 作键维护一张待答表。

  • 名字是 ask_user_question 的 tool/call:记下调用、问题、会话工作目录。
  • tool/result 收尾时看结果:返回 pending 说明到期放行、问题仍可答,保留记录;其他结果说明问题已经结算,划掉。
  • turn/end 不清表;到期挂起的提问跨回合有效。

两个 HTTP 路由:

  • GET /dsh-sideask/list?session= 返回工作目录与请求方一致的待答项,一个工作区与别的工作区分开。
  • POST /dsh-sideask/answer,body 是 { sessionId, callId, answers },内部调 ctx.userQuestions.answer(agent, callId, { answers })。

client 半 client.js 注册两个 slot:

  • sidebar.footer.action:计数按钮,数量为 0 时不渲染。
  • shell.overlay:面板,贴左下角,点 × 或按 Esc 收起。

计数按钮挂载期间每 4 秒拉一次列表,打开面板时立即刷新一次。

几个坑

  • userQuestions.answer 要的是 { answers: [...] } 对象,传裸数组会被判没答上,返回 false。
  • stillOpen === true 才是答案进了队列;false 是没找到这个可答的提问。
  • pending 的 tool 结果不是「答完了」。当成答完,问题会在没人回答时从面板消失。
  • 提交成功后立刻从本地缓存里删掉那一条。等服务端划掉的话,中间有一段面板还列着已经答过的问题。

已知限制

  • 只显示同一工作目录下的提问。
  • 还在前台等待期内的问题不能从这里答,见「前提」。
  • 待答记录在内存里,DSH 重启会清空;仍然可答的提问要等再次提问才会重新出现。
  • 超过 24 小时的记录不再返回。

许可

MIT


dsh-sideask

See and answer ask_user_question prompts from other DSH sessions, without leaving the one you are in.

Powered by DSH — a plugin, not a fork.

The problem

DSH renders an ask_user_question card only in the session that asked it. If you are working in session B while session A is blocked on a question, you cannot see it. Your choices are to switch sessions and hunt for it, or to leave the asking agent waiting.

What this plugin does

  • Collects pending questions from every session in the workspace.
  • Shows a small 待答 N counter in the sidebar footer. It is not rendered at all when nothing is pending.
  • Opens a compact panel at the bottom-left corner when clicked: one card per session, showing the session title, the question, its options, and a free-text field.
  • Submits the answer back to the asking session through userQuestions.answer.

The panel never takes over the composer, never steals focus, and never covers the center of the page.

Requirements

  • DSH 0.2.0 or later.
  • ask_user_question must run in timed mode.

That last point matters. In the default blocking mode, a question stays in a foreground wait that only the card in the asking session can settle. This plugin cannot answer it — no external interface can. In timed mode the wait expires, the tool returns pending, and the question becomes continued: still answerable, but no longer owned by one interface. That is the state this plugin picks up.

Configure it on the tool-ask-user row of your profile's cordis.patch.yml:

- id: tool-ask-user
name: '@deepseek-ai/dsh-tool-ask-user'
config:
mode: timed
timeout: 60

With that in place, a question becomes answerable from this panel after timeout seconds. The tool also accepts a per-call timeout argument, so a caller that wants it faster can pass a smaller number.

Install

  1. Put the package under your profile's plugin directory, for example
    ~/.dsh/profiles/desktop/plugins/dsh-sideask.
  2. Link it into the profile's node_modules/@local under a name that matches the package name:
New-Item -ItemType Junction `
-Path  "$HOME\.dsh\profiles\desktop\node_modules\@local\dsh-sideask" `
-Target "$HOME\.dsh\profiles\desktop\plugins\dsh-sideask"
  1. Add the row to cordis.patch.yml:
- id: dsh-sideask
name: '@local/dsh-sideask'
  1. Restart DSH. Client plugins are bundled at boot; reloading the page is not enough.

How it works

Two halves.

Host half (index.js) listens to session/event globally and keeps a map of pending questions keyed by sessionId|callId.

  • On tool/call named ask_user_question, it records the call with its questions and the session's working directory.
  • On tool/result, it inspects the result: a pending reply means the timed wait expired and the question is still answerable, so the record is kept. Any other result means the question was settled, so the record is dropped.
  • turn/end does not clear records; a continued question outlives the turn that asked it.

Two HTTP routes:

  • GET /dsh-sideask/list?session= returns the pending questions whose working directory matches the requesting session's, so one workspace stays separate from another.
  • POST /dsh-sideask/answer with { sessionId, callId, answers } forwards the answer via ctx.userQuestions.answer(agent, callId, { answers }).

Client half (client.js) registers two slots:

  • sidebar.footer.action — the counter button, hidden when the count is zero.
  • shell.overlay — the panel, positioned bottom-left, dismissed with × or Esc.

It polls the list route every 4 seconds while the counter is mounted, and refreshes on open.

Gotchas worth knowing

  • userQuestions.answer takes { answers: [...] }, not a bare array. A bare array is rejected and returns false.
  • stillOpen === true means the answer was accepted into the agent's queue. false means no matching continued question was found.
  • A pending tool result is not an answer. Treating it as one makes questions disappear from the panel before anyone has answered them.
  • After a successful submit, remove the item from the local cache immediately. Waiting for the server to drop it leaves a window where the panel still lists an answered question.

Known limitations

  • Only questions from the same working directory are shown.
  • A question that is still inside its foreground wait cannot be answered from here; see Requirements.
  • Records live in memory. A DSH restart clears them; questions that are still answerable will not be re-listed until they are asked again.
  • Records older than 24 hours are dropped from the list.

License

MIT

常见问题

6 问
答案由本站依据条目字段整理,不引用上游原文
dsh-sideask 怎么安装?

在 DSH 里执行 `dsh plugin --profile web add github:Yebeimu/dsh-sideask` 即可。

dsh-sideask 的验证等级是什么意思?

L4 · 沙盒安装通过。安装命令在隔离沙盒内真实执行成功,无依赖错误

dsh-sideask 安全吗?

低风险。

dsh-sideask 装之前要先确认什么?

先看它会读写哪些文件、执行哪些命令、连接哪些网络地址;验证等级只说明装得上、跑得起来,不等于安全。涉及密钥或系统权限的,建议先在隔离环境试装。

dsh-sideask 用的是什么许可证?

上游标注为 MIT。商用或二次分发前请到仓库确认许可证原文。

这条记录的数据可靠吗?

本站按仓库名去重后合并整理,字段以作者仓库与 npm 元数据为准;安装命令、仓库地址与 README 保持原文,带 L4 / L5 标记的安装命令已在隔离沙盒里真实跑通。

通知与集成
按星标排序,可作替代方案

treg

treg

Treg 是面向 Agent 工具的 OpenRouter,聚合 60 个提供商的 2896 个端点,按调用计费,统一令牌访问,无需注册各供

L3 · 安装规范通过 4,976 星

dsh-purge

dsh-purge

dsh-purge Community · DeepSeek Harness 社区维护版:宿主兼容、状态诊断、提示词管理、更新与本机备份回滚

未标注验证等级 3,412 星

dsh-im

dsh-im

将IM机器人接入DeepSeek Harness,支持飞书、微信、钉钉等九种渠道,通过扫码或凭据配置,统一管理多机器人连接。

L5 · 运行验证通过 1,837 星

dsh-dafeiyu

dsh-dafeiyu

DSH 大肥鱼是一款由 DeepSeek Harness 真实工作状态驱动的桌面伴侣插件,以始终置顶的透明窗口实时展示 Agent 的思考、

L5 · 运行验证通过 425 星

dsh-trading

dsh-trading

L3 · 安装规范通过 235 星

Yebeimu 的其它插件

1 个

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 —。