arena-bridge 0.7.0 → 0.7.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.7.1
8
+
9
+ ### Fixed
10
+ - The Telegram listener no longer gives up on a long poll when the network is slow: the request
11
+ ceiling is now generous enough for the 20-second long poll to answer.
12
+
7
13
  ## 0.7.0
8
14
 
9
15
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arena-bridge",
3
- "version": "0.7.0",
3
+ "version": "0.7.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/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.0',
55
+ version: '0.7.1',
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.0',
93
+ version: '0.7.1',
94
94
  devices: [...devices.keys()],
95
95
  });
96
96
  }
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.0' },
51
+ serverInfo: { name: 'arena-bridge', version: '0.7.1' },
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.',
package/src/telegram.mjs CHANGED
@@ -78,7 +78,7 @@ export async function apiCall(cfg, method, payload = {}) {
78
78
  method: 'POST',
79
79
  headers: { 'Content-Type': 'application/json' },
80
80
  body: JSON.stringify(payload),
81
- signal: AbortSignal.timeout(40_000),
81
+ signal: AbortSignal.timeout(90_000),
82
82
  });
83
83
  data = await res.json().catch(() => null);
84
84
  } catch (e) {
@@ -281,7 +281,7 @@ export function startPoller(cfg, { onMessage } = {}) {
281
281
  try {
282
282
  const res = await apiCall(fresh(), 'getUpdates', {
283
283
  offset,
284
- timeout: 25,
284
+ timeout: 20,
285
285
  allowed_updates: ['message'],
286
286
  });
287
287
  if (!res.ok) {