@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
|
@@ -18252,6 +18252,8 @@ var threadUsageSnapshotSchema = external_exports.object({
|
|
|
18252
18252
|
reasoningOutputTokens: nonNegativeSafeIntegerSchema.optional(),
|
|
18253
18253
|
totalTokens: nonNegativeSafeIntegerSchema.optional(),
|
|
18254
18254
|
totalCostUsd: finiteNonNegativeNumberSchema.optional(),
|
|
18255
|
+
totalCredits: finiteNonNegativeNumberSchema.optional(),
|
|
18256
|
+
contextUsagePercent: finiteNonNegativeNumberSchema.optional(),
|
|
18255
18257
|
cacheHitRatePercent: cacheHitRatePercentSchema.optional(),
|
|
18256
18258
|
contextWindowTokens: nonNegativeSafeIntegerSchema.optional(),
|
|
18257
18259
|
contextUsedTokens: nonNegativeSafeIntegerSchema.optional(),
|
|
@@ -18308,12 +18310,28 @@ var accountResetCreditsSchema = external_exports.object({
|
|
|
18308
18310
|
var accountCreditsSnapshotSchema = external_exports.object({
|
|
18309
18311
|
/** Native label when the primary limit is scoped to a model or product group. */
|
|
18310
18312
|
label: external_exports.string().min(1).optional(),
|
|
18311
|
-
usedPercent: usagePercentSchema,
|
|
18313
|
+
usedPercent: usagePercentSchema.optional(),
|
|
18314
|
+
remaining: external_exports.number().finite().optional(),
|
|
18315
|
+
unit: external_exports.string().trim().min(1).max(32).optional(),
|
|
18312
18316
|
resetsAt: external_exports.string().min(1).optional(),
|
|
18313
18317
|
periodType: external_exports.enum(["weekly", "monthly", "five_hour", "seven_day", "unknown"]),
|
|
18314
18318
|
productUsage: external_exports.array(accountCreditsProductUsageSchema).min(1).optional(),
|
|
18315
18319
|
resetCredits: accountResetCreditsSchema.optional()
|
|
18316
|
-
}).strict()
|
|
18320
|
+
}).strict().superRefine((credits, context) => {
|
|
18321
|
+
if (credits.usedPercent === void 0 && credits.remaining === void 0) {
|
|
18322
|
+
context.addIssue({
|
|
18323
|
+
code: "custom",
|
|
18324
|
+
message: "Account credits must include usedPercent or remaining"
|
|
18325
|
+
});
|
|
18326
|
+
}
|
|
18327
|
+
if (credits.remaining !== void 0 && !credits.unit) {
|
|
18328
|
+
context.addIssue({
|
|
18329
|
+
code: "custom",
|
|
18330
|
+
message: "Account remaining credits require a unit",
|
|
18331
|
+
path: ["unit"]
|
|
18332
|
+
});
|
|
18333
|
+
}
|
|
18334
|
+
});
|
|
18317
18335
|
var threadUsageInspectionParamsSchema = external_exports.object({
|
|
18318
18336
|
threadId: hostThreadIdSchema,
|
|
18319
18337
|
refresh: external_exports.literal("exact").optional()
|
|
@@ -19212,7 +19230,9 @@ var usageFields = /* @__PURE__ */ new Set([
|
|
|
19212
19230
|
...tokenFields,
|
|
19213
19231
|
...safeIntegerFields,
|
|
19214
19232
|
...percentFields,
|
|
19215
|
-
"totalCostUsd"
|
|
19233
|
+
"totalCostUsd",
|
|
19234
|
+
"totalCredits",
|
|
19235
|
+
"contextUsagePercent"
|
|
19216
19236
|
]);
|
|
19217
19237
|
function isRecord(value) {
|
|
19218
19238
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
@@ -19246,6 +19266,12 @@ function parseHostUsage(value) {
|
|
|
19246
19266
|
if (value.totalCostUsd !== void 0 && (typeof value.totalCostUsd !== "number" || !Number.isFinite(value.totalCostUsd) || value.totalCostUsd < 0)) {
|
|
19247
19267
|
throw new Error("Harness Usage 'totalCostUsd' must be a finite non-negative number");
|
|
19248
19268
|
}
|
|
19269
|
+
for (const field of ["totalCredits", "contextUsagePercent"]) {
|
|
19270
|
+
const candidate = value[field];
|
|
19271
|
+
if (candidate !== void 0 && (typeof candidate !== "number" || !Number.isFinite(candidate) || candidate < 0)) {
|
|
19272
|
+
throw new Error(`Harness Usage '${field}' must be a finite non-negative number`);
|
|
19273
|
+
}
|
|
19274
|
+
}
|
|
19249
19275
|
for (const field of percentFields) {
|
|
19250
19276
|
const candidate = value[field];
|
|
19251
19277
|
if (candidate !== void 0 && (typeof candidate !== "number" || !Number.isFinite(candidate) || candidate < 0 || candidate > 100)) {
|