@codexhost/cli-darwin-x64 0.19.0 → 0.20.0
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/console-server.mjs +24 -3
- package/app/console-web.js +1095 -682
- package/app/desktop-controller.mjs +40 -4
- package/app/host-runtime.mjs +1572 -1120
- package/app/plugins/antigravity/plugin.mjs +8753 -4274
- package/app/plugins/claude-code/plugin.mjs +26 -3
- package/app/plugins/codebuddy/plugin.mjs +41 -5
- package/app/plugins/codex-usage/plugin.mjs +26 -3
- package/app/plugins/copilot/plugin.mjs +26 -3
- package/app/plugins/cursor-cli/plugin.mjs +26 -3
- package/app/plugins/deepseek-harness/plugin.mjs +26 -3
- package/app/plugins/devin/plugin.mjs +25 -3
- package/app/plugins/grok/plugin.mjs +26 -3
- package/app/plugins/hermes/plugin.mjs +25 -3
- package/app/plugins/kimi-code/plugin.mjs +26 -3
- package/app/plugins/kiro-cli/plugin.mjs +26 -3
- package/app/plugins/omp/plugin.mjs +44 -6
- package/app/plugins/opencode/plugin.mjs +26 -3
- package/app/plugins/pi/plugin.mjs +45 -6
- package/app/plugins/qoder/plugin.mjs +48 -4
- package/app/plugins/qoder-cn/plugin.mjs +48 -4
- package/app/plugins/qwen-code/plugin.mjs +26 -3
- package/app/plugins/workbuddy/plugin.mjs +45 -8
- package/app/plugins/zcode/plugin.mjs +26 -3
- package/app/renderer-extension.js +1411 -737
- package/app/web/assets/index-D6-hvggd.css +1 -0
- package/app/web/assets/index-D85gPBbQ.js +201 -0
- package/app/web/assets/langs/{graphql-B8vkg11W.js → graphql-ChAeyPkT.js} +1 -1
- package/app/web/assets/langs/{http-DmoDEjMt.js → http-BvreBIbD.js} +1 -1
- package/app/web/assets/langs/{php-DJ5ovfAM.js → php-D8omCIuJ.js} +1 -1
- package/app/web/assets/langs/{rst-U5-R5x3p.js → rst-Do7RLLCS.js} +1 -1
- package/app/web/assets/langs/{ruby-VKVsnS0H.js → ruby-rH_O_vse.js} +1 -1
- package/app/web/assets/langs/{svelte-C20lOv9V.js → svelte-xZy73wAj.js} +1 -1
- package/app/web/assets/langs/{vue-z6Y-lzP-.js → vue-C4DW8agZ.js} +1 -1
- package/app/web/assets/{vendor-dSL872WO.js → vendor-C9g2bw8s.js} +3 -3
- package/app/web/codexhost-settings.js +1101 -684
- package/app/web/index.html +4 -3
- package/app/web/plugins/deepseek-ai__dsh-api-gateway/client.js +2 -2
- package/app/web/plugins/deepseek-ai__dsh-api-remotes/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-api-session-controller/client.js +8 -8
- package/app/web/plugins/deepseek-ai__dsh-client-connection/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-chat/client.js +74 -69
- package/app/web/plugins/deepseek-ai__dsh-client-ui-codexhost/client.js +3 -3
- package/app/web/plugins/deepseek-ai__dsh-client-ui-conversation/client.js +13 -13
- package/app/web/plugins/deepseek-ai__dsh-client-ui-session/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-tool/client.js +18 -18
- package/app/web/plugins/deepseek-ai__dsh-client-ui-workspace/client.js +7 -7
- package/app/web-modules/server.mjs +138 -70
- package/bin/codexhost +0 -0
- package/libexec/codexhost-shim +0 -0
- package/libexec/codexhost-updater +0 -0
- package/package.json +1 -1
- package/app/web/assets/index-BNQIOOHE.css +0 -1
- package/app/web/assets/index-Feo4BkqN.js +0 -199
|
@@ -15261,13 +15261,25 @@ var threadPermissionModeSelectParamsSchema = external_exports.object({
|
|
|
15261
15261
|
var nonNegativeSafeIntegerSchema = external_exports.number().int().safe().nonnegative();
|
|
15262
15262
|
var finiteNonNegativeNumberSchema = external_exports.number().finite().nonnegative();
|
|
15263
15263
|
var cacheHitRatePercentSchema = external_exports.number().finite().min(0).max(100);
|
|
15264
|
+
var usageOutputTimingSchema = external_exports.object({
|
|
15265
|
+
version: external_exports.literal(3).optional(),
|
|
15266
|
+
requestId: external_exports.string().min(1),
|
|
15267
|
+
turnId: external_exports.string().min(1).max(1024),
|
|
15268
|
+
outputTokens: nonNegativeSafeIntegerSchema,
|
|
15269
|
+
startedAtMs: nonNegativeSafeIntegerSchema,
|
|
15270
|
+
completedAtMs: nonNegativeSafeIntegerSchema
|
|
15271
|
+
}).strict().refine((value) => value.completedAtMs > value.startedAtMs);
|
|
15264
15272
|
var usageMeasurementSchema = external_exports.object({
|
|
15273
|
+
version: external_exports.union([external_exports.literal(2), external_exports.literal(3)]).optional(),
|
|
15265
15274
|
value: finiteNonNegativeNumberSchema,
|
|
15266
15275
|
turnId: external_exports.string().min(1).max(1024),
|
|
15267
15276
|
at: nonNegativeSafeIntegerSchema
|
|
15268
15277
|
}).strict();
|
|
15269
15278
|
var usageMeasurementsSchema = external_exports.object({
|
|
15270
|
-
|
|
15279
|
+
// Unversioned intervals can omit hidden thinking time; do not restore them into averages.
|
|
15280
|
+
outputTimings: external_exports.array(usageOutputTimingSchema).transform((values) => values.filter((value) => value.version === 3)).optional(),
|
|
15281
|
+
// Retain independent TTFT facts when dropping incompatible speed measurements.
|
|
15282
|
+
outputTokensPerSecond: usageMeasurementSchema.refine((value) => value.version === 3).optional().catch(void 0),
|
|
15271
15283
|
timeToFirstOutputMs: usageMeasurementSchema.extend({ value: nonNegativeSafeIntegerSchema }).optional()
|
|
15272
15284
|
}).strict();
|
|
15273
15285
|
var indicatorTextSchema = (maximum) => harnessLocalizedTextSchema.refine((entries) => Object.values(entries).every((text) => text.length <= maximum));
|
|
@@ -15287,6 +15299,7 @@ var threadUsageSnapshotSchema = external_exports.object({
|
|
|
15287
15299
|
cacheWriteInputTokens: nonNegativeSafeIntegerSchema.optional(),
|
|
15288
15300
|
outputTokens: nonNegativeSafeIntegerSchema.optional(),
|
|
15289
15301
|
outputTokensPerSecond: finiteNonNegativeNumberSchema.optional(),
|
|
15302
|
+
sessionOutputTokensPerSecond: finiteNonNegativeNumberSchema.optional(),
|
|
15290
15303
|
apiOutputTokensPerSecond: finiteNonNegativeNumberSchema.optional(),
|
|
15291
15304
|
reasoningOutputTokens: nonNegativeSafeIntegerSchema.optional(),
|
|
15292
15305
|
totalTokens: nonNegativeSafeIntegerSchema.optional(),
|
|
@@ -15698,6 +15711,10 @@ var threadSteeringInspectResultSchema = external_exports.object({
|
|
|
15698
15711
|
delivery: external_exports.enum(["official", "activeTurn", "newTurn"])
|
|
15699
15712
|
}).strict();
|
|
15700
15713
|
|
|
15714
|
+
// packages/shared-contracts/dist/thread-archive-confirm.js
|
|
15715
|
+
var threadArchiveConfirmParamsSchema = external_exports.object({ threadId: hostThreadIdSchema }).strict();
|
|
15716
|
+
var threadArchiveConfirmResultSchema = external_exports.object({ confirmed: external_exports.boolean() }).strict();
|
|
15717
|
+
|
|
15701
15718
|
// packages/shared-contracts/dist/client-channel.js
|
|
15702
15719
|
var CLIENT_CHANNEL_VERSION = 1;
|
|
15703
15720
|
var CLIENT_REQUEST_LIMIT_BYTES = 128 * 1024 * 1024;
|
|
@@ -15837,7 +15854,12 @@ var clientThreadSnapshotSchema = external_exports.object({
|
|
|
15837
15854
|
/** Current interruptible Host Turn, including command Turns omitted from client history. */
|
|
15838
15855
|
activeTurnId: external_exports.string().min(1).nullable().optional(),
|
|
15839
15856
|
/** Most recent explicit command in this Host process; not native conversation history. */
|
|
15840
|
-
command: external_exports.object({
|
|
15857
|
+
command: external_exports.object({
|
|
15858
|
+
name: external_exports.string().min(1),
|
|
15859
|
+
turn: clientTurnSchema,
|
|
15860
|
+
/** First ordinary Turn started after this command; its retained result is not a new event. */
|
|
15861
|
+
subsequentTurnId: external_exports.string().min(1).optional()
|
|
15862
|
+
}).optional(),
|
|
15841
15863
|
thread: external_exports.object({
|
|
15842
15864
|
id: external_exports.string().min(1),
|
|
15843
15865
|
cwd: external_exports.string(),
|
|
@@ -16045,7 +16067,6 @@ var webAccessStateSchema = external_exports.object({
|
|
|
16045
16067
|
quotaUntil: external_exports.string().optional()
|
|
16046
16068
|
}).strict().optional()
|
|
16047
16069
|
}).strict();
|
|
16048
|
-
var webLocalAccessRequiredDetailsSchema = external_exports.object({ url: external_exports.string() }).strict();
|
|
16049
16070
|
|
|
16050
16071
|
// packages/shared-contracts/dist/delegation-read.js
|
|
16051
16072
|
var REMOTE_THREAD_REPLY_MAX_BYTES = 16 * 1024 * 1024;
|
|
@@ -20389,6 +20410,20 @@ var TRANSIENT_INSTALL_RETRY_MS = 250;
|
|
|
20389
20410
|
var RECOVERY_RETRY_INITIAL_MS = 3e4;
|
|
20390
20411
|
var RECOVERY_RETRY_MAX_MS = 3e5;
|
|
20391
20412
|
var REMOTE_CONNECTION_RECOVERY_INTERVAL_MS = 5e3;
|
|
20413
|
+
var SHUTDOWN_OPERATION_WAIT_MS = 3e3;
|
|
20414
|
+
async function settleWithin(promise2, milliseconds) {
|
|
20415
|
+
let timer;
|
|
20416
|
+
try {
|
|
20417
|
+
await Promise.race([
|
|
20418
|
+
promise2,
|
|
20419
|
+
new Promise((resolve) => {
|
|
20420
|
+
timer = setTimeout(resolve, milliseconds);
|
|
20421
|
+
})
|
|
20422
|
+
]);
|
|
20423
|
+
} finally {
|
|
20424
|
+
clearTimeout(timer);
|
|
20425
|
+
}
|
|
20426
|
+
}
|
|
20392
20427
|
var startupTraceStartedAt = Date.now();
|
|
20393
20428
|
function startupTrace(stage, detail) {
|
|
20394
20429
|
if (process.env.CODEXHOST_STARTUP_TRACE !== "1") return;
|
|
@@ -20651,8 +20686,9 @@ ${rendererSource}`,
|
|
|
20651
20686
|
}
|
|
20652
20687
|
} finally {
|
|
20653
20688
|
await attachmentServer?.close();
|
|
20654
|
-
await operation;
|
|
20689
|
+
await settleWithin(operation, SHUTDOWN_OPERATION_WAIT_MS);
|
|
20655
20690
|
resetSession();
|
|
20691
|
+
void operation.then(resetSession);
|
|
20656
20692
|
}
|
|
20657
20693
|
}
|
|
20658
20694
|
|