@liberseek/boft-cli-win32-arm64 0.6.1 → 0.6.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/app/codexhost-distribution.json +1 -1
- package/app/host-runtime.mjs +315 -175
- package/app/plugins/antigravity/plugin.mjs +18 -2
- package/app/plugins/claude-code/plugin.mjs +18 -2
- package/app/plugins/deepseek-harness/plugin.mjs +18 -2
- package/app/plugins/grok/plugin.mjs +1982 -1602
- package/app/plugins/omp/plugin.mjs +18 -2
- package/app/plugins/opencode/plugin.mjs +18 -2
- package/app/plugins/pi/plugin.mjs +18 -2
- package/app/renderer-extension.js +87 -6
- 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
|
@@ -14610,12 +14610,28 @@ var accountResetCreditsSchema = external_exports.object({
|
|
|
14610
14610
|
var accountCreditsSnapshotSchema = external_exports.object({
|
|
14611
14611
|
/** Native label when the primary limit is scoped to a model or product group. */
|
|
14612
14612
|
label: external_exports.string().min(1).optional(),
|
|
14613
|
-
usedPercent: usagePercentSchema,
|
|
14613
|
+
usedPercent: usagePercentSchema.optional(),
|
|
14614
|
+
remaining: external_exports.number().finite().optional(),
|
|
14615
|
+
unit: external_exports.string().trim().min(1).max(32).optional(),
|
|
14614
14616
|
resetsAt: external_exports.string().min(1).optional(),
|
|
14615
14617
|
periodType: external_exports.enum(["weekly", "monthly", "five_hour", "seven_day", "unknown"]),
|
|
14616
14618
|
productUsage: external_exports.array(accountCreditsProductUsageSchema).min(1).optional(),
|
|
14617
14619
|
resetCredits: accountResetCreditsSchema.optional()
|
|
14618
|
-
}).strict()
|
|
14620
|
+
}).strict().superRefine((credits, context) => {
|
|
14621
|
+
if (credits.usedPercent === void 0 && credits.remaining === void 0) {
|
|
14622
|
+
context.addIssue({
|
|
14623
|
+
code: "custom",
|
|
14624
|
+
message: "Account credits must include usedPercent or remaining"
|
|
14625
|
+
});
|
|
14626
|
+
}
|
|
14627
|
+
if (credits.remaining !== void 0 && !credits.unit) {
|
|
14628
|
+
context.addIssue({
|
|
14629
|
+
code: "custom",
|
|
14630
|
+
message: "Account remaining credits require a unit",
|
|
14631
|
+
path: ["unit"]
|
|
14632
|
+
});
|
|
14633
|
+
}
|
|
14634
|
+
});
|
|
14619
14635
|
var threadUsageInspectionParamsSchema = external_exports.object({
|
|
14620
14636
|
threadId: hostThreadIdSchema,
|
|
14621
14637
|
refresh: external_exports.literal("exact").optional()
|
|
@@ -14606,12 +14606,28 @@ var accountResetCreditsSchema = external_exports.object({
|
|
|
14606
14606
|
var accountCreditsSnapshotSchema = external_exports.object({
|
|
14607
14607
|
/** Native label when the primary limit is scoped to a model or product group. */
|
|
14608
14608
|
label: external_exports.string().min(1).optional(),
|
|
14609
|
-
usedPercent: usagePercentSchema,
|
|
14609
|
+
usedPercent: usagePercentSchema.optional(),
|
|
14610
|
+
remaining: external_exports.number().finite().optional(),
|
|
14611
|
+
unit: external_exports.string().trim().min(1).max(32).optional(),
|
|
14610
14612
|
resetsAt: external_exports.string().min(1).optional(),
|
|
14611
14613
|
periodType: external_exports.enum(["weekly", "monthly", "five_hour", "seven_day", "unknown"]),
|
|
14612
14614
|
productUsage: external_exports.array(accountCreditsProductUsageSchema).min(1).optional(),
|
|
14613
14615
|
resetCredits: accountResetCreditsSchema.optional()
|
|
14614
|
-
}).strict()
|
|
14616
|
+
}).strict().superRefine((credits, context) => {
|
|
14617
|
+
if (credits.usedPercent === void 0 && credits.remaining === void 0) {
|
|
14618
|
+
context.addIssue({
|
|
14619
|
+
code: "custom",
|
|
14620
|
+
message: "Account credits must include usedPercent or remaining"
|
|
14621
|
+
});
|
|
14622
|
+
}
|
|
14623
|
+
if (credits.remaining !== void 0 && !credits.unit) {
|
|
14624
|
+
context.addIssue({
|
|
14625
|
+
code: "custom",
|
|
14626
|
+
message: "Account remaining credits require a unit",
|
|
14627
|
+
path: ["unit"]
|
|
14628
|
+
});
|
|
14629
|
+
}
|
|
14630
|
+
});
|
|
14615
14631
|
var threadUsageInspectionParamsSchema = external_exports.object({
|
|
14616
14632
|
threadId: hostThreadIdSchema,
|
|
14617
14633
|
refresh: external_exports.literal("exact").optional()
|
|
@@ -18308,12 +18308,28 @@ var accountResetCreditsSchema = external_exports.object({
|
|
|
18308
18308
|
var accountCreditsSnapshotSchema = external_exports.object({
|
|
18309
18309
|
/** Native label when the primary limit is scoped to a model or product group. */
|
|
18310
18310
|
label: external_exports.string().min(1).optional(),
|
|
18311
|
-
usedPercent: usagePercentSchema,
|
|
18311
|
+
usedPercent: usagePercentSchema.optional(),
|
|
18312
|
+
remaining: external_exports.number().finite().optional(),
|
|
18313
|
+
unit: external_exports.string().trim().min(1).max(32).optional(),
|
|
18312
18314
|
resetsAt: external_exports.string().min(1).optional(),
|
|
18313
18315
|
periodType: external_exports.enum(["weekly", "monthly", "five_hour", "seven_day", "unknown"]),
|
|
18314
18316
|
productUsage: external_exports.array(accountCreditsProductUsageSchema).min(1).optional(),
|
|
18315
18317
|
resetCredits: accountResetCreditsSchema.optional()
|
|
18316
|
-
}).strict()
|
|
18318
|
+
}).strict().superRefine((credits, context) => {
|
|
18319
|
+
if (credits.usedPercent === void 0 && credits.remaining === void 0) {
|
|
18320
|
+
context.addIssue({
|
|
18321
|
+
code: "custom",
|
|
18322
|
+
message: "Account credits must include usedPercent or remaining"
|
|
18323
|
+
});
|
|
18324
|
+
}
|
|
18325
|
+
if (credits.remaining !== void 0 && !credits.unit) {
|
|
18326
|
+
context.addIssue({
|
|
18327
|
+
code: "custom",
|
|
18328
|
+
message: "Account remaining credits require a unit",
|
|
18329
|
+
path: ["unit"]
|
|
18330
|
+
});
|
|
18331
|
+
}
|
|
18332
|
+
});
|
|
18317
18333
|
var threadUsageInspectionParamsSchema = external_exports.object({
|
|
18318
18334
|
threadId: hostThreadIdSchema,
|
|
18319
18335
|
refresh: external_exports.literal("exact").optional()
|