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 +6 -0
- package/package.json +1 -1
- package/src/direct.mjs +1 -1
- package/src/hub.mjs +1 -1
- package/src/mac.mjs +2 -1
- package/src/mcp.mjs +1 -1
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.
|
|
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
package/src/hub.mjs
CHANGED
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, '--
|
|
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.
|
|
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.',
|