rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:namandhakad712/dsh-hackatime
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Track the time you spend in DeepSeek Harness as coding time on Hackatime. If DSH is your daily driver but your leaderboard only sees your editor time, this closes the gap: it sends WakaTime-style heartbeats for the files you and the agent work on, so agent-driven coding counts too.
Never installed a DSH plugin before? The full walkthrough covers every step, including what to do when nothing shows up.
api_url and api_key straight from ~/.wakatime.cfg and re-reads it only when the file changes.category: "ai coding" — Hackatime's category for agent-driven work — so your DSH time shows up under AI Coding, not blended into hand-edited time.editor: DeepSeek Harness — never a browser name — so your time stays leaderboard-eligible.ai_model, ai_input_tokens and ai_output_tokens, so Hackatime's AI leaderboards see your agent work too.apiUrl wherever you like.You need DeepSeek Harness 0.1.6 or newer for the settings card. On older builds the card falls back to a legacy slot and the config still works through the profile's cordis.patch.yml.
Install the plugin:
dsh plugin add dsh-hackatime
Add --profile <name> if you run a non-default profile.
Restart DSH. Plugin bundles load at startup.
Open Settings → Plugins → Hackatime.
Paste your API key from https://hackatime.hackclub.com/api-key and press Save.
Start coding. Time lands on your dashboard within about a minute.
The card opens onboarding-first: what's being tracked right now, then the one field a new user needs. The numbered steps disappear once a key is saved.
Behind the Advanced settings disclosure is everything else — the master switch, server URL, project and machine overrides, the heartbeat rate limit, and the privacy and update toggles — with its own Save button.
With no configuration at all, the plugin reads ~/.wakatime.cfg:
[settings]
api_url = https://hackatime.hackclub.com/api/hackatime/v1
api_key = your-key-here
Everything can also be set on the card. Fields on the card win over the file.
| Field | Default | Meaning |
|---|---|---|
enabled |
true |
Master switch. No heartbeats are recorded or sent while off. |
apiKey |
(from ~/.wakatime.cfg) |
Hackatime API key. Stored as a secret, never logged. Get one at https://hackatime.hackclub.com/api-key. |
apiUrl |
https://hackatime.hackclub.com/api/hackatime/v1 |
API base URL. Point this at a self-hosted WakaTime-compatible 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. |
rateLimitSeconds |
30 |
Minimum gap between two heartbeats for the same file. WakaTime's own default. |
sendEntityPath |
true |
Send the full file path as entity. Turn off for privacy — only the workspace folder name is sent. |
sendAiUsage |
true |
Attach ai_model, ai_input_tokens and ai_output_tokens to heartbeats that carry them. |
debug |
false |
Log every heartbeat to the host console. |
autoUpdate |
true |
Install the newest published dsh-hackatime automatically. Turn off to update manually from the settings card. |
| Activity | Heartbeat |
|---|---|
| You send a message | one, is_write: false |
| The agent calls a tool on a file | one, is_write: true for write tools |
| A tool call returns | one, is_write inherited from the call |
| The assistant finishes a turn with token usage | one, tagged with AI usage |
Write tools are detected by name (write, edit, str_replace_editor, apply_patch, create_file, and similar). Read-only tools like read, glob and grep only produce a heartbeat when their result comes back, so listing a file never looks like editing it. Language is inferred from the file extension (.js → JavaScript, Dockerfile → Dockerfile); unknown extensions are left to the server.
A few details that are taken from the Hackatime server source rather than guessed:
time is Unix epoch seconds (the server rejects anything outside 1000000000–2000000000).category is always coding, and editor is always DeepSeek Harness — never a browser name, so the time counts on the leaderboard.project is never the <> sentinel WakaTime uses for "same as last heartbeat".user_agent is the bare token dsh. Anything slash-separated gets parsed by Hackatime's user-agent parser, whose extracted editor overrides the explicit editor field — and dsh-hackatime matches the parser's plugin pattern, which would strip it to dsh. A bare token parses blank, so the explicit editor survives.secret role, is never logged, and is write-only over the plugin's RPC channel — the settings card never receives the stored value back, it only knows whether one is set. See SECURITY.md for the full trust model.entity field by default. Turn Send file paths off and only the workspace folder name leaves your machine.dsh plugin remove dsh-hackatime
This is an independent community plugin, not an officially recognized one. It is not certified by Hack Club yet, so Hackatime may not count time from it toward programs or leaderboards until it is. Certification is being pursued. If that matters to you, wait for certification before relying on it.
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek。