open-agents-ai 0.187.395 → 0.187.396
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 +13 -4
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -551090,14 +551090,17 @@ async function handleUpdate(subcommand, ctx3) {
|
|
|
551090
551090
|
const sCol = centerCol - Math.floor(statusTrunc.length / 2);
|
|
551091
551091
|
buf += `\x1B[${boxTop + 3};${sCol}H\x1B[38;5;${getDimColor()}m${statusTrunc}\x1B[0m`;
|
|
551092
551092
|
buf += `\x1B[0m\x1B8\x1B[?25h\x1B[?2026l`;
|
|
551093
|
-
|
|
551093
|
+
overlayWrite(buf);
|
|
551094
551094
|
}
|
|
551095
551095
|
function startInstallOverlay(version4) {
|
|
551096
|
+
enterOverlay();
|
|
551096
551097
|
lockFooterRedraws();
|
|
551097
551098
|
let frame = 0;
|
|
551098
551099
|
let status = "";
|
|
551100
|
+
let dismissed = false;
|
|
551099
551101
|
renderInstallFrame(version4, frame, status);
|
|
551100
551102
|
const timer = setInterval(() => {
|
|
551103
|
+
if (dismissed) return;
|
|
551101
551104
|
frame++;
|
|
551102
551105
|
renderInstallFrame(version4, frame, status);
|
|
551103
551106
|
}, 80);
|
|
@@ -551113,18 +551116,20 @@ async function handleUpdate(subcommand, ctx3) {
|
|
|
551113
551116
|
_installTotal = total;
|
|
551114
551117
|
},
|
|
551115
551118
|
stop(finalText) {
|
|
551119
|
+
if (dismissed) return;
|
|
551116
551120
|
clearInterval(timer);
|
|
551117
|
-
unlockFooterRedraws();
|
|
551118
551121
|
status = "__DONE__";
|
|
551119
551122
|
_installProgress = _installTotal;
|
|
551120
551123
|
renderInstallFrame(version4, frame, status);
|
|
551121
551124
|
setTimeout(() => {
|
|
551125
|
+
if (dismissed) return;
|
|
551122
551126
|
status = finalText;
|
|
551123
551127
|
renderInstallFrame(version4, frame + 1, finalText);
|
|
551124
551128
|
}, 300);
|
|
551125
551129
|
},
|
|
551126
551130
|
dismiss() {
|
|
551127
|
-
|
|
551131
|
+
if (dismissed) return;
|
|
551132
|
+
dismissed = true;
|
|
551128
551133
|
clearInterval(timer);
|
|
551129
551134
|
const LD = layout();
|
|
551130
551135
|
const { tuiBgSeq: getDismissBg } = (init_theme(), __toCommonJS(theme_exports));
|
|
@@ -551133,7 +551138,9 @@ async function handleUpdate(subcommand, ctx3) {
|
|
|
551133
551138
|
buf += `\x1B[${r2};1H${getDismissBg()}\x1B[2K`;
|
|
551134
551139
|
}
|
|
551135
551140
|
buf += "\x1B8";
|
|
551136
|
-
|
|
551141
|
+
overlayWrite(buf);
|
|
551142
|
+
unlockFooterRedraws();
|
|
551143
|
+
leaveOverlay();
|
|
551137
551144
|
}
|
|
551138
551145
|
};
|
|
551139
551146
|
}
|
|
@@ -551352,6 +551359,8 @@ async function handleUpdate(subcommand, ctx3) {
|
|
|
551352
551359
|
});
|
|
551353
551360
|
if (needsSudo) {
|
|
551354
551361
|
installOverlay.stop("Requesting permissions...");
|
|
551362
|
+
await new Promise((r2) => setTimeout(r2, 300));
|
|
551363
|
+
installOverlay.dismiss();
|
|
551355
551364
|
renderInfo2("Global npm directory requires elevated permissions.");
|
|
551356
551365
|
renderInfo2("Enter your password if prompted...");
|
|
551357
551366
|
safeWrite("\n");
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "open-agents-ai",
|
|
3
|
-
"version": "0.187.
|
|
3
|
+
"version": "0.187.396",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "open-agents-ai",
|
|
9
|
-
"version": "0.187.
|
|
9
|
+
"version": "0.187.396",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "CC-BY-NC-4.0",
|
|
12
12
|
"dependencies": {
|
package/package.json
CHANGED