@centralu/host-linux-x64 0.1.0-beta.84 → 0.1.0-beta.85

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.
@@ -1,11 +1,12 @@
1
1
  {
2
- "commit": "b9a5315",
3
- "protocolVersion": 1,
2
+ "commit": "30abc3d",
3
+ "protocolVersion": 2,
4
+ "minPeerVersion": "0.1.0-beta.85",
4
5
  "hostProof": 1,
5
6
  "tokenOnStdin": 1,
6
7
  "verifiers": 1,
7
8
  "keyPairing": 1,
8
- "builtAt": "2026-11-28T06:12:58.785Z",
9
+ "builtAt": "2026-12-06T12:21:05.567Z",
9
10
  "runtime": "system-node",
10
11
  "platform": "linux",
11
12
  "arch": "x64"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "centralu",
3
- "version": "0.1.0-beta.84",
3
+ "version": "0.1.0-beta.85",
4
4
  "description": "Run, watch and steer Claude Code, Codex and other coding agents from one window",
5
5
  "license": "MIT",
6
6
  "author": "ijun17",
@@ -21,7 +21,7 @@
21
21
  "windows",
22
22
  "desktop"
23
23
  ],
24
- "protocolVersion": 1,
24
+ "protocolVersion": 2,
25
25
  "type": "module",
26
26
  "bin": {
27
27
  "centralu": "bin/centralu.mjs"
@@ -38,9 +38,9 @@
38
38
  "win32"
39
39
  ],
40
40
  "optionalDependencies": {
41
- "@centralu/darwin-arm64": "0.1.0-beta.84",
42
- "@centralu/linux-arm64": "0.1.0-beta.84",
43
- "@centralu/linux-x64": "0.1.0-beta.84",
44
- "@centralu/win32-x64": "0.1.0-beta.84"
41
+ "@centralu/darwin-arm64": "0.1.0-beta.85",
42
+ "@centralu/linux-arm64": "0.1.0-beta.85",
43
+ "@centralu/linux-x64": "0.1.0-beta.85",
44
+ "@centralu/win32-x64": "0.1.0-beta.85"
45
45
  }
46
46
  }
@@ -3720,6 +3720,7 @@ var import_websocket_server = __toESM(require_websocket_server(), 1);
3720
3720
  var URL_ = process.env.CC_HOST_URL;
3721
3721
  var TOKEN = process.env.CC_BRIDGE_TOKEN;
3722
3722
  var SESSION_ID = process.env.CC_SESSION_ID;
3723
+ var HOST_PROTOCOL = 2;
3723
3724
  var CALL_TIMEOUT_MS = 28e4;
3724
3725
  var log = (...a) => process.stderr.write(`[cc-bridge] ${a.join(" ")}
3725
3726
  `);
@@ -3755,7 +3756,7 @@ function connect() {
3755
3756
  }
3756
3757
  });
3757
3758
  sock.on("open", () => {
3758
- sock.send(JSON.stringify({ kind: "hello", token: TOKEN, protocolVersion: 1 }));
3759
+ sock.send(JSON.stringify({ kind: "hello", token: TOKEN, protocolVersion: HOST_PROTOCOL }));
3759
3760
  ws = sock;
3760
3761
  resolve(sock);
3761
3762
  });
@@ -3805,7 +3806,8 @@ async function handle(msg) {
3805
3806
  return ok(id, { content: [{ type: "text", text: r.text }], isError: r.isError === true });
3806
3807
  } catch (e) {
3807
3808
  const timedOut = /timed out/.test(e.message);
3808
- const after = timedOut ? " The host may have finished it anyway, so whether anything was created is not known here." + (params?.name === "start_agent" ? " Call read_session without a sessionId to see whether a new session exists before starting another." : "") + " Do not do the work with your own subagents instead: tell the person and let them decide." : "";
3809
+ const after = timedOut ? " The host may have finished it anyway, so whether anything was created is not known here." + // Written as the host's call form (tools/answer.ts), which this standalone script cannot import
3810
+ (params?.name === "sessions" && params?.arguments?.action === "start" ? ' Call sessions(action="find") to see whether a new session exists before starting another.' : "") + " Do not do the work with your own subagents instead: tell the person and let them decide." : "";
3809
3811
  return ok(id, { content: [{ type: "text", text: `Could not run the tool \u2014 ${e.message}.${after}` }], isError: true });
3810
3812
  }
3811
3813
  }