@linzumi/cli 0.0.31-beta → 0.0.33-beta

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/README.md CHANGED
@@ -293,7 +293,7 @@ intentionally. Every action is auditable from the thread.
293
293
  ## Pinning a version
294
294
 
295
295
  ```bash
296
- npm install -g @linzumi/cli@0.0.31-beta
296
+ npm install -g @linzumi/cli@0.0.33-beta
297
297
  linzumi --version
298
298
  ```
299
299
 
package/dist/index.js CHANGED
@@ -1382,6 +1382,9 @@ function reviewPortForwardCandidate(options) {
1382
1382
  if (options.suppressedPorts?.has(options.candidate.port) === true) {
1383
1383
  return { type: "skip", reason: "suppressed_port" };
1384
1384
  }
1385
+ if (isInternalCodexProcess(options.candidate)) {
1386
+ return { type: "skip", reason: "internal_codex_process" };
1387
+ }
1385
1388
  const dismissedTarget = options.dismissedTargets?.get(options.candidate.port);
1386
1389
  if (dismissedTarget !== undefined && sameDismissedPortForwardTarget(dismissedTarget, options.candidate)) {
1387
1390
  return { type: "skip", reason: "recently_dismissed" };
@@ -1467,6 +1470,9 @@ function revocationCapabilities(capabilities, port) {
1467
1470
  function sameDismissedPortForwardTarget(left, right) {
1468
1471
  return left.port === right.port && left.command === right.command && left.cwd === right.cwd;
1469
1472
  }
1473
+ function isInternalCodexProcess(candidate) {
1474
+ return commandLabel(candidate.command) === "codex";
1475
+ }
1470
1476
 
1471
1477
  // src/channelSession.ts
1472
1478
  var codexTypingHeartbeatMs = 5000;
@@ -4452,6 +4458,7 @@ function openLocalWebSocket(control, sockets, pushEvent, scheme) {
4452
4458
  const url = localForwardUrl(scheme === "ws" ? "http" : "https", control.port, control.path, control.queryString).replace(/^http/, scheme);
4453
4459
  const protocols = webSocketProtocols(control.headers);
4454
4460
  const websocket = protocols === undefined ? new WebSocket(url) : new WebSocket(url, protocols);
4461
+ websocket.binaryType = "arraybuffer";
4455
4462
  sockets.set(control.socketId, websocket);
4456
4463
  websocket.addEventListener("open", () => {
4457
4464
  opened = true;
@@ -8916,7 +8923,7 @@ async function main(args) {
8916
8923
  process.stdout.write(connectGuideText());
8917
8924
  return;
8918
8925
  case "version":
8919
- process.stdout.write(`linzumi 0.0.31-beta
8926
+ process.stdout.write(`linzumi 0.0.33-beta
8920
8927
  `);
8921
8928
  return;
8922
8929
  case "auth":
@@ -9429,7 +9436,7 @@ async function parseRunnerArgs(args, deps = {
9429
9436
  process.exit(0);
9430
9437
  }
9431
9438
  if (values.get("version") === true) {
9432
- process.stdout.write(`linzumi 0.0.31-beta
9439
+ process.stdout.write(`linzumi 0.0.33-beta
9433
9440
  `);
9434
9441
  process.exit(0);
9435
9442
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linzumi/cli",
3
- "version": "0.0.31-beta",
3
+ "version": "0.0.33-beta",
4
4
  "description": "Linzumi CLI — point a Codex agent at the real code on your laptop, with your team watching and steering from shared threads.",
5
5
  "type": "module",
6
6
  "bin": {