arena-bridge 0.6.9 → 0.6.10

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,15 @@ 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.6.10
8
+
9
+ ### Fixed
10
+ - The screenshot fallback no longer relies on a Peekaboo command that was removed in v4, so the
11
+ bridge can still grab a picture when the accessibility tree is empty.
12
+ - The permission message now names the exact place to fix it (System Settings → Privacy &
13
+ Security → Screen Recording / Accessibility → "Peekaboo Bridge") and explains that the local
14
+ Peekaboo runtime inherits the grant from whatever starts the bridge.
15
+
7
16
  ## 0.6.9
8
17
 
9
18
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arena-bridge",
3
- "version": "0.6.9",
3
+ "version": "0.6.10",
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/direct.mjs CHANGED
@@ -30,7 +30,7 @@ export function createDirectServer(cfg, engine) {
30
30
  ok: true,
31
31
  mode: 'direct',
32
32
  device: cfg.device,
33
- version: '0.6.9',
33
+ version: '0.6.10',
34
34
  uptime_sec: Math.round(process.uptime()),
35
35
  });
36
36
  }
package/src/hub.mjs CHANGED
@@ -90,7 +90,7 @@ export function createHubServer(cfg) {
90
90
  return sendJson(res, 200, {
91
91
  ok: true,
92
92
  mode: 'hub',
93
- version: '0.6.9',
93
+ version: '0.6.10',
94
94
  devices: [...devices.keys()],
95
95
  });
96
96
  }
package/src/mac.mjs CHANGED
@@ -201,7 +201,8 @@ export function macTools(cfg = {}) {
201
201
  [...base, '--json', '--path', outPath],
202
202
  [...base, '--path', outPath, '--json'],
203
203
  [...base, '--no-remote', '--json', '--path', outPath],
204
- ['image', '--mode', mode, ...targetFlags(args), '--json', '--path', outPath],
204
+ ['see', '--mode', mode, ...targetFlags(args), '--no-elements', '--json', '--path', outPath],
205
+ ['see', '--mode', mode, ...targetFlags(args), '--no-elements', '--no-remote', '--json', '--path', outPath],
205
206
  ];
206
207
  };
207
208
 
@@ -893,9 +894,10 @@ function isPermissionError(json, res) {
893
894
  }
894
895
 
895
896
  const PERMISSION_HINT =
896
- 'The Peekaboo host that captures the screen lost its macOS permissions (this happens after a Peekaboo update). ' +
897
- 'Re-grant Screen Recording and Accessibility to "Peekaboo Bridge" in System Settings → Privacy & Security, ' +
898
- 'or let the bridge use the local runtime (--no-remote). Run mac_permissions for the current state.';
897
+ 'macOS did not let the bridge capture the screen. This usually happens right after a Peekaboo update: ' +
898
+ 'open System Settings → Privacy & Security → Screen Recording (and Accessibility), turn on ' +
899
+ '"Peekaboo Bridge" and quit and reopen Peekaboo. The bridge also falls back to the local Peekaboo ' +
900
+ 'runtime, which needs the same grant for the app that starts the bridge (for example Terminal).';
899
901
 
900
902
  function menuFlags(args) {
901
903
  const f = [];
package/src/mcp.mjs CHANGED
@@ -48,7 +48,7 @@ export async function handleMcp(req, res, ctx) {
48
48
  mcpResponse(id, {
49
49
  protocolVersion: PROTOCOL_VERSION,
50
50
  capabilities: { tools: { listChanged: false } },
51
- serverInfo: { name: 'arena-bridge', version: '0.6.9' },
51
+ serverInfo: { name: 'arena-bridge', version: '0.6.10' },
52
52
  instructions:
53
53
  'Tools operate the user\'s own machine. Dangerous operations may return ' +
54
54
  'PROTECTED and require a local human approval.',