diff --git a/CHANGELOG.md b/CHANGELOG.md index e7f0b8d..11aa007 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ follows [Semantic Versioning](https://semver.org/). ## 2026-11-21 +- Publish 0.3.0-beta.28, build 99, for macOS, Windows and Linux from `5a0551a`. It is the first published Linux build: an unsigned AppImage and tar.gz with no in-app updates. Pin installs and docs to it and add a Linux download section (ADR 0050 amendment). - The usage panel no longer shows a scrollbar when its content is taller than the panel. It still scrolls with the trackpad, mouse wheel or keyboard. - Publish 0.3.0-beta.27, build 98, for macOS and Windows from `6c96d04` (narrower usage panel), and pin installs and docs to it. - The usage panel is narrower: 360 points at Medium instead of 420 (324 at Small, 414 at Large). All nine provider tabs still fit without scrolling. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 72356b8..2d2da86 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -135,8 +135,8 @@ See [`docs/DEMO.md`](docs/DEMO.md) for the data and privacy rules. ## TypeScript Electron candidate -The source manifest retains 0.2.41. The default Electron beta is 0.3.0-beta.27, -build 98, with the version explicitly set during packaging. See the +The source manifest retains 0.2.41. The default Electron beta is 0.3.0-beta.28, +build 99, with the version explicitly set during packaging. See the [beta guide](docs/BETA.md) for the signed artifact and incomplete native acceptance, and the [Electron guide](docs/electron/README.md) for source choices and parity gaps. diff --git a/README.md b/README.md index 32de501..484aba0 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ download. Historical Swift source and releases remain available for recovery. ## Download -[Download MeterUsage 0.3.0-beta.27, build 98](https://github.com/tilorahdotco/meterusage/releases/download/v0.3.0-beta.27/MeterUsage-0.3.0-beta.27-mac-arm64.zip) +[Download MeterUsage 0.3.0-beta.28, build 99](https://github.com/tilorahdotco/meterusage/releases/download/v0.3.0-beta.28/MeterUsage-0.3.0-beta.28-mac-arm64.zip) for Apple silicon, macOS 13 or later. This is a **beta**, Developer ID signed and notarized. See [installation and known limits](docs/BETA.md). @@ -30,20 +30,27 @@ on 2026-11-01. Beta 12 and later accept updates from it. Apps that updated to be ### Windows (unsigned pre-release) -[Download MeterUsage 0.3.0-beta.27 for Windows](https://github.com/tilorahdotco/meterusage/releases/download/v0.3.0-beta.27/MeterUsage-0.3.0-beta.27-win-x64.exe) -(x64 per-user installer; a [portable zip and `SHA256SUMS`](https://github.com/tilorahdotco/meterusage/releases/tag/v0.3.0-beta.27) +[Download MeterUsage 0.3.0-beta.28 for Windows](https://github.com/tilorahdotco/meterusage/releases/download/v0.3.0-beta.28/MeterUsage-0.3.0-beta.28-win-x64.exe) +(x64 per-user installer; a [portable zip and `SHA256SUMS`](https://github.com/tilorahdotco/meterusage/releases/tag/v0.3.0-beta.28) are on the release page). This build is **unsigned**: SmartScreen shows "Windows protected your PC". Choose **More info → Run anyway** only after the file's SHA-256 matches `SHA256SUMS`. There is no Windows test PC. A GitHub Actions Windows runner tested this exact build; desktop account connections, real accounts, real upgrades and many native behaviors remain unverified on a real -PC. See [Windows beta notes](docs/BETA.md#windows-beta-27) and +PC. See [Windows beta notes](docs/BETA.md#windows-beta-28) and [ADR 0038](docs/adr/0038-windows-ci-test-machine.md). -### Linux (build from source, preview) +### Linux (unsigned pre-release) -There is no Linux download yet. Developers can build unsigned x64 packages -from a checkout with Node 24 and pnpm: +[Download the AppImage](https://github.com/tilorahdotco/meterusage/releases/download/v0.3.0-beta.28/MeterUsage-0.3.0-beta.28-linux-x64.AppImage) +or the [tar.gz](https://github.com/tilorahdotco/meterusage/releases/download/v0.3.0-beta.28/MeterUsage-0.3.0-beta.28-linux-x64.tar.gz) +for x64 Linux, and check it against +[`SHA256SUMS`](https://github.com/tilorahdotco/meterusage/releases/download/v0.3.0-beta.28/SHA256SUMS) +with `sha256sum -c --ignore-missing SHA256SUMS`. This first Linux build is +**unsigned** and has no in-app updates: download new versions from the release +page. See [Linux beta notes](docs/BETA.md#linux-beta-28). + +To build the same packages from a checkout with Node 24 and pnpm: ```sh pnpm install --frozen-lockfile @@ -51,7 +58,7 @@ pnpm package:linux ``` This writes `release/MeterUsage--linux-x64.AppImage` and `.tar.gz`. -The AppImage needs FUSE 2 (`libfuse2`, named `libfuse2t64` on Ubuntu 24.04 and +Either way, the AppImage needs FUSE 2 (`libfuse2`, named `libfuse2t64` on Ubuntu 24.04 and later); the tar.gz copy does not. MeterUsage runs in the system tray; open it from the tray menu. CLI providers and the Codex connection work. Claude Desktop, Grok Bot Desktop and @@ -166,13 +173,13 @@ All nine provider adapters exist in the Electron source and the legacy Swift sou Codex, Claude Code, Antigravity, OpenRouter, Grok, OpenCode Go, Cursor, Copilot CLI and Gemini CLI. Their inputs and available measurements differ. The [Swift provider matrix](legacy/swift/README.md#provider-matrix) describes existing -CLI/local collection. The [Electron source choices](https://github.com/tilorahdotco/meterusage/blob/v0.3.0-beta.27/docs/electron/README.md#source-choices) +CLI/local collection. The [Electron source choices](https://github.com/tilorahdotco/meterusage/blob/v0.3.0-beta.28/docs/electron/README.md#source-choices) also describe optional Codex browser sign-in and Claude Desktop allowance. Local activity covers this Mac. Provider-reported account data has its own coverage limits. Missing tokens remain unknown. Local token costs are estimates; optional API billing cards label provider-reported amounts separately. Provider dashboards -remain the billing source of record. Read the [beta privacy contract](https://github.com/tilorahdotco/meterusage/blob/v0.3.0-beta.27/docs/PRIVACY.md) +remain the billing source of record. Read the [beta privacy contract](https://github.com/tilorahdotco/meterusage/blob/v0.3.0-beta.28/docs/PRIVACY.md) for Electron or the [retained Swift reporting privacy contract](docs/PRIVACY.md#legacy-swift-source-diagnostic-reports) before changing a data source or sharing screenshots. @@ -190,11 +197,11 @@ acceptance or verify Swift upgrade/rollback. See [ADR 0034](docs/adr/0034-electr - [Beta download, verification and limits](docs/BETA.md) - [Current beta screenshots](docs/SCREENSHOTS.md) - [Historical Swift recovery reference](legacy/swift/README.md) -- [Electron guide and known gaps](https://github.com/tilorahdotco/meterusage/blob/v0.3.0-beta.27/docs/electron/README.md) +- [Electron guide and known gaps](https://github.com/tilorahdotco/meterusage/blob/v0.3.0-beta.28/docs/electron/README.md) - [Versions and staged Swift retirement](docs/VERSIONS.md) - [Contributing](CONTRIBUTING.md) - [Project knowledge](docs/KB.md) and [decision index](docs/adr/README.md) -- [Desktop connections](https://github.com/tilorahdotco/meterusage/blob/v0.3.0-beta.27/docs/DESKTOP-CONNECTIONS.md), [demo mode](docs/DEMO.md) +- [Desktop connections](https://github.com/tilorahdotco/meterusage/blob/v0.3.0-beta.28/docs/DESKTOP-CONNECTIONS.md), [demo mode](docs/DEMO.md) and [side notch](docs/SIDE-NOTCH.md) - [Concept mockups](docs/mockups/README.md) and [changelog](CHANGELOG.md) @@ -207,11 +214,11 @@ the Swift guide; product screenshots now show the Electron beta. See [downloads](#download). -See the [Electron candidate guide](https://github.com/tilorahdotco/meterusage/blob/v0.3.0-beta.27/docs/electron/README.md). +See the [Electron candidate guide](https://github.com/tilorahdotco/meterusage/blob/v0.3.0-beta.28/docs/electron/README.md). See [Swift additional local accounts](legacy/swift/README.md#second-accounts) and -[Electron advanced local accounts](https://github.com/tilorahdotco/meterusage/blob/v0.3.0-beta.27/docs/electron/README.md#advanced-local-accounts). +[Electron advanced local accounts](https://github.com/tilorahdotco/meterusage/blob/v0.3.0-beta.28/docs/electron/README.md#advanced-local-accounts). See [beta requirements](docs/BETA.md#install). @@ -221,7 +228,7 @@ See [contributor setup](CONTRIBUTING.md). See the [Swift Agent Budget CLI](legacy/swift/README.md#agent-budget-cli) and -[Electron commands](https://github.com/tilorahdotco/meterusage/blob/v0.3.0-beta.27/docs/electron/README.md#build-and-test). +[Electron commands](https://github.com/tilorahdotco/meterusage/blob/v0.3.0-beta.28/docs/electron/README.md#build-and-test). @@ -244,7 +251,7 @@ See [installation](#installation). See [beta diagnostics and bug reports](docs/BETA.md#known-limits) and the -[beta reporting guide](https://github.com/tilorahdotco/meterusage/blob/v0.3.0-beta.27/docs/REPORTING.md). +[beta reporting guide](https://github.com/tilorahdotco/meterusage/blob/v0.3.0-beta.28/docs/REPORTING.md). See [downloads](#download). diff --git a/Scripts/make-app.sh b/Scripts/make-app.sh index 1ab769e..535d524 100755 --- a/Scripts/make-app.sh +++ b/Scripts/make-app.sh @@ -44,8 +44,8 @@ if [ "$(uname -m)" != arm64 ] && [ "$(sysctl -n hw.optional.arm64 2>/dev/null || fi # Pin the reviewed release and digest together; never fall back to a build. -RELEASE_VERSION="0.3.0-beta.27" -RELEASE_SHA256="7280835d5d64be9cae9257f3ad08aec5df7504198d883bc0396856d187ca6e18" +RELEASE_VERSION="0.3.0-beta.28" +RELEASE_SHA256="c5f8a73b8d426dbd8013b66a6fc0a2dbcbbc30d9b4bd7fb0d758732e19537bc0" RELEASE_URL="https://github.com/tilorahdotco/meterusage/releases/download/v${RELEASE_VERSION}/MeterUsage-${RELEASE_VERSION}-mac-arm64.zip" TEMP_DIR="$(mktemp -d "${TMPDIR:-/tmp}/meterusage-download.XXXXXX")" STAGING_DIR="" diff --git a/docs/BETA.md b/docs/BETA.md index 88eab23..85785dd 100644 --- a/docs/BETA.md +++ b/docs/BETA.md @@ -1,14 +1,14 @@ # Electron public beta -MeterUsage **0.3.0-beta.27, build 98** is the sole offered app and default +MeterUsage **0.3.0-beta.28, build 99** is the sole offered app and default download. It remains a beta. The ZIP supports Apple silicon and macOS 13 or later and is Developer ID signed, notarized and stapled. Historical Swift source/releases remain available for recovery; stable acceptance is still open. ## Install -1. Download [the beta ZIP](https://github.com/tilorahdotco/meterusage/releases/download/v0.3.0-beta.27/MeterUsage-0.3.0-beta.27-mac-arm64.zip) - and [SHA256SUMS](https://github.com/tilorahdotco/meterusage/releases/download/v0.3.0-beta.27/SHA256SUMS). +1. Download [the beta ZIP](https://github.com/tilorahdotco/meterusage/releases/download/v0.3.0-beta.28/MeterUsage-0.3.0-beta.28-mac-arm64.zip) + and [SHA256SUMS](https://github.com/tilorahdotco/meterusage/releases/download/v0.3.0-beta.28/SHA256SUMS). 2. Quit MeterUsage and keep a copy of your existing app and its saved data for rollback. The beta shares the app identity and data locations with Swift. 3. Unzip the download, move `MeterUsage.app` to Applications, and open it. @@ -46,13 +46,13 @@ To check the ZIP in its download directory (`SHA256SUMS` also lists the Windows files, so check only the macOS line): ```sh -grep -F 'MeterUsage-0.3.0-beta.27-mac-arm64.zip' SHA256SUMS | shasum -a 256 -c - +grep -F 'MeterUsage-0.3.0-beta.28-mac-arm64.zip' SHA256SUMS | shasum -a 256 -c - ``` Expected ZIP SHA-256: ```text -7280835d5d64be9cae9257f3ad08aec5df7504198d883bc0396856d187ca6e18 +c5f8a73b8d426dbd8013b66a6fc0a2dbcbbc30d9b4bd7fb0d758732e19537bc0 ``` ## Provider coverage @@ -95,8 +95,8 @@ Expected ZIP SHA-256: by default, saves a pasted key after a successful fetch. OpenRouter keeps its existing balance and aggregate activity source. Read [API setup and limits](API_USAGE_BETA.md). -See [source choices](https://github.com/tilorahdotco/meterusage/blob/v0.3.0-beta.27/docs/electron/README.md#source-choices), -[desktop connections](https://github.com/tilorahdotco/meterusage/blob/v0.3.0-beta.27/docs/DESKTOP-CONNECTIONS.md) and [privacy](https://github.com/tilorahdotco/meterusage/blob/v0.3.0-beta.27/docs/PRIVACY.md). +See [source choices](https://github.com/tilorahdotco/meterusage/blob/v0.3.0-beta.28/docs/electron/README.md#source-choices), +[desktop connections](https://github.com/tilorahdotco/meterusage/blob/v0.3.0-beta.28/docs/DESKTOP-CONNECTIONS.md) and [privacy](https://github.com/tilorahdotco/meterusage/blob/v0.3.0-beta.28/docs/PRIVACY.md). ## Known limits @@ -122,16 +122,33 @@ See [source choices](https://github.com/tilorahdotco/meterusage/blob/v0.3.0-beta - Live Codex refresh was observed. Claude paid-account allowance was not live-tested. Optional support-report delivery and deployed relay limits were not verified end to end. -- The Windows build of this release is unsigned; see [Windows beta 27](#windows-beta-27). +- The Windows build of this release is unsigned; see [Windows beta 28](#windows-beta-28). +- The Linux build is unsigned and has no in-app updates or Desktop connections; see [Linux beta 28](#linux-beta-28). Intel Mac binaries are not provided by this beta. Use Settings > Diagnostics for sanitized diagnostics and **Send report**. The app limits report attempts to one every ten minutes, including relaunches. -Review the [report contents and privacy limits](https://github.com/tilorahdotco/meterusage/blob/v0.3.0-beta.27/docs/REPORTING.md) before sending. +Review the [report contents and privacy limits](https://github.com/tilorahdotco/meterusage/blob/v0.3.0-beta.28/docs/REPORTING.md) before sending. Never include tokens, passwords or raw account files in an issue. ## Build and screenshot identity +Beta.28 was built from `git archive` of main +`5a0551a74d2e57a996331da9e3fb89413c306d40`. It hides the usage panel's +scrollbar (#142) and adds the first published Linux build (#136, ADR 0050). +Packaging sets `0.3.0-beta.28`, build 99. The macOS ZIP, the unsigned Windows +installer and portable zip, and the unsigned Linux AppImage and tar.gz come +from that commit and share one `SHA256SUMS`. Source passed typecheck, 1065 +synthetic tests and production build, and hosted CI on main, including the +Linux package and smoke job. Apple accepted notarization. Stapling, Gatekeeper +(`Notarized Developer ID`), bundle version and the uploaded assets' SHA-256 +were checked separately. The ZIP was installed and launched on a Mac, and a +demo profile of the packaged app hid the panel scrollbar while content +overflowed. The Windows build passed the release workflow (run 44972303767). +The Linux packages were built on an x64 Linux host and passed +`Scripts/electron/linux-smoke.sh` on Xvfb with the Chromium sandbox on; the +AppImage also produced a demo JSON report. + Beta.27 was built from `git archive` of main `6c96d04ef1708e07fd9fd72fff4b8222495db9d4`. It narrows the usage panel to 360 points at Medium (324 at Small, 414 at Large) (#140) and carries everything in @@ -246,21 +263,48 @@ Applications. The new artifact does not close the native acceptance gaps above. The [screenshot gallery](SCREENSHOTS.md) uses invented demo data and the actual release renderer. It replaces old product captures without exposing real accounts. -## Windows beta 27 +## Linux beta 28 + +[MeterUsage 0.3.0-beta.28, build 99](https://github.com/tilorahdotco/meterusage/releases/tag/v0.3.0-beta.28) +is the first published Linux build: **unsigned**, x64, from `5a0551a`. -[MeterUsage 0.3.0-beta.27, build 98](https://github.com/tilorahdotco/meterusage/releases/tag/v0.3.0-beta.27) carries the +| Asset | SHA-256 | +| --- | --- | +| `MeterUsage-0.3.0-beta.28-linux-x64.AppImage` | `60a2504b37cd7b183d47ef0346045b62b8902e2bd6ace6287240b26deb05e9b9` | +| `MeterUsage-0.3.0-beta.28-linux-x64.tar.gz` | `1bc0a5e6e45b4dbe40dba756871142b43696afe2a7d546218a46e7c349385044` | + +1. Download one file and `SHA256SUMS`, then run + `sha256sum -c --ignore-missing SHA256SUMS`. +2. AppImage: `chmod +x` it and run it. It needs FUSE 2 (`libfuse2`, or + `libfuse2t64` on Ubuntu 24.04 and later). tar.gz: extract it and run + `meterusage`. +3. On Ubuntu 24.04 and later, Chromium's sandbox needs the tar.gz copy's + `chrome-sandbox` owned by root with mode 4755, or an AppArmor profile that + allows user namespaces for the AppImage. Do not use `--no-sandbox`. + +MeterUsage runs in the system tray with a fixed menu. Settings are in +`~/.config/MeterUsage`. CLI providers and the Codex connection work. Claude +Desktop, Grok Bot Desktop and Antigravity Desktop connections and in-app +updates are not available on Linux yet; download new versions from the release +page. The build was tested on virtual displays only (a GitHub `ubuntu-latest` +runner and an Xvfb smoke run), not on a real Linux desktop or tray host +([ADR 0050](adr/0050-linux-desktop-shell.md)). + +## Windows beta 28 + +[MeterUsage 0.3.0-beta.28, build 99](https://github.com/tilorahdotco/meterusage/releases/tag/v0.3.0-beta.28) carries the **unsigned** Windows build for x64 Windows 10/11 alongside the macOS ZIP. Both -were built from `6c96d04`, with one `SHA256SUMS` for all three files. Each +were built from `5a0551a`, with one `SHA256SUMS` for all five files. Each updater selects only its own platform's asset. The first Windows build, [0.3.0-beta.13, build 83](https://github.com/tilorahdotco/meterusage/releases/tag/v0.3.0-beta.13), was Windows-only. | Asset | SHA-256 | | --- | --- | -| `MeterUsage-0.3.0-beta.27-win-x64.exe` (per-user installer) | `517cdf0733a3b572331a1050b16163e7ab40f8ca5d7770a4a09c92574663eb46` | -| `MeterUsage-0.3.0-beta.27-win-x64.zip` (portable; cannot update itself) | `0ed123a41133363181aa1b9969054e9478d69e8521c9436365767b74c69e9f79` | +| `MeterUsage-0.3.0-beta.28-win-x64.exe` (per-user installer) | `86aa0cddaf05c2dc64c650b81746b47b8430780f480e3e5452cf4f134b9802b4` | +| `MeterUsage-0.3.0-beta.28-win-x64.zip` (portable; cannot update itself) | `040b81951f22f1707f777b205242a2661235c2e24a26ba2cfd8cfc57c9cbf5c7` | 1. Download the installer and `SHA256SUMS` from the release. -2. In PowerShell, run `Get-FileHash -Algorithm SHA256 .\MeterUsage-0.3.0-beta.27-win-x64.exe` +2. In PowerShell, run `Get-FileHash -Algorithm SHA256 .\MeterUsage-0.3.0-beta.28-win-x64.exe` and compare it with `SHA256SUMS`. 3. Run the installer. SmartScreen warns because there is no code-signing certificate; choose **More info → Run anyway** only if the hash matches. @@ -272,6 +316,13 @@ Data and settings are in `%APPDATA%\MeterUsage`. Uninstall from **Settings → Apps**; app data is kept. Later Windows pre-releases install through the in-app updater (digest-verified, unsigned; [ADR 0039](adr/0039-windows-updater.md)). +Beta.28's Windows assets were built from `5a0551a` by the **Windows release +build** workflow +([run 44972303767](https://github.com/tilorahdotco/meterusage/actions/runs/44972303767)). +On a GitHub `windows-latest` runner, it passed typecheck, 712 Windows tests +(11 skipped), packaging, packaged-app smoke tests, and the silent install, +update handoff and uninstall check. + Beta.27's Windows assets were built from `6c96d04` by the **Windows release build** workflow ([run 44969605397](https://github.com/tilorahdotco/meterusage/actions/runs/44969605397)). diff --git a/docs/KB.md b/docs/KB.md index 210c68c..209b2d9 100644 --- a/docs/KB.md +++ b/docs/KB.md @@ -1,6 +1,6 @@ # Project knowledge -Release documentation refresh: 2026-11-21 for build 98. +Release documentation refresh: 2026-11-21 for build 99. ## Contributor checks @@ -34,7 +34,7 @@ Release documentation refresh: 2026-11-21 for build 98. `legacy/swift/` and removes them from CI. Historical Swift releases remain recovery/reference material. Deletion is still pending. Required Swift helpers (`Scripts/electron/*.swift`) and shared `Resources/` assets stay. -- `Scripts/make-app.sh` pins [Electron 0.3.0-beta.27, build 98](BETA.md), its +- `Scripts/make-app.sh` pins [Electron 0.3.0-beta.28, build 99](BETA.md), its `-mac-arm64.zip` filename and SHA-256. It verifies the download and staged signature before replacement, preserves the published signature, and never falls back to a compiler. Preparing output does not install the app. diff --git a/docs/VERSIONS.md b/docs/VERSIONS.md index ba24e52..40416c0 100644 --- a/docs/VERSIONS.md +++ b/docs/VERSIONS.md @@ -1,6 +1,6 @@ # MeterUsage versions -Electron **0.3.0-beta.27, build 98** is the sole offered distribution and default +Electron **0.3.0-beta.28, build 99** is the sole offered distribution and default installer download. It remains a beta, with stable acceptance open. New features target Electron. Historical Swift 0.2.41 releases and the frozen Swift source under `legacy/swift/` remain recovery/reference material diff --git a/docs/adr/0050-linux-desktop-shell.md b/docs/adr/0050-linux-desktop-shell.md index 5a61583..7062e2c 100644 --- a/docs/adr/0050-linux-desktop-shell.md +++ b/docs/adr/0050-linux-desktop-shell.md @@ -1,6 +1,6 @@ # ADR 0050: Add the Linux desktop shell with CI as the test machine -- Status: Stage 1 source implementation; CI package and smoke job; no published Linux build; real-desktop acceptance pending +- Status: Stage 1 implemented; first Linux pre-release published (0.3.0-beta.28); updater, desktop connections and real-desktop acceptance pending - Date: 2026-11-21 - Amends: [ADR 0038](0038-windows-ci-test-machine.md) ("Linux remains unsupported for the desktop shell") @@ -115,3 +115,17 @@ limited to what the CI job records until someone tests a real Linux desktop. `tests/macos-host.ts`. On a Linux host they would otherwise take the Linux branches. `tests/linux.test.ts` covers the Linux branches on every host. - No Linux build is published until stage 4. + +## Amendment (2026-11-21): first Linux pre-release + +The owner chose to publish Linux before stages 2 and 3, under stage 4's +condition that the CI smoke run passes. 0.3.0-beta.28, build 99, ships an +unsigned `MeterUsage--linux-x64.AppImage` and `.tar.gz` in the same +release and `SHA256SUMS` as macOS and Windows. The packages were built from the +release commit on an x64 Linux host with the release version and build, passed +`Scripts/electron/linux-smoke.sh` on Xvfb with the sandbox on, and the AppImage +produced a demo JSON report. Linux still has no updater: macOS and Windows +updaters match only their own asset names, so the Linux files do not affect +them. Release notes and the README state the missing updater, the unsupported +Desktop connections, the FUSE 2 and sandbox requirements, and that no real +Linux desktop has tested the build. diff --git a/docs/electron/README.md b/docs/electron/README.md index 0ccc45e..f077f16 100644 --- a/docs/electron/README.md +++ b/docs/electron/README.md @@ -4,7 +4,7 @@ Electron is the sole offered app, default download and active target for new MeterUsage features. Historical Swift source/releases remain recovery/reference material under [ADR 0034](../adr/0034-electron-beta-default.md). -The default public beta is **0.3.0-beta.27, build 98**, for Apple silicon and +The default public beta is **0.3.0-beta.28, build 99**, for Apple silicon and macOS 13+. Use the [beta installation guide](../BETA.md) or run `Scripts/make-app.sh` for verified prebuilt preparation. The ZIP is Developer ID signed and notarized. Source manifests retain `0.2.41`; packaging sets the beta @@ -224,7 +224,7 @@ packaging and installation receipts only for their recorded layer. Windows work resumed under [ADR 0038](../adr/0038-windows-ci-test-machine.md) with a CI runner as the only test machine. The `windows` CI job packages an unsigned build and smoke-tests it. The unsigned Windows build of -[0.3.0-beta.27](../BETA.md#windows-beta-27) is published alongside macOS; real-machine +[0.3.0-beta.28](../BETA.md#windows-beta-28) is published alongside macOS; real-machine acceptance remains open. [ADR 0010](../adr/0010-macos-typescript-electron.md) keeps Swift as the behavior diff --git a/docs/kb/linux.md b/docs/kb/linux.md index e28bd48..e8f940e 100644 --- a/docs/kb/linux.md +++ b/docs/kb/linux.md @@ -2,7 +2,7 @@ Part of [project knowledge](../KB.md). Linux paths, shell, packaging, tests and CI. -- [ADR 0050](../adr/0050-linux-desktop-shell.md) adds the Linux desktop shell in stages, with the `ubuntu-latest` CI runner and Xvfb as the only test machine. Stage 1 (foundation, shell, packages, CI smoke) is source-implemented. No Linux build is published, and no real Linux desktop has accepted it. +- [ADR 0050](../adr/0050-linux-desktop-shell.md) adds the Linux desktop shell in stages, with the `ubuntu-latest` CI runner and Xvfb as the only test machine. Stage 1 (foundation, shell, packages, CI smoke) is implemented, and 0.3.0-beta.28, build 99, is the first published Linux pre-release (unsigned AppImage and tar.gz, built on an x64 Linux host and smoke-tested on Xvfb). Stages 2 (updater) and 3 (desktop connections) are not implemented, and no real Linux desktop has accepted it. - Linux app data is `$XDG_CONFIG_HOME/MeterUsage`. `$XDG_CONFIG_HOME` is used only when it is absolute and under the home folder; otherwise `~/.config`. `localRoot` equals `supportRoot` on Linux. `launchConfiguration` records `platform: "linux"` and, for GUI launches, accepts Electron's validated singleton links in a candidate profile (as on macOS), so a second launch activates the running app. The Linux `minimalEnvironment` for live test profiles keeps `DBUS_SESSION_BUS_ADDRESS` and `XDG_RUNTIME_DIR` when set. Linux branches read `launch.platform` (preferences, connections, updater). Installed Linux preferences use `preferences.json` through the Windows/test JSON writer. diff --git a/docs/kb/releases.md b/docs/kb/releases.md index 329b341..24358ff 100644 --- a/docs/kb/releases.md +++ b/docs/kb/releases.md @@ -4,7 +4,7 @@ Part of [project knowledge](../KB.md). Product summary, version pins, published - meterusage is a macOS menu-bar app that displays AI coding-assistant quota and usage signals. `README.md` describes provider clusters, quota cards, heatmaps, sparklines, alerts, diagnostics, and a scriptable JSON CLI. -- `README.md` and `Scripts/make-app.sh` select the prebuilt Electron 0.3.0-beta.27 Apple silicon ZIP for macOS 13+. Installation needs no Node, pnpm, Swift, Xcode or Git. The script verifies SHA-256 and downloaded/staged signatures before replacing generated output, preserving the published signature and existing output on copy/verification failures. It rejects unsupported platforms and never compiles; `--build-from-source` exits with a pointer to `legacy/swift/Scripts/make-app.sh`, which builds legacy Swift for recovery/reference. Historical Swift 0.2.41 remains retrievable, ad-hoc signed and not notarized. GitHub source archives contain source and scripts, not an app bundle. See ADRs 0009 and 0034. +- `README.md` and `Scripts/make-app.sh` select the prebuilt Electron 0.3.0-beta.28 Apple silicon ZIP for macOS 13+. Installation needs no Node, pnpm, Swift, Xcode or Git. The script verifies SHA-256 and downloaded/staged signatures before replacing generated output, preserving the published signature and existing output on copy/verification failures. It rejects unsupported platforms and never compiles; `--build-from-source` exits with a pointer to `legacy/swift/Scripts/make-app.sh`, which builds legacy Swift for recovery/reference. Historical Swift 0.2.41 remains retrievable, ad-hoc signed and not notarized. GitHub source archives contain source and scripts, not an app bundle. See ADRs 0009 and 0034. - `legacy/swift/Resources/Info.plist` and `CHANGELOG.md` record version 0.2.41, build 46, dated 2026-10-05. This release collects fresh quota observations after an accepted manual Codex reset, derives pacing and ETA from later usage growth, and removes the redeemed reset credit from archived quota data. The previous release was 0.2.40, which added accent colour themes, Codex cost estimates, and refreshed model prices. Repository version and release-note entries do not prove that a GitHub Release or its downloadable asset has been published. @@ -18,6 +18,8 @@ Part of [project knowledge](../KB.md). Product summary, version pins, published - 0.3.0-beta.16, build 86, was published on 2026-11-02 for macOS and Windows in one release from `73ce30b` (Windows workflow run 41474197722; macOS built, signed and notarized on the Mac). One LF `SHA256SUMS` lists the macOS ZIP (`44d34e6c…87fe51`), the unsigned Windows installer (`07f5937b…5b1c8a`) and the portable zip (`197be91b…30b903`). Later releases follow this combined pattern. +- 0.3.0-beta.28, build 99, was published on 2026-11-21 for macOS, Windows and Linux from `5a0551a` (hidden usage-panel scrollbar #142; first published Linux build #136; Windows workflow run 44972303767; Linux packages built on an x64 Linux host and smoke-tested on Xvfb). `SHA256SUMS`: macOS ZIP `c5f8a73b…537bc0`, Windows installer `86aa0cdd…9802b4`, portable zip `040b8195…cbf5c7`, Linux AppImage `60a2504b…05e9b9`, tar.gz `1bc0a5e6…385044`. + - 0.3.0-beta.27, build 98, was published on 2026-11-21 for macOS and Windows from `6c96d04` (usage panel narrowed to 360 points #140; Windows workflow run 44969605397). `SHA256SUMS`: macOS ZIP `7280835d…ca6e18`, Windows installer `517cdf07…63eb46`, portable zip `0ed123a4…e9f79`. - 0.3.0-beta.26, build 97, was published on 2026-11-21 for macOS and Windows from `7e6f0bb` (usage on provider tabs and clearer meter timing #137, API credit totals #128–#130, API key Keychain saving #126 #127, native Antigravity CLI #131 #133, expired Claude Desktop session #132, model-only free resets #123; Windows workflow run 44965492395). `SHA256SUMS`: macOS ZIP `6d7b50d6…2fbd0d`, Windows installer `2952da5b…e0ec31`, portable zip `c88f25a4…cabc5c`. Versions 0.3.0-beta.21 to beta.25 (builds 91–96) were local test builds and were never published. diff --git a/tests/scripts/make-app-tests.sh b/tests/scripts/make-app-tests.sh index 46d77d1..0619ede 100644 --- a/tests/scripts/make-app-tests.sh +++ b/tests/scripts/make-app-tests.sh @@ -87,9 +87,9 @@ run_case() { test ! -s "${WORK}/calls" || { echo 'FAIL: legacy source option ran tools' >&2; exit 1; } fi if [ "$expected" -eq 0 ]; then - grep -Fqx 'https://github.com/tilorahdotco/meterusage/releases/download/v0.3.0-beta.27/MeterUsage-0.3.0-beta.27-mac-arm64.zip' "${WORK}/url-args" || { echo 'FAIL: default Electron beta asset URL' >&2; exit 1; } - grep -q '^7280835d5d64be9cae9257f3ad08aec5df7504198d883bc0396856d187ca6e18 ' "${WORK}/digest-input" || { echo 'FAIL: default Electron beta digest' >&2; exit 1; } - grep -Fq 'MeterUsage 0.3.0-beta.27' "${WORK}/output" + grep -Fqx 'https://github.com/tilorahdotco/meterusage/releases/download/v0.3.0-beta.28/MeterUsage-0.3.0-beta.28-mac-arm64.zip' "${WORK}/url-args" || { echo 'FAIL: default Electron beta asset URL' >&2; exit 1; } + grep -q '^c5f8a73b8d426dbd8013b66a6fc0a2dbcbbc30d9b4bd7fb0d758732e19537bc0 ' "${WORK}/digest-input" || { echo 'FAIL: default Electron beta digest' >&2; exit 1; } + grep -Fq 'MeterUsage 0.3.0-beta.28' "${WORK}/output" test "$(grep -c '^--verify$' "${WORK}/sign-args")" -eq 2 if grep -Eq '^--(force|sign)$' "${WORK}/sign-args"; then echo 'FAIL: default path changed the published signature' >&2; exit 1; fi test -x "${WORK}/repo/dist/MeterUsage.app/Contents/MacOS/meterusage"