@codexhost/cli-darwin-x64 0.6.0 → 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/desktop-controller.mjs +2 -1
- package/app/host-runtime.mjs +628 -260
- package/app/plugins/antigravity/plugin.mjs +15 -8
- package/app/plugins/claude-code/plugin.mjs +661 -219
- package/app/plugins/deepseek-harness/plugin.mjs +7277 -10029
- package/app/plugins/enabled.json +2 -1
- package/app/plugins/grok/plugin.mjs +932 -75
- 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 +23339 -0
- package/app/plugins/omp/plugin.mjs +11 -1
- package/app/plugins/opencode/plugin.mjs +297 -143
- package/app/plugins/pi/plugin.mjs +1489 -1300
- package/app/renderer-extension.js +715 -377
- package/bin/codexhost +0 -0
- package/libexec/codexhost-shim +0 -0
- package/libexec/codexhost-updater +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(),
|
|
@@ -16000,7 +16002,9 @@ var usageFields = /* @__PURE__ */ new Set([
|
|
|
16000
16002
|
...tokenFields,
|
|
16001
16003
|
...safeIntegerFields,
|
|
16002
16004
|
...percentFields,
|
|
16003
|
-
"totalCostUsd"
|
|
16005
|
+
"totalCostUsd",
|
|
16006
|
+
"totalCredits",
|
|
16007
|
+
"contextUsagePercent"
|
|
16004
16008
|
]);
|
|
16005
16009
|
function isRecord(value) {
|
|
16006
16010
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
@@ -16016,6 +16020,12 @@ function parseHostUsage(value) {
|
|
|
16016
16020
|
throw new Error(`Harness Usage contains unknown field '${key}'`);
|
|
16017
16021
|
}
|
|
16018
16022
|
}
|
|
16023
|
+
for (const field of ["totalCredits", "contextUsagePercent"]) {
|
|
16024
|
+
const candidate = value[field];
|
|
16025
|
+
if (candidate !== void 0 && (typeof candidate !== "number" || !Number.isFinite(candidate) || candidate < 0)) {
|
|
16026
|
+
throw new Error(`Harness Usage '${field}' must be a finite non-negative number`);
|
|
16027
|
+
}
|
|
16028
|
+
}
|
|
16019
16029
|
for (const field of tokenFields) {
|
|
16020
16030
|
const candidate = value[field];
|
|
16021
16031
|
if (candidate !== void 0 && (typeof candidate !== "number" || !Number.isSafeInteger(candidate) || candidate < 0)) {
|