@codexhost/cli-darwin-x64 0.14.0 → 0.15.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 +51 -6
- package/app/console-web.js +212 -64
- package/app/desktop-controller.mjs +48 -3
- package/app/host-runtime.mjs +358 -79
- package/app/plugins/antigravity/plugin.mjs +340 -53
- package/app/plugins/claude-code/plugin.mjs +373 -132
- package/app/plugins/codebuddy/plugin.mjs +205 -46
- package/app/plugins/codex-usage/plugin.mjs +73 -28
- package/app/plugins/copilot/plugin.mjs +98 -53
- package/app/plugins/cursor-cli/plugin.mjs +205 -46
- package/app/plugins/deepseek-harness/plugin.mjs +77 -32
- package/app/plugins/grok/plugin.mjs +352 -84
- package/app/plugins/hermes/plugin.mjs +48 -3
- package/app/plugins/kimi-code/plugin.mjs +60 -15
- package/app/plugins/kiro-cli/plugin.mjs +60 -15
- package/app/plugins/omp/plugin.mjs +80 -35
- package/app/plugins/opencode/plugin.mjs +102 -57
- package/app/plugins/pi/plugin.mjs +113 -43
- package/app/plugins/qoder/plugin.mjs +70 -25
- package/app/plugins/qoder-cn/plugin.mjs +70 -25
- package/app/plugins/workbuddy/plugin.mjs +205 -46
- package/app/plugins/zcode/plugin.mjs +99 -29
- package/app/renderer-extension.js +944 -249
- 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.15.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.15.0","distribution":"npm","target":"macos-x64"}
|
package/app/console-server.mjs
CHANGED
|
@@ -3925,10 +3925,10 @@ var $ZodObject = /* @__PURE__ */ $constructor("$ZodObject", (inst, def) => {
|
|
|
3925
3925
|
const shape = def.shape;
|
|
3926
3926
|
const propValues = {};
|
|
3927
3927
|
for (const key in shape) {
|
|
3928
|
-
const
|
|
3929
|
-
if (
|
|
3928
|
+
const field2 = shape[key]._zod;
|
|
3929
|
+
if (field2.values) {
|
|
3930
3930
|
propValues[key] ?? (propValues[key] = /* @__PURE__ */ new Set());
|
|
3931
|
-
for (const v of
|
|
3931
|
+
for (const v of field2.values)
|
|
3932
3932
|
propValues[key].add(v);
|
|
3933
3933
|
}
|
|
3934
3934
|
}
|
|
@@ -15675,6 +15675,51 @@ var hostInteractionIdSchema = opaqueIdSchema.brand();
|
|
|
15675
15675
|
var threadPrewarmDiscardParamsSchema = external_exports.object({ threadId: hostThreadIdSchema });
|
|
15676
15676
|
var threadPrewarmDiscardResultSchema = external_exports.object({ discarded: external_exports.boolean() });
|
|
15677
15677
|
|
|
15678
|
+
// packages/shared-contracts/dist/thread-questions.js
|
|
15679
|
+
var field = external_exports.discriminatedUnion("type", [
|
|
15680
|
+
external_exports.object({
|
|
15681
|
+
id: external_exports.string().min(1),
|
|
15682
|
+
type: external_exports.literal("choice"),
|
|
15683
|
+
prompt: external_exports.string(),
|
|
15684
|
+
options: external_exports.array(external_exports.object({
|
|
15685
|
+
value: external_exports.string().min(1),
|
|
15686
|
+
label: external_exports.string(),
|
|
15687
|
+
description: external_exports.string().optional()
|
|
15688
|
+
})).min(1),
|
|
15689
|
+
multiple: external_exports.boolean(),
|
|
15690
|
+
allowOther: external_exports.boolean(),
|
|
15691
|
+
optional: external_exports.boolean()
|
|
15692
|
+
}),
|
|
15693
|
+
external_exports.object({
|
|
15694
|
+
id: external_exports.string().min(1),
|
|
15695
|
+
type: external_exports.literal("text"),
|
|
15696
|
+
prompt: external_exports.string(),
|
|
15697
|
+
multiline: external_exports.boolean(),
|
|
15698
|
+
secret: external_exports.literal(false),
|
|
15699
|
+
optional: external_exports.boolean(),
|
|
15700
|
+
placeholder: external_exports.string().optional(),
|
|
15701
|
+
prefill: external_exports.string().optional()
|
|
15702
|
+
})
|
|
15703
|
+
]);
|
|
15704
|
+
var threadQuestionSchema = external_exports.object({
|
|
15705
|
+
interactionId: external_exports.string().min(1),
|
|
15706
|
+
turnId: external_exports.string().min(1),
|
|
15707
|
+
title: external_exports.string().optional(),
|
|
15708
|
+
questions: external_exports.array(field).min(1)
|
|
15709
|
+
}).refine(({ questions }) => questions.some((q) => q.type === "choice" && q.multiple), {
|
|
15710
|
+
message: "Shared cards require at least one multi-select question"
|
|
15711
|
+
});
|
|
15712
|
+
var threadQuestionsListParamsSchema = external_exports.strictObject({ threadId: external_exports.string().min(1) });
|
|
15713
|
+
var threadQuestionsResultSchema = external_exports.object({ questions: external_exports.array(threadQuestionSchema) });
|
|
15714
|
+
var threadQuestionRespondParamsSchema = external_exports.strictObject({
|
|
15715
|
+
threadId: external_exports.string().min(1),
|
|
15716
|
+
turnId: external_exports.string().min(1),
|
|
15717
|
+
interactionId: external_exports.string().min(1),
|
|
15718
|
+
answers: external_exports.record(external_exports.string(), external_exports.array(external_exports.string())),
|
|
15719
|
+
cancelled: external_exports.boolean().default(false)
|
|
15720
|
+
});
|
|
15721
|
+
var threadQuestionRespondResultSchema = external_exports.object({ accepted: external_exports.literal(true) });
|
|
15722
|
+
|
|
15678
15723
|
// packages/shared-contracts/dist/console.js
|
|
15679
15724
|
var consoleAnnouncementSchema = external_exports.strictObject({
|
|
15680
15725
|
title: external_exports.string().trim().min(1).max(200),
|
|
@@ -17493,9 +17538,9 @@ function parseAnnouncement(document) {
|
|
|
17493
17538
|
const fields = /* @__PURE__ */ new Map();
|
|
17494
17539
|
for (const line of (match[1] ?? "").split("\n")) {
|
|
17495
17540
|
if (!line.trim()) continue;
|
|
17496
|
-
const
|
|
17497
|
-
if (!
|
|
17498
|
-
fields.set(
|
|
17541
|
+
const field2 = /^(enabled|title|type):[ \t]*(.+?)\s*$/u.exec(line);
|
|
17542
|
+
if (!field2?.[1] || !field2[2] || fields.has(field2[1])) return null;
|
|
17543
|
+
fields.set(field2[1], field2[2]);
|
|
17499
17544
|
}
|
|
17500
17545
|
if (fields.get("enabled") !== "true") return null;
|
|
17501
17546
|
let title = fields.get("title");
|