@liberseek/boft-cli-linux-x64 0.8.4 → 0.8.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 +59 -8
- package/app/console-web.js +278 -63
- package/app/desktop-controller.mjs +641 -33
- package/app/host-runtime.mjs +1811 -685
- package/app/plugins/antigravity/plugin.mjs +346 -54
- package/app/plugins/claude-code/plugin.mjs +391 -259
- package/app/plugins/codebuddy/plugin.mjs +231 -134
- package/app/plugins/codex-usage/plugin.mjs +82 -32
- package/app/plugins/copilot/plugin.mjs +107 -57
- package/app/plugins/cursor-cli/plugin.mjs +193 -131
- package/app/plugins/deepseek-harness/plugin.mjs +112 -42
- package/app/plugins/grok/plugin.mjs +371 -115
- package/app/plugins/hermes/plugin.mjs +54 -4
- package/app/plugins/kimi-code/plugin.mjs +69 -19
- package/app/plugins/kiro-cli/plugin.mjs +69 -19
- package/app/plugins/muse/plugin.mjs +59 -9
- package/app/plugins/omp/plugin.mjs +89 -39
- package/app/plugins/opencode/plugin.mjs +111 -61
- package/app/plugins/pi/plugin.mjs +185 -68
- package/app/plugins/qoder/plugin.mjs +79 -29
- package/app/plugins/qoder-cn/plugin.mjs +79 -29
- package/app/plugins/workbuddy/plugin.mjs +231 -134
- package/app/plugins/zcode/plugin.mjs +108 -33
- package/app/renderer-extension.js +2634 -329
- package/bin/boft +0 -0
- package/libexec/boft-shim +0 -0
- package/libexec/boft-updater +0 -0
- package/package.json +1 -1
|
@@ -3266,10 +3266,10 @@
|
|
|
3266
3266
|
const shape = def.shape;
|
|
3267
3267
|
const propValues = {};
|
|
3268
3268
|
for (const key in shape) {
|
|
3269
|
-
const
|
|
3270
|
-
if (
|
|
3269
|
+
const field2 = shape[key]._zod;
|
|
3270
|
+
if (field2.values) {
|
|
3271
3271
|
propValues[key] ?? (propValues[key] = /* @__PURE__ */ new Set());
|
|
3272
|
-
for (const v of
|
|
3272
|
+
for (const v of field2.values)
|
|
3273
3273
|
propValues[key].add(v);
|
|
3274
3274
|
}
|
|
3275
3275
|
}
|
|
@@ -14952,6 +14952,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14952
14952
|
cachedInputTokens: count,
|
|
14953
14953
|
cacheWriteInputTokens: count,
|
|
14954
14954
|
cacheKnownInputTokens: count,
|
|
14955
|
+
cacheHitCachedInputTokens: count,
|
|
14956
|
+
cacheHitInputTokens: count,
|
|
14955
14957
|
outputTokens: count,
|
|
14956
14958
|
reasoningOutputTokens: count,
|
|
14957
14959
|
/** USD at the public price, summed over the priced requests only. */
|
|
@@ -15059,6 +15061,53 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15059
15061
|
var threadPrewarmDiscardParamsSchema = external_exports.object({ threadId: hostThreadIdSchema });
|
|
15060
15062
|
var threadPrewarmDiscardResultSchema = external_exports.object({ discarded: external_exports.boolean() });
|
|
15061
15063
|
|
|
15064
|
+
// ../shared-contracts/dist/thread-questions.js
|
|
15065
|
+
var THREAD_QUESTIONS_LIST_METHOD = "codexhost/thread/questions/list";
|
|
15066
|
+
var THREAD_QUESTION_RESPOND_METHOD = "codexhost/thread/question/respond";
|
|
15067
|
+
var field = external_exports.discriminatedUnion("type", [
|
|
15068
|
+
external_exports.object({
|
|
15069
|
+
id: external_exports.string().min(1),
|
|
15070
|
+
type: external_exports.literal("choice"),
|
|
15071
|
+
prompt: external_exports.string(),
|
|
15072
|
+
options: external_exports.array(external_exports.object({
|
|
15073
|
+
value: external_exports.string().min(1),
|
|
15074
|
+
label: external_exports.string(),
|
|
15075
|
+
description: external_exports.string().optional()
|
|
15076
|
+
})).min(1),
|
|
15077
|
+
multiple: external_exports.boolean(),
|
|
15078
|
+
allowOther: external_exports.boolean(),
|
|
15079
|
+
optional: external_exports.boolean()
|
|
15080
|
+
}),
|
|
15081
|
+
external_exports.object({
|
|
15082
|
+
id: external_exports.string().min(1),
|
|
15083
|
+
type: external_exports.literal("text"),
|
|
15084
|
+
prompt: external_exports.string(),
|
|
15085
|
+
multiline: external_exports.boolean(),
|
|
15086
|
+
secret: external_exports.literal(false),
|
|
15087
|
+
optional: external_exports.boolean(),
|
|
15088
|
+
placeholder: external_exports.string().optional(),
|
|
15089
|
+
prefill: external_exports.string().optional()
|
|
15090
|
+
})
|
|
15091
|
+
]);
|
|
15092
|
+
var threadQuestionSchema = external_exports.object({
|
|
15093
|
+
interactionId: external_exports.string().min(1),
|
|
15094
|
+
turnId: external_exports.string().min(1),
|
|
15095
|
+
title: external_exports.string().optional(),
|
|
15096
|
+
questions: external_exports.array(field).min(1)
|
|
15097
|
+
}).refine(({ questions }) => questions.some((q) => q.type === "choice" && q.multiple), {
|
|
15098
|
+
message: "Shared cards require at least one multi-select question"
|
|
15099
|
+
});
|
|
15100
|
+
var threadQuestionsListParamsSchema = external_exports.strictObject({ threadId: external_exports.string().min(1) });
|
|
15101
|
+
var threadQuestionsResultSchema = external_exports.object({ questions: external_exports.array(threadQuestionSchema) });
|
|
15102
|
+
var threadQuestionRespondParamsSchema = external_exports.strictObject({
|
|
15103
|
+
threadId: external_exports.string().min(1),
|
|
15104
|
+
turnId: external_exports.string().min(1),
|
|
15105
|
+
interactionId: external_exports.string().min(1),
|
|
15106
|
+
answers: external_exports.record(external_exports.string(), external_exports.array(external_exports.string())),
|
|
15107
|
+
cancelled: external_exports.boolean().default(false)
|
|
15108
|
+
});
|
|
15109
|
+
var threadQuestionRespondResultSchema = external_exports.object({ accepted: external_exports.literal(true) });
|
|
15110
|
+
|
|
15062
15111
|
// ../shared-contracts/dist/harness-plugins.js
|
|
15063
15112
|
var HARNESS_PLUGIN_MANIFEST_MAX_BYTES = 32 * 1024;
|
|
15064
15113
|
var HARNESS_PLUGIN_ICON_MAX_BYTES = 128 * 1024;
|
|
@@ -15462,7 +15511,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15462
15511
|
external_exports.null()
|
|
15463
15512
|
]);
|
|
15464
15513
|
function hasNoCircularReferences(value) {
|
|
15465
|
-
const
|
|
15514
|
+
const ancestors2 = /* @__PURE__ */ new WeakSet();
|
|
15466
15515
|
const stack = [{ value, leaving: false }];
|
|
15467
15516
|
try {
|
|
15468
15517
|
while (stack.length > 0) {
|
|
@@ -15470,14 +15519,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15470
15519
|
if (!frame)
|
|
15471
15520
|
break;
|
|
15472
15521
|
if (frame.leaving) {
|
|
15473
|
-
|
|
15522
|
+
ancestors2.delete(frame.value);
|
|
15474
15523
|
continue;
|
|
15475
15524
|
}
|
|
15476
15525
|
if (typeof frame.value !== "object" || frame.value === null)
|
|
15477
15526
|
continue;
|
|
15478
|
-
if (
|
|
15527
|
+
if (ancestors2.has(frame.value))
|
|
15479
15528
|
return false;
|
|
15480
|
-
|
|
15529
|
+
ancestors2.add(frame.value);
|
|
15481
15530
|
stack.push({ value: frame.value, leaving: true });
|
|
15482
15531
|
for (const child of Object.values(frame.value)) {
|
|
15483
15532
|
stack.push({ value: child, leaving: false });
|
|
@@ -15844,7 +15893,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15844
15893
|
harnessId: harnessPluginIdSchema,
|
|
15845
15894
|
model: harnessModelRefSchema.optional(),
|
|
15846
15895
|
thinkingOptionId: harnessThinkingOptionIdSchema.optional(),
|
|
15847
|
-
permissionModeId: harnessPermissionModeIdSchema.optional()
|
|
15896
|
+
permissionModeId: harnessPermissionModeIdSchema.optional(),
|
|
15897
|
+
/** A draft prewarm create: stays unsubmitted until the user's first Turn.
|
|
15898
|
+
* Desktop forwards only the Model of a main-process prewarm to thread/start. */
|
|
15899
|
+
prewarm: external_exports.literal(true).optional()
|
|
15848
15900
|
}).strict();
|
|
15849
15901
|
function encodeHarnessPluginRoute(route) {
|
|
15850
15902
|
const parsed = harnessPluginRouteSchema.parse(route);
|
|
@@ -16349,14 +16401,31 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16349
16401
|
if (!ownerWindow.document || !ownerWindow.location) return null;
|
|
16350
16402
|
const page = new URL(ownerWindow.location.href);
|
|
16351
16403
|
const urls = /* @__PURE__ */ new Set();
|
|
16352
|
-
|
|
16353
|
-
|
|
16404
|
+
const catalog = Reflect.get(ownerWindow, "__codexhostLoadedModulesV1");
|
|
16405
|
+
let sources;
|
|
16406
|
+
if (catalog !== void 0) {
|
|
16407
|
+
if (typeof catalog !== "object" || catalog === null || !("complete" in catalog) || catalog.complete !== true || !("documentUrl" in catalog) || catalog.documentUrl !== page.href || !("urls" in catalog) || !Array.isArray(catalog.urls) || catalog.urls.length > 4096 || catalog.urls.some((url2) => typeof url2 !== "string"))
|
|
16408
|
+
throw new Error("Codex loaded module catalog is unavailable in this window");
|
|
16409
|
+
sources = catalog.urls;
|
|
16410
|
+
} else {
|
|
16411
|
+
sources = [...ownerWindow.document.querySelectorAll('link[rel="modulepreload"][href]')].map(
|
|
16412
|
+
(link) => link.getAttribute("href") ?? ""
|
|
16413
|
+
);
|
|
16414
|
+
}
|
|
16415
|
+
for (const source of sources) {
|
|
16416
|
+
let url2;
|
|
16417
|
+
try {
|
|
16418
|
+
url2 = new URL(source, page);
|
|
16419
|
+
} catch {
|
|
16420
|
+
continue;
|
|
16421
|
+
}
|
|
16354
16422
|
if (url2.protocol === page.protocol && url2.host === page.host && url2.pathname.endsWith(".js") && !url2.search && !url2.hash)
|
|
16355
16423
|
urls.add(url2.href);
|
|
16356
16424
|
}
|
|
16357
16425
|
const candidates = [...urls].sort(
|
|
16358
16426
|
(a, b) => Number(b.includes("/app-shared-")) - Number(a.includes("/app-shared-"))
|
|
16359
16427
|
);
|
|
16428
|
+
const matches = /* @__PURE__ */ new Set();
|
|
16360
16429
|
for (const url2 of candidates) {
|
|
16361
16430
|
let module;
|
|
16362
16431
|
try {
|
|
@@ -16364,11 +16433,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16364
16433
|
} catch {
|
|
16365
16434
|
continue;
|
|
16366
16435
|
}
|
|
16367
|
-
const
|
|
16436
|
+
for (const value of Object.values(module).filter(matchesServices)) matches.add(value);
|
|
16368
16437
|
if (matches.size > 1) throw new Error("Codex native services are unavailable in this window");
|
|
16369
|
-
if (matches.size === 1) return [...matches][0] ?? null;
|
|
16370
16438
|
}
|
|
16371
|
-
|
|
16439
|
+
if (catalog !== void 0 && Reflect.get(ownerWindow, "__codexhostLoadedModulesV1") !== catalog)
|
|
16440
|
+
throw new Error("Codex loaded module catalog changed during discovery. Try again once ready.");
|
|
16441
|
+
return [...matches][0] ?? null;
|
|
16372
16442
|
}
|
|
16373
16443
|
|
|
16374
16444
|
// src/codex-ssh-services.ts
|
|
@@ -16636,6 +16706,545 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16636
16706
|
return control;
|
|
16637
16707
|
}
|
|
16638
16708
|
|
|
16709
|
+
// ../../node_modules/lucide/dist/esm/defaultAttributes.mjs
|
|
16710
|
+
var defaultAttributes = {
|
|
16711
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
16712
|
+
width: 24,
|
|
16713
|
+
height: 24,
|
|
16714
|
+
viewBox: "0 0 24 24",
|
|
16715
|
+
fill: "none",
|
|
16716
|
+
stroke: "currentColor",
|
|
16717
|
+
"stroke-width": 2,
|
|
16718
|
+
"stroke-linecap": "round",
|
|
16719
|
+
"stroke-linejoin": "round"
|
|
16720
|
+
};
|
|
16721
|
+
|
|
16722
|
+
// ../../node_modules/lucide/dist/esm/createElement.mjs
|
|
16723
|
+
var createSVGElement = ([tag, attrs, children]) => {
|
|
16724
|
+
const element = document.createElementNS("http://www.w3.org/2000/svg", tag);
|
|
16725
|
+
Object.keys(attrs).forEach((name) => {
|
|
16726
|
+
element.setAttribute(name, String(attrs[name]));
|
|
16727
|
+
});
|
|
16728
|
+
if (children?.length) {
|
|
16729
|
+
children.forEach((child) => {
|
|
16730
|
+
const childElement = createSVGElement(child);
|
|
16731
|
+
element.appendChild(childElement);
|
|
16732
|
+
});
|
|
16733
|
+
}
|
|
16734
|
+
return element;
|
|
16735
|
+
};
|
|
16736
|
+
var createElement = (iconNode, customAttrs = {}) => {
|
|
16737
|
+
const tag = "svg";
|
|
16738
|
+
const attrs = {
|
|
16739
|
+
...defaultAttributes,
|
|
16740
|
+
...customAttrs
|
|
16741
|
+
};
|
|
16742
|
+
return createSVGElement([tag, attrs, iconNode]);
|
|
16743
|
+
};
|
|
16744
|
+
|
|
16745
|
+
// ../../node_modules/lucide/dist/esm/icons/check.mjs
|
|
16746
|
+
var Check = [["path", { d: "M20 6 9 17l-5-5" }]];
|
|
16747
|
+
|
|
16748
|
+
// ../../node_modules/lucide/dist/esm/icons/message-circle-question-mark.mjs
|
|
16749
|
+
var MessageCircleQuestionMark = [
|
|
16750
|
+
[
|
|
16751
|
+
"path",
|
|
16752
|
+
{
|
|
16753
|
+
d: "M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719"
|
|
16754
|
+
}
|
|
16755
|
+
],
|
|
16756
|
+
["path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }],
|
|
16757
|
+
["path", { d: "M12 17h.01" }]
|
|
16758
|
+
];
|
|
16759
|
+
|
|
16760
|
+
// ../../node_modules/lucide/dist/esm/icons/pencil.mjs
|
|
16761
|
+
var Pencil = [
|
|
16762
|
+
[
|
|
16763
|
+
"path",
|
|
16764
|
+
{
|
|
16765
|
+
d: "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z"
|
|
16766
|
+
}
|
|
16767
|
+
],
|
|
16768
|
+
["path", { d: "m15 5 4 4" }]
|
|
16769
|
+
];
|
|
16770
|
+
|
|
16771
|
+
// ../../node_modules/lucide/dist/esm/icons/x.mjs
|
|
16772
|
+
var X = [
|
|
16773
|
+
["path", { d: "M18 6 6 18" }],
|
|
16774
|
+
["path", { d: "m6 6 12 12" }]
|
|
16775
|
+
];
|
|
16776
|
+
|
|
16777
|
+
// src/renderer-question-card-style.ts
|
|
16778
|
+
var QUESTION_CARD_CSS = `
|
|
16779
|
+
:host {
|
|
16780
|
+
display: block;
|
|
16781
|
+
min-width: 0;
|
|
16782
|
+
margin: 8px 0;
|
|
16783
|
+
color-scheme: inherit;
|
|
16784
|
+
--question-text: light-dark(#171717, #ececec);
|
|
16785
|
+
--question-muted: light-dark(#737373, #a3a3a3);
|
|
16786
|
+
--question-border: light-dark(rgb(0 0 0 / 8%), rgb(255 255 255 / 8%));
|
|
16787
|
+
--question-selected: light-dark(#e9e9e9, #333333);
|
|
16788
|
+
--question-primary: light-dark(#202020, #ececec);
|
|
16789
|
+
--question-primary-text: light-dark(#fff, #171717);
|
|
16790
|
+
}
|
|
16791
|
+
*, ::before, ::after { box-sizing: border-box; }
|
|
16792
|
+
.card {
|
|
16793
|
+
display: flex;
|
|
16794
|
+
flex-direction: column;
|
|
16795
|
+
max-height: min(60vh, 560px);
|
|
16796
|
+
overflow: hidden;
|
|
16797
|
+
padding: 16px 12px 12px;
|
|
16798
|
+
border: 1px solid var(--question-border);
|
|
16799
|
+
border-radius: 24px;
|
|
16800
|
+
background: light-dark(#f7f7f7, #262626);
|
|
16801
|
+
color: var(--question-text);
|
|
16802
|
+
font: 13px/1.5 system-ui, sans-serif;
|
|
16803
|
+
}
|
|
16804
|
+
.title { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin: 0 6px 14px; color: var(--question-muted); font-weight: 400; }
|
|
16805
|
+
.question-icon { display: inline-flex; justify-content: center; align-items: center; width: 16px; height: 16px; flex-shrink: 0; }
|
|
16806
|
+
svg { display: block; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
|
|
16807
|
+
.body { min-height: 0; overflow: auto; }
|
|
16808
|
+
fieldset { min-width: 0; border: 0; padding: 0; margin: 0 0 14px; }
|
|
16809
|
+
fieldset:last-child { margin-bottom: 0; }
|
|
16810
|
+
legend { width: 100%; padding: 0 6px; margin-bottom: 14px; font: inherit; }
|
|
16811
|
+
.hint { color: var(--question-muted); font-size: 12px; margin: -10px 6px 10px; }
|
|
16812
|
+
.option {
|
|
16813
|
+
position: relative;
|
|
16814
|
+
display: flex;
|
|
16815
|
+
align-items: flex-start;
|
|
16816
|
+
gap: 10px;
|
|
16817
|
+
min-height: 34px;
|
|
16818
|
+
padding: 6px;
|
|
16819
|
+
margin: 2px 0;
|
|
16820
|
+
border-radius: 12px;
|
|
16821
|
+
cursor: pointer;
|
|
16822
|
+
background: transparent;
|
|
16823
|
+
overflow-wrap: anywhere;
|
|
16824
|
+
}
|
|
16825
|
+
.option:hover, .option:has(:checked) { background: var(--question-selected); }
|
|
16826
|
+
input[type=checkbox], input[type=radio] {
|
|
16827
|
+
appearance: none;
|
|
16828
|
+
display: block;
|
|
16829
|
+
flex: 0 0 21px;
|
|
16830
|
+
width: 21px;
|
|
16831
|
+
height: 21px;
|
|
16832
|
+
margin: 0;
|
|
16833
|
+
padding: 0;
|
|
16834
|
+
border: 1px solid var(--question-border);
|
|
16835
|
+
border-radius: 5px;
|
|
16836
|
+
background: light-dark(#ededed, #303030);
|
|
16837
|
+
cursor: pointer;
|
|
16838
|
+
}
|
|
16839
|
+
.shortcut { position: absolute; top: 6px; left: 6px; width: 21px; height: 21px; text-align: center; line-height: 21px; color: var(--question-muted); pointer-events: none; font-size: 12px; }
|
|
16840
|
+
.option-copy { flex: 1; min-width: 0; white-space: pre-wrap; }
|
|
16841
|
+
.option-name { display: block; font-weight: 400; }
|
|
16842
|
+
.description { display: block; color: var(--question-muted); font-size: 12px; margin-top: 1px; }
|
|
16843
|
+
.selected-indicator { align-self: center; visibility: hidden; color: var(--question-muted); padding-right: 4px; }
|
|
16844
|
+
:checked ~ .selected-indicator { visibility: visible; }
|
|
16845
|
+
.other { align-items: center; flex: 1; min-width: 0; margin: 0; }
|
|
16846
|
+
.other input[type=checkbox], .other input[type=radio] { background: transparent; border-color: transparent; }
|
|
16847
|
+
.other:has(:checked), .other:focus-within { background: var(--question-selected); }
|
|
16848
|
+
.other:has(:checked) .pencil { color: var(--question-text); }
|
|
16849
|
+
.pencil { display: flex; align-items: center; justify-content: center; }
|
|
16850
|
+
.other-copy { display: flex; flex: 1; min-width: 0; }
|
|
16851
|
+
input:not([type=checkbox]):not([type=radio]), textarea {
|
|
16852
|
+
appearance: none;
|
|
16853
|
+
display: block;
|
|
16854
|
+
min-width: 0;
|
|
16855
|
+
width: 100%;
|
|
16856
|
+
padding: 6px;
|
|
16857
|
+
border: 1px solid var(--question-border);
|
|
16858
|
+
border-radius: 8px;
|
|
16859
|
+
background: transparent;
|
|
16860
|
+
color: var(--question-text);
|
|
16861
|
+
font: inherit;
|
|
16862
|
+
}
|
|
16863
|
+
.other-copy input:not([type=checkbox]):not([type=radio]) { border: 0; padding: 0; }
|
|
16864
|
+
textarea { min-height: 60px; resize: vertical; }
|
|
16865
|
+
input::placeholder, textarea::placeholder { color: var(--question-muted); opacity: .65; }
|
|
16866
|
+
input:focus-visible, textarea:focus-visible, button:focus-visible {
|
|
16867
|
+
outline: 2px solid var(--question-muted);
|
|
16868
|
+
outline-offset: 2px;
|
|
16869
|
+
}
|
|
16870
|
+
.other-copy input:focus-visible { outline: none; }
|
|
16871
|
+
.other:has(input:focus-visible) { outline: 2px solid var(--question-muted); outline-offset: -2px; }
|
|
16872
|
+
.error { flex-shrink: 0; color: light-dark(#b42318, #ffaaa3); font-size: 12px; }
|
|
16873
|
+
.error:not(:empty) { margin: 8px 6px 0; }
|
|
16874
|
+
.footer { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-top: 8px; }
|
|
16875
|
+
.actions { display: flex; justify-content: flex-end; gap: 8px; margin-left: auto; flex-shrink: 0; }
|
|
16876
|
+
button {
|
|
16877
|
+
appearance: none;
|
|
16878
|
+
min-height: 28px;
|
|
16879
|
+
padding: 3px 10px;
|
|
16880
|
+
border: 1px solid var(--question-border);
|
|
16881
|
+
border-radius: 999px;
|
|
16882
|
+
background: transparent;
|
|
16883
|
+
color: var(--question-text);
|
|
16884
|
+
font: inherit;
|
|
16885
|
+
font-weight: 400;
|
|
16886
|
+
cursor: pointer;
|
|
16887
|
+
}
|
|
16888
|
+
button:hover { background: var(--question-selected); }
|
|
16889
|
+
button.primary { background: var(--question-primary); color: var(--question-primary-text); border-color: transparent; }
|
|
16890
|
+
button.primary:hover { opacity: .85; }
|
|
16891
|
+
button.dismiss { display: flex; align-items: center; justify-content: center; border: 0; padding: 0; min-height: 24px; width: 24px; margin-left: auto; color: var(--question-muted); }
|
|
16892
|
+
:disabled { cursor: wait; opacity: .5; }
|
|
16893
|
+
@media (max-width: 420px) { .footer { flex-wrap: wrap; } .footer > .other { flex-basis: 100%; } }
|
|
16894
|
+
@media (forced-colors: active) {
|
|
16895
|
+
.card, input, textarea { background: Canvas; color: CanvasText; }
|
|
16896
|
+
button, .card, input[type=checkbox], input[type=radio] { border-color: ButtonBorder; }
|
|
16897
|
+
.option:has(:checked) { outline: 1px solid Highlight; outline-offset: -1px; }
|
|
16898
|
+
button.primary { background: Highlight; color: HighlightText; }
|
|
16899
|
+
}
|
|
16900
|
+
`;
|
|
16901
|
+
|
|
16902
|
+
// src/renderer-question-card.ts
|
|
16903
|
+
function createQuestionCard(document2, question, submit, initial = {}) {
|
|
16904
|
+
const icon2 = (node) => document2.adoptNode(
|
|
16905
|
+
createElement(node, {
|
|
16906
|
+
width: 16,
|
|
16907
|
+
height: 16,
|
|
16908
|
+
"aria-hidden": "true",
|
|
16909
|
+
focusable: "false"
|
|
16910
|
+
})
|
|
16911
|
+
);
|
|
16912
|
+
const selectedIndicator = () => {
|
|
16913
|
+
const selected = document2.createElement("span");
|
|
16914
|
+
selected.className = "selected-indicator";
|
|
16915
|
+
selected.setAttribute("aria-hidden", "true");
|
|
16916
|
+
selected.append(icon2(Check));
|
|
16917
|
+
return selected;
|
|
16918
|
+
};
|
|
16919
|
+
const root = document2.createElement("section");
|
|
16920
|
+
root.dataset.codexhostQuestion = question.interactionId;
|
|
16921
|
+
root.setAttribute("aria-label", question.title ?? "Question");
|
|
16922
|
+
root.addEventListener("keydown", (event) => {
|
|
16923
|
+
event.stopPropagation();
|
|
16924
|
+
if (event.key === "Enter" && event.composedPath()[0] instanceof HTMLInputElement)
|
|
16925
|
+
event.preventDefault();
|
|
16926
|
+
});
|
|
16927
|
+
const shadow = root.attachShadow({ mode: "open" });
|
|
16928
|
+
const style = document2.createElement("style");
|
|
16929
|
+
style.textContent = QUESTION_CARD_CSS;
|
|
16930
|
+
const surface = document2.createElement("div");
|
|
16931
|
+
surface.className = "card";
|
|
16932
|
+
shadow.append(style, surface);
|
|
16933
|
+
const title = document2.createElement("div");
|
|
16934
|
+
title.className = "title";
|
|
16935
|
+
const titleIcon = document2.createElement("span");
|
|
16936
|
+
titleIcon.className = "question-icon";
|
|
16937
|
+
titleIcon.append(icon2(MessageCircleQuestionMark));
|
|
16938
|
+
titleIcon.setAttribute("aria-hidden", "true");
|
|
16939
|
+
const titleText = document2.createElement("span");
|
|
16940
|
+
titleText.textContent = question.title?.trim() || "Question";
|
|
16941
|
+
const dismiss = document2.createElement("button");
|
|
16942
|
+
dismiss.type = "button";
|
|
16943
|
+
dismiss.className = "dismiss";
|
|
16944
|
+
dismiss.append(icon2(X));
|
|
16945
|
+
dismiss.setAttribute("aria-label", "Dismiss question");
|
|
16946
|
+
title.append(titleIcon, titleText, dismiss);
|
|
16947
|
+
const body = document2.createElement("div");
|
|
16948
|
+
body.className = "body";
|
|
16949
|
+
surface.append(title, body);
|
|
16950
|
+
const footer = document2.createElement("div");
|
|
16951
|
+
footer.className = "footer";
|
|
16952
|
+
const readers = /* @__PURE__ */ new Map();
|
|
16953
|
+
const controls = [dismiss];
|
|
16954
|
+
const validOther = [];
|
|
16955
|
+
for (const [index, field2] of question.questions.entries()) {
|
|
16956
|
+
const group = document2.createElement("fieldset");
|
|
16957
|
+
const legend = document2.createElement("legend");
|
|
16958
|
+
legend.textContent = field2.prompt;
|
|
16959
|
+
group.append(legend);
|
|
16960
|
+
const saved = initial[field2.id] ?? [];
|
|
16961
|
+
if (field2.type === "text") {
|
|
16962
|
+
const input = document2.createElement(field2.multiline ? "textarea" : "input");
|
|
16963
|
+
input.value = saved[0] ?? field2.prefill ?? "";
|
|
16964
|
+
input.placeholder = field2.placeholder ?? "Your answer";
|
|
16965
|
+
input.setAttribute("aria-label", field2.prompt);
|
|
16966
|
+
controls.push(input);
|
|
16967
|
+
group.append(input);
|
|
16968
|
+
readers.set(field2.id, () => input.value.trim() ? [input.value] : []);
|
|
16969
|
+
} else {
|
|
16970
|
+
const hint = document2.createElement("div");
|
|
16971
|
+
hint.className = "hint";
|
|
16972
|
+
hint.textContent = "Select all that apply";
|
|
16973
|
+
if (field2.multiple) group.append(hint);
|
|
16974
|
+
const inputs = [];
|
|
16975
|
+
const name = `codexhost-${question.interactionId}-${index}`;
|
|
16976
|
+
for (const [optionIndex, option] of field2.options.entries()) {
|
|
16977
|
+
const label = document2.createElement("label");
|
|
16978
|
+
label.className = "option";
|
|
16979
|
+
const input = document2.createElement("input");
|
|
16980
|
+
input.type = field2.multiple ? "checkbox" : "radio";
|
|
16981
|
+
input.name = name;
|
|
16982
|
+
input.value = option.value;
|
|
16983
|
+
input.checked = saved.includes(option.value);
|
|
16984
|
+
const shortcut = document2.createElement("span");
|
|
16985
|
+
shortcut.className = "shortcut";
|
|
16986
|
+
shortcut.setAttribute("aria-hidden", "true");
|
|
16987
|
+
shortcut.textContent = String(optionIndex + 1);
|
|
16988
|
+
const selected = selectedIndicator();
|
|
16989
|
+
const text = document2.createElement("span");
|
|
16990
|
+
text.className = "option-copy";
|
|
16991
|
+
const optionName = document2.createElement("span");
|
|
16992
|
+
optionName.className = "option-name";
|
|
16993
|
+
optionName.textContent = option.label;
|
|
16994
|
+
text.append(optionName);
|
|
16995
|
+
if (option.description) {
|
|
16996
|
+
const description = document2.createElement("span");
|
|
16997
|
+
description.className = "description";
|
|
16998
|
+
description.textContent = option.description;
|
|
16999
|
+
text.append(description);
|
|
17000
|
+
}
|
|
17001
|
+
label.append(input, shortcut, text, selected);
|
|
17002
|
+
group.append(label);
|
|
17003
|
+
inputs.push(input);
|
|
17004
|
+
controls.push(input);
|
|
17005
|
+
}
|
|
17006
|
+
let other;
|
|
17007
|
+
let notes;
|
|
17008
|
+
if (field2.allowOther) {
|
|
17009
|
+
const label = document2.createElement("label");
|
|
17010
|
+
label.className = "option other";
|
|
17011
|
+
other = document2.createElement("input");
|
|
17012
|
+
other.type = field2.multiple ? "checkbox" : "radio";
|
|
17013
|
+
other.name = name;
|
|
17014
|
+
other.setAttribute("aria-label", `Other: ${field2.prompt}`);
|
|
17015
|
+
const unknown2 = saved.find(
|
|
17016
|
+
(value) => !field2.options.some((option) => option.value === value)
|
|
17017
|
+
);
|
|
17018
|
+
other.checked = unknown2 !== void 0;
|
|
17019
|
+
notes = document2.createElement("input");
|
|
17020
|
+
notes.value = unknown2 ?? "";
|
|
17021
|
+
notes.placeholder = "Or write your own response";
|
|
17022
|
+
notes.setAttribute("aria-label", `${field2.prompt}: Other`);
|
|
17023
|
+
const checkbox = other;
|
|
17024
|
+
const otherText = notes;
|
|
17025
|
+
validOther.push(() => !checkbox.checked || otherText.value.trim().length > 0);
|
|
17026
|
+
notes.addEventListener("input", () => {
|
|
17027
|
+
checkbox.checked = true;
|
|
17028
|
+
});
|
|
17029
|
+
const copy = document2.createElement("span");
|
|
17030
|
+
copy.className = "other-copy";
|
|
17031
|
+
copy.append(notes);
|
|
17032
|
+
const pencil = document2.createElement("span");
|
|
17033
|
+
pencil.className = "shortcut pencil";
|
|
17034
|
+
pencil.append(icon2(Pencil));
|
|
17035
|
+
pencil.setAttribute("aria-hidden", "true");
|
|
17036
|
+
const selected = selectedIndicator();
|
|
17037
|
+
label.append(other, pencil, copy, selected);
|
|
17038
|
+
if (question.questions.length === 1) footer.append(label);
|
|
17039
|
+
else group.append(label);
|
|
17040
|
+
controls.push(other, notes);
|
|
17041
|
+
}
|
|
17042
|
+
readers.set(field2.id, () => [
|
|
17043
|
+
...inputs.filter((input) => input.checked).map((input) => input.value),
|
|
17044
|
+
...other?.checked && notes?.value.trim() ? [notes.value] : []
|
|
17045
|
+
]);
|
|
17046
|
+
}
|
|
17047
|
+
body.append(group);
|
|
17048
|
+
}
|
|
17049
|
+
const error51 = document2.createElement("div");
|
|
17050
|
+
error51.setAttribute("role", "alert");
|
|
17051
|
+
error51.className = "error";
|
|
17052
|
+
const actions = document2.createElement("div");
|
|
17053
|
+
actions.className = "actions";
|
|
17054
|
+
const readAnswers = () => Object.fromEntries([...readers].map(([id, read]) => [id, read()]));
|
|
17055
|
+
let busy = false;
|
|
17056
|
+
const send = async (cancelled) => {
|
|
17057
|
+
if (busy) return;
|
|
17058
|
+
const answers = cancelled ? {} : readAnswers();
|
|
17059
|
+
if (!cancelled && validOther.some((valid) => !valid())) {
|
|
17060
|
+
error51.textContent = "Type an answer for each selected Other option.";
|
|
17061
|
+
return;
|
|
17062
|
+
}
|
|
17063
|
+
if (!cancelled && question.questions.some((field2) => !field2.optional && !answers[field2.id]?.length)) {
|
|
17064
|
+
error51.textContent = "Answer each required question before submitting.";
|
|
17065
|
+
return;
|
|
17066
|
+
}
|
|
17067
|
+
busy = true;
|
|
17068
|
+
error51.textContent = "";
|
|
17069
|
+
for (const control of controls) control.disabled = true;
|
|
17070
|
+
try {
|
|
17071
|
+
await submit(answers, cancelled);
|
|
17072
|
+
} catch {
|
|
17073
|
+
error51.textContent = "Could not submit. The question may have closed. Try again if it is still available.";
|
|
17074
|
+
} finally {
|
|
17075
|
+
busy = false;
|
|
17076
|
+
for (const control of controls) control.disabled = false;
|
|
17077
|
+
}
|
|
17078
|
+
};
|
|
17079
|
+
for (const [label, cancelled] of [
|
|
17080
|
+
["Skip", true],
|
|
17081
|
+
["Send", false]
|
|
17082
|
+
]) {
|
|
17083
|
+
const button2 = document2.createElement("button");
|
|
17084
|
+
button2.type = "button";
|
|
17085
|
+
button2.textContent = label;
|
|
17086
|
+
if (!cancelled) button2.className = "primary";
|
|
17087
|
+
button2.addEventListener("click", () => {
|
|
17088
|
+
void send(cancelled);
|
|
17089
|
+
});
|
|
17090
|
+
controls.push(button2);
|
|
17091
|
+
actions.append(button2);
|
|
17092
|
+
}
|
|
17093
|
+
dismiss.addEventListener("click", () => {
|
|
17094
|
+
void send(true);
|
|
17095
|
+
});
|
|
17096
|
+
footer.append(actions);
|
|
17097
|
+
surface.append(error51, footer);
|
|
17098
|
+
return {
|
|
17099
|
+
root,
|
|
17100
|
+
readAnswers,
|
|
17101
|
+
dispose() {
|
|
17102
|
+
root.remove();
|
|
17103
|
+
}
|
|
17104
|
+
};
|
|
17105
|
+
}
|
|
17106
|
+
|
|
17107
|
+
// src/renderer-request-sender.ts
|
|
17108
|
+
var RendererMethodUnavailableError = class extends Error {
|
|
17109
|
+
constructor(method, cause) {
|
|
17110
|
+
super(`${method} is unsupported on this Host connection`, { cause });
|
|
17111
|
+
this.method = method;
|
|
17112
|
+
this.name = "RendererMethodUnavailableError";
|
|
17113
|
+
}
|
|
17114
|
+
method;
|
|
17115
|
+
code = -32601;
|
|
17116
|
+
};
|
|
17117
|
+
function isUnsupportedMethod(error51, method) {
|
|
17118
|
+
if (typeof error51 !== "object" || error51 === null) return false;
|
|
17119
|
+
const code = "code" in error51 ? error51.code : void 0;
|
|
17120
|
+
const message2 = "message" in error51 ? error51.message : void 0;
|
|
17121
|
+
return code === -32601 || code === -32600 && typeof message2 === "string" && message2.startsWith(`Invalid request: unknown variant \`${method}\``);
|
|
17122
|
+
}
|
|
17123
|
+
function createRendererRequestSender(send) {
|
|
17124
|
+
const unsupported = /* @__PURE__ */ new Map();
|
|
17125
|
+
return async (method, params, options) => {
|
|
17126
|
+
const known = unsupported.get(method);
|
|
17127
|
+
if (known) throw known;
|
|
17128
|
+
try {
|
|
17129
|
+
return await (options === void 0 ? send(method, params) : send(method, params, options));
|
|
17130
|
+
} catch (error51) {
|
|
17131
|
+
if (!method.startsWith("codexhost/") || !isUnsupportedMethod(error51, method)) throw error51;
|
|
17132
|
+
const unavailable = new RendererMethodUnavailableError(method, error51);
|
|
17133
|
+
unsupported.set(method, unavailable);
|
|
17134
|
+
throw unavailable;
|
|
17135
|
+
}
|
|
17136
|
+
};
|
|
17137
|
+
}
|
|
17138
|
+
|
|
17139
|
+
// src/renderer-questions.ts
|
|
17140
|
+
function same(a, b) {
|
|
17141
|
+
return a?.hostId === b?.hostId && a?.threadId === b?.threadId && a?.composer === b?.composer && a?.route === b?.route;
|
|
17142
|
+
}
|
|
17143
|
+
function installRendererQuestions(window2, readContext) {
|
|
17144
|
+
let disposed = false;
|
|
17145
|
+
let inFlight = false;
|
|
17146
|
+
let revision = 0;
|
|
17147
|
+
let context = null;
|
|
17148
|
+
let card = null;
|
|
17149
|
+
let cardKey = null;
|
|
17150
|
+
const unsupported = /* @__PURE__ */ new WeakSet();
|
|
17151
|
+
const drafts = /* @__PURE__ */ new Map();
|
|
17152
|
+
const clear = (retain = true) => {
|
|
17153
|
+
if (retain && card && cardKey) {
|
|
17154
|
+
drafts.set(cardKey, card.readAnswers());
|
|
17155
|
+
const oldest = drafts.keys().next().value;
|
|
17156
|
+
if (drafts.size > 50 && oldest !== void 0) drafts.delete(oldest);
|
|
17157
|
+
}
|
|
17158
|
+
card?.dispose();
|
|
17159
|
+
card = null;
|
|
17160
|
+
cardKey = null;
|
|
17161
|
+
};
|
|
17162
|
+
const refresh = async () => {
|
|
17163
|
+
if (disposed) return;
|
|
17164
|
+
const next = readContext();
|
|
17165
|
+
if (!same(context, next)) {
|
|
17166
|
+
clear();
|
|
17167
|
+
context = next;
|
|
17168
|
+
revision++;
|
|
17169
|
+
}
|
|
17170
|
+
const current = context;
|
|
17171
|
+
if (!current || inFlight || unsupported.has(current.route)) return;
|
|
17172
|
+
const startedRevision = revision;
|
|
17173
|
+
inFlight = true;
|
|
17174
|
+
try {
|
|
17175
|
+
const raw = await current.route.sendRequest(
|
|
17176
|
+
THREAD_QUESTIONS_LIST_METHOD,
|
|
17177
|
+
{ threadId: current.threadId },
|
|
17178
|
+
{ priority: "background", timeoutMs: 5e3 }
|
|
17179
|
+
);
|
|
17180
|
+
if (disposed || revision !== startedRevision || !same(current, readContext())) return;
|
|
17181
|
+
const question = threadQuestionsResultSchema.parse(raw).questions[0];
|
|
17182
|
+
if (!question) {
|
|
17183
|
+
if (cardKey) drafts.delete(cardKey);
|
|
17184
|
+
clear(false);
|
|
17185
|
+
return;
|
|
17186
|
+
}
|
|
17187
|
+
const key = JSON.stringify([
|
|
17188
|
+
current.hostId,
|
|
17189
|
+
current.threadId,
|
|
17190
|
+
question.turnId,
|
|
17191
|
+
question.interactionId
|
|
17192
|
+
]);
|
|
17193
|
+
if (cardKey === key && card?.root.isConnected) return;
|
|
17194
|
+
clear(cardKey === key);
|
|
17195
|
+
cardKey = key;
|
|
17196
|
+
card = createQuestionCard(
|
|
17197
|
+
current.composer.ownerDocument,
|
|
17198
|
+
question,
|
|
17199
|
+
async (answers, cancelled) => {
|
|
17200
|
+
if (disposed || !same(current, readContext()) || cardKey !== key)
|
|
17201
|
+
throw new Error("Question owner changed");
|
|
17202
|
+
const raw2 = await current.route.sendRequest(
|
|
17203
|
+
THREAD_QUESTION_RESPOND_METHOD,
|
|
17204
|
+
{
|
|
17205
|
+
threadId: current.threadId,
|
|
17206
|
+
turnId: question.turnId,
|
|
17207
|
+
interactionId: question.interactionId,
|
|
17208
|
+
answers,
|
|
17209
|
+
cancelled
|
|
17210
|
+
},
|
|
17211
|
+
{ priority: "interactive", timeoutMs: 1e4 }
|
|
17212
|
+
);
|
|
17213
|
+
threadQuestionRespondResultSchema.parse(raw2);
|
|
17214
|
+
drafts.delete(key);
|
|
17215
|
+
if (same(current, context)) {
|
|
17216
|
+
revision++;
|
|
17217
|
+
if (cardKey === key) clear(false);
|
|
17218
|
+
}
|
|
17219
|
+
},
|
|
17220
|
+
drafts.get(key)
|
|
17221
|
+
);
|
|
17222
|
+
current.composer.before(card.root);
|
|
17223
|
+
} catch (error51) {
|
|
17224
|
+
if (isUnsupportedMethod(error51, THREAD_QUESTIONS_LIST_METHOD)) unsupported.add(current.route);
|
|
17225
|
+
if (revision === startedRevision && same(current, context)) clear();
|
|
17226
|
+
} finally {
|
|
17227
|
+
inFlight = false;
|
|
17228
|
+
}
|
|
17229
|
+
};
|
|
17230
|
+
const timer = window2.setInterval(() => {
|
|
17231
|
+
void refresh();
|
|
17232
|
+
}, 750);
|
|
17233
|
+
void refresh();
|
|
17234
|
+
return {
|
|
17235
|
+
refresh,
|
|
17236
|
+
refreshContext() {
|
|
17237
|
+
if (!same(context, readContext()) || card && !card.root.isConnected) void refresh();
|
|
17238
|
+
},
|
|
17239
|
+
dispose() {
|
|
17240
|
+
disposed = true;
|
|
17241
|
+
window2.clearInterval(timer);
|
|
17242
|
+
clear(false);
|
|
17243
|
+
drafts.clear();
|
|
17244
|
+
}
|
|
17245
|
+
};
|
|
17246
|
+
}
|
|
17247
|
+
|
|
16639
17248
|
// ../desktop-control/dist/renderer-react-ownership.js
|
|
16640
17249
|
var REACT_FIBER_WALK_LIMIT_EVENT = "codexhost:react-fiber-walk-limit";
|
|
16641
17250
|
function committedReactAncestors(value) {
|
|
@@ -16702,10 +17311,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16702
17311
|
return [];
|
|
16703
17312
|
seen.add(entry.node);
|
|
16704
17313
|
if (entry.node === first || entry.node === alternate) {
|
|
16705
|
-
const
|
|
17314
|
+
const ancestors2 = [];
|
|
16706
17315
|
for (let cursor = entry; cursor; cursor = cursor.parent)
|
|
16707
|
-
|
|
16708
|
-
return
|
|
17316
|
+
ancestors2.push(cursor.node);
|
|
17317
|
+
return ancestors2;
|
|
16709
17318
|
}
|
|
16710
17319
|
const sibling = entry.parent && fiber(entry.node.sibling);
|
|
16711
17320
|
if (sibling)
|
|
@@ -16717,6 +17326,594 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16717
17326
|
return stack.length > 0 ? exhausted() : [];
|
|
16718
17327
|
}
|
|
16719
17328
|
|
|
17329
|
+
// ../desktop-control/dist/renderer-native-schedule-sidebar.js
|
|
17330
|
+
var NATIVE_SCHEDULE_SIDEBAR_ROW_SELECTOR = 'aside [data-sidebar-cycle-item][role="button"][aria-labelledby]';
|
|
17331
|
+
function readNativeScheduleSidebarThread(element) {
|
|
17332
|
+
if (!element.matches(NATIVE_SCHEDULE_SIDEBAR_ROW_SELECTOR))
|
|
17333
|
+
return null;
|
|
17334
|
+
const keys = Object.keys(element).filter((key2) => key2.startsWith("__reactFiber$"));
|
|
17335
|
+
const key = keys[0];
|
|
17336
|
+
if (keys.length !== 1 || !key)
|
|
17337
|
+
return null;
|
|
17338
|
+
let scheduledContainer = false;
|
|
17339
|
+
const candidates = /* @__PURE__ */ new Set();
|
|
17340
|
+
let depth = 0;
|
|
17341
|
+
for (const fiber of committedReactAncestors(Reflect.get(element, key))) {
|
|
17342
|
+
if (++depth > 12)
|
|
17343
|
+
break;
|
|
17344
|
+
const props = fiber.memoizedProps;
|
|
17345
|
+
if (!props || typeof props !== "object")
|
|
17346
|
+
continue;
|
|
17347
|
+
if (Object.hasOwn(props, "data-selected-scheduled-task"))
|
|
17348
|
+
scheduledContainer = true;
|
|
17349
|
+
if (!scheduledContainer || !Object.hasOwn(props, "automation"))
|
|
17350
|
+
continue;
|
|
17351
|
+
const automation = props.automation;
|
|
17352
|
+
if (!automation || typeof automation !== "object" || automation.kind !== "heartbeat" || typeof automation.id !== "string" || !automation.id || props.hostId != null && props.hostId !== "local" || automation.hostId != null && automation.hostId !== "local")
|
|
17353
|
+
return null;
|
|
17354
|
+
const parsed = hostThreadIdSchema.safeParse(automation.targetThreadId);
|
|
17355
|
+
if (!parsed.success)
|
|
17356
|
+
return null;
|
|
17357
|
+
candidates.add(parsed.data);
|
|
17358
|
+
}
|
|
17359
|
+
return candidates.size === 1 ? candidates.values().next().value ?? null : null;
|
|
17360
|
+
}
|
|
17361
|
+
|
|
17362
|
+
// ../desktop-control/dist/renderer-scoped-draft-model.js
|
|
17363
|
+
function findScopedDraftModelBinding(composer, draftId) {
|
|
17364
|
+
let element = composer.querySelector?.('[data-codex-composer], [contenteditable="true"][role="textbox"]') ?? composer;
|
|
17365
|
+
let fiber;
|
|
17366
|
+
while (element && !fiber) {
|
|
17367
|
+
const key = Object.getOwnPropertyNames(element).find((name) => name.startsWith("__reactFiber$"));
|
|
17368
|
+
if (key)
|
|
17369
|
+
fiber = Object.getOwnPropertyDescriptor(element, key)?.value;
|
|
17370
|
+
element = element.parentElement;
|
|
17371
|
+
}
|
|
17372
|
+
const rows = [];
|
|
17373
|
+
const groups = /* @__PURE__ */ new Map();
|
|
17374
|
+
const updates = /* @__PURE__ */ new Set();
|
|
17375
|
+
for (const ancestor of committedReactAncestors(fiber)) {
|
|
17376
|
+
const queue = ancestor.updateQueue;
|
|
17377
|
+
const data = (queue?.memoCache?.data ?? []).filter(Array.isArray);
|
|
17378
|
+
for (const row of data) {
|
|
17379
|
+
rows.push(row);
|
|
17380
|
+
groups.set(row, data);
|
|
17381
|
+
if (!Array.isArray(row) || row.length !== 14 || row[6] !== draftId || row[7] !== draftId)
|
|
17382
|
+
continue;
|
|
17383
|
+
const result = row[13];
|
|
17384
|
+
if (result?.isNewThreadDraft === true && row[11] === true && result.draftSettings === row[10] && result.updateDraftSettings === row[9] && row[9] === row[12] && typeof row[9] === "function")
|
|
17385
|
+
updates.add(row[9]);
|
|
17386
|
+
}
|
|
17387
|
+
}
|
|
17388
|
+
let update;
|
|
17389
|
+
const modes = /* @__PURE__ */ new Set();
|
|
17390
|
+
const creationModes = /* @__PURE__ */ new Set();
|
|
17391
|
+
for (const row of rows) {
|
|
17392
|
+
if (row.length !== 24 || row[7] !== null || row[10] !== true || !updates.has(row[13]))
|
|
17393
|
+
continue;
|
|
17394
|
+
const context = row[12];
|
|
17395
|
+
const result = row[23];
|
|
17396
|
+
if (context && context === row[21] && typeof context.usesAccountPreferences === "boolean" && result?.usesAccountPreferences === context.usesAccountPreferences && typeof row[14] === "function" && row[14] === row[20] && result.setModelAndReasoningEffort === row[14]) {
|
|
17397
|
+
update ??= row[13];
|
|
17398
|
+
modes.add(context.usesAccountPreferences);
|
|
17399
|
+
const settings = result.modelSettings;
|
|
17400
|
+
const group = groups.get(row);
|
|
17401
|
+
const candidate = group?.[group.indexOf(row) - 1];
|
|
17402
|
+
const mode = candidate?.[44];
|
|
17403
|
+
const value = candidate?.[51];
|
|
17404
|
+
if (candidate?.length === 52 && settings && candidate[39] === settings.model && candidate[40] === settings.reasoningEffort && mode && mode === candidate[49] && mode.settings === candidate[41] && mode.settings?.model === settings.model && value?.activeMode === mode)
|
|
17405
|
+
creationModes.add(mode);
|
|
17406
|
+
}
|
|
17407
|
+
}
|
|
17408
|
+
const [usesAccountPreferences] = modes;
|
|
17409
|
+
return update && modes.size === 1 && usesAccountPreferences !== void 0 ? {
|
|
17410
|
+
update,
|
|
17411
|
+
usesAccountPreferences,
|
|
17412
|
+
...creationModes.size ? { creationModes: [...creationModes] } : {}
|
|
17413
|
+
} : null;
|
|
17414
|
+
}
|
|
17415
|
+
function createScopedDraftModelWriter() {
|
|
17416
|
+
const captured = /* @__PURE__ */ new Map();
|
|
17417
|
+
const restore = (key) => {
|
|
17418
|
+
const entry = captured.get(key);
|
|
17419
|
+
if (!entry)
|
|
17420
|
+
return;
|
|
17421
|
+
entry.update((current) => {
|
|
17422
|
+
const settings = current.modelSettings;
|
|
17423
|
+
return settings?.model === entry.model && current.modelSettingsPersistAsDefault === false ? {
|
|
17424
|
+
...current,
|
|
17425
|
+
modelSettings: entry.original.modelSettings,
|
|
17426
|
+
modelSettingsPersistAsDefault: entry.original.modelSettingsPersistAsDefault,
|
|
17427
|
+
isManuallyChanged: entry.original.isManuallyChanged
|
|
17428
|
+
} : current;
|
|
17429
|
+
});
|
|
17430
|
+
captured.delete(key);
|
|
17431
|
+
};
|
|
17432
|
+
return {
|
|
17433
|
+
has(key) {
|
|
17434
|
+
return captured.has(key);
|
|
17435
|
+
},
|
|
17436
|
+
apply(key, binding, model2) {
|
|
17437
|
+
if (model2 === null) {
|
|
17438
|
+
restore(key);
|
|
17439
|
+
return;
|
|
17440
|
+
}
|
|
17441
|
+
const { update, usesAccountPreferences } = binding;
|
|
17442
|
+
update((current) => {
|
|
17443
|
+
const previous = captured.get(key);
|
|
17444
|
+
captured.set(key, { update, original: previous?.original ?? current, model: model2 });
|
|
17445
|
+
const settings = current.modelSettings;
|
|
17446
|
+
if (settings?.model === model2 && settings.usesAccountPreferences === usesAccountPreferences && current.modelSettingsPersistAsDefault === false)
|
|
17447
|
+
return current;
|
|
17448
|
+
return {
|
|
17449
|
+
...current,
|
|
17450
|
+
isManuallyChanged: true,
|
|
17451
|
+
modelSettingsPersistAsDefault: false,
|
|
17452
|
+
modelSettings: {
|
|
17453
|
+
...settings,
|
|
17454
|
+
model: model2,
|
|
17455
|
+
reasoningEffort: settings?.reasoningEffort ?? null,
|
|
17456
|
+
profile: settings?.profile ?? null,
|
|
17457
|
+
usesAccountPreferences
|
|
17458
|
+
}
|
|
17459
|
+
};
|
|
17460
|
+
});
|
|
17461
|
+
},
|
|
17462
|
+
dispose() {
|
|
17463
|
+
for (const key of captured.keys())
|
|
17464
|
+
restore(key);
|
|
17465
|
+
}
|
|
17466
|
+
};
|
|
17467
|
+
}
|
|
17468
|
+
|
|
17469
|
+
// ../desktop-control/dist/renderer-native-schedule-form.js
|
|
17470
|
+
var record4 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
17471
|
+
function ancestors(element) {
|
|
17472
|
+
if (!record4(element))
|
|
17473
|
+
return [];
|
|
17474
|
+
const key = Object.getOwnPropertyNames(element).find((name) => name.startsWith("__reactFiber$"));
|
|
17475
|
+
return committedReactAncestors(key ? Object.getOwnPropertyDescriptor(element, key)?.value : null);
|
|
17476
|
+
}
|
|
17477
|
+
function readNativeScheduleForm(form) {
|
|
17478
|
+
const candidates = ancestors(form).flatMap(({ memoizedProps: props2 }) => {
|
|
17479
|
+
if (!record4(props2) || !record4(props2.setup) || props2.setup.triggerMode !== "create" || !record4(props2.draft) || !record4(props2.draft.scheduleConfig) || typeof props2.draft.scheduleDirty !== "boolean" || typeof props2.draft.prompt !== "string" || props2.draft.id != null || !["heartbeat", "cron"].includes(String(props2.draft.kind)) || !["local", "cloud"].includes(String(props2.executionLocation)) || typeof props2.onChange !== "function" || typeof props2.onSubmit !== "function" || typeof props2.isSaving !== "boolean" || props2.draft.model !== null && typeof props2.draft.model !== "string" || props2.draft.reasoningEffort !== null && typeof props2.draft.reasoningEffort !== "string")
|
|
17480
|
+
return [];
|
|
17481
|
+
return [props2];
|
|
17482
|
+
});
|
|
17483
|
+
const props = candidates[0];
|
|
17484
|
+
if (!props || candidates.some((other) => other.draft !== props.draft || other.onChange !== props.onChange || other.onSubmit !== props.onSubmit))
|
|
17485
|
+
return null;
|
|
17486
|
+
const draft = props.draft;
|
|
17487
|
+
const change = props.onChange;
|
|
17488
|
+
const supportsExternal = props.executionLocation === "local" && draft.kind === "heartbeat" && draft.cloudTeam == null && (!record4(props.creation) || props.creation.type === "task") && (!record4(draft.eventTrigger) || draft.eventTrigger.selected !== true) && (!Array.isArray(draft.webhookTriggers) || draft.webhookTriggers.length === 0);
|
|
17489
|
+
return {
|
|
17490
|
+
selection: {
|
|
17491
|
+
model: draft.model,
|
|
17492
|
+
reasoningEffort: draft.reasoningEffort
|
|
17493
|
+
},
|
|
17494
|
+
supportsExternal,
|
|
17495
|
+
hasTarget: draft.targetThreadId != null,
|
|
17496
|
+
isSaving: props.isSaving,
|
|
17497
|
+
title: (typeof draft.name === "string" ? draft.name.trim() : "") || String(draft.prompt).trim().replace(/\s+/gu, " ").slice(0, 80),
|
|
17498
|
+
targetThreadId: typeof draft.targetThreadId === "string" ? draft.targetThreadId : null,
|
|
17499
|
+
setTargetThread(threadId, expectedModel) {
|
|
17500
|
+
if (!supportsExternal || props.isSaving || draft.targetThreadId != null || !threadId || !expectedModel.startsWith("codexhost/plugin-v1@"))
|
|
17501
|
+
return;
|
|
17502
|
+
change((current) => current.id == null && current.targetThreadId == null && current.kind === "heartbeat" && current.cloudTeam == null && current.model === expectedModel ? { ...current, targetThreadId: threadId } : current);
|
|
17503
|
+
},
|
|
17504
|
+
setModel(selection) {
|
|
17505
|
+
if (props.isSaving || draft.targetThreadId != null)
|
|
17506
|
+
return;
|
|
17507
|
+
change((current) => current.id == null && current.targetThreadId == null && current.kind === draft.kind ? { ...current, ...selection } : current);
|
|
17508
|
+
}
|
|
17509
|
+
};
|
|
17510
|
+
}
|
|
17511
|
+
function nativeScheduleModelRows(form) {
|
|
17512
|
+
const rows = /* @__PURE__ */ new Set();
|
|
17513
|
+
for (const button2 of form.querySelectorAll("button")) {
|
|
17514
|
+
let host = null;
|
|
17515
|
+
for (const fiber of ancestors(button2)) {
|
|
17516
|
+
const node = fiber.stateNode;
|
|
17517
|
+
if (node === form)
|
|
17518
|
+
break;
|
|
17519
|
+
if (record4(node) && node.nodeType === 1 && typeof node.hidden === "boolean" && record4(node.style) && ["getPropertyValue", "getPropertyPriority", "setProperty"].every((method) => typeof node.style[method] === "function") && form.contains(node))
|
|
17520
|
+
host = node;
|
|
17521
|
+
const props = fiber.memoizedProps;
|
|
17522
|
+
const label = record4(props) && record4(props.label) ? props.label.props : null;
|
|
17523
|
+
if (record4(label) && ["inbox.automations.model.label", "automations.configuration.effort"].includes(String(label.id))) {
|
|
17524
|
+
if (host)
|
|
17525
|
+
rows.add(host);
|
|
17526
|
+
break;
|
|
17527
|
+
}
|
|
17528
|
+
}
|
|
17529
|
+
}
|
|
17530
|
+
return [...rows];
|
|
17531
|
+
}
|
|
17532
|
+
|
|
17533
|
+
// ../desktop-control/dist/renderer-host-discovery.js
|
|
17534
|
+
function requestManagerFromHookState(value, hostId2) {
|
|
17535
|
+
const record10 = (candidate) => typeof candidate === "object" && candidate !== null;
|
|
17536
|
+
const manager = (candidate) => {
|
|
17537
|
+
if (!record10(candidate) || !record10(candidate.requestClient) || !record10(candidate.prewarmedThreadManager))
|
|
17538
|
+
return null;
|
|
17539
|
+
const bridge = candidate.requestClient;
|
|
17540
|
+
return typeof candidate.sendRequest === "function" && typeof bridge.sendRequest === "function" && typeof bridge.prewarmThreadStart === "function" && typeof bridge.enqueueRequest === "function" && typeof candidate.prewarmedThreadManager.discardAllPrewarmedThreads === "function" ? candidate : null;
|
|
17541
|
+
};
|
|
17542
|
+
if (!record10(value))
|
|
17543
|
+
return null;
|
|
17544
|
+
const direct = manager(value) ?? manager(value.manager);
|
|
17545
|
+
if (direct)
|
|
17546
|
+
return direct;
|
|
17547
|
+
if (!hostId2 || typeof value.addManager !== "function" || typeof value.getForHostId !== "function")
|
|
17548
|
+
return null;
|
|
17549
|
+
try {
|
|
17550
|
+
return manager(value.getForHostId(hostId2));
|
|
17551
|
+
} catch {
|
|
17552
|
+
return null;
|
|
17553
|
+
}
|
|
17554
|
+
}
|
|
17555
|
+
function discoverRendererHosts(root, ancestors2 = committedReactAncestors, managerFrom = requestManagerFromHookState) {
|
|
17556
|
+
const editors = [
|
|
17557
|
+
...root.querySelectorAll('[data-codex-composer], [contenteditable="true"][role="textbox"]')
|
|
17558
|
+
];
|
|
17559
|
+
const hostIds = /* @__PURE__ */ new Set();
|
|
17560
|
+
const managers = /* @__PURE__ */ new Set();
|
|
17561
|
+
const registries = /* @__PURE__ */ new Set();
|
|
17562
|
+
const fibers = /* @__PURE__ */ new Set();
|
|
17563
|
+
for (const editor of editors) {
|
|
17564
|
+
let element = editor;
|
|
17565
|
+
let fiber;
|
|
17566
|
+
while (element && !fiber) {
|
|
17567
|
+
const key = Object.getOwnPropertyNames(element).find((name) => name.startsWith("__reactFiber$"));
|
|
17568
|
+
if (key)
|
|
17569
|
+
fiber = Object.getOwnPropertyDescriptor(element, key)?.value;
|
|
17570
|
+
element = element.parentElement ?? null;
|
|
17571
|
+
}
|
|
17572
|
+
for (const current of ancestors2(fiber)) {
|
|
17573
|
+
fibers.add(current);
|
|
17574
|
+
const props = current.memoizedProps;
|
|
17575
|
+
for (const key of ["executionTargetHostId", "permissionsHostId"]) {
|
|
17576
|
+
const hostId2 = props?.[key];
|
|
17577
|
+
if (typeof hostId2 === "string" && hostId2)
|
|
17578
|
+
hostIds.add(hostId2);
|
|
17579
|
+
}
|
|
17580
|
+
}
|
|
17581
|
+
}
|
|
17582
|
+
for (const fiber of fibers) {
|
|
17583
|
+
let hook = fiber.memoizedState;
|
|
17584
|
+
for (let index = 0; hook && index < 120; index += 1) {
|
|
17585
|
+
const value = hook.memoizedState;
|
|
17586
|
+
const manager = managerFrom(value);
|
|
17587
|
+
if (manager)
|
|
17588
|
+
managers.add(manager);
|
|
17589
|
+
if (value && typeof value === "object" && "addManager" in value && typeof value.addManager === "function" && "getForHostId" in value && typeof value.getForHostId === "function") {
|
|
17590
|
+
registries.add(value);
|
|
17591
|
+
}
|
|
17592
|
+
hook = hook.next && typeof hook.next === "object" ? hook.next : null;
|
|
17593
|
+
}
|
|
17594
|
+
}
|
|
17595
|
+
return {
|
|
17596
|
+
editorCount: editors.length,
|
|
17597
|
+
hostIds: [...hostIds],
|
|
17598
|
+
managers: [...managers],
|
|
17599
|
+
registries: [...registries]
|
|
17600
|
+
};
|
|
17601
|
+
}
|
|
17602
|
+
|
|
17603
|
+
// ../desktop-control/dist/renderer-host-rpc-discovery.js
|
|
17604
|
+
function findRendererHostRpcFamily(store) {
|
|
17605
|
+
const record10 = (value) => typeof value === "object" && value !== null;
|
|
17606
|
+
const families = /* @__PURE__ */ new Set();
|
|
17607
|
+
for (const [definition, members] of store.familyBindings) {
|
|
17608
|
+
if (!record10(definition) || definition.kind !== "signal-family")
|
|
17609
|
+
continue;
|
|
17610
|
+
if (!record10(members) || typeof members.get !== "function")
|
|
17611
|
+
continue;
|
|
17612
|
+
for (const [hostId2, member] of members) {
|
|
17613
|
+
if (typeof hostId2 !== "string" || !record10(member))
|
|
17614
|
+
continue;
|
|
17615
|
+
const signal = member.value;
|
|
17616
|
+
if (!record10(signal) || typeof signal.get !== "function")
|
|
17617
|
+
continue;
|
|
17618
|
+
let value;
|
|
17619
|
+
try {
|
|
17620
|
+
value = signal.get();
|
|
17621
|
+
} catch {
|
|
17622
|
+
continue;
|
|
17623
|
+
}
|
|
17624
|
+
if (record10(value) && Object.keys(value).length === 2 && typeof value.status === "string" && record10(value.client) && value.client.hostId === hostId2 && "rpc" in value.client) {
|
|
17625
|
+
families.add(members);
|
|
17626
|
+
break;
|
|
17627
|
+
}
|
|
17628
|
+
}
|
|
17629
|
+
}
|
|
17630
|
+
if (families.size !== 1)
|
|
17631
|
+
return null;
|
|
17632
|
+
return { store, family: families.values().next().value };
|
|
17633
|
+
}
|
|
17634
|
+
function resolveRendererHostRpc(discovery, hostId2) {
|
|
17635
|
+
const record10 = (value2) => typeof value2 === "object" && value2 !== null;
|
|
17636
|
+
const signal = discovery.family.get(hostId2)?.value;
|
|
17637
|
+
if (!record10(signal) || typeof signal.get !== "function")
|
|
17638
|
+
return null;
|
|
17639
|
+
let value;
|
|
17640
|
+
try {
|
|
17641
|
+
value = signal.get();
|
|
17642
|
+
} catch {
|
|
17643
|
+
return null;
|
|
17644
|
+
}
|
|
17645
|
+
if (!record10(value) || value.status !== "ready" || !record10(value.client) || value.client.hostId !== hostId2)
|
|
17646
|
+
return null;
|
|
17647
|
+
const rpc = value.client.rpc;
|
|
17648
|
+
return typeof rpc === "function" || record10(rpc) ? rpc : null;
|
|
17649
|
+
}
|
|
17650
|
+
|
|
17651
|
+
// ../desktop-control/dist/renderer-schedule-workspace-rpc.js
|
|
17652
|
+
var record5 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
17653
|
+
function localAppScope(root) {
|
|
17654
|
+
const scopes = /* @__PURE__ */ new Map();
|
|
17655
|
+
const seen = /* @__PURE__ */ new Set();
|
|
17656
|
+
for (const main of root.querySelectorAll("main")) {
|
|
17657
|
+
const keys = Object.getOwnPropertyNames(main).filter((key2) => key2.startsWith("__reactFiber$"));
|
|
17658
|
+
const key = keys[0];
|
|
17659
|
+
if (keys.length !== 1 || !key)
|
|
17660
|
+
continue;
|
|
17661
|
+
for (const fiber of committedReactAncestors(Reflect.get(main, key))) {
|
|
17662
|
+
if (seen.has(fiber))
|
|
17663
|
+
break;
|
|
17664
|
+
seen.add(fiber);
|
|
17665
|
+
let hook = fiber.memoizedState;
|
|
17666
|
+
for (let n = 0; record5(hook) && "next" in hook && n < 150; n++, hook = hook.next) {
|
|
17667
|
+
const handle = record5(hook.memoizedState) ? hook.memoizedState.current : null;
|
|
17668
|
+
if (!record5(handle) || !record5(handle.node) || handle.node.parent != null || !("chain" in handle) || !("scope" in handle) || typeof handle.get !== "function" || typeof handle.set !== "function" || typeof handle.watch !== "function" || !(handle.node.familyBindings instanceof Map))
|
|
17669
|
+
continue;
|
|
17670
|
+
scopes.set(handle.node, { handle, store: handle.node });
|
|
17671
|
+
}
|
|
17672
|
+
}
|
|
17673
|
+
}
|
|
17674
|
+
const scope = scopes.values().next().value;
|
|
17675
|
+
if (scopes.size !== 1 || !scope)
|
|
17676
|
+
throw new Error("Native local app scope is missing or ambiguous");
|
|
17677
|
+
const discovery = findRendererHostRpcFamily(scope.store);
|
|
17678
|
+
const rpc = discovery && resolveRendererHostRpc(discovery, "local");
|
|
17679
|
+
if (!discovery || !rpc)
|
|
17680
|
+
throw new Error("Native local app RPC is unavailable");
|
|
17681
|
+
return { ...scope, discovery, rpc };
|
|
17682
|
+
}
|
|
17683
|
+
async function createRpcScheduleWorkspaceThread(root, routing, route, createThread, input, signal) {
|
|
17684
|
+
if (!route.policy.scopedCreation)
|
|
17685
|
+
throw new Error("Native local chat creation is unavailable");
|
|
17686
|
+
const scope = localAppScope(root);
|
|
17687
|
+
const assertConnection = () => {
|
|
17688
|
+
if (routing.forHost("local")?.manager !== route.manager || resolveRendererHostRpc(scope.discovery, "local") !== scope.rpc)
|
|
17689
|
+
throw new Error("The local connection changed. Reopen the task dialog.");
|
|
17690
|
+
};
|
|
17691
|
+
const assertCurrent = () => {
|
|
17692
|
+
signal.throwIfAborted();
|
|
17693
|
+
assertConnection();
|
|
17694
|
+
};
|
|
17695
|
+
const request = async (method, params) => {
|
|
17696
|
+
assertConnection();
|
|
17697
|
+
return route.manager.sendRequest(method, params);
|
|
17698
|
+
};
|
|
17699
|
+
const readEmpty = async (threadId) => {
|
|
17700
|
+
const read = await request("thread/read", { threadId, includeTurns: false });
|
|
17701
|
+
if (!record5(read) || !record5(read.thread) || read.thread.id !== threadId || !record5(read.thread.status))
|
|
17702
|
+
throw new Error("The created chat could not be read");
|
|
17703
|
+
const turns = await request("thread/turns/list", { threadId, cursor: null, limit: 1 });
|
|
17704
|
+
const queue = await request("thread/queue/list", { threadId, cursor: null, limit: 1 });
|
|
17705
|
+
if (!record5(turns) || !Array.isArray(turns.data) || !("nextCursor" in turns) || !record5(queue) || !Array.isArray(queue.data) || !("nextCursor" in queue))
|
|
17706
|
+
throw new Error("The created chat's history or queue could not be confirmed");
|
|
17707
|
+
return {
|
|
17708
|
+
thread: read.thread,
|
|
17709
|
+
empty: read.thread.status.type === "idle" && turns.data.length === 0 && turns.nextCursor === null && queue.data.length === 0 && queue.nextCursor === null
|
|
17710
|
+
};
|
|
17711
|
+
};
|
|
17712
|
+
assertCurrent();
|
|
17713
|
+
let createdId = null;
|
|
17714
|
+
let retained = false;
|
|
17715
|
+
let failed = false;
|
|
17716
|
+
let cleanup;
|
|
17717
|
+
const discard = () => {
|
|
17718
|
+
if (!createdId || retained)
|
|
17719
|
+
return Promise.resolve();
|
|
17720
|
+
const threadId = createdId;
|
|
17721
|
+
return cleanup ??= (async () => {
|
|
17722
|
+
const { empty } = await readEmpty(threadId);
|
|
17723
|
+
if (!empty || retained)
|
|
17724
|
+
return;
|
|
17725
|
+
await request("thread/archive", { threadId });
|
|
17726
|
+
})();
|
|
17727
|
+
};
|
|
17728
|
+
const discardAfterDismissal = () => {
|
|
17729
|
+
void discard().catch((error51) => {
|
|
17730
|
+
console.error("Could not discard the unsubmitted schedule chat. Check the chat list.", error51);
|
|
17731
|
+
});
|
|
17732
|
+
};
|
|
17733
|
+
signal.addEventListener("abort", discardAfterDismissal, { once: true });
|
|
17734
|
+
const remember = (result) => {
|
|
17735
|
+
if (!record5(result) || result.status !== "created")
|
|
17736
|
+
return;
|
|
17737
|
+
const id = hostThreadIdSchema.safeParse(result.conversationId);
|
|
17738
|
+
if (!id.success)
|
|
17739
|
+
return;
|
|
17740
|
+
if (createdId && createdId !== id.data)
|
|
17741
|
+
throw new Error("Chat creation returned conflicting identities");
|
|
17742
|
+
createdId = id.data;
|
|
17743
|
+
if (signal.aborted || failed)
|
|
17744
|
+
discardAfterDismissal();
|
|
17745
|
+
};
|
|
17746
|
+
try {
|
|
17747
|
+
const output = await createThread({
|
|
17748
|
+
scope: scope.handle,
|
|
17749
|
+
target: { type: "project", projectId: input.workspace.id, environment: { type: "local" } },
|
|
17750
|
+
model: input.model,
|
|
17751
|
+
title: input.title,
|
|
17752
|
+
prompt: "",
|
|
17753
|
+
startWithoutFirstTurn: true,
|
|
17754
|
+
assertRequestCurrent: assertCurrent,
|
|
17755
|
+
onSettled: remember
|
|
17756
|
+
});
|
|
17757
|
+
const result = record5(output) && output.kind === "creation" ? output.result : null;
|
|
17758
|
+
remember(result);
|
|
17759
|
+
assertCurrent();
|
|
17760
|
+
if (!record5(result) || result.status !== "created" || !createdId || !record5(result.firstTurn) || result.firstTurn.status !== "not-requested")
|
|
17761
|
+
throw new Error("Chat creation was not confirmed. Check the chat list before creating another task.");
|
|
17762
|
+
const { thread, empty } = await readEmpty(createdId);
|
|
17763
|
+
const inspection = threadInspectionSchema.parse(await request("codexhost/thread/inspect", { threadId: createdId }));
|
|
17764
|
+
assertCurrent();
|
|
17765
|
+
if (!empty || thread.cwd !== input.workspace.cwd || inspection.owner !== "external" || inspection.transportModelId !== input.model)
|
|
17766
|
+
throw new Error("The created chat's workspace, Model or empty state could not be confirmed");
|
|
17767
|
+
return {
|
|
17768
|
+
threadId: createdId,
|
|
17769
|
+
discard,
|
|
17770
|
+
retain() {
|
|
17771
|
+
retained = true;
|
|
17772
|
+
signal.removeEventListener("abort", discardAfterDismissal);
|
|
17773
|
+
}
|
|
17774
|
+
};
|
|
17775
|
+
} catch (error51) {
|
|
17776
|
+
failed = true;
|
|
17777
|
+
try {
|
|
17778
|
+
await discard();
|
|
17779
|
+
} catch (cleanupError) {
|
|
17780
|
+
throw new Error(`${error51 instanceof Error ? error51.message : String(error51)}; Chat cleanup failed: ${cleanupError instanceof Error ? cleanupError.message : String(cleanupError)}. Check the chat list.`);
|
|
17781
|
+
}
|
|
17782
|
+
throw error51;
|
|
17783
|
+
}
|
|
17784
|
+
}
|
|
17785
|
+
|
|
17786
|
+
// ../desktop-control/dist/renderer-schedule-workspace.js
|
|
17787
|
+
var record6 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
17788
|
+
function readNativeScheduleWorkspaces(root) {
|
|
17789
|
+
const projects = /* @__PURE__ */ new Map();
|
|
17790
|
+
const ambiguous = /* @__PURE__ */ new Set();
|
|
17791
|
+
const seen = /* @__PURE__ */ new Set();
|
|
17792
|
+
const add = (value) => {
|
|
17793
|
+
if (!record6(value) || value.source !== "codex" || !record6(value.group))
|
|
17794
|
+
return;
|
|
17795
|
+
const group = value.group;
|
|
17796
|
+
if (group.projectKind !== "local" || group.hostId != null && group.hostId !== "local" || typeof group.projectId !== "string" || !group.projectId || typeof group.label !== "string" || typeof group.path !== "string" || !Array.isArray(group.rootPaths) || !group.rootPaths.includes(group.path) || !/^(?:\/|[A-Za-z]:[\\/]|\\\\)/u.test(group.path) || group.path.includes("\0"))
|
|
17797
|
+
return;
|
|
17798
|
+
const next = { id: group.projectId, label: group.label || group.path, cwd: group.path };
|
|
17799
|
+
const previous = projects.get(next.id);
|
|
17800
|
+
if (previous && previous.cwd !== next.cwd)
|
|
17801
|
+
ambiguous.add(next.id);
|
|
17802
|
+
else
|
|
17803
|
+
projects.set(next.id, next);
|
|
17804
|
+
};
|
|
17805
|
+
for (const element of root.querySelectorAll("aside [data-sidebar-cycle-item]")) {
|
|
17806
|
+
const keys = Object.getOwnPropertyNames(element).filter((key2) => key2.startsWith("__reactFiber$"));
|
|
17807
|
+
const key = keys[0];
|
|
17808
|
+
if (keys.length !== 1 || !key)
|
|
17809
|
+
continue;
|
|
17810
|
+
for (const fiber of committedReactAncestors(Reflect.get(element, key))) {
|
|
17811
|
+
if (seen.has(fiber))
|
|
17812
|
+
break;
|
|
17813
|
+
seen.add(fiber);
|
|
17814
|
+
const props = fiber.memoizedProps;
|
|
17815
|
+
if (!record6(props))
|
|
17816
|
+
continue;
|
|
17817
|
+
add(props.project);
|
|
17818
|
+
if (props.projectByKey instanceof Map)
|
|
17819
|
+
for (const project3 of props.projectByKey.values())
|
|
17820
|
+
add(project3);
|
|
17821
|
+
}
|
|
17822
|
+
}
|
|
17823
|
+
return [...projects.values()].filter(({ id }) => !ambiguous.has(id));
|
|
17824
|
+
}
|
|
17825
|
+
function isNativeProjectThreadCreator(value) {
|
|
17826
|
+
try {
|
|
17827
|
+
if (typeof value !== "function" || value.length !== 1)
|
|
17828
|
+
return false;
|
|
17829
|
+
const source = Function.prototype.toString.call(value);
|
|
17830
|
+
return /^async function/u.test(source) && source.includes("startWithoutFirstTurn:") && source.includes("onSettled:") && source.includes("createThread config is not supported for delegated thread creation") && source.includes("createThread serviceName is only supported for local Electron root threads outside worktrees");
|
|
17831
|
+
} catch {
|
|
17832
|
+
return false;
|
|
17833
|
+
}
|
|
17834
|
+
}
|
|
17835
|
+
async function createNativeScheduleWorkspaceThread(root, routing, createThread, input, signal) {
|
|
17836
|
+
if (!decodeHarnessPluginRoute(input.model))
|
|
17837
|
+
throw new Error("An external Harness is required");
|
|
17838
|
+
const route = routing.forHost("local");
|
|
17839
|
+
if (route && Reflect.get(route.manager, "kind") === "main-process-rpc") {
|
|
17840
|
+
if (!readNativeScheduleWorkspaces(root).some(({ id, cwd }) => id === input.workspace.id && cwd === input.workspace.cwd))
|
|
17841
|
+
throw new Error("The selected workspace is no longer available");
|
|
17842
|
+
return createRpcScheduleWorkspaceThread(root, routing, route, createThread, input, signal);
|
|
17843
|
+
}
|
|
17844
|
+
const manager = route?.manager;
|
|
17845
|
+
if (!route?.policy.scopedCreation || !manager || typeof manager.getConversation !== "function" || typeof manager.archiveConversation !== "function")
|
|
17846
|
+
throw new Error("Native local chat creation is unavailable");
|
|
17847
|
+
const discovery = discoverRendererHosts({
|
|
17848
|
+
querySelectorAll: () => root.querySelectorAll("main")
|
|
17849
|
+
});
|
|
17850
|
+
const scopes = new Set(discovery.registries.flatMap((registry2) => {
|
|
17851
|
+
try {
|
|
17852
|
+
return registry2.getForHostId("local") === manager ? [Reflect.get(registry2, "scope")] : [];
|
|
17853
|
+
} catch {
|
|
17854
|
+
return [];
|
|
17855
|
+
}
|
|
17856
|
+
}));
|
|
17857
|
+
const scope = scopes.values().next().value;
|
|
17858
|
+
if (scopes.size !== 1 || !record6(scope) || typeof scope.get !== "function")
|
|
17859
|
+
throw new Error("Native local chat scope is missing or ambiguous");
|
|
17860
|
+
if (!readNativeScheduleWorkspaces(root).some(({ id, cwd }) => id === input.workspace.id && cwd === input.workspace.cwd))
|
|
17861
|
+
throw new Error("The selected workspace is no longer available");
|
|
17862
|
+
signal.throwIfAborted();
|
|
17863
|
+
let createdId = null;
|
|
17864
|
+
let released = false;
|
|
17865
|
+
const discard = () => {
|
|
17866
|
+
if (!createdId || released)
|
|
17867
|
+
return;
|
|
17868
|
+
const id = createdId;
|
|
17869
|
+
released = true;
|
|
17870
|
+
const conversation2 = manager.getConversation(id);
|
|
17871
|
+
if (!record6(conversation2) || !Array.isArray(conversation2.turns) || conversation2.turns.length || Array.isArray(conversation2.requests) && conversation2.requests.length > 0 || conversation2.pendingRequest != null)
|
|
17872
|
+
return;
|
|
17873
|
+
void Promise.resolve().then(() => manager.archiveConversation(id, {
|
|
17874
|
+
useAppServerPins: false,
|
|
17875
|
+
source: "automation_history"
|
|
17876
|
+
})).catch(() => void 0);
|
|
17877
|
+
};
|
|
17878
|
+
signal.addEventListener("abort", discard, { once: true });
|
|
17879
|
+
const remember = (result2) => {
|
|
17880
|
+
if (!record6(result2) || result2.status !== "created")
|
|
17881
|
+
return;
|
|
17882
|
+
const id = hostThreadIdSchema.safeParse(result2.conversationId);
|
|
17883
|
+
if (id.success)
|
|
17884
|
+
createdId = id.data;
|
|
17885
|
+
if (signal.aborted)
|
|
17886
|
+
discard();
|
|
17887
|
+
};
|
|
17888
|
+
const output = await createThread({
|
|
17889
|
+
scope,
|
|
17890
|
+
target: { type: "project", projectId: input.workspace.id, environment: { type: "local" } },
|
|
17891
|
+
model: input.model,
|
|
17892
|
+
title: input.title,
|
|
17893
|
+
prompt: "",
|
|
17894
|
+
startWithoutFirstTurn: true,
|
|
17895
|
+
onSettled: remember
|
|
17896
|
+
});
|
|
17897
|
+
const result = record6(output) && output.kind === "creation" ? output.result : null;
|
|
17898
|
+
remember(result);
|
|
17899
|
+
signal.throwIfAborted();
|
|
17900
|
+
if (!record6(result) || result.status !== "created" || !createdId || !record6(result.firstTurn) || result.firstTurn.status !== "not-requested")
|
|
17901
|
+
throw new Error("Chat creation was not confirmed. Check the chat list before creating another task.");
|
|
17902
|
+
if (routing.forHost("local")?.manager !== route.manager)
|
|
17903
|
+
throw new Error("The local connection changed. Reopen the task dialog.");
|
|
17904
|
+
const conversation = manager.getConversation(createdId);
|
|
17905
|
+
const mode = record6(conversation) ? conversation.latestCollaborationMode : null;
|
|
17906
|
+
if (!record6(conversation) || conversation.cwd !== input.workspace.cwd || !record6(mode) || !record6(mode.settings) || mode.settings.model !== input.model)
|
|
17907
|
+
throw new Error("The created chat's workspace or Model could not be confirmed");
|
|
17908
|
+
return {
|
|
17909
|
+
threadId: createdId,
|
|
17910
|
+
retain() {
|
|
17911
|
+
released = true;
|
|
17912
|
+
signal.removeEventListener("abort", discard);
|
|
17913
|
+
}
|
|
17914
|
+
};
|
|
17915
|
+
}
|
|
17916
|
+
|
|
16720
17917
|
// src/renderer-composer-kind.ts
|
|
16721
17918
|
function orbitComposerKind(composer) {
|
|
16722
17919
|
let element = composer.querySelector('[contenteditable="true"], textarea, [role="textbox"]') ?? composer;
|
|
@@ -17037,42 +18234,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17037
18234
|
element.style.setProperty("-webkit-backdrop-filter", "none");
|
|
17038
18235
|
}
|
|
17039
18236
|
|
|
17040
|
-
// ../../node_modules/lucide/dist/esm/defaultAttributes.mjs
|
|
17041
|
-
var defaultAttributes = {
|
|
17042
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
17043
|
-
width: 24,
|
|
17044
|
-
height: 24,
|
|
17045
|
-
viewBox: "0 0 24 24",
|
|
17046
|
-
fill: "none",
|
|
17047
|
-
stroke: "currentColor",
|
|
17048
|
-
"stroke-width": 2,
|
|
17049
|
-
"stroke-linecap": "round",
|
|
17050
|
-
"stroke-linejoin": "round"
|
|
17051
|
-
};
|
|
17052
|
-
|
|
17053
|
-
// ../../node_modules/lucide/dist/esm/createElement.mjs
|
|
17054
|
-
var createSVGElement = ([tag, attrs, children]) => {
|
|
17055
|
-
const element = document.createElementNS("http://www.w3.org/2000/svg", tag);
|
|
17056
|
-
Object.keys(attrs).forEach((name) => {
|
|
17057
|
-
element.setAttribute(name, String(attrs[name]));
|
|
17058
|
-
});
|
|
17059
|
-
if (children?.length) {
|
|
17060
|
-
children.forEach((child) => {
|
|
17061
|
-
const childElement = createSVGElement(child);
|
|
17062
|
-
element.appendChild(childElement);
|
|
17063
|
-
});
|
|
17064
|
-
}
|
|
17065
|
-
return element;
|
|
17066
|
-
};
|
|
17067
|
-
var createElement = (iconNode, customAttrs = {}) => {
|
|
17068
|
-
const tag = "svg";
|
|
17069
|
-
const attrs = {
|
|
17070
|
-
...defaultAttributes,
|
|
17071
|
-
...customAttrs
|
|
17072
|
-
};
|
|
17073
|
-
return createSVGElement([tag, attrs, iconNode]);
|
|
17074
|
-
};
|
|
17075
|
-
|
|
17076
18237
|
// ../../node_modules/lucide/dist/esm/icons/boxes.mjs
|
|
17077
18238
|
var Boxes = [
|
|
17078
18239
|
[
|
|
@@ -17104,15 +18265,22 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17104
18265
|
["path", { d: "M12 13.5V8" }]
|
|
17105
18266
|
];
|
|
17106
18267
|
|
|
18268
|
+
// ../../node_modules/lucide/dist/esm/icons/calendar-clock.mjs
|
|
18269
|
+
var CalendarClock = [
|
|
18270
|
+
["path", { d: "M16 14v2.2l1.6 1" }],
|
|
18271
|
+
["path", { d: "M16 2v3" }],
|
|
18272
|
+
["path", { d: "M21 7.338V5a2 2 0 00-2-2H5a2 2 0 00-2 2v14a2 2 0 002 2h2.338" }],
|
|
18273
|
+
["path", { d: "M3 9h5.859" }],
|
|
18274
|
+
["path", { d: "M8 2v3" }],
|
|
18275
|
+
["circle", { cx: "16", cy: "16", r: "6" }]
|
|
18276
|
+
];
|
|
18277
|
+
|
|
17107
18278
|
// ../../node_modules/lucide/dist/esm/icons/circle-check.mjs
|
|
17108
18279
|
var CircleCheck = [
|
|
17109
18280
|
["circle", { cx: "12", cy: "12", r: "10" }],
|
|
17110
18281
|
["path", { d: "m9 12 2 2 4-4" }]
|
|
17111
18282
|
];
|
|
17112
18283
|
|
|
17113
|
-
// ../../node_modules/lucide/dist/esm/icons/check.mjs
|
|
17114
|
-
var Check = [["path", { d: "M20 6 9 17l-5-5" }]];
|
|
17115
|
-
|
|
17116
18284
|
// ../../node_modules/lucide/dist/esm/icons/chevron-down.mjs
|
|
17117
18285
|
var ChevronDown = [["path", { d: "m6 9 6 6 6-6" }]];
|
|
17118
18286
|
|
|
@@ -17425,12 +18593,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17425
18593
|
["circle", { cx: "9", cy: "7", r: "4" }]
|
|
17426
18594
|
];
|
|
17427
18595
|
|
|
17428
|
-
// ../../node_modules/lucide/dist/esm/icons/x.mjs
|
|
17429
|
-
var X = [
|
|
17430
|
-
["path", { d: "M18 6 6 18" }],
|
|
17431
|
-
["path", { d: "m6 6 12 12" }]
|
|
17432
|
-
];
|
|
17433
|
-
|
|
17434
18596
|
// src/assets/codexhost-brand-icon.png
|
|
17435
18597
|
var codexhost_brand_icon_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAAGYktHRAD/AP8A/6C9p5MAAAAHdElNRQfqCQMGOwfC9VnyAACAAElEQVR42uy9d4BdV3U1vk6595Wp6tKo22q2JBdZzd3G3QabZkwooQRII/WX8n0koSUkIUAgkIRQkkBIIBAgYGxsjLstW3KR1SWrl+l9Xr3llN8f55x77xvJhI8kiDFvw1hT37vt7LPLWmsDTWta05rWtKY1rWlNa1rTmta0pjWtaU1rWtOa1rSmNa1pTWta05rWtKY1rWlNa1rTmta0pjWtaU1rWtOa1rSmNa1pTWta05rWtKY1rWlNa1rTmta0pjWtaU1rWtOa1rSmNa1pTWta05rWtKY1rWlNa1rTmta0pjWtaU1rWtOa1rSmNa1pTWta05rWtKY1rWlNa1rTmta0pjWtaU1rWtOa1rSmNe3/zcjZPoCm/fTt19/721BKQQkB5nlgnIOQxkfh05/6+Nk+zKb9FIyf7QNo2k/Hvv2dezB37lyMjo7iO9/8DyxashRXXXstrr5ic7L4/+3fv42+vl50dnTg+KkB3H333QCA3/z1d5/tw2/a/5LRs30ATfvpW61aRrFYQBxF9OCxbtY7NMH2vHiMFQoFWigUsXbt2r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gwZMmTIkCFDhgwZMmTIkCFDhgwZMmTIkCFDhgwZMmTIkCFDhgwZMmTIkCFDhgwZMmTIkCFDhgwZMmTIkCFDhgwZMmTIkCFDhgwZMmTIkCFDhgwZMmTIkCFDhgwZMmTIkCFDhgwZMmTIkCFDhgwZMmTIkCFDhgwZMmTIkOECx/8F7Ct/0M2NoGQAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjYtMDktMDNUMDY6NTk6MDcrMDA6MDBh5nOGAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDI2LTA5LTAzVDA2OjU5OjA3KzAwOjAwELvLOgAAACh0RVh0ZGF0ZTp0aW1lc3RhbXAAMjAyNi0wOS0wM1QwNjo1OTowNyswMDowMEeu6uUAAAAASUVORK5CYII=";
|
|
17436
18598
|
|
|
@@ -17450,6 +18612,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17450
18612
|
"routes",
|
|
17451
18613
|
"gateway",
|
|
17452
18614
|
"updates",
|
|
18615
|
+
"schedules",
|
|
17453
18616
|
"about",
|
|
17454
18617
|
"info",
|
|
17455
18618
|
"external-link",
|
|
@@ -17506,6 +18669,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17506
18669
|
routes: Route,
|
|
17507
18670
|
gateway: Network,
|
|
17508
18671
|
updates: CircleArrowUp,
|
|
18672
|
+
schedules: CalendarClock,
|
|
17509
18673
|
about: Info,
|
|
17510
18674
|
info: Info,
|
|
17511
18675
|
"external-link": ExternalLink,
|
|
@@ -19495,6 +20659,7 @@ ${messages.harnessVersionLatest}: ${harnessVersionLabel(version2.state, messages
|
|
|
19495
20659
|
runtimeCapabilityNotInstalled: "This runtime capability is not installed yet.",
|
|
19496
20660
|
sessionImportTitle: "Session Import",
|
|
19497
20661
|
sessionImportHarness: "Harness",
|
|
20662
|
+
sessionImportSelectHost: "Select the Host to import sessions from",
|
|
19498
20663
|
sessionImportDescription: "Sessions keep their original project path. If a folder is not in the Codex sidebar, add it as a project first. Original history remains managed by the Harness.",
|
|
19499
20664
|
sessionImportAvailabilityNote: "Available Harnesses come from the selected Host. If activity is unknown, close the session in its native client before importing to avoid concurrent writes.",
|
|
19500
20665
|
sessionImportRefresh: "Refresh",
|
|
@@ -19685,7 +20850,6 @@ ${messages.harnessVersionLatest}: ${harnessVersionLabel(version2.state, messages
|
|
|
19685
20850
|
updateLatestVersion: "Latest version",
|
|
19686
20851
|
updateUpToDate: "You are up to date.",
|
|
19687
20852
|
updateAvailable: "A new version is available.",
|
|
19688
|
-
updateWindowsManualRequired: "Automatic updates are unavailable on Windows. Update manually below.",
|
|
19689
20853
|
updateAndRestart: "Update",
|
|
19690
20854
|
updateChecking: "Checking for updates...",
|
|
19691
20855
|
updateDownloading: "Downloading update...",
|
|
@@ -19701,7 +20865,7 @@ ${messages.harnessVersionLatest}: ${harnessVersionLabel(version2.state, messages
|
|
|
19701
20865
|
updateRetry: "Retry",
|
|
19702
20866
|
updateManualNpmDescription: "To update manually, quit BOFT CLI and run this command:",
|
|
19703
20867
|
updateWindowsNpmDescription: "Automatic updates are unavailable on Windows. Quit BOFT CLI and run this command in a terminal:",
|
|
19704
|
-
updateWindowsInstallerDescription: "
|
|
20868
|
+
updateWindowsInstallerDescription: "To update manually, download and run the installer for this system.",
|
|
19705
20869
|
updateManualTitle: "Manual update",
|
|
19706
20870
|
updateManualFallbackDescription: "The automatic update did not complete. Run this command in a terminal instead, then quit Codex and relaunch it with boft.",
|
|
19707
20871
|
updateCopyCommand: "Copy",
|
|
@@ -19810,6 +20974,7 @@ ${messages.harnessVersionLatest}: ${harnessVersionLabel(version2.state, messages
|
|
|
19810
20974
|
runtimeCapabilityNotInstalled: "\u8FD0\u884C\u65F6\u5C1A\u672A\u5B89\u88C5\u8BE5\u9879\u80FD\u529B\uFF0C\u56E0\u6B64\u6682\u4E0D\u53EF\u7528\u3002",
|
|
19811
20975
|
sessionImportTitle: "\u4F1A\u8BDD\u5BFC\u5165",
|
|
19812
20976
|
sessionImportHarness: "Harness",
|
|
20977
|
+
sessionImportSelectHost: "\u8BF7\u9009\u62E9\u8981\u5BFC\u5165\u4F1A\u8BDD\u7684 Host",
|
|
19813
20978
|
sessionImportDescription: "\u4F1A\u8BDD\u5C06\u4FDD\u7559\u539F\u59CB\u9879\u76EE\u8DEF\u5F84\uFF1B\u82E5\u8BE5\u6587\u4EF6\u5939\u5C1A\u672A\u51FA\u73B0\u5728 Codex \u4FA7\u680F\uFF0C\u8BF7\u5148\u5C06\u5176\u6DFB\u52A0\u4E3A\u9879\u76EE\u3002\u539F\u59CB\u5386\u53F2\u4ECD\u7531 Harness \u7BA1\u7406\u3002",
|
|
19814
20979
|
sessionImportAvailabilityNote: "\u53EF\u9009 Harness \u6765\u81EA\u5F53\u524D Host\u3002\u8FD0\u884C\u72B6\u6001\u672A\u77E5\u65F6\uFF0C\u8BF7\u5148\u5728\u539F\u751F\u5BA2\u6237\u7AEF\u5173\u95ED\u8BE5\u4F1A\u8BDD\u518D\u5BFC\u5165\uFF0C\u907F\u514D\u540C\u65F6\u5199\u5165\u3002",
|
|
19815
20980
|
sessionImportRefresh: "\u5237\u65B0",
|
|
@@ -19822,7 +20987,7 @@ ${messages.harnessVersionLatest}: ${harnessVersionLabel(version2.state, messages
|
|
|
19822
20987
|
sessionImportPageSize: "\u6BCF\u9875:",
|
|
19823
20988
|
sessionImportPrevious: "\u4E0A\u4E00\u9875",
|
|
19824
20989
|
sessionImportNext: "\u4E0B\u4E00\u9875",
|
|
19825
|
-
sessionImportPageSummary: "{
|
|
20990
|
+
sessionImportPageSummary: "\u7B2C {page} / {pages} \u9875 \xB7 \u5171 {total} \u6761",
|
|
19826
20991
|
sessionImportLoadFailed: "\u65E0\u6CD5\u8BFB\u53D6\u5F53\u524D Host \u4E0A\u7684\u4F1A\u8BDD\uFF0C\u8BF7\u68C0\u67E5\u76EE\u5F55\u8BBF\u95EE\u6743\u9650\u6216\u91CD\u590D\u7684\u4F1A\u8BDD ID \u540E\u91CD\u8BD5\u3002",
|
|
19827
20992
|
sessionImportFailed: "\u65E0\u6CD5\u5BFC\u5165\u8BE5\u4F1A\u8BDD\u3002",
|
|
19828
20993
|
sessionImportUntitled: "\u672A\u547D\u540D\u4F1A\u8BDD",
|
|
@@ -20000,7 +21165,6 @@ ${messages.harnessVersionLatest}: ${harnessVersionLabel(version2.state, messages
|
|
|
20000
21165
|
updateLatestVersion: "\u6700\u65B0\u7248\u672C",
|
|
20001
21166
|
updateUpToDate: "\u5F53\u524D\u5DF2\u662F\u6700\u65B0\u7248\u672C\u3002",
|
|
20002
21167
|
updateAvailable: "\u6709\u65B0\u7248\u672C\u53EF\u7528\u3002",
|
|
20003
|
-
updateWindowsManualRequired: "Windows \u6682\u4E0D\u652F\u6301\u81EA\u52A8\u66F4\u65B0\uFF0C\u8BF7\u5728\u4E0B\u65B9\u624B\u52A8\u66F4\u65B0\u3002",
|
|
20004
21168
|
updateAndRestart: "\u66F4\u65B0",
|
|
20005
21169
|
updateChecking: "\u6B63\u5728\u68C0\u67E5\u66F4\u65B0...",
|
|
20006
21170
|
updateDownloading: "\u6B63\u5728\u4E0B\u8F7D\u66F4\u65B0...",
|
|
@@ -20016,7 +21180,7 @@ ${messages.harnessVersionLatest}: ${harnessVersionLabel(version2.state, messages
|
|
|
20016
21180
|
updateRetry: "\u91CD\u8BD5",
|
|
20017
21181
|
updateManualNpmDescription: "\u5982\u9700\u624B\u52A8\u66F4\u65B0\uFF0C\u8BF7\u5728\u7EC8\u7AEF\u8FD0\u884C\u4EE5\u4E0B\u547D\u4EE4\u3002\u66F4\u65B0\u5B8C\u6210\u540E\uFF0C\u8BF7\u9000\u51FA Codex \u5E76\u901A\u8FC7 boft \u91CD\u65B0\u542F\u52A8\u3002",
|
|
20018
21182
|
updateWindowsNpmDescription: "Windows \u6682\u4E0D\u652F\u6301\u81EA\u52A8\u66F4\u65B0\u3002\u8BF7\u9000\u51FA BOFT CLI\uFF0C\u5728\u7EC8\u7AEF\u8FD0\u884C\u4EE5\u4E0B\u547D\u4EE4\u5B8C\u6210\u66F4\u65B0\u3002",
|
|
20019
|
-
updateWindowsInstallerDescription: "
|
|
21183
|
+
updateWindowsInstallerDescription: "\u5982\u9700\u624B\u52A8\u66F4\u65B0\uFF0C\u8BF7\u4E0B\u8F7D\u5E76\u8FD0\u884C\u9002\u7528\u4E8E\u5F53\u524D\u7CFB\u7EDF\u7684\u5B89\u88C5\u5305\u3002",
|
|
20020
21184
|
updateManualTitle: "\u624B\u52A8\u66F4\u65B0",
|
|
20021
21185
|
updateManualFallbackDescription: "\u81EA\u52A8\u66F4\u65B0\u672A\u80FD\u5B8C\u6210\uFF0C\u8BF7\u6539\u7528\u4E0B\u5217\u547D\u4EE4\u5728\u7EC8\u7AEF\u624B\u52A8\u66F4\u65B0\u3002\u5B8C\u6210\u540E\u8BF7\u9000\u51FA Codex \u5E76\u901A\u8FC7 boft \u91CD\u65B0\u542F\u52A8\u3002",
|
|
20022
21186
|
updateCopyCommand: "\u590D\u5236",
|
|
@@ -20751,6 +21915,8 @@ ${messages.harnessVersionLatest}: ${harnessVersionLabel(version2.state, messages
|
|
|
20751
21915
|
var STYLE_ATTRIBUTE2 = "data-codexhost-trigger-chip-style";
|
|
20752
21916
|
var TRIGGER_CHIP_CLASS = "codexhost-trigger-chip";
|
|
20753
21917
|
var TRIGGER_CHIP_ROOT_CLASS = "codexhost-trigger-chip-root";
|
|
21918
|
+
var COMPACT_COMPOSER_ATTRIBUTE = "data-codexhost-compact-composer";
|
|
21919
|
+
var COMPACT_COMPOSER_WIDTH = 420;
|
|
20754
21920
|
var TRIGGER_CHIP_SQUEEZE_MIN_WIDTH = "48px";
|
|
20755
21921
|
function rendererModelTriggerMaxWidth() {
|
|
20756
21922
|
return "min(200px, 26vw)";
|
|
@@ -20780,6 +21946,23 @@ ${messages.harnessVersionLatest}: ${harnessVersionLabel(version2.state, messages
|
|
|
20780
21946
|
trigger.style.maxWidth = "100%";
|
|
20781
21947
|
trigger.style.overflow = "hidden";
|
|
20782
21948
|
}
|
|
21949
|
+
function observeRendererCompactComposer(composer) {
|
|
21950
|
+
const update = () => {
|
|
21951
|
+
const width = composer.getBoundingClientRect().width;
|
|
21952
|
+
if (width > 0) {
|
|
21953
|
+
composer.toggleAttribute(COMPACT_COMPOSER_ATTRIBUTE, width <= COMPACT_COMPOSER_WIDTH);
|
|
21954
|
+
}
|
|
21955
|
+
};
|
|
21956
|
+
update();
|
|
21957
|
+
if (typeof ResizeObserver === "undefined")
|
|
21958
|
+
return () => composer.removeAttribute(COMPACT_COMPOSER_ATTRIBUTE);
|
|
21959
|
+
const observer = new ResizeObserver(update);
|
|
21960
|
+
observer.observe(composer, { box: "border-box" });
|
|
21961
|
+
return () => {
|
|
21962
|
+
observer.disconnect();
|
|
21963
|
+
composer.removeAttribute(COMPACT_COMPOSER_ATTRIBUTE);
|
|
21964
|
+
};
|
|
21965
|
+
}
|
|
20783
21966
|
function ensureRendererTriggerChipStyle(ownerDocument) {
|
|
20784
21967
|
if (ownerDocument.querySelector(`style[${STYLE_ATTRIBUTE2}]`)) return;
|
|
20785
21968
|
const style = ownerDocument.createElement("style");
|
|
@@ -20818,10 +22001,55 @@ ${messages.harnessVersionLatest}: ${harnessVersionLabel(version2.state, messages
|
|
|
20818
22001
|
cursor: not-allowed;
|
|
20819
22002
|
opacity: 0.4;
|
|
20820
22003
|
}
|
|
22004
|
+
[${COMPACT_COMPOSER_ATTRIBUTE}] [data-codexhost-model-control] [data-codexhost-model-thinking] {
|
|
22005
|
+
display: none !important;
|
|
22006
|
+
}
|
|
22007
|
+
[${COMPACT_COMPOSER_ATTRIBUTE}] [data-codexhost-permission-mode-control] {
|
|
22008
|
+
min-width: 30px !important;
|
|
22009
|
+
max-width: 30px !important;
|
|
22010
|
+
}
|
|
22011
|
+
[${COMPACT_COMPOSER_ATTRIBUTE}] [data-codexhost-permission-mode-control] .${TRIGGER_CHIP_CLASS} {
|
|
22012
|
+
padding-inline: 6px !important;
|
|
22013
|
+
}
|
|
22014
|
+
[${COMPACT_COMPOSER_ATTRIBUTE}] [data-codexhost-permission-label],
|
|
22015
|
+
[${COMPACT_COMPOSER_ATTRIBUTE}] [data-codexhost-permission-chevron],
|
|
22016
|
+
[${COMPACT_COMPOSER_ATTRIBUTE}] [data-codexhost-credits-label],
|
|
22017
|
+
[${COMPACT_COMPOSER_ATTRIBUTE}] [data-codexhost-usage-label] {
|
|
22018
|
+
display: none !important;
|
|
22019
|
+
}
|
|
22020
|
+
[${COMPACT_COMPOSER_ATTRIBUTE}] [data-codexhost-permission-mode-control]:has([data-codexhost-permission-lock]:not([hidden])) [data-codexhost-permission-shield],
|
|
22021
|
+
[${COMPACT_COMPOSER_ATTRIBUTE}] [data-codexhost-permission-mode-control]:has([data-codexhost-permission-error]:not([hidden])) [data-codexhost-permission-shield] {
|
|
22022
|
+
display: none !important;
|
|
22023
|
+
}
|
|
22024
|
+
[${COMPACT_COMPOSER_ATTRIBUTE}] [data-codexhost-credits-control],
|
|
22025
|
+
[${COMPACT_COMPOSER_ATTRIBUTE}] [data-codexhost-usage-control] {
|
|
22026
|
+
min-width: 28px !important;
|
|
22027
|
+
max-width: 28px !important;
|
|
22028
|
+
}
|
|
22029
|
+
[${COMPACT_COMPOSER_ATTRIBUTE}] [data-codexhost-credits-control] .${TRIGGER_CHIP_CLASS},
|
|
22030
|
+
[${COMPACT_COMPOSER_ATTRIBUTE}] [data-codexhost-usage-control] .${TRIGGER_CHIP_CLASS} {
|
|
22031
|
+
padding-inline: 6px !important;
|
|
22032
|
+
}
|
|
22033
|
+
[${COMPACT_COMPOSER_ATTRIBUTE}] [data-codexhost-usage-icon] {
|
|
22034
|
+
display: inline-flex !important;
|
|
22035
|
+
}
|
|
22036
|
+
[${COMPACT_COMPOSER_ATTRIBUTE}] [data-codexhost-agent-control] {
|
|
22037
|
+
margin-inline: 0 !important;
|
|
22038
|
+
}
|
|
20821
22039
|
`;
|
|
20822
22040
|
(ownerDocument.head ?? ownerDocument.documentElement).append(style);
|
|
20823
22041
|
}
|
|
20824
22042
|
|
|
22043
|
+
// ../../node_modules/lucide/dist/esm/icons/activity.mjs
|
|
22044
|
+
var Activity = [
|
|
22045
|
+
[
|
|
22046
|
+
"path",
|
|
22047
|
+
{
|
|
22048
|
+
d: "M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2"
|
|
22049
|
+
}
|
|
22050
|
+
]
|
|
22051
|
+
];
|
|
22052
|
+
|
|
20825
22053
|
// src/renderer-usage-control.ts
|
|
20826
22054
|
var ENGLISH_USAGE_MESSAGES = Object.freeze({
|
|
20827
22055
|
usage: "Usage",
|
|
@@ -21208,13 +22436,19 @@ ${messages.harnessVersionLatest}: ${harnessVersionLabel(version2.state, messages
|
|
|
21208
22436
|
trigger.style.lineHeight = "16px";
|
|
21209
22437
|
trigger.style.fontVariantNumeric = "tabular-nums";
|
|
21210
22438
|
trigger.style.letterSpacing = "0";
|
|
22439
|
+
const icon2 = document.createElement("span");
|
|
22440
|
+
icon2.dataset.codexhostUsageIcon = "";
|
|
22441
|
+
icon2.style.display = "none";
|
|
22442
|
+
icon2.style.alignItems = "center";
|
|
22443
|
+
icon2.append(createElement(Activity, { width: 16, height: 16, "aria-hidden": "true" }));
|
|
21211
22444
|
const label = document.createElement("span");
|
|
22445
|
+
label.dataset.codexhostUsageLabel = "";
|
|
21212
22446
|
label.style.display = "inline-block";
|
|
21213
22447
|
label.style.maxWidth = "100%";
|
|
21214
22448
|
label.style.overflow = "hidden";
|
|
21215
22449
|
label.style.textOverflow = "ellipsis";
|
|
21216
22450
|
label.style.whiteSpace = "nowrap";
|
|
21217
|
-
trigger.append(label);
|
|
22451
|
+
trigger.append(icon2, label);
|
|
21218
22452
|
const popover = document.createElement("div");
|
|
21219
22453
|
popover.id = `${composerId}-usage-popover`;
|
|
21220
22454
|
popover.setAttribute("role", "dialog");
|
|
@@ -22166,6 +23400,7 @@ Codex Fast mode prioritizes requests and may increase usage.`
|
|
|
22166
23400
|
label.style.textOverflow = "ellipsis";
|
|
22167
23401
|
label.style.whiteSpace = "nowrap";
|
|
22168
23402
|
const thinkingLabel = document.createElement("span");
|
|
23403
|
+
thinkingLabel.dataset.codexhostModelThinking = "";
|
|
22169
23404
|
thinkingLabel.style.color = "var(--color-text-tertiary, #8f8f8f)";
|
|
22170
23405
|
thinkingLabel.style.flex = "0 1 auto";
|
|
22171
23406
|
thinkingLabel.style.maxWidth = "72px";
|
|
@@ -22725,9 +23960,11 @@ Codex Fast mode prioritizes requests and may increase usage.`
|
|
|
22725
23960
|
trigger.className = TRIGGER_CHIP_CLASS;
|
|
22726
23961
|
applyRendererTriggerChipSqueezeTrigger(trigger);
|
|
22727
23962
|
const shield = document.createElement("span");
|
|
23963
|
+
shield.dataset.codexhostPermissionShield = "";
|
|
22728
23964
|
shield.className = "inline-flex shrink-0 items-center";
|
|
22729
23965
|
shield.append(icon(Shield, 15));
|
|
22730
23966
|
const label = document.createElement("span");
|
|
23967
|
+
label.dataset.codexhostPermissionLabel = "";
|
|
22731
23968
|
label.className = "truncate";
|
|
22732
23969
|
label.style.flex = "1 1 auto";
|
|
22733
23970
|
label.style.minWidth = "0";
|
|
@@ -22735,15 +23972,18 @@ Codex Fast mode prioritizes requests and may increase usage.`
|
|
|
22735
23972
|
label.style.textOverflow = "ellipsis";
|
|
22736
23973
|
label.style.whiteSpace = "nowrap";
|
|
22737
23974
|
const chevron = document.createElement("span");
|
|
23975
|
+
chevron.dataset.codexhostPermissionChevron = "";
|
|
22738
23976
|
chevron.className = "inline-flex shrink-0 items-center";
|
|
22739
23977
|
chevron.style.color = "var(--color-text-tertiary, #8f8f8f)";
|
|
22740
23978
|
chevron.append(icon(ChevronDown, 14));
|
|
22741
23979
|
const lockMark = document.createElement("span");
|
|
23980
|
+
lockMark.dataset.codexhostPermissionLock = "";
|
|
22742
23981
|
lockMark.className = "inline-flex shrink-0 items-center";
|
|
22743
23982
|
lockMark.style.color = "var(--color-text-tertiary, #8f8f8f)";
|
|
22744
23983
|
lockMark.hidden = true;
|
|
22745
23984
|
lockMark.append(icon(Lock, 14));
|
|
22746
23985
|
const errorMark = document.createElement("span");
|
|
23986
|
+
errorMark.dataset.codexhostPermissionError = "";
|
|
22747
23987
|
errorMark.className = "inline-flex shrink-0 items-center";
|
|
22748
23988
|
errorMark.style.color = "var(--color-text-danger, #c2413b)";
|
|
22749
23989
|
errorMark.hidden = true;
|
|
@@ -23511,6 +24751,21 @@ Codex Fast mode prioritizes requests and may increase usage.`
|
|
|
23511
24751
|
};
|
|
23512
24752
|
}
|
|
23513
24753
|
|
|
24754
|
+
// src/renderer-composer-request.ts
|
|
24755
|
+
var NATIVE_COMPOSER_REQUEST_ATTRIBUTES = [
|
|
24756
|
+
"data-codex-composer-request-navigation",
|
|
24757
|
+
"data-codex-composer-request"
|
|
24758
|
+
];
|
|
24759
|
+
var NATIVE_REQUEST_SELECTOR = NATIVE_COMPOSER_REQUEST_ATTRIBUTES.map(
|
|
24760
|
+
(attribute) => `[${attribute}]`
|
|
24761
|
+
).join(", ");
|
|
24762
|
+
function isNativeComposerRequest(element) {
|
|
24763
|
+
return element.closest(NATIVE_REQUEST_SELECTOR) !== null;
|
|
24764
|
+
}
|
|
24765
|
+
function hasNativeComposerRequest(composer) {
|
|
24766
|
+
return isNativeComposerRequest(composer) || composer.querySelector(NATIVE_REQUEST_SELECTOR) !== null;
|
|
24767
|
+
}
|
|
24768
|
+
|
|
23514
24769
|
// src/renderer-harness-command-control.ts
|
|
23515
24770
|
var CONTROL_ATTRIBUTE2 = "data-codexhost-harness-command-control";
|
|
23516
24771
|
var SVG_NS2 = "http://www.w3.org/2000/svg";
|
|
@@ -23683,10 +24938,13 @@ Codex Fast mode prioritizes requests and may increase usage.`
|
|
|
23683
24938
|
const buttons = [...element.querySelectorAll("button")];
|
|
23684
24939
|
return buttons.length > 0 && buttons.every((button2) => isComposerTrailingActionButton(button2));
|
|
23685
24940
|
}
|
|
24941
|
+
function composerButtonsWithin(root) {
|
|
24942
|
+
return [...root.querySelectorAll("button")].filter(
|
|
24943
|
+
(button2) => !isNativeComposerRequest(button2)
|
|
24944
|
+
);
|
|
24945
|
+
}
|
|
23686
24946
|
function sendButtonWithin(root) {
|
|
23687
|
-
return
|
|
23688
|
-
(button2) => isComposerSubmitButton(button2)
|
|
23689
|
-
) ?? null;
|
|
24947
|
+
return composerButtonsWithin(root).find(isComposerSubmitButton) ?? null;
|
|
23690
24948
|
}
|
|
23691
24949
|
function leftmostTrailingSibling(container, before) {
|
|
23692
24950
|
for (const child of container.children) {
|
|
@@ -23729,7 +24987,7 @@ Codex Fast mode prioritizes requests and may increase usage.`
|
|
|
23729
24987
|
}
|
|
23730
24988
|
function composerForElement(element) {
|
|
23731
24989
|
const composer = element.closest(CODEX_COMPOSER_SELECTOR);
|
|
23732
|
-
return composer && !isOrbitComposer(composer) ? composer : null;
|
|
24990
|
+
return composer && !hasNativeComposerRequest(composer) && !isOrbitComposer(composer) ? composer : null;
|
|
23733
24991
|
}
|
|
23734
24992
|
function isRecord(value) {
|
|
23735
24993
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
@@ -23861,7 +25119,7 @@ Codex Fast mode prioritizes requests and may increase usage.`
|
|
|
23861
25119
|
}
|
|
23862
25120
|
}
|
|
23863
25121
|
function lastNativeButtonWithin(composer) {
|
|
23864
|
-
const buttons =
|
|
25122
|
+
const buttons = composerButtonsWithin(composer);
|
|
23865
25123
|
for (let index = buttons.length - 1; index >= 0; index -= 1) {
|
|
23866
25124
|
const button2 = buttons[index];
|
|
23867
25125
|
if (button2 && !isInsideOwnedRendererControl(button2)) return button2;
|
|
@@ -23869,6 +25127,7 @@ Codex Fast mode prioritizes requests and may increase usage.`
|
|
|
23869
25127
|
return null;
|
|
23870
25128
|
}
|
|
23871
25129
|
function refreshSendButton(control) {
|
|
25130
|
+
if (hasNativeComposerRequest(control.composer)) return null;
|
|
23872
25131
|
const current = control.sendButton;
|
|
23873
25132
|
if (current?.isConnected && control.composer.contains(current)) return current;
|
|
23874
25133
|
const replacement = sendButtonWithin(control.composer) ?? (current && !isComposerSubmitButton(current) ? lastNativeButtonWithin(control.composer) : null);
|
|
@@ -24064,6 +25323,7 @@ Codex Fast mode prioritizes requests and may increase usage.`
|
|
|
24064
25323
|
refreshTrailingClusterPlacement(control);
|
|
24065
25324
|
refreshUsagePlacement(control);
|
|
24066
25325
|
refreshCreditsPlacement(control);
|
|
25326
|
+
control.stopCompactLayout = observeRendererCompactComposer(composer);
|
|
24067
25327
|
return control;
|
|
24068
25328
|
}
|
|
24069
25329
|
function nativeSendDisabled(button2, fallback) {
|
|
@@ -24146,6 +25406,7 @@ Codex Fast mode prioritizes requests and may increase usage.`
|
|
|
24146
25406
|
return state.agent !== "codex" && adapterState === "ready" && !submissionBlocked;
|
|
24147
25407
|
}
|
|
24148
25408
|
function disposeComposerAgentControl(control) {
|
|
25409
|
+
control.stopCompactLayout?.();
|
|
24149
25410
|
if (control.sendDisabledBeforeSwitch !== null) {
|
|
24150
25411
|
control.sendButton.disabled = nativeSendDisabled(
|
|
24151
25412
|
control.sendButton,
|
|
@@ -24375,13 +25636,13 @@ Codex Fast mode prioritizes requests and may increase usage.`
|
|
|
24375
25636
|
(name) => name.startsWith("__reactFiber$")
|
|
24376
25637
|
);
|
|
24377
25638
|
if (key) {
|
|
24378
|
-
const
|
|
25639
|
+
const ancestors2 = committedReactAncestors(
|
|
24379
25640
|
Object.getOwnPropertyDescriptor(element, key)?.value
|
|
24380
25641
|
);
|
|
24381
25642
|
const scopes = [];
|
|
24382
|
-
|
|
25643
|
+
ancestors2.forEach(({ memoizedProps: props }, index) => {
|
|
24383
25644
|
if (isRecord3(props) && "onLocalSubmitStart" in props && typeof props.submitDisabled === "boolean") {
|
|
24384
|
-
scopes.push({ owner:
|
|
25645
|
+
scopes.push({ owner: ancestors2[index], fibers: ancestors2.slice(0, index + 1) });
|
|
24385
25646
|
}
|
|
24386
25647
|
});
|
|
24387
25648
|
const valid = scopes.filter((scope) => {
|
|
@@ -24732,38 +25993,6 @@ Codex Fast mode prioritizes requests and may increase usage.`
|
|
|
24732
25993
|
return task.result;
|
|
24733
25994
|
}
|
|
24734
25995
|
|
|
24735
|
-
// src/renderer-request-sender.ts
|
|
24736
|
-
var RendererMethodUnavailableError = class extends Error {
|
|
24737
|
-
constructor(method, cause) {
|
|
24738
|
-
super(`${method} is unsupported on this Host connection`, { cause });
|
|
24739
|
-
this.method = method;
|
|
24740
|
-
this.name = "RendererMethodUnavailableError";
|
|
24741
|
-
}
|
|
24742
|
-
method;
|
|
24743
|
-
code = -32601;
|
|
24744
|
-
};
|
|
24745
|
-
function isUnsupportedMethod(error51, method) {
|
|
24746
|
-
if (typeof error51 !== "object" || error51 === null) return false;
|
|
24747
|
-
const code = "code" in error51 ? error51.code : void 0;
|
|
24748
|
-
const message2 = "message" in error51 ? error51.message : void 0;
|
|
24749
|
-
return code === -32601 || code === -32600 && typeof message2 === "string" && message2.startsWith(`Invalid request: unknown variant \`${method}\``);
|
|
24750
|
-
}
|
|
24751
|
-
function createRendererRequestSender(send) {
|
|
24752
|
-
const unsupported = /* @__PURE__ */ new Map();
|
|
24753
|
-
return async (method, params, options) => {
|
|
24754
|
-
const known = unsupported.get(method);
|
|
24755
|
-
if (known) throw known;
|
|
24756
|
-
try {
|
|
24757
|
-
return await (options === void 0 ? send(method, params) : send(method, params, options));
|
|
24758
|
-
} catch (error51) {
|
|
24759
|
-
if (!method.startsWith("codexhost/") || !isUnsupportedMethod(error51, method)) throw error51;
|
|
24760
|
-
const unavailable = new RendererMethodUnavailableError(method, error51);
|
|
24761
|
-
unsupported.set(method, unavailable);
|
|
24762
|
-
throw unavailable;
|
|
24763
|
-
}
|
|
24764
|
-
};
|
|
24765
|
-
}
|
|
24766
|
-
|
|
24767
25996
|
// src/renderer-native-thread.ts
|
|
24768
25997
|
function isRecord4(value) {
|
|
24769
25998
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
@@ -25700,10 +26929,72 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
25700
26929
|
};
|
|
25701
26930
|
}
|
|
25702
26931
|
|
|
26932
|
+
// src/renderer-thread-reference-persistence.ts
|
|
26933
|
+
var record7 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
26934
|
+
var SYNC_TIMEOUT_MS = 2e3;
|
|
26935
|
+
function restoreRpcThreadReferenceCapability(client, messages, isCurrent) {
|
|
26936
|
+
if (!record7(messages) || !record7(messages.electronBridge)) return client;
|
|
26937
|
+
const bridge = messages.electronBridge;
|
|
26938
|
+
const send = bridge.sendMessageFromView;
|
|
26939
|
+
if (typeof send !== "function") return client;
|
|
26940
|
+
const inspect = client.inspectThread.bind(client);
|
|
26941
|
+
const checked = /* @__PURE__ */ new Set();
|
|
26942
|
+
const isMissing = (key) => new Promise((resolve) => {
|
|
26943
|
+
const finish = (missing) => {
|
|
26944
|
+
clearTimeout(timer);
|
|
26945
|
+
messages.removeEventListener("message", listener);
|
|
26946
|
+
resolve(missing);
|
|
26947
|
+
};
|
|
26948
|
+
const listener = (event) => {
|
|
26949
|
+
if (event.source != null && event.source !== messages) return;
|
|
26950
|
+
const message2 = event.data;
|
|
26951
|
+
if (!record7(message2) || message2.type !== "persisted-atom-sync" || !record7(message2.state))
|
|
26952
|
+
return;
|
|
26953
|
+
finish(!Object.hasOwn(message2.state, key));
|
|
26954
|
+
};
|
|
26955
|
+
const timer = setTimeout(() => finish(false), SYNC_TIMEOUT_MS);
|
|
26956
|
+
messages.addEventListener("message", listener);
|
|
26957
|
+
try {
|
|
26958
|
+
Promise.resolve(
|
|
26959
|
+
send.call(bridge, { type: "persisted-atom-sync-request", responsePriority: "critical" })
|
|
26960
|
+
).catch(() => finish(false));
|
|
26961
|
+
} catch {
|
|
26962
|
+
finish(false);
|
|
26963
|
+
}
|
|
26964
|
+
});
|
|
26965
|
+
const inspectThread = async (input) => {
|
|
26966
|
+
if (!isCurrent() || checked.has(input.threadId)) return inspect(input);
|
|
26967
|
+
checked.add(input.threadId);
|
|
26968
|
+
const key = `thread-reference-capability:${input.threadId}`;
|
|
26969
|
+
if (!await isMissing(key) || !isCurrent()) return inspect(input);
|
|
26970
|
+
let proven = true;
|
|
26971
|
+
const result = await inspect({ ...input, includeReferenceCapability: true }).catch(() => {
|
|
26972
|
+
proven = false;
|
|
26973
|
+
return inspect(input);
|
|
26974
|
+
});
|
|
26975
|
+
if (proven && result.owner === "codex" && result.supportsThreadReferences === true && isCurrent() && await isMissing(key) && isCurrent()) {
|
|
26976
|
+
try {
|
|
26977
|
+
await send.call(bridge, {
|
|
26978
|
+
type: "persisted-atom-update",
|
|
26979
|
+
key,
|
|
26980
|
+
value: true,
|
|
26981
|
+
deleted: false
|
|
26982
|
+
});
|
|
26983
|
+
} catch {
|
|
26984
|
+
}
|
|
26985
|
+
}
|
|
26986
|
+
return result;
|
|
26987
|
+
};
|
|
26988
|
+
return Object.freeze({ ...client, inspectThread });
|
|
26989
|
+
}
|
|
26990
|
+
|
|
25703
26991
|
// src/renderer-thread-reference-capability.ts
|
|
25704
|
-
var
|
|
25705
|
-
function restoreThreadReferenceCapability(client, manager, isCurrent) {
|
|
25706
|
-
if (
|
|
26992
|
+
var record8 = (value) => typeof value === "object" && value !== null;
|
|
26993
|
+
function restoreThreadReferenceCapability(client, manager, isCurrent, messages = null) {
|
|
26994
|
+
if (record8(manager) && manager.kind === "main-process-rpc") {
|
|
26995
|
+
return restoreRpcThreadReferenceCapability(client, messages, isCurrent);
|
|
26996
|
+
}
|
|
26997
|
+
if (!record8(manager) || !record8(manager.storage)) return client;
|
|
25707
26998
|
const storage = manager.storage;
|
|
25708
26999
|
const read = storage.readValue;
|
|
25709
27000
|
const write = storage.writeValue;
|
|
@@ -25738,14 +27029,14 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
25738
27029
|
}
|
|
25739
27030
|
|
|
25740
27031
|
// src/renderer-thread-reference-context.ts
|
|
25741
|
-
var
|
|
27032
|
+
var record9 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
25742
27033
|
function createThreadReferenceContext(manager, hostId2, isCurrent) {
|
|
25743
27034
|
const prepared = /* @__PURE__ */ new WeakMap();
|
|
25744
27035
|
return (params) => {
|
|
25745
|
-
if (hostId2 === "local" || !
|
|
27036
|
+
if (hostId2 === "local" || !record9(manager) || typeof manager.getConversation !== "function" || !record9(params) || typeof params.threadId !== "string")
|
|
25746
27037
|
return params;
|
|
25747
27038
|
const conversation = manager.getConversation.call(manager, params.threadId);
|
|
25748
|
-
if (!
|
|
27039
|
+
if (!record9(conversation) || conversation.id !== params.threadId || conversation.modelProvider !== "codexhost")
|
|
25749
27040
|
return params;
|
|
25750
27041
|
if (!isCurrent()) throw new Error("Thread reference connection is no longer available");
|
|
25751
27042
|
const cached2 = prepared.get(params);
|
|
@@ -25851,7 +27142,8 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
25851
27142
|
const client = restoreThreadReferenceCapability(
|
|
25852
27143
|
nativeClient,
|
|
25853
27144
|
target,
|
|
25854
|
-
() => !disposed && readRouting()?.forHost(route.hostId) === route
|
|
27145
|
+
() => !disposed && readRouting()?.forHost(route.hostId) === route,
|
|
27146
|
+
messages
|
|
25855
27147
|
);
|
|
25856
27148
|
entries.set(route.hostId, { route, client, cleanups });
|
|
25857
27149
|
try {
|
|
@@ -25996,6 +27288,7 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
25996
27288
|
var SIDEBAR_THREAD_HOST_ID_ATTRIBUTE = "data-app-action-sidebar-thread-host-id";
|
|
25997
27289
|
var SIDEBAR_AGENT_ICON_ATTRIBUTE = "data-codexhost-sidebar-agent-icon";
|
|
25998
27290
|
var SIDEBAR_EXTERNAL_THREAD_ATTRIBUTE = "data-codexhost-sidebar-external-thread";
|
|
27291
|
+
var SIDEBAR_AGENT_ICON_ROW_SELECTOR = `${SIDEBAR_THREAD_ROW_SELECTOR}, ${NATIVE_SCHEDULE_SIDEBAR_ROW_SELECTOR}`;
|
|
25999
27292
|
var OWNERSHIP_RETRY_DELAYS_MS = [100, 300, 800, 1500, 3e3];
|
|
26000
27293
|
var PIN_REPLAY_RETRY_DELAYS_MS = [50, 150, 300];
|
|
26001
27294
|
function isRecord10(value) {
|
|
@@ -26042,7 +27335,7 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
26042
27335
|
return candidates.size === 1 ? candidates.values().next().value ?? null : null;
|
|
26043
27336
|
}
|
|
26044
27337
|
function rendererAgentForThreadOwnership(ownership) {
|
|
26045
|
-
if (ownership.owner === "codex") return
|
|
27338
|
+
if (ownership.owner === "codex") return "codex";
|
|
26046
27339
|
return ownership.harnessId;
|
|
26047
27340
|
}
|
|
26048
27341
|
function sidebarAgentIconAnchor(titleTrigger, title) {
|
|
@@ -26060,22 +27353,30 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
26060
27353
|
this.element = element;
|
|
26061
27354
|
}
|
|
26062
27355
|
element;
|
|
27356
|
+
#scheduledThread;
|
|
26063
27357
|
isConnected() {
|
|
26064
27358
|
return this.element.isConnected;
|
|
26065
27359
|
}
|
|
26066
27360
|
hostId() {
|
|
26067
|
-
|
|
27361
|
+
const attributes = sidebarThreadAttributes(this.element);
|
|
27362
|
+
this.#scheduledThread = attributes ? void 0 : readNativeScheduleSidebarThread(this.element);
|
|
27363
|
+
return attributes?.hostId ?? (this.#scheduledThread ? "local" : null);
|
|
26068
27364
|
}
|
|
26069
27365
|
threadId() {
|
|
26070
|
-
|
|
27366
|
+
const threadId = sidebarThreadAttributes(this.element) ? threadIdFromSidebarRowElement(this.element) : this.#scheduledThread !== void 0 ? this.#scheduledThread : readNativeScheduleSidebarThread(this.element);
|
|
27367
|
+
this.#scheduledThread = void 0;
|
|
27368
|
+
return threadId;
|
|
26071
27369
|
}
|
|
26072
27370
|
draftId() {
|
|
26073
27371
|
return draftIdFromSidebarRowElement(this.element);
|
|
26074
27372
|
}
|
|
26075
27373
|
render(agent, plugin) {
|
|
26076
27374
|
const presentation = JSON.stringify([agent, plugin?.name, plugin?.icon, plugin?.iconStyle]);
|
|
26077
|
-
const
|
|
26078
|
-
const
|
|
27375
|
+
const scheduled = !this.element.hasAttribute(SIDEBAR_THREAD_ROW_ATTRIBUTE) && this.element.matches(NATIVE_SCHEDULE_SIDEBAR_ROW_SELECTOR);
|
|
27376
|
+
const titleTrigger = scheduled ? this.element : this.element.querySelector("[data-thread-title-trigger]");
|
|
27377
|
+
const title = scheduled ? [...this.element.querySelectorAll("[data-thread-title][id]")].find(
|
|
27378
|
+
(node) => node.id === this.element.getAttribute("aria-labelledby")
|
|
27379
|
+
) : titleTrigger?.querySelector("[data-thread-title]");
|
|
26079
27380
|
if (!titleTrigger || !title) {
|
|
26080
27381
|
this.clear();
|
|
26081
27382
|
return;
|
|
@@ -26199,7 +27500,7 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
26199
27500
|
row = new BrowserSidebarAgentIconRow(element);
|
|
26200
27501
|
this.#rowsByElement.set(element, row);
|
|
26201
27502
|
}
|
|
26202
|
-
if (element.isConnected && element.matches(
|
|
27503
|
+
if (element.isConnected && element.matches(SIDEBAR_AGENT_ICON_ROW_SELECTOR))
|
|
26203
27504
|
this.#trackedRows.add(row);
|
|
26204
27505
|
else this.#trackedRows.delete(row);
|
|
26205
27506
|
return row;
|
|
@@ -26208,7 +27509,7 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
26208
27509
|
for (const row of this.#trackedRows) {
|
|
26209
27510
|
if (!row.isConnected()) this.#trackedRows.delete(row);
|
|
26210
27511
|
}
|
|
26211
|
-
return [...this.root.querySelectorAll(
|
|
27512
|
+
return [...this.root.querySelectorAll(SIDEBAR_AGENT_ICON_ROW_SELECTOR)].map(
|
|
26212
27513
|
(element) => this.#row(element)
|
|
26213
27514
|
);
|
|
26214
27515
|
}
|
|
@@ -26217,13 +27518,14 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
26217
27518
|
const changed = /* @__PURE__ */ new Set();
|
|
26218
27519
|
const collect = (node) => {
|
|
26219
27520
|
if (!(node instanceof Element)) return;
|
|
26220
|
-
if (node.matches(
|
|
26221
|
-
|
|
27521
|
+
if (node.matches(SIDEBAR_AGENT_ICON_ROW_SELECTOR))
|
|
27522
|
+
changed.add(this.#row(node));
|
|
27523
|
+
for (const element of node.querySelectorAll(SIDEBAR_AGENT_ICON_ROW_SELECTOR))
|
|
26222
27524
|
changed.add(this.#row(element));
|
|
26223
27525
|
};
|
|
26224
27526
|
for (const mutation of mutations) {
|
|
26225
27527
|
const target = mutation.target instanceof Element ? mutation.target : mutation.target.parentElement;
|
|
26226
|
-
const row = target?.closest(
|
|
27528
|
+
const row = target?.closest(SIDEBAR_AGENT_ICON_ROW_SELECTOR);
|
|
26227
27529
|
if (row) changed.add(this.#row(row));
|
|
26228
27530
|
else if (target && this.#rowsByElement.has(target))
|
|
26229
27531
|
changed.add(this.#row(target));
|
|
@@ -26237,7 +27539,10 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
26237
27539
|
attributeFilter: [
|
|
26238
27540
|
SIDEBAR_THREAD_ROW_ATTRIBUTE,
|
|
26239
27541
|
SIDEBAR_THREAD_ID_ATTRIBUTE,
|
|
26240
|
-
SIDEBAR_THREAD_HOST_ID_ATTRIBUTE
|
|
27542
|
+
SIDEBAR_THREAD_HOST_ID_ATTRIBUTE,
|
|
27543
|
+
"data-sidebar-cycle-item",
|
|
27544
|
+
"aria-labelledby",
|
|
27545
|
+
"role"
|
|
26241
27546
|
],
|
|
26242
27547
|
childList: true,
|
|
26243
27548
|
subtree: true
|
|
@@ -26307,7 +27612,8 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
26307
27612
|
ownershipRetryTimers.delete(key);
|
|
26308
27613
|
if (disposed) return;
|
|
26309
27614
|
failed.delete(key);
|
|
26310
|
-
ownershipByThread.
|
|
27615
|
+
const cached2 = ownershipByThread.get(key);
|
|
27616
|
+
if (cached2) cached2.stale = true;
|
|
26311
27617
|
scheduleScan(rowsByThread.get(key) ?? []);
|
|
26312
27618
|
}, delay);
|
|
26313
27619
|
ownershipRetryTimers.set(key, timer);
|
|
@@ -26320,7 +27626,10 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
26320
27626
|
if (disposed) return;
|
|
26321
27627
|
for (const ownership of threads) {
|
|
26322
27628
|
const key = ownershipKey(hostId2, ownership.threadId);
|
|
26323
|
-
ownershipByThread.set(key,
|
|
27629
|
+
ownershipByThread.set(key, {
|
|
27630
|
+
agent: rendererAgentForThreadOwnership(ownership),
|
|
27631
|
+
stale: false
|
|
27632
|
+
});
|
|
26324
27633
|
failed.delete(key);
|
|
26325
27634
|
if (ownership.owner === "codex") {
|
|
26326
27635
|
provisionalCodex.add(key);
|
|
@@ -26353,6 +27662,7 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
26353
27662
|
const unresolvedByHost = /* @__PURE__ */ new Map();
|
|
26354
27663
|
const pluginsByHost = /* @__PURE__ */ new Map();
|
|
26355
27664
|
const getPlugin = (hostId2, agent) => {
|
|
27665
|
+
if (agent === "codex") return void 0;
|
|
26356
27666
|
if (!pluginsByHost.has(hostId2)) pluginsByHost.set(hostId2, options.getPlugins?.(hostId2));
|
|
26357
27667
|
return pluginsByHost.get(hostId2)?.find(({ id }) => id === agent);
|
|
26358
27668
|
};
|
|
@@ -26378,11 +27688,10 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
26378
27688
|
if (localAgent !== null && localAgent !== void 0) {
|
|
26379
27689
|
if (threadId.success) {
|
|
26380
27690
|
const key2 = ownershipKey(hostId2, threadId.data);
|
|
26381
|
-
ownershipByThread.set(key2,
|
|
27691
|
+
ownershipByThread.set(key2, { agent: localAgent, stale: false });
|
|
26382
27692
|
clearOwnershipRetry(key2);
|
|
26383
27693
|
}
|
|
26384
|
-
|
|
26385
|
-
else row.render(localAgent, getPlugin(hostId2, localAgent));
|
|
27694
|
+
row.render(localAgent, getPlugin(hostId2, localAgent));
|
|
26386
27695
|
continue;
|
|
26387
27696
|
}
|
|
26388
27697
|
if (!threadId.success) {
|
|
@@ -26390,13 +27699,11 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
26390
27699
|
continue;
|
|
26391
27700
|
}
|
|
26392
27701
|
const key = ownershipKey(hostId2, threadId.data);
|
|
26393
|
-
|
|
26394
|
-
|
|
26395
|
-
|
|
26396
|
-
|
|
26397
|
-
|
|
26398
|
-
}
|
|
26399
|
-
row.clear();
|
|
27702
|
+
const cached2 = ownershipByThread.get(key);
|
|
27703
|
+
if (cached2) {
|
|
27704
|
+
row.render(cached2.agent, getPlugin(hostId2, cached2.agent));
|
|
27705
|
+
if (!cached2.stale) continue;
|
|
27706
|
+
} else row.clear();
|
|
26400
27707
|
if (!pending.has(key) && !failed.has(key)) {
|
|
26401
27708
|
let unresolved = unresolvedByHost.get(hostId2);
|
|
26402
27709
|
if (!unresolved) {
|
|
@@ -26436,7 +27743,10 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
26436
27743
|
for (const timer of ownershipRetryTimers.values()) clearTimeout(timer);
|
|
26437
27744
|
ownershipRetryTimers.clear();
|
|
26438
27745
|
ownershipRetryAttempts.clear();
|
|
26439
|
-
for (const key of provisionalCodex)
|
|
27746
|
+
for (const key of provisionalCodex) {
|
|
27747
|
+
const cached2 = ownershipByThread.get(key);
|
|
27748
|
+
if (cached2) cached2.stale = true;
|
|
27749
|
+
}
|
|
26440
27750
|
provisionalCodex.clear();
|
|
26441
27751
|
scheduleScan(dom.rows());
|
|
26442
27752
|
},
|
|
@@ -26535,16 +27845,16 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
26535
27845
|
return isRecord11(value) ? value : null;
|
|
26536
27846
|
}
|
|
26537
27847
|
function directForkAncestors(first) {
|
|
26538
|
-
const
|
|
27848
|
+
const ancestors2 = [];
|
|
26539
27849
|
const seen = /* @__PURE__ */ new Set();
|
|
26540
27850
|
let fiber = first;
|
|
26541
|
-
while (fiber &&
|
|
27851
|
+
while (fiber && ancestors2.length < FAST_FORK_OWNER_DEPTH) {
|
|
26542
27852
|
if (seen.has(fiber)) return [];
|
|
26543
27853
|
seen.add(fiber);
|
|
26544
|
-
|
|
27854
|
+
ancestors2.push(fiber);
|
|
26545
27855
|
fiber = isRecord11(fiber.return) ? fiber.return : null;
|
|
26546
27856
|
}
|
|
26547
|
-
return
|
|
27857
|
+
return ancestors2;
|
|
26548
27858
|
}
|
|
26549
27859
|
function ownsOtherCallback(fiber, props) {
|
|
26550
27860
|
if (typeof fiber.type === "string") return false;
|
|
@@ -26552,13 +27862,13 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
26552
27862
|
(name) => /^on[A-Z]/.test(name) && name !== "onClick" && name !== "onFork" && typeof props[name] === "function"
|
|
26553
27863
|
);
|
|
26554
27864
|
}
|
|
26555
|
-
function forkTargetFromAncestors(button2, threadId, turnId,
|
|
27865
|
+
function forkTargetFromAncestors(button2, threadId, turnId, ancestors2) {
|
|
26556
27866
|
const conversationIds = /* @__PURE__ */ new Set();
|
|
26557
27867
|
const turnIds = /* @__PURE__ */ new Set();
|
|
26558
27868
|
const hostIds = /* @__PURE__ */ new Set();
|
|
26559
27869
|
const projectlessStates = /* @__PURE__ */ new Set();
|
|
26560
27870
|
let hasForkCallback = false;
|
|
26561
|
-
for (const fiber of
|
|
27871
|
+
for (const fiber of ancestors2) {
|
|
26562
27872
|
const props = fiber.memoizedProps;
|
|
26563
27873
|
if (!isRecord11(props)) continue;
|
|
26564
27874
|
if (!hasForkCallback && typeof props.onFork !== "function" && ownsOtherCallback(fiber, props)) {
|
|
@@ -27100,6 +28410,7 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
27100
28410
|
}
|
|
27101
28411
|
});
|
|
27102
28412
|
const selectedPolicies = /* @__PURE__ */ new Map();
|
|
28413
|
+
const draftModels = createScopedDraftModelWriter();
|
|
27103
28414
|
const handleRoutingPolicyChange = () => {
|
|
27104
28415
|
currentRequestRoute();
|
|
27105
28416
|
};
|
|
@@ -27120,7 +28431,16 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
27120
28431
|
const route = window.__codexhostHostRoutingV1?.forComposer(composer);
|
|
27121
28432
|
if (!route) return false;
|
|
27122
28433
|
try {
|
|
27123
|
-
|
|
28434
|
+
const target = composer ? findComposerModelTarget(composer) : null;
|
|
28435
|
+
if (target?.[0] === "conversation") return true;
|
|
28436
|
+
if (target?.[0] !== "default" || typeof target[1] !== "string" || !composer)
|
|
28437
|
+
return agent === "codex";
|
|
28438
|
+
const binding = findScopedDraftModelBinding(composer, target[1]);
|
|
28439
|
+
const draftKey = target[1];
|
|
28440
|
+
if (!binding || !route.policy.scopedCreation)
|
|
28441
|
+
return agent === "codex" && !draftModels.has(draftKey);
|
|
28442
|
+
draftModels.apply(draftKey, binding, carrier ?? null);
|
|
28443
|
+
if (route.policy.select(carrier ?? null, draftKey, binding.creationModes)) {
|
|
27124
28444
|
modelUpdates += 1;
|
|
27125
28445
|
liveStatus.modelUpdates = modelUpdates;
|
|
27126
28446
|
}
|
|
@@ -27138,6 +28458,7 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
27138
28458
|
dispose() {
|
|
27139
28459
|
if (disposed) return;
|
|
27140
28460
|
disposed = true;
|
|
28461
|
+
draftModels.dispose();
|
|
27141
28462
|
window.removeEventListener(
|
|
27142
28463
|
"codexhost:draft-prewarm-policy-changed",
|
|
27143
28464
|
handleRoutingPolicyChange
|
|
@@ -27998,14 +29319,17 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
27998
29319
|
}
|
|
27999
29320
|
|
|
28000
29321
|
// src/codex-locale-adapter.ts
|
|
28001
|
-
var GET_LOCALE_OVERRIDE_URL = "vscode://codex/get-setting";
|
|
28002
|
-
var GET_LOCALE_INFO_URL = "vscode://codex/locale-info";
|
|
28003
29322
|
var DEFAULT_LOCALE_REQUEST_TIMEOUT_MS = 750;
|
|
28004
29323
|
function isNativeLocaleServices(value) {
|
|
28005
29324
|
if (!isRecord16(value) || !Object.hasOwn(value, "appInfo")) return false;
|
|
28006
29325
|
const appInfo = value.appInfo;
|
|
28007
29326
|
return appInfo != null && typeof appInfo.getLocaleInfo === "function";
|
|
28008
29327
|
}
|
|
29328
|
+
function isNativeSettingsServices(value) {
|
|
29329
|
+
if (!isRecord16(value) || !Object.hasOwn(value, "settings")) return false;
|
|
29330
|
+
const settings = value.settings;
|
|
29331
|
+
return typeof settings?.read === "function" && typeof settings?.write === "function";
|
|
29332
|
+
}
|
|
28009
29333
|
function isRecord16(value) {
|
|
28010
29334
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
28011
29335
|
}
|
|
@@ -28027,19 +29351,19 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
28027
29351
|
function abortError2() {
|
|
28028
29352
|
return new DOMException("The operation was aborted", "AbortError");
|
|
28029
29353
|
}
|
|
28030
|
-
function parseLocaleOverride(
|
|
28031
|
-
if (!isRecord16(
|
|
28032
|
-
throw new Error("Codex locale override response is malformed");
|
|
29354
|
+
function parseLocaleOverride(response) {
|
|
29355
|
+
if (!isRecord16(response) || !Object.hasOwn(response, "effective")) {
|
|
29356
|
+
throw new Error("Codex native locale override response is malformed");
|
|
28033
29357
|
}
|
|
28034
|
-
if (
|
|
28035
|
-
const locale = canonicalLocale(
|
|
29358
|
+
if (response.effective === null) return null;
|
|
29359
|
+
const locale = canonicalLocale(response.effective);
|
|
28036
29360
|
if (!locale) throw new Error("Codex locale override is invalid");
|
|
28037
|
-
return
|
|
29361
|
+
return locale;
|
|
28038
29362
|
}
|
|
28039
|
-
function optionalLocale(value,
|
|
29363
|
+
function optionalLocale(value, field2) {
|
|
28040
29364
|
if (value === void 0 || value === null) return void 0;
|
|
28041
29365
|
const locale = canonicalLocale(value);
|
|
28042
|
-
if (!locale) throw new Error(`Codex ${
|
|
29366
|
+
if (!locale) throw new Error(`Codex ${field2} is invalid`);
|
|
28043
29367
|
return locale;
|
|
28044
29368
|
}
|
|
28045
29369
|
function parseLocaleInfo(value) {
|
|
@@ -28049,95 +29373,39 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
28049
29373
|
systemLocale: optionalLocale(value.systemLocale, "system locale")
|
|
28050
29374
|
};
|
|
28051
29375
|
}
|
|
28052
|
-
function
|
|
28053
|
-
const bridge = ownerWindow.electronBridge;
|
|
28054
|
-
if (request.kind !== "locale-info" && typeof bridge?.sendMessageFromView !== "function") {
|
|
28055
|
-
return Promise.reject(new Error("Codex locale bridge is unavailable"));
|
|
28056
|
-
}
|
|
29376
|
+
function requestNativeLocale(ownerWindow, signal, timeoutMs, matchesServices, invoke) {
|
|
28057
29377
|
if (signal?.aborted) return Promise.reject(abortError2());
|
|
28058
|
-
const requestId = ownerWindow.crypto.randomUUID();
|
|
28059
29378
|
return new Promise((resolve, reject) => {
|
|
28060
29379
|
let settled = false;
|
|
28061
|
-
|
|
28062
|
-
ownerWindow.clearTimeout(timer);
|
|
28063
|
-
ownerWindow.removeEventListener("message", onMessage);
|
|
28064
|
-
signal?.removeEventListener("abort", onAbort);
|
|
28065
|
-
};
|
|
29380
|
+
let nativeRequest;
|
|
28066
29381
|
const settle = (operation) => {
|
|
28067
29382
|
if (settled) return;
|
|
28068
29383
|
settled = true;
|
|
28069
|
-
|
|
28070
|
-
|
|
28071
|
-
};
|
|
28072
|
-
const onAbort = () => settle(() => reject(abortError2()));
|
|
28073
|
-
const onMessage = (event) => {
|
|
28074
|
-
const message3 = event.data;
|
|
28075
|
-
if (!isRecord16(message3) || message3.type !== "fetch-response") return;
|
|
28076
|
-
if (message3.requestId !== requestId) return;
|
|
28077
|
-
if (message3.responseType !== "success" || typeof message3.status !== "number" || message3.status < 200 || message3.status >= 300 || typeof message3.bodyJsonString !== "string") {
|
|
28078
|
-
settle(() => reject(new Error("Codex locale request failed")));
|
|
28079
|
-
return;
|
|
28080
|
-
}
|
|
29384
|
+
ownerWindow.clearTimeout(timer);
|
|
29385
|
+
signal?.removeEventListener("abort", onAbort);
|
|
28081
29386
|
try {
|
|
28082
|
-
|
|
28083
|
-
|
|
28084
|
-
} catch {
|
|
28085
|
-
|
|
29387
|
+
nativeRequest?.[Symbol.dispose]?.();
|
|
29388
|
+
operation();
|
|
29389
|
+
} catch (error51) {
|
|
29390
|
+
reject(error51);
|
|
28086
29391
|
}
|
|
28087
29392
|
};
|
|
29393
|
+
const onAbort = () => settle(() => reject(abortError2()));
|
|
28088
29394
|
const timer = ownerWindow.setTimeout(
|
|
28089
29395
|
() => settle(() => reject(new Error("Codex locale request timed out"))),
|
|
28090
29396
|
timeoutMs
|
|
28091
29397
|
);
|
|
28092
|
-
ownerWindow.addEventListener("message", onMessage);
|
|
28093
29398
|
signal?.addEventListener("abort", onAbort, { once: true });
|
|
28094
|
-
const message2 = {
|
|
28095
|
-
type: "fetch",
|
|
28096
|
-
requestId,
|
|
28097
|
-
method: "POST",
|
|
28098
|
-
url: request.url,
|
|
28099
|
-
...request.body === void 0 ? {} : { body: request.body },
|
|
28100
|
-
reportUploadProgress: false
|
|
28101
|
-
};
|
|
28102
29399
|
void (async () => {
|
|
28103
|
-
|
|
28104
|
-
|
|
28105
|
-
|
|
28106
|
-
|
|
28107
|
-
|
|
28108
|
-
|
|
28109
|
-
return;
|
|
28110
|
-
}
|
|
28111
|
-
}
|
|
28112
|
-
if (typeof bridge?.sendMessageFromView !== "function") {
|
|
28113
|
-
throw new Error("Codex locale bridge is unavailable");
|
|
28114
|
-
}
|
|
28115
|
-
await bridge.sendMessageFromView(message2);
|
|
29400
|
+
const native = await loadCodexNativeServices(ownerWindow, matchesServices);
|
|
29401
|
+
if (settled) return;
|
|
29402
|
+
if (!native) throw new Error("Codex native locale services are unavailable");
|
|
29403
|
+
nativeRequest = invoke(native);
|
|
29404
|
+
const response = await nativeRequest;
|
|
29405
|
+
settle(() => resolve(response));
|
|
28116
29406
|
})().catch((error51) => settle(() => reject(error51)));
|
|
28117
29407
|
});
|
|
28118
29408
|
}
|
|
28119
|
-
async function readLocaleOverride(ownerWindow, signal, timeoutMs) {
|
|
28120
|
-
const response = await sendFixedLocaleRequest(
|
|
28121
|
-
{
|
|
28122
|
-
kind: "locale-override",
|
|
28123
|
-
url: GET_LOCALE_OVERRIDE_URL,
|
|
28124
|
-
body: JSON.stringify({ key: "localeOverride" })
|
|
28125
|
-
},
|
|
28126
|
-
ownerWindow,
|
|
28127
|
-
signal,
|
|
28128
|
-
timeoutMs
|
|
28129
|
-
);
|
|
28130
|
-
return parseLocaleOverride(response);
|
|
28131
|
-
}
|
|
28132
|
-
async function readLocaleInfo(ownerWindow, signal, timeoutMs) {
|
|
28133
|
-
const response = await sendFixedLocaleRequest(
|
|
28134
|
-
{ kind: "locale-info", url: GET_LOCALE_INFO_URL },
|
|
28135
|
-
ownerWindow,
|
|
28136
|
-
signal,
|
|
28137
|
-
timeoutMs
|
|
28138
|
-
);
|
|
28139
|
-
return parseLocaleInfo(response);
|
|
28140
|
-
}
|
|
28141
29409
|
async function readCodexLocaleSettings(options = {}) {
|
|
28142
29410
|
const ownerWindow = options.ownerWindow ?? window;
|
|
28143
29411
|
const timeoutMs = options.timeoutMs ?? DEFAULT_LOCALE_REQUEST_TIMEOUT_MS;
|
|
@@ -28146,13 +29414,25 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
28146
29414
|
}
|
|
28147
29415
|
if (options.signal?.aborted) throw abortError2();
|
|
28148
29416
|
const [overrideResult, localeInfoResult] = await Promise.allSettled([
|
|
28149
|
-
|
|
28150
|
-
|
|
29417
|
+
requestNativeLocale(
|
|
29418
|
+
ownerWindow,
|
|
29419
|
+
options.signal,
|
|
29420
|
+
timeoutMs,
|
|
29421
|
+
isNativeSettingsServices,
|
|
29422
|
+
(native) => native.settings.read("localeOverride")
|
|
29423
|
+
).then(parseLocaleOverride),
|
|
29424
|
+
requestNativeLocale(
|
|
29425
|
+
ownerWindow,
|
|
29426
|
+
options.signal,
|
|
29427
|
+
timeoutMs,
|
|
29428
|
+
isNativeLocaleServices,
|
|
29429
|
+
(native) => native.appInfo.getLocaleInfo()
|
|
29430
|
+
).then(parseLocaleInfo)
|
|
28151
29431
|
]);
|
|
28152
29432
|
if (options.signal?.aborted) throw abortError2();
|
|
28153
29433
|
const navigatorLocale = firstNavigatorLocale(ownerWindow);
|
|
28154
29434
|
const overrideKnown = overrideResult.status === "fulfilled";
|
|
28155
|
-
const localeOverride = overrideKnown ? overrideResult.value
|
|
29435
|
+
const localeOverride = overrideKnown ? overrideResult.value : void 0;
|
|
28156
29436
|
const localeInfo = localeInfoResult.status === "fulfilled" ? localeInfoResult.value : { ideLocale: void 0, systemLocale: void 0 };
|
|
28157
29437
|
if (typeof localeOverride === "string") {
|
|
28158
29438
|
return Object.freeze({
|
|
@@ -28266,6 +29546,8 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
28266
29546
|
cachedInputTokens: 0,
|
|
28267
29547
|
cacheWriteInputTokens: 0,
|
|
28268
29548
|
cacheKnownInputTokens: 0,
|
|
29549
|
+
cacheHitCachedInputTokens: 0,
|
|
29550
|
+
cacheHitInputTokens: 0,
|
|
28269
29551
|
outputTokens: 0,
|
|
28270
29552
|
reasoningOutputTokens: 0,
|
|
28271
29553
|
costUsd: 0,
|
|
@@ -28279,6 +29561,8 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
28279
29561
|
target.cachedInputTokens += source.cachedInputTokens;
|
|
28280
29562
|
target.cacheWriteInputTokens += source.cacheWriteInputTokens;
|
|
28281
29563
|
target.cacheKnownInputTokens += source.cacheKnownInputTokens;
|
|
29564
|
+
target.cacheHitCachedInputTokens += source.cacheHitCachedInputTokens;
|
|
29565
|
+
target.cacheHitInputTokens += source.cacheHitInputTokens;
|
|
28282
29566
|
target.outputTokens += source.outputTokens;
|
|
28283
29567
|
target.reasoningOutputTokens += source.reasoningOutputTokens;
|
|
28284
29568
|
target.costUsd += source.costUsd;
|
|
@@ -28333,7 +29617,9 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
28333
29617
|
};
|
|
28334
29618
|
}
|
|
28335
29619
|
function cacheHitRate(totals2) {
|
|
28336
|
-
return totals2.
|
|
29620
|
+
return totals2.cacheHitInputTokens > 0 ? formatRendererCacheHitRate(
|
|
29621
|
+
totals2.cacheHitCachedInputTokens / totals2.cacheHitInputTokens * 100
|
|
29622
|
+
) : "\u2014";
|
|
28337
29623
|
}
|
|
28338
29624
|
function formatMeasure(measure, value, locale = "en") {
|
|
28339
29625
|
return measure === "cost" ? money(value) : count2(value, locale);
|
|
@@ -28497,7 +29783,7 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
28497
29783
|
var DECIMAL = /^(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/iu;
|
|
28498
29784
|
function modelPriceDraft(key, price) {
|
|
28499
29785
|
const prices = Object.fromEntries(
|
|
28500
|
-
MODEL_PRICE_FIELDS.map((
|
|
29786
|
+
MODEL_PRICE_FIELDS.map((field2) => [field2, price?.[field2]?.toString() ?? ""])
|
|
28501
29787
|
);
|
|
28502
29788
|
return { model: key, prices };
|
|
28503
29789
|
}
|
|
@@ -28508,18 +29794,18 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
28508
29794
|
return { error: { kind: "duplicate", key } };
|
|
28509
29795
|
}
|
|
28510
29796
|
const price = {};
|
|
28511
|
-
for (const
|
|
28512
|
-
const text = draft.prices[
|
|
29797
|
+
for (const field2 of MODEL_PRICE_FIELDS) {
|
|
29798
|
+
const text = draft.prices[field2].trim();
|
|
28513
29799
|
if (text === "") {
|
|
28514
|
-
if (
|
|
28515
|
-
return { error: { kind: "priceRequired", field } };
|
|
29800
|
+
if (field2 === "input" || field2 === "output")
|
|
29801
|
+
return { error: { kind: "priceRequired", field: field2 } };
|
|
28516
29802
|
continue;
|
|
28517
29803
|
}
|
|
28518
29804
|
const value = Number(text);
|
|
28519
29805
|
if (!DECIMAL.test(text) || !Number.isFinite(value)) {
|
|
28520
|
-
return { error: { kind: "priceInvalid", field } };
|
|
29806
|
+
return { error: { kind: "priceInvalid", field: field2 } };
|
|
28521
29807
|
}
|
|
28522
|
-
price[
|
|
29808
|
+
price[field2] = value;
|
|
28523
29809
|
}
|
|
28524
29810
|
return {
|
|
28525
29811
|
change: {
|
|
@@ -28539,7 +29825,7 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
28539
29825
|
}
|
|
28540
29826
|
function formatPrice(messages, price) {
|
|
28541
29827
|
return MODEL_PRICE_FIELDS.map(
|
|
28542
|
-
(
|
|
29828
|
+
(field2) => `${messages.fields[field2]} ${price[field2] ?? messages.unset}`
|
|
28543
29829
|
).join(" \xB7 ");
|
|
28544
29830
|
}
|
|
28545
29831
|
function draftErrorText(messages, error51) {
|
|
@@ -28607,18 +29893,18 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
28607
29893
|
function renderEditor(modelId, view, isCurrent) {
|
|
28608
29894
|
const existing = view.entries.find((entry) => entry.key === modelId);
|
|
28609
29895
|
const draft = modelPriceDraft(modelId, existing?.price ?? null);
|
|
28610
|
-
const
|
|
29896
|
+
const field2 = (label, value, placeholder = "") => h(document2, "input", {
|
|
28611
29897
|
type: "text",
|
|
28612
29898
|
className: "console-input",
|
|
28613
29899
|
value,
|
|
28614
29900
|
placeholder,
|
|
28615
29901
|
"aria-label": label
|
|
28616
29902
|
});
|
|
28617
|
-
const model2 =
|
|
29903
|
+
const model2 = field2(messages.model, modelId);
|
|
28618
29904
|
model2.readOnly = true;
|
|
28619
29905
|
const prices = Object.fromEntries(
|
|
28620
29906
|
MODEL_PRICE_FIELDS.map((name) => {
|
|
28621
|
-
const input =
|
|
29907
|
+
const input = field2(
|
|
28622
29908
|
messages.fields[name],
|
|
28623
29909
|
draft.prices[name],
|
|
28624
29910
|
name === "input" || name === "output" ? messages.required : messages.notSet
|
|
@@ -29430,8 +30716,8 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
29430
30716
|
for (const cell of options.cells) {
|
|
29431
30717
|
const key = options.singleDay ? cell.hour : cell.weekday * 24 + cell.hour;
|
|
29432
30718
|
const totals2 = byHour.get(key) ?? emptyTotals();
|
|
29433
|
-
for (const
|
|
29434
|
-
totals2[
|
|
30719
|
+
for (const field2 of Object.keys(totals2))
|
|
30720
|
+
totals2[field2] += cell.totals[field2];
|
|
29435
30721
|
byHour.set(key, totals2);
|
|
29436
30722
|
}
|
|
29437
30723
|
const max = Math.max(0, ...[...byHour.values()].map((totals2) => measured(totals2, measure)));
|
|
@@ -29794,8 +31080,8 @@ ${text.includes("## My request:") ? "" : "\n## My request:\n"}`,
|
|
|
29794
31080
|
save();
|
|
29795
31081
|
load();
|
|
29796
31082
|
}
|
|
29797
|
-
function toggleFilter(
|
|
29798
|
-
view[
|
|
31083
|
+
function toggleFilter(field2, key) {
|
|
31084
|
+
view[field2] = view[field2] === key ? "" : key;
|
|
29799
31085
|
changed();
|
|
29800
31086
|
}
|
|
29801
31087
|
function selectDate(next) {
|
|
@@ -30200,7 +31486,7 @@ ${messages.creditsCoverage}: ${value.reportedRequests} / ${row.requests}` : void
|
|
|
30200
31486
|
{
|
|
30201
31487
|
key: "hit",
|
|
30202
31488
|
label: messages.cacheHit,
|
|
30203
|
-
sort: (row) => row.
|
|
31489
|
+
sort: (row) => row.cacheHitInputTokens > 0 ? row.cacheHitCachedInputTokens / row.cacheHitInputTokens : -1,
|
|
30204
31490
|
cell: (row) => cacheHitRate(row)
|
|
30205
31491
|
},
|
|
30206
31492
|
{
|
|
@@ -30211,8 +31497,8 @@ ${messages.creditsCoverage}: ${value.reportedRequests} / ${row.requests}` : void
|
|
|
30211
31497
|
}
|
|
30212
31498
|
];
|
|
30213
31499
|
}
|
|
30214
|
-
function rowFilter(
|
|
30215
|
-
const selected = view[
|
|
31500
|
+
function rowFilter(field2, key, label, detail) {
|
|
31501
|
+
const selected = view[field2] === key;
|
|
30216
31502
|
const button2 = focusKey(
|
|
30217
31503
|
h(
|
|
30218
31504
|
document2,
|
|
@@ -30226,9 +31512,9 @@ ${detail}` : ""}`
|
|
|
30226
31512
|
},
|
|
30227
31513
|
label
|
|
30228
31514
|
),
|
|
30229
|
-
`${
|
|
31515
|
+
`${field2}:row:${key}`
|
|
30230
31516
|
);
|
|
30231
|
-
button2.addEventListener("click", () => toggleFilter(
|
|
31517
|
+
button2.addEventListener("click", () => toggleFilter(field2, key));
|
|
30232
31518
|
return button2;
|
|
30233
31519
|
}
|
|
30234
31520
|
function panel(title, content, extra = null, wide = false) {
|
|
@@ -31427,8 +32713,8 @@ ${detail}` : ""}`
|
|
|
31427
32713
|
return input;
|
|
31428
32714
|
}
|
|
31429
32715
|
function createNumberField(document2, input) {
|
|
31430
|
-
const
|
|
31431
|
-
|
|
32716
|
+
const field2 = document2.createElement("div");
|
|
32717
|
+
field2.className = "flex h-8 shrink-0 items-center gap-1.5 rounded-md border border-settings-border bg-settings-surface px-2.5 transition-colors focus-within:border-settings-focus data-[invalid=true]:border-settings-danger";
|
|
31432
32718
|
const control = document2.createElement("input");
|
|
31433
32719
|
control.type = "number";
|
|
31434
32720
|
control.id = input.id;
|
|
@@ -31441,8 +32727,8 @@ ${detail}` : ""}`
|
|
|
31441
32727
|
unit.className = "text-xs text-settings-muted";
|
|
31442
32728
|
unit.setAttribute("aria-hidden", "true");
|
|
31443
32729
|
unit.textContent = input.unit;
|
|
31444
|
-
|
|
31445
|
-
return { field, control };
|
|
32730
|
+
field2.append(control, unit);
|
|
32731
|
+
return { field: field2, control };
|
|
31446
32732
|
}
|
|
31447
32733
|
|
|
31448
32734
|
// src/settings/remote-connections-dialogs.ts
|
|
@@ -31526,7 +32812,7 @@ ${detail}` : ""}`
|
|
|
31526
32812
|
);
|
|
31527
32813
|
if (!dialog) return;
|
|
31528
32814
|
const document2 = options.container.ownerDocument;
|
|
31529
|
-
const
|
|
32815
|
+
const field2 = (label, value, placeholder = "", hint = "") => {
|
|
31530
32816
|
const wrapper = remoteElement(document2, "div", "settings-credential-dialog__field");
|
|
31531
32817
|
const input = remoteElement(document2, "input");
|
|
31532
32818
|
input.id = preferenceId("remote-field");
|
|
@@ -31546,13 +32832,13 @@ ${detail}` : ""}`
|
|
|
31546
32832
|
dialog.body.append(wrapper);
|
|
31547
32833
|
return input;
|
|
31548
32834
|
};
|
|
31549
|
-
const name =
|
|
32835
|
+
const name = field2(t("\u540D\u79F0", "Name"), previous?.displayName ?? "");
|
|
31550
32836
|
name.required = true;
|
|
31551
32837
|
const addressHint = t(
|
|
31552
32838
|
"user@hostname\uFF0C\u6216 ~/.ssh/config \u4E2D\u7684\u4E3B\u673A\u522B\u540D",
|
|
31553
32839
|
"user@hostname, or a host alias from ~/.ssh/config"
|
|
31554
32840
|
);
|
|
31555
|
-
const hostname3 =
|
|
32841
|
+
const hostname3 = field2(
|
|
31556
32842
|
t("SSH \u5730\u5740", "SSH address"),
|
|
31557
32843
|
previous?.sshHost ?? "",
|
|
31558
32844
|
"user@hostname",
|
|
@@ -31561,7 +32847,7 @@ ${detail}` : ""}`
|
|
|
31561
32847
|
hostname3.required = true;
|
|
31562
32848
|
hostname3.pattern = "[^\\s\\-]\\S*";
|
|
31563
32849
|
hostname3.title = addressHint;
|
|
31564
|
-
const port =
|
|
32850
|
+
const port = field2(
|
|
31565
32851
|
t("\u7AEF\u53E3\uFF08\u53EF\u9009\uFF09", "Port (optional)"),
|
|
31566
32852
|
previous?.sshPort?.toString() ?? "",
|
|
31567
32853
|
"22"
|
|
@@ -31570,7 +32856,7 @@ ${detail}` : ""}`
|
|
|
31570
32856
|
port.min = "1";
|
|
31571
32857
|
port.max = "65535";
|
|
31572
32858
|
port.step = "1";
|
|
31573
|
-
const identity =
|
|
32859
|
+
const identity = field2(
|
|
31574
32860
|
t("\u79C1\u94A5\u8DEF\u5F84\uFF08\u53EF\u9009\uFF09", "Identity file (optional)"),
|
|
31575
32861
|
previous?.identity ?? "",
|
|
31576
32862
|
"~/.ssh/id_ed25519"
|
|
@@ -32497,6 +33783,50 @@ ${detail}` : ""}`
|
|
|
32497
33783
|
};
|
|
32498
33784
|
setRefreshLabel(false);
|
|
32499
33785
|
header.append(headingCopy, refresh);
|
|
33786
|
+
let selectedHostId;
|
|
33787
|
+
let availableHostIds = [];
|
|
33788
|
+
let displayedHostId = "";
|
|
33789
|
+
let hostsLocked = false;
|
|
33790
|
+
const hostButtons = [];
|
|
33791
|
+
const hostLabel = document2.createElement("div");
|
|
33792
|
+
hostLabel.className = "settings-session-import-host";
|
|
33793
|
+
const hostCaption = document2.createElement("span");
|
|
33794
|
+
hostCaption.textContent = "Host";
|
|
33795
|
+
const hostOptions = document2.createElement("div");
|
|
33796
|
+
hostOptions.className = "settings-connection-host-tabs";
|
|
33797
|
+
hostOptions.setAttribute("role", "group");
|
|
33798
|
+
hostOptions.setAttribute("aria-label", "Host");
|
|
33799
|
+
hostLabel.append(hostCaption, hostOptions);
|
|
33800
|
+
const lockHosts = (locked) => {
|
|
33801
|
+
hostsLocked = locked;
|
|
33802
|
+
for (const button2 of hostButtons) button2.disabled = locked;
|
|
33803
|
+
};
|
|
33804
|
+
const renderHosts = (client) => {
|
|
33805
|
+
const current = selectedHostId ?? (client ? client.hostId ?? "local" : "");
|
|
33806
|
+
availableHostIds = [
|
|
33807
|
+
.../* @__PURE__ */ new Set([
|
|
33808
|
+
...getDiagnostics()?.snapshot().hosts.map(({ hostId: hostId2 }) => hostId2) ?? [],
|
|
33809
|
+
...current ? [current] : []
|
|
33810
|
+
])
|
|
33811
|
+
];
|
|
33812
|
+
displayedHostId = current;
|
|
33813
|
+
const scrollLeft = hostOptions.scrollLeft;
|
|
33814
|
+
hostOptions.replaceChildren();
|
|
33815
|
+
hostButtons.length = 0;
|
|
33816
|
+
for (const hostId2 of availableHostIds) {
|
|
33817
|
+
const button2 = document2.createElement("button");
|
|
33818
|
+
button2.type = "button";
|
|
33819
|
+
button2.className = "settings-connection-host-tab";
|
|
33820
|
+
button2.dataset.sessionImportHost = hostId2;
|
|
33821
|
+
button2.textContent = connectionHostName(hostId2, messages);
|
|
33822
|
+
button2.setAttribute("aria-pressed", String(hostId2 === current));
|
|
33823
|
+
button2.disabled = hostsLocked;
|
|
33824
|
+
button2.addEventListener("click", () => selectHost(hostId2));
|
|
33825
|
+
hostButtons.push(button2);
|
|
33826
|
+
hostOptions.append(button2);
|
|
33827
|
+
}
|
|
33828
|
+
hostOptions.scrollLeft = scrollLeft;
|
|
33829
|
+
};
|
|
32500
33830
|
const harness2 = document2.createElement("div");
|
|
32501
33831
|
harness2.className = "settings-session-import-harness";
|
|
32502
33832
|
const harnessOptions = document2.createElement("div");
|
|
@@ -32549,6 +33879,7 @@ ${detail}` : ""}`
|
|
|
32549
33879
|
const listControls = createSessionImportListControls(document2, messages, () => load());
|
|
32550
33880
|
context.content.append(
|
|
32551
33881
|
header,
|
|
33882
|
+
hostLabel,
|
|
32552
33883
|
harness2,
|
|
32553
33884
|
listControls.searchForm,
|
|
32554
33885
|
importStatus,
|
|
@@ -32560,6 +33891,7 @@ ${detail}` : ""}`
|
|
|
32560
33891
|
let importingId = null;
|
|
32561
33892
|
let actions = [];
|
|
32562
33893
|
const updateImportActions = () => {
|
|
33894
|
+
lockHosts(importingId !== null);
|
|
32563
33895
|
listControls.setBusy(importingId !== null, importingId !== null);
|
|
32564
33896
|
for (const button2 of sourceButtons) button2.disabled = importingId !== null;
|
|
32565
33897
|
for (const { button: button2, candidate } of actions) {
|
|
@@ -32580,7 +33912,10 @@ ${detail}` : ""}`
|
|
|
32580
33912
|
listControls.setTotal(0);
|
|
32581
33913
|
candidates = [];
|
|
32582
33914
|
actions = [];
|
|
32583
|
-
const status = createStatus(
|
|
33915
|
+
const status = createStatus(
|
|
33916
|
+
document2,
|
|
33917
|
+
!displayedHostId && availableHostIds.length > 1 ? messages.sessionImportSelectHost : messages.sessionImportUnavailable
|
|
33918
|
+
);
|
|
32584
33919
|
content.replaceChildren(status);
|
|
32585
33920
|
if (focus) {
|
|
32586
33921
|
status.tabIndex = -1;
|
|
@@ -32658,6 +33993,7 @@ ${detail}` : ""}`
|
|
|
32658
33993
|
retry.className = "settings-command-button";
|
|
32659
33994
|
retry.dataset.sessionImportAction = "retry-open";
|
|
32660
33995
|
const setRetrying = (pending) => {
|
|
33996
|
+
lockHosts(pending);
|
|
32661
33997
|
listControls.setBusy(pending, pending);
|
|
32662
33998
|
for (const button2 of sourceButtons) button2.disabled = pending;
|
|
32663
33999
|
retry.disabled = pending;
|
|
@@ -32810,23 +34146,21 @@ ${detail}` : ""}`
|
|
|
32810
34146
|
const load = () => {
|
|
32811
34147
|
if (importingId !== null || context.signal.aborted) return;
|
|
32812
34148
|
loadedClient = null;
|
|
32813
|
-
const client = getClient();
|
|
32814
|
-
|
|
32815
|
-
|
|
32816
|
-
|
|
32817
|
-
|
|
32818
|
-
|
|
32819
|
-
|
|
32820
|
-
|
|
32821
|
-
refresh.disabled = true;
|
|
32822
|
-
setRefreshLabel(true);
|
|
32823
|
-
content.replaceChildren(createStatus(document2, messages.sessionImportRefreshing));
|
|
34149
|
+
const client = getClient(selectedHostId);
|
|
34150
|
+
renderHosts(client);
|
|
34151
|
+
listControls.setBusy(client !== null);
|
|
34152
|
+
refresh.disabled = client !== null;
|
|
34153
|
+
setRefreshLabel(client !== null);
|
|
34154
|
+
if (client)
|
|
34155
|
+
content.replaceChildren(createStatus(document2, messages.sessionImportRefreshing));
|
|
34156
|
+
else renderUnavailable();
|
|
32824
34157
|
const requestedHarness = selectedHarness;
|
|
32825
34158
|
const pageParams = listControls.params();
|
|
32826
34159
|
void context.runLatest(
|
|
32827
34160
|
async (signal) => {
|
|
34161
|
+
if (!client) throw new RendererSessionImportUnavailableError();
|
|
32828
34162
|
const missing = new Set(
|
|
32829
|
-
getDiagnostics()?.snapshot().hosts.find(({ hostId: hostId2 }) => hostId2 === "local")?.agents.filter(({ availability }) => availability === "notInstalled").map(({ agent }) => agent)
|
|
34163
|
+
getDiagnostics()?.snapshot().hosts.find(({ hostId: hostId2 }) => hostId2 === (client.hostId ?? "local"))?.agents.filter(({ availability }) => availability === "notInstalled").map(({ agent }) => agent)
|
|
32830
34164
|
);
|
|
32831
34165
|
const harnesses = (await client.listSessionImportSources()).harnesses.filter(
|
|
32832
34166
|
({ harnessId }) => !missing.has(harnessId)
|
|
@@ -32867,6 +34201,19 @@ ${detail}` : ""}`
|
|
|
32867
34201
|
}
|
|
32868
34202
|
);
|
|
32869
34203
|
};
|
|
34204
|
+
const selectHost = (hostId2) => {
|
|
34205
|
+
if (hostsLocked || !availableHostIds.includes(hostId2) || hostId2 === selectedHostId) return;
|
|
34206
|
+
selectedHostId = hostId2;
|
|
34207
|
+
selectedHarness = null;
|
|
34208
|
+
sources = [];
|
|
34209
|
+
candidates = [];
|
|
34210
|
+
actions = [];
|
|
34211
|
+
importStatus.replaceChildren();
|
|
34212
|
+
listControls.reset();
|
|
34213
|
+
renderHarnessOptions();
|
|
34214
|
+
load();
|
|
34215
|
+
hostButtons.find((button2) => button2.dataset.sessionImportHost === hostId2)?.focus();
|
|
34216
|
+
};
|
|
32870
34217
|
refresh.addEventListener("click", load);
|
|
32871
34218
|
load();
|
|
32872
34219
|
return void 0;
|
|
@@ -33149,14 +34496,14 @@ ${detail}` : ""}`
|
|
|
33149
34496
|
description: messages.idleReleaseTimeoutDescription,
|
|
33150
34497
|
controlId: minutesId
|
|
33151
34498
|
});
|
|
33152
|
-
const { field, control: minutes } = createNumberField(document2, {
|
|
34499
|
+
const { field: field2, control: minutes } = createNumberField(document2, {
|
|
33153
34500
|
id: minutesId,
|
|
33154
34501
|
describedBy: timeout.description.id,
|
|
33155
34502
|
unit: messages.idleReleaseMinutes,
|
|
33156
34503
|
min: IDLE_RELEASE_TIMEOUT_MINUTES_MIN,
|
|
33157
34504
|
max: IDLE_RELEASE_TIMEOUT_MINUTES_MAX
|
|
33158
34505
|
});
|
|
33159
|
-
timeout.item.append(
|
|
34506
|
+
timeout.item.append(field2);
|
|
33160
34507
|
timeout.item.id = preferenceId("idle-release-timeout");
|
|
33161
34508
|
enabled.setAttribute("aria-controls", timeout.item.id);
|
|
33162
34509
|
card.append(toggle.item, timeout.item);
|
|
@@ -33177,7 +34524,7 @@ ${detail}` : ""}`
|
|
|
33177
34524
|
statusText.textContent = value === "applied" ? "" : statusMessages[value];
|
|
33178
34525
|
};
|
|
33179
34526
|
const setInvalid = (invalid) => {
|
|
33180
|
-
|
|
34527
|
+
field2.dataset.invalid = String(invalid);
|
|
33181
34528
|
timeout.description.dataset.invalid = String(invalid);
|
|
33182
34529
|
timeout.description.textContent = invalid ? messages.idleReleaseInvalid : messages.idleReleaseTimeoutDescription;
|
|
33183
34530
|
minutes.setAttribute("aria-invalid", String(invalid));
|
|
@@ -33502,7 +34849,7 @@ ${detail}` : ""}`
|
|
|
33502
34849
|
}
|
|
33503
34850
|
function defaultImportName(source, existing) {
|
|
33504
34851
|
const base = source.provider === "openai-codex" ? "codex" : "grok";
|
|
33505
|
-
const used = new Set(existing.map((
|
|
34852
|
+
const used = new Set(existing.map((record10) => record10.name));
|
|
33506
34853
|
const valid = (name) => credentialImportNameSchema.safeParse(name).success;
|
|
33507
34854
|
if (!used.has(base)) return base;
|
|
33508
34855
|
const local = source.label.includes("@") ? source.label.split("@")[0] ?? "" : "";
|
|
@@ -33525,7 +34872,7 @@ ${detail}` : ""}`
|
|
|
33525
34872
|
const shown = (text) => accountDisplayText(text, hideEmails);
|
|
33526
34873
|
const targetButtons = /* @__PURE__ */ new Map();
|
|
33527
34874
|
const importedRecords = () => snapshot.targets.find((target) => target.harnessId === TARGET_HARNESS_ID)?.imports ?? [];
|
|
33528
|
-
const sourceOf = (
|
|
34875
|
+
const sourceOf = (record10) => snapshot.sources.find((source) => source.id === record10.source.id);
|
|
33529
34876
|
const piTarget = () => snapshot.targets.find((candidate) => candidate.harnessId === TARGET_HARNESS_ID);
|
|
33530
34877
|
const compatibleSources = () => {
|
|
33531
34878
|
const target = piTarget();
|
|
@@ -33563,7 +34910,7 @@ ${detail}` : ""}`
|
|
|
33563
34910
|
sectionImport.addEventListener("click", () => {
|
|
33564
34911
|
const sources = compatibleSources();
|
|
33565
34912
|
const free = sources.find(
|
|
33566
|
-
(source2) => !importedRecords().some((
|
|
34913
|
+
(source2) => !importedRecords().some((record10) => record10.source.id === source2.id)
|
|
33567
34914
|
);
|
|
33568
34915
|
const source = free ?? sources[0];
|
|
33569
34916
|
if (source) openDialog("add", { source, choose: true }, SECTION_IMPORT_KEY);
|
|
@@ -33613,30 +34960,30 @@ ${detail}` : ""}`
|
|
|
33613
34960
|
mark.append(createRendererAgentIcon(agent ?? "pi", 26, document2, pluginFor(agent ?? "pi")));
|
|
33614
34961
|
return mark;
|
|
33615
34962
|
};
|
|
33616
|
-
const renderRow = (
|
|
34963
|
+
const renderRow = (record10) => {
|
|
33617
34964
|
const row = document2.createElement("div");
|
|
33618
34965
|
row.className = "settings-pi-accounts__row";
|
|
33619
34966
|
row.tabIndex = -1;
|
|
33620
|
-
row.dataset.importName =
|
|
33621
|
-
row.setAttribute("aria-label", shown(
|
|
33622
|
-
const agent =
|
|
34967
|
+
row.dataset.importName = record10.name;
|
|
34968
|
+
row.setAttribute("aria-label", shown(record10.source.label));
|
|
34969
|
+
const agent = record10.source.harnessId;
|
|
33623
34970
|
const mark = createMark(agent);
|
|
33624
34971
|
const identity = document2.createElement("div");
|
|
33625
34972
|
identity.className = "settings-pi-accounts__identity";
|
|
33626
34973
|
const label = document2.createElement("strong");
|
|
33627
34974
|
label.className = "settings-account-email";
|
|
33628
|
-
label.textContent = shown(
|
|
34975
|
+
label.textContent = shown(record10.source.label);
|
|
33629
34976
|
label.title = label.textContent;
|
|
33630
34977
|
label.translate = false;
|
|
33631
34978
|
const meta3 = document2.createElement("div");
|
|
33632
34979
|
meta3.className = "settings-account-metadata";
|
|
33633
|
-
const source = sourceOf(
|
|
34980
|
+
const source = sourceOf(record10);
|
|
33634
34981
|
const parts = [
|
|
33635
34982
|
metaPart(rendererAgentLabel(agent, pluginFor(agent)), "settings-pi-accounts__agent"),
|
|
33636
|
-
metaPart(`${
|
|
34983
|
+
metaPart(`${record10.name}/\u2026`, void 0, true),
|
|
33637
34984
|
metaPart(messages.copied)
|
|
33638
34985
|
];
|
|
33639
|
-
const time3 = formatImportedAt(
|
|
34986
|
+
const time3 = formatImportedAt(record10.importedAt);
|
|
33640
34987
|
if (time3) parts.push(metaPart(time3));
|
|
33641
34988
|
parts.forEach((part, index) => {
|
|
33642
34989
|
if (index > 0) {
|
|
@@ -33653,23 +35000,23 @@ ${detail}` : ""}`
|
|
|
33653
35000
|
reimport.type = "button";
|
|
33654
35001
|
reimport.className = "settings-account-action";
|
|
33655
35002
|
reimport.textContent = messages.rowReimport;
|
|
33656
|
-
reimport.setAttribute("aria-label", `${messages.reimport}: ${shown(
|
|
35003
|
+
reimport.setAttribute("aria-label", `${messages.reimport}: ${shown(record10.source.label)}`);
|
|
33657
35004
|
reimport.disabled = busy || !source;
|
|
33658
35005
|
reimport.title = messages.reimport;
|
|
33659
35006
|
reimport.addEventListener("click", () => {
|
|
33660
|
-
if (source) openDialog("reimport", { source, record:
|
|
35007
|
+
if (source) openDialog("reimport", { source, record: record10 }, `row:${record10.name}`);
|
|
33661
35008
|
});
|
|
33662
35009
|
const remove = document2.createElement("button");
|
|
33663
35010
|
remove.type = "button";
|
|
33664
35011
|
remove.className = "settings-account-action settings-pi-accounts__remove";
|
|
33665
35012
|
remove.textContent = messages.rowRemove;
|
|
33666
|
-
remove.setAttribute("aria-label", `${messages.remove}: ${shown(
|
|
35013
|
+
remove.setAttribute("aria-label", `${messages.remove}: ${shown(record10.source.label)}`);
|
|
33667
35014
|
remove.disabled = busy;
|
|
33668
|
-
remove.addEventListener("click", () => openDialog("remove", { record:
|
|
35015
|
+
remove.addEventListener("click", () => openDialog("remove", { record: record10 }, `row:${record10.name}`));
|
|
33669
35016
|
if (source) actions.append(reimport);
|
|
33670
35017
|
actions.append(remove);
|
|
33671
35018
|
row.append(mark, identity, actions);
|
|
33672
|
-
rows.set(
|
|
35019
|
+
rows.set(record10.name, row);
|
|
33673
35020
|
return row;
|
|
33674
35021
|
};
|
|
33675
35022
|
const loginTypeLabel = (type) => type === "oauth" ? messages.typeOauth : type === "api_key" ? messages.typeApiKey : messages.typeOther;
|
|
@@ -33822,7 +35169,7 @@ ${detail}` : ""}`
|
|
|
33822
35169
|
const label = document2.createElement("strong");
|
|
33823
35170
|
label.textContent = shown(choice.label);
|
|
33824
35171
|
label.translate = false;
|
|
33825
|
-
const existing = importedRecords().find((
|
|
35172
|
+
const existing = importedRecords().find((record10) => record10.source.id === choice.id);
|
|
33826
35173
|
const agent = choice.harnessId;
|
|
33827
35174
|
const detail = document2.createElement("span");
|
|
33828
35175
|
detail.textContent = [
|
|
@@ -33863,7 +35210,7 @@ ${detail}` : ""}`
|
|
|
33863
35210
|
const name = request.action === "list" ? void 0 : request.name;
|
|
33864
35211
|
state = {
|
|
33865
35212
|
source: state.source,
|
|
33866
|
-
record: importedRecords().find((
|
|
35213
|
+
record: importedRecords().find((record10) => record10.name === name) ?? state.record
|
|
33867
35214
|
};
|
|
33868
35215
|
show(next);
|
|
33869
35216
|
} else {
|
|
@@ -33877,12 +35224,12 @@ ${detail}` : ""}`
|
|
|
33877
35224
|
sourceRadios = [];
|
|
33878
35225
|
body.replaceChildren();
|
|
33879
35226
|
controls.replaceChildren();
|
|
33880
|
-
const { source, record:
|
|
35227
|
+
const { source, record: record10 } = state;
|
|
33881
35228
|
const close = () => modal.close();
|
|
33882
35229
|
if (mode === "add" || mode === "reimport") {
|
|
33883
35230
|
title.textContent = mode === "add" ? messages.add : messages.reimport;
|
|
33884
35231
|
modal.setAttribute("aria-label", title.textContent);
|
|
33885
|
-
const active = source ??
|
|
35232
|
+
const active = source ?? record10?.source;
|
|
33886
35233
|
const choices = mode === "add" && state.choose ? compatibleSources() : [];
|
|
33887
35234
|
if (choices.length > 1) body.append(sourcePicker(choices));
|
|
33888
35235
|
else if (active) body.append(line(messages.source, shown(active.label)));
|
|
@@ -33891,8 +35238,8 @@ ${detail}` : ""}`
|
|
|
33891
35238
|
input.maxLength = 48;
|
|
33892
35239
|
input.autocomplete = "off";
|
|
33893
35240
|
input.spellcheck = false;
|
|
33894
|
-
input.value =
|
|
33895
|
-
input.readOnly = Boolean(
|
|
35241
|
+
input.value = record10?.name ?? (source ? defaultImportName(source, importedRecords()) : "codex");
|
|
35242
|
+
input.readOnly = Boolean(record10);
|
|
33896
35243
|
input.addEventListener("input", () => {
|
|
33897
35244
|
nameEdited = true;
|
|
33898
35245
|
});
|
|
@@ -33926,7 +35273,7 @@ ${detail}` : ""}`
|
|
|
33926
35273
|
{
|
|
33927
35274
|
action: mode === "reimport" ? "reimport" : "import",
|
|
33928
35275
|
sourceId: source2.id,
|
|
33929
|
-
name:
|
|
35276
|
+
name: record10?.name ?? input.value,
|
|
33930
35277
|
confirmed: true
|
|
33931
35278
|
},
|
|
33932
35279
|
"done"
|
|
@@ -33936,16 +35283,16 @@ ${detail}` : ""}`
|
|
|
33936
35283
|
)
|
|
33937
35284
|
);
|
|
33938
35285
|
(mode === "add" ? input : controls.children[0]).focus();
|
|
33939
|
-
} else if (mode === "remove" &&
|
|
35286
|
+
} else if (mode === "remove" && record10) {
|
|
33940
35287
|
title.textContent = messages.remove;
|
|
33941
35288
|
modal.setAttribute("aria-label", title.textContent);
|
|
33942
|
-
body.append(note(messages.removeWarning.replace("{name}",
|
|
35289
|
+
body.append(note(messages.removeWarning.replace("{name}", record10.name)));
|
|
33943
35290
|
const cancel = command(messages.cancel, close);
|
|
33944
35291
|
controls.append(
|
|
33945
35292
|
cancel,
|
|
33946
35293
|
command(
|
|
33947
35294
|
messages.remove,
|
|
33948
|
-
() => submit({ action: "remove", name:
|
|
35295
|
+
() => submit({ action: "remove", name: record10.name, confirmed: true }, null),
|
|
33949
35296
|
"danger"
|
|
33950
35297
|
)
|
|
33951
35298
|
);
|
|
@@ -33953,7 +35300,7 @@ ${detail}` : ""}`
|
|
|
33953
35300
|
} else {
|
|
33954
35301
|
title.textContent = messages.doneTitle;
|
|
33955
35302
|
modal.setAttribute("aria-label", title.textContent);
|
|
33956
|
-
const name =
|
|
35303
|
+
const name = record10?.name;
|
|
33957
35304
|
if (name) body.append(line(messages.entry, `${name}/\u2026`, true));
|
|
33958
35305
|
body.append(note(messages.done));
|
|
33959
35306
|
const done = command(messages.close, close, "primary");
|
|
@@ -34000,21 +35347,21 @@ ${detail}` : ""}`
|
|
|
34000
35347
|
(candidate) => candidate.harnessId === TARGET_HARNESS_ID && source && candidate.providers.includes(source.provider)
|
|
34001
35348
|
);
|
|
34002
35349
|
if (!source || !target) return null;
|
|
34003
|
-
const
|
|
35350
|
+
const record10 = target.imports.find((candidate) => candidate.source.id === source.id);
|
|
34004
35351
|
const key = `${harnessId}:${accountLabel}:import`;
|
|
34005
35352
|
const button2 = document2.createElement("button");
|
|
34006
35353
|
button2.type = "button";
|
|
34007
35354
|
button2.className = "settings-account-pi-import";
|
|
34008
35355
|
button2.dataset.accountFocus = key;
|
|
34009
35356
|
button2.disabled = busy;
|
|
34010
|
-
const hint =
|
|
35357
|
+
const hint = record10 ? messages.importedHint.replace("{name}", record10.name) : messages.add;
|
|
34011
35358
|
button2.title = hint;
|
|
34012
35359
|
button2.setAttribute("aria-label", hint);
|
|
34013
35360
|
button2.append(createRendererAgentIcon("pi", 12, document2, pluginFor("pi")));
|
|
34014
|
-
if (
|
|
35361
|
+
if (record10) {
|
|
34015
35362
|
button2.dataset.state = "imported";
|
|
34016
35363
|
const name = document2.createElement("code");
|
|
34017
|
-
name.textContent = `${
|
|
35364
|
+
name.textContent = `${record10.name}/\u2026`;
|
|
34018
35365
|
name.translate = false;
|
|
34019
35366
|
button2.append(name, createRendererSettingsIcon("check", 12));
|
|
34020
35367
|
} else {
|
|
@@ -34022,7 +35369,7 @@ ${detail}` : ""}`
|
|
|
34022
35369
|
button2.append(messages.add);
|
|
34023
35370
|
}
|
|
34024
35371
|
button2.addEventListener("click", () => {
|
|
34025
|
-
if (!
|
|
35372
|
+
if (!record10) {
|
|
34026
35373
|
openDialog("add", { source }, key);
|
|
34027
35374
|
return;
|
|
34028
35375
|
}
|
|
@@ -34031,7 +35378,7 @@ ${detail}` : ""}`
|
|
|
34031
35378
|
renderSection();
|
|
34032
35379
|
sectionToggle.setAttribute("aria-expanded", "true");
|
|
34033
35380
|
}
|
|
34034
|
-
const row = rows.get(
|
|
35381
|
+
const row = rows.get(record10.name);
|
|
34035
35382
|
row?.scrollIntoView({ block: "nearest", behavior: "smooth" });
|
|
34036
35383
|
row?.focus();
|
|
34037
35384
|
});
|
|
@@ -35154,6 +36501,43 @@ ${detail}` : ""}`
|
|
|
35154
36501
|
});
|
|
35155
36502
|
}
|
|
35156
36503
|
|
|
36504
|
+
// src/settings/harness-schedules-page.ts
|
|
36505
|
+
function createHarnessSchedulesPage(messages, options) {
|
|
36506
|
+
const t = (zh, en) => messages.locale === "zh-CN" ? zh : en;
|
|
36507
|
+
return {
|
|
36508
|
+
id: "harness-schedules",
|
|
36509
|
+
label: t("\u5B9A\u65F6\u4EFB\u52A1", "Schedules"),
|
|
36510
|
+
icon: "schedules",
|
|
36511
|
+
mount(context) {
|
|
36512
|
+
const navigate = () => {
|
|
36513
|
+
context.content.replaceChildren();
|
|
36514
|
+
void context.runLatest((signal) => options.openSchedules(signal), {
|
|
36515
|
+
success() {
|
|
36516
|
+
},
|
|
36517
|
+
failure() {
|
|
36518
|
+
const document2 = context.content.ownerDocument;
|
|
36519
|
+
const status = document2.createElement("p");
|
|
36520
|
+
status.setAttribute("role", "status");
|
|
36521
|
+
status.className = "text-sm text-settings-muted";
|
|
36522
|
+
status.textContent = t(
|
|
36523
|
+
"\u65E0\u6CD5\u6253\u5F00\u5B98\u65B9\u5B9A\u65F6\u4EFB\u52A1\u9875\uFF0C\u8BF7\u91CD\u8BD5\u6216\u4ECE\u5B98\u65B9\u4FA7\u680F\u8FDB\u5165\u3002",
|
|
36524
|
+
"Could not open the official schedules page. Retry or use the Desktop sidebar."
|
|
36525
|
+
);
|
|
36526
|
+
const retry = document2.createElement("button");
|
|
36527
|
+
retry.type = "button";
|
|
36528
|
+
retry.className = "rounded-lg px-3 py-2 text-sm text-settings-text hover:bg-settings-hover focus-visible:outline-2 focus-visible:outline-settings-focus";
|
|
36529
|
+
retry.textContent = t("\u91CD\u8BD5", "Retry");
|
|
36530
|
+
retry.addEventListener("click", navigate);
|
|
36531
|
+
context.content.replaceChildren(status, retry);
|
|
36532
|
+
}
|
|
36533
|
+
});
|
|
36534
|
+
};
|
|
36535
|
+
navigate();
|
|
36536
|
+
return void 0;
|
|
36537
|
+
}
|
|
36538
|
+
};
|
|
36539
|
+
}
|
|
36540
|
+
|
|
35157
36541
|
// src/settings/update-request.ts
|
|
35158
36542
|
var RENDERER_UPDATE_REQUEST_TIMEOUT_MS = 15e3;
|
|
35159
36543
|
var RendererUpdateRequestTimeoutError = class extends Error {
|
|
@@ -35589,8 +36973,9 @@ ${detail}` : ""}`
|
|
|
35589
36973
|
const starBanner = updateStarBanner(document2, messages);
|
|
35590
36974
|
context.content.append(header, metadata, panel, controls, starBanner, notes);
|
|
35591
36975
|
const setManualFallback = (fallback) => {
|
|
35592
|
-
controls.className =
|
|
35593
|
-
|
|
36976
|
+
controls.className = fallback ? "settings-update-controls" : "settings-update-controls is-quiet";
|
|
36977
|
+
const windowsNpm = windows && installationValue.textContent === messages.updateInstallationNpm;
|
|
36978
|
+
manualNpmDescription.textContent = fallback ? windowsNpm ? messages.updateWindowsNpmDescription : messages.updateManualFallbackDescription : windowsNpm ? messages.updateWindowsNpmDescription : messages.updateManualNpmDescription;
|
|
35594
36979
|
manualNpmDescription.className = fallback ? "settings-update-manual-description is-fallback" : "settings-update-manual-description";
|
|
35595
36980
|
};
|
|
35596
36981
|
let pollTimer;
|
|
@@ -35742,10 +37127,13 @@ ${detail}` : ""}`
|
|
|
35742
37127
|
panel.dataset.updateState = view;
|
|
35743
37128
|
panel.replaceChildren();
|
|
35744
37129
|
setManualFallback(Boolean(result.error) || actionableStatus !== null);
|
|
35745
|
-
const title = actionableStatus ? messages.updateFailed : result.error ? messages.updateFailed : result.updateAvailable ? messages.
|
|
35746
|
-
const
|
|
37130
|
+
const title = actionableStatus ? messages.updateFailed : result.error ? messages.updateFailed : result.updateAvailable ? messages.updateAvailable : messages.updateUpToDate;
|
|
37131
|
+
const inlineUpdate = !result.error && !actionableStatus && result.updateAvailable;
|
|
37132
|
+
if (inlineUpdate) panel.dataset.inline = "";
|
|
37133
|
+
else delete panel.dataset.inline;
|
|
37134
|
+
const head = createPanelHead(document2, view, title);
|
|
35747
37135
|
const buttons = [];
|
|
35748
|
-
if (
|
|
37136
|
+
if (result.updateAvailable && result.installationAvailable && (!windows || result.installation !== "npm")) {
|
|
35749
37137
|
const update = document2.createElement("button");
|
|
35750
37138
|
update.type = "button";
|
|
35751
37139
|
update.className = "settings-command-button";
|
|
@@ -35803,7 +37191,7 @@ ${detail}` : ""}`
|
|
|
35803
37191
|
}
|
|
35804
37192
|
});
|
|
35805
37193
|
}
|
|
35806
|
-
function createDefaultRendererSettingsPages(messages = DEFAULT_RENDERER_SETTINGS_MESSAGES, getUpdateClient = () => null, getDiagnostics = () => null, getAccountClient = () => null, getSessionImportClient = () => null, openImportedThread = () => Promise.reject(new Error("Imported Thread navigation is unavailable")), getLoadedSessionsClient = () => null, getRemoteConnections = () => null, requestUsageStatistics = () => Promise.reject(new Error("Local Host connection is unavailable")), usageStatisticsHosts) {
|
|
37194
|
+
function createDefaultRendererSettingsPages(messages = DEFAULT_RENDERER_SETTINGS_MESSAGES, getUpdateClient = () => null, getDiagnostics = () => null, getAccountClient = () => null, getSessionImportClient = () => null, openImportedThread = () => Promise.reject(new Error("Imported Thread navigation is unavailable")), getLoadedSessionsClient = () => null, getRemoteConnections = () => null, requestUsageStatistics = () => Promise.reject(new Error("Local Host connection is unavailable")), usageStatisticsHosts, harnessSchedules) {
|
|
35807
37195
|
return Object.freeze([
|
|
35808
37196
|
createConnectionsSettingsPage(messages, getDiagnostics, void 0, getRemoteConnections, () => {
|
|
35809
37197
|
const client = getUpdateClient();
|
|
@@ -35811,6 +37199,7 @@ ${detail}` : ""}`
|
|
|
35811
37199
|
}),
|
|
35812
37200
|
createRemoteConnectionsPage(messages, getRemoteConnections),
|
|
35813
37201
|
createAccountsSettingsPage(messages, getAccountClient),
|
|
37202
|
+
...harnessSchedules ? [createHarnessSchedulesPage(messages, harnessSchedules)] : [],
|
|
35814
37203
|
createSessionImportSettingsPage(
|
|
35815
37204
|
messages,
|
|
35816
37205
|
getSessionImportClient,
|
|
@@ -36377,6 +37766,49 @@ ${detail}` : ""}`
|
|
|
36377
37766
|
outline-offset: 2px;
|
|
36378
37767
|
}
|
|
36379
37768
|
|
|
37769
|
+
.settings-session-import-harness + .settings-page-description {
|
|
37770
|
+
margin-top: 0;
|
|
37771
|
+
margin-bottom: 4px;
|
|
37772
|
+
}
|
|
37773
|
+
|
|
37774
|
+
.settings-session-import-availability-note {
|
|
37775
|
+
margin-top: 0;
|
|
37776
|
+
}
|
|
37777
|
+
|
|
37778
|
+
.settings-session-import-host {
|
|
37779
|
+
display: flex;
|
|
37780
|
+
align-items: center;
|
|
37781
|
+
min-width: 0;
|
|
37782
|
+
gap: 12px;
|
|
37783
|
+
margin: -12px 0 12px;
|
|
37784
|
+
color: var(--settings-muted);
|
|
37785
|
+
font-size: 13px;
|
|
37786
|
+
}
|
|
37787
|
+
|
|
37788
|
+
.settings-session-import-host > span,
|
|
37789
|
+
.settings-session-import-host + .settings-session-import-harness > span {
|
|
37790
|
+
flex: none;
|
|
37791
|
+
min-width: 60px;
|
|
37792
|
+
}
|
|
37793
|
+
|
|
37794
|
+
.settings-session-import-host > .settings-connection-host-tabs {
|
|
37795
|
+
flex: 1;
|
|
37796
|
+
}
|
|
37797
|
+
|
|
37798
|
+
.settings-session-import-host .settings-connection-host-tab {
|
|
37799
|
+
height: 34px;
|
|
37800
|
+
padding: 0 12px;
|
|
37801
|
+
font-size: 13px;
|
|
37802
|
+
}
|
|
37803
|
+
|
|
37804
|
+
.settings-session-import-host .settings-connection-host-tab:disabled {
|
|
37805
|
+
opacity: 0.38;
|
|
37806
|
+
cursor: not-allowed;
|
|
37807
|
+
}
|
|
37808
|
+
|
|
37809
|
+
.settings-session-import-host + .settings-session-import-harness {
|
|
37810
|
+
margin-top: 0;
|
|
37811
|
+
}
|
|
36380
37812
|
.settings-session-import-search,
|
|
36381
37813
|
.settings-session-import-pagination {
|
|
36382
37814
|
display: flex;
|
|
@@ -36832,7 +38264,8 @@ ${detail}` : ""}`
|
|
|
36832
38264
|
background: var(--settings-hover);
|
|
36833
38265
|
}
|
|
36834
38266
|
|
|
36835
|
-
.settings-connection-host-tab[aria-selected="true"]
|
|
38267
|
+
.settings-connection-host-tab[aria-selected="true"],
|
|
38268
|
+
.settings-connection-host-tab[aria-pressed="true"] {
|
|
36836
38269
|
color: var(--settings-text);
|
|
36837
38270
|
font-weight: 600;
|
|
36838
38271
|
background: var(--settings-active);
|
|
@@ -40827,7 +42260,7 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
40827
42260
|
`;
|
|
40828
42261
|
|
|
40829
42262
|
// src/settings/tailwind.css
|
|
40830
|
-
var tailwind_default = '@layer properties, theme, base, components, utilities;\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-content:"";--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}}}@layer theme{:root,:host{--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--tracking-tight:-.025em;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}}@layer utilities{.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.top-full{top:100%}.left-0{left:0}.z-20{z-index:20}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-0{margin:0}.mx-2{margin-inline:calc(var(--spacing) * 2)}.mt-1{margin-top:var(--spacing)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-7{margin-top:calc(var(--spacing) * 7)}.mt-8{margin-top:calc(var(--spacing) * 8)}.mt-16{margin-top:calc(var(--spacing) * 16)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.ml-1{margin-left:var(--spacing)}.ml-\\[45px\\]{margin-left:45px}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.list-item{display:list-item}.table{display:table}.size-1\\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-8{height:calc(var(--spacing) * 8)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-\\[60px\\]{min-height:60px}.w-9{width:calc(var(--spacing) * 9)}.w-14{width:calc(var(--spacing) * 14)}.w-80{width:calc(var(--spacing) * 80)}.w-full{width:100%}.w-px{width:1px}.max-w-64{max-width:calc(var(--spacing) * 64)}.min-w-0{min-width:0}.flex-shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-help{cursor:help}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-disc{list-style-type:disc}.appearance-none{appearance:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0\\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.overflow-x-auto{overflow-x:auto}.rounded-\\[10px\\]{border-radius:10px}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-settings-border{border-color:var(--settings-border)}.border-settings-divider{border-color:var(--settings-divider)}.bg-settings-panel{background-color:var(--settings-panel)}.bg-settings-subtle{background-color:var(--settings-subtle)}.bg-settings-surface{background-color:var(--settings-surface)}.bg-settings-surface-hover{background-color:var(--settings-surface-hover)}.bg-transparent{background-color:#0000}.p-0{padding:0}.p-4{padding:calc(var(--spacing) * 4)}.\\!px-0{padding-inline:0!important}.px-1{padding-inline:var(--spacing)}.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pl-4{padding-left:calc(var(--spacing) * 4)}.\\!text-right{text-align:right!important}.text-left{text-align:left}.text-right{text-align:right}.align-top{vertical-align:top}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[11px\\]{font-size:11px}.text-\\[13px\\]{font-size:13px}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-7{--tw-leading:calc(var(--spacing) * 7);line-height:calc(var(--spacing) * 7)}.leading-\\[18px\\]{--tw-leading:18px;line-height:18px}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.text-wrap{text-wrap:wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-pre-wrap{white-space:pre-wrap}.text-settings-muted{color:var(--settings-muted)}.text-settings-subtle{color:var(--settings-subtle)}.text-settings-text{color:var(--settings-text)}.lowercase{text-transform:lowercase}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_10px_30px_rgb\\(0_0_0\\/0\\.22\\)\\]{--tw-shadow:0 10px 30px var(--tw-shadow-color,#00000038);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-settings-border{--tw-ring-color:var(--settings-border)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.outline-none{--tw-outline-style:none;outline-style:none}.ring-inset{--tw-ring-inset:inset}.group-focus-within\\:visible:is(:where(.group):focus-within *){visibility:visible}.group-focus-within\\:opacity-100:is(:where(.group):focus-within *){opacity:1}@media (hover:hover){.group-hover\\:visible:is(:where(.group):hover *){visibility:visible}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-\\[state\\=failed\\]\\/status\\:bg-settings-danger:is(:where(.group\\/status)[data-state=failed] *){background-color:var(--settings-danger)}.group-data-\\[state\\=unavailable\\]\\/status\\:bg-settings-warning:is(:where(.group\\/status)[data-state=unavailable] *){background-color:var(--settings-warning)}.marker\\:text-settings-subtle ::marker{color:var(--settings-subtle)}.marker\\:text-settings-subtle::marker{color:var(--settings-subtle)}.marker\\:text-settings-subtle ::-webkit-details-marker{color:var(--settings-subtle)}.marker\\:text-settings-subtle::-webkit-details-marker{color:var(--settings-subtle)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:top-0\\.5:before{content:var(--tw-content);top:calc(var(--spacing) * .5)}.before\\:left-0\\.5:before{content:var(--tw-content);left:calc(var(--spacing) * .5)}.before\\:size-4:before{content:var(--tw-content);width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.before\\:rounded-full:before{content:var(--tw-content);border-radius:3.40282e38px}.before\\:bg-white:before{content:var(--tw-content);background-color:#fff}.before\\:shadow-\\[0_1px_2px_rgb\\(0_0_0\\/0\\.3\\)\\]:before{content:var(--tw-content);--tw-shadow:0 1px 2px var(--tw-shadow-color,#0000004d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.before\\:transition-transform:before{content:var(--tw-content);transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.first\\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first-of-type\\:mt-0:first-of-type{margin-top:0}.checked\\:bg-settings-focus:checked{background-color:var(--settings-focus)}.checked\\:ring-transparent:checked{--tw-ring-color:transparent}.checked\\:before\\:translate-x-4:checked:before{content:var(--tw-content);--tw-translate-x:calc(var(--spacing) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.focus-within\\:border-settings-focus:focus-within{border-color:var(--settings-focus)}@media (hover:hover){.hover\\:text-settings-text:hover{color:var(--settings-text)}}.focus-visible\\:text-settings-text:focus-visible{color:var(--settings-text)}.focus-visible\\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\\:outline-settings-focus:focus-visible{outline-color:var(--settings-focus)}.data-\\[invalid\\=true\\]\\:border-settings-danger[data-invalid=true]{border-color:var(--settings-danger)}.data-\\[invalid\\=true\\]\\:text-settings-danger[data-invalid=true],.data-\\[state\\=failed\\]\\:text-settings-danger[data-state=failed]{color:var(--settings-danger)}.data-\\[state\\=unavailable\\]\\:text-settings-warning[data-state=unavailable]{color:var(--settings-warning)}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@layer properties{\n *, ::before, ::after, ::backdrop{--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-alpha:100%;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-offset-width:0;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-drop-shadow-alpha:100%;--tw-content:"";--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}}\n';
|
|
42263
|
+
var tailwind_default = '@layer properties, theme, base, components, utilities;\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-content:"";--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}}}@layer theme{:root,:host{--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--tracking-tight:-.025em;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}}@layer utilities{.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.top-full{top:100%}.left-0{left:0}.z-20{z-index:20}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-0{margin:0}.mx-2{margin-inline:calc(var(--spacing) * 2)}.mt-1{margin-top:var(--spacing)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-7{margin-top:calc(var(--spacing) * 7)}.mt-8{margin-top:calc(var(--spacing) * 8)}.mt-16{margin-top:calc(var(--spacing) * 16)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.ml-1{margin-left:var(--spacing)}.ml-\\[45px\\]{margin-left:45px}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.list-item{display:list-item}.table{display:table}.size-1\\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-8{height:calc(var(--spacing) * 8)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-\\[60px\\]{min-height:60px}.w-9{width:calc(var(--spacing) * 9)}.w-14{width:calc(var(--spacing) * 14)}.w-80{width:calc(var(--spacing) * 80)}.w-full{width:100%}.w-px{width:1px}.max-w-64{max-width:calc(var(--spacing) * 64)}.min-w-0{min-width:0}.flex-shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-help{cursor:help}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-disc{list-style-type:disc}.appearance-none{appearance:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0\\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.overflow-x-auto{overflow-x:auto}.rounded-\\[10px\\]{border-radius:10px}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-settings-border{border-color:var(--settings-border)}.border-settings-divider{border-color:var(--settings-divider)}.bg-settings-panel{background-color:var(--settings-panel)}.bg-settings-subtle{background-color:var(--settings-subtle)}.bg-settings-surface{background-color:var(--settings-surface)}.bg-settings-surface-hover{background-color:var(--settings-surface-hover)}.bg-transparent{background-color:#0000}.p-0{padding:0}.p-4{padding:calc(var(--spacing) * 4)}.\\!px-0{padding-inline:0!important}.px-1{padding-inline:var(--spacing)}.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pl-4{padding-left:calc(var(--spacing) * 4)}.\\!text-right{text-align:right!important}.text-left{text-align:left}.text-right{text-align:right}.align-top{vertical-align:top}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[11px\\]{font-size:11px}.text-\\[13px\\]{font-size:13px}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-7{--tw-leading:calc(var(--spacing) * 7);line-height:calc(var(--spacing) * 7)}.leading-\\[18px\\]{--tw-leading:18px;line-height:18px}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.text-wrap{text-wrap:wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-pre-wrap{white-space:pre-wrap}.text-settings-muted{color:var(--settings-muted)}.text-settings-subtle{color:var(--settings-subtle)}.text-settings-text{color:var(--settings-text)}.lowercase{text-transform:lowercase}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_10px_30px_rgb\\(0_0_0\\/0\\.22\\)\\]{--tw-shadow:0 10px 30px var(--tw-shadow-color,#00000038);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-settings-border{--tw-ring-color:var(--settings-border)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.outline-none{--tw-outline-style:none;outline-style:none}.ring-inset{--tw-ring-inset:inset}.group-focus-within\\:visible:is(:where(.group):focus-within *){visibility:visible}.group-focus-within\\:opacity-100:is(:where(.group):focus-within *){opacity:1}@media (hover:hover){.group-hover\\:visible:is(:where(.group):hover *){visibility:visible}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-\\[state\\=failed\\]\\/status\\:bg-settings-danger:is(:where(.group\\/status)[data-state=failed] *){background-color:var(--settings-danger)}.group-data-\\[state\\=unavailable\\]\\/status\\:bg-settings-warning:is(:where(.group\\/status)[data-state=unavailable] *){background-color:var(--settings-warning)}.marker\\:text-settings-subtle ::marker{color:var(--settings-subtle)}.marker\\:text-settings-subtle::marker{color:var(--settings-subtle)}.marker\\:text-settings-subtle ::-webkit-details-marker{color:var(--settings-subtle)}.marker\\:text-settings-subtle::-webkit-details-marker{color:var(--settings-subtle)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:top-0\\.5:before{content:var(--tw-content);top:calc(var(--spacing) * .5)}.before\\:left-0\\.5:before{content:var(--tw-content);left:calc(var(--spacing) * .5)}.before\\:size-4:before{content:var(--tw-content);width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.before\\:rounded-full:before{content:var(--tw-content);border-radius:3.40282e38px}.before\\:bg-white:before{content:var(--tw-content);background-color:#fff}.before\\:shadow-\\[0_1px_2px_rgb\\(0_0_0\\/0\\.3\\)\\]:before{content:var(--tw-content);--tw-shadow:0 1px 2px var(--tw-shadow-color,#0000004d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.before\\:transition-transform:before{content:var(--tw-content);transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.first\\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first-of-type\\:mt-0:first-of-type{margin-top:0}.checked\\:bg-settings-focus:checked{background-color:var(--settings-focus)}.checked\\:ring-transparent:checked{--tw-ring-color:transparent}.checked\\:before\\:translate-x-4:checked:before{content:var(--tw-content);--tw-translate-x:calc(var(--spacing) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.focus-within\\:border-settings-focus:focus-within{border-color:var(--settings-focus)}@media (hover:hover){.hover\\:bg-settings-hover:hover{background-color:var(--settings-hover)}.hover\\:text-settings-text:hover{color:var(--settings-text)}}.focus-visible\\:text-settings-text:focus-visible{color:var(--settings-text)}.focus-visible\\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\\:outline-settings-focus:focus-visible{outline-color:var(--settings-focus)}.data-\\[invalid\\=true\\]\\:border-settings-danger[data-invalid=true]{border-color:var(--settings-danger)}.data-\\[invalid\\=true\\]\\:text-settings-danger[data-invalid=true],.data-\\[state\\=failed\\]\\:text-settings-danger[data-state=failed]{color:var(--settings-danger)}.data-\\[state\\=unavailable\\]\\:text-settings-warning[data-state=unavailable]{color:var(--settings-warning)}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@layer properties{\n *, ::before, ::after, ::backdrop{--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-alpha:100%;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-offset-width:0;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-drop-shadow-alpha:100%;--tw-content:"";--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}}\n';
|
|
40831
42264
|
|
|
40832
42265
|
// src/settings/trigger.ts
|
|
40833
42266
|
var SETTINGS_TRIGGER_ATTRIBUTE = "data-codexhost-settings-trigger";
|
|
@@ -41595,6 +43028,7 @@ ${usage_default}`;
|
|
|
41595
43028
|
let disposed = false;
|
|
41596
43029
|
const mount = () => {
|
|
41597
43030
|
const messages = rendererSettingsMessages(locale);
|
|
43031
|
+
const schedules = options.harnessSchedules;
|
|
41598
43032
|
const definitions = createDefaultRendererSettingsPages(
|
|
41599
43033
|
messages,
|
|
41600
43034
|
options.getUpdateClient ?? (() => null),
|
|
@@ -41611,7 +43045,13 @@ ${usage_default}`;
|
|
|
41611
43045
|
options.getLoadedSessionsClient ?? (() => null),
|
|
41612
43046
|
options.getRemoteConnections ?? (() => null),
|
|
41613
43047
|
options.requestUsageStatistics,
|
|
41614
|
-
options.usageStatisticsHosts
|
|
43048
|
+
options.usageStatisticsHosts,
|
|
43049
|
+
schedules ? {
|
|
43050
|
+
openSchedules: async (signal) => {
|
|
43051
|
+
await schedules.openSchedules(signal);
|
|
43052
|
+
if (!disposed && !signal.aborted) shell?.close();
|
|
43053
|
+
}
|
|
43054
|
+
} : void 0
|
|
41615
43055
|
);
|
|
41616
43056
|
const nextShell = installRendererSettingsShell(definitions, messages, ownerWindow.document, {
|
|
41617
43057
|
onOpenChange(open) {
|
|
@@ -42348,6 +43788,815 @@ ${usage_default}`;
|
|
|
42348
43788
|
return event.defaultPrevented;
|
|
42349
43789
|
}
|
|
42350
43790
|
|
|
43791
|
+
// src/codex-schedule-navigation.ts
|
|
43792
|
+
function isNavigationBus(value) {
|
|
43793
|
+
if (typeof value !== "object" || value === null) return false;
|
|
43794
|
+
const bus = value;
|
|
43795
|
+
return bus.handlers instanceof Map && bus.handlers.has("navigate-to-route") && typeof bus.dispatchHostMessage === "function";
|
|
43796
|
+
}
|
|
43797
|
+
function hasArrived(ownerWindow) {
|
|
43798
|
+
const paths = ["/automations", "/scheduled"];
|
|
43799
|
+
const pages = ownerWindow.document.querySelectorAll('[data-app-shell-active-page="true"]');
|
|
43800
|
+
if (pages.length > 0) {
|
|
43801
|
+
const page = pages[0];
|
|
43802
|
+
if (pages.length !== 1 || !page) return false;
|
|
43803
|
+
const fiberKey = Object.keys(page).find((key) => key.startsWith("__reactFiber$"));
|
|
43804
|
+
if (!fiberKey) return false;
|
|
43805
|
+
for (const ancestor of committedReactAncestors(Reflect.get(page, fiberKey))) {
|
|
43806
|
+
const props = ancestor.memoizedProps;
|
|
43807
|
+
const value = props?.value;
|
|
43808
|
+
if (value?.navigationType === "POP" || value?.navigationType === "PUSH" || value?.navigationType === "REPLACE") {
|
|
43809
|
+
return typeof value.location?.pathname === "string" && paths.includes(value.location.pathname);
|
|
43810
|
+
}
|
|
43811
|
+
}
|
|
43812
|
+
return false;
|
|
43813
|
+
}
|
|
43814
|
+
return paths.includes(ownerWindow.location.pathname);
|
|
43815
|
+
}
|
|
43816
|
+
async function openCodexSchedules(signal, ownerWindow = window) {
|
|
43817
|
+
signal.throwIfAborted();
|
|
43818
|
+
const bus = await loadCodexNativeServices(ownerWindow, isNavigationBus);
|
|
43819
|
+
signal.throwIfAborted();
|
|
43820
|
+
if (!bus) throw new Error("Codex navigation is unavailable");
|
|
43821
|
+
await new Promise((resolve, reject) => {
|
|
43822
|
+
let settled = false;
|
|
43823
|
+
const finish = (error51) => {
|
|
43824
|
+
if (settled) return;
|
|
43825
|
+
settled = true;
|
|
43826
|
+
ownerWindow.clearInterval(poll);
|
|
43827
|
+
ownerWindow.clearTimeout(timeout);
|
|
43828
|
+
signal.removeEventListener("abort", onAbort);
|
|
43829
|
+
if (error51) reject(error51);
|
|
43830
|
+
else resolve();
|
|
43831
|
+
};
|
|
43832
|
+
const arrived = () => hasArrived(ownerWindow);
|
|
43833
|
+
const onAbort = () => finish(arrived() ? void 0 : signal.reason);
|
|
43834
|
+
const poll = ownerWindow.setInterval(() => {
|
|
43835
|
+
if (arrived()) finish();
|
|
43836
|
+
}, 25);
|
|
43837
|
+
const timeout = ownerWindow.setTimeout(
|
|
43838
|
+
() => finish(new Error("Codex did not open the requested page")),
|
|
43839
|
+
5e3
|
|
43840
|
+
);
|
|
43841
|
+
signal.addEventListener("abort", onAbort, { once: true });
|
|
43842
|
+
try {
|
|
43843
|
+
bus.dispatchHostMessage({ type: "navigate-to-route", path: "/automations" });
|
|
43844
|
+
if (arrived()) finish();
|
|
43845
|
+
} catch (error51) {
|
|
43846
|
+
finish(error51);
|
|
43847
|
+
}
|
|
43848
|
+
});
|
|
43849
|
+
}
|
|
43850
|
+
|
|
43851
|
+
// src/renderer-native-schedule-picker.ts
|
|
43852
|
+
var schedulePickerStyles = `
|
|
43853
|
+
.picker { position:relative; display:flex; justify-content:flex-end; min-width:0; max-width:100%; }
|
|
43854
|
+
.trigger { display:flex; align-items:center; gap:8px; min-width:0; max-width:100%; height:32px; padding:0 8px 0 10px; border:0; border-radius:10px; color:var(--muted); background:transparent; font:inherit; text-align:right; cursor:pointer; transition:background-color .12s, color .12s; }
|
|
43855
|
+
.trigger:hover:not(:disabled), .trigger[aria-expanded="true"] { color:var(--text); background:var(--hover); }
|
|
43856
|
+
.trigger:focus-visible { outline:2px solid var(--focus); outline-offset:1px; }
|
|
43857
|
+
.trigger:disabled { cursor:default; }
|
|
43858
|
+
.trigger > svg, .trigger > img, .trigger > span.icon, .item > svg, .item > img, .item > span.icon { flex:none; }
|
|
43859
|
+
.label { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
43860
|
+
.trigger[data-stale] .label { opacity:.6; }
|
|
43861
|
+
.trigger[data-shimmer] .label { background:linear-gradient(90deg,var(--muted) 0%,var(--muted) 35%,color-mix(in srgb,var(--muted) 30%,transparent) 50%,var(--muted) 65%,var(--muted) 100%) 100% 0/250% 100%; -webkit-background-clip:text; background-clip:text; color:transparent; animation:shimmer 1.4s ease-in-out infinite; }
|
|
43862
|
+
.chevron { flex:none; width:6px; height:6px; margin:0 3px 2px 2px; border-right:1.5px solid; border-bottom:1.5px solid; transform:rotate(45deg); transition:transform .12s; }
|
|
43863
|
+
.trigger[aria-expanded="true"] .chevron { transform:translateY(2px) rotate(225deg); }
|
|
43864
|
+
.trigger[aria-busy="true"] .chevron { display:none; }
|
|
43865
|
+
.spinner { flex:none; width:12px; height:12px; margin:0 1px; border:1.5px solid color-mix(in srgb,currentColor 25%,transparent); border-top-color:currentColor; border-radius:50%; animation:spin .8s linear infinite; }
|
|
43866
|
+
.menu { position:fixed; inset:auto; margin:0; padding:4px; min-width:200px; max-width:calc(100vw - 16px); overflow:auto; overscroll-behavior:contain; border:1px solid var(--border); border-radius:12px; color:var(--text); background:var(--surface); box-shadow:0 8px 28px rgba(0,0,0,.22),0 1px 3px rgba(0,0,0,.12); font:inherit; }
|
|
43867
|
+
.menu:not(:popover-open):not([data-open]) { display:none; }
|
|
43868
|
+
.item { display:flex; align-items:center; gap:10px; min-height:36px; padding:6px 8px; border-radius:8px; cursor:pointer; outline:none; }
|
|
43869
|
+
.item:hover:not([aria-disabled="true"]), .item:focus-visible { background:var(--hover); }
|
|
43870
|
+
.item:focus-visible { box-shadow:inset 0 0 0 2px var(--focus); }
|
|
43871
|
+
.item[aria-disabled="true"] { opacity:.45; cursor:default; }
|
|
43872
|
+
.item .label { flex:1; }
|
|
43873
|
+
.check { flex:none; width:5px; height:9px; margin:0 6px 2px 4px; border-right:1.5px solid; border-bottom:1.5px solid; transform:rotate(45deg); visibility:hidden; }
|
|
43874
|
+
.item[aria-selected="true"] .check { visibility:visible; }
|
|
43875
|
+
@keyframes shimmer { to { background-position:-100% 0; } }
|
|
43876
|
+
@keyframes spin { to { transform:rotate(360deg); } }
|
|
43877
|
+
@media(prefers-reduced-motion:reduce) { .spinner, .trigger[data-shimmer] .label { animation:none; } .trigger, .chevron { transition:none; } }
|
|
43878
|
+
`;
|
|
43879
|
+
function createSchedulePicker(document2, options) {
|
|
43880
|
+
const view = document2.defaultView ?? window;
|
|
43881
|
+
const root = document2.createElement("div");
|
|
43882
|
+
root.className = "picker";
|
|
43883
|
+
const trigger = document2.createElement("button");
|
|
43884
|
+
trigger.type = "button";
|
|
43885
|
+
trigger.className = "trigger";
|
|
43886
|
+
trigger.setAttribute("aria-label", options.label);
|
|
43887
|
+
trigger.setAttribute("aria-haspopup", "listbox");
|
|
43888
|
+
trigger.setAttribute("aria-expanded", "false");
|
|
43889
|
+
const menu = document2.createElement("div");
|
|
43890
|
+
menu.className = "menu";
|
|
43891
|
+
menu.setAttribute("role", "listbox");
|
|
43892
|
+
menu.setAttribute("aria-label", options.listLabel);
|
|
43893
|
+
const supportsPopover = typeof menu.showPopover === "function";
|
|
43894
|
+
if (supportsPopover) menu.setAttribute("popover", "manual");
|
|
43895
|
+
root.append(trigger, menu);
|
|
43896
|
+
let items = [];
|
|
43897
|
+
let stale = null;
|
|
43898
|
+
let value = "";
|
|
43899
|
+
let disabled = false;
|
|
43900
|
+
let busy = false;
|
|
43901
|
+
let placeholder = "";
|
|
43902
|
+
let shimmer = false;
|
|
43903
|
+
let isOpen = false;
|
|
43904
|
+
let isDisabled = () => false;
|
|
43905
|
+
const optionElements = /* @__PURE__ */ new Map();
|
|
43906
|
+
const selectedItem = () => items.find((item) => item.value === value) ?? stale;
|
|
43907
|
+
const cloneIcon = (item) => item.icon?.cloneNode(true) ?? null;
|
|
43908
|
+
const renderTrigger = () => {
|
|
43909
|
+
const item = selectedItem();
|
|
43910
|
+
const label = document2.createElement("span");
|
|
43911
|
+
label.className = "label";
|
|
43912
|
+
label.textContent = item?.label ?? placeholder;
|
|
43913
|
+
const icon2 = item ? cloneIcon(item) : null;
|
|
43914
|
+
const tail = document2.createElement("span");
|
|
43915
|
+
tail.className = busy ? "spinner" : "chevron";
|
|
43916
|
+
tail.setAttribute("aria-hidden", "true");
|
|
43917
|
+
trigger.replaceChildren(...icon2 ? [icon2] : [], label, tail);
|
|
43918
|
+
trigger.toggleAttribute("data-stale", Boolean(item && !items.includes(item)));
|
|
43919
|
+
trigger.toggleAttribute("data-shimmer", shimmer && !item);
|
|
43920
|
+
trigger.dataset.value = item ? value : "";
|
|
43921
|
+
trigger.setAttribute("aria-busy", String(busy));
|
|
43922
|
+
trigger.disabled = disabled;
|
|
43923
|
+
if (disabled && isOpen) close();
|
|
43924
|
+
};
|
|
43925
|
+
const renderItems = () => {
|
|
43926
|
+
optionElements.clear();
|
|
43927
|
+
const elements = items.map((item) => {
|
|
43928
|
+
const option = document2.createElement("div");
|
|
43929
|
+
option.className = "item";
|
|
43930
|
+
option.setAttribute("role", "option");
|
|
43931
|
+
option.tabIndex = -1;
|
|
43932
|
+
option.dataset.value = item.value;
|
|
43933
|
+
option.setAttribute("aria-selected", String(item.value === value));
|
|
43934
|
+
if (item.disabled || isDisabled(item.value)) option.setAttribute("aria-disabled", "true");
|
|
43935
|
+
const icon2 = cloneIcon(item);
|
|
43936
|
+
const label = document2.createElement("span");
|
|
43937
|
+
label.className = "label";
|
|
43938
|
+
label.textContent = item.label;
|
|
43939
|
+
const check2 = document2.createElement("span");
|
|
43940
|
+
check2.className = "check";
|
|
43941
|
+
check2.setAttribute("aria-hidden", "true");
|
|
43942
|
+
option.append(...icon2 ? [icon2] : [], label, check2);
|
|
43943
|
+
optionElements.set(item.value, option);
|
|
43944
|
+
return option;
|
|
43945
|
+
});
|
|
43946
|
+
menu.replaceChildren(...elements);
|
|
43947
|
+
};
|
|
43948
|
+
const enabledOptions = () => [...optionElements.values()].filter((el) => el.getAttribute("aria-disabled") !== "true");
|
|
43949
|
+
const focusOption = (el) => {
|
|
43950
|
+
el?.focus();
|
|
43951
|
+
el?.scrollIntoView({ block: "nearest" });
|
|
43952
|
+
};
|
|
43953
|
+
const position = () => {
|
|
43954
|
+
const rect = trigger.getBoundingClientRect();
|
|
43955
|
+
const margin = 8;
|
|
43956
|
+
menu.style.minWidth = `${Math.max(200, Math.min(rect.width, view.innerWidth - 2 * margin))}px`;
|
|
43957
|
+
menu.style.maxHeight = "";
|
|
43958
|
+
const height = menu.offsetHeight;
|
|
43959
|
+
const below = view.innerHeight - rect.bottom - margin - 4;
|
|
43960
|
+
const above = rect.top - margin - 4;
|
|
43961
|
+
const placeBelow = height <= below || below >= above;
|
|
43962
|
+
const room = Math.max(120, placeBelow ? below : above);
|
|
43963
|
+
menu.style.maxHeight = `${room}px`;
|
|
43964
|
+
const used = Math.min(height, room);
|
|
43965
|
+
menu.style.top = `${placeBelow ? rect.bottom + 4 : rect.top - 4 - used}px`;
|
|
43966
|
+
const width = menu.offsetWidth;
|
|
43967
|
+
const left = Math.min(Math.max(margin, rect.right - width), view.innerWidth - width - margin);
|
|
43968
|
+
menu.style.left = `${Math.max(margin, left)}px`;
|
|
43969
|
+
};
|
|
43970
|
+
const onWindowKey = (event) => {
|
|
43971
|
+
if (event.key !== "Escape") return;
|
|
43972
|
+
event.preventDefault();
|
|
43973
|
+
event.stopImmediatePropagation();
|
|
43974
|
+
close();
|
|
43975
|
+
trigger.focus();
|
|
43976
|
+
};
|
|
43977
|
+
const onOutside = (event) => {
|
|
43978
|
+
if (!event.composedPath().includes(root)) close();
|
|
43979
|
+
};
|
|
43980
|
+
const onDismiss = () => close();
|
|
43981
|
+
function open() {
|
|
43982
|
+
if (isOpen || disabled) return;
|
|
43983
|
+
options.onOpen?.();
|
|
43984
|
+
if (!items.length) return;
|
|
43985
|
+
isOpen = true;
|
|
43986
|
+
trigger.setAttribute("aria-expanded", "true");
|
|
43987
|
+
if (supportsPopover) menu.showPopover();
|
|
43988
|
+
else menu.setAttribute("data-open", "");
|
|
43989
|
+
position();
|
|
43990
|
+
focusOption(optionElements.get(value) ?? enabledOptions()[0]);
|
|
43991
|
+
view.addEventListener("keydown", onWindowKey, true);
|
|
43992
|
+
document2.addEventListener("pointerdown", onOutside, true);
|
|
43993
|
+
view.addEventListener("resize", onDismiss);
|
|
43994
|
+
view.addEventListener("blur", onDismiss);
|
|
43995
|
+
document2.addEventListener("scroll", onDismiss, true);
|
|
43996
|
+
}
|
|
43997
|
+
function close() {
|
|
43998
|
+
if (!isOpen) return;
|
|
43999
|
+
isOpen = false;
|
|
44000
|
+
trigger.setAttribute("aria-expanded", "false");
|
|
44001
|
+
if (supportsPopover && menu.matches(":popover-open")) menu.hidePopover();
|
|
44002
|
+
menu.removeAttribute("data-open");
|
|
44003
|
+
view.removeEventListener("keydown", onWindowKey, true);
|
|
44004
|
+
document2.removeEventListener("pointerdown", onOutside, true);
|
|
44005
|
+
view.removeEventListener("resize", onDismiss);
|
|
44006
|
+
view.removeEventListener("blur", onDismiss);
|
|
44007
|
+
document2.removeEventListener("scroll", onDismiss, true);
|
|
44008
|
+
}
|
|
44009
|
+
const choose = (el) => {
|
|
44010
|
+
if (el.getAttribute("aria-disabled") === "true") return;
|
|
44011
|
+
const next = el.dataset.value ?? "";
|
|
44012
|
+
close();
|
|
44013
|
+
trigger.focus();
|
|
44014
|
+
if (next === value) return;
|
|
44015
|
+
picker.value = next;
|
|
44016
|
+
options.onChange(next);
|
|
44017
|
+
};
|
|
44018
|
+
trigger.addEventListener("click", () => isOpen ? close() : open());
|
|
44019
|
+
trigger.addEventListener("keydown", (event) => {
|
|
44020
|
+
if (event.key !== "ArrowDown" && event.key !== "ArrowUp") return;
|
|
44021
|
+
event.preventDefault();
|
|
44022
|
+
open();
|
|
44023
|
+
});
|
|
44024
|
+
menu.addEventListener("click", (event) => {
|
|
44025
|
+
const el = event.target.closest('[role="option"]');
|
|
44026
|
+
if (el) choose(el);
|
|
44027
|
+
});
|
|
44028
|
+
menu.addEventListener("keydown", (event) => {
|
|
44029
|
+
const list = enabledOptions();
|
|
44030
|
+
const active = menu.getRootNode().activeElement;
|
|
44031
|
+
const at = active ? list.indexOf(active) : -1;
|
|
44032
|
+
if (event.key === "ArrowDown") focusOption(list[Math.min(list.length - 1, at + 1)]);
|
|
44033
|
+
else if (event.key === "ArrowUp") focusOption(list[Math.max(0, at - 1)]);
|
|
44034
|
+
else if (event.key === "Home") focusOption(list[0]);
|
|
44035
|
+
else if (event.key === "End") focusOption(list.at(-1));
|
|
44036
|
+
else if (event.key === "Enter" || event.key === " ") {
|
|
44037
|
+
if (active?.getAttribute("role") === "option") choose(active);
|
|
44038
|
+
} else if (event.key === "Tab") {
|
|
44039
|
+
close();
|
|
44040
|
+
trigger.focus();
|
|
44041
|
+
return;
|
|
44042
|
+
} else return;
|
|
44043
|
+
event.preventDefault();
|
|
44044
|
+
});
|
|
44045
|
+
const picker = {
|
|
44046
|
+
root,
|
|
44047
|
+
trigger,
|
|
44048
|
+
get value() {
|
|
44049
|
+
return value;
|
|
44050
|
+
},
|
|
44051
|
+
set value(next) {
|
|
44052
|
+
if (next === value) return;
|
|
44053
|
+
stale = null;
|
|
44054
|
+
value = next;
|
|
44055
|
+
for (const [key, el] of optionElements)
|
|
44056
|
+
el.setAttribute("aria-selected", String(key === next));
|
|
44057
|
+
renderTrigger();
|
|
44058
|
+
},
|
|
44059
|
+
get disabled() {
|
|
44060
|
+
return disabled;
|
|
44061
|
+
},
|
|
44062
|
+
set disabled(next) {
|
|
44063
|
+
if (next === disabled) return;
|
|
44064
|
+
disabled = next;
|
|
44065
|
+
renderTrigger();
|
|
44066
|
+
},
|
|
44067
|
+
get busy() {
|
|
44068
|
+
return busy;
|
|
44069
|
+
},
|
|
44070
|
+
set busy(next) {
|
|
44071
|
+
if (next === busy) return;
|
|
44072
|
+
busy = next;
|
|
44073
|
+
renderTrigger();
|
|
44074
|
+
},
|
|
44075
|
+
setItems(next) {
|
|
44076
|
+
const previous = selectedItem();
|
|
44077
|
+
stale = options.retainMissing && previous && !next.some((item) => item.value === value) ? { ...previous, disabled: true } : null;
|
|
44078
|
+
items = next;
|
|
44079
|
+
renderItems();
|
|
44080
|
+
renderTrigger();
|
|
44081
|
+
},
|
|
44082
|
+
setDisabledValues(next) {
|
|
44083
|
+
isDisabled = next;
|
|
44084
|
+
for (const item of items) {
|
|
44085
|
+
const el = optionElements.get(item.value);
|
|
44086
|
+
if (!el) continue;
|
|
44087
|
+
if (item.disabled || next(item.value)) el.setAttribute("aria-disabled", "true");
|
|
44088
|
+
else el.removeAttribute("aria-disabled");
|
|
44089
|
+
}
|
|
44090
|
+
},
|
|
44091
|
+
setPlaceholder(text, shimmerText = false) {
|
|
44092
|
+
if (text === placeholder && shimmerText === shimmer) return;
|
|
44093
|
+
placeholder = text;
|
|
44094
|
+
shimmer = shimmerText;
|
|
44095
|
+
renderTrigger();
|
|
44096
|
+
},
|
|
44097
|
+
close
|
|
44098
|
+
};
|
|
44099
|
+
renderTrigger();
|
|
44100
|
+
return picker;
|
|
44101
|
+
}
|
|
44102
|
+
|
|
44103
|
+
// src/renderer-native-schedule-controls.ts
|
|
44104
|
+
function restoreRow(row, appearance) {
|
|
44105
|
+
row.hidden = appearance.hidden;
|
|
44106
|
+
row.style.setProperty("display", appearance.display, appearance.priority);
|
|
44107
|
+
}
|
|
44108
|
+
function installRendererNativeScheduleControls(document2, options) {
|
|
44109
|
+
const view = document2.defaultView ?? window;
|
|
44110
|
+
const mounted = /* @__PURE__ */ new Map();
|
|
44111
|
+
let disposed = false;
|
|
44112
|
+
let frame = null;
|
|
44113
|
+
const text = (zh, en) => options.locale() === "zh-CN" ? zh : en;
|
|
44114
|
+
const schedule = () => {
|
|
44115
|
+
if (!disposed && frame === null) frame = view.requestAnimationFrame(scan);
|
|
44116
|
+
};
|
|
44117
|
+
function mount(form) {
|
|
44118
|
+
const root = document2.createElement("div");
|
|
44119
|
+
root.dataset.codexhostScheduleControls = "true";
|
|
44120
|
+
const shadow = root.attachShadow({ mode: "open" });
|
|
44121
|
+
const style = document2.createElement("style");
|
|
44122
|
+
style.textContent = `
|
|
44123
|
+
:host { display:block; contain:inline-size; margin:0 0 16px; color:inherit; font:inherit; --text:var(--color-text-primary,CanvasText); --muted:var(--color-text-secondary,light-dark(#6b6b6b,#b5b5b5)); --border:var(--color-border-default,light-dark(#e1e1e1,#454545)); --hover:var(--color-token-list-hover-background,light-dark(rgba(0,0,0,.05),rgba(255,255,255,.08))); --surface:var(--color-token-dropdown-background,var(--color-background-surface,Canvas)); --focus:var(--color-text-info,#387aff); }
|
|
44124
|
+
* { box-sizing:border-box; }
|
|
44125
|
+
fieldset { border:1px solid var(--border); border-radius:16px; padding:0 12px; margin:0; min-width:0; }
|
|
44126
|
+
.row { display:flex; align-items:center; justify-content:space-between; gap:16px; min-width:0; min-height:52px; padding:8px 0 8px 4px; font:inherit; }
|
|
44127
|
+
.row + .row { border-top:1px solid var(--border); }
|
|
44128
|
+
.name { flex:none; }
|
|
44129
|
+
.value { display:flex; justify-content:flex-end; min-width:0; max-width:72%; }
|
|
44130
|
+
fieldset:disabled { opacity:.6; }
|
|
44131
|
+
${schedulePickerStyles}
|
|
44132
|
+
.message { display:flex; align-items:baseline; gap:8px; margin:8px 4px 0; color:var(--muted); font-size:12px; line-height:1.5; }
|
|
44133
|
+
p { margin:0; min-width:0; overflow-wrap:anywhere; }
|
|
44134
|
+
button.retry { border:0; border-radius:4px; padding:2px 4px; color:inherit; background:transparent; font:inherit; text-decoration:underline; cursor:pointer; flex-shrink:0; }
|
|
44135
|
+
button.retry:focus-visible { outline:2px solid var(--focus); outline-offset:2px; }
|
|
44136
|
+
[hidden] { display:none!important; }
|
|
44137
|
+
`;
|
|
44138
|
+
const fields = document2.createElement("fieldset");
|
|
44139
|
+
const harness2 = createSchedulePicker(document2, {
|
|
44140
|
+
label: "Harness",
|
|
44141
|
+
listLabel: text("\u9009\u62E9 Harness", "Choose a Harness"),
|
|
44142
|
+
retainMissing: true,
|
|
44143
|
+
onChange: () => onHarness()
|
|
44144
|
+
});
|
|
44145
|
+
const model2 = createSchedulePicker(document2, {
|
|
44146
|
+
label: text("\u6A21\u578B", "Model"),
|
|
44147
|
+
listLabel: text("\u9009\u62E9\u6A21\u578B", "Choose a Model"),
|
|
44148
|
+
retainMissing: true,
|
|
44149
|
+
onChange: () => applyModel()
|
|
44150
|
+
});
|
|
44151
|
+
const workspace = createSchedulePicker(document2, {
|
|
44152
|
+
label: text("\u5DE5\u4F5C\u533A", "Workspace"),
|
|
44153
|
+
listLabel: text("\u9009\u62E9\u5DE5\u4F5C\u533A", "Choose a workspace"),
|
|
44154
|
+
retainMissing: true,
|
|
44155
|
+
onOpen: () => refreshWorkspaces(),
|
|
44156
|
+
onChange: () => {
|
|
44157
|
+
const next = workspaces.find(({ id }) => id === workspace.value) ?? null;
|
|
44158
|
+
if (next?.id === selectedWorkspace?.id && next?.cwd === selectedWorkspace?.cwd) return;
|
|
44159
|
+
selectedWorkspace = next;
|
|
44160
|
+
void loadModels({ preserveSelection: models.length > 0 });
|
|
44161
|
+
}
|
|
44162
|
+
});
|
|
44163
|
+
const label = (name, picker) => {
|
|
44164
|
+
const row = document2.createElement("div");
|
|
44165
|
+
row.className = "row";
|
|
44166
|
+
const title = document2.createElement("span");
|
|
44167
|
+
title.className = "name";
|
|
44168
|
+
title.textContent = name;
|
|
44169
|
+
const value = document2.createElement("div");
|
|
44170
|
+
value.className = "value";
|
|
44171
|
+
value.append(picker.root);
|
|
44172
|
+
row.append(title, value);
|
|
44173
|
+
fields.append(row);
|
|
44174
|
+
return row;
|
|
44175
|
+
};
|
|
44176
|
+
label("Harness", harness2);
|
|
44177
|
+
const modelRow = label(text("\u6A21\u578B", "Model"), model2);
|
|
44178
|
+
const workspaceRow = label(text("\u5DE5\u4F5C\u533A", "Workspace"), workspace);
|
|
44179
|
+
const status = document2.createElement("p");
|
|
44180
|
+
status.setAttribute("role", "status");
|
|
44181
|
+
const retry = document2.createElement("button");
|
|
44182
|
+
retry.type = "button";
|
|
44183
|
+
retry.className = "retry";
|
|
44184
|
+
retry.textContent = text("\u91CD\u8BD5", "Retry");
|
|
44185
|
+
retry.hidden = true;
|
|
44186
|
+
const messageRow = document2.createElement("div");
|
|
44187
|
+
messageRow.className = "message";
|
|
44188
|
+
messageRow.append(status, retry);
|
|
44189
|
+
shadow.append(style, fields, messageRow);
|
|
44190
|
+
const editor = form.querySelector('[contenteditable="true"][role="textbox"], textarea');
|
|
44191
|
+
const container = editor?.closest("fieldset")?.querySelector(":scope > div") ?? form;
|
|
44192
|
+
container.prepend(root);
|
|
44193
|
+
let retired = false;
|
|
44194
|
+
let client = options.getClient();
|
|
44195
|
+
let selectedHarness = "codex";
|
|
44196
|
+
let availablePlugins = [];
|
|
44197
|
+
let generation = 0;
|
|
44198
|
+
let loading = false;
|
|
44199
|
+
let confirming = false;
|
|
44200
|
+
let confirmationTimer;
|
|
44201
|
+
let error51 = "";
|
|
44202
|
+
let models = [];
|
|
44203
|
+
let workspaces = [];
|
|
44204
|
+
let selectedWorkspace = null;
|
|
44205
|
+
let workspaceCreation = null;
|
|
44206
|
+
let carrier = null;
|
|
44207
|
+
let original = null;
|
|
44208
|
+
let restoring = null;
|
|
44209
|
+
const hiddenRows = /* @__PURE__ */ new Map();
|
|
44210
|
+
const external = () => selectedHarness !== "codex";
|
|
44211
|
+
const available = () => options.getAvailablePlugins().some((plugin) => plugin.id === selectedHarness);
|
|
44212
|
+
const harnessItem = (id, name, plugin) => ({
|
|
44213
|
+
value: id,
|
|
44214
|
+
label: name,
|
|
44215
|
+
icon: createRendererAgentIcon(id, 18, document2, plugin)
|
|
44216
|
+
});
|
|
44217
|
+
harness2.setItems([harnessItem("codex", "Codex")]);
|
|
44218
|
+
harness2.value = "codex";
|
|
44219
|
+
const syncAvailablePlugins = () => {
|
|
44220
|
+
const next = options.getAvailablePlugins();
|
|
44221
|
+
if (next.length === availablePlugins.length && next.every(
|
|
44222
|
+
(plugin, index) => plugin.id === availablePlugins[index]?.id && plugin.name === availablePlugins[index]?.name
|
|
44223
|
+
))
|
|
44224
|
+
return;
|
|
44225
|
+
availablePlugins = next;
|
|
44226
|
+
harness2.setItems([
|
|
44227
|
+
harnessItem("codex", "Codex"),
|
|
44228
|
+
...next.map((plugin) => harnessItem(plugin.id, plugin.name, plugin))
|
|
44229
|
+
]);
|
|
44230
|
+
harness2.value = selectedHarness;
|
|
44231
|
+
};
|
|
44232
|
+
function refreshWorkspaces() {
|
|
44233
|
+
workspaces = readNativeScheduleWorkspaces(document2);
|
|
44234
|
+
workspace.setItems([
|
|
44235
|
+
{ value: "", label: text("\u81EA\u52A8\u5206\u914D", "Automatic") },
|
|
44236
|
+
...workspaces.map(({ id, label: label2, cwd }) => ({ value: id, label: `${label2} \xB7 ${cwd}` }))
|
|
44237
|
+
]);
|
|
44238
|
+
workspace.value = selectedWorkspace?.id ?? "";
|
|
44239
|
+
update();
|
|
44240
|
+
}
|
|
44241
|
+
const cancelConfirmation = () => {
|
|
44242
|
+
if (confirmationTimer !== void 0) view.clearTimeout(confirmationTimer);
|
|
44243
|
+
confirmationTimer = void 0;
|
|
44244
|
+
confirming = false;
|
|
44245
|
+
};
|
|
44246
|
+
const restoredSelection = (selection) => restoring && (restoring.model === null ? !selection.model?.startsWith("codexhost/") : selection.model === restoring.model && selection.reasoningEffort === restoring.reasoningEffort);
|
|
44247
|
+
const confirmSelection = () => {
|
|
44248
|
+
cancelConfirmation();
|
|
44249
|
+
confirming = true;
|
|
44250
|
+
const deadline = Date.now() + 5e3;
|
|
44251
|
+
const check2 = () => {
|
|
44252
|
+
if (retired) return;
|
|
44253
|
+
const binding = readNativeScheduleForm(form);
|
|
44254
|
+
const confirmed = binding && (external() ? binding.selection.model === carrier : !restoring || restoredSelection(binding.selection));
|
|
44255
|
+
if (!binding || !options.canRouteExternal() || client !== options.getClient() || confirmed || Date.now() >= deadline)
|
|
44256
|
+
cancelConfirmation();
|
|
44257
|
+
else confirmationTimer = view.setTimeout(check2, 50);
|
|
44258
|
+
update();
|
|
44259
|
+
};
|
|
44260
|
+
confirmationTimer = view.setTimeout(check2, 0);
|
|
44261
|
+
};
|
|
44262
|
+
const restore = () => {
|
|
44263
|
+
const binding = readNativeScheduleForm(form);
|
|
44264
|
+
if (original && carrier && (!binding || binding.selection.model === carrier || confirming)) {
|
|
44265
|
+
restoring = original;
|
|
44266
|
+
binding?.setModel(original);
|
|
44267
|
+
confirmSelection();
|
|
44268
|
+
}
|
|
44269
|
+
carrier = null;
|
|
44270
|
+
original = null;
|
|
44271
|
+
selectedWorkspace = null;
|
|
44272
|
+
workspace.value = "";
|
|
44273
|
+
};
|
|
44274
|
+
const applyModel = () => {
|
|
44275
|
+
const binding = readNativeScheduleForm(form);
|
|
44276
|
+
const selected = models.find((entry) => entry.ref.id === model2.value);
|
|
44277
|
+
if (!external() || workspaceCreation !== null || !binding?.supportsExternal || !available() || binding.hasTarget || binding.isSaving || !selected)
|
|
44278
|
+
return;
|
|
44279
|
+
original ??= restoring ?? binding.selection;
|
|
44280
|
+
restoring = null;
|
|
44281
|
+
carrier = encodeHarnessPluginRoute({
|
|
44282
|
+
harnessId: selectedHarness,
|
|
44283
|
+
model: selected.ref
|
|
44284
|
+
});
|
|
44285
|
+
binding.setModel({ model: carrier, reasoningEffort: null });
|
|
44286
|
+
confirmSelection();
|
|
44287
|
+
update();
|
|
44288
|
+
};
|
|
44289
|
+
const loadModels = async ({ preserveSelection = false } = {}) => {
|
|
44290
|
+
const request = ++generation;
|
|
44291
|
+
const previousModel = model2.value;
|
|
44292
|
+
if (!preserveSelection) {
|
|
44293
|
+
cancelConfirmation();
|
|
44294
|
+
models = [];
|
|
44295
|
+
model2.setItems([]);
|
|
44296
|
+
model2.value = "";
|
|
44297
|
+
model2.setPlaceholder(text("\u6B63\u5728\u52A0\u8F7D\u6A21\u578B\u2026", "Loading models\u2026"), true);
|
|
44298
|
+
}
|
|
44299
|
+
error51 = "";
|
|
44300
|
+
loading = true;
|
|
44301
|
+
update();
|
|
44302
|
+
const requestedHarness = selectedHarness;
|
|
44303
|
+
const selectedClient = client;
|
|
44304
|
+
try {
|
|
44305
|
+
if (!selectedClient) throw Error(text("\u672C\u5730\u8FDE\u63A5\u4E0D\u53EF\u7528\u3002", "Local connection unavailable."));
|
|
44306
|
+
const result = await selectedClient.inspectHarness({
|
|
44307
|
+
harnessId: requestedHarness,
|
|
44308
|
+
...selectedWorkspace ? { cwd: selectedWorkspace.cwd } : {}
|
|
44309
|
+
});
|
|
44310
|
+
if (retired || request !== generation || selectedClient !== options.getClient()) return;
|
|
44311
|
+
if (result.status !== "ready")
|
|
44312
|
+
throw Error(text("\u6240\u9009 Harness \u4E0D\u53EF\u7528\u3002", "The selected Harness is unavailable."));
|
|
44313
|
+
const selectedModel = preserveSelection ? model2.value : previousModel;
|
|
44314
|
+
const next = result.catalog.models;
|
|
44315
|
+
const changed = next.length !== models.length || next.some(
|
|
44316
|
+
(entry, index) => entry.ref.id !== models[index]?.ref.id || entry.label !== models[index]?.label
|
|
44317
|
+
);
|
|
44318
|
+
models = next;
|
|
44319
|
+
if (changed || !preserveSelection)
|
|
44320
|
+
model2.setItems(models.map((entry) => ({ value: entry.ref.id, label: entry.label })));
|
|
44321
|
+
const defaultModel = result.catalog.defaultModel;
|
|
44322
|
+
model2.value = preserveSelection || models.some((entry) => entry.ref.id === selectedModel) ? selectedModel : defaultModel && models.some((entry) => entry.ref.id === defaultModel.id) ? defaultModel.id : models[0]?.ref.id ?? "";
|
|
44323
|
+
model2.setPlaceholder("");
|
|
44324
|
+
if (!models.length) throw Error(text("\u6CA1\u6709\u53EF\u7528\u6A21\u578B\u3002", "No models are available."));
|
|
44325
|
+
if (!preserveSelection) applyModel();
|
|
44326
|
+
} catch (cause) {
|
|
44327
|
+
if (retired || request !== generation) return;
|
|
44328
|
+
error51 = cause instanceof Error ? cause.message : text("\u6A21\u578B\u8BFB\u53D6\u5931\u8D25\u3002", "Could not read models.");
|
|
44329
|
+
if (!preserveSelection) model2.setPlaceholder(text("\u6A21\u578B\u52A0\u8F7D\u5931\u8D25", "Models unavailable"));
|
|
44330
|
+
} finally {
|
|
44331
|
+
if (!retired && request === generation) {
|
|
44332
|
+
loading = false;
|
|
44333
|
+
update();
|
|
44334
|
+
}
|
|
44335
|
+
}
|
|
44336
|
+
};
|
|
44337
|
+
const onHarness = () => {
|
|
44338
|
+
const binding = readNativeScheduleForm(form);
|
|
44339
|
+
if (binding?.hasTarget || binding?.isSaving || workspaceCreation) return;
|
|
44340
|
+
selectedHarness = harness2.value;
|
|
44341
|
+
client = options.getClient();
|
|
44342
|
+
if (!external()) restore();
|
|
44343
|
+
generation++;
|
|
44344
|
+
models = [];
|
|
44345
|
+
model2.setItems([]);
|
|
44346
|
+
model2.value = "";
|
|
44347
|
+
model2.setPlaceholder("");
|
|
44348
|
+
error51 = "";
|
|
44349
|
+
loading = false;
|
|
44350
|
+
if (external()) {
|
|
44351
|
+
refreshWorkspaces();
|
|
44352
|
+
void loadModels();
|
|
44353
|
+
}
|
|
44354
|
+
update();
|
|
44355
|
+
};
|
|
44356
|
+
retry.addEventListener("click", () => {
|
|
44357
|
+
if (error51) void loadModels({ preserveSelection: models.length > 0 });
|
|
44358
|
+
else applyModel();
|
|
44359
|
+
});
|
|
44360
|
+
function blockedReason() {
|
|
44361
|
+
const binding = readNativeScheduleForm(form);
|
|
44362
|
+
if (!external()) {
|
|
44363
|
+
const restored = binding && restoredSelection(binding.selection);
|
|
44364
|
+
if (restoring && !restored)
|
|
44365
|
+
return text(
|
|
44366
|
+
"\u6B63\u5728\u6062\u590D Codex \u914D\u7F6E\uFF0C\u8BF7\u7A0D\u540E\u63D0\u4EA4\u3002",
|
|
44367
|
+
"Restoring Codex settings. Submit again once ready."
|
|
44368
|
+
);
|
|
44369
|
+
restoring = null;
|
|
44370
|
+
if (binding?.selection.model?.startsWith("codexhost/"))
|
|
44371
|
+
return text(
|
|
44372
|
+
"\u4EFB\u52A1\u4ECD\u643A\u5E26\u5916\u90E8 Model\uFF0C\u8BF7\u91CD\u65B0\u6253\u5F00\u5F39\u7A97\u3002",
|
|
44373
|
+
"The task still carries an external Model. Reopen the dialog."
|
|
44374
|
+
);
|
|
44375
|
+
return "";
|
|
44376
|
+
}
|
|
44377
|
+
if (!binding || !options.canRouteExternal() || client !== options.getClient())
|
|
44378
|
+
return text(
|
|
44379
|
+
"\u4EFB\u52A1\u63A5\u5165\u6216\u672C\u5730\u8FDE\u63A5\u4E0D\u53EF\u7528\uFF0C\u8BF7\u91CD\u65B0\u6253\u5F00\u5F39\u7A97\u3002",
|
|
44380
|
+
"Task binding or local connection unavailable. Reopen the dialog."
|
|
44381
|
+
);
|
|
44382
|
+
if (!available())
|
|
44383
|
+
return text(
|
|
44384
|
+
"\u6240\u9009 Harness \u5DF2\u4E0D\u5728\u672C\u5730\u53EF\u7528\u5217\u8868\u4E2D\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\u3002",
|
|
44385
|
+
"The selected Harness is no longer available locally. Choose another Harness."
|
|
44386
|
+
);
|
|
44387
|
+
if (!binding.supportsExternal)
|
|
44388
|
+
return text(
|
|
44389
|
+
"\u5916\u90E8 Harness \u4EC5\u652F\u6301\u672C\u5730\u56FA\u5B9A\u804A\u5929\uFF1A\u8BF7\u542F\u7528\u201C\u5728\u6B64\u7535\u8111\u4E0A\u8FD0\u884C\u201D\uFF0C\u5173\u95ED\u201C\u6BCF\u6B21\u8FD0\u884C\u90FD\u5F00\u542F\u65B0\u804A\u5929\u201D\uFF0C\u5E76\u9009\u62E9\u4E2A\u4EBA\u5B9A\u65F6\u4EFB\u52A1\u3002",
|
|
44390
|
+
"External Harnesses require a personal local task in the same chat. Enable Run on this computer and disable Start each run in new chat."
|
|
44391
|
+
);
|
|
44392
|
+
if (workspaceCreation?.error) return workspaceCreation.error;
|
|
44393
|
+
if (workspaceCreation?.pending)
|
|
44394
|
+
return text("\u6B63\u5728\u521B\u5EFA\u5DE5\u4F5C\u533A\u4F1A\u8BDD\u2026", "Creating workspace chat\u2026");
|
|
44395
|
+
const chosen = selectedWorkspace;
|
|
44396
|
+
if (chosen && !binding.hasTarget && !workspaces.some(({ id, cwd }) => id === chosen.id && cwd === chosen.cwd))
|
|
44397
|
+
return text(
|
|
44398
|
+
"\u6240\u9009\u5DE5\u4F5C\u533A\u5DF2\u4E0D\u53EF\u7528\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\u3002",
|
|
44399
|
+
"The selected workspace is no longer available. Choose another workspace."
|
|
44400
|
+
);
|
|
44401
|
+
if (error51) return error51;
|
|
44402
|
+
if (loading)
|
|
44403
|
+
return models.length > 0 ? text(
|
|
44404
|
+
"\u6B63\u5728\u786E\u8BA4\u5DE5\u4F5C\u533A\u7684\u6A21\u578B\u914D\u7F6E\uFF0C\u8BF7\u7A0D\u540E\u63D0\u4EA4\u3002",
|
|
44405
|
+
"Checking workspace models. Submit again once ready."
|
|
44406
|
+
) : text("\u8BF7\u7B49\u5F85\u5E76\u9009\u62E9\u53EF\u7528\u7684 Model\u3002", "Wait for an available Model and select it.");
|
|
44407
|
+
if (!carrier || !models.some((entry) => entry.ref.id === model2.value))
|
|
44408
|
+
return text(
|
|
44409
|
+
"\u5F53\u524D\u6A21\u578B\u5728\u6B64\u5DE5\u4F5C\u533A\u4E0D\u53EF\u7528\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\u6A21\u578B\u3002",
|
|
44410
|
+
"The selected Model is unavailable in this workspace. Choose another Model."
|
|
44411
|
+
);
|
|
44412
|
+
if (binding.selection.model !== carrier && confirming)
|
|
44413
|
+
return text("\u6B63\u5728\u5E94\u7528\u6A21\u578B\u2026", "Applying Model\u2026");
|
|
44414
|
+
if (binding.selection.model !== carrier)
|
|
44415
|
+
return text(
|
|
44416
|
+
"\u4EFB\u52A1\u7684 Model \u5C1A\u672A\u786E\u8BA4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9 Model\u3002",
|
|
44417
|
+
"The task Model is not confirmed. Select the Model again."
|
|
44418
|
+
);
|
|
44419
|
+
return "";
|
|
44420
|
+
}
|
|
44421
|
+
function update() {
|
|
44422
|
+
if (retired) return;
|
|
44423
|
+
syncAvailablePlugins();
|
|
44424
|
+
const binding = readNativeScheduleForm(form);
|
|
44425
|
+
const active = external();
|
|
44426
|
+
modelRow.hidden = !active;
|
|
44427
|
+
workspaceRow.hidden = !active;
|
|
44428
|
+
fields.disabled = Boolean(binding?.isSaving || binding?.hasTarget || workspaceCreation);
|
|
44429
|
+
workspace.disabled = loading && models.length === 0 || confirming || !binding?.supportsExternal || !available();
|
|
44430
|
+
const modelBusy = loading && models.length === 0 || confirming && active;
|
|
44431
|
+
model2.disabled = modelBusy || models.length === 0 || !binding?.supportsExternal || !available();
|
|
44432
|
+
model2.busy = modelBusy;
|
|
44433
|
+
harness2.busy = confirming && !active;
|
|
44434
|
+
harness2.disabled = fields.disabled;
|
|
44435
|
+
const externalBlocked = !binding?.supportsExternal || !options.canRouteExternal();
|
|
44436
|
+
harness2.setDisabledValues(externalBlocked ? (id) => id !== "codex" : () => false);
|
|
44437
|
+
const blocked = blockedReason();
|
|
44438
|
+
const message2 = loading && models.length === 0 || confirming ? "" : active ? blocked : blocked || error51 || (!binding?.supportsExternal ? text(
|
|
44439
|
+
"\u5916\u90E8 Harness \u9700\u8981\u5728\u9AD8\u7EA7\u8BBE\u7F6E\u4E2D\u9009\u62E9\u672C\u5730\u3001\u56FA\u5B9A\u804A\u5929\u3002",
|
|
44440
|
+
"For external Harnesses, choose local execution in the same chat under Advanced."
|
|
44441
|
+
) : "");
|
|
44442
|
+
if (status.textContent !== message2) status.textContent = message2;
|
|
44443
|
+
messageRow.hidden = !message2;
|
|
44444
|
+
retry.hidden = !active || loading || confirming || Boolean(workspaceCreation) || !error51 && models.length > 0 && !models.some((entry) => entry.ref.id === model2.value) || !message2 || !binding?.supportsExternal || Boolean(binding.hasTarget || binding.isSaving) || client !== options.getClient() || !options.canRouteExternal() || !available();
|
|
44445
|
+
const rows = active ? new Set(nativeScheduleModelRows(form)) : /* @__PURE__ */ new Set();
|
|
44446
|
+
for (const [row, appearance] of hiddenRows) {
|
|
44447
|
+
if (rows.has(row)) continue;
|
|
44448
|
+
restoreRow(row, appearance);
|
|
44449
|
+
hiddenRows.delete(row);
|
|
44450
|
+
}
|
|
44451
|
+
for (const row of rows) {
|
|
44452
|
+
if (!hiddenRows.has(row))
|
|
44453
|
+
hiddenRows.set(row, {
|
|
44454
|
+
hidden: row.hidden,
|
|
44455
|
+
display: row.style.getPropertyValue("display"),
|
|
44456
|
+
priority: row.style.getPropertyPriority("display")
|
|
44457
|
+
});
|
|
44458
|
+
row.hidden = true;
|
|
44459
|
+
row.style.setProperty("display", "none", "important");
|
|
44460
|
+
}
|
|
44461
|
+
}
|
|
44462
|
+
async function prepareWorkspace(chosen, routeModel) {
|
|
44463
|
+
if (workspaceCreation) return;
|
|
44464
|
+
const attempt = {
|
|
44465
|
+
controller: new AbortController(),
|
|
44466
|
+
pending: true,
|
|
44467
|
+
error: "",
|
|
44468
|
+
thread: void 0
|
|
44469
|
+
};
|
|
44470
|
+
workspaceCreation = attempt;
|
|
44471
|
+
update();
|
|
44472
|
+
try {
|
|
44473
|
+
const binding = readNativeScheduleForm(form);
|
|
44474
|
+
if (!binding) throw Error("Task binding unavailable");
|
|
44475
|
+
attempt.thread = await options.createWorkspaceThread(
|
|
44476
|
+
{ workspace: chosen, model: routeModel, title: binding.title },
|
|
44477
|
+
attempt.controller.signal
|
|
44478
|
+
);
|
|
44479
|
+
attempt.controller.signal.throwIfAborted();
|
|
44480
|
+
if (retired || !form.isConnected) throw Error("Task dialog closed");
|
|
44481
|
+
const current = readNativeScheduleForm(form);
|
|
44482
|
+
if (!current?.supportsExternal || current.selection.model !== routeModel || client !== options.getClient())
|
|
44483
|
+
throw Error("Task configuration or connection changed. Reopen the dialog.");
|
|
44484
|
+
current.setTargetThread(attempt.thread.threadId, routeModel);
|
|
44485
|
+
const deadline = Date.now() + 5e3;
|
|
44486
|
+
while (readNativeScheduleForm(form)?.targetThreadId !== attempt.thread.threadId) {
|
|
44487
|
+
attempt.controller.signal.throwIfAborted();
|
|
44488
|
+
if (Date.now() >= deadline)
|
|
44489
|
+
throw Error("The task's target chat was not confirmed. Reopen the dialog.");
|
|
44490
|
+
await new Promise((resolve) => view.setTimeout(resolve, 25));
|
|
44491
|
+
}
|
|
44492
|
+
attempt.controller.signal.throwIfAborted();
|
|
44493
|
+
attempt.pending = false;
|
|
44494
|
+
update();
|
|
44495
|
+
form.requestSubmit();
|
|
44496
|
+
} catch (cause) {
|
|
44497
|
+
let cleanupError = "";
|
|
44498
|
+
if (attempt.thread?.discard) {
|
|
44499
|
+
if (readNativeScheduleForm(form)?.targetThreadId === attempt.thread.threadId)
|
|
44500
|
+
attempt.thread.retain();
|
|
44501
|
+
else {
|
|
44502
|
+
try {
|
|
44503
|
+
await attempt.thread.discard();
|
|
44504
|
+
} catch (error52) {
|
|
44505
|
+
cleanupError = ` ${text("\u4F1A\u8BDD\u6E05\u7406\u5931\u8D25\uFF1A", "Chat cleanup failed:")} ${error52 instanceof Error ? error52.message : String(error52)}`;
|
|
44506
|
+
}
|
|
44507
|
+
}
|
|
44508
|
+
}
|
|
44509
|
+
attempt.error = `${cause instanceof Error ? cause.message : text("\u4F1A\u8BDD\u521B\u5EFA\u5931\u8D25\u3002", "Chat creation failed.")}${cleanupError} ${text("\u8BF7\u5148\u68C0\u67E5\u4F1A\u8BDD\u5217\u8868\uFF0C\u52FF\u91CD\u590D\u521B\u5EFA\u3002", "Check the chat list before creating another task.")}`;
|
|
44510
|
+
} finally {
|
|
44511
|
+
attempt.pending = false;
|
|
44512
|
+
if (!retired) update();
|
|
44513
|
+
}
|
|
44514
|
+
}
|
|
44515
|
+
const onSubmit = (event) => {
|
|
44516
|
+
if (external() && selectedWorkspace) refreshWorkspaces();
|
|
44517
|
+
const reason = blockedReason();
|
|
44518
|
+
if (!reason) {
|
|
44519
|
+
if (external() && selectedWorkspace) {
|
|
44520
|
+
const binding = readNativeScheduleForm(form);
|
|
44521
|
+
const button2 = form.querySelector('button[type="submit"]');
|
|
44522
|
+
if (!button2 || button2.matches(":disabled") || binding?.isSaving) {
|
|
44523
|
+
event.preventDefault();
|
|
44524
|
+
event.stopImmediatePropagation();
|
|
44525
|
+
return;
|
|
44526
|
+
}
|
|
44527
|
+
if (!binding?.hasTarget && carrier) {
|
|
44528
|
+
event.preventDefault();
|
|
44529
|
+
event.stopImmediatePropagation();
|
|
44530
|
+
void prepareWorkspace(selectedWorkspace, carrier);
|
|
44531
|
+
return;
|
|
44532
|
+
}
|
|
44533
|
+
workspaceCreation?.thread?.retain();
|
|
44534
|
+
}
|
|
44535
|
+
return;
|
|
44536
|
+
}
|
|
44537
|
+
event.preventDefault();
|
|
44538
|
+
event.stopImmediatePropagation();
|
|
44539
|
+
messageRow.hidden = loading && models.length === 0 || confirming;
|
|
44540
|
+
status.textContent = reason;
|
|
44541
|
+
};
|
|
44542
|
+
form.addEventListener("submit", onSubmit, true);
|
|
44543
|
+
update();
|
|
44544
|
+
return {
|
|
44545
|
+
root,
|
|
44546
|
+
update,
|
|
44547
|
+
dispose() {
|
|
44548
|
+
retired = true;
|
|
44549
|
+
generation++;
|
|
44550
|
+
if (form.isConnected) restore();
|
|
44551
|
+
cancelConfirmation();
|
|
44552
|
+
harness2.close();
|
|
44553
|
+
model2.close();
|
|
44554
|
+
workspace.close();
|
|
44555
|
+
if (form.isConnected && workspaceCreation?.thread && readNativeScheduleForm(form)?.targetThreadId === workspaceCreation.thread.threadId)
|
|
44556
|
+
workspaceCreation.thread.retain();
|
|
44557
|
+
workspaceCreation?.controller.abort();
|
|
44558
|
+
for (const [row, appearance] of hiddenRows) restoreRow(row, appearance);
|
|
44559
|
+
form.removeEventListener("submit", onSubmit, true);
|
|
44560
|
+
root.remove();
|
|
44561
|
+
}
|
|
44562
|
+
};
|
|
44563
|
+
}
|
|
44564
|
+
function scan() {
|
|
44565
|
+
frame = null;
|
|
44566
|
+
if (disposed) return;
|
|
44567
|
+
for (const [form, control] of mounted) {
|
|
44568
|
+
if (!form.isConnected || !control.root.isConnected) {
|
|
44569
|
+
control.dispose();
|
|
44570
|
+
mounted.delete(form);
|
|
44571
|
+
} else control.update();
|
|
44572
|
+
}
|
|
44573
|
+
for (const form of document2.querySelectorAll('form[data-density="form"]')) {
|
|
44574
|
+
if (!mounted.has(form) && readNativeScheduleForm(form)) mounted.set(form, mount(form));
|
|
44575
|
+
}
|
|
44576
|
+
}
|
|
44577
|
+
const unsubscribeAvailability = options.subscribeAvailability(schedule);
|
|
44578
|
+
const observer = new MutationObserver(schedule);
|
|
44579
|
+
observer.observe(document2.documentElement, { childList: true, subtree: true });
|
|
44580
|
+
document2.addEventListener("change", schedule, true);
|
|
44581
|
+
document2.addEventListener("click", schedule, true);
|
|
44582
|
+
view.addEventListener("codexhost:draft-prewarm-policy-changed", schedule);
|
|
44583
|
+
scan();
|
|
44584
|
+
return {
|
|
44585
|
+
refresh: schedule,
|
|
44586
|
+
dispose() {
|
|
44587
|
+
disposed = true;
|
|
44588
|
+
if (frame !== null) view.cancelAnimationFrame(frame);
|
|
44589
|
+
observer.disconnect();
|
|
44590
|
+
unsubscribeAvailability();
|
|
44591
|
+
document2.removeEventListener("change", schedule, true);
|
|
44592
|
+
document2.removeEventListener("click", schedule, true);
|
|
44593
|
+
view.removeEventListener("codexhost:draft-prewarm-policy-changed", schedule);
|
|
44594
|
+
for (const control of mounted.values()) control.dispose();
|
|
44595
|
+
mounted.clear();
|
|
44596
|
+
}
|
|
44597
|
+
};
|
|
44598
|
+
}
|
|
44599
|
+
|
|
42351
44600
|
// src/renderer-binding-probe.ts
|
|
42352
44601
|
var EMPTY_PLUGINS = [];
|
|
42353
44602
|
function isRetryableHarnessAvailability(availability, error51) {
|
|
@@ -42635,9 +44884,13 @@ ${usage_default}`;
|
|
|
42635
44884
|
function mutationMayAffectComposer(mutation) {
|
|
42636
44885
|
const target = mutation.target instanceof Element ? mutation.target : mutation.target.parentElement;
|
|
42637
44886
|
if (!target) return true;
|
|
42638
|
-
if (mutation.type === "attributes" && mutation.attributeName === "data-codex-composer-root")
|
|
44887
|
+
if (mutation.type === "attributes" && (mutation.attributeName === "data-codex-composer-root" || NATIVE_COMPOSER_REQUEST_ATTRIBUTES.some((attribute) => attribute === mutation.attributeName)))
|
|
42639
44888
|
return true;
|
|
42640
|
-
if (mutation.type !== "attributes" && editorForElement(target))
|
|
44889
|
+
if (mutation.type !== "attributes" && editorForElement(target)) {
|
|
44890
|
+
return mutation.type === "childList" && [...mutation.addedNodes, ...mutation.removedNodes].some(
|
|
44891
|
+
(node) => node instanceof Element && hasNativeComposerRequest(node)
|
|
44892
|
+
);
|
|
44893
|
+
}
|
|
42641
44894
|
if (target.closest(CODEX_COMPOSER_SELECTOR)) return true;
|
|
42642
44895
|
if (mutation.type === "characterData") return false;
|
|
42643
44896
|
if (!target.closest(
|
|
@@ -42745,6 +44998,9 @@ ${usage_default}`;
|
|
|
42745
44998
|
disposed: () => disposed
|
|
42746
44999
|
});
|
|
42747
45000
|
const settingsLifecycle = installRendererSettingsLifecycle(window, {
|
|
45001
|
+
harnessSchedules: {
|
|
45002
|
+
openSchedules: (signal) => openCodexSchedules(signal)
|
|
45003
|
+
},
|
|
42748
45004
|
getRemoteConnections: () => remoteConnections,
|
|
42749
45005
|
getUpdateClient: () => modelControl,
|
|
42750
45006
|
getAccountClient: () => modelControl,
|
|
@@ -42752,8 +45008,9 @@ ${usage_default}`;
|
|
|
42752
45008
|
getLoadedSessionsClient: () => modelClientForHost("local"),
|
|
42753
45009
|
requestUsageStatistics: usageStatistics.request,
|
|
42754
45010
|
usageStatisticsHosts: usageStatistics.hosts,
|
|
42755
|
-
getSessionImportClient: () => {
|
|
42756
|
-
const hostId2 = activeModelHostId()
|
|
45011
|
+
getSessionImportClient: (requestedHostId) => {
|
|
45012
|
+
const hostId2 = requestedHostId ?? activeModelHostId();
|
|
45013
|
+
if (!hostId2) return null;
|
|
42757
45014
|
const client = modelClientForHost(hostId2);
|
|
42758
45015
|
const sources = client?.listSessionImportSources;
|
|
42759
45016
|
const list = client?.listHarnessSessions;
|
|
@@ -42837,7 +45094,7 @@ ${usage_default}`;
|
|
|
42837
45094
|
const ownershipRecovery = /* @__PURE__ */ new WeakMap();
|
|
42838
45095
|
const modelRecovery = /* @__PURE__ */ new WeakMap();
|
|
42839
45096
|
const isRetainedComposer = (mounted) => mounted.composer.isConnected && mounted.composer.matches(CODEX_COMPOSER_SELECTOR) && mountedByComposer.get(mounted.composer) === mounted;
|
|
42840
|
-
const isMountedComposer = (composer) => composer.isConnected && composer.matches(CODEX_COMPOSER_SELECTOR) && orbitComposerKind(composer) === "codex" && mountedByComposer.has(composer);
|
|
45097
|
+
const isMountedComposer = (composer) => composer.isConnected && composer.matches(CODEX_COMPOSER_SELECTOR) && !hasNativeComposerRequest(composer) && orbitComposerKind(composer) === "codex" && mountedByComposer.has(composer);
|
|
42841
45098
|
const isCurrentModelRequest = (mounted, generation) => isMountedComposer(mounted.composer) && mountedByComposer.get(mounted.composer) === mounted && controller.isCurrentModelRequest(mounted.composer, generation);
|
|
42842
45099
|
const isCurrentOwnershipRequest = (mounted, generation) => isMountedComposer(mounted.composer) && mountedByComposer.get(mounted.composer) === mounted && controller.isCurrentOwnershipRequest(mounted.composer, generation);
|
|
42843
45100
|
const finishModelRequest = (mounted, generation) => {
|
|
@@ -44236,11 +46493,35 @@ ${usage_default}`;
|
|
|
44236
46493
|
return () => connectionListeners.delete(listener);
|
|
44237
46494
|
}
|
|
44238
46495
|
};
|
|
46496
|
+
const nativeScheduleControls = installRendererNativeScheduleControls(document, {
|
|
46497
|
+
getClient: () => modelClientForHost("local"),
|
|
46498
|
+
getAvailablePlugins: () => {
|
|
46499
|
+
const client = modelClientForHost("local");
|
|
46500
|
+
const state = hostHarnessAvailabilityState("local");
|
|
46501
|
+
if (!client || state.directoryClient !== client) return [];
|
|
46502
|
+
return (state.plugins ?? []).filter((plugin) => plugin.kind !== "usage" && state.availability[plugin.id] === "ready").map((plugin) => pluginForHost("local", plugin.id) ?? plugin);
|
|
46503
|
+
},
|
|
46504
|
+
subscribeAvailability: (listener) => {
|
|
46505
|
+
connectionListeners.add(listener);
|
|
46506
|
+
return () => connectionListeners.delete(listener);
|
|
46507
|
+
},
|
|
46508
|
+
canRouteExternal: () => window.__codexhostHostRoutingV1?.forHost("local")?.policy.scopedCreation === true,
|
|
46509
|
+
async createWorkspaceThread(input, signal) {
|
|
46510
|
+
const routing = window.__codexhostHostRoutingV1;
|
|
46511
|
+
const manager = routing?.forHost("local")?.manager;
|
|
46512
|
+
const create = await loadCodexNativeServices(window, isNativeProjectThreadCreator);
|
|
46513
|
+
signal.throwIfAborted();
|
|
46514
|
+
if (!routing || !manager || routing.forHost("local")?.manager !== manager || !create)
|
|
46515
|
+
throw new Error("Native workspace chat creation is unavailable. Reopen the task dialog.");
|
|
46516
|
+
return createNativeScheduleWorkspaceThread(document, routing, create, input, signal);
|
|
46517
|
+
},
|
|
46518
|
+
locale: () => settingsLifecycle.locale
|
|
46519
|
+
});
|
|
44239
46520
|
const mount = (composer) => {
|
|
44240
|
-
if (mountedByComposer.has(composer) || !composer.isConnected || orbitComposerKind(composer) !== "codex" || !composer.matches(CODEX_COMPOSER_SELECTOR)) {
|
|
46521
|
+
if (mountedByComposer.has(composer) || !composer.isConnected || hasNativeComposerRequest(composer) || orbitComposerKind(composer) !== "codex" || !composer.matches(CODEX_COMPOSER_SELECTOR)) {
|
|
44241
46522
|
return;
|
|
44242
46523
|
}
|
|
44243
|
-
const allButtons =
|
|
46524
|
+
const allButtons = composerButtonsWithin(composer);
|
|
44244
46525
|
const sendButton = sendButtonWithin(composer) ?? allButtons.at(-1) ?? null;
|
|
44245
46526
|
if (!sendButton) return;
|
|
44246
46527
|
const modelTarget = findComposerModelTarget(composer);
|
|
@@ -44334,7 +46615,7 @@ ${usage_default}`;
|
|
|
44334
46615
|
const sourceState = controller.get(replacement.source.composer);
|
|
44335
46616
|
const replacementTarget = findComposerModelTarget(target);
|
|
44336
46617
|
const replacementHostId = activeModelHostId(target);
|
|
44337
|
-
if (orbitComposerKind(target) !== "codex" || !shouldTransferComposerState(
|
|
46618
|
+
if (hasNativeComposerRequest(target) || orbitComposerKind(target) !== "codex" || !shouldTransferComposerState(
|
|
44338
46619
|
replacement.sourceModelTarget,
|
|
44339
46620
|
replacementTarget,
|
|
44340
46621
|
sourceState.phase,
|
|
@@ -44351,7 +46632,7 @@ ${usage_default}`;
|
|
|
44351
46632
|
}
|
|
44352
46633
|
for (const [composer, mounted] of mountedByComposer) {
|
|
44353
46634
|
const kind = orbitComposerKind(composer);
|
|
44354
|
-
if (!composer.isConnected || kind === "orbit" || !composer.matches(CODEX_COMPOSER_SELECTOR) || !mounted.control.root.isConnected) {
|
|
46635
|
+
if (!composer.isConnected || hasNativeComposerRequest(composer) || kind === "orbit" || !composer.matches(CODEX_COMPOSER_SELECTOR) || !mounted.control.root.isConnected) {
|
|
44355
46636
|
mounted.usageRequestGeneration += 1;
|
|
44356
46637
|
usageRefreshAttempts.delete(composer);
|
|
44357
46638
|
const timer = usageRefreshTimers.get(composer);
|
|
@@ -44400,6 +46681,7 @@ ${usage_default}`;
|
|
|
44400
46681
|
void refreshHarnessAvailability();
|
|
44401
46682
|
}
|
|
44402
46683
|
pendingReplacements.clear();
|
|
46684
|
+
questions.refreshContext();
|
|
44403
46685
|
};
|
|
44404
46686
|
const scheduleScan = (refreshTargets = false) => {
|
|
44405
46687
|
refreshTargetsOnNextScan ||= refreshTargets;
|
|
@@ -44568,6 +46850,7 @@ ${usage_default}`;
|
|
|
44568
46850
|
const onAdapterStatus = () => {
|
|
44569
46851
|
publishConnectionStatus();
|
|
44570
46852
|
if (shouldRefreshCodexAccountsForAdapterState(adapterStatus.state)) {
|
|
46853
|
+
reconcileHarnessAvailabilityHost();
|
|
44571
46854
|
void loadCodexAccounts();
|
|
44572
46855
|
sidebarAgentIcons.refresh();
|
|
44573
46856
|
void refreshHarnessAvailabilityForHost("local");
|
|
@@ -44583,7 +46866,12 @@ ${usage_default}`;
|
|
|
44583
46866
|
};
|
|
44584
46867
|
mutationObserver.observe(document.documentElement, {
|
|
44585
46868
|
attributes: true,
|
|
44586
|
-
attributeFilter: [
|
|
46869
|
+
attributeFilter: [
|
|
46870
|
+
"hidden",
|
|
46871
|
+
"aria-hidden",
|
|
46872
|
+
"data-codex-composer-root",
|
|
46873
|
+
...NATIVE_COMPOSER_REQUEST_ATTRIBUTES
|
|
46874
|
+
],
|
|
44587
46875
|
characterData: true,
|
|
44588
46876
|
childList: true,
|
|
44589
46877
|
subtree: true
|
|
@@ -44680,6 +46968,16 @@ ${usage_default}`;
|
|
|
44680
46968
|
const connectedComposers = () => [...mountedByComposer.values()].filter(
|
|
44681
46969
|
(mounted) => isMountedComposer(mounted.composer) && mounted.control.root.isConnected
|
|
44682
46970
|
);
|
|
46971
|
+
const questions = installRendererQuestions(window, () => {
|
|
46972
|
+
const visible = connectedComposers().filter(
|
|
46973
|
+
(mounted2) => mounted2.composer.getClientRects().length > 0 && window.getComputedStyle(mounted2.composer).visibility === "visible" && !mounted2.composer.closest('[hidden], [inert], [aria-hidden="true"]') && controller.get(mounted2.composer).agent !== "codex"
|
|
46974
|
+
);
|
|
46975
|
+
const mounted = visible.length === 1 ? visible[0] : void 0;
|
|
46976
|
+
const threadId = mounted ? threadIdFromComposerModelTarget(findComposerModelTarget(mounted.composer)) : null;
|
|
46977
|
+
const hostId2 = mounted?.hostId;
|
|
46978
|
+
const route = hostId2 ? window.__codexhostHostRoutingV1?.forHost(hostId2) : null;
|
|
46979
|
+
return mounted && threadId && hostId2 && route ? { hostId: hostId2, threadId, composer: mounted.composer, route: route.manager } : null;
|
|
46980
|
+
});
|
|
44683
46981
|
const api = {
|
|
44684
46982
|
remoteConnections: (request) => handleRemoteConnectionsRequest(remoteConnections, request),
|
|
44685
46983
|
currentThreadId() {
|
|
@@ -44731,6 +47029,7 @@ ${usage_default}`;
|
|
|
44731
47029
|
if (disposed || modelControl !== installedModelControl) return;
|
|
44732
47030
|
try {
|
|
44733
47031
|
settingsLifecycle.refresh();
|
|
47032
|
+
nativeScheduleControls.refresh();
|
|
44734
47033
|
} catch {
|
|
44735
47034
|
}
|
|
44736
47035
|
});
|
|
@@ -44773,6 +47072,7 @@ ${usage_default}`;
|
|
|
44773
47072
|
disposed = true;
|
|
44774
47073
|
disposeApprovalStyle();
|
|
44775
47074
|
subagentRowMeta.dispose();
|
|
47075
|
+
questions.dispose();
|
|
44776
47076
|
usageNotificationDispose();
|
|
44777
47077
|
adapterDispose?.();
|
|
44778
47078
|
adapterDispose = null;
|
|
@@ -44783,6 +47083,7 @@ ${usage_default}`;
|
|
|
44783
47083
|
delegationMention?.dispose();
|
|
44784
47084
|
sidebarAgentIcons.dispose();
|
|
44785
47085
|
stopSidebarExternalPinning();
|
|
47086
|
+
nativeScheduleControls.dispose();
|
|
44786
47087
|
settingsLifecycle.dispose();
|
|
44787
47088
|
document.removeEventListener("beforeinput", onBeforeInput, true);
|
|
44788
47089
|
document.removeEventListener("submit", onSubmit, true);
|
|
@@ -44854,9 +47155,13 @@ ${usage_default}`;
|
|
|
44854
47155
|
|
|
44855
47156
|
lucide/dist/esm/defaultAttributes.mjs:
|
|
44856
47157
|
lucide/dist/esm/createElement.mjs:
|
|
47158
|
+
lucide/dist/esm/icons/check.mjs:
|
|
47159
|
+
lucide/dist/esm/icons/message-circle-question-mark.mjs:
|
|
47160
|
+
lucide/dist/esm/icons/pencil.mjs:
|
|
47161
|
+
lucide/dist/esm/icons/x.mjs:
|
|
44857
47162
|
lucide/dist/esm/icons/boxes.mjs:
|
|
47163
|
+
lucide/dist/esm/icons/calendar-clock.mjs:
|
|
44858
47164
|
lucide/dist/esm/icons/circle-check.mjs:
|
|
44859
|
-
lucide/dist/esm/icons/check.mjs:
|
|
44860
47165
|
lucide/dist/esm/icons/chevron-down.mjs:
|
|
44861
47166
|
lucide/dist/esm/icons/chevron-left.mjs:
|
|
44862
47167
|
lucide/dist/esm/icons/chevron-right.mjs:
|
|
@@ -44896,8 +47201,8 @@ lucide/dist/esm/icons/search.mjs:
|
|
|
44896
47201
|
lucide/dist/esm/icons/circle-question-mark.mjs:
|
|
44897
47202
|
lucide/dist/esm/icons/star.mjs:
|
|
44898
47203
|
lucide/dist/esm/icons/users.mjs:
|
|
44899
|
-
lucide/dist/esm/icons/x.mjs:
|
|
44900
47204
|
lucide/dist/esm/icons/circle-alert.mjs:
|
|
47205
|
+
lucide/dist/esm/icons/activity.mjs:
|
|
44901
47206
|
lucide/dist/esm/icons/lock.mjs:
|
|
44902
47207
|
lucide/dist/esm/icons/shield.mjs:
|
|
44903
47208
|
lucide/dist/esm/icons/shield-alert.mjs:
|