zoahdev/dsh-timesheet0

dsh-timesheet

Timesheet for DeepSeek Harness (dsh): turn-based time tracking from session logs — totals, per-day, per-project, per-provider, per-source rollups, tool-call counts, failure rates, and time-to-first-token. CLI + agent-callable timesheet tool, zero runtime dependencies.

AI 分析

分析 DSH 会话日志并生成详细的时间与性能报表。适合需要统计大模型响应耗时、工具调用成功率及项目开发时间投入的用户。

パッケージ
dsh-timesheet
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/18

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zoahdev/dsh-timesheet

ドキュメント

README 全文を読む ↗

In-harness usage (agent-callable)

Ask your dsh agent:

给我出一份时间报表:timesheet,目录指向会话日志目录。 Give me a timesheet report: timesheet with dir set to your session-log directory.

The tool returns a dsh-timesheet/v1 report:

{
  "schema": "dsh-timesheet/v1",
  "target": "~/.codex/sessions",
  "ok": true,
  "scannedFiles": 42,
  "sessions": 42,
  "turns": 310,
  "totalDurationMs": 64800000,
  "failedTurns": 7,
  "toolCalls": 1284,
  "byDay": [ { "key": "2026-08-18", "turns": 22, "durationMs": 5400000, "ttftMs": 110000, "failed": 1, "avgMs": 245454 } ],
  "byProject": [ ... ],
  "byProvider": [ ... ],
  "bySource": [ ... ],
  "warnings": []
}

在 harness 内使用(agent 可调用)

对 agent 说:

给我出一份时间报表:timesheet,目录指向会话日志目录。

工具返回 dsh-timesheet/v1 报告(结构见英文版 JSON 示例)。