@drakulavich/oura-cli 0.3.3 → 0.4.0
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.
- package/CHANGELOG.md +35 -0
- package/dist/index.js +1658 -3038
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,38 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.4.0] - 2026-05-13
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
- **Internal:** migrated CLI parsing from `commander` to `citty`. No CLI
|
|
13
|
+
surface changes — same commands, flags, outputs, exit codes, and error
|
|
14
|
+
envelope. Bundle size drops from ~153 KB to ~99 KB.
|
|
15
|
+
- Help text formatting differs slightly (citty's auto-generated help has
|
|
16
|
+
a slightly different layout than commander's). All commands, flags, and
|
|
17
|
+
positional args are described the same way.
|
|
18
|
+
|
|
19
|
+
### Removed
|
|
20
|
+
- `commander` dependency.
|
|
21
|
+
- `getGlobalOpts(command)` helper in `src/commands/helpers.ts` (no longer
|
|
22
|
+
needed — citty passes args directly to each `run` function).
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
- `citty` dependency (already used by the sibling `kesha-voice-kit` project).
|
|
26
|
+
- `src/commands/common.ts` — shared `commonArgs` spec, `handleError`, and
|
|
27
|
+
`applyNoColor` helpers spread into every leaf command.
|
|
28
|
+
- `src/commands/healthcheck.ts` and `src/commands/manifest.ts` — extracted
|
|
29
|
+
from the inline definitions in `src/index.ts` for symmetry.
|
|
30
|
+
|
|
31
|
+
## [0.3.4] - 2026-05-13
|
|
32
|
+
|
|
33
|
+
### Fixed
|
|
34
|
+
- `oura-cli report` daily table: Sleep / Readiness / Activity / Steps
|
|
35
|
+
columns now align under their headers. Previously, `chalk` ANSI codes
|
|
36
|
+
inflated the byte count of coloured score strings, so `.padStart(...)`
|
|
37
|
+
produced near-zero padding and adjacent scores ran together (e.g.
|
|
38
|
+
`87 85 90` instead of separate right-aligned columns). The same bug
|
|
39
|
+
affected the monthly bucket view.
|
|
40
|
+
|
|
9
41
|
## [0.3.3] - 2026-05-13
|
|
10
42
|
|
|
11
43
|
### Changed
|
|
@@ -158,6 +190,9 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
158
190
|
- Local SQLite cache at `~/.oura-cli/oura.db`.
|
|
159
191
|
- Auth via `oura-cli login`, `OURA_TOKEN`, `OURA_TOKEN_PATH`, or `~/.oura-token`.
|
|
160
192
|
|
|
193
|
+
[0.4.0]: https://github.com/drakulavich/oura-cli/releases/tag/v0.4.0
|
|
194
|
+
[0.3.4]: https://github.com/drakulavich/oura-cli/releases/tag/v0.3.4
|
|
195
|
+
[0.3.3]: https://github.com/drakulavich/oura-cli/releases/tag/v0.3.3
|
|
161
196
|
[0.3.2]: https://github.com/drakulavich/oura-cli/releases/tag/v0.3.2
|
|
162
197
|
[0.3.1]: https://github.com/drakulavich/oura-cli/releases/tag/v0.3.1
|
|
163
198
|
[0.3.0]: https://github.com/drakulavich/oura-cli/releases/tag/v0.3.0
|