@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
|
@@ -14554,6 +14554,8 @@ var threadUsageSnapshotSchema = external_exports.object({
|
|
|
14554
14554
|
reasoningOutputTokens: nonNegativeSafeIntegerSchema.optional(),
|
|
14555
14555
|
totalTokens: nonNegativeSafeIntegerSchema.optional(),
|
|
14556
14556
|
totalCostUsd: finiteNonNegativeNumberSchema.optional(),
|
|
14557
|
+
totalCredits: finiteNonNegativeNumberSchema.optional(),
|
|
14558
|
+
contextUsagePercent: finiteNonNegativeNumberSchema.optional(),
|
|
14557
14559
|
cacheHitRatePercent: cacheHitRatePercentSchema.optional(),
|
|
14558
14560
|
contextWindowTokens: nonNegativeSafeIntegerSchema.optional(),
|
|
14559
14561
|
contextUsedTokens: nonNegativeSafeIntegerSchema.optional(),
|
|
@@ -15485,7 +15487,9 @@ var usageFields = /* @__PURE__ */ new Set([
|
|
|
15485
15487
|
...tokenFields,
|
|
15486
15488
|
...safeIntegerFields,
|
|
15487
15489
|
...percentFields,
|
|
15488
|
-
"totalCostUsd"
|
|
15490
|
+
"totalCostUsd",
|
|
15491
|
+
"totalCredits",
|
|
15492
|
+
"contextUsagePercent"
|
|
15489
15493
|
]);
|
|
15490
15494
|
|
|
15491
15495
|
// ../../harness-discovery/dist/environment.js
|
|
@@ -18294,18 +18298,19 @@ function hostUsage(value, modelId) {
|
|
|
18294
18298
|
};
|
|
18295
18299
|
return Object.keys(usage).length > 0 ? usage : null;
|
|
18296
18300
|
}
|
|
18297
|
-
function normalizedProcessError(
|
|
18298
|
-
const
|
|
18299
|
-
|
|
18301
|
+
function normalizedProcessError(detail, fallback, exposeDetail = false) {
|
|
18302
|
+
const nativeDetail = detail.trim();
|
|
18303
|
+
const diagnostic = sanitizeDiagnosticTail(nativeDetail);
|
|
18304
|
+
if (/sign[ -]?in|authenticat|credential|login/iu.test(nativeDetail)) {
|
|
18300
18305
|
return {
|
|
18301
18306
|
code: "authenticationRequired",
|
|
18302
|
-
message: diagnostic || fallback,
|
|
18307
|
+
message: exposeDetail ? nativeDetail || fallback : diagnostic || fallback,
|
|
18303
18308
|
retryable: false
|
|
18304
18309
|
};
|
|
18305
18310
|
}
|
|
18306
18311
|
return {
|
|
18307
18312
|
code: "nativeFailure",
|
|
18308
|
-
message: fallback,
|
|
18313
|
+
message: exposeDetail && nativeDetail ? `${fallback}: ${nativeDetail}` : fallback,
|
|
18309
18314
|
retryable: true,
|
|
18310
18315
|
...diagnostic ? { stderrTail: diagnostic.slice(-4e3) } : {}
|
|
18311
18316
|
};
|
|
@@ -18789,10 +18794,11 @@ ${line}`).slice(-8e3);
|
|
|
18789
18794
|
this.#completeTurn(active, { status: "succeeded", checkpoint }, nativeTurnRef);
|
|
18790
18795
|
}
|
|
18791
18796
|
} else {
|
|
18792
|
-
const
|
|
18797
|
+
const nativeError = event.result.error?.trim();
|
|
18798
|
+
const errorDetail = nativeError || active.stderr;
|
|
18793
18799
|
this.#completeTurn(active, {
|
|
18794
18800
|
status: "failed",
|
|
18795
|
-
error: normalizedProcessError(errorDetail, `Antigravity Turn ended with status ${event.result.status}
|
|
18801
|
+
error: normalizedProcessError(errorDetail, `Antigravity Turn ended with status ${event.result.status}`, nativeError !== void 0),
|
|
18796
18802
|
checkpoint
|
|
18797
18803
|
}, nativeTurnRef);
|
|
18798
18804
|
}
|
|
@@ -19153,6 +19159,7 @@ function historySubagentState(history, id) {
|
|
|
19153
19159
|
return void 0;
|
|
19154
19160
|
}
|
|
19155
19161
|
var AntigravityAdapter = class {
|
|
19162
|
+
commandCatalog = ANTIGRAVITY_COMMAND_CATALOG;
|
|
19156
19163
|
harnessId = antigravityHarnessId;
|
|
19157
19164
|
subagents = {
|
|
19158
19165
|
readSnapshot: async (input) => {
|