harvest-worklog 0.10.0 → 0.10.2

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: b50e3af9480bb1ed9d5a98d4e746b3476cf14b10b04ce90dfacaacafa872bd52
4
- data.tar.gz: cf030243de7c163c4fb1287af66bf60f50669b55fed524c1e304ff00d1b0ab21
3
+ metadata.gz: 9f1908df098837d21f4966ce8f56800ecdece9226b78a7ce2739aa154a926a61
4
+ data.tar.gz: '083aab29fd401584e987413bcfd9a08e3a25bf20a87e5c94fd6830f9ced89d7d'
5
5
  SHA512:
6
- metadata.gz: a70c1b74ccc40f2641a5668830783e7b5f3f6773d0bec2fe825dd1591ac0d4ca79f5e057a5b75d6f36dd98a20d106210b153af4f8364929533aca6f420c5a3e8
7
- data.tar.gz: 52e27558d3af81deb788fce38892e7cb7410907f4974ef553f6e2c3998385054ebb6415a88531ec3465e39f4d8fda9bf63a72bc93b5e63ed72ca277ca0d24e6a
6
+ metadata.gz: 5b914fac7e561a5d6c08c3015d9fad0870b4e1b7bc71a709d014f07de4a1f2f271439c73cc26ccc3bf37868e8322c06329f5a36e88f3ca502276f57db73af921
7
+ data.tar.gz: 76f3b76c1d27cde0dcc90f92f956f8e47c12f6788f08f9cf60c303543ebe08363f13d2197d5bbc9dddd4ffb53c36b04e36c5a5772660fdd72065fa3995ff311e
data/README.md CHANGED
@@ -64,15 +64,16 @@ The `harvest_time_aggregates` OMP tool exposes the same optional filters and is
64
64
 
65
65
  ### Daily timesheets
66
66
 
67
- The `timesheet` command reads the authenticated user's compact daily Harvest view: task totals, entry durations when a task has multiple entries, and multiline notes. `DATE` accepts `today`, `yesterday`, or an ISO date in the CLI's local timezone.
67
+ The CLI `timesheet` command and `harvest_time_sheet` OMP tool read the authenticated user's compact daily Harvest view. They show task totals, entry durations, and notes already recorded in Harvest.
68
68
 
69
69
  ```bash
70
70
  harvest-worklog timesheet today --project WRAP
71
71
  ```
72
72
 
73
- OMP exposes the same CLI-only path through `/harvest-worklog timesheet today --project WRAP` and the read-only `harvest_time_sheet` tool. The wrapper never calls Harvest directly. A later, separate feature may upload reviewed content through the Harvest API; keep that write path separate from this read-only formatter.
73
+ The `/harvest-worklog timesheet today --project wrap` slash command instead reads local OMP Project Time and reports separate `Human active` and `Agent elapsed` totals. It does not call Harvest or require `projectTimeMappings`; mappings remain specific to previewing or recording Harvest entries.
74
+ `/project-time history` reports all logged dates, so its totals can be larger than a single-day timesheet.
74
75
 
75
- Type `/harvest-worklog ` in OMP to discover `timesheet`, then select `today`, `yesterday`, or an ISO date before the contextual `--project` and `--task` options. Completion keeps filter values as editable text, and the slash command delegates the selected timesheet argument vector to the CLI.
76
+ Type `/harvest-worklog ` in OMP to discover `timesheet`, then select `today`, `yesterday`, or an ISO date before the contextual `--project` option. The editable project name must exactly match the case-sensitive local Project Time name.
76
77
 
77
78
  ## OMP settings
78
79
 
@@ -136,7 +137,8 @@ gem push "harvest-worklog-${VERSION}.gem"
136
137
  gem uninstall harvest-time-off --all --executables --ignore-dependencies
137
138
  gem install --clear-sources --source https://rubygems.org harvest-worklog --version "$VERSION" --no-document
138
139
  omp plugin uninstall harvest-time-off
139
- omp plugin install --force github:klondikemarlen/harvest-worklog
140
- omp plugin list
140
+ npm run verify:release
141
141
  harvest-worklog --help
142
142
  ```
143
+
144
+ OMP loads extensions at process startup; reinstalling a plugin does not update already-running sessions. Confirm `harvest-worklog@<VERSION>` in `omp plugin list`, then start a fresh OMP process for autocomplete and slash-command QA. Exit and restart every older OMP session before relying on the released behavior.
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
5
+ cd "$root"
6
+ version="$(node -p 'require("./package.json").version')"
7
+
8
+ omp plugin uninstall harvest-worklog
9
+ omp plugin install --force github:klondikemarlen/harvest-worklog
10
+ plugins="$(omp plugin list)"
11
+ if [[ "$plugins" != *"harvest-worklog@$version"* ]]; then
12
+ printf 'Expected harvest-worklog@%s after install.\n%s\n' "$version" "$plugins" >&2
13
+ exit 1
14
+ fi
15
+
16
+ printf 'Verified harvest-worklog@%s. Starting fresh OMP for slash-command QA.\n' "$version"
17
+ printf 'Existing OMP sessions must also be restarted.\n'
18
+ exec omp --no-session --no-tools --cwd "$root"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HarvestWorklog
4
- VERSION = "0.10.0"
4
+ VERSION = "0.10.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: harvest-worklog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marlen Brunner
@@ -60,6 +60,7 @@ extra_rdoc_files: []
60
60
  files:
61
61
  - README.md
62
62
  - bin/harvest-worklog
63
+ - bin/verify-plugin-release
63
64
  - harvest-worklog.rb
64
65
  - lib/harvest_worklog.rb
65
66
  - lib/harvest_worklog/aggregate_cli.rb