@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
|
@@ -14848,13 +14848,25 @@ var threadPermissionModeSelectParamsSchema = external_exports.object({
|
|
|
14848
14848
|
var nonNegativeSafeIntegerSchema = external_exports.number().int().safe().nonnegative();
|
|
14849
14849
|
var finiteNonNegativeNumberSchema = external_exports.number().finite().nonnegative();
|
|
14850
14850
|
var cacheHitRatePercentSchema = external_exports.number().finite().min(0).max(100);
|
|
14851
|
+
var usageOutputTimingSchema = external_exports.object({
|
|
14852
|
+
version: external_exports.literal(3).optional(),
|
|
14853
|
+
requestId: external_exports.string().min(1),
|
|
14854
|
+
turnId: external_exports.string().min(1).max(1024),
|
|
14855
|
+
outputTokens: nonNegativeSafeIntegerSchema,
|
|
14856
|
+
startedAtMs: nonNegativeSafeIntegerSchema,
|
|
14857
|
+
completedAtMs: nonNegativeSafeIntegerSchema
|
|
14858
|
+
}).strict().refine((value) => value.completedAtMs > value.startedAtMs);
|
|
14851
14859
|
var usageMeasurementSchema = external_exports.object({
|
|
14860
|
+
version: external_exports.union([external_exports.literal(2), external_exports.literal(3)]).optional(),
|
|
14852
14861
|
value: finiteNonNegativeNumberSchema,
|
|
14853
14862
|
turnId: external_exports.string().min(1).max(1024),
|
|
14854
14863
|
at: nonNegativeSafeIntegerSchema
|
|
14855
14864
|
}).strict();
|
|
14856
14865
|
var usageMeasurementsSchema = external_exports.object({
|
|
14857
|
-
|
|
14866
|
+
// Unversioned intervals can omit hidden thinking time; do not restore them into averages.
|
|
14867
|
+
outputTimings: external_exports.array(usageOutputTimingSchema).transform((values) => values.filter((value) => value.version === 3)).optional(),
|
|
14868
|
+
// Retain independent TTFT facts when dropping incompatible speed measurements.
|
|
14869
|
+
outputTokensPerSecond: usageMeasurementSchema.refine((value) => value.version === 3).optional().catch(void 0),
|
|
14858
14870
|
timeToFirstOutputMs: usageMeasurementSchema.extend({ value: nonNegativeSafeIntegerSchema }).optional()
|
|
14859
14871
|
}).strict();
|
|
14860
14872
|
var indicatorTextSchema = (maximum) => harnessLocalizedTextSchema.refine((entries) => Object.values(entries).every((text2) => text2.length <= maximum));
|
|
@@ -14874,6 +14886,7 @@ var threadUsageSnapshotSchema = external_exports.object({
|
|
|
14874
14886
|
cacheWriteInputTokens: nonNegativeSafeIntegerSchema.optional(),
|
|
14875
14887
|
outputTokens: nonNegativeSafeIntegerSchema.optional(),
|
|
14876
14888
|
outputTokensPerSecond: finiteNonNegativeNumberSchema.optional(),
|
|
14889
|
+
sessionOutputTokensPerSecond: finiteNonNegativeNumberSchema.optional(),
|
|
14877
14890
|
apiOutputTokensPerSecond: finiteNonNegativeNumberSchema.optional(),
|
|
14878
14891
|
reasoningOutputTokens: nonNegativeSafeIntegerSchema.optional(),
|
|
14879
14892
|
totalTokens: nonNegativeSafeIntegerSchema.optional(),
|
|
@@ -15285,6 +15298,10 @@ var threadSteeringInspectResultSchema = external_exports.object({
|
|
|
15285
15298
|
delivery: external_exports.enum(["official", "activeTurn", "newTurn"])
|
|
15286
15299
|
}).strict();
|
|
15287
15300
|
|
|
15301
|
+
// ../../shared-contracts/dist/thread-archive-confirm.js
|
|
15302
|
+
var threadArchiveConfirmParamsSchema = external_exports.object({ threadId: hostThreadIdSchema }).strict();
|
|
15303
|
+
var threadArchiveConfirmResultSchema = external_exports.object({ confirmed: external_exports.boolean() }).strict();
|
|
15304
|
+
|
|
15288
15305
|
// ../../shared-contracts/dist/client-channel.js
|
|
15289
15306
|
var CLIENT_CHANNEL_VERSION = 1;
|
|
15290
15307
|
var CLIENT_REQUEST_LIMIT_BYTES = 128 * 1024 * 1024;
|
|
@@ -15424,7 +15441,12 @@ var clientThreadSnapshotSchema = external_exports.object({
|
|
|
15424
15441
|
/** Current interruptible Host Turn, including command Turns omitted from client history. */
|
|
15425
15442
|
activeTurnId: external_exports.string().min(1).nullable().optional(),
|
|
15426
15443
|
/** Most recent explicit command in this Host process; not native conversation history. */
|
|
15427
|
-
command: external_exports.object({
|
|
15444
|
+
command: external_exports.object({
|
|
15445
|
+
name: external_exports.string().min(1),
|
|
15446
|
+
turn: clientTurnSchema,
|
|
15447
|
+
/** First ordinary Turn started after this command; its retained result is not a new event. */
|
|
15448
|
+
subsequentTurnId: external_exports.string().min(1).optional()
|
|
15449
|
+
}).optional(),
|
|
15428
15450
|
thread: external_exports.object({
|
|
15429
15451
|
id: external_exports.string().min(1),
|
|
15430
15452
|
cwd: external_exports.string(),
|
|
@@ -15632,7 +15654,6 @@ var webAccessStateSchema = external_exports.object({
|
|
|
15632
15654
|
quotaUntil: external_exports.string().optional()
|
|
15633
15655
|
}).strict().optional()
|
|
15634
15656
|
}).strict();
|
|
15635
|
-
var webLocalAccessRequiredDetailsSchema = external_exports.object({ url: external_exports.string() }).strict();
|
|
15636
15657
|
|
|
15637
15658
|
// ../../shared-contracts/dist/delegation-read.js
|
|
15638
15659
|
var REMOTE_THREAD_REPLY_MAX_BYTES = 16 * 1024 * 1024;
|
|
@@ -16927,6 +16948,7 @@ var usageFields = /* @__PURE__ */ new Set([
|
|
|
16927
16948
|
"totalCredits",
|
|
16928
16949
|
"contextUsagePercent",
|
|
16929
16950
|
"outputTokensPerSecond",
|
|
16951
|
+
"sessionOutputTokensPerSecond",
|
|
16930
16952
|
"apiOutputTokensPerSecond",
|
|
16931
16953
|
"costSource",
|
|
16932
16954
|
"unpricedModels"
|
|
@@ -16949,6 +16971,7 @@ function parseHostUsage(value) {
|
|
|
16949
16971
|
for (const field3 of [
|
|
16950
16972
|
"totalCredits",
|
|
16951
16973
|
"contextUsagePercent",
|
|
16974
|
+
"sessionOutputTokensPerSecond",
|
|
16952
16975
|
"apiOutputTokensPerSecond"
|
|
16953
16976
|
]) {
|
|
16954
16977
|
const candidate = value[field3];
|