Repository navigation
Comodoro joins the standard the Pimalaya CLIs share. MIGRATION.md lists what to act on when upgrading from 2.x, and from 1.x.
Added
- Added the first-run welcome, printing the commands that create a configuration from config.sample.toml.
- Added config.sample.toml to the Nix package, the release archives and install.sh, as share/doc/comodoro/config.sample.toml.
- Added
account listandaccount check, the account group every Pimalaya CLI carries. - Added
repl, running commands over one account, one per stdin line. - Added
mcp, a Model Context Protocol server exposingget, and the timer controls with--allow-write. - Added the hook variables
cycleNameandcycleDuration, for notifications and commands alike. - Added a stable
codeto the--jsonfailure object, described bycomodoro-error. - Added the hidden plural aliases
completions,manualsandjson-schemas. - Added
cmdas the alias of a hook'scommand.
Changed
- Changed the pimalaya-cli dependency to 0.8.0 and pimalaya-config to 0.6.
- Breaking: changed the timer's values to kebab-case, in the
--jsonoutput and on the wire. - Breaking: renamed
started_attostartedAt, an RFC 3339 instant in UTC instead of epoch seconds. - Breaking: renamed the
timer.runningnotification totimer.ticked, and theon-<cycle>-runninghook toon-<cycle>-tick. - Breaking: changed the wire objects to refuse unknown keys, a client reading one as another Comodoro version.
- Breaking: changed
server startandwatchto stop cleanly on a termination signal, printing their result and exiting 0. - Breaking: changed
watch --jsonto streamtimer-changedevents, one per line. - Breaking: changed
start,pause,resume,stopandsetto print the timer, asgetdoes. - Breaking: changed
-cto take one path per flag, repeated to merge files, and removedCOMODORO_CONFIG. - Breaking: changed
-a defaultto name the account calleddefault, as any other name. - Breaking: changed the account resolution to refuse hooks no event fires, empty hooks, unfilled variables, empty
cyclesand unknown cycle keys. - Breaking: changed a hook notification into a template, a literal
$being written$$. - Breaking: changed a refused command line under
--json, a barecomodoro --jsonincluded, to print ausage-invalidfailure object, exit 2. - Breaking: changed the remaining duration to jiff's friendly form (
25m,1h 30m 5s). - Changed config.sample.toml to one
[accounts.example]table, every key commented at its default or an example, its cycle presets to uncomment. - Changed piped
--jsonoutput to one flushed value per line. - Changed the
srvalias ofserverto a hidden one.
Fixed
-
Fixed a hook notification value being read as markup by the notification daemon.
-
Fixed error reports printing raw control characters, a refused secret, a secret command's output or a configuration source line.
-
Fixed
--log-filecreating the file under the umask and following symbolic links. -
Fixed the manual pages printing
vv<version>. -
Fixed install.sh saving an HTTP error page as the archive.
-
Breaking: fixed several accounts marked
default = trueresolving to the first one: they are refused. -
Breaking: fixed
completionwriting files instead of printing to stdout.manualandjson-schemashare its shape: print to stdout, or write under--dir.
Removed
- Breaking: removed the library, with the
client,server,cliandschemarsfeatures and the examples. - Breaking: removed the setup wizard and the
configurecommand. - Removed the humantime dependency, unmaintained (RUSTSEC-2026-0542).