@karlorz/codexhost-cli-win32-x64 0.18.0-0 → 0.18.0-1
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 +258 -57
- package/app/console-web.js +1813 -137
- package/app/cpa-live-voice-hook.js +1879 -426
- package/app/desktop-controller.mjs +1783 -192
- package/app/host-runtime.mjs +2595 -1088
- package/app/overlay-voice-bootstrap.js +1616 -0
- package/app/plugins/antigravity/plugin.mjs +257 -56
- package/app/plugins/claude-code/plugin.mjs +257 -56
- package/app/plugins/codebuddy/plugin.mjs +257 -56
- package/app/plugins/codex-usage/plugin.mjs +257 -56
- package/app/plugins/copilot/plugin.mjs +257 -56
- package/app/plugins/cursor-cli/plugin.mjs +257 -56
- package/app/plugins/deepseek-harness/plugin.mjs +257 -56
- package/app/plugins/devin/plugin.mjs +257 -56
- package/app/plugins/grok/plugin.mjs +257 -56
- package/app/plugins/hermes/plugin.mjs +257 -56
- package/app/plugins/kimi-code/plugin.mjs +257 -56
- package/app/plugins/kiro-cli/plugin.mjs +257 -56
- package/app/plugins/omp/plugin.mjs +257 -56
- package/app/plugins/opencode/plugin.mjs +257 -56
- package/app/plugins/pi/plugin.mjs +257 -56
- package/app/plugins/qoder/plugin.mjs +257 -56
- package/app/plugins/qoder-cn/plugin.mjs +257 -56
- package/app/plugins/qwen-code/plugin.mjs +257 -56
- package/app/plugins/workbuddy/plugin.mjs +257 -56
- package/app/plugins/zcode/plugin.mjs +257 -56
- package/app/renderer-extension.js +22195 -19283
- package/app/voice-profile-pins.json +25 -0
- package/app/voice-qualification.json +4 -0
- package/app/web/assets/index-py6Ho-Dy.js +199 -0
- package/app/web/codexhost-settings.js +1762 -129
- package/app/web/index.html +1 -1
- package/app/web/plugins/deepseek-ai__dsh-api-remotes/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-api-session-controller/client.js +69 -69
- package/app/web/plugins/deepseek-ai__dsh-client-ui-codexhost/client.js +63 -63
- package/app/web/plugins/deepseek-ai__dsh-client-ui-tool/client.js +79 -79
- package/app/web-modules/server.mjs +956 -180
- package/bin/codexhost.exe +0 -0
- package/libexec/codexhost-node-repl.exe +0 -0
- package/libexec/codexhost-shim.exe +0 -0
- package/libexec/codexhost-updater.exe +0 -0
- package/package.json +1 -1
- package/app/web/assets/index-Bs17Kuah.js +0 -199
|
@@ -3232,7 +3232,7 @@
|
|
|
3232
3232
|
defineLazy(inst._zod, "optout", () => def.options.some((o) => o._zod.optout === "optional") ? "optional" : void 0);
|
|
3233
3233
|
defineLazy(inst._zod, "values", () => {
|
|
3234
3234
|
if (def.options.every((o) => o._zod.values)) {
|
|
3235
|
-
return new Set(def.options.flatMap((
|
|
3235
|
+
return new Set(def.options.flatMap((option2) => Array.from(option2._zod.values)));
|
|
3236
3236
|
}
|
|
3237
3237
|
return void 0;
|
|
3238
3238
|
});
|
|
@@ -3250,8 +3250,8 @@
|
|
|
3250
3250
|
}
|
|
3251
3251
|
let async = false;
|
|
3252
3252
|
const results = [];
|
|
3253
|
-
for (const
|
|
3254
|
-
const result =
|
|
3253
|
+
for (const option2 of def.options) {
|
|
3254
|
+
const result = option2._zod.run({
|
|
3255
3255
|
value: payload.value,
|
|
3256
3256
|
issues: []
|
|
3257
3257
|
}, ctx);
|
|
@@ -3305,8 +3305,8 @@
|
|
|
3305
3305
|
}
|
|
3306
3306
|
let async = false;
|
|
3307
3307
|
const results = [];
|
|
3308
|
-
for (const
|
|
3309
|
-
const result =
|
|
3308
|
+
for (const option2 of def.options) {
|
|
3309
|
+
const result = option2._zod.run({
|
|
3310
3310
|
value: payload.value,
|
|
3311
3311
|
issues: []
|
|
3312
3312
|
}, ctx);
|
|
@@ -3330,10 +3330,10 @@
|
|
|
3330
3330
|
const _super = inst._zod.parse;
|
|
3331
3331
|
defineLazy(inst._zod, "propValues", () => {
|
|
3332
3332
|
const propValues = {};
|
|
3333
|
-
for (const
|
|
3334
|
-
const pv =
|
|
3333
|
+
for (const option2 of def.options) {
|
|
3334
|
+
const pv = option2._zod.propValues;
|
|
3335
3335
|
if (!pv || Object.keys(pv).length === 0)
|
|
3336
|
-
throw new Error(`Invalid discriminated union option at index "${def.options.indexOf(
|
|
3336
|
+
throw new Error(`Invalid discriminated union option at index "${def.options.indexOf(option2)}"`);
|
|
3337
3337
|
for (const [k, v] of Object.entries(pv)) {
|
|
3338
3338
|
if (!propValues[k])
|
|
3339
3339
|
propValues[k] = /* @__PURE__ */ new Set();
|
|
@@ -11743,8 +11743,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11743
11743
|
return false;
|
|
11744
11744
|
}
|
|
11745
11745
|
if (def.type === "union") {
|
|
11746
|
-
for (const
|
|
11747
|
-
if (isTransforming(
|
|
11746
|
+
for (const option2 of def.options) {
|
|
11747
|
+
if (isTransforming(option2, ctx))
|
|
11748
11748
|
return true;
|
|
11749
11749
|
}
|
|
11750
11750
|
return false;
|
|
@@ -14547,7 +14547,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14547
14547
|
origin: goalOriginSchema
|
|
14548
14548
|
});
|
|
14549
14549
|
|
|
14550
|
-
// ../shared-contracts/dist/realtime-call.js
|
|
14550
|
+
// ../shared-contracts/dist/realtime-call-core.js
|
|
14551
14551
|
var REALTIME_CALL_FORWARDED_HEADERS = [
|
|
14552
14552
|
"openai-alpha",
|
|
14553
14553
|
"thread-id",
|
|
@@ -14556,7 +14556,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14556
14556
|
"x-codex-turn-metadata"
|
|
14557
14557
|
];
|
|
14558
14558
|
var FORWARDED_HEADERS = new Set(REALTIME_CALL_FORWARDED_HEADERS);
|
|
14559
|
-
var REALTIME_CALL_ID_PATTERN = /^
|
|
14559
|
+
var REALTIME_CALL_ID_PATTERN = /^[A-Za-z0-9_-]{1,128}$/u;
|
|
14560
|
+
|
|
14561
|
+
// ../shared-contracts/dist/realtime-call.js
|
|
14560
14562
|
var requestId = external_exports.string().min(1).max(128);
|
|
14561
14563
|
var realtimeCallParamsSchema = external_exports.discriminatedUnion("operation", [
|
|
14562
14564
|
external_exports.object({
|
|
@@ -14611,12 +14613,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14611
14613
|
var RELAY_PUBLIC_RESOURCE = `${RELAY_PUBLIC_ORIGIN}/mcp`;
|
|
14612
14614
|
var RELAY_WAIT_TIMEOUT_MAX_MS = 25e3;
|
|
14613
14615
|
var RELAY_MAX_BODY_BYTES = 2 * 1024 * 1024;
|
|
14614
|
-
var RELAY_ALLOWED_ROUTES = [
|
|
14615
|
-
"/v1/enroll/status",
|
|
14616
|
-
"/v1/thread/read",
|
|
14617
|
-
"/v1/thread/wait",
|
|
14618
|
-
"/v1/thread/send"
|
|
14619
|
-
];
|
|
14620
14616
|
var relayLinkHelloSchema = external_exports.strictObject({
|
|
14621
14617
|
v: external_exports.literal(RELAY_LINK_PROTOCOL_VERSION),
|
|
14622
14618
|
secret: external_exports.string().min(1).max(4096)
|
|
@@ -14628,8 +14624,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14628
14624
|
var relayLinkRequestSchema = external_exports.strictObject({
|
|
14629
14625
|
requestId: external_exports.string().min(1).max(128),
|
|
14630
14626
|
deadlineMs: external_exports.number().int().positive(),
|
|
14631
|
-
route: external_exports.
|
|
14632
|
-
body: external_exports.record(external_exports.string(), external_exports.unknown())
|
|
14627
|
+
route: external_exports.string().min(1).max(128),
|
|
14628
|
+
body: external_exports.record(external_exports.string(), external_exports.unknown()),
|
|
14629
|
+
operationalClient: external_exports.string().min(1).max(64).optional(),
|
|
14630
|
+
oauthClientId: external_exports.string().min(1).max(128).optional(),
|
|
14631
|
+
dispatchGrant: external_exports.enum(["legacy-four", "full-dispatch"]).optional()
|
|
14633
14632
|
});
|
|
14634
14633
|
var relayLinkErrorSchema = external_exports.strictObject({
|
|
14635
14634
|
code: external_exports.string().min(1).max(64),
|
|
@@ -14673,6 +14672,204 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14673
14672
|
runtime: external_exports.enum(["reachable", "unreachable"])
|
|
14674
14673
|
});
|
|
14675
14674
|
|
|
14675
|
+
// ../shared-contracts/dist/external-clients.js
|
|
14676
|
+
var EXTERNAL_CLIENT_NAME_PATTERN = /^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$/u;
|
|
14677
|
+
var externalClientNameSchema = external_exports.string().trim().min(1).max(64).regex(EXTERNAL_CLIENT_NAME_PATTERN);
|
|
14678
|
+
var externalClientAccessSchema = external_exports.enum(["all-threads", "selected-workspaces"]);
|
|
14679
|
+
var externalClientConnectionModeSchema = external_exports.enum(["public-relay", "local", "direct"]);
|
|
14680
|
+
var externalClientDispatchGrantSchema = external_exports.enum(["legacy-four", "full-dispatch"]);
|
|
14681
|
+
var workspacePathSchema = external_exports.string().trim().min(1).max(4096);
|
|
14682
|
+
var directUrlSchema = external_exports.string().trim().max(2048);
|
|
14683
|
+
var externalClientPublicViewSchema = external_exports.strictObject({
|
|
14684
|
+
name: externalClientNameSchema,
|
|
14685
|
+
createdAt: external_exports.string().min(1).max(64),
|
|
14686
|
+
access: externalClientAccessSchema,
|
|
14687
|
+
workspaces: external_exports.array(workspacePathSchema).max(64),
|
|
14688
|
+
connectionMode: externalClientConnectionModeSchema,
|
|
14689
|
+
dispatchGrant: externalClientDispatchGrantSchema,
|
|
14690
|
+
oauthClientId: external_exports.string().trim().min(1).max(128).optional(),
|
|
14691
|
+
directUrl: directUrlSchema.optional(),
|
|
14692
|
+
mcpUrl: external_exports.string().min(1).max(2048).optional(),
|
|
14693
|
+
mcpUrlNote: external_exports.string().min(1).max(512).optional()
|
|
14694
|
+
});
|
|
14695
|
+
var externalClientListParamsSchema = external_exports.strictObject({});
|
|
14696
|
+
var externalClientListResultSchema = external_exports.strictObject({
|
|
14697
|
+
clients: external_exports.array(externalClientPublicViewSchema).max(256)
|
|
14698
|
+
});
|
|
14699
|
+
var externalClientWriteFieldsSchema = external_exports.strictObject({
|
|
14700
|
+
access: externalClientAccessSchema.optional(),
|
|
14701
|
+
workspaces: external_exports.array(workspacePathSchema).max(64).optional(),
|
|
14702
|
+
connectionMode: externalClientConnectionModeSchema.optional(),
|
|
14703
|
+
dispatchGrant: externalClientDispatchGrantSchema.optional(),
|
|
14704
|
+
oauthClientId: external_exports.string().trim().min(1).max(128).optional(),
|
|
14705
|
+
directUrl: directUrlSchema.optional()
|
|
14706
|
+
});
|
|
14707
|
+
var externalClientCreateParamsSchema = externalClientWriteFieldsSchema.extend({
|
|
14708
|
+
name: externalClientNameSchema
|
|
14709
|
+
});
|
|
14710
|
+
var externalClientCreateResultSchema = externalClientPublicViewSchema.extend({
|
|
14711
|
+
token: external_exports.string().min(1).max(256).optional()
|
|
14712
|
+
});
|
|
14713
|
+
var externalClientUpdateParamsSchema = externalClientWriteFieldsSchema.extend({
|
|
14714
|
+
name: externalClientNameSchema,
|
|
14715
|
+
clearOauthClientId: external_exports.literal(true).optional()
|
|
14716
|
+
});
|
|
14717
|
+
var externalClientRevokeParamsSchema = external_exports.strictObject({
|
|
14718
|
+
name: externalClientNameSchema
|
|
14719
|
+
});
|
|
14720
|
+
var externalClientRevokeResultSchema = external_exports.strictObject({
|
|
14721
|
+
name: externalClientNameSchema,
|
|
14722
|
+
revoked: external_exports.literal(true)
|
|
14723
|
+
});
|
|
14724
|
+
var stringProp = (description) => ({ type: "string", description });
|
|
14725
|
+
var integerProp = (description) => ({
|
|
14726
|
+
type: "integer",
|
|
14727
|
+
minimum: 0,
|
|
14728
|
+
description
|
|
14729
|
+
});
|
|
14730
|
+
var threadProp = stringProp("Thread id or codex://threads/<id> link");
|
|
14731
|
+
var EXTERNAL_MCP_TOOL_DESCRIPTORS = [
|
|
14732
|
+
{
|
|
14733
|
+
name: "harness_list",
|
|
14734
|
+
description: "List the Harnesses this codexhost can delegate to.",
|
|
14735
|
+
inputSchema: { type: "object", properties: {} }
|
|
14736
|
+
},
|
|
14737
|
+
{
|
|
14738
|
+
name: "harness_inspect",
|
|
14739
|
+
description: "Read a Harness's Models, Thinking options and defaults; use the returned ids when delegating.",
|
|
14740
|
+
inputSchema: {
|
|
14741
|
+
type: "object",
|
|
14742
|
+
properties: {
|
|
14743
|
+
harnessId: stringProp("Harness id from harness_list"),
|
|
14744
|
+
cwd: stringProp("Absolute workspace path"),
|
|
14745
|
+
refresh: { type: "boolean" }
|
|
14746
|
+
},
|
|
14747
|
+
required: ["harnessId"]
|
|
14748
|
+
}
|
|
14749
|
+
},
|
|
14750
|
+
{
|
|
14751
|
+
name: "delegate_start",
|
|
14752
|
+
description: "Start a task in a new Thread and return at once. Without parentThread the work belongs to this client and cwd is required. watch=true records an event for this client when the Thread stops (read it with events_poll or the SSE stream).",
|
|
14753
|
+
inputSchema: {
|
|
14754
|
+
type: "object",
|
|
14755
|
+
properties: {
|
|
14756
|
+
harnessId: stringProp("Harness id from harness_list"),
|
|
14757
|
+
task: stringProp("The full task text"),
|
|
14758
|
+
taskName: stringProp("Short display name"),
|
|
14759
|
+
cwd: stringProp("Absolute workspace path"),
|
|
14760
|
+
model: stringProp("Model id from harness_inspect"),
|
|
14761
|
+
thinking: stringProp("Thinking option id from harness_inspect"),
|
|
14762
|
+
parentThread: stringProp("Optional parent Thread"),
|
|
14763
|
+
requestId: stringProp("Reuse to retry idempotently"),
|
|
14764
|
+
refs: {
|
|
14765
|
+
type: "array",
|
|
14766
|
+
items: { type: "string" },
|
|
14767
|
+
description: "Absolute URIs of where the work came from"
|
|
14768
|
+
},
|
|
14769
|
+
watch: { type: "boolean", description: "Record an event when the Thread stops" },
|
|
14770
|
+
watchTimeoutMs: integerProp("How long to watch; default 29 minutes")
|
|
14771
|
+
},
|
|
14772
|
+
required: ["harnessId", "task"]
|
|
14773
|
+
}
|
|
14774
|
+
},
|
|
14775
|
+
{
|
|
14776
|
+
name: "thread_read",
|
|
14777
|
+
description: "Read a Thread's status and latest result, or page its visible messages (view=messages). Never changes the Thread.",
|
|
14778
|
+
inputSchema: {
|
|
14779
|
+
type: "object",
|
|
14780
|
+
properties: {
|
|
14781
|
+
thread: threadProp,
|
|
14782
|
+
view: { type: "string", enum: ["result", "messages"] },
|
|
14783
|
+
cursor: stringProp("Message cursor"),
|
|
14784
|
+
limit: integerProp("Messages per page, at most 100")
|
|
14785
|
+
},
|
|
14786
|
+
required: ["thread"]
|
|
14787
|
+
}
|
|
14788
|
+
},
|
|
14789
|
+
{
|
|
14790
|
+
name: "thread_wait",
|
|
14791
|
+
description: "Wait up to timeoutMs (at most 60000) for a Thread to stop, then return the same snapshot as thread_read plus timedOut.",
|
|
14792
|
+
inputSchema: {
|
|
14793
|
+
type: "object",
|
|
14794
|
+
properties: {
|
|
14795
|
+
thread: threadProp,
|
|
14796
|
+
timeoutMs: integerProp("At most 60000; default 30000"),
|
|
14797
|
+
view: { type: "string", enum: ["result", "messages"] }
|
|
14798
|
+
},
|
|
14799
|
+
required: ["thread"]
|
|
14800
|
+
}
|
|
14801
|
+
},
|
|
14802
|
+
{
|
|
14803
|
+
name: "thread_list",
|
|
14804
|
+
description: "List Threads: by workspace (cwd), by parent Thread, by the client that started them, or by reference.",
|
|
14805
|
+
inputSchema: {
|
|
14806
|
+
type: "object",
|
|
14807
|
+
properties: {
|
|
14808
|
+
cwd: stringProp("Absolute workspace path"),
|
|
14809
|
+
parent: stringProp("Parent Thread"),
|
|
14810
|
+
client: stringProp("Client name"),
|
|
14811
|
+
ref: stringProp("Reference URI"),
|
|
14812
|
+
limit: integerProp("At most 100; default 25"),
|
|
14813
|
+
cursor: stringProp("Cursor from a previous page"),
|
|
14814
|
+
sort: {
|
|
14815
|
+
type: "string",
|
|
14816
|
+
enum: [
|
|
14817
|
+
"created-asc",
|
|
14818
|
+
"created-desc",
|
|
14819
|
+
"updated-asc",
|
|
14820
|
+
"updated-desc",
|
|
14821
|
+
"recency-asc",
|
|
14822
|
+
"recency-desc"
|
|
14823
|
+
]
|
|
14824
|
+
}
|
|
14825
|
+
}
|
|
14826
|
+
}
|
|
14827
|
+
},
|
|
14828
|
+
{
|
|
14829
|
+
name: "thread_send",
|
|
14830
|
+
description: "Start a new Turn in an idle Thread. THREAD_BUSY means its current Turn is still running; messages are not queued.",
|
|
14831
|
+
inputSchema: {
|
|
14832
|
+
type: "object",
|
|
14833
|
+
properties: { thread: threadProp, message: stringProp("Message text") },
|
|
14834
|
+
required: ["thread", "message"]
|
|
14835
|
+
}
|
|
14836
|
+
},
|
|
14837
|
+
{
|
|
14838
|
+
name: "thread_cancel",
|
|
14839
|
+
description: "Cancel a Thread's active Turn, keeping the Thread and its history.",
|
|
14840
|
+
inputSchema: { type: "object", properties: { thread: threadProp }, required: ["thread"] }
|
|
14841
|
+
},
|
|
14842
|
+
{
|
|
14843
|
+
name: "thread_watch",
|
|
14844
|
+
description: "Record one event for this client when the Thread stops or the watch expires.",
|
|
14845
|
+
inputSchema: {
|
|
14846
|
+
type: "object",
|
|
14847
|
+
properties: { thread: threadProp, timeoutMs: integerProp("Default 29 minutes") },
|
|
14848
|
+
required: ["thread"]
|
|
14849
|
+
}
|
|
14850
|
+
},
|
|
14851
|
+
{
|
|
14852
|
+
name: "thread_watches",
|
|
14853
|
+
description: "List watches that have not been delivered yet.",
|
|
14854
|
+
inputSchema: { type: "object", properties: {} }
|
|
14855
|
+
},
|
|
14856
|
+
{
|
|
14857
|
+
name: "events_poll",
|
|
14858
|
+
description: "Read this client's events after a cursor (0 for all retained). Waits up to timeoutMs (at most 60000) for the first one. Pass the returned cursor back next time. CURSOR_EXPIRED: reconcile with thread_list client=<this client>.",
|
|
14859
|
+
inputSchema: {
|
|
14860
|
+
type: "object",
|
|
14861
|
+
properties: {
|
|
14862
|
+
after: integerProp("Cursor; 0 for all retained"),
|
|
14863
|
+
timeoutMs: integerProp("At most 60000; default 0"),
|
|
14864
|
+
limit: integerProp("At most 100")
|
|
14865
|
+
}
|
|
14866
|
+
}
|
|
14867
|
+
}
|
|
14868
|
+
];
|
|
14869
|
+
|
|
14870
|
+
// ../shared-contracts/dist/external-mcp-map.js
|
|
14871
|
+
var DEFAULT_WATCH_MS = 29 * 6e4;
|
|
14872
|
+
|
|
14676
14873
|
// ../shared-contracts/dist/grok-computer-use.js
|
|
14677
14874
|
var GROK_COMPUTER_USE_GET_METHOD = "codexhost/harness/grok-computer-use/get";
|
|
14678
14875
|
var GROK_COMPUTER_USE_SET_METHOD = "codexhost/harness/grok-computer-use/set";
|
|
@@ -15031,15 +15228,15 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15031
15228
|
}).strict();
|
|
15032
15229
|
var harnessThinkingOptionsSchema = external_exports.array(harnessThinkingOptionSchema).superRefine((options, context) => {
|
|
15033
15230
|
const ids = /* @__PURE__ */ new Set();
|
|
15034
|
-
for (const [index,
|
|
15035
|
-
if (ids.has(
|
|
15231
|
+
for (const [index, option2] of options.entries()) {
|
|
15232
|
+
if (ids.has(option2.id)) {
|
|
15036
15233
|
context.addIssue({
|
|
15037
15234
|
code: "custom",
|
|
15038
15235
|
message: "Thinking option IDs must be unique",
|
|
15039
15236
|
path: [index, "id"]
|
|
15040
15237
|
});
|
|
15041
15238
|
}
|
|
15042
|
-
ids.add(
|
|
15239
|
+
ids.add(option2.id);
|
|
15043
15240
|
}
|
|
15044
15241
|
});
|
|
15045
15242
|
var harnessModelCatalogSchema = external_exports.object({
|
|
@@ -15293,6 +15490,52 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15293
15490
|
delivery: external_exports.enum(["official", "activeTurn", "newTurn"])
|
|
15294
15491
|
}).strict();
|
|
15295
15492
|
|
|
15493
|
+
// ../shared-contracts/dist/voice-settings.js
|
|
15494
|
+
var voiceRoutesSchema = external_exports.strictObject({
|
|
15495
|
+
chatExperience: external_exports.enum(["chatgpt", "codex"]),
|
|
15496
|
+
chatConnection: external_exports.enum(["desktop", "gateway"]),
|
|
15497
|
+
workConnection: external_exports.enum(["desktop", "gateway"])
|
|
15498
|
+
});
|
|
15499
|
+
var DEFAULT_VOICE_ROUTES = Object.freeze({
|
|
15500
|
+
chatExperience: "chatgpt",
|
|
15501
|
+
chatConnection: "desktop",
|
|
15502
|
+
workConnection: "gateway"
|
|
15503
|
+
});
|
|
15504
|
+
var voiceSettingsSchema = voiceRoutesSchema.extend({ inject: external_exports.boolean() });
|
|
15505
|
+
var voiceSettingsRequestSchema = external_exports.discriminatedUnion("operation", [
|
|
15506
|
+
external_exports.strictObject({
|
|
15507
|
+
operation: external_exports.literal("get"),
|
|
15508
|
+
runtime: external_exports.strictObject({
|
|
15509
|
+
id: external_exports.string().uuid(),
|
|
15510
|
+
revision: external_exports.string().max(64),
|
|
15511
|
+
activeCall: external_exports.boolean()
|
|
15512
|
+
}).optional()
|
|
15513
|
+
}),
|
|
15514
|
+
external_exports.strictObject({ operation: external_exports.literal("migrate"), routes: voiceRoutesSchema }),
|
|
15515
|
+
external_exports.strictObject({
|
|
15516
|
+
operation: external_exports.literal("set"),
|
|
15517
|
+
settings: voiceSettingsSchema,
|
|
15518
|
+
revision: external_exports.string().max(64)
|
|
15519
|
+
}),
|
|
15520
|
+
external_exports.strictObject({ operation: external_exports.literal("restart"), confirm: external_exports.literal(true) })
|
|
15521
|
+
]);
|
|
15522
|
+
var voiceSettingsStateSchema = external_exports.strictObject({
|
|
15523
|
+
settings: voiceSettingsSchema,
|
|
15524
|
+
initialized: external_exports.boolean(),
|
|
15525
|
+
revision: external_exports.string(),
|
|
15526
|
+
activeInject: external_exports.boolean().nullable(),
|
|
15527
|
+
envOverride: external_exports.enum(["0", "1"]).nullable(),
|
|
15528
|
+
activeEnvOverride: external_exports.enum(["0", "1"]).nullable(),
|
|
15529
|
+
routesActive: external_exports.boolean().nullable(),
|
|
15530
|
+
activeCall: external_exports.boolean().nullable(),
|
|
15531
|
+
gatewayReady: external_exports.boolean().nullable(),
|
|
15532
|
+
restartAvailable: external_exports.boolean(),
|
|
15533
|
+
restart: external_exports.strictObject({
|
|
15534
|
+
phase: external_exports.enum(["idle", "restarting", "succeeded", "failed"]),
|
|
15535
|
+
error: external_exports.string().nullable()
|
|
15536
|
+
})
|
|
15537
|
+
});
|
|
15538
|
+
|
|
15296
15539
|
// ../shared-contracts/dist/client-channel.js
|
|
15297
15540
|
var CLIENT_CHANNEL_VERSION = 1;
|
|
15298
15541
|
var CLIENT_REQUEST_LIMIT_BYTES = 128 * 1024 * 1024;
|
|
@@ -16115,6 +16358,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16115
16358
|
"codexhost/voice/gateway-status",
|
|
16116
16359
|
"codexhost/enrollment/list",
|
|
16117
16360
|
"codexhost/enrollment/revoke",
|
|
16361
|
+
"codexhost/external-clients/list",
|
|
16362
|
+
"codexhost/external-clients/create",
|
|
16363
|
+
"codexhost/external-clients/update",
|
|
16364
|
+
"codexhost/external-clients/revoke",
|
|
16118
16365
|
"codexhost/console/remote-connections",
|
|
16119
16366
|
"codexhost/runtime/status",
|
|
16120
16367
|
"codexhost/remote/ssh-setup",
|
|
@@ -16825,52 +17072,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16825
17072
|
var webUiExtensionEnabledSchema = external_exports.object({ id: webUiExtensionIdSchema, enabled: external_exports.boolean() }).strict();
|
|
16826
17073
|
var webUiExtensionRemoveSchema = external_exports.object({ id: webUiExtensionIdSchema }).strict();
|
|
16827
17074
|
|
|
16828
|
-
// ../shared-contracts/dist/voice-settings.js
|
|
16829
|
-
var voiceRoutesSchema = external_exports.strictObject({
|
|
16830
|
-
chatExperience: external_exports.enum(["chatgpt", "codex"]),
|
|
16831
|
-
chatConnection: external_exports.enum(["desktop", "gateway"]),
|
|
16832
|
-
workConnection: external_exports.enum(["desktop", "gateway"])
|
|
16833
|
-
});
|
|
16834
|
-
var DEFAULT_VOICE_ROUTES = Object.freeze({
|
|
16835
|
-
chatExperience: "chatgpt",
|
|
16836
|
-
chatConnection: "desktop",
|
|
16837
|
-
workConnection: "gateway"
|
|
16838
|
-
});
|
|
16839
|
-
var voiceSettingsSchema = voiceRoutesSchema.extend({ inject: external_exports.boolean() });
|
|
16840
|
-
var voiceSettingsRequestSchema = external_exports.discriminatedUnion("operation", [
|
|
16841
|
-
external_exports.strictObject({
|
|
16842
|
-
operation: external_exports.literal("get"),
|
|
16843
|
-
runtime: external_exports.strictObject({
|
|
16844
|
-
id: external_exports.string().uuid(),
|
|
16845
|
-
revision: external_exports.string().max(64),
|
|
16846
|
-
activeCall: external_exports.boolean()
|
|
16847
|
-
}).optional()
|
|
16848
|
-
}),
|
|
16849
|
-
external_exports.strictObject({ operation: external_exports.literal("migrate"), routes: voiceRoutesSchema }),
|
|
16850
|
-
external_exports.strictObject({
|
|
16851
|
-
operation: external_exports.literal("set"),
|
|
16852
|
-
settings: voiceSettingsSchema,
|
|
16853
|
-
revision: external_exports.string().max(64)
|
|
16854
|
-
}),
|
|
16855
|
-
external_exports.strictObject({ operation: external_exports.literal("restart"), confirm: external_exports.literal(true) })
|
|
16856
|
-
]);
|
|
16857
|
-
var voiceSettingsStateSchema = external_exports.strictObject({
|
|
16858
|
-
settings: voiceSettingsSchema,
|
|
16859
|
-
initialized: external_exports.boolean(),
|
|
16860
|
-
revision: external_exports.string(),
|
|
16861
|
-
activeInject: external_exports.boolean().nullable(),
|
|
16862
|
-
envOverride: external_exports.enum(["0", "1"]).nullable(),
|
|
16863
|
-
activeEnvOverride: external_exports.enum(["0", "1"]).nullable(),
|
|
16864
|
-
routesActive: external_exports.boolean().nullable(),
|
|
16865
|
-
activeCall: external_exports.boolean().nullable(),
|
|
16866
|
-
gatewayReady: external_exports.boolean().nullable(),
|
|
16867
|
-
restartAvailable: external_exports.boolean(),
|
|
16868
|
-
restart: external_exports.strictObject({
|
|
16869
|
-
phase: external_exports.enum(["idle", "restarting", "succeeded", "failed"]),
|
|
16870
|
-
error: external_exports.string().nullable()
|
|
16871
|
-
})
|
|
16872
|
-
});
|
|
16873
|
-
|
|
16874
17075
|
// ../shared-contracts/dist/background-activity.js
|
|
16875
17076
|
var backgroundActivitySchema = external_exports.strictObject({
|
|
16876
17077
|
id: external_exports.string().min(1),
|
|
@@ -20475,6 +20676,16 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
20475
20676
|
["circle", { cx: "16.5", cy: "7.5", r: ".5", fill: "currentColor" }]
|
|
20476
20677
|
];
|
|
20477
20678
|
|
|
20679
|
+
// ../../node_modules/lucide/dist/esm/icons/bot.mjs
|
|
20680
|
+
var Bot = [
|
|
20681
|
+
["path", { d: "M12 8V4H8" }],
|
|
20682
|
+
["rect", { width: "16", height: "12", x: "4", y: "8", rx: "2" }],
|
|
20683
|
+
["path", { d: "M2 14h2" }],
|
|
20684
|
+
["path", { d: "M20 14h2" }],
|
|
20685
|
+
["path", { d: "M15 13v2" }],
|
|
20686
|
+
["path", { d: "M9 13v2" }]
|
|
20687
|
+
];
|
|
20688
|
+
|
|
20478
20689
|
// src/settings/icons.ts
|
|
20479
20690
|
var iconNodes = {
|
|
20480
20691
|
settings: Settings,
|
|
@@ -20493,6 +20704,7 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
20493
20704
|
language: Languages,
|
|
20494
20705
|
connections: PlugZap,
|
|
20495
20706
|
enrollment: KeyRound,
|
|
20707
|
+
"mcp-clients": Bot,
|
|
20496
20708
|
accounts: Users,
|
|
20497
20709
|
"session-import": FolderInput,
|
|
20498
20710
|
add: Plus,
|
|
@@ -21014,6 +21226,7 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
21014
21226
|
harnessQuestionInChatHelp: Object.freeze([
|
|
21015
21227
|
"Codex's own questions always use the Codex Desktop layout.",
|
|
21016
21228
|
"Some single-choice and text questions still use the Desktop card.",
|
|
21229
|
+
"In-chat cards grow with the conversation and do not scroll inside the card. Overlay cards keep a height limit above the message box.",
|
|
21017
21230
|
"Answered questions remain after reopening a chat only if the Harness's own history records them.",
|
|
21018
21231
|
"Desktop still folds thinking and tool calls. The answered card stays visible as full-width history during the turn, then with the visible reply.",
|
|
21019
21232
|
"Update both the Host and the Desktop extension, including remote Hosts."
|
|
@@ -21326,11 +21539,55 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
21326
21539
|
revoke: "Revoke",
|
|
21327
21540
|
revoking: "Revoking\u2026"
|
|
21328
21541
|
}),
|
|
21542
|
+
mcpClients: Object.freeze({
|
|
21543
|
+
description: "Trusted operational MCP clients. Add a client, choose Thread access, then connect OAuth. An OAuth app name is not Host authority. Muse uses the public relay, never loopback.",
|
|
21544
|
+
helpLabel: "About MCP clients",
|
|
21545
|
+
help: Object.freeze([
|
|
21546
|
+
"Muse and Grok Bot share the same 11-tool Host catalog. Each client has its own identity, access, and revocation.",
|
|
21547
|
+
"All Host Threads is the default. Selected workspaces limits reads, writes, listings, waits, events, watches, and new delegation destinations in those roots.",
|
|
21548
|
+
"Public relay is the default connector URL. Local is loopback :4398 on this Mac. Direct uses a path that already reaches this Mac; Host does not open a new public listener.",
|
|
21549
|
+
"Revoke immediately ends later API use, including established sessions. Already-started tasks keep running. Cancellation is separate."
|
|
21550
|
+
]),
|
|
21551
|
+
columns: Object.freeze(["Client", "Access", "Connection", "Grant", "URL", "Actions"]),
|
|
21552
|
+
empty: "No MCP clients. Add muse or grok-bot here before connecting OAuth.",
|
|
21553
|
+
unavailable: "MCP clients require the local Host.",
|
|
21554
|
+
failed: "Could not load MCP clients.",
|
|
21555
|
+
loading: "Loading MCP clients\u2026",
|
|
21556
|
+
refresh: "Refresh",
|
|
21557
|
+
add: "Add client",
|
|
21558
|
+
adding: "Adding\u2026",
|
|
21559
|
+
name: "Client name",
|
|
21560
|
+
access: "Thread access",
|
|
21561
|
+
accessAll: "All Host Threads",
|
|
21562
|
+
accessSelected: "Selected workspaces",
|
|
21563
|
+
workspaces: "Workspace roots",
|
|
21564
|
+
workspacesHint: "One absolute path per line. Symlinks are resolved. Unresolved paths are denied.",
|
|
21565
|
+
connection: "Connection",
|
|
21566
|
+
connectionPublic: "Public relay (default)",
|
|
21567
|
+
connectionLocal: "Local loopback",
|
|
21568
|
+
connectionDirect: "Direct / already reachable",
|
|
21569
|
+
grant: "Dispatch grant",
|
|
21570
|
+
grantLegacy: "Legacy four tools (Muse staging)",
|
|
21571
|
+
grantFull: "Full Host dispatch",
|
|
21572
|
+
oauthClientId: "Bound OAuth client id (optional)",
|
|
21573
|
+
directUrl: "Direct MCP URL",
|
|
21574
|
+
directUrlHint: "https://host/mcp or http://100.x.x.x/mcp on Tailscale. Host does not open a listener.",
|
|
21575
|
+
connectOAuth: "Connect OAuth at this URL after the Host record exists.",
|
|
21576
|
+
copyUrl: "Copy URL",
|
|
21577
|
+
copied: "Copied",
|
|
21578
|
+
tokenOnce: "Same-Mac token (shown once). Store it privately; it is not listed again.",
|
|
21579
|
+
confirmRevoke: "Confirm revoke",
|
|
21580
|
+
revoke: "Revoke",
|
|
21581
|
+
revoking: "Revoking\u2026",
|
|
21582
|
+
save: "Save",
|
|
21583
|
+
saving: "Saving\u2026"
|
|
21584
|
+
}),
|
|
21329
21585
|
pageLabels: Object.freeze({
|
|
21330
21586
|
connections: "Connections",
|
|
21331
21587
|
"mobile-web": "Phone & browser",
|
|
21332
21588
|
"remote-connections": "Other computers (SSH)",
|
|
21333
21589
|
enrollment: "Enrollment",
|
|
21590
|
+
"mcp-clients": "MCP clients",
|
|
21334
21591
|
appearance: "General",
|
|
21335
21592
|
voice: "Voice",
|
|
21336
21593
|
accounts: "Accounts",
|
|
@@ -21365,6 +21622,7 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
21365
21622
|
harnessQuestionInChatHelp: Object.freeze([
|
|
21366
21623
|
"Codex \u81EA\u5DF1\u7684\u63D0\u95EE\u59CB\u7EC8\u4F7F\u7528 Codex Desktop \u7684\u5E03\u5C40\u3002",
|
|
21367
21624
|
"\u90E8\u5206\u5355\u9009\u548C\u6587\u672C\u63D0\u95EE\u4ECD\u4F7F\u7528 Desktop \u5361\u7247\u3002",
|
|
21625
|
+
"\u5BF9\u8BDD\u4E2D\u7684\u63D0\u95EE\u5361\u7247\u968F\u4F1A\u8BDD\u53D8\u9AD8\uFF0C\u4E0D\u5728\u5361\u7247\u5185\u6EDA\u52A8\u3002\u53E0\u52A0\u5728\u8F93\u5165\u6846\u4E0A\u65B9\u65F6\u4ECD\u6709\u9AD8\u5EA6\u9650\u5236\u3002",
|
|
21368
21626
|
"\u53EA\u6709 Harness \u81EA\u5DF1\u7684\u5386\u53F2\u8BB0\u5F55\u4E86\u63D0\u95EE\u548C\u7B54\u6848\u65F6\uFF0C\u91CD\u65B0\u6253\u5F00\u4F1A\u8BDD\u624D\u4F1A\u518D\u6B21\u663E\u793A\u5DF2\u56DE\u7B54\u7684\u63D0\u95EE\u3002",
|
|
21369
21627
|
"Desktop \u4ECD\u4F1A\u6298\u53E0\u601D\u8003\u548C\u5DE5\u5177\u8C03\u7528\u3002\u5DF2\u56DE\u7B54\u7684\u5361\u7247\u5728\u56DE\u5408\u8FDB\u884C\u4E2D\u4E5F\u4FDD\u6301\u5168\u5BBD\u5386\u53F2\uFF0C\u968F\u540E\u7559\u5728\u53EF\u89C1\u56DE\u590D\u5904\u3002",
|
|
21370
21628
|
"Host \u548C Desktop \u6269\u5C55\u9700\u8981\u4E00\u8D77\u66F4\u65B0\uFF0C\u5305\u62EC\u8FDC\u7A0B Host\u3002"
|
|
@@ -21677,11 +21935,55 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
21677
21935
|
revoke: "\u64A4\u9500",
|
|
21678
21936
|
revoking: "\u6B63\u5728\u64A4\u9500\u2026"
|
|
21679
21937
|
}),
|
|
21938
|
+
mcpClients: Object.freeze({
|
|
21939
|
+
description: "\u53D7\u4FE1\u4EFB\u7684\u8FD0\u8425 MCP \u5BA2\u6237\u7AEF\u3002\u5148\u6DFB\u52A0\u5BA2\u6237\u7AEF\u3001\u9009\u62E9 Thread \u8BBF\u95EE\u8303\u56F4\uFF0C\u518D\u8FDE\u63A5 OAuth\u3002\u4EC5\u6709 OAuth \u5E94\u7528\u540D\u79F0\u4E0D\u80FD\u83B7\u5F97 Host \u6743\u9650\u3002Muse \u4F7F\u7528\u516C\u7F51\u4E2D\u7EE7\uFF0C\u4E0D\u5F97\u6307\u5411\u56DE\u73AF\u5730\u5740\u3002",
|
|
21940
|
+
helpLabel: "\u5173\u4E8E MCP \u5BA2\u6237\u7AEF",
|
|
21941
|
+
help: Object.freeze([
|
|
21942
|
+
"Muse \u4E0E Grok Bot \u5171\u7528\u540C\u4E00\u5957 11 \u4E2A Host \u5DE5\u5177\u3002\u6BCF\u4E2A\u5BA2\u6237\u7AEF\u6709\u72EC\u7ACB\u8EAB\u4EFD\u3001\u8BBF\u95EE\u8303\u56F4\u548C\u64A4\u9500\u3002",
|
|
21943
|
+
"\u9ED8\u8BA4\u53EF\u8BBF\u95EE\u5168\u90E8 Host Thread\u3002\u9009\u5B9A\u5DE5\u4F5C\u533A\u4F1A\u9650\u5236\u8FD9\u4E9B\u6839\u76EE\u5F55\u5185\u7684\u8BFB\u5199\u3001\u5217\u8868\u3001\u7B49\u5F85\u3001\u4E8B\u4EF6\u3001\u76D1\u89C6\u4EE5\u53CA\u65B0\u7684\u59D4\u6D3E\u76EE\u6807\u3002",
|
|
21944
|
+
"\u9ED8\u8BA4\u8FDE\u63A5\u662F\u516C\u7F51\u4E2D\u7EE7\u3002\u672C\u673A\u4E3A\u56DE\u73AF :4398\u3002Direct \u4F7F\u7528\u5DF2\u7ECF\u80FD\u5230\u8FBE\u672C\u673A\u7684\u8DEF\u5F84\uFF1BHost \u4E0D\u4F1A\u65B0\u5F00\u516C\u7F51\u76D1\u542C\u3002",
|
|
21945
|
+
"\u64A4\u9500\u4F1A\u7ACB\u5373\u7981\u6B62\u540E\u7EED API \u4F7F\u7528\uFF0C\u5305\u62EC\u5DF2\u5EFA\u7ACB\u7684\u4F1A\u8BDD\u3002\u5DF2\u7ECF\u5F00\u59CB\u7684\u4EFB\u52A1\u7EE7\u7EED\u8FD0\u884C\u3002\u53D6\u6D88\u4EFB\u52A1\u662F\u5355\u72EC\u64CD\u4F5C\u3002"
|
|
21946
|
+
]),
|
|
21947
|
+
columns: Object.freeze(["\u5BA2\u6237\u7AEF", "\u8BBF\u95EE", "\u8FDE\u63A5", "\u6388\u6743", "URL", "\u64CD\u4F5C"]),
|
|
21948
|
+
empty: "\u6682\u65E0 MCP \u5BA2\u6237\u7AEF\u3002\u8FDE\u63A5 OAuth \u524D\u8BF7\u5148\u5728\u6B64\u6DFB\u52A0 muse \u6216 grok-bot\u3002",
|
|
21949
|
+
unavailable: "MCP \u5BA2\u6237\u7AEF\u9700\u8981\u6B63\u5728\u8FD0\u884C\u7684\u672C\u5730 Host\u3002",
|
|
21950
|
+
failed: "\u65E0\u6CD5\u52A0\u8F7D MCP \u5BA2\u6237\u7AEF\u3002",
|
|
21951
|
+
loading: "\u6B63\u5728\u52A0\u8F7D MCP \u5BA2\u6237\u7AEF\u2026",
|
|
21952
|
+
refresh: "\u5237\u65B0",
|
|
21953
|
+
add: "\u6DFB\u52A0\u5BA2\u6237\u7AEF",
|
|
21954
|
+
adding: "\u6B63\u5728\u6DFB\u52A0\u2026",
|
|
21955
|
+
name: "\u5BA2\u6237\u7AEF\u540D\u79F0",
|
|
21956
|
+
access: "Thread \u8BBF\u95EE",
|
|
21957
|
+
accessAll: "\u5168\u90E8 Host Thread",
|
|
21958
|
+
accessSelected: "\u9009\u5B9A\u5DE5\u4F5C\u533A",
|
|
21959
|
+
workspaces: "\u5DE5\u4F5C\u533A\u6839\u76EE\u5F55",
|
|
21960
|
+
workspacesHint: "\u6BCF\u884C\u4E00\u4E2A\u7EDD\u5BF9\u8DEF\u5F84\u3002\u7B26\u53F7\u94FE\u63A5\u4F1A\u88AB\u89E3\u6790\u3002\u65E0\u6CD5\u89E3\u6790\u7684\u8DEF\u5F84\u4F1A\u88AB\u62D2\u7EDD\u3002",
|
|
21961
|
+
connection: "\u8FDE\u63A5",
|
|
21962
|
+
connectionPublic: "\u516C\u7F51\u4E2D\u7EE7\uFF08\u9ED8\u8BA4\uFF09",
|
|
21963
|
+
connectionLocal: "\u672C\u673A\u56DE\u73AF",
|
|
21964
|
+
connectionDirect: "Direct / \u5DF2\u53EF\u8FBE",
|
|
21965
|
+
grant: "\u8C03\u5EA6\u6388\u6743",
|
|
21966
|
+
grantLegacy: "\u65E7\u7248\u56DB\u5DE5\u5177\uFF08Muse \u8FC7\u6E21\uFF09",
|
|
21967
|
+
grantFull: "\u5B8C\u6574 Host \u8C03\u5EA6",
|
|
21968
|
+
oauthClientId: "\u7ED1\u5B9A\u7684 OAuth client id\uFF08\u53EF\u9009\uFF09",
|
|
21969
|
+
directUrl: "Direct MCP URL",
|
|
21970
|
+
directUrlHint: "https://host/mcp\uFF0C\u6216 Tailscale \u4E0A\u7684 http://100.x.x.x/mcp\u3002Host \u4E0D\u4F1A\u65B0\u5F00\u76D1\u542C\u3002",
|
|
21971
|
+
connectOAuth: "Host \u8BB0\u5F55\u5B58\u5728\u540E\u518D\u7528\u6B64 URL \u8FDE\u63A5 OAuth\u3002",
|
|
21972
|
+
copyUrl: "\u590D\u5236 URL",
|
|
21973
|
+
copied: "\u5DF2\u590D\u5236",
|
|
21974
|
+
tokenOnce: "\u672C\u673A\u4EE4\u724C\uFF08\u53EA\u663E\u793A\u4E00\u6B21\uFF09\u3002\u8BF7\u79C1\u4E0B\u4FDD\u5B58\uFF1B\u5217\u8868\u4E0D\u4F1A\u518D\u6B21\u663E\u793A\u3002",
|
|
21975
|
+
confirmRevoke: "\u786E\u8BA4\u64A4\u9500",
|
|
21976
|
+
revoke: "\u64A4\u9500",
|
|
21977
|
+
revoking: "\u6B63\u5728\u64A4\u9500\u2026",
|
|
21978
|
+
save: "\u4FDD\u5B58",
|
|
21979
|
+
saving: "\u6B63\u5728\u4FDD\u5B58\u2026"
|
|
21980
|
+
}),
|
|
21680
21981
|
pageLabels: Object.freeze({
|
|
21681
21982
|
connections: "\u8FDE\u63A5",
|
|
21682
21983
|
"mobile-web": "\u624B\u673A\u4E0E\u6D4F\u89C8\u5668",
|
|
21683
21984
|
"remote-connections": "\u5176\u4ED6\u7535\u8111\uFF08SSH\uFF09",
|
|
21684
21985
|
enrollment: "\u5BA2\u6237\u7AEF\u767B\u8BB0",
|
|
21986
|
+
"mcp-clients": "MCP \u5BA2\u6237\u7AEF",
|
|
21685
21987
|
appearance: "\u901A\u7528",
|
|
21686
21988
|
voice: "\u8BED\u97F3",
|
|
21687
21989
|
accounts: "\u8D26\u53F7",
|
|
@@ -21711,12 +22013,22 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
21711
22013
|
return locale === "zh-CN" ? CHINESE_MESSAGES : ENGLISH_MESSAGES;
|
|
21712
22014
|
}
|
|
21713
22015
|
|
|
21714
|
-
// src/renderer-
|
|
21715
|
-
var
|
|
21716
|
-
var
|
|
21717
|
-
|
|
21718
|
-
|
|
21719
|
-
|
|
22016
|
+
// src/renderer-chat-voice-debug.ts
|
|
22017
|
+
var CHAT_VOICE_DEBUG_GLOBAL = "__codexhostChatVoiceDebug";
|
|
22018
|
+
var CHAT_VOICE_DEBUG_STORAGE_KEY = "codexhost.chat-voice-debug.v1";
|
|
22019
|
+
function chatVoiceDebug(event, detail = {}) {
|
|
22020
|
+
const entry = { t: Date.now(), event, ...detail };
|
|
22021
|
+
const owner = globalThis;
|
|
22022
|
+
const log = Array.isArray(owner[CHAT_VOICE_DEBUG_GLOBAL]) ? owner[CHAT_VOICE_DEBUG_GLOBAL] : [];
|
|
22023
|
+
log.push(entry);
|
|
22024
|
+
while (log.length > 40) log.shift();
|
|
22025
|
+
owner[CHAT_VOICE_DEBUG_GLOBAL] = log;
|
|
22026
|
+
try {
|
|
22027
|
+
owner.localStorage?.setItem(CHAT_VOICE_DEBUG_STORAGE_KEY, JSON.stringify(log));
|
|
22028
|
+
} catch {
|
|
22029
|
+
}
|
|
22030
|
+
owner.console?.info?.("[codexhost-chat-voice]", event, detail);
|
|
22031
|
+
}
|
|
21720
22032
|
|
|
21721
22033
|
// src/voice-settings-sync.ts
|
|
21722
22034
|
function desktopVoiceCallActive(owner) {
|
|
@@ -21785,6 +22097,12 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
21785
22097
|
hookUnsupported: "This Desktop build is not supported for gateway voice",
|
|
21786
22098
|
hookPending: "Attaching\u2026",
|
|
21787
22099
|
hookDisabled: "Off",
|
|
22100
|
+
available: "Available",
|
|
22101
|
+
desktopSelected: "Desktop default selected",
|
|
22102
|
+
routeAllowed: "Allowed on this Desktop",
|
|
22103
|
+
pathUnavailable: "Not available on this Desktop.",
|
|
22104
|
+
chatUnavailableFooter: "Chat voice is not available on this Desktop.",
|
|
22105
|
+
workUnavailableFooter: "Work voice is not available on this Desktop.",
|
|
21788
22106
|
configure: "Configure",
|
|
21789
22107
|
setup: "Gateway setup",
|
|
21790
22108
|
setupHint: "Gateway settings use your local Codex configuration and the selected provider\u2019s credential. End voice before editing configuration. Never paste credentials here.",
|
|
@@ -21844,6 +22162,12 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
21844
22162
|
hookUnsupported: "\u5F53\u524D Desktop \u7248\u672C\u4E0D\u652F\u6301\u7F51\u5173\u8BED\u97F3",
|
|
21845
22163
|
hookPending: "\u6B63\u5728\u63A5\u5165\u2026",
|
|
21846
22164
|
hookDisabled: "\u5DF2\u5173\u95ED",
|
|
22165
|
+
available: "\u53EF\u7528",
|
|
22166
|
+
desktopSelected: "\u5DF2\u9009\u62E9 Desktop \u9ED8\u8BA4",
|
|
22167
|
+
routeAllowed: "\u6B64 Desktop \u5DF2\u5141\u8BB8",
|
|
22168
|
+
pathUnavailable: "\u6B64 Desktop \u4E0A\u4E0D\u53EF\u7528\u3002",
|
|
22169
|
+
chatUnavailableFooter: "\u6B64 Desktop \u4E0A Chat \u8BED\u97F3\u4E0D\u53EF\u7528\u3002",
|
|
22170
|
+
workUnavailableFooter: "\u6B64 Desktop \u4E0A Work \u8BED\u97F3\u4E0D\u53EF\u7528\u3002",
|
|
21847
22171
|
configure: "\u914D\u7F6E",
|
|
21848
22172
|
setup: "\u7F51\u5173\u914D\u7F6E",
|
|
21849
22173
|
setupHint: "\u7F51\u5173\u4F7F\u7528\u672C\u5730 Codex \u914D\u7F6E\u53CA\u6240\u9009 Provider \u7684\u51ED\u636E\u3002\u7F16\u8F91\u524D\u8BF7\u7ED3\u675F\u8BED\u97F3\u3002\u8BF7\u52FF\u5728\u6B64\u7C98\u8D34\u51ED\u636E\u3002",
|
|
@@ -21877,6 +22201,955 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
21877
22201
|
};
|
|
21878
22202
|
}
|
|
21879
22203
|
|
|
22204
|
+
// src/renderer-cpa-live-voice-config.ts
|
|
22205
|
+
var CPA_LIVE_VOICE_HOOK_GLOBAL = "__codexhostCpaLiveVoiceHookV1";
|
|
22206
|
+
var ISOLATED_VOICE_PATHS = ["chat", "work-codex", "work-grok"];
|
|
22207
|
+
var PRODUCTION_DESKTOP_APP_PATH = "/Applications/ChatGPT.app";
|
|
22208
|
+
var PRODUCTION_WINDOWS_APPX_PATH = /(?:^|[\\/])WindowsApps[\\/]OpenAI\.(?:Codex|ChatGPT)_/i;
|
|
22209
|
+
function isProductionDesktopAppPath(appPath) {
|
|
22210
|
+
if (typeof appPath !== "string" || appPath.length === 0) return false;
|
|
22211
|
+
if (appPath === PRODUCTION_DESKTOP_APP_PATH) return true;
|
|
22212
|
+
return PRODUCTION_WINDOWS_APPX_PATH.test(appPath);
|
|
22213
|
+
}
|
|
22214
|
+
function isRecord3(value) {
|
|
22215
|
+
return typeof value === "object" && value !== null;
|
|
22216
|
+
}
|
|
22217
|
+
function readCpaLiveVoiceHookConfig(globalObject) {
|
|
22218
|
+
const value = globalObject[CPA_LIVE_VOICE_HOOK_GLOBAL];
|
|
22219
|
+
if (!isRecord3(value) || value.enabled !== true) return null;
|
|
22220
|
+
if (typeof value.auditedDesktopVersion !== "string" || typeof value.auditedAppInitialAsset !== "string") {
|
|
22221
|
+
return null;
|
|
22222
|
+
}
|
|
22223
|
+
return {
|
|
22224
|
+
enabled: true,
|
|
22225
|
+
auditedDesktopVersion: value.auditedDesktopVersion,
|
|
22226
|
+
auditedAppInitialAsset: value.auditedAppInitialAsset,
|
|
22227
|
+
...typeof value.desktopPlatform === "string" ? { desktopPlatform: value.desktopPlatform } : {},
|
|
22228
|
+
...typeof value.desktopVersion === "string" ? { desktopVersion: value.desktopVersion } : {},
|
|
22229
|
+
...typeof value.desktopBuild === "string" ? { desktopBuild: value.desktopBuild } : {},
|
|
22230
|
+
...typeof value.asarDigest === "string" ? { asarDigest: value.asarDigest } : {},
|
|
22231
|
+
...typeof value.implementationRevision === "string" ? { implementationRevision: value.implementationRevision } : {},
|
|
22232
|
+
...typeof value.desktopAppPath === "string" ? { desktopAppPath: value.desktopAppPath } : {},
|
|
22233
|
+
...Array.isArray(value.voiceEvidence) ? { voiceEvidence: value.voiceEvidence } : {},
|
|
22234
|
+
...isIsolatedVoiceQualification(value.isolatedQualification) ? { isolatedQualification: value.isolatedQualification } : {}
|
|
22235
|
+
};
|
|
22236
|
+
}
|
|
22237
|
+
function isIsolatedVoicePath(value) {
|
|
22238
|
+
return value === "chat" || value === "work-codex" || value === "work-grok";
|
|
22239
|
+
}
|
|
22240
|
+
function isIsolatedDesktopPlatform(value) {
|
|
22241
|
+
return value === "darwin" || value === "win32" || value === "linux";
|
|
22242
|
+
}
|
|
22243
|
+
function isolatedQualificationExpiresAtMs(expiresAt) {
|
|
22244
|
+
if (typeof expiresAt !== "string" || expiresAt.length === 0) return void 0;
|
|
22245
|
+
const parsed = Date.parse(expiresAt);
|
|
22246
|
+
return Number.isFinite(parsed) ? parsed : void 0;
|
|
22247
|
+
}
|
|
22248
|
+
function isolatedQualificationPathSet(value) {
|
|
22249
|
+
if (!isRecord3(value)) return void 0;
|
|
22250
|
+
const pathsPresent = value.paths !== void 0;
|
|
22251
|
+
const pathPresent = value.path !== void 0;
|
|
22252
|
+
let listed;
|
|
22253
|
+
if (pathsPresent) {
|
|
22254
|
+
if (!Array.isArray(value.paths) || value.paths.length === 0) return void 0;
|
|
22255
|
+
if (value.paths.some((path) => !isIsolatedVoicePath(path))) return void 0;
|
|
22256
|
+
if (new Set(value.paths).size !== value.paths.length) return void 0;
|
|
22257
|
+
listed = ISOLATED_VOICE_PATHS.filter((path) => value.paths.includes(path));
|
|
22258
|
+
if (listed.length !== value.paths.length) return void 0;
|
|
22259
|
+
} else if (pathPresent) {
|
|
22260
|
+
if (!isIsolatedVoicePath(value.path)) return void 0;
|
|
22261
|
+
listed = [value.path];
|
|
22262
|
+
} else {
|
|
22263
|
+
return void 0;
|
|
22264
|
+
}
|
|
22265
|
+
if (pathPresent) {
|
|
22266
|
+
if (!isIsolatedVoicePath(value.path) || !listed.includes(value.path)) return void 0;
|
|
22267
|
+
}
|
|
22268
|
+
return listed;
|
|
22269
|
+
}
|
|
22270
|
+
function isolatedQualificationPaths(isolated) {
|
|
22271
|
+
return isolatedQualificationPathSet(isolated) ?? [];
|
|
22272
|
+
}
|
|
22273
|
+
function isIsolatedVoiceQualification(value, now = Date.now()) {
|
|
22274
|
+
if (!isRecord3(value)) return false;
|
|
22275
|
+
const paths = isolatedQualificationPathSet(value);
|
|
22276
|
+
if (!paths || paths.length === 0) return false;
|
|
22277
|
+
if (typeof value.appPath === "string" && isProductionDesktopAppPath(value.appPath)) return false;
|
|
22278
|
+
const expiresAtMs = isolatedQualificationExpiresAtMs(value.expiresAt);
|
|
22279
|
+
if (expiresAtMs === void 0 || expiresAtMs <= now) return false;
|
|
22280
|
+
return typeof value.run === "string" && value.run.length > 0 && isIsolatedDesktopPlatform(value.desktopPlatform) && typeof value.desktopVersion === "string" && typeof value.desktopBuild === "string" && typeof value.asarDigest === "string" && typeof value.appPath === "string" && typeof value.implementationRevision === "string" && value.label === "unqualified-isolated";
|
|
22281
|
+
}
|
|
22282
|
+
|
|
22283
|
+
// src/renderer-voice-implementation-revision.generated.ts
|
|
22284
|
+
var VOICE_IMPLEMENTATION_REVISION = "0a2ee1b441686523";
|
|
22285
|
+
|
|
22286
|
+
// src/renderer-voice-profiles.ts
|
|
22287
|
+
var NATIVE_CHAT_VOICE_VERSION = "26.1027.61615";
|
|
22288
|
+
var NATIVE_CHAT_INITIAL_ASSET = "app-initial-18b189e867e7.js";
|
|
22289
|
+
var START_ASSET = "start-voice-221a396d38a5.js";
|
|
22290
|
+
var BASELINE_NAMED_CHAT_ROLES = {
|
|
22291
|
+
initializeFrom: "initial",
|
|
22292
|
+
initialize: "oT",
|
|
22293
|
+
startShape: "module",
|
|
22294
|
+
voiceSessionSelector: "SPn",
|
|
22295
|
+
reactFactory: "FBt",
|
|
22296
|
+
reactDomFactory: "PNt",
|
|
22297
|
+
prewarmController: "VoiceInstantConnectCacheController",
|
|
22298
|
+
initial: {
|
|
22299
|
+
MOr: "MOr",
|
|
22300
|
+
CDr: "CDr",
|
|
22301
|
+
B1n: "B1n",
|
|
22302
|
+
SPn: "SPn",
|
|
22303
|
+
oTFrom: "initial",
|
|
22304
|
+
oT: "oT",
|
|
22305
|
+
aTFrom: "initial",
|
|
22306
|
+
aT: "aT",
|
|
22307
|
+
Ycr: "Ycr",
|
|
22308
|
+
Nir: "Nir",
|
|
22309
|
+
n0n: "n0n",
|
|
22310
|
+
Y1n: "Y1n",
|
|
22311
|
+
HJt: "HJt"
|
|
22312
|
+
},
|
|
22313
|
+
shared: { Qst: "Qst", FBt: "FBt", PNt: "PNt", Vot: "Vot" }
|
|
22314
|
+
};
|
|
22315
|
+
var NAMED_CHAT_ROLES_26_1027_61615 = {
|
|
22316
|
+
initializeFrom: "primary",
|
|
22317
|
+
initialize: "Qp",
|
|
22318
|
+
startShape: "module",
|
|
22319
|
+
voiceSessionSelector: "etn",
|
|
22320
|
+
reactFactory: "pWt",
|
|
22321
|
+
reactDomFactory: "GFt",
|
|
22322
|
+
prewarmController: "VoiceInstantConnectCacheController",
|
|
22323
|
+
initial: {
|
|
22324
|
+
MOr: "p5n",
|
|
22325
|
+
CDr: "w6n",
|
|
22326
|
+
B1n: "_On",
|
|
22327
|
+
SPn: "etn",
|
|
22328
|
+
oTFrom: "primary",
|
|
22329
|
+
oT: "Qp",
|
|
22330
|
+
aTFrom: "primary",
|
|
22331
|
+
aT: "Zp",
|
|
22332
|
+
Ycr: "ofr",
|
|
22333
|
+
Nir: "yEn",
|
|
22334
|
+
n0n: "FOn",
|
|
22335
|
+
Y1n: "JOn",
|
|
22336
|
+
HJt: "Z6"
|
|
22337
|
+
},
|
|
22338
|
+
shared: { Qst: "klt", FBt: "pWt", PNt: "GFt", Vot: "_ct" }
|
|
22339
|
+
};
|
|
22340
|
+
var NAMED_CHAT_ROLES_26_1027_30824 = {
|
|
22341
|
+
initializeFrom: "primary",
|
|
22342
|
+
initialize: "Yp",
|
|
22343
|
+
startShape: "module",
|
|
22344
|
+
voiceSessionSelector: "Xen",
|
|
22345
|
+
reactFactory: "pWt",
|
|
22346
|
+
reactDomFactory: "GFt",
|
|
22347
|
+
prewarmController: "VoiceInstantConnectCacheController",
|
|
22348
|
+
initial: {
|
|
22349
|
+
MOr: "l5n",
|
|
22350
|
+
CDr: "b6n",
|
|
22351
|
+
B1n: "pOn",
|
|
22352
|
+
SPn: "Xen",
|
|
22353
|
+
oTFrom: "primary",
|
|
22354
|
+
oT: "Yp",
|
|
22355
|
+
aTFrom: "primary",
|
|
22356
|
+
aT: "Jp",
|
|
22357
|
+
Ycr: "nfr",
|
|
22358
|
+
Nir: "hEn",
|
|
22359
|
+
n0n: "jOn",
|
|
22360
|
+
Y1n: "wOn",
|
|
22361
|
+
HJt: "J6"
|
|
22362
|
+
},
|
|
22363
|
+
shared: { Qst: "klt", FBt: "pWt", PNt: "GFt", Vot: "_ct" }
|
|
22364
|
+
};
|
|
22365
|
+
var NAMED_CHAT_ROLES_26_1023_51421 = {
|
|
22366
|
+
initializeFrom: "primary",
|
|
22367
|
+
initialize: "gm",
|
|
22368
|
+
startShape: "module",
|
|
22369
|
+
voiceSessionSelector: "s$t",
|
|
22370
|
+
reactFactory: "OHt",
|
|
22371
|
+
reactDomFactory: "wPt",
|
|
22372
|
+
prewarmController: "VoiceInstantConnectCacheController",
|
|
22373
|
+
initial: {
|
|
22374
|
+
MOr: "x1n",
|
|
22375
|
+
CDr: "MQn",
|
|
22376
|
+
B1n: "Opn",
|
|
22377
|
+
SPn: "s$t",
|
|
22378
|
+
oTFrom: "primary",
|
|
22379
|
+
oT: "gm",
|
|
22380
|
+
aTFrom: "primary",
|
|
22381
|
+
aT: "hm",
|
|
22382
|
+
Ycr: "Zir",
|
|
22383
|
+
Nir: "ejn",
|
|
22384
|
+
n0n: "Kpn",
|
|
22385
|
+
Y1n: "zpn",
|
|
22386
|
+
HJt: "k3"
|
|
22387
|
+
},
|
|
22388
|
+
shared: { Qst: "uct", FBt: "OHt", PNt: "wPt", Vot: "ast" }
|
|
22389
|
+
};
|
|
22390
|
+
var NAMED_CHAT_ROLES_26_1021_31345 = {
|
|
22391
|
+
initializeFrom: "primary",
|
|
22392
|
+
initialize: "um",
|
|
22393
|
+
startShape: "entityBusiness",
|
|
22394
|
+
startT: "r",
|
|
22395
|
+
startN: "i",
|
|
22396
|
+
voiceSessionSelector: "qXt",
|
|
22397
|
+
reactFactory: "XVt",
|
|
22398
|
+
reactDomFactory: "KNt",
|
|
22399
|
+
prewarmController: "VoiceInstantConnectCacheController",
|
|
22400
|
+
initial: {
|
|
22401
|
+
MOr: "CQn",
|
|
22402
|
+
CDr: "PXn",
|
|
22403
|
+
B1n: "tdn",
|
|
22404
|
+
SPn: "qXt",
|
|
22405
|
+
oTFrom: "primary",
|
|
22406
|
+
oT: "um",
|
|
22407
|
+
aTFrom: "primary",
|
|
22408
|
+
aT: "lm",
|
|
22409
|
+
Ycr: "Xkn",
|
|
22410
|
+
Nir: "yAn",
|
|
22411
|
+
n0n: "ydn",
|
|
22412
|
+
Y1n: "fdn",
|
|
22413
|
+
HJt: "R2"
|
|
22414
|
+
},
|
|
22415
|
+
shared: { Qst: "Bst", FBt: "XVt", PNt: "KNt", Vot: "Fot" }
|
|
22416
|
+
};
|
|
22417
|
+
var NATIVE_CHAT_VOICE_ASSETS = [
|
|
22418
|
+
{
|
|
22419
|
+
platform: "darwin",
|
|
22420
|
+
version: NATIVE_CHAT_VOICE_VERSION,
|
|
22421
|
+
initial: NATIVE_CHAT_INITIAL_ASSET,
|
|
22422
|
+
shared: "app-shared-601019a330d7.js",
|
|
22423
|
+
primary: "app-primary-75d53eef2374.js",
|
|
22424
|
+
start: START_ASSET,
|
|
22425
|
+
prewarm: "voice-prewarm-a7cd5160219e.js",
|
|
22426
|
+
settings: "voice-settings-320cf1212f2c.js",
|
|
22427
|
+
roles: NAMED_CHAT_ROLES_26_1027_61615
|
|
22428
|
+
},
|
|
22429
|
+
{
|
|
22430
|
+
platform: "darwin",
|
|
22431
|
+
version: "26.1027.30824",
|
|
22432
|
+
initial: "app-initial-60f141238751.js",
|
|
22433
|
+
shared: "app-shared-7815d5a1a42a.js",
|
|
22434
|
+
primary: "app-primary-95a0e6d83f1e.js",
|
|
22435
|
+
start: "start-voice-4c77215aa289.js",
|
|
22436
|
+
prewarm: "voice-prewarm-e49220ad61bd.js",
|
|
22437
|
+
roles: NAMED_CHAT_ROLES_26_1027_30824
|
|
22438
|
+
},
|
|
22439
|
+
{
|
|
22440
|
+
platform: "darwin",
|
|
22441
|
+
version: "26.1023.51421",
|
|
22442
|
+
initial: "app-initial-bc8256c3cccb.js",
|
|
22443
|
+
shared: "app-shared-e9f258fd3588.js",
|
|
22444
|
+
primary: "app-primary-b7f335b763ca.js",
|
|
22445
|
+
start: "start-voice-a0564cefdc95.js",
|
|
22446
|
+
prewarm: "voice-prewarm-53aefded152c.js",
|
|
22447
|
+
settings: "voice-settings-1a9f68eb7ae8.js",
|
|
22448
|
+
roles: NAMED_CHAT_ROLES_26_1023_51421
|
|
22449
|
+
},
|
|
22450
|
+
{
|
|
22451
|
+
platform: "darwin",
|
|
22452
|
+
version: "26.1021.31345",
|
|
22453
|
+
initial: "app-initial-feb30b196d11.js",
|
|
22454
|
+
shared: "app-shared-2cae01273bae.js",
|
|
22455
|
+
primary: "app-primary-7d7313419f84.js",
|
|
22456
|
+
start: "entity-business-profile-reference-b68063dfc05d.js",
|
|
22457
|
+
prewarm: "voice-prewarm-d672f1245523.js",
|
|
22458
|
+
settings: "voice-settings-14000f5c9fc2.js",
|
|
22459
|
+
roles: NAMED_CHAT_ROLES_26_1021_31345
|
|
22460
|
+
},
|
|
22461
|
+
{
|
|
22462
|
+
platform: "win32",
|
|
22463
|
+
version: "26.1021.31345",
|
|
22464
|
+
initial: "app-initial-438d1df57f70.js",
|
|
22465
|
+
shared: "app-shared-955d52676f9c.js",
|
|
22466
|
+
primary: "app-primary-844e405f2b90.js",
|
|
22467
|
+
start: "entity-business-profile-reference-241c52d811f4.js",
|
|
22468
|
+
prewarm: "voice-prewarm-8b47c50a17ae.js",
|
|
22469
|
+
settings: "voice-settings-b1c1633136a5.js",
|
|
22470
|
+
roles: NAMED_CHAT_ROLES_26_1021_31345
|
|
22471
|
+
},
|
|
22472
|
+
{
|
|
22473
|
+
platform: "darwin",
|
|
22474
|
+
version: "26.1016.62342",
|
|
22475
|
+
initial: "app-initial-dddef47d6ef6.js",
|
|
22476
|
+
shared: "app-shared-fc3316d48427.js",
|
|
22477
|
+
start: "start-voice-7cbf0a39d53b.js",
|
|
22478
|
+
prewarm: "voice-prewarm-5d107129ac1c.js",
|
|
22479
|
+
roles: BASELINE_NAMED_CHAT_ROLES
|
|
22480
|
+
},
|
|
22481
|
+
{
|
|
22482
|
+
platform: "darwin",
|
|
22483
|
+
version: "26.1016.61520",
|
|
22484
|
+
initial: "app-initial-c95ddb62696e.js",
|
|
22485
|
+
shared: "app-shared-2eda13eb7044.js",
|
|
22486
|
+
start: "start-voice-18b08f0acdd7.js",
|
|
22487
|
+
prewarm: "voice-prewarm-94271e581c1b.js",
|
|
22488
|
+
roles: BASELINE_NAMED_CHAT_ROLES
|
|
22489
|
+
}
|
|
22490
|
+
];
|
|
22491
|
+
var CLIENT_OWNED_VOICE_VERSION = "26.1027.61615";
|
|
22492
|
+
var CLIENT_OWNED_VOICE_INITIAL_ASSET = "app-initial-18b189e867e7.js";
|
|
22493
|
+
var CLIENT_OWNED_VOICE_SHARED_ASSET = "app-shared-601019a330d7.js";
|
|
22494
|
+
var CLIENT_OWNED_VOICE_OVERLAY_ASSET = "avatar-overlay-native-page-920d05377bbe.js";
|
|
22495
|
+
var CLIENT_OWNED_VOICE_ASSETS = [
|
|
22496
|
+
{
|
|
22497
|
+
platform: "darwin",
|
|
22498
|
+
version: CLIENT_OWNED_VOICE_VERSION,
|
|
22499
|
+
initial: CLIENT_OWNED_VOICE_INITIAL_ASSET,
|
|
22500
|
+
shared: CLIENT_OWNED_VOICE_SHARED_ASSET,
|
|
22501
|
+
overlay: CLIENT_OWNED_VOICE_OVERLAY_ASSET,
|
|
22502
|
+
init: "Adr",
|
|
22503
|
+
fetch: "Odr",
|
|
22504
|
+
fetchFrom: "initial",
|
|
22505
|
+
bridge: "LRt",
|
|
22506
|
+
services: "Vct",
|
|
22507
|
+
responseError: "Pdr",
|
|
22508
|
+
responseErrorFrom: "initial",
|
|
22509
|
+
capabilityInit: "Ler",
|
|
22510
|
+
capabilityFamily: "Ier",
|
|
22511
|
+
inferenceGateFamily: "Vfr"
|
|
22512
|
+
},
|
|
22513
|
+
{
|
|
22514
|
+
platform: "darwin",
|
|
22515
|
+
version: "26.1027.30824",
|
|
22516
|
+
initial: "app-initial-60f141238751.js",
|
|
22517
|
+
shared: "app-shared-7815d5a1a42a.js",
|
|
22518
|
+
overlay: "avatar-overlay-native-page-d9d400e751cd.js",
|
|
22519
|
+
init: "Edr",
|
|
22520
|
+
fetch: "wdr",
|
|
22521
|
+
fetchFrom: "initial",
|
|
22522
|
+
bridge: "LRt",
|
|
22523
|
+
services: "Vct",
|
|
22524
|
+
responseError: "Adr",
|
|
22525
|
+
responseErrorFrom: "initial",
|
|
22526
|
+
capabilityInit: "Ner",
|
|
22527
|
+
capabilityFamily: "Mer",
|
|
22528
|
+
inferenceGateFamily: "Lfr"
|
|
22529
|
+
},
|
|
22530
|
+
{
|
|
22531
|
+
platform: "darwin",
|
|
22532
|
+
version: "26.1023.51421",
|
|
22533
|
+
initial: "app-initial-bc8256c3cccb.js",
|
|
22534
|
+
shared: "app-shared-e9f258fd3588.js",
|
|
22535
|
+
overlay: "avatar-overlay-native-page-af6c3662f64f.js",
|
|
22536
|
+
init: "xir",
|
|
22537
|
+
fetch: "yir",
|
|
22538
|
+
fetchFrom: "initial",
|
|
22539
|
+
bridge: "QIt",
|
|
22540
|
+
services: "Sst",
|
|
22541
|
+
capabilityInit: "N4n",
|
|
22542
|
+
capabilityFamily: "M4n",
|
|
22543
|
+
inferenceGateFamily: "Par"
|
|
22544
|
+
},
|
|
22545
|
+
{
|
|
22546
|
+
platform: "darwin",
|
|
22547
|
+
version: "26.1021.31345",
|
|
22548
|
+
initial: "app-initial-feb30b196d11.js",
|
|
22549
|
+
shared: "app-shared-2cae01273bae.js",
|
|
22550
|
+
overlay: "avatar-overlay-native-page-d549db3706f1.js",
|
|
22551
|
+
fetch: "Htr",
|
|
22552
|
+
fetchFrom: "initial",
|
|
22553
|
+
bridge: "bIt",
|
|
22554
|
+
services: "Qot",
|
|
22555
|
+
capabilityInit: "l0n",
|
|
22556
|
+
capabilityFamily: "c0n",
|
|
22557
|
+
inferenceGateFamily: "Cnr"
|
|
22558
|
+
},
|
|
22559
|
+
{
|
|
22560
|
+
platform: "win32",
|
|
22561
|
+
version: "26.1021.31345",
|
|
22562
|
+
initial: "app-initial-438d1df57f70.js",
|
|
22563
|
+
shared: "app-shared-955d52676f9c.js",
|
|
22564
|
+
overlay: "avatar-overlay-native-page-1549fe5955e1.js",
|
|
22565
|
+
fetch: "Htr",
|
|
22566
|
+
fetchFrom: "initial",
|
|
22567
|
+
bridge: "bIt",
|
|
22568
|
+
services: "Qot",
|
|
22569
|
+
capabilityInit: "l0n",
|
|
22570
|
+
capabilityFamily: "c0n",
|
|
22571
|
+
inferenceGateFamily: "Cnr"
|
|
22572
|
+
},
|
|
22573
|
+
{
|
|
22574
|
+
platform: "darwin",
|
|
22575
|
+
version: "26.1016.62342",
|
|
22576
|
+
initial: "app-initial-dddef47d6ef6.js",
|
|
22577
|
+
shared: "app-shared-fc3316d48427.js",
|
|
22578
|
+
overlay: "avatar-overlay-native-page-ef8332c6a2fb.js",
|
|
22579
|
+
init: "Oit",
|
|
22580
|
+
fetch: "Eit",
|
|
22581
|
+
bridge: "AFt",
|
|
22582
|
+
responseError: "Mit",
|
|
22583
|
+
services: "ist",
|
|
22584
|
+
capabilityInit: "njr",
|
|
22585
|
+
capabilityFamily: "tjr",
|
|
22586
|
+
inferenceGateFamily: "uBr"
|
|
22587
|
+
},
|
|
22588
|
+
{
|
|
22589
|
+
platform: "darwin",
|
|
22590
|
+
version: "26.1016.61520",
|
|
22591
|
+
initial: "app-initial-c95ddb62696e.js",
|
|
22592
|
+
shared: "app-shared-2eda13eb7044.js",
|
|
22593
|
+
overlay: "avatar-overlay-native-page-fcc17283519a.js",
|
|
22594
|
+
init: "Oit",
|
|
22595
|
+
fetch: "Eit",
|
|
22596
|
+
bridge: "AFt",
|
|
22597
|
+
responseError: "Mit",
|
|
22598
|
+
services: "ist",
|
|
22599
|
+
capabilityInit: "njr",
|
|
22600
|
+
capabilityFamily: "tjr",
|
|
22601
|
+
inferenceGateFamily: "uBr"
|
|
22602
|
+
}
|
|
22603
|
+
];
|
|
22604
|
+
var HISTORICAL_CPA_LIVE_VOICE_DESKTOP_VERSION = "26.1007.30912";
|
|
22605
|
+
var HISTORICAL_CPA_LIVE_VOICE_APP_INITIAL_ASSET = "app-initial-6350d04672d0.js";
|
|
22606
|
+
var HASHED_WEBPACK_VOICE_VERSION = "26.1106.51428";
|
|
22607
|
+
var HASHED_WEBPACK_VOICE_RUNTIME_ASSET = "348410.1a97dde15f.js";
|
|
22608
|
+
var HASHED_NATIVE_CHAT_START_ASSET = "530142.1e51e7f4b2.js";
|
|
22609
|
+
var HASHED_NATIVE_CHAT_PREWARM_ASSET = "586788.c871bb9b7d.js";
|
|
22610
|
+
var NATIVE_CHAT_VOICE_CHUNKS = [
|
|
22611
|
+
157963,
|
|
22612
|
+
74692,
|
|
22613
|
+
198336,
|
|
22614
|
+
543449,
|
|
22615
|
+
904485,
|
|
22616
|
+
459859,
|
|
22617
|
+
822019,
|
|
22618
|
+
431137,
|
|
22619
|
+
108823,
|
|
22620
|
+
208490,
|
|
22621
|
+
384218,
|
|
22622
|
+
843292,
|
|
22623
|
+
652289,
|
|
22624
|
+
907652,
|
|
22625
|
+
796195,
|
|
22626
|
+
144338,
|
|
22627
|
+
140959,
|
|
22628
|
+
587936,
|
|
22629
|
+
904817,
|
|
22630
|
+
426774,
|
|
22631
|
+
452048,
|
|
22632
|
+
490954,
|
|
22633
|
+
445991,
|
|
22634
|
+
612928,
|
|
22635
|
+
42903,
|
|
22636
|
+
363341,
|
|
22637
|
+
997826,
|
|
22638
|
+
223736,
|
|
22639
|
+
21878,
|
|
22640
|
+
89655,
|
|
22641
|
+
333490,
|
|
22642
|
+
422391,
|
|
22643
|
+
792483,
|
|
22644
|
+
530142
|
|
22645
|
+
];
|
|
22646
|
+
var HASHED_NATIVE_CHAT_ROLES = {
|
|
22647
|
+
startModuleId: "j9r7",
|
|
22648
|
+
prewarmModuleId: "oWM3",
|
|
22649
|
+
appScopeModuleId: "OWtl",
|
|
22650
|
+
appScopeExport: "u",
|
|
22651
|
+
routeScopeModuleId: "Oj9r",
|
|
22652
|
+
routeScopeExport: "GD",
|
|
22653
|
+
composerScopeModuleId: "Sd8U",
|
|
22654
|
+
composerScopeExport: "PR",
|
|
22655
|
+
storeModuleId: "bgok",
|
|
22656
|
+
storeExport: "MH",
|
|
22657
|
+
runtimeModuleId: "cY1t",
|
|
22658
|
+
runtimeEnableExport: "Iy",
|
|
22659
|
+
runtimeLoaderExport: "Re",
|
|
22660
|
+
reactModuleId: "zd8w",
|
|
22661
|
+
reactDomModuleId: "CE87",
|
|
22662
|
+
startInitializeExport: "initializeVoiceSession",
|
|
22663
|
+
prewarmControllerExport: "VoiceInstantConnectCacheController",
|
|
22664
|
+
/** Conversation store: adopted backend ID, transcript mapping, current node. */
|
|
22665
|
+
conversationModuleId: "MrGp",
|
|
22666
|
+
backendConversationExport: "jS",
|
|
22667
|
+
transcriptMappingExport: "Jv",
|
|
22668
|
+
currentNodeExport: "Od",
|
|
22669
|
+
/** App location atom used as the draft-selection origin. */
|
|
22670
|
+
locationModuleId: "nlNF",
|
|
22671
|
+
locationExport: "x2",
|
|
22672
|
+
/** AppNavigation.navigate(scope, location). */
|
|
22673
|
+
navigationModuleId: "E8Sp",
|
|
22674
|
+
navigationExport: "oo",
|
|
22675
|
+
/** `/c/:conversationId` builder; not a GPT `/g/` path. */
|
|
22676
|
+
conversationPathModuleId: "jAnS",
|
|
22677
|
+
conversationPathExport: "mv"
|
|
22678
|
+
};
|
|
22679
|
+
var HASHED_OVERLAY_VOICE_ROLES = {
|
|
22680
|
+
fetchFactoryId: "GDNt",
|
|
22681
|
+
fetchExport: "_n",
|
|
22682
|
+
bridgeModuleId: "TL6G",
|
|
22683
|
+
bridgeExport: "O1",
|
|
22684
|
+
responseErrorModuleId: "eShZ",
|
|
22685
|
+
responseErrorExport: "s1",
|
|
22686
|
+
capabilityModuleId: "ChYf",
|
|
22687
|
+
capabilityExport: "G",
|
|
22688
|
+
inferenceGateModuleId: "OMIV",
|
|
22689
|
+
inferenceGateExport: "JW",
|
|
22690
|
+
/** Workspace voice access derived atom `P` via `zTeN.un`; Instant Connect ANDs `Y3.status`. */
|
|
22691
|
+
voiceAccessModuleId: "eFn4",
|
|
22692
|
+
voiceAccessExport: "Y3"
|
|
22693
|
+
};
|
|
22694
|
+
function hashedVoiceCandidateOwner(config2) {
|
|
22695
|
+
return config2.desktopVersion === HASHED_WEBPACK_VOICE_VERSION && (config2.desktopPlatform === "darwin" || config2.desktopPlatform === "win32");
|
|
22696
|
+
}
|
|
22697
|
+
function hashedVoiceProfileSupported(config2) {
|
|
22698
|
+
return config2.desktopVersion === HASHED_WEBPACK_VOICE_VERSION && config2.desktopPlatform === "darwin";
|
|
22699
|
+
}
|
|
22700
|
+
function reviewedOverlayHookDesktopVersions() {
|
|
22701
|
+
const versions = /* @__PURE__ */ new Set([
|
|
22702
|
+
HISTORICAL_CPA_LIVE_VOICE_DESKTOP_VERSION,
|
|
22703
|
+
HASHED_WEBPACK_VOICE_VERSION
|
|
22704
|
+
]);
|
|
22705
|
+
for (const profile of NATIVE_CHAT_VOICE_ASSETS) versions.add(profile.version);
|
|
22706
|
+
for (const profile of CLIENT_OWNED_VOICE_ASSETS) versions.add(profile.version);
|
|
22707
|
+
return [...versions].sort();
|
|
22708
|
+
}
|
|
22709
|
+
var VOICE_PROFILE_PINS = {
|
|
22710
|
+
workVersion: CLIENT_OWNED_VOICE_VERSION,
|
|
22711
|
+
workInitial: CLIENT_OWNED_VOICE_INITIAL_ASSET,
|
|
22712
|
+
workShared: CLIENT_OWNED_VOICE_SHARED_ASSET,
|
|
22713
|
+
overlayAsset: CLIENT_OWNED_VOICE_OVERLAY_ASSET,
|
|
22714
|
+
chatVersion: NATIVE_CHAT_VOICE_VERSION,
|
|
22715
|
+
chatInitial: NATIVE_CHAT_INITIAL_ASSET,
|
|
22716
|
+
chatStart: START_ASSET,
|
|
22717
|
+
hashedVersion: HASHED_WEBPACK_VOICE_VERSION,
|
|
22718
|
+
hashedRuntimeAsset: HASHED_WEBPACK_VOICE_RUNTIME_ASSET,
|
|
22719
|
+
hashedStartAsset: HASHED_NATIVE_CHAT_START_ASSET,
|
|
22720
|
+
hashedPrewarmAsset: HASHED_NATIVE_CHAT_PREWARM_ASSET,
|
|
22721
|
+
historicalCpaVersion: HISTORICAL_CPA_LIVE_VOICE_DESKTOP_VERSION,
|
|
22722
|
+
historicalCpaInitial: HISTORICAL_CPA_LIVE_VOICE_APP_INITIAL_ASSET
|
|
22723
|
+
};
|
|
22724
|
+
var voiceProfilePins = {
|
|
22725
|
+
...VOICE_PROFILE_PINS,
|
|
22726
|
+
overlayHookDesktopVersions: reviewedOverlayHookDesktopVersions()
|
|
22727
|
+
};
|
|
22728
|
+
function nativeChatVoiceKind(config2) {
|
|
22729
|
+
if (!config2.desktopVersion) return void 0;
|
|
22730
|
+
if (hashedVoiceProfileSupported(config2)) return "hashed";
|
|
22731
|
+
if (NATIVE_CHAT_VOICE_ASSETS.some(
|
|
22732
|
+
(profile) => profile.version === config2.desktopVersion && (config2.desktopPlatform === void 0 || profile.platform === config2.desktopPlatform)
|
|
22733
|
+
)) {
|
|
22734
|
+
return "named";
|
|
22735
|
+
}
|
|
22736
|
+
return void 0;
|
|
22737
|
+
}
|
|
22738
|
+
function nativeChatVoiceUnavailableReason(config2) {
|
|
22739
|
+
if (nativeChatVoiceKind(config2)) return void 0;
|
|
22740
|
+
if (!config2.desktopVersion) return "Chat voice is waiting for Desktop identity.";
|
|
22741
|
+
if (config2.desktopVersion === HASHED_WEBPACK_VOICE_VERSION && config2.desktopPlatform === "win32") {
|
|
22742
|
+
return "Chat voice is not qualified on this Windows Desktop.";
|
|
22743
|
+
}
|
|
22744
|
+
return "Chat voice is not qualified on this Desktop.";
|
|
22745
|
+
}
|
|
22746
|
+
function workVoiceUnavailableReason(config2) {
|
|
22747
|
+
if (hashedVoiceProfileSupported(config2)) return void 0;
|
|
22748
|
+
if (config2.desktopVersion !== void 0 && CLIENT_OWNED_VOICE_ASSETS.some(
|
|
22749
|
+
(profile) => profile.version === config2.desktopVersion && (config2.desktopPlatform === void 0 || profile.platform === config2.desktopPlatform)
|
|
22750
|
+
)) {
|
|
22751
|
+
return void 0;
|
|
22752
|
+
}
|
|
22753
|
+
if (!config2.desktopVersion) return "Work voice is waiting for Desktop identity.";
|
|
22754
|
+
if (config2.desktopVersion === HASHED_WEBPACK_VOICE_VERSION && config2.desktopPlatform === "win32") {
|
|
22755
|
+
return "Work voice is not qualified on this Windows Desktop.";
|
|
22756
|
+
}
|
|
22757
|
+
return "Work voice is not qualified on this Desktop.";
|
|
22758
|
+
}
|
|
22759
|
+
function profileIdentityKey(product, platform, version2) {
|
|
22760
|
+
return `${product}:${platform ?? "unknown"}:${version2 ?? "unknown"}`;
|
|
22761
|
+
}
|
|
22762
|
+
function fnv1aHex(value) {
|
|
22763
|
+
let hash2 = 0xcbf29ce484222325n;
|
|
22764
|
+
for (let index = 0; index < value.length; index += 1) {
|
|
22765
|
+
hash2 ^= BigInt(value.charCodeAt(index));
|
|
22766
|
+
hash2 = hash2 * 0x100000001b3n & 0xffffffffffffffffn;
|
|
22767
|
+
}
|
|
22768
|
+
return hash2.toString(16).padStart(16, "0");
|
|
22769
|
+
}
|
|
22770
|
+
function digestJson(value) {
|
|
22771
|
+
return fnv1aHex(JSON.stringify(value));
|
|
22772
|
+
}
|
|
22773
|
+
function legacyRetainedVoiceLanes() {
|
|
22774
|
+
return [
|
|
22775
|
+
...NATIVE_CHAT_VOICE_ASSETS.map((profile) => ({
|
|
22776
|
+
path: "chat",
|
|
22777
|
+
platform: profile.platform,
|
|
22778
|
+
version: profile.version
|
|
22779
|
+
})),
|
|
22780
|
+
...CLIENT_OWNED_VOICE_ASSETS.map((profile) => ({
|
|
22781
|
+
path: "work-codex",
|
|
22782
|
+
platform: profile.platform,
|
|
22783
|
+
version: profile.version
|
|
22784
|
+
}))
|
|
22785
|
+
];
|
|
22786
|
+
}
|
|
22787
|
+
function voiceProfileOwner(product, platform, version2) {
|
|
22788
|
+
if (product === "chat") {
|
|
22789
|
+
if (hashedVoiceCandidateOwner({ desktopVersion: version2, desktopPlatform: platform })) {
|
|
22790
|
+
return {
|
|
22791
|
+
kind: "hashed-chat",
|
|
22792
|
+
platform,
|
|
22793
|
+
version: version2,
|
|
22794
|
+
roles: HASHED_NATIVE_CHAT_ROLES,
|
|
22795
|
+
chunks: [...NATIVE_CHAT_VOICE_CHUNKS],
|
|
22796
|
+
webpack: HASHED_WEBPACK_VOICE_RUNTIME_ASSET,
|
|
22797
|
+
start: HASHED_NATIVE_CHAT_START_ASSET,
|
|
22798
|
+
prewarm: HASHED_NATIVE_CHAT_PREWARM_ASSET
|
|
22799
|
+
};
|
|
22800
|
+
}
|
|
22801
|
+
const named = NATIVE_CHAT_VOICE_ASSETS.find(
|
|
22802
|
+
(profile) => profile.platform === platform && profile.version === version2
|
|
22803
|
+
);
|
|
22804
|
+
if (!named) return void 0;
|
|
22805
|
+
return {
|
|
22806
|
+
kind: "named-chat",
|
|
22807
|
+
platform: named.platform,
|
|
22808
|
+
version: named.version,
|
|
22809
|
+
initial: named.initial,
|
|
22810
|
+
shared: named.shared,
|
|
22811
|
+
primary: named.primary ?? null,
|
|
22812
|
+
start: named.start,
|
|
22813
|
+
prewarm: named.prewarm,
|
|
22814
|
+
settings: named.settings ?? null,
|
|
22815
|
+
roles: named.roles
|
|
22816
|
+
};
|
|
22817
|
+
}
|
|
22818
|
+
const namedWork = CLIENT_OWNED_VOICE_ASSETS.find(
|
|
22819
|
+
(profile) => profile.platform === platform && profile.version === version2
|
|
22820
|
+
);
|
|
22821
|
+
if (namedWork) {
|
|
22822
|
+
return {
|
|
22823
|
+
kind: "named-work",
|
|
22824
|
+
platform: namedWork.platform,
|
|
22825
|
+
version: namedWork.version,
|
|
22826
|
+
initial: namedWork.initial,
|
|
22827
|
+
shared: namedWork.shared,
|
|
22828
|
+
overlay: namedWork.overlay,
|
|
22829
|
+
init: namedWork.init ?? null,
|
|
22830
|
+
fetch: namedWork.fetch,
|
|
22831
|
+
fetchFrom: namedWork.fetchFrom ?? null,
|
|
22832
|
+
bridge: namedWork.bridge,
|
|
22833
|
+
services: namedWork.services,
|
|
22834
|
+
responseError: namedWork.responseError ?? null,
|
|
22835
|
+
responseErrorFrom: namedWork.responseErrorFrom ?? null,
|
|
22836
|
+
capabilityInit: namedWork.capabilityInit,
|
|
22837
|
+
capabilityFamily: namedWork.capabilityFamily,
|
|
22838
|
+
inferenceGateFamily: namedWork.inferenceGateFamily
|
|
22839
|
+
};
|
|
22840
|
+
}
|
|
22841
|
+
if (hashedVoiceCandidateOwner({ desktopVersion: version2, desktopPlatform: platform })) {
|
|
22842
|
+
return {
|
|
22843
|
+
kind: "hashed-work",
|
|
22844
|
+
platform,
|
|
22845
|
+
version: version2,
|
|
22846
|
+
overlay: HASHED_OVERLAY_VOICE_ROLES,
|
|
22847
|
+
webpack: HASHED_WEBPACK_VOICE_RUNTIME_ASSET
|
|
22848
|
+
};
|
|
22849
|
+
}
|
|
22850
|
+
return void 0;
|
|
22851
|
+
}
|
|
22852
|
+
function voiceProfileDigest(product, platform, version2) {
|
|
22853
|
+
const owner = voiceProfileOwner(product, platform, version2);
|
|
22854
|
+
return owner ? digestJson(owner) : void 0;
|
|
22855
|
+
}
|
|
22856
|
+
function voiceImplementationRevision() {
|
|
22857
|
+
return VOICE_IMPLEMENTATION_REVISION;
|
|
22858
|
+
}
|
|
22859
|
+
|
|
22860
|
+
// src/renderer-voice-evidence.ts
|
|
22861
|
+
var VOICE_EVIDENCE_STAGES = [
|
|
22862
|
+
"structural",
|
|
22863
|
+
"activation",
|
|
22864
|
+
"connection",
|
|
22865
|
+
"identity",
|
|
22866
|
+
"speech",
|
|
22867
|
+
"cleanup"
|
|
22868
|
+
];
|
|
22869
|
+
var REQUIRED_STAGES = VOICE_EVIDENCE_STAGES;
|
|
22870
|
+
function recordObject(value) {
|
|
22871
|
+
return value !== null && typeof value === "object";
|
|
22872
|
+
}
|
|
22873
|
+
function missingStages(record3) {
|
|
22874
|
+
return REQUIRED_STAGES.filter((stage) => record3.stages[stage] !== true);
|
|
22875
|
+
}
|
|
22876
|
+
function productForPath(path) {
|
|
22877
|
+
return path === "chat" ? "chat" : "work";
|
|
22878
|
+
}
|
|
22879
|
+
function evaluateVoiceEvidence(record3) {
|
|
22880
|
+
const expectedKey = profileIdentityKey(
|
|
22881
|
+
productForPath(record3.path),
|
|
22882
|
+
record3.platform,
|
|
22883
|
+
record3.desktopVersion
|
|
22884
|
+
);
|
|
22885
|
+
if (record3.profileKey !== expectedKey) {
|
|
22886
|
+
return {
|
|
22887
|
+
outcome: "mismatch",
|
|
22888
|
+
qualified: false,
|
|
22889
|
+
missing: missingStages(record3),
|
|
22890
|
+
reason: "evidence-profile-mismatch"
|
|
22891
|
+
};
|
|
22892
|
+
}
|
|
22893
|
+
if (typeof record3.implementationRevision !== "string" || record3.implementationRevision === "") {
|
|
22894
|
+
return {
|
|
22895
|
+
outcome: "mismatch",
|
|
22896
|
+
qualified: false,
|
|
22897
|
+
missing: missingStages(record3),
|
|
22898
|
+
reason: "missing-implementation-revision"
|
|
22899
|
+
};
|
|
22900
|
+
}
|
|
22901
|
+
if (record3.policy !== "legacy-retained" && record3.implementationRevision !== voiceImplementationRevision()) {
|
|
22902
|
+
return {
|
|
22903
|
+
outcome: "mismatch",
|
|
22904
|
+
qualified: false,
|
|
22905
|
+
missing: missingStages(record3),
|
|
22906
|
+
reason: "implementation-revision-mismatch"
|
|
22907
|
+
};
|
|
22908
|
+
}
|
|
22909
|
+
if (record3.policy !== "legacy-retained") {
|
|
22910
|
+
if (typeof record3.desktopBuild !== "string" || record3.desktopBuild === "" || typeof record3.asarDigest !== "string" || record3.asarDigest === "") {
|
|
22911
|
+
return {
|
|
22912
|
+
outcome: "mismatch",
|
|
22913
|
+
qualified: false,
|
|
22914
|
+
missing: missingStages(record3),
|
|
22915
|
+
reason: "missing-native-identity"
|
|
22916
|
+
};
|
|
22917
|
+
}
|
|
22918
|
+
}
|
|
22919
|
+
if (typeof record3.profileDigest !== "string" || record3.profileDigest === "") {
|
|
22920
|
+
return {
|
|
22921
|
+
outcome: "mismatch",
|
|
22922
|
+
qualified: false,
|
|
22923
|
+
missing: missingStages(record3),
|
|
22924
|
+
reason: "missing-profile-digest"
|
|
22925
|
+
};
|
|
22926
|
+
}
|
|
22927
|
+
const expectedDigest = voiceProfileDigest(
|
|
22928
|
+
productForPath(record3.path),
|
|
22929
|
+
record3.platform,
|
|
22930
|
+
record3.desktopVersion
|
|
22931
|
+
);
|
|
22932
|
+
if (!expectedDigest || record3.profileDigest !== expectedDigest) {
|
|
22933
|
+
return {
|
|
22934
|
+
outcome: "mismatch",
|
|
22935
|
+
qualified: false,
|
|
22936
|
+
missing: missingStages(record3),
|
|
22937
|
+
reason: "stale-profile-digest"
|
|
22938
|
+
};
|
|
22939
|
+
}
|
|
22940
|
+
if (record3.startAcknowledged === true && record3.connected !== true) {
|
|
22941
|
+
return {
|
|
22942
|
+
outcome: "incomplete",
|
|
22943
|
+
qualified: false,
|
|
22944
|
+
missing: missingStages(record3).length > 0 ? missingStages(record3) : ["connection"],
|
|
22945
|
+
reason: "start-acknowledged-without-connection"
|
|
22946
|
+
};
|
|
22947
|
+
}
|
|
22948
|
+
if (record3.path !== "chat" && record3.gatewayOwned !== true && record3.stages.connection === true) {
|
|
22949
|
+
return {
|
|
22950
|
+
outcome: "incomplete",
|
|
22951
|
+
qualified: false,
|
|
22952
|
+
missing: missingStages(record3).length > 0 ? missingStages(record3) : ["connection"],
|
|
22953
|
+
reason: "route-only-without-connected-gateway"
|
|
22954
|
+
};
|
|
22955
|
+
}
|
|
22956
|
+
if (record3.speech?.attended === true && (!record3.speech.witness || !record3.speech.run)) {
|
|
22957
|
+
return {
|
|
22958
|
+
outcome: "incomplete",
|
|
22959
|
+
qualified: false,
|
|
22960
|
+
missing: missingStages(record3).includes("speech") ? missingStages(record3) : ["speech"],
|
|
22961
|
+
reason: "attended-speech-missing-provenance"
|
|
22962
|
+
};
|
|
22963
|
+
}
|
|
22964
|
+
if (record3.speech && record3.speech.attended !== true) {
|
|
22965
|
+
return {
|
|
22966
|
+
outcome: "incomplete",
|
|
22967
|
+
qualified: false,
|
|
22968
|
+
missing: missingStages(record3),
|
|
22969
|
+
reason: "synthetic-speech-is-not-qualification"
|
|
22970
|
+
};
|
|
22971
|
+
}
|
|
22972
|
+
const missing = missingStages(record3);
|
|
22973
|
+
if (missing.length > 0) {
|
|
22974
|
+
return {
|
|
22975
|
+
outcome: "incomplete",
|
|
22976
|
+
qualified: false,
|
|
22977
|
+
missing,
|
|
22978
|
+
reason: `missing:${missing.join(",")}`
|
|
22979
|
+
};
|
|
22980
|
+
}
|
|
22981
|
+
if (record3.connected !== true || record3.conversationMatched !== true || (record3.path === "chat" ? record3.harnessMatched !== void 0 && record3.harnessMatched !== true : record3.harnessMatched !== true) || record3.speech?.attended !== true || record3.speech.bothDirections !== true || record3.cleanup?.ended !== true || record3.cleanup.microphoneReleased !== true) {
|
|
22982
|
+
return {
|
|
22983
|
+
outcome: "fail",
|
|
22984
|
+
qualified: false,
|
|
22985
|
+
missing: [],
|
|
22986
|
+
reason: "required-assertions-failed"
|
|
22987
|
+
};
|
|
22988
|
+
}
|
|
22989
|
+
return { outcome: "pass", qualified: true, missing: [], reason: "qualified" };
|
|
22990
|
+
}
|
|
22991
|
+
function evidenceMatchesRuntime(record3, config2) {
|
|
22992
|
+
if (record3.platform !== config2.desktopPlatform) return false;
|
|
22993
|
+
if (record3.desktopVersion !== config2.desktopVersion) return false;
|
|
22994
|
+
if (record3.implementationRevision !== config2.implementationRevision) return false;
|
|
22995
|
+
if (record3.policy === "legacy-retained") return true;
|
|
22996
|
+
if (typeof record3.desktopBuild !== "string" || record3.desktopBuild === "" || typeof record3.asarDigest !== "string" || record3.asarDigest === "" || typeof config2.desktopBuild !== "string" || config2.desktopBuild === "" || typeof config2.asarDigest !== "string" || config2.asarDigest === "" || typeof config2.implementationRevision !== "string" || config2.implementationRevision === "") {
|
|
22997
|
+
return false;
|
|
22998
|
+
}
|
|
22999
|
+
return record3.desktopBuild === config2.desktopBuild && record3.asarDigest === config2.asarDigest;
|
|
23000
|
+
}
|
|
23001
|
+
function isolatedQualificationMatches(path, config2) {
|
|
23002
|
+
const isolated = config2.isolatedQualification;
|
|
23003
|
+
if (!isIsolatedVoiceQualification(isolated)) return false;
|
|
23004
|
+
if (!isolatedQualificationPaths(isolated).includes(path)) return false;
|
|
23005
|
+
if (isProductionDesktopAppPath(isolated.appPath) || isProductionDesktopAppPath(config2.desktopAppPath))
|
|
23006
|
+
return false;
|
|
23007
|
+
if (isolated.desktopPlatform !== config2.desktopPlatform) return false;
|
|
23008
|
+
return isolated.desktopVersion === config2.desktopVersion && isolated.desktopBuild === config2.desktopBuild && isolated.asarDigest === config2.asarDigest && isolated.appPath === config2.desktopAppPath && isolated.implementationRevision === config2.implementationRevision && typeof config2.desktopBuild === "string" && config2.desktopBuild !== "" && typeof config2.asarDigest === "string" && config2.asarDigest !== "" && typeof config2.desktopAppPath === "string" && config2.desktopAppPath !== "" && typeof config2.implementationRevision === "string" && config2.implementationRevision !== "";
|
|
23009
|
+
}
|
|
23010
|
+
function unsupportedReason(path, config2) {
|
|
23011
|
+
if (path === "chat") {
|
|
23012
|
+
return nativeChatVoiceUnavailableReason(config2) ?? "Chat voice is not qualified on this Desktop.";
|
|
23013
|
+
}
|
|
23014
|
+
return workVoiceUnavailableReason(config2) ?? "Work voice is not qualified on this Desktop.";
|
|
23015
|
+
}
|
|
23016
|
+
function decidePath(path, config2, records) {
|
|
23017
|
+
if (!config2.desktopVersion || !config2.desktopPlatform) {
|
|
23018
|
+
return { enabled: false, policy: "unreviewed", reason: "waiting-for-identity" };
|
|
23019
|
+
}
|
|
23020
|
+
const pathRecords = records.filter((record3) => record3.path === path);
|
|
23021
|
+
if (pathRecords.length > 0) {
|
|
23022
|
+
const matching = pathRecords.filter((record4) => evidenceMatchesRuntime(record4, config2));
|
|
23023
|
+
if (matching.length === 0) {
|
|
23024
|
+
return { enabled: false, policy: "unreviewed", reason: "stale-or-wrong-platform-evidence" };
|
|
23025
|
+
}
|
|
23026
|
+
for (const record4 of matching) {
|
|
23027
|
+
const evaluation = evaluateVoiceEvidence(record4);
|
|
23028
|
+
if (!evaluation.qualified) {
|
|
23029
|
+
return { enabled: false, policy: "unreviewed", reason: evaluation.reason };
|
|
23030
|
+
}
|
|
23031
|
+
}
|
|
23032
|
+
const record3 = matching[0];
|
|
23033
|
+
if (!record3) {
|
|
23034
|
+
return { enabled: false, policy: "unreviewed", reason: "missing-evidence" };
|
|
23035
|
+
}
|
|
23036
|
+
if (hashedVoiceCandidateOwner(config2) && !hashedVoiceProfileSupported(config2)) {
|
|
23037
|
+
} else {
|
|
23038
|
+
return {
|
|
23039
|
+
enabled: true,
|
|
23040
|
+
policy: record3.policy === "legacy-retained" ? "legacy-retained" : "reviewed"
|
|
23041
|
+
};
|
|
23042
|
+
}
|
|
23043
|
+
}
|
|
23044
|
+
const digest = voiceProfileDigest(
|
|
23045
|
+
productForPath(path),
|
|
23046
|
+
config2.desktopPlatform,
|
|
23047
|
+
config2.desktopVersion
|
|
23048
|
+
);
|
|
23049
|
+
if (!digest) {
|
|
23050
|
+
return { enabled: false, policy: "unreviewed", reason: unsupportedReason(path, config2) };
|
|
23051
|
+
}
|
|
23052
|
+
const legacy = legacyRetainedVoiceLanes().find(
|
|
23053
|
+
(lane) => lane.path === path && lane.platform === config2.desktopPlatform && lane.version === config2.desktopVersion
|
|
23054
|
+
);
|
|
23055
|
+
if (legacy) {
|
|
23056
|
+
return {
|
|
23057
|
+
enabled: true,
|
|
23058
|
+
policy: "legacy-retained",
|
|
23059
|
+
reason: "legacy-retained-named-profile"
|
|
23060
|
+
};
|
|
23061
|
+
}
|
|
23062
|
+
if (isolatedQualificationMatches(path, config2)) {
|
|
23063
|
+
return {
|
|
23064
|
+
enabled: true,
|
|
23065
|
+
policy: "unreviewed",
|
|
23066
|
+
reason: "isolated-qualification"
|
|
23067
|
+
};
|
|
23068
|
+
}
|
|
23069
|
+
return { enabled: false, policy: "unreviewed", reason: "missing-evidence" };
|
|
23070
|
+
}
|
|
23071
|
+
function isVoiceEvidenceRecord(value) {
|
|
23072
|
+
if (!recordObject(value)) return false;
|
|
23073
|
+
return typeof value.profileKey === "string" && typeof value.platform === "string" && typeof value.desktopVersion === "string" && typeof value.implementationRevision === "string" && typeof value.profileDigest === "string" && (value.path === "chat" || value.path === "work-codex" || value.path === "work-grok") && recordObject(value.stages);
|
|
23074
|
+
}
|
|
23075
|
+
function voiceEvidenceRecordsFromConfig(config2) {
|
|
23076
|
+
return (config2.voiceEvidence ?? []).filter(isVoiceEvidenceRecord);
|
|
23077
|
+
}
|
|
23078
|
+
function startupVoiceGate(config2) {
|
|
23079
|
+
const records = [
|
|
23080
|
+
...voiceEvidenceRecordsFromConfig(config2),
|
|
23081
|
+
...config2.evidence && isVoiceEvidenceRecord(config2.evidence) ? [config2.evidence] : []
|
|
23082
|
+
];
|
|
23083
|
+
const chat = decidePath("chat", config2, records);
|
|
23084
|
+
const workCodex = decidePath("work-codex", config2, records);
|
|
23085
|
+
const workGrok = decidePath("work-grok", config2, records);
|
|
23086
|
+
return {
|
|
23087
|
+
chat,
|
|
23088
|
+
"work-codex": workCodex,
|
|
23089
|
+
"work-grok": workGrok,
|
|
23090
|
+
work: workCodex
|
|
23091
|
+
};
|
|
23092
|
+
}
|
|
23093
|
+
function chatVoiceQualified(config2) {
|
|
23094
|
+
return startupVoiceGate(config2).chat.enabled;
|
|
23095
|
+
}
|
|
23096
|
+
function workVoiceLaneEnabled(owner, path) {
|
|
23097
|
+
return workVoicePathDecision(owner, path).enabled;
|
|
23098
|
+
}
|
|
23099
|
+
function workVoicePathDecision(owner, path) {
|
|
23100
|
+
const config2 = readCpaLiveVoiceHookConfig(owner);
|
|
23101
|
+
if (!config2) {
|
|
23102
|
+
return {
|
|
23103
|
+
enabled: false,
|
|
23104
|
+
policy: "unreviewed",
|
|
23105
|
+
reason: workVoiceUnavailableReason({}) ?? "Work voice is not qualified on this Desktop."
|
|
23106
|
+
};
|
|
23107
|
+
}
|
|
23108
|
+
return startupVoiceGate(config2)[path];
|
|
23109
|
+
}
|
|
23110
|
+
function chatVoiceQualifiedOnOwner(owner) {
|
|
23111
|
+
const config2 = readCpaLiveVoiceHookConfig(owner);
|
|
23112
|
+
return config2 ? chatVoiceQualified(config2) : false;
|
|
23113
|
+
}
|
|
23114
|
+
|
|
23115
|
+
// src/settings/voice-status.ts
|
|
23116
|
+
function chatLabel(settings) {
|
|
23117
|
+
if (settings.chatExperience === "chatgpt") return "ChatGPT Chat";
|
|
23118
|
+
return settings.chatConnection === "gateway" ? "Codex Chat gateway" : "Codex Chat Desktop default";
|
|
23119
|
+
}
|
|
23120
|
+
function workLabel(settings) {
|
|
23121
|
+
return settings.workConnection === "gateway" ? "Work gateway" : "Work Desktop default";
|
|
23122
|
+
}
|
|
23123
|
+
function voiceSettingsEffectiveStatus(owner, settings) {
|
|
23124
|
+
const chatDesktopDefault = settings.chatExperience === "codex" && settings.chatConnection === "desktop";
|
|
23125
|
+
const workDesktopDefault = settings.workConnection === "desktop";
|
|
23126
|
+
const chatAvailable = chatDesktopDefault ? true : chatVoiceQualifiedOnOwner(owner);
|
|
23127
|
+
const workAvailable = workDesktopDefault ? true : workVoiceLaneEnabled(owner, "work-codex");
|
|
23128
|
+
return {
|
|
23129
|
+
chatAvailable,
|
|
23130
|
+
workAvailable,
|
|
23131
|
+
chatDesktopDefault,
|
|
23132
|
+
workDesktopDefault,
|
|
23133
|
+
chatLabel: chatLabel(settings),
|
|
23134
|
+
workLabel: workLabel(settings)
|
|
23135
|
+
};
|
|
23136
|
+
}
|
|
23137
|
+
function voiceSettingsEffectiveStatusKey(owner, settings) {
|
|
23138
|
+
return JSON.stringify(voiceSettingsEffectiveStatus(owner, settings));
|
|
23139
|
+
}
|
|
23140
|
+
function voiceSettingsRouteStatus(available, desktopDefault, copy) {
|
|
23141
|
+
if (desktopDefault) return copy.desktopSelected;
|
|
23142
|
+
return available ? copy.routeAllowed : copy.pathUnavailable;
|
|
23143
|
+
}
|
|
23144
|
+
function voiceSettingsAvailabilityFooter(settings, effective) {
|
|
23145
|
+
if (settings.chatExperience === "chatgpt" && !effective.chatAvailable)
|
|
23146
|
+
return "Chat voice is not available on this Desktop.";
|
|
23147
|
+
if (settings.chatExperience === "codex" && settings.chatConnection === "gateway" && !effective.chatAvailable)
|
|
23148
|
+
return "Chat voice is not available on this Desktop.";
|
|
23149
|
+
if (settings.workConnection === "gateway" && !effective.workAvailable)
|
|
23150
|
+
return "Work voice is not available on this Desktop.";
|
|
23151
|
+
}
|
|
23152
|
+
|
|
21880
23153
|
// src/settings/voice-page.ts
|
|
21881
23154
|
function createVoiceSettingsPage(locale, request, options = {}) {
|
|
21882
23155
|
const m = voiceMessages(locale);
|
|
@@ -21898,6 +23171,7 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
21898
23171
|
let advanced = false;
|
|
21899
23172
|
let setup = false;
|
|
21900
23173
|
let error51 = null;
|
|
23174
|
+
let availabilityKey = "";
|
|
21901
23175
|
const ids = /* @__PURE__ */ new Map();
|
|
21902
23176
|
const controlId = (key) => {
|
|
21903
23177
|
const existing = ids.get(key);
|
|
@@ -21916,8 +23190,11 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
21916
23190
|
try {
|
|
21917
23191
|
const next = voiceSettingsStateSchema.parse(await request({ operation: "get" }));
|
|
21918
23192
|
if (disposed || generation !== currentGeneration) return;
|
|
21919
|
-
const
|
|
21920
|
-
|
|
23193
|
+
const keepDraft = !reset && dirty();
|
|
23194
|
+
const displayedSettings = keepDraft && draft ? draft : next.settings;
|
|
23195
|
+
const nextAvailabilityKey = options.desktop && doc.defaultView ? voiceSettingsEffectiveStatusKey(doc.defaultView, displayedSettings) : "";
|
|
23196
|
+
const changed = JSON.stringify(state) !== JSON.stringify(next) || offline || reset || nextAvailabilityKey !== availabilityKey;
|
|
23197
|
+
if (!keepDraft) {
|
|
21921
23198
|
base = next;
|
|
21922
23199
|
draft = { ...next.settings };
|
|
21923
23200
|
}
|
|
@@ -21928,8 +23205,14 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
21928
23205
|
confirm = false;
|
|
21929
23206
|
}
|
|
21930
23207
|
if (changed) render();
|
|
21931
|
-
} catch {
|
|
23208
|
+
} catch (failure) {
|
|
21932
23209
|
if (!disposed && generation === currentGeneration) {
|
|
23210
|
+
const hostUnavailable = failure instanceof Error && failure.message === "Local Host connection is unavailable";
|
|
23211
|
+
const invalid = failure instanceof Error && failure.name === "ZodError";
|
|
23212
|
+
chatVoiceDebug("voice-settings-load", {
|
|
23213
|
+
stage: hostUnavailable ? "rpc" : invalid ? "response" : "rpc",
|
|
23214
|
+
cause: hostUnavailable ? "host-unavailable" : invalid ? "invalid" : "failed"
|
|
23215
|
+
});
|
|
21933
23216
|
offline = true;
|
|
21934
23217
|
render();
|
|
21935
23218
|
}
|
|
@@ -22053,19 +23336,46 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
22053
23336
|
);
|
|
22054
23337
|
gateway.item.append(gatewayActions);
|
|
22055
23338
|
config2.card.append(gateway.item);
|
|
22056
|
-
const
|
|
23339
|
+
const view = doc.defaultView;
|
|
23340
|
+
const hook = options.desktop ? desktopVoiceHookStatus(view) : "unknown";
|
|
22057
23341
|
const hookLabel = hook === "active" ? m.hookSupported : hook === "pending" ? m.hookPending : hook === "unsupported" ? m.hookUnsupported : hook === "disabled" ? m.hookDisabled : m.unknown;
|
|
23342
|
+
const effective = options.desktop && view ? voiceSettingsEffectiveStatus(view, draft) : void 0;
|
|
23343
|
+
if (effective && view) availabilityKey = voiceSettingsEffectiveStatusKey(view, draft);
|
|
23344
|
+
const preferencesLabel = state.routesActive === true ? m.preferencesOn : state.routesActive === false ? m.preferencesOff : m.unknown;
|
|
22058
23345
|
const health = h(doc, "div", { className: "settings-voice__health" });
|
|
22059
|
-
health.append(
|
|
22060
|
-
|
|
22061
|
-
|
|
22062
|
-
|
|
22063
|
-
|
|
22064
|
-
|
|
22065
|
-
|
|
22066
|
-
|
|
22067
|
-
|
|
22068
|
-
|
|
23346
|
+
health.append(h(doc, "p", {}, `${m.gatewayStatus}: ${gatewayReadyLabel}`));
|
|
23347
|
+
health.append(h(doc, "p", {}, `${m.preferencesStatus}: ${preferencesLabel}`));
|
|
23348
|
+
if (effective) {
|
|
23349
|
+
const copy = {
|
|
23350
|
+
desktopSelected: m.desktopSelected,
|
|
23351
|
+
routeAllowed: m.routeAllowed,
|
|
23352
|
+
pathUnavailable: m.pathUnavailable
|
|
23353
|
+
};
|
|
23354
|
+
health.append(
|
|
23355
|
+
h(
|
|
23356
|
+
doc,
|
|
23357
|
+
"p",
|
|
23358
|
+
{},
|
|
23359
|
+
`${effective.chatLabel}: ${voiceSettingsRouteStatus(
|
|
23360
|
+
effective.chatAvailable,
|
|
23361
|
+
effective.chatDesktopDefault,
|
|
23362
|
+
copy
|
|
23363
|
+
)}`
|
|
23364
|
+
),
|
|
23365
|
+
h(
|
|
23366
|
+
doc,
|
|
23367
|
+
"p",
|
|
23368
|
+
{},
|
|
23369
|
+
`${effective.workLabel}: ${voiceSettingsRouteStatus(
|
|
23370
|
+
effective.workAvailable,
|
|
23371
|
+
effective.workDesktopDefault,
|
|
23372
|
+
copy
|
|
23373
|
+
)}`
|
|
23374
|
+
)
|
|
23375
|
+
);
|
|
23376
|
+
} else {
|
|
23377
|
+
health.append(h(doc, "p", {}, `${m.hookStatus}: ${hookLabel}`));
|
|
23378
|
+
}
|
|
22069
23379
|
config2.card.append(health);
|
|
22070
23380
|
if (setup) {
|
|
22071
23381
|
const details = h(
|
|
@@ -22126,7 +23436,8 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
22126
23436
|
root.append(chat.group, work.group, config2.group);
|
|
22127
23437
|
const restarting = state.restart.phase === "restarting";
|
|
22128
23438
|
const failed = state.restart.phase === "failed";
|
|
22129
|
-
const
|
|
23439
|
+
const availabilityFooter = effective ? voiceSettingsAvailabilityFooter(draft, effective) : void 0;
|
|
23440
|
+
const status = busy ? m.saving : restarting ? m.restarting : isActiveCall() ? m.activeCall : offline ? m.unavailable : dirty() ? m.edited : needsRestart() ? m.restartNeeded : availabilityFooter ? availabilityFooter : state.routesActive === false ? m.pending : state.routesActive === true ? m.ready : state.activeInject === null || state.routesActive === null ? m.activeUnknown : m.ready;
|
|
22130
23441
|
const footer = h(
|
|
22131
23442
|
doc,
|
|
22132
23443
|
"div",
|
|
@@ -22905,22 +24216,22 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
22905
24216
|
document2,
|
|
22906
24217
|
"div",
|
|
22907
24218
|
{ className: "console-usage-segmented", role: "group", "aria-label": label },
|
|
22908
|
-
...options.map((
|
|
24219
|
+
...options.map((option2) => {
|
|
22909
24220
|
const item = h(
|
|
22910
24221
|
document2,
|
|
22911
24222
|
"button",
|
|
22912
24223
|
{
|
|
22913
24224
|
type: "button",
|
|
22914
24225
|
className: "console-usage-segment",
|
|
22915
|
-
"aria-pressed":
|
|
22916
|
-
title:
|
|
24226
|
+
"aria-pressed": option2.value === value ? "true" : "false",
|
|
24227
|
+
title: option2.title
|
|
22917
24228
|
},
|
|
22918
|
-
|
|
24229
|
+
option2.label
|
|
22919
24230
|
);
|
|
22920
24231
|
item.addEventListener("click", () => {
|
|
22921
|
-
if (
|
|
24232
|
+
if (option2.value !== value) onChange(option2.value);
|
|
22922
24233
|
});
|
|
22923
|
-
return focusKey(item, `${key}:${
|
|
24234
|
+
return focusKey(item, `${key}:${option2.value}`);
|
|
22924
24235
|
})
|
|
22925
24236
|
);
|
|
22926
24237
|
}
|
|
@@ -23014,7 +24325,7 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
23014
24325
|
update(options, value) {
|
|
23015
24326
|
this.#options = options;
|
|
23016
24327
|
this.#value = value;
|
|
23017
|
-
const current = options.find((
|
|
24328
|
+
const current = options.find((option2) => option2.key === value);
|
|
23018
24329
|
const shown = current ?? options[0];
|
|
23019
24330
|
this.#button.textContent = shown ? this.#display?.(shown) ?? shown.label : "";
|
|
23020
24331
|
this.#button.title = current?.detail ?? "";
|
|
@@ -23027,7 +24338,7 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
23027
24338
|
this.#search.value = "";
|
|
23028
24339
|
this.#active = Math.max(
|
|
23029
24340
|
0,
|
|
23030
|
-
this.#options.findIndex((
|
|
24341
|
+
this.#options.findIndex((option2) => option2.key === this.#value)
|
|
23031
24342
|
);
|
|
23032
24343
|
this.#renderList();
|
|
23033
24344
|
this.#keys.focus();
|
|
@@ -23038,10 +24349,10 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
23038
24349
|
this.#button.setAttribute("aria-expanded", "false");
|
|
23039
24350
|
if (restoreFocus) this.#button.focus();
|
|
23040
24351
|
}
|
|
23041
|
-
#choose(
|
|
23042
|
-
if (!
|
|
24352
|
+
#choose(option2) {
|
|
24353
|
+
if (!option2) return;
|
|
23043
24354
|
this.close();
|
|
23044
|
-
if (
|
|
24355
|
+
if (option2.key !== this.#value) this.#onChange(option2.key);
|
|
23045
24356
|
}
|
|
23046
24357
|
#key(event) {
|
|
23047
24358
|
if (event.key === "Escape") {
|
|
@@ -23060,7 +24371,7 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
23060
24371
|
#renderList() {
|
|
23061
24372
|
const query = this.#search.value.trim().toLocaleLowerCase();
|
|
23062
24373
|
this.#visible = this.#options.filter(
|
|
23063
|
-
(
|
|
24374
|
+
(option2) => !query || option2.label.toLocaleLowerCase().includes(query) || option2.detail?.toLocaleLowerCase().includes(query)
|
|
23064
24375
|
);
|
|
23065
24376
|
this.#active = Math.min(this.#active, Math.max(0, this.#visible.length - 1));
|
|
23066
24377
|
if (this.#visible.length === 0) {
|
|
@@ -23072,7 +24383,7 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
23072
24383
|
}
|
|
23073
24384
|
const id = this.#list.id;
|
|
23074
24385
|
this.#list.replaceChildren(
|
|
23075
|
-
...this.#visible.map((
|
|
24386
|
+
...this.#visible.map((option2, index) => {
|
|
23076
24387
|
const item = h(
|
|
23077
24388
|
this.#document,
|
|
23078
24389
|
"li",
|
|
@@ -23080,13 +24391,13 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
23080
24391
|
id: `${id}-${index}`,
|
|
23081
24392
|
role: "option",
|
|
23082
24393
|
className: index === this.#active ? "is-active" : void 0,
|
|
23083
|
-
"aria-selected":
|
|
24394
|
+
"aria-selected": option2.key === this.#value ? "true" : "false"
|
|
23084
24395
|
},
|
|
23085
|
-
h(this.#document, "span", {},
|
|
23086
|
-
|
|
24396
|
+
h(this.#document, "span", {}, option2.label),
|
|
24397
|
+
option2.detail ? h(this.#document, "small", { className: "console-muted" }, option2.detail) : null
|
|
23087
24398
|
);
|
|
23088
24399
|
item.addEventListener("pointerdown", (event) => event.preventDefault());
|
|
23089
|
-
item.addEventListener("click", () => this.#choose(
|
|
24400
|
+
item.addEventListener("click", () => this.#choose(option2));
|
|
23090
24401
|
return item;
|
|
23091
24402
|
})
|
|
23092
24403
|
);
|
|
@@ -23729,7 +25040,7 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
23729
25040
|
emptyLabel: messages.noMatches,
|
|
23730
25041
|
signal: context.signal,
|
|
23731
25042
|
searchable: false,
|
|
23732
|
-
display: (
|
|
25043
|
+
display: (option2) => `${messages.host} \xB7 ${option2.label}`,
|
|
23733
25044
|
onChange: (key) => {
|
|
23734
25045
|
if (key === view.hostId) return;
|
|
23735
25046
|
view.hostId = key;
|
|
@@ -23785,7 +25096,7 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
23785
25096
|
emptyLabel: messages.noMatches,
|
|
23786
25097
|
signal: context.signal,
|
|
23787
25098
|
searchable: false,
|
|
23788
|
-
display: (
|
|
25099
|
+
display: (option2) => `${messages.autoRefresh} \xB7 ${option2.label}`,
|
|
23789
25100
|
onChange: (key) => {
|
|
23790
25101
|
view.autoRefreshMs = Number(key) || 0;
|
|
23791
25102
|
save();
|
|
@@ -27954,10 +29265,10 @@ ${messages.harnessVersionLatest}: ${harnessVersionLabel(version2.state, messages
|
|
|
27954
29265
|
pageSize.dataset.sessionImportAction = "page-size";
|
|
27955
29266
|
pageSize.setAttribute("aria-label", messages.sessionImportPageSize);
|
|
27956
29267
|
for (const size of [20, 50, 100]) {
|
|
27957
|
-
const
|
|
27958
|
-
|
|
27959
|
-
|
|
27960
|
-
pageSize.append(
|
|
29268
|
+
const option2 = document2.createElement("option");
|
|
29269
|
+
option2.value = String(size);
|
|
29270
|
+
option2.textContent = String(size);
|
|
29271
|
+
pageSize.append(option2);
|
|
27961
29272
|
}
|
|
27962
29273
|
pageSize.value = String(limit);
|
|
27963
29274
|
pageSizeLabel.append(pageSize);
|
|
@@ -28165,22 +29476,22 @@ ${messages.harnessVersionLatest}: ${harnessVersionLabel(version2.state, messages
|
|
|
28165
29476
|
harnessOptions.replaceChildren();
|
|
28166
29477
|
sourceButtons.length = 0;
|
|
28167
29478
|
for (const source of sources) {
|
|
28168
|
-
const
|
|
28169
|
-
|
|
28170
|
-
|
|
28171
|
-
|
|
28172
|
-
|
|
28173
|
-
|
|
28174
|
-
|
|
28175
|
-
if (
|
|
29479
|
+
const option2 = document2.createElement("button");
|
|
29480
|
+
option2.type = "button";
|
|
29481
|
+
option2.className = "settings-session-import-harness__option";
|
|
29482
|
+
option2.dataset.sessionImportHarnessOption = source.harnessId;
|
|
29483
|
+
option2.textContent = source.name;
|
|
29484
|
+
option2.setAttribute("aria-pressed", String(source.harnessId === selectedHarness));
|
|
29485
|
+
option2.addEventListener("click", () => {
|
|
29486
|
+
if (option2.disabled || importingId !== null || source.harnessId === selectedHarness)
|
|
28176
29487
|
return;
|
|
28177
29488
|
selectedHarness = source.harnessId;
|
|
28178
29489
|
listControls.reset();
|
|
28179
29490
|
renderHarnessOptions();
|
|
28180
29491
|
load();
|
|
28181
29492
|
});
|
|
28182
|
-
sourceButtons.push(
|
|
28183
|
-
harnessOptions.append(
|
|
29493
|
+
sourceButtons.push(option2);
|
|
29494
|
+
harnessOptions.append(option2);
|
|
28184
29495
|
}
|
|
28185
29496
|
harnessOptions.scrollLeft = scrolled;
|
|
28186
29497
|
harnessOptions.querySelector('[aria-pressed="true"]')?.scrollIntoView?.({ block: "nearest", inline: "nearest" });
|
|
@@ -29278,8 +30589,8 @@ ${messages.harnessVersionLatest}: ${harnessVersionLabel(version2.state, messages
|
|
|
29278
30589
|
legend.textContent = messages.source;
|
|
29279
30590
|
group.append(legend);
|
|
29280
30591
|
for (const choice of choices) {
|
|
29281
|
-
const
|
|
29282
|
-
|
|
30592
|
+
const option2 = document2.createElement("label");
|
|
30593
|
+
option2.className = "settings-credential-dialog__source";
|
|
29283
30594
|
const radio = document2.createElement("input");
|
|
29284
30595
|
radio.type = "radio";
|
|
29285
30596
|
radio.name = "settings-credential-source";
|
|
@@ -29306,8 +30617,8 @@ ${messages.harnessVersionLatest}: ${harnessVersionLabel(version2.state, messages
|
|
|
29306
30617
|
}
|
|
29307
30618
|
refreshPreview();
|
|
29308
30619
|
});
|
|
29309
|
-
|
|
29310
|
-
group.append(
|
|
30620
|
+
option2.append(radio, copy);
|
|
30621
|
+
group.append(option2);
|
|
29311
30622
|
}
|
|
29312
30623
|
return group;
|
|
29313
30624
|
};
|
|
@@ -30762,6 +32073,326 @@ ${messages.harnessVersionLatest}: ${harnessVersionLabel(version2.state, messages
|
|
|
30762
32073
|
});
|
|
30763
32074
|
}
|
|
30764
32075
|
|
|
32076
|
+
// src/renderer-external-clients-client.ts
|
|
32077
|
+
var RendererExternalClientsUnavailableError = class extends Error {
|
|
32078
|
+
constructor() {
|
|
32079
|
+
super("MCP clients are unavailable");
|
|
32080
|
+
this.name = "RendererExternalClientsUnavailableError";
|
|
32081
|
+
}
|
|
32082
|
+
};
|
|
32083
|
+
|
|
32084
|
+
// src/settings/mcp-clients-page.ts
|
|
32085
|
+
function errorMessage4(error51, fallback) {
|
|
32086
|
+
if (error51 instanceof RendererExternalClientsUnavailableError) return fallback;
|
|
32087
|
+
return error51 instanceof Error && error51.message ? error51.message : fallback;
|
|
32088
|
+
}
|
|
32089
|
+
function accessLabel(view, copy) {
|
|
32090
|
+
if (view.access === "selected-workspaces") {
|
|
32091
|
+
return `${copy.accessSelected}: ${view.workspaces.join(", ") || "\u2014"}`;
|
|
32092
|
+
}
|
|
32093
|
+
return copy.accessAll;
|
|
32094
|
+
}
|
|
32095
|
+
function connectionLabel(mode, copy) {
|
|
32096
|
+
if (mode === "local") return copy.connectionLocal;
|
|
32097
|
+
if (mode === "direct") return copy.connectionDirect;
|
|
32098
|
+
return copy.connectionPublic;
|
|
32099
|
+
}
|
|
32100
|
+
function grantLabel(grant, copy) {
|
|
32101
|
+
return grant === "full-dispatch" ? copy.grantFull : copy.grantLegacy;
|
|
32102
|
+
}
|
|
32103
|
+
function option(document2, label, value) {
|
|
32104
|
+
const node = document2.createElement("option");
|
|
32105
|
+
node.value = value;
|
|
32106
|
+
node.textContent = label;
|
|
32107
|
+
return node;
|
|
32108
|
+
}
|
|
32109
|
+
function createMcpClientsSettingsPage(messages, getClient) {
|
|
32110
|
+
return Object.freeze({
|
|
32111
|
+
id: "mcp-clients",
|
|
32112
|
+
label: messages.pageLabels["mcp-clients"],
|
|
32113
|
+
icon: "mcp-clients",
|
|
32114
|
+
mount(context) {
|
|
32115
|
+
const document2 = context.content.ownerDocument;
|
|
32116
|
+
const copy = messages.mcpClients;
|
|
32117
|
+
const header = document2.createElement("div");
|
|
32118
|
+
header.className = "settings-enrollment-header";
|
|
32119
|
+
const copyBlock = document2.createElement("div");
|
|
32120
|
+
copyBlock.className = "settings-enrollment-copy";
|
|
32121
|
+
const title = document2.createElement("div");
|
|
32122
|
+
title.className = "settings-enrollment-title";
|
|
32123
|
+
const heading = document2.createElement("h1");
|
|
32124
|
+
heading.className = "settings-section-label";
|
|
32125
|
+
heading.textContent = messages.pageLabels["mcp-clients"];
|
|
32126
|
+
title.append(heading, createHelpTooltip(document2, copy.helpLabel, copy.help));
|
|
32127
|
+
const description = document2.createElement("p");
|
|
32128
|
+
description.className = "settings-page-description";
|
|
32129
|
+
description.textContent = copy.description;
|
|
32130
|
+
copyBlock.append(title, description);
|
|
32131
|
+
const refresh = document2.createElement("button");
|
|
32132
|
+
refresh.type = "button";
|
|
32133
|
+
refresh.className = "settings-icon-button";
|
|
32134
|
+
refresh.title = copy.refresh;
|
|
32135
|
+
refresh.setAttribute("aria-label", copy.refresh);
|
|
32136
|
+
refresh.append(createRendererSettingsIcon("refresh", 16));
|
|
32137
|
+
header.append(copyBlock, refresh);
|
|
32138
|
+
const status = document2.createElement("p");
|
|
32139
|
+
status.className = "settings-enrollment-status";
|
|
32140
|
+
status.setAttribute("aria-live", "polite");
|
|
32141
|
+
const setStatus = (message2, kind) => {
|
|
32142
|
+
status.className = kind === "error" ? "settings-enrollment-status is-error" : "settings-enrollment-status";
|
|
32143
|
+
status.textContent = message2;
|
|
32144
|
+
};
|
|
32145
|
+
const form = document2.createElement("form");
|
|
32146
|
+
form.className = "settings-enrollment-copy";
|
|
32147
|
+
const nameInput = document2.createElement("input");
|
|
32148
|
+
nameInput.type = "text";
|
|
32149
|
+
nameInput.required = true;
|
|
32150
|
+
nameInput.placeholder = copy.name;
|
|
32151
|
+
nameInput.setAttribute("aria-label", copy.name);
|
|
32152
|
+
const accessSelect = document2.createElement("select");
|
|
32153
|
+
accessSelect.setAttribute("aria-label", copy.access);
|
|
32154
|
+
accessSelect.append(
|
|
32155
|
+
option(document2, copy.accessAll, "all-threads"),
|
|
32156
|
+
option(document2, copy.accessSelected, "selected-workspaces")
|
|
32157
|
+
);
|
|
32158
|
+
const workspaces = document2.createElement("textarea");
|
|
32159
|
+
workspaces.rows = 3;
|
|
32160
|
+
workspaces.placeholder = copy.workspacesHint;
|
|
32161
|
+
workspaces.setAttribute("aria-label", copy.workspaces);
|
|
32162
|
+
const connectionSelect = document2.createElement("select");
|
|
32163
|
+
connectionSelect.setAttribute("aria-label", copy.connection);
|
|
32164
|
+
connectionSelect.append(
|
|
32165
|
+
option(document2, copy.connectionPublic, "public-relay"),
|
|
32166
|
+
option(document2, copy.connectionLocal, "local"),
|
|
32167
|
+
option(document2, copy.connectionDirect, "direct")
|
|
32168
|
+
);
|
|
32169
|
+
const grantSelect = document2.createElement("select");
|
|
32170
|
+
grantSelect.setAttribute("aria-label", copy.grant);
|
|
32171
|
+
grantSelect.append(
|
|
32172
|
+
option(document2, copy.grantFull, "full-dispatch"),
|
|
32173
|
+
option(document2, copy.grantLegacy, "legacy-four")
|
|
32174
|
+
);
|
|
32175
|
+
const directUrlInput = document2.createElement("input");
|
|
32176
|
+
directUrlInput.type = "url";
|
|
32177
|
+
directUrlInput.placeholder = copy.directUrlHint;
|
|
32178
|
+
directUrlInput.setAttribute("aria-label", copy.directUrl);
|
|
32179
|
+
const oauthInput = document2.createElement("input");
|
|
32180
|
+
oauthInput.type = "text";
|
|
32181
|
+
oauthInput.placeholder = copy.oauthClientId;
|
|
32182
|
+
oauthInput.setAttribute("aria-label", copy.oauthClientId);
|
|
32183
|
+
const add = document2.createElement("button");
|
|
32184
|
+
add.type = "submit";
|
|
32185
|
+
add.className = "settings-command-button";
|
|
32186
|
+
add.textContent = copy.add;
|
|
32187
|
+
form.append(
|
|
32188
|
+
nameInput,
|
|
32189
|
+
accessSelect,
|
|
32190
|
+
workspaces,
|
|
32191
|
+
connectionSelect,
|
|
32192
|
+
grantSelect,
|
|
32193
|
+
directUrlInput,
|
|
32194
|
+
oauthInput,
|
|
32195
|
+
add
|
|
32196
|
+
);
|
|
32197
|
+
const tableWrap = document2.createElement("div");
|
|
32198
|
+
tableWrap.className = "settings-enrollment-table-wrap";
|
|
32199
|
+
const table = document2.createElement("table");
|
|
32200
|
+
table.className = "settings-enrollment-table";
|
|
32201
|
+
table.setAttribute("aria-label", messages.pageLabels["mcp-clients"]);
|
|
32202
|
+
const thead = document2.createElement("thead");
|
|
32203
|
+
const headerRow = document2.createElement("tr");
|
|
32204
|
+
for (const label of copy.columns) {
|
|
32205
|
+
const cell = document2.createElement("th");
|
|
32206
|
+
cell.textContent = label;
|
|
32207
|
+
headerRow.append(cell);
|
|
32208
|
+
}
|
|
32209
|
+
thead.append(headerRow);
|
|
32210
|
+
const tbody = document2.createElement("tbody");
|
|
32211
|
+
table.append(thead, tbody);
|
|
32212
|
+
tableWrap.append(table);
|
|
32213
|
+
context.content.append(header, status, form, tableWrap);
|
|
32214
|
+
const client = getClient();
|
|
32215
|
+
const renderEmpty = (message2) => {
|
|
32216
|
+
tbody.replaceChildren();
|
|
32217
|
+
const row = document2.createElement("tr");
|
|
32218
|
+
const cell = document2.createElement("td");
|
|
32219
|
+
cell.setAttribute("colspan", String(copy.columns.length));
|
|
32220
|
+
cell.className = "settings-enrollment-empty";
|
|
32221
|
+
cell.textContent = message2;
|
|
32222
|
+
row.append(cell);
|
|
32223
|
+
tbody.append(row);
|
|
32224
|
+
};
|
|
32225
|
+
const copyUrl = async (url2) => {
|
|
32226
|
+
if (!url2) return;
|
|
32227
|
+
try {
|
|
32228
|
+
await navigator.clipboard.writeText(url2);
|
|
32229
|
+
setStatus(copy.copied, "idle");
|
|
32230
|
+
} catch {
|
|
32231
|
+
setStatus(copy.failed, "error");
|
|
32232
|
+
}
|
|
32233
|
+
};
|
|
32234
|
+
const renderRows = (clients) => {
|
|
32235
|
+
tbody.replaceChildren();
|
|
32236
|
+
if (clients.length === 0) {
|
|
32237
|
+
renderEmpty(copy.empty);
|
|
32238
|
+
return;
|
|
32239
|
+
}
|
|
32240
|
+
for (const view of clients) {
|
|
32241
|
+
const row = document2.createElement("tr");
|
|
32242
|
+
row.className = "settings-enrollment-row";
|
|
32243
|
+
const nameCell = document2.createElement("td");
|
|
32244
|
+
const strong = document2.createElement("strong");
|
|
32245
|
+
strong.textContent = view.name;
|
|
32246
|
+
nameCell.append(strong);
|
|
32247
|
+
const accessCell = document2.createElement("td");
|
|
32248
|
+
accessCell.textContent = accessLabel(view, copy);
|
|
32249
|
+
const connectionCell = document2.createElement("td");
|
|
32250
|
+
connectionCell.textContent = connectionLabel(view.connectionMode, copy);
|
|
32251
|
+
const grantCell = document2.createElement("td");
|
|
32252
|
+
grantCell.textContent = grantLabel(view.dispatchGrant, copy);
|
|
32253
|
+
const urlCell = document2.createElement("td");
|
|
32254
|
+
urlCell.textContent = view.mcpUrl ?? view.mcpUrlNote ?? "\u2014";
|
|
32255
|
+
const actions = document2.createElement("td");
|
|
32256
|
+
actions.className = "settings-enrollment-actions";
|
|
32257
|
+
if (view.mcpUrl) {
|
|
32258
|
+
const copyButton = document2.createElement("button");
|
|
32259
|
+
copyButton.type = "button";
|
|
32260
|
+
copyButton.className = "settings-command-button settings-command-button--secondary";
|
|
32261
|
+
copyButton.textContent = copy.copyUrl;
|
|
32262
|
+
copyButton.addEventListener("click", () => void copyUrl(view.mcpUrl));
|
|
32263
|
+
actions.append(copyButton);
|
|
32264
|
+
}
|
|
32265
|
+
const full = document2.createElement("button");
|
|
32266
|
+
full.type = "button";
|
|
32267
|
+
full.className = "settings-command-button settings-command-button--secondary";
|
|
32268
|
+
full.textContent = copy.grantFull;
|
|
32269
|
+
full.disabled = view.dispatchGrant === "full-dispatch" || !client;
|
|
32270
|
+
full.addEventListener("click", () => {
|
|
32271
|
+
if (!client) return;
|
|
32272
|
+
full.disabled = true;
|
|
32273
|
+
void context.runLatest(
|
|
32274
|
+
() => client.updateClient({ name: view.name, dispatchGrant: "full-dispatch" }).then(() => client.listClients()),
|
|
32275
|
+
{
|
|
32276
|
+
success(result) {
|
|
32277
|
+
setStatus("", "idle");
|
|
32278
|
+
renderRows(result.clients);
|
|
32279
|
+
},
|
|
32280
|
+
failure(error51) {
|
|
32281
|
+
full.disabled = false;
|
|
32282
|
+
setStatus(errorMessage4(error51, copy.failed), "error");
|
|
32283
|
+
}
|
|
32284
|
+
}
|
|
32285
|
+
);
|
|
32286
|
+
});
|
|
32287
|
+
const revoke = document2.createElement("button");
|
|
32288
|
+
revoke.type = "button";
|
|
32289
|
+
revoke.className = "settings-command-button settings-command-button--secondary";
|
|
32290
|
+
revoke.setAttribute("aria-label", `${copy.revoke} ${view.name}`);
|
|
32291
|
+
const revokeLabel = document2.createElement("span");
|
|
32292
|
+
revokeLabel.textContent = copy.revoke;
|
|
32293
|
+
revoke.append(createRendererSettingsIcon("trash", 14), revokeLabel);
|
|
32294
|
+
revoke.addEventListener("click", () => {
|
|
32295
|
+
if (!client || revoke.disabled) return;
|
|
32296
|
+
if (revoke.dataset.armed !== "true") {
|
|
32297
|
+
revoke.dataset.armed = "true";
|
|
32298
|
+
revokeLabel.textContent = copy.confirmRevoke;
|
|
32299
|
+
return;
|
|
32300
|
+
}
|
|
32301
|
+
revoke.disabled = true;
|
|
32302
|
+
revokeLabel.textContent = copy.revoking;
|
|
32303
|
+
void context.runLatest(
|
|
32304
|
+
() => client.revokeClient(view.name).then(() => client.listClients()),
|
|
32305
|
+
{
|
|
32306
|
+
success(result) {
|
|
32307
|
+
setStatus("", "idle");
|
|
32308
|
+
renderRows(result.clients);
|
|
32309
|
+
},
|
|
32310
|
+
failure(error51) {
|
|
32311
|
+
revoke.disabled = false;
|
|
32312
|
+
revoke.dataset.armed = "true";
|
|
32313
|
+
revokeLabel.textContent = copy.confirmRevoke;
|
|
32314
|
+
setStatus(errorMessage4(error51, copy.failed), "error");
|
|
32315
|
+
}
|
|
32316
|
+
}
|
|
32317
|
+
);
|
|
32318
|
+
});
|
|
32319
|
+
actions.append(full, revoke);
|
|
32320
|
+
row.append(nameCell, accessCell, connectionCell, grantCell, urlCell, actions);
|
|
32321
|
+
tbody.append(row);
|
|
32322
|
+
}
|
|
32323
|
+
};
|
|
32324
|
+
const load = () => {
|
|
32325
|
+
if (!client) {
|
|
32326
|
+
renderEmpty(copy.unavailable);
|
|
32327
|
+
return;
|
|
32328
|
+
}
|
|
32329
|
+
setStatus(copy.loading, "idle");
|
|
32330
|
+
void context.runLatest(() => client.listClients(), {
|
|
32331
|
+
success(result) {
|
|
32332
|
+
setStatus("", "idle");
|
|
32333
|
+
renderRows(result.clients);
|
|
32334
|
+
},
|
|
32335
|
+
failure(error51) {
|
|
32336
|
+
setStatus("", "idle");
|
|
32337
|
+
renderEmpty(
|
|
32338
|
+
error51 instanceof RendererExternalClientsUnavailableError ? copy.unavailable : errorMessage4(error51, copy.failed)
|
|
32339
|
+
);
|
|
32340
|
+
}
|
|
32341
|
+
});
|
|
32342
|
+
};
|
|
32343
|
+
form.addEventListener("submit", (event) => {
|
|
32344
|
+
event.preventDefault();
|
|
32345
|
+
if (!client || add.disabled) return;
|
|
32346
|
+
const name = nameInput.value.trim();
|
|
32347
|
+
const access = accessSelect.value;
|
|
32348
|
+
const connectionMode = connectionSelect.value;
|
|
32349
|
+
const dispatchGrant = grantSelect.value;
|
|
32350
|
+
const roots = workspaces.value.split("\n").map((line) => line.trim()).filter(Boolean);
|
|
32351
|
+
const directUrl = directUrlInput.value.trim();
|
|
32352
|
+
const oauthClientId = oauthInput.value.trim();
|
|
32353
|
+
add.disabled = true;
|
|
32354
|
+
add.textContent = copy.adding;
|
|
32355
|
+
void context.runLatest(
|
|
32356
|
+
() => client.createClient({
|
|
32357
|
+
name,
|
|
32358
|
+
access,
|
|
32359
|
+
connectionMode,
|
|
32360
|
+
dispatchGrant,
|
|
32361
|
+
...access === "selected-workspaces" ? { workspaces: roots } : {},
|
|
32362
|
+
...directUrl ? { directUrl } : {},
|
|
32363
|
+
...oauthClientId ? { oauthClientId } : {}
|
|
32364
|
+
}).then(async (created) => {
|
|
32365
|
+
const listed = await client.listClients();
|
|
32366
|
+
return { created, listed };
|
|
32367
|
+
}),
|
|
32368
|
+
{
|
|
32369
|
+
success({ created, listed }) {
|
|
32370
|
+
add.disabled = false;
|
|
32371
|
+
add.textContent = copy.add;
|
|
32372
|
+
nameInput.value = "";
|
|
32373
|
+
directUrlInput.value = "";
|
|
32374
|
+
oauthInput.value = "";
|
|
32375
|
+
renderRows(listed.clients);
|
|
32376
|
+
setStatus(
|
|
32377
|
+
created.token ? `${copy.tokenOnce} ${created.token}` : copy.connectOAuth,
|
|
32378
|
+
"idle"
|
|
32379
|
+
);
|
|
32380
|
+
},
|
|
32381
|
+
failure(error51) {
|
|
32382
|
+
add.disabled = false;
|
|
32383
|
+
add.textContent = copy.add;
|
|
32384
|
+
setStatus(errorMessage4(error51, copy.failed), "error");
|
|
32385
|
+
}
|
|
32386
|
+
}
|
|
32387
|
+
);
|
|
32388
|
+
});
|
|
32389
|
+
refresh.addEventListener("click", load);
|
|
32390
|
+
load();
|
|
32391
|
+
return void 0;
|
|
32392
|
+
}
|
|
32393
|
+
});
|
|
32394
|
+
}
|
|
32395
|
+
|
|
30765
32396
|
// src/settings/update-request.ts
|
|
30766
32397
|
var RENDERER_UPDATE_REQUEST_TIMEOUT_MS = 15e3;
|
|
30767
32398
|
var RendererUpdateRequestTimeoutError = class extends Error {
|
|
@@ -31370,7 +33001,7 @@ ${messages.harnessVersionLatest}: ${harnessVersionLabel(version2.state, messages
|
|
|
31370
33001
|
}
|
|
31371
33002
|
});
|
|
31372
33003
|
}
|
|
31373
|
-
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, requestVoiceSettings = () => Promise.reject(new Error("Local Host connection is unavailable")), harnessSchedules, getEnrollmentClient = () => null) {
|
|
33004
|
+
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, requestVoiceSettings = () => Promise.reject(new Error("Local Host connection is unavailable")), harnessSchedules, getEnrollmentClient = () => null, getExternalClientsClient = () => null) {
|
|
31374
33005
|
return Object.freeze([
|
|
31375
33006
|
createConnectionsSettingsPage(messages, getDiagnostics, void 0, getRemoteConnections),
|
|
31376
33007
|
createMobileWebPage(messages, () => {
|
|
@@ -31379,6 +33010,7 @@ ${messages.harnessVersionLatest}: ${harnessVersionLabel(version2.state, messages
|
|
|
31379
33010
|
}),
|
|
31380
33011
|
createRemoteConnectionsPage(messages, getRemoteConnections),
|
|
31381
33012
|
createEnrollmentSettingsPage(messages, getEnrollmentClient),
|
|
33013
|
+
createMcpClientsSettingsPage(messages, getExternalClientsClient),
|
|
31382
33014
|
createAccountsSettingsPage(messages, getAccountClient),
|
|
31383
33015
|
...harnessSchedules ? [createHarnessSchedulesPage(messages, harnessSchedules)] : [],
|
|
31384
33016
|
createSessionImportSettingsPage(
|
|
@@ -34182,7 +35814,7 @@ ${messages.harnessVersionLatest}: ${harnessVersionLabel(version2.state, messages
|
|
|
34182
35814
|
`;
|
|
34183
35815
|
|
|
34184
35816
|
// src/settings/tailwind.css
|
|
34185
|
-
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}.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,.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}.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';
|
|
35817
|
+
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}.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}.grow{flex-grow:1}.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,.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}.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';
|
|
34186
35818
|
|
|
34187
35819
|
// src/web-request-manager.ts
|
|
34188
35820
|
function webRequestManager() {
|
|
@@ -34360,6 +35992,7 @@ lucide/dist/esm/icons/x.mjs:
|
|
|
34360
35992
|
lucide/dist/esm/icons/users.mjs:
|
|
34361
35993
|
lucide/dist/esm/icons/plus.mjs:
|
|
34362
35994
|
lucide/dist/esm/icons/key-round.mjs:
|
|
35995
|
+
lucide/dist/esm/icons/bot.mjs:
|
|
34363
35996
|
(**
|
|
34364
35997
|
* @license lucide v1.28.0 - ISC
|
|
34365
35998
|
*
|