harvest-worklog 0.13.4 → 0.13.6
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 +4 -4
- data/README.md +3 -3
- data/bin/verify-plugin-release +16 -6
- data/lib/harvest_worklog/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b1f58e8ae6262a385a190c169ccf016f3e93cce1313ae52588b9968a9e428091
|
|
4
|
+
data.tar.gz: 825a88ccaa3f2d3c02e10d21610edfc15510b3de12b675fb72ecf64453179faa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7ee15383508be53679f2c6768494811cde7c85e43be11f3ce0faa1e228f069bebdc08d4e60f62460cfd241d9e9242aada21a79a600086f3487cdeb630259b510
|
|
7
|
+
data.tar.gz: 0303dbf8575b1e96256ccaff32a3f5439f72f25f293ab256aeaabfd3f672e3ef4f99a1f5d095de12e9c8584ea94b5ff7cf4fe7b02dc7181e288c89cd21db8db9
|
data/README.md
CHANGED
|
@@ -71,8 +71,8 @@ The CLI `timesheet` command and `harvest_time_sheet` OMP tool read the authentic
|
|
|
71
71
|
harvest-worklog timesheet today --project WRAP
|
|
72
72
|
```
|
|
73
73
|
|
|
74
|
-
The `/harvest-worklog timesheet today --project wrap` slash command reads the requested local OMP Project Time day and fetches available Harvest project/task categories through the read-only `mapping-data` path. It asks the configured model to classify local activities into those exact categories and concise feature/workstream labels, then renders a `Harvest draft (review only; nothing written)` grouped by project and task with
|
|
75
|
-
When a Project Time log has no narrative text,
|
|
74
|
+
The `/harvest-worklog timesheet today --project wrap` slash command reads the requested local OMP Project Time day and fetches available Harvest project/task categories through the read-only `mapping-data` path. It asks the configured model to classify local activities into those exact categories and concise feature/workstream labels, then renders a `Harvest draft (review only; nothing written)` grouped by project and task with exact local duration totals. Mapped groups include source narratives as reviewable notes when the log provides them; otherwise they explicitly say that a factual Harvest note is required. Unmapped work is marked not submittable and retains bounded local activity evidence. If Harvest lookup or classification is unavailable, configured mappings are used as a fallback; generated worklog bullets are used only in the non-Harvest activity-summary path.
|
|
75
|
+
When a Project Time log has no narrative text, the draft does not turn activity labels into Harvest notes; it shows them as reference evidence and asks the user to add factual detail. Logs that provide `narrative.text` can supply reviewable source notes.
|
|
76
76
|
`/project-time history` reports all logged dates, so its totals can be larger than the selected day.
|
|
77
77
|
|
|
78
78
|
Type `/harvest-worklog ` in OMP to discover `timesheet`; date aliases appear only after selecting `timesheet `. After `--project`, Tab lists local human-active Project Time project names; a prefix filters them case-insensitively. Completion preserves the case-sensitive name required by the command.
|
|
@@ -145,4 +145,4 @@ npm run verify:release
|
|
|
145
145
|
harvest-worklog --help
|
|
146
146
|
```
|
|
147
147
|
|
|
148
|
-
`npm run release` owns the uninstall/force-install mutation. `npm run verify:release` never changes the installation: it checks the
|
|
148
|
+
`npm run release` owns the uninstall/force-install mutation. `npm run verify:release` never changes the installation: it checks the installed package version, resolved Git revision, and plugin path before running a deterministic slash-command smoke test against the installed plugin. It exits after verification. Existing OMP sessions retain startup-loaded extension code; restart them before optional manual autocomplete and slash-command QA.
|
data/bin/verify-plugin-release
CHANGED
|
@@ -4,12 +4,22 @@ set -euo pipefail
|
|
|
4
4
|
root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
5
5
|
cd "$root"
|
|
6
6
|
version="$(node -p 'require("./package.json").version')"
|
|
7
|
-
|
|
7
|
+
expected_revision="$(git rev-parse HEAD)"
|
|
8
|
+
plugin_root="$HOME/.omp/plugins"
|
|
9
|
+
installed_path="$plugin_root/node_modules/harvest-worklog/package.json"
|
|
8
10
|
installed_version="$(node -p 'require(process.env.HOME + "/.omp/plugins/node_modules/harvest-worklog/package.json").version')"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
resolved_revision="$(node -e '
|
|
12
|
+
const lock = require("node:fs").readFileSync(process.argv[1], "utf8")
|
|
13
|
+
const match = /"harvest-worklog"\s*:\s*\[\s*"harvest-worklog@github:klondikemarlen\/harvest-worklog#([0-9a-f]+)/.exec(lock)
|
|
14
|
+
if (!match) process.exit(1)
|
|
15
|
+
process.stdout.write(match[1])
|
|
16
|
+
' "$plugin_root/bun.lock")" || {
|
|
17
|
+
printf 'Could not resolve the installed harvest-worklog Git revision from %s.\n' "$plugin_root/bun.lock" >&2
|
|
18
|
+
exit 1
|
|
19
|
+
}
|
|
20
|
+
if [[ "$installed_version" != "$version" || "${expected_revision:0:${#resolved_revision}}" != "$resolved_revision" ]]; then
|
|
21
|
+
printf 'Expected installed harvest-worklog@%s from Git revision %s; found harvest-worklog@%s at %s resolved from Git revision %s.\n' "$version" "$expected_revision" "$installed_version" "$installed_path" "$resolved_revision" >&2
|
|
11
22
|
exit 1
|
|
12
23
|
fi
|
|
13
|
-
node --test "$
|
|
14
|
-
printf 'Verified harvest-worklog@%s.\n' "$version"
|
|
15
|
-
printf 'Existing OMP sessions must be restarted before manual QA.\n'
|
|
24
|
+
node --test "$plugin_root/node_modules/harvest-worklog/test/"*.test.js
|
|
25
|
+
printf 'Verified harvest-worklog@%s from Git revision %s at %s.\n' "$version" "$resolved_revision" "$installed_path"
|
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.
|
|
4
|
+
version: 0.13.6
|
|
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-
|
|
11
|
+
date: 2026-08-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: marlens-harvest-api-v2
|