@karlorz/codexhost-cli-win32-x64 0.15.0-1 → 0.16.1-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 +60 -25
- package/app/console-web.js +143 -57
- package/app/cpa-live-voice-hook.js +58 -24
- package/app/desktop-controller.mjs +649 -53
- package/app/host-runtime.mjs +10959 -10075
- package/app/plugins/antigravity/plugin.mjs +73 -29
- package/app/plugins/claude-code/plugin.mjs +104 -72
- package/app/plugins/codebuddy/plugin.mjs +113 -34
- package/app/plugins/codex-usage/plugin.mjs +65 -31
- package/app/plugins/copilot/plugin.mjs +73 -29
- package/app/plugins/cursor-cli/plugin.mjs +70 -26
- package/app/plugins/deepseek-harness/plugin.mjs +88 -34
- package/app/plugins/grok/plugin.mjs +1505 -502
- package/app/plugins/hermes/plugin.mjs +68 -24
- package/app/plugins/kimi-code/plugin.mjs +70 -26
- package/app/plugins/kiro-cli/plugin.mjs +70 -26
- package/app/plugins/omp/plugin.mjs +71 -27
- package/app/plugins/opencode/plugin.mjs +84 -30
- package/app/plugins/pi/plugin.mjs +87 -31
- package/app/plugins/qoder/plugin.mjs +96 -52
- package/app/plugins/qoder-cn/plugin.mjs +96 -52
- package/app/plugins/workbuddy/plugin.mjs +113 -34
- package/app/plugins/zcode/plugin.mjs +144 -47
- package/app/renderer-extension.js +1843 -213
- package/bin/codexhost.exe +0 -0
- package/libexec/codexhost-node-repl.exe +0 -0
- package/libexec/codexhost-shim.exe +0 -0
- package/libexec/codexhost-updater.exe +0 -0
- package/package.json +1 -1
|
@@ -4642,8 +4642,8 @@
|
|
|
4642
4642
|
}
|
|
4643
4643
|
|
|
4644
4644
|
// ../../node_modules/zod/v4/locales/be.js
|
|
4645
|
-
function getBelarusianPlural(
|
|
4646
|
-
const absCount = Math.abs(
|
|
4645
|
+
function getBelarusianPlural(count3, one, few, many) {
|
|
4646
|
+
const absCount = Math.abs(count3);
|
|
4647
4647
|
const lastDigit = absCount % 10;
|
|
4648
4648
|
const lastTwoDigits = absCount % 100;
|
|
4649
4649
|
if (lastTwoDigits >= 11 && lastTwoDigits <= 19) {
|
|
@@ -6721,8 +6721,8 @@
|
|
|
6721
6721
|
}
|
|
6722
6722
|
|
|
6723
6723
|
// ../../node_modules/zod/v4/locales/hy.js
|
|
6724
|
-
function getArmenianPlural(
|
|
6725
|
-
return Math.abs(
|
|
6724
|
+
function getArmenianPlural(count3, one, many) {
|
|
6725
|
+
return Math.abs(count3) === 1 ? one : many;
|
|
6726
6726
|
}
|
|
6727
6727
|
function withDefiniteArticle(word) {
|
|
6728
6728
|
if (!word)
|
|
@@ -8850,8 +8850,8 @@
|
|
|
8850
8850
|
}
|
|
8851
8851
|
|
|
8852
8852
|
// ../../node_modules/zod/v4/locales/ru.js
|
|
8853
|
-
function getRussianPlural(
|
|
8854
|
-
const absCount = Math.abs(
|
|
8853
|
+
function getRussianPlural(count3, one, few, many) {
|
|
8854
|
+
const absCount = Math.abs(count3);
|
|
8855
8855
|
const lastDigit = absCount % 10;
|
|
8856
8856
|
const lastTwoDigits = absCount % 100;
|
|
8857
8857
|
if (lastTwoDigits >= 11 && lastTwoDigits <= 19) {
|
|
@@ -14520,6 +14520,33 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14520
14520
|
// ../../node_modules/zod/v4/classic/external.js
|
|
14521
14521
|
config(en_default());
|
|
14522
14522
|
|
|
14523
|
+
// ../shared-contracts/dist/goals.js
|
|
14524
|
+
var harnessGoalStatusSchema = external_exports.enum([
|
|
14525
|
+
"active",
|
|
14526
|
+
"paused",
|
|
14527
|
+
"blocked",
|
|
14528
|
+
"usageLimited",
|
|
14529
|
+
"budgetLimited",
|
|
14530
|
+
"complete"
|
|
14531
|
+
]);
|
|
14532
|
+
var count = external_exports.number().int().nonnegative().safe();
|
|
14533
|
+
var harnessGoalSchema = external_exports.object({
|
|
14534
|
+
objective: external_exports.string().min(1),
|
|
14535
|
+
status: harnessGoalStatusSchema,
|
|
14536
|
+
tokenBudget: count.positive().nullable(),
|
|
14537
|
+
tokensUsed: count,
|
|
14538
|
+
timeUsedSeconds: count,
|
|
14539
|
+
createdAt: count,
|
|
14540
|
+
updatedAt: count
|
|
14541
|
+
});
|
|
14542
|
+
var goalOriginSchema = external_exports.enum(["user", "automatic"]).nullable();
|
|
14543
|
+
var harnessGoalSetSchema = external_exports.object({
|
|
14544
|
+
objective: external_exports.string().min(1).optional(),
|
|
14545
|
+
status: external_exports.enum(["active", "paused"]).optional(),
|
|
14546
|
+
tokenBudget: count.positive().nullable().optional(),
|
|
14547
|
+
origin: goalOriginSchema
|
|
14548
|
+
});
|
|
14549
|
+
|
|
14523
14550
|
// ../shared-contracts/dist/delegation-read.js
|
|
14524
14551
|
var REMOTE_THREAD_REPLY_MAX_BYTES = 16 * 1024 * 1024;
|
|
14525
14552
|
var THREAD_REFERENCE_SOURCE_HOST_PARAM = "codexhostSourceHostId";
|
|
@@ -14651,7 +14678,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14651
14678
|
|
|
14652
14679
|
// ../shared-contracts/dist/usage-statistics.js
|
|
14653
14680
|
var USAGE_STATISTICS_RANGES = ["today", "7d", "30d", "90d", "all"];
|
|
14654
|
-
var
|
|
14681
|
+
var count2 = external_exports.number().int().min(0).max(Number.MAX_SAFE_INTEGER);
|
|
14655
14682
|
var localDate = external_exports.string().regex(/^\d{4}-\d{2}-\d{2}$/u);
|
|
14656
14683
|
var harness = external_exports.string().min(1).max(128);
|
|
14657
14684
|
var model = external_exports.string().min(1).max(512);
|
|
@@ -14674,22 +14701,24 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14674
14701
|
date: localDate.optional()
|
|
14675
14702
|
});
|
|
14676
14703
|
var usageStatisticsTotalsSchema = external_exports.strictObject({
|
|
14677
|
-
requests:
|
|
14678
|
-
inputTokens:
|
|
14679
|
-
cachedInputTokens:
|
|
14680
|
-
cacheWriteInputTokens:
|
|
14681
|
-
cacheKnownInputTokens:
|
|
14682
|
-
|
|
14683
|
-
|
|
14704
|
+
requests: count2,
|
|
14705
|
+
inputTokens: count2,
|
|
14706
|
+
cachedInputTokens: count2,
|
|
14707
|
+
cacheWriteInputTokens: count2,
|
|
14708
|
+
cacheKnownInputTokens: count2,
|
|
14709
|
+
cacheHitCachedInputTokens: count2,
|
|
14710
|
+
cacheHitInputTokens: count2,
|
|
14711
|
+
outputTokens: count2,
|
|
14712
|
+
reasoningOutputTokens: count2,
|
|
14684
14713
|
/** USD at the public price, summed over the priced requests only. */
|
|
14685
14714
|
costUsd: external_exports.number().finite().min(0),
|
|
14686
14715
|
/** Requests without a price (or the cache data the price needs); not in `costUsd`. */
|
|
14687
|
-
unpricedRequests:
|
|
14716
|
+
unpricedRequests: count2,
|
|
14688
14717
|
/**
|
|
14689
14718
|
* Requests whose storage gave no token counts: counted as requests, with neither tokens nor
|
|
14690
14719
|
* cost, and not as unpriced.
|
|
14691
14720
|
*/
|
|
14692
|
-
unmeteredRequests:
|
|
14721
|
+
unmeteredRequests: count2
|
|
14693
14722
|
});
|
|
14694
14723
|
var totals = usageStatisticsTotalsSchema.shape;
|
|
14695
14724
|
var usageStatisticsSessionSchema = external_exports.strictObject({
|
|
@@ -14700,8 +14729,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14700
14729
|
title: external_exports.string().min(1).max(200).optional(),
|
|
14701
14730
|
/** Models the session used, most requests first. */
|
|
14702
14731
|
models: external_exports.array(model).max(16),
|
|
14703
|
-
firstAtMs:
|
|
14704
|
-
lastAtMs:
|
|
14732
|
+
firstAtMs: count2,
|
|
14733
|
+
lastAtMs: count2,
|
|
14705
14734
|
...totals
|
|
14706
14735
|
});
|
|
14707
14736
|
var usageStatisticsResultSchema = external_exports.strictObject({
|
|
@@ -14719,7 +14748,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14719
14748
|
date: localDate.nullable()
|
|
14720
14749
|
}),
|
|
14721
14750
|
/** Reading of native storage: incomplete while the first read, or a refresh, is under way. */
|
|
14722
|
-
reading: external_exports.strictObject({ complete: external_exports.boolean(), sources:
|
|
14751
|
+
reading: external_exports.strictObject({ complete: external_exports.boolean(), sources: count2, read: count2 }),
|
|
14723
14752
|
/** Harnesses whose storage could not be read; their part is missing, the rest is complete. */
|
|
14724
14753
|
failures: external_exports.array(external_exports.strictObject({ harness, message: external_exports.string().max(2048) })).max(256),
|
|
14725
14754
|
/** Every value seen in the range, ignoring the filters, to choose filters from. */
|
|
@@ -14739,8 +14768,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14739
14768
|
harness,
|
|
14740
14769
|
model: model.nullable(),
|
|
14741
14770
|
credits: external_exports.number().finite().min(0),
|
|
14742
|
-
reportedRequests:
|
|
14743
|
-
requests:
|
|
14771
|
+
reportedRequests: count2,
|
|
14772
|
+
requests: count2
|
|
14744
14773
|
})).max(4096).optional(),
|
|
14745
14774
|
/** All filters applied. */
|
|
14746
14775
|
totals: usageStatisticsTotalsSchema,
|
|
@@ -14757,7 +14786,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14757
14786
|
model: model.nullable(),
|
|
14758
14787
|
...totals,
|
|
14759
14788
|
/** Requests priced by what the Harness recorded they cost, not by a price list. */
|
|
14760
|
-
harnessPricedRequests:
|
|
14789
|
+
harnessPricedRequests: count2
|
|
14761
14790
|
})).max(4096),
|
|
14762
14791
|
byProject: external_exports.array(external_exports.strictObject({ project: project.nullable(), ...totals })).max(4096),
|
|
14763
14792
|
/**
|
|
@@ -15390,7 +15419,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15390
15419
|
var harnessHistoryCapabilitiesSchema = external_exports.object({
|
|
15391
15420
|
fork: external_exports.boolean(),
|
|
15392
15421
|
forkAcrossCwd: external_exports.boolean(),
|
|
15393
|
-
rollbackLastTurn: external_exports.boolean()
|
|
15422
|
+
rollbackLastTurn: external_exports.boolean(),
|
|
15423
|
+
/** Remove the selected checkpoint's Turn and every later Turn, without restoring files. */
|
|
15424
|
+
rollbackToCheckpoint: external_exports.boolean().optional()
|
|
15394
15425
|
}).strict().refine((history) => history.fork || !history.forkAcrossCwd, {
|
|
15395
15426
|
path: ["forkAcrossCwd"],
|
|
15396
15427
|
message: "Cross-cwd Fork requires exact history Fork support"
|
|
@@ -15629,7 +15660,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15629
15660
|
harnessId: harnessPluginIdSchema,
|
|
15630
15661
|
model: harnessModelRefSchema.optional(),
|
|
15631
15662
|
thinkingOptionId: harnessThinkingOptionIdSchema.optional(),
|
|
15632
|
-
permissionModeId: harnessPermissionModeIdSchema.optional()
|
|
15663
|
+
permissionModeId: harnessPermissionModeIdSchema.optional(),
|
|
15664
|
+
/** A draft prewarm create: stays unsubmitted until the user's first Turn.
|
|
15665
|
+
* Desktop forwards only the Model of a main-process prewarm to thread/start. */
|
|
15666
|
+
prewarm: external_exports.literal(true).optional()
|
|
15633
15667
|
}).strict();
|
|
15634
15668
|
|
|
15635
15669
|
// ../shared-contracts/dist/harness-launch-settings.js
|