@xberg-io/liter-llm-cli 1.9.0-rc.2 → 1.9.1

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.
Files changed (2) hide show
  1. package/install.js +5 -11
  2. package/package.json +1 -1
package/install.js CHANGED
@@ -169,9 +169,7 @@ async function resolveRelease() {
169
169
  triple,
170
170
  );
171
171
  if (!chosenName) {
172
- throw new CliUnavailableError(
173
- `no standalone CLI asset for target triple "${triple}" in ${REPO} release ${tag}`,
174
- );
172
+ throw new CliUnavailableError(`no standalone CLI asset for target triple "${triple}" in ${REPO} release ${tag}`);
175
173
  }
176
174
  const archive = assets.find((a) => a.name === chosenName);
177
175
  const checksums = assets.find((a) => (a.name || "").toUpperCase().includes("SHA256SUMS"));
@@ -258,11 +256,9 @@ function listZipEntries(archivePath) {
258
256
  "Add-Type -AssemblyName System.IO.Compression.FileSystem;" +
259
257
  "[System.IO.Compression.ZipFile]::OpenRead($args[0]).Entries |" +
260
258
  " ForEach-Object { $_.FullName }";
261
- const out = execFileSync(
262
- "powershell",
263
- ["-NoProfile", "-NonInteractive", "-Command", script, archivePath],
264
- { encoding: "utf8" },
265
- );
259
+ const out = execFileSync("powershell", ["-NoProfile", "-NonInteractive", "-Command", script, archivePath], {
260
+ encoding: "utf8",
261
+ });
266
262
  return out
267
263
  .split(/\r?\n/)
268
264
  .map((s) => s.trim())
@@ -359,9 +355,7 @@ function safeExtract(archivePath, archiveName, dest) {
359
355
  // The chosen asset did not actually contain the CLI binary — treat the
360
356
  // release as having no valid CLI for this platform rather than leaving a
361
357
  // bad/partial install behind.
362
- throw new CliUnavailableError(
363
- `archive ${archiveName} did not contain expected CLI binary ${binName}`,
364
- );
358
+ throw new CliUnavailableError(`archive ${archiveName} did not contain expected CLI binary ${binName}`);
365
359
  }
366
360
  const finalBin = path.join(dest, binName);
367
361
  fs.copyFileSync(extractedBin, finalBin);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xberg-io/liter-llm-cli",
3
- "version": "1.9.0-rc.2",
3
+ "version": "1.9.1",
4
4
  "description": "CLI proxy for liter-llm — downloads and runs the native liter-llm binary from GitHub releases.",
5
5
  "license": "MIT",
6
6
  "author": "Na'aman Hirschfeld",