@ivan-murzak/runner-manager-linux-x64 0.0.0-bootstrap.1 → 0.1.3

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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Ivan Murzak
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,9 +1,102 @@
1
- # @ivan-murzak/runner-manager-linux-x64
1
+ # @ivan-murzak/runner-manager (npm wrapper)
2
2
 
3
- Placeholder. This version exists only so that npm trusted publishing can be configured for
4
- this package name; npm cannot attach a trusted publisher to a package that does not exist.
3
+ Local-first autoscaling manager for ephemeral GitHub Actions self-hosted
4
+ runners, with a CLI and a Ratatui TUI.
5
5
 
6
- It carries no binary and is published under the `bootstrap` dist-tag, so it is not what
7
- `npm install` resolves. The first real release replaces it.
6
+ > **Read this before you install.** Using this tool means installing the
7
+ > project's published GitHub App, which declares **Repository → Administration:
8
+ > Read and write** — a permission that also allows deleting, renaming and
9
+ > transferring the repository, and adding or removing collaborators. It applies
10
+ > even if you only ever use `runner-manager` as a read-only dashboard. The full
11
+ > permission set and the narrower organization-scoped alternative are in
12
+ > [What you are granting](#what-you-are-granting) below.
8
13
 
9
- Project: <https://github.com/IvanMurzak/GitHub-Runner-Scaler-UI>
14
+ ```sh
15
+ npm i -g @ivan-murzak/runner-manager
16
+ runner-manager --version
17
+ ```
18
+
19
+ This package is a thin wrapper. The binary itself lives in one of five
20
+ per-platform packages, declared here as `optionalDependencies`, so npm installs
21
+ only the one that matches your OS and CPU:
22
+
23
+ | Platform package | os / cpu | Rust target |
24
+ |---|---|---|
25
+ | `@ivan-murzak/runner-manager-win32-x64` | `win32` / `x64` | `x86_64-pc-windows-msvc` |
26
+ | `@ivan-murzak/runner-manager-darwin-arm64` | `darwin` / `arm64` | `aarch64-apple-darwin` |
27
+ | `@ivan-murzak/runner-manager-darwin-x64` | `darwin` / `x64` | `x86_64-apple-darwin` |
28
+ | `@ivan-murzak/runner-manager-linux-x64` | `linux` / `x64` | `x86_64-unknown-linux-gnu` |
29
+ | `@ivan-murzak/runner-manager-linux-arm64` | `linux` / `arm64` | `aarch64-unknown-linux-gnu` |
30
+
31
+ Each platform package records, in its `package.json`, the release archive its
32
+ binary was taken from and that archive's published SHA-256 — the same digest
33
+ listed in the release's `SHA256SUMS`.
34
+
35
+ ## Read this before `service install`
36
+
37
+ **An `npm i -g` binary does not have a fixed home, and this product records an
38
+ absolute path.**
39
+
40
+ `npm i -g` installs into the *active* Node installation's global prefix. If you
41
+ manage Node with `nvm`, `fnm`, `volta`, `asdf`, Homebrew, or a Windows
42
+ installer upgrade, that prefix is different for every Node version — something
43
+ like:
44
+
45
+ ```text
46
+ ~/.nvm/versions/node/v20.11.0/bin/runner-manager
47
+ ~/.nvm/versions/node/v22.3.0/bin/runner-manager <- after `nvm install 22`
48
+ ```
49
+
50
+ `runner-manager service install` resolves and records the **absolute** path of
51
+ the binary at the moment you run it. So switching Node versions after
52
+ installing the service leaves the service pointing at a path that no longer
53
+ exists, and nothing tells you until the next unattended boot, when the agent
54
+ does not come up.
55
+
56
+ `runner-manager service status` detects this and reports the recorded path as
57
+ **stale** rather than reporting the service as healthy. If you see that:
58
+
59
+ ```sh
60
+ npm i -g @ivan-murzak/runner-manager # into the Node version you are now using
61
+ runner-manager service install # re-records the new absolute path
62
+ ```
63
+
64
+ **If you want a boot-start service, prefer the install script.** It installs to
65
+ `~/.local/bin` (macOS, Linux) or `%LOCALAPPDATA%\Programs\runner-manager`
66
+ (Windows), neither of which moves when a toolchain moves:
67
+
68
+ ```sh
69
+ curl -fsSL https://github.com/IvanMurzak/GitHub-Runner-Scaler-UI/releases/latest/download/install.sh | sh
70
+ ```
71
+
72
+ ```powershell
73
+ irm https://github.com/IvanMurzak/GitHub-Runner-Scaler-UI/releases/latest/download/install.ps1 | iex
74
+ ```
75
+
76
+ This package is the right choice when you already manage tooling with npm and
77
+ you run `runner-manager` interactively or from a script, rather than as a
78
+ boot-start service.
79
+
80
+ ## Windows on ARM
81
+
82
+ npm will not install an `"cpu": ["x64"]` package onto an arm64 host, and no
83
+ arm64 Windows build is published, so this package cannot serve Windows on ARM.
84
+ The install script can: it uses the x64 build through the built-in emulation
85
+ layer.
86
+
87
+ ## What you are granting
88
+
89
+ Using this tool means installing the project's published GitHub App, and that
90
+ App declares **Repository → Administration: Read and write**. That permission
91
+ also allows deleting, renaming and transferring the repository, and adding or
92
+ removing collaborators. It applies even if you only ever use `runner-manager`
93
+ as a read-only dashboard.
94
+
95
+ The full permission table, why the grant is unavoidable at repository scope,
96
+ and why organization scope is materially narrower are in the
97
+ [repository README](https://github.com/IvanMurzak/GitHub-Runner-Scaler-UI#what-you-are-granting).
98
+ Read it before you run `auth login`.
99
+
100
+ ## Licence
101
+
102
+ MIT. Source: <https://github.com/IvanMurzak/GitHub-Runner-Scaler-UI>
Binary file
package/package.json CHANGED
@@ -1,10 +1,18 @@
1
1
  {
2
2
  "name": "@ivan-murzak/runner-manager-linux-x64",
3
- "version": "0.0.0-bootstrap.1",
4
- "description": "Placeholder so trusted publishing can be configured. Not a release; see the repository.",
3
+ "version": "0.1.3",
4
+ "description": "The x86_64-unknown-linux-gnu binary for runner-manager.",
5
5
  "license": "MIT",
6
6
  "author": "Ivan Murzak (https://github.com/IvanMurzak)",
7
7
  "homepage": "https://github.com/IvanMurzak/GitHub-Runner-Scaler-UI",
8
8
  "repository": { "type": "git", "url": "git+https://github.com/IvanMurzak/GitHub-Runner-Scaler-UI.git" },
9
- "files": [ "README.md" ]
9
+ "os": [ "linux" ],
10
+ "cpu": [ "x64" ],
11
+ "files": [ "bin/" ],
12
+ "runnerManager": {
13
+ "target": "x86_64-unknown-linux-gnu",
14
+ "binary": "runner-manager",
15
+ "asset": "runner-manager-0.1.3-x86_64-unknown-linux-gnu.tar.gz",
16
+ "sha256": "836730dd3e477b5b9625f3efd0cba3279f1c4acd4bd5deff123bbd4bb63e429a"
17
+ }
10
18
  }