@liberseek/boft-cli-win32-arm64 0.7.6 → 0.7.7
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 +69 -53
- package/app/console-web.js +563 -96
- package/app/desktop-controller.mjs +68 -20
- package/app/host-runtime.mjs +523 -124
- package/app/plugins/antigravity/plugin.mjs +804 -716
- package/app/plugins/claude-code/plugin.mjs +275 -115
- package/app/plugins/codebuddy/plugin.mjs +733 -662
- package/app/plugins/cursor-cli/plugin.mjs +446 -357
- package/app/plugins/deepseek-harness/plugin.mjs +25471 -26253
- package/app/plugins/grok/plugin.mjs +1398 -1309
- package/app/plugins/hermes/plugin.mjs +524 -435
- package/app/plugins/kimi-code/plugin.mjs +745 -671
- package/app/plugins/kiro-cli/plugin.mjs +15822 -15731
- package/app/plugins/muse/plugin.mjs +69 -53
- package/app/plugins/omp/plugin.mjs +1639 -1547
- package/app/plugins/opencode/plugin.mjs +736 -665
- package/app/plugins/pi/plugin.mjs +15771 -15663
- package/app/plugins/qoder/plugin.mjs +479 -390
- package/app/plugins/qoder-cn/plugin.mjs +145 -54
- package/app/plugins/workbuddy/plugin.mjs +69 -53
- package/app/renderer-extension.js +695 -212
- package/bin/boft.exe +0 -0
- package/libexec/boft-node-repl.exe +0 -0
- package/libexec/boft-shim.exe +0 -0
- package/libexec/boft-updater.exe +0 -0
- package/package.json +2 -2
package/app/console-web.js
CHANGED
|
@@ -14661,6 +14661,71 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14661
14661
|
initializeOnly: external_exports.boolean().optional()
|
|
14662
14662
|
});
|
|
14663
14663
|
|
|
14664
|
+
// ../shared-contracts/dist/ids.js
|
|
14665
|
+
var opaqueIdSchema = external_exports.string().refine((value) => value.trim().length > 0, {
|
|
14666
|
+
message: "Identifier must not be empty or whitespace"
|
|
14667
|
+
});
|
|
14668
|
+
var harnessIdSchema = opaqueIdSchema.brand();
|
|
14669
|
+
var hostThreadIdSchema = opaqueIdSchema.brand();
|
|
14670
|
+
var hostTurnIdSchema = opaqueIdSchema.brand();
|
|
14671
|
+
var hostItemIdSchema = opaqueIdSchema.brand();
|
|
14672
|
+
var hostInteractionIdSchema = opaqueIdSchema.brand();
|
|
14673
|
+
|
|
14674
|
+
// ../shared-contracts/dist/harness-plugins.js
|
|
14675
|
+
var HARNESS_PLUGIN_MANIFEST_MAX_BYTES = 32 * 1024;
|
|
14676
|
+
var HARNESS_PLUGIN_ICON_MAX_BYTES = 128 * 1024;
|
|
14677
|
+
var HARNESS_PLUGIN_LIMIT = 128;
|
|
14678
|
+
var harnessPluginIdSchema = external_exports.string().min(1).max(128).regex(/^[a-z][a-z0-9]*(?:[._-][a-z0-9]+)*$/u).refine((id) => id !== "codex", "The official Codex identity is reserved").pipe(harnessIdSchema);
|
|
14679
|
+
var relativeResourceSchema = external_exports.string().min(1).max(512).refine((value) => !/[\\\u0000:#?]/u.test(value) && !value.startsWith("/") && !value.split("/").some((part) => part === ".." || part === ""), "Plugin resources must be relative paths inside the plugin");
|
|
14680
|
+
var documentationUrlSchema = external_exports.url().refine((value) => /^https:\/\/[^/?#@]+(?:[/?#]|$)/iu.test(value), "Plugin documentation links must be credential-free HTTPS URLs");
|
|
14681
|
+
var pluginPresentationShape = {
|
|
14682
|
+
id: harnessPluginIdSchema,
|
|
14683
|
+
name: external_exports.string().trim().min(1).max(128),
|
|
14684
|
+
version: external_exports.string().min(1).max(128),
|
|
14685
|
+
/** The factory accepts a persisted local entrypoint through its construction context. */
|
|
14686
|
+
launchCommand: external_exports.literal(true).optional(),
|
|
14687
|
+
links: external_exports.object({
|
|
14688
|
+
documentation: documentationUrlSchema.optional(),
|
|
14689
|
+
installation: documentationUrlSchema.optional()
|
|
14690
|
+
}).strict().optional()
|
|
14691
|
+
};
|
|
14692
|
+
var harnessPluginManifestSchema = external_exports.object({
|
|
14693
|
+
manifestVersion: external_exports.literal(1),
|
|
14694
|
+
...pluginPresentationShape,
|
|
14695
|
+
adapterApiVersion: external_exports.number().int().positive(),
|
|
14696
|
+
entry: relativeResourceSchema,
|
|
14697
|
+
icon: relativeResourceSchema.optional()
|
|
14698
|
+
}).strict();
|
|
14699
|
+
var harnessPluginIconSchema = external_exports.string().max(Math.ceil(HARNESS_PLUGIN_ICON_MAX_BYTES / 3) * 4 + 64).regex(/^data:image\/(?:png|jpeg|webp|svg\+xml);base64,[A-Za-z0-9+/]+={0,2}$/u);
|
|
14700
|
+
var harnessPluginDescriptorSchema = external_exports.object({
|
|
14701
|
+
...pluginPresentationShape,
|
|
14702
|
+
icon: harnessPluginIconSchema.optional()
|
|
14703
|
+
}).strict();
|
|
14704
|
+
var harnessPluginListParamsSchema = external_exports.object({}).strict();
|
|
14705
|
+
var harnessPluginListResultSchema = external_exports.object({
|
|
14706
|
+
plugins: external_exports.array(harnessPluginDescriptorSchema).max(HARNESS_PLUGIN_LIMIT)
|
|
14707
|
+
}).strict();
|
|
14708
|
+
var harnessPluginConfigurationSchema = external_exports.object({
|
|
14709
|
+
version: external_exports.literal(1),
|
|
14710
|
+
enabled: external_exports.array(harnessPluginIdSchema).max(HARNESS_PLUGIN_LIMIT)
|
|
14711
|
+
}).strict().refine((value) => new Set(value.enabled).size === value.enabled.length, {
|
|
14712
|
+
message: "Enabled plugin IDs must be unique",
|
|
14713
|
+
path: ["enabled"]
|
|
14714
|
+
});
|
|
14715
|
+
|
|
14716
|
+
// ../shared-contracts/dist/harness-long-context.js
|
|
14717
|
+
var HARNESS_LONG_CONTEXT_GET_METHOD = "codexhost/harness/long-context/get";
|
|
14718
|
+
var HARNESS_LONG_CONTEXT_SET_METHOD = "codexhost/harness/long-context/set";
|
|
14719
|
+
var harnessLongContextGetSchema = external_exports.object({
|
|
14720
|
+
harnessId: harnessPluginIdSchema
|
|
14721
|
+
}).strict();
|
|
14722
|
+
var harnessLongContextSetSchema = harnessLongContextGetSchema.extend({
|
|
14723
|
+
enabled: external_exports.boolean()
|
|
14724
|
+
});
|
|
14725
|
+
var harnessLongContextSchema = external_exports.object({
|
|
14726
|
+
enabled: external_exports.boolean()
|
|
14727
|
+
}).strict();
|
|
14728
|
+
|
|
14664
14729
|
// ../shared-contracts/dist/console.js
|
|
14665
14730
|
var consoleAnnouncementSchema = external_exports.strictObject({
|
|
14666
14731
|
title: external_exports.string().trim().min(1).max(200),
|
|
@@ -14678,8 +14743,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14678
14743
|
"codexhost/harness/display-settings/get",
|
|
14679
14744
|
"codexhost/harness/display-settings/set",
|
|
14680
14745
|
"codexhost/harness/inspect",
|
|
14746
|
+
"codexhost/harness/installation",
|
|
14681
14747
|
"codexhost/harness/launch-settings/get",
|
|
14682
14748
|
"codexhost/harness/launch-settings/set",
|
|
14749
|
+
HARNESS_LONG_CONTEXT_GET_METHOD,
|
|
14750
|
+
HARNESS_LONG_CONTEXT_SET_METHOD,
|
|
14683
14751
|
"codexhost/harness/web-ui/open",
|
|
14684
14752
|
"codexhost/harness/accounts/sources",
|
|
14685
14753
|
"codexhost/harness/accounts/list",
|
|
@@ -14741,16 +14809,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14741
14809
|
inactiveMs: external_exports.number().nonnegative()
|
|
14742
14810
|
}));
|
|
14743
14811
|
|
|
14744
|
-
// ../shared-contracts/dist/ids.js
|
|
14745
|
-
var opaqueIdSchema = external_exports.string().refine((value) => value.trim().length > 0, {
|
|
14746
|
-
message: "Identifier must not be empty or whitespace"
|
|
14747
|
-
});
|
|
14748
|
-
var harnessIdSchema = opaqueIdSchema.brand();
|
|
14749
|
-
var hostThreadIdSchema = opaqueIdSchema.brand();
|
|
14750
|
-
var hostTurnIdSchema = opaqueIdSchema.brand();
|
|
14751
|
-
var hostItemIdSchema = opaqueIdSchema.brand();
|
|
14752
|
-
var hostInteractionIdSchema = opaqueIdSchema.brand();
|
|
14753
|
-
|
|
14754
14812
|
// ../shared-contracts/dist/manual-compaction.js
|
|
14755
14813
|
var threadManualCompactionStartedSchema = external_exports.strictObject({
|
|
14756
14814
|
threadId: hostThreadIdSchema,
|
|
@@ -15281,48 +15339,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15281
15339
|
}
|
|
15282
15340
|
});
|
|
15283
15341
|
|
|
15284
|
-
// ../shared-contracts/dist/harness-plugins.js
|
|
15285
|
-
var HARNESS_PLUGIN_MANIFEST_MAX_BYTES = 32 * 1024;
|
|
15286
|
-
var HARNESS_PLUGIN_ICON_MAX_BYTES = 128 * 1024;
|
|
15287
|
-
var HARNESS_PLUGIN_LIMIT = 128;
|
|
15288
|
-
var harnessPluginIdSchema = external_exports.string().min(1).max(128).regex(/^[a-z][a-z0-9]*(?:[._-][a-z0-9]+)*$/u).refine((id) => id !== "codex", "The official Codex identity is reserved").pipe(harnessIdSchema);
|
|
15289
|
-
var relativeResourceSchema = external_exports.string().min(1).max(512).refine((value) => !/[\\\u0000:#?]/u.test(value) && !value.startsWith("/") && !value.split("/").some((part) => part === ".." || part === ""), "Plugin resources must be relative paths inside the plugin");
|
|
15290
|
-
var documentationUrlSchema = external_exports.url().refine((value) => /^https:\/\/[^/?#@]+(?:[/?#]|$)/iu.test(value), "Plugin documentation links must be credential-free HTTPS URLs");
|
|
15291
|
-
var pluginPresentationShape = {
|
|
15292
|
-
id: harnessPluginIdSchema,
|
|
15293
|
-
name: external_exports.string().trim().min(1).max(128),
|
|
15294
|
-
version: external_exports.string().min(1).max(128),
|
|
15295
|
-
/** The factory accepts a persisted local entrypoint through its construction context. */
|
|
15296
|
-
launchCommand: external_exports.literal(true).optional(),
|
|
15297
|
-
links: external_exports.object({
|
|
15298
|
-
documentation: documentationUrlSchema.optional(),
|
|
15299
|
-
installation: documentationUrlSchema.optional()
|
|
15300
|
-
}).strict().optional()
|
|
15301
|
-
};
|
|
15302
|
-
var harnessPluginManifestSchema = external_exports.object({
|
|
15303
|
-
manifestVersion: external_exports.literal(1),
|
|
15304
|
-
...pluginPresentationShape,
|
|
15305
|
-
adapterApiVersion: external_exports.number().int().positive(),
|
|
15306
|
-
entry: relativeResourceSchema,
|
|
15307
|
-
icon: relativeResourceSchema.optional()
|
|
15308
|
-
}).strict();
|
|
15309
|
-
var harnessPluginIconSchema = external_exports.string().max(Math.ceil(HARNESS_PLUGIN_ICON_MAX_BYTES / 3) * 4 + 64).regex(/^data:image\/(?:png|jpeg|webp|svg\+xml);base64,[A-Za-z0-9+/]+={0,2}$/u);
|
|
15310
|
-
var harnessPluginDescriptorSchema = external_exports.object({
|
|
15311
|
-
...pluginPresentationShape,
|
|
15312
|
-
icon: harnessPluginIconSchema.optional()
|
|
15313
|
-
}).strict();
|
|
15314
|
-
var harnessPluginListParamsSchema = external_exports.object({}).strict();
|
|
15315
|
-
var harnessPluginListResultSchema = external_exports.object({
|
|
15316
|
-
plugins: external_exports.array(harnessPluginDescriptorSchema).max(HARNESS_PLUGIN_LIMIT)
|
|
15317
|
-
}).strict();
|
|
15318
|
-
var harnessPluginConfigurationSchema = external_exports.object({
|
|
15319
|
-
version: external_exports.literal(1),
|
|
15320
|
-
enabled: external_exports.array(harnessPluginIdSchema).max(HARNESS_PLUGIN_LIMIT)
|
|
15321
|
-
}).strict().refine((value) => new Set(value.enabled).size === value.enabled.length, {
|
|
15322
|
-
message: "Enabled plugin IDs must be unique",
|
|
15323
|
-
path: ["enabled"]
|
|
15324
|
-
});
|
|
15325
|
-
|
|
15326
15342
|
// ../shared-contracts/dist/harness-route.js
|
|
15327
15343
|
var harnessPluginRouteSchema = external_exports.object({
|
|
15328
15344
|
harnessId: harnessPluginIdSchema,
|
|
@@ -15350,7 +15366,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15350
15366
|
var HARNESS_INSTALLATION_METHOD = "codexhost/harness/installation";
|
|
15351
15367
|
var harnessInstallationParamsSchema = external_exports.object({
|
|
15352
15368
|
harnessId: harnessIdSchema,
|
|
15353
|
-
action: external_exports.enum(["check", "update"])
|
|
15369
|
+
action: external_exports.enum(["check", "update", "install"])
|
|
15354
15370
|
}).strict();
|
|
15355
15371
|
var harnessInstallationStateSchema = external_exports.object({
|
|
15356
15372
|
currentVersion: external_exports.string().min(1).max(128),
|
|
@@ -16692,7 +16708,16 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16692
16708
|
return pending;
|
|
16693
16709
|
};
|
|
16694
16710
|
let started = false;
|
|
16711
|
+
const installation = client.installation?.bind(client);
|
|
16695
16712
|
return {
|
|
16713
|
+
...installation ? {
|
|
16714
|
+
installation: async (hostId, agent, action) => {
|
|
16715
|
+
if (hostId !== "local") {
|
|
16716
|
+
throw new Error("Web console installation only supports the local Host");
|
|
16717
|
+
}
|
|
16718
|
+
return installation({ harnessId: harnessIdSchema.parse(agent), action });
|
|
16719
|
+
}
|
|
16720
|
+
} : {},
|
|
16696
16721
|
snapshot() {
|
|
16697
16722
|
if (!started) {
|
|
16698
16723
|
started = true;
|
|
@@ -16727,6 +16752,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16727
16752
|
if (!client.setHarnessLaunchSettings) throw new Error("Launch settings are unavailable");
|
|
16728
16753
|
return client.setHarnessLaunchSettings({ harnessId: agent, path });
|
|
16729
16754
|
},
|
|
16755
|
+
async getLongContext(_hostId, agent) {
|
|
16756
|
+
if (!client.getHarnessLongContext) throw new Error("1M context is unavailable");
|
|
16757
|
+
return client.getHarnessLongContext({ harnessId: agent });
|
|
16758
|
+
},
|
|
16759
|
+
async setLongContext(_hostId, agent, enabled) {
|
|
16760
|
+
if (!client.setHarnessLongContext) throw new Error("1M context is unavailable");
|
|
16761
|
+
return client.setHarnessLongContext({ harnessId: agent, enabled });
|
|
16762
|
+
},
|
|
16730
16763
|
subscribe(listener) {
|
|
16731
16764
|
listeners.add(listener);
|
|
16732
16765
|
return () => listeners.delete(listener);
|
|
@@ -17523,6 +17556,18 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17523
17556
|
};
|
|
17524
17557
|
}
|
|
17525
17558
|
|
|
17559
|
+
// src/renderer-native-thread.ts
|
|
17560
|
+
function isRecord(value) {
|
|
17561
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
17562
|
+
}
|
|
17563
|
+
async function verifyNativeCodexThread(sendRequest, threadId) {
|
|
17564
|
+
const native = await sendRequest("thread/read", { threadId, includeTurns: false });
|
|
17565
|
+
const thread = isRecord(native) ? native.thread : null;
|
|
17566
|
+
if (!isRecord(thread) || thread.id !== threadId || typeof thread.modelProvider !== "string" || !thread.modelProvider || thread.modelProvider === "codexhost" || typeof thread.cliVersion !== "string" || !thread.cliVersion || thread.cliVersion === "codexhost") {
|
|
17567
|
+
throw new Error("Native Thread response cannot establish Codex ownership");
|
|
17568
|
+
}
|
|
17569
|
+
}
|
|
17570
|
+
|
|
17526
17571
|
// src/renderer-session-import-client.ts
|
|
17527
17572
|
var RendererSessionImportUnavailableError = class extends Error {
|
|
17528
17573
|
constructor() {
|
|
@@ -17598,15 +17643,15 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17598
17643
|
var CODEX_ACCOUNT_LIST_METHOD = "codexhost/account/list";
|
|
17599
17644
|
var CODEX_ACCOUNT_REFRESH_METHOD = "codexhost/account/refresh";
|
|
17600
17645
|
var CODEX_ACCOUNT_CHANGED_METHOD = "codexhost/account/changed";
|
|
17601
|
-
function
|
|
17646
|
+
function isRecord2(value) {
|
|
17602
17647
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
17603
17648
|
}
|
|
17604
17649
|
function notifiedThreadId(notification) {
|
|
17605
|
-
if (!
|
|
17650
|
+
if (!isRecord2(notification) || !THREAD_USAGE_REFRESH_METHODS.includes(notification.method)) {
|
|
17606
17651
|
return null;
|
|
17607
17652
|
}
|
|
17608
17653
|
const params = notification.params;
|
|
17609
|
-
if (!
|
|
17654
|
+
if (!isRecord2(params)) return null;
|
|
17610
17655
|
const parsed = hostThreadIdSchema.safeParse(params.threadId);
|
|
17611
17656
|
return parsed.success ? parsed.data : null;
|
|
17612
17657
|
}
|
|
@@ -17702,6 +17747,22 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17702
17747
|
)
|
|
17703
17748
|
);
|
|
17704
17749
|
},
|
|
17750
|
+
async getHarnessLongContext(input) {
|
|
17751
|
+
return harnessLongContextSchema.parse(
|
|
17752
|
+
await manager.sendRequest(
|
|
17753
|
+
HARNESS_LONG_CONTEXT_GET_METHOD,
|
|
17754
|
+
harnessLongContextGetSchema.parse(input)
|
|
17755
|
+
)
|
|
17756
|
+
);
|
|
17757
|
+
},
|
|
17758
|
+
async setHarnessLongContext(input) {
|
|
17759
|
+
return harnessLongContextSchema.parse(
|
|
17760
|
+
await manager.sendRequest(
|
|
17761
|
+
HARNESS_LONG_CONTEXT_SET_METHOD,
|
|
17762
|
+
harnessLongContextSetSchema.parse(input)
|
|
17763
|
+
)
|
|
17764
|
+
);
|
|
17765
|
+
},
|
|
17705
17766
|
async listLoadedSessions() {
|
|
17706
17767
|
return loadedSessionsSchema.parse(await manager.sendRequest(LOADED_SESSIONS_METHOD, {}));
|
|
17707
17768
|
},
|
|
@@ -17737,14 +17798,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17737
17798
|
result = await manager.sendRequest(THREAD_INSPECT_METHOD, params);
|
|
17738
17799
|
} catch (error51) {
|
|
17739
17800
|
if (!(error51 instanceof RendererMethodUnavailableError)) throw error51;
|
|
17740
|
-
|
|
17741
|
-
threadId: params.threadId,
|
|
17742
|
-
includeTurns: false
|
|
17743
|
-
});
|
|
17744
|
-
const thread = isRecord(native) ? native.thread : null;
|
|
17745
|
-
if (!isRecord(thread) || thread.id !== params.threadId || typeof thread.modelProvider !== "string" || !thread.modelProvider || thread.modelProvider === "codexhost" || typeof thread.cliVersion !== "string" || !thread.cliVersion || thread.cliVersion === "codexhost") {
|
|
17746
|
-
throw new Error("Native Thread response cannot establish Codex ownership");
|
|
17747
|
-
}
|
|
17801
|
+
await verifyNativeCodexThread(manager.sendRequest, params.threadId);
|
|
17748
17802
|
return { owner: "codex", locked: true };
|
|
17749
17803
|
}
|
|
17750
17804
|
return threadInspectionSchema.parse(result);
|
|
@@ -17882,7 +17936,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17882
17936
|
throw new Error("Renderer Account notification callback is unavailable");
|
|
17883
17937
|
}
|
|
17884
17938
|
return notifications.addNotificationCallback(CODEX_ACCOUNT_CHANGED_METHOD, (notification) => {
|
|
17885
|
-
if (!
|
|
17939
|
+
if (!isRecord2(notification) || notification.method !== CODEX_ACCOUNT_CHANGED_METHOD) return;
|
|
17886
17940
|
const state = codexAccountChangedSchema.safeParse(notification.params);
|
|
17887
17941
|
if (state.success) listener(state.data);
|
|
17888
17942
|
});
|
|
@@ -18907,11 +18961,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18907
18961
|
connectionDiagnostic: "Diagnostic",
|
|
18908
18962
|
connectionNoRuntime: "The renderer request bridge is not available yet.",
|
|
18909
18963
|
connectionStatusReady: "Ready",
|
|
18964
|
+
connectionStatusConnected: "Connected",
|
|
18910
18965
|
connectionStatusChecking: "Checking",
|
|
18911
18966
|
connectionStatusNotInstalled: "Not installed",
|
|
18912
18967
|
connectionStatusUnavailable: "Unavailable",
|
|
18913
18968
|
connectionStatusError: "Error",
|
|
18914
18969
|
connectionStatusInstalling: "Installing",
|
|
18970
|
+
connectionStatusUpdating: "Updating",
|
|
18915
18971
|
connectionStatusUnsupported: "Unsupported",
|
|
18916
18972
|
connectionComponent: "Component",
|
|
18917
18973
|
connectionStatus: "Status",
|
|
@@ -18930,14 +18986,20 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18930
18986
|
launchPathLoading: "Loading launch settings\u2026",
|
|
18931
18987
|
launchPathLoadError: "Could not load launch settings. Reopen this detail panel to retry.",
|
|
18932
18988
|
launchPathSaveError: "Could not save. Enter an existing absolute installation folder on this Host and check configuration permissions.",
|
|
18989
|
+
connectionOfficialWebsite: "Visit official website",
|
|
18933
18990
|
connectionOpenInstallation: "Open official installation page",
|
|
18934
18991
|
connectionOpenHarnessWeb: "Open DeepSeek Harness Web",
|
|
18935
|
-
connectionDeepSeekTestedVersions: "Supported DSH versions: 0.1.
|
|
18992
|
+
connectionDeepSeekTestedVersions: "Supported DSH versions: 0.1.7-rc.1, 0.1.7-rc.2, 0.2.0-rc.1 and 0.2.0-rc.2. Versions newer than 0.2.0-rc.2 can be tried, but compatibility may be limited; versions older than 0.1.7-rc.1 must be upgraded first.",
|
|
18936
18993
|
connectionInstall: "Install",
|
|
18994
|
+
connectionLongContextLabel: "1M",
|
|
18995
|
+
connectionLongContextOn: "On: Claude models use a 1M context window. Claude CLI uses that larger window locally.",
|
|
18996
|
+
connectionLongContextOff: "Off: Claude models use the 200k window.",
|
|
18997
|
+
connectionLongContextModelsLabel: "Models:",
|
|
18937
18998
|
connectionInstallDescription: "This Harness was not detected. Copy the official install command, copy an install prompt for another Agent, or open the official installation page. After installing, return here and run the check again.",
|
|
18938
18999
|
connectionInstallCommand: "Install command",
|
|
18939
19000
|
connectionCopyPrompt: "Copy prompt",
|
|
18940
19001
|
connectionInstallPrompt: "Please install {name} (CLI command: {binary}) on this machine.\n\nUse the official install method and run:\n{command}\n\nOfficial installation page: {url}\n\nAfter installation, verify that `{binary}` is available in the terminal and report the result.",
|
|
19002
|
+
connectionInstallRunning: "Installing on the selected Host. You can leave this page; login or setup may still be required afterward.",
|
|
18941
19003
|
harnessVersionTitle: "Harness CLI version",
|
|
18942
19004
|
harnessVersionCurrent: "Current version",
|
|
18943
19005
|
harnessVersionLatest: "Latest version",
|
|
@@ -19201,11 +19263,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
19201
19263
|
connectionDiagnostic: "\u8BCA\u65AD\u4FE1\u606F",
|
|
19202
19264
|
connectionNoRuntime: "Renderer \u8BF7\u6C42\u6865\u5C1A\u672A\u53EF\u7528\u3002",
|
|
19203
19265
|
connectionStatusReady: "\u6B63\u5E38",
|
|
19266
|
+
connectionStatusConnected: "\u5DF2\u8FDE\u63A5",
|
|
19204
19267
|
connectionStatusChecking: "\u68C0\u67E5\u4E2D",
|
|
19205
19268
|
connectionStatusNotInstalled: "\u672A\u5B89\u88C5",
|
|
19206
19269
|
connectionStatusUnavailable: "\u4E0D\u53EF\u7528",
|
|
19207
19270
|
connectionStatusError: "\u9519\u8BEF",
|
|
19208
19271
|
connectionStatusInstalling: "\u5B89\u88C5\u4E2D",
|
|
19272
|
+
connectionStatusUpdating: "\u66F4\u65B0\u4E2D",
|
|
19209
19273
|
connectionStatusUnsupported: "\u4E0D\u652F\u6301",
|
|
19210
19274
|
connectionComponent: "\u7EC4\u4EF6",
|
|
19211
19275
|
connectionStatus: "\u72B6\u6001",
|
|
@@ -19224,14 +19288,20 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
19224
19288
|
launchPathLoading: "\u6B63\u5728\u8BFB\u53D6\u542F\u52A8\u8BBE\u7F6E\u2026",
|
|
19225
19289
|
launchPathLoadError: "\u65E0\u6CD5\u8BFB\u53D6\u542F\u52A8\u8BBE\u7F6E\uFF0C\u8BF7\u91CD\u65B0\u6253\u5F00\u6B64\u8BE6\u60C5\u9762\u677F\u91CD\u8BD5\u3002",
|
|
19226
19290
|
launchPathSaveError: "\u4FDD\u5B58\u5931\u8D25\u3002\u8BF7\u586B\u5199\u6B64 Host \u4E0A\u5B9E\u9645\u5B58\u5728\u7684\u5B89\u88C5\u76EE\u5F55\u7EDD\u5BF9\u8DEF\u5F84\uFF0C\u5E76\u786E\u8BA4\u914D\u7F6E\u76EE\u5F55\u53EF\u5199\u3002",
|
|
19291
|
+
connectionOfficialWebsite: "\u8BBF\u95EE\u5B98\u7F51",
|
|
19227
19292
|
connectionOpenInstallation: "\u524D\u5F80\u5B98\u65B9\u5B89\u88C5\u9875\u9762",
|
|
19228
19293
|
connectionOpenHarnessWeb: "\u6253\u5F00 DeepSeek Harness Web",
|
|
19229
|
-
connectionDeepSeekTestedVersions: "\u652F\u6301 DSH \u7248\u672C\uFF1A0.1.
|
|
19294
|
+
connectionDeepSeekTestedVersions: "\u652F\u6301 DSH \u7248\u672C\uFF1A0.1.7-rc.1\u30010.1.7-rc.2\u30010.2.0-rc.1 \u548C 0.2.0-rc.2\u3002\u9AD8\u4E8E 0.2.0-rc.2 \u7684\u7248\u672C\u53EF\u4EE5\u5C1D\u8BD5\u8FDE\u63A5\uFF0C\u4F46\u9002\u914D\u5EA6\u53EF\u80FD\u6709\u9650\uFF1B\u4F4E\u4E8E 0.1.7-rc.1 \u7684\u7248\u672C\u9700\u8981\u5148\u5347\u7EA7\u3002",
|
|
19230
19295
|
connectionInstall: "\u5B89\u88C5",
|
|
19296
|
+
connectionLongContextLabel: "1M",
|
|
19297
|
+
connectionLongContextOn: "\u5F00\u542F\u540E: Claude \u6A21\u578B\u4F7F\u7528 1M \u4E0A\u4E0B\u6587\u3002Claude CLI \u4F1A\u5728\u672C\u5730\u6309\u8FD9\u4E2A\u66F4\u5927\u7684\u7A97\u53E3\u5DE5\u4F5C\u3002",
|
|
19298
|
+
connectionLongContextOff: "\u5173\u95ED\u540E: Claude \u6A21\u578B\u5C06\u4F7F\u7528 200k \u7A97\u53E3\u3002",
|
|
19299
|
+
connectionLongContextModelsLabel: "\u9002\u914D\u6A21\u578B:",
|
|
19231
19300
|
connectionInstallDescription: "\u5C1A\u672A\u68C0\u6D4B\u5230\u8BE5 Harness\u3002\u53EF\u4EE5\u590D\u5236\u5B98\u65B9\u5B89\u88C5\u547D\u4EE4\u3001\u590D\u5236\u5B89\u88C5 Prompt \u4EA4\u7ED9\u5176\u4ED6 Agent \u6267\u884C\uFF0C\u6216\u524D\u5F80\u5B98\u65B9\u5B89\u88C5\u9875\u9762\u3002\u5B89\u88C5\u5B8C\u6210\u540E\u8BF7\u8FD4\u56DE\u6B64\u9875\u9762\u91CD\u65B0\u68C0\u67E5\u3002",
|
|
19232
19301
|
connectionInstallCommand: "\u5B89\u88C5\u547D\u4EE4",
|
|
19233
19302
|
connectionCopyPrompt: "\u590D\u5236 Prompt",
|
|
19234
19303
|
connectionInstallPrompt: "\u8BF7\u5E2E\u6211\u5728\u672C\u673A\u5B89\u88C5 {name}\uFF08CLI \u547D\u4EE4\uFF1A{binary}\uFF09\u3002\n\n\u8BF7\u6309\u5B98\u65B9\u5B89\u88C5\u65B9\u5F0F\u6267\u884C\u4EE5\u4E0B\u547D\u4EE4\uFF0C\u5E76\u5904\u7406 PATH\u3001\u6743\u9650\u548C\u4F9D\u8D56\u95EE\u9898\uFF1A\n{command}\n\n\u5B98\u65B9\u5B89\u88C5\u9875\u9762\uFF1A{url}\n\n\u5B89\u88C5\u5B8C\u6210\u540E\u8BF7\u9A8C\u8BC1 `{binary}` \u53EF\u4EE5\u5728\u7EC8\u7AEF\u4E2D\u8FD0\u884C\uFF0C\u5E76\u544A\u8BC9\u6211\u7ED3\u679C\u3002",
|
|
19304
|
+
connectionInstallRunning: "\u6B63\u5728\u6240\u9009 Host \u4E0A\u5B89\u88C5\uFF0C\u79BB\u5F00\u9875\u9762\u4E0D\u4F1A\u4E2D\u65AD\u3002\u5B89\u88C5\u540E\u53EF\u80FD\u4ECD\u9700\u767B\u5F55\u6216\u914D\u7F6E\u3002",
|
|
19235
19305
|
harnessVersionTitle: "Harness CLI \u7248\u672C",
|
|
19236
19306
|
harnessVersionCurrent: "\u5F53\u524D\u7248\u672C",
|
|
19237
19307
|
harnessVersionLatest: "\u6700\u65B0\u7248\u672C",
|
|
@@ -19705,11 +19775,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
19705
19775
|
},
|
|
19706
19776
|
"deepseek-harness": {
|
|
19707
19777
|
url: "https://github.com/deepseek-ai/deepseek-harness#run",
|
|
19708
|
-
|
|
19709
|
-
commands: npm("@deepseek-ai/dsh@0.1.5-rc.1"),
|
|
19778
|
+
commands: npm("@deepseek-ai/dsh@latest"),
|
|
19710
19779
|
before: [
|
|
19711
|
-
"Requires Node.js. Installs
|
|
19712
|
-
"\u9700\u5148\u5B89\u88C5 Node.js\u3002\
|
|
19780
|
+
"Requires Node.js. Installs npm's latest version; connection still requires native protocol validation.",
|
|
19781
|
+
"\u9700\u5148\u5B89\u88C5 Node.js\u3002\u5B89\u88C5 npm \u6700\u65B0\u7248\u672C\uFF1B\u8FDE\u63A5\u4ECD\u9700\u901A\u8FC7\u539F\u751F\u534F\u8BAE\u6821\u9A8C\u3002"
|
|
19713
19782
|
],
|
|
19714
19783
|
after: [
|
|
19715
19784
|
"Check again, then open Web UI to configure your provider. Stop any manually started dsh web first.",
|
|
@@ -19768,17 +19837,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
19768
19837
|
url: "https://www.workbuddy.ai/docs/workbuddy/Quickstart",
|
|
19769
19838
|
commands: [],
|
|
19770
19839
|
before: [
|
|
19771
|
-
"
|
|
19772
|
-
"\u8BF7\u5B89\u88C5 WorkBuddy \u684C\u9762\u5E94\u7528\
|
|
19840
|
+
"Download and install the WorkBuddy desktop app.",
|
|
19841
|
+
"\u8BF7\u4E0B\u8F7D\u5E76\u5B89\u88C5 WorkBuddy \u684C\u9762\u5E94\u7528\u3002"
|
|
19773
19842
|
],
|
|
19774
19843
|
downloads: [
|
|
19775
19844
|
{
|
|
19776
|
-
label: "
|
|
19777
|
-
url: "https://www.workbuddy.ai/
|
|
19778
|
-
},
|
|
19779
|
-
{
|
|
19780
|
-
label: "Windows",
|
|
19781
|
-
url: "https://www.workbuddy.ai/docs/workbuddy/From-Beginner-to-Expert-Guide/Installation-Win-Guide"
|
|
19845
|
+
label: "WorkBuddy",
|
|
19846
|
+
url: "https://www.workbuddy.ai/"
|
|
19782
19847
|
}
|
|
19783
19848
|
],
|
|
19784
19849
|
after: [
|
|
@@ -19912,6 +19977,64 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
19912
19977
|
return panel;
|
|
19913
19978
|
}
|
|
19914
19979
|
|
|
19980
|
+
// src/settings/harness-install-store.ts
|
|
19981
|
+
function errorMessage2(error51) {
|
|
19982
|
+
return typeof error51 === "object" && error51 !== null && "message" in error51 && typeof error51.message === "string" ? error51.message.slice(0, 2048) : "Could not install the Harness. Check the official installation guide and retry.";
|
|
19983
|
+
}
|
|
19984
|
+
var stores = /* @__PURE__ */ new WeakMap();
|
|
19985
|
+
function createStore(diagnostics) {
|
|
19986
|
+
const states = /* @__PURE__ */ new Map();
|
|
19987
|
+
const listeners = /* @__PURE__ */ new Set();
|
|
19988
|
+
const key = (host, agent) => JSON.stringify([host, agent]);
|
|
19989
|
+
const notify = () => listeners.forEach((listener) => listener());
|
|
19990
|
+
return {
|
|
19991
|
+
get: (host, agent) => states.get(key(host, agent)),
|
|
19992
|
+
clearErrors() {
|
|
19993
|
+
for (const [id, state] of states) if (state.status === "error") states.delete(id);
|
|
19994
|
+
notify();
|
|
19995
|
+
},
|
|
19996
|
+
subscribe(listener) {
|
|
19997
|
+
listeners.add(listener);
|
|
19998
|
+
return () => {
|
|
19999
|
+
listeners.delete(listener);
|
|
20000
|
+
};
|
|
20001
|
+
},
|
|
20002
|
+
async install(host, agent) {
|
|
20003
|
+
const id = key(host, agent);
|
|
20004
|
+
const previous = states.get(id);
|
|
20005
|
+
if (!diagnostics.installation || previous && previous.status !== "error") return;
|
|
20006
|
+
states.set(id, { status: "installing" });
|
|
20007
|
+
notify();
|
|
20008
|
+
let failure;
|
|
20009
|
+
try {
|
|
20010
|
+
await diagnostics.installation(host, agent, "install");
|
|
20011
|
+
states.set(id, { status: "checking" });
|
|
20012
|
+
notify();
|
|
20013
|
+
} catch (error51) {
|
|
20014
|
+
failure = errorMessage2(error51);
|
|
20015
|
+
}
|
|
20016
|
+
try {
|
|
20017
|
+
await diagnostics.refresh(host);
|
|
20018
|
+
const refreshed = diagnostics.snapshot().hosts.find((candidate) => candidate.hostId === host)?.agents.find((candidate) => candidate.agent === agent);
|
|
20019
|
+
if (refreshed?.availability === "ready") failure = void 0;
|
|
20020
|
+
} catch (error51) {
|
|
20021
|
+
failure ??= errorMessage2(error51);
|
|
20022
|
+
}
|
|
20023
|
+
if (failure) states.set(id, { status: "error", error: failure });
|
|
20024
|
+
else states.delete(id);
|
|
20025
|
+
notify();
|
|
20026
|
+
}
|
|
20027
|
+
};
|
|
20028
|
+
}
|
|
20029
|
+
function harnessInstallStore(diagnostics) {
|
|
20030
|
+
let store = stores.get(diagnostics);
|
|
20031
|
+
if (!store) {
|
|
20032
|
+
store = createStore(diagnostics);
|
|
20033
|
+
stores.set(diagnostics, store);
|
|
20034
|
+
}
|
|
20035
|
+
return store;
|
|
20036
|
+
}
|
|
20037
|
+
|
|
19915
20038
|
// src/settings/harness-launch-controls.ts
|
|
19916
20039
|
function createHarnessLaunchControls(document2, messages, agent, settings) {
|
|
19917
20040
|
const section = document2.createElement("section");
|
|
@@ -19989,6 +20112,164 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
19989
20112
|
return section;
|
|
19990
20113
|
}
|
|
19991
20114
|
|
|
20115
|
+
// src/settings/claude-long-context-control.ts
|
|
20116
|
+
var CLAUDE_LONG_CONTEXT_MODELS = [{ id: "claude-opus-5-5", window: "1M" }];
|
|
20117
|
+
var tooltipSequence = 0;
|
|
20118
|
+
function popoverOpen(tooltip) {
|
|
20119
|
+
try {
|
|
20120
|
+
return tooltip.matches(":popover-open");
|
|
20121
|
+
} catch {
|
|
20122
|
+
return false;
|
|
20123
|
+
}
|
|
20124
|
+
}
|
|
20125
|
+
function createClaudeLongContextControl(document2, messages, actions) {
|
|
20126
|
+
const control = document2.createElement("span");
|
|
20127
|
+
control.className = "settings-connection-long-context";
|
|
20128
|
+
const label = document2.createElement("label");
|
|
20129
|
+
label.className = "settings-connection-long-context__control";
|
|
20130
|
+
const text = document2.createElement("span");
|
|
20131
|
+
text.textContent = messages.connectionLongContextLabel;
|
|
20132
|
+
const input = document2.createElement("input");
|
|
20133
|
+
input.type = "checkbox";
|
|
20134
|
+
input.checked = true;
|
|
20135
|
+
input.setAttribute("role", "switch");
|
|
20136
|
+
input.setAttribute("aria-checked", "true");
|
|
20137
|
+
input.setAttribute("aria-label", messages.connectionLongContextLabel);
|
|
20138
|
+
input.dataset.connectionAction = "long-context";
|
|
20139
|
+
const tooltip = document2.createElement("div");
|
|
20140
|
+
tooltip.id = `settings-long-context-tooltip-${++tooltipSequence}`;
|
|
20141
|
+
tooltip.className = "settings-connection-long-context__tooltip";
|
|
20142
|
+
tooltip.setAttribute("role", "tooltip");
|
|
20143
|
+
tooltip.setAttribute("popover", "manual");
|
|
20144
|
+
tooltip.hidden = true;
|
|
20145
|
+
const on = document2.createElement("p");
|
|
20146
|
+
on.textContent = messages.connectionLongContextOn;
|
|
20147
|
+
const off = document2.createElement("p");
|
|
20148
|
+
off.textContent = messages.connectionLongContextOff;
|
|
20149
|
+
const modelsLabel = document2.createElement("p");
|
|
20150
|
+
modelsLabel.textContent = messages.connectionLongContextModelsLabel;
|
|
20151
|
+
const models = document2.createElement("ul");
|
|
20152
|
+
for (const model of CLAUDE_LONG_CONTEXT_MODELS) {
|
|
20153
|
+
const item = document2.createElement("li");
|
|
20154
|
+
item.textContent = `${model.id} (${model.window})`;
|
|
20155
|
+
models.append(item);
|
|
20156
|
+
}
|
|
20157
|
+
tooltip.append(on, off, modelsLabel, models);
|
|
20158
|
+
input.setAttribute("aria-describedby", tooltip.id);
|
|
20159
|
+
const stop = (event) => {
|
|
20160
|
+
event.stopPropagation();
|
|
20161
|
+
};
|
|
20162
|
+
control.addEventListener("click", stop);
|
|
20163
|
+
label.addEventListener("click", stop);
|
|
20164
|
+
input.addEventListener("click", stop);
|
|
20165
|
+
let surfaceReady = false;
|
|
20166
|
+
const applyTooltipSurface = () => {
|
|
20167
|
+
if (surfaceReady) return;
|
|
20168
|
+
const probe = document2.createElement("span");
|
|
20169
|
+
probe.style.cssText = "position:absolute;visibility:hidden;color:var(--settings-text);background-color:var(--settings-elevated);border-top-color:var(--settings-border)";
|
|
20170
|
+
control.append(probe);
|
|
20171
|
+
const computed = document2.defaultView?.getComputedStyle(probe);
|
|
20172
|
+
const color = computed?.color;
|
|
20173
|
+
const background = computed?.backgroundColor;
|
|
20174
|
+
const borderColor = computed?.borderTopColor;
|
|
20175
|
+
probe.remove();
|
|
20176
|
+
if (color) tooltip.style.color = color;
|
|
20177
|
+
if (background && background !== "rgba(0, 0, 0, 0)") tooltip.style.backgroundColor = background;
|
|
20178
|
+
if (borderColor) tooltip.style.border = `1px solid ${borderColor}`;
|
|
20179
|
+
surfaceReady = true;
|
|
20180
|
+
};
|
|
20181
|
+
const showTooltip = () => {
|
|
20182
|
+
const root = control.getRootNode();
|
|
20183
|
+
const host = root instanceof ShadowRoot ? root : document2.body ?? control;
|
|
20184
|
+
if (tooltip.parentNode !== host) host.append(tooltip);
|
|
20185
|
+
applyTooltipSurface();
|
|
20186
|
+
tooltip.hidden = false;
|
|
20187
|
+
if (typeof tooltip.showPopover === "function" && !popoverOpen(tooltip)) {
|
|
20188
|
+
try {
|
|
20189
|
+
tooltip.showPopover();
|
|
20190
|
+
} catch {
|
|
20191
|
+
tooltip.removeAttribute("popover");
|
|
20192
|
+
}
|
|
20193
|
+
}
|
|
20194
|
+
tooltip.style.position = "fixed";
|
|
20195
|
+
tooltip.style.inset = "auto";
|
|
20196
|
+
tooltip.style.zIndex = "80";
|
|
20197
|
+
tooltip.style.margin = "0";
|
|
20198
|
+
tooltip.style.height = "auto";
|
|
20199
|
+
tooltip.style.overflow = "visible";
|
|
20200
|
+
const rect = control.getBoundingClientRect();
|
|
20201
|
+
const margin = 8;
|
|
20202
|
+
const width = Math.min(280, Math.max(160, window.innerWidth - margin * 2));
|
|
20203
|
+
tooltip.style.width = `${width}px`;
|
|
20204
|
+
const preferredLeft = Math.min(
|
|
20205
|
+
Math.max(margin, rect.right - width),
|
|
20206
|
+
window.innerWidth - width - margin
|
|
20207
|
+
);
|
|
20208
|
+
const height = tooltip.offsetHeight;
|
|
20209
|
+
const below = rect.bottom + 8;
|
|
20210
|
+
const preferredTop = below + height <= window.innerHeight - margin ? below : Math.max(margin, rect.top - height - 8);
|
|
20211
|
+
tooltip.style.left = `${preferredLeft}px`;
|
|
20212
|
+
tooltip.style.top = `${preferredTop}px`;
|
|
20213
|
+
const placed = tooltip.getBoundingClientRect();
|
|
20214
|
+
const shiftX = preferredLeft - placed.left;
|
|
20215
|
+
const shiftY = preferredTop - placed.top;
|
|
20216
|
+
if (Math.abs(shiftX) > 0.5 || Math.abs(shiftY) > 0.5) {
|
|
20217
|
+
tooltip.style.left = `${preferredLeft + shiftX}px`;
|
|
20218
|
+
tooltip.style.top = `${preferredTop + shiftY}px`;
|
|
20219
|
+
}
|
|
20220
|
+
};
|
|
20221
|
+
const hideTooltip = () => {
|
|
20222
|
+
if (typeof tooltip.hidePopover === "function" && popoverOpen(tooltip)) {
|
|
20223
|
+
try {
|
|
20224
|
+
tooltip.hidePopover();
|
|
20225
|
+
} catch {
|
|
20226
|
+
}
|
|
20227
|
+
}
|
|
20228
|
+
tooltip.hidden = true;
|
|
20229
|
+
};
|
|
20230
|
+
control.addEventListener("mouseenter", showTooltip);
|
|
20231
|
+
control.addEventListener("mouseleave", hideTooltip);
|
|
20232
|
+
control.addEventListener("focusin", showTooltip);
|
|
20233
|
+
control.addEventListener("focusout", (event) => {
|
|
20234
|
+
const next = event.relatedTarget;
|
|
20235
|
+
if (next instanceof Node && control.contains(next)) return;
|
|
20236
|
+
hideTooltip();
|
|
20237
|
+
});
|
|
20238
|
+
let generation = 0;
|
|
20239
|
+
input.addEventListener("change", () => {
|
|
20240
|
+
const next = input.checked;
|
|
20241
|
+
generation += 1;
|
|
20242
|
+
const request = generation;
|
|
20243
|
+
input.disabled = true;
|
|
20244
|
+
input.setAttribute("aria-checked", String(next));
|
|
20245
|
+
void actions.set(next).then(
|
|
20246
|
+
(result) => {
|
|
20247
|
+
if (request !== generation) return;
|
|
20248
|
+
input.checked = result.enabled;
|
|
20249
|
+
input.setAttribute("aria-checked", String(result.enabled));
|
|
20250
|
+
input.disabled = false;
|
|
20251
|
+
},
|
|
20252
|
+
() => {
|
|
20253
|
+
if (request !== generation) return;
|
|
20254
|
+
input.checked = !next;
|
|
20255
|
+
input.setAttribute("aria-checked", String(!next));
|
|
20256
|
+
input.disabled = false;
|
|
20257
|
+
}
|
|
20258
|
+
);
|
|
20259
|
+
});
|
|
20260
|
+
void actions.get().then(
|
|
20261
|
+
(result) => {
|
|
20262
|
+
if (generation !== 0) return;
|
|
20263
|
+
input.checked = result.enabled;
|
|
20264
|
+
input.setAttribute("aria-checked", String(result.enabled));
|
|
20265
|
+
},
|
|
20266
|
+
() => void 0
|
|
20267
|
+
);
|
|
20268
|
+
label.append(text, input);
|
|
20269
|
+
control.append(label, tooltip);
|
|
20270
|
+
return control;
|
|
20271
|
+
}
|
|
20272
|
+
|
|
19992
20273
|
// src/settings/harness-version-panel.ts
|
|
19993
20274
|
function createHarnessVersionPanel(document2, messages, signal, agent, client) {
|
|
19994
20275
|
const panel = document2.createElement("section");
|
|
@@ -20009,19 +20290,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
20009
20290
|
update.type = "button";
|
|
20010
20291
|
update.className = "settings-command-button settings-command-button--secondary";
|
|
20011
20292
|
update.dataset.harnessVersionAction = "update";
|
|
20012
|
-
const guide = document2.createElement("a");
|
|
20013
|
-
guide.className = update.className;
|
|
20014
|
-
guide.href = harnessInstallationGuide(agent, messages.locale).url;
|
|
20015
|
-
guide.target = "_blank";
|
|
20016
|
-
guide.rel = "noopener noreferrer";
|
|
20017
|
-
guide.append(
|
|
20018
|
-
messages.connectionOpenInstallation,
|
|
20019
|
-
createRendererSettingsIcon("external-link", 14)
|
|
20020
|
-
);
|
|
20021
20293
|
const note = document2.createElement("p");
|
|
20022
20294
|
note.className = "settings-connection-issue-note";
|
|
20023
20295
|
note.textContent = messages.harnessVersionNote;
|
|
20024
|
-
actions.append(update
|
|
20296
|
+
actions.append(update);
|
|
20025
20297
|
panel.append(heading, versions, status, actions, note);
|
|
20026
20298
|
let state;
|
|
20027
20299
|
let busy = false;
|
|
@@ -20355,7 +20627,7 @@ ${error51.stderrTail}`] : []
|
|
|
20355
20627
|
body.append(summary, metadata, logHeader, log, actions, issueNote);
|
|
20356
20628
|
return body;
|
|
20357
20629
|
}
|
|
20358
|
-
function createConnectionBlock(document2, item, hostId, messages, expanded, toggleExpand, group = null, launchControls = null, versionCapable = false, detailNodes = []) {
|
|
20630
|
+
function createConnectionBlock(document2, item, hostId, messages, expanded, toggleExpand, group = null, launchControls = null, versionCapable = false, detailNodes = [], longContext = null) {
|
|
20359
20631
|
const block = document2.createElement("div");
|
|
20360
20632
|
block.className = "settings-connection-block";
|
|
20361
20633
|
block.dataset.connectionItem = item.key;
|
|
@@ -20414,6 +20686,7 @@ ${error51.stderrTail}`] : []
|
|
|
20414
20686
|
});
|
|
20415
20687
|
action.append(viewError);
|
|
20416
20688
|
}
|
|
20689
|
+
if (longContext) action.append(longContext);
|
|
20417
20690
|
if (group) {
|
|
20418
20691
|
const toggle = document2.createElement("button");
|
|
20419
20692
|
toggle.type = "button";
|
|
@@ -20432,6 +20705,8 @@ ${error51.stderrTail}`] : []
|
|
|
20432
20705
|
}
|
|
20433
20706
|
row.addEventListener("keydown", (event) => {
|
|
20434
20707
|
if (event.key !== "Enter" && event.key !== " ") return;
|
|
20708
|
+
const keyTarget = event.target;
|
|
20709
|
+
if (keyTarget?.closest?.("a, button, label, input")) return;
|
|
20435
20710
|
if (!canExpand) return;
|
|
20436
20711
|
event.preventDefault();
|
|
20437
20712
|
toggleExpand();
|
|
@@ -20455,7 +20730,7 @@ ${error51.stderrTail}`] : []
|
|
|
20455
20730
|
}
|
|
20456
20731
|
block.addEventListener("click", (event) => {
|
|
20457
20732
|
const target = event.target;
|
|
20458
|
-
if (target?.closest?.("a, button")) return;
|
|
20733
|
+
if (target?.closest?.("a, button, label, input")) return;
|
|
20459
20734
|
if (!canExpand) return;
|
|
20460
20735
|
toggleExpand();
|
|
20461
20736
|
});
|
|
@@ -20535,6 +20810,7 @@ ${error51.stderrTail}`] : []
|
|
|
20535
20810
|
let latestSnapshot = null;
|
|
20536
20811
|
let launchControls = null;
|
|
20537
20812
|
const versionPanels = /* @__PURE__ */ new Map();
|
|
20813
|
+
const longContextControls = /* @__PURE__ */ new Map();
|
|
20538
20814
|
const launchControlsFor = (hostId, item) => {
|
|
20539
20815
|
const getLaunchSettings = diagnostics?.getLaunchSettings;
|
|
20540
20816
|
const setLaunchSettings = diagnostics?.setLaunchSettings;
|
|
@@ -20551,7 +20827,26 @@ ${error51.stderrTail}`] : []
|
|
|
20551
20827
|
launchControls = { hostId, itemKey: item.key, element };
|
|
20552
20828
|
return element;
|
|
20553
20829
|
};
|
|
20830
|
+
const longContextControlFor = (hostId, item) => {
|
|
20831
|
+
const agent = item.agentSnapshot?.agent;
|
|
20832
|
+
const availability = item.agentSnapshot?.availability;
|
|
20833
|
+
const getLongContext = diagnostics?.getLongContext;
|
|
20834
|
+
const setLongContext = diagnostics?.setLongContext;
|
|
20835
|
+
if (agent !== "claude-code" || availability === "notInstalled" || availability === "checking" || !getLongContext || !setLongContext) {
|
|
20836
|
+
return null;
|
|
20837
|
+
}
|
|
20838
|
+
const key = JSON.stringify([hostId, agent]);
|
|
20839
|
+
const cached2 = longContextControls.get(key);
|
|
20840
|
+
if (cached2) return cached2;
|
|
20841
|
+
const element = createClaudeLongContextControl(document2, messages, {
|
|
20842
|
+
get: () => getLongContext(hostId, agent),
|
|
20843
|
+
set: (enabled) => setLongContext(hostId, agent, enabled)
|
|
20844
|
+
});
|
|
20845
|
+
longContextControls.set(key, element);
|
|
20846
|
+
return element;
|
|
20847
|
+
};
|
|
20554
20848
|
const diagnostics = getDiagnostics();
|
|
20849
|
+
const installs = diagnostics ? harnessInstallStore(diagnostics) : null;
|
|
20555
20850
|
const runRefresh = () => {
|
|
20556
20851
|
if (pending || !diagnostics) return;
|
|
20557
20852
|
pending = true;
|
|
@@ -20562,6 +20857,7 @@ ${error51.stderrTail}`] : []
|
|
|
20562
20857
|
);
|
|
20563
20858
|
void context.runLatest(() => diagnostics.refresh(), {
|
|
20564
20859
|
success() {
|
|
20860
|
+
installs?.clearErrors();
|
|
20565
20861
|
pending = false;
|
|
20566
20862
|
refresh.disabled = false;
|
|
20567
20863
|
refresh.replaceChildren(
|
|
@@ -20673,6 +20969,33 @@ ${error51.stderrTail}`] : []
|
|
|
20673
20969
|
runRefresh
|
|
20674
20970
|
)
|
|
20675
20971
|
);
|
|
20972
|
+
const installState = installs?.get(selectedHost.hostId, agent);
|
|
20973
|
+
const canInstall = selectedHost.hostId === "local" && agent !== "workbuddy" && diagnostics?.installation !== void 0;
|
|
20974
|
+
if (canInstall) {
|
|
20975
|
+
const busy = installState?.status === "installing" || installState?.status === "checking";
|
|
20976
|
+
if (installState?.error) {
|
|
20977
|
+
const error51 = document2.createElement("p");
|
|
20978
|
+
error51.className = "settings-connection-install-error";
|
|
20979
|
+
error51.setAttribute("role", "alert");
|
|
20980
|
+
error51.textContent = installState.error;
|
|
20981
|
+
nodes.push(error51);
|
|
20982
|
+
}
|
|
20983
|
+
if (busy) {
|
|
20984
|
+
const note = document2.createElement("p");
|
|
20985
|
+
note.textContent = messages.connectionInstallRunning;
|
|
20986
|
+
nodes.push(note);
|
|
20987
|
+
}
|
|
20988
|
+
const installNow = document2.createElement("button");
|
|
20989
|
+
installNow.type = "button";
|
|
20990
|
+
installNow.className = "settings-command-button";
|
|
20991
|
+
installNow.dataset.connectionAction = "run-install";
|
|
20992
|
+
installNow.disabled = busy;
|
|
20993
|
+
installNow.textContent = busy ? messages.connectionInstallRunning : messages.connectionInstall;
|
|
20994
|
+
installNow.addEventListener("click", () => {
|
|
20995
|
+
void installs?.install(selectedHost.hostId, agent);
|
|
20996
|
+
});
|
|
20997
|
+
nodes.push(installNow);
|
|
20998
|
+
}
|
|
20676
20999
|
}
|
|
20677
21000
|
const installation = diagnostics?.installation?.bind(diagnostics);
|
|
20678
21001
|
const versionCapable = Boolean(
|
|
@@ -20833,7 +21156,8 @@ ${error51.stderrTail}`] : []
|
|
|
20833
21156
|
createGroupController(agent, section),
|
|
20834
21157
|
launchControlsFor(selectedHost.hostId, item),
|
|
20835
21158
|
supplements.versionCapable,
|
|
20836
|
-
supplements.nodes
|
|
21159
|
+
supplements.nodes,
|
|
21160
|
+
longContextControlFor(selectedHost.hostId, item)
|
|
20837
21161
|
);
|
|
20838
21162
|
rowElements.set(item.key, row);
|
|
20839
21163
|
rows.append(block);
|
|
@@ -20908,7 +21232,8 @@ ${error51.stderrTail}`] : []
|
|
|
20908
21232
|
createGroupController(entry.agent, "more"),
|
|
20909
21233
|
launchControlsFor(selectedHost.hostId, item),
|
|
20910
21234
|
supplements.versionCapable,
|
|
20911
|
-
supplements.nodes
|
|
21235
|
+
supplements.nodes,
|
|
21236
|
+
longContextControlFor(selectedHost.hostId, item)
|
|
20912
21237
|
);
|
|
20913
21238
|
rowElements.set(item.key, row);
|
|
20914
21239
|
zone.append(block);
|
|
@@ -20928,10 +21253,14 @@ ${error51.stderrTail}`] : []
|
|
|
20928
21253
|
const unsubscribeGroup = groupPreference.subscribe(
|
|
20929
21254
|
() => render(diagnostics?.snapshot() ?? latestSnapshot)
|
|
20930
21255
|
);
|
|
21256
|
+
const unsubscribeInstalls = installs?.subscribe(
|
|
21257
|
+
() => render(diagnostics?.snapshot() ?? latestSnapshot)
|
|
21258
|
+
);
|
|
20931
21259
|
if (!diagnostics) {
|
|
20932
21260
|
refresh.disabled = true;
|
|
20933
21261
|
return () => {
|
|
20934
21262
|
unsubscribeGroup();
|
|
21263
|
+
unsubscribeInstalls?.();
|
|
20935
21264
|
};
|
|
20936
21265
|
}
|
|
20937
21266
|
refresh.addEventListener("click", runRefresh);
|
|
@@ -20939,6 +21268,7 @@ ${error51.stderrTail}`] : []
|
|
|
20939
21268
|
return () => {
|
|
20940
21269
|
unsubscribe();
|
|
20941
21270
|
unsubscribeGroup();
|
|
21271
|
+
unsubscribeInstalls?.();
|
|
20942
21272
|
};
|
|
20943
21273
|
}
|
|
20944
21274
|
});
|
|
@@ -23363,7 +23693,7 @@ ${error51.stderrTail}`] : []
|
|
|
23363
23693
|
}
|
|
23364
23694
|
|
|
23365
23695
|
// src/settings/accounts-page.ts
|
|
23366
|
-
function
|
|
23696
|
+
function errorMessage3(error51, fallback) {
|
|
23367
23697
|
return error51 instanceof Error && error51.message ? error51.message : fallback;
|
|
23368
23698
|
}
|
|
23369
23699
|
function createAccountsSettingsPage(messages, getClient) {
|
|
@@ -23663,7 +23993,7 @@ ${error51.stderrTail}`] : []
|
|
|
23663
23993
|
refreshInBackground();
|
|
23664
23994
|
},
|
|
23665
23995
|
failure(error51) {
|
|
23666
|
-
loadMessage =
|
|
23996
|
+
loadMessage = errorMessage3(error51, messages.accountLoadFailed);
|
|
23667
23997
|
render();
|
|
23668
23998
|
}
|
|
23669
23999
|
});
|
|
@@ -25429,6 +25759,27 @@ ${error51.stderrTail}`] : []
|
|
|
25429
25759
|
font-size: 12px;
|
|
25430
25760
|
}
|
|
25431
25761
|
|
|
25762
|
+
.settings-connection-website {
|
|
25763
|
+
display: inline-flex;
|
|
25764
|
+
align-items: center;
|
|
25765
|
+
justify-content: center;
|
|
25766
|
+
flex: none;
|
|
25767
|
+
width: 22px;
|
|
25768
|
+
height: 22px;
|
|
25769
|
+
color: var(--settings-muted);
|
|
25770
|
+
border-radius: 4px;
|
|
25771
|
+
}
|
|
25772
|
+
|
|
25773
|
+
.settings-connection-website:hover {
|
|
25774
|
+
color: var(--settings-focus);
|
|
25775
|
+
background: var(--settings-hover);
|
|
25776
|
+
}
|
|
25777
|
+
|
|
25778
|
+
.settings-connection-website:focus-visible {
|
|
25779
|
+
outline: 2px solid var(--settings-focus);
|
|
25780
|
+
outline-offset: 1px;
|
|
25781
|
+
}
|
|
25782
|
+
|
|
25432
25783
|
.settings-connection-install-link {
|
|
25433
25784
|
display: inline-flex;
|
|
25434
25785
|
align-items: center;
|
|
@@ -25445,6 +25796,11 @@ ${error51.stderrTail}`] : []
|
|
|
25445
25796
|
cursor: pointer;
|
|
25446
25797
|
}
|
|
25447
25798
|
|
|
25799
|
+
.settings-connection-install-link:disabled {
|
|
25800
|
+
opacity: 0.45;
|
|
25801
|
+
cursor: wait;
|
|
25802
|
+
}
|
|
25803
|
+
|
|
25448
25804
|
.settings-connection-install-link:hover,
|
|
25449
25805
|
.settings-connection-install-link:focus-visible {
|
|
25450
25806
|
color: var(--settings-focus);
|
|
@@ -25452,6 +25808,113 @@ ${error51.stderrTail}`] : []
|
|
|
25452
25808
|
border-color: var(--settings-border);
|
|
25453
25809
|
}
|
|
25454
25810
|
|
|
25811
|
+
.settings-connection-long-context {
|
|
25812
|
+
position: relative;
|
|
25813
|
+
display: inline-flex;
|
|
25814
|
+
}
|
|
25815
|
+
|
|
25816
|
+
.settings-connection-long-context__control {
|
|
25817
|
+
display: inline-flex;
|
|
25818
|
+
align-items: center;
|
|
25819
|
+
gap: 6px;
|
|
25820
|
+
margin: 0;
|
|
25821
|
+
color: var(--settings-text);
|
|
25822
|
+
font-size: 12px;
|
|
25823
|
+
font-weight: 600;
|
|
25824
|
+
line-height: 1;
|
|
25825
|
+
cursor: pointer;
|
|
25826
|
+
user-select: none;
|
|
25827
|
+
background: transparent;
|
|
25828
|
+
border: 0;
|
|
25829
|
+
}
|
|
25830
|
+
|
|
25831
|
+
.settings-connection-long-context__tooltip {
|
|
25832
|
+
position: fixed;
|
|
25833
|
+
inset: auto;
|
|
25834
|
+
z-index: 80;
|
|
25835
|
+
box-sizing: border-box;
|
|
25836
|
+
width: min(280px, calc(100vw - 16px));
|
|
25837
|
+
height: auto;
|
|
25838
|
+
max-height: none;
|
|
25839
|
+
margin: 0;
|
|
25840
|
+
overflow: visible;
|
|
25841
|
+
padding: 8px 10px;
|
|
25842
|
+
color: var(--settings-text);
|
|
25843
|
+
font-size: 12px;
|
|
25844
|
+
font-weight: 400;
|
|
25845
|
+
line-height: 1.45;
|
|
25846
|
+
text-align: left;
|
|
25847
|
+
white-space: normal;
|
|
25848
|
+
display: grid;
|
|
25849
|
+
gap: 6px;
|
|
25850
|
+
background: var(--settings-elevated);
|
|
25851
|
+
border: 1px solid var(--settings-border);
|
|
25852
|
+
border-radius: 8px;
|
|
25853
|
+
box-shadow: 0 10px 24px rgb(0 0 0 / 28%);
|
|
25854
|
+
pointer-events: none;
|
|
25855
|
+
}
|
|
25856
|
+
|
|
25857
|
+
.settings-connection-long-context__tooltip p,
|
|
25858
|
+
.settings-connection-long-context__tooltip ul {
|
|
25859
|
+
margin: 0;
|
|
25860
|
+
}
|
|
25861
|
+
|
|
25862
|
+
.settings-connection-long-context__tooltip ul {
|
|
25863
|
+
padding-left: 0;
|
|
25864
|
+
list-style: none;
|
|
25865
|
+
}
|
|
25866
|
+
|
|
25867
|
+
.settings-connection-long-context__tooltip li + li {
|
|
25868
|
+
margin-top: 2px;
|
|
25869
|
+
}
|
|
25870
|
+
|
|
25871
|
+
.settings-connection-long-context__tooltip li::before {
|
|
25872
|
+
content: "- ";
|
|
25873
|
+
}
|
|
25874
|
+
|
|
25875
|
+
.settings-connection-long-context input {
|
|
25876
|
+
position: relative;
|
|
25877
|
+
flex: none;
|
|
25878
|
+
width: 32px;
|
|
25879
|
+
height: 18px;
|
|
25880
|
+
margin: 0;
|
|
25881
|
+
appearance: none;
|
|
25882
|
+
background: var(--settings-surface-hover);
|
|
25883
|
+
border: 0;
|
|
25884
|
+
border-radius: 999px;
|
|
25885
|
+
cursor: pointer;
|
|
25886
|
+
}
|
|
25887
|
+
|
|
25888
|
+
.settings-connection-long-context input::before {
|
|
25889
|
+
position: absolute;
|
|
25890
|
+
top: 2px;
|
|
25891
|
+
left: 2px;
|
|
25892
|
+
width: 14px;
|
|
25893
|
+
height: 14px;
|
|
25894
|
+
content: "";
|
|
25895
|
+
background: #fff;
|
|
25896
|
+
border-radius: 50%;
|
|
25897
|
+
box-shadow: 0 1px 2px rgb(0 0 0 / 30%);
|
|
25898
|
+
}
|
|
25899
|
+
|
|
25900
|
+
.settings-connection-long-context input:checked {
|
|
25901
|
+
background: var(--settings-focus);
|
|
25902
|
+
}
|
|
25903
|
+
|
|
25904
|
+
.settings-connection-long-context input:checked::before {
|
|
25905
|
+
transform: translateX(14px);
|
|
25906
|
+
}
|
|
25907
|
+
|
|
25908
|
+
.settings-connection-long-context input:focus-visible {
|
|
25909
|
+
outline: 2px solid var(--settings-focus);
|
|
25910
|
+
outline-offset: 2px;
|
|
25911
|
+
}
|
|
25912
|
+
|
|
25913
|
+
.settings-connection-long-context input:disabled {
|
|
25914
|
+
cursor: default;
|
|
25915
|
+
opacity: 0.6;
|
|
25916
|
+
}
|
|
25917
|
+
|
|
25455
25918
|
.settings-connection-row__group-toggle {
|
|
25456
25919
|
display: inline-flex;
|
|
25457
25920
|
align-items: center;
|
|
@@ -25519,6 +25982,10 @@ ${error51.stderrTail}`] : []
|
|
|
25519
25982
|
padding: 12px;
|
|
25520
25983
|
}
|
|
25521
25984
|
|
|
25985
|
+
.settings-connection-inspector__body:empty {
|
|
25986
|
+
display: none;
|
|
25987
|
+
}
|
|
25988
|
+
|
|
25522
25989
|
.settings-harness-version {
|
|
25523
25990
|
display: grid;
|
|
25524
25991
|
gap: 10px;
|
|
@@ -26724,7 +27191,7 @@ ${error51.stderrTail}`] : []
|
|
|
26724
27191
|
`;
|
|
26725
27192
|
|
|
26726
27193
|
// src/settings/tailwind.css
|
|
26727
|
-
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}.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-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-settings-border{--tw-ring-color:var(--settings-border)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.outline-none{--tw-outline-style:none;outline-style:none}.ring-inset{--tw-ring-inset:inset}.group-focus-within\\:visible:is(:where(.group):focus-within *){visibility:visible}.group-focus-within\\:opacity-100:is(:where(.group):focus-within *){opacity:1}@media (hover:hover){.group-hover\\:visible:is(:where(.group):hover *){visibility:visible}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-\\[state\\=failed\\]\\/status\\:bg-settings-danger:is(:where(.group\\/status)[data-state=failed] *){background-color:var(--settings-danger)}.group-data-\\[state\\=unavailable\\]\\/status\\:bg-settings-warning:is(:where(.group\\/status)[data-state=unavailable] *){background-color:var(--settings-warning)}.marker\\:text-settings-subtle ::marker{color:var(--settings-subtle)}.marker\\:text-settings-subtle::marker{color:var(--settings-subtle)}.marker\\:text-settings-subtle ::-webkit-details-marker{color:var(--settings-subtle)}.marker\\:text-settings-subtle::-webkit-details-marker{color:var(--settings-subtle)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:top-0\\.5:before{content:var(--tw-content);top:calc(var(--spacing) * .5)}.before\\:left-0\\.5:before{content:var(--tw-content);left:calc(var(--spacing) * .5)}.before\\:size-4:before{content:var(--tw-content);width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.before\\:rounded-full:before{content:var(--tw-content);border-radius:3.40282e38px}.before\\:bg-white:before{content:var(--tw-content);background-color:#fff}.before\\:shadow-\\[0_1px_2px_rgb\\(0_0_0\\/0\\.3\\)\\]:before{content:var(--tw-content);--tw-shadow:0 1px 2px var(--tw-shadow-color,#0000004d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.before\\:transition-transform:before{content:var(--tw-content);transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.first\\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first-of-type\\:mt-0:first-of-type{margin-top:0}.checked\\:bg-settings-focus:checked{background-color:var(--settings-focus)}.checked\\:ring-transparent:checked{--tw-ring-color:transparent}.checked\\:before\\:translate-x-4:checked:before{content:var(--tw-content);--tw-translate-x:calc(var(--spacing) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.focus-within\\:border-settings-focus:focus-within{border-color:var(--settings-focus)}@media (hover:hover){.hover\\:text-settings-text:hover{color:var(--settings-text)}}.focus-visible\\:text-settings-text:focus-visible{color:var(--settings-text)}.focus-visible\\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\\:outline-settings-focus:focus-visible{outline-color:var(--settings-focus)}.data-\\[invalid\\=true\\]\\:border-settings-danger[data-invalid=true]{border-color:var(--settings-danger)}.data-\\[invalid\\=true\\]\\:text-settings-danger[data-invalid=true],.data-\\[state\\=failed\\]\\:text-settings-danger[data-state=failed]{color:var(--settings-danger)}.data-\\[state\\=unavailable\\]\\:text-settings-warning[data-state=unavailable]{color:var(--settings-warning)}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@layer properties{\n *, ::before, ::after, ::backdrop{--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-alpha:100%;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-offset-width:0;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-drop-shadow-alpha:100%;--tw-content:"";--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}}\n';
|
|
27194
|
+
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-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-settings-border{--tw-ring-color:var(--settings-border)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.outline-none{--tw-outline-style:none;outline-style:none}.ring-inset{--tw-ring-inset:inset}.group-focus-within\\:visible:is(:where(.group):focus-within *){visibility:visible}.group-focus-within\\:opacity-100:is(:where(.group):focus-within *){opacity:1}@media (hover:hover){.group-hover\\:visible:is(:where(.group):hover *){visibility:visible}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-\\[state\\=failed\\]\\/status\\:bg-settings-danger:is(:where(.group\\/status)[data-state=failed] *){background-color:var(--settings-danger)}.group-data-\\[state\\=unavailable\\]\\/status\\:bg-settings-warning:is(:where(.group\\/status)[data-state=unavailable] *){background-color:var(--settings-warning)}.marker\\:text-settings-subtle ::marker{color:var(--settings-subtle)}.marker\\:text-settings-subtle::marker{color:var(--settings-subtle)}.marker\\:text-settings-subtle ::-webkit-details-marker{color:var(--settings-subtle)}.marker\\:text-settings-subtle::-webkit-details-marker{color:var(--settings-subtle)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:top-0\\.5:before{content:var(--tw-content);top:calc(var(--spacing) * .5)}.before\\:left-0\\.5:before{content:var(--tw-content);left:calc(var(--spacing) * .5)}.before\\:size-4:before{content:var(--tw-content);width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.before\\:rounded-full:before{content:var(--tw-content);border-radius:3.40282e38px}.before\\:bg-white:before{content:var(--tw-content);background-color:#fff}.before\\:shadow-\\[0_1px_2px_rgb\\(0_0_0\\/0\\.3\\)\\]:before{content:var(--tw-content);--tw-shadow:0 1px 2px var(--tw-shadow-color,#0000004d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.before\\:transition-transform:before{content:var(--tw-content);transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.first\\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first-of-type\\:mt-0:first-of-type{margin-top:0}.checked\\:bg-settings-focus:checked{background-color:var(--settings-focus)}.checked\\:ring-transparent:checked{--tw-ring-color:transparent}.checked\\:before\\:translate-x-4:checked:before{content:var(--tw-content);--tw-translate-x:calc(var(--spacing) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.focus-within\\:border-settings-focus:focus-within{border-color:var(--settings-focus)}@media (hover:hover){.hover\\:text-settings-text:hover{color:var(--settings-text)}}.focus-visible\\:text-settings-text:focus-visible{color:var(--settings-text)}.focus-visible\\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\\:outline-settings-focus:focus-visible{outline-color:var(--settings-focus)}.data-\\[invalid\\=true\\]\\:border-settings-danger[data-invalid=true]{border-color:var(--settings-danger)}.data-\\[invalid\\=true\\]\\:text-settings-danger[data-invalid=true],.data-\\[state\\=failed\\]\\:text-settings-danger[data-state=failed]{color:var(--settings-danger)}.data-\\[state\\=unavailable\\]\\:text-settings-warning[data-state=unavailable]{color:var(--settings-warning)}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@layer properties{\n *, ::before, ::after, ::backdrop{--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-alpha:100%;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-offset-width:0;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-drop-shadow-alpha:100%;--tw-content:"";--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}}\n';
|
|
26728
27195
|
|
|
26729
27196
|
// src/console/app.ts
|
|
26730
27197
|
function required2(pages, id) {
|