Skip to content

chore(localmodels): bump localmodels pin to 0.1.0.dev113 (WHI-1288) - #1199

Open
oldwinter53 wants to merge 1 commit into
mainfrom
chore/whi-1288-bump-localmodels-dev113
Open

oldwinter53 wants to merge 1 commit into
mainfrom
chore/whi-1288-bump-localmodels-dev113

Conversation

@oldwinter53

Copy link
Copy Markdown

Refs WHI-1288

Summary

Bump the pinned simplex-localmodels release from 0.1.0.dev111 (8c8199ad13c2) to 0.1.0.dev113 (0a89c934d482) across desktop distribution manifests, standalone launchers, install scripts, and install documentation.

apps/desktop/distribution/
├── darwin-arm64.json   # version, url, mirrors, sha256, bytes, sourceCommit, manifestSha256
├── linux-x64.json      # version, url, mirrors, sha256, bytes, sourceCommit, manifestSha256
└── win32-x64.json      # version, url, mirrors, sha256, bytes, sourceCommit, manifestSha256
scripts/installs/
├── stack.sh            # byte-identical v0.1.0.dev113 launcher (with tool.json version/capabilities check)
├── stack.ps1           # byte-identical v0.1.0.dev113 launcher (with tool.json version check)
└── README.md           # updated standalone launcher URLs
scripts/install/
├── install.sh          # synced STACK_PIN_NPM_VERSION + STACK_PIN_SHA256
└── install.ps1         # synced StackPinNpmVersion + StackPinSha256

Upstream Changes in 0.1.0.dev113

  • Windows Inkling 2 Mini ABI fix: upgrades strata-poly to PolyStrata v0.2.20-poly.10-hotfix, resolving the Windows ABI mismatch outage.
  • Qwen4 admission, host RAM, MemoryMax, and vision calibration (WHI-1288): fixes Windows Qwen4 Q3 LOAD_NO_ROOM admission, applies Linux MemoryMax OOM limits, calibrates strata-vision footprint (1502/1111 MiB), enforces download-before-load, and updates Q4 hybrid offload floors.
  • Apple Silicon Qwen4 (WHI-1293): improves Apple Silicon Qwen4 visibility and decode speed estimation.
  • Ubuntu 22.04 CUDA (WHI-1285): ships the Ubuntu 22.04 llama.cpp b12977 CUDA rebuild.
  • Reliability & kit contract: port-shift api-key persistence (WHI-1280), .part resumable downloads with process-scoped SIMPLEX_REGION (WHI-1264), direct engine telemetry updates (WHI-1228), and tool.json version/capabilities metadata (WHI-1151).
  • Managed runtime versions and baselines are unchanged (claude 2.1.326 / >=2.1.282, codex 0.171.0 / >=0.166.0, pi 1.5.2 / >=1.2.0).

Evidence

Verified Live 0.1.0.dev113 Digests (sourceCommit: 0a89c934d48242c56d3cd94169ad2dd71f5b900b)

Artifact Bytes SHA-256 manifestSha256 (tool.json)
darwin-arm64.tgz 15,307,320 dd7ee7402beed7cc76713e85f6f67a25b982411ab3f49003924633b3f1c7eb95 f098ef302d4d43ba9a3f6a0f577bcd3ff83fa010cd492366781751f7ccc62b05
linux-x64.tgz 21,136,128 e706352b32477a881400feedb20ce49bc292da98f1d011374650bcef48525638 b94dea0b846ebb33cc9a5d75439851a1274dbb099d1bb1b73efbf996a75a0403
win32-x64.tgz 23,547,787 8e59419f2b5f6021c8d56fc66a6915146748c0b1c7367314b2a87ff5b2607241 6bdf189cd49d4a1defc1ca0737e1688a4343e39aada9db6f0ef398c721d59d7c
stack.sh 15,905 37b7cd2630d1580f64de937347e74028b6b6af024f606969f11f57ddee35ae35 —
stack.ps1 33,052 913e518b9b4d5928f31fe9893ad04e6ebee62de22c09b5967dddf340a0c87029 —

Live Mirror & End-to-End Verification

  • CloudFront (releases.heylinger.com): HTTP 200 on release.json, stack.sh, stack.ps1, and all three platform tarballs; downloaded tarballs and package/tool.json hashes verified locally.
  • npmjs (registry.npmjs.org) & jsDelivr (cdn.jsdelivr.net): HTTP 200 on @simplexai/localmodels@0.1.0-dev.113, stack.sh, stack.ps1 (byte-identical to CloudFront), and all three platform tarballs.
  • npmmirror (cdn.npmmirror.com): HTTP 200 on linux-x64 (21,136,128 B) and win32-x64 (23,547,787 B); darwin-arm64 is still syncing (404 at PR creation; CloudFront and npmjs fallback remain healthy).
  • End-to-end runtime check: v0.1.0.dev113 live-verified end-to-end on Windows 11 (homewin, RTX 4060 Ti 16 GB).
  • Local checks:
    • node scripts/sync-install-stack-pin.mjs --check: passed (0.1.0.dev113 / 0.1.0-dev.113)
    • make check-desktop (includes distribution.test.ts): 79/79 files, 1,265 passed
    • go test -C apps/computer/local-daemon ./internal/provider/native ./internal/localmodels: passed (TestDesktopKitInstallsRuntimesTheDaemonAccepts + full localmodels suite)
    • pnpm --filter @linger/local-installation exec vitest run src/localmodels-tool.test.ts src/localmodels-tool-version.test.ts: 98 passed
    • pnpm vitest run scripts/install.test.ts: 17 passed (1 Windows-only skipped)
    • make check-docs, pnpm env:inventory:check, scripts/ci/check-changed-files.sh, pnpm commitlint: all passed

Merge Danger

Door: Two-way

Reverting this commit restores the 0.1.0.dev111 pins cleanly with no schema, database migration, or persisted state rollback required.

Blast Radius: Low

Touches only localmodels distribution metadata, standalone stack.sh / stack.ps1 launchers, and synced install script SHA-256 pins. No web bundle, TeamHub migration, or cross-process contract changes.

Update desktop distribution manifests, standalone stack launchers
(stack.sh / stack.ps1), install script SHA-256 pins, and install docs
from 0.1.0.dev111 to 0.1.0.dev113 (source 0a89c934d482).

Key upstream changes in 0.1.0.dev113:
- PolyStrata v0.2.20-poly.10-hotfix resolving the Windows Inkling 2 Mini
  ABI mismatch.
- Qwen4-35B-A3B admission and memory calibration fixes: Windows Q3
  LOAD_NO_ROOM admission fix, Linux MemoryMax OOM limits, calibrated
  strata-vision footprint (1502/1111 MiB), download-before-load, and Q4
  hybrid offload floors (WHI-1288).
- Apple Silicon Qwen4 visibility and decode speed estimation (WHI-1293).
- Ubuntu 22.04 llama.cpp b12977 CUDA rebuild (WHI-1285).
- Port-shift API key persistence (WHI-1280), resumable .part downloads
  with process-scoped SIMPLEX_REGION (WHI-1264), direct engine telemetry
  updates (WHI-1228), and kit manifest version/capabilities fields
  (WHI-1151).

Refs WHI-1288

@linger-review linger-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve with nits (1 P2) · merge base 13ebbbe · 1 commit, 8 files

Findings

  • P2 apps/computer/local-daemon/internal/localmodels/tool_version.go:307 — Tool.HasCapabilityFromDisk ignores the 0.1.0.dev113 tool.json capability map. 0.1.0.dev113 is the first release to publish capabilities in tool.json (matching STACK_CAPABILITIES in scripts/installs/stack.sh:8: {"engineUpgrade":"1.0","fullShutdown":"1.0","kitMigrate":"1.0","library":"2.1","runtimeIndex":"1.0","speech":"1.1","tts":"1.0"} and KitManifestV2.Capabilities in apps/computer/local-daemon/internal/localmodels/kit_manifest.go:172,452). However, parseCapabilityValue (tool_version.go:307-327) only accepts JSON booleans or {supported|enabled|available: bool} objects and drops all string values, and capabilityAliases("library_unload_all") (tool_version.go:335-336) checks "full_shutdown" but not camelCase "fullShutdown". As a result, HasCapabilityFromDisk returns (false, false) for every entry in 0.1.0.dev113's tool.json, leaving speech.go:2411, tts.go:2919, and lifecycle_stop.go:665 relying solely on version floors and legacy .py asset fallbacks (harmless today since 0.1.0.dev113 keeps both version and those files, but defeating capability-first detection for future decoupled kits). Accept major.minor version strings in parseCapabilityValue via existing parseMajorMinor (kit_manifest.go:792, returning major > 0 || minor > 0, true so ambiguous strings like "disabled" stay unknown) and add "fullShutdown" to capabilityAliases("library_unload_all").

Checked: npmmirror 404 fallback (packages/local-installation/src/region.ts:510) · kit manifest verification (packages/local-installation/src/localmodels-tool.ts:238) · stack.sh manifest reconstruction (scripts/installs/stack.sh:131)

CI: passed (9 checks passed, 9 untouched checks skipped)


Automated review of ab547e7 by Antigravity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants