relayburn 3.0.0 → 3.1.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.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ All notable changes to `relayburn`.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [3.1.0] - 2026-05-29
8
+
9
+ - `burn update` now upgrades npm installs through `npm install -g relayburn@latest`: the launcher tags the install channel so the binary picks the right package manager.
10
+
7
11
  ## [2.4.0] - 2026-05-08
8
12
 
9
13
  ### Removed
package/bin/burn.js CHANGED
@@ -105,6 +105,10 @@ if (!command) {
105
105
  const child = spawnSync(command, passthroughArgs, {
106
106
  stdio: 'inherit',
107
107
  windowsHide: false,
108
+ // Tell the binary it was installed via npm so `burn update` / the
109
+ // on-launch update check drive `npm install -g relayburn@latest`
110
+ // rather than guessing from the executable path.
111
+ env: { ...process.env, RELAYBURN_INSTALL_CHANNEL: 'npm' },
108
112
  });
109
113
 
110
114
  if (child.error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "relayburn",
3
- "version": "3.0.0",
3
+ "version": "3.1.1",
4
4
  "description": "Token usage & cost attribution for agent CLIs (installs the `burn` command). Resolves a prebuilt Rust binary from the `@relayburn/cli-<platform>` packages.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -19,10 +19,10 @@
19
19
  "node": ">=22"
20
20
  },
21
21
  "optionalDependencies": {
22
- "@relayburn/cli-darwin-arm64": "3.0.0",
23
- "@relayburn/cli-darwin-x64": "3.0.0",
24
- "@relayburn/cli-linux-arm64-gnu": "3.0.0",
25
- "@relayburn/cli-linux-x64-gnu": "3.0.0"
22
+ "@relayburn/cli-darwin-arm64": "3.1.1",
23
+ "@relayburn/cli-darwin-x64": "3.1.1",
24
+ "@relayburn/cli-linux-arm64-gnu": "3.1.1",
25
+ "@relayburn/cli-linux-x64-gnu": "3.1.1"
26
26
  },
27
27
  "repository": {
28
28
  "type": "git",