@linzumi/cli 0.0.31-beta → 0.0.32-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 +1 -1
- package/dist/index.js +8 -2
- package/package.json +1 -1
package/README.md
CHANGED
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;
|
|
@@ -8916,7 +8922,7 @@ async function main(args) {
|
|
|
8916
8922
|
process.stdout.write(connectGuideText());
|
|
8917
8923
|
return;
|
|
8918
8924
|
case "version":
|
|
8919
|
-
process.stdout.write(`linzumi 0.0.
|
|
8925
|
+
process.stdout.write(`linzumi 0.0.32-beta
|
|
8920
8926
|
`);
|
|
8921
8927
|
return;
|
|
8922
8928
|
case "auth":
|
|
@@ -9429,7 +9435,7 @@ async function parseRunnerArgs(args, deps = {
|
|
|
9429
9435
|
process.exit(0);
|
|
9430
9436
|
}
|
|
9431
9437
|
if (values.get("version") === true) {
|
|
9432
|
-
process.stdout.write(`linzumi 0.0.
|
|
9438
|
+
process.stdout.write(`linzumi 0.0.32-beta
|
|
9433
9439
|
`);
|
|
9434
9440
|
process.exit(0);
|
|
9435
9441
|
}
|
package/package.json
CHANGED