@karlorz/codexhost-cli-win32-x64 0.17.4-4 → 0.17.4-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 +1 -1
- package/app/console-web.js +20 -15
- package/app/cpa-live-voice-hook.js +1 -1
- package/app/desktop-controller.mjs +1 -1
- package/app/host-runtime.mjs +326 -103
- package/app/plugins/antigravity/plugin.mjs +1 -1
- package/app/plugins/claude-code/plugin.mjs +1 -1
- package/app/plugins/codebuddy/plugin.mjs +1 -1
- package/app/plugins/codex-usage/plugin.mjs +1 -1
- package/app/plugins/copilot/plugin.mjs +1 -1
- package/app/plugins/cursor-cli/plugin.mjs +1 -1
- package/app/plugins/deepseek-harness/plugin.mjs +1 -1
- package/app/plugins/devin/plugin.mjs +1 -1
- package/app/plugins/grok/plugin.mjs +1 -1
- package/app/plugins/hermes/plugin.mjs +1 -1
- package/app/plugins/kimi-code/plugin.mjs +1 -1
- package/app/plugins/kiro-cli/plugin.mjs +1 -1
- package/app/plugins/omp/plugin.mjs +1 -1
- package/app/plugins/opencode/plugin.mjs +1 -1
- package/app/plugins/pi/plugin.mjs +1 -1
- package/app/plugins/qoder/plugin.mjs +1 -1
- package/app/plugins/qoder-cn/plugin.mjs +1 -1
- package/app/plugins/qwen-code/plugin.mjs +1 -1
- package/app/plugins/workbuddy/plugin.mjs +1 -1
- package/app/plugins/zcode/plugin.mjs +1 -1
- package/app/renderer-extension.js +20 -15
- 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
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 @karlorz/codexhost-cli@0.17.4-
|
|
10
|
+
npm install -g @karlorz/codexhost-cli@0.17.4-5
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
Do not install this package directly. npm selects it through the optional dependencies of `@karlorz/codexhost-cli`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"schemaVersion":1,"version":"0.17.4-
|
|
1
|
+
{"schemaVersion":1,"version":"0.17.4-5","distribution":"npm","target":"windows-x64"}
|
package/app/console-server.mjs
CHANGED
|
@@ -15739,7 +15739,7 @@ var realtimeCallResponseSchema = external_exports.object({
|
|
|
15739
15739
|
// packages/shared-contracts/dist/enrollment.js
|
|
15740
15740
|
var enrollmentAllowlistEntrySchema = external_exports.strictObject({
|
|
15741
15741
|
threadId: external_exports.string().trim().min(1).max(128),
|
|
15742
|
-
verbs: external_exports.array(external_exports.enum(["read", "watch", "send"])).min(1).max(
|
|
15742
|
+
verbs: external_exports.array(external_exports.enum(["read", "watch", "send", "cancel"])).min(1).max(4)
|
|
15743
15743
|
});
|
|
15744
15744
|
var enrollmentPublicViewSchema = external_exports.strictObject({
|
|
15745
15745
|
enrollmentId: external_exports.string().trim().min(1).max(128),
|
package/app/console-web.js
CHANGED
|
@@ -14960,7 +14960,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14960
14960
|
var ENROLLMENT_REVOKE_METHOD = "codexhost/enrollment/revoke";
|
|
14961
14961
|
var enrollmentAllowlistEntrySchema = external_exports.strictObject({
|
|
14962
14962
|
threadId: external_exports.string().trim().min(1).max(128),
|
|
14963
|
-
verbs: external_exports.array(external_exports.enum(["read", "watch", "send"])).min(1).max(
|
|
14963
|
+
verbs: external_exports.array(external_exports.enum(["read", "watch", "send", "cancel"])).min(1).max(4)
|
|
14964
14964
|
});
|
|
14965
14965
|
var enrollmentPublicViewSchema = external_exports.strictObject({
|
|
14966
14966
|
enrollmentId: external_exports.string().trim().min(1).max(128),
|
|
@@ -21658,7 +21658,7 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
21658
21658
|
`;
|
|
21659
21659
|
|
|
21660
21660
|
// src/settings/enrollment.css
|
|
21661
|
-
var enrollment_default = ".settings-enrollment-header {\n display: flex;\n align-items:
|
|
21661
|
+
var enrollment_default = ".settings-enrollment-header {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: 24px;\n margin-bottom: 8px;\n}\n.settings-enrollment-copy {\n min-width: 0;\n flex: 1 1 auto;\n}\n.settings-enrollment-title {\n display: flex;\n align-items: center;\n gap: 6px;\n}\n.settings-enrollment-header .settings-section-label {\n padding-bottom: 0;\n}\n.settings-enrollment-header .settings-page-description {\n margin: 5px 0 0;\n}\n.settings-enrollment-status {\n min-height: 1.2em;\n margin: 0 0 8px;\n color: light-dark(#676773, #a5a5af);\n font-size: 12px;\n}\n.settings-enrollment-status.is-error {\n color: light-dark(#8a3b32, #f0b4ae);\n}\n.settings-enrollment-table-wrap {\n border: 1px solid light-dark(#e2e2e8, #36363b);\n border-radius: 11px;\n overflow-x: auto;\n container-type: inline-size;\n}\n.settings-enrollment-table {\n width: 100%;\n border-collapse: collapse;\n font-size: 12px;\n}\n.settings-enrollment-table th {\n padding: 12px 16px;\n color: light-dark(#676773, #a5a5af);\n background: light-dark(#f8f8fa, #202024);\n font-size: 11px;\n font-weight: 500;\n text-align: left;\n}\n.settings-enrollment-table th:last-child,\n.settings-enrollment-actions {\n text-align: right;\n}\n.settings-enrollment-table td {\n padding: 14px 16px;\n vertical-align: middle;\n border-top: 1px solid var(--settings-divider, light-dark(#ececf0, #2e2e33));\n}\n.settings-enrollment-executable,\n.settings-enrollment-allowlist {\n color: light-dark(#676773, #a5a5af);\n font-size: 11px;\n word-break: break-all;\n}\n.settings-enrollment-empty {\n color: light-dark(#676773, #a5a5af);\n text-align: center;\n}\n\n@container (max-width: 720px) {\n .settings-enrollment-table,\n .settings-enrollment-table tbody {\n display: block;\n }\n .settings-enrollment-table thead {\n display: none;\n }\n .settings-enrollment-row {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n gap: 10px;\n padding: 16px;\n border-top: 1px solid var(--settings-divider, light-dark(#ececf0, #2e2e33));\n }\n .settings-enrollment-row:first-child {\n border-top: 0;\n }\n .settings-enrollment-table .settings-enrollment-row > td {\n display: block;\n padding: 0;\n border: 0;\n text-align: left;\n }\n .settings-enrollment-actions {\n text-align: left;\n }\n}\n";
|
|
21662
21662
|
|
|
21663
21663
|
// src/settings/core.ts
|
|
21664
21664
|
var RendererSettingsPageScope = class {
|
|
@@ -22103,7 +22103,7 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
22103
22103
|
description: "Clients paired with this Mac Host, like SSH authorized keys. Tokens are never shown. Pair from an authorized Host session with codexhost enroll. enroll serve is a separate CLI process, not a Desktop service.",
|
|
22104
22104
|
helpLabel: "About client enrollment",
|
|
22105
22105
|
help: Object.freeze([
|
|
22106
|
-
"Machine pairing stays valid until you revoke it. Session pairing expires after 24 hours.",
|
|
22106
|
+
"Machine pairing stays valid until the recorded expiry unless you revoke it sooner. Session pairing expires after 24 hours.",
|
|
22107
22107
|
"Revoke removes the Host record and the local client store on this Mac. A Tailscale handoff on another machine fails closed on the next request.",
|
|
22108
22108
|
"This page does not start or stop enroll serve. Run that CLI in a terminal when a tailnet listener is required."
|
|
22109
22109
|
]),
|
|
@@ -22116,7 +22116,7 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
22116
22116
|
confirmRevoke: "Confirm revoke",
|
|
22117
22117
|
pairingMachine: "Machine",
|
|
22118
22118
|
pairingSession: "Session",
|
|
22119
|
-
|
|
22119
|
+
validUntilUnlessRevoked: "Valid until %s unless revoked earlier",
|
|
22120
22120
|
revoke: "Revoke",
|
|
22121
22121
|
revoking: "Revoking\u2026"
|
|
22122
22122
|
}),
|
|
@@ -22433,7 +22433,7 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
22433
22433
|
description: "\u5DF2\u4E0E\u672C\u673A Host \u914D\u5BF9\u7684\u5BA2\u6237\u7AEF\uFF0C\u7C7B\u4F3C SSH authorized keys\u3002\u9875\u9762\u4ECE\u4E0D\u663E\u793A\u4EE4\u724C\u3002\u5728\u5DF2\u6388\u6743\u7684 Host \u4F1A\u8BDD\u4E2D\u8FD0\u884C codexhost enroll \u8FDB\u884C\u914D\u5BF9\u3002enroll serve \u662F\u72EC\u7ACB CLI \u8FDB\u7A0B\uFF0C\u4E0D\u662F\u684C\u9762\u670D\u52A1\u3002",
|
|
22434
22434
|
helpLabel: "\u5173\u4E8E\u5BA2\u6237\u7AEF\u767B\u8BB0",
|
|
22435
22435
|
help: Object.freeze([
|
|
22436
|
-
"\u673A\u5668\u914D\u5BF9\u5728\u64A4\u9500\
|
|
22436
|
+
"\u673A\u5668\u914D\u5BF9\u5728\u8BB0\u5F55\u7684\u5230\u671F\u65E5\u4E4B\u524D\u6709\u6548\uFF0C\u63D0\u524D\u64A4\u9500\u5219\u7ACB\u5373\u5931\u6548\u3002\u4F1A\u8BDD\u914D\u5BF9 24 \u5C0F\u65F6\u540E\u8FC7\u671F\u3002",
|
|
22437
22437
|
"\u64A4\u9500\u4F1A\u5220\u9664\u672C\u673A Host \u8BB0\u5F55\u548C\u672C\u5730\u5BA2\u6237\u7AEF\u5B58\u50A8\u3002\u53E6\u4E00\u53F0\u673A\u5668\u4E0A\u7684 Tailscale \u4EA4\u63A5\u4F1A\u5728\u4E0B\u6B21\u8BF7\u6C42\u65F6\u5931\u8D25\u9000\u51FA\u3002",
|
|
22438
22438
|
"\u6B64\u9875\u4E0D\u4F1A\u542F\u52A8\u6216\u505C\u6B62 enroll serve\u3002\u9700\u8981 tailnet \u76D1\u542C\u65F6\u5728\u7EC8\u7AEF\u8FD0\u884C\u8BE5 CLI\u3002"
|
|
22439
22439
|
]),
|
|
@@ -22446,7 +22446,7 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
22446
22446
|
confirmRevoke: "\u786E\u8BA4\u64A4\u9500",
|
|
22447
22447
|
pairingMachine: "\u673A\u5668",
|
|
22448
22448
|
pairingSession: "\u4F1A\u8BDD",
|
|
22449
|
-
|
|
22449
|
+
validUntilUnlessRevoked: "\u6709\u6548\u81F3 %s\uFF0C\u63D0\u524D\u64A4\u9500\u5219\u5931\u6548",
|
|
22450
22450
|
revoke: "\u64A4\u9500",
|
|
22451
22451
|
revoking: "\u6B63\u5728\u64A4\u9500\u2026"
|
|
22452
22452
|
}),
|
|
@@ -30329,10 +30329,12 @@ ${messages.harnessVersionLatest}: ${harnessVersionLabel(version2.state, messages
|
|
|
30329
30329
|
return error51 instanceof Error && error51.message ? error51.message : fallback;
|
|
30330
30330
|
}
|
|
30331
30331
|
function formatExpiry(view, messages) {
|
|
30332
|
-
if (view.pairing === "machine") return messages.enrollment.untilRevoked;
|
|
30333
30332
|
const parsed = Date.parse(view.expiresAt);
|
|
30334
|
-
|
|
30335
|
-
|
|
30333
|
+
const formatted = Number.isFinite(parsed) ? new Date(parsed).toLocaleString(messages.locale) : view.expiresAt;
|
|
30334
|
+
if (view.pairing === "machine") {
|
|
30335
|
+
return messages.enrollment.validUntilUnlessRevoked.replace("%s", formatted);
|
|
30336
|
+
}
|
|
30337
|
+
return formatted;
|
|
30336
30338
|
}
|
|
30337
30339
|
function formatAllowlist(view) {
|
|
30338
30340
|
if (view.allowlist.length === 0) return "\u2014";
|
|
@@ -30348,22 +30350,25 @@ ${messages.harnessVersionLatest}: ${harnessVersionLabel(version2.state, messages
|
|
|
30348
30350
|
const copy = messages.enrollment;
|
|
30349
30351
|
const header = document2.createElement("div");
|
|
30350
30352
|
header.className = "settings-enrollment-header";
|
|
30351
|
-
const
|
|
30353
|
+
const copyBlock = document2.createElement("div");
|
|
30354
|
+
copyBlock.className = "settings-enrollment-copy";
|
|
30355
|
+
const title = document2.createElement("div");
|
|
30356
|
+
title.className = "settings-enrollment-title";
|
|
30357
|
+
const heading = document2.createElement("h1");
|
|
30352
30358
|
heading.className = "settings-section-label";
|
|
30353
30359
|
heading.textContent = messages.pageLabels.enrollment;
|
|
30354
|
-
|
|
30360
|
+
title.append(heading, createHelpTooltip(document2, copy.helpLabel, copy.help));
|
|
30355
30361
|
const description = document2.createElement("p");
|
|
30356
30362
|
description.className = "settings-page-description";
|
|
30357
30363
|
description.textContent = copy.description;
|
|
30358
|
-
|
|
30359
|
-
toolbar.className = "settings-enrollment-toolbar";
|
|
30364
|
+
copyBlock.append(title, description);
|
|
30360
30365
|
const refresh = document2.createElement("button");
|
|
30361
30366
|
refresh.type = "button";
|
|
30362
30367
|
refresh.className = "settings-icon-button";
|
|
30363
30368
|
refresh.title = copy.refresh;
|
|
30364
30369
|
refresh.setAttribute("aria-label", copy.refresh);
|
|
30365
30370
|
refresh.append(createRendererSettingsIcon("refresh", 16));
|
|
30366
|
-
|
|
30371
|
+
header.append(copyBlock, refresh);
|
|
30367
30372
|
const status = document2.createElement("p");
|
|
30368
30373
|
status.className = "settings-enrollment-status";
|
|
30369
30374
|
status.setAttribute("aria-live", "polite");
|
|
@@ -30387,7 +30392,7 @@ ${messages.harnessVersionLatest}: ${harnessVersionLabel(version2.state, messages
|
|
|
30387
30392
|
const tbody = document2.createElement("tbody");
|
|
30388
30393
|
table.append(thead, tbody);
|
|
30389
30394
|
tableWrap.append(table);
|
|
30390
|
-
context.content.append(header,
|
|
30395
|
+
context.content.append(header, status, tableWrap);
|
|
30391
30396
|
const client = getClient();
|
|
30392
30397
|
const renderEmpty = (message2) => {
|
|
30393
30398
|
tbody.replaceChildren();
|
|
@@ -14867,7 +14867,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14867
14867
|
// ../shared-contracts/dist/enrollment.js
|
|
14868
14868
|
var enrollmentAllowlistEntrySchema = external_exports.strictObject({
|
|
14869
14869
|
threadId: external_exports.string().trim().min(1).max(128),
|
|
14870
|
-
verbs: external_exports.array(external_exports.enum(["read", "watch", "send"])).min(1).max(
|
|
14870
|
+
verbs: external_exports.array(external_exports.enum(["read", "watch", "send", "cancel"])).min(1).max(4)
|
|
14871
14871
|
});
|
|
14872
14872
|
var enrollmentPublicViewSchema = external_exports.strictObject({
|
|
14873
14873
|
enrollmentId: external_exports.string().trim().min(1).max(128),
|
|
@@ -15155,7 +15155,7 @@ var realtimeCallResponseSchema = external_exports.object({
|
|
|
15155
15155
|
// packages/shared-contracts/dist/enrollment.js
|
|
15156
15156
|
var enrollmentAllowlistEntrySchema = external_exports.strictObject({
|
|
15157
15157
|
threadId: external_exports.string().trim().min(1).max(128),
|
|
15158
|
-
verbs: external_exports.array(external_exports.enum(["read", "watch", "send"])).min(1).max(
|
|
15158
|
+
verbs: external_exports.array(external_exports.enum(["read", "watch", "send", "cancel"])).min(1).max(4)
|
|
15159
15159
|
});
|
|
15160
15160
|
var enrollmentPublicViewSchema = external_exports.strictObject({
|
|
15161
15161
|
enrollmentId: external_exports.string().trim().min(1).max(128),
|