Introduction¶
When coding or running agents in DeepSeek Harness (DSH), your daily notes and to-do lists often reside in Markdown files within your Obsidian vault. Switching windows to toggle checkboxes or modify Day Planner time blocks interrupts the current session. Common solutions involve dual monitors or Alt-Tab, but the DSH right sidebar can host custom panels. If we could read the monthly calendar, daily timeline, to-dos, and journal content into the panel—and write modifications back to the original files—you wouldn’t need to leave DSH.
Below is an introduction to the community plugin dsh-calendar (repository AloneFu/dsh-calendar-plugin), maintained by AloneFu. It does not depend on the Obsidian process running; it directly scans your configured journal folder. Toggling checkboxes, editing content, and modifying times will be written back to the original lines in the Markdown files.
What is this¶
dsh-calendar is a web client plugin for DSH: it opens a calendar panel in the right sidebar, embedding a zero-dependency HTML page (standalone/calendar.html) that displays an Obsidian-style daily note and task view. The host side uses only built-in Node modules, while the client side uses the platform-native React. By default, it only scans and writes back within user-specified folders, featuring optimistic concurrency and audit logs for write operations.
The license is MIT; it requires Node ≥ 20 (see engines in package.json). The current package version is 1.1.0.
Core Features¶
Integration with the Obsidian Ecosystem¶
| Component | Required? | Function |
|---|---|---|
| Obsidian vault | Required (as file source) | The plugin reads Markdown within the vault; Obsidian serves only as the daily editor and does not need to be running constantly. |
| Day Planner | Recommended | Reads startHour, defaultDurationMinutes, showNow, etc., to draw HH:mm - HH:mm time blocks. |
| Calendar (Liam Cain) | Recommended | Reads wordsPerDot to draw word count dots in monthly calendar cells; defaults to 250 words per dot if not installed. |
| Tasks syntax | Compatible | Parses - [ ] lines and date metadata like 📅 / ⏳ / 🛫. |
Panel Areas¶
- Monthly Calendar: Starts on Monday, allows month switching; three skins (Y2K / Win95 / Celluloid) can be toggled and remembered.
- Date Cells: Word count dots + task dots (Overdue / High Priority / To-do / Done); hover to see word count and task completion ratio.
- Daily Timeline: Day Planner-style layout, showing a “Now” red line for the current day; hours without schedules can be collapsed.
- Task List: Unscheduled tasks are categorized as “Unscheduled”; supports displaying tags, priorities, etc.
- Daily Notes: Recognizes multiple date filename formats; collapsible body text; can create new notes if missing.
- Write Back: Mark complete, edit body text, modify/clear time blocks, create new to-dos at the bottom (those with times can be written to the
# Day plannersection). - Sync: Polls approximately every 15 seconds, with a 2.5-second cache on the host side; the panel has a refresh button.
Write-back safety aspects: Paths are restricted to the configured root directory via realpath; write operations feature line-level optimistic concurrency (conflicts return 409); atomic writes preserve encoding and line endings; audits are written to $DSH_HOME/dsh-calendar/writes.jsonl (not inside the vault). You can set "write": { "enabled": false } in config.json for strictly read-only mode.
Installation and Enablement¶
The DSH ecosystem adopts an “everything is a plugin” approach; the community directory is available at the SkillHub Plugin Page. It has no official affiliation with DeepSeek or High-Flyer.
Method 1: Plugin Market
Search for dsh-calendar in the DSH plugin market to install.
Method 2: tgz Package
dsh plugin --profile web add "<path>\dsh-calendar-1.0.0.tgz"
Restart DSH after installation, or use dev hot-assembly (no restart required, see README).
Method 3: Manual Mounting
- Extract the plugin package to a location such as
D:\plugins\dsh-calendar. - Add
"dsh-calendar": "link:D:\\plugins\\dsh-calendar"todependenciesinprofiles\<profile>\package.json. - Add
"dsh-calendar"to the end of thedsh.profile.bundlesarray in the same file. - Run
pnpm installin that profile directory and restart DSH.
Uninstallation example:
dsh plugin --profile web remove dsh-calendar
The configuration and audit directory is $DSH_HOME/dsh-calendar/ (DSH_HOME defaults to ~/.dsh); you can delete it manually. The plugin does not alter the overall structure of your notes.
Typical Usage¶
First-time Configuration (approx. 30 seconds)¶
- Open the DSH right sidebar, select Calendar from the “+” menu, or click the Calendar icon in the session header.
- In the “Connect Obsidian” interface:
- Click Auto-detect: Searches common directories (up to two levels deep) for a vault containing
.obsidianand reads Daily Notes settings as suggested paths. - Or Manually enter the path to the folder containing daily notes like
2026-09-19.md.
- Click Auto-detect: Searches common directories (up to two levels deep) for a vault containing
- Click Save and Start to activate immediately.
Configuration is written to $DSH_HOME/dsh-calendar/config.json. Example structure:
{
"roots": ["C:\\Users\\me\\Documents\\Obsidian Vault\\日记"],
"allowAnyRoot": false,
"autoOpen": true,
"write": { "enabled": true, "appendDoneDate": true },
"create": { "enabled": true, "titleTemplate": "# {date} {weekday}" },
"dayPlanner": { "heading": "Day planner", "headingLevel": 1, "startHour": 6,
"defaultDurationMinutes": 30, "minimalDurationMinutes": 10,
"snapStepMinutes": 10, "showNow": true, "showNext": true },
"calendar": { "wordsPerDot": 250, "maxNoteDots": 2 }
}
Auto-configuration via DSH AI¶
You can send the instructions from the README to the AI in the session: first run node <plugin_dir>/scripts/setup.mjs --detect --json to get vault candidates, then node scripts/setup.mjs --root "<path>" to write the config, and finally self-check with curl "http://127.0.0.1:3080/dsh-calendar/tasks?refresh=1".
Common CLI commands:
node scripts/setup.mjs --print
node scripts/setup.mjs --detect
node scripts/setup.mjs --detect --json
node scripts/setup.mjs --root "<path>"
During runtime, you can view configPath and the write-back switch status via GET http://127.0.0.1:3080/dsh-calendar/status. Write operation HTTP interfaces require the header x-dsh-calendar: write and must originate from the local machine (see README interface table for details).
Scenarios and Caveats¶
Target Audience: Developers who already use Daily Notes, Day Planner, or Tasks syntax in Obsidian to manage journals and to-dos, and wish to view and lightly edit them on the same screen within DSH, with changes persisted to the original Markdown files.
Permissions and Security: The plugin reads and writes local files with the permissions of the current DSH process user. Before installing, you should review the GitHub Source Code and the MIT license. Ensure roots only points to directories you are willing to have scanned/written to; whole disk roots and system directories are rejected by default.
Troubleshooting Tips: If the panel stays on “Connect Obsidian”, it indicates no valid path has been saved; if the monthly calendar has no task dots, ensure task lines have date emojis or fall within the current day’s note; if checkboxes don’t work, check write.enabled or if a stale error (409) occurred due to editing elsewhere. If you do not want the calendar to expand automatically every time you enter a session, set "autoOpen": false.
Conclusion¶
dsh-calendar inlines Obsidian monthly calendars, timelines, to-dos, and daily notes into the DSH right sidebar. Read/write operations are completed within the user-specified Markdown directory and align with Day Planner / Calendar plugin configurations. You can access the documentation via the SkillHub Directory Page; for full installation details, HTTP interfaces, and troubleshooting, see the GitHub README.