返回目录
其他 插件

dsh-early-sleep-calendar

kioo/dsh-early-sleep-calendar

该仓库暂未提供项目说明。

Stars
0
Forks
0
Issues
0
更新
13 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:kioo/dsh-early-sleep-calendar

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

Early sleep calendar

A DeepSeek Harness plugin that adds an early-sleep check-in calendar to the Web UI.

  • Sidebar panel (early-sleep): month calendar and year overview views.
  • Click any day to add or edit a sleep record (bedtime + optional note); delete with one click.
  • Failure rule: a bedtime from 00:00 through 11:59 means the night went past midnight, so it is marked failed (warning color) and excluded from the success stats and streaks.
  • Stats: successful nights, current streak, longest streak, this-month successes; the footer lists total records including past-midnight failures.
  • Quick check-in button for tonight in the panel header.
  • Records are stored on the Host in <DSH_HOME>/early-sleep/records.json (atomic writes, one record per date).

API

Host route GET|POST|DELETE /api/early-sleep/records:

  • GET → { ok, records: [{ date, time, note, createdAt }] }
  • POST body { date: "YYYY-MM-DD", time?: "HH:MM", note?: string } → upsert, returns the full list
  • DELETE ?date=YYYY-MM-DD → remove, returns the full list

config.dataFile overrides the storage path in cordis.patch.yml if needed.

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类其他
规则置信度低

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。