packages/dsh-task-board
zhu1090093659/dsh-web侧边栏多列任务看板:卡片交给真实 DSH 智能体会话执行,支持 cron 定时(Host 侧到点执行,关浏览器也生效)。
输入框 Markdown 书写辅助:发送内容保持原始 Markdown,同时把列表显示为圆点和复选框,实时呈现粗体、斜体、行内代码、删除线、标题、引用与代码块,Shift+Enter 自动续写列表,选中文字可用 Cmd/Ctrl+B、I、E 加格式。
在 DeepSeek Harness(DSH)的输入框里写 Markdown:列表显示为圆点和复选框,粗体、斜体、行内代码、删除线和代码块实时呈现,Shift+Enter 自动续写列表。发送出去的仍是你输入的 Markdown 原文。
显示效果(只改显示,不改文字)
| 输入 | 显示 |
|---|---|
- 项目 / * 项目 / + 项目 | • 圆点,列表行略微缩进 |
- [ ] 待办 / - [x] 完成 | ☐ / ☑ 复选框,已完成的项加删除线 |
1. 第一项 | 序号加粗,使用主题品牌色 |
> 引用 | 左侧竖线,文字变灰 |
## 标题 | 加粗、放大,# 变灰 |
**粗体** *斜体* `代码` ~~删除~~ | 中间文字显示对应格式,符号变灰 |
```js … ``` | 等宽字体、底色,关键字、字符串、数字、注释分别上色 |
圆点、复选框和代码块只对单独成行的内容生效,也就是用 Shift+Enter 换出来的行;粘贴进来的多行文字只做行内高亮。
编辑
- * + 保持不变,9. 续成 10.,- [x] 续成 - [ ],> 保持不变,行首缩进保留。Cmd/Ctrl+B 加 **,Cmd/Ctrl+I 加 *,Cmd/Ctrl+E 加反引号;再按一次去掉。没有选中文字时这些键保持原来的作用,Cmd+B 仍然开关侧边栏。插件只会在续写列表和选中加格式时插入文字,其他情况不改动你输入的内容。
需要 dsh CLI 在 PATH 上(npm install -g @deepseek-ai/dsh)。本插件是纯 JavaScript,无需构建。
git clone https://github.com/kyanray-dev/dsh-markdown-input.git
cd dsh-markdown-input
dsh plugin --profile web add ./
然后以该 profile 重启 Harness。DSH Desktop 用户请按 Cmd+Q 完全退出后重新打开。
也可以通过 dsh-market 插件市场安装。
- 画成透明,再用 <p> 的 ::before 在同一位置画 • / ☐ / ☑;位置按标记字符的实际大小测量。<p> 添加 class 实现;编辑器的 MutationObserver 不监听属性变化,因此不会被还原。\n,发送内容不变。** 这类符号会变灰但仍占位置,圆点所在位置仍是原来的 -。这是为了保证发送的文字不变。__lexicalEditor 与 _pendingEditorState,DSH 升级后可能变化;取不到时退回为原生换行加插入标记,列表行不再缩进,也不显示圆点。在「设置 → 插件」中关闭或移除 dsh-markdown-input。
Markdown authoring in the DeepSeek Harness (DSH) composer: lists show bullets and checkboxes, bold, italic, inline code, strikethrough and fenced code render as you type, and Shift+Enter continues lists. The sent text is still the Markdown you typed.
Presentation (display only, text unchanged)
| Input | Display |
|---|---|
- item / * item / + item | • bullet, slightly indented |
- [ ] todo / - [x] done | ☐ / ☑ checkbox; done items struck through |
1. first | number bold in the brand color |
> quote | left bar, muted text |
## Title | bold and larger, muted # |
**bold** *italic* `code` ~~strike~~ | content styled, delimiters muted |
```js … ``` | monospace block with a background; keywords, strings, numbers and comments coloured |
Bullets, checkboxes and code blocks apply to lines that stand alone, i.e. lines made with Shift+Enter; pasted multi-line text gets inline styling only.
Editing
- * + repeat, 9. becomes 10., - [x] becomes - [ ], > repeats. Leading indentation is kept.Cmd/Ctrl+B wraps it in **, Cmd/Ctrl+I in *, Cmd/Ctrl+E in backticks; press again to unwrap. Without a selection the keys keep their usual meaning (Cmd+B still toggles the sidebar).The plugin only inserts text when it continues a list or wraps a selection.
Requires the dsh CLI on PATH (npm install -g @deepseek-ai/dsh). Plain JavaScript, no build step.
git clone https://github.com/kyanray-dev/dsh-markdown-input.git
cd dsh-markdown-input
dsh plugin --profile web add ./
Restart the Harness with that profile. On DSH Desktop, quit with Cmd+Q and reopen.
- is painted transparent and the <p>'s ::before draws • / ☐ / ☑ over it, positioned from the marker's measured box.<p>; the editor's MutationObserver ignores attribute changes, so they are kept.\n in the draft, so the sent text is the same.** are muted but still take space, and a bullet sits where the - is. This keeps the sent text identical.__lexicalEditor and _pendingEditorState, which may change in future DSH releases. When they are unavailable the plugin falls back to a native line break plus a typed marker, without indentation or bullets.Disable or remove dsh-markdown-input under Settings → Plugins.