Skip to content

Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model–harness co-design, so everyone can run their own.

fix(installs): take the dev31 launchers as published and check the pinned kit URL

chendongdong8d9698047209
diff --git a/apps/desktop/src/main/distribution.test.ts b/apps/desktop/src/main/distribution.test.ts
index 899bcbc4..13638601 100644
--- a/apps/desktop/src/main/distribution.test.ts
+++ b/apps/desktop/src/main/distribution.test.ts
@@ -58,6 +58,9 @@ describe("desktop distributions", () => {
voice.map((source) => [source.target, source.file !== undefined]),
).toEqual([[target, true]]);
const tool = validateToolSource(value.localmodelsTool);
+ expect(tool.url.endsWith(`/${pin("STACK_VERSION")}/${target}.tgz`)).toBe(
+ true,
+ );
expect(value.localmodelsTool.sourceCommit).toBe(
pin("STACK_SOURCE_COMMIT"),
);
diff --git a/scripts/installs/README.md b/scripts/installs/README.md
index e5ba3229..cad4b195 100644
--- a/scripts/installs/README.md
+++ b/scripts/installs/README.md
@@ -70,7 +70,7 @@ confirmation ID the plan prints; the scripts never plan or install on their own.
Environment variables:
-- `LOCALMODELS_KIT_HOME`: kit cache directory, default `~/.cache/linger-localmodels/kits` (on Windows `%LOCALAPPDATA%\linger-localmodels\kits`).
+- `LOCALMODELS_KIT_HOME`: kit cache directory, default `~/.cache/simplex-localmodels/kits` (on Windows `%LOCALAPPDATA%\simplex-localmodels\kits`).
- `SIMPLEX_NPM_REGISTRY`: replace both registry bases with a test registry or private mirror. Archive SHA256 and size pins still apply.
- `SIMPLEX_REGION`: `global` uses `registry.npmjs.org`; `cn` uses `registry.npmmirror.com`; `auto` probes both.
- `LOCALMODELS_KIT_BASE_URL`: legacy mirror layout serving the same pinned npm archives as `<target>.tgz`.
diff --git a/scripts/installs/stack.ps1 b/scripts/installs/stack.ps1
index ec13893a..c5614d86 100644
--- a/scripts/installs/stack.ps1
+++ b/scripts/installs/stack.ps1
@@ -563,7 +563,7 @@ try {
}
if (-not $target -or -not $StackKits.ContainsKey($target)) { Stop-Stack 'release has no kit for this platform' }
$kit = $StackKits[$target]; $pin = $StackBootstrap[$target]
- $root = if ($env:LOCALMODELS_KIT_HOME) { $env:LOCALMODELS_KIT_HOME } else { Join-Path $cacheBase 'linger-localmodels/kits' }
+ $root = if ($env:LOCALMODELS_KIT_HOME) { $env:LOCALMODELS_KIT_HOME } else { Join-Path $cacheBase 'simplex-localmodels/kits' }
$root = [IO.Path]::GetFullPath($root)
$final = Join-Path $root $kit
if ($cleanup) { Remove-OperationStage; exit 0 }
diff --git a/scripts/installs/stack.sh b/scripts/installs/stack.sh
index 541ff1ad..a5bff4d4 100755
--- a/scripts/installs/stack.sh
+++ b/scripts/installs/stack.sh
@@ -55,7 +55,7 @@ esac
# <<< bootstrap targets
[ -n "$inventory" ] || die 'release lacks bootstrap pins'
-root=${LOCALMODELS_KIT_HOME:-${XDG_CACHE_HOME:-${HOME}/.cache}/linger-localmodels/kits}
+root=${LOCALMODELS_KIT_HOME:-${XDG_CACHE_HOME:-${HOME}/.cache}/simplex-localmodels/kits}
case "$root" in /*) ;; *) root=$PWD/$root ;; esac
while [ "$root" != / ] && [ "${root%/}" != "$root" ]; do root=${root%/}; done
final=$root/$kit