@drakulavich/oura-cli 0.4.3 → 0.4.5
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 +30 -0
- package/README.md +7 -3
- package/dist/index.js +1 -1
- package/package.json +3 -4
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,33 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.4.5] - 2026-07-18
|
|
10
|
+
|
|
11
|
+
### Removed
|
|
12
|
+
- Dropped the unused `@typescript/native-preview` devDependency. The
|
|
13
|
+
type-check now runs on the stable `typescript` compiler again: CI uses
|
|
14
|
+
`bunx tsc --noEmit` in place of `bunx tsgo --noEmit`.
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
- CI now ships test runs to [flakiness.io](https://flakiness.io). `bun test`
|
|
18
|
+
emits JUnit XML, the [official `flakiness` CLI](https://github.com/flakiness/flakiness-report)
|
|
19
|
+
converts it to a Flakiness JSON Report (`--category bun`) and uploads to the
|
|
20
|
+
`Laputa/oura-cli` project. Auth via GitHub OIDC — no
|
|
21
|
+
`FLAKINESS_ACCESS_TOKEN` secret needed; the workflow grants `id-token: write`
|
|
22
|
+
permission for the upload. Zero new runtime/dev deps; the CLI is installed
|
|
23
|
+
ad-hoc via `curl https://cli.flakiness.io/install.sh | sh`.
|
|
24
|
+
|
|
25
|
+
## [0.4.4] - 2026-05-13
|
|
26
|
+
|
|
27
|
+
### Added
|
|
28
|
+
- README screencast (`assets/demo.webm`, ~270 KB) showing `--version`,
|
|
29
|
+
`db today`, `db week`, the narrative `report`, and the agent-discoverable
|
|
30
|
+
`describe` manifest. Generated reproducibly from `assets/demo.tape` via
|
|
31
|
+
[VHS](https://github.com/charmbracelet/vhs); see CONTRIBUTING.md for the
|
|
32
|
+
regeneration command. The `<video>` element renders inline on GitHub; the
|
|
33
|
+
fallback link survives on npmjs.com where `<video>` is stripped.
|
|
34
|
+
- CONTRIBUTING.md "Regenerating the demo" subsection.
|
|
35
|
+
|
|
9
36
|
## [0.4.3] - 2026-05-13
|
|
10
37
|
|
|
11
38
|
### Changed
|
|
@@ -215,6 +242,9 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
215
242
|
- Local SQLite cache at `~/.oura-cli/oura.db`.
|
|
216
243
|
- Auth via `oura-cli login`, `OURA_TOKEN`, `OURA_TOKEN_PATH`, or `~/.oura-token`.
|
|
217
244
|
|
|
245
|
+
[0.4.4]: https://github.com/drakulavich/oura-cli/releases/tag/v0.4.4
|
|
246
|
+
[0.4.3]: https://github.com/drakulavich/oura-cli/releases/tag/v0.4.3
|
|
247
|
+
[0.4.2]: https://github.com/drakulavich/oura-cli/releases/tag/v0.4.2
|
|
218
248
|
[0.4.1]: https://github.com/drakulavich/oura-cli/releases/tag/v0.4.1
|
|
219
249
|
[0.4.0]: https://github.com/drakulavich/oura-cli/releases/tag/v0.4.0
|
|
220
250
|
[0.3.4]: https://github.com/drakulavich/oura-cli/releases/tag/v0.3.4
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<h1 align="center">oura-cli</h1>
|
|
2
2
|
|
|
3
3
|
<p align="center">
|
|
4
|
-
<a href="https://
|
|
4
|
+
<a href="https://flakiness.io/Laputa/oura-cli"><img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fflakiness.io%2Fapi%2Fbadge%3Finput%3D%257B%2522badgeToken%2522%253A%2522badge-2qTwJcrJSmhJmKfKklQkKG%2522%257D" alt="Tests"></a>
|
|
5
5
|
<a href="https://www.npmjs.com/package/@drakulavich/oura-cli"><img src="https://img.shields.io/npm/v/@drakulavich/oura-cli" alt="npm version"></a>
|
|
6
6
|
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License: MIT"></a>
|
|
7
7
|
<a href="https://bun.sh"><img src="https://img.shields.io/badge/runtime-Bun-f9f1e1?logo=bun" alt="Bun"></a>
|
|
@@ -10,10 +10,14 @@
|
|
|
10
10
|
|
|
11
11
|
<p align="center"><b>Own your Oura Ring data.</b> Pull your sleep, readiness, activity, heart rate, SpO₂, stress, and workouts from the Oura Cloud API straight to your terminal. No mobile app. No telemetry. Just SQLite and your data.</p>
|
|
12
12
|
|
|
13
|
+
<p align="center">
|
|
14
|
+
<img src="https://github.com/drakulavich/oura-cli/raw/main/assets/demo.gif" alt="oura-cli demo: --version, db today, db week, report, describe" width="720">
|
|
15
|
+
</p>
|
|
16
|
+
|
|
13
17
|
- **Offline-first.** Everything caches into `~/.oura-cli/oura.db` after one `oura-cli sync`. Reports keep working when your internet doesn't.
|
|
14
18
|
- **Real terminal reports.** `oura-cli report` writes a weekly or monthly digest with averages, trend deltas, and "you slept poorly Tuesday" callouts. No dashboards, no logging in.
|
|
15
19
|
- **Pipe-friendly.** Output auto-switches to stable JSON when stdout isn't a terminal. Analyse with `jq`, plot with `gnuplot`, or feed it into your own scripts.
|
|
16
|
-
- **Single
|
|
20
|
+
- **Single 100 kB binary, MIT, no telemetry.** Built on Bun; zero native dependencies.
|
|
17
21
|
|
|
18
22
|
## Install
|
|
19
23
|
|
|
@@ -132,7 +136,7 @@ This tool reads your personal health data — handle the token with care.
|
|
|
132
136
|
| Sleep model | Oura V2 `sleep` | `sleep_model` |
|
|
133
137
|
| Cardiovascular age | Oura V2 `cardiovascular_age` | `cardiovascular_age` |
|
|
134
138
|
|
|
135
|
-
Runtime: [Bun](https://bun.sh). Storage: built-in `bun:sqlite`. CLI parsing: [
|
|
139
|
+
Runtime: [Bun](https://bun.sh). Storage: built-in `bun:sqlite`. CLI parsing: [citty](https://github.com/unjs/citty). Output styling: [chalk](https://github.com/chalk/chalk). One 100 kB `dist/index.js`, no native deps.
|
|
136
140
|
|
|
137
141
|
## Automation (LLM agents, scripts, MCP)
|
|
138
142
|
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@drakulavich/oura-cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.5",
|
|
4
4
|
"description": "Oura Ring CLI — query and analyze Oura Ring health data from the command line, designed for humans and AI agents.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"oura",
|
|
@@ -56,10 +56,9 @@
|
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@types/bun": "^1.3.14",
|
|
59
|
-
"@types/node": "^
|
|
60
|
-
"@typescript/native-preview": "^7.0.0-dev.20260513.1",
|
|
59
|
+
"@types/node": "^26.0.0",
|
|
61
60
|
"ajv": "^8.20.0",
|
|
62
61
|
"ajv-formats": "^3.0.1",
|
|
63
|
-
"typescript": "^
|
|
62
|
+
"typescript": "^7.0.2"
|
|
64
63
|
}
|
|
65
64
|
}
|