Files
chktime/web/index.html
T
yoshikazuandClaude Opus 5 cf17cf3fa0 Claude Code のやりとり時刻ビューア chktime を追加
~/.claude/projects の会話ログ (jsonl) を解析し、タスク(セッション)ごとの
やりとりの時刻を一覧表示するローカル Web アプリ。標準ライブラリのみで動作する。

- プロジェクト / タスク / ターンの3ペイン表示
- ターンごとに 発言時刻・空き時間・初回応答までの待ち・応答時間・完了時刻・
  ツール呼び出し内訳を表示、タイムラインバー付き
- 絶対時刻と経過時間の切替、絞り込み、CSV書き出し
- ファイルの更新時刻+サイズでの解析キャッシュ、tool_result 行はパースを省略
- デスクトップ用の起動 (pythonw) / 停止 (stop.cmd) スクリプト

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-29 15:10:48 +09:00

47 lines
1.4 KiB
HTML

<!doctype html>
<html lang="ja">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>chktime — Claude Code タスク時刻ビューア</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<h1>chktime</h1>
<span class="sub" id="root"></span>
<span class="spacer"></span>
<label class="chk"><input type="checkbox" id="relative"> 経過時間で表示</label>
<button id="reload" title="キャッシュを破棄して再読込">再読込</button>
</header>
<main>
<nav id="projects" class="pane">
<div class="pane-head">プロジェクト</div>
<ul id="project-list"></ul>
</nav>
<section id="sessions" class="pane">
<div class="pane-head">
<span id="sessions-title">タスク(セッション)</span>
<input id="filter" type="search" placeholder="タイトル/プロンプトで絞り込み">
<a id="csv-sessions" class="btn" href="#" download>CSV</a>
</div>
<div class="scroll"><table id="session-table"><tbody></tbody></table></div>
</section>
<section id="detail" class="pane">
<div class="pane-head">
<span id="detail-title">やりとりの時刻</span>
<a id="csv-turns" class="btn" href="#" download>CSV</a>
</div>
<div class="scroll" id="detail-body">
<p class="empty">左のタスクを選んでください。</p>
</div>
</section>
</main>
<script src="app.js"></script>
</body>
</html>