@karlorz/codexhost-cli-win32-x64 0.13.3-4 → 0.13.3-5
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 +30 -0
- package/app/console-web.js +30 -0
- package/app/cpa-live-voice-hook.js +16122 -26
- package/app/desktop-controller.mjs +34 -3
- package/app/host-runtime.mjs +2597 -2341
- package/app/plugins/antigravity/plugin.mjs +30 -0
- package/app/plugins/claude-code/plugin.mjs +54 -22
- package/app/plugins/codebuddy/plugin.mjs +62 -32
- package/app/plugins/codex-usage/plugin.mjs +30 -0
- package/app/plugins/cursor-cli/plugin.mjs +73 -43
- package/app/plugins/deepseek-harness/plugin.mjs +35 -5
- package/app/plugins/grok/plugin.mjs +52 -22
- package/app/plugins/hermes/plugin.mjs +30 -0
- package/app/plugins/kimi-code/plugin.mjs +52 -22
- package/app/plugins/kiro-cli/plugin.mjs +52 -22
- package/app/plugins/omp/plugin.mjs +45 -15
- package/app/plugins/opencode/plugin.mjs +30 -0
- package/app/plugins/pi/plugin.mjs +51 -21
- package/app/plugins/qoder/plugin.mjs +38 -8
- package/app/plugins/qoder-cn/plugin.mjs +38 -8
- package/app/plugins/workbuddy/plugin.mjs +62 -32
- package/app/plugins/zcode/plugin.mjs +53 -23
- package/app/renderer-extension.js +461 -260
- 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
|
@@ -15050,6 +15050,36 @@ var hostInteractionIdSchema = opaqueIdSchema.brand();
|
|
|
15050
15050
|
var threadPrewarmDiscardParamsSchema = external_exports.object({ threadId: hostThreadIdSchema });
|
|
15051
15051
|
var threadPrewarmDiscardResultSchema = external_exports.object({ discarded: external_exports.boolean() });
|
|
15052
15052
|
|
|
15053
|
+
// packages/shared-contracts/dist/realtime-call.js
|
|
15054
|
+
var REALTIME_CALL_FORWARDED_HEADERS = [
|
|
15055
|
+
"openai-alpha",
|
|
15056
|
+
"thread-id",
|
|
15057
|
+
"session-id",
|
|
15058
|
+
"originator",
|
|
15059
|
+
"x-codex-turn-metadata"
|
|
15060
|
+
];
|
|
15061
|
+
var FORWARDED_HEADERS = new Set(REALTIME_CALL_FORWARDED_HEADERS);
|
|
15062
|
+
var REALTIME_CALL_ID_PATTERN = /^rtc_[A-Za-z0-9_-]{1,128}$/u;
|
|
15063
|
+
var requestId = external_exports.string().min(1).max(128);
|
|
15064
|
+
var realtimeCallParamsSchema = external_exports.discriminatedUnion("operation", [
|
|
15065
|
+
external_exports.object({
|
|
15066
|
+
operation: external_exports.literal("create"),
|
|
15067
|
+
requestId,
|
|
15068
|
+
body: external_exports.string().min(1).max(16 << 20),
|
|
15069
|
+
headers: external_exports.record(external_exports.string(), external_exports.string()).default({})
|
|
15070
|
+
}),
|
|
15071
|
+
external_exports.object({ operation: external_exports.literal("cancel"), requestId }),
|
|
15072
|
+
external_exports.object({
|
|
15073
|
+
operation: external_exports.literal("hangup"),
|
|
15074
|
+
callId: external_exports.string().regex(REALTIME_CALL_ID_PATTERN)
|
|
15075
|
+
})
|
|
15076
|
+
]);
|
|
15077
|
+
var realtimeCallResponseSchema = external_exports.object({
|
|
15078
|
+
status: external_exports.number().int().min(200).max(599),
|
|
15079
|
+
body: external_exports.string(),
|
|
15080
|
+
headers: external_exports.record(external_exports.string(), external_exports.string())
|
|
15081
|
+
});
|
|
15082
|
+
|
|
15053
15083
|
// packages/shared-contracts/dist/console.js
|
|
15054
15084
|
var consoleAnnouncementSchema = external_exports.strictObject({
|
|
15055
15085
|
title: external_exports.string().trim().min(1).max(200),
|
|
@@ -16705,7 +16735,7 @@ function createDraftPrewarmPolicyBridge(manager, bridge, hostId2, target, prewar
|
|
|
16705
16735
|
bridgeReadyReject?.(error51);
|
|
16706
16736
|
bridgeReadyReject = null;
|
|
16707
16737
|
bridgeReadyResolve = null;
|
|
16708
|
-
for (const
|
|
16738
|
+
for (const requestId2 of bridgeRequests.keys()) bridge.onError(requestId2, error51);
|
|
16709
16739
|
bridgeRequests.clear();
|
|
16710
16740
|
if (isRemoteControlHost && terminate) {
|
|
16711
16741
|
void Promise.resolve(
|
|
@@ -17186,7 +17216,7 @@ function createDraftPrewarmPolicyBridge(manager, bridge, hostId2, target, prewar
|
|
|
17186
17216
|
bridgeState = "disposed";
|
|
17187
17217
|
const disposedError = transportError("was disposed");
|
|
17188
17218
|
bridgeReadyReject?.(disposedError);
|
|
17189
|
-
for (const
|
|
17219
|
+
for (const requestId2 of bridgeRequests.keys()) bridge.onError(requestId2, disposedError);
|
|
17190
17220
|
bridgeRequests.clear();
|
|
17191
17221
|
bridgeServerRequests.clear();
|
|
17192
17222
|
knownExternalThreadIds.clear();
|
|
@@ -17984,7 +18014,8 @@ async function runDesktopController(options, signal, dependencies = defaultDepen
|
|
|
17984
18014
|
const overlayPath = bootstrap ? path2.join(path2.dirname(options.rendererPath), "cpa-live-voice-hook.js") : void 0;
|
|
17985
18015
|
const [rendererSource, overlayBundle] = overlayPath ? await Promise.all([rendererRead, dependencies.readRenderer(overlayPath)]) : [await rendererRead, void 0];
|
|
17986
18016
|
if (rendererSource.trim().length === 0) throw new Error("production Renderer Bundle is empty");
|
|
17987
|
-
const overlayHookSource = bootstrap && overlayBundle && overlayBundle.trim().length > 0 ? `${
|
|
18017
|
+
const overlayHookSource = bootstrap && overlayBundle && overlayBundle.trim().length > 0 ? `${RENDERER_CSP_BOOTSTRAP}
|
|
18018
|
+
${bootstrap}${overlayBundle}` : void 0;
|
|
17988
18019
|
startupTrace("installing Renderer Session");
|
|
17989
18020
|
const installed = await installProductionSession(
|
|
17990
18021
|
{
|