OpenViking
volcengine
Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Dclef/dsh-coding-time
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Local coding-activity timing for the DeepSeek Harness (DSH). It measures
wall-clock active time per project (cwd), counts added/deleted lines from real
diff metadata, and can optionally time human edits. All data stays on this
machine under ~/.dsh — no account, no network service, no telemetry.


The session header shows today's AI active time at a glance and opens a compact summary popover.

The Web dashboard mounts onto the Harness's existing webServer — the plugin
adds no HTTP listener of its own. It reads from same-origin local routes and
writes JSONL under <storageDirectory>/<profile>/. There is no third-party
API call, no outbound statistics, and no credentials stored or read by the UI.
Runtime code uses only Node built-ins; the settings form uses the Host-provided
@deepseek-ai/schemastery peer dependency to build its config schema.
Uncollected or not-connected values are shown as such (for example "not
collected" or "not connected"), never as a fabricated 0.
From npm:
npm install dsh-coding-time@0.1.1
dsh plugin --profile web add dsh-coding-time
Or straight from the GitHub repository:
dsh plugin --profile web add 'https://github.com/Dclef/dsh-coding-time'
Requires Node >=22.14.0 and a running Harness with the dsh CLI on PATH.
See docs/INSTALL.md for details.
| Field | Default |
|---|---|
enabled |
true |
heartbeatIntervalSeconds |
60 |
idleThresholdSeconds |
180 |
flushIntervalSeconds |
10 |
trackAgentActivity |
true |
trackAiLines |
true |
humanTracking.enabled |
false |
storageDirectory |
~/.dsh/coding-time |
timezone |
local IANA zone |
weekStartsOn |
1 (Monday) |
exclude |
common build, VCS and secret paths |
idleThresholdSeconds must be at least heartbeatIntervalSeconds. Unknown
fields, credential fields, invalid numbers, invalid timezones and non-absolute
directories are rejected rather than silently clamped.
Intl.NumberFormat and Intl.DateTimeFormat instances in the dashboard.npm test # full test suite
npm run check # syntax-check every .js source file
node --test test/summary-contract.test.mjs # real apply + /summary HTTP contract
npm pack --dry-run # offline packaging check
Experimental, local-only, published as source for review and self-hosting. Settings are editable only when the Host exposes this plugin's own writable Config namespace; otherwise the client shows an explicit read-only state and sends zero save requests. Automated tests passing is not a claim of manual browser acceptance.
MIT — see LICENSE.
Chinese documentation: README.zh.md.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: rag、storage、export。