@liberseek/boft-cli-win32-arm64 0.7.6 → 0.7.8

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.
@@ -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,14 +15366,17 @@ 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),
15357
15373
  latestVersion: external_exports.string().min(1).max(128),
15358
15374
  updateAvailable: external_exports.boolean(),
15359
15375
  canUpdate: external_exports.boolean(),
15360
- message: external_exports.string().max(2048).optional()
15376
+ // Adapter-owned diagnostic text; UI uses messageCode rather than displaying it verbatim.
15377
+ message: external_exports.string().max(2048).optional(),
15378
+ messageCode: external_exports.string().min(1).max(128).optional(),
15379
+ latestVersionKind: external_exports.enum(["unknown", "tracking-branch"]).optional()
15361
15380
  }).strict();
15362
15381
 
15363
15382
  // ../shared-contracts/dist/codex-accounts.js
@@ -15650,7 +15669,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
15650
15669
  }
15651
15670
  });
15652
15671
  var updateEmptyParamsSchema = external_exports.strictObject({});
15653
- var githubReleaseNotesUrlSchema = external_exports.string().max(300).regex(/^https:\/\/github\.com\/LiberSeek\/BOFT-CLI\/releases\/tag\/v[0-9A-Za-z.+-]+$/u, "release notes URL must identify a codexhost GitHub Release");
15672
+ var githubReleaseNotesUrlSchema = external_exports.string().max(300).regex(/^https:\/\/github\.com\/(LiberSeek|LIBERSEEK)\/BOFT-CLI\/releases\/tag\/v[0-9A-Za-z.+-]+$/u, "release notes URL must identify a codexhost GitHub Release");
15654
15673
  var updateCheckResultSchema = external_exports.strictObject({
15655
15674
  currentVersion: updateSemanticVersionSchema,
15656
15675
  installation: updateInstallationSchema.nullable(),
@@ -16692,7 +16711,16 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
16692
16711
  return pending;
16693
16712
  };
16694
16713
  let started = false;
16714
+ const installation = client.installation?.bind(client);
16695
16715
  return {
16716
+ ...installation ? {
16717
+ installation: async (hostId, agent, action) => {
16718
+ if (hostId !== "local") {
16719
+ throw new Error("Web console installation only supports the local Host");
16720
+ }
16721
+ return installation({ harnessId: harnessIdSchema.parse(agent), action });
16722
+ }
16723
+ } : {},
16696
16724
  snapshot() {
16697
16725
  if (!started) {
16698
16726
  started = true;
@@ -16727,6 +16755,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
16727
16755
  if (!client.setHarnessLaunchSettings) throw new Error("Launch settings are unavailable");
16728
16756
  return client.setHarnessLaunchSettings({ harnessId: agent, path });
16729
16757
  },
16758
+ async getLongContext(_hostId, agent) {
16759
+ if (!client.getHarnessLongContext) throw new Error("1M context is unavailable");
16760
+ return client.getHarnessLongContext({ harnessId: agent });
16761
+ },
16762
+ async setLongContext(_hostId, agent, enabled) {
16763
+ if (!client.setHarnessLongContext) throw new Error("1M context is unavailable");
16764
+ return client.setHarnessLongContext({ harnessId: agent, enabled });
16765
+ },
16730
16766
  subscribe(listener) {
16731
16767
  listeners.add(listener);
16732
16768
  return () => listeners.delete(listener);
@@ -17523,6 +17559,18 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
17523
17559
  };
17524
17560
  }
17525
17561
 
17562
+ // src/renderer-native-thread.ts
17563
+ function isRecord(value) {
17564
+ return typeof value === "object" && value !== null && !Array.isArray(value);
17565
+ }
17566
+ async function verifyNativeCodexThread(sendRequest, threadId) {
17567
+ const native = await sendRequest("thread/read", { threadId, includeTurns: false });
17568
+ const thread = isRecord(native) ? native.thread : null;
17569
+ if (!isRecord(thread) || thread.id !== threadId || typeof thread.modelProvider !== "string" || !thread.modelProvider || thread.modelProvider === "codexhost" || typeof thread.cliVersion !== "string" || !thread.cliVersion || thread.cliVersion === "codexhost") {
17570
+ throw new Error("Native Thread response cannot establish Codex ownership");
17571
+ }
17572
+ }
17573
+
17526
17574
  // src/renderer-session-import-client.ts
17527
17575
  var RendererSessionImportUnavailableError = class extends Error {
17528
17576
  constructor() {
@@ -17598,15 +17646,15 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
17598
17646
  var CODEX_ACCOUNT_LIST_METHOD = "codexhost/account/list";
17599
17647
  var CODEX_ACCOUNT_REFRESH_METHOD = "codexhost/account/refresh";
17600
17648
  var CODEX_ACCOUNT_CHANGED_METHOD = "codexhost/account/changed";
17601
- function isRecord(value) {
17649
+ function isRecord2(value) {
17602
17650
  return typeof value === "object" && value !== null && !Array.isArray(value);
17603
17651
  }
17604
17652
  function notifiedThreadId(notification) {
17605
- if (!isRecord(notification) || !THREAD_USAGE_REFRESH_METHODS.includes(notification.method)) {
17653
+ if (!isRecord2(notification) || !THREAD_USAGE_REFRESH_METHODS.includes(notification.method)) {
17606
17654
  return null;
17607
17655
  }
17608
17656
  const params = notification.params;
17609
- if (!isRecord(params)) return null;
17657
+ if (!isRecord2(params)) return null;
17610
17658
  const parsed = hostThreadIdSchema.safeParse(params.threadId);
17611
17659
  return parsed.success ? parsed.data : null;
17612
17660
  }
@@ -17702,6 +17750,22 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
17702
17750
  )
17703
17751
  );
17704
17752
  },
17753
+ async getHarnessLongContext(input) {
17754
+ return harnessLongContextSchema.parse(
17755
+ await manager.sendRequest(
17756
+ HARNESS_LONG_CONTEXT_GET_METHOD,
17757
+ harnessLongContextGetSchema.parse(input)
17758
+ )
17759
+ );
17760
+ },
17761
+ async setHarnessLongContext(input) {
17762
+ return harnessLongContextSchema.parse(
17763
+ await manager.sendRequest(
17764
+ HARNESS_LONG_CONTEXT_SET_METHOD,
17765
+ harnessLongContextSetSchema.parse(input)
17766
+ )
17767
+ );
17768
+ },
17705
17769
  async listLoadedSessions() {
17706
17770
  return loadedSessionsSchema.parse(await manager.sendRequest(LOADED_SESSIONS_METHOD, {}));
17707
17771
  },
@@ -17737,14 +17801,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
17737
17801
  result = await manager.sendRequest(THREAD_INSPECT_METHOD, params);
17738
17802
  } catch (error51) {
17739
17803
  if (!(error51 instanceof RendererMethodUnavailableError)) throw error51;
17740
- const native = await manager.sendRequest("thread/read", {
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
- }
17804
+ await verifyNativeCodexThread(manager.sendRequest, params.threadId);
17748
17805
  return { owner: "codex", locked: true };
17749
17806
  }
17750
17807
  return threadInspectionSchema.parse(result);
@@ -17882,7 +17939,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
17882
17939
  throw new Error("Renderer Account notification callback is unavailable");
17883
17940
  }
17884
17941
  return notifications.addNotificationCallback(CODEX_ACCOUNT_CHANGED_METHOD, (notification) => {
17885
- if (!isRecord(notification) || notification.method !== CODEX_ACCOUNT_CHANGED_METHOD) return;
17942
+ if (!isRecord2(notification) || notification.method !== CODEX_ACCOUNT_CHANGED_METHOD) return;
17886
17943
  const state = codexAccountChangedSchema.safeParse(notification.params);
17887
17944
  if (state.success) listener(state.data);
17888
17945
  });
@@ -18749,6 +18806,52 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
18749
18806
  close: "\u5B8C\u6210"
18750
18807
  };
18751
18808
 
18809
+ // src/settings/harness-version-messages.ts
18810
+ var harnessVersionEnglish = Object.freeze({
18811
+ unknown: "Unknown",
18812
+ trackingBranch: "Tracking branch (new commits)",
18813
+ notes: Object.freeze({
18814
+ "original-installer": "Use the original installer, package manager, or launcher to update this installation.",
18815
+ "claude-policy-restricted": "Claude updates are restricted by the installation's settings or policy.",
18816
+ "codebuddy-npm-required": "Use CodeBuddy's native updater or original package manager. Latest-version checks here require an identified npm installation.",
18817
+ "deepseek-original-installer": "Update with the original installer. Python, desktop, and project-local installations are not upgraded through global npm.",
18818
+ "kiro-native-updater": "Use Kiro CLI's original installer or native updater to check for and install updates.",
18819
+ "qoder-check-unavailable": "This Qoder China release does not expose a non-installing update check. Use its original installer.",
18820
+ "hermes-update-plan-unavailable": "This Hermes release does not expose a safe update plan. Use the original installer.",
18821
+ "hermes-externally-managed": "This Hermes installation is managed externally. Update it through its desktop app, container, or original package manager.",
18822
+ "hermes-update-channel": "Uses Hermes's configured update channel. Gateway restarts are deferred; existing processes keep their running code.",
18823
+ "hermes-manual-update": "Use the native updater manually. Safe non-interactive updates require a clean source checkout, commit identity, and Gateway restart deferral."
18824
+ })
18825
+ });
18826
+ var harnessVersionChinese = Object.freeze({
18827
+ unknown: "\u672A\u77E5",
18828
+ trackingBranch: "\u8DDF\u8E2A\u5206\u652F\uFF08\u6709\u65B0\u63D0\u4EA4\uFF09",
18829
+ notes: Object.freeze({
18830
+ "original-installer": "\u8BF7\u4F7F\u7528\u539F\u5B89\u88C5\u7A0B\u5E8F\u3001\u5305\u7BA1\u7406\u5668\u6216\u542F\u52A8\u5668\u66F4\u65B0\u6B64\u5B89\u88C5\u3002",
18831
+ "claude-policy-restricted": "\u6B64 Claude \u5B89\u88C5\u7684\u8BBE\u7F6E\u6216\u7B56\u7565\u9650\u5236\u4E86\u66F4\u65B0\u3002",
18832
+ "codebuddy-npm-required": "\u8BF7\u4F7F\u7528 CodeBuddy \u539F\u751F\u66F4\u65B0\u5668\u6216\u539F\u5305\u7BA1\u7406\u5668\u66F4\u65B0\u3002\u6B64\u5904\u4EC5\u80FD\u67E5\u8BE2\u5DF2\u8BC6\u522B\u7684 npm \u5B89\u88C5\u7684\u6700\u65B0\u7248\u672C\u3002",
18833
+ "deepseek-original-installer": "\u8BF7\u4F7F\u7528\u539F\u5B89\u88C5\u65B9\u5F0F\u66F4\u65B0\u3002Python\u3001\u684C\u9762\u5E94\u7528\u53CA\u9879\u76EE\u5185\u5B89\u88C5\u4E0D\u4F1A\u901A\u8FC7\u5168\u5C40 npm \u66F4\u65B0\u3002",
18834
+ "kiro-native-updater": "\u8BF7\u4F7F\u7528 Kiro CLI \u539F\u5B89\u88C5\u7A0B\u5E8F\u6216\u539F\u751F\u66F4\u65B0\u5668\u68C0\u67E5\u5E76\u5B89\u88C5\u66F4\u65B0\u3002",
18835
+ "qoder-check-unavailable": "\u6B64 Qoder \u4E2D\u56FD\u7248\u5C1A\u4E0D\u652F\u6301\u53EA\u68C0\u67E5\u3001\u4E0D\u5B89\u88C5\u7684\u66F4\u65B0\u67E5\u8BE2\uFF0C\u8BF7\u4F7F\u7528\u539F\u5B89\u88C5\u65B9\u5F0F\u66F4\u65B0\u3002",
18836
+ "hermes-update-plan-unavailable": "\u6B64 Hermes \u7248\u672C\u4E0D\u63D0\u4F9B\u5B89\u5168\u7684\u66F4\u65B0\u8BA1\u5212\uFF0C\u8BF7\u4F7F\u7528\u539F\u5B89\u88C5\u65B9\u5F0F\u66F4\u65B0\u3002",
18837
+ "hermes-externally-managed": "\u6B64 Hermes \u5B89\u88C5\u7531\u5916\u90E8\u5DE5\u5177\u7BA1\u7406\uFF0C\u8BF7\u901A\u8FC7\u5176\u684C\u9762\u5E94\u7528\u3001\u5BB9\u5668\u6216\u539F\u5305\u7BA1\u7406\u5668\u66F4\u65B0\u3002",
18838
+ "hermes-update-channel": "\u4F7F\u7528 Hermes \u914D\u7F6E\u7684\u66F4\u65B0\u6E20\u9053\uFF0C\u6682\u4E0D\u91CD\u542F Gateway\uFF1B\u73B0\u6709\u8FDB\u7A0B\u7EE7\u7EED\u8FD0\u884C\u539F\u6709\u4EE3\u7801\u3002",
18839
+ "hermes-manual-update": "\u8BF7\u624B\u52A8\u4F7F\u7528\u539F\u751F\u66F4\u65B0\u5668\u3002\u5B89\u5168\u7684\u975E\u4EA4\u4E92\u66F4\u65B0\u8981\u6C42\u6E90\u7801\u76EE\u5F55\u65E0\u672A\u63D0\u4EA4\u4FEE\u6539\u3001\u53EF\u8BC6\u522B\u5F53\u524D\u63D0\u4EA4\uFF0C\u5E76\u652F\u6301\u63A8\u8FDF Gateway \u91CD\u542F\u3002"
18840
+ })
18841
+ });
18842
+ function harnessVersionLabel(state, messages) {
18843
+ if (!state) return "\u2014";
18844
+ if (state.latestVersionKind === "unknown" || state.latestVersion === "Unknown")
18845
+ return messages.unknown;
18846
+ if (state.latestVersionKind === "tracking-branch" || state.latestVersion === "Tracking branch (new commits)")
18847
+ return messages.trackingBranch;
18848
+ return state.latestVersion;
18849
+ }
18850
+ function harnessVersionNote(state, messages) {
18851
+ const code = state?.messageCode;
18852
+ return code && Object.hasOwn(messages.notes, code) ? messages.notes[code] : void 0;
18853
+ }
18854
+
18752
18855
  // src/settings/localization.ts
18753
18856
  var ENGLISH_MESSAGES = Object.freeze({
18754
18857
  credentialImports: credentialImportEnglish,
@@ -18899,19 +19002,20 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
18899
19002
  connectionCopyDetails: "Copy diagnostics",
18900
19003
  connectionCopied: "Copied",
18901
19004
  connectionCopyFailed: "Copy failed",
18902
- connectionErrorCode: "Error code",
18903
19005
  connectionErrorMessage: "Error message",
18904
- connectionRetryable: "Retryable",
18905
- connectionFailureStage: "Failure stage",
18906
- connectionDuration: "Duration",
18907
- connectionDiagnostic: "Diagnostic",
18908
19006
  connectionNoRuntime: "The renderer request bridge is not available yet.",
18909
19007
  connectionStatusReady: "Ready",
19008
+ connectionStatusConnected: "Connected",
19009
+ connectionLoginRequired: "Login required",
19010
+ connectionConfigurationRequired: "Setup required",
19011
+ connectionConfigurationDescription: "Configure a Provider and its required credentials in this Harness on the selected Host, then check the connection again.",
19012
+ connectionLoginDescription: "Complete login or authentication setup in this Harness on the selected Host, then check the connection again.",
18910
19013
  connectionStatusChecking: "Checking",
18911
19014
  connectionStatusNotInstalled: "Not installed",
18912
19015
  connectionStatusUnavailable: "Unavailable",
18913
19016
  connectionStatusError: "Error",
18914
19017
  connectionStatusInstalling: "Installing",
19018
+ connectionStatusUpdating: "Updating",
18915
19019
  connectionStatusUnsupported: "Unsupported",
18916
19020
  connectionComponent: "Component",
18917
19021
  connectionStatus: "Status",
@@ -18930,14 +19034,21 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
18930
19034
  launchPathLoading: "Loading launch settings\u2026",
18931
19035
  launchPathLoadError: "Could not load launch settings. Reopen this detail panel to retry.",
18932
19036
  launchPathSaveError: "Could not save. Enter an existing absolute installation folder on this Host and check configuration permissions.",
19037
+ connectionOfficialWebsite: "Visit official website",
18933
19038
  connectionOpenInstallation: "Open official installation page",
18934
19039
  connectionOpenHarnessWeb: "Open DeepSeek Harness Web",
18935
- connectionDeepSeekTestedVersions: "Supported DSH versions: 0.1.2-rc.1, 0.1.5-rc.1, 0.1.5-rc.2, 0.1.5-rc.3, 0.1.7-rc.1 and 0.1.7-rc.2. Other versions may connect after native protocol checks, but are not listed as supported.",
19040
+ 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
19041
  connectionInstall: "Install",
19042
+ connectionLongContextLabel: "1M",
19043
+ connectionLongContextOn: "On: Claude models use a 1M context window. Claude CLI uses that larger window locally.",
19044
+ connectionLongContextOff: "Off: Claude models use the 200k window.",
19045
+ connectionLongContextModelsLabel: "Models:",
18937
19046
  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
19047
  connectionInstallCommand: "Install command",
18939
19048
  connectionCopyPrompt: "Copy prompt",
18940
19049
  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.",
19050
+ connectionInstallRunning: "Installing on the selected Host. You can leave this page; login or setup may still be required afterward.",
19051
+ harnessVersion: harnessVersionEnglish,
18941
19052
  harnessVersionTitle: "Harness CLI version",
18942
19053
  harnessVersionCurrent: "Current version",
18943
19054
  harnessVersionLatest: "Latest version",
@@ -19193,19 +19304,20 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
19193
19304
  connectionCopyDetails: "\u590D\u5236\u8BCA\u65AD\u4FE1\u606F",
19194
19305
  connectionCopied: "\u5DF2\u590D\u5236",
19195
19306
  connectionCopyFailed: "\u590D\u5236\u5931\u8D25",
19196
- connectionErrorCode: "\u9519\u8BEF\u7801",
19197
19307
  connectionErrorMessage: "\u9519\u8BEF\u4FE1\u606F",
19198
- connectionRetryable: "\u53EF\u91CD\u8BD5",
19199
- connectionFailureStage: "\u5931\u8D25\u9636\u6BB5",
19200
- connectionDuration: "\u68C0\u67E5\u8017\u65F6",
19201
- connectionDiagnostic: "\u8BCA\u65AD\u4FE1\u606F",
19202
19308
  connectionNoRuntime: "Renderer \u8BF7\u6C42\u6865\u5C1A\u672A\u53EF\u7528\u3002",
19203
19309
  connectionStatusReady: "\u6B63\u5E38",
19310
+ connectionStatusConnected: "\u5DF2\u8FDE\u63A5",
19311
+ connectionLoginRequired: "\u9700\u8981\u767B\u5F55",
19312
+ connectionConfigurationRequired: "\u9700\u8981\u914D\u7F6E",
19313
+ connectionConfigurationDescription: "\u8BF7\u5728\u6240\u9009 Host \u4E0A\u914D\u7F6E\u8BE5 Harness \u7684 Provider \u53CA\u6240\u9700\u8BA4\u8BC1\u4FE1\u606F\uFF0C\u7136\u540E\u91CD\u65B0\u68C0\u6D4B\u8FDE\u63A5\u3002",
19314
+ connectionLoginDescription: "\u8BF7\u5728\u6240\u9009 Host \u4E0A\u5B8C\u6210\u8BE5 Harness \u7684\u767B\u5F55\u6216\u8BA4\u8BC1\u914D\u7F6E\uFF0C\u7136\u540E\u91CD\u65B0\u68C0\u6D4B\u8FDE\u63A5\u3002",
19204
19315
  connectionStatusChecking: "\u68C0\u67E5\u4E2D",
19205
19316
  connectionStatusNotInstalled: "\u672A\u5B89\u88C5",
19206
19317
  connectionStatusUnavailable: "\u4E0D\u53EF\u7528",
19207
19318
  connectionStatusError: "\u9519\u8BEF",
19208
19319
  connectionStatusInstalling: "\u5B89\u88C5\u4E2D",
19320
+ connectionStatusUpdating: "\u66F4\u65B0\u4E2D",
19209
19321
  connectionStatusUnsupported: "\u4E0D\u652F\u6301",
19210
19322
  connectionComponent: "\u7EC4\u4EF6",
19211
19323
  connectionStatus: "\u72B6\u6001",
@@ -19224,14 +19336,21 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
19224
19336
  launchPathLoading: "\u6B63\u5728\u8BFB\u53D6\u542F\u52A8\u8BBE\u7F6E\u2026",
19225
19337
  launchPathLoadError: "\u65E0\u6CD5\u8BFB\u53D6\u542F\u52A8\u8BBE\u7F6E\uFF0C\u8BF7\u91CD\u65B0\u6253\u5F00\u6B64\u8BE6\u60C5\u9762\u677F\u91CD\u8BD5\u3002",
19226
19338
  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",
19339
+ connectionOfficialWebsite: "\u8BBF\u95EE\u5B98\u7F51",
19227
19340
  connectionOpenInstallation: "\u524D\u5F80\u5B98\u65B9\u5B89\u88C5\u9875\u9762",
19228
19341
  connectionOpenHarnessWeb: "\u6253\u5F00 DeepSeek Harness Web",
19229
- connectionDeepSeekTestedVersions: "\u652F\u6301 DSH \u7248\u672C\uFF1A0.1.2-rc.1\u30010.1.5-rc.1\u30010.1.5-rc.2\u30010.1.5-rc.3\u30010.1.7-rc.1 \u548C 0.1.7-rc.2\u3002\u5176\u4ED6\u7248\u672C\u53EF\u4EE5\u5728\u901A\u8FC7\u539F\u751F\u534F\u8BAE\u68C0\u67E5\u540E\u5C1D\u8BD5\u8FDE\u63A5\uFF0C\u4F46\u5C1A\u672A\u5217\u5165\u652F\u6301\u5217\u8868\u3002",
19342
+ 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
19343
  connectionInstall: "\u5B89\u88C5",
19344
+ connectionLongContextLabel: "1M",
19345
+ 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",
19346
+ connectionLongContextOff: "\u5173\u95ED\u540E: Claude \u6A21\u578B\u5C06\u4F7F\u7528 200k \u7A97\u53E3\u3002",
19347
+ connectionLongContextModelsLabel: "\u9002\u914D\u6A21\u578B:",
19231
19348
  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
19349
  connectionInstallCommand: "\u5B89\u88C5\u547D\u4EE4",
19233
19350
  connectionCopyPrompt: "\u590D\u5236 Prompt",
19234
19351
  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",
19352
+ 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",
19353
+ harnessVersion: harnessVersionChinese,
19235
19354
  harnessVersionTitle: "Harness CLI \u7248\u672C",
19236
19355
  harnessVersionCurrent: "\u5F53\u524D\u7248\u672C",
19237
19356
  harnessVersionLatest: "\u6700\u65B0\u7248\u672C",
@@ -19705,11 +19824,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
19705
19824
  },
19706
19825
  "deepseek-harness": {
19707
19826
  url: "https://github.com/deepseek-ai/deepseek-harness#run",
19708
- // Must match the Adapter's exact supported range, not npm's latest tag.
19709
- commands: npm("@deepseek-ai/dsh@0.1.5-rc.1"),
19827
+ commands: npm("@deepseek-ai/dsh@latest"),
19710
19828
  before: [
19711
- "Requires Node.js. Installs the compatible version 0.1.5-rc.1.",
19712
- "\u9700\u5148\u5B89\u88C5 Node.js\u3002\u4E0B\u65B9\u547D\u4EE4\u5B89\u88C5\u517C\u5BB9\u7248\u672C 0.1.5-rc.1\u3002"
19829
+ "Requires Node.js. Installs npm's latest version; connection still requires native protocol validation.",
19830
+ "\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
19831
  ],
19714
19832
  after: [
19715
19833
  "Check again, then open Web UI to configure your provider. Stop any manually started dsh web first.",
@@ -19768,17 +19886,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
19768
19886
  url: "https://www.workbuddy.ai/docs/workbuddy/Quickstart",
19769
19887
  commands: [],
19770
19888
  before: [
19771
- "Install the WorkBuddy desktop app. codexhost uses its bundled CLI, not the standalone CodeBuddy CLI.",
19772
- "\u8BF7\u5B89\u88C5 WorkBuddy \u684C\u9762\u5E94\u7528\u3002codexhost \u4F7F\u7528\u5E94\u7528\u5185\u7F6E CLI\uFF0C\u4E0D\u80FD\u7528 CodeBuddy CLI \u4EE3\u66FF\u3002"
19889
+ "Download and install the WorkBuddy desktop app.",
19890
+ "\u8BF7\u4E0B\u8F7D\u5E76\u5B89\u88C5 WorkBuddy \u684C\u9762\u5E94\u7528\u3002"
19773
19891
  ],
19774
19892
  downloads: [
19775
19893
  {
19776
- label: "macOS",
19777
- url: "https://www.workbuddy.ai/docs/workbuddy/From-Beginner-to-Expert-Guide/Installation-Mac-Guide"
19778
- },
19779
- {
19780
- label: "Windows",
19781
- url: "https://www.workbuddy.ai/docs/workbuddy/From-Beginner-to-Expert-Guide/Installation-Win-Guide"
19894
+ label: "WorkBuddy",
19895
+ url: "https://www.workbuddy.ai/"
19782
19896
  }
19783
19897
  ],
19784
19898
  after: [
@@ -19847,7 +19961,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
19847
19961
  }
19848
19962
 
19849
19963
  // src/settings/harness-installation-panel.ts
19850
- function createHarnessInstallationPanel(document2, agent, hostId, messages, copy, refresh) {
19964
+ function createHarnessInstallationPanel(document2, agent, hostId, messages, copy, installation, refresh) {
19851
19965
  const zh = messages.locale === "zh-CN";
19852
19966
  const guide = harnessInstallationGuide(agent, messages.locale);
19853
19967
  const panel = document2.createElement("div");
@@ -19861,6 +19975,21 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
19861
19975
  paragraph(zh ? "\u8BF7\u5728\u8FDC\u7A0B Host \u4E0A\u5B89\u88C5\u3002" : "Install on the remote Host.");
19862
19976
  }
19863
19977
  if (guide.before) paragraph(guide.before);
19978
+ const install = installation && guide.commands.length > 0 ? document2.createElement("button") : null;
19979
+ if (install && installation) {
19980
+ install.type = "button";
19981
+ install.className = "settings-command-button";
19982
+ install.dataset.connectionAction = "install";
19983
+ install.disabled = installation.status !== "idle";
19984
+ install.textContent = installation.status === "installing" ? messages.connectionStatusInstalling : installation.status === "checking" ? messages.connectionStatusChecking : zh ? "\u4E00\u952E\u5B89\u88C5" : "Install automatically";
19985
+ install.addEventListener("click", () => {
19986
+ if (install.disabled) return;
19987
+ install.disabled = true;
19988
+ install.textContent = messages.connectionStatusInstalling;
19989
+ installation.run();
19990
+ });
19991
+ if (guide.commands.length > 1) panel.append(install);
19992
+ }
19864
19993
  for (const { terminal, command } of guide.commands) {
19865
19994
  const block = document2.createElement("div");
19866
19995
  block.className = "settings-harness-installation-command";
@@ -19878,7 +20007,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
19878
20007
  button2.setAttribute("aria-label", `${copyLabel}: ${terminal}`);
19879
20008
  button2.append(createRendererSettingsIcon("copy", 16), copyLabel);
19880
20009
  button2.addEventListener("click", () => copy(button2, command, copyLabel));
19881
- block.append(label, pre, button2);
20010
+ const actions = document2.createElement("div");
20011
+ actions.className = "settings-harness-installation-actions";
20012
+ if (install && guide.commands.length === 1) actions.append(install);
20013
+ actions.append(button2);
20014
+ block.append(label, pre, actions);
19882
20015
  panel.append(block);
19883
20016
  }
19884
20017
  const link = (url2, label) => {
@@ -19897,21 +20030,81 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
19897
20030
  );
19898
20031
  }
19899
20032
  paragraph(guide.after);
19900
- const check2 = document2.createElement("button");
19901
- check2.type = "button";
19902
- check2.className = "settings-command-button";
19903
- check2.dataset.connectionAction = "check-install";
19904
- check2.textContent = zh ? "\u91CD\u65B0\u68C0\u6D4B" : "Check again";
19905
- check2.addEventListener("click", () => {
19906
- check2.disabled = true;
19907
- check2.textContent = messages.connectionRefreshing;
19908
- refresh();
19909
- });
19910
- panel.append(check2);
20033
+ if (refresh) {
20034
+ const check2 = document2.createElement("button");
20035
+ check2.type = "button";
20036
+ check2.className = "settings-command-button";
20037
+ check2.dataset.connectionAction = "check-install";
20038
+ check2.textContent = zh ? "\u91CD\u65B0\u68C0\u6D4B" : "Check again";
20039
+ check2.addEventListener("click", () => {
20040
+ check2.disabled = true;
20041
+ check2.textContent = messages.connectionRefreshing;
20042
+ refresh();
20043
+ });
20044
+ panel.append(check2);
20045
+ }
19911
20046
  link(guide.url, zh ? "\u67E5\u770B\u5B98\u65B9\u5B89\u88C5\u8BF4\u660E" : "View official installation instructions");
19912
20047
  return panel;
19913
20048
  }
19914
20049
 
20050
+ // src/settings/harness-install-store.ts
20051
+ function errorMessage2(error51) {
20052
+ 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.";
20053
+ }
20054
+ var stores = /* @__PURE__ */ new WeakMap();
20055
+ function createStore(diagnostics) {
20056
+ const states = /* @__PURE__ */ new Map();
20057
+ const listeners = /* @__PURE__ */ new Set();
20058
+ const key = (host, agent) => JSON.stringify([host, agent]);
20059
+ const notify = () => listeners.forEach((listener) => listener());
20060
+ return {
20061
+ get: (host, agent) => states.get(key(host, agent)),
20062
+ clearErrors() {
20063
+ for (const [id, state] of states) if (state.status === "error") states.delete(id);
20064
+ notify();
20065
+ },
20066
+ subscribe(listener) {
20067
+ listeners.add(listener);
20068
+ return () => {
20069
+ listeners.delete(listener);
20070
+ };
20071
+ },
20072
+ async install(host, agent) {
20073
+ const id = key(host, agent);
20074
+ const previous = states.get(id);
20075
+ if (!diagnostics.installation || previous && previous.status !== "error") return;
20076
+ states.set(id, { status: "installing" });
20077
+ notify();
20078
+ let failure;
20079
+ try {
20080
+ await diagnostics.installation(host, agent, "install");
20081
+ states.set(id, { status: "checking" });
20082
+ notify();
20083
+ } catch (error51) {
20084
+ failure = errorMessage2(error51);
20085
+ }
20086
+ try {
20087
+ await diagnostics.refresh(host);
20088
+ const refreshed = diagnostics.snapshot().hosts.find((candidate) => candidate.hostId === host)?.agents.find((candidate) => candidate.agent === agent);
20089
+ if (refreshed?.availability === "ready") failure = void 0;
20090
+ } catch (error51) {
20091
+ failure ??= errorMessage2(error51);
20092
+ }
20093
+ if (failure) states.set(id, { status: "error", error: failure });
20094
+ else states.delete(id);
20095
+ notify();
20096
+ }
20097
+ };
20098
+ }
20099
+ function harnessInstallStore(diagnostics) {
20100
+ let store = stores.get(diagnostics);
20101
+ if (!store) {
20102
+ store = createStore(diagnostics);
20103
+ stores.set(diagnostics, store);
20104
+ }
20105
+ return store;
20106
+ }
20107
+
19915
20108
  // src/settings/harness-launch-controls.ts
19916
20109
  function createHarnessLaunchControls(document2, messages, agent, settings) {
19917
20110
  const section = document2.createElement("section");
@@ -19989,6 +20182,164 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
19989
20182
  return section;
19990
20183
  }
19991
20184
 
20185
+ // src/settings/claude-long-context-control.ts
20186
+ var CLAUDE_LONG_CONTEXT_MODELS = [{ id: "claude-opus-5-5", window: "1M" }];
20187
+ var tooltipSequence = 0;
20188
+ function popoverOpen(tooltip) {
20189
+ try {
20190
+ return tooltip.matches(":popover-open");
20191
+ } catch {
20192
+ return false;
20193
+ }
20194
+ }
20195
+ function createClaudeLongContextControl(document2, messages, actions) {
20196
+ const control = document2.createElement("span");
20197
+ control.className = "settings-connection-long-context";
20198
+ const label = document2.createElement("label");
20199
+ label.className = "settings-connection-long-context__control";
20200
+ const text = document2.createElement("span");
20201
+ text.textContent = messages.connectionLongContextLabel;
20202
+ const input = document2.createElement("input");
20203
+ input.type = "checkbox";
20204
+ input.checked = true;
20205
+ input.setAttribute("role", "switch");
20206
+ input.setAttribute("aria-checked", "true");
20207
+ input.setAttribute("aria-label", messages.connectionLongContextLabel);
20208
+ input.dataset.connectionAction = "long-context";
20209
+ const tooltip = document2.createElement("div");
20210
+ tooltip.id = `settings-long-context-tooltip-${++tooltipSequence}`;
20211
+ tooltip.className = "settings-connection-long-context__tooltip";
20212
+ tooltip.setAttribute("role", "tooltip");
20213
+ tooltip.setAttribute("popover", "manual");
20214
+ tooltip.hidden = true;
20215
+ const on = document2.createElement("p");
20216
+ on.textContent = messages.connectionLongContextOn;
20217
+ const off = document2.createElement("p");
20218
+ off.textContent = messages.connectionLongContextOff;
20219
+ const modelsLabel = document2.createElement("p");
20220
+ modelsLabel.textContent = messages.connectionLongContextModelsLabel;
20221
+ const models = document2.createElement("ul");
20222
+ for (const model of CLAUDE_LONG_CONTEXT_MODELS) {
20223
+ const item = document2.createElement("li");
20224
+ item.textContent = `${model.id} (${model.window})`;
20225
+ models.append(item);
20226
+ }
20227
+ tooltip.append(on, off, modelsLabel, models);
20228
+ input.setAttribute("aria-describedby", tooltip.id);
20229
+ const stop = (event) => {
20230
+ event.stopPropagation();
20231
+ };
20232
+ control.addEventListener("click", stop);
20233
+ label.addEventListener("click", stop);
20234
+ input.addEventListener("click", stop);
20235
+ let surfaceReady = false;
20236
+ const applyTooltipSurface = () => {
20237
+ if (surfaceReady) return;
20238
+ const probe = document2.createElement("span");
20239
+ probe.style.cssText = "position:absolute;visibility:hidden;color:var(--settings-text);background-color:var(--settings-elevated);border-top-color:var(--settings-border)";
20240
+ control.append(probe);
20241
+ const computed = document2.defaultView?.getComputedStyle(probe);
20242
+ const color = computed?.color;
20243
+ const background = computed?.backgroundColor;
20244
+ const borderColor = computed?.borderTopColor;
20245
+ probe.remove();
20246
+ if (color) tooltip.style.color = color;
20247
+ if (background && background !== "rgba(0, 0, 0, 0)") tooltip.style.backgroundColor = background;
20248
+ if (borderColor) tooltip.style.border = `1px solid ${borderColor}`;
20249
+ surfaceReady = true;
20250
+ };
20251
+ const showTooltip = () => {
20252
+ const root = control.getRootNode();
20253
+ const host = root instanceof ShadowRoot ? root : document2.body ?? control;
20254
+ if (tooltip.parentNode !== host) host.append(tooltip);
20255
+ applyTooltipSurface();
20256
+ tooltip.hidden = false;
20257
+ if (typeof tooltip.showPopover === "function" && !popoverOpen(tooltip)) {
20258
+ try {
20259
+ tooltip.showPopover();
20260
+ } catch {
20261
+ tooltip.removeAttribute("popover");
20262
+ }
20263
+ }
20264
+ tooltip.style.position = "fixed";
20265
+ tooltip.style.inset = "auto";
20266
+ tooltip.style.zIndex = "80";
20267
+ tooltip.style.margin = "0";
20268
+ tooltip.style.height = "auto";
20269
+ tooltip.style.overflow = "visible";
20270
+ const rect = control.getBoundingClientRect();
20271
+ const margin = 8;
20272
+ const width = Math.min(280, Math.max(160, window.innerWidth - margin * 2));
20273
+ tooltip.style.width = `${width}px`;
20274
+ const preferredLeft = Math.min(
20275
+ Math.max(margin, rect.right - width),
20276
+ window.innerWidth - width - margin
20277
+ );
20278
+ const height = tooltip.offsetHeight;
20279
+ const below = rect.bottom + 8;
20280
+ const preferredTop = below + height <= window.innerHeight - margin ? below : Math.max(margin, rect.top - height - 8);
20281
+ tooltip.style.left = `${preferredLeft}px`;
20282
+ tooltip.style.top = `${preferredTop}px`;
20283
+ const placed = tooltip.getBoundingClientRect();
20284
+ const shiftX = preferredLeft - placed.left;
20285
+ const shiftY = preferredTop - placed.top;
20286
+ if (Math.abs(shiftX) > 0.5 || Math.abs(shiftY) > 0.5) {
20287
+ tooltip.style.left = `${preferredLeft + shiftX}px`;
20288
+ tooltip.style.top = `${preferredTop + shiftY}px`;
20289
+ }
20290
+ };
20291
+ const hideTooltip = () => {
20292
+ if (typeof tooltip.hidePopover === "function" && popoverOpen(tooltip)) {
20293
+ try {
20294
+ tooltip.hidePopover();
20295
+ } catch {
20296
+ }
20297
+ }
20298
+ tooltip.hidden = true;
20299
+ };
20300
+ control.addEventListener("mouseenter", showTooltip);
20301
+ control.addEventListener("mouseleave", hideTooltip);
20302
+ control.addEventListener("focusin", showTooltip);
20303
+ control.addEventListener("focusout", (event) => {
20304
+ const next = event.relatedTarget;
20305
+ if (next instanceof Node && control.contains(next)) return;
20306
+ hideTooltip();
20307
+ });
20308
+ let generation = 0;
20309
+ input.addEventListener("change", () => {
20310
+ const next = input.checked;
20311
+ generation += 1;
20312
+ const request = generation;
20313
+ input.disabled = true;
20314
+ input.setAttribute("aria-checked", String(next));
20315
+ void actions.set(next).then(
20316
+ (result) => {
20317
+ if (request !== generation) return;
20318
+ input.checked = result.enabled;
20319
+ input.setAttribute("aria-checked", String(result.enabled));
20320
+ input.disabled = false;
20321
+ },
20322
+ () => {
20323
+ if (request !== generation) return;
20324
+ input.checked = !next;
20325
+ input.setAttribute("aria-checked", String(!next));
20326
+ input.disabled = false;
20327
+ }
20328
+ );
20329
+ });
20330
+ void actions.get().then(
20331
+ (result) => {
20332
+ if (generation !== 0) return;
20333
+ input.checked = result.enabled;
20334
+ input.setAttribute("aria-checked", String(result.enabled));
20335
+ },
20336
+ () => void 0
20337
+ );
20338
+ label.append(text, input);
20339
+ control.append(label, tooltip);
20340
+ return control;
20341
+ }
20342
+
19992
20343
  // src/settings/harness-version-panel.ts
19993
20344
  function createHarnessVersionPanel(document2, messages, signal, agent, client) {
19994
20345
  const panel = document2.createElement("section");
@@ -20009,29 +20360,21 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
20009
20360
  update.type = "button";
20010
20361
  update.className = "settings-command-button settings-command-button--secondary";
20011
20362
  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
20363
  const note = document2.createElement("p");
20022
20364
  note.className = "settings-connection-issue-note";
20023
20365
  note.textContent = messages.harnessVersionNote;
20024
- actions.append(update, guide);
20366
+ actions.append(update);
20025
20367
  panel.append(heading, versions, status, actions, note);
20026
20368
  let state;
20027
20369
  let busy = false;
20028
20370
  let unsupported = false;
20029
20371
  const render = () => {
20030
20372
  current.textContent = `${messages.harnessVersionCurrent}: ${state?.currentVersion ?? "\u2014"}`;
20031
- latest.textContent = `${messages.harnessVersionLatest}: ${state?.latestVersion ?? "\u2014"}`;
20373
+ latest.textContent = `${messages.harnessVersionLatest}: ${harnessVersionLabel(state, messages.harnessVersion)}`;
20032
20374
  update.disabled = busy || signal.aborted || !state?.canUpdate || !state.updateAvailable;
20033
20375
  update.textContent = state?.canUpdate && state.latestVersion !== "Unknown" && !state.updateAvailable ? messages.harnessVersionUpToDate : messages.harnessVersionUpdate;
20034
- note.textContent = state?.message ? `${state.message} ${messages.harnessVersionNote}` : messages.harnessVersionNote;
20376
+ const detail = harnessVersionNote(state, messages.harnessVersion);
20377
+ note.textContent = detail ? `${detail} ${messages.harnessVersionNote}` : messages.harnessVersionNote;
20035
20378
  };
20036
20379
  const run = async (action) => {
20037
20380
  if (busy || unsupported || signal.aborted) return;
@@ -20099,16 +20442,6 @@ ${error51.stderrTail}`] : []
20099
20442
  ] : []
20100
20443
  ].join("\n");
20101
20444
  }
20102
- function detailLine(document2, label, value) {
20103
- const line = document2.createElement("div");
20104
- line.className = "settings-connection-detail-line";
20105
- const name = document2.createElement("span");
20106
- name.textContent = label;
20107
- const content = document2.createElement("code");
20108
- content.textContent = value;
20109
- line.append(name, content);
20110
- return line;
20111
- }
20112
20445
  function setActionButtonLabel(button2, icon, label) {
20113
20446
  button2.replaceChildren(createRendererSettingsIcon(icon, 16), label);
20114
20447
  }
@@ -20300,30 +20633,15 @@ ${error51.stderrTail}`] : []
20300
20633
  }
20301
20634
  return body;
20302
20635
  }
20636
+ const needsLogin = item.error.code === "authenticationRequired";
20637
+ const needsConfiguration = item.error.code === "configurationRequired";
20303
20638
  const summary = document2.createElement("div");
20304
20639
  summary.className = "settings-connection-error-summary";
20305
20640
  const title = document2.createElement("strong");
20306
- title.textContent = messages.connectionErrorTitle;
20641
+ title.textContent = needsLogin ? messages.connectionLoginRequired : needsConfiguration ? messages.connectionConfigurationRequired : messages.connectionErrorTitle;
20307
20642
  const description = document2.createElement("p");
20308
- description.textContent = item.error.message;
20643
+ description.textContent = needsLogin ? messages.connectionLoginDescription : needsConfiguration ? messages.connectionConfigurationDescription : item.error.message;
20309
20644
  summary.append(title, description);
20310
- const metadata = document2.createElement("div");
20311
- metadata.className = "settings-connection-error-metadata";
20312
- metadata.append(
20313
- detailLine(document2, messages.connectionErrorCode, item.error.code),
20314
- detailLine(document2, messages.connectionRetryable, String(item.error.retryable))
20315
- );
20316
- if (item.error.stage) {
20317
- metadata.append(detailLine(document2, messages.connectionFailureStage, item.error.stage));
20318
- }
20319
- if (item.error.durationMs !== void 0) {
20320
- metadata.append(
20321
- detailLine(document2, messages.connectionDuration, `${item.error.durationMs} ms`)
20322
- );
20323
- }
20324
- if (item.error.diagnostic) {
20325
- metadata.append(detailLine(document2, messages.connectionDiagnostic, item.error.diagnostic));
20326
- }
20327
20645
  const logHeader = document2.createElement("div");
20328
20646
  logHeader.className = "settings-connection-error-log-header";
20329
20647
  const logTitle = document2.createElement("strong");
@@ -20339,7 +20657,7 @@ ${error51.stderrTail}`] : []
20339
20657
  logHeader.append(logTitle, copy);
20340
20658
  const log = document2.createElement("pre");
20341
20659
  log.className = "settings-connection-stderr";
20342
- log.textContent = item.error.stderrTail ?? item.error.diagnostic ?? report;
20660
+ log.textContent = report;
20343
20661
  const actions = document2.createElement("div");
20344
20662
  actions.className = "settings-connection-error-actions";
20345
20663
  const issue2 = document2.createElement("a");
@@ -20352,10 +20670,10 @@ ${error51.stderrTail}`] : []
20352
20670
  const issueNote = document2.createElement("p");
20353
20671
  issueNote.className = "settings-connection-issue-note";
20354
20672
  issueNote.textContent = messages.connectionIssueDescription;
20355
- body.append(summary, metadata, logHeader, log, actions, issueNote);
20673
+ body.append(summary, logHeader, log, actions, issueNote);
20356
20674
  return body;
20357
20675
  }
20358
- function createConnectionBlock(document2, item, hostId, messages, expanded, toggleExpand, group = null, launchControls = null, versionCapable = false, detailNodes = []) {
20676
+ function createConnectionBlock(document2, item, hostId, messages, expanded, toggleExpand, group = null, launchControls = null, versionCapable = false, detailNodes = [], longContext = null) {
20359
20677
  const block = document2.createElement("div");
20360
20678
  block.className = "settings-connection-block";
20361
20679
  block.dataset.connectionItem = item.key;
@@ -20383,7 +20701,7 @@ ${error51.stderrTail}`] : []
20383
20701
  status.className = "settings-connection-row__status";
20384
20702
  status.dataset.connectionTone = connectionStatusTone(item.availability, item.error !== null);
20385
20703
  status.setAttribute("role", "cell");
20386
- status.textContent = connectionStatusLabel(item.availability, messages, item.error !== null);
20704
+ status.textContent = item.error?.code === "authenticationRequired" ? messages.connectionLoginRequired : item.error?.code === "configurationRequired" ? messages.connectionConfigurationRequired : connectionStatusLabel(item.availability, messages, item.error !== null);
20387
20705
  const action = document2.createElement("div");
20388
20706
  action.className = "settings-connection-row__action";
20389
20707
  action.setAttribute("role", "cell");
@@ -20414,6 +20732,7 @@ ${error51.stderrTail}`] : []
20414
20732
  });
20415
20733
  action.append(viewError);
20416
20734
  }
20735
+ if (longContext) action.append(longContext);
20417
20736
  if (group) {
20418
20737
  const toggle = document2.createElement("button");
20419
20738
  toggle.type = "button";
@@ -20432,6 +20751,8 @@ ${error51.stderrTail}`] : []
20432
20751
  }
20433
20752
  row.addEventListener("keydown", (event) => {
20434
20753
  if (event.key !== "Enter" && event.key !== " ") return;
20754
+ const keyTarget = event.target;
20755
+ if (keyTarget?.closest?.("a, button, label, input")) return;
20435
20756
  if (!canExpand) return;
20436
20757
  event.preventDefault();
20437
20758
  toggleExpand();
@@ -20455,7 +20776,7 @@ ${error51.stderrTail}`] : []
20455
20776
  }
20456
20777
  block.addEventListener("click", (event) => {
20457
20778
  const target = event.target;
20458
- if (target?.closest?.("a, button")) return;
20779
+ if (target?.closest?.("a, button, label, input")) return;
20459
20780
  if (!canExpand) return;
20460
20781
  toggleExpand();
20461
20782
  });
@@ -20535,6 +20856,7 @@ ${error51.stderrTail}`] : []
20535
20856
  let latestSnapshot = null;
20536
20857
  let launchControls = null;
20537
20858
  const versionPanels = /* @__PURE__ */ new Map();
20859
+ const longContextControls = /* @__PURE__ */ new Map();
20538
20860
  const launchControlsFor = (hostId, item) => {
20539
20861
  const getLaunchSettings = diagnostics?.getLaunchSettings;
20540
20862
  const setLaunchSettings = diagnostics?.setLaunchSettings;
@@ -20551,7 +20873,26 @@ ${error51.stderrTail}`] : []
20551
20873
  launchControls = { hostId, itemKey: item.key, element };
20552
20874
  return element;
20553
20875
  };
20876
+ const longContextControlFor = (hostId, item) => {
20877
+ const agent = item.agentSnapshot?.agent;
20878
+ const availability = item.agentSnapshot?.availability;
20879
+ const getLongContext = diagnostics?.getLongContext;
20880
+ const setLongContext = diagnostics?.setLongContext;
20881
+ if (agent !== "claude-code" || availability === "notInstalled" || availability === "checking" || !getLongContext || !setLongContext) {
20882
+ return null;
20883
+ }
20884
+ const key = JSON.stringify([hostId, agent]);
20885
+ const cached2 = longContextControls.get(key);
20886
+ if (cached2) return cached2;
20887
+ const element = createClaudeLongContextControl(document2, messages, {
20888
+ get: () => getLongContext(hostId, agent),
20889
+ set: (enabled) => setLongContext(hostId, agent, enabled)
20890
+ });
20891
+ longContextControls.set(key, element);
20892
+ return element;
20893
+ };
20554
20894
  const diagnostics = getDiagnostics();
20895
+ const installs = diagnostics ? harnessInstallStore(diagnostics) : null;
20555
20896
  const runRefresh = () => {
20556
20897
  if (pending || !diagnostics) return;
20557
20898
  pending = true;
@@ -20562,6 +20903,7 @@ ${error51.stderrTail}`] : []
20562
20903
  );
20563
20904
  void context.runLatest(() => diagnostics.refresh(), {
20564
20905
  success() {
20906
+ installs?.clearErrors();
20565
20907
  pending = false;
20566
20908
  refresh.disabled = false;
20567
20909
  refresh.replaceChildren(
@@ -20663,6 +21005,9 @@ ${error51.stderrTail}`] : []
20663
21005
  const nodes = [];
20664
21006
  const agent = item.agentSnapshot?.agent;
20665
21007
  if (expanded && agent && item.availability === "notInstalled") {
21008
+ const installState = installs?.get(selectedHost.hostId, agent);
21009
+ const canInstall = selectedHost.hostId === "local" && agent !== "workbuddy" && diagnostics?.installation !== void 0;
21010
+ const installStatus = installState?.status === "installing" || installState?.status === "checking" ? installState.status : "idle";
20666
21011
  nodes.push(
20667
21012
  createHarnessInstallationPanel(
20668
21013
  document2,
@@ -20670,9 +21015,27 @@ ${error51.stderrTail}`] : []
20670
21015
  selectedHost.hostId,
20671
21016
  messages,
20672
21017
  (button2, command, label) => copyTextToClipboard(document2, button2, command, messages, label),
21018
+ canInstall ? {
21019
+ run: () => {
21020
+ void installs?.install(selectedHost.hostId, agent);
21021
+ },
21022
+ status: installStatus
21023
+ } : void 0,
20673
21024
  runRefresh
20674
21025
  )
20675
21026
  );
21027
+ if (canInstall && installState?.error) {
21028
+ const error51 = document2.createElement("p");
21029
+ error51.className = "settings-connection-install-error";
21030
+ error51.setAttribute("role", "alert");
21031
+ error51.textContent = installState.error;
21032
+ nodes.push(error51);
21033
+ }
21034
+ if (canInstall && installStatus !== "idle") {
21035
+ const note = document2.createElement("p");
21036
+ note.textContent = messages.connectionInstallRunning;
21037
+ nodes.push(note);
21038
+ }
20676
21039
  }
20677
21040
  const installation = diagnostics?.installation?.bind(diagnostics);
20678
21041
  const versionCapable = Boolean(
@@ -20833,7 +21196,8 @@ ${error51.stderrTail}`] : []
20833
21196
  createGroupController(agent, section),
20834
21197
  launchControlsFor(selectedHost.hostId, item),
20835
21198
  supplements.versionCapable,
20836
- supplements.nodes
21199
+ supplements.nodes,
21200
+ longContextControlFor(selectedHost.hostId, item)
20837
21201
  );
20838
21202
  rowElements.set(item.key, row);
20839
21203
  rows.append(block);
@@ -20908,7 +21272,8 @@ ${error51.stderrTail}`] : []
20908
21272
  createGroupController(entry.agent, "more"),
20909
21273
  launchControlsFor(selectedHost.hostId, item),
20910
21274
  supplements.versionCapable,
20911
- supplements.nodes
21275
+ supplements.nodes,
21276
+ longContextControlFor(selectedHost.hostId, item)
20912
21277
  );
20913
21278
  rowElements.set(item.key, row);
20914
21279
  zone.append(block);
@@ -20928,10 +21293,14 @@ ${error51.stderrTail}`] : []
20928
21293
  const unsubscribeGroup = groupPreference.subscribe(
20929
21294
  () => render(diagnostics?.snapshot() ?? latestSnapshot)
20930
21295
  );
21296
+ const unsubscribeInstalls = installs?.subscribe(
21297
+ () => render(diagnostics?.snapshot() ?? latestSnapshot)
21298
+ );
20931
21299
  if (!diagnostics) {
20932
21300
  refresh.disabled = true;
20933
21301
  return () => {
20934
21302
  unsubscribeGroup();
21303
+ unsubscribeInstalls?.();
20935
21304
  };
20936
21305
  }
20937
21306
  refresh.addEventListener("click", runRefresh);
@@ -20939,6 +21308,7 @@ ${error51.stderrTail}`] : []
20939
21308
  return () => {
20940
21309
  unsubscribe();
20941
21310
  unsubscribeGroup();
21311
+ unsubscribeInstalls?.();
20942
21312
  };
20943
21313
  }
20944
21314
  });
@@ -23363,7 +23733,7 @@ ${error51.stderrTail}`] : []
23363
23733
  }
23364
23734
 
23365
23735
  // src/settings/accounts-page.ts
23366
- function errorMessage2(error51, fallback) {
23736
+ function errorMessage3(error51, fallback) {
23367
23737
  return error51 instanceof Error && error51.message ? error51.message : fallback;
23368
23738
  }
23369
23739
  function createAccountsSettingsPage(messages, getClient) {
@@ -23663,7 +24033,7 @@ ${error51.stderrTail}`] : []
23663
24033
  refreshInBackground();
23664
24034
  },
23665
24035
  failure(error51) {
23666
- loadMessage = errorMessage2(error51, messages.accountLoadFailed);
24036
+ loadMessage = errorMessage3(error51, messages.accountLoadFailed);
23667
24037
  render();
23668
24038
  }
23669
24039
  });
@@ -24081,6 +24451,16 @@ ${error51.stderrTail}`] : []
24081
24451
  messages.updateDownloadFromReleases,
24082
24452
  createRendererSettingsIcon("external-link", 14)
24083
24453
  );
24454
+ releaseLink.addEventListener("click", (event) => {
24455
+ const open = getClient()?.openExternalUrl;
24456
+ if (!open) return;
24457
+ event.preventDefault();
24458
+ const url2 = releaseLink.href;
24459
+ void open(url2).catch((error51) => {
24460
+ console.error("codexhost external URL open failed", error51);
24461
+ document2.defaultView?.open(url2, "_blank", "noopener,noreferrer");
24462
+ });
24463
+ });
24084
24464
  actions.append(releaseLink);
24085
24465
  controls.append(manualTitle, manualNpm, manualWindowsInstaller, actions);
24086
24466
  const notes = document2.createElement("div");
@@ -25422,6 +25802,12 @@ ${error51.stderrTail}`] : []
25422
25802
  border-radius: 10px;
25423
25803
  }
25424
25804
 
25805
+ .settings-harness-installation-actions {
25806
+ display: flex;
25807
+ flex-wrap: wrap;
25808
+ gap: 8px;
25809
+ }
25810
+
25425
25811
  .settings-harness-installation-command pre {
25426
25812
  white-space: pre-wrap;
25427
25813
  overflow-wrap: anywhere;
@@ -25429,6 +25815,27 @@ ${error51.stderrTail}`] : []
25429
25815
  font-size: 12px;
25430
25816
  }
25431
25817
 
25818
+ .settings-connection-website {
25819
+ display: inline-flex;
25820
+ align-items: center;
25821
+ justify-content: center;
25822
+ flex: none;
25823
+ width: 22px;
25824
+ height: 22px;
25825
+ color: var(--settings-muted);
25826
+ border-radius: 4px;
25827
+ }
25828
+
25829
+ .settings-connection-website:hover {
25830
+ color: var(--settings-focus);
25831
+ background: var(--settings-hover);
25832
+ }
25833
+
25834
+ .settings-connection-website:focus-visible {
25835
+ outline: 2px solid var(--settings-focus);
25836
+ outline-offset: 1px;
25837
+ }
25838
+
25432
25839
  .settings-connection-install-link {
25433
25840
  display: inline-flex;
25434
25841
  align-items: center;
@@ -25445,6 +25852,11 @@ ${error51.stderrTail}`] : []
25445
25852
  cursor: pointer;
25446
25853
  }
25447
25854
 
25855
+ .settings-connection-install-link:disabled {
25856
+ opacity: 0.45;
25857
+ cursor: wait;
25858
+ }
25859
+
25448
25860
  .settings-connection-install-link:hover,
25449
25861
  .settings-connection-install-link:focus-visible {
25450
25862
  color: var(--settings-focus);
@@ -25452,6 +25864,113 @@ ${error51.stderrTail}`] : []
25452
25864
  border-color: var(--settings-border);
25453
25865
  }
25454
25866
 
25867
+ .settings-connection-long-context {
25868
+ position: relative;
25869
+ display: inline-flex;
25870
+ }
25871
+
25872
+ .settings-connection-long-context__control {
25873
+ display: inline-flex;
25874
+ align-items: center;
25875
+ gap: 6px;
25876
+ margin: 0;
25877
+ color: var(--settings-text);
25878
+ font-size: 12px;
25879
+ font-weight: 600;
25880
+ line-height: 1;
25881
+ cursor: pointer;
25882
+ user-select: none;
25883
+ background: transparent;
25884
+ border: 0;
25885
+ }
25886
+
25887
+ .settings-connection-long-context__tooltip {
25888
+ position: fixed;
25889
+ inset: auto;
25890
+ z-index: 80;
25891
+ box-sizing: border-box;
25892
+ width: min(280px, calc(100vw - 16px));
25893
+ height: auto;
25894
+ max-height: none;
25895
+ margin: 0;
25896
+ overflow: visible;
25897
+ padding: 8px 10px;
25898
+ color: var(--settings-text);
25899
+ font-size: 12px;
25900
+ font-weight: 400;
25901
+ line-height: 1.45;
25902
+ text-align: left;
25903
+ white-space: normal;
25904
+ display: grid;
25905
+ gap: 6px;
25906
+ background: var(--settings-elevated);
25907
+ border: 1px solid var(--settings-border);
25908
+ border-radius: 8px;
25909
+ box-shadow: 0 10px 24px rgb(0 0 0 / 28%);
25910
+ pointer-events: none;
25911
+ }
25912
+
25913
+ .settings-connection-long-context__tooltip p,
25914
+ .settings-connection-long-context__tooltip ul {
25915
+ margin: 0;
25916
+ }
25917
+
25918
+ .settings-connection-long-context__tooltip ul {
25919
+ padding-left: 0;
25920
+ list-style: none;
25921
+ }
25922
+
25923
+ .settings-connection-long-context__tooltip li + li {
25924
+ margin-top: 2px;
25925
+ }
25926
+
25927
+ .settings-connection-long-context__tooltip li::before {
25928
+ content: "- ";
25929
+ }
25930
+
25931
+ .settings-connection-long-context input {
25932
+ position: relative;
25933
+ flex: none;
25934
+ width: 32px;
25935
+ height: 18px;
25936
+ margin: 0;
25937
+ appearance: none;
25938
+ background: var(--settings-surface-hover);
25939
+ border: 0;
25940
+ border-radius: 999px;
25941
+ cursor: pointer;
25942
+ }
25943
+
25944
+ .settings-connection-long-context input::before {
25945
+ position: absolute;
25946
+ top: 2px;
25947
+ left: 2px;
25948
+ width: 14px;
25949
+ height: 14px;
25950
+ content: "";
25951
+ background: #fff;
25952
+ border-radius: 50%;
25953
+ box-shadow: 0 1px 2px rgb(0 0 0 / 30%);
25954
+ }
25955
+
25956
+ .settings-connection-long-context input:checked {
25957
+ background: var(--settings-focus);
25958
+ }
25959
+
25960
+ .settings-connection-long-context input:checked::before {
25961
+ transform: translateX(14px);
25962
+ }
25963
+
25964
+ .settings-connection-long-context input:focus-visible {
25965
+ outline: 2px solid var(--settings-focus);
25966
+ outline-offset: 2px;
25967
+ }
25968
+
25969
+ .settings-connection-long-context input:disabled {
25970
+ cursor: default;
25971
+ opacity: 0.6;
25972
+ }
25973
+
25455
25974
  .settings-connection-row__group-toggle {
25456
25975
  display: inline-flex;
25457
25976
  align-items: center;
@@ -25519,6 +26038,10 @@ ${error51.stderrTail}`] : []
25519
26038
  padding: 12px;
25520
26039
  }
25521
26040
 
26041
+ .settings-connection-inspector__body:empty {
26042
+ display: none;
26043
+ }
26044
+
25522
26045
  .settings-harness-version {
25523
26046
  display: grid;
25524
26047
  gap: 10px;
@@ -25707,33 +26230,6 @@ ${error51.stderrTail}`] : []
25707
26230
  border-radius: 10px;
25708
26231
  }
25709
26232
 
25710
- .settings-connection-error-metadata {
25711
- display: grid;
25712
- gap: 7px;
25713
- padding: 12px;
25714
- background: var(--settings-inset);
25715
- border: 1px solid var(--settings-border);
25716
- border-radius: 9px;
25717
- }
25718
-
25719
- .settings-connection-detail-line {
25720
- display: grid;
25721
- grid-template-columns: 92px minmax(0, 1fr);
25722
- gap: 10px;
25723
- min-width: 0;
25724
- color: var(--settings-muted);
25725
- font-size: 10px;
25726
- line-height: 16px;
25727
- }
25728
-
25729
- .settings-connection-detail-line code {
25730
- min-width: 0;
25731
- overflow-wrap: anywhere;
25732
- color: var(--settings-text);
25733
- font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
25734
- white-space: pre-wrap;
25735
- }
25736
-
25737
26233
  .settings-connection-error-log-header {
25738
26234
  display: flex;
25739
26235
  align-items: center;
@@ -26724,7 +27220,7 @@ ${error51.stderrTail}`] : []
26724
27220
  `;
26725
27221
 
26726
27222
  // 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';
27223
+ 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
27224
 
26729
27225
  // src/console/app.ts
26730
27226
  function required2(pages, id) {