@codexhost/cli-darwin-x64 0.14.0 → 0.16.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 +55 -7
- package/app/console-web.js +281 -79
- package/app/desktop-controller.mjs +155 -22
- package/app/host-runtime.mjs +548 -148
- package/app/plugins/antigravity/plugin.mjs +342 -53
- package/app/plugins/claude-code/plugin.mjs +393 -162
- package/app/plugins/codebuddy/plugin.mjs +245 -49
- package/app/plugins/codex-usage/plugin.mjs +75 -28
- package/app/plugins/copilot/plugin.mjs +100 -53
- package/app/plugins/cursor-cli/plugin.mjs +207 -46
- package/app/plugins/deepseek-harness/plugin.mjs +103 -36
- package/app/plugins/grok/plugin.mjs +354 -84
- package/app/plugins/hermes/plugin.mjs +50 -3
- package/app/plugins/kimi-code/plugin.mjs +62 -15
- package/app/plugins/kiro-cli/plugin.mjs +62 -15
- package/app/plugins/omp/plugin.mjs +82 -35
- package/app/plugins/opencode/plugin.mjs +104 -57
- package/app/plugins/pi/plugin.mjs +134 -50
- package/app/plugins/qoder/plugin.mjs +72 -25
- package/app/plugins/qoder-cn/plugin.mjs +72 -25
- package/app/plugins/workbuddy/plugin.mjs +245 -49
- package/app/plugins/zcode/plugin.mjs +101 -29
- package/app/renderer-extension.js +2353 -344
- package/bin/codexhost +0 -0
- package/libexec/codexhost-shim +0 -0
- package/libexec/codexhost-updater +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Run Pi and Claude Code as first-class external harnesses inside Codex Desktop.
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install -g @codexhost/cli@0.
|
|
10
|
+
npm install -g @codexhost/cli@0.16.0
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
Do not install this package directly. npm selects it through the optional dependencies of `@codexhost/cli`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"schemaVersion":1,"version":"0.
|
|
1
|
+
{"schemaVersion":1,"version":"0.16.0","distribution":"npm","target":"macos-x64"}
|
package/app/console-server.mjs
CHANGED
|
@@ -826,7 +826,8 @@ function createBackgroundUpdateManager(dependencies = {}) {
|
|
|
826
826
|
kind: "npm",
|
|
827
827
|
node_path: await requireRegularFile(options.nodePath, "npm Node.js executable"),
|
|
828
828
|
npm_cli_path: await requireRegularFile(options.npmCliPath, "npm CLI"),
|
|
829
|
-
npm_launcher_path: await requireRegularFile(options.npmLauncherPath, "npm codexhost launcher")
|
|
829
|
+
npm_launcher_path: await requireRegularFile(options.npmLauncherPath, "npm codexhost launcher"),
|
|
830
|
+
npm_package_root: requireAbsolutePath(options.packageRoot, "npm platform package root")
|
|
830
831
|
});
|
|
831
832
|
} catch (error51) {
|
|
832
833
|
await writeFailedStatus(common.statusPath, common.version, "npm", error51);
|
|
@@ -3925,10 +3926,10 @@ var $ZodObject = /* @__PURE__ */ $constructor("$ZodObject", (inst, def) => {
|
|
|
3925
3926
|
const shape = def.shape;
|
|
3926
3927
|
const propValues = {};
|
|
3927
3928
|
for (const key in shape) {
|
|
3928
|
-
const
|
|
3929
|
-
if (
|
|
3929
|
+
const field2 = shape[key]._zod;
|
|
3930
|
+
if (field2.values) {
|
|
3930
3931
|
propValues[key] ?? (propValues[key] = /* @__PURE__ */ new Set());
|
|
3931
|
-
for (const v of
|
|
3932
|
+
for (const v of field2.values)
|
|
3932
3933
|
propValues[key].add(v);
|
|
3933
3934
|
}
|
|
3934
3935
|
}
|
|
@@ -15568,6 +15569,8 @@ var usageStatisticsTotalsSchema = external_exports.strictObject({
|
|
|
15568
15569
|
cachedInputTokens: count,
|
|
15569
15570
|
cacheWriteInputTokens: count,
|
|
15570
15571
|
cacheKnownInputTokens: count,
|
|
15572
|
+
cacheHitCachedInputTokens: count,
|
|
15573
|
+
cacheHitInputTokens: count,
|
|
15571
15574
|
outputTokens: count,
|
|
15572
15575
|
reasoningOutputTokens: count,
|
|
15573
15576
|
/** USD at the public price, summed over the priced requests only. */
|
|
@@ -15675,6 +15678,51 @@ var hostInteractionIdSchema = opaqueIdSchema.brand();
|
|
|
15675
15678
|
var threadPrewarmDiscardParamsSchema = external_exports.object({ threadId: hostThreadIdSchema });
|
|
15676
15679
|
var threadPrewarmDiscardResultSchema = external_exports.object({ discarded: external_exports.boolean() });
|
|
15677
15680
|
|
|
15681
|
+
// packages/shared-contracts/dist/thread-questions.js
|
|
15682
|
+
var field = external_exports.discriminatedUnion("type", [
|
|
15683
|
+
external_exports.object({
|
|
15684
|
+
id: external_exports.string().min(1),
|
|
15685
|
+
type: external_exports.literal("choice"),
|
|
15686
|
+
prompt: external_exports.string(),
|
|
15687
|
+
options: external_exports.array(external_exports.object({
|
|
15688
|
+
value: external_exports.string().min(1),
|
|
15689
|
+
label: external_exports.string(),
|
|
15690
|
+
description: external_exports.string().optional()
|
|
15691
|
+
})).min(1),
|
|
15692
|
+
multiple: external_exports.boolean(),
|
|
15693
|
+
allowOther: external_exports.boolean(),
|
|
15694
|
+
optional: external_exports.boolean()
|
|
15695
|
+
}),
|
|
15696
|
+
external_exports.object({
|
|
15697
|
+
id: external_exports.string().min(1),
|
|
15698
|
+
type: external_exports.literal("text"),
|
|
15699
|
+
prompt: external_exports.string(),
|
|
15700
|
+
multiline: external_exports.boolean(),
|
|
15701
|
+
secret: external_exports.literal(false),
|
|
15702
|
+
optional: external_exports.boolean(),
|
|
15703
|
+
placeholder: external_exports.string().optional(),
|
|
15704
|
+
prefill: external_exports.string().optional()
|
|
15705
|
+
})
|
|
15706
|
+
]);
|
|
15707
|
+
var threadQuestionSchema = external_exports.object({
|
|
15708
|
+
interactionId: external_exports.string().min(1),
|
|
15709
|
+
turnId: external_exports.string().min(1),
|
|
15710
|
+
title: external_exports.string().optional(),
|
|
15711
|
+
questions: external_exports.array(field).min(1)
|
|
15712
|
+
}).refine(({ questions }) => questions.some((q) => q.type === "choice" && q.multiple), {
|
|
15713
|
+
message: "Shared cards require at least one multi-select question"
|
|
15714
|
+
});
|
|
15715
|
+
var threadQuestionsListParamsSchema = external_exports.strictObject({ threadId: external_exports.string().min(1) });
|
|
15716
|
+
var threadQuestionsResultSchema = external_exports.object({ questions: external_exports.array(threadQuestionSchema) });
|
|
15717
|
+
var threadQuestionRespondParamsSchema = external_exports.strictObject({
|
|
15718
|
+
threadId: external_exports.string().min(1),
|
|
15719
|
+
turnId: external_exports.string().min(1),
|
|
15720
|
+
interactionId: external_exports.string().min(1),
|
|
15721
|
+
answers: external_exports.record(external_exports.string(), external_exports.array(external_exports.string())),
|
|
15722
|
+
cancelled: external_exports.boolean().default(false)
|
|
15723
|
+
});
|
|
15724
|
+
var threadQuestionRespondResultSchema = external_exports.object({ accepted: external_exports.literal(true) });
|
|
15725
|
+
|
|
15678
15726
|
// packages/shared-contracts/dist/console.js
|
|
15679
15727
|
var consoleAnnouncementSchema = external_exports.strictObject({
|
|
15680
15728
|
title: external_exports.string().trim().min(1).max(200),
|
|
@@ -17493,9 +17541,9 @@ function parseAnnouncement(document) {
|
|
|
17493
17541
|
const fields = /* @__PURE__ */ new Map();
|
|
17494
17542
|
for (const line of (match[1] ?? "").split("\n")) {
|
|
17495
17543
|
if (!line.trim()) continue;
|
|
17496
|
-
const
|
|
17497
|
-
if (!
|
|
17498
|
-
fields.set(
|
|
17544
|
+
const field2 = /^(enabled|title|type):[ \t]*(.+?)\s*$/u.exec(line);
|
|
17545
|
+
if (!field2?.[1] || !field2[2] || fields.has(field2[1])) return null;
|
|
17546
|
+
fields.set(field2[1], field2[2]);
|
|
17499
17547
|
}
|
|
17500
17548
|
if (fields.get("enabled") !== "true") return null;
|
|
17501
17549
|
let title = fields.get("title");
|