@liberseek/boft-cli-linux-x64 0.7.7 → 0.7.8
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/console-server.mjs +16 -8
- package/app/console-web.js +141 -112
- package/app/desktop-controller.mjs +16 -2
- package/app/host-runtime.mjs +17 -8
- package/app/plugins/antigravity/plugin.mjs +5 -2
- package/app/plugins/claude-code/plugin.mjs +6 -2
- package/app/plugins/codebuddy/plugin.mjs +6 -2
- package/app/plugins/cursor-cli/plugin.mjs +5 -2
- package/app/plugins/deepseek-harness/plugin.mjs +6 -2
- package/app/plugins/grok/plugin.mjs +5 -2
- package/app/plugins/hermes/plugin.mjs +70 -10
- package/app/plugins/kimi-code/plugin.mjs +9 -3
- package/app/plugins/kiro-cli/plugin.mjs +16 -13
- package/app/plugins/muse/plugin.mjs +5 -2
- package/app/plugins/omp/plugin.mjs +34 -8
- package/app/plugins/opencode/plugin.mjs +9 -3
- package/app/plugins/pi/plugin.mjs +5 -2
- package/app/plugins/qoder/plugin.mjs +36 -3
- package/app/plugins/qoder-cn/plugin.mjs +36 -3
- package/app/plugins/workbuddy/plugin.mjs +5 -2
- package/app/renderer-extension.js +276 -193
- package/bin/boft +0 -0
- package/libexec/boft-shim +0 -0
- package/libexec/boft-updater +0 -0
- package/package.json +2 -2
|
@@ -28286,7 +28286,10 @@ var harnessInstallationStateSchema = external_exports.object({
|
|
|
28286
28286
|
latestVersion: external_exports.string().min(1).max(128),
|
|
28287
28287
|
updateAvailable: external_exports.boolean(),
|
|
28288
28288
|
canUpdate: external_exports.boolean(),
|
|
28289
|
-
|
|
28289
|
+
// Adapter-owned diagnostic text; UI uses messageCode rather than displaying it verbatim.
|
|
28290
|
+
message: external_exports.string().max(2048).optional(),
|
|
28291
|
+
messageCode: external_exports.string().min(1).max(128).optional(),
|
|
28292
|
+
latestVersionKind: external_exports.enum(["unknown", "tracking-branch"]).optional()
|
|
28290
28293
|
}).strict();
|
|
28291
28294
|
|
|
28292
28295
|
// ../../shared-contracts/dist/codex-accounts.js
|
|
@@ -28581,7 +28584,7 @@ var updateStatusSchema = external_exports.strictObject({
|
|
|
28581
28584
|
}
|
|
28582
28585
|
});
|
|
28583
28586
|
var updateEmptyParamsSchema = external_exports.strictObject({});
|
|
28584
|
-
var githubReleaseNotesUrlSchema = external_exports.string().max(300).regex(/^https:\/\/github\.com\/LiberSeek\/BOFT-CLI\/releases\/tag\/v[0-9A-Za-z.+-]+$/u, "release notes URL must identify a codexhost GitHub Release");
|
|
28587
|
+
var githubReleaseNotesUrlSchema = external_exports.string().max(300).regex(/^https:\/\/github\.com\/(LiberSeek|LIBERSEEK)\/BOFT-CLI\/releases\/tag\/v[0-9A-Za-z.+-]+$/u, "release notes URL must identify a codexhost GitHub Release");
|
|
28585
28588
|
var updateCheckResultSchema = external_exports.strictObject({
|
|
28586
28589
|
currentVersion: updateSemanticVersionSchema,
|
|
28587
28590
|
installation: updateInstallationSchema.nullable(),
|
|
@@ -28860,6 +28863,26 @@ function mapQoderException(error51) {
|
|
|
28860
28863
|
};
|
|
28861
28864
|
}
|
|
28862
28865
|
|
|
28866
|
+
// dist/qoder-login-check.js
|
|
28867
|
+
import { execFile as execFile2 } from "node:child_process";
|
|
28868
|
+
function qoderLoginRequired(text) {
|
|
28869
|
+
return /\bnot logged in\b|\bauthentication (?:required|expired)\b/i.test(text);
|
|
28870
|
+
}
|
|
28871
|
+
function checkQoderLogin(executable, environment, cwd) {
|
|
28872
|
+
return new Promise((resolve) => {
|
|
28873
|
+
execFile2(executable, ["--list-models"], {
|
|
28874
|
+
env: environment,
|
|
28875
|
+
cwd,
|
|
28876
|
+
timeout: 1e4,
|
|
28877
|
+
maxBuffer: 64 * 1024,
|
|
28878
|
+
windowsHide: true
|
|
28879
|
+
}, (error51, stdout, stderr) => {
|
|
28880
|
+
resolve(Boolean(error51 && !error51.killed && qoderLoginRequired(`${stdout}
|
|
28881
|
+
${stderr}`)));
|
|
28882
|
+
});
|
|
28883
|
+
});
|
|
28884
|
+
}
|
|
28885
|
+
|
|
28863
28886
|
// ../../harness-adapter/dist/approval.js
|
|
28864
28887
|
function invalidRequest(message) {
|
|
28865
28888
|
return { code: "invalidRequest", message, retryable: false };
|
|
@@ -52532,11 +52555,15 @@ var QoderAdapter = class {
|
|
|
52532
52555
|
} catch {
|
|
52533
52556
|
}
|
|
52534
52557
|
} else {
|
|
52558
|
+
let stderr = "";
|
|
52535
52559
|
try {
|
|
52536
52560
|
const probeQuery = this.#queryFactory({
|
|
52537
52561
|
prompt: "",
|
|
52538
52562
|
options: {
|
|
52539
52563
|
cwd: input?.cwd ?? process.cwd(),
|
|
52564
|
+
stderr: (chunk) => {
|
|
52565
|
+
stderr = (stderr + chunk).slice(-8192);
|
|
52566
|
+
},
|
|
52540
52567
|
pathToQoderCLIExecutable: executable,
|
|
52541
52568
|
...this.#environment ? { env: this.#environment } : {},
|
|
52542
52569
|
auth: qoderAuthForEnvironment(this.#variant, this.#environment)
|
|
@@ -52553,9 +52580,14 @@ var QoderAdapter = class {
|
|
|
52553
52580
|
}
|
|
52554
52581
|
}
|
|
52555
52582
|
} catch (error51) {
|
|
52583
|
+
const needsLogin = qoderLoginRequired(stderr) || error51 instanceof Error && error51.message === "Transport closed" && qoderAuthForEnvironment(this.#variant, this.#environment).type === "qodercli" && await checkQoderLogin(executable, this.#environment, input?.cwd);
|
|
52556
52584
|
const result2 = {
|
|
52557
52585
|
status: "unavailable",
|
|
52558
|
-
error:
|
|
52586
|
+
error: needsLogin ? {
|
|
52587
|
+
code: "authenticationRequired",
|
|
52588
|
+
message: `Please run ${this.#variant === "cn" ? "qoderclicn" : "qodercli"} login to authenticate.`,
|
|
52589
|
+
retryable: false
|
|
52590
|
+
} : mapQoderException(error51)
|
|
52559
52591
|
};
|
|
52560
52592
|
return result2;
|
|
52561
52593
|
}
|
|
@@ -52843,6 +52875,7 @@ function createQoderInstallation(environment, command, variant = "global") {
|
|
|
52843
52875
|
latestVersion: "Unknown",
|
|
52844
52876
|
updateAvailable: false,
|
|
52845
52877
|
canUpdate: false,
|
|
52878
|
+
messageCode: "qoder-check-unavailable",
|
|
52846
52879
|
message: "This Qoder China release does not expose a non-installing update check. Use its original installer."
|
|
52847
52880
|
};
|
|
52848
52881
|
const output = await run(["update", "--check"]);
|
|
@@ -27883,7 +27883,10 @@ var harnessInstallationStateSchema = external_exports.object({
|
|
|
27883
27883
|
latestVersion: external_exports.string().min(1).max(128),
|
|
27884
27884
|
updateAvailable: external_exports.boolean(),
|
|
27885
27885
|
canUpdate: external_exports.boolean(),
|
|
27886
|
-
|
|
27886
|
+
// Adapter-owned diagnostic text; UI uses messageCode rather than displaying it verbatim.
|
|
27887
|
+
message: external_exports.string().max(2048).optional(),
|
|
27888
|
+
messageCode: external_exports.string().min(1).max(128).optional(),
|
|
27889
|
+
latestVersionKind: external_exports.enum(["unknown", "tracking-branch"]).optional()
|
|
27887
27890
|
}).strict();
|
|
27888
27891
|
|
|
27889
27892
|
// ../../shared-contracts/dist/codex-accounts.js
|
|
@@ -28178,7 +28181,7 @@ var updateStatusSchema = external_exports.strictObject({
|
|
|
28178
28181
|
}
|
|
28179
28182
|
});
|
|
28180
28183
|
var updateEmptyParamsSchema = external_exports.strictObject({});
|
|
28181
|
-
var githubReleaseNotesUrlSchema = external_exports.string().max(300).regex(/^https:\/\/github\.com\/LiberSeek\/BOFT-CLI\/releases\/tag\/v[0-9A-Za-z.+-]+$/u, "release notes URL must identify a codexhost GitHub Release");
|
|
28184
|
+
var githubReleaseNotesUrlSchema = external_exports.string().max(300).regex(/^https:\/\/github\.com\/(LiberSeek|LIBERSEEK)\/BOFT-CLI\/releases\/tag\/v[0-9A-Za-z.+-]+$/u, "release notes URL must identify a codexhost GitHub Release");
|
|
28182
28185
|
var updateCheckResultSchema = external_exports.strictObject({
|
|
28183
28186
|
currentVersion: updateSemanticVersionSchema,
|
|
28184
28187
|
installation: updateInstallationSchema.nullable(),
|
|
@@ -28862,6 +28865,26 @@ function mapQoderException(error51) {
|
|
|
28862
28865
|
};
|
|
28863
28866
|
}
|
|
28864
28867
|
|
|
28868
|
+
// ../qoder/dist/qoder-login-check.js
|
|
28869
|
+
import { execFile as execFile2 } from "node:child_process";
|
|
28870
|
+
function qoderLoginRequired(text) {
|
|
28871
|
+
return /\bnot logged in\b|\bauthentication (?:required|expired)\b/i.test(text);
|
|
28872
|
+
}
|
|
28873
|
+
function checkQoderLogin(executable, environment, cwd) {
|
|
28874
|
+
return new Promise((resolve) => {
|
|
28875
|
+
execFile2(executable, ["--list-models"], {
|
|
28876
|
+
env: environment,
|
|
28877
|
+
cwd,
|
|
28878
|
+
timeout: 1e4,
|
|
28879
|
+
maxBuffer: 64 * 1024,
|
|
28880
|
+
windowsHide: true
|
|
28881
|
+
}, (error51, stdout, stderr) => {
|
|
28882
|
+
resolve(Boolean(error51 && !error51.killed && qoderLoginRequired(`${stdout}
|
|
28883
|
+
${stderr}`)));
|
|
28884
|
+
});
|
|
28885
|
+
});
|
|
28886
|
+
}
|
|
28887
|
+
|
|
28865
28888
|
// ../../harness-adapter/dist/approval.js
|
|
28866
28889
|
function invalidRequest(message) {
|
|
28867
28890
|
return { code: "invalidRequest", message, retryable: false };
|
|
@@ -52534,11 +52557,15 @@ var QoderAdapter = class {
|
|
|
52534
52557
|
} catch {
|
|
52535
52558
|
}
|
|
52536
52559
|
} else {
|
|
52560
|
+
let stderr = "";
|
|
52537
52561
|
try {
|
|
52538
52562
|
const probeQuery = this.#queryFactory({
|
|
52539
52563
|
prompt: "",
|
|
52540
52564
|
options: {
|
|
52541
52565
|
cwd: input?.cwd ?? process.cwd(),
|
|
52566
|
+
stderr: (chunk) => {
|
|
52567
|
+
stderr = (stderr + chunk).slice(-8192);
|
|
52568
|
+
},
|
|
52542
52569
|
pathToQoderCLIExecutable: executable,
|
|
52543
52570
|
...this.#environment ? { env: this.#environment } : {},
|
|
52544
52571
|
auth: qoderAuthForEnvironment(this.#variant, this.#environment)
|
|
@@ -52555,9 +52582,14 @@ var QoderAdapter = class {
|
|
|
52555
52582
|
}
|
|
52556
52583
|
}
|
|
52557
52584
|
} catch (error51) {
|
|
52585
|
+
const needsLogin = qoderLoginRequired(stderr) || error51 instanceof Error && error51.message === "Transport closed" && qoderAuthForEnvironment(this.#variant, this.#environment).type === "qodercli" && await checkQoderLogin(executable, this.#environment, input?.cwd);
|
|
52558
52586
|
const result2 = {
|
|
52559
52587
|
status: "unavailable",
|
|
52560
|
-
error:
|
|
52588
|
+
error: needsLogin ? {
|
|
52589
|
+
code: "authenticationRequired",
|
|
52590
|
+
message: `Please run ${this.#variant === "cn" ? "qoderclicn" : "qodercli"} login to authenticate.`,
|
|
52591
|
+
retryable: false
|
|
52592
|
+
} : mapQoderException(error51)
|
|
52561
52593
|
};
|
|
52562
52594
|
return result2;
|
|
52563
52595
|
}
|
|
@@ -52845,6 +52877,7 @@ function createQoderInstallation(environment, command, variant = "global") {
|
|
|
52845
52877
|
latestVersion: "Unknown",
|
|
52846
52878
|
updateAvailable: false,
|
|
52847
52879
|
canUpdate: false,
|
|
52880
|
+
messageCode: "qoder-check-unavailable",
|
|
52848
52881
|
message: "This Qoder China release does not expose a non-installing update check. Use its original installer."
|
|
52849
52882
|
};
|
|
52850
52883
|
const output = await run(["update", "--check"]);
|
|
@@ -15299,7 +15299,10 @@ var harnessInstallationStateSchema = external_exports.object({
|
|
|
15299
15299
|
latestVersion: external_exports.string().min(1).max(128),
|
|
15300
15300
|
updateAvailable: external_exports.boolean(),
|
|
15301
15301
|
canUpdate: external_exports.boolean(),
|
|
15302
|
-
|
|
15302
|
+
// Adapter-owned diagnostic text; UI uses messageCode rather than displaying it verbatim.
|
|
15303
|
+
message: external_exports.string().max(2048).optional(),
|
|
15304
|
+
messageCode: external_exports.string().min(1).max(128).optional(),
|
|
15305
|
+
latestVersionKind: external_exports.enum(["unknown", "tracking-branch"]).optional()
|
|
15303
15306
|
}).strict();
|
|
15304
15307
|
|
|
15305
15308
|
// ../../shared-contracts/dist/codex-accounts.js
|
|
@@ -15594,7 +15597,7 @@ var updateStatusSchema = external_exports.strictObject({
|
|
|
15594
15597
|
}
|
|
15595
15598
|
});
|
|
15596
15599
|
var updateEmptyParamsSchema = external_exports.strictObject({});
|
|
15597
|
-
var githubReleaseNotesUrlSchema = external_exports.string().max(300).regex(/^https:\/\/github\.com\/LiberSeek\/BOFT-CLI\/releases\/tag\/v[0-9A-Za-z.+-]+$/u, "release notes URL must identify a codexhost GitHub Release");
|
|
15600
|
+
var githubReleaseNotesUrlSchema = external_exports.string().max(300).regex(/^https:\/\/github\.com\/(LiberSeek|LIBERSEEK)\/BOFT-CLI\/releases\/tag\/v[0-9A-Za-z.+-]+$/u, "release notes URL must identify a codexhost GitHub Release");
|
|
15598
15601
|
var updateCheckResultSchema = external_exports.strictObject({
|
|
15599
15602
|
currentVersion: updateSemanticVersionSchema,
|
|
15600
15603
|
installation: updateInstallationSchema.nullable(),
|