omp-worklog 0.17.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 +28 -0
  3. data/lib/omp_worklog/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 50fb3b897f083790dbb6414233652dda8f562c4d2cef8cd8f4da71beca65e143
4
- data.tar.gz: 3264feb238a62462803431bc333397d655dc2f3e5a69a79126842d1e0d964946
3
+ metadata.gz: 733feda424376e57c3f5f55adc5bf5167e727a7a8c2fe0b103836f912234e205
4
+ data.tar.gz: 176a9193299e1e681043f49ab9a951e76091d6a8dbbd3007a3e6b0a0699df7f8
5
5
  SHA512:
6
- metadata.gz: 5265237e54a305eaf0315f3768a173a43a345e8199f4ebacbb43d4f2572029496f3db21737803493b9af9cd7f6a943c586f2c30ec9734fbd95a350c12cbc2736
7
- data.tar.gz: 961a65e2519960980b90d16434656773352cbeb2416d5abf100187461a0bad9ec8fc22a75f4895a52e454582e9b50d26ce8d0f690b6fb56084bfb72a0b91251b
6
+ metadata.gz: 682cd810d7a5bde2382349b452ccc7d04be7d12f185d20a55658bbb7377f0aafe323bf5fc514654bcde7a0f2cc68ea838a0d521ff216f73848571eb21e85773b
7
+ data.tar.gz: 31d744a2b3535ff5b2f630f0e1ccf8da31243bfef7cff697ad6728f4be02d8f37eddc0e27b3b6e3fd6a3771524802177fd5fc298371a4f4f30183aa1222ea087
data/README.md CHANGED
@@ -52,6 +52,16 @@ The `omp_worklog_record_time_off` OMP tool accepts the same name pair or ID pair
52
52
 
53
53
  The `work-entry` command checks for existing or locked entries for its project, task, and date before creating a new duration entry. Use `--dry-run` to complete that preflight without a write.
54
54
 
55
+ ### Live thread time
56
+
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
+
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
+
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
+
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
+
55
65
  ### Project Time timesheets
56
66
 
57
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.
@@ -101,6 +111,7 @@ See [reviewed concurrent worklogs](/docs/billing.md) for the policy, review fiel
101
111
 
102
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.
103
113
 
114
+ - `showTimeStatus`: whether the time status is visible; defaults to `true`. Set `false` to hide it without stopping collection.
104
115
  - `defaultHours`: hours per business day when a time-off tool call omits `hours`; defaults to `7`.
105
116
  - `holidayRegions`: comma-separated Holidays regions; defaults to `ca_yt`.
106
117
  - `command`: direct path to the `omp-worklog` executable.
@@ -138,6 +149,23 @@ Version `0.14.0` is a clean identity cutover. Uninstall the retired `harvest-wor
138
149
 
139
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.
140
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
+
163
+ ## Changes in 0.18.0
164
+
165
+ - Show normal-contrast current-thread/project developer and agent time in one Worklog status line.
166
+ - Consume Project Time's live observation contract without duplicating clocks or mixing the two evidence sources.
167
+ - Clear stale counters across session changes and show unavailable evidence explicitly.
168
+
141
169
  ## Changes in 0.17.0
142
170
 
143
171
  - Allow explicitly reviewed duration increases with a required private adjustment reason, without changing the automatic candidate or source evidence.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OmpWorklog
4
- VERSION = "0.17.0"
4
+ VERSION = "0.19.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omp-worklog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marlen Brunner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-10-20 00:00:00.000000000 Z
11
+ date: 2026-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: marlens-harvest-api-v2