arena-bridge 0.7.2 → 0.7.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/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.7.3
8
+
9
+ ### Fixed
10
+ - `mac_scroll` speaks the current Peekaboo grammar: the removed `--ticks` option was replaced
11
+ with `--amount`, and the tool also accepts `amount` as an argument.
12
+
7
13
  ## 0.7.2
8
14
 
9
15
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arena-bridge",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
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
@@ -52,7 +52,7 @@ export function createDirectServer(cfg, engine) {
52
52
  ok: true,
53
53
  mode: 'direct',
54
54
  device: cfg.device,
55
- version: '0.7.2',
55
+ version: '0.7.3',
56
56
  uptime_sec: Math.round(process.uptime()),
57
57
  });
58
58
  }
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.7.2',
93
+ version: '0.7.3',
94
94
  devices: [...devices.keys()],
95
95
  });
96
96
  }
package/src/mac.mjs CHANGED
@@ -423,6 +423,7 @@ export function macTools(cfg = {}) {
423
423
  {
424
424
  direction: { type: 'string', description: 'up or down' },
425
425
  ticks: { type: 'number', description: 'how many steps, default 3' },
426
+ amount: { type: 'number', description: 'how many steps to scroll (same as ticks)' },
426
427
  on: { type: 'string', description: 'element id from mac_see' },
427
428
  app: { type: 'string' },
428
429
  window_id: { type: 'string' },
@@ -439,7 +440,7 @@ export function macTools(cfg = {}) {
439
440
  const res = await runVariants(
440
441
  p.bin,
441
442
  [
442
- ['scroll', '--direction', dir, '--ticks', String(args.ticks || 3), ...on, ...flags],
443
+ ['scroll', '--direction', dir, '--amount', String(args.amount ?? args.ticks ?? 3), ...on, ...flags],
443
444
  ['scroll', '--direction', dir, ...on, ...flags],
444
445
  ],
445
446
  { timeout: 30 },
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.7.2' },
51
+ serverInfo: { name: 'arena-bridge', version: '0.7.3' },
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.',