DSH Plugins Marketplace

DSH Plugins

Plugins

/

Memory & Context

/

dsh-worklog

d

dsh-worklog

Identified

Cross-session development worklog for the agent: worklog_add appends one line (optional tag) to today's file, worklog_list reads a day back or lists the days on record. Entries are plain JSON under $D

dsh-worklog

给 DSH agent 一个工作日志工具:把「刚做了什么 / 为什么这么定 / 卡在哪」写进按天分文件的 JSON,下一次会话可以捡起来继续。

它提供什么

类型名字说明
Cordis 服务ctx.worklogadd / list / days / read / write
Agent 工具worklog_add追加一条日志,带可选 tag
Agent 工具worklog_list读当天 / 指定日期 / 按 tag 过滤 / 列出有记录的日期
Cordis 事件worklog/added每次写入后广播 { day, entry }

数据落盘:$DSH_HOME/worklog/YYYY-MM-DD.json,默认最多保留 200 条/天(maxEntries)。

配置

- id: dsh-worklog
  name: dsh-worklog
  config:
    dir: ""            # 留空 → $DSH_HOME/worklog
    maxEntries: 200

安装

从 GitHub 直装(推荐,装完自动进 bundle 层栈):

dsh plugin --profile web add github:qibo30/dsh-worklog

本地开发用 link: 前缀,改完代码重启即可,不需要重新 install:

dsh plugin --profile web add link:/path/to/dsh-worklog

desktop profile 由 Electron 应用独占管理,dsh plugin 会拒绝写入。 装进桌面版请在 $DSH_HOME/profiles/desktop/cordis.patch.yml 里加一条 - insert: [{ id: dsh-worklog, name: dsh-worklog }]。

本地冒烟测试

node test/smoke.mjs

不启动 DSH,用一个假 tools 服务把插件装起来,验证:config 解析、工具注册、执行、render、磁盘写入、必填参数校验、卸载回收。

单独克隆仓库时 @deepseek-ai/* 解析不到,把 DSH 自带的 node_modules 链接进来即可:

mkdir -p node_modules/@deepseek-ai
ln -s "<DSH>/node_modules/@deepseek-ai"/* node_modules/@deepseek-ai/

结构

dsh-worklog/
├── package.json        # dsh.bundle.patch 指向 cordis.patch.yml
├── cordis.patch.yml    # 挂载声明
├── icon.png            # 插件管理页图标
├── lib/
│   └── index.js        # 服务 + 工具 + apply
└── test/
    └── smoke.mjs       # 本地冒烟测试

写 DSH 插件要注意的坑

  1. inject 是严格模式:ctx.inject([...], cb) 里读没有列进列表的服务会直接抛 cannot get property "xxx" without inject。哪怕这个服务是你自己在同一个 apply 里刚注册的,也得写进去。
  2. cordis.patch.yml 里 id: 那一行不能写行尾注释,商城预检的正则会抓不到值。
  3. package.json 必须有 dsh.bundle.patch,否则安装后不会自动进层栈。
  4. 前端插件(要出 UI)还得加 dsh.client 字段和 exports["./client"] 指向 lib/client.js;纯宿主插件不需要。

Comments

Loading…

Similar plugins

dsh-journal-calendar

Daily journal for DeepSeek Harness: the agent records what you did and what you plan to do into one JSON file per day, and the right sidebar draws them as a calendar with checkable todos.

Memory & ContextManifest valid

★ 0

MIT

TypeScript

dsh plugin --profile web add dsh-journal-calendar

by Neo65536-engineer

Read-only work reports for DeepSeek Harness: reconstruct what an agent task actually did from session logs — tools used, files read/written, commands run, test results, failures, token usage, and whether it finished. Fully offline, no API key, no data leaves your machine.

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 1

MIT

JavaScript

Sep 26, 2026

dsh plugin --profile web add dsh-agent-log

Adds a Session without workspace entry to the DSH Workspace picker, creates isolated date-organized directories, and keeps started sessions resumable under Ungrouped.

Sessions & MessagesManifest valid

★ 2

↓ 150/wk

MIT

TypeScript

dsh plugin --profile web add dsh-projectless-session

by LeslieWylie

Cross-session task queue with handoff notes: sessions and subagents push, claim, complete and cancel tasks on a shared file-backed queue, and leave a handoff summary for whoever picks up next.

Workflow & AutomationSessions & MessagesManifest valid

★ 2

MIT

TypeScript

Aug 18, 2026

dsh plugin --profile web add dsh-task-relay

by Zilong6666

DSH task workspace convention: one folder per task, one PROGRESS.md per task (overwritten each update), and per-task git once a task runs long.

Workflow & AutomationManifest valid

★ 0

MIT

JavaScript

Oct 4, 2026

dsh plugin --profile web add dsh-task-workspace

by usersx

Schedules workspace Agent runs in fresh Result Sessions with persistent audit history, using a stock DSH Conversation tab or a global Shell page when its slots are available.

Workflow & AutomationDevelopment & InfrastructureManifest valid

★ 0

MIT

JavaScript

Sep 6, 2026

dsh plugin --profile web add dsh-automation-center