@codexhost/cli-linux-arm64 0.19.0 → 0.21.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 +45 -4
- package/app/console-web.js +1124 -684
- package/app/desktop-controller.mjs +197 -50
- package/app/host-runtime.mjs +36192 -29254
- package/app/plugins/antigravity/assets/icon.svg +1 -1
- package/app/plugins/antigravity/plugin.mjs +8863 -4094
- package/app/plugins/claude-code/plugin.mjs +173 -26
- package/app/plugins/codebuddy/plugin.mjs +71 -6
- package/app/plugins/codex-usage/plugin.mjs +56 -4
- package/app/plugins/copilot/plugin.mjs +48 -4
- package/app/plugins/cursor-cli/plugin.mjs +48 -4
- package/app/plugins/deepseek-harness/plugin.mjs +73 -9
- package/app/plugins/devin/plugin.mjs +47 -4
- package/app/plugins/grok/plugin.mjs +84 -13
- package/app/plugins/hermes/plugin.mjs +47 -4
- package/app/plugins/kimi-code/plugin.mjs +73 -14
- package/app/plugins/kiro-cli/plugin.mjs +48 -4
- package/app/plugins/omp/plugin.mjs +74 -7
- package/app/plugins/opencode/plugin.mjs +74 -13
- package/app/plugins/pi/plugin.mjs +75 -7
- package/app/plugins/qoder/plugin.mjs +85 -5
- package/app/plugins/qoder-cn/plugin.mjs +85 -5
- package/app/plugins/qwen-code/plugin.mjs +48 -4
- package/app/plugins/workbuddy/plugin.mjs +75 -9
- package/app/plugins/zcode/plugin.mjs +56 -4
- package/app/renderer-extension.js +1431 -737
- package/app/web/assets/index-BdmZfTRW.js +201 -0
- package/app/web/assets/index-DJW4bmyx.css +1 -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 +1130 -686
- 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 +7 -7
- package/app/web/plugins/deepseek-ai__dsh-client-ui-conversation/client.js +27 -27
- package/app/web/plugins/deepseek-ai__dsh-client-ui-input-trigger/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-layout/client.js +2 -2
- package/app/web/plugins/deepseek-ai__dsh-client-ui-model-selection/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-session/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-settings-general/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-sidebar/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-sidebar-documentpreview/client.js +9 -9
- 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 +1144 -731
- 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.union([external_exports.literal(3), external_exports.literal(4)]).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), external_exports.literal(4)]).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
|
+
// Older 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 === 4)).optional(),
|
|
14868
|
+
// Retain independent TTFT facts when dropping incompatible speed measurements.
|
|
14869
|
+
outputTokensPerSecond: usageMeasurementSchema.refine((value) => value.version === 4).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;
|
|
@@ -15315,6 +15332,11 @@ var clientChannelEventSchema = external_exports.discriminatedUnion("type", [
|
|
|
15315
15332
|
cursor: clientChannelCursorSchema,
|
|
15316
15333
|
cwd: external_exports.string().optional()
|
|
15317
15334
|
}),
|
|
15335
|
+
external_exports.object({
|
|
15336
|
+
type: external_exports.literal("harness-inspection-changed"),
|
|
15337
|
+
cursor: clientChannelCursorSchema,
|
|
15338
|
+
harnessId: external_exports.string().min(1)
|
|
15339
|
+
}),
|
|
15318
15340
|
external_exports.object({ type: external_exports.literal("display-settings-changed"), cursor: clientChannelCursorSchema }),
|
|
15319
15341
|
external_exports.object({
|
|
15320
15342
|
type: external_exports.literal("preferences-changed"),
|
|
@@ -15386,6 +15408,8 @@ var clientItemTruncationSchema = external_exports.object({
|
|
|
15386
15408
|
var clientTurnSchema = external_exports.object({
|
|
15387
15409
|
id: external_exports.string().min(1),
|
|
15388
15410
|
status: external_exports.string().min(1),
|
|
15411
|
+
/** Native history has no terminal evidence; Desktop's status vocabulary cannot express this. */
|
|
15412
|
+
codexhostTurnOutcome: external_exports.object({ status: external_exports.literal("unknown"), reason: external_exports.string() }).optional(),
|
|
15389
15413
|
items: external_exports.array(external_exports.object({ id: external_exports.string().min(1), type: external_exports.string().min(1) }).passthrough()),
|
|
15390
15414
|
/** Original file operations, independent of the cumulative Desktop fileChange card.
|
|
15391
15415
|
* Insert before the named non-file Item; null appends at the end of the Turn.
|
|
@@ -15424,7 +15448,12 @@ var clientThreadSnapshotSchema = external_exports.object({
|
|
|
15424
15448
|
/** Current interruptible Host Turn, including command Turns omitted from client history. */
|
|
15425
15449
|
activeTurnId: external_exports.string().min(1).nullable().optional(),
|
|
15426
15450
|
/** Most recent explicit command in this Host process; not native conversation history. */
|
|
15427
|
-
command: external_exports.object({
|
|
15451
|
+
command: external_exports.object({
|
|
15452
|
+
name: external_exports.string().min(1),
|
|
15453
|
+
turn: clientTurnSchema,
|
|
15454
|
+
/** First ordinary Turn started after this command; its retained result is not a new event. */
|
|
15455
|
+
subsequentTurnId: external_exports.string().min(1).optional()
|
|
15456
|
+
}).optional(),
|
|
15428
15457
|
thread: external_exports.object({
|
|
15429
15458
|
id: external_exports.string().min(1),
|
|
15430
15459
|
cwd: external_exports.string(),
|
|
@@ -15632,7 +15661,6 @@ var webAccessStateSchema = external_exports.object({
|
|
|
15632
15661
|
quotaUntil: external_exports.string().optional()
|
|
15633
15662
|
}).strict().optional()
|
|
15634
15663
|
}).strict();
|
|
15635
|
-
var webLocalAccessRequiredDetailsSchema = external_exports.object({ url: external_exports.string() }).strict();
|
|
15636
15664
|
|
|
15637
15665
|
// ../../shared-contracts/dist/delegation-read.js
|
|
15638
15666
|
var REMOTE_THREAD_REPLY_MAX_BYTES = 16 * 1024 * 1024;
|
|
@@ -16598,6 +16626,7 @@ var THREAD_WATCH_NOTICE_OUTCOMES = [
|
|
|
16598
16626
|
"completed",
|
|
16599
16627
|
"failed",
|
|
16600
16628
|
"interrupted",
|
|
16629
|
+
"needsInput",
|
|
16601
16630
|
"timedOut",
|
|
16602
16631
|
"unreadable",
|
|
16603
16632
|
"notFound"
|
|
@@ -16644,13 +16673,25 @@ var target = { hostId: identity.regex(/^remote-(?:ssh(?:-|:)|control:)/u) };
|
|
|
16644
16673
|
var thread = { ...target, threadId: identity };
|
|
16645
16674
|
var remoteSessionOperationSchema = external_exports.discriminatedUnion("kind", [
|
|
16646
16675
|
external_exports.strictObject({ kind: external_exports.literal("hosts") }),
|
|
16676
|
+
external_exports.strictObject({ kind: external_exports.literal("status"), ...thread }),
|
|
16647
16677
|
external_exports.strictObject({
|
|
16648
16678
|
kind: external_exports.literal("list"),
|
|
16649
16679
|
...target,
|
|
16650
16680
|
cursor: external_exports.string().nullable(),
|
|
16651
16681
|
archived: external_exports.boolean()
|
|
16652
16682
|
}),
|
|
16653
|
-
external_exports.strictObject({
|
|
16683
|
+
external_exports.strictObject({
|
|
16684
|
+
kind: external_exports.literal("read"),
|
|
16685
|
+
...thread,
|
|
16686
|
+
page: external_exports.strictObject({
|
|
16687
|
+
cursor: external_exports.string().min(1).max(8192).nullable(),
|
|
16688
|
+
epoch: identity.optional(),
|
|
16689
|
+
sortDirection: external_exports.enum(["asc", "desc"]).optional(),
|
|
16690
|
+
limit: external_exports.number().int().min(1).max(20).optional()
|
|
16691
|
+
}).refine((page) => page.cursor === null || page.epoch !== void 0, {
|
|
16692
|
+
message: "A history continuation requires its connection epoch"
|
|
16693
|
+
}).optional()
|
|
16694
|
+
}),
|
|
16654
16695
|
external_exports.strictObject({
|
|
16655
16696
|
kind: external_exports.literal("configure"),
|
|
16656
16697
|
...thread,
|
|
@@ -16927,6 +16968,7 @@ var usageFields = /* @__PURE__ */ new Set([
|
|
|
16927
16968
|
"totalCredits",
|
|
16928
16969
|
"contextUsagePercent",
|
|
16929
16970
|
"outputTokensPerSecond",
|
|
16971
|
+
"sessionOutputTokensPerSecond",
|
|
16930
16972
|
"apiOutputTokensPerSecond",
|
|
16931
16973
|
"costSource",
|
|
16932
16974
|
"unpricedModels"
|
|
@@ -16949,6 +16991,7 @@ function parseHostUsage(value) {
|
|
|
16949
16991
|
for (const field3 of [
|
|
16950
16992
|
"totalCredits",
|
|
16951
16993
|
"contextUsagePercent",
|
|
16994
|
+
"sessionOutputTokensPerSecond",
|
|
16952
16995
|
"apiOutputTokensPerSecond"
|
|
16953
16996
|
]) {
|
|
16954
16997
|
const candidate = value[field3];
|
|
@@ -17027,6 +17070,7 @@ var requestTokenFields = [
|
|
|
17027
17070
|
"cacheWrite1hInputTokens",
|
|
17028
17071
|
"outputTokens",
|
|
17029
17072
|
"reasoningOutputTokens",
|
|
17073
|
+
"timedOutputTokens",
|
|
17030
17074
|
"startedAtMs",
|
|
17031
17075
|
"completedAtMs"
|
|
17032
17076
|
];
|
|
@@ -17079,6 +17123,14 @@ function parseHostUsageRequest(value) {
|
|
|
17079
17123
|
if (request.startedAtMs === void 0 !== (request.completedAtMs === void 0)) {
|
|
17080
17124
|
throw new Error("Harness Usage request timing fields must be provided together");
|
|
17081
17125
|
}
|
|
17126
|
+
if (request.timedOutputTokens !== void 0) {
|
|
17127
|
+
if (request.startedAtMs === void 0) {
|
|
17128
|
+
throw new Error("Harness Usage request 'timedOutputTokens' requires timing fields");
|
|
17129
|
+
}
|
|
17130
|
+
if (request.timedOutputTokens > request.outputTokens) {
|
|
17131
|
+
throw new Error("Harness Usage request 'timedOutputTokens' must not exceed 'outputTokens'");
|
|
17132
|
+
}
|
|
17133
|
+
}
|
|
17082
17134
|
if (request.startedAtMs !== void 0 && request.completedAtMs !== void 0 && request.completedAtMs < request.startedAtMs) {
|
|
17083
17135
|
throw new Error("Harness Usage request 'completedAtMs' must not precede 'startedAtMs'");
|
|
17084
17136
|
}
|