outrunner 0.1.0 → 0.1.2

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/bin/outrunner.mjs +10 -1
  2. package/package.json +6 -6
package/bin/outrunner.mjs CHANGED
@@ -9,7 +9,16 @@ import path from "node:path";
9
9
 
10
10
  const require = createRequire(import.meta.url);
11
11
 
12
- const pkg = `outrunner-${process.platform}-${process.arch}`;
12
+ // Each platform's package. Windows's is named for the OS: npm's spam check refused
13
+ // the name outrunner-win32-x64. Keep in step with scripts/build-cli.sh.
14
+ const PACKAGES = {
15
+ "darwin-arm64": "outrunner-darwin-arm64",
16
+ "darwin-x64": "outrunner-darwin-x64",
17
+ "linux-arm64": "outrunner-linux-arm64",
18
+ "linux-x64": "outrunner-linux-x64",
19
+ "win32-x64": "outrunner-windows-x64",
20
+ };
21
+ const pkg = PACKAGES[`${process.platform}-${process.arch}`] ?? `outrunner-${process.platform}-${process.arch}`;
13
22
  const exe = process.platform === "win32" ? "outrunner.exe" : "outrunner";
14
23
 
15
24
  let binary;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "outrunner",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Start using Outrunner from your terminal: sign in, connect Claude, and continue in the browser.",
5
5
  "homepage": "https://app.outrunner.sh",
6
6
  "license": "UNLICENSED",
@@ -14,10 +14,10 @@
14
14
  "node": ">=18"
15
15
  },
16
16
  "optionalDependencies": {
17
- "outrunner-darwin-arm64": "0.1.0",
18
- "outrunner-darwin-x64": "0.1.0",
19
- "outrunner-linux-arm64": "0.1.0",
20
- "outrunner-linux-x64": "0.1.0",
21
- "outrunner-win32-x64": "0.1.0"
17
+ "outrunner-darwin-arm64": "0.1.2",
18
+ "outrunner-darwin-x64": "0.1.2",
19
+ "outrunner-linux-arm64": "0.1.2",
20
+ "outrunner-linux-x64": "0.1.2",
21
+ "outrunner-windows-x64": "0.1.2"
22
22
  }
23
23
  }