@codexhost/cli-darwin-x64 0.9.1 → 0.10.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/THIRD_PARTY_NOTICES.txt +0 -4
- package/app/codexhost-distribution.json +1 -1
- package/app/desktop-controller.mjs +304 -197
- package/app/host-runtime.mjs +1163 -666
- package/app/plugins/antigravity/plugin.mjs +73 -3
- package/app/plugins/claude-code/plugin.mjs +446 -48
- package/app/plugins/codebuddy/plugin.mjs +159 -6
- package/app/plugins/cursor-cli/plugin.mjs +207 -53
- package/app/plugins/deepseek-harness/plugin.mjs +89 -21
- package/app/plugins/enabled.json +2 -1
- package/app/plugins/grok/plugin.mjs +449 -160
- package/app/plugins/hermes/plugin.mjs +217 -63
- package/app/plugins/kimi-code/manifest.json +11 -0
- package/app/plugins/kimi-code/plugin.mjs +24226 -0
- package/app/plugins/kiro-cli/plugin.mjs +312 -65
- package/app/plugins/omp/plugin.mjs +313 -67
- package/app/plugins/opencode/plugin.mjs +73 -3
- package/app/plugins/pi/plugin.mjs +3029 -1671
- package/app/plugins/qoder/plugin.mjs +334 -187
- package/app/plugins/qoder-cn/plugin.mjs +334 -187
- package/app/plugins/workbuddy/plugin.mjs +158 -6
- package/app/renderer-extension.js +5580 -3301
- package/bin/codexhost +0 -0
- package/libexec/codexhost-shim +0 -0
- package/libexec/codexhost-updater +0 -0
- package/package.json +1 -1
- package/licenses/opencodex-LICENSE.txt +0 -21
|
@@ -14528,6 +14528,61 @@ function date4(params) {
|
|
|
14528
14528
|
// ../../../node_modules/zod/v4/classic/external.js
|
|
14529
14529
|
config(en_default());
|
|
14530
14530
|
|
|
14531
|
+
// ../../shared-contracts/dist/credential-imports.js
|
|
14532
|
+
var credentialSourceSchema = external_exports.object({
|
|
14533
|
+
id: external_exports.string().min(1).max(256),
|
|
14534
|
+
harnessId: external_exports.string().min(1),
|
|
14535
|
+
label: external_exports.string().min(1).max(512),
|
|
14536
|
+
provider: external_exports.enum(["openai-codex", "xai"])
|
|
14537
|
+
}).strict();
|
|
14538
|
+
var credentialImportNameSchema = external_exports.string().regex(/^[a-z][a-z0-9-]{0,47}$/);
|
|
14539
|
+
var credentialImportRecordSchema = external_exports.object({
|
|
14540
|
+
name: credentialImportNameSchema,
|
|
14541
|
+
source: credentialSourceSchema,
|
|
14542
|
+
importedAt: external_exports.string()
|
|
14543
|
+
}).strict();
|
|
14544
|
+
var credentialImportsRequestSchema = external_exports.discriminatedUnion("action", [
|
|
14545
|
+
external_exports.object({ action: external_exports.literal("list") }).strict(),
|
|
14546
|
+
external_exports.object({
|
|
14547
|
+
action: external_exports.literal("import"),
|
|
14548
|
+
sourceId: external_exports.string().min(1).max(256),
|
|
14549
|
+
name: credentialImportNameSchema,
|
|
14550
|
+
confirmed: external_exports.literal(true)
|
|
14551
|
+
}).strict(),
|
|
14552
|
+
external_exports.object({
|
|
14553
|
+
action: external_exports.literal("reimport"),
|
|
14554
|
+
sourceId: external_exports.string().min(1).max(256),
|
|
14555
|
+
name: credentialImportNameSchema,
|
|
14556
|
+
confirmed: external_exports.literal(true)
|
|
14557
|
+
}).strict(),
|
|
14558
|
+
external_exports.object({
|
|
14559
|
+
action: external_exports.literal("remove"),
|
|
14560
|
+
name: credentialImportNameSchema,
|
|
14561
|
+
confirmed: external_exports.literal(true)
|
|
14562
|
+
}).strict()
|
|
14563
|
+
]);
|
|
14564
|
+
var credentialOtherLoginSchema = external_exports.object({
|
|
14565
|
+
provider: external_exports.string().min(1).max(128),
|
|
14566
|
+
type: external_exports.enum(["oauth", "api_key", "unknown"]),
|
|
14567
|
+
/** Best-effort account label (e.g. the email in a Codex token), derived locally when present. */
|
|
14568
|
+
label: external_exports.string().min(1).max(512).optional(),
|
|
14569
|
+
/** Recognized credential vendor, derived from the OAuth token issuer. Absent when unknown. */
|
|
14570
|
+
vendor: external_exports.enum(["openai-codex", "xai"]).optional()
|
|
14571
|
+
}).strict();
|
|
14572
|
+
var credentialImportsResultSchema = external_exports.object({
|
|
14573
|
+
sources: external_exports.array(credentialSourceSchema),
|
|
14574
|
+
targets: external_exports.array(external_exports.object({
|
|
14575
|
+
harnessId: external_exports.string(),
|
|
14576
|
+
providers: external_exports.array(external_exports.enum(["openai-codex", "xai"])),
|
|
14577
|
+
imports: external_exports.array(credentialImportRecordSchema),
|
|
14578
|
+
others: external_exports.array(credentialOtherLoginSchema).default([])
|
|
14579
|
+
}).strict())
|
|
14580
|
+
}).strict();
|
|
14581
|
+
var credentialImportsParamsSchema = external_exports.object({
|
|
14582
|
+
targetHarnessId: external_exports.string().min(1).max(128).optional(),
|
|
14583
|
+
request: credentialImportsRequestSchema
|
|
14584
|
+
}).strict();
|
|
14585
|
+
|
|
14531
14586
|
// ../../shared-contracts/dist/version.js
|
|
14532
14587
|
var WORKSPACE_CONTRACT_VERSION = 1;
|
|
14533
14588
|
|
|
@@ -15231,10 +15286,21 @@ var harnessCommandDescriptorSchema = external_exports.object({
|
|
|
15231
15286
|
invocation: commandInvocationSchema,
|
|
15232
15287
|
label: commandLabelSchema,
|
|
15233
15288
|
description: commandDescriptionSchema.optional(),
|
|
15234
|
-
argumentMode: external_exports.enum(["none", "text"])
|
|
15289
|
+
argumentMode: external_exports.enum(["none", "text"]),
|
|
15290
|
+
/**
|
|
15291
|
+
* Native distinction reported by the Harness. Omitted when the Harness does
|
|
15292
|
+
* not tell skills and commands apart; consumers treat that as "command".
|
|
15293
|
+
*/
|
|
15294
|
+
kind: external_exports.enum(["command", "skill"]).optional()
|
|
15235
15295
|
}).strict();
|
|
15236
15296
|
var harnessCommandCatalogSchema = external_exports.object({
|
|
15237
|
-
commands: external_exports.array(harnessCommandDescriptorSchema)
|
|
15297
|
+
commands: external_exports.array(harnessCommandDescriptorSchema),
|
|
15298
|
+
/**
|
|
15299
|
+
* `live` when the catalog includes what a native Session reports for its
|
|
15300
|
+
* workspace (custom commands, skills); `static` for Adapter built-ins only.
|
|
15301
|
+
* Omitted by Adapters; set by the Host on inspection results.
|
|
15302
|
+
*/
|
|
15303
|
+
source: external_exports.enum(["live", "static"]).optional()
|
|
15238
15304
|
}).strict().superRefine((catalog, context) => {
|
|
15239
15305
|
const ids = /* @__PURE__ */ new Set();
|
|
15240
15306
|
for (const [index, command] of catalog.commands.entries()) {
|
|
@@ -15248,7 +15314,11 @@ var harnessCommandCatalogSchema = external_exports.object({
|
|
|
15248
15314
|
ids.add(command.id);
|
|
15249
15315
|
}
|
|
15250
15316
|
});
|
|
15251
|
-
var harnessCommandsInspectParamsSchema = external_exports.object({
|
|
15317
|
+
var harnessCommandsInspectParamsSchema = external_exports.object({
|
|
15318
|
+
harnessId: harnessIdSchema,
|
|
15319
|
+
/** Workspace of a draft without a Thread, for its live catalog when known. */
|
|
15320
|
+
cwd: external_exports.string().min(1).optional()
|
|
15321
|
+
}).strict();
|
|
15252
15322
|
var threadCommandsInspectParamsSchema = external_exports.object({
|
|
15253
15323
|
threadId: hostThreadIdSchema
|
|
15254
15324
|
}).strict();
|