@rehpic/vcli 0.1.0-beta.88.1 → 0.1.0
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/dist/index.js
CHANGED
|
@@ -2439,39 +2439,14 @@ var BridgeService = class {
|
|
|
2439
2439
|
}
|
|
2440
2440
|
);
|
|
2441
2441
|
writeLiveActivitiesCache(activities);
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
if (activity.workSessionId && activity.tmuxPaneId) {
|
|
2451
|
-
try {
|
|
2452
|
-
const paneTitle = execFileSync2(
|
|
2453
|
-
"tmux",
|
|
2454
|
-
[
|
|
2455
|
-
"display-message",
|
|
2456
|
-
"-p",
|
|
2457
|
-
"-t",
|
|
2458
|
-
activity.tmuxPaneId,
|
|
2459
|
-
"#{pane_title}"
|
|
2460
|
-
],
|
|
2461
|
-
{ encoding: "utf-8", timeout: 3e3 }
|
|
2462
|
-
).trim();
|
|
2463
|
-
if (paneTitle && paneTitle !== activity.workSessionTitle && !activity.titleLockedByUser) {
|
|
2464
|
-
void this.client.mutation(
|
|
2465
|
-
api.agentBridge.bridgePublic.updateWorkSessionAutoTitle,
|
|
2466
|
-
{
|
|
2467
|
-
deviceId: this.config.deviceId,
|
|
2468
|
-
deviceSecret: this.config.deviceSecret,
|
|
2469
|
-
workSessionId: activity.workSessionId,
|
|
2470
|
-
title: paneTitle
|
|
2471
|
-
}
|
|
2472
|
-
);
|
|
2473
|
-
}
|
|
2474
|
-
} catch {
|
|
2442
|
+
if (this.terminalPeer) {
|
|
2443
|
+
for (const activity of activities) {
|
|
2444
|
+
if (activity.workSessionId && activity.tmuxSessionName) {
|
|
2445
|
+
this.terminalPeer.watchSession(
|
|
2446
|
+
activity.workSessionId,
|
|
2447
|
+
activity.tmuxSessionName,
|
|
2448
|
+
activity.tmuxPaneId
|
|
2449
|
+
);
|
|
2475
2450
|
}
|
|
2476
2451
|
}
|
|
2477
2452
|
}
|
|
@@ -5898,7 +5873,7 @@ async function checkForUpdate() {
|
|
|
5898
5873
|
timeout: 1e4
|
|
5899
5874
|
}).trim();
|
|
5900
5875
|
const tags = JSON.parse(tagsRaw);
|
|
5901
|
-
const latest = tags.beta ?? tags.latest ?? "";
|
|
5876
|
+
const latest = tags.latest?.includes("beta") ? tags.beta ?? tags.latest : tags.latest ?? tags.beta ?? "";
|
|
5902
5877
|
const current = readPackageVersionSync();
|
|
5903
5878
|
return {
|
|
5904
5879
|
current,
|