@liberseek/boft-cli-win32-arm64 0.6.4 → 0.6.6
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/host-runtime.mjs +508 -242
- package/app/plugins/antigravity/plugin.mjs +9 -7
- package/app/plugins/claude-code/plugin.mjs +664 -229
- package/app/plugins/deepseek-harness/plugin.mjs +7797 -10553
- package/app/plugins/grok/plugin.mjs +48 -24
- package/app/plugins/kiro-cli/plugin.mjs +77 -61
- package/app/plugins/omp/plugin.mjs +6 -0
- package/app/plugins/opencode/plugin.mjs +292 -142
- package/app/plugins/pi/plugin.mjs +1489 -1304
- package/app/renderer-extension.js +812 -449
- package/bin/{codexhost.exe → boft.exe} +0 -0
- package/libexec/{codexhost-node-repl.exe → boft-node-repl.exe} +0 -0
- package/libexec/{codexhost-shim.exe → boft-shim.exe} +0 -0
- package/libexec/{codexhost-updater.exe → boft-updater.exe} +0 -0
- package/package.json +1 -1
|
@@ -18322,18 +18322,19 @@ function hostUsage(value, modelId) {
|
|
|
18322
18322
|
};
|
|
18323
18323
|
return Object.keys(usage).length > 0 ? usage : null;
|
|
18324
18324
|
}
|
|
18325
|
-
function normalizedProcessError(
|
|
18326
|
-
const
|
|
18327
|
-
|
|
18325
|
+
function normalizedProcessError(detail, fallback, exposeDetail = false) {
|
|
18326
|
+
const nativeDetail = detail.trim();
|
|
18327
|
+
const diagnostic = sanitizeDiagnosticTail(nativeDetail);
|
|
18328
|
+
if (/sign[ -]?in|authenticat|credential|login/iu.test(nativeDetail)) {
|
|
18328
18329
|
return {
|
|
18329
18330
|
code: "authenticationRequired",
|
|
18330
|
-
message: diagnostic || fallback,
|
|
18331
|
+
message: exposeDetail ? nativeDetail || fallback : diagnostic || fallback,
|
|
18331
18332
|
retryable: false
|
|
18332
18333
|
};
|
|
18333
18334
|
}
|
|
18334
18335
|
return {
|
|
18335
18336
|
code: "nativeFailure",
|
|
18336
|
-
message: fallback,
|
|
18337
|
+
message: exposeDetail && nativeDetail ? `${fallback}: ${nativeDetail}` : fallback,
|
|
18337
18338
|
retryable: true,
|
|
18338
18339
|
...diagnostic ? { stderrTail: diagnostic.slice(-4e3) } : {}
|
|
18339
18340
|
};
|
|
@@ -18817,10 +18818,11 @@ ${line}`).slice(-8e3);
|
|
|
18817
18818
|
this.#completeTurn(active, { status: "succeeded", checkpoint }, nativeTurnRef);
|
|
18818
18819
|
}
|
|
18819
18820
|
} else {
|
|
18820
|
-
const
|
|
18821
|
+
const nativeError = event.result.error?.trim();
|
|
18822
|
+
const errorDetail = nativeError || active.stderr;
|
|
18821
18823
|
this.#completeTurn(active, {
|
|
18822
18824
|
status: "failed",
|
|
18823
|
-
error: normalizedProcessError(errorDetail, `Antigravity Turn ended with status ${event.result.status}
|
|
18825
|
+
error: normalizedProcessError(errorDetail, `Antigravity Turn ended with status ${event.result.status}`, nativeError !== void 0),
|
|
18824
18826
|
checkpoint
|
|
18825
18827
|
}, nativeTurnRef);
|
|
18826
18828
|
}
|