omp-worklog 0.18.0 → 0.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +16 -2
  3. data/lib/omp_worklog/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2378eac4f1eb8bca8441db76d31ec0b2025fbb2e129a04c6c1b2787da9c399cc
4
- data.tar.gz: e5488122f526ea17fbd2c12d9987dc21b374b5cb570ce8aa64224aa914a23e6c
3
+ metadata.gz: 733feda424376e57c3f5f55adc5bf5167e727a7a8c2fe0b103836f912234e205
4
+ data.tar.gz: 176a9193299e1e681043f49ab9a951e76091d6a8dbbd3007a3e6b0a0699df7f8
5
5
  SHA512:
6
- metadata.gz: 05f29b0ea9f0b21deaabf34b087531a2d7921cb84fae146f3eabbf63e7c0e8af7c237950e1ae689ee8ce2f200a28696ffc7141d5d3d8127ba0065bfc99fe7c80
7
- data.tar.gz: 715ec5513e40a6c80a6ba41de4d3cb2386b1809cbe1e1dece61b9b7bb8feaca229d1a5c26cf5ecba262235a8815d31d3cbc1fa16d8f6bda6c674254d0e3fe976
6
+ metadata.gz: 682cd810d7a5bde2382349b452ccc7d04be7d12f185d20a55658bbb7377f0aafe323bf5fc514654bcde7a0f2cc68ea838a0d521ff216f73848571eb21e85773b
7
+ data.tar.gz: 31d744a2b3535ff5b2f630f0e1ccf8da31243bfef7cff697ad6728f4be02d8f37eddc0e27b3b6e3fd6a3771524802177fd5fc298371a4f4f30183aa1222ea087
data/README.md CHANGED
@@ -54,12 +54,14 @@ The `work-entry` command checks for existing or locked entries for its project,
54
54
 
55
55
  ### Live thread time
56
56
 
57
- With OMP Project Time 9.6.0 or newer installed, Worklog shows one normal-contrast status line for the current top-level thread and project. **Dev** is observed prompt-active time; **Agent** is observed agent-run elapsed time. Durations use `H:MM:SS`; long project labels are shortened so both counters remain readable at ordinary terminal widths. A paused developer window does not stop an ongoing agent run. These are independent evidence counters, not a combined total, desk-time certification, cost estimate, or billing approval.
57
+ With OMP Project Time 9.7.0 or newer installed, Worklog shows `Dev TODAY / TOTAL total · Agent TODAY / TOTAL total — project/activity` in normal foreground contrast. The first value is the current local calendar day's observed hours; the second is retained history for this thread and project. **Dev** is prompt-active evidence; **Agent** is agent-run elapsed evidence. Decimal hours use at most one decimal place, omit `.0`, and show positive durations below the rounding threshold as `<0.1h`. Trailing context is shortened before either source's hour values. The display omits seconds, plugin/thread labels, and running/paused markers.
58
58
 
59
- Worklog receives versioned live snapshots from Project Time through OMP's extension event bus. It does not run a second activity clock or alter the evidence ledger. Project Time hides its standalone status while Worklog owns presentation, and keeps its standalone display when Worklog is absent. Missing or incompatible live evidence shows unavailable counters rather than fabricated zero hours.
59
+ Worklog receives versioned live snapshots from Project Time through OMP's extension event bus. It does not run a second activity clock or alter the evidence ledger. Project Time hides its standalone status while Worklog owns presentation, and keeps its standalone display when Worklog is absent. Missing or incompatible daily evidence shows unavailable counters, never lifetime hours relabelled as today. Developer and agent observations remain separate, not a combined total, desk-time certification, cost estimate, or billing approval.
60
60
 
61
61
  The scope is this thread's current project, not all threads or today's entire project total. Use `/worklog stats today --project PROJECT` for daily evidence and `/worklog review` for reviewed records. Restart OMP after installing both releases; an already-running process keeps its startup-loaded extensions.
62
62
 
63
+ The time line is enabled by default. To hide it, run `omp plugin config set omp-worklog showTimeStatus false` and restart OMP. Set it to `true` and restart to restore the display. Hiding the line does not stop evidence collection, disable Worklog commands, or bring back Project Time's standalone line while Worklog is loaded.
64
+
63
65
  ### Project Time timesheets
64
66
 
65
67
  `/worklog timesheet DATE` reads local `human_active` Project Time evidence and produces one review-only draft for every local project active on that day. It does not call Harvest or require Harvest credentials.
@@ -109,6 +111,7 @@ See [reviewed concurrent worklogs](/docs/billing.md) for the policy, review fiel
109
111
 
110
112
  Worklog resolves persisted user settings and project overrides through the supported `omp plugin config list omp-worklog --json` command at initialization, using the OMP project cwd. Project values override user values; explicit factory options override both for programmatic callers and tests. Resolution runs once before commands and tools register; restart or reload the extension after changing settings. A resolution failure reports a diagnostic instead of silently using the wrong destination.
111
113
 
114
+ - `showTimeStatus`: whether the time status is visible; defaults to `true`. Set `false` to hide it without stopping collection.
112
115
  - `defaultHours`: hours per business day when a time-off tool call omits `hours`; defaults to `7`.
113
116
  - `holidayRegions`: comma-separated Holidays regions; defaults to `ca_yt`.
114
117
  - `command`: direct path to the `omp-worklog` executable.
@@ -146,6 +149,17 @@ Version `0.14.0` is a clean identity cutover. Uninstall the retired `harvest-wor
146
149
 
147
150
  Version `0.14.3` renames the OMP slash command from `/omp-worklog` to `/worklog`; the `omp-worklog` package identity and CLI executable are unchanged.
148
151
 
152
+ ## Changes in 0.19.1
153
+
154
+ - Make the time line enabled by default and disableable through Worklog's `showTimeStatus` setting.
155
+ - Keep collection and commands available while hidden, without restoring the collector's old status line.
156
+
157
+ ## Changes in 0.19.0
158
+
159
+ - Prioritize today's decimal developer/agent hours and retained totals in the compact status.
160
+ - Move project/activity context to the end, removing plugin identity, thread labels, seconds, and running/paused markers.
161
+ - Use local-calendar daily evidence, including midnight rollover, without broadening current-thread/project scope.
162
+
149
163
  ## Changes in 0.18.0
150
164
 
151
165
  - Show normal-contrast current-thread/project developer and agent time in one Worklog status line.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OmpWorklog
4
- VERSION = "0.18.0"
4
+ VERSION = "0.19.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omp-worklog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marlen Brunner