@karlorz/codexhost-cli-win32-x64 0.17.1-0 → 0.17.4-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 +15 -0
- package/app/console-web.js +15 -0
- package/app/cpa-live-voice-hook.js +62 -39
- package/app/desktop-controller.mjs +308 -27
- package/app/host-runtime.mjs +359 -42
- package/app/plugins/antigravity/plugin.mjs +15 -0
- package/app/plugins/claude-code/plugin.mjs +15 -0
- package/app/plugins/codebuddy/plugin.mjs +15 -0
- package/app/plugins/codex-usage/plugin.mjs +15 -0
- package/app/plugins/copilot/plugin.mjs +15 -0
- package/app/plugins/cursor-cli/plugin.mjs +43 -5
- package/app/plugins/deepseek-harness/plugin.mjs +15 -0
- package/app/plugins/devin/plugin.mjs +15 -0
- package/app/plugins/grok/plugin.mjs +424 -75
- package/app/plugins/hermes/plugin.mjs +15 -0
- package/app/plugins/kimi-code/plugin.mjs +15 -0
- package/app/plugins/kiro-cli/plugin.mjs +15 -0
- package/app/plugins/omp/plugin.mjs +15 -0
- package/app/plugins/opencode/plugin.mjs +15 -0
- package/app/plugins/pi/plugin.mjs +15 -0
- package/app/plugins/qoder/plugin.mjs +15 -0
- package/app/plugins/qoder-cn/plugin.mjs +15 -0
- package/app/plugins/qwen-code/plugin.mjs +15 -0
- package/app/plugins/workbuddy/plugin.mjs +15 -0
- package/app/plugins/zcode/plugin.mjs +15 -0
- package/app/renderer-extension.js +702 -282
- 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
|
@@ -15971,6 +15971,21 @@ var threadSteeringInspectParamsSchema = external_exports.object({
|
|
|
15971
15971
|
/** The text about to be steered; a Harness command always stops and restarts. */
|
|
15972
15972
|
text: external_exports.string().optional()
|
|
15973
15973
|
}).strict();
|
|
15974
|
+
var threadSteeringContextSchema = external_exports.object({
|
|
15975
|
+
kind: external_exports.literal("application"),
|
|
15976
|
+
value: external_exports.string().transform((text, context) => {
|
|
15977
|
+
try {
|
|
15978
|
+
return JSON.parse(text);
|
|
15979
|
+
} catch {
|
|
15980
|
+
context.addIssue({ code: "custom", message: "Invalid steering context JSON" });
|
|
15981
|
+
return external_exports.NEVER;
|
|
15982
|
+
}
|
|
15983
|
+
}).pipe(external_exports.object({
|
|
15984
|
+
expectedTurnId: hostTurnIdSchema,
|
|
15985
|
+
clientUserMessageId: external_exports.string().min(1),
|
|
15986
|
+
delivery: external_exports.enum(["newTurn", "activeTurn"])
|
|
15987
|
+
}).strict())
|
|
15988
|
+
}).strict().transform((context) => context.value);
|
|
15974
15989
|
var threadSteerDeliverySchema = external_exports.enum(["activeTurn", "newTurn"]);
|
|
15975
15990
|
var threadSteeringInspectResultSchema = external_exports.object({
|
|
15976
15991
|
delivery: external_exports.enum(["official", "activeTurn", "newTurn"])
|
|
@@ -15565,6 +15565,21 @@ var threadSteeringInspectParamsSchema = external_exports.object({
|
|
|
15565
15565
|
/** The text about to be steered; a Harness command always stops and restarts. */
|
|
15566
15566
|
text: external_exports.string().optional()
|
|
15567
15567
|
}).strict();
|
|
15568
|
+
var threadSteeringContextSchema = external_exports.object({
|
|
15569
|
+
kind: external_exports.literal("application"),
|
|
15570
|
+
value: external_exports.string().transform((text2, context) => {
|
|
15571
|
+
try {
|
|
15572
|
+
return JSON.parse(text2);
|
|
15573
|
+
} catch {
|
|
15574
|
+
context.addIssue({ code: "custom", message: "Invalid steering context JSON" });
|
|
15575
|
+
return external_exports.NEVER;
|
|
15576
|
+
}
|
|
15577
|
+
}).pipe(external_exports.object({
|
|
15578
|
+
expectedTurnId: hostTurnIdSchema,
|
|
15579
|
+
clientUserMessageId: external_exports.string().min(1),
|
|
15580
|
+
delivery: external_exports.enum(["newTurn", "activeTurn"])
|
|
15581
|
+
}).strict())
|
|
15582
|
+
}).strict().transform((context) => context.value);
|
|
15568
15583
|
var threadSteerDeliverySchema = external_exports.enum(["activeTurn", "newTurn"]);
|
|
15569
15584
|
var threadSteeringInspectResultSchema = external_exports.object({
|
|
15570
15585
|
delivery: external_exports.enum(["official", "activeTurn", "newTurn"])
|
|
@@ -16041,6 +16041,21 @@ var threadSteeringInspectParamsSchema = external_exports.object({
|
|
|
16041
16041
|
/** The text about to be steered; a Harness command always stops and restarts. */
|
|
16042
16042
|
text: external_exports.string().optional()
|
|
16043
16043
|
}).strict();
|
|
16044
|
+
var threadSteeringContextSchema = external_exports.object({
|
|
16045
|
+
kind: external_exports.literal("application"),
|
|
16046
|
+
value: external_exports.string().transform((text2, context) => {
|
|
16047
|
+
try {
|
|
16048
|
+
return JSON.parse(text2);
|
|
16049
|
+
} catch {
|
|
16050
|
+
context.addIssue({ code: "custom", message: "Invalid steering context JSON" });
|
|
16051
|
+
return external_exports.NEVER;
|
|
16052
|
+
}
|
|
16053
|
+
}).pipe(external_exports.object({
|
|
16054
|
+
expectedTurnId: hostTurnIdSchema,
|
|
16055
|
+
clientUserMessageId: external_exports.string().min(1),
|
|
16056
|
+
delivery: external_exports.enum(["newTurn", "activeTurn"])
|
|
16057
|
+
}).strict())
|
|
16058
|
+
}).strict().transform((context) => context.value);
|
|
16044
16059
|
var threadSteerDeliverySchema = external_exports.enum(["activeTurn", "newTurn"]);
|
|
16045
16060
|
var threadSteeringInspectResultSchema = external_exports.object({
|
|
16046
16061
|
delivery: external_exports.enum(["official", "activeTurn", "newTurn"])
|
|
@@ -15559,6 +15559,21 @@ var threadSteeringInspectParamsSchema = external_exports.object({
|
|
|
15559
15559
|
/** The text about to be steered; a Harness command always stops and restarts. */
|
|
15560
15560
|
text: external_exports.string().optional()
|
|
15561
15561
|
}).strict();
|
|
15562
|
+
var threadSteeringContextSchema = external_exports.object({
|
|
15563
|
+
kind: external_exports.literal("application"),
|
|
15564
|
+
value: external_exports.string().transform((text2, context) => {
|
|
15565
|
+
try {
|
|
15566
|
+
return JSON.parse(text2);
|
|
15567
|
+
} catch {
|
|
15568
|
+
context.addIssue({ code: "custom", message: "Invalid steering context JSON" });
|
|
15569
|
+
return external_exports.NEVER;
|
|
15570
|
+
}
|
|
15571
|
+
}).pipe(external_exports.object({
|
|
15572
|
+
expectedTurnId: hostTurnIdSchema,
|
|
15573
|
+
clientUserMessageId: external_exports.string().min(1),
|
|
15574
|
+
delivery: external_exports.enum(["newTurn", "activeTurn"])
|
|
15575
|
+
}).strict())
|
|
15576
|
+
}).strict().transform((context) => context.value);
|
|
15562
15577
|
var threadSteerDeliverySchema = external_exports.enum(["activeTurn", "newTurn"]);
|
|
15563
15578
|
var threadSteeringInspectResultSchema = external_exports.object({
|
|
15564
15579
|
delivery: external_exports.enum(["official", "activeTurn", "newTurn"])
|
|
@@ -19616,6 +19616,21 @@ var threadSteeringInspectParamsSchema = external_exports.object({
|
|
|
19616
19616
|
/** The text about to be steered; a Harness command always stops and restarts. */
|
|
19617
19617
|
text: external_exports.string().optional()
|
|
19618
19618
|
}).strict();
|
|
19619
|
+
var threadSteeringContextSchema = external_exports.object({
|
|
19620
|
+
kind: external_exports.literal("application"),
|
|
19621
|
+
value: external_exports.string().transform((text, context) => {
|
|
19622
|
+
try {
|
|
19623
|
+
return JSON.parse(text);
|
|
19624
|
+
} catch {
|
|
19625
|
+
context.addIssue({ code: "custom", message: "Invalid steering context JSON" });
|
|
19626
|
+
return external_exports.NEVER;
|
|
19627
|
+
}
|
|
19628
|
+
}).pipe(external_exports.object({
|
|
19629
|
+
expectedTurnId: hostTurnIdSchema,
|
|
19630
|
+
clientUserMessageId: external_exports.string().min(1),
|
|
19631
|
+
delivery: external_exports.enum(["newTurn", "activeTurn"])
|
|
19632
|
+
}).strict())
|
|
19633
|
+
}).strict().transform((context) => context.value);
|
|
19619
19634
|
var threadSteerDeliverySchema = external_exports.enum(["activeTurn", "newTurn"]);
|
|
19620
19635
|
var threadSteeringInspectResultSchema = external_exports.object({
|
|
19621
19636
|
delivery: external_exports.enum(["official", "activeTurn", "newTurn"])
|
|
@@ -15926,6 +15926,21 @@ var threadSteeringInspectParamsSchema = external_exports.object({
|
|
|
15926
15926
|
/** The text about to be steered; a Harness command always stops and restarts. */
|
|
15927
15927
|
text: external_exports.string().optional()
|
|
15928
15928
|
}).strict();
|
|
15929
|
+
var threadSteeringContextSchema = external_exports.object({
|
|
15930
|
+
kind: external_exports.literal("application"),
|
|
15931
|
+
value: external_exports.string().transform((text, context) => {
|
|
15932
|
+
try {
|
|
15933
|
+
return JSON.parse(text);
|
|
15934
|
+
} catch {
|
|
15935
|
+
context.addIssue({ code: "custom", message: "Invalid steering context JSON" });
|
|
15936
|
+
return external_exports.NEVER;
|
|
15937
|
+
}
|
|
15938
|
+
}).pipe(external_exports.object({
|
|
15939
|
+
expectedTurnId: hostTurnIdSchema,
|
|
15940
|
+
clientUserMessageId: external_exports.string().min(1),
|
|
15941
|
+
delivery: external_exports.enum(["newTurn", "activeTurn"])
|
|
15942
|
+
}).strict())
|
|
15943
|
+
}).strict().transform((context) => context.value);
|
|
15929
15944
|
var threadSteerDeliverySchema = external_exports.enum(["activeTurn", "newTurn"]);
|
|
15930
15945
|
var threadSteeringInspectResultSchema = external_exports.object({
|
|
15931
15946
|
delivery: external_exports.enum(["official", "activeTurn", "newTurn"])
|
|
@@ -16914,9 +16929,32 @@ function cursorCommands(native) {
|
|
|
16914
16929
|
}
|
|
16915
16930
|
return { commands: [...commands.values()] };
|
|
16916
16931
|
}
|
|
16917
|
-
var
|
|
16918
|
-
|
|
16919
|
-
|
|
16932
|
+
var CURSOR_GOAL_SKILL = harnessCommandDescriptorSchema.parse({
|
|
16933
|
+
id: "cursor.goal",
|
|
16934
|
+
invocation: "/goal",
|
|
16935
|
+
label: "Goal",
|
|
16936
|
+
description: "Run Cursor's /goal skill for this turn. It does not continue while idle and does not open Desktop Goal mode.",
|
|
16937
|
+
argumentMode: "text",
|
|
16938
|
+
kind: "skill"
|
|
16939
|
+
});
|
|
16940
|
+
var CURSOR_COMMAND_CATALOG = harnessCommandCatalogSchema.parse({
|
|
16941
|
+
commands: [
|
|
16942
|
+
...cursorCommands([
|
|
16943
|
+
{ name: "copy-request-id", description: "Copy the current request ID", input: null }
|
|
16944
|
+
]).commands,
|
|
16945
|
+
CURSOR_GOAL_SKILL
|
|
16946
|
+
]
|
|
16947
|
+
});
|
|
16948
|
+
function cursorSessionCatalog(native) {
|
|
16949
|
+
const builtIns = CURSOR_COMMAND_CATALOG.commands;
|
|
16950
|
+
const invocations = new Set(builtIns.map((command) => command.invocation));
|
|
16951
|
+
return {
|
|
16952
|
+
commands: [
|
|
16953
|
+
...builtIns,
|
|
16954
|
+
...cursorCommands(native).commands.filter((command) => !invocations.has(command.invocation))
|
|
16955
|
+
]
|
|
16956
|
+
};
|
|
16957
|
+
}
|
|
16920
16958
|
function cursorCommandPrompt(command, catalog) {
|
|
16921
16959
|
const descriptor = catalog.commands.find(({ id }) => id === command.commandId);
|
|
16922
16960
|
if (!descriptor)
|
|
@@ -23750,11 +23788,11 @@ var CursorSession = class {
|
|
|
23750
23788
|
}
|
|
23751
23789
|
initialUsage = null;
|
|
23752
23790
|
commands = {
|
|
23753
|
-
list: async () => this.#closed ? rejected("invalidState", "Cursor session is closed") : { ok: true, value:
|
|
23791
|
+
list: async () => this.#closed ? rejected("invalidState", "Cursor session is closed") : { ok: true, value: cursorSessionCatalog(this.transport.availableCommands) },
|
|
23754
23792
|
execute: async (command) => {
|
|
23755
23793
|
if (this.#closed)
|
|
23756
23794
|
return rejected("invalidState", "Cursor session is closed");
|
|
23757
|
-
const prompt = cursorCommandPrompt(command,
|
|
23795
|
+
const prompt = cursorCommandPrompt(command, cursorSessionCatalog(this.transport.availableCommands));
|
|
23758
23796
|
if (!prompt.ok)
|
|
23759
23797
|
return prompt;
|
|
23760
23798
|
return this.execute({
|
|
@@ -19806,6 +19806,21 @@ var threadSteeringInspectParamsSchema = external_exports.object({
|
|
|
19806
19806
|
/** The text about to be steered; a Harness command always stops and restarts. */
|
|
19807
19807
|
text: external_exports.string().optional()
|
|
19808
19808
|
}).strict();
|
|
19809
|
+
var threadSteeringContextSchema = external_exports.object({
|
|
19810
|
+
kind: external_exports.literal("application"),
|
|
19811
|
+
value: external_exports.string().transform((text, context) => {
|
|
19812
|
+
try {
|
|
19813
|
+
return JSON.parse(text);
|
|
19814
|
+
} catch {
|
|
19815
|
+
context.addIssue({ code: "custom", message: "Invalid steering context JSON" });
|
|
19816
|
+
return external_exports.NEVER;
|
|
19817
|
+
}
|
|
19818
|
+
}).pipe(external_exports.object({
|
|
19819
|
+
expectedTurnId: hostTurnIdSchema,
|
|
19820
|
+
clientUserMessageId: external_exports.string().min(1),
|
|
19821
|
+
delivery: external_exports.enum(["newTurn", "activeTurn"])
|
|
19822
|
+
}).strict())
|
|
19823
|
+
}).strict().transform((context) => context.value);
|
|
19809
19824
|
var threadSteerDeliverySchema = external_exports.enum(["activeTurn", "newTurn"]);
|
|
19810
19825
|
var threadSteeringInspectResultSchema = external_exports.object({
|
|
19811
19826
|
delivery: external_exports.enum(["official", "activeTurn", "newTurn"])
|
|
@@ -15563,6 +15563,21 @@ var threadSteeringInspectParamsSchema = external_exports.object({
|
|
|
15563
15563
|
/** The text about to be steered; a Harness command always stops and restarts. */
|
|
15564
15564
|
text: external_exports.string().optional()
|
|
15565
15565
|
}).strict();
|
|
15566
|
+
var threadSteeringContextSchema = external_exports.object({
|
|
15567
|
+
kind: external_exports.literal("application"),
|
|
15568
|
+
value: external_exports.string().transform((text, context) => {
|
|
15569
|
+
try {
|
|
15570
|
+
return JSON.parse(text);
|
|
15571
|
+
} catch {
|
|
15572
|
+
context.addIssue({ code: "custom", message: "Invalid steering context JSON" });
|
|
15573
|
+
return external_exports.NEVER;
|
|
15574
|
+
}
|
|
15575
|
+
}).pipe(external_exports.object({
|
|
15576
|
+
expectedTurnId: hostTurnIdSchema,
|
|
15577
|
+
clientUserMessageId: external_exports.string().min(1),
|
|
15578
|
+
delivery: external_exports.enum(["newTurn", "activeTurn"])
|
|
15579
|
+
}).strict())
|
|
15580
|
+
}).strict().transform((context) => context.value);
|
|
15566
15581
|
var threadSteerDeliverySchema = external_exports.enum(["activeTurn", "newTurn"]);
|
|
15567
15582
|
var threadSteeringInspectResultSchema = external_exports.object({
|
|
15568
15583
|
delivery: external_exports.enum(["official", "activeTurn", "newTurn"])
|