harvest-worklog 0.13.12 → 0.13.14

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 694f2a596182beb6a240d9917c456acdf9e329661383db4e1c5159ea19c58663
4
- data.tar.gz: bf66d8629771e93f21934cdcbb99e7f7d7cac31ddfccf098da22d38df3fe1997
3
+ metadata.gz: 0041670b3a949a773531220c2a36b772435f36255428c3eda8238b01b40a10b8
4
+ data.tar.gz: 2d0ccefc1e29ff50745a10d547b59bc2a912cedcfd6fd7b2cf4398f562368aef
5
5
  SHA512:
6
- metadata.gz: 280ca40bcb6493adb43a9992c36b4fb1810443ed1af1a0bdc96560441a5ec8c5966d7b6af3d34bbdfd398fe9add4bbb784057dcf8a7b9eeb1e64fbfd6b2dc9f7
7
- data.tar.gz: 74ad6fa40e341387c9946f1dbe1fcff057a7075aca57654d4a2ff39a748eb7126375488046e0d52c6388b903bffbf53fb7597ab684641d92fab02c0158b81ae4
6
+ metadata.gz: 83c0cdc4239d61582da037400f5bd1760dd47020daa271e239ce03aeb92482cc55bd432b5b4ca006c1bc335dc402cd078453e83344e7138be1fab92e3f8e0cf6
7
+ data.tar.gz: 9b6495f1647f1123586025bd620a1830b773ae173572b9074225b440a0fc3fc282b2e3612a7c54fb0b254320cbd1ecbfb972f78cf31e9fae4a7e54531503c1ec
data/README.md CHANGED
@@ -68,8 +68,8 @@ Type `/harvest-worklog ` in OMP to discover `timesheet`; date aliases appear aft
68
68
  - `defaultHours`: hours per business day when a time-off tool call omits `hours`; defaults to `7`.
69
69
  - `holidayRegions`: comma-separated Holidays regions; defaults to `ca_yt`.
70
70
  - `command`: direct path to the `harvest-worklog` executable.
71
- - `projectTimeMappings`: optional JSON mapping from OMP Project Time project names to Harvest project/task names. Unmapped evidence remains a review-required local draft.
72
- - `projectTimeLogPath`: optional override for `~/.omp/project-time/time-log.json`.
71
+ - `projectTimeLogPath`: optional path to Project Time v1 evidence; defaults to `~/.omp/project-time/time-log.sqlite`. A legacy versioned JSON snapshot is also supported.
72
+
73
73
 
74
74
  ## OMP Project Time integration
75
75
 
@@ -81,13 +81,13 @@ Configure `projectTimeMappings` with the recorded OMP Project Time project name
81
81
  }
82
82
  ```
83
83
 
84
- Harvest Worklog reads only the documented `omp-project-time/evidence` format at version `1`. An absent, unsupported, or malformed version produces a no-write diagnostic; run a current Project Time session to persist the v1 ledger format before retrying.
84
+ Harvest Worklog reads Project Time's persisted `omp-project-time/evidence` v1 entries. An absent, unsupported, or malformed ledger produces a no-write diagnostic; run a current Project Time session to create the SQLite ledger before retrying.
85
85
 
86
86
  `harvest_preview_project_time_drafts` produces deterministic, copyable Date/Project/Task/Duration blocks from all local `human_active` evidence in an inclusive date range. Mapped evidence uses its configured Harvest destination; unmapped, ambiguous, and unassigned evidence remains an explicit local-project draft. It preserves source entry IDs, intervals, source kind, repository identity, narratives, work items, and task-attribution provenance. Generated narratives are review evidence, never task identity or a factual Harvest note. The tool reads the local log only; it never calls or mutates Harvest.
87
87
 
88
88
  ### Activity transforms
89
89
 
90
- `harvest_preview_project_time_transforms` emits deterministic JSON for local raw intervals. It accepts an inclusive date range and optional exact `repositoryId`, `project`, and `sourceKind` filters; each matching interval is split by local date and grouped by activity, with missing labels reported as `unlabelled`. It defaults to `human_active` and returns the effective top-level `sourceKind`; selecting `agent_turn_elapsed` requires an explicit source-kind request. Set `applyMappings` to create configured Harvest destinations or review-required local destinations for every included group. The output reports groups, draft entries, and excluded rows; it never writes Harvest.
90
+ `harvest_preview_project_time_transforms` emits deterministic JSON for local raw intervals. It accepts an inclusive date range and optional exact `repositoryId`, `project`, and `sourceKind` filters; each matching interval is split by local date and grouped by activity, with missing labels reported as `unlabelled`. It defaults to `human_active` and returns the effective top-level `sourceKind`; selecting `agent_turn_elapsed` requires an explicit source-kind request. Set `applyMappings` to create configured Harvest destinations or review-required local destinations for every included group. The output reports groups and draft entries; it never writes Harvest.
91
91
 
92
92
 
93
93
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HarvestWorklog
4
- VERSION = "0.13.12"
4
+ VERSION = "0.13.14"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: harvest-worklog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.12
4
+ version: 0.13.14
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-08-06 00:00:00.000000000 Z
11
+ date: 2026-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: marlens-harvest-api-v2