@drakulavich/oura-cli 0.4.4 → 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 CHANGED
@@ -6,6 +6,22 @@ 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
+
9
25
  ## [0.4.4] - 2026-05-13
10
26
 
11
27
  ### Added
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://github.com/drakulavich/oura-cli/actions/workflows/ci.yml"><img src="https://github.com/drakulavich/oura-cli/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
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>
@@ -11,16 +11,13 @@
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
13
  <p align="center">
14
- <a href="https://github.com/drakulavich/oura-cli/raw/main/assets/demo.webm">
15
- <video src="https://github.com/drakulavich/oura-cli/raw/main/assets/demo.webm" width="720" controls muted playsinline></video>
16
- <em>Watch the 25-second demo</em>
17
- </a>
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">
18
15
  </p>
19
16
 
20
17
  - **Offline-first.** Everything caches into `~/.oura-cli/oura.db` after one `oura-cli sync`. Reports keep working when your internet doesn't.
21
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.
22
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.
23
- - **Single 142 kB binary, MIT, no telemetry.** Built on Bun; zero native dependencies.
20
+ - **Single 100 kB binary, MIT, no telemetry.** Built on Bun; zero native dependencies.
24
21
 
25
22
  ## Install
26
23
 
@@ -139,7 +136,7 @@ This tool reads your personal health data — handle the token with care.
139
136
  | Sleep model | Oura V2 `sleep` | `sleep_model` |
140
137
  | Cardiovascular age | Oura V2 `cardiovascular_age` | `cardiovascular_age` |
141
138
 
142
- Runtime: [Bun](https://bun.sh). Storage: built-in `bun:sqlite`. CLI parsing: [Commander](https://github.com/tj/commander.js). Output styling: [chalk](https://github.com/chalk/chalk). One 142 kB `dist/index.js`, no native deps.
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.
143
140
 
144
141
  ## Automation (LLM agents, scripts, MCP)
145
142
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drakulavich/oura-cli",
3
- "version": "0.4.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": "^25.3.3",
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": "^6.0.3"
62
+ "typescript": "^7.0.2"
64
63
  }
65
64
  }