@centralu/win32-x64 0.1.0-beta.51 → 0.1.0-beta.52

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.
Binary file
@@ -1,11 +1,11 @@
1
1
  {
2
- "commit": "5f99652",
2
+ "commit": "62e7369",
3
3
  "protocolVersion": 1,
4
4
  "hostProof": 1,
5
5
  "tokenOnStdin": 1,
6
6
  "verifiers": 1,
7
7
  "keyPairing": 1,
8
- "builtAt": "2026-11-07T05:43:02.116Z",
8
+ "builtAt": "2026-11-07T06:59:11.147Z",
9
9
  "runtime": "system-node",
10
10
  "platform": "win32",
11
11
  "arch": "x64"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "centralu",
3
- "version": "0.1.0-beta.51",
3
+ "version": "0.1.0-beta.52",
4
4
  "description": "Run, watch and steer several Claude Code and Codex CLI sessions from one window",
5
5
  "license": "MIT",
6
6
  "author": "ijun17",
@@ -38,9 +38,9 @@
38
38
  "win32"
39
39
  ],
40
40
  "optionalDependencies": {
41
- "@centralu/darwin-arm64": "0.1.0-beta.51",
42
- "@centralu/linux-arm64": "0.1.0-beta.51",
43
- "@centralu/linux-x64": "0.1.0-beta.51",
44
- "@centralu/win32-x64": "0.1.0-beta.51"
41
+ "@centralu/darwin-arm64": "0.1.0-beta.52",
42
+ "@centralu/linux-arm64": "0.1.0-beta.52",
43
+ "@centralu/linux-x64": "0.1.0-beta.52",
44
+ "@centralu/win32-x64": "0.1.0-beta.52"
45
45
  }
46
46
  }
@@ -43050,7 +43050,7 @@ import { dirname as dirname27, join as join59 } from "node:path";
43050
43050
  import { mkdirSync as mkdirSync21, readFileSync as readFileSync27, writeSync as writeSync4 } from "node:fs";
43051
43051
 
43052
43052
  // packages/protocol/src/version.generated.ts
43053
- var APP_VERSION = "0.1.0-beta.51";
43053
+ var APP_VERSION = "0.1.0-beta.52";
43054
43054
 
43055
43055
  // packages/protocol/src/brand.ts
43056
43056
  var APP_NAME = "Centralu";
@@ -113924,7 +113924,7 @@ var HANDLERS = {
113924
113924
  async recall({ query, limit }, { tools }) {
113925
113925
  const r = await tools.recall(query, limit);
113926
113926
  const unsearched = r.notSearched?.length ? `
113927
- Not searched: ${r.notSearched.join("; ")}.` : "";
113927
+ Not searched: ${r.notSearched.join(". ")}.` : "";
113928
113928
  if (r.hits.length === 0) return { text: `Nothing was found for "${query}". Try a different word.${unsearched}` };
113929
113929
  return {
113930
113930
  text: r.hits.map(
@@ -117110,7 +117110,7 @@ Reason, by kind: ${errorKind(why2)} (its words are an error's, kept in this noti
117110
117110
  async autoThere(machine, reader) {
117111
117111
  const r = await reader.hubAuto(machine.id);
117112
117112
  if (r.ok) return r.allowed ? { auto: true } : { auto: false, withheld: "machine_off" };
117113
- return { error: `Could not ask ${machine.name} whether it takes auto from this computer: ${bare(r.error)}. Nothing was started there.` };
117113
+ return { error: `Could not tell whether ${machine.name} takes auto from this computer: ${bare(r.error)}. Nothing was started there.` };
117114
117114
  }
117115
117115
  /** The machine's project that is a checkout of this project's repository: the same `origin`, read on both sides */
117116
117116
  async checkoutOn(machine, project2, reader) {
@@ -156296,6 +156296,12 @@ function notInstalled(where2, spec) {
156296
156296
  return new Error(`Centralu is not installed ${where2} (run \`${npmInstall(spec)}\` there, then \`${shimNames(spec).centralu} serve\` once)`);
156297
156297
  }
156298
156298
  var NOT_FOUND2 = "CENTRALU-NOT-FOUND";
156299
+ var STALE_LAUNCHER = "; if Node was upgraded there, run `centralu serve` once from an interactive shell on that machine";
156300
+ function noAnswer(err, r, remote) {
156301
+ const why2 = lastLine(r.stderr);
156302
+ if (r.code === 127 && !remote.command?.trim()) return `The Centralu there did not run: ${why2 || "exit 127"}${STALE_LAUNCHER}`;
156303
+ return `${err.message}${why2 ? `: ${why2}` : r.code ? ` (exit ${r.code})` : ""}`;
156304
+ }
156299
156305
  function connectionCommand(spec, pair = null) {
156300
156306
  return remoteCommand(spec, pair ? `serve --connection --pair ${pair}` : "serve --connection");
156301
156307
  }
@@ -156429,8 +156435,7 @@ var SshTunnel = class {
156429
156435
  try {
156430
156436
  answer = parseDetachLine(r.stdout);
156431
156437
  } catch (err) {
156432
- const why2 = lastLine(r.stderr);
156433
- throw new Error(`${err.message}${why2 ? `: ${why2}` : r.code ? ` (exit ${r.code})` : ""}`);
156438
+ throw new Error(noAnswer(err, r, remote));
156434
156439
  }
156435
156440
  if (answer.ok) {
156436
156441
  this.linkBound = false;
@@ -156560,7 +156565,7 @@ var SshTunnel = class {
156560
156565
  } catch (err) {
156561
156566
  const why2 = lastLine(r.stderr);
156562
156567
  if (r.code !== 0 && /cannot be read by this user \((EACCES|EPERM)\)/.test(why2)) throw new Error(why2.replace(/^centralu serve: /, ""));
156563
- throw new Error(`${err.message}${why2 ? `: ${why2}` : r.code ? ` (exit ${r.code})` : ""}`);
156568
+ throw new Error(noAnswer(err, r, remote));
156564
156569
  }
156565
156570
  }
156566
156571
  forward(localPort, remotePort, hosting = false) {
@@ -157691,7 +157696,7 @@ var RemoteClient = class {
157691
157696
  stableTimer;
157692
157697
  /** The hello of this socket is younger than `stableMs`: a drop now makes it short-lived */
157693
157698
  settling = false;
157694
- /** The hellos in a row that dropped within `stableMs` */
157699
+ /** The hellos in a row that dropped within `stableMs`; cleared by a hello that stayed up that long and by every `updateEndpoint` */
157695
157700
  shortLived = 0;
157696
157701
  /** The refusal that came before the close, if one did: it names why the host closes */
157697
157702
  refusal;
@@ -157779,7 +157784,9 @@ var RemoteClient = class {
157779
157784
  }
157780
157785
  /**
157781
157786
  * Points the client at another address or token (the tunnel came back on another port, or the token rotated), and
157782
- * the id of the credential the token is, when it was paired (#1405)
157787
+ * the id of the credential the token is, when it was paired (#1405). Every call, the same address or not, starts the
157788
+ * dials and the count of short-lived hellos over: the link has read the connection line again, which is the answer
157789
+ * the redials were a stand-in for
157783
157790
  */
157784
157791
  updateEndpoint(url2, token2, credential) {
157785
157792
  const sameHost = this.opts.url === url2;
@@ -158632,10 +158639,10 @@ var LinkedMachineConnection = class {
158632
158639
  return !!line.credential && c.id === line.credential && this.isPairedHere(c);
158633
158640
  }
158634
158641
  /**
158635
- * Marks, in a list the host answered with `nonce`, the entries whose `check` is of the secret this hub holds under
158636
- * their id (`own`). An entry without a check (a host from before it) or a credential this hub holds no secret of is not
158637
- * marked, and is compared by id alone
158638
- */
158642
+ * Marks, in a list the host answered with `nonce`, the entries whose `check` is of the secret this hub holds under
158643
+ * their id (`own`). An entry without a check (a host from before it) or a credential this hub holds no secret of is not
158644
+ * marked, and is compared by id alone
158645
+ */
158639
158646
  ownOf(list2, nonce) {
158640
158647
  return list2?.map((c) => {
158641
158648
  const verifier = this.pairedHere.get(c.id);
@@ -160438,7 +160445,7 @@ function linkedSessions(machines, route = notRouted, hubName2, options = {}) {
160438
160445
  hubAuto(machineId) {
160439
160446
  return viaMachine(machineId, async (m) => {
160440
160447
  const state = await askHubAuto((method, params) => m.call(method, params));
160441
- if (state === "older") throw new Error(`${m.name} runs a Centralu from before "Allow auto from a linked computer"`);
160448
+ if (state === "older") throw new Error(`${m.name} runs a Centralu from before "Allow auto from a linked computer"; update it there`);
160442
160449
  return { allowed: state === "on" };
160443
160450
  });
160444
160451
  },
@@ -160666,7 +160673,7 @@ function linkedSessions(machines, route = notRouted, hubName2, options = {}) {
160666
160673
  const hits = await Promise.all(
160667
160674
  [...machines()].map(async (m) => {
160668
160675
  if (!m.reachable) {
160669
- notSearched.push(`${m.name} (${m.waitsForPerson ? "not connected; ask the person to connect it in Settings, Machines, Connect" : NOT_REACHABLE})`);
160676
+ notSearched.push(m.waitsForPerson ? `${m.name} ${NOT_CONNECTED_PHRASE}` : `${m.name} (${NOT_REACHABLE})`);
160670
160677
  return [];
160671
160678
  }
160672
160679
  try {
@@ -161867,7 +161874,7 @@ var handedToken = launch.tokenOnStdin ? await readHandedToken(process.stdin).cat
161867
161874
  console.error(`[agent-host] the launcher did not hand over the token: ${e.message}`);
161868
161875
  process.exit(1);
161869
161876
  }) : launch.token;
161870
- var BUILD = true ? "5f99652" : "dev";
161877
+ var BUILD = true ? "62e7369" : "dev";
161871
161878
  var { values } = parseArgs({
161872
161879
  options: {
161873
161880
  port: { type: "string", default: "5175" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@centralu/win32-x64",
3
- "version": "0.1.0-beta.51",
3
+ "version": "0.1.0-beta.52",
4
4
  "description": "Centralu app folder for Windows on x86-64",
5
5
  "license": "MIT",
6
6
  "author": "ijun17",