Turns Claude Code and Codex session activity into a half-day-per-project proposal, reconciles it against the timesheet API, and submits only what the user approves in-session. Activity is measured in 5-minute active slots, deduplicated per project, not message counts — otherwise one overnight autonomous run outweighs a real morning's work. The path-to-project mapping and the API credentials stay in ~/.config/hourlog/ and ~/.env.claude. This repo is public. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
13 lines
470 B
Desktop File
13 lines
470 B
Desktop File
[Unit]
|
|
Description=Start the Friday hour log in a tmux session
|
|
Documentation=https://git.naps.pt/yolo/agent-skills
|
|
ConditionPathIsDirectory=%h/tea/yolo/agent-skills
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
Environment=PATH=%h/.local/bin:/usr/local/bin:/usr/bin:/bin
|
|
ExecStart=%h/tea/yolo/agent-skills/bin/hourlog-session.sh
|
|
# When no tmux server is running yet this unit starts one; the default
|
|
# control-group kill would take it back down as soon as ExecStart returns.
|
|
KillMode=process
|