@liberseek/boft-cli-linux-x64 0.8.0 → 0.8.2
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/THIRD_PARTY_NOTICES.txt +1 -1
- package/app/codexhost-distribution.json +1 -1
- package/app/console-server.mjs +127 -50
- package/app/console-web.js +3804 -4074
- package/app/desktop-controller.mjs +44 -4
- package/app/host-runtime.mjs +1009 -258
- package/app/plugins/antigravity/plugin.mjs +60 -8
- package/app/plugins/claude-code/plugin.mjs +34939 -23926
- package/app/plugins/codebuddy/plugin.mjs +157 -12
- package/app/plugins/codex-usage/plugin.mjs +699 -30
- package/app/plugins/cursor-cli/plugin.mjs +79 -11
- package/app/plugins/deepseek-harness/manifest.json +2 -2
- package/app/plugins/deepseek-harness/plugin.mjs +226 -29
- package/app/plugins/grok/plugin.mjs +107 -13
- package/app/plugins/hermes/plugin.mjs +255 -44
- package/app/plugins/kimi-code/plugin.mjs +72 -10
- package/app/plugins/kiro-cli/plugin.mjs +53 -4
- package/app/plugins/muse/plugin.mjs +44 -4
- package/app/plugins/omp/plugin.mjs +77 -10
- package/app/plugins/opencode/plugin.mjs +86 -9
- package/app/plugins/pi/plugin.mjs +121 -46
- package/app/plugins/qoder/plugin.mjs +104 -7
- package/app/plugins/qoder-cn/plugin.mjs +104 -7
- package/app/plugins/workbuddy/plugin.mjs +274 -16
- package/app/plugins/zcode/plugin.mjs +86 -7
- package/app/renderer-extension.js +12529 -8157
- package/bin/boft +0 -0
- package/libexec/boft-shim +0 -0
- package/libexec/boft-updater +0 -0
- package/package.json +4 -4
|
@@ -15010,6 +15010,15 @@ var harnessDisplaySetSchema = external_exports.strictObject({
|
|
|
15010
15010
|
initializeOnly: external_exports.boolean().optional()
|
|
15011
15011
|
});
|
|
15012
15012
|
|
|
15013
|
+
// ../../shared-contracts/dist/harness-presentation.js
|
|
15014
|
+
var localeSchema = external_exports.string().max(64).regex(/^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$/u);
|
|
15015
|
+
var displayText = (maximum) => external_exports.string().min(1).max(maximum).refine((text) => text.trim().length > 0);
|
|
15016
|
+
var harnessLocalizationsSchema = external_exports.record(localeSchema, external_exports.object({
|
|
15017
|
+
label: displayText(256).optional(),
|
|
15018
|
+
description: displayText(1024).optional()
|
|
15019
|
+
}).strict()).refine((entries) => Object.keys(entries).length <= 16, "Too many locales");
|
|
15020
|
+
var harnessLocalizedTextSchema = external_exports.record(localeSchema, displayText(4096)).refine((entries) => typeof entries.en === "string", "English fallback is required").refine((entries) => Object.keys(entries).length <= 16, "Too many locales");
|
|
15021
|
+
|
|
15013
15022
|
// ../../shared-contracts/dist/model-price-overrides.js
|
|
15014
15023
|
var usdPerMillionTokens = external_exports.number().finite().nonnegative();
|
|
15015
15024
|
var modelPriceOverrideSchema = external_exports.strictObject({
|
|
@@ -15088,6 +15097,8 @@ var usageStatisticsSessionSchema = external_exports.strictObject({
|
|
|
15088
15097
|
harness,
|
|
15089
15098
|
sessionId: external_exports.string().min(1).max(512),
|
|
15090
15099
|
project: project.nullable(),
|
|
15100
|
+
/** Persisted Desktop title for a mapped Session, otherwise its native name; may be absent. */
|
|
15101
|
+
title: external_exports.string().min(1).max(200).optional(),
|
|
15091
15102
|
/** Models the session used, most requests first. */
|
|
15092
15103
|
models: external_exports.array(model).max(16),
|
|
15093
15104
|
firstAtMs: count,
|
|
@@ -15154,7 +15165,12 @@ var usageStatisticsResultSchema = external_exports.strictObject({
|
|
|
15154
15165
|
* The sessions that spent the most, by cost and by tokens without cache, all filters applied;
|
|
15155
15166
|
* requests without a native session are not listed here but count everywhere else.
|
|
15156
15167
|
*/
|
|
15157
|
-
sessions: external_exports.array(usageStatisticsSessionSchema).max(100)
|
|
15168
|
+
sessions: external_exports.array(usageStatisticsSessionSchema).max(100),
|
|
15169
|
+
/**
|
|
15170
|
+
* The sessions last active in the range, newest first, all filters applied. Optional for older
|
|
15171
|
+
* Hosts; missing is treated as no list rather than no sessions.
|
|
15172
|
+
*/
|
|
15173
|
+
recentSessions: external_exports.array(usageStatisticsSessionSchema).max(100).optional()
|
|
15158
15174
|
});
|
|
15159
15175
|
|
|
15160
15176
|
// ../../shared-contracts/dist/ids.js
|
|
@@ -15423,8 +15439,24 @@ var threadUsageSnapshotSchema = external_exports.object({
|
|
|
15423
15439
|
}
|
|
15424
15440
|
});
|
|
15425
15441
|
var usagePercentSchema = external_exports.number().finite().min(0).max(100);
|
|
15442
|
+
var accountCreditsPeriodSchema = external_exports.enum([
|
|
15443
|
+
"weekly",
|
|
15444
|
+
"monthly",
|
|
15445
|
+
"five_hour",
|
|
15446
|
+
"seven_day",
|
|
15447
|
+
"unknown"
|
|
15448
|
+
]);
|
|
15449
|
+
var accountCreditsScopeSchema = external_exports.object({
|
|
15450
|
+
id: external_exports.string().min(1).max(256),
|
|
15451
|
+
label: external_exports.string().min(1).max(256),
|
|
15452
|
+
localizations: harnessLocalizationsSchema.optional()
|
|
15453
|
+
}).strict();
|
|
15426
15454
|
var accountCreditsProductUsageSchema = external_exports.object({
|
|
15427
15455
|
product: external_exports.string().min(1),
|
|
15456
|
+
/** Native period and scope, never inferred from the display name. */
|
|
15457
|
+
periodType: accountCreditsPeriodSchema.optional(),
|
|
15458
|
+
scope: accountCreditsScopeSchema.optional(),
|
|
15459
|
+
localizations: harnessLocalizationsSchema.optional(),
|
|
15428
15460
|
used: external_exports.number().finite().nonnegative().optional(),
|
|
15429
15461
|
// Zero is a real empty cap, not an absent field.
|
|
15430
15462
|
limit: external_exports.number().finite().nonnegative().optional(),
|
|
@@ -15446,8 +15478,10 @@ var accountCreditsSnapshotSchema = external_exports.object({
|
|
|
15446
15478
|
label: external_exports.string().min(1).optional(),
|
|
15447
15479
|
usedPercent: usagePercentSchema.optional(),
|
|
15448
15480
|
remaining: external_exports.number().finite().optional(),
|
|
15481
|
+
scope: accountCreditsScopeSchema.optional(),
|
|
15482
|
+
localizations: harnessLocalizationsSchema.optional(),
|
|
15449
15483
|
resetsAt: external_exports.string().min(1).optional(),
|
|
15450
|
-
periodType:
|
|
15484
|
+
periodType: accountCreditsPeriodSchema,
|
|
15451
15485
|
productUsage: external_exports.array(accountCreditsProductUsageSchema).min(1).optional(),
|
|
15452
15486
|
resetCredits: accountResetCreditsSchema.optional()
|
|
15453
15487
|
}).strict().superRefine((credits, context) => {
|
|
@@ -15472,7 +15506,9 @@ var threadUsageInspectionParamsSchema = external_exports.object({
|
|
|
15472
15506
|
var threadUsageInspectionSchema = external_exports.object({
|
|
15473
15507
|
threadId: hostThreadIdSchema,
|
|
15474
15508
|
usage: threadUsageSnapshotSchema.nullable(),
|
|
15475
|
-
accountCredits: accountCreditsSnapshotSchema.optional()
|
|
15509
|
+
accountCredits: accountCreditsSnapshotSchema.optional(),
|
|
15510
|
+
/** Whether this source can provide cached account quota independently of usage. */
|
|
15511
|
+
accountCreditsSupported: external_exports.boolean().optional()
|
|
15476
15512
|
}).strict();
|
|
15477
15513
|
|
|
15478
15514
|
// ../../shared-contracts/dist/harness-accounts.js
|
|
@@ -15599,7 +15635,8 @@ var harnessPermissionModeSchema = external_exports.object({
|
|
|
15599
15635
|
id: harnessPermissionModeIdSchema,
|
|
15600
15636
|
label: nonBlankTextSchema.max(HARNESS_PERMISSION_MODE_LABEL_MAX_LENGTH),
|
|
15601
15637
|
description: nonBlankTextSchema.max(HARNESS_PERMISSION_MODE_DESCRIPTION_MAX_LENGTH).optional(),
|
|
15602
|
-
dangerous: external_exports.boolean().optional()
|
|
15638
|
+
dangerous: external_exports.boolean().optional(),
|
|
15639
|
+
localizations: harnessLocalizationsSchema.optional()
|
|
15603
15640
|
}).strict();
|
|
15604
15641
|
var harnessPermissionModeCatalogSchema = external_exports.object({
|
|
15605
15642
|
modes: external_exports.array(harnessPermissionModeSchema).min(1).max(HARNESS_PERMISSION_MODE_CATALOG_MAX_LENGTH),
|
|
@@ -15922,6 +15959,8 @@ var harnessInstallationStateSchema = external_exports.object({
|
|
|
15922
15959
|
// Adapter-owned diagnostic text; UI uses messageCode rather than displaying it verbatim.
|
|
15923
15960
|
message: external_exports.string().max(2048).optional(),
|
|
15924
15961
|
messageCode: external_exports.string().min(1).max(128).optional(),
|
|
15962
|
+
/** Safe plugin-owned explanation, distinct from raw diagnostic message. */
|
|
15963
|
+
notice: harnessLocalizedTextSchema.optional(),
|
|
15925
15964
|
latestVersionKind: external_exports.enum(["unknown", "tracking-branch"]).optional()
|
|
15926
15965
|
}).strict();
|
|
15927
15966
|
|
|
@@ -16060,6 +16099,7 @@ var harnessCommandDescriptorSchema = external_exports.object({
|
|
|
16060
16099
|
invocation: commandInvocationSchema,
|
|
16061
16100
|
label: commandLabelSchema,
|
|
16062
16101
|
description: commandDescriptionSchema.optional(),
|
|
16102
|
+
localizations: harnessLocalizationsSchema.optional(),
|
|
16063
16103
|
argumentMode: external_exports.enum(["none", "text"]),
|
|
16064
16104
|
/**
|
|
16065
16105
|
* Native distinction reported by the Harness. Omitted when the Harness does
|
|
@@ -17120,6 +17160,12 @@ var ANTIGRAVITY_PERMISSION_MODE_CATALOG = harnessPermissionModeCatalogSchema.par
|
|
|
17120
17160
|
{
|
|
17121
17161
|
id: "dangerously-skip-permissions",
|
|
17122
17162
|
label: "Skip permissions",
|
|
17163
|
+
localizations: {
|
|
17164
|
+
"zh-CN": {
|
|
17165
|
+
label: "跳过权限检查",
|
|
17166
|
+
description: "使用 --dangerously-skip-permissions 运行 Antigravity CLI;codexhost 不增加工具审批或工作区限制。"
|
|
17167
|
+
}
|
|
17168
|
+
},
|
|
17123
17169
|
description: "Run Antigravity CLI with --dangerously-skip-permissions. codexhost adds no tool approval or workspace restrictions.",
|
|
17124
17170
|
dangerous: true
|
|
17125
17171
|
}
|
|
@@ -17841,6 +17887,8 @@ function parseBuckets(groups) {
|
|
|
17841
17887
|
const resetsAt = nonEmptyString(bucket.reset_time);
|
|
17842
17888
|
buckets.push({
|
|
17843
17889
|
product: groupName ? `${groupName} · ${label}` : label,
|
|
17890
|
+
periodType: periodTypeFrom(window),
|
|
17891
|
+
...groupName ? { scope: { id: groupName, label: groupName } } : {},
|
|
17844
17892
|
usagePercent,
|
|
17845
17893
|
window,
|
|
17846
17894
|
...resetsAt ? { resetsAt } : {}
|
|
@@ -17874,14 +17922,17 @@ function parseAntigravityUsageCommand(command, fetchedAt = (/* @__PURE__ */ new
|
|
|
17874
17922
|
return null;
|
|
17875
17923
|
const others = buckets.filter((bucket) => bucket !== leading);
|
|
17876
17924
|
return {
|
|
17877
|
-
label: leading.product,
|
|
17925
|
+
...leading.scope || periodTypeFrom(leading.window) === "unknown" ? { label: leading.product } : {},
|
|
17926
|
+
...leading.scope ? { scope: leading.scope } : {},
|
|
17878
17927
|
usedPercent: leading.usagePercent,
|
|
17879
17928
|
periodType: periodTypeFrom(leading.window),
|
|
17880
17929
|
fetchedAt,
|
|
17881
17930
|
...leading.resetsAt ? { resetsAt: leading.resetsAt } : {},
|
|
17882
17931
|
...others.length > 0 ? {
|
|
17883
|
-
productUsage: others.map(({ product, usagePercent, resetsAt }) => ({
|
|
17932
|
+
productUsage: others.map(({ product, periodType, scope, usagePercent, resetsAt }) => ({
|
|
17884
17933
|
product,
|
|
17934
|
+
...periodType ? { periodType } : {},
|
|
17935
|
+
...scope ? { scope } : {},
|
|
17885
17936
|
usagePercent,
|
|
17886
17937
|
...resetsAt ? { resetsAt } : {}
|
|
17887
17938
|
}))
|
|
@@ -19925,7 +19976,8 @@ var AntigravityAdapter = class {
|
|
|
19925
19976
|
return null;
|
|
19926
19977
|
return {
|
|
19927
19978
|
credits: {
|
|
19928
|
-
label: snapshot.label,
|
|
19979
|
+
...snapshot.label ? { label: snapshot.label } : {},
|
|
19980
|
+
...snapshot.scope ? { scope: snapshot.scope } : {},
|
|
19929
19981
|
usedPercent: snapshot.usedPercent,
|
|
19930
19982
|
periodType: snapshot.periodType,
|
|
19931
19983
|
...snapshot.resetsAt ? { resetsAt: snapshot.resetsAt } : {},
|
|
@@ -19933,7 +19985,7 @@ var AntigravityAdapter = class {
|
|
|
19933
19985
|
}
|
|
19934
19986
|
};
|
|
19935
19987
|
}
|
|
19936
|
-
/**
|
|
19988
|
+
/** Public account telemetry cache; never attributes quota to historical Thread spend. */
|
|
19937
19989
|
credits() {
|
|
19938
19990
|
return this.#quota;
|
|
19939
19991
|
}
|