You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: count the agents on an entry, and answer to on/off
An hour of agentic work is an hour times however many engines ran in it, so an
entry now carries `agents` (default 1) and reports `agentHours` in --json.
@profullstack/billing multiplies by it when the rate says to
($100/hour/agent/upto:4) and ignores it when the rate is flat.
--agents takes a whole number. `auto` is refused with a message saying why:
moshcode reads the count off its own herd and passes the result, and this
package has no herd to ask. Silently treating "auto" as 1 would under-bill
every entry it appeared on.
`start` also answers to `on` and `stop` to `off`, so muscle memory from other
timers works and moshcode's own /timer wording keeps meaning what it meant.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KVUZsx4WBZK5rnJJFGgwF5
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@profullstack/timer",
3
-
"version": "0.1.0",
3
+
"version": "0.2.0",
4
4
"type": "module",
5
5
"description": "A time tracker for the terminal and for agents — start a clock against a project, stop it, and get billable hours back as text or JSON.",
0 commit comments