@liberseek/boft-cli-win32-arm64 0.6.6 → 0.6.7
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/app/codexhost-distribution.json +1 -1
- package/app/renderer-extension.js +16 -19
- package/bin/boft.exe +0 -0
- package/libexec/boft-node-repl.exe +0 -0
- package/libexec/boft-shim.exe +0 -0
- package/libexec/boft-updater.exe +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ BOFT CLI runs Pi and other external harnesses inside Codex Desktop.
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install -g @liberseek/boft-cli@0.6.
|
|
10
|
+
npm install -g @liberseek/boft-cli@0.6.7
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
Do not install this package directly. npm selects it through the optional dependencies of `@liberseek/boft-cli`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"schemaVersion":1,"version":"0.6.
|
|
1
|
+
{"schemaVersion":1,"version":"0.6.7","distribution":"npm","target":"windows-arm64"}
|
|
@@ -26857,6 +26857,14 @@ ${error51.stderrTail}`] : []
|
|
|
26857
26857
|
head.append(createRendererSettingsIcon(panelIconName(view), 16), label);
|
|
26858
26858
|
return head;
|
|
26859
26859
|
}
|
|
26860
|
+
function appendUniqueUpdateError(document2, panel, error51, shown) {
|
|
26861
|
+
if (!error51 || shown.has(error51)) return;
|
|
26862
|
+
shown.add(error51);
|
|
26863
|
+
const detail = document2.createElement("p");
|
|
26864
|
+
detail.className = "settings-update-error";
|
|
26865
|
+
detail.textContent = error51;
|
|
26866
|
+
panel.append(detail);
|
|
26867
|
+
}
|
|
26860
26868
|
function createPanelActions(document2, ...buttons) {
|
|
26861
26869
|
const actions = document2.createElement("div");
|
|
26862
26870
|
actions.className = "settings-update-actions";
|
|
@@ -27243,16 +27251,14 @@ ${error51.stderrTail}`] : []
|
|
|
27243
27251
|
scheduleStatusPoll(client, true);
|
|
27244
27252
|
return;
|
|
27245
27253
|
}
|
|
27246
|
-
const
|
|
27247
|
-
const
|
|
27254
|
+
const failedLatest = result.status?.phase === "failed" && result.status.version === result.latestVersion ? result.status : null;
|
|
27255
|
+
const actionableStatus = result.updateAvailable ? failedLatest : null;
|
|
27256
|
+
const view = result.error ? "error" : actionableStatus ? "failed" : result.updateAvailable ? "available" : "current";
|
|
27248
27257
|
panel.dataset.updateState = view;
|
|
27249
27258
|
panel.replaceChildren();
|
|
27250
27259
|
setManualFallback(Boolean(result.error) || actionableStatus !== null);
|
|
27251
|
-
const
|
|
27252
|
-
|
|
27253
|
-
view,
|
|
27254
|
-
actionableStatus ? statusMessage(actionableStatus, messages) ?? messages.updateFailed : result.error ? messages.updateFailed : result.updateAvailable ? messages.updateWindowsManualRequired : messages.updateUpToDate
|
|
27255
|
-
) : null;
|
|
27260
|
+
const title = actionableStatus ? messages.updateFailed : result.error ? messages.updateFailed : result.updateAvailable ? messages.updateWindowsManualRequired : messages.updateUpToDate;
|
|
27261
|
+
const head = result.error || !result.updateAvailable || windows || actionableStatus ? createPanelHead(document2, view, title) : null;
|
|
27256
27262
|
const buttons = [];
|
|
27257
27263
|
if (!windows && result.updateAvailable && result.installationAvailable) {
|
|
27258
27264
|
const update = document2.createElement("button");
|
|
@@ -27277,18 +27283,9 @@ ${error51.stderrTail}`] : []
|
|
|
27277
27283
|
} else if (buttons.length > 0) {
|
|
27278
27284
|
panel.append(createPanelActions(document2, ...buttons));
|
|
27279
27285
|
}
|
|
27280
|
-
|
|
27281
|
-
|
|
27282
|
-
|
|
27283
|
-
error51.textContent = actionableStatus.error;
|
|
27284
|
-
panel.append(error51);
|
|
27285
|
-
}
|
|
27286
|
-
if (result.error) {
|
|
27287
|
-
const error51 = document2.createElement("p");
|
|
27288
|
-
error51.className = "settings-update-error";
|
|
27289
|
-
error51.textContent = result.error;
|
|
27290
|
-
panel.append(error51);
|
|
27291
|
-
}
|
|
27286
|
+
const shownErrors = /* @__PURE__ */ new Set([title]);
|
|
27287
|
+
appendUniqueUpdateError(document2, panel, actionableStatus?.error, shownErrors);
|
|
27288
|
+
appendUniqueUpdateError(document2, panel, result.error, shownErrors);
|
|
27292
27289
|
notes.replaceChildren();
|
|
27293
27290
|
if (result.releaseNotes) {
|
|
27294
27291
|
notes.append(createReleaseNotesElement(document2, result.releaseNotes));
|
package/bin/boft.exe
CHANGED
|
Binary file
|
|
Binary file
|
package/libexec/boft-shim.exe
CHANGED
|
Binary file
|
package/libexec/boft-updater.exe
CHANGED
|
Binary file
|