DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Hackatime — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-hackatime

Hackatime

在 Hackatime 上追踪你使用 DeepSeek Harness 的编码时间(兼容 WakaTime 心跳信号)。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add dsh-hackatime@0.3.10
README兼容性版本

兼容性与来源证明

Hackatime 以 dsh-hackatime 发布,当前版本为 0.3.10。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/10/16

版本

0.3.10stable
2026/10/13
0.3.9stable
2026/10/11
0.3.8stable
2026/10/11
查看其余 11 个版本收起版本
0.3.7stable
2026/10/11
0.3.6stable
2026/10/11
0.3.5stable
2026/10/11
0.3.4stable
2026/10/11
0.3.3stable
2026/10/11
0.3.2stable
2026/10/11
0.3.1stable
2026/10/11
0.3.0stable
2026/10/10
0.2.1stable
2026/10/10
0.2.0stable
2026/10/10
0.1.0stable
2026/10/9

相关插件

正在加载相关插件…

最新版
0.3.10
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
92.2 kB
文件数
9
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
2,190
安全扫描
✓ v0.3.10 扫描通过
最近提交
2026/10/11
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 integrations-communication 分类下经过校验的插件。

Acp App@deepseek-ai/dsh-acp-appdsh ACP 配置文件包:基于 dsh-base 的仅限自动化的 JSON-RPC stdio 和进程生命周期管理Ab Publishdsh-ab-publish浏览器自动化发布工具,可登录任意网站并发布内容,整合为一个可发布的插件包Ab Wechat Scrapedsh-ab-wechat-scrape--- description: "树外 wechat_scrape 工具:获取微信公众号文章,过滤推广区块,并将每篇文章保存为 Markdown 文件,供此机器的 dsh 配置文件维护者使用。" kind: "package-reference" ---Im@xmanrui/dsh-im将微信、飞书、企微、钉钉、QQ、Telegram、WhatsApp、Slack、Discord 和 Matrix 接入 DSH。

README

dsh-hackatime

A DeepSeek Harness (DSH) plugin that counts the time you spend in the agent as coding time on Hackatime.

If you use DeepSeek Harness as your daily driver but your Hackatime leaderboard only sees your editor time, this plugin is for you. It sends WakaTime-style heartbeats for the files the agent reads and writes, so your agent-driven work counts too.

How it works

The plugin subscribes to DSH's session/event stream and posts one heartbeat to the Hackatime API whenever you send a message, the agent calls a tool on a file, a tool call returns, or the assistant emits a message with token usage. Heartbeats are sent at most once per rateLimitSeconds (default 30, matching WakaTime's convention) for each distinct file, queued when offline, and retried with backoff. A permanent server rejection (HTTP 400/422) drops the heartbeat instead of retrying forever.

Every constant is taken from the Hackatime server source, not guessed:

  • POST {api_url}/users/current/heartbeats with Authorization: Bearer <api_key>
  • time is Unix epoch seconds (the server rejects anything outside 1000000000–2000000000)
  • category is always coding, editor is DeepSeek Harness (never a browser name, so the time stays leaderboard-eligible)
  • project is never the </> sentinel WakaTime uses for "unchanged"

Install

You need DSH 0.1.6 or newer (the plugin settings card uses the plugins.bundle.config slot; on older versions it falls back to the settings.plugin.item slot, and if neither exists it stays silent while the config keys still work through the profile's cordis.patch.yml).

dsh plugin --profile <name> add dsh-hackatime

Then restart DSH. Bundle installs are picked up at startup.

Configure

The plugin works with zero configuration if you already have a WakaTime-compatible setup: it reads ~/.wakatime.cfg's [settings] section for api_url and api_key, and only re-reads the file when it changes on disk.

If you don't have one, get an API key at https://hackatime.hackclub.com/settings and either add it to ~/.wakatime.cfg:

[settings]
api_url = https://hackatime.hackclub.com/api/hackatime/v1
api_key = your-key-here

or open Settings → Plugins → Hackatime in DSH and fill in the fields.

FieldDefaultMeaning
enabledtrueMaster switch.
apiKey(from ~/.wakatime.cfg)Hackatime API key. Never logged.
apiUrlhttps://hackatime.hackclub.com/api/hackatime/v1API base URL. Point this at a self-hosted server if you run one.
project(workspace folder name)Project name override. A .wakatime-project file in the workspace root wins over this.
machine(hostname)Machine name override.
rateLimitSeconds30Minimum gap between two heartbeats for the same file.
sendEntityPathtrueSend the full file path as entity. Turn this off for privacy; the workspace folder name is sent instead.
sendAiUsagetrueSend ai_model, ai_input_tokens and ai_output_tokens on heartbeats that carry them.
debugfalseLog every heartbeat to the host console.
autoUpdatetrueInstall the newest published dsh-hackatime automatically. Turn it off to update manually from the settings tab.

The settings tab

Settings → Plugins → Hackatime shows live tracking, not just a form:

  • Connection — whether the server is reachable, how many heartbeats have landed, and a link to your dashboard.
  • Currently tracking — the project, file, model and session the plugin is timing right now, with a Live/Idle pill. This is the answer to "is it actually tracking me?".
  • Settings — every field above, autofilled from your stored config and editable inline.
  • How to use it — the setup walkthrough, on the page.

When a newer version is published, the tab shows a banner (v1.2.3 is available) with an Update now button. With autoUpdate on, the host installs it on its own.

What gets recorded

EventHeartbeat
You send a messageone, is_write: false
The agent calls a tool on a fileone, is_write set for write tools
A tool call returnsone, is_write inherited from the call
The assistant emits a message with token usageone, tagged with AI usage

Write tools are detected by name: write, edit, str_replace, apply_patch, create_file, and similar. Read tools (read, glob, grep) only generate a heartbeat through their tool result, so a file you merely list doesn't look like an edit.

The language is inferred from the file extension (Dockerfile → Dockerfile, .js → JavaScript, and so on). Unknown extensions are left unset, and the server's own LanguageUtils fills them in as Unknown.

Privacy

The API key is stored in your plugin config with the secret role and is never logged. File paths are sent as the entity field by default; turn Send file paths off to send only the workspace folder name. No analytics, telemetry, or third-party calls are made by this plugin beyond the heartbeats you configure it to send.

Uninstall

dsh plugin --profile <name> remove dsh-hackatime

License

MIT