@codexhost/cli-linux-arm64 0.20.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 +26 -6
- package/app/console-web.js +34 -7
- package/app/desktop-controller.mjs +162 -51
- package/app/host-runtime.mjs +35562 -29076
- package/app/plugins/antigravity/assets/icon.svg +1 -1
- package/app/plugins/antigravity/plugin.mjs +1112 -822
- package/app/plugins/claude-code/plugin.mjs +152 -28
- package/app/plugins/codebuddy/plugin.mjs +35 -6
- package/app/plugins/codex-usage/plugin.mjs +35 -6
- package/app/plugins/copilot/plugin.mjs +27 -6
- package/app/plugins/cursor-cli/plugin.mjs +27 -6
- package/app/plugins/deepseek-harness/plugin.mjs +52 -11
- package/app/plugins/devin/plugin.mjs +27 -6
- package/app/plugins/grok/plugin.mjs +63 -15
- package/app/plugins/hermes/plugin.mjs +27 -6
- package/app/plugins/kimi-code/plugin.mjs +52 -16
- package/app/plugins/kiro-cli/plugin.mjs +27 -6
- package/app/plugins/omp/plugin.mjs +35 -6
- package/app/plugins/opencode/plugin.mjs +53 -15
- package/app/plugins/pi/plugin.mjs +35 -6
- package/app/plugins/qoder/plugin.mjs +42 -6
- package/app/plugins/qoder-cn/plugin.mjs +42 -6
- package/app/plugins/qwen-code/plugin.mjs +27 -6
- package/app/plugins/workbuddy/plugin.mjs +35 -6
- package/app/plugins/zcode/plugin.mjs +35 -6
- package/app/renderer-extension.js +26 -6
- package/app/web/assets/{index-D85gPBbQ.js → index-BdmZfTRW.js} +62 -62
- package/app/web/assets/{index-D6-hvggd.css → index-DJW4bmyx.css} +1 -1
- package/app/web/codexhost-settings.js +34 -7
- package/app/web/index.html +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 +3 -3
- package/app/web/plugins/deepseek-ai__dsh-client-ui-chat/client.js +68 -68
- package/app/web/plugins/deepseek-ai__dsh-client-ui-codexhost/client.js +6 -6
- package/app/web/plugins/deepseek-ai__dsh-client-ui-conversation/client.js +22 -22
- 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-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 +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-workspace/client.js +2 -2
- package/app/web-modules/server.mjs +1012 -667
- package/bin/codexhost +0 -0
- package/libexec/codexhost-shim +0 -0
- package/libexec/codexhost-updater +0 -0
- package/package.json +1 -1
|
@@ -14849,7 +14849,7 @@ var nonNegativeSafeIntegerSchema = external_exports.number().int().safe().nonneg
|
|
|
14849
14849
|
var finiteNonNegativeNumberSchema = external_exports.number().finite().nonnegative();
|
|
14850
14850
|
var cacheHitRatePercentSchema = external_exports.number().finite().min(0).max(100);
|
|
14851
14851
|
var usageOutputTimingSchema = external_exports.object({
|
|
14852
|
-
version: external_exports.literal(3).optional(),
|
|
14852
|
+
version: external_exports.union([external_exports.literal(3), external_exports.literal(4)]).optional(),
|
|
14853
14853
|
requestId: external_exports.string().min(1),
|
|
14854
14854
|
turnId: external_exports.string().min(1).max(1024),
|
|
14855
14855
|
outputTokens: nonNegativeSafeIntegerSchema,
|
|
@@ -14857,16 +14857,16 @@ var usageOutputTimingSchema = external_exports.object({
|
|
|
14857
14857
|
completedAtMs: nonNegativeSafeIntegerSchema
|
|
14858
14858
|
}).strict().refine((value) => value.completedAtMs > value.startedAtMs);
|
|
14859
14859
|
var usageMeasurementSchema = external_exports.object({
|
|
14860
|
-
version: external_exports.union([external_exports.literal(2), external_exports.literal(3)]).optional(),
|
|
14860
|
+
version: external_exports.union([external_exports.literal(2), external_exports.literal(3), external_exports.literal(4)]).optional(),
|
|
14861
14861
|
value: finiteNonNegativeNumberSchema,
|
|
14862
14862
|
turnId: external_exports.string().min(1).max(1024),
|
|
14863
14863
|
at: nonNegativeSafeIntegerSchema
|
|
14864
14864
|
}).strict();
|
|
14865
14865
|
var usageMeasurementsSchema = external_exports.object({
|
|
14866
|
-
//
|
|
14867
|
-
outputTimings: external_exports.array(usageOutputTimingSchema).transform((values) => values.filter((value) => value.version ===
|
|
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
14868
|
// Retain independent TTFT facts when dropping incompatible speed measurements.
|
|
14869
|
-
outputTokensPerSecond: usageMeasurementSchema.refine((value) => value.version ===
|
|
14869
|
+
outputTokensPerSecond: usageMeasurementSchema.refine((value) => value.version === 4).optional().catch(void 0),
|
|
14870
14870
|
timeToFirstOutputMs: usageMeasurementSchema.extend({ value: nonNegativeSafeIntegerSchema }).optional()
|
|
14871
14871
|
}).strict();
|
|
14872
14872
|
var indicatorTextSchema = (maximum) => harnessLocalizedTextSchema.refine((entries) => Object.values(entries).every((text2) => text2.length <= maximum));
|
|
@@ -15332,6 +15332,11 @@ var clientChannelEventSchema = external_exports.discriminatedUnion("type", [
|
|
|
15332
15332
|
cursor: clientChannelCursorSchema,
|
|
15333
15333
|
cwd: external_exports.string().optional()
|
|
15334
15334
|
}),
|
|
15335
|
+
external_exports.object({
|
|
15336
|
+
type: external_exports.literal("harness-inspection-changed"),
|
|
15337
|
+
cursor: clientChannelCursorSchema,
|
|
15338
|
+
harnessId: external_exports.string().min(1)
|
|
15339
|
+
}),
|
|
15335
15340
|
external_exports.object({ type: external_exports.literal("display-settings-changed"), cursor: clientChannelCursorSchema }),
|
|
15336
15341
|
external_exports.object({
|
|
15337
15342
|
type: external_exports.literal("preferences-changed"),
|
|
@@ -15403,6 +15408,8 @@ var clientItemTruncationSchema = external_exports.object({
|
|
|
15403
15408
|
var clientTurnSchema = external_exports.object({
|
|
15404
15409
|
id: external_exports.string().min(1),
|
|
15405
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(),
|
|
15406
15413
|
items: external_exports.array(external_exports.object({ id: external_exports.string().min(1), type: external_exports.string().min(1) }).passthrough()),
|
|
15407
15414
|
/** Original file operations, independent of the cumulative Desktop fileChange card.
|
|
15408
15415
|
* Insert before the named non-file Item; null appends at the end of the Turn.
|
|
@@ -16619,6 +16626,7 @@ var THREAD_WATCH_NOTICE_OUTCOMES = [
|
|
|
16619
16626
|
"completed",
|
|
16620
16627
|
"failed",
|
|
16621
16628
|
"interrupted",
|
|
16629
|
+
"needsInput",
|
|
16622
16630
|
"timedOut",
|
|
16623
16631
|
"unreadable",
|
|
16624
16632
|
"notFound"
|
|
@@ -16665,13 +16673,25 @@ var target = { hostId: identity.regex(/^remote-(?:ssh(?:-|:)|control:)/u) };
|
|
|
16665
16673
|
var thread = { ...target, threadId: identity };
|
|
16666
16674
|
var remoteSessionOperationSchema = external_exports.discriminatedUnion("kind", [
|
|
16667
16675
|
external_exports.strictObject({ kind: external_exports.literal("hosts") }),
|
|
16676
|
+
external_exports.strictObject({ kind: external_exports.literal("status"), ...thread }),
|
|
16668
16677
|
external_exports.strictObject({
|
|
16669
16678
|
kind: external_exports.literal("list"),
|
|
16670
16679
|
...target,
|
|
16671
16680
|
cursor: external_exports.string().nullable(),
|
|
16672
16681
|
archived: external_exports.boolean()
|
|
16673
16682
|
}),
|
|
16674
|
-
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
|
+
}),
|
|
16675
16695
|
external_exports.strictObject({
|
|
16676
16696
|
kind: external_exports.literal("configure"),
|
|
16677
16697
|
...thread,
|
|
@@ -17050,6 +17070,7 @@ var requestTokenFields = [
|
|
|
17050
17070
|
"cacheWrite1hInputTokens",
|
|
17051
17071
|
"outputTokens",
|
|
17052
17072
|
"reasoningOutputTokens",
|
|
17073
|
+
"timedOutputTokens",
|
|
17053
17074
|
"startedAtMs",
|
|
17054
17075
|
"completedAtMs"
|
|
17055
17076
|
];
|
|
@@ -17102,6 +17123,14 @@ function parseHostUsageRequest(value) {
|
|
|
17102
17123
|
if (request.startedAtMs === void 0 !== (request.completedAtMs === void 0)) {
|
|
17103
17124
|
throw new Error("Harness Usage request timing fields must be provided together");
|
|
17104
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
|
+
}
|
|
17105
17134
|
if (request.startedAtMs !== void 0 && request.completedAtMs !== void 0 && request.completedAtMs < request.startedAtMs) {
|
|
17106
17135
|
throw new Error("Harness Usage request 'completedAtMs' must not precede 'startedAtMs'");
|
|
17107
17136
|
}
|
|
@@ -14913,7 +14913,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14913
14913
|
var finiteNonNegativeNumberSchema = external_exports.number().finite().nonnegative();
|
|
14914
14914
|
var cacheHitRatePercentSchema = external_exports.number().finite().min(0).max(100);
|
|
14915
14915
|
var usageOutputTimingSchema = external_exports.object({
|
|
14916
|
-
version: external_exports.literal(3).optional(),
|
|
14916
|
+
version: external_exports.union([external_exports.literal(3), external_exports.literal(4)]).optional(),
|
|
14917
14917
|
requestId: external_exports.string().min(1),
|
|
14918
14918
|
turnId: external_exports.string().min(1).max(1024),
|
|
14919
14919
|
outputTokens: nonNegativeSafeIntegerSchema,
|
|
@@ -14921,16 +14921,16 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14921
14921
|
completedAtMs: nonNegativeSafeIntegerSchema
|
|
14922
14922
|
}).strict().refine((value) => value.completedAtMs > value.startedAtMs);
|
|
14923
14923
|
var usageMeasurementSchema = external_exports.object({
|
|
14924
|
-
version: external_exports.union([external_exports.literal(2), external_exports.literal(3)]).optional(),
|
|
14924
|
+
version: external_exports.union([external_exports.literal(2), external_exports.literal(3), external_exports.literal(4)]).optional(),
|
|
14925
14925
|
value: finiteNonNegativeNumberSchema,
|
|
14926
14926
|
turnId: external_exports.string().min(1).max(1024),
|
|
14927
14927
|
at: nonNegativeSafeIntegerSchema
|
|
14928
14928
|
}).strict();
|
|
14929
14929
|
var usageMeasurementsSchema = external_exports.object({
|
|
14930
|
-
//
|
|
14931
|
-
outputTimings: external_exports.array(usageOutputTimingSchema).transform((values) => values.filter((value) => value.version ===
|
|
14930
|
+
// Older intervals can omit hidden thinking time; do not restore them into averages.
|
|
14931
|
+
outputTimings: external_exports.array(usageOutputTimingSchema).transform((values) => values.filter((value) => value.version === 4)).optional(),
|
|
14932
14932
|
// Retain independent TTFT facts when dropping incompatible speed measurements.
|
|
14933
|
-
outputTokensPerSecond: usageMeasurementSchema.refine((value) => value.version ===
|
|
14933
|
+
outputTokensPerSecond: usageMeasurementSchema.refine((value) => value.version === 4).optional().catch(void 0),
|
|
14934
14934
|
timeToFirstOutputMs: usageMeasurementSchema.extend({ value: nonNegativeSafeIntegerSchema }).optional()
|
|
14935
14935
|
}).strict();
|
|
14936
14936
|
var indicatorTextSchema = (maximum) => harnessLocalizedTextSchema.refine((entries) => Object.values(entries).every((text) => text.length <= maximum));
|
|
@@ -15407,6 +15407,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15407
15407
|
cursor: clientChannelCursorSchema,
|
|
15408
15408
|
cwd: external_exports.string().optional()
|
|
15409
15409
|
}),
|
|
15410
|
+
external_exports.object({
|
|
15411
|
+
type: external_exports.literal("harness-inspection-changed"),
|
|
15412
|
+
cursor: clientChannelCursorSchema,
|
|
15413
|
+
harnessId: external_exports.string().min(1)
|
|
15414
|
+
}),
|
|
15410
15415
|
external_exports.object({ type: external_exports.literal("display-settings-changed"), cursor: clientChannelCursorSchema }),
|
|
15411
15416
|
external_exports.object({
|
|
15412
15417
|
type: external_exports.literal("preferences-changed"),
|
|
@@ -15478,6 +15483,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15478
15483
|
var clientTurnSchema = external_exports.object({
|
|
15479
15484
|
id: external_exports.string().min(1),
|
|
15480
15485
|
status: external_exports.string().min(1),
|
|
15486
|
+
/** Native history has no terminal evidence; Desktop's status vocabulary cannot express this. */
|
|
15487
|
+
codexhostTurnOutcome: external_exports.object({ status: external_exports.literal("unknown"), reason: external_exports.string() }).optional(),
|
|
15481
15488
|
items: external_exports.array(external_exports.object({ id: external_exports.string().min(1), type: external_exports.string().min(1) }).passthrough()),
|
|
15482
15489
|
/** Original file operations, independent of the cumulative Desktop fileChange card.
|
|
15483
15490
|
* Insert before the named non-file Item; null appends at the end of the Turn.
|
|
@@ -16983,6 +16990,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16983
16990
|
"completed",
|
|
16984
16991
|
"failed",
|
|
16985
16992
|
"interrupted",
|
|
16993
|
+
"needsInput",
|
|
16986
16994
|
"timedOut",
|
|
16987
16995
|
"unreadable",
|
|
16988
16996
|
"notFound"
|
|
@@ -17032,13 +17040,25 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17032
17040
|
var thread = { ...target, threadId: identity };
|
|
17033
17041
|
var remoteSessionOperationSchema = external_exports.discriminatedUnion("kind", [
|
|
17034
17042
|
external_exports.strictObject({ kind: external_exports.literal("hosts") }),
|
|
17043
|
+
external_exports.strictObject({ kind: external_exports.literal("status"), ...thread }),
|
|
17035
17044
|
external_exports.strictObject({
|
|
17036
17045
|
kind: external_exports.literal("list"),
|
|
17037
17046
|
...target,
|
|
17038
17047
|
cursor: external_exports.string().nullable(),
|
|
17039
17048
|
archived: external_exports.boolean()
|
|
17040
17049
|
}),
|
|
17041
|
-
external_exports.strictObject({
|
|
17050
|
+
external_exports.strictObject({
|
|
17051
|
+
kind: external_exports.literal("read"),
|
|
17052
|
+
...thread,
|
|
17053
|
+
page: external_exports.strictObject({
|
|
17054
|
+
cursor: external_exports.string().min(1).max(8192).nullable(),
|
|
17055
|
+
epoch: identity.optional(),
|
|
17056
|
+
sortDirection: external_exports.enum(["asc", "desc"]).optional(),
|
|
17057
|
+
limit: external_exports.number().int().min(1).max(20).optional()
|
|
17058
|
+
}).refine((page) => page.cursor === null || page.epoch !== void 0, {
|
|
17059
|
+
message: "A history continuation requires its connection epoch"
|
|
17060
|
+
}).optional()
|
|
17061
|
+
}),
|
|
17042
17062
|
external_exports.strictObject({
|
|
17043
17063
|
kind: external_exports.literal("configure"),
|
|
17044
17064
|
...thread,
|