@liberseek/boft-cli-win32-arm64 0.6.1 → 0.6.3
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/desktop-controller.mjs +4 -1
- package/app/host-runtime.mjs +516 -200
- package/app/plugins/antigravity/plugin.mjs +24 -3
- package/app/plugins/claude-code/plugin.mjs +546 -51
- package/app/plugins/deepseek-harness/plugin.mjs +29 -3
- package/app/plugins/enabled.json +4 -1
- package/app/plugins/grok/plugin.mjs +1992 -1602
- package/app/plugins/hermes/manifest.json +11 -0
- package/app/plugins/hermes/plugin.mjs +21491 -0
- package/app/plugins/kiro-cli/assets/icon.svg +5 -0
- package/app/plugins/kiro-cli/manifest.json +12 -0
- package/app/plugins/kiro-cli/plugin.mjs +23353 -0
- package/app/plugins/muse/assets/icon.svg +4 -0
- package/app/plugins/muse/manifest.json +12 -0
- package/app/plugins/muse/plugin.mjs +18151 -0
- package/app/plugins/omp/plugin.mjs +29 -3
- package/app/plugins/opencode/plugin.mjs +29 -3
- package/app/plugins/pi/plugin.mjs +29 -3
- package/app/renderer-extension.js +571 -153
- package/bin/codexhost.exe +0 -0
- package/libexec/codexhost-node-repl.exe +0 -0
- package/libexec/codexhost-shim.exe +0 -0
- package/libexec/codexhost-updater.exe +0 -0
- package/package.json +1 -1
|
@@ -15069,6 +15069,8 @@ var threadUsageSnapshotSchema = external_exports.object({
|
|
|
15069
15069
|
reasoningOutputTokens: nonNegativeSafeIntegerSchema.optional(),
|
|
15070
15070
|
totalTokens: nonNegativeSafeIntegerSchema.optional(),
|
|
15071
15071
|
totalCostUsd: finiteNonNegativeNumberSchema.optional(),
|
|
15072
|
+
totalCredits: finiteNonNegativeNumberSchema.optional(),
|
|
15073
|
+
contextUsagePercent: finiteNonNegativeNumberSchema.optional(),
|
|
15072
15074
|
cacheHitRatePercent: cacheHitRatePercentSchema.optional(),
|
|
15073
15075
|
contextWindowTokens: nonNegativeSafeIntegerSchema.optional(),
|
|
15074
15076
|
contextUsedTokens: nonNegativeSafeIntegerSchema.optional(),
|
|
@@ -15125,12 +15127,28 @@ var accountResetCreditsSchema = external_exports.object({
|
|
|
15125
15127
|
var accountCreditsSnapshotSchema = external_exports.object({
|
|
15126
15128
|
/** Native label when the primary limit is scoped to a model or product group. */
|
|
15127
15129
|
label: external_exports.string().min(1).optional(),
|
|
15128
|
-
usedPercent: usagePercentSchema,
|
|
15130
|
+
usedPercent: usagePercentSchema.optional(),
|
|
15131
|
+
remaining: external_exports.number().finite().optional(),
|
|
15132
|
+
unit: external_exports.string().trim().min(1).max(32).optional(),
|
|
15129
15133
|
resetsAt: external_exports.string().min(1).optional(),
|
|
15130
15134
|
periodType: external_exports.enum(["weekly", "monthly", "five_hour", "seven_day", "unknown"]),
|
|
15131
15135
|
productUsage: external_exports.array(accountCreditsProductUsageSchema).min(1).optional(),
|
|
15132
15136
|
resetCredits: accountResetCreditsSchema.optional()
|
|
15133
|
-
}).strict()
|
|
15137
|
+
}).strict().superRefine((credits, context) => {
|
|
15138
|
+
if (credits.usedPercent === void 0 && credits.remaining === void 0) {
|
|
15139
|
+
context.addIssue({
|
|
15140
|
+
code: "custom",
|
|
15141
|
+
message: "Account credits must include usedPercent or remaining"
|
|
15142
|
+
});
|
|
15143
|
+
}
|
|
15144
|
+
if (credits.remaining !== void 0 && !credits.unit) {
|
|
15145
|
+
context.addIssue({
|
|
15146
|
+
code: "custom",
|
|
15147
|
+
message: "Account remaining credits require a unit",
|
|
15148
|
+
path: ["unit"]
|
|
15149
|
+
});
|
|
15150
|
+
}
|
|
15151
|
+
});
|
|
15134
15152
|
var threadUsageInspectionParamsSchema = external_exports.object({
|
|
15135
15153
|
threadId: hostThreadIdSchema,
|
|
15136
15154
|
refresh: external_exports.literal("exact").optional()
|
|
@@ -16008,7 +16026,9 @@ var usageFields = /* @__PURE__ */ new Set([
|
|
|
16008
16026
|
...tokenFields,
|
|
16009
16027
|
...safeIntegerFields,
|
|
16010
16028
|
...percentFields,
|
|
16011
|
-
"totalCostUsd"
|
|
16029
|
+
"totalCostUsd",
|
|
16030
|
+
"totalCredits",
|
|
16031
|
+
"contextUsagePercent"
|
|
16012
16032
|
]);
|
|
16013
16033
|
function isRecord(value) {
|
|
16014
16034
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
@@ -16042,6 +16062,12 @@ function parseHostUsage(value) {
|
|
|
16042
16062
|
if (value.totalCostUsd !== void 0 && (typeof value.totalCostUsd !== "number" || !Number.isFinite(value.totalCostUsd) || value.totalCostUsd < 0)) {
|
|
16043
16063
|
throw new Error("Harness Usage 'totalCostUsd' must be a finite non-negative number");
|
|
16044
16064
|
}
|
|
16065
|
+
for (const field of ["totalCredits", "contextUsagePercent"]) {
|
|
16066
|
+
const candidate = value[field];
|
|
16067
|
+
if (candidate !== void 0 && (typeof candidate !== "number" || !Number.isFinite(candidate) || candidate < 0)) {
|
|
16068
|
+
throw new Error(`Harness Usage '${field}' must be a finite non-negative number`);
|
|
16069
|
+
}
|
|
16070
|
+
}
|
|
16045
16071
|
for (const field of percentFields) {
|
|
16046
16072
|
const candidate = value[field];
|
|
16047
16073
|
if (candidate !== void 0 && (typeof candidate !== "number" || !Number.isFinite(candidate) || candidate < 0 || candidate > 100)) {
|
|
@@ -14550,6 +14550,8 @@ var threadUsageSnapshotSchema = external_exports.object({
|
|
|
14550
14550
|
reasoningOutputTokens: nonNegativeSafeIntegerSchema.optional(),
|
|
14551
14551
|
totalTokens: nonNegativeSafeIntegerSchema.optional(),
|
|
14552
14552
|
totalCostUsd: finiteNonNegativeNumberSchema.optional(),
|
|
14553
|
+
totalCredits: finiteNonNegativeNumberSchema.optional(),
|
|
14554
|
+
contextUsagePercent: finiteNonNegativeNumberSchema.optional(),
|
|
14553
14555
|
cacheHitRatePercent: cacheHitRatePercentSchema.optional(),
|
|
14554
14556
|
contextWindowTokens: nonNegativeSafeIntegerSchema.optional(),
|
|
14555
14557
|
contextUsedTokens: nonNegativeSafeIntegerSchema.optional(),
|
|
@@ -14606,12 +14608,28 @@ var accountResetCreditsSchema = external_exports.object({
|
|
|
14606
14608
|
var accountCreditsSnapshotSchema = external_exports.object({
|
|
14607
14609
|
/** Native label when the primary limit is scoped to a model or product group. */
|
|
14608
14610
|
label: external_exports.string().min(1).optional(),
|
|
14609
|
-
usedPercent: usagePercentSchema,
|
|
14611
|
+
usedPercent: usagePercentSchema.optional(),
|
|
14612
|
+
remaining: external_exports.number().finite().optional(),
|
|
14613
|
+
unit: external_exports.string().trim().min(1).max(32).optional(),
|
|
14610
14614
|
resetsAt: external_exports.string().min(1).optional(),
|
|
14611
14615
|
periodType: external_exports.enum(["weekly", "monthly", "five_hour", "seven_day", "unknown"]),
|
|
14612
14616
|
productUsage: external_exports.array(accountCreditsProductUsageSchema).min(1).optional(),
|
|
14613
14617
|
resetCredits: accountResetCreditsSchema.optional()
|
|
14614
|
-
}).strict()
|
|
14618
|
+
}).strict().superRefine((credits, context) => {
|
|
14619
|
+
if (credits.usedPercent === void 0 && credits.remaining === void 0) {
|
|
14620
|
+
context.addIssue({
|
|
14621
|
+
code: "custom",
|
|
14622
|
+
message: "Account credits must include usedPercent or remaining"
|
|
14623
|
+
});
|
|
14624
|
+
}
|
|
14625
|
+
if (credits.remaining !== void 0 && !credits.unit) {
|
|
14626
|
+
context.addIssue({
|
|
14627
|
+
code: "custom",
|
|
14628
|
+
message: "Account remaining credits require a unit",
|
|
14629
|
+
path: ["unit"]
|
|
14630
|
+
});
|
|
14631
|
+
}
|
|
14632
|
+
});
|
|
14615
14633
|
var threadUsageInspectionParamsSchema = external_exports.object({
|
|
14616
14634
|
threadId: hostThreadIdSchema,
|
|
14617
14635
|
refresh: external_exports.literal("exact").optional()
|
|
@@ -15489,7 +15507,9 @@ var usageFields = /* @__PURE__ */ new Set([
|
|
|
15489
15507
|
...tokenFields,
|
|
15490
15508
|
...safeIntegerFields,
|
|
15491
15509
|
...percentFields,
|
|
15492
|
-
"totalCostUsd"
|
|
15510
|
+
"totalCostUsd",
|
|
15511
|
+
"totalCredits",
|
|
15512
|
+
"contextUsagePercent"
|
|
15493
15513
|
]);
|
|
15494
15514
|
function isRecord(value) {
|
|
15495
15515
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
@@ -15523,6 +15543,12 @@ function parseHostUsage(value) {
|
|
|
15523
15543
|
if (value.totalCostUsd !== void 0 && (typeof value.totalCostUsd !== "number" || !Number.isFinite(value.totalCostUsd) || value.totalCostUsd < 0)) {
|
|
15524
15544
|
throw new Error("Harness Usage 'totalCostUsd' must be a finite non-negative number");
|
|
15525
15545
|
}
|
|
15546
|
+
for (const field of ["totalCredits", "contextUsagePercent"]) {
|
|
15547
|
+
const candidate = value[field];
|
|
15548
|
+
if (candidate !== void 0 && (typeof candidate !== "number" || !Number.isFinite(candidate) || candidate < 0)) {
|
|
15549
|
+
throw new Error(`Harness Usage '${field}' must be a finite non-negative number`);
|
|
15550
|
+
}
|
|
15551
|
+
}
|
|
15526
15552
|
for (const field of percentFields) {
|
|
15527
15553
|
const candidate = value[field];
|
|
15528
15554
|
if (candidate !== void 0 && (typeof candidate !== "number" || !Number.isFinite(candidate) || candidate < 0 || candidate > 100)) {
|
|
@@ -15069,6 +15069,8 @@ var threadUsageSnapshotSchema = external_exports.object({
|
|
|
15069
15069
|
reasoningOutputTokens: nonNegativeSafeIntegerSchema.optional(),
|
|
15070
15070
|
totalTokens: nonNegativeSafeIntegerSchema.optional(),
|
|
15071
15071
|
totalCostUsd: finiteNonNegativeNumberSchema.optional(),
|
|
15072
|
+
totalCredits: finiteNonNegativeNumberSchema.optional(),
|
|
15073
|
+
contextUsagePercent: finiteNonNegativeNumberSchema.optional(),
|
|
15072
15074
|
cacheHitRatePercent: cacheHitRatePercentSchema.optional(),
|
|
15073
15075
|
contextWindowTokens: nonNegativeSafeIntegerSchema.optional(),
|
|
15074
15076
|
contextUsedTokens: nonNegativeSafeIntegerSchema.optional(),
|
|
@@ -15125,12 +15127,28 @@ var accountResetCreditsSchema = external_exports.object({
|
|
|
15125
15127
|
var accountCreditsSnapshotSchema = external_exports.object({
|
|
15126
15128
|
/** Native label when the primary limit is scoped to a model or product group. */
|
|
15127
15129
|
label: external_exports.string().min(1).optional(),
|
|
15128
|
-
usedPercent: usagePercentSchema,
|
|
15130
|
+
usedPercent: usagePercentSchema.optional(),
|
|
15131
|
+
remaining: external_exports.number().finite().optional(),
|
|
15132
|
+
unit: external_exports.string().trim().min(1).max(32).optional(),
|
|
15129
15133
|
resetsAt: external_exports.string().min(1).optional(),
|
|
15130
15134
|
periodType: external_exports.enum(["weekly", "monthly", "five_hour", "seven_day", "unknown"]),
|
|
15131
15135
|
productUsage: external_exports.array(accountCreditsProductUsageSchema).min(1).optional(),
|
|
15132
15136
|
resetCredits: accountResetCreditsSchema.optional()
|
|
15133
|
-
}).strict()
|
|
15137
|
+
}).strict().superRefine((credits, context) => {
|
|
15138
|
+
if (credits.usedPercent === void 0 && credits.remaining === void 0) {
|
|
15139
|
+
context.addIssue({
|
|
15140
|
+
code: "custom",
|
|
15141
|
+
message: "Account credits must include usedPercent or remaining"
|
|
15142
|
+
});
|
|
15143
|
+
}
|
|
15144
|
+
if (credits.remaining !== void 0 && !credits.unit) {
|
|
15145
|
+
context.addIssue({
|
|
15146
|
+
code: "custom",
|
|
15147
|
+
message: "Account remaining credits require a unit",
|
|
15148
|
+
path: ["unit"]
|
|
15149
|
+
});
|
|
15150
|
+
}
|
|
15151
|
+
});
|
|
15134
15152
|
var threadUsageInspectionParamsSchema = external_exports.object({
|
|
15135
15153
|
threadId: hostThreadIdSchema,
|
|
15136
15154
|
refresh: external_exports.literal("exact").optional()
|
|
@@ -16000,7 +16018,9 @@ var usageFields = /* @__PURE__ */ new Set([
|
|
|
16000
16018
|
...tokenFields,
|
|
16001
16019
|
...safeIntegerFields,
|
|
16002
16020
|
...percentFields,
|
|
16003
|
-
"totalCostUsd"
|
|
16021
|
+
"totalCostUsd",
|
|
16022
|
+
"totalCredits",
|
|
16023
|
+
"contextUsagePercent"
|
|
16004
16024
|
]);
|
|
16005
16025
|
function isRecord(value) {
|
|
16006
16026
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
@@ -16034,6 +16054,12 @@ function parseHostUsage(value) {
|
|
|
16034
16054
|
if (value.totalCostUsd !== void 0 && (typeof value.totalCostUsd !== "number" || !Number.isFinite(value.totalCostUsd) || value.totalCostUsd < 0)) {
|
|
16035
16055
|
throw new Error("Harness Usage 'totalCostUsd' must be a finite non-negative number");
|
|
16036
16056
|
}
|
|
16057
|
+
for (const field of ["totalCredits", "contextUsagePercent"]) {
|
|
16058
|
+
const candidate = value[field];
|
|
16059
|
+
if (candidate !== void 0 && (typeof candidate !== "number" || !Number.isFinite(candidate) || candidate < 0)) {
|
|
16060
|
+
throw new Error(`Harness Usage '${field}' must be a finite non-negative number`);
|
|
16061
|
+
}
|
|
16062
|
+
}
|
|
16037
16063
|
for (const field of percentFields) {
|
|
16038
16064
|
const candidate = value[field];
|
|
16039
16065
|
if (candidate !== void 0 && (typeof candidate !== "number" || !Number.isFinite(candidate) || candidate < 0 || candidate > 100)) {
|