arena-bridge 0.20.0 → 0.20.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,12 @@ All notable changes to this project are documented here.
4
4
  The format follows [Keep a Changelog](https://keepachangelog.com/) and the project uses
5
5
  [Semantic Versioning](https://semver.org/).
6
6
 
7
+ ## 0.20.1
8
+
9
+ ### Fixed
10
+ - The installer initializes platform variables before planning or parsing options, so `set -u` no longer aborts macOS installs.
11
+ - `arena-bridge restart` now targets the current macOS user launchd domain correctly.
12
+
7
13
  ## 0.20.0
8
14
 
9
15
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arena-bridge",
3
- "version": "0.20.0",
3
+ "version": "0.20.1",
4
4
  "description": "Give a cloud AI agent (Arena.ai Agent Mode, Claude, Cursor, ...) controlled access to your own machine over HTTP/MCP: files, shell, Chrome and the macOS desktop, with an approval gate, trust windows and an audit log.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/cli.mjs CHANGED
@@ -826,7 +826,7 @@ function cmdRestart(args) {
826
826
  console.log('restarting service...');
827
827
  try {
828
828
  const label = 'ai.arena.bridge';
829
- let res = spawnSync('launchctl', ['kickstart', '-k', `gui/${process.uid}/${label}`], { encoding: 'utf8' });
829
+ let res = spawnSync('launchctl', ['kickstart', '-k', `gui/${process.getuid()}/${label}`], { encoding: 'utf8' });
830
830
  if (res.status !== 0) res = spawnSync('launchctl', ['kickstart', '-k', label], { encoding: 'utf8' });
831
831
  if (res.status === 0) { console.log('✓ service kickstarted'); return; }
832
832
  console.log(`kickstart failed: ${res.stderr || res.stdout || res.error || 'unknown'}`);
package/src/version.mjs CHANGED
@@ -3,7 +3,7 @@ import fs from 'node:fs';
3
3
  import path from 'node:path';
4
4
  import { fileURLToPath } from 'node:url';
5
5
 
6
- export const VERSION = "0.20.0";
6
+ export const VERSION = "0.20.1";
7
7
 
8
8
  export function getVersion() {
9
9
  try {