@karlorz/codexhost-cli-linux-x64 0.20.0-1 → 0.21.0-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.
Files changed (51) hide show
  1. package/README.md +1 -1
  2. package/app/codexhost-distribution.json +1 -1
  3. package/app/console-server.mjs +26 -6
  4. package/app/console-web.js +34 -7
  5. package/app/cpa-live-voice-hook.js +26 -6
  6. package/app/desktop-controller.mjs +164 -51
  7. package/app/host-runtime.mjs +21746 -15276
  8. package/app/plugins/antigravity/assets/icon.svg +1 -1
  9. package/app/plugins/antigravity/plugin.mjs +1112 -822
  10. package/app/plugins/claude-code/plugin.mjs +152 -28
  11. package/app/plugins/codebuddy/plugin.mjs +35 -6
  12. package/app/plugins/codex-usage/plugin.mjs +35 -6
  13. package/app/plugins/copilot/plugin.mjs +27 -6
  14. package/app/plugins/cursor-cli/plugin.mjs +27 -6
  15. package/app/plugins/deepseek-harness/plugin.mjs +52 -11
  16. package/app/plugins/devin/plugin.mjs +27 -6
  17. package/app/plugins/grok/plugin.mjs +63 -15
  18. package/app/plugins/hermes/plugin.mjs +27 -6
  19. package/app/plugins/kimi-code/plugin.mjs +52 -16
  20. package/app/plugins/kiro-cli/plugin.mjs +27 -6
  21. package/app/plugins/omp/plugin.mjs +35 -6
  22. package/app/plugins/opencode/plugin.mjs +53 -15
  23. package/app/plugins/pi/plugin.mjs +35 -6
  24. package/app/plugins/qoder/plugin.mjs +42 -6
  25. package/app/plugins/qoder-cn/plugin.mjs +42 -6
  26. package/app/plugins/qwen-code/plugin.mjs +27 -6
  27. package/app/plugins/workbuddy/plugin.mjs +35 -6
  28. package/app/plugins/zcode/plugin.mjs +35 -6
  29. package/app/renderer-extension.js +26 -6
  30. package/app/web/assets/{index-D6-hvggd.css → index-DJW4bmyx.css} +1 -1
  31. package/app/web/assets/{index-B5OfOGb8.js → index-DLXdvkWR.js} +63 -63
  32. package/app/web/codexhost-settings.js +34 -7
  33. package/app/web/index.html +2 -2
  34. package/app/web/plugins/deepseek-ai__dsh-api-remotes/client.js +1 -1
  35. package/app/web/plugins/deepseek-ai__dsh-api-session-controller/client.js +57 -57
  36. package/app/web/plugins/deepseek-ai__dsh-client-ui-chat/client.js +68 -68
  37. package/app/web/plugins/deepseek-ai__dsh-client-ui-codexhost/client.js +6 -6
  38. package/app/web/plugins/deepseek-ai__dsh-client-ui-conversation/client.js +22 -22
  39. package/app/web/plugins/deepseek-ai__dsh-client-ui-input-trigger/client.js +1 -1
  40. package/app/web/plugins/deepseek-ai__dsh-client-ui-layout/client.js +2 -2
  41. package/app/web/plugins/deepseek-ai__dsh-client-ui-model-selection/client.js +1 -1
  42. package/app/web/plugins/deepseek-ai__dsh-client-ui-settings-general/client.js +1 -1
  43. package/app/web/plugins/deepseek-ai__dsh-client-ui-sidebar/client.js +1 -1
  44. package/app/web/plugins/deepseek-ai__dsh-client-ui-sidebar-documentpreview/client.js +9 -9
  45. package/app/web/plugins/deepseek-ai__dsh-client-ui-tool/client.js +16 -16
  46. package/app/web/plugins/deepseek-ai__dsh-client-ui-workspace/client.js +2 -2
  47. package/app/web-modules/server.mjs +1017 -672
  48. package/bin/codexhost +0 -0
  49. package/libexec/codexhost-shim +0 -0
  50. package/libexec/codexhost-updater +0 -0
  51. package/package.json +1 -1
@@ -15051,7 +15051,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
15051
15051
  var finiteNonNegativeNumberSchema = external_exports.number().finite().nonnegative();
15052
15052
  var cacheHitRatePercentSchema = external_exports.number().finite().min(0).max(100);
15053
15053
  var usageOutputTimingSchema = external_exports.object({
15054
- version: external_exports.literal(3).optional(),
15054
+ version: external_exports.union([external_exports.literal(3), external_exports.literal(4)]).optional(),
15055
15055
  requestId: external_exports.string().min(1),
15056
15056
  turnId: external_exports.string().min(1).max(1024),
15057
15057
  outputTokens: nonNegativeSafeIntegerSchema,
@@ -15059,16 +15059,16 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
15059
15059
  completedAtMs: nonNegativeSafeIntegerSchema
15060
15060
  }).strict().refine((value) => value.completedAtMs > value.startedAtMs);
15061
15061
  var usageMeasurementSchema = external_exports.object({
15062
- version: external_exports.union([external_exports.literal(2), external_exports.literal(3)]).optional(),
15062
+ version: external_exports.union([external_exports.literal(2), external_exports.literal(3), external_exports.literal(4)]).optional(),
15063
15063
  value: finiteNonNegativeNumberSchema,
15064
15064
  turnId: external_exports.string().min(1).max(1024),
15065
15065
  at: nonNegativeSafeIntegerSchema
15066
15066
  }).strict();
15067
15067
  var usageMeasurementsSchema = external_exports.object({
15068
- // Unversioned intervals can omit hidden thinking time; do not restore them into averages.
15069
- outputTimings: external_exports.array(usageOutputTimingSchema).transform((values) => values.filter((value) => value.version === 3)).optional(),
15068
+ // Older intervals can omit hidden thinking time; do not restore them into averages.
15069
+ outputTimings: external_exports.array(usageOutputTimingSchema).transform((values) => values.filter((value) => value.version === 4)).optional(),
15070
15070
  // Retain independent TTFT facts when dropping incompatible speed measurements.
15071
- outputTokensPerSecond: usageMeasurementSchema.refine((value) => value.version === 3).optional().catch(void 0),
15071
+ outputTokensPerSecond: usageMeasurementSchema.refine((value) => value.version === 4).optional().catch(void 0),
15072
15072
  timeToFirstOutputMs: usageMeasurementSchema.extend({ value: nonNegativeSafeIntegerSchema }).optional()
15073
15073
  }).strict();
15074
15074
  var indicatorTextSchema = (maximum) => harnessLocalizedTextSchema.refine((entries) => Object.values(entries).every((text) => text.length <= maximum));
@@ -15583,6 +15583,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
15583
15583
  cursor: clientChannelCursorSchema,
15584
15584
  cwd: external_exports.string().optional()
15585
15585
  }),
15586
+ external_exports.object({
15587
+ type: external_exports.literal("harness-inspection-changed"),
15588
+ cursor: clientChannelCursorSchema,
15589
+ harnessId: external_exports.string().min(1)
15590
+ }),
15586
15591
  external_exports.object({ type: external_exports.literal("display-settings-changed"), cursor: clientChannelCursorSchema }),
15587
15592
  external_exports.object({
15588
15593
  type: external_exports.literal("preferences-changed"),
@@ -15654,6 +15659,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
15654
15659
  var clientTurnSchema = external_exports.object({
15655
15660
  id: external_exports.string().min(1),
15656
15661
  status: external_exports.string().min(1),
15662
+ /** Native history has no terminal evidence; Desktop's status vocabulary cannot express this. */
15663
+ codexhostTurnOutcome: external_exports.object({ status: external_exports.literal("unknown"), reason: external_exports.string() }).optional(),
15657
15664
  items: external_exports.array(external_exports.object({ id: external_exports.string().min(1), type: external_exports.string().min(1) }).passthrough()),
15658
15665
  /** Original file operations, independent of the cumulative Desktop fileChange card.
15659
15666
  * Insert before the named non-file Item; null appends at the end of the Turn.
@@ -16969,6 +16976,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
16969
16976
  "completed",
16970
16977
  "failed",
16971
16978
  "interrupted",
16979
+ "needsInput",
16972
16980
  "timedOut",
16973
16981
  "unreadable",
16974
16982
  "notFound"
@@ -17018,13 +17026,25 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
17018
17026
  var thread = { ...target, threadId: identity };
17019
17027
  var remoteSessionOperationSchema = external_exports.discriminatedUnion("kind", [
17020
17028
  external_exports.strictObject({ kind: external_exports.literal("hosts") }),
17029
+ external_exports.strictObject({ kind: external_exports.literal("status"), ...thread }),
17021
17030
  external_exports.strictObject({
17022
17031
  kind: external_exports.literal("list"),
17023
17032
  ...target,
17024
17033
  cursor: external_exports.string().nullable(),
17025
17034
  archived: external_exports.boolean()
17026
17035
  }),
17027
- external_exports.strictObject({ kind: external_exports.literal("read"), ...thread }),
17036
+ external_exports.strictObject({
17037
+ kind: external_exports.literal("read"),
17038
+ ...thread,
17039
+ page: external_exports.strictObject({
17040
+ cursor: external_exports.string().min(1).max(8192).nullable(),
17041
+ epoch: identity.optional(),
17042
+ sortDirection: external_exports.enum(["asc", "desc"]).optional(),
17043
+ limit: external_exports.number().int().min(1).max(20).optional()
17044
+ }).refine((page) => page.cursor === null || page.epoch !== void 0, {
17045
+ message: "A history continuation requires its connection epoch"
17046
+ }).optional()
17047
+ }),
17028
17048
  external_exports.strictObject({
17029
17049
  kind: external_exports.literal("configure"),
17030
17050
  ...thread,
@@ -17195,11 +17215,18 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
17195
17215
  const webUi = /* @__PURE__ */ new Map();
17196
17216
  const listeners = /* @__PURE__ */ new Set();
17197
17217
  let pending = null;
17218
+ let queuedRefresh = null;
17198
17219
  const publish = () => {
17199
17220
  for (const listener of [...listeners]) listener();
17200
17221
  };
17201
17222
  const inspectAll = (refresh) => {
17202
- if (pending) return pending;
17223
+ if (pending) {
17224
+ if (!refresh) return pending;
17225
+ queuedRefresh ??= pending.then(() => inspectAll(true)).finally(() => {
17226
+ queuedRefresh = null;
17227
+ });
17228
+ return queuedRefresh;
17229
+ }
17203
17230
  pending = Promise.resolve().then(async () => {
17204
17231
  try {
17205
17232
  if (!client.listHarnessPlugins)
@@ -26,10 +26,10 @@
26
26
  media="(prefers-color-scheme: light)"
27
27
  />
28
28
  <title>CodexHost</title>
29
- <script type="module" crossorigin src="./assets/index-B5OfOGb8.js"></script>
29
+ <script type="module" crossorigin src="./assets/index-DLXdvkWR.js"></script>
30
30
  <link rel="modulepreload" crossorigin href="./assets/vendor-C9g2bw8s.js">
31
31
  <link rel="stylesheet" crossorigin href="./assets/vendor-BNsW4eBh.css">
32
- <link rel="stylesheet" crossorigin href="./assets/index-D6-hvggd.css">
32
+ <link rel="stylesheet" crossorigin href="./assets/index-DJW4bmyx.css">
33
33
  </head>
34
34
  <body>
35
35
  <div id="root"></div>