Skip to content

Current maintenance validation

Reviewed: 2026-11-17. Maintenance validation source: 0.3.9; release preparation: 0.3.10. Environment: Windows x64, Node 26.13.0, npm 12.0.2, pnpm 12.21.0 and Rust 1.99.1. Commands run from the repository root; disposable scripts, logs, raw public catalog and isolated databases are under build/maintenance-20261116/. The user subsequently authorized the version bump, commit, annotated v0.3.10 tag with changelog, push and release workflow. All manifest/lock versions are synchronized; the existing workflow creates a draft after platform checks. The local executable and full maintenance checks below precede the version-only bump; tagged CI validates 0.3.10 separately. Release preparation artifacts use build/release-0310/.

Plan assessment

Core storage, collection, desktop queries/settings/scheduling, costs, exchange, updates, languages and documentation have implementations and existing scoped checks. The user confirmed documentation deployment. Plan.md now keeps current work and unresolved conditions; execution requirements consolidates completed delivery scope. Standalone Qoder IDE/JetBrains token readers and other F1 candidates remain unimplemented/unverified. Native public-release/installer and other-platform GUI update acceptance remain separate from code completion.

Custom-provider official price fallback

Reviewed on 2026-11-17 with Windows x64, Node.js 26.13.1 and Rust 1.99.1. Disposable probes, public catalog data and translation inputs are under build/pricing-custom-provider-20261117/. A minimal regression used zhipu-ai-(coding-plan) with glm-5.3-flash, the latest bundled Z.ai USD tariff and a conflicting lower-priority CNY snapshot. The old candidate order returned channel_unknown: it compared currencies across snapshots before applying snapshot priority. Provider IDs were already intended to be customizable; no provider-name alias is added.

Fallback selection now limits candidates to the configured region/channel or official global scope, applies snapshot priority, and then prefers an API channel within the selected snapshot. Lower-priority conflicts no longer suppress the selected tariff. A currency/channel conflict inside that snapshot still returns channel_unknown; exact model identity, official-vendor restrictions, token coverage and context tiers are unchanged. Both bare and provider-qualified model IDs cover occurrence-time and current-price estimates. The matching-policy marker is official-reference-6, which repairs retained unsealed detail once without rewriting sealed history or requiring a database reset.

The official Z.ai price page, rechecked on 2026-11-17, lists GLM-5.3-Flash at USD 0.15 input, 0.03 cached input and 0.50 output per million tokens. The public models.dev response was HTTP 200, 6,689,815 bytes with SHA-256 01221db67a47999df0d93c2e7d85ad70172bc6732815751da164ce875231c88e. It contains both Z.ai and Zhipu rows for this model; the regression verifies that the higher-priority bundled official row wins. Read-only application inspection was limited to this model’s price rows, pricing defaults, policy marker and aggregate cost/event dimensions; no session content, source paths or credentials were read. It did not contain the exact reported custom provider, so the new acceptance case uses synthetic tokens and real price-row shapes rather than claiming real-event GUI or billing acceptance.

Check Result
Pre-fix custom-provider regression Exit 1: custom_provider_uses_the_preferred_same_model_official_snapshot failed because the custom provider received no official same-model price. It passes after the change.
Seven pricing/dashboard suites Exit 0: 57 tests passed, including same-snapshot ambiguity, exact-price priority, old-policy repair and sealed-day preservation.
Isolated SQLite custom-provider query Exit 0: event commit, occurrence-day rebuild, current summary and model-row subtotal all select USD and the bundled Z.ai row. The first test-only compile attempt shadowed the event helper with a closure; renaming the closure fixed that error before the passing run.
npm run verify The first 120-second run was terminated with exit 143 during the full Rust tests. A complete rerun with a 300-second timeout exited 0, and the final rerun after adding the SQLite case also exited 0: 1,192 Rust tests passed, ten existing native/platform tests remained explicitly ignored; 20 script and 34 frontend tests, Svelte, rustfmt, Clippy and the production frontend build passed.
npm run check:docs / test:docs / build:docs Exit 0: 215 repository pairs, 21 guide pairs, 41 documentation tests, 1,427 built pages and 3,018 checked output files. Comment references were reviewed for all four changed Rust files.

Release 0.3.13 preparation

The user authorized the version bump, commit, annotated changelog tag, push and release workflow. Release preparation artifacts use build/release-0313/. The candidate includes the custom-provider pricing repair, bounded Codex oversized-compaction streaming and generic aggregate reference-price notices. Root/desktop npm manifests and locks, Tauri configuration, both Rust package versions and Cargo.lock agree on 0.3.13; the shared pnpm lock has no workspace version field to change.

The packager’s releaseVersion() returned 0.3.13. The final npm run verify exited 0 with 1,192 Rust tests, ten existing native/platform ignores, 20 script tests and 34 frontend tests, plus clean Markdown, assets, Svelte, rustfmt, Clippy and production frontend build. npm run test:browser also exited 0. The complete annotated v0.3.13 message supplies the Release body. The existing tag workflow checks this exact source and six platform/architecture packages before creating a Draft Release; triggering that workflow does not itself establish remote packaging, asset verification or public-release completion.

Copilot composite pricing and oh-my-pi 18.22.0

Reviewed on 2026-11-17 with Windows x64, Node.js 26.13.1 and Rust 1.99.1. Read-only probes and isolated scanner databases are under build/pricing-followup-20261117/. The reported 124 unpriced events have provider_id=github-copilot and model_raw=ZhiPu AI (Coding Plan)/glm-5.3-flash in assistant_usage_events schema 9. The native model column contains the documented provider-name/model-id selection, while copilot_usage_model is NULL. The old reference resolver preserved the whole string because the custom prefix differed from the source channel, producing channel_unknown.

For Copilot CLI only, price resolution now removes exactly one leading namespace before requiring an exact official model match. Raw provider/model identity and all other sources’ unknown namespaces are unchanged. The cost policy is official-reference-7, repairing retained unsealed detail once. Synthetic regressions cover both estimate modes and the SQLite event/rebuild/summary path.

The official oh-my-pi session specification defines model_usage as model calls outside the transcript, with purpose/provider/model/Usage/stopReason. Parser omp-session-2 imports them as auxiliary model calls and replays old cursors without conflicts. Invalid usage keeps the call with unknown tokens and degraded health; reset_boundary and mode_change remain non-usage metadata. changes.jsonl is excluded only when its filename and call/change audit shape match, never by suffix alone.

A full read-only native scan of oh-my-pi 18.22.0 returned 216 active files, no unsupported files or diagnostics, and source health ok. It imported 835 model_usage records. Independent native-record recomputation exactly matched input total 9,974,920, uncached input 933,304, cache read 9,041,616, cache write 0, output 35,154 and total tokens 10,010,074. Three changes.jsonl files contained only file-edit audit fields and no model, usage or token fields. Invalid-usage and replay regressions remain separate from the successful native result.

The Codex issue needed no product change. Line 1492 is a valid 17,260,078-byte compacted record with all six usage fields. The current file is active_compat, has has_record_errors=false and has advanced past that line. A release-build scan completed nine bounded windows and imported 256 calls and 53,711,098 tokens, matching the independent calculation. Final source health is ok; the earlier display reflected an incomplete subsequent scan, not an unrecovered record. Historical diagnostics were not deleted.

Check Result
Pre-fix regressions Copilot composite pricing and both oh-my-pi model_usage cases failed before the changes. The changes now pass, including the unknown-usage failure branch.
Focused suites Exit 0: 75 tests across oh-my-pi contracts/incremental behavior, Codex oversized recovery, pricing archives/v29, dashboard repair and model reference.
npm run verify Exit 0: 1,195 Rust tests, ten existing native/platform ignores, 20 script tests and 34 frontend tests, plus Markdown, assets, Svelte, rustfmt, Clippy and production frontend build.
Documentation and interaction checks Exit 0: 215 repository pairs, 21 guide pairs, 41 documentation tests, 1,427 pages and 3,018 output files. Browser interaction checks passed; all nine changed Rust source files’ comment references were reviewed.

These are native scanner checks with isolated databases and one staged Codex file copy. They do not constitute a native GUI run or a real-provider billing comparison. Original Agent sources and the active application database were not modified.

Dependencies

Direct package versions were checked against the npm and crates.io registries. npm and Cargo updates also refresh compatible transitive versions; both npm locks and the pnpm workspace lock are synchronized. New versions include Starlight 0.43.1, Astro 7.4.12, markdownlint-cli2 0.24.1, Playwright 1.65.1, svelte-check 4.7.8, Vite 8.3.8, rusqlite 0.43.0, Jiff 1.0.0, rfd 0.18.0, notify-rust 4.19.0, flate2 1.1.11, toml_edit 0.25.19, ureq 3.5.2 and zstd 0.14.4. Other direct libraries were already current. TypeScript stays at 6.0.3: both @astrojs/check and svelte-check require TypeScript 5 or 6, excluding registry latest 7.0.2. No peer checks were disabled. rfd raises the application MSRV to 1.92; core remains 1.90. The pinned/CI toolchain remains 1.99.1. Jiff consumers use the officially renamed ZonedDateTime/to_zoned_datetime API; calendar/DST/scheduling tests remain required.

Root npm audit has zero findings. Desktop npm reports two low-severity findings through the current Svelte Vite plugin’s deepmerge dependency, with no compatible fix available in its registry metadata. The upstream advisory is retained as a dependency limitation; neither overrides nor peer exceptions conceal it.

Offline models

The bundled catalogue contains eight independently identified models, including qwen4-max-preview and its documented qwen4.0-max-preview alias. Preview pricing stays unavailable; it is distinct from qwen4-max. The official Token Plan reference and product updates do not turn Credits into currency. Qoder’s qmodel_latest remains an unresolved routing key.

The new snapshot has nine price rows for seven models: GPT-6.1 Terra short/long, Claude Fable 5.2, Gemini 4 Carbon current/December, Gemini 4 Hydrogen, and Qwen4-Max, Qwen3.8-Max/Flash in native CNY. Sources are the official OpenAI, Terra context tiers, Anthropic, Google and Qwen price pages. Unrepresented/unknown cache TTLs remain unpriced. Existing snapshots and historical estimates are preserved; new/old database imports, current references, future intervals and unknown-preview rejection have dedicated regressions.

Antigravity, dependencies and model catalogue

On 2026-11-23, Windows Antigravity 2.34.0 recorded Gemini 4 Neon generations in two local conversation databases. The old reader expected top-level protobuf usage and an embedded timestamp, so it missed the new nested usage and planner completion records. It also started after generation index zero. The adapter specification records which fields identify the call and how the scanner recovers old positions.

A read-only probe loaded committed SQLite pages and WAL frames in memory. A reduced database retained model IDs, token fields and shifted timestamps, with replacement identifiers for each response. On Windows x64, the Rust 1.100.0 debug executable ran --scan-once twice against an isolated application database. Both runs exited 0 and matched all 51 calls by model, completion time, uncached input, cache read, output and reasoning. The repeat scan retained 51 calls. The standalone headless suite passed 11 checks. This verifies the local scanner and persisted usage. Native GUI and other Antigravity client versions require separate checks.

npm and crates.io were checked for current direct releases. Both npm installs and the pnpm frozen lockfile check exited 0. npm and Cargo resolved compatible transitive updates. TypeScript stays on 6.0.3 because the current Astro and Svelte checkers declare peers only through 6.x. The repository and GitHub workflow select Rust 1.100.0. Linux Secret Service 6.0.0 uses the separate Tokio and Rust crypto features. The application credential module compiled for x86_64-unknown-linux-gnu with those features. No Linux D-Bus round trip was exercised.

The refreshed offline catalogue includes GLM-5.4, Gemini 4 Neon, GPT-6.2 Astra and Sol, MAI Code 2 and Flash, and Hy4 Flash. The Coding Plan catalogue identifies GLM-5.4. Its pay-as-you-go price remains unknown in the official Z.ai price list. The 2026-11-23 snapshot adds official standard API prices from Google, OpenAI and Tencent Cloud. The Hy4 Flash promotion ends at 12:00 Beijing time on November 30. The date-based snapshot leaves that transition UTC date unpriced and starts the standard rate on December 1.

npm run check:docs, npm run test:docs and npm run build:docs all exited 0. The standard browser runner could not start Edge in this sandbox. The same Playwright assertions passed using the installed Chrome 157.

npm run verify passed Markdown, assets, scripts, frontend tests, Svelte, formatting and Clippy. The sandboxed Rust run passed 1,201 tests with ten conditional ignores. One Windows receiver lifecycle test failed at the read-only credential availability probe with access denied. The exact test passed outside the sandbox. Rust doc tests and the production frontend build also exited 0 when run separately.

Public models.dev was used to find candidates, not to copy incompatible TTLs or plan prices. The downloaded catalog has 324 providers, 6,655,210 bytes and SHA-256 d94a595fb045db95d8be9705958cb97b0c0a2c51dfa6dd6ac8a74e23a49349b8.

Qoder CN

Installed VS Code extension: Alibaba-Cloud.tongyi-lingma 2.6.11, displayed as Qoder CN. Its native database is ~/.lingma/vscode/sharedClientCache/cache/db/local.db; earlier discovery only covered CLI projects. Native tables contain one format-2 chat session, two FREE_INPUT chat records and four messages, with one saved assistant per request. Neither request metadata nor the inspected schema contains token usage. extra.modelConfig.key is qmodel_latest; it does not identify the served model or billing provider. Extension request construction confirms that the key is copied from the selected model configuration. Session format version is not a historical extension-version marker.

The independent reader selects metadata only with a read-only SQLite/WAL connection. It imports two usage observations with unknown tokens, costs and underlying model-call counts; it does not read questions, answers, context, tools or accounts. Full-registry repeat reads import no duplicates. Synthetic tests cover WAL-only mutation, default/manual discovery, parent roots/arbitrary filenames, coexisting CLI/database files, pagination past invalid rows, old cursor replay, empty misrouted ownership recovery, preserved diagnostics and transaction rollback. CLI transcript regressions remain separate. Agent/edit modes, token-bearing persistence, standalone IDE and JetBrains are not verified by these chat samples.

Preview and approval-review pricing

The repair was verified on 0.3.11 and is prepared for release as 0.3.12. Disposable public-source extracts, isolated test databases and command logs use build/pricing-preview-review-20261116/. Current references now try the exact suffixless model after a terminal -preview when no applicable original tariff exists. Existing incomplete or ambiguous prices retain their result. Configured manual prices stay nonofficial; currencies, intervals and tiers are preserved. Kimi K2.8 tries its suffixless tariff before the previously authorized K2.7 Code exception. The display-only Qoder routing override remains independent of pricing; absent token data cannot produce a cost.

Installed Codex 0.169.0-alpha.11.1 has a cached hidden codex-auto-review model entry described as automatic approval review. Allowlisted catalogue metadata contains no native served-model identity or price. The official provider implementation at commit 98e1584a082234ae716a3cc69d4c6f2d3631cf2d selects gpt-5.6-luna for API-key approval review and retains codex-auto-review for ChatGPT. Accordingly, only explicit OpenAI usage receives a labeled Luna current reference. This does not establish the route’s actual or historical served model. The official rate card says current ChatGPT-authenticated auto-review safety checks are free; this does not identify authentication or historical policy from a local model name.

The new immutable Luna snapshot uses official API model prices: USD 0.20/0.02/1.20 per million input/cached-input/output tokens, with documented >272K input/output multipliers. Unverified long-context cache and write-TTL prices stay unknown. Old database startup imports the snapshot once without rewriting occurrence-time costs. Provider participates in the narrowed price-book cache key so an unrelated provider’s opaque-route result cannot suppress the OpenAI counterpart.

The first targeted run failed because a test expected the unpriced model to have no result rows. Storage intentionally retains an unknown-currency row with unpriced counts. The corrected assertion checks zero priced events and no substitute, preserving that reporting behavior. The five targeted suites then passed all 27 cases. Later checks also exposed fixed old snapshot inventories: the append adds one snapshot and two rows, giving eight snapshots and 66 rows. The original snapshot equality and historical amount assertions remain intact.

Check Result
npm run verify Exit 0: 1,189 Rust tests passed, ten explicit native/platform ignores; 20 script and 34 frontend tests, Svelte/fmt/clippy and frontend build passed.
Final official-substitute restriction After the full run, restricted nonofficial configured tariffs to terminal Preview fallback; K2.7 Code and Luna counterparts remain official-only. npm run fmt:check, npm run clippy, core library and all six pricing suites plus model_reference pass: 331 tests, exit 0.
New regression scope Eight tests cover Preview boundaries/precedence, manual/official safeguards, Codex provider isolation, context/cache uncertainty, old databases, rollback, selected hours and daily/weekly/monthly retention.
Documentation checks Exit 0: 215 repository pairs, 21 guide pairs, 41 documentation tests, 1,427 built pages and 3,018 checked output files.

These feature checks use local synthetic usage and public documentation/source metadata; they do not validate a real-provider bill or a new native GUI. The user has authorized the 0.3.12 version bump, commit, annotated changelog tag, push and public Release. Release preparation logs use build/release-0312/; tagged CI separately verifies the exact 0.3.12 source and packages before publication. npm/Rust manifests and locks are synchronized; the pnpm lock has no package-version field and its dependency graph is unchanged. Version 0.3.12 passed npm run verify again (1,189 Rust, 20 script and 34 frontend tests; ten explicit native/platform ignores), release-version consistency, and documentation check/test/build before commit. These checks do not replace the tagged platform package jobs.

Aggregate price labels and oversized Codex compaction

Metric cards, cost-panel summaries and model-table totals now show only “Some models use reference prices” when cross-model references contribute. They do not list substitute IDs or concatenate per-model reasons. Model rows and unit-price details retain the original model, exact reference and reason. The browser regression supplies two aggregate substitute IDs and checks all three aggregate regions separately from the model detail.

The current application database copy had one degraded Codex file at a held line 1,492. Native version 0.167.0-alpha.4.1 was structurally readable; has_record_errors was false. The 17,260,078-byte complete compacted line exceeded 8 MiB and contained valid six-field latest_token_usage_record usage. The reader now streams it under the existing 64 MiB cap, discarding replacement history while retaining only the timestamp and latest usage record. Other usage, unknown, malformed, incomplete and positional-array records retain the held-cursor behavior. No parser-version change is needed for a held, incomplete cursor.

A fresh isolated scan of the real file copy completed in nine bounded windows and ended active_compat at offset/size 169,775,000. It imported 256 calls and 53,711,098 total tokens, exactly matching an independent native-record calculation. Original Agent data and the active application database were not modified. This verifies the real file/parser path, not an installed GUI or old-database rewrite.

Issue #9 correctly identified that the first implementation still materialized latest_token_usage_record as a generic JSON value. Dense unknown fields could expand well beyond the input size, and the sanitized record then copied them again. The carried record now uses map-only narrow structs for three IDs and six numeric fields, ignores all other record/usage fields while streaming, and serializes directly to text. The regression places dense arrays and strings in both levels; it failed before the fix and now preserves valid usage while keeping the sanitized line below 1 KiB. Positional carried records and positional usage arrays remain rejected.

Check Result
cargo test --manifest-path desktop/src-tauri/Cargo.toml --locked --test codex_oversized Exit 0: seven tests, including carried usage plus a later call after oversized compaction.
Codex reader unit tests and codex_health_replay Exit 0: three reader tests and five health/replay tests.
cargo clippy --manifest-path desktop/src-tauri/Cargo.toml --locked -p llm-usage-core --lib --test codex_oversized -- -D warnings Exit 0.
npm run check and desktop/tests/i18n.test.mjs Exit 0: Svelte types and ten-locale message/placeholder checks.
npm run test:browser Exit 0: Edge synthetic-IPC checks cover generic trend/card/table-total labels and exact model details without narrow-layout overflow.

Disposable database/file copies and the native probe were written under build/codex-review-20261116/ and removed after validation.

Verification

Command Result
npm ci and npm --prefix desktop ci Exit 0; both frozen npm installs pass.
pnpm install --frozen-lockfile --strict-peer-dependencies Exit 0 with task-local store; supply-chain policy and build approvals retained.
Qoder regression coverage Exit 0: four CN regressions and sixteen CLI transcript tests.
Explicit cn_read_only_local_acceptance with QODER_CN_NATIVE_DB Exit 0: two native observations, repeat unchanged, token/cost unknown.
Targeted November/Kimi price tests Exit 0: seven tests.
npm run verify Exit 0: 1,167 Rust tests, ten explicitly ignored native/platform cases, 20 script tests and 32 frontend tests; clean Svelte/fmt/clippy and frontend build. The CN native case is run separately above.
npm run test:browser Exit 0; Edge synthetic-IPC interaction checks.
npm run check:docs / test:docs / build:docs / test:docs:browser Exit 0: 213 repository pairs, 21 guide pairs, 41 unit tests, 31 browser checks; 1,417 pages and 2,997 checked output files.
Windows release/executable checks Exit 0: Tauri release build, eleven headless checks, three real CN collection checks and 27 native WebView2/IPC checks with twenty launches. CN imports two observations with unknown tokens/cost, no duplicates and no other sources. GUI tests use isolated synthetic Codex/OpenCode/Qoder CLI inputs.

The final executable is desktop/src-tauri/target/release/LLMUsage.exe, SHA-256 424aa933a355a6f87e7e1370061060d6cafa2f95b06061d87b625e76d9c3c9e5. Native first-screen P95 was 1,622.98 ms across twenty launches on this machine; this does not repeat scale/resource acceptance or other-platform GUI checks.

First checks exposed the Jiff API rename, a missing native-envelope progress marker in an invalid-first-page CN test, and fixed old seed-count assertions. The API, progress marker and seed registration checks were corrected. The new reference document also required updating the sidebar’s fixed source-inventory assertion. pnpm’s old transitive selection used astro2tsx 0.1.3 with emnapi 2 beta and failed at runtime; a compatible recursive update selects upstream astro2tsx 0.1.4, which explicitly declares emnapi runtime 1.11.3. No override or peer bypass is needed. Sandbox npm, SQLite SHM and Pagefind output access failures were rerun with the authorized filesystem access; they do not establish product failures. These local checks do not establish remote CI, release publication, installer lifecycle or Linux/macOS GUI acceptance for this source revision.

The initial plain Cargo release binary passed headless collection but lacked Tauri’s embedded-frontend build context, so the native GUI test could not find an application page. The corrected command uses the installed Tauri CLI from desktop: node node_modules/@tauri-apps/cli/tauri.js build --no-bundle. npm 12 does not forward the extra --no-bundle flag through the nested root script. This command builds without installing.

The next GUI run correctly rejected October synthetic records under the default seven-day detail retention, reporting expired_by_retention rather than importing them. The GUI test now shifts its synthetic OpenCode/Qoder copies together into a recent historical window, preserving every token/identity/version field and relative timestamp. Queries use that window. Product retention and original fixtures are unchanged.