@liberseek/boft-cli-linux-x64 0.8.4 → 0.8.5
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 +59 -8
- package/app/console-web.js +278 -63
- package/app/desktop-controller.mjs +641 -33
- package/app/host-runtime.mjs +1811 -685
- package/app/plugins/antigravity/plugin.mjs +346 -54
- package/app/plugins/claude-code/plugin.mjs +391 -259
- package/app/plugins/codebuddy/plugin.mjs +231 -134
- package/app/plugins/codex-usage/plugin.mjs +82 -32
- package/app/plugins/copilot/plugin.mjs +107 -57
- package/app/plugins/cursor-cli/plugin.mjs +193 -131
- package/app/plugins/deepseek-harness/plugin.mjs +112 -42
- package/app/plugins/grok/plugin.mjs +371 -115
- package/app/plugins/hermes/plugin.mjs +54 -4
- package/app/plugins/kimi-code/plugin.mjs +69 -19
- package/app/plugins/kiro-cli/plugin.mjs +69 -19
- package/app/plugins/muse/plugin.mjs +59 -9
- package/app/plugins/omp/plugin.mjs +89 -39
- package/app/plugins/opencode/plugin.mjs +111 -61
- package/app/plugins/pi/plugin.mjs +185 -68
- package/app/plugins/qoder/plugin.mjs +79 -29
- package/app/plugins/qoder-cn/plugin.mjs +79 -29
- package/app/plugins/workbuddy/plugin.mjs +231 -134
- package/app/plugins/zcode/plugin.mjs +108 -33
- package/app/renderer-extension.js +2634 -329
- package/bin/boft +0 -0
- package/libexec/boft-shim +0 -0
- package/libexec/boft-updater +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.8.
|
|
10
|
+
npm install -g @liberseek/boft-cli@0.8.5
|
|
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.8.
|
|
1
|
+
{"schemaVersion":1,"version":"0.8.5","distribution":"npm","target":"linux-x64"}
|
package/app/console-server.mjs
CHANGED
|
@@ -831,7 +831,8 @@ function createBackgroundUpdateManager(dependencies = {}) {
|
|
|
831
831
|
kind: "npm",
|
|
832
832
|
node_path: await requireRegularFile(options.nodePath, "npm Node.js executable"),
|
|
833
833
|
npm_cli_path: await requireRegularFile(options.npmCliPath, "npm CLI"),
|
|
834
|
-
npm_launcher_path: await requireRegularFile(options.npmLauncherPath, "npm codexhost launcher")
|
|
834
|
+
npm_launcher_path: await requireRegularFile(options.npmLauncherPath, "npm codexhost launcher"),
|
|
835
|
+
npm_package_root: requireAbsolutePath(options.packageRoot, "npm platform package root")
|
|
835
836
|
});
|
|
836
837
|
} catch (error51) {
|
|
837
838
|
await writeFailedStatus(common.statusPath, common.version, "npm", error51);
|
|
@@ -3930,10 +3931,10 @@ var $ZodObject = /* @__PURE__ */ $constructor("$ZodObject", (inst, def) => {
|
|
|
3930
3931
|
const shape = def.shape;
|
|
3931
3932
|
const propValues = {};
|
|
3932
3933
|
for (const key in shape) {
|
|
3933
|
-
const
|
|
3934
|
-
if (
|
|
3934
|
+
const field2 = shape[key]._zod;
|
|
3935
|
+
if (field2.values) {
|
|
3935
3936
|
propValues[key] ?? (propValues[key] = /* @__PURE__ */ new Set());
|
|
3936
|
-
for (const v of
|
|
3937
|
+
for (const v of field2.values)
|
|
3937
3938
|
propValues[key].add(v);
|
|
3938
3939
|
}
|
|
3939
3940
|
}
|
|
@@ -15573,6 +15574,8 @@ var usageStatisticsTotalsSchema = external_exports.strictObject({
|
|
|
15573
15574
|
cachedInputTokens: count,
|
|
15574
15575
|
cacheWriteInputTokens: count,
|
|
15575
15576
|
cacheKnownInputTokens: count,
|
|
15577
|
+
cacheHitCachedInputTokens: count,
|
|
15578
|
+
cacheHitInputTokens: count,
|
|
15576
15579
|
outputTokens: count,
|
|
15577
15580
|
reasoningOutputTokens: count,
|
|
15578
15581
|
/** USD at the public price, summed over the priced requests only. */
|
|
@@ -15680,6 +15683,51 @@ var hostInteractionIdSchema = opaqueIdSchema.brand();
|
|
|
15680
15683
|
var threadPrewarmDiscardParamsSchema = external_exports.object({ threadId: hostThreadIdSchema });
|
|
15681
15684
|
var threadPrewarmDiscardResultSchema = external_exports.object({ discarded: external_exports.boolean() });
|
|
15682
15685
|
|
|
15686
|
+
// packages/shared-contracts/dist/thread-questions.js
|
|
15687
|
+
var field = external_exports.discriminatedUnion("type", [
|
|
15688
|
+
external_exports.object({
|
|
15689
|
+
id: external_exports.string().min(1),
|
|
15690
|
+
type: external_exports.literal("choice"),
|
|
15691
|
+
prompt: external_exports.string(),
|
|
15692
|
+
options: external_exports.array(external_exports.object({
|
|
15693
|
+
value: external_exports.string().min(1),
|
|
15694
|
+
label: external_exports.string(),
|
|
15695
|
+
description: external_exports.string().optional()
|
|
15696
|
+
})).min(1),
|
|
15697
|
+
multiple: external_exports.boolean(),
|
|
15698
|
+
allowOther: external_exports.boolean(),
|
|
15699
|
+
optional: external_exports.boolean()
|
|
15700
|
+
}),
|
|
15701
|
+
external_exports.object({
|
|
15702
|
+
id: external_exports.string().min(1),
|
|
15703
|
+
type: external_exports.literal("text"),
|
|
15704
|
+
prompt: external_exports.string(),
|
|
15705
|
+
multiline: external_exports.boolean(),
|
|
15706
|
+
secret: external_exports.literal(false),
|
|
15707
|
+
optional: external_exports.boolean(),
|
|
15708
|
+
placeholder: external_exports.string().optional(),
|
|
15709
|
+
prefill: external_exports.string().optional()
|
|
15710
|
+
})
|
|
15711
|
+
]);
|
|
15712
|
+
var threadQuestionSchema = external_exports.object({
|
|
15713
|
+
interactionId: external_exports.string().min(1),
|
|
15714
|
+
turnId: external_exports.string().min(1),
|
|
15715
|
+
title: external_exports.string().optional(),
|
|
15716
|
+
questions: external_exports.array(field).min(1)
|
|
15717
|
+
}).refine(({ questions }) => questions.some((q) => q.type === "choice" && q.multiple), {
|
|
15718
|
+
message: "Shared cards require at least one multi-select question"
|
|
15719
|
+
});
|
|
15720
|
+
var threadQuestionsListParamsSchema = external_exports.strictObject({ threadId: external_exports.string().min(1) });
|
|
15721
|
+
var threadQuestionsResultSchema = external_exports.object({ questions: external_exports.array(threadQuestionSchema) });
|
|
15722
|
+
var threadQuestionRespondParamsSchema = external_exports.strictObject({
|
|
15723
|
+
threadId: external_exports.string().min(1),
|
|
15724
|
+
turnId: external_exports.string().min(1),
|
|
15725
|
+
interactionId: external_exports.string().min(1),
|
|
15726
|
+
answers: external_exports.record(external_exports.string(), external_exports.array(external_exports.string())),
|
|
15727
|
+
cancelled: external_exports.boolean().default(false)
|
|
15728
|
+
});
|
|
15729
|
+
var threadQuestionRespondResultSchema = external_exports.object({ accepted: external_exports.literal(true) });
|
|
15730
|
+
|
|
15683
15731
|
// packages/shared-contracts/dist/harness-plugins.js
|
|
15684
15732
|
var HARNESS_PLUGIN_MANIFEST_MAX_BYTES = 32 * 1024;
|
|
15685
15733
|
var HARNESS_PLUGIN_ICON_MAX_BYTES = 128 * 1024;
|
|
@@ -16452,7 +16500,10 @@ var harnessPluginRouteSchema = external_exports.object({
|
|
|
16452
16500
|
harnessId: harnessPluginIdSchema,
|
|
16453
16501
|
model: harnessModelRefSchema.optional(),
|
|
16454
16502
|
thinkingOptionId: harnessThinkingOptionIdSchema.optional(),
|
|
16455
|
-
permissionModeId: harnessPermissionModeIdSchema.optional()
|
|
16503
|
+
permissionModeId: harnessPermissionModeIdSchema.optional(),
|
|
16504
|
+
/** A draft prewarm create: stays unsubmitted until the user's first Turn.
|
|
16505
|
+
* Desktop forwards only the Model of a main-process prewarm to thread/start. */
|
|
16506
|
+
prewarm: external_exports.literal(true).optional()
|
|
16456
16507
|
}).strict();
|
|
16457
16508
|
|
|
16458
16509
|
// packages/shared-contracts/dist/harness-launch-settings.js
|
|
@@ -17545,9 +17596,9 @@ function parseAnnouncement(document) {
|
|
|
17545
17596
|
const fields = /* @__PURE__ */ new Map();
|
|
17546
17597
|
for (const line of (match[1] ?? "").split("\n")) {
|
|
17547
17598
|
if (!line.trim()) continue;
|
|
17548
|
-
const
|
|
17549
|
-
if (!
|
|
17550
|
-
fields.set(
|
|
17599
|
+
const field2 = /^(enabled|title|type):[ \t]*(.+?)\s*$/u.exec(line);
|
|
17600
|
+
if (!field2?.[1] || !field2[2] || fields.has(field2[1])) return null;
|
|
17601
|
+
fields.set(field2[1], field2[2]);
|
|
17551
17602
|
}
|
|
17552
17603
|
if (fields.get("enabled") !== "true") return null;
|
|
17553
17604
|
let title = fields.get("title");
|