dsh-shuhaicanghe 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,8 +4,8 @@
4
4
  **技能**、**网络路由**、**Open-AI-Codex**。一个设置入口(额度与余额 → 技能 →
5
5
  网络路由 → Open-AI-Codex,默认打开额度页)、一个 RPC 前缀、一个浏览器 bundle。
6
6
 
7
- npm 包名、目录名与 `cordis.patch.yml` 的 bundle `name` 为 `dsh-shuhaicanghe`;浏览器
8
- ModuleLoader id(client id)为 `dsh-provider-hub`;Host 导出名、设置 namespace、RPC 前缀
7
+ npm 包名、目录名、`cordis.patch.yml` 的 bundle `name` 与浏览器 ModuleLoader id(client id,
8
+ DSH 要求它等于包名)为 `dsh-shuhaicanghe`;Host 导出名、设置 namespace、RPC 前缀
9
9
  (`/api/provider-hub/<endpoint>`)、vault scope、locale namespace 均为 `provider-hub`。
10
10
 
11
11
  > **唯一权威出处。** 每条冻结行为(身份、设置字段、RPC、客户端与 UI 规则)只在
@@ -137,10 +137,10 @@ AGENTS.md 仓库约定:隐私、性能、平台
137
137
  ```yaml
138
138
  namespace: provider-hub
139
139
  packageName: dsh-shuhaicanghe
140
- clientId: dsh-provider-hub
140
+ clientId: dsh-shuhaicanghe
141
141
  rpcPrefix: /api/provider-hub
142
- styleElementId: dsh-provider-hub/ui.css
143
- uiCacheKey: dsh-provider-hub.ui-cache.v3
142
+ styleElementId: dsh-shuhaicanghe/ui.css
143
+ uiCacheKey: dsh-shuhaicanghe.ui-cache.v3
144
144
  ```
145
145
  <!-- END CHECKED: identity -->
146
146
 
package/dist/client.js CHANGED
@@ -1,5 +1,5 @@
1
1
  window.__ModuleLoader__.load({
2
- id: 'dsh-provider-hub',
2
+ id: 'dsh-shuhaicanghe',
3
3
  factory: (require) => {
4
4
  const module = { exports: {} }
5
5
  const exports = module.exports
@@ -10,8 +10,8 @@ window.__ModuleLoader__.load({
10
10
  const primitives = require('@deepseek-ai/dsh-client-ui-primitives')
11
11
  const { jsx, jsxs } = jsxRuntime
12
12
 
13
- const HUB_CONSTANTS = Object.freeze({"NAMESPACE":"provider-hub","CLIENT_ID":"dsh-provider-hub","PACKAGE_NAME":"dsh-shuhaicanghe","RPC_CARRIER":"/api","RPC_ENDPOINT_PREFIX":"provider-hub/","ERROR_INVALID_RESPONSE":"provider-hub/invalid-response","ERROR_UNKNOWN_ENDPOINT":"provider-hub/unknown-endpoint","ERROR_LOGIN_RPC_TIMEOUT":"provider-hub/login-rpc-timeout","ERROR_RPC_TIMEOUT":"provider-hub/rpc-timeout","UNKNOWN_ENDPOINT_MESSAGE":"unknown provider-hub endpoint","INVALID_RESPONSE_MESSAGE":"invalid provider-hub RPC response","LOGIN_RPC_TIMEOUT_MESSAGE":"provider-hub: codex login RPC timed out","UI_CACHE_KEY":"dsh-provider-hub.ui-cache.v3","UI_CACHE_PAYLOAD_VERSION":3,"UI_CACHE_LIST_LIMIT":50,"UI_CACHE_TEXT_LIMIT":200,"UI_TIME_LABEL_LIMIT":8,"STYLE_ELEMENT_ID":"dsh-provider-hub/ui.css","MIN_PROXY_PORT":1,"MAX_PROXY_PORT":65535,"DEFAULT_PROXY_PORT":7897,"PROXY_PROTOCOLS":["http","socks5"],"DEFAULT_PROXY_PROTOCOL":"http","PROXY_CLIENTS":["clash","shadowrocket"],"DEFAULT_PROXY_CLIENT":"clash","LOOPBACK_PROXY_HOST":"127.0.0.1","DEFAULT_PROXIED_PROVIDERS":[],"DEFAULT_FAST_MODE":false,"CODEX_LLM_PROVIDER_ID":"open-ai-codex","CODEX_PROVIDER_DISPLAY_NAME":"Open-AI-Codex","CODEX_LEGACY_FAST_DISPLAY_NAME":"Open-AI-Codex(Fast)","CODEX_RETIRED_NATIVE_PROVIDER_ID":"openai-codex","CODEX_SEARCH_BACKEND_ID":"open-ai-codex","SEARCH_BACKENDS":["none","open-ai-codex"],"SEARCH_BACKEND_ALIASES":{"openai-codex":"open-ai-codex"},"DEFAULT_SEARCH_BACKEND":"open-ai-codex","SEARCH_CONTEXT_SIZES":["low","medium","high"],"DEFAULT_SEARCH_CONTEXT_SIZE":"high","MIN_SEARCH_TIMEOUT_SECONDS":1,"MAX_SEARCH_TIMEOUT_SECONDS":2147483,"DEFAULT_SEARCH_TIMEOUT_SECONDS":60,"DEFAULT_SEARCH_MODEL":"","DEFAULT_SEARCH_REASONING":"default","SEARCH_VERBOSITY_LEVELS":["low","medium","high"],"SEARCH_VERBOSITY_DEFAULT_ALIAS":"default","DEFAULT_SEARCH_VERBOSITY":"high","CODEX_PROVIDER_ENSURE_FIELDS":["id","name","status"],"CODEX_PROVIDER_ENSURE_STATUSES":["created","existing"],"CODEX_REASONING_LEVELS":["off","minimal","low","medium","high","xhigh","max"],"DEFAULT_LAST_PROBE_AT":0,"UNKNOWN_PCT":-1,"UNSUPPORTED_NOTE_KEYS":["noPublicApi","notInDirectory"],"USAGE_KINDS":["money","quota","message"],"KIND_MESSAGE":"message","ROUND_STATES":["queued","running","completed","failed","reset-required"],"PROVIDER_STATES":["queued","running","ok","unavailable","failed"],"PROVIDER_QUEUED":"queued","CODEX_ACCOUNT_NOTE_MAX_LENGTH":200,"MODEL_SYNC_LIST_LIMIT":64,"MODEL_SYNC_CACHE_TTL_MS":900000,"MODEL_SYNC_RPC_TIMEOUT_MS":32000,"MODEL_SYNC_MANAGED_FIELDS":["name","contextWindow","input","reasoningEfforts"],"MODEL_SYNC_STATES":["new","incomplete","existing","overlap","blocked"],"MODEL_SYNC_STALE_PREVIEW_REASON":"stale-preview","SKILL_ROW_STATES":["on","off","missing","unmanaged-link","unmanaged-dir","invalid"],"SKILL_ROOT_STATES":["missing","directory","symlink","other"],"SKILL_TARGET_IDS":["claude-code","codex"],"SKILL_TARGET_STATES":["unset","missing","directory","symlink","other"],"SKILL_TARGET_LINK_STATES":["linked","missing","broken","other-link","directory","file","other","source-missing"],"SKILL_TARGET_ENTRY_KINDS":["symlink","directory","file","other"],"SKILL_TARGET_HINTS":["parent-missing","root-is-symlink"],"SKILL_TARGET_ERRORS":["target-is-skill-root","target-is-home","target-is-filesystem-root"],"SEARCH_STATUS_CLIENT_TIMEOUT_MS":5250,"LOAD_TIMEOUT_MS":8000,"LOGIN_POLL_INTERVAL_MS":1000,"USAGE_MONITOR_FIELD":"usageMonitor","MIN_USAGE_REFRESH_SECONDS":0,"MAX_USAGE_REFRESH_SECONDS":3600,"DEFAULT_USAGE_REFRESH_SECONDS":0,"SETTINGS_FIELD_ORDER":["proxyPort","proxyProtocol","proxyClient","proxyProfiles","proxiedProviders","fastMode","searchBackend","searchContextSize","searchTimeoutSeconds","searchModel","searchReasoning","searchVerbosity","lastProbeAt","codexAccountNotes","usageMonitor","providers","skillRoot","skillLinks","skillGroups","skillPermissions","skillTargets"]})
14
- const HUB_STYLES = Object.freeze({"shell":"/* The shell: the section frame, the tab strip and the shared control rules\n every domain panel reuses. Host --dsw-* tokens only, hairline .5px borders,\n 10-12px radii, the 34px control height, pill buttons, the 36x20 switch, and\n a 12px heading -> tab strip -> panel rhythm. The `peg_*` class names are the\n frozen UI vocabulary and are never renamed. There is exactly\n one style element (`dsh-provider-hub/ui.css`); this text is its shell block\n and every domain stylesheet is concatenated after it. */\n\n/* The accent has two roles. --peg_accent is the readable blue used by text,\n dots, links, focus rings and tints, and it is tuned per theme so it stays\n legible (the dark theme lifts it off the near-black surfaces).\n --peg_accent_fill is the solid blue behind a selected pill, an on switch or\n a checked box, with --peg_accent_on as the text or knob on top; both are host\n *static* tokens, so a filled control is the exact same blue in the light and\n the dark theme. */\nbody{--peg_accent:var(--dsw-alias-state-business-primary);--peg_accent_fill:var(--dsw-static-deepseek-500);--peg_accent_on:var(--dsw-static-neutral-bluish-00)}\nbody[data-ds-dark-theme]{--peg_accent:color-mix(in srgb, var(--dsw-alias-state-business-primary) 70%, var(--dsw-alias-label-primary))}\n\n/* The section frame. */\n.peg_settings_section{color:var(--dsw-alias-label-primary);max-width:720px;padding:8px 0 24px;display:flex;flex-direction:column;gap:12px;min-width:0}\n.peg_settings_section,.peg_settings_section *{box-sizing:border-box}\n.peg_settings_section p{margin-block:0}\n.peg_settings_heading{font-size:16px;font-weight:500;letter-spacing:-.01em;line-height:24px;margin:0}\n.peg_navlabel{align-items:center;display:inline-flex;gap:8px}\n.peg_navicon{display:block;flex:none}\n/* The host settings shell draws its own leading icon on the section button; our\n label already carries shell_navIcon, so the label's ref callback marks that\n button and this direct-child rule hides only the host's leading icon. A\n parent-relational selector (a `.peg_navlabel` descendant test on the button)\n would say the same thing and is banned by §3.5, so the button carries the\n marker instead. */\nbutton[data-peg-nav] > svg:first-child{display:none}\n\n/* The tab strip: the host's underline tabs. */\n.peg_tabs{align-items:flex-end;border-bottom:.5px solid var(--dsw-alias-border-l2);display:flex;gap:22px;max-width:100%;min-width:0;overflow-x:auto;padding:0 2px}\n.peg_tab{background:0 0;border:0;color:var(--dsw-alias-label-tertiary);cursor:pointer;flex:none;font:inherit;font-size:13px;font-weight:500;line-height:20px;outline:none;padding:7px 1px 9px;position:relative;transition:color .12s ease}\n.peg_tab:hover{color:var(--dsw-alias-label-primary)}\n.peg_tab:focus-visible{outline:2px solid var(--peg_accent);outline-offset:2px;color:var(--dsw-alias-label-primary);border-radius:2px}\n.peg_tab_on{color:var(--dsw-alias-label-primary)}\n.peg_tab_on::after{background:var(--dsw-alias-label-primary);border-radius:2px 2px 0 0;bottom:0;content:\"\";height:2px;left:0;position:absolute;right:0}\n.peg_tabpanel{display:flex;flex-direction:column;gap:4px;min-width:0;padding-top:2px}\n\n/* The shared text rhythm: 13px/500 labels, 12px/18px help and status. */\n.peg_settings_label{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:500;line-height:20px;margin:0}\n.peg_settings_help{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_settings_status{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_settings_status_ok{color:var(--dsw-alias-state-success-primary)}\n.peg_settings_error{color:var(--dsw-alias-state-error-primary);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_settings_badge{background:var(--dsw-alias-bg-module-platform);border-radius:999px;color:var(--dsw-alias-label-secondary);flex:none;font-size:11px;font-weight:500;line-height:17px;padding:1px 8px;white-space:nowrap}\n\n/* The labelled form row: a 96px label column, the control cell, then the help,\n status and error lines under the control. */\n.peg_settings_control{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:center;gap:6px 14px;min-width:0;padding:12px 0}\n.peg_settings_control~.peg_settings_control{border-top:.5px solid var(--dsw-alias-border-l2)}\n.peg_settings_help+.peg_settings_control{padding-top:16px}\n.peg_settings_control>.peg_settings_label{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:500}\n.peg_settings_control>.peg_settings_help,.peg_settings_control>.peg_settings_status,.peg_settings_control>.peg_settings_error{grid-column:2;line-height:18px}\n\n/* The 34px inset control: the input and the listbox trigger share it. */\n.peg_settings_port{background:var(--dsw-alias-bg-layer-1);border:.5px solid var(--dsw-alias-border-l4);border-radius:10px;box-sizing:border-box;color:var(--dsw-alias-label-primary);flex:none;font:inherit;font-size:13px;font-variant-numeric:tabular-nums;height:34px;line-height:20px;outline:none;padding:0 12px;transition:border-color .12s ease,box-shadow .12s ease;width:120px}\n.peg_settings_port::-webkit-inner-spin-button,.peg_settings_port::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}\n.peg_settings_port:hover:not(:disabled){border-color:var(--dsw-alias-border-l3)}\n.peg_settings_port:focus-visible{border-color:var(--peg_accent);box-shadow:0 0 0 2px color-mix(in srgb, var(--peg_accent) 18%, transparent);outline:none}\n.peg_settings_port:disabled{color:var(--dsw-alias-label-tertiary);cursor:default;opacity:.6}\n\n/* The pill button and its primary variant. */\n.peg_settings_probe,.peg_settings_action{align-items:center;border-radius:17px;box-sizing:border-box;cursor:pointer;display:inline-flex;flex:none;font:inherit;font-size:13px;font-weight:500;gap:6px;height:34px;justify-content:center;line-height:20px;padding:0 14px;transition:background-color .12s ease,border-color .12s ease,opacity .12s ease}\n.peg_settings_probe{background:0 0;border:.5px solid var(--dsw-alias-border-l3);color:var(--dsw-alias-label-primary)}\n.peg_settings_probe:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);border-color:var(--dsw-alias-border-l4)}\n.peg_settings_probe:active:not(:disabled){background:var(--dsw-alias-interactive-bg-active)}\n.peg_settings_action_primary{background:var(--dsw-alias-button-primary-fill);border:.5px solid transparent;color:var(--dsw-alias-label-primary-foreground)}\n.peg_settings_action_primary:hover:not(:disabled){background:var(--dsw-alias-button-primary-hover)}\n/* A primary-fill probe keeps its transparent hairline on hover instead of the\n plain probe's hover border (the same rule the Codex and skill faces use). */\n.peg_settings_probe.peg_settings_action_primary:hover:not(:disabled){background:var(--dsw-alias-button-primary-hover);border-color:transparent}\n.peg_settings_probe:focus-visible,.peg_settings_action:focus-visible{outline:2px solid var(--peg_accent);outline-offset:2px}\n.peg_settings_probe:disabled,.peg_settings_action:disabled{cursor:default;opacity:.4}\n\n/* The inline retry affordance: the one owner of `.peg_menu_retry`, used by the\n Codex faces, the skill faces and the conversation model picker alike. */\n.peg_menu_retry{align-items:center;background:0 0;border:0;border-radius:8px;color:var(--peg_accent);cursor:pointer;display:inline-flex;font:inherit;font-size:12px;justify-content:center;line-height:20px;padding:2px 6px;text-decoration:none;white-space:nowrap}\n.peg_menu_retry:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover)}\n.peg_menu_retry:focus-visible{outline:2px solid var(--peg_accent);outline-offset:1px}\n.peg_menu_retry:disabled{cursor:default;opacity:.4}\n\n/* The segmented radio row shared by every multi-choice control. */\n.peg_settings_segment{align-items:center;background:color-mix(in srgb, var(--dsw-alias-bg-layer-1) 60%, transparent);border:.5px solid var(--dsw-alias-border-l4);border-radius:12px;display:flex;flex-wrap:wrap;gap:2px;max-width:100%;padding:2px;width:max-content}\n.peg_settings_segment_option{position:relative;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;flex:none;border-radius:10px;color:var(--dsw-alias-label-tertiary);cursor:pointer;font-size:12px;font-weight:500;line-height:20px;padding:5px 12px;transition:background-color .12s ease,color .12s ease}\n.peg_settings_segment_option:hover:not([data-selected='true']):not([data-disabled='true']){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary)}\n.peg_settings_segment_option_selected{background:color-mix(in srgb, var(--peg_accent) 20%, transparent);color:var(--peg_accent)}\n.peg_settings_segment_option:focus-within{outline:2px solid var(--peg_accent);outline-offset:2px}\n.peg_settings_segment_option[data-disabled='true']{cursor:default;opacity:.55}\n.peg_settings_segment_input{border:0;clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;inset:50% auto auto 50%;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}\n\n/* The host's 36x20 switch. */\n.peg_settings_switch{appearance:none;-webkit-appearance:none;background:var(--dsw-alias-border-l3);border:0;border-radius:10px;box-sizing:border-box;cursor:pointer;flex:none;height:20px;margin:0;outline:none;padding:2px;position:relative;transition:background-color .12s ease;width:36px}\n.peg_settings_switch::after{background:var(--dsw-alias-label-primary);border-radius:50%;corner-shape:round;content:\"\";height:16px;left:2px;position:absolute;top:2px;transition:transform .12s ease;width:16px}\n.peg_settings_switch:checked{background:var(--peg_accent_fill)}\n.peg_settings_switch:checked::after{background:var(--peg_accent_on);transform:translateX(16px)}\n.peg_settings_switch:focus-visible{outline:2px solid var(--peg_accent);outline-offset:2px}\n.peg_settings_switch:disabled{cursor:default;opacity:.5}\n\n/* The shared state dot. */\n.peg_state_dot{background:var(--dsw-alias-label-dimmed);border-radius:50%;flex:none;height:7px;width:7px}\n.peg_state_dot_ok{background:var(--dsw-alias-state-success-primary)}\n.peg_state_dot_running{background:var(--peg_accent)}\n.peg_state_dot_warn{background:var(--dsw-alias-state-warn-label)}\n.peg_state_dot_bad{background:var(--dsw-alias-state-error-primary)}\n.peg_state_dot_idle{background:var(--dsw-alias-label-dimmed)}\n\n@media (max-width:520px){\n .peg_settings_control{grid-template-columns:minmax(0,1fr);gap:6px}\n .peg_settings_control>.peg_settings_help,.peg_settings_control>.peg_settings_status,.peg_settings_control>.peg_settings_error{grid-column:1}\n .peg_settings_segment_option{padding-inline:10px}\n}\n@media (prefers-reduced-motion:reduce){\n .peg_tab,.peg_settings_port,.peg_settings_probe,.peg_settings_action,.peg_settings_switch,.peg_settings_switch::after,.peg_settings_segment_option{transition:none}\n}\n","usage":"/*\n * dsh-provider-hub — usage page stylesheet (data; the shell installs it into\n * the one `dsh-provider-hub/ui.css` <style> tag).\n *\n * The visual language is the shared §3.5 one: host `--dsw-*`\n * tokens only (no literal colours), .5px hairline borders, 10–12px radii,\n * 34px controls, 13px/500 row labels, 12px/18px help text, pill buttons\n * (border-radius 17px / height 34px) and a 720px section width.\n */\n\n.puh_usage_section {\n display: flex;\n flex-direction: column;\n gap: 12px;\n max-width: 720px;\n min-width: 0;\n color: var(--dsw-alias-label-primary);\n}\n.puh_usage_section *,\n.puh_usage_section *::before,\n.puh_usage_section *::after { box-sizing: border-box; }\n.puh_usage_section p { margin-block: 0; }\n\n/* ---------- controls ---------- */\n\n.puh_usage_controls {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 8px;\n min-width: 0;\n}\n.puh_usage_ctl_label {\n color: var(--dsw-alias-label-primary);\n flex: none;\n font-size: 13px;\n font-weight: 500;\n line-height: 20px;\n margin-right: 2px;\n}\n.puh_usage_menu_root {\n position: relative;\n flex: none;\n width: 132px;\n min-width: 0;\n}\n.puh_usage_select {\n appearance: none;\n -webkit-appearance: none;\n display: flex;\n align-items: center;\n gap: 8px;\n width: 100%;\n height: 34px;\n padding: 0 12px;\n background: var(--dsw-alias-bg-layer-1);\n border: .5px solid var(--dsw-alias-border-l4);\n border-radius: 10px;\n color: var(--dsw-alias-label-primary);\n cursor: pointer;\n font: inherit;\n font-size: 13px;\n line-height: 20px;\n outline: none;\n text-align: left;\n transition: border-color .12s ease, box-shadow .12s ease;\n}\n.puh_usage_select:hover:not(:disabled) { border-color: var(--dsw-alias-border-l3); }\n.puh_usage_select:focus-visible {\n border-color: var(--dsw-alias-state-business-primary);\n box-shadow: 0 0 0 2px color-mix(in srgb, var(--dsw-alias-state-business-primary) 18%, transparent);\n outline: none;\n}\n.puh_usage_select:disabled { color: var(--dsw-alias-label-tertiary); cursor: default; opacity: .6; }\n.puh_usage_select_value {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-weight: 500;\n}\n.puh_usage_select_chevron {\n flex: none;\n width: 6px;\n height: 6px;\n border-right: 1.6px solid currentColor;\n border-bottom: 1.6px solid currentColor;\n transform: translateY(-2px) rotate(45deg);\n color: var(--dsw-alias-label-caption);\n pointer-events: none;\n}\n.puh_usage_menu {\n position: absolute;\n top: calc(100% + 4px);\n left: 0;\n z-index: 30;\n display: flex;\n flex-direction: column;\n gap: 2px;\n width: 100%;\n padding: 4px;\n background: var(--dsw-specific-menu);\n border: .5px solid var(--dsw-alias-border-l4);\n border-radius: 12px;\n box-shadow: var(--dsw-elevation-panel);\n color: var(--dsw-alias-label-primary);\n}\n.puh_usage_menu_item {\n appearance: none;\n border: 0;\n border-radius: 8px;\n background: 0 0;\n color: var(--dsw-alias-label-primary);\n cursor: pointer;\n font: inherit;\n font-size: 13px;\n line-height: 20px;\n padding: 7px 8px;\n text-align: left;\n white-space: nowrap;\n}\n.puh_usage_menu_item:hover,\n.puh_usage_menu_item:focus-visible,\n.puh_usage_menu_item_active { background: var(--dsw-alias-interactive-bg-hover); outline: none; }\n.puh_usage_menu_item_on {\n background: color-mix(in srgb, var(--dsw-alias-state-business-primary) 16%, transparent);\n font-weight: 500;\n}\n.puh_usage_button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex: none;\n height: 34px;\n padding: 0 14px;\n background: var(--dsw-alias-button-primary-fill);\n border: .5px solid transparent;\n border-radius: 17px;\n color: var(--dsw-alias-label-primary-foreground);\n cursor: pointer;\n font: inherit;\n font-size: 13px;\n font-weight: 500;\n line-height: 20px;\n transition: background-color .12s ease, opacity .12s ease;\n}\n.puh_usage_button:hover:not(:disabled) { background: var(--dsw-alias-button-primary-hover); }\n.puh_usage_button:focus-visible {\n outline: 2px solid var(--dsw-alias-state-business-primary);\n outline-offset: 2px;\n}\n.puh_usage_button:disabled { cursor: default; opacity: .4; }\n.puh_usage_button_busy { cursor: progress; opacity: .7; }\n.puh_usage_saved {\n color: var(--dsw-alias-state-success-primary);\n font-size: 12px;\n font-weight: 500;\n line-height: 18px;\n}\n\n/* ---------- round status strip ---------- */\n\n/* One compact status area: round line + bar left, updated-at time right. */\n.puh_usage_roundbar {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 8px 14px;\n min-width: 0;\n padding: 10px 12px;\n background: color-mix(in srgb, var(--dsw-alias-bg-layer-1) 60%, transparent);\n border: .5px solid var(--dsw-alias-border-l4);\n border-radius: 12px;\n}\n.puh_usage_round {\n display: flex;\n align-items: center;\n flex: 1 1 220px;\n gap: 10px;\n min-width: 0;\n}\n.puh_usage_round_text {\n flex: none;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--dsw-alias-label-secondary);\n font-size: 12px;\n font-variant-numeric: tabular-nums;\n line-height: 18px;\n}\n.puh_usage_round_track {\n flex: 1 1 auto;\n min-width: 48px;\n height: 4px;\n border-radius: 999px;\n overflow: hidden;\n background: var(--dsw-alias-border-l2);\n}\n.puh_usage_round_fill {\n height: 100%;\n border-radius: inherit;\n background: var(--dsw-alias-state-business-primary);\n transition: width .25s ease, background-color .15s ease;\n}\n.puh_usage_round_fill_done { background: var(--dsw-alias-state-success-primary); }\n.puh_usage_round_fill_failed { background: var(--dsw-alias-state-error-primary); }\n\n/* ---------- status and errors ---------- */\n\n.puh_usage_statusline {\n flex: none;\n margin-left: auto;\n color: var(--dsw-alias-label-tertiary);\n font-size: 12px;\n font-variant-numeric: tabular-nums;\n line-height: 18px;\n overflow-wrap: anywhere;\n}\n.puh_usage_statusline_ok { color: var(--dsw-alias-state-success-primary); }\n.puh_usage_error {\n padding: 8px 12px;\n background: color-mix(in srgb, var(--dsw-alias-state-error-primary) 10%, transparent);\n border-radius: 10px;\n color: var(--dsw-alias-state-error-primary);\n font-size: 12px;\n line-height: 18px;\n overflow-wrap: anywhere;\n}\n.puh_usage_notice {\n background: color-mix(in srgb, var(--dsw-alias-state-warn-label) 10%, transparent);\n color: var(--dsw-alias-state-warn-label);\n}\n\n/* ---------- cards ---------- */\n\n.puh_usage_grid {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));\n gap: 12px;\n min-width: 0;\n}\n.puh_usage_card {\n display: flex;\n flex-direction: column;\n gap: 8px;\n min-width: 0;\n padding: 14px 16px 12px;\n background: color-mix(in srgb, var(--dsw-alias-bg-layer-1) 60%, transparent);\n border: .5px solid var(--dsw-alias-border-l4);\n border-radius: 12px;\n}\n.puh_usage_cardhead {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 8px;\n min-width: 0;\n}\n.puh_usage_provider {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--dsw-alias-label-primary);\n font-size: 14px;\n font-weight: 600;\n line-height: 22px;\n}\n.puh_usage_chip {\n display: inline-flex;\n align-items: center;\n flex: none;\n gap: 6px;\n color: var(--dsw-alias-label-tertiary);\n font-size: 12px;\n font-weight: 500;\n line-height: 18px;\n}\n.puh_usage_chip_ok { color: var(--dsw-alias-state-success-primary); }\n.puh_usage_chip_warn { color: var(--dsw-alias-state-warn-label); }\n.puh_usage_chip_bad { color: var(--dsw-alias-state-error-primary); }\n.puh_usage_chip_running { color: var(--dsw-alias-state-business-primary); }\n.puh_usage_chiptext { min-width: 0; }\n/* A status label, not a button: no fill, no pill, default cursor; the tooltip\n * (usage.routeHint) points to the Network routing tab that owns the route. */\n.puh_usage_route {\n flex: none;\n margin-left: auto;\n color: var(--dsw-alias-label-caption);\n cursor: default;\n font-size: 11px;\n font-weight: 500;\n line-height: 17px;\n white-space: nowrap;\n}\n.puh_usage_stale {\n flex: none;\n padding: 1px 8px;\n background: color-mix(in srgb, var(--dsw-alias-state-warn-label) 16%, transparent);\n border-radius: 999px;\n color: var(--dsw-alias-state-warn-label);\n font-size: 11px;\n font-weight: 500;\n line-height: 17px;\n white-space: nowrap;\n}\n/* The reorder pair pins to the card head's right edge; when it is rendered\n * the route caption drops its own auto margin and sits flush in the flow. */\n.puh_usage_route_flush { margin-left: 0; }\n.puh_usage_moves {\n display: inline-flex;\n align-items: center;\n flex: none;\n gap: 4px;\n margin-left: auto;\n}\n.puh_usage_move {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 22px;\n height: 22px;\n padding: 0;\n background: transparent;\n border: .5px solid var(--dsw-alias-border-l4);\n border-radius: 11px;\n color: var(--dsw-alias-label-tertiary);\n cursor: pointer;\n font: inherit;\n transition: background-color .12s ease, color .12s ease, opacity .12s ease;\n}\n.puh_usage_move:hover:not(:disabled) {\n background: var(--dsw-alias-interactive-bg-hover);\n color: var(--dsw-alias-label-secondary);\n}\n.puh_usage_move:focus-visible {\n outline: 2px solid var(--dsw-alias-state-business-primary);\n outline-offset: 2px;\n}\n.puh_usage_move:disabled {\n cursor: default;\n opacity: .4;\n}\n.puh_usage_move_icon {\n width: 12px;\n height: 12px;\n}\n.puh_usage_move_icon_up { transform: rotate(180deg); }\n.puh_usage_move_glyph {\n font-size: 11px;\n line-height: 1;\n}\n\n.puh_usage_cardbody { flex: 1 1 auto; min-width: 0; }\n.puh_usage_body {\n display: flex;\n flex-direction: column;\n gap: 4px;\n min-width: 0;\n}\n.puh_usage_money {\n display: flex;\n align-items: baseline;\n flex-wrap: wrap;\n column-gap: 8px;\n min-width: 0;\n}\n.puh_usage_amount {\n color: var(--dsw-alias-label-primary);\n font-size: 20px;\n font-weight: 650;\n font-variant-numeric: tabular-nums;\n letter-spacing: -.01em;\n}\n.puh_usage_currency {\n color: var(--dsw-alias-label-tertiary);\n font-size: 12px;\n line-height: 18px;\n}\n.puh_usage_note {\n flex-basis: 100%;\n color: var(--dsw-alias-label-caption);\n font-size: 12px;\n line-height: 18px;\n}\n.puh_usage_missing {\n color: var(--dsw-alias-state-warn-label);\n font-size: 13px;\n font-weight: 500;\n line-height: 20px;\n}\n\n.puh_usage_quota {\n display: flex;\n flex-direction: column;\n gap: 8px;\n min-width: 0;\n}\n.puh_usage_window {\n display: grid;\n grid-template-columns: minmax(56px, auto) minmax(0, 1fr) minmax(34px, auto);\n column-gap: 12px;\n align-items: center;\n min-width: 0;\n}\n.puh_usage_wlabel {\n display: flex;\n flex-direction: column;\n gap: 1px;\n min-width: 0;\n}\n.puh_usage_wname {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--dsw-alias-label-secondary);\n font-size: 12px;\n line-height: 16px;\n}\n.puh_usage_wtime {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--dsw-alias-label-caption);\n font-size: 11px;\n font-variant-numeric: tabular-nums;\n line-height: 15px;\n}\n.puh_usage_track {\n height: 6px;\n border-radius: 999px;\n overflow: hidden;\n background: var(--dsw-alias-border-l2);\n}\n.puh_usage_fill {\n height: 100%;\n border-radius: 999px;\n transition: width .3s ease;\n}\n.puh_usage_fill_ok { background: var(--dsw-alias-state-success-primary); }\n.puh_usage_fill_warn { background: var(--dsw-alias-state-warn-primary); }\n.puh_usage_fill_bad { background: var(--dsw-alias-state-error-primary); }\n.puh_usage_wpct {\n justify-self: end;\n color: var(--dsw-alias-label-primary);\n font-size: 13px;\n font-weight: 600;\n font-variant-numeric: tabular-nums;\n line-height: 20px;\n}\n.puh_usage_msg {\n display: flex;\n flex-direction: column;\n gap: 4px;\n min-width: 0;\n}\n.puh_usage_msgtext {\n color: var(--dsw-alias-label-tertiary);\n font-size: 13px;\n line-height: 20px;\n overflow-wrap: anywhere;\n}\n.puh_usage_msgdetail {\n color: var(--dsw-alias-label-caption);\n font-size: 12px;\n line-height: 18px;\n overflow-wrap: anywhere;\n}\n.puh_usage_previous { min-width: 0; }\n\n.puh_usage_cardfoot {\n display: flex;\n align-items: center;\n gap: 8px;\n min-width: 0;\n margin-top: auto;\n padding-top: 8px;\n border-top: .5px solid var(--dsw-alias-border-l2);\n}\n.puh_usage_lastsuccess {\n color: var(--dsw-alias-label-caption);\n font-size: 12px;\n font-variant-numeric: tabular-nums;\n line-height: 18px;\n}\n\n/* ---------- empty and skeleton ---------- */\n\n.puh_usage_empty {\n padding: 28px 20px;\n border: .5px dashed var(--dsw-alias-border-l3);\n border-radius: 12px;\n color: var(--dsw-alias-label-tertiary);\n font-size: 13px;\n line-height: 20px;\n text-align: center;\n}\n.puh_usage_card_skeleton { gap: 8px; }\n.puh_usage_skelbar {\n display: block;\n height: 10px;\n border-radius: 5px;\n background: var(--dsw-alias-border-l2);\n animation: puh_usage_pulse 1.4s ease-in-out infinite;\n}\n\n@keyframes puh_usage_pulse {\n 0%, 100% { opacity: .45; }\n 50% { opacity: 1; }\n}\n\n@media (max-width: 520px) {\n .puh_usage_controls { gap: 6px; }\n .puh_usage_menu_root { width: 116px; }\n .puh_usage_roundbar { align-items: stretch; flex-direction: column; gap: 8px; }\n .puh_usage_round { flex-basis: auto; width: 100%; }\n .puh_usage_statusline { margin-left: 0; }\n .puh_usage_route { margin-left: 0; }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .puh_usage_select,\n .puh_usage_button,\n .puh_usage_menu_item,\n .puh_usage_fill,\n .puh_usage_round_fill { transition: none; }\n .puh_usage_skelbar { animation: none; }\n}\n","skill":"/*\n * The skill domain stylesheet (docs/architecture.md §3.1/§3.5): the sub-tab\n * row; the 软链接 face (root line, override, migration banner, folder and\n * library lists); the 技能开关 face (filter, group sections, compact rows,\n * expanded detail, inline confirms, bulk actions); the 原生技能 face (preset\n * toolbar, provenance and catalog rows); the 可调用 face (channel filters,\n * callable cards, unavailable disclosure); and the shared page primitives all\n * four faces build on.\n *\n * It is DATA — the assembler reads it as the `skill` entry of HUB_STYLES and\n * the shell installs it into the one <style> tag. Host --dsw-* tokens only\n * (plus the shell's sanctioned --peg_accent pair), hairline .5px borders,\n * 10-12px radii, 34px controls, pill buttons, 13px/500 row labels and\n * 12px/18px help text — the same metrics as the shell, usage, routing and\n * codex sheets. No parent-relational pseudo-class is used anywhere (§3.5).\n *\n * The stable root class is `.peg_skill_panel`: it wraps every sub-page and is\n * present on every render of this domain.\n */\n\n/* --- frame and sub-tabs ---------------------------------------------------- */\n\n.peg_skill_panel{contain:layout style;display:flex;flex-direction:column;gap:12px;min-width:0}\n.peg_skill_tabpanel{display:flex;flex-direction:column;gap:12px;min-width:0;padding-top:2px}\n.peg_skill_subtabs{align-items:center;display:flex;flex-wrap:wrap;gap:4px;max-width:100%;width:max-content}\n.peg_skill_subtab{background:0 0;border:0;border-radius:6px;color:var(--dsw-alias-label-tertiary);cursor:pointer;flex:none;font:inherit;font-size:12px;font-weight:500;line-height:20px;outline:none;padding:4px 10px;transition:background-color .12s ease,color .12s ease;white-space:nowrap}\n.peg_skill_subtab:hover:not(.peg_skill_subtab_on){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary)}\n.peg_skill_subtab:focus-visible{outline:2px solid var(--peg_accent);outline-offset:2px}\n.peg_skill_subtab_on{background:color-mix(in srgb, var(--peg_accent) 20%, transparent);color:var(--peg_accent)}\n\n/* --- shared pieces --------------------------------------------------------- */\n\n.peg_skill_path{color:var(--dsw-alias-label-primary);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:18px;min-width:0;overflow:hidden;overflow-wrap:anywhere;text-overflow:ellipsis;white-space:nowrap}\n.peg_skill_pathinput{min-width:0;width:100%}\n.peg_skill_desc{color:var(--dsw-alias-label-secondary);font-size:12px;line-height:18px;overflow-wrap:anywhere}\n/* One description painter, shared by the three list faces: a >60-character\n text is clamped to two lines and gets the one 展开/收起 text button below it\n (the button is owned by the component, so the row never guesses). The wrap is\n a two-line column, not a sentence with a trailing control. */\n.peg_skill_descwrap{display:flex;flex-direction:column;gap:2px;min-width:0}\n.peg_skill_desc_clamped{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}\n.peg_skill_desctoggle{background:0 0;border:0;color:var(--peg_accent);cursor:pointer;font:inherit;font-size:12px;line-height:18px;padding:0;text-align:left;width:max-content}\n.peg_skill_desctoggle:hover{text-decoration:underline}\n.peg_skill_desctoggle:focus-visible{outline:2px solid var(--peg_accent);outline-offset:2px}\n.peg_skill_reason{color:var(--dsw-alias-label-caption);font-size:12px;line-height:18px;overflow-wrap:anywhere}\n.peg_skill_warn{color:var(--dsw-alias-state-warn-label);font-size:12px;line-height:18px;overflow-wrap:anywhere}\n.peg_skill_target{color:var(--dsw-alias-label-secondary);font-size:12px;line-height:18px;overflow-wrap:anywhere}\n.peg_skill_danger{color:var(--dsw-alias-state-error-primary)}\n.peg_skill_check{accent-color:var(--peg_accent_fill);flex:none;height:16px;margin:0;width:16px}\n.peg_skill_skips{display:flex;flex-direction:column;gap:4px;margin:0}\n.peg_skill_skiplist{display:flex;flex-direction:column;gap:4px;list-style:none;margin:0;padding:0}\n.peg_skill_flags{align-items:center;display:flex;flex-wrap:wrap;gap:6px}\n\n/* --- the root line and its override ---------------------------------------- */\n\n.peg_skill_links{display:flex;flex-direction:column;gap:14px;min-width:0}\n.peg_skill_root{align-items:center;display:flex;flex-wrap:wrap;gap:8px 10px;min-width:0}\n.peg_skill_rootrow{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_skill_rootrow>.peg_skill_pathinput{flex:1 1 240px}\n\n/* --- the takeover banner and the inline confirms --------------------------- */\n\n.peg_skill_banner{background:color-mix(in srgb, var(--dsw-alias-state-warn-label) 10%, transparent);border:.5px solid var(--dsw-alias-border-l2);border-radius:12px;display:flex;flex-direction:column;gap:8px;min-width:0;padding:10px 12px}\n.peg_skill_banner_text{color:var(--dsw-alias-state-warn-label);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_skill_confirm{background:color-mix(in srgb, var(--dsw-alias-state-warn-label) 10%, transparent);border-radius:10px;display:flex;flex-direction:column;gap:8px;min-width:0;padding:10px 12px}\n.peg_skill_confirm_text{color:var(--dsw-alias-state-warn-label);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_skill_confirm_actions{align-items:center;display:flex;flex-wrap:wrap;gap:8px}\n\n/* --- the read-only folder read --------------------------------------------- */\n\n.peg_skill_read{display:flex;flex-direction:column;gap:8px;min-width:0}\n.peg_skill_readrow{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_skill_readrow>.peg_skill_pathinput{flex:1 1 260px}\n.peg_skill_scan{display:flex;flex-direction:column;gap:8px;min-width:0}\n.peg_skill_scanlist{border:.5px solid var(--dsw-alias-border-l2);border-radius:12px;display:flex;flex-direction:column;min-width:0;overflow:hidden}\n.peg_skill_scanrow{align-items:flex-start;display:flex;gap:10px;min-width:0;padding:10px 12px}\n.peg_skill_scanrow~.peg_skill_scanrow{border-top:.5px solid var(--dsw-alias-border-l2)}\n.peg_skill_scanrow_linked{background:color-mix(in srgb, var(--dsw-alias-label-primary) 2%, transparent)}\n.peg_skill_scanrow_disabled{opacity:.72}\n.peg_skill_scancopy{display:flex;flex:1 1 auto;flex-direction:column;gap:2px;min-width:0}\n.peg_skill_scanmain{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_skill_scanrow_name{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:500;line-height:20px;overflow-wrap:anywhere}\n.peg_skill_scanrow_dir{color:var(--dsw-alias-label-caption);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:18px}\n.peg_skill_scanactions{align-items:center;display:flex;flex-wrap:wrap;gap:8px}\n\n/* --- the library list ------------------------------------------------------ */\n\n.peg_skill_libraries{display:flex;flex-direction:column;gap:10px;min-width:0}\n.peg_skill_library{border:.5px solid var(--dsw-alias-border-l2);border-radius:12px;display:flex;flex-direction:column;gap:8px;min-width:0;padding:12px}\n.peg_skill_libraryhead{align-items:baseline;display:flex;flex-wrap:wrap;gap:8px 12px;min-width:0}\n.peg_skill_libraryactions{align-items:center;display:flex;flex-wrap:wrap;gap:8px}\n\n/* --- the skill rows (compact, one line each) ------------------------------- */\n\n/* The 8px rhythm: every gap on this face is 8, 16 or 24 (the action cluster\n inside a row keeps a 4px half-step, like the shell's own button clusters). */\n.peg_skill_skills{display:flex;flex-direction:column;gap:16px;min-width:0}\n/* The filter face: a title row, then one row per dimension. Each dimension\n keeps its own caption and its pills, so 512px wraps nothing uncontrolled —\n the rows simply stack and the pills stay whole. */\n.peg_skill_filter{display:flex;flex-direction:column;gap:8px;min-width:0}\n.peg_skill_filternew{margin-left:auto}\n.peg_skill_filterrow{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_skill_filterlabel{color:var(--dsw-alias-label-tertiary);flex:none;font-size:12px;line-height:18px;min-width:64px}\n.peg_skill_list{display:flex;flex-direction:column;gap:8px;min-width:0}\n/* ONE row = ONE 40px line, at every viewport width. The row is a block whose\n first child is the nowrap line (checkbox, dot, name, source, note, actions);\n the expanded detail and the inline confirms stack below it. Nothing on the\n line may wrap: the source library is the first thing to collapse (a much\n higher flex-shrink), then the link name, then the skill name — each with an\n ellipsis, never a second line. */\n.peg_skill_row{display:block;min-width:0;padding:0 12px;transition:background-color .12s ease}\n.peg_skill_row~.peg_skill_row{border-top:.5px solid var(--dsw-alias-border-l2)}\n/* ④ hover: the ground lifts AND the copy steps up one tone, so the pointer\n tells you which line it is on without a border jumping around. */\n.peg_skill_row:hover{background:var(--dsw-alias-interactive-bg-hover)}\n.peg_skill_row:hover .peg_skill_source{color:var(--dsw-alias-label-tertiary)}\n.peg_skill_row_off,.peg_skill_row_missing{background:color-mix(in srgb, var(--dsw-alias-label-primary) 2%, transparent)}\n.peg_skill_row_off .peg_skill_name,.peg_skill_row_missing .peg_skill_name{color:var(--dsw-alias-label-tertiary)}\n.peg_skill_row_off:hover .peg_skill_name,.peg_skill_row_missing:hover .peg_skill_name{color:var(--dsw-alias-label-secondary)}\n.peg_skill_row_conflict{border-left:2px solid var(--dsw-alias-state-warn-label)}\n.peg_skill_row_open{background:color-mix(in srgb, var(--peg_accent) 8%, transparent);padding-bottom:8px}\n.peg_skill_rowmain{align-items:center;display:flex;flex:none;flex-wrap:nowrap;gap:8px;height:40px;min-width:0}\n.peg_skill_rowcopy{align-items:center;display:flex;flex:1 1 auto;flex-wrap:nowrap;gap:8px;min-width:0}\n.peg_skill_rowtitle{align-items:center;display:flex;flex:0 1 auto;flex-wrap:nowrap;gap:8px;min-width:0}\n.peg_skill_name{color:var(--dsw-alias-label-primary);flex:0 1 auto;font-size:13px;font-weight:500;line-height:20px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n/* ② the directory alias is a chip: a quiet pill that stays readable while the\n source path is the thing that gives way. */\n.peg_skill_linkname{background:var(--dsw-alias-bg-module-platform);border-radius:999px;color:var(--dsw-alias-label-caption);flex:none;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;line-height:16px;max-width:120px;min-width:0;overflow:hidden;padding:1px 8px;text-overflow:ellipsis;white-space:nowrap}\n/* ② the detail's capability chips; a \"not invocable\" chip recedes. The base is\n the shared chip primitive the four sub-tabs use (see the page-primitives\n section at the end): an inline-flex pill so a 14px icon can sit inside it. */\n.peg_skill_chip{align-items:center;background:var(--dsw-alias-bg-module-platform);border-radius:999px;color:var(--dsw-alias-label-secondary);display:inline-flex;flex:none;font-size:11px;font-weight:500;gap:4px;line-height:17px;padding:1px 8px;white-space:nowrap}\n.peg_skill_chip_off{background:transparent;box-shadow:inset 0 0 0 .5px var(--dsw-alias-border-l3);color:var(--dsw-alias-label-caption)}\n.peg_skill_state{color:var(--dsw-alias-label-secondary);flex:none;font-size:12px;line-height:18px}\n/* ① the source library drops to a mono 11px whisper: it is reference data, not\n the row's subject, and it is still the first thing to ellipsise. */\n.peg_skill_source{color:var(--dsw-alias-label-dimmed);flex:0 5000 auto;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;line-height:16px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_skill_note{align-items:center;display:flex;flex:0 200 auto;flex-wrap:nowrap;gap:8px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_skill_note>.peg_skill_warn,.peg_skill_note>.peg_skill_target,.peg_skill_note>.peg_skill_reason{flex:0 1 auto;font-size:11px;line-height:16px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_skill_rowactions{align-items:center;display:flex;flex:none;flex-wrap:nowrap;gap:4px;margin-left:auto}\n/* ⑥ a row is quiet until you reach for it: the actions are neutral text, the\n one meaningful action (修复/纳入管理) keeps the accent, and only a hovered\n 删除 turns danger. */\n.peg_skill_rowactions>.peg_menu_retry{border-radius:999px;color:var(--dsw-alias-label-tertiary);padding:2px 8px}\n.peg_skill_rowactions>.peg_menu_retry:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}\n.peg_skill_rowactions>.peg_menu_retry.peg_skill_primary{color:var(--peg_accent)}\n.peg_skill_rowactions>.peg_menu_retry.peg_skill_danger{color:var(--dsw-alias-label-dimmed)}\n.peg_skill_rowactions>.peg_menu_retry.peg_skill_danger:hover:not(:disabled){background:color-mix(in srgb, var(--dsw-alias-state-error-primary) 12%, transparent);color:var(--dsw-alias-state-error-primary)}\n.peg_skill_bulk{align-items:center;border-top:.5px solid var(--dsw-alias-border-l2);display:flex;flex-wrap:wrap;gap:8px;min-width:0;padding-top:16px}\n.peg_skill_bulk_permissions{display:flex;flex-basis:100%;flex-direction:column;gap:8px;min-width:0}\n\n/* --- the group sections ---------------------------------------------------- */\n\n.peg_skill_groupnew{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_skill_groupnew>.peg_skill_pathinput{flex:1 1 220px}\n.peg_skill_groupnewhint{flex:1 1 100%}\n/* Every group — and the 未分组 bucket — is its OWN card: one hairline border and\n one 12px radius per card, an 8px seam between cards (the `.peg_skill_list`\n gap). No card clips its content: the ⋯ menu has to escape a folded card. */\n.peg_skill_section{background:color-mix(in srgb, var(--dsw-alias-label-primary) 2%, transparent);border:.5px solid var(--dsw-alias-border-l2);border-radius:12px;display:flex;flex-direction:column;min-width:0;transition:border-color .12s ease}\n.peg_skill_section:hover{border-color:var(--dsw-alias-border-l3)}\n.peg_skill_grouphead{align-items:center;background:color-mix(in srgb, var(--dsw-alias-label-primary) 3%, transparent);border-radius:11px 11px 0 0;display:flex;flex-wrap:wrap;gap:8px;min-width:0;padding:8px 12px;position:relative}\n/* A folded card is only its head, so the head carries all four corners. */\n.peg_skill_section_collapsed>.peg_skill_grouphead{border-radius:11px}\n.peg_skill_grouparrow{align-items:center;background:0 0;border:0;border-radius:6px;color:var(--dsw-alias-label-tertiary);cursor:pointer;display:inline-flex;flex:none;height:24px;justify-content:center;outline:none;padding:0;width:24px}\n.peg_skill_grouparrow:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}\n.peg_skill_grouparrow:focus-visible{outline:2px solid var(--peg_accent);outline-offset:1px}\n/* ⑤ one chevron that turns: the fold reads as motion, and the reduced-motion\n block below switches the transition off. */\n.peg_skill_groupchevron{display:block;flex:none;height:14px;transition:transform .12s ease;width:14px}\n.peg_skill_groupchevron_collapsed{transform:rotate(-90deg)}\n/* The icon-less stand-in draws the same caret with two borders. */\n.peg_skill_groupchevron_placeholder{border-bottom:1.5px solid currentColor;border-right:1.5px solid currentColor;border-radius:1px;height:6px;margin:0 0 4px;transform:rotate(45deg);width:6px}\n.peg_skill_groupname{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:500;line-height:20px;min-width:0;overflow-wrap:anywhere}\n.peg_skill_groupactions{align-items:center;display:flex;flex:none;flex-wrap:wrap;gap:8px;margin-left:auto}\n/* ③ the x/y 已开 counter is a pill, not a sentence: tabular digits in a quiet\n capsule that lines up with the switch beside it. */\n.peg_skill_count{background:color-mix(in srgb, var(--dsw-alias-label-primary) 6%, transparent);border-radius:999px;color:var(--dsw-alias-label-tertiary);flex:none;font-size:11px;font-variant-numeric:tabular-nums;font-weight:500;line-height:16px;padding:1px 8px}\n.peg_skill_groupmenu{color:var(--dsw-alias-label-tertiary);font-size:15px;line-height:18px;padding:2px 8px}\n.peg_skill_groupmenu:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}\n.peg_skill_groupmenupanel{background:var(--dsw-specific-menu);border:.5px solid var(--dsw-alias-border-l4);border-radius:10px;box-shadow:var(--dsw-elevation-panel);display:flex;flex-direction:column;gap:2px;min-width:120px;padding:4px;position:absolute;right:12px;top:calc(100% - 2px);z-index:20}\n.peg_skill_groupmenuitem{background:0 0;border:0;border-radius:8px;color:var(--dsw-alias-label-primary);cursor:pointer;display:block;font:inherit;font-size:13px;line-height:20px;padding:6px 8px;text-align:left;width:100%}\n.peg_skill_groupmenuitem:hover{background:var(--dsw-alias-interactive-bg-hover)}\n.peg_skill_groupmenuitem:focus-visible{background:var(--dsw-alias-interactive-bg-hover);outline:none}\n/* The body rounds into the card's bottom corners and clips its rows there; the\n head's ⋯ menu lives outside it, so nothing a card floats gets cut off. */\n.peg_skill_grouprows{border-radius:0 0 11px 11px;display:flex;flex-direction:column;min-width:0;overflow:hidden}\n.peg_skill_ungroupedlabel{color:var(--dsw-alias-label-tertiary);font-size:12px;font-weight:500;line-height:18px}\n/* The 未分组 head: caret + muted label + count, and nothing else — it is a card,\n not a group, so it never grows group controls. */\n.peg_skill_ungroupedhead{gap:8px}\n/* ⑦ a placeholder is a quiet, centred line — an empty body must read as \"nothing\n here on purpose\", never as a broken render. */\n.peg_skill_groupempty{color:var(--dsw-alias-label-dimmed);font-size:12px;line-height:18px;margin:0;padding:16px 12px;text-align:center}\n.peg_skill_groupreport{color:var(--dsw-alias-state-warn-label);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n\n/* --- the inline member panel ----------------------------------------------- */\n\n.peg_skill_memberpanel{background:var(--dsw-alias-bg-layer-1);border-top:.5px solid var(--dsw-alias-border-l2);display:flex;flex-direction:column;gap:8px;min-width:0;padding:8px 12px}\n.peg_skill_memberlist{display:flex;flex-direction:column;gap:2px;max-height:240px;min-width:0;overflow:auto;overscroll-behavior:contain}\n.peg_skill_memberrow{align-items:center;border-radius:8px;display:flex;gap:8px;min-width:0;padding:4px 8px}\n.peg_skill_memberrow:hover{background:var(--dsw-alias-interactive-bg-hover)}\n.peg_skill_membername{color:var(--dsw-alias-label-primary);flex:0 1 auto;font-size:13px;line-height:20px;min-width:0;overflow-wrap:anywhere}\n.peg_skill_membernote{color:var(--dsw-alias-label-caption);font-size:12px;line-height:18px;margin-left:auto;white-space:nowrap}\n.peg_skill_memberactions{align-items:center;display:flex;gap:8px;justify-content:flex-end;min-width:0}\n\n/* --- the expanded detail --------------------------------------------------- */\n\n.peg_skill_detail{border-top:.5px solid var(--dsw-alias-border-l2);display:flex;flex:1 1 100%;flex-direction:column;gap:8px;min-width:0;padding-top:8px}\n.peg_skill_detailbody{display:flex;flex-direction:column;gap:8px;min-width:0}\n.peg_skill_detailpath{color:var(--dsw-alias-label-secondary);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:18px;overflow-wrap:anywhere}\n/* One scrollable block, two contents: the SKILL.md body (monospace) and the\n full description (prose). The container language — ground, hairline, 10px\n radius, 320px ceiling, scroll — is shared; only the font differs. */\n.peg_skill_content,.peg_skill_descblock{background:var(--dsw-alias-bg-layer-1);border:.5px solid var(--dsw-alias-border-l2);border-radius:10px;color:var(--dsw-alias-label-primary);font-size:12px;line-height:18px;margin:0;max-height:320px;overflow:auto;overscroll-behavior:contain;padding:10px 12px;white-space:pre-wrap;word-break:break-word}\n.peg_skill_content{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}\n.peg_skill_descblock{font-family:inherit;font-size:13px;line-height:20px}\n.peg_skill_detaildesc{display:flex;flex-direction:column;gap:8px;min-width:0}\n.peg_skill_detaillabel{color:var(--dsw-alias-label-tertiary);font-size:11px;font-weight:500;line-height:16px}\n\n/* --- the invocation overrides (权限覆盖) ----------------------------------- */\n\n/* One captioned row per dimension, at the same 8px rhythm as the rest of the\n detail: the pills are never squeezed, the caption lines up with them. */\n.peg_skill_permissions{border-top:.5px solid var(--dsw-alias-border-l2);display:flex;flex-direction:column;gap:8px;min-width:0;padding-top:8px}\n.peg_skill_permissionhead{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_skill_permissionrow{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_skill_permissionlabel{color:var(--dsw-alias-label-tertiary);flex:none;font-size:12px;line-height:18px;min-width:64px}\n.peg_skill_permissionhint{color:var(--dsw-alias-label-dimmed);font-size:12px;line-height:18px;margin:0}\n/* The 已覆盖 marker: the accent says \"this skill does not follow its file\". */\n.peg_skill_chip_override{background:color-mix(in srgb, var(--peg_accent_fill) 16%, transparent);color:var(--peg_accent)}\n\n@media (max-width:520px){\n .peg_skill_subtab{padding-inline:10px}\n /* Narrower, but still exactly one line: the row's chain never wraps here\n either — only the gaps tighten and the source collapses sooner. */\n .peg_skill_rowmain{flex-wrap:nowrap;gap:6px}\n .peg_skill_rowcopy{flex-wrap:nowrap;gap:6px}\n .peg_skill_rowtitle{flex-wrap:nowrap;gap:4px}\n .peg_skill_note{flex-wrap:nowrap}\n .peg_skill_rowactions{flex-wrap:nowrap;gap:4px;margin-left:auto}\n .peg_skill_rowactions>.peg_menu_retry{padding:2px 6px}\n .peg_skill_groupactions{margin-left:0}\n .peg_skill_rootrow>.peg_skill_pathinput,.peg_skill_readrow>.peg_skill_pathinput{flex:1 1 100%}\n}\n@media (prefers-reduced-motion:reduce){\n .peg_skill_subtab,.peg_skill_row,.peg_skill_card,.peg_skill_section,.peg_skill_select{transition:none}\n .peg_skill_groupchevron{transition:none}\n}\n\n/* --- the native skills page (原生技能) ------------------------------------- */\n/* Catalog paths are per-entry, not a presumed shared filesystem root. */\n.peg_skill_path_abs{flex:1 1 240px;overflow:visible;text-overflow:clip;white-space:normal}\n.peg_skill_nativeprovenance,.peg_skill_nativesources{align-items:center;color:var(--dsw-alias-label-caption);display:flex;flex-wrap:wrap;font-size:12px;gap:6px;overflow-wrap:anywhere}\n.peg_skill_native{display:flex;flex-direction:column;gap:12px;min-width:0}\n.peg_skill_nativelist{display:flex;flex-direction:column;gap:8px;min-width:0}\n\n/* --- shared page primitives (all four sub-tabs) ---------------------------- */\n/* The four faces speak the Codex face's visual language (its sheet is the\n read-only reference): a 12px page rhythm, 12px cards with a hairline border,\n 34px controls with a 10px radius, 13px/500 labels, 12px/18px help, pill\n badges, and the accent only on the active/selected/focus state. The active\n sub-tab already names the page, so the page head is one quiet lead line (the\n callable face adds its summary on the right), never a second big title. */\n\n.peg_skill_page{display:flex;flex-direction:column;gap:12px;min-width:0}\n.peg_skill_pagehead{align-items:center;display:flex;flex-wrap:wrap;gap:8px 12px;min-width:0}\n.peg_skill_pagedesc{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_skill_pageactions{align-items:center;display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}\n.peg_skill_toolbar{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_skill_toolbar_spacer{margin-left:auto}\n/* The one preset control both catalog pages render. The 34px frame owns the\n only border, the caption sits inside it on the left of a hairline divider,\n and the field on the right holds just the borderless native select plus its\n chevron. Focus/hover draw on the frame alone, so there is never a double\n border; the field may shrink and never overflows a narrow toolbar. */\n.peg_skill_select{align-items:center;background:var(--dsw-alias-bg-layer-1);border:.5px solid var(--dsw-alias-border-l2);border-radius:10px;box-sizing:border-box;display:inline-flex;flex-wrap:nowrap;height:34px;max-width:100%;min-width:0;padding:0 8px 0 10px;transition:border-color .12s ease,box-shadow .12s ease}\n.peg_skill_select:hover{border-color:var(--dsw-alias-border-l3)}\n.peg_skill_select:focus-within{border-color:var(--peg_accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--peg_accent) 18%,transparent)}\n.peg_skill_selectlabel{border-right:.5px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-tertiary);flex:none;font-size:12px;line-height:32px;margin-right:8px;padding-right:8px;white-space:nowrap}\n.peg_skill_selectfield{flex:1 1 160px;height:32px;min-width:0;position:relative}\n.peg_skill_selectinput{appearance:none;-webkit-appearance:none;background:transparent;border:0;box-sizing:border-box;color:var(--dsw-alias-label-primary);cursor:pointer;font:inherit;font-size:13px;height:32px;line-height:32px;min-width:0;outline:none;overflow:hidden;padding:0 24px 0 0;text-overflow:ellipsis;white-space:nowrap;width:100%}\n.peg_skill_selectinput:focus-visible{outline:none}\n.peg_skill_selectchevron{align-items:center;color:var(--dsw-alias-label-tertiary);display:inline-flex;pointer-events:none;position:absolute;right:0;top:50%;transform:translateY(-50%)}\n/* The one collapsed disclosure that keeps unavailable skills out of the\n callable list: a quiet text button that becomes the section title. */\n.peg_skill_unavailable{display:flex;flex-direction:column;gap:8px;min-width:0}\n.peg_skill_disclosure{background:0 0;border:0;border-radius:6px;color:var(--dsw-alias-label-primary);cursor:pointer;font:inherit;font-size:13px;font-weight:500;line-height:20px;padding:2px 0;text-align:left}\n.peg_skill_disclosure:hover{color:var(--peg_accent)}\n.peg_skill_disclosure:focus-visible{outline:2px solid var(--peg_accent);outline-offset:2px}\n.peg_skill_sectionhead{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_skill_sectiontitle{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:500;line-height:20px;margin:0}\n.peg_skill_card{background:color-mix(in srgb, var(--dsw-alias-label-primary) 2%, transparent);border:.5px solid var(--dsw-alias-border-l2);border-radius:12px;display:flex;flex-direction:column;gap:10px;min-width:0;padding:12px;transition:border-color .12s ease}\n.peg_skill_card:hover{border-color:var(--dsw-alias-border-l3)}\n.peg_skill_cardhead{align-items:flex-start;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_skill_synccard>.peg_skill_cardhead{align-items:center}\n.peg_skill_cardtitle{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:500;line-height:20px;min-width:0}\n.peg_skill_cardbody{display:flex;flex-direction:column;gap:6px;min-width:0}\n.peg_skill_cardmeta{align-items:center;color:var(--dsw-alias-label-caption);display:flex;flex-wrap:wrap;font-size:12px;gap:6px;line-height:18px}\n.peg_skill_chip_on{background:color-mix(in srgb, var(--peg_accent) 14%, transparent);color:var(--peg_accent)}\n/* Unknown is a dashed hairline: \"we did not read it\" never looks like \"off\". */\n.peg_skill_chip_unknown{background:color-mix(in srgb, var(--dsw-alias-label-primary) 4%, transparent);border:.5px dashed var(--dsw-alias-border-l3);color:var(--dsw-alias-label-dimmed)}\n.peg_skill_chip_warn{background:color-mix(in srgb, var(--dsw-alias-state-warn-label) 14%, transparent);color:var(--dsw-alias-state-warn-label)}\n/* The two severities the row-state chips share with the state dots: an invalid\n row is an error, an unmanaged link is \"not ours but present\" (the accent). */\n.peg_skill_chip_bad{background:color-mix(in srgb, var(--dsw-alias-state-error-primary) 12%, transparent);color:var(--dsw-alias-state-error-primary)}\n.peg_skill_chip_running{background:color-mix(in srgb, var(--peg_accent) 14%, transparent);color:var(--peg_accent)}\n.peg_skill_chip_accent{background:color-mix(in srgb, var(--peg_accent_fill) 16%, transparent);color:var(--peg_accent)}\n.peg_skill_icon{display:block;flex:none;height:14px;width:14px}\n.peg_skill_empty{align-items:center;color:var(--dsw-alias-label-dimmed);display:flex;flex-direction:column;font-size:12px;gap:4px;justify-content:center;line-height:18px;padding:24px 12px;text-align:center}\n.peg_skill_notice{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_skill_errorline{color:var(--dsw-alias-state-error-primary);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_skill_cardlist{display:flex;flex-direction:column;gap:8px;min-width:0}\n\n/* --- ScanRow layout / count pills: the combinations, not inline style ------ */\n/* A scan row is a `.peg_skill_card` too, but it is a flat one-line row: it must\n beat the later card rule without restating `flex-direction` in JS. */\n.peg_skill_card.peg_skill_scanrow{background:transparent;border:0;border-radius:0;flex-direction:row;padding:10px 12px}\n.peg_skill_card.peg_skill_scanrow:hover{background:var(--dsw-alias-interactive-bg-hover)}\n.peg_skill_card.peg_skill_scanrow_linked:hover{background:color-mix(in srgb, var(--dsw-alias-label-primary) 4%, transparent)}\n/* The 全关/空组 count keeps the pill metrics of `.peg_skill_count` and only takes\n the quiet `_off` surface, which the later count rule would otherwise reset. */\n.peg_skill_count.peg_skill_chip_off{background:transparent;box-shadow:inset 0 0 0 .5px var(--dsw-alias-border-l3);color:var(--dsw-alias-label-caption)}\n","routing":"/* The routing panel. Host --dsw-* tokens only, hairline .5px borders, 10-12px\n radii, 34px controls, 13px/500 labels and 12px/18px help. The `peg_*` class\n names are the frozen UI vocabulary and are never renamed.\n The shared controls this panel renders (`peg_settings_label`, `_help`,\n `_status`, `_port`, `_probe`, `_switch`) are owned by `src/shell/styles.css`,\n which the shell concatenates first; this sheet declares the routing shapes\n only. `.peg_proxy_retry` is routing's own error-state retry button. */\n\n.peg_proxy_panel{contain:layout style;display:flex;flex-direction:column;gap:12px;min-width:0}\n.peg_settings_warning{color:var(--dsw-alias-state-warn-primary);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_proxy_controls>.peg_settings_status_ok,.peg_proxy_controls>.peg_settings_error{background-image:radial-gradient(circle at center, currentColor 0 3px, transparent 3.5px);background-position:0 6px;background-repeat:no-repeat;background-size:6px 6px;flex:0 1 auto;font-weight:500;min-width:0;padding-left:13px}\n.peg_settings_group{display:flex;flex-direction:column;min-width:0}\n.peg_proxy_form{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px 12px;padding:0;min-width:0}\n.peg_proxy_form>.peg_settings_label{white-space:nowrap}\n.peg_proxy_form>.peg_proxy_protocol_help{grid-column:1/-1}\n.peg_proxy_controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_proxy_controls>.peg_settings_port{width:104px}\n.peg_proxy_controls>.peg_settings_probe{flex:none}\n.peg_proxy_meta,.peg_proxy_meta>*{min-width:0}\n.peg_proxy_meta{grid-column:1/-1;align-items:baseline;color:var(--dsw-alias-label-caption);display:flex;flex-wrap:wrap;gap:4px 6px;font-size:12px;font-variant-numeric:tabular-nums;justify-content:flex-start;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_proxy_meta>*+*::before{color:var(--dsw-alias-label-dimmed);content:\"·\";margin-right:6px}\n.peg_settings_endpoint{color:var(--dsw-alias-label-caption);flex:0 1 auto;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:18px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_settings_probe_loading::before{animation:peg_spin .8s linear infinite;border:.5px solid currentColor;border-radius:50%;border-top-color:transparent;content:\"\";height:12px;width:12px}\n.peg_settings_zone_head{align-items:center;border-top:.5px solid var(--dsw-alias-border-l2);display:flex;gap:12px;justify-content:space-between;min-width:0;padding-top:14px}\n.peg_settings_provider_count{background:var(--dsw-alias-bg-module-platform);border-radius:999px;color:var(--dsw-alias-label-tertiary);flex:none;font-size:11px;font-variant-numeric:tabular-nums;font-weight:500;line-height:17px;padding:1px 8px;white-space:nowrap}\n.peg_settings_provider_count_on{background:color-mix(in srgb, var(--peg_accent) 20%, transparent);color:var(--peg_accent)}\n.peg_settings_provider_list{display:flex;flex-direction:column;gap:2px;margin:0 -8px -6px;min-width:0}\n.peg_settings_provider{align-items:center;border-radius:10px;cursor:pointer;display:flex;gap:10px;padding:9px 8px;transition:background-color .12s ease}\n.peg_settings_provider:hover{background:var(--dsw-alias-interactive-bg-hover)}\n.peg_settings_provider_off{cursor:default}\n.peg_settings_provider_off:hover{background:transparent}\n.peg_settings_provider_dot{background:var(--dsw-alias-label-dimmed);border-radius:50%;corner-shape:round;flex:none;height:7px;transition:background-color .12s ease;width:7px}\n.peg_settings_provider_on .peg_settings_provider_dot{background:var(--peg_accent)}\n.peg_settings_provider_copy{align-items:baseline;display:flex;flex:1 1 auto;gap:8px;min-width:0}\n.peg_settings_provider_name{color:var(--dsw-alias-label-secondary);font-size:13px;font-weight:500;line-height:20px;overflow:hidden;text-overflow:ellipsis;transition:color .12s ease;white-space:nowrap}\n.peg_settings_provider_on .peg_settings_provider_name{color:var(--dsw-alias-label-primary)}\n.peg_settings_provider_id{color:var(--dsw-alias-label-caption);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:18px;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_settings_provider_note{border-top:.5px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px;margin:2px 0 0;padding:12px 0 0}\n.peg_settings_provider_note_endpoint{color:var(--dsw-alias-label-secondary);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}\n.peg_proxy_current{color:var(--dsw-alias-label-secondary);font-size:13px;font-weight:500;line-height:20px;margin:0;overflow-wrap:anywhere}\n.peg_proxy_client{display:flex;flex-direction:column;gap:8px;min-width:0}\n.peg_proxy_client_meta{display:flex;flex-wrap:wrap;gap:4px 8px;min-width:0}\n.peg_proxy_client_badge{background:var(--dsw-alias-bg-module-platform);border-radius:999px;color:var(--dsw-alias-label-tertiary);font-size:11px;font-variant-numeric:tabular-nums;font-weight:500;line-height:17px;padding:1px 8px}\n.peg_proxy_client_badge_on{background:color-mix(in srgb, var(--peg_accent) 16%, transparent);color:var(--peg_accent)}\n.peg_proxy_draft{border:.5px solid var(--dsw-alias-border-l2);border-radius:10px;display:flex;flex-direction:column;gap:10px;min-width:0;padding:12px}\n.peg_proxy_draft_title{color:var(--dsw-alias-label-secondary);font-size:13px;font-weight:500;line-height:20px;margin:0}\n.peg_proxy_draft_form{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px 12px;min-width:0}\n.peg_proxy_draft_form>.peg_settings_label{white-space:nowrap}\n.peg_proxy_draft_port{border:.5px solid var(--dsw-alias-border-l3);border-radius:10px;color:var(--dsw-alias-label-primary);font:inherit;font-size:13px;height:34px;min-width:0;padding:0 10px;width:104px}\n.peg_proxy_draft_port[aria-invalid=\"true\"]{border-color:var(--dsw-alias-state-error-primary)}\n.peg_proxy_draft_actions{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_proxy_draft_actions>.peg_proxy_draft_cancel{margin-left:0}\n.peg_proxy_invalid{margin:0}\n.peg_proxy_retry{align-items:center;background:0 0;border:.5px solid var(--dsw-alias-border-l3);border-radius:12px;color:var(--dsw-alias-label-primary);cursor:pointer;display:inline-flex;font:inherit;font-size:12px;font-weight:500;height:24px;line-height:18px;margin-left:8px;padding:0 10px}\n.peg_proxy_retry:hover{background:var(--dsw-alias-interactive-bg-hover)}\n.peg_proxy_retry:focus-visible{outline:2px solid var(--peg_accent);outline-offset:2px}\n@keyframes peg_spin{to{transform:rotate(360deg)}}\n@media(max-width:520px){.peg_proxy_form,.peg_proxy_draft_form{grid-template-columns:minmax(0,1fr)}.peg_settings_provider_list{margin:0 -6px -4px}.peg_settings_provider{padding:8px 6px}}\n@media (prefers-reduced-motion:reduce){.peg_settings_port,.peg_settings_probe,.peg_settings_provider,.peg_settings_provider_dot,.peg_settings_provider_name,.peg_settings_switch,.peg_settings_switch::after,.peg_proxy_draft_port{transition:none}.peg_settings_probe_loading::before{animation:none}}\n","codex":"/*\n * The codex domain stylesheet (docs/architecture.md §3.1/§3.5): the Codex\n * account / search / requests / models faces, the conversation model picker\n * menu, and the codex sub-tab row. It is DATA — the assembler reads it as the\n * `codex` entry of HUB_STYLES and the shell installs it into the one\n * <style> tag. Host --dsw-* tokens only, hairline .5px borders, 10-12px\n * radii, 34px controls, 13px/500 row labels, 12px/18px help text.\n *\n * The codex faces' own rules live here; the shared controls they render\n * (`peg_settings_label`, `_help`, `_status`, `_port`, `_probe`, `_switch`,\n * `_segment`, `_badge`, `_control`, `peg_menu_retry`) are declared once in\n * `src/shell/styles.css`, which the shell concatenates first, so the Codex\n * faces keep the visual language wherever the shell mounts them. A codex rule\n * that must hold only inside the shell's page wrapper keeps its\n * `.peg_settings_section` prefix.\n */\n\n.peg_menu_root{min-width:0;position:relative}\n.peg_menu_trigger{min-width:0;max-width:min(360px,45cqw);height:28px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;border-radius:24px;outline:none;align-items:center;gap:4px;padding:0 4px 0 8px;font-size:13px;font-weight:500;line-height:20px;display:flex}\n.peg_menu_trigger:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover)}\n.peg_menu_trigger:focus-visible{box-shadow:none}\n.peg_menu_trigger:disabled{color:var(--dsw-alias-label-dimmed);cursor:default}\n.peg_menu_trigger_label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}\n.peg_menu_trigger_effort{color:var(--dsw-alias-label-caption);flex:none}\n.peg_menu_chevron{color:var(--dsw-alias-label-caption);flex:none;transition:transform .12s}\n.peg_menu_chevron_open{transform:rotate(180deg)}\n.peg_menu_menu{z-index:20;border:.5px solid var(--dsw-alias-border-l4);background:var(--dsw-specific-menu);width:max-content;min-width:min(240px,100vw - 32px);max-width:min(420px,100vw - 32px);max-height:min(360px,100vh - 96px);box-shadow:var(--dsw-elevation-panel);color:var(--dsw-alias-label-primary);border-radius:12px;flex-direction:column;padding:4px;display:flex;position:absolute;bottom:calc(100% + 8px);right:0;overflow:hidden}\n.peg_menu_status,.peg_menu_empty{color:var(--dsw-alias-label-tertiary);padding:10px;font-size:13px;line-height:20px}\n.peg_menu_error,.peg_menu_warning{background:var(--dsw-alias-interactive-bg-hover-danger);color:var(--dsw-alias-state-error-primary);border-radius:8px;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:4px;padding:7px 8px;font-size:12px;line-height:18px}\n.peg_menu_warning{background:var(--dsw-alias-bg-module-platform);color:var(--dsw-alias-state-warn-label)}\n.peg_menu_cell{color:var(--dsw-alias-label-primary);cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;width:100%;padding:8px;font:inherit;font-size:13px;line-height:20px;display:flex;text-align:left}\n.peg_menu_cell:hover:not(:disabled),.peg_menu_cell:focus-visible{background:var(--dsw-alias-interactive-bg-hover);outline:none}\n.peg_menu_cell:disabled{color:var(--dsw-alias-label-dimmed);cursor:default}\n.peg_menu_cell_label{min-width:0;flex:1}\n.peg_menu_cell_value{color:var(--dsw-alias-label-caption);max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_menu_cell_chevron{color:var(--dsw-alias-label-caption);flex:none}\n.peg_menu_groups{min-width:240px;max-height:280px;overflow:auto}\n.peg_menu_group{padding:4px 0}\n.peg_menu_group_title{color:var(--dsw-alias-label-tertiary);padding:4px 8px;font-size:12px;line-height:18px}\n.peg_menu_option{color:var(--dsw-alias-label-primary);cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;width:100%;padding:7px 8px;font:inherit;display:flex;text-align:left}\n.peg_menu_option:hover:not(:disabled),.peg_menu_option:focus-visible{background:var(--dsw-alias-interactive-bg-hover);outline:none}\n.peg_menu_option:disabled{color:var(--dsw-alias-label-dimmed);cursor:default}\n.peg_menu_option_selected{background:var(--dsw-alias-interactive-bg-hover)}\n.peg_menu_option_copy{min-width:0;flex:1;flex-direction:column;display:flex}\n.peg_menu_model_name,.peg_menu_description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_menu_description{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px}\n.peg_menu_check{color:var(--peg_accent);width:16px;height:16px;flex:none}\n.peg_codex_panel{contain:layout style;display:flex;flex-direction:column;gap:12px;min-width:0}\n.peg_settings_listbox{display:flex;flex-direction:column;gap:6px;min-width:0;position:relative;width:100%}\n.peg_settings_listbox_trigger{align-items:center;background:var(--dsw-alias-bg-layer-1);border:.5px solid var(--dsw-alias-border-l4);border-radius:10px;box-sizing:border-box;color:var(--dsw-alias-label-primary);cursor:pointer;display:flex;font:inherit;font-size:13px;gap:8px;height:34px;line-height:20px;max-width:100%;outline:none;padding:0 12px;text-align:left;transition:border-color .12s ease,box-shadow .12s ease;width:100%}\n.peg_settings_listbox_trigger:hover:not(:disabled){border-color:var(--dsw-alias-border-l3)}\n.peg_settings_listbox_trigger:focus-visible{border-color:var(--peg_accent);box-shadow:0 0 0 2px color-mix(in srgb, var(--peg_accent) 18%, transparent);outline:none}\n.peg_settings_listbox_trigger:disabled{cursor:default;opacity:.6}\n.peg_settings_listbox_value{flex:1 1 auto;font-weight:500;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_settings_listbox_value_id{color:var(--dsw-alias-label-caption);flex:none;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_settings_listbox_chevron{color:var(--dsw-alias-label-caption);display:block;flex:none;transition:transform .12s ease}\n.peg_settings_listbox_chevron_open{transform:rotate(180deg)}\n.peg_settings_listbox_panel{background:var(--dsw-specific-menu);border:.5px solid var(--dsw-alias-border-l4);border-radius:12px;box-sizing:border-box;box-shadow:var(--dsw-elevation-panel);color:var(--dsw-alias-label-primary);display:flex;flex-direction:column;gap:2px;left:0;max-height:240px;min-width:0;outline:none;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:4px;position:absolute;scrollbar-color:var(--dsw-alias-scrollbar-bg-l2) transparent;scrollbar-width:thin;top:calc(100% + 4px);width:100%;z-index:30}\n.peg_settings_listbox_panel::-webkit-scrollbar{width:6px}\n.peg_settings_listbox_panel::-webkit-scrollbar-track{background:transparent}\n.peg_settings_listbox_panel::-webkit-scrollbar-thumb{background:var(--dsw-alias-scrollbar-bg-l2);border-radius:3px}\n.peg_settings_listbox_panel::-webkit-scrollbar-thumb:hover{background:var(--dsw-alias-scrollbar-hover-l2)}\n.peg_settings_listbox_option{align-items:center;border-radius:8px;box-sizing:border-box;color:var(--dsw-alias-label-primary);cursor:pointer;display:flex;gap:10px;min-height:34px;padding:7px 8px;transition:background-color .12s ease;width:100%}\n.peg_settings_listbox_option:hover,.peg_settings_listbox_option_active{background:var(--dsw-alias-interactive-bg-hover)}\n.peg_settings_listbox_option_selected{background:color-mix(in srgb, var(--peg_accent) 16%, transparent)}\n.peg_settings_listbox_option_copy{display:flex;flex:1 1 auto;flex-direction:column;gap:1px;min-width:0}\n.peg_settings_listbox_option_name{font-size:13px;font-weight:500;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_settings_listbox_option_id{color:var(--dsw-alias-label-tertiary);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_settings_listbox_check{color:var(--peg_accent);display:block;flex:none;height:16px;width:16px}\n/* The login button borrows the shell's pill shape (`peg_settings_probe` in the\n * shell sheet) with the primary fill of its own domain class. */\n.peg_settings_login{align-items:center;border-radius:17px;box-sizing:border-box;cursor:pointer;display:inline-flex;flex:none;font:inherit;font-size:13px;font-weight:500;gap:6px;height:34px;justify-content:center;line-height:20px;padding:0 14px;transition:background-color .12s ease,border-color .12s ease,opacity .12s ease}\n.peg_settings_login{background:var(--dsw-alias-button-primary-fill);border:.5px solid transparent;color:var(--dsw-alias-label-primary-foreground)}\n.peg_settings_login:hover:not(:disabled){background:var(--dsw-alias-button-primary-hover)}\n.peg_settings_login:focus-visible{outline:2px solid var(--peg_accent);outline-offset:2px}\n.peg_settings_login:disabled{cursor:default;opacity:.4}\n.peg_settings_login_link{color:var(--peg_accent);overflow-wrap:anywhere}\n.peg_settings_field{align-items:center;display:flex;flex-wrap:wrap;gap:10px;min-width:0;width:100%}\n/* The routing provider row highlights while its own switch holds focus. The\n * disabled row state is routing's own `peg_settings_provider_off` marker\n * (set from RoutingPanel when the scope is not writable), so no descendant\n * query is needed here. */\n.peg_settings_provider:focus-within{background:var(--dsw-alias-interactive-bg-hover)}\n.peg_account{display:flex;flex-direction:column;gap:18px;min-width:0}\n.peg_account_list{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));min-width:0}\n.peg_account_row{background:color-mix(in srgb, var(--dsw-alias-label-primary) 2%, transparent);border:1px solid var(--dsw-alias-border-l2);border-radius:14px;box-sizing:border-box;display:flex;flex-direction:column;gap:10px;min-width:0;padding:16px;transition:border-color .12s ease}\n.peg_account_row:hover{border-color:var(--dsw-alias-border-l3)}\n.peg_account_row_current{background:color-mix(in srgb, var(--peg_accent) 14%, transparent);border-color:color-mix(in srgb, var(--peg_accent) 45%, transparent)}\n.peg_account_row_current:hover{border-color:color-mix(in srgb, var(--peg_accent) 60%, transparent)}\n.peg_account_rowmain{align-items:stretch;display:flex;flex:1 1 auto;flex-direction:column;gap:18px;min-width:0}\n.peg_account_copy{display:flex;flex:1 1 auto;flex-direction:column;gap:6px;min-width:0}\n.peg_account_main{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_account_name{align-items:center;background:0 0;border:0;color:var(--dsw-alias-label-secondary);cursor:pointer;display:inline-flex;font:inherit;font-size:14px;font-weight:600;gap:9px;line-height:24px;max-width:100%;min-height:26px;min-width:0;outline:none;padding:0;text-align:left}\n.peg_account_row_current .peg_account_name{color:var(--dsw-alias-label-primary)}\n.peg_account_nametext{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_account_editicon{color:var(--dsw-alias-label-tertiary);display:block;flex:none;height:14px;width:14px}\n.peg_account_name:hover:not(:disabled),.peg_account_name:hover:not(:disabled) .peg_account_editicon{color:var(--dsw-alias-label-primary)}\n.peg_account_name:focus-visible{border-radius:4px;outline:2px solid var(--peg_accent);outline-offset:3px}\n.peg_account_name:disabled{cursor:default;opacity:.55}\n.peg_account_name_saving:disabled{cursor:progress;opacity:1}\n.peg_account_badge{border-radius:4px;flex:none;font-size:11px;font-weight:500;line-height:17px;padding:1px 6px;white-space:nowrap}\n.peg_account_badge_expired{background:color-mix(in srgb, var(--dsw-alias-state-warn-label) 16%, transparent);color:var(--dsw-alias-state-warn-label)}\n.peg_account_meta{align-items:baseline;display:flex;gap:8px;min-width:0}\n.peg_account_id{color:var(--dsw-alias-label-caption);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;line-height:18px;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_account_row_current .peg_account_id{color:var(--dsw-alias-label-tertiary)}\n.peg_account_nameinput{background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l3);border-radius:6px;box-sizing:border-box;color:var(--dsw-alias-label-primary);flex:1 1 120px;font:inherit;font-size:14px;font-weight:600;height:26px;line-height:24px;min-width:0;outline:none;padding:0 6px;transition:border-color .12s ease}\n.peg_account_nameinput:focus-visible{border-color:var(--peg_accent)}\n.peg_account_nameinput[aria-invalid='true']{border-color:var(--dsw-alias-state-warn-label)}\n.peg_account_nameinput:disabled{cursor:default;opacity:.55}\n.peg_account_actions{align-items:center;border-top:1px solid var(--dsw-alias-border-l2);display:flex;flex:none;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:12px}\n.peg_account_action{align-items:center;background:color-mix(in srgb, var(--dsw-alias-label-primary) 4%, transparent);border:1px solid var(--dsw-alias-border-l2);border-radius:7px;box-sizing:border-box;color:var(--dsw-alias-label-primary);cursor:pointer;display:inline-flex;flex:none;font:inherit;font-size:12px;font-weight:500;height:30px;justify-content:center;line-height:18px;padding:0 10px;transition:background-color .12s ease,border-color .12s ease}\n.peg_account_action:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);border-color:var(--dsw-alias-border-l3)}\n.peg_account_action:focus-visible{outline:2px solid var(--peg_accent);outline-offset:2px}\n.peg_account_action:disabled{cursor:default;opacity:.4}\n.peg_account_remove{background:transparent;border-color:transparent;color:var(--dsw-alias-label-tertiary);margin-left:auto;padding-inline:6px}\n.peg_account_remove:hover:not(:disabled){border-color:transparent;color:var(--dsw-alias-state-warn-label)}\n.peg_account_sronly{border:0;clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}\n.peg_account_confirm{margin:6px 0 2px}\n.peg_account_current{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_account_login{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_account_add{align-items:flex-start;display:flex;flex-direction:column;gap:8px;min-width:0}\n.peg_account_addbutton{background:color-mix(in srgb, var(--peg_accent) 8%, transparent);border-color:color-mix(in srgb, var(--peg_accent) 24%, transparent);gap:6px;height:32px;padding:0 12px}\n.peg_account_addbutton:not(.peg_settings_probe_loading)::before{content:'+';font-size:17px;font-weight:400;line-height:16px}\n.peg_account_add>.peg_settings_help{color:var(--dsw-alias-label-caption);font-size:11px;line-height:18px}\n.peg_settings_segment_empty{align-items:center;display:flex;gap:8px;max-width:100%;padding:3px 0}\n.peg_settings_segment_current{color:var(--dsw-alias-label-secondary);font-weight:500;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis}\n/* The segmented control is the shell's `shell_segmentedOptions` and the shell\n * stylesheet owns its states through the markers that component emits\n * (`data-selected` / `data-disabled` / `:focus-within`). This domain does not\n * restate them: the §3.5 \"no descendant-state selector\" rule leaves the states\n * to the shell that emits the markers.\n */\n.peg_settings_toggle_row{align-items:center;cursor:pointer;display:flex;gap:16px;min-width:0;padding:12px 0}\n.peg_settings_toggle_row[data-disabled='true']{cursor:default}\n.peg_settings_toggle_row_divider{border-top:.5px solid var(--dsw-alias-border-l2);padding-top:16px}\n.peg_settings_toggle_copy{display:flex;flex:1 1 auto;flex-direction:column;gap:4px;min-width:0;padding-right:8px}\n.peg_settings_toggle_title{align-items:center;color:var(--dsw-alias-label-primary);display:inline-flex;font-size:13px;font-weight:500;gap:8px;line-height:20px}\n.peg_settings_fast_bolt{align-items:center;background:var(--dsw-alias-bg-module-platform);border-radius:9px;color:var(--dsw-alias-label-tertiary);display:inline-flex;flex:none;height:28px;justify-content:center;transition:background-color .12s ease,color .12s ease;width:28px}\n.peg_settings_fast_bolt svg{display:block;height:14px;width:14px}\n.peg_settings_fast_on .peg_settings_fast_bolt{background:color-mix(in srgb, var(--peg_accent) 20%, transparent);color:var(--peg_accent)}\n.peg_settings_fast_state{align-items:center;color:var(--peg_accent);display:inline-flex;flex:none;gap:5px;font-size:12px;font-weight:500;line-height:18px;min-width:0;white-space:nowrap}\n.peg_settings_fast_dot{background:currentColor;border-radius:50%;corner-shape:round;flex:none;height:6px;width:6px}\n.peg_settings_fast_on .peg_settings_fast_dot{animation:peg_pulse 2s ease-in-out infinite}\n.peg_sync{background:transparent;border:0;border-radius:0;display:flex;flex-direction:column;gap:10px;min-width:0;padding:0}\n.peg_sync_head{align-items:flex-start;display:flex;gap:16px;justify-content:space-between;min-width:0}\n.peg_sync_headcopy{display:flex;flex:1 1 auto;flex-direction:column;gap:4px;min-width:0;padding-right:8px}\n.peg_sync_title{color:var(--dsw-alias-label-primary);font-size:14px;font-weight:500;line-height:22px}\n.peg_sync_sub{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_sync_headside{align-items:center;display:flex;flex:none;gap:8px}\n.peg_sync_time{color:var(--dsw-alias-label-caption);font-size:12px;font-variant-numeric:tabular-nums;line-height:18px}\n.peg_sync_toolbar{align-items:center;border-top:.5px solid var(--dsw-alias-border-l2);display:flex;flex-wrap:wrap;gap:10px;min-width:0;padding:12px 0 4px}\n.peg_sync_chip{align-items:center;background:var(--dsw-alias-bg-module-platform);border:0;border-radius:999px;color:var(--dsw-alias-label-secondary);cursor:pointer;display:inline-flex;font:inherit;font-size:12px;font-weight:500;gap:5px;line-height:18px;padding:3px 10px;transition:background-color .12s ease,color .12s ease}\n.peg_sync_chip:hover{color:var(--dsw-alias-label-primary)}\n.peg_sync_chip:focus-visible{outline:2px solid var(--peg_accent);outline-offset:2px}\n.peg_sync_chip_on{background:color-mix(in srgb, var(--peg_accent) 20%, transparent);color:var(--peg_accent)}\n.peg_sync_chip_count{font-variant-numeric:tabular-nums}\n.peg_sync_selectall{align-items:center;color:var(--dsw-alias-label-secondary);cursor:pointer;display:inline-flex;font-size:12px;font-weight:500;gap:6px;line-height:20px;margin-left:auto;padding-left:10px}\n.peg_sync_selectall[data-disabled='true']{cursor:default}\n.peg_sync_collapse,.peg_sync_reload{margin-left:8px}\n.peg_sync_reload{margin-left:auto}\n.peg_sync_list{border-top:.5px solid var(--dsw-alias-border-l2);display:flex;flex-direction:column;gap:4px;margin:4px -6px 0;min-width:0;padding:4px 6px 0}\n.peg_sync_row{border-radius:10px;contain-intrinsic-size:auto 36px;content-visibility:auto;display:flex;flex-direction:column;gap:2px;min-width:0;padding:8px;transition:background-color .12s ease}\n.peg_sync_row:hover{background:var(--dsw-alias-interactive-bg-hover)}\n/* The row lights up while the checkbox inside it holds focus; `:focus-within`\n * is the plain ancestor selector for that state (no descendant-state query). */\n.peg_sync_row:focus-within{background:var(--dsw-alias-interactive-bg-hover)}\n.peg_sync_row_checked{background:color-mix(in srgb, var(--peg_accent) 14%, transparent)}\n.peg_sync_row_checked:hover{background:color-mix(in srgb, var(--peg_accent) 18%, transparent)}\n.peg_sync_rowmain{align-items:center;display:flex;gap:8px;max-width:100%;min-width:0}\n.peg_sync_pick{align-items:center;cursor:pointer;display:flex;flex:1 1 auto;gap:8px;min-width:0}\n.peg_sync_pick[data-disabled='true']{cursor:default}\n.peg_sync_check{accent-color:var(--peg_accent_fill);flex:none;height:16px;margin:0;width:16px}\n.peg_sync_check:disabled{cursor:default;opacity:.55}\n.peg_sync_check:focus-visible{outline:2px solid var(--peg_accent);outline-offset:2px}\n.peg_sync_name{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:500;line-height:20px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_sync_badge_new{background:color-mix(in srgb, var(--peg_accent) 20%, transparent);color:var(--peg_accent)}\n.peg_sync_badge_incomplete{background:var(--dsw-alias-bg-module-platform);color:var(--dsw-alias-label-secondary)}\n.peg_sync_badge_overlap{background:color-mix(in srgb, var(--dsw-alias-state-warn-label) 16%, transparent);color:var(--dsw-alias-state-warn-label)}\n.peg_sync_badge_blocked{background:color-mix(in srgb, var(--dsw-alias-state-error-primary) 14%, transparent);color:var(--dsw-alias-state-error-primary)}\n.peg_sync_warn_dot{background:var(--dsw-alias-state-warn-label);border-radius:50%;corner-shape:round;flex:none;height:7px;width:7px}\n.peg_sync_expander{align-items:center;background:0 0;border:0;border-radius:8px;color:var(--dsw-alias-label-caption);cursor:pointer;display:inline-flex;flex:none;font:inherit;font-size:12px;gap:4px;height:24px;justify-content:center;line-height:18px;outline:none;padding:0 6px;white-space:nowrap}\n.peg_sync_expander:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary)}\n.peg_sync_expander:focus-visible{outline:2px solid var(--peg_accent);outline-offset:1px}\n.peg_sync_expander_icon{display:block;height:14px;transition:transform .12s ease;width:14px}\n.peg_sync_expander_open .peg_sync_expander_icon{transform:rotate(180deg)}\n.peg_sync_details{display:flex;flex-direction:column;gap:8px;margin-left:24px;min-width:0;padding:4px 0 6px}\n.peg_sync_desc{color:var(--dsw-alias-label-secondary);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_sync_meta{color:var(--dsw-alias-label-tertiary);display:flex;flex-wrap:wrap;gap:2px 12px;font-size:12px;line-height:18px;margin:0}\n.peg_sync_note_warn{color:var(--dsw-alias-state-warn-label);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_sync_note_blocked{color:var(--dsw-alias-state-error-primary);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_sync_diffs{background:var(--dsw-alias-bg-module-platform);border-radius:10px;display:flex;flex-direction:column;gap:4px;min-width:0;padding:8px 10px}\n.peg_sync_diffline{color:var(--dsw-alias-label-secondary);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_sync_diff_field{color:var(--dsw-alias-label-tertiary);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}\n.peg_sync_confirmed{align-items:center;color:var(--dsw-alias-state-success-primary);display:inline-flex;font-size:12px;gap:4px;line-height:18px}\n.peg_sync_confirmed_icon{display:block;flex:none;height:14px;width:14px}\n.peg_sync_actions{align-items:center;border-top:.5px solid var(--dsw-alias-border-l2);display:flex;flex-wrap:wrap;gap:10px 12px;justify-content:space-between;min-width:0;padding-top:12px}\n.peg_sync_reasoning{border-top:.5px solid var(--dsw-alias-border-l2);display:flex;flex-direction:column;gap:12px;min-width:0;padding:14px 0 10px}\n.peg_sync_reasoning>.peg_menu_retry{align-self:flex-start}\n.peg_sync_reasoning_head{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_sync_confirm{background:color-mix(in srgb, var(--dsw-alias-state-warn-label) 10%, transparent);border-radius:10px;display:flex;flex-direction:column;gap:8px;padding:10px 12px}\n.peg_sync_confirm_text{color:var(--dsw-alias-state-warn-label);font-size:12px;line-height:18px;overflow-wrap:anywhere}\n.peg_sync_confirm_actions{align-items:center;display:flex;gap:8px}\n.peg_settings_control>.peg_settings_segment{justify-self:start}\n.peg_sync_reload,.peg_settings_section .peg_sync_collapse{background:0 0;border:.5px solid var(--dsw-alias-border-l3);border-radius:14px;color:var(--dsw-alias-label-secondary);height:28px;padding:0 12px}\n.peg_sync_reload:hover:not(:disabled),.peg_settings_section .peg_sync_collapse:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}\n.peg_settings_control .peg_settings_segment{flex-wrap:wrap}\n.peg_settings_control .peg_settings_segment_option{padding-inline:10px}\n.peg_tabpanel>.peg_sync{background:transparent;border:0;border-radius:0;padding:0}\n.peg_tabpanel>.peg_sync_reasoning{border-top:0;gap:12px;padding-top:0}\n.peg_sync_desc,.peg_settings_section .peg_sync_meta,.peg_settings_section .peg_sync_note_warn{margin:0}\n\n.peg_codex_subtabs{align-items:center;display:flex;flex-wrap:wrap;gap:4px;max-width:100%;width:max-content}\n.peg_codex_subtab{background:0 0;border:0;border-radius:6px;color:var(--dsw-alias-label-tertiary);cursor:pointer;flex:none;font:inherit;font-size:12px;font-weight:500;line-height:20px;outline:none;padding:4px 10px;transition:background-color .12s ease,color .12s ease;white-space:nowrap}\n.peg_codex_subtab:hover:not(.peg_codex_subtab_on){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary)}\n.peg_codex_subtab:focus-visible{outline:2px solid var(--peg_accent);outline-offset:2px}\n.peg_codex_subtab_on{background:color-mix(in srgb, var(--peg_accent) 20%, transparent);color:var(--peg_accent)}\n\n/* The Settings → Models provider card (host keyed slot\n * `settings.models.provider-card`, this plugin's `provider-hub` namespace).\n * It renders inside the host's own row, so it borrows the shared\n * `peg_settings_*` text rhythm and declares only its own layout and states.\n * Host `--dsw-*` tokens only: the card never assumes the plugin accent. */\n.peg_codexcard{display:flex;flex-direction:column;gap:16px;min-width:0;padding:6px 0 2px}\n.peg_codexcard_auth,.peg_codexcard_section{display:flex;flex-direction:column;gap:8px;min-width:0}\n.peg_codexcard_section{border-top:.5px solid var(--dsw-alias-border-l2);padding-top:14px}\n.peg_codexcard_head{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_codexcard_label{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:500;line-height:20px;margin:0}\n.peg_codexcard_status{background:var(--dsw-alias-bg-module-platform);border-radius:999px;color:var(--dsw-alias-label-secondary);flex:none;font-size:11px;font-weight:500;line-height:17px;padding:1px 8px;white-space:nowrap}\n.peg_codexcard_status_ok{color:var(--dsw-alias-state-success-primary)}\n.peg_codexcard_status_error{color:var(--dsw-alias-state-error-primary)}\n.peg_codexcard_status_loading{color:var(--dsw-alias-label-tertiary)}\n.peg_codexcard_account{color:var(--dsw-alias-label-caption);font-size:12px;line-height:18px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_codexcard_field{align-items:center;display:flex;flex-wrap:wrap;gap:8px 10px;min-width:0}\n.peg_codexcard_fieldlabel{color:var(--dsw-alias-label-secondary);flex:none;font-size:12px;line-height:18px;min-width:72px}\n.peg_codexcard_input{background:var(--dsw-alias-bg-layer-1);border:.5px solid var(--dsw-alias-border-l4);border-radius:10px;box-sizing:border-box;color:var(--dsw-alias-label-primary);flex:1 1 220px;font:inherit;font-size:13px;height:34px;line-height:20px;min-width:0;outline:none;padding:0 12px;transition:border-color .12s ease,box-shadow .12s ease}\n.peg_codexcard_input:hover:not(:disabled){border-color:var(--dsw-alias-border-l3)}\n.peg_codexcard_input:focus-visible{border-color:var(--dsw-alias-border-l3);box-shadow:0 0 0 2px var(--dsw-alias-border-l2);outline:none}\n.peg_codexcard_input:disabled{color:var(--dsw-alias-label-tertiary);cursor:default;opacity:.6}\n.peg_codexcard_actions{align-items:center;display:flex;flex-wrap:wrap;gap:8px}\n.peg_codexcard_save,.peg_codexcard_cancel{flex:none}\n.peg_codexcard_value{color:var(--dsw-alias-label-secondary);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:18px;min-width:0;overflow-wrap:anywhere}\n.peg_codexcard_value_muted{color:var(--dsw-alias-label-tertiary);font-family:inherit;font-size:12px}\n.peg_codexcard_empty{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px;margin:0}\n.peg_codexcard_modeltoolbar{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_codexcard_add,.peg_codexcard_fetch{flex:none}\n.peg_codexcard_fetchhint{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px;min-width:0}\n.peg_codexcard_modelserror{background:var(--dsw-alias-interactive-bg-hover-danger);border-radius:8px;color:var(--dsw-alias-state-error-primary);font-size:12px;line-height:18px;margin:0;padding:6px 8px}\n.peg_codexcard_notice{background:var(--dsw-alias-bg-module-platform);border-radius:8px;display:flex;flex-direction:column;gap:4px;min-width:0;padding:6px 8px}\n.peg_codexcard_noticetext{color:var(--dsw-alias-label-secondary);font-size:12px;line-height:18px;margin:0}\n.peg_codexcard_warnings{display:flex;flex-direction:column;gap:4px;min-width:0}\n.peg_codexcard_warning{background:var(--dsw-alias-bg-module-platform);border-radius:8px;color:var(--dsw-alias-state-warn-label);font-size:12px;line-height:18px;margin:0;padding:6px 8px}\n.peg_codexcard_error{background:var(--dsw-alias-interactive-bg-hover-danger);border-radius:8px;color:var(--dsw-alias-state-error-primary);font-size:12px;line-height:18px;margin:0;padding:6px 8px}\n.peg_codexcard_modellist{display:flex;flex-direction:column;gap:6px;list-style:none;margin:0;min-width:0;padding:0}\n.peg_codexcard_modelrow{background:var(--dsw-alias-bg-module-platform);border:.5px solid transparent;border-radius:10px;display:flex;flex-direction:column;gap:8px;min-width:0;padding:7px 8px}\n.peg_codexcard_modelrow_invalid{border-color:var(--dsw-alias-state-error-primary)}\n.peg_codexcard_modeltable{display:flex;flex-direction:column;gap:2px;min-width:0}\n.peg_codexcard_modelhead,.peg_codexcard_modelrowmain{align-items:center;display:grid;gap:6px;grid-template-columns:22px minmax(0,1.25fr) minmax(0,1fr) 28px 28px;min-width:0}\n.peg_codexcard_modelhead{padding:0 8px 2px}\n.peg_codexcard_modelheadlabel{color:var(--dsw-alias-label-tertiary);font-size:11px;font-weight:500;line-height:16px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_codexcard_modelheadlabel:first-child{visibility:hidden}\n.peg_codexcard_drag{background:0 0;border:0;border-radius:8px;color:var(--dsw-alias-label-caption);cursor:grab;display:flex;flex:none;align-items:center;justify-content:center;height:30px;padding:0;width:22px}\n.peg_codexcard_drag:disabled{color:var(--dsw-alias-label-dimmed);cursor:default}\n.peg_codexcard_drag:focus-visible{background:var(--dsw-alias-interactive-bg-hover);outline:none}\n.peg_codexcard_gripicon{display:block}\n.peg_codexcard_rowinput{background:var(--dsw-alias-bg-layer-1);border:.5px solid var(--dsw-alias-border-l4);border-radius:8px;box-sizing:border-box;color:var(--dsw-alias-label-primary);font:inherit;font-size:13px;height:30px;line-height:20px;min-width:0;outline:none;padding:0 8px;transition:border-color .12s ease,box-shadow .12s ease;width:100%}\n.peg_codexcard_rowinput:hover:not(:disabled){border-color:var(--dsw-alias-border-l3)}\n.peg_codexcard_rowinput:focus-visible{border-color:var(--dsw-alias-border-l3);box-shadow:0 0 0 2px var(--dsw-alias-border-l2);outline:none}\n.peg_codexcard_rowinput:disabled{color:var(--dsw-alias-label-tertiary);cursor:default;opacity:.6}\n.peg_codexcard_modelidinput{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}\n.peg_codexcard_rowbutton{background:0 0;border:0;border-radius:8px;color:var(--dsw-alias-label-caption);cursor:pointer;display:flex;flex:none;align-items:center;justify-content:center;height:28px;padding:0;width:28px}\n.peg_codexcard_rowbutton:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover)}\n.peg_codexcard_rowbutton:focus-visible{background:var(--dsw-alias-interactive-bg-hover);outline:none}\n.peg_codexcard_rowbutton:disabled{color:var(--dsw-alias-label-dimmed);cursor:default}\n.peg_codexcard_rowdelete:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover-danger);color:var(--dsw-alias-state-error-primary)}\n.peg_codexcard_chevron{transition:transform .12s}\n.peg_codexcard_chevron_open{transform:rotate(180deg)}\n.peg_codexcard_rowdetails{border-top:.5px solid var(--dsw-alias-border-l2);display:flex;flex-direction:column;gap:8px;margin-left:28px;min-width:0;padding-top:8px}\n.peg_codexcard_rowdetails>.peg_codexcard_rowfield{align-self:stretch;flex:0 0 auto;width:100%}\n.peg_codexcard_rowgrid{display:grid;gap:8px 12px;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}\n.peg_codexcard_rowfield{display:flex;flex-direction:column;gap:4px;min-width:0}\n.peg_codexcard_rowfield>.peg_codexcard_rowinput{flex:0 0 auto;width:100%}\n.peg_codexcard_rowfieldlabel{color:var(--dsw-alias-label-secondary);font-size:12px;line-height:18px}\n.peg_codexcard_inputoptions{align-items:center;display:flex;flex-wrap:wrap;gap:12px;min-width:0}\n.peg_codexcard_inputoption{align-items:center;color:var(--dsw-alias-label-secondary);cursor:pointer;display:flex;font-size:13px;gap:6px;line-height:20px}\n.peg_codexcard_inputoption_locked{color:var(--dsw-alias-label-tertiary);cursor:default}\n.peg_codexcard_check{accent-color:var(--peg_accent_fill);flex:none;height:16px;margin:0;width:16px}\n.peg_codexcard_inherited{color:var(--dsw-alias-label-caption);font-size:12px;line-height:18px}\n.peg_codexcard_rowerror{color:var(--dsw-alias-state-error-primary);font-size:12px;line-height:18px;margin:0}\n.peg_codexcard_rowhint{background:var(--dsw-alias-bg-layer-1);border-radius:8px;color:var(--dsw-alias-label-caption);font-size:12px;line-height:18px;margin:0;padding:5px 8px}\n.peg_codexcard_footer{align-items:flex-start;border-top:.5px solid var(--dsw-alias-border-l2);display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;min-width:0;padding-top:14px}\n.peg_codexcard_feedback{display:flex;flex:1 1 280px;flex-direction:column;gap:6px;min-width:0}\n\n@keyframes peg_pulse{50%{opacity:.35}}\n@media (max-width:520px){.peg_settings_control .peg_settings_segment_option{padding-inline:8px}.peg_codex_subtab{padding-inline:10px}.peg_sync_head{flex-direction:column}.peg_sync_headside{align-self:stretch}.peg_sync_headside>.peg_settings_probe{flex:1 1 auto}.peg_sync_row{padding:6px 4px}.peg_sync_details{margin-left:0}.peg_codexcard_fieldlabel{min-width:0}.peg_codexcard_rowdetails{margin-left:0}.peg_codexcard_rowgrid{grid-template-columns:minmax(0,1fr)}.peg_codexcard_footer{flex-direction:column}.peg_codexcard_actions{justify-content:flex-end;width:100%}}\n@media (prefers-reduced-motion:reduce){.peg_settings_port,.peg_settings_probe,.peg_settings_segment_option,.peg_settings_switch,.peg_settings_switch::after,.peg_settings_fast_bolt,.peg_settings_fast_dot,.peg_settings_login,.peg_codex_subtab,.peg_account_row,.peg_account_action,.peg_settings_listbox_trigger,.peg_settings_listbox_chevron,.peg_settings_listbox_option,.peg_sync_row,.peg_sync_chip,.peg_sync_expander_icon{transition:none}.peg_settings_fast_on .peg_settings_fast_dot{animation:none}}\n"})
13
+ const HUB_CONSTANTS = Object.freeze({"NAMESPACE":"provider-hub","CLIENT_ID":"dsh-shuhaicanghe","PACKAGE_NAME":"dsh-shuhaicanghe","RPC_CARRIER":"/api","RPC_ENDPOINT_PREFIX":"provider-hub/","ERROR_INVALID_RESPONSE":"provider-hub/invalid-response","ERROR_UNKNOWN_ENDPOINT":"provider-hub/unknown-endpoint","ERROR_LOGIN_RPC_TIMEOUT":"provider-hub/login-rpc-timeout","ERROR_RPC_TIMEOUT":"provider-hub/rpc-timeout","UNKNOWN_ENDPOINT_MESSAGE":"unknown provider-hub endpoint","INVALID_RESPONSE_MESSAGE":"invalid provider-hub RPC response","LOGIN_RPC_TIMEOUT_MESSAGE":"provider-hub: codex login RPC timed out","UI_CACHE_KEY":"dsh-shuhaicanghe.ui-cache.v3","UI_CACHE_PAYLOAD_VERSION":3,"UI_CACHE_LIST_LIMIT":50,"UI_CACHE_TEXT_LIMIT":200,"UI_TIME_LABEL_LIMIT":8,"STYLE_ELEMENT_ID":"dsh-shuhaicanghe/ui.css","MIN_PROXY_PORT":1,"MAX_PROXY_PORT":65535,"DEFAULT_PROXY_PORT":7897,"PROXY_PROTOCOLS":["http","socks5"],"DEFAULT_PROXY_PROTOCOL":"http","PROXY_CLIENTS":["clash","shadowrocket"],"DEFAULT_PROXY_CLIENT":"clash","LOOPBACK_PROXY_HOST":"127.0.0.1","DEFAULT_PROXIED_PROVIDERS":[],"DEFAULT_FAST_MODE":false,"CODEX_LLM_PROVIDER_ID":"open-ai-codex","CODEX_PROVIDER_DISPLAY_NAME":"Open-AI-Codex","CODEX_LEGACY_FAST_DISPLAY_NAME":"Open-AI-Codex(Fast)","CODEX_RETIRED_NATIVE_PROVIDER_ID":"openai-codex","CODEX_SEARCH_BACKEND_ID":"open-ai-codex","SEARCH_BACKENDS":["none","open-ai-codex"],"SEARCH_BACKEND_ALIASES":{"openai-codex":"open-ai-codex"},"DEFAULT_SEARCH_BACKEND":"open-ai-codex","SEARCH_CONTEXT_SIZES":["low","medium","high"],"DEFAULT_SEARCH_CONTEXT_SIZE":"high","MIN_SEARCH_TIMEOUT_SECONDS":1,"MAX_SEARCH_TIMEOUT_SECONDS":2147483,"DEFAULT_SEARCH_TIMEOUT_SECONDS":60,"DEFAULT_SEARCH_MODEL":"","DEFAULT_SEARCH_REASONING":"default","SEARCH_VERBOSITY_LEVELS":["low","medium","high"],"SEARCH_VERBOSITY_DEFAULT_ALIAS":"default","DEFAULT_SEARCH_VERBOSITY":"high","CODEX_PROVIDER_ENSURE_FIELDS":["id","name","status"],"CODEX_PROVIDER_ENSURE_STATUSES":["created","existing"],"CODEX_REASONING_LEVELS":["off","minimal","low","medium","high","xhigh","max"],"DEFAULT_LAST_PROBE_AT":0,"UNKNOWN_PCT":-1,"UNSUPPORTED_NOTE_KEYS":["noPublicApi","notInDirectory"],"USAGE_KINDS":["money","quota","message"],"KIND_MESSAGE":"message","ROUND_STATES":["queued","running","completed","failed","reset-required"],"PROVIDER_STATES":["queued","running","ok","unavailable","failed"],"PROVIDER_QUEUED":"queued","CODEX_ACCOUNT_NOTE_MAX_LENGTH":200,"MODEL_SYNC_LIST_LIMIT":64,"MODEL_SYNC_CACHE_TTL_MS":900000,"MODEL_SYNC_RPC_TIMEOUT_MS":32000,"MODEL_SYNC_MANAGED_FIELDS":["name","contextWindow","input","reasoningEfforts"],"MODEL_SYNC_STATES":["new","incomplete","existing","overlap","blocked"],"MODEL_SYNC_STALE_PREVIEW_REASON":"stale-preview","SKILL_ROW_STATES":["on","off","missing","unmanaged-link","unmanaged-dir","invalid"],"SKILL_ROOT_STATES":["missing","directory","symlink","other"],"SKILL_TARGET_IDS":["claude-code","codex"],"SKILL_TARGET_STATES":["unset","missing","directory","symlink","other"],"SKILL_TARGET_LINK_STATES":["linked","missing","broken","other-link","directory","file","other","source-missing"],"SKILL_TARGET_ENTRY_KINDS":["symlink","directory","file","other"],"SKILL_TARGET_HINTS":["parent-missing","root-is-symlink"],"SKILL_TARGET_ERRORS":["target-is-skill-root","target-is-home","target-is-filesystem-root"],"SEARCH_STATUS_CLIENT_TIMEOUT_MS":5250,"LOAD_TIMEOUT_MS":8000,"LOGIN_POLL_INTERVAL_MS":1000,"USAGE_MONITOR_FIELD":"usageMonitor","MIN_USAGE_REFRESH_SECONDS":0,"MAX_USAGE_REFRESH_SECONDS":3600,"DEFAULT_USAGE_REFRESH_SECONDS":0,"SETTINGS_FIELD_ORDER":["proxyPort","proxyProtocol","proxyClient","proxyProfiles","proxiedProviders","fastMode","searchBackend","searchContextSize","searchTimeoutSeconds","searchModel","searchReasoning","searchVerbosity","lastProbeAt","codexAccountNotes","usageMonitor","providers","skillRoot","skillLinks","skillGroups","skillPermissions","skillTargets"]})
14
+ const HUB_STYLES = Object.freeze({"shell":"/* The shell: the section frame, the tab strip and the shared control rules\n every domain panel reuses. Host --dsw-* tokens only, hairline .5px borders,\n 10-12px radii, the 34px control height, pill buttons, the 36x20 switch, and\n a 12px heading -> tab strip -> panel rhythm. The `peg_*` class names are the\n frozen UI vocabulary and are never renamed. There is exactly\n one style element (`dsh-shuhaicanghe/ui.css`); this text is its shell block\n and every domain stylesheet is concatenated after it. */\n\n/* The accent has two roles. --peg_accent is the readable blue used by text,\n dots, links, focus rings and tints, and it is tuned per theme so it stays\n legible (the dark theme lifts it off the near-black surfaces).\n --peg_accent_fill is the solid blue behind a selected pill, an on switch or\n a checked box, with --peg_accent_on as the text or knob on top; both are host\n *static* tokens, so a filled control is the exact same blue in the light and\n the dark theme. */\nbody{--peg_accent:var(--dsw-alias-state-business-primary);--peg_accent_fill:var(--dsw-static-deepseek-500);--peg_accent_on:var(--dsw-static-neutral-bluish-00)}\nbody[data-ds-dark-theme]{--peg_accent:color-mix(in srgb, var(--dsw-alias-state-business-primary) 70%, var(--dsw-alias-label-primary))}\n\n/* The section frame. */\n.peg_settings_section{color:var(--dsw-alias-label-primary);max-width:720px;padding:8px 0 24px;display:flex;flex-direction:column;gap:12px;min-width:0}\n.peg_settings_section,.peg_settings_section *{box-sizing:border-box}\n.peg_settings_section p{margin-block:0}\n.peg_settings_heading{font-size:16px;font-weight:500;letter-spacing:-.01em;line-height:24px;margin:0}\n.peg_navlabel{align-items:center;display:inline-flex;gap:8px}\n.peg_navicon{display:block;flex:none}\n/* The host settings shell draws its own leading icon on the section button; our\n label already carries shell_navIcon, so the label's ref callback marks that\n button and this direct-child rule hides only the host's leading icon. A\n parent-relational selector (a `.peg_navlabel` descendant test on the button)\n would say the same thing and is banned by §3.5, so the button carries the\n marker instead. */\nbutton[data-peg-nav] > svg:first-child{display:none}\n\n/* The tab strip: the host's underline tabs. */\n.peg_tabs{align-items:flex-end;border-bottom:.5px solid var(--dsw-alias-border-l2);display:flex;gap:22px;max-width:100%;min-width:0;overflow-x:auto;padding:0 2px}\n.peg_tab{background:0 0;border:0;color:var(--dsw-alias-label-tertiary);cursor:pointer;flex:none;font:inherit;font-size:13px;font-weight:500;line-height:20px;outline:none;padding:7px 1px 9px;position:relative;transition:color .12s ease}\n.peg_tab:hover{color:var(--dsw-alias-label-primary)}\n.peg_tab:focus-visible{outline:2px solid var(--peg_accent);outline-offset:2px;color:var(--dsw-alias-label-primary);border-radius:2px}\n.peg_tab_on{color:var(--dsw-alias-label-primary)}\n.peg_tab_on::after{background:var(--dsw-alias-label-primary);border-radius:2px 2px 0 0;bottom:0;content:\"\";height:2px;left:0;position:absolute;right:0}\n.peg_tabpanel{display:flex;flex-direction:column;gap:4px;min-width:0;padding-top:2px}\n\n/* The shared text rhythm: 13px/500 labels, 12px/18px help and status. */\n.peg_settings_label{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:500;line-height:20px;margin:0}\n.peg_settings_help{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_settings_status{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_settings_status_ok{color:var(--dsw-alias-state-success-primary)}\n.peg_settings_error{color:var(--dsw-alias-state-error-primary);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_settings_badge{background:var(--dsw-alias-bg-module-platform);border-radius:999px;color:var(--dsw-alias-label-secondary);flex:none;font-size:11px;font-weight:500;line-height:17px;padding:1px 8px;white-space:nowrap}\n\n/* The labelled form row: a 96px label column, the control cell, then the help,\n status and error lines under the control. */\n.peg_settings_control{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:center;gap:6px 14px;min-width:0;padding:12px 0}\n.peg_settings_control~.peg_settings_control{border-top:.5px solid var(--dsw-alias-border-l2)}\n.peg_settings_help+.peg_settings_control{padding-top:16px}\n.peg_settings_control>.peg_settings_label{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:500}\n.peg_settings_control>.peg_settings_help,.peg_settings_control>.peg_settings_status,.peg_settings_control>.peg_settings_error{grid-column:2;line-height:18px}\n\n/* The 34px inset control: the input and the listbox trigger share it. */\n.peg_settings_port{background:var(--dsw-alias-bg-layer-1);border:.5px solid var(--dsw-alias-border-l4);border-radius:10px;box-sizing:border-box;color:var(--dsw-alias-label-primary);flex:none;font:inherit;font-size:13px;font-variant-numeric:tabular-nums;height:34px;line-height:20px;outline:none;padding:0 12px;transition:border-color .12s ease,box-shadow .12s ease;width:120px}\n.peg_settings_port::-webkit-inner-spin-button,.peg_settings_port::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}\n.peg_settings_port:hover:not(:disabled){border-color:var(--dsw-alias-border-l3)}\n.peg_settings_port:focus-visible{border-color:var(--peg_accent);box-shadow:0 0 0 2px color-mix(in srgb, var(--peg_accent) 18%, transparent);outline:none}\n.peg_settings_port:disabled{color:var(--dsw-alias-label-tertiary);cursor:default;opacity:.6}\n\n/* The pill button and its primary variant. */\n.peg_settings_probe,.peg_settings_action{align-items:center;border-radius:17px;box-sizing:border-box;cursor:pointer;display:inline-flex;flex:none;font:inherit;font-size:13px;font-weight:500;gap:6px;height:34px;justify-content:center;line-height:20px;padding:0 14px;transition:background-color .12s ease,border-color .12s ease,opacity .12s ease}\n.peg_settings_probe{background:0 0;border:.5px solid var(--dsw-alias-border-l3);color:var(--dsw-alias-label-primary)}\n.peg_settings_probe:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);border-color:var(--dsw-alias-border-l4)}\n.peg_settings_probe:active:not(:disabled){background:var(--dsw-alias-interactive-bg-active)}\n.peg_settings_action_primary{background:var(--dsw-alias-button-primary-fill);border:.5px solid transparent;color:var(--dsw-alias-label-primary-foreground)}\n.peg_settings_action_primary:hover:not(:disabled){background:var(--dsw-alias-button-primary-hover)}\n/* A primary-fill probe keeps its transparent hairline on hover instead of the\n plain probe's hover border (the same rule the Codex and skill faces use). */\n.peg_settings_probe.peg_settings_action_primary:hover:not(:disabled){background:var(--dsw-alias-button-primary-hover);border-color:transparent}\n.peg_settings_probe:focus-visible,.peg_settings_action:focus-visible{outline:2px solid var(--peg_accent);outline-offset:2px}\n.peg_settings_probe:disabled,.peg_settings_action:disabled{cursor:default;opacity:.4}\n\n/* The inline retry affordance: the one owner of `.peg_menu_retry`, used by the\n Codex faces, the skill faces and the conversation model picker alike. */\n.peg_menu_retry{align-items:center;background:0 0;border:0;border-radius:8px;color:var(--peg_accent);cursor:pointer;display:inline-flex;font:inherit;font-size:12px;justify-content:center;line-height:20px;padding:2px 6px;text-decoration:none;white-space:nowrap}\n.peg_menu_retry:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover)}\n.peg_menu_retry:focus-visible{outline:2px solid var(--peg_accent);outline-offset:1px}\n.peg_menu_retry:disabled{cursor:default;opacity:.4}\n\n/* The segmented radio row shared by every multi-choice control. */\n.peg_settings_segment{align-items:center;background:color-mix(in srgb, var(--dsw-alias-bg-layer-1) 60%, transparent);border:.5px solid var(--dsw-alias-border-l4);border-radius:12px;display:flex;flex-wrap:wrap;gap:2px;max-width:100%;padding:2px;width:max-content}\n.peg_settings_segment_option{position:relative;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;flex:none;border-radius:10px;color:var(--dsw-alias-label-tertiary);cursor:pointer;font-size:12px;font-weight:500;line-height:20px;padding:5px 12px;transition:background-color .12s ease,color .12s ease}\n.peg_settings_segment_option:hover:not([data-selected='true']):not([data-disabled='true']){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary)}\n.peg_settings_segment_option_selected{background:color-mix(in srgb, var(--peg_accent) 20%, transparent);color:var(--peg_accent)}\n.peg_settings_segment_option:focus-within{outline:2px solid var(--peg_accent);outline-offset:2px}\n.peg_settings_segment_option[data-disabled='true']{cursor:default;opacity:.55}\n.peg_settings_segment_input{border:0;clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;inset:50% auto auto 50%;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}\n\n/* The host's 36x20 switch. */\n.peg_settings_switch{appearance:none;-webkit-appearance:none;background:var(--dsw-alias-border-l3);border:0;border-radius:10px;box-sizing:border-box;cursor:pointer;flex:none;height:20px;margin:0;outline:none;padding:2px;position:relative;transition:background-color .12s ease;width:36px}\n.peg_settings_switch::after{background:var(--dsw-alias-label-primary);border-radius:50%;corner-shape:round;content:\"\";height:16px;left:2px;position:absolute;top:2px;transition:transform .12s ease;width:16px}\n.peg_settings_switch:checked{background:var(--peg_accent_fill)}\n.peg_settings_switch:checked::after{background:var(--peg_accent_on);transform:translateX(16px)}\n.peg_settings_switch:focus-visible{outline:2px solid var(--peg_accent);outline-offset:2px}\n.peg_settings_switch:disabled{cursor:default;opacity:.5}\n\n/* The shared state dot. */\n.peg_state_dot{background:var(--dsw-alias-label-dimmed);border-radius:50%;flex:none;height:7px;width:7px}\n.peg_state_dot_ok{background:var(--dsw-alias-state-success-primary)}\n.peg_state_dot_running{background:var(--peg_accent)}\n.peg_state_dot_warn{background:var(--dsw-alias-state-warn-label)}\n.peg_state_dot_bad{background:var(--dsw-alias-state-error-primary)}\n.peg_state_dot_idle{background:var(--dsw-alias-label-dimmed)}\n\n@media (max-width:520px){\n .peg_settings_control{grid-template-columns:minmax(0,1fr);gap:6px}\n .peg_settings_control>.peg_settings_help,.peg_settings_control>.peg_settings_status,.peg_settings_control>.peg_settings_error{grid-column:1}\n .peg_settings_segment_option{padding-inline:10px}\n}\n@media (prefers-reduced-motion:reduce){\n .peg_tab,.peg_settings_port,.peg_settings_probe,.peg_settings_action,.peg_settings_switch,.peg_settings_switch::after,.peg_settings_segment_option{transition:none}\n}\n","usage":"/*\n * dsh-provider-hub — usage page stylesheet (data; the shell installs it into\n * the one `dsh-shuhaicanghe/ui.css` <style> tag).\n *\n * The visual language is the shared §3.5 one: host `--dsw-*`\n * tokens only (no literal colours), .5px hairline borders, 10–12px radii,\n * 34px controls, 13px/500 row labels, 12px/18px help text, pill buttons\n * (border-radius 17px / height 34px) and a 720px section width.\n */\n\n.puh_usage_section {\n display: flex;\n flex-direction: column;\n gap: 12px;\n max-width: 720px;\n min-width: 0;\n color: var(--dsw-alias-label-primary);\n}\n.puh_usage_section *,\n.puh_usage_section *::before,\n.puh_usage_section *::after { box-sizing: border-box; }\n.puh_usage_section p { margin-block: 0; }\n\n/* ---------- controls ---------- */\n\n.puh_usage_controls {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 8px;\n min-width: 0;\n}\n.puh_usage_ctl_label {\n color: var(--dsw-alias-label-primary);\n flex: none;\n font-size: 13px;\n font-weight: 500;\n line-height: 20px;\n margin-right: 2px;\n}\n.puh_usage_menu_root {\n position: relative;\n flex: none;\n width: 132px;\n min-width: 0;\n}\n.puh_usage_select {\n appearance: none;\n -webkit-appearance: none;\n display: flex;\n align-items: center;\n gap: 8px;\n width: 100%;\n height: 34px;\n padding: 0 12px;\n background: var(--dsw-alias-bg-layer-1);\n border: .5px solid var(--dsw-alias-border-l4);\n border-radius: 10px;\n color: var(--dsw-alias-label-primary);\n cursor: pointer;\n font: inherit;\n font-size: 13px;\n line-height: 20px;\n outline: none;\n text-align: left;\n transition: border-color .12s ease, box-shadow .12s ease;\n}\n.puh_usage_select:hover:not(:disabled) { border-color: var(--dsw-alias-border-l3); }\n.puh_usage_select:focus-visible {\n border-color: var(--dsw-alias-state-business-primary);\n box-shadow: 0 0 0 2px color-mix(in srgb, var(--dsw-alias-state-business-primary) 18%, transparent);\n outline: none;\n}\n.puh_usage_select:disabled { color: var(--dsw-alias-label-tertiary); cursor: default; opacity: .6; }\n.puh_usage_select_value {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-weight: 500;\n}\n.puh_usage_select_chevron {\n flex: none;\n width: 6px;\n height: 6px;\n border-right: 1.6px solid currentColor;\n border-bottom: 1.6px solid currentColor;\n transform: translateY(-2px) rotate(45deg);\n color: var(--dsw-alias-label-caption);\n pointer-events: none;\n}\n.puh_usage_menu {\n position: absolute;\n top: calc(100% + 4px);\n left: 0;\n z-index: 30;\n display: flex;\n flex-direction: column;\n gap: 2px;\n width: 100%;\n padding: 4px;\n background: var(--dsw-specific-menu);\n border: .5px solid var(--dsw-alias-border-l4);\n border-radius: 12px;\n box-shadow: var(--dsw-elevation-panel);\n color: var(--dsw-alias-label-primary);\n}\n.puh_usage_menu_item {\n appearance: none;\n border: 0;\n border-radius: 8px;\n background: 0 0;\n color: var(--dsw-alias-label-primary);\n cursor: pointer;\n font: inherit;\n font-size: 13px;\n line-height: 20px;\n padding: 7px 8px;\n text-align: left;\n white-space: nowrap;\n}\n.puh_usage_menu_item:hover,\n.puh_usage_menu_item:focus-visible,\n.puh_usage_menu_item_active { background: var(--dsw-alias-interactive-bg-hover); outline: none; }\n.puh_usage_menu_item_on {\n background: color-mix(in srgb, var(--dsw-alias-state-business-primary) 16%, transparent);\n font-weight: 500;\n}\n.puh_usage_button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex: none;\n height: 34px;\n padding: 0 14px;\n background: var(--dsw-alias-button-primary-fill);\n border: .5px solid transparent;\n border-radius: 17px;\n color: var(--dsw-alias-label-primary-foreground);\n cursor: pointer;\n font: inherit;\n font-size: 13px;\n font-weight: 500;\n line-height: 20px;\n transition: background-color .12s ease, opacity .12s ease;\n}\n.puh_usage_button:hover:not(:disabled) { background: var(--dsw-alias-button-primary-hover); }\n.puh_usage_button:focus-visible {\n outline: 2px solid var(--dsw-alias-state-business-primary);\n outline-offset: 2px;\n}\n.puh_usage_button:disabled { cursor: default; opacity: .4; }\n.puh_usage_button_busy { cursor: progress; opacity: .7; }\n.puh_usage_saved {\n color: var(--dsw-alias-state-success-primary);\n font-size: 12px;\n font-weight: 500;\n line-height: 18px;\n}\n\n/* ---------- round status strip ---------- */\n\n/* One compact status area: round line + bar left, updated-at time right. */\n.puh_usage_roundbar {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 8px 14px;\n min-width: 0;\n padding: 10px 12px;\n background: color-mix(in srgb, var(--dsw-alias-bg-layer-1) 60%, transparent);\n border: .5px solid var(--dsw-alias-border-l4);\n border-radius: 12px;\n}\n.puh_usage_round {\n display: flex;\n align-items: center;\n flex: 1 1 220px;\n gap: 10px;\n min-width: 0;\n}\n.puh_usage_round_text {\n flex: none;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--dsw-alias-label-secondary);\n font-size: 12px;\n font-variant-numeric: tabular-nums;\n line-height: 18px;\n}\n.puh_usage_round_track {\n flex: 1 1 auto;\n min-width: 48px;\n height: 4px;\n border-radius: 999px;\n overflow: hidden;\n background: var(--dsw-alias-border-l2);\n}\n.puh_usage_round_fill {\n height: 100%;\n border-radius: inherit;\n background: var(--dsw-alias-state-business-primary);\n transition: width .25s ease, background-color .15s ease;\n}\n.puh_usage_round_fill_done { background: var(--dsw-alias-state-success-primary); }\n.puh_usage_round_fill_failed { background: var(--dsw-alias-state-error-primary); }\n\n/* ---------- status and errors ---------- */\n\n.puh_usage_statusline {\n flex: none;\n margin-left: auto;\n color: var(--dsw-alias-label-tertiary);\n font-size: 12px;\n font-variant-numeric: tabular-nums;\n line-height: 18px;\n overflow-wrap: anywhere;\n}\n.puh_usage_statusline_ok { color: var(--dsw-alias-state-success-primary); }\n.puh_usage_error {\n padding: 8px 12px;\n background: color-mix(in srgb, var(--dsw-alias-state-error-primary) 10%, transparent);\n border-radius: 10px;\n color: var(--dsw-alias-state-error-primary);\n font-size: 12px;\n line-height: 18px;\n overflow-wrap: anywhere;\n}\n.puh_usage_notice {\n background: color-mix(in srgb, var(--dsw-alias-state-warn-label) 10%, transparent);\n color: var(--dsw-alias-state-warn-label);\n}\n\n/* ---------- cards ---------- */\n\n.puh_usage_grid {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));\n gap: 12px;\n min-width: 0;\n}\n.puh_usage_card {\n display: flex;\n flex-direction: column;\n gap: 8px;\n min-width: 0;\n padding: 14px 16px 12px;\n background: color-mix(in srgb, var(--dsw-alias-bg-layer-1) 60%, transparent);\n border: .5px solid var(--dsw-alias-border-l4);\n border-radius: 12px;\n}\n.puh_usage_cardhead {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 8px;\n min-width: 0;\n}\n.puh_usage_provider {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--dsw-alias-label-primary);\n font-size: 14px;\n font-weight: 600;\n line-height: 22px;\n}\n.puh_usage_chip {\n display: inline-flex;\n align-items: center;\n flex: none;\n gap: 6px;\n color: var(--dsw-alias-label-tertiary);\n font-size: 12px;\n font-weight: 500;\n line-height: 18px;\n}\n.puh_usage_chip_ok { color: var(--dsw-alias-state-success-primary); }\n.puh_usage_chip_warn { color: var(--dsw-alias-state-warn-label); }\n.puh_usage_chip_bad { color: var(--dsw-alias-state-error-primary); }\n.puh_usage_chip_running { color: var(--dsw-alias-state-business-primary); }\n.puh_usage_chiptext { min-width: 0; }\n/* A status label, not a button: no fill, no pill, default cursor; the tooltip\n * (usage.routeHint) points to the Network routing tab that owns the route. */\n.puh_usage_route {\n flex: none;\n margin-left: auto;\n color: var(--dsw-alias-label-caption);\n cursor: default;\n font-size: 11px;\n font-weight: 500;\n line-height: 17px;\n white-space: nowrap;\n}\n.puh_usage_stale {\n flex: none;\n padding: 1px 8px;\n background: color-mix(in srgb, var(--dsw-alias-state-warn-label) 16%, transparent);\n border-radius: 999px;\n color: var(--dsw-alias-state-warn-label);\n font-size: 11px;\n font-weight: 500;\n line-height: 17px;\n white-space: nowrap;\n}\n/* The reorder pair pins to the card head's right edge; when it is rendered\n * the route caption drops its own auto margin and sits flush in the flow. */\n.puh_usage_route_flush { margin-left: 0; }\n.puh_usage_moves {\n display: inline-flex;\n align-items: center;\n flex: none;\n gap: 4px;\n margin-left: auto;\n}\n.puh_usage_move {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 22px;\n height: 22px;\n padding: 0;\n background: transparent;\n border: .5px solid var(--dsw-alias-border-l4);\n border-radius: 11px;\n color: var(--dsw-alias-label-tertiary);\n cursor: pointer;\n font: inherit;\n transition: background-color .12s ease, color .12s ease, opacity .12s ease;\n}\n.puh_usage_move:hover:not(:disabled) {\n background: var(--dsw-alias-interactive-bg-hover);\n color: var(--dsw-alias-label-secondary);\n}\n.puh_usage_move:focus-visible {\n outline: 2px solid var(--dsw-alias-state-business-primary);\n outline-offset: 2px;\n}\n.puh_usage_move:disabled {\n cursor: default;\n opacity: .4;\n}\n.puh_usage_move_icon {\n width: 12px;\n height: 12px;\n}\n.puh_usage_move_icon_up { transform: rotate(180deg); }\n.puh_usage_move_glyph {\n font-size: 11px;\n line-height: 1;\n}\n\n.puh_usage_cardbody { flex: 1 1 auto; min-width: 0; }\n.puh_usage_body {\n display: flex;\n flex-direction: column;\n gap: 4px;\n min-width: 0;\n}\n.puh_usage_money {\n display: flex;\n align-items: baseline;\n flex-wrap: wrap;\n column-gap: 8px;\n min-width: 0;\n}\n.puh_usage_amount {\n color: var(--dsw-alias-label-primary);\n font-size: 20px;\n font-weight: 650;\n font-variant-numeric: tabular-nums;\n letter-spacing: -.01em;\n}\n.puh_usage_currency {\n color: var(--dsw-alias-label-tertiary);\n font-size: 12px;\n line-height: 18px;\n}\n.puh_usage_note {\n flex-basis: 100%;\n color: var(--dsw-alias-label-caption);\n font-size: 12px;\n line-height: 18px;\n}\n.puh_usage_missing {\n color: var(--dsw-alias-state-warn-label);\n font-size: 13px;\n font-weight: 500;\n line-height: 20px;\n}\n\n.puh_usage_quota {\n display: flex;\n flex-direction: column;\n gap: 8px;\n min-width: 0;\n}\n.puh_usage_window {\n display: grid;\n grid-template-columns: minmax(56px, auto) minmax(0, 1fr) minmax(34px, auto);\n column-gap: 12px;\n align-items: center;\n min-width: 0;\n}\n.puh_usage_wlabel {\n display: flex;\n flex-direction: column;\n gap: 1px;\n min-width: 0;\n}\n.puh_usage_wname {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--dsw-alias-label-secondary);\n font-size: 12px;\n line-height: 16px;\n}\n.puh_usage_wtime {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--dsw-alias-label-caption);\n font-size: 11px;\n font-variant-numeric: tabular-nums;\n line-height: 15px;\n}\n.puh_usage_track {\n height: 6px;\n border-radius: 999px;\n overflow: hidden;\n background: var(--dsw-alias-border-l2);\n}\n.puh_usage_fill {\n height: 100%;\n border-radius: 999px;\n transition: width .3s ease;\n}\n.puh_usage_fill_ok { background: var(--dsw-alias-state-success-primary); }\n.puh_usage_fill_warn { background: var(--dsw-alias-state-warn-primary); }\n.puh_usage_fill_bad { background: var(--dsw-alias-state-error-primary); }\n.puh_usage_wpct {\n justify-self: end;\n color: var(--dsw-alias-label-primary);\n font-size: 13px;\n font-weight: 600;\n font-variant-numeric: tabular-nums;\n line-height: 20px;\n}\n.puh_usage_msg {\n display: flex;\n flex-direction: column;\n gap: 4px;\n min-width: 0;\n}\n.puh_usage_msgtext {\n color: var(--dsw-alias-label-tertiary);\n font-size: 13px;\n line-height: 20px;\n overflow-wrap: anywhere;\n}\n.puh_usage_msgdetail {\n color: var(--dsw-alias-label-caption);\n font-size: 12px;\n line-height: 18px;\n overflow-wrap: anywhere;\n}\n.puh_usage_previous { min-width: 0; }\n\n.puh_usage_cardfoot {\n display: flex;\n align-items: center;\n gap: 8px;\n min-width: 0;\n margin-top: auto;\n padding-top: 8px;\n border-top: .5px solid var(--dsw-alias-border-l2);\n}\n.puh_usage_lastsuccess {\n color: var(--dsw-alias-label-caption);\n font-size: 12px;\n font-variant-numeric: tabular-nums;\n line-height: 18px;\n}\n\n/* ---------- empty and skeleton ---------- */\n\n.puh_usage_empty {\n padding: 28px 20px;\n border: .5px dashed var(--dsw-alias-border-l3);\n border-radius: 12px;\n color: var(--dsw-alias-label-tertiary);\n font-size: 13px;\n line-height: 20px;\n text-align: center;\n}\n.puh_usage_card_skeleton { gap: 8px; }\n.puh_usage_skelbar {\n display: block;\n height: 10px;\n border-radius: 5px;\n background: var(--dsw-alias-border-l2);\n animation: puh_usage_pulse 1.4s ease-in-out infinite;\n}\n\n@keyframes puh_usage_pulse {\n 0%, 100% { opacity: .45; }\n 50% { opacity: 1; }\n}\n\n@media (max-width: 520px) {\n .puh_usage_controls { gap: 6px; }\n .puh_usage_menu_root { width: 116px; }\n .puh_usage_roundbar { align-items: stretch; flex-direction: column; gap: 8px; }\n .puh_usage_round { flex-basis: auto; width: 100%; }\n .puh_usage_statusline { margin-left: 0; }\n .puh_usage_route { margin-left: 0; }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .puh_usage_select,\n .puh_usage_button,\n .puh_usage_menu_item,\n .puh_usage_fill,\n .puh_usage_round_fill { transition: none; }\n .puh_usage_skelbar { animation: none; }\n}\n","skill":"/*\n * The skill domain stylesheet (docs/architecture.md §3.1/§3.5): the sub-tab\n * row; the 软链接 face (root line, override, migration banner, folder and\n * library lists); the 技能开关 face (filter, group sections, compact rows,\n * expanded detail, inline confirms, bulk actions); the 原生技能 face (preset\n * toolbar, provenance and catalog rows); the 可调用 face (channel filters,\n * callable cards, unavailable disclosure); and the shared page primitives all\n * four faces build on.\n *\n * It is DATA — the assembler reads it as the `skill` entry of HUB_STYLES and\n * the shell installs it into the one <style> tag. Host --dsw-* tokens only\n * (plus the shell's sanctioned --peg_accent pair), hairline .5px borders,\n * 10-12px radii, 34px controls, pill buttons, 13px/500 row labels and\n * 12px/18px help text — the same metrics as the shell, usage, routing and\n * codex sheets. No parent-relational pseudo-class is used anywhere (§3.5).\n *\n * The stable root class is `.peg_skill_panel`: it wraps every sub-page and is\n * present on every render of this domain.\n */\n\n/* --- frame and sub-tabs ---------------------------------------------------- */\n\n.peg_skill_panel{contain:layout style;display:flex;flex-direction:column;gap:12px;min-width:0}\n.peg_skill_tabpanel{display:flex;flex-direction:column;gap:12px;min-width:0;padding-top:2px}\n.peg_skill_subtabs{align-items:center;display:flex;flex-wrap:wrap;gap:4px;max-width:100%;width:max-content}\n.peg_skill_subtab{background:0 0;border:0;border-radius:6px;color:var(--dsw-alias-label-tertiary);cursor:pointer;flex:none;font:inherit;font-size:12px;font-weight:500;line-height:20px;outline:none;padding:4px 10px;transition:background-color .12s ease,color .12s ease;white-space:nowrap}\n.peg_skill_subtab:hover:not(.peg_skill_subtab_on){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary)}\n.peg_skill_subtab:focus-visible{outline:2px solid var(--peg_accent);outline-offset:2px}\n.peg_skill_subtab_on{background:color-mix(in srgb, var(--peg_accent) 20%, transparent);color:var(--peg_accent)}\n\n/* --- shared pieces --------------------------------------------------------- */\n\n.peg_skill_path{color:var(--dsw-alias-label-primary);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:18px;min-width:0;overflow:hidden;overflow-wrap:anywhere;text-overflow:ellipsis;white-space:nowrap}\n.peg_skill_pathinput{min-width:0;width:100%}\n.peg_skill_desc{color:var(--dsw-alias-label-secondary);font-size:12px;line-height:18px;overflow-wrap:anywhere}\n/* One description painter, shared by the three list faces: a >60-character\n text is clamped to two lines and gets the one 展开/收起 text button below it\n (the button is owned by the component, so the row never guesses). The wrap is\n a two-line column, not a sentence with a trailing control. */\n.peg_skill_descwrap{display:flex;flex-direction:column;gap:2px;min-width:0}\n.peg_skill_desc_clamped{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}\n.peg_skill_desctoggle{background:0 0;border:0;color:var(--peg_accent);cursor:pointer;font:inherit;font-size:12px;line-height:18px;padding:0;text-align:left;width:max-content}\n.peg_skill_desctoggle:hover{text-decoration:underline}\n.peg_skill_desctoggle:focus-visible{outline:2px solid var(--peg_accent);outline-offset:2px}\n.peg_skill_reason{color:var(--dsw-alias-label-caption);font-size:12px;line-height:18px;overflow-wrap:anywhere}\n.peg_skill_warn{color:var(--dsw-alias-state-warn-label);font-size:12px;line-height:18px;overflow-wrap:anywhere}\n.peg_skill_target{color:var(--dsw-alias-label-secondary);font-size:12px;line-height:18px;overflow-wrap:anywhere}\n.peg_skill_danger{color:var(--dsw-alias-state-error-primary)}\n.peg_skill_check{accent-color:var(--peg_accent_fill);flex:none;height:16px;margin:0;width:16px}\n.peg_skill_skips{display:flex;flex-direction:column;gap:4px;margin:0}\n.peg_skill_skiplist{display:flex;flex-direction:column;gap:4px;list-style:none;margin:0;padding:0}\n.peg_skill_flags{align-items:center;display:flex;flex-wrap:wrap;gap:6px}\n\n/* --- the root line and its override ---------------------------------------- */\n\n.peg_skill_links{display:flex;flex-direction:column;gap:14px;min-width:0}\n.peg_skill_root{align-items:center;display:flex;flex-wrap:wrap;gap:8px 10px;min-width:0}\n.peg_skill_rootrow{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_skill_rootrow>.peg_skill_pathinput{flex:1 1 240px}\n\n/* --- the takeover banner and the inline confirms --------------------------- */\n\n.peg_skill_banner{background:color-mix(in srgb, var(--dsw-alias-state-warn-label) 10%, transparent);border:.5px solid var(--dsw-alias-border-l2);border-radius:12px;display:flex;flex-direction:column;gap:8px;min-width:0;padding:10px 12px}\n.peg_skill_banner_text{color:var(--dsw-alias-state-warn-label);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_skill_confirm{background:color-mix(in srgb, var(--dsw-alias-state-warn-label) 10%, transparent);border-radius:10px;display:flex;flex-direction:column;gap:8px;min-width:0;padding:10px 12px}\n.peg_skill_confirm_text{color:var(--dsw-alias-state-warn-label);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_skill_confirm_actions{align-items:center;display:flex;flex-wrap:wrap;gap:8px}\n\n/* --- the read-only folder read --------------------------------------------- */\n\n.peg_skill_read{display:flex;flex-direction:column;gap:8px;min-width:0}\n.peg_skill_readrow{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_skill_readrow>.peg_skill_pathinput{flex:1 1 260px}\n.peg_skill_scan{display:flex;flex-direction:column;gap:8px;min-width:0}\n.peg_skill_scanlist{border:.5px solid var(--dsw-alias-border-l2);border-radius:12px;display:flex;flex-direction:column;min-width:0;overflow:hidden}\n.peg_skill_scanrow{align-items:flex-start;display:flex;gap:10px;min-width:0;padding:10px 12px}\n.peg_skill_scanrow~.peg_skill_scanrow{border-top:.5px solid var(--dsw-alias-border-l2)}\n.peg_skill_scanrow_linked{background:color-mix(in srgb, var(--dsw-alias-label-primary) 2%, transparent)}\n.peg_skill_scanrow_disabled{opacity:.72}\n.peg_skill_scancopy{display:flex;flex:1 1 auto;flex-direction:column;gap:2px;min-width:0}\n.peg_skill_scanmain{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_skill_scanrow_name{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:500;line-height:20px;overflow-wrap:anywhere}\n.peg_skill_scanrow_dir{color:var(--dsw-alias-label-caption);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:18px}\n.peg_skill_scanactions{align-items:center;display:flex;flex-wrap:wrap;gap:8px}\n\n/* --- the library list ------------------------------------------------------ */\n\n.peg_skill_libraries{display:flex;flex-direction:column;gap:10px;min-width:0}\n.peg_skill_library{border:.5px solid var(--dsw-alias-border-l2);border-radius:12px;display:flex;flex-direction:column;gap:8px;min-width:0;padding:12px}\n.peg_skill_libraryhead{align-items:baseline;display:flex;flex-wrap:wrap;gap:8px 12px;min-width:0}\n.peg_skill_libraryactions{align-items:center;display:flex;flex-wrap:wrap;gap:8px}\n\n/* --- the skill rows (compact, one line each) ------------------------------- */\n\n/* The 8px rhythm: every gap on this face is 8, 16 or 24 (the action cluster\n inside a row keeps a 4px half-step, like the shell's own button clusters). */\n.peg_skill_skills{display:flex;flex-direction:column;gap:16px;min-width:0}\n/* The filter face: a title row, then one row per dimension. Each dimension\n keeps its own caption and its pills, so 512px wraps nothing uncontrolled —\n the rows simply stack and the pills stay whole. */\n.peg_skill_filter{display:flex;flex-direction:column;gap:8px;min-width:0}\n.peg_skill_filternew{margin-left:auto}\n.peg_skill_filterrow{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_skill_filterlabel{color:var(--dsw-alias-label-tertiary);flex:none;font-size:12px;line-height:18px;min-width:64px}\n.peg_skill_list{display:flex;flex-direction:column;gap:8px;min-width:0}\n/* ONE row = ONE 40px line, at every viewport width. The row is a block whose\n first child is the nowrap line (checkbox, dot, name, source, note, actions);\n the expanded detail and the inline confirms stack below it. Nothing on the\n line may wrap: the source library is the first thing to collapse (a much\n higher flex-shrink), then the link name, then the skill name — each with an\n ellipsis, never a second line. */\n.peg_skill_row{display:block;min-width:0;padding:0 12px;transition:background-color .12s ease}\n.peg_skill_row~.peg_skill_row{border-top:.5px solid var(--dsw-alias-border-l2)}\n/* ④ hover: the ground lifts AND the copy steps up one tone, so the pointer\n tells you which line it is on without a border jumping around. */\n.peg_skill_row:hover{background:var(--dsw-alias-interactive-bg-hover)}\n.peg_skill_row:hover .peg_skill_source{color:var(--dsw-alias-label-tertiary)}\n.peg_skill_row_off,.peg_skill_row_missing{background:color-mix(in srgb, var(--dsw-alias-label-primary) 2%, transparent)}\n.peg_skill_row_off .peg_skill_name,.peg_skill_row_missing .peg_skill_name{color:var(--dsw-alias-label-tertiary)}\n.peg_skill_row_off:hover .peg_skill_name,.peg_skill_row_missing:hover .peg_skill_name{color:var(--dsw-alias-label-secondary)}\n.peg_skill_row_conflict{border-left:2px solid var(--dsw-alias-state-warn-label)}\n.peg_skill_row_open{background:color-mix(in srgb, var(--peg_accent) 8%, transparent);padding-bottom:8px}\n.peg_skill_rowmain{align-items:center;display:flex;flex:none;flex-wrap:nowrap;gap:8px;height:40px;min-width:0}\n.peg_skill_rowcopy{align-items:center;display:flex;flex:1 1 auto;flex-wrap:nowrap;gap:8px;min-width:0}\n.peg_skill_rowtitle{align-items:center;display:flex;flex:0 1 auto;flex-wrap:nowrap;gap:8px;min-width:0}\n.peg_skill_name{color:var(--dsw-alias-label-primary);flex:0 1 auto;font-size:13px;font-weight:500;line-height:20px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n/* ② the directory alias is a chip: a quiet pill that stays readable while the\n source path is the thing that gives way. */\n.peg_skill_linkname{background:var(--dsw-alias-bg-module-platform);border-radius:999px;color:var(--dsw-alias-label-caption);flex:none;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;line-height:16px;max-width:120px;min-width:0;overflow:hidden;padding:1px 8px;text-overflow:ellipsis;white-space:nowrap}\n/* ② the detail's capability chips; a \"not invocable\" chip recedes. The base is\n the shared chip primitive the four sub-tabs use (see the page-primitives\n section at the end): an inline-flex pill so a 14px icon can sit inside it. */\n.peg_skill_chip{align-items:center;background:var(--dsw-alias-bg-module-platform);border-radius:999px;color:var(--dsw-alias-label-secondary);display:inline-flex;flex:none;font-size:11px;font-weight:500;gap:4px;line-height:17px;padding:1px 8px;white-space:nowrap}\n.peg_skill_chip_off{background:transparent;box-shadow:inset 0 0 0 .5px var(--dsw-alias-border-l3);color:var(--dsw-alias-label-caption)}\n.peg_skill_state{color:var(--dsw-alias-label-secondary);flex:none;font-size:12px;line-height:18px}\n/* ① the source library drops to a mono 11px whisper: it is reference data, not\n the row's subject, and it is still the first thing to ellipsise. */\n.peg_skill_source{color:var(--dsw-alias-label-dimmed);flex:0 5000 auto;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;line-height:16px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_skill_note{align-items:center;display:flex;flex:0 200 auto;flex-wrap:nowrap;gap:8px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_skill_note>.peg_skill_warn,.peg_skill_note>.peg_skill_target,.peg_skill_note>.peg_skill_reason{flex:0 1 auto;font-size:11px;line-height:16px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_skill_rowactions{align-items:center;display:flex;flex:none;flex-wrap:nowrap;gap:4px;margin-left:auto}\n/* ⑥ a row is quiet until you reach for it: the actions are neutral text, the\n one meaningful action (修复/纳入管理) keeps the accent, and only a hovered\n 删除 turns danger. */\n.peg_skill_rowactions>.peg_menu_retry{border-radius:999px;color:var(--dsw-alias-label-tertiary);padding:2px 8px}\n.peg_skill_rowactions>.peg_menu_retry:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}\n.peg_skill_rowactions>.peg_menu_retry.peg_skill_primary{color:var(--peg_accent)}\n.peg_skill_rowactions>.peg_menu_retry.peg_skill_danger{color:var(--dsw-alias-label-dimmed)}\n.peg_skill_rowactions>.peg_menu_retry.peg_skill_danger:hover:not(:disabled){background:color-mix(in srgb, var(--dsw-alias-state-error-primary) 12%, transparent);color:var(--dsw-alias-state-error-primary)}\n.peg_skill_bulk{align-items:center;border-top:.5px solid var(--dsw-alias-border-l2);display:flex;flex-wrap:wrap;gap:8px;min-width:0;padding-top:16px}\n.peg_skill_bulk_permissions{display:flex;flex-basis:100%;flex-direction:column;gap:8px;min-width:0}\n\n/* --- the group sections ---------------------------------------------------- */\n\n.peg_skill_groupnew{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_skill_groupnew>.peg_skill_pathinput{flex:1 1 220px}\n.peg_skill_groupnewhint{flex:1 1 100%}\n/* Every group — and the 未分组 bucket — is its OWN card: one hairline border and\n one 12px radius per card, an 8px seam between cards (the `.peg_skill_list`\n gap). No card clips its content: the ⋯ menu has to escape a folded card. */\n.peg_skill_section{background:color-mix(in srgb, var(--dsw-alias-label-primary) 2%, transparent);border:.5px solid var(--dsw-alias-border-l2);border-radius:12px;display:flex;flex-direction:column;min-width:0;transition:border-color .12s ease}\n.peg_skill_section:hover{border-color:var(--dsw-alias-border-l3)}\n.peg_skill_grouphead{align-items:center;background:color-mix(in srgb, var(--dsw-alias-label-primary) 3%, transparent);border-radius:11px 11px 0 0;display:flex;flex-wrap:wrap;gap:8px;min-width:0;padding:8px 12px;position:relative}\n/* A folded card is only its head, so the head carries all four corners. */\n.peg_skill_section_collapsed>.peg_skill_grouphead{border-radius:11px}\n.peg_skill_grouparrow{align-items:center;background:0 0;border:0;border-radius:6px;color:var(--dsw-alias-label-tertiary);cursor:pointer;display:inline-flex;flex:none;height:24px;justify-content:center;outline:none;padding:0;width:24px}\n.peg_skill_grouparrow:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}\n.peg_skill_grouparrow:focus-visible{outline:2px solid var(--peg_accent);outline-offset:1px}\n/* ⑤ one chevron that turns: the fold reads as motion, and the reduced-motion\n block below switches the transition off. */\n.peg_skill_groupchevron{display:block;flex:none;height:14px;transition:transform .12s ease;width:14px}\n.peg_skill_groupchevron_collapsed{transform:rotate(-90deg)}\n/* The icon-less stand-in draws the same caret with two borders. */\n.peg_skill_groupchevron_placeholder{border-bottom:1.5px solid currentColor;border-right:1.5px solid currentColor;border-radius:1px;height:6px;margin:0 0 4px;transform:rotate(45deg);width:6px}\n.peg_skill_groupname{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:500;line-height:20px;min-width:0;overflow-wrap:anywhere}\n.peg_skill_groupactions{align-items:center;display:flex;flex:none;flex-wrap:wrap;gap:8px;margin-left:auto}\n/* ③ the x/y 已开 counter is a pill, not a sentence: tabular digits in a quiet\n capsule that lines up with the switch beside it. */\n.peg_skill_count{background:color-mix(in srgb, var(--dsw-alias-label-primary) 6%, transparent);border-radius:999px;color:var(--dsw-alias-label-tertiary);flex:none;font-size:11px;font-variant-numeric:tabular-nums;font-weight:500;line-height:16px;padding:1px 8px}\n.peg_skill_groupmenu{color:var(--dsw-alias-label-tertiary);font-size:15px;line-height:18px;padding:2px 8px}\n.peg_skill_groupmenu:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}\n.peg_skill_groupmenupanel{background:var(--dsw-specific-menu);border:.5px solid var(--dsw-alias-border-l4);border-radius:10px;box-shadow:var(--dsw-elevation-panel);display:flex;flex-direction:column;gap:2px;min-width:120px;padding:4px;position:absolute;right:12px;top:calc(100% - 2px);z-index:20}\n.peg_skill_groupmenuitem{background:0 0;border:0;border-radius:8px;color:var(--dsw-alias-label-primary);cursor:pointer;display:block;font:inherit;font-size:13px;line-height:20px;padding:6px 8px;text-align:left;width:100%}\n.peg_skill_groupmenuitem:hover{background:var(--dsw-alias-interactive-bg-hover)}\n.peg_skill_groupmenuitem:focus-visible{background:var(--dsw-alias-interactive-bg-hover);outline:none}\n/* The body rounds into the card's bottom corners and clips its rows there; the\n head's ⋯ menu lives outside it, so nothing a card floats gets cut off. */\n.peg_skill_grouprows{border-radius:0 0 11px 11px;display:flex;flex-direction:column;min-width:0;overflow:hidden}\n.peg_skill_ungroupedlabel{color:var(--dsw-alias-label-tertiary);font-size:12px;font-weight:500;line-height:18px}\n/* The 未分组 head: caret + muted label + count, and nothing else — it is a card,\n not a group, so it never grows group controls. */\n.peg_skill_ungroupedhead{gap:8px}\n/* ⑦ a placeholder is a quiet, centred line — an empty body must read as \"nothing\n here on purpose\", never as a broken render. */\n.peg_skill_groupempty{color:var(--dsw-alias-label-dimmed);font-size:12px;line-height:18px;margin:0;padding:16px 12px;text-align:center}\n.peg_skill_groupreport{color:var(--dsw-alias-state-warn-label);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n\n/* --- the inline member panel ----------------------------------------------- */\n\n.peg_skill_memberpanel{background:var(--dsw-alias-bg-layer-1);border-top:.5px solid var(--dsw-alias-border-l2);display:flex;flex-direction:column;gap:8px;min-width:0;padding:8px 12px}\n.peg_skill_memberlist{display:flex;flex-direction:column;gap:2px;max-height:240px;min-width:0;overflow:auto;overscroll-behavior:contain}\n.peg_skill_memberrow{align-items:center;border-radius:8px;display:flex;gap:8px;min-width:0;padding:4px 8px}\n.peg_skill_memberrow:hover{background:var(--dsw-alias-interactive-bg-hover)}\n.peg_skill_membername{color:var(--dsw-alias-label-primary);flex:0 1 auto;font-size:13px;line-height:20px;min-width:0;overflow-wrap:anywhere}\n.peg_skill_membernote{color:var(--dsw-alias-label-caption);font-size:12px;line-height:18px;margin-left:auto;white-space:nowrap}\n.peg_skill_memberactions{align-items:center;display:flex;gap:8px;justify-content:flex-end;min-width:0}\n\n/* --- the expanded detail --------------------------------------------------- */\n\n.peg_skill_detail{border-top:.5px solid var(--dsw-alias-border-l2);display:flex;flex:1 1 100%;flex-direction:column;gap:8px;min-width:0;padding-top:8px}\n.peg_skill_detailbody{display:flex;flex-direction:column;gap:8px;min-width:0}\n.peg_skill_detailpath{color:var(--dsw-alias-label-secondary);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:18px;overflow-wrap:anywhere}\n/* One scrollable block, two contents: the SKILL.md body (monospace) and the\n full description (prose). The container language — ground, hairline, 10px\n radius, 320px ceiling, scroll — is shared; only the font differs. */\n.peg_skill_content,.peg_skill_descblock{background:var(--dsw-alias-bg-layer-1);border:.5px solid var(--dsw-alias-border-l2);border-radius:10px;color:var(--dsw-alias-label-primary);font-size:12px;line-height:18px;margin:0;max-height:320px;overflow:auto;overscroll-behavior:contain;padding:10px 12px;white-space:pre-wrap;word-break:break-word}\n.peg_skill_content{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}\n.peg_skill_descblock{font-family:inherit;font-size:13px;line-height:20px}\n.peg_skill_detaildesc{display:flex;flex-direction:column;gap:8px;min-width:0}\n.peg_skill_detaillabel{color:var(--dsw-alias-label-tertiary);font-size:11px;font-weight:500;line-height:16px}\n\n/* --- the invocation overrides (权限覆盖) ----------------------------------- */\n\n/* One captioned row per dimension, at the same 8px rhythm as the rest of the\n detail: the pills are never squeezed, the caption lines up with them. */\n.peg_skill_permissions{border-top:.5px solid var(--dsw-alias-border-l2);display:flex;flex-direction:column;gap:8px;min-width:0;padding-top:8px}\n.peg_skill_permissionhead{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_skill_permissionrow{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_skill_permissionlabel{color:var(--dsw-alias-label-tertiary);flex:none;font-size:12px;line-height:18px;min-width:64px}\n.peg_skill_permissionhint{color:var(--dsw-alias-label-dimmed);font-size:12px;line-height:18px;margin:0}\n/* The 已覆盖 marker: the accent says \"this skill does not follow its file\". */\n.peg_skill_chip_override{background:color-mix(in srgb, var(--peg_accent_fill) 16%, transparent);color:var(--peg_accent)}\n\n@media (max-width:520px){\n .peg_skill_subtab{padding-inline:10px}\n /* Narrower, but still exactly one line: the row's chain never wraps here\n either — only the gaps tighten and the source collapses sooner. */\n .peg_skill_rowmain{flex-wrap:nowrap;gap:6px}\n .peg_skill_rowcopy{flex-wrap:nowrap;gap:6px}\n .peg_skill_rowtitle{flex-wrap:nowrap;gap:4px}\n .peg_skill_note{flex-wrap:nowrap}\n .peg_skill_rowactions{flex-wrap:nowrap;gap:4px;margin-left:auto}\n .peg_skill_rowactions>.peg_menu_retry{padding:2px 6px}\n .peg_skill_groupactions{margin-left:0}\n .peg_skill_rootrow>.peg_skill_pathinput,.peg_skill_readrow>.peg_skill_pathinput{flex:1 1 100%}\n}\n@media (prefers-reduced-motion:reduce){\n .peg_skill_subtab,.peg_skill_row,.peg_skill_card,.peg_skill_section,.peg_skill_select{transition:none}\n .peg_skill_groupchevron{transition:none}\n}\n\n/* --- the native skills page (原生技能) ------------------------------------- */\n/* Catalog paths are per-entry, not a presumed shared filesystem root. */\n.peg_skill_path_abs{flex:1 1 240px;overflow:visible;text-overflow:clip;white-space:normal}\n.peg_skill_nativeprovenance,.peg_skill_nativesources{align-items:center;color:var(--dsw-alias-label-caption);display:flex;flex-wrap:wrap;font-size:12px;gap:6px;overflow-wrap:anywhere}\n.peg_skill_native{display:flex;flex-direction:column;gap:12px;min-width:0}\n.peg_skill_nativelist{display:flex;flex-direction:column;gap:8px;min-width:0}\n\n/* --- shared page primitives (all four sub-tabs) ---------------------------- */\n/* The four faces speak the Codex face's visual language (its sheet is the\n read-only reference): a 12px page rhythm, 12px cards with a hairline border,\n 34px controls with a 10px radius, 13px/500 labels, 12px/18px help, pill\n badges, and the accent only on the active/selected/focus state. The active\n sub-tab already names the page, so the page head is one quiet lead line (the\n callable face adds its summary on the right), never a second big title. */\n\n.peg_skill_page{display:flex;flex-direction:column;gap:12px;min-width:0}\n.peg_skill_pagehead{align-items:center;display:flex;flex-wrap:wrap;gap:8px 12px;min-width:0}\n.peg_skill_pagedesc{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_skill_pageactions{align-items:center;display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}\n.peg_skill_toolbar{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_skill_toolbar_spacer{margin-left:auto}\n/* The one preset control both catalog pages render. The 34px frame owns the\n only border, the caption sits inside it on the left of a hairline divider,\n and the field on the right holds just the borderless native select plus its\n chevron. Focus/hover draw on the frame alone, so there is never a double\n border; the field may shrink and never overflows a narrow toolbar. */\n.peg_skill_select{align-items:center;background:var(--dsw-alias-bg-layer-1);border:.5px solid var(--dsw-alias-border-l2);border-radius:10px;box-sizing:border-box;display:inline-flex;flex-wrap:nowrap;height:34px;max-width:100%;min-width:0;padding:0 8px 0 10px;transition:border-color .12s ease,box-shadow .12s ease}\n.peg_skill_select:hover{border-color:var(--dsw-alias-border-l3)}\n.peg_skill_select:focus-within{border-color:var(--peg_accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--peg_accent) 18%,transparent)}\n.peg_skill_selectlabel{border-right:.5px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-tertiary);flex:none;font-size:12px;line-height:32px;margin-right:8px;padding-right:8px;white-space:nowrap}\n.peg_skill_selectfield{flex:1 1 160px;height:32px;min-width:0;position:relative}\n.peg_skill_selectinput{appearance:none;-webkit-appearance:none;background:transparent;border:0;box-sizing:border-box;color:var(--dsw-alias-label-primary);cursor:pointer;font:inherit;font-size:13px;height:32px;line-height:32px;min-width:0;outline:none;overflow:hidden;padding:0 24px 0 0;text-overflow:ellipsis;white-space:nowrap;width:100%}\n.peg_skill_selectinput:focus-visible{outline:none}\n.peg_skill_selectchevron{align-items:center;color:var(--dsw-alias-label-tertiary);display:inline-flex;pointer-events:none;position:absolute;right:0;top:50%;transform:translateY(-50%)}\n/* The one collapsed disclosure that keeps unavailable skills out of the\n callable list: a quiet text button that becomes the section title. */\n.peg_skill_unavailable{display:flex;flex-direction:column;gap:8px;min-width:0}\n.peg_skill_disclosure{background:0 0;border:0;border-radius:6px;color:var(--dsw-alias-label-primary);cursor:pointer;font:inherit;font-size:13px;font-weight:500;line-height:20px;padding:2px 0;text-align:left}\n.peg_skill_disclosure:hover{color:var(--peg_accent)}\n.peg_skill_disclosure:focus-visible{outline:2px solid var(--peg_accent);outline-offset:2px}\n.peg_skill_sectionhead{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_skill_sectiontitle{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:500;line-height:20px;margin:0}\n.peg_skill_card{background:color-mix(in srgb, var(--dsw-alias-label-primary) 2%, transparent);border:.5px solid var(--dsw-alias-border-l2);border-radius:12px;display:flex;flex-direction:column;gap:10px;min-width:0;padding:12px;transition:border-color .12s ease}\n.peg_skill_card:hover{border-color:var(--dsw-alias-border-l3)}\n.peg_skill_cardhead{align-items:flex-start;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_skill_synccard>.peg_skill_cardhead{align-items:center}\n.peg_skill_cardtitle{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:500;line-height:20px;min-width:0}\n.peg_skill_cardbody{display:flex;flex-direction:column;gap:6px;min-width:0}\n.peg_skill_cardmeta{align-items:center;color:var(--dsw-alias-label-caption);display:flex;flex-wrap:wrap;font-size:12px;gap:6px;line-height:18px}\n.peg_skill_chip_on{background:color-mix(in srgb, var(--peg_accent) 14%, transparent);color:var(--peg_accent)}\n/* Unknown is a dashed hairline: \"we did not read it\" never looks like \"off\". */\n.peg_skill_chip_unknown{background:color-mix(in srgb, var(--dsw-alias-label-primary) 4%, transparent);border:.5px dashed var(--dsw-alias-border-l3);color:var(--dsw-alias-label-dimmed)}\n.peg_skill_chip_warn{background:color-mix(in srgb, var(--dsw-alias-state-warn-label) 14%, transparent);color:var(--dsw-alias-state-warn-label)}\n/* The two severities the row-state chips share with the state dots: an invalid\n row is an error, an unmanaged link is \"not ours but present\" (the accent). */\n.peg_skill_chip_bad{background:color-mix(in srgb, var(--dsw-alias-state-error-primary) 12%, transparent);color:var(--dsw-alias-state-error-primary)}\n.peg_skill_chip_running{background:color-mix(in srgb, var(--peg_accent) 14%, transparent);color:var(--peg_accent)}\n.peg_skill_chip_accent{background:color-mix(in srgb, var(--peg_accent_fill) 16%, transparent);color:var(--peg_accent)}\n.peg_skill_icon{display:block;flex:none;height:14px;width:14px}\n.peg_skill_empty{align-items:center;color:var(--dsw-alias-label-dimmed);display:flex;flex-direction:column;font-size:12px;gap:4px;justify-content:center;line-height:18px;padding:24px 12px;text-align:center}\n.peg_skill_notice{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_skill_errorline{color:var(--dsw-alias-state-error-primary);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_skill_cardlist{display:flex;flex-direction:column;gap:8px;min-width:0}\n\n/* --- ScanRow layout / count pills: the combinations, not inline style ------ */\n/* A scan row is a `.peg_skill_card` too, but it is a flat one-line row: it must\n beat the later card rule without restating `flex-direction` in JS. */\n.peg_skill_card.peg_skill_scanrow{background:transparent;border:0;border-radius:0;flex-direction:row;padding:10px 12px}\n.peg_skill_card.peg_skill_scanrow:hover{background:var(--dsw-alias-interactive-bg-hover)}\n.peg_skill_card.peg_skill_scanrow_linked:hover{background:color-mix(in srgb, var(--dsw-alias-label-primary) 4%, transparent)}\n/* The 全关/空组 count keeps the pill metrics of `.peg_skill_count` and only takes\n the quiet `_off` surface, which the later count rule would otherwise reset. */\n.peg_skill_count.peg_skill_chip_off{background:transparent;box-shadow:inset 0 0 0 .5px var(--dsw-alias-border-l3);color:var(--dsw-alias-label-caption)}\n","routing":"/* The routing panel. Host --dsw-* tokens only, hairline .5px borders, 10-12px\n radii, 34px controls, 13px/500 labels and 12px/18px help. The `peg_*` class\n names are the frozen UI vocabulary and are never renamed.\n The shared controls this panel renders (`peg_settings_label`, `_help`,\n `_status`, `_port`, `_probe`, `_switch`) are owned by `src/shell/styles.css`,\n which the shell concatenates first; this sheet declares the routing shapes\n only. `.peg_proxy_retry` is routing's own error-state retry button. */\n\n.peg_proxy_panel{contain:layout style;display:flex;flex-direction:column;gap:12px;min-width:0}\n.peg_settings_warning{color:var(--dsw-alias-state-warn-primary);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_proxy_controls>.peg_settings_status_ok,.peg_proxy_controls>.peg_settings_error{background-image:radial-gradient(circle at center, currentColor 0 3px, transparent 3.5px);background-position:0 6px;background-repeat:no-repeat;background-size:6px 6px;flex:0 1 auto;font-weight:500;min-width:0;padding-left:13px}\n.peg_settings_group{display:flex;flex-direction:column;min-width:0}\n.peg_proxy_form{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px 12px;padding:0;min-width:0}\n.peg_proxy_form>.peg_settings_label{white-space:nowrap}\n.peg_proxy_form>.peg_proxy_protocol_help{grid-column:1/-1}\n.peg_proxy_controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_proxy_controls>.peg_settings_port{width:104px}\n.peg_proxy_controls>.peg_settings_probe{flex:none}\n.peg_proxy_meta,.peg_proxy_meta>*{min-width:0}\n.peg_proxy_meta{grid-column:1/-1;align-items:baseline;color:var(--dsw-alias-label-caption);display:flex;flex-wrap:wrap;gap:4px 6px;font-size:12px;font-variant-numeric:tabular-nums;justify-content:flex-start;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_proxy_meta>*+*::before{color:var(--dsw-alias-label-dimmed);content:\"·\";margin-right:6px}\n.peg_settings_endpoint{color:var(--dsw-alias-label-caption);flex:0 1 auto;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:18px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_settings_probe_loading::before{animation:peg_spin .8s linear infinite;border:.5px solid currentColor;border-radius:50%;border-top-color:transparent;content:\"\";height:12px;width:12px}\n.peg_settings_zone_head{align-items:center;border-top:.5px solid var(--dsw-alias-border-l2);display:flex;gap:12px;justify-content:space-between;min-width:0;padding-top:14px}\n.peg_settings_provider_count{background:var(--dsw-alias-bg-module-platform);border-radius:999px;color:var(--dsw-alias-label-tertiary);flex:none;font-size:11px;font-variant-numeric:tabular-nums;font-weight:500;line-height:17px;padding:1px 8px;white-space:nowrap}\n.peg_settings_provider_count_on{background:color-mix(in srgb, var(--peg_accent) 20%, transparent);color:var(--peg_accent)}\n.peg_settings_provider_list{display:flex;flex-direction:column;gap:2px;margin:0 -8px -6px;min-width:0}\n.peg_settings_provider{align-items:center;border-radius:10px;cursor:pointer;display:flex;gap:10px;padding:9px 8px;transition:background-color .12s ease}\n.peg_settings_provider:hover{background:var(--dsw-alias-interactive-bg-hover)}\n.peg_settings_provider_off{cursor:default}\n.peg_settings_provider_off:hover{background:transparent}\n.peg_settings_provider_dot{background:var(--dsw-alias-label-dimmed);border-radius:50%;corner-shape:round;flex:none;height:7px;transition:background-color .12s ease;width:7px}\n.peg_settings_provider_on .peg_settings_provider_dot{background:var(--peg_accent)}\n.peg_settings_provider_copy{align-items:baseline;display:flex;flex:1 1 auto;gap:8px;min-width:0}\n.peg_settings_provider_name{color:var(--dsw-alias-label-secondary);font-size:13px;font-weight:500;line-height:20px;overflow:hidden;text-overflow:ellipsis;transition:color .12s ease;white-space:nowrap}\n.peg_settings_provider_on .peg_settings_provider_name{color:var(--dsw-alias-label-primary)}\n.peg_settings_provider_id{color:var(--dsw-alias-label-caption);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:18px;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_settings_provider_note{border-top:.5px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px;margin:2px 0 0;padding:12px 0 0}\n.peg_settings_provider_note_endpoint{color:var(--dsw-alias-label-secondary);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}\n.peg_proxy_current{color:var(--dsw-alias-label-secondary);font-size:13px;font-weight:500;line-height:20px;margin:0;overflow-wrap:anywhere}\n.peg_proxy_client{display:flex;flex-direction:column;gap:8px;min-width:0}\n.peg_proxy_client_meta{display:flex;flex-wrap:wrap;gap:4px 8px;min-width:0}\n.peg_proxy_client_badge{background:var(--dsw-alias-bg-module-platform);border-radius:999px;color:var(--dsw-alias-label-tertiary);font-size:11px;font-variant-numeric:tabular-nums;font-weight:500;line-height:17px;padding:1px 8px}\n.peg_proxy_client_badge_on{background:color-mix(in srgb, var(--peg_accent) 16%, transparent);color:var(--peg_accent)}\n.peg_proxy_draft{border:.5px solid var(--dsw-alias-border-l2);border-radius:10px;display:flex;flex-direction:column;gap:10px;min-width:0;padding:12px}\n.peg_proxy_draft_title{color:var(--dsw-alias-label-secondary);font-size:13px;font-weight:500;line-height:20px;margin:0}\n.peg_proxy_draft_form{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px 12px;min-width:0}\n.peg_proxy_draft_form>.peg_settings_label{white-space:nowrap}\n.peg_proxy_draft_port{border:.5px solid var(--dsw-alias-border-l3);border-radius:10px;color:var(--dsw-alias-label-primary);font:inherit;font-size:13px;height:34px;min-width:0;padding:0 10px;width:104px}\n.peg_proxy_draft_port[aria-invalid=\"true\"]{border-color:var(--dsw-alias-state-error-primary)}\n.peg_proxy_draft_actions{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_proxy_draft_actions>.peg_proxy_draft_cancel{margin-left:0}\n.peg_proxy_invalid{margin:0}\n.peg_proxy_retry{align-items:center;background:0 0;border:.5px solid var(--dsw-alias-border-l3);border-radius:12px;color:var(--dsw-alias-label-primary);cursor:pointer;display:inline-flex;font:inherit;font-size:12px;font-weight:500;height:24px;line-height:18px;margin-left:8px;padding:0 10px}\n.peg_proxy_retry:hover{background:var(--dsw-alias-interactive-bg-hover)}\n.peg_proxy_retry:focus-visible{outline:2px solid var(--peg_accent);outline-offset:2px}\n@keyframes peg_spin{to{transform:rotate(360deg)}}\n@media(max-width:520px){.peg_proxy_form,.peg_proxy_draft_form{grid-template-columns:minmax(0,1fr)}.peg_settings_provider_list{margin:0 -6px -4px}.peg_settings_provider{padding:8px 6px}}\n@media (prefers-reduced-motion:reduce){.peg_settings_port,.peg_settings_probe,.peg_settings_provider,.peg_settings_provider_dot,.peg_settings_provider_name,.peg_settings_switch,.peg_settings_switch::after,.peg_proxy_draft_port{transition:none}.peg_settings_probe_loading::before{animation:none}}\n","codex":"/*\n * The codex domain stylesheet (docs/architecture.md §3.1/§3.5): the Codex\n * account / search / requests / models faces, the conversation model picker\n * menu, and the codex sub-tab row. It is DATA — the assembler reads it as the\n * `codex` entry of HUB_STYLES and the shell installs it into the one\n * <style> tag. Host --dsw-* tokens only, hairline .5px borders, 10-12px\n * radii, 34px controls, 13px/500 row labels, 12px/18px help text.\n *\n * The codex faces' own rules live here; the shared controls they render\n * (`peg_settings_label`, `_help`, `_status`, `_port`, `_probe`, `_switch`,\n * `_segment`, `_badge`, `_control`, `peg_menu_retry`) are declared once in\n * `src/shell/styles.css`, which the shell concatenates first, so the Codex\n * faces keep the visual language wherever the shell mounts them. A codex rule\n * that must hold only inside the shell's page wrapper keeps its\n * `.peg_settings_section` prefix.\n */\n\n.peg_menu_root{min-width:0;position:relative}\n.peg_menu_trigger{min-width:0;max-width:min(360px,45cqw);height:28px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;border-radius:24px;outline:none;align-items:center;gap:4px;padding:0 4px 0 8px;font-size:13px;font-weight:500;line-height:20px;display:flex}\n.peg_menu_trigger:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover)}\n.peg_menu_trigger:focus-visible{box-shadow:none}\n.peg_menu_trigger:disabled{color:var(--dsw-alias-label-dimmed);cursor:default}\n.peg_menu_trigger_label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}\n.peg_menu_trigger_effort{color:var(--dsw-alias-label-caption);flex:none}\n.peg_menu_chevron{color:var(--dsw-alias-label-caption);flex:none;transition:transform .12s}\n.peg_menu_chevron_open{transform:rotate(180deg)}\n.peg_menu_menu{z-index:20;border:.5px solid var(--dsw-alias-border-l4);background:var(--dsw-specific-menu);width:max-content;min-width:min(240px,100vw - 32px);max-width:min(420px,100vw - 32px);max-height:min(360px,100vh - 96px);box-shadow:var(--dsw-elevation-panel);color:var(--dsw-alias-label-primary);border-radius:12px;flex-direction:column;padding:4px;display:flex;position:absolute;bottom:calc(100% + 8px);right:0;overflow:hidden}\n.peg_menu_status,.peg_menu_empty{color:var(--dsw-alias-label-tertiary);padding:10px;font-size:13px;line-height:20px}\n.peg_menu_error,.peg_menu_warning{background:var(--dsw-alias-interactive-bg-hover-danger);color:var(--dsw-alias-state-error-primary);border-radius:8px;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:4px;padding:7px 8px;font-size:12px;line-height:18px}\n.peg_menu_warning{background:var(--dsw-alias-bg-module-platform);color:var(--dsw-alias-state-warn-label)}\n.peg_menu_cell{color:var(--dsw-alias-label-primary);cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;width:100%;padding:8px;font:inherit;font-size:13px;line-height:20px;display:flex;text-align:left}\n.peg_menu_cell:hover:not(:disabled),.peg_menu_cell:focus-visible{background:var(--dsw-alias-interactive-bg-hover);outline:none}\n.peg_menu_cell:disabled{color:var(--dsw-alias-label-dimmed);cursor:default}\n.peg_menu_cell_label{min-width:0;flex:1}\n.peg_menu_cell_value{color:var(--dsw-alias-label-caption);max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_menu_cell_chevron{color:var(--dsw-alias-label-caption);flex:none}\n.peg_menu_groups{min-width:240px;max-height:280px;overflow:auto}\n.peg_menu_group{padding:4px 0}\n.peg_menu_group_title{color:var(--dsw-alias-label-tertiary);padding:4px 8px;font-size:12px;line-height:18px}\n.peg_menu_option{color:var(--dsw-alias-label-primary);cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;width:100%;padding:7px 8px;font:inherit;display:flex;text-align:left}\n.peg_menu_option:hover:not(:disabled),.peg_menu_option:focus-visible{background:var(--dsw-alias-interactive-bg-hover);outline:none}\n.peg_menu_option:disabled{color:var(--dsw-alias-label-dimmed);cursor:default}\n.peg_menu_option_selected{background:var(--dsw-alias-interactive-bg-hover)}\n.peg_menu_option_copy{min-width:0;flex:1;flex-direction:column;display:flex}\n.peg_menu_model_name,.peg_menu_description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_menu_description{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px}\n.peg_menu_check{color:var(--peg_accent);width:16px;height:16px;flex:none}\n.peg_codex_panel{contain:layout style;display:flex;flex-direction:column;gap:12px;min-width:0}\n.peg_settings_listbox{display:flex;flex-direction:column;gap:6px;min-width:0;position:relative;width:100%}\n.peg_settings_listbox_trigger{align-items:center;background:var(--dsw-alias-bg-layer-1);border:.5px solid var(--dsw-alias-border-l4);border-radius:10px;box-sizing:border-box;color:var(--dsw-alias-label-primary);cursor:pointer;display:flex;font:inherit;font-size:13px;gap:8px;height:34px;line-height:20px;max-width:100%;outline:none;padding:0 12px;text-align:left;transition:border-color .12s ease,box-shadow .12s ease;width:100%}\n.peg_settings_listbox_trigger:hover:not(:disabled){border-color:var(--dsw-alias-border-l3)}\n.peg_settings_listbox_trigger:focus-visible{border-color:var(--peg_accent);box-shadow:0 0 0 2px color-mix(in srgb, var(--peg_accent) 18%, transparent);outline:none}\n.peg_settings_listbox_trigger:disabled{cursor:default;opacity:.6}\n.peg_settings_listbox_value{flex:1 1 auto;font-weight:500;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_settings_listbox_value_id{color:var(--dsw-alias-label-caption);flex:none;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_settings_listbox_chevron{color:var(--dsw-alias-label-caption);display:block;flex:none;transition:transform .12s ease}\n.peg_settings_listbox_chevron_open{transform:rotate(180deg)}\n.peg_settings_listbox_panel{background:var(--dsw-specific-menu);border:.5px solid var(--dsw-alias-border-l4);border-radius:12px;box-sizing:border-box;box-shadow:var(--dsw-elevation-panel);color:var(--dsw-alias-label-primary);display:flex;flex-direction:column;gap:2px;left:0;max-height:240px;min-width:0;outline:none;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:4px;position:absolute;scrollbar-color:var(--dsw-alias-scrollbar-bg-l2) transparent;scrollbar-width:thin;top:calc(100% + 4px);width:100%;z-index:30}\n.peg_settings_listbox_panel::-webkit-scrollbar{width:6px}\n.peg_settings_listbox_panel::-webkit-scrollbar-track{background:transparent}\n.peg_settings_listbox_panel::-webkit-scrollbar-thumb{background:var(--dsw-alias-scrollbar-bg-l2);border-radius:3px}\n.peg_settings_listbox_panel::-webkit-scrollbar-thumb:hover{background:var(--dsw-alias-scrollbar-hover-l2)}\n.peg_settings_listbox_option{align-items:center;border-radius:8px;box-sizing:border-box;color:var(--dsw-alias-label-primary);cursor:pointer;display:flex;gap:10px;min-height:34px;padding:7px 8px;transition:background-color .12s ease;width:100%}\n.peg_settings_listbox_option:hover,.peg_settings_listbox_option_active{background:var(--dsw-alias-interactive-bg-hover)}\n.peg_settings_listbox_option_selected{background:color-mix(in srgb, var(--peg_accent) 16%, transparent)}\n.peg_settings_listbox_option_copy{display:flex;flex:1 1 auto;flex-direction:column;gap:1px;min-width:0}\n.peg_settings_listbox_option_name{font-size:13px;font-weight:500;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_settings_listbox_option_id{color:var(--dsw-alias-label-tertiary);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_settings_listbox_check{color:var(--peg_accent);display:block;flex:none;height:16px;width:16px}\n/* The login button borrows the shell's pill shape (`peg_settings_probe` in the\n * shell sheet) with the primary fill of its own domain class. */\n.peg_settings_login{align-items:center;border-radius:17px;box-sizing:border-box;cursor:pointer;display:inline-flex;flex:none;font:inherit;font-size:13px;font-weight:500;gap:6px;height:34px;justify-content:center;line-height:20px;padding:0 14px;transition:background-color .12s ease,border-color .12s ease,opacity .12s ease}\n.peg_settings_login{background:var(--dsw-alias-button-primary-fill);border:.5px solid transparent;color:var(--dsw-alias-label-primary-foreground)}\n.peg_settings_login:hover:not(:disabled){background:var(--dsw-alias-button-primary-hover)}\n.peg_settings_login:focus-visible{outline:2px solid var(--peg_accent);outline-offset:2px}\n.peg_settings_login:disabled{cursor:default;opacity:.4}\n.peg_settings_login_link{color:var(--peg_accent);overflow-wrap:anywhere}\n.peg_settings_field{align-items:center;display:flex;flex-wrap:wrap;gap:10px;min-width:0;width:100%}\n/* The routing provider row highlights while its own switch holds focus. The\n * disabled row state is routing's own `peg_settings_provider_off` marker\n * (set from RoutingPanel when the scope is not writable), so no descendant\n * query is needed here. */\n.peg_settings_provider:focus-within{background:var(--dsw-alias-interactive-bg-hover)}\n.peg_account{display:flex;flex-direction:column;gap:18px;min-width:0}\n.peg_account_list{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));min-width:0}\n.peg_account_row{background:color-mix(in srgb, var(--dsw-alias-label-primary) 2%, transparent);border:1px solid var(--dsw-alias-border-l2);border-radius:14px;box-sizing:border-box;display:flex;flex-direction:column;gap:10px;min-width:0;padding:16px;transition:border-color .12s ease}\n.peg_account_row:hover{border-color:var(--dsw-alias-border-l3)}\n.peg_account_row_current{background:color-mix(in srgb, var(--peg_accent) 14%, transparent);border-color:color-mix(in srgb, var(--peg_accent) 45%, transparent)}\n.peg_account_row_current:hover{border-color:color-mix(in srgb, var(--peg_accent) 60%, transparent)}\n.peg_account_rowmain{align-items:stretch;display:flex;flex:1 1 auto;flex-direction:column;gap:18px;min-width:0}\n.peg_account_copy{display:flex;flex:1 1 auto;flex-direction:column;gap:6px;min-width:0}\n.peg_account_main{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_account_name{align-items:center;background:0 0;border:0;color:var(--dsw-alias-label-secondary);cursor:pointer;display:inline-flex;font:inherit;font-size:14px;font-weight:600;gap:9px;line-height:24px;max-width:100%;min-height:26px;min-width:0;outline:none;padding:0;text-align:left}\n.peg_account_row_current .peg_account_name{color:var(--dsw-alias-label-primary)}\n.peg_account_nametext{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_account_editicon{color:var(--dsw-alias-label-tertiary);display:block;flex:none;height:14px;width:14px}\n.peg_account_name:hover:not(:disabled),.peg_account_name:hover:not(:disabled) .peg_account_editicon{color:var(--dsw-alias-label-primary)}\n.peg_account_name:focus-visible{border-radius:4px;outline:2px solid var(--peg_accent);outline-offset:3px}\n.peg_account_name:disabled{cursor:default;opacity:.55}\n.peg_account_name_saving:disabled{cursor:progress;opacity:1}\n.peg_account_badge{border-radius:4px;flex:none;font-size:11px;font-weight:500;line-height:17px;padding:1px 6px;white-space:nowrap}\n.peg_account_badge_expired{background:color-mix(in srgb, var(--dsw-alias-state-warn-label) 16%, transparent);color:var(--dsw-alias-state-warn-label)}\n.peg_account_meta{align-items:baseline;display:flex;gap:8px;min-width:0}\n.peg_account_id{color:var(--dsw-alias-label-caption);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;line-height:18px;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_account_row_current .peg_account_id{color:var(--dsw-alias-label-tertiary)}\n.peg_account_nameinput{background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l3);border-radius:6px;box-sizing:border-box;color:var(--dsw-alias-label-primary);flex:1 1 120px;font:inherit;font-size:14px;font-weight:600;height:26px;line-height:24px;min-width:0;outline:none;padding:0 6px;transition:border-color .12s ease}\n.peg_account_nameinput:focus-visible{border-color:var(--peg_accent)}\n.peg_account_nameinput[aria-invalid='true']{border-color:var(--dsw-alias-state-warn-label)}\n.peg_account_nameinput:disabled{cursor:default;opacity:.55}\n.peg_account_actions{align-items:center;border-top:1px solid var(--dsw-alias-border-l2);display:flex;flex:none;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:12px}\n.peg_account_action{align-items:center;background:color-mix(in srgb, var(--dsw-alias-label-primary) 4%, transparent);border:1px solid var(--dsw-alias-border-l2);border-radius:7px;box-sizing:border-box;color:var(--dsw-alias-label-primary);cursor:pointer;display:inline-flex;flex:none;font:inherit;font-size:12px;font-weight:500;height:30px;justify-content:center;line-height:18px;padding:0 10px;transition:background-color .12s ease,border-color .12s ease}\n.peg_account_action:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);border-color:var(--dsw-alias-border-l3)}\n.peg_account_action:focus-visible{outline:2px solid var(--peg_accent);outline-offset:2px}\n.peg_account_action:disabled{cursor:default;opacity:.4}\n.peg_account_remove{background:transparent;border-color:transparent;color:var(--dsw-alias-label-tertiary);margin-left:auto;padding-inline:6px}\n.peg_account_remove:hover:not(:disabled){border-color:transparent;color:var(--dsw-alias-state-warn-label)}\n.peg_account_sronly{border:0;clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}\n.peg_account_confirm{margin:6px 0 2px}\n.peg_account_current{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_account_login{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_account_add{align-items:flex-start;display:flex;flex-direction:column;gap:8px;min-width:0}\n.peg_account_addbutton{background:color-mix(in srgb, var(--peg_accent) 8%, transparent);border-color:color-mix(in srgb, var(--peg_accent) 24%, transparent);gap:6px;height:32px;padding:0 12px}\n.peg_account_addbutton:not(.peg_settings_probe_loading)::before{content:'+';font-size:17px;font-weight:400;line-height:16px}\n.peg_account_add>.peg_settings_help{color:var(--dsw-alias-label-caption);font-size:11px;line-height:18px}\n.peg_settings_segment_empty{align-items:center;display:flex;gap:8px;max-width:100%;padding:3px 0}\n.peg_settings_segment_current{color:var(--dsw-alias-label-secondary);font-weight:500;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis}\n/* The segmented control is the shell's `shell_segmentedOptions` and the shell\n * stylesheet owns its states through the markers that component emits\n * (`data-selected` / `data-disabled` / `:focus-within`). This domain does not\n * restate them: the §3.5 \"no descendant-state selector\" rule leaves the states\n * to the shell that emits the markers.\n */\n.peg_settings_toggle_row{align-items:center;cursor:pointer;display:flex;gap:16px;min-width:0;padding:12px 0}\n.peg_settings_toggle_row[data-disabled='true']{cursor:default}\n.peg_settings_toggle_row_divider{border-top:.5px solid var(--dsw-alias-border-l2);padding-top:16px}\n.peg_settings_toggle_copy{display:flex;flex:1 1 auto;flex-direction:column;gap:4px;min-width:0;padding-right:8px}\n.peg_settings_toggle_title{align-items:center;color:var(--dsw-alias-label-primary);display:inline-flex;font-size:13px;font-weight:500;gap:8px;line-height:20px}\n.peg_settings_fast_bolt{align-items:center;background:var(--dsw-alias-bg-module-platform);border-radius:9px;color:var(--dsw-alias-label-tertiary);display:inline-flex;flex:none;height:28px;justify-content:center;transition:background-color .12s ease,color .12s ease;width:28px}\n.peg_settings_fast_bolt svg{display:block;height:14px;width:14px}\n.peg_settings_fast_on .peg_settings_fast_bolt{background:color-mix(in srgb, var(--peg_accent) 20%, transparent);color:var(--peg_accent)}\n.peg_settings_fast_state{align-items:center;color:var(--peg_accent);display:inline-flex;flex:none;gap:5px;font-size:12px;font-weight:500;line-height:18px;min-width:0;white-space:nowrap}\n.peg_settings_fast_dot{background:currentColor;border-radius:50%;corner-shape:round;flex:none;height:6px;width:6px}\n.peg_settings_fast_on .peg_settings_fast_dot{animation:peg_pulse 2s ease-in-out infinite}\n.peg_sync{background:transparent;border:0;border-radius:0;display:flex;flex-direction:column;gap:10px;min-width:0;padding:0}\n.peg_sync_head{align-items:flex-start;display:flex;gap:16px;justify-content:space-between;min-width:0}\n.peg_sync_headcopy{display:flex;flex:1 1 auto;flex-direction:column;gap:4px;min-width:0;padding-right:8px}\n.peg_sync_title{color:var(--dsw-alias-label-primary);font-size:14px;font-weight:500;line-height:22px}\n.peg_sync_sub{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_sync_headside{align-items:center;display:flex;flex:none;gap:8px}\n.peg_sync_time{color:var(--dsw-alias-label-caption);font-size:12px;font-variant-numeric:tabular-nums;line-height:18px}\n.peg_sync_toolbar{align-items:center;border-top:.5px solid var(--dsw-alias-border-l2);display:flex;flex-wrap:wrap;gap:10px;min-width:0;padding:12px 0 4px}\n.peg_sync_chip{align-items:center;background:var(--dsw-alias-bg-module-platform);border:0;border-radius:999px;color:var(--dsw-alias-label-secondary);cursor:pointer;display:inline-flex;font:inherit;font-size:12px;font-weight:500;gap:5px;line-height:18px;padding:3px 10px;transition:background-color .12s ease,color .12s ease}\n.peg_sync_chip:hover{color:var(--dsw-alias-label-primary)}\n.peg_sync_chip:focus-visible{outline:2px solid var(--peg_accent);outline-offset:2px}\n.peg_sync_chip_on{background:color-mix(in srgb, var(--peg_accent) 20%, transparent);color:var(--peg_accent)}\n.peg_sync_chip_count{font-variant-numeric:tabular-nums}\n.peg_sync_selectall{align-items:center;color:var(--dsw-alias-label-secondary);cursor:pointer;display:inline-flex;font-size:12px;font-weight:500;gap:6px;line-height:20px;margin-left:auto;padding-left:10px}\n.peg_sync_selectall[data-disabled='true']{cursor:default}\n.peg_sync_collapse,.peg_sync_reload{margin-left:8px}\n.peg_sync_reload{margin-left:auto}\n.peg_sync_list{border-top:.5px solid var(--dsw-alias-border-l2);display:flex;flex-direction:column;gap:4px;margin:4px -6px 0;min-width:0;padding:4px 6px 0}\n.peg_sync_row{border-radius:10px;contain-intrinsic-size:auto 36px;content-visibility:auto;display:flex;flex-direction:column;gap:2px;min-width:0;padding:8px;transition:background-color .12s ease}\n.peg_sync_row:hover{background:var(--dsw-alias-interactive-bg-hover)}\n/* The row lights up while the checkbox inside it holds focus; `:focus-within`\n * is the plain ancestor selector for that state (no descendant-state query). */\n.peg_sync_row:focus-within{background:var(--dsw-alias-interactive-bg-hover)}\n.peg_sync_row_checked{background:color-mix(in srgb, var(--peg_accent) 14%, transparent)}\n.peg_sync_row_checked:hover{background:color-mix(in srgb, var(--peg_accent) 18%, transparent)}\n.peg_sync_rowmain{align-items:center;display:flex;gap:8px;max-width:100%;min-width:0}\n.peg_sync_pick{align-items:center;cursor:pointer;display:flex;flex:1 1 auto;gap:8px;min-width:0}\n.peg_sync_pick[data-disabled='true']{cursor:default}\n.peg_sync_check{accent-color:var(--peg_accent_fill);flex:none;height:16px;margin:0;width:16px}\n.peg_sync_check:disabled{cursor:default;opacity:.55}\n.peg_sync_check:focus-visible{outline:2px solid var(--peg_accent);outline-offset:2px}\n.peg_sync_name{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:500;line-height:20px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_sync_badge_new{background:color-mix(in srgb, var(--peg_accent) 20%, transparent);color:var(--peg_accent)}\n.peg_sync_badge_incomplete{background:var(--dsw-alias-bg-module-platform);color:var(--dsw-alias-label-secondary)}\n.peg_sync_badge_overlap{background:color-mix(in srgb, var(--dsw-alias-state-warn-label) 16%, transparent);color:var(--dsw-alias-state-warn-label)}\n.peg_sync_badge_blocked{background:color-mix(in srgb, var(--dsw-alias-state-error-primary) 14%, transparent);color:var(--dsw-alias-state-error-primary)}\n.peg_sync_warn_dot{background:var(--dsw-alias-state-warn-label);border-radius:50%;corner-shape:round;flex:none;height:7px;width:7px}\n.peg_sync_expander{align-items:center;background:0 0;border:0;border-radius:8px;color:var(--dsw-alias-label-caption);cursor:pointer;display:inline-flex;flex:none;font:inherit;font-size:12px;gap:4px;height:24px;justify-content:center;line-height:18px;outline:none;padding:0 6px;white-space:nowrap}\n.peg_sync_expander:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary)}\n.peg_sync_expander:focus-visible{outline:2px solid var(--peg_accent);outline-offset:1px}\n.peg_sync_expander_icon{display:block;height:14px;transition:transform .12s ease;width:14px}\n.peg_sync_expander_open .peg_sync_expander_icon{transform:rotate(180deg)}\n.peg_sync_details{display:flex;flex-direction:column;gap:8px;margin-left:24px;min-width:0;padding:4px 0 6px}\n.peg_sync_desc{color:var(--dsw-alias-label-secondary);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_sync_meta{color:var(--dsw-alias-label-tertiary);display:flex;flex-wrap:wrap;gap:2px 12px;font-size:12px;line-height:18px;margin:0}\n.peg_sync_note_warn{color:var(--dsw-alias-state-warn-label);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_sync_note_blocked{color:var(--dsw-alias-state-error-primary);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_sync_diffs{background:var(--dsw-alias-bg-module-platform);border-radius:10px;display:flex;flex-direction:column;gap:4px;min-width:0;padding:8px 10px}\n.peg_sync_diffline{color:var(--dsw-alias-label-secondary);font-size:12px;line-height:18px;margin:0;overflow-wrap:anywhere}\n.peg_sync_diff_field{color:var(--dsw-alias-label-tertiary);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}\n.peg_sync_confirmed{align-items:center;color:var(--dsw-alias-state-success-primary);display:inline-flex;font-size:12px;gap:4px;line-height:18px}\n.peg_sync_confirmed_icon{display:block;flex:none;height:14px;width:14px}\n.peg_sync_actions{align-items:center;border-top:.5px solid var(--dsw-alias-border-l2);display:flex;flex-wrap:wrap;gap:10px 12px;justify-content:space-between;min-width:0;padding-top:12px}\n.peg_sync_reasoning{border-top:.5px solid var(--dsw-alias-border-l2);display:flex;flex-direction:column;gap:12px;min-width:0;padding:14px 0 10px}\n.peg_sync_reasoning>.peg_menu_retry{align-self:flex-start}\n.peg_sync_reasoning_head{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_sync_confirm{background:color-mix(in srgb, var(--dsw-alias-state-warn-label) 10%, transparent);border-radius:10px;display:flex;flex-direction:column;gap:8px;padding:10px 12px}\n.peg_sync_confirm_text{color:var(--dsw-alias-state-warn-label);font-size:12px;line-height:18px;overflow-wrap:anywhere}\n.peg_sync_confirm_actions{align-items:center;display:flex;gap:8px}\n.peg_settings_control>.peg_settings_segment{justify-self:start}\n.peg_sync_reload,.peg_settings_section .peg_sync_collapse{background:0 0;border:.5px solid var(--dsw-alias-border-l3);border-radius:14px;color:var(--dsw-alias-label-secondary);height:28px;padding:0 12px}\n.peg_sync_reload:hover:not(:disabled),.peg_settings_section .peg_sync_collapse:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}\n.peg_settings_control .peg_settings_segment{flex-wrap:wrap}\n.peg_settings_control .peg_settings_segment_option{padding-inline:10px}\n.peg_tabpanel>.peg_sync{background:transparent;border:0;border-radius:0;padding:0}\n.peg_tabpanel>.peg_sync_reasoning{border-top:0;gap:12px;padding-top:0}\n.peg_sync_desc,.peg_settings_section .peg_sync_meta,.peg_settings_section .peg_sync_note_warn{margin:0}\n\n.peg_codex_subtabs{align-items:center;display:flex;flex-wrap:wrap;gap:4px;max-width:100%;width:max-content}\n.peg_codex_subtab{background:0 0;border:0;border-radius:6px;color:var(--dsw-alias-label-tertiary);cursor:pointer;flex:none;font:inherit;font-size:12px;font-weight:500;line-height:20px;outline:none;padding:4px 10px;transition:background-color .12s ease,color .12s ease;white-space:nowrap}\n.peg_codex_subtab:hover:not(.peg_codex_subtab_on){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary)}\n.peg_codex_subtab:focus-visible{outline:2px solid var(--peg_accent);outline-offset:2px}\n.peg_codex_subtab_on{background:color-mix(in srgb, var(--peg_accent) 20%, transparent);color:var(--peg_accent)}\n\n/* The Settings → Models provider card (host keyed slot\n * `settings.models.provider-card`, this plugin's `provider-hub` namespace).\n * It renders inside the host's own row, so it borrows the shared\n * `peg_settings_*` text rhythm and declares only its own layout and states.\n * Host `--dsw-*` tokens only: the card never assumes the plugin accent. */\n.peg_codexcard{display:flex;flex-direction:column;gap:16px;min-width:0;padding:6px 0 2px}\n.peg_codexcard_auth,.peg_codexcard_section{display:flex;flex-direction:column;gap:8px;min-width:0}\n.peg_codexcard_section{border-top:.5px solid var(--dsw-alias-border-l2);padding-top:14px}\n.peg_codexcard_head{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_codexcard_label{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:500;line-height:20px;margin:0}\n.peg_codexcard_status{background:var(--dsw-alias-bg-module-platform);border-radius:999px;color:var(--dsw-alias-label-secondary);flex:none;font-size:11px;font-weight:500;line-height:17px;padding:1px 8px;white-space:nowrap}\n.peg_codexcard_status_ok{color:var(--dsw-alias-state-success-primary)}\n.peg_codexcard_status_error{color:var(--dsw-alias-state-error-primary)}\n.peg_codexcard_status_loading{color:var(--dsw-alias-label-tertiary)}\n.peg_codexcard_account{color:var(--dsw-alias-label-caption);font-size:12px;line-height:18px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_codexcard_field{align-items:center;display:flex;flex-wrap:wrap;gap:8px 10px;min-width:0}\n.peg_codexcard_fieldlabel{color:var(--dsw-alias-label-secondary);flex:none;font-size:12px;line-height:18px;min-width:72px}\n.peg_codexcard_input{background:var(--dsw-alias-bg-layer-1);border:.5px solid var(--dsw-alias-border-l4);border-radius:10px;box-sizing:border-box;color:var(--dsw-alias-label-primary);flex:1 1 220px;font:inherit;font-size:13px;height:34px;line-height:20px;min-width:0;outline:none;padding:0 12px;transition:border-color .12s ease,box-shadow .12s ease}\n.peg_codexcard_input:hover:not(:disabled){border-color:var(--dsw-alias-border-l3)}\n.peg_codexcard_input:focus-visible{border-color:var(--dsw-alias-border-l3);box-shadow:0 0 0 2px var(--dsw-alias-border-l2);outline:none}\n.peg_codexcard_input:disabled{color:var(--dsw-alias-label-tertiary);cursor:default;opacity:.6}\n.peg_codexcard_actions{align-items:center;display:flex;flex-wrap:wrap;gap:8px}\n.peg_codexcard_save,.peg_codexcard_cancel{flex:none}\n.peg_codexcard_value{color:var(--dsw-alias-label-secondary);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:18px;min-width:0;overflow-wrap:anywhere}\n.peg_codexcard_value_muted{color:var(--dsw-alias-label-tertiary);font-family:inherit;font-size:12px}\n.peg_codexcard_empty{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px;margin:0}\n.peg_codexcard_modeltoolbar{align-items:center;display:flex;flex-wrap:wrap;gap:8px;min-width:0}\n.peg_codexcard_add,.peg_codexcard_fetch{flex:none}\n.peg_codexcard_fetchhint{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px;min-width:0}\n.peg_codexcard_modelserror{background:var(--dsw-alias-interactive-bg-hover-danger);border-radius:8px;color:var(--dsw-alias-state-error-primary);font-size:12px;line-height:18px;margin:0;padding:6px 8px}\n.peg_codexcard_notice{background:var(--dsw-alias-bg-module-platform);border-radius:8px;display:flex;flex-direction:column;gap:4px;min-width:0;padding:6px 8px}\n.peg_codexcard_noticetext{color:var(--dsw-alias-label-secondary);font-size:12px;line-height:18px;margin:0}\n.peg_codexcard_warnings{display:flex;flex-direction:column;gap:4px;min-width:0}\n.peg_codexcard_warning{background:var(--dsw-alias-bg-module-platform);border-radius:8px;color:var(--dsw-alias-state-warn-label);font-size:12px;line-height:18px;margin:0;padding:6px 8px}\n.peg_codexcard_error{background:var(--dsw-alias-interactive-bg-hover-danger);border-radius:8px;color:var(--dsw-alias-state-error-primary);font-size:12px;line-height:18px;margin:0;padding:6px 8px}\n.peg_codexcard_modellist{display:flex;flex-direction:column;gap:6px;list-style:none;margin:0;min-width:0;padding:0}\n.peg_codexcard_modelrow{background:var(--dsw-alias-bg-module-platform);border:.5px solid transparent;border-radius:10px;display:flex;flex-direction:column;gap:8px;min-width:0;padding:7px 8px}\n.peg_codexcard_modelrow_invalid{border-color:var(--dsw-alias-state-error-primary)}\n.peg_codexcard_modeltable{display:flex;flex-direction:column;gap:2px;min-width:0}\n.peg_codexcard_modelhead,.peg_codexcard_modelrowmain{align-items:center;display:grid;gap:6px;grid-template-columns:22px minmax(0,1.25fr) minmax(0,1fr) 28px 28px;min-width:0}\n.peg_codexcard_modelhead{padding:0 8px 2px}\n.peg_codexcard_modelheadlabel{color:var(--dsw-alias-label-tertiary);font-size:11px;font-weight:500;line-height:16px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.peg_codexcard_modelheadlabel:first-child{visibility:hidden}\n.peg_codexcard_drag{background:0 0;border:0;border-radius:8px;color:var(--dsw-alias-label-caption);cursor:grab;display:flex;flex:none;align-items:center;justify-content:center;height:30px;padding:0;width:22px}\n.peg_codexcard_drag:disabled{color:var(--dsw-alias-label-dimmed);cursor:default}\n.peg_codexcard_drag:focus-visible{background:var(--dsw-alias-interactive-bg-hover);outline:none}\n.peg_codexcard_gripicon{display:block}\n.peg_codexcard_rowinput{background:var(--dsw-alias-bg-layer-1);border:.5px solid var(--dsw-alias-border-l4);border-radius:8px;box-sizing:border-box;color:var(--dsw-alias-label-primary);font:inherit;font-size:13px;height:30px;line-height:20px;min-width:0;outline:none;padding:0 8px;transition:border-color .12s ease,box-shadow .12s ease;width:100%}\n.peg_codexcard_rowinput:hover:not(:disabled){border-color:var(--dsw-alias-border-l3)}\n.peg_codexcard_rowinput:focus-visible{border-color:var(--dsw-alias-border-l3);box-shadow:0 0 0 2px var(--dsw-alias-border-l2);outline:none}\n.peg_codexcard_rowinput:disabled{color:var(--dsw-alias-label-tertiary);cursor:default;opacity:.6}\n.peg_codexcard_modelidinput{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}\n.peg_codexcard_rowbutton{background:0 0;border:0;border-radius:8px;color:var(--dsw-alias-label-caption);cursor:pointer;display:flex;flex:none;align-items:center;justify-content:center;height:28px;padding:0;width:28px}\n.peg_codexcard_rowbutton:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover)}\n.peg_codexcard_rowbutton:focus-visible{background:var(--dsw-alias-interactive-bg-hover);outline:none}\n.peg_codexcard_rowbutton:disabled{color:var(--dsw-alias-label-dimmed);cursor:default}\n.peg_codexcard_rowdelete:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover-danger);color:var(--dsw-alias-state-error-primary)}\n.peg_codexcard_chevron{transition:transform .12s}\n.peg_codexcard_chevron_open{transform:rotate(180deg)}\n.peg_codexcard_rowdetails{border-top:.5px solid var(--dsw-alias-border-l2);display:flex;flex-direction:column;gap:8px;margin-left:28px;min-width:0;padding-top:8px}\n.peg_codexcard_rowdetails>.peg_codexcard_rowfield{align-self:stretch;flex:0 0 auto;width:100%}\n.peg_codexcard_rowgrid{display:grid;gap:8px 12px;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}\n.peg_codexcard_rowfield{display:flex;flex-direction:column;gap:4px;min-width:0}\n.peg_codexcard_rowfield>.peg_codexcard_rowinput{flex:0 0 auto;width:100%}\n.peg_codexcard_rowfieldlabel{color:var(--dsw-alias-label-secondary);font-size:12px;line-height:18px}\n.peg_codexcard_inputoptions{align-items:center;display:flex;flex-wrap:wrap;gap:12px;min-width:0}\n.peg_codexcard_inputoption{align-items:center;color:var(--dsw-alias-label-secondary);cursor:pointer;display:flex;font-size:13px;gap:6px;line-height:20px}\n.peg_codexcard_inputoption_locked{color:var(--dsw-alias-label-tertiary);cursor:default}\n.peg_codexcard_check{accent-color:var(--peg_accent_fill);flex:none;height:16px;margin:0;width:16px}\n.peg_codexcard_inherited{color:var(--dsw-alias-label-caption);font-size:12px;line-height:18px}\n.peg_codexcard_rowerror{color:var(--dsw-alias-state-error-primary);font-size:12px;line-height:18px;margin:0}\n.peg_codexcard_rowhint{background:var(--dsw-alias-bg-layer-1);border-radius:8px;color:var(--dsw-alias-label-caption);font-size:12px;line-height:18px;margin:0;padding:5px 8px}\n.peg_codexcard_footer{align-items:flex-start;border-top:.5px solid var(--dsw-alias-border-l2);display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;min-width:0;padding-top:14px}\n.peg_codexcard_feedback{display:flex;flex:1 1 280px;flex-direction:column;gap:6px;min-width:0}\n\n@keyframes peg_pulse{50%{opacity:.35}}\n@media (max-width:520px){.peg_settings_control .peg_settings_segment_option{padding-inline:8px}.peg_codex_subtab{padding-inline:10px}.peg_sync_head{flex-direction:column}.peg_sync_headside{align-self:stretch}.peg_sync_headside>.peg_settings_probe{flex:1 1 auto}.peg_sync_row{padding:6px 4px}.peg_sync_details{margin-left:0}.peg_codexcard_fieldlabel{min-width:0}.peg_codexcard_rowdetails{margin-left:0}.peg_codexcard_rowgrid{grid-template-columns:minmax(0,1fr)}.peg_codexcard_footer{flex-direction:column}.peg_codexcard_actions{justify-content:flex-end;width:100%}}\n@media (prefers-reduced-motion:reduce){.peg_settings_port,.peg_settings_probe,.peg_settings_segment_option,.peg_settings_switch,.peg_settings_switch::after,.peg_settings_fast_bolt,.peg_settings_fast_dot,.peg_settings_login,.peg_codex_subtab,.peg_account_row,.peg_account_action,.peg_settings_listbox_trigger,.peg_settings_listbox_chevron,.peg_settings_listbox_option,.peg_sync_row,.peg_sync_chip,.peg_sync_expander_icon{transition:none}.peg_settings_fast_on .peg_settings_fast_dot{animation:none}}\n"})
15
15
  const HUB_LOCALES = Object.freeze({"zh":{"shell.nav":"提供方中心","shell.title":"提供方中心","shell.tabsAria":"提供方中心分页","usage.nav":"额度与余额","usage.autoUpdate":"自动更新","usage.update":"更新额度","usage.updating":"更新中…","usage.saved":"已保存","usage.updatedAt":"更新于 {time}","usage.neverUpdated":"尚未更新","usage.lastSuccessAt":"上次成功 {time}","usage.neverChecked":"尚未成功查询","usage.previousResult":"上次结果","usage.refreshing":"更新中","usage.moveUp":"上移","usage.moveDown":"下移","usage.roundLine":"本轮:{done} / {total} 已检查 · {running} 家仍查询中","usage.roundRunning":"正在查询额度","usage.roundComplete":"本轮查询完成","usage.roundFailed":"本轮查询未完成","usage.stateQueued":"排队中","usage.stateRunning":"查询中","usage.stateOk":"正常","usage.stateUnavailable":"暂不可查","usage.stateFailed":"查询失败","usage.routeProxy":"按代理查询","usage.routeDirect":"按直连查询","usage.routeHint":"路由方式在「网络路由」标签页配置","usage.missingKey":"缺少密钥","usage.codexLoginExpired":"登录已过期,请重新登录","usage.codexAccountInactive":"未登录或未启用 Open-AI-Codex","usage.pendingHint":"等待查询结果","usage.unknownHint":"密钥状态未知","usage.emptyNone":"当前没有启用的供应商","usage.reset":"已重置","usage.resetRequired":"查询会话已失效,请点「更新额度」重试","usage.hostRestart":"宿主版本较旧,额度接口不可用;请重启 DSH 后再试","usage.invalidResponse":"额度接口返回了无法识别的数据","usage.rpcUnavailable":"无法访问宿主 RPC","usage.saveError":"保存自动更新间隔失败:{message}","usage.saveOrderError":"保存卡片顺序失败:{message}","usage.settingsUnavailable":"设置服务不可用","usage.writeRefused":"宿主拒绝了本次写入","usage.saveTimeout":"保存超时:设置服务没有响应,请重试","usage.optOff":"关闭","usage.optSeconds":"{n} 秒","usage.optMinutes":"{n} 分钟","usage.optHour":"1 小时","usage.everySeconds":"每 {n} 秒","usage.everyMinutes":"每 {n} 分钟","usage.everyHours":"每 {n} 小时","usage.unitDay":"{n}天","usage.unitHour":"{n}小时","usage.unitMinute":"{n}分钟","usage.unitSecond":"{n}秒","usage.note.balanceUnavailable":"余额不可用","usage.note.noBalanceDetail":"无余额明细","usage.note.deepseekBalance":"DeepSeek 账户余额","usage.note.availableBalance":"可用余额","usage.note.kimiQuota":"Kimi Code 订阅额度","usage.note.codexQuota":"Open-AI-Codex 订阅额度","usage.note.zaiQuota":"GLM Coding Plan 订阅额度","usage.note.noData":"额度接口暂无数据","usage.note.noPlan":"当前账户无 GLM Coding Plan 订阅","usage.note.zaiQueryFailed":"智谱额度查询失败","usage.note.credentialError":"凭据解析失败","usage.note.credentialMissing":"凭据未配置","usage.note.noCredentialRef":"未声明凭据引用","usage.note.noPublicApi":"该供应商无公开额度接口","usage.note.notInDirectory":"未在配置目录中,无法确定额度接口","usage.note.keyInvalid":"密钥无效或不适用于该接口","usage.note.tokenExpired":"订阅令牌已失效,需重新登录","usage.note.queryFailed":"查询失败","usage.note.unknown":"暂无说明","routing.nav":"网络路由","routing.description":"选择要通过本机代理访问的路由目标。路由目标不等同于已配置的 profile 或已登录账号。","routing.proxyClient":"本机代理软件","routing.proxyClientHelp":"软件名称只用来记住各自的端口和协议;实际生效的始终是上方这一组本机入口。切换软件不会改动路由目标,也不会自动创建提供商、探测端口或调用客户端品牌 API。","routing.clientClash":"Clash","routing.clientShadowrocket":"Shadowrocket","routing.clientConfigured":"{client} 已保存:{endpoint}","routing.clientUnconfigured":"{client} 尚未配置","routing.clientInvalid":"已保存的代理软件值无法识别;软件切换已停用,端口、协议和路由目标仍可编辑。","routing.oldHostBrand":"当前插件宿主尚未加载软件记忆字段;选择或切换软件暂不可保存,也不会显示为已保存。端口、协议和路由目标仍可编辑,加载新版宿主后生效。","routing.currentSummary":"当前生效:{client} · {endpoint}","routing.draftTitle":"配置 {client}","routing.draftHelp":"该软件尚未保存端点。请填写它实际监听的端口并选择协议后保存;保存前不探测该草稿,也不使用任何品牌默认端口或默认协议。","routing.draftPort":"端口","routing.draftProtocol":"协议","routing.draftInvalidPort":"请输入 1–65535 的整数端口。","routing.draftProtocolRequired":"请选择该软件实际使用的协议。","routing.draftSave":"保存并切换","routing.draftSaving":"保存中…","routing.draftCancel":"取消","routing.switchPending":"正在切换到 {client} 并等待宿主确认;确认前仍显示原配置。","routing.switchConfirmed":"已切换为 {client},生效端点 {endpoint}。","routing.switchUnconfirmed":"切换已提交,但宿主尚未确认;界面仍显示原配置,不会当作已切换。稍后刷新确认,插件不会盲重试。","routing.switchFailed":"切换未完成:宿主拒绝或发生冲突,未写入任何一部分;请确认最新配置后重试。","routing.editPending":"保存中,等待宿主确认…","routing.editConfirmed":"已保存并确认。","routing.editUnconfirmed":"写入已提交,但宿主尚未确认;当前生效摘要仍显示宿主值,不会显示为已保存。","routing.saveRefused":"保存未完成:宿主拒绝或发生冲突。","routing.configLoading":"正在读取当前配置…","routing.configLoadFailed":"读取当前配置失败;不会用默认端口或协议代替已载配置。","routing.configRefreshFailed":"刷新当前配置失败;下方显示的是宿主上一次确认的值。","routing.configChanged":"配置已在别处更新,请重新读取后再试。","routing.invalidPort":"端口必须是 1–65535 的整数;非法值不会保存,也不会写入先前的合法中间值。","routing.proxyPort":"代理端口","routing.proxyProtocol":"代理协议","routing.proxyProtocolHelp":"本机客户端(如 Clash、Shadowrocket)只要开放 HTTP 或 SOCKS5 入口即可,按其实际协议和上方端口配置;这里只设本机入口,不调用客户端品牌 API,也不预设品牌端口。TUN/虚拟网卡不是代理协议。","routing.proxyProvidersHelp":"本机代理仅连接 127.0.0.1;端口修改立即用于后续请求。从 WSL 到 Windows 的 localhost 可达性属于系统网络前提,插件不检测也不代为打通。检测只确认上方端口有 TCP 监听,不判断协议,也不代表流量可以出网。","routing.providers":"路由目标","routing.routedSummary":"已选 {active} / {total}","routing.routedNote":"勾选的路由目标将经由 {endpoint} 访问网络。","routing.loadingProviders":"正在读取提供方…","routing.providerLoadError":"无法读取提供方:{message}","routing.providerTimeout":"读取提供方超时。","routing.ensureProvider":"检测并补建提供商","routing.ensuringProvider":"检测并补建中…","routing.ensureCreated":"已补建路由目标 {name}。","routing.ensureExisting":"路由目标 {name} 已存在。","routing.ensureError":"检测并补建失败:{message}","routing.ensureTimeout":"检测并补建超时,结果可能已写入;请刷新确认,插件不会自动回滚。","routing.ensureHelp":"只检测并补建路由目标,不代表已配置 profile 或已登录;结果以宿主返回为准。","routing.testProxy":"检测端口","routing.testingProxy":"检测中…","routing.proxyListening":"配置的端口有 TCP 监听({latency} ms);这不代表已完成协议握手,也不代表流量可以出网。","routing.proxyUnavailable":"无法连接该端口({error})。","routing.proxyTimeout":"检测端口超时,请重试。","routing.lastProbe":"上次检测:{time}","routing.retry":"重试","routing.saveError":"保存失败:{message}","routing.readOnly":"当前配置只读,修改不会保存。","routing.configUnavailable":"配置服务尚不可用。","routing.hostRestart":"插件宿主版本过旧:重启 DSH 后生效;重启后此提示会消失。","codex.nav":"Open-AI-Codex","codex.card":"Open-AI-Codex","codex.tabAccount":"账号","codex.tabSearch":"网页搜索","codex.tabRequests":"请求偏好","codex.tabModels":"模型目录","codex.saveError":"保存失败:{message}","codex.search.loginHint":"开启网页搜索需要可用的当前账号。","codex.gate.loading":"正在读取账号状态…","codex.gate.unknown":"暂时无法读取账号状态。","codex.gate.noAccount":"还没有保存的 Open-AI-Codex 账号,请先登录。","codex.gate.notEnabled":"账号已保存但未启用。","codex.gate.expired":"登录已过期,请重新登录。","codex.gate.goAccount":"前往账号页","codex.action.retry":"重试","codex.action.reload":"重新加载","codex.action.cancel":"取消","codex.error.selectionRejected":"模型目录未能确认这次选择。","codex.currentAccount":"当前账号:{label}","codex.currentAccountExpired":"(登录已过期)","codex.statusLoading":"正在读取登录状态…","codex.statusError":"无法读取登录状态:{message}","codex.searchStatusHostRestart":"插件宿主版本较旧:请重启 DSH 让新设置生效,重启后此提示消失。","codex.searchStatusTimeout":"读取搜索后端状态超时。","codex.accountsLoading":"正在读取账号列表…","codex.accountsError":"无法读取账号列表:{message}","codex.accountsHostRestart":"插件宿主版本较旧:账号列表可能不完整,请重启 DSH 后再试。","codex.accountsTimeout":"读取账号列表超时,请重试。","codex.account":"Open-AI-Codex 账号","codex.accountEmpty":"还没有保存的 Open-AI-Codex 账号。","codex.accountAdd":"添加账号","codex.accountAddHelp":"添加只保存到账号列表,不会切换;请在列表中点“设为当前”启用。","codex.accountLoginAndUse":"登录并设为当前","codex.accountSavedNotEnabled":"已保存,未启用。","codex.accountSavedPick":"请在下方列表点“设为当前”启用。","codex.accountCurrent":"当前","codex.accountExpired":"登录已过期","codex.accountUse":"设为当前","codex.accountUseAria":"把 {label} 设为当前账号","codex.accountRelogin":"重登","codex.accountReloginAria":"重新登录 {label}","codex.accountRemove":"移除","codex.accountRemoveAria":"移除 {label}","codex.accountRemoveConfirm":"移除将删除该账号的登录与保存信息,备注一并删除。","codex.accountRemoveConfirmGo":"确认移除","codex.accountNoteAria":"编辑 {label} 的备注","codex.accountNotePlaceholder":"添加备注,留空清除","codex.accountNoteTooLong":"备注最多 {max} 字。","codex.accountNoteError":"备注保存失败:{message}","codex.accountNoteSaving":"正在保存备注…","codex.accountNoteConfirming":"备注写入仍在确认,稍后自动同步保存结果。","codex.accountNoteNotConfirmed":"宿主尚未确认备注已保存,可重试。","codex.mutationSaving":"正在保存账号更改…","codex.mutationConfirming":"正在确认账号更改,并同步宿主状态…","codex.mutationNotConfirmed":"宿主尚未确认账号更改。","codex.accountSwitchError":"切换账号失败:{message}","codex.accountRemoveError":"移除账号失败:{message}","codex.accountLogout":"退出登录","codex.accountLogoutAria":"退出登录 {label}","codex.accountLogoutConfirm":"退出登录会清除当前 Open-AI-Codex 授权;账号仍保留在列表中,可随时重新设为当前。","codex.accountLogoutConfirmGo":"确认退出","codex.accountLogoutError":"退出登录失败:{message}","codex.loginStarting":"正在启动登录流程…","codex.loginOpened":"已在新标签页打开登录页;未打开时请打开链接完成登录:","codex.loginCancel":"取消登录","codex.loginCancelled":"已取消登录。","codex.loginFailed":"登录未完成,请重试。","codex.loginError":"登录失败:{message}","codex.loginTimeout":"请求超时","codex.search.toggle":"网页搜索后端","codex.search.help":"开启后 web_search 改由 Open-AI-Codex 搜索;关闭则恢复插件注册前捕获的搜索提供方(没有 baseline 时使用 DeepSeek 官方搜索),改动即时生效。","codex.search.disable":"关闭 Open-AI-Codex 搜索","codex.search.model":"搜索模型","codex.search.modelAuto":"自动(跟随当前模型)","codex.search.modelAria":"搜索模型,当前 {model}","codex.search.modelEmpty":"该路由未显式配置模型:请到“模型目录”页获取并勾选要同步的模型,保存后这里会显示搜索模型选项。","codex.search.modelLoadError":"无法读取搜索模型列表:{message}","codex.search.modelLoadErrorUnknown":"未知错误","codex.search.modelLoadTimeout":"读取搜索模型目录超时;请重试。","codex.search.modelHelp":"默认跟随 DSH 当前选择的模型。","codex.search.reasoning":"搜索推理档位","codex.search.reasoningHelp":"仅用于网页搜索,与请求偏好的默认推理档位独立;Default 使用搜索模型的默认档位。更高档位更慢、token 与费用更多。","codex.search.reasoningEmpty":"档位信息不可用","codex.search.contextSize":"检索深度","codex.search.contextSizeHelp":"检索越深来源越全,但更慢、内容 token 更多、更贵;高为默认档,简单事实查询可降到中/低。","codex.search.verbosity":"输出详细度","codex.search.verbosityHelp":"低:回答更简短,更省 token、更快;高:回答更详细。","codex.search.timeout":"搜索超时","codex.search.timeoutHelp":"单次搜索最长等待时间(秒)","codex.search.timeoutInvalid":"搜索超时必须是 {min} 到 {max} 的整数秒。","codex.requests.loginHint":"开启请求偏好需要可用的当前账号。","codex.fast":"Fast 模式(策略开启时生效)","codex.fastOn":"已开启","codex.fastOff":"Standard","codex.fastHelp":"仅当部署配置的 serviceTierPolicy.mode 为 on 时,开启后所有 Open-AI-Codex 请求才会以 Fast 档发送;关闭时按 Standard 档发送,宿主的 Standard wire 强制仍然生效(不代表网络加速)。策略为 off 时此偏好不生效,目标请求也不受本策略保护,其他提供方不受影响。","codex.reasoning.title":"默认推理档位","codex.reasoning.help":"统一设置 Open-AI-Codex 请求的默认推理档位;请求级 reasoningEffort 会覆盖此值。","codex.reasoning.profileMissing":"尚未补建 Open-AI-Codex 的配置 profile;请先到“网络路由”页点击“检测并补建提供商”,此处不会隐式创建。","codex.reasoning.auto":"跟随模型默认","codex.reasoning.saving":"正在保存推理档位,仍可选择其他档位。","codex.reasoning.error":"无法读取默认推理档位:{message}","codex.reasoning.catalogFailure":"模型目录加载失败,暂时无法确定可用档位:{message}。","codex.reasoning.catalogFailureUnknown":"未知错误","codex.reasoning.applyError":"设置默认推理档位失败:{message}","codex.reasoning.conflict":"默认推理档位已在他处变更,已重新读取当前值;请确认后再切换。","codex.reasoning.confirm":"{count} 个模型不支持 {level}:{models}","codex.reasoning.confirmGo":"仍要切换","codex.reasoning.unsupported":"{count} 个模型不支持 {level}:{models}。未明确指定推理档位的请求可能失败。","codex.reasoning.recommend":"所有模型共同支持的最高档位:{level}","codex.sync.title":"账户模型目录","codex.sync.help":"读取账户可用模型并与本地配置对比,勾选的项才会写入。","codex.sync.loginHint":"登录 Open-AI-Codex 后可获取账户模型目录。","codex.sync.fetch":"获取模型","codex.sync.fetching":"获取中…","codex.sync.fetchedAt":"获取于 {time}","codex.sync.version":"Open-AI-Codex 目录版本 {version}","codex.sync.error":"无法获取模型目录:{message}","codex.sync.timeout":"请求超时,请重试。","codex.sync.hostRestart":"插件宿主版本较旧:请重启 DSH 后使用账户模型目录,重启后此提示消失。","codex.sync.empty":"账户目录暂无模型。","codex.sync.filterAll":"全部","codex.sync.selectNew":"全选新增","codex.sync.stateNew":"新增","codex.sync.stateIncomplete":"可补全","codex.sync.stateExisting":"已存在","codex.sync.stateOverlap":"待确认更新","codex.sync.stateBlocked":"不可导入","codex.sync.incompleteHint":"你的配置没有写全这个模型的信息。勾选后按账户返回的官方资料补齐缺失字段;你已手写的字段保持不变。","codex.sync.incompleteBare":"你的配置里只写了模型 ID,其余信息由内置目录提供。勾选后把账户返回的官方资料写入配置,效果与手写完整条目一致。","codex.sync.missingFields":"未填写","codex.sync.fieldName":"名称","codex.sync.fieldContextWindow":"上下文窗口","codex.sync.warnUnmappedLevel":"推理档位 \"{level}\" 未在本地目录映射,已忽略","codex.sync.warningsLabel":"被忽略的能力","codex.sync.sameName":"同名不同 ID:{ids}","codex.sync.modalities":"输入模态","codex.sync.efforts":"推理档位","codex.sync.defaultEffort":"默认档位","codex.sync.expandDiff":"查看差异","codex.sync.expandDetails":"查看详情","codex.sync.listHint":"新增项可直接同步;本地配置不同的模型需逐项确认,未确认不会覆盖。","codex.sync.collapse":"收起","codex.sync.expandList":"展开列表","codex.sync.collapsedSummary":"共 {total} 个模型 · 新增 {added} · 待确认更新 {overlap}","codex.sync.diff":"配置差异(本地 → 将写入)","codex.sync.useRemote":"使用账户配置","codex.sync.useRemoteOn":"已确认使用账户配置","codex.sync.keepLocal":"未确认前始终保留本地配置。","codex.sync.blockedReasons":"不可导入原因","codex.sync.selection":"已选 {count} 项(新增 {added} · 补全 {completed} · 更新本地已有 {updated})","codex.sync.apply":"同步所选模型","codex.sync.applying":"同步中…","codex.sync.applied":"已写入 {count} 项;当前共 {total} 个模型。","codex.sync.applyError":"同步失败:{message}","codex.sync.conflict":"模型目录已变更,同步已停止;请重新获取后再试。","codex.sync.refetch":"重新获取","codex.sync.readOnly":"当前配置为只读,无法写入同步结果。","codex.sync.commitUnknown":"写入仍在确认中,完成后会自动同步保存结果。","codex.sync.choiceNotSaved":"等待确认期间的后续选择尚未保存,请重新选择。","codex.card.authTitle":"OpenAI 账号(OAuth)","codex.card.statusLoggedIn":"已登录","codex.card.statusLoggedOut":"未登录","codex.card.statusLoading":"读取中","codex.card.statusError":"读取失败","codex.card.authHint":"登录、切换或退出账号请到 供应商中心 → Open-AI-Codex → 账号;这里不再重复登录流程。","codex.card.authReadError":"无法读取账号状态:{message}","codex.card.unknownError":"未知错误","codex.card.customTitle":"自定义设置","codex.card.displayName":"显示名称","codex.card.displayNamePlaceholder":"留空使用默认名称","codex.card.displayNameHint":"显示名称只影响 DSH 中此提供方的名字;留空并保存会清除此项,恢复默认名称 Open-AI-Codex。","codex.card.cancel":"取消","codex.card.save":"保存","codex.card.saving":"正在保存…","codex.card.saveError":"保存失败:{message}","codex.card.saveUnknown":"宿主未确认这次写入。","codex.card.readOnly":"当前配置为只读,无法修改显示名称或模型目录。","codex.card.loading":"正在读取设置…","codex.card.settingsUnavailable":"无法读取设置({message}),保存与模型操作暂不可用。","codex.card.settingsRefreshFailed":"设置刷新失败({message}),当前显示上次成功读取的值。","codex.card.modelsUnavailable":"设置不可用,无法显示模型目录。","codex.card.apiAddress":"API 地址","codex.card.apiAddressFallback":"使用内置默认地址","codex.card.apiProtocol":"API 协议","codex.card.apiProtocolValue":"OpenAI Responses(Codex OAuth)","codex.card.modelsTitle":"模型目录","codex.card.modelsHint":"这里的每一行都是显式保存的模型,顺序就是服务顺序。获取模型只把账户目录中缺失且可导入的 ID 合并到草稿;本地同 ID 行永远优先,保存前不会写入设置。","codex.card.modelsEmpty":"还没有模型;保存后此提供方将不提供任何模型。","codex.card.modelsCount":"{count} 个模型","codex.card.addModel":"添加模型","codex.card.modelId":"模型 ID","codex.card.modelIdPlaceholder":"例如 gpt-5-codex","codex.card.modelName":"显示名称","codex.card.modelNamePlaceholder":"留空使用宿主/默认模型名称(缺失时回退为模型 ID)","codex.card.contextWindow":"上下文窗口","codex.card.maxTokens":"最大输出 token","codex.card.capacityPlaceholder":"整数或 256K / 1M","codex.card.inputType":"输入类型","codex.card.inputText":"文本","codex.card.inputImage":"图片","codex.card.inheritedInput":"未显式设置时显示继承值;宿主可能优先使用内建目录({value})","codex.card.rowExpand":"展开模型详情","codex.card.rowCollapse":"收起模型详情","codex.card.rowDelete":"删除模型 {id}","codex.card.rowDrag":"拖动排序,或用上下方向键移动模型","codex.card.fetchNotice":"已合并账户目录:新增 {added}、保留 {kept}、跳过不可导入 {blocked}、元数据不同 {differing}。","codex.card.fetchSkipped":"还有 {count} 个可导入模型因 128 行上限未加入。","codex.card.fetchAccountChanged":"账号已切换,本次获取模型的结果已丢弃:没有合并任何行,也没有写入设置。","codex.card.fetchedRowsRemoved":"账号已切换、退出登录或当前账号不可用,已从草稿移除获取模型时加入的行;手动添加和本地模型行保持不变。","codex.card.accountMissing":"宿主未报告当前账号,无法获取账号模型;本地模型行仍可编辑和保存。","codex.card.catalogHint":"账户目录不同(不会写入):{details}","codex.card.profileMissing":"Open-AI-Codex 的配置已不存在,无法保存;请在提供方设置中重新创建。","codex.card.modelsUnsupported":"已保存的 models 不是数组。非数组值无法安全写入:宿主会拒绝绝大多数非数组值,但会把 null 强制转换为 [];卡片仍保守地把任何非数组(包括 null)视为整卡只读:显示名称、保存、添加/删除模型和获取模型都不可用,插件也不会创建或改写 profile;请手动把已保存配置中的 models 改为数组后重新打开。","codex.card.tooManyModels":"模型数量为 {count} 行,超过 {max} 行上限;只读显示前 {max} 行,显示名称仍可单独保存。","codex.card.staleDraft":"配置已在其他位置变更,当前草稿已过期;请关闭卡片后重新打开再保存。","codex.card.settingsWriteUnavailable":"设置已变为不可写,未提交这次保存。","codex.card.modelIdRequired":"模型 ID 不能为空。","codex.card.modelIdWhitespace":"模型 ID 不能包含空白字符。","codex.card.modelIdDuplicate":"模型 ID“{id}”重复。","codex.card.modelNameInvalid":"模型显示名称必须是字符串。","codex.card.contextWindowInvalid":"上下文窗口必须是正整数,或 256K / 1M 这样的写法;已保存的非数字值请在此重新输入后再保存。","codex.card.maxTokensInvalid":"最大输出 token 必须是正整数,或 256K / 1M 这样的写法;已保存的非数字值请在此重新输入后再保存。","codex.card.inputInvalid":"输入类型只能包含 text 或 image,且不能重复。","codex.card.warnZeroModels":"保存后此提供方将提供 0 个模型;DSH 的模型选择器不会显示它。","codex.card.warnSearchModel":"网页搜索当前使用已删除的模型“{model}”;若保存后目录里还有其他模型,搜索模型会回退为自动;若目录变为空,搜索会在发出请求前失败。不会改写搜索设置。","codex.card.warnDefaultModel":"部署默认模型“{model}”将被删除;新会话需要重新选择模型。","codex.card.warnDefaultUnread":"暂时无法确认部署默认模型是否引用被删除的模型。","codex.card.warnSessions":"插件无法读取或改写已有会话的模型选择;这些会话需要自行重新选择。","codex.picker.triggerFallback":"选择模型","codex.picker.triggerSelectAria":"选择模型","codex.picker.triggerAria":"选择模型,当前 {model}","codex.picker.triggerAriaEffort":"选择模型,当前 {model},推理档位 {effort}","codex.picker.menuAria":"模型与推理档位","codex.picker.menuModel":"模型","codex.picker.menuEffort":"推理档位","codex.picker.effortDefault":"默认","codex.picker.loading":"正在刷新模型列表…","codex.picker.errorAction":"模型操作失败:{message}","codex.picker.selectionRejected":"模型目录未能确认这次选择。","codex.picker.groupLoadWarning":"{name} 加载失败:{message}","codex.picker.emptyModels":"没有可用的模型。","codex.picker.emptyEfforts":"当前模型未提供推理档位。","skill.nav":"技能","skill.card":"技能","skill.tabLinks":"软链接","skill.tabSkills":"技能开关","skill.tabNative":"原生技能","skill.tabSync":"三端同步","skill.refresh":"刷新","skill.refreshing":"正在刷新…","skill.read":"读取","skill.reading":"读取中…","skill.cancel":"取消","skill.retry":"重试","skill.clearSelection":"清空选择","skill.selectAll":"全选","skill.expand":"详情","skill.collapse":"收起","skill.descriptionExpand":"展开","skill.descriptionCollapse":"收起","skill.remove":"删除","skill.repair":"修复","skill.adopt":"纳入管理","skill.repoint":"重新指向","skill.repointConfirm":"重新指向会把该技能根里的链接指向新目标:{target}。","skill.repointConfirmGo":"确认重新指向","skill.statusLoading":"正在读取技能根状态…","skill.statusError":"无法读取技能状态:{message}","skill.statusTimeout":"读取技能状态超时,请重试。","skill.statusInvalid":"技能状态返回无法识别。","skill.partial":"目录不完整:部分技能库没能读取,下面只显示已读到的内容。","skill.hostRestart":"插件宿主版本较旧:请重启 DSH 后使用技能管理,重启后此提示消失。","skill.applying":"正在应用链接更改…","skill.applied":"链接更改已应用。","skill.applyPartial":"部分链接更改未成功,请刷新后重试。","skill.applyError":"应用链接更改失败:{message}","skill.root":"链接存放位置","skill.rootUnknown":"未解析","skill.rootCustom":"自定义","skill.rootAutoBadge":"自动","skill.rootSource.env":"来源:DSH_HOME","skill.rootSource.default":"来源:默认 ~/.dsh","skill.rootSource.setting":"来源:本插件覆盖","skill.rootSource.unknown":"来源:未知","skill.cwd":"宿主工作目录:","skill.platformWsl":"WSL","skill.rootState.missing":"尚未创建","skill.rootState.directory":"普通目录","skill.rootState.symlink":"整目录链接","skill.rootState.other":"无法识别","skill.rootOverride":"自定义链接位置","skill.rootSave":"保存","skill.rootAuto":"恢复自动","skill.rootHelp":"仅本插件管理的链接存放位置,不是原生技能库,也不会改变原生技能目录。留空使用默认位置,首次建立链接时才创建目录。","skill.rootSaved":"技能根已更新。","skill.rootError":"保存技能根失败:{message}","skill.rootReadOnly":"当前配置为只读,无法修改技能根。","skill.rootNotAccepted":"宿主没有接受技能根的写入,仍保持原值。","skill.readOnly":"当前配置为只读:技能根覆盖、分组与权限覆盖不可修改,链接操作仍会提交给宿主。","skill.configLoading":"正在读取配置…","skill.migrateBanner":"检测到 {path} 是整目录链接 → {target}","skill.migrateGo":"接管并迁移","skill.migrateConfirm":"将接管技能根并建立 {count} 个链接。","skill.migrateNoBackup":"全程不产生备份:库文件夹保持原样,原整目录链接会被移除后逐个重建。","skill.migrateConfirmGo":"确认接管","skill.migrateSkipped":"跳过 {name}:{reason}","skill.migrateDone":"已接管技能根并迁移 {count} 个技能。","skill.migrateError":"接管技能根失败:{message}","skill.readFolder":"读取文件夹","skill.readFolderPlaceholder":"输入包含技能的文件夹路径","skill.readFolderHelp":"只读取该文件夹第一层子文件夹里的技能:显示名称、描述与是否已链接,不展开正文,也不写入任何内容。","skill.scanError":"读取文件夹失败:{message}","skill.scanTimeout":"读取文件夹超时,请重试。","skill.scanInvalid":"读取结果无法识别。","skill.scanMissing":"路径不存在:{path}","skill.scanUnreadable":"无法读取路径:{path}","skill.scanEmpty":"该文件夹第一层没有可用的技能。","skill.scanFound":"{path}:找到 {count} 个技能","skill.scanLinked":"已链接","skill.scanConflict":"名称与已登记技能重复,DSH 只会加载其中一个","skill.scanInvalidEntry":"缺少可用的 SKILL.md","skill.scanSkippedTitle":"已跳过","skill.scanTruncated":"目录内容过多,只显示了前面一部分。","skill.linkGo":"建立链接({count})","skill.unlinkGo":"取消链接({count})","skill.skip.hidden-entry":"隐藏条目(以 . 开头)","skill.skip.flat-markdown":"第一层是 .md 文件,本域只链接文件夹","skill.skip.not-a-directory":"不是文件夹","skill.skip.missing-skill-md":"没有 SKILL.md","skill.skip.unreadable-entry":"无法读取","skill.reason.missing-skill-md":"缺少 SKILL.md","skill.reason.skill-md-unreadable":"SKILL.md 无法读取","skill.reason.frontmatter-too-large":"frontmatter 过大","skill.reason.frontmatter-missing":"缺少 frontmatter","skill.reason.frontmatter-invalid":"frontmatter 格式错误","skill.reason.frontmatter-unavailable":"frontmatter 不可用","skill.reason.legacy-invocation-key":"使用了旧的调用字段","skill.reason.name-missing":"缺少名称","skill.reason.name-invalid":"名称不合法","skill.reason.description-missing":"缺少描述","skill.reason.invocation-invalid":"调用标记不合法","skill.libraries":"技能库","skill.librariesEmpty":"还没有登记任何技能库;读取一个文件夹并建立链接后,这里会列出它。","skill.libraryStats":"{skills} 个技能 · 已链接 {links}","skill.libraryMissing":"库文件夹不存在。","skill.libraryUnreadable":"库文件夹无法读取。","skill.libraryError":"扫描错误:{message}","skill.libraryTruncated":"库内容过多,只显示了前面一部分。","skill.reloadLibrary":"重新读取","skill.unlinkLibrary":"移除该库全部链接","skill.unlinkLibraryConfirm":"将移除该库的 {count} 个链接;登记项保留,可随时重新建立,库文件夹不会被修改。","skill.unlinkLibraryConfirmGo":"确认移除","skill.filter":"筛选","skill.permission.title":"权限覆盖","skill.permission.follow":"跟随原文件","skill.permission.overridden":"已覆盖","skill.permission.unsupported":"当前宿主不支持","skill.permission.globalOnly":"仅 CLI/headless 生效","skill.permission.writeRefused":"权限覆盖写入被拒绝","skill.filterState":"开关","skill.filterModel":"模型调用","skill.filterUser":"用户调用","skill.filter.all":"全部","skill.filter.on":"已开","skill.filter.off":"已关","skill.filter.conflict":"冲突","skill.filter.allow":"允许","skill.filter.deny":"禁止","skill.rowCount":"显示 {count} / {total} 个技能","skill.rowsEmpty":"技能根里还没有任何技能;先到“软链接”页读取文件夹并建立链接。","skill.rowState.on":"已开启","skill.rowState.off":"已关闭","skill.rowState.missing":"链接缺失","skill.rowState.unmanagedLink":"未纳管链接","skill.rowState.unmanagedDir":"未纳管目录","skill.rowState.invalid":"无法识别","skill.rowState.conflict":"名称冲突","skill.hint.unmanagedDir":"本插件不管理该普通目录,也不会改动其中内容。","skill.hint.invalid":"这个条目缺少可用的 SKILL.md:DSH 不会加载它。","skill.hint.missing":"登记项还在,但技能根里的链接已丢失;点“修复”重建链接。","skill.hint.root-is-symlink":"整个技能根是一个目录链接:只有“接管并迁移”能把它变成本插件管理的技能根。","skill.source":"· {library}","skill.nameConflict":"DSH 只会加载其中一个。","skill.nameConflictBadge":"名称冲突","skill.targetChanged":"目标已变:{from} → {to}","skill.invalidReason":"原因:{reason}","skill.selectRow":"选择 {name}","skill.toggleAria":"{name}:当前{state}","skill.selected":"已选 {count} 项","skill.deleteSelected":"删除所选({count})","skill.deleteConfirm":"删除只移除 DSH 技能根里的链接与登记项,不动库文件夹。","skill.deleteBulkConfirm":"将删除所选的 {count} 个技能。","skill.deleteConfirmGo":"确认删除","skill.bulk.permissions":"批量设置权限","skill.bulk.noChange":"不修改","skill.bulk.enable":"设为启用","skill.bulk.disable":"设为停用","skill.bulk.apply":"应用","skill.bulk.applyHint":"选择要修改的调用方式后再应用。","skill.bulk.confirm":"确认为 {count} 个技能设置权限?","skill.bulk.confirmModel":"模型调用:{verdict}","skill.bulk.confirmUser":"用户调用:{verdict}","skill.bulk.confirmGo":"确认应用","skill.bulk.applied":"已为 {count} 个技能更新权限覆盖。","skill.bulk.permissionSkipped":"已跳过 {count} 个无法定位库路径的技能:{names}","skill.skillsHelp":"管理本插件登记的技能:逐行开关、按组批量操作并设置调用权限覆盖;这里不改动技能库文件和链接目标。","skill.group.create":"新建分组","skill.group.namePlaceholder":"分组名称","skill.group.createHint":"分组只影响本页的显示与批量开关,不改变任何链接;Enter 提交,Esc 取消。","skill.group.rename":"重命名","skill.group.renameHint":"改名只影响分组标签,成员与链接保持不变;Enter 提交,Esc 取消。","skill.group.dissolve":"解散组","skill.group.dissolveConfirm":"解散后成员回到未分组,链接与登记项不受影响。","skill.group.addMembers":"添加成员","skill.group.memberOf":"现属 {name} 组","skill.group.remove":"移出组","skill.group.empty":"空分组","skill.group.noMatch":"该组无匹配","skill.group.count":"{on}/{total} 已开","skill.group.toggleSkipped":"已跳过 {count} 个不可操作的技能:{names}","skill.group.ungrouped":"未分组","skill.group.confirm":"确定","skill.group.cancel":"取消","skill.group.nameEmpty":"分组名称不能为空。","skill.group.nameTooLong":"分组名称最长 {max} 个字符。","skill.group.nameDuplicate":"已存在同名分组。","skill.group.limitReached":"分组数量已达上限。","skill.group.memberLimit":"一个分组最多 {max} 个成员。","skill.group.writeRefused":"宿主没有接受分组更改,已保持原样。","skill.nativePreset":"查看预设","skill.nativeDefaultPreset":"DSH 默认预设","skill.nativeGlobalCatalog":"宿主全局技能目录(未使用预设)","skill.nativeBrokenPreset":"预设不可用","skill.nativeViewingPreset":"正在查看:{name}({id})","skill.nativeHelp":"只读查看 DSH 实际提供的技能,不切换会话或默认预设,列出不代表已加载。本插件管理的链接请到“软链接/技能开关”查看;这里不按宿主启动目录扫描项目,也不额外搜索外部文件夹。","skill.nativeStatusLoading":"正在读取原生技能目录…","skill.nativeStatusError":"无法读取原生技能目录:{message}","skill.nativeStatusTimeout":"读取原生技能目录超时,请重试。","skill.nativeUpgrade":"宿主不支持此技能目录接口或返回无法识别。请升级插件宿主并重启 DSH,然后重新加载页面;旧目录扫描不能代表完整技能目录。","skill.nativeFallback":"降级视图:仅默认用户技能目录的文件系统结果,不包含预设、项目或提供方的完整目录。","skill.nativeCatalogError":"目录读取提示:{message}","skill.nativeEmpty":"此视图没有返回可用技能。","skill.nativeFound":"显示 {count} 个技能","skill.nativePartial":"目录不完整,下面仅显示已返回的内容;可刷新重试。","skill.nativeTruncated":"条目过多,只显示了前 {count} 项。","skill.nativeSources":"技能来源与提供方","skill.nativeSource":"来源:{source}","skill.nativeProvider":"提供方:{provider}","skill.nativeUnknown":"未提供","skill.nativeProviderSkill":"提供方技能","skill.nativeLocalSkill":"本地技能","skill.nativeOtherSkill":"其他来源技能","skill.nativeProvided":"由提供方提供(无实体路径)","skill.nativeKind.directory":"技能目录","skill.nativeKind.flat":"平铺 .md","skill.nativeKind.provider":"提供方条目","skill.nativeDetailError":"无法读取技能正文:{message}","skill.nativeDetailInvalid":"技能正文返回无法识别或身份不匹配,请刷新后重试。","skill.syncHelp":"把技能开关里已开启的技能,用软链接同步到本机 Claude Code / Codex 的原生技能目录;不复制文件,不覆盖目录里已有的内容。同步的是技能本身;你在 DSH 里单独改的“模型调用/用户调用”只影响 DSH,这类技能会标出来,两边仍按技能文件原来的规则跑。","skill.syncInvocationOverride":"DSH 单独设置","skill.syncInvocationOverrideHelp":"这个技能在 DSH 里单独设置过模型/用户调用;只影响 DSH,不改技能文件,Claude/Codex 仍按文件原来的规则跑。","skill.syncPromptCopy":"复制查找 Prompt","skill.syncPromptShow":"查看 Prompt","skill.syncPromptHide":"收起 Prompt","skill.syncPromptHelp":"复制这段发给 agent,让它只读排查本机两个客户端实际读取的技能目录。把回复整段粘贴到任一路径输入框,两卡会自动填入最后两行;不确定的目录会留空并提示。","skill.syncPromptLabel":"查找原生技能目录的 Prompt","skill.syncPromptCopied":"已复制。","skill.syncPromptCopyFailed":"复制失败,请手动选择下面的文本复制。","skill.syncTargetClaude":"Claude Code","skill.syncTargetCodex":"Codex","skill.syncTargetPath":"原生技能目录","skill.syncPlaceholderClaude":"~/.claude/skills","skill.syncPlaceholderCodex":"~/.codex/skills","skill.syncCodexHint":"Codex 新版也可能读取 ~/.agents/skills;按 agent 查到的实际目录填写。","skill.syncSave":"保存并同步","skill.syncSaving":"正在保存…","skill.syncClear":"清除","skill.syncClearConfirm":"清除路径只会移除本插件在该目录里创建的软链接,不会删除或改动其他内容。","skill.syncClearConfirmGo":"确认清除","skill.syncRun":"立即同步","skill.syncRunning":"正在同步…","skill.syncExpand":"展开","skill.syncCollapse":"收起","skill.syncReadOnly":"当前配置为只读,无法保存或清除路径;同步仍可用。","skill.syncUnsetHelp":"先填入这个客户端的原生技能目录,保存后会自动同步已开启的技能。","skill.syncSummary":"已接入 {linked} / 应接入 {desired} · 冲突 {conflict}","skill.syncEmptyNoSkills":"技能开关里还没有已开启的技能。","skill.syncLoading":"正在读取三端同步状态…","skill.syncReadError":"无法读取三端同步状态:{message}","skill.syncTimeout":"读取三端同步状态超时,请重试。","skill.syncInvalid":"三端同步状态返回无法识别。","skill.syncSetError":"保存技能目录失败:{message}","skill.syncRunError":"同步失败:{message}","skill.syncSaved":"技能目录已保存并同步。","skill.syncSynced":"已同步。","skill.syncPromptUnknown":"agent 没有确认 {target} 的路径,请手动填写或检查。","skill.syncDshMissing":"DSH 里的链接缺失,外部链接可能仍然有效;可在“技能开关”里修复。","skill.syncSourceMissing":"源技能目录不存在","skill.syncSourceInvalid":"源技能无效,DSH 不会加载它。","skill.syncState.unset":"尚未设置目录","skill.syncState.missing":"目录不存在","skill.syncState.directory":"目录就绪","skill.syncState.symlink":"整目录链接","skill.syncState.other":"路径不可用","skill.syncHint.parentMissing":"上级目录不存在,请先创建或检查路径。","skill.syncHint.rootSymlink":"该目录是整目录链接;写入的链接可能不被客户端识别。","skill.syncError.isSkillRoot":"这个目录不能是插件自己的技能根或其中的子目录。","skill.syncError.isHome":"这个目录不能是用户主目录。","skill.syncError.isRoot":"这个目录不能是文件系统根目录。","skill.syncError.notAbsolute":"请填绝对路径或以 ~ 开头的路径。","skill.syncError.unsupported":"这个路径写法不受支持。","skill.syncError.notDirectory":"这个路径不是文件夹。","skill.syncError.unreadable":"没有权限读取这个目录。","skill.syncError.missing":"目录不存在。","skill.syncError.generic":"路径不可用:{error}","skill.syncLinked":"已接入","skill.syncNotLinked":"未接入","skill.syncBroken":"链接失效","skill.syncConflictLink":"被其他链接占用","skill.syncConflictDir":"同名目录占用","skill.syncConflictFile":"同名文件占用","skill.syncConflictOther":"同名项占用","skill.syncStale":"DSH 已关闭但仍有链接({count})","skill.syncUnavailable":"源不可用但仍被引用({count})","skill.syncOtherEntries":"其他技能({count})","skill.syncOtherHelp":"这些条目不是本插件建立的,只读显示。","skill.syncTruncated":"目标目录条目过多,只检查了前 {count} 项。","skill.syncKind.symlink":"链接","skill.syncKind.directory":"目录","skill.syncKind.file":"文件","skill.syncKind.other":"其他","skill.tabCallable":"可调用","skill.callableTitle":"当前可调用技能","skill.callableHelp":"以技能开关的状态行为准:已登记的链接(跨全部技能库)优先,所选预设的目录只补充未被行覆盖的技能;模型调用还受 skill 工具可见性影响;已关闭的链接不出现在可调用列表,收在下方“不可调用 / 未启用”中。","skill.callableSummary":"可调用 {callable} · 模型 {model} · 用户 {user}","skill.callableFilterAll":"全部","skill.callableFilterBoth":"双通道","skill.callableFilterModel":"仅模型","skill.callableFilterUser":"仅用户","skill.callableEmpty":"当前没有可调用技能。","skill.callableNoMatch":"没有符合当前通道筛选的可调用技能。","skill.callableManaged":"已启用","skill.callableUnmanaged":"未纳管","skill.callableDisabled":"未启用/不可用","skill.callableUnavailable":"不可调用 / 未启用({count})","skill.callableReasonOff":"链接已关闭。","skill.callableReasonMissing":"链接已缺失。","skill.callableReasonInvalid":"条目无效,DSH 不会加载它。","skill.callableReasonClosed":"模型与用户通道均已关闭。","skill.callableReasonUnknown":"技能没有声明模型或用户调用方式。","skill.channelUnknown":"调用方式未知","skill.channelModelOn":"模型可调用","skill.channelModelOff":"模型不可调用","skill.channelModelUnknown":"模型未知","skill.channelUserOn":"用户可调用","skill.channelUserOff":"用户不可调用","skill.channelUserUnknown":"用户未知","skill.detailLoading":"正在读取技能正文…","skill.detailEmpty":"没有可显示的技能正文。","skill.detailError":"无法读取技能正文:{message}","skill.detailEvicted":"正文已从缓存中移除。","skill.detailInvalid":"技能正文返回无法识别。","skill.detailWhen":"适用时机:","skill.detailDescription":"描述","skill.detailTruncated":"正文过长已截断(共 {bytes} 字节)。"},"en":{"shell.nav":"Providers","shell.title":"Providers","shell.tabsAria":"Providers sections","usage.nav":"Balance & quota","usage.autoUpdate":"Auto-update","usage.update":"Update usage","usage.updating":"Updating…","usage.saved":"Saved","usage.updatedAt":"Updated {time}","usage.neverUpdated":"Never updated","usage.lastSuccessAt":"Last success {time}","usage.neverChecked":"No successful check yet","usage.previousResult":"Previous result","usage.refreshing":"Updating","usage.moveUp":"Move up","usage.moveDown":"Move down","usage.roundLine":"This round: {done} / {total} checked · {running} still checking","usage.roundRunning":"Checking usage","usage.roundComplete":"Round complete","usage.roundFailed":"Round incomplete","usage.stateQueued":"Queued","usage.stateRunning":"Checking","usage.stateOk":"OK","usage.stateUnavailable":"Unavailable","usage.stateFailed":"Check failed","usage.routeProxy":"Via proxy","usage.routeDirect":"Direct","usage.routeHint":"Configure routing on the Network routing tab","usage.missingKey":"Missing key","usage.codexLoginExpired":"Sign-in expired; sign in again","usage.codexAccountInactive":"Open-AI-Codex is not signed in or enabled","usage.pendingHint":"Waiting for a result","usage.unknownHint":"Key state unknown","usage.emptyNone":"No active providers","usage.reset":"reset","usage.resetRequired":"The usage session expired; press “Update usage” to retry","usage.hostRestart":"This host build has no usage endpoint; restart DSH and retry","usage.invalidResponse":"The usage endpoint returned an unrecognized payload","usage.rpcUnavailable":"The host RPC is unavailable","usage.saveError":"Failed to save the auto-update interval: {message}","usage.saveOrderError":"Failed to save the card order: {message}","usage.settingsUnavailable":"The settings service is unavailable","usage.writeRefused":"The host refused this write","usage.saveTimeout":"Save timed out: the settings service did not respond; retry","usage.optOff":"Off","usage.optSeconds":"{n} sec","usage.optMinutes":"{n} min","usage.optHour":"1 hour","usage.everySeconds":"Every {n} sec","usage.everyMinutes":"Every {n} min","usage.everyHours":"Every {n} hour","usage.unitDay":"{n}-day","usage.unitHour":"{n}-hour","usage.unitMinute":"{n}-minute","usage.unitSecond":"{n} sec","usage.note.balanceUnavailable":"Balance unavailable","usage.note.noBalanceDetail":"No balance details","usage.note.deepseekBalance":"DeepSeek account balance","usage.note.availableBalance":"Available balance","usage.note.kimiQuota":"Kimi Code subscription quota","usage.note.codexQuota":"Open-AI-Codex subscription quota","usage.note.zaiQuota":"GLM Coding Plan subscription quota","usage.note.noData":"No data from the usage endpoint","usage.note.noPlan":"No GLM Coding Plan subscription on this account","usage.note.zaiQueryFailed":"GLM quota query failed","usage.note.credentialError":"Failed to resolve credential","usage.note.credentialMissing":"Credential not configured","usage.note.noCredentialRef":"No credential reference declared","usage.note.noPublicApi":"No public usage endpoint for this provider","usage.note.notInDirectory":"Not in the provider directory; cannot determine the usage endpoint","usage.note.keyInvalid":"Key invalid or not applicable to this endpoint","usage.note.tokenExpired":"Subscription token expired; sign in again","usage.note.queryFailed":"Query failed","usage.note.unknown":"No details","routing.nav":"Network routing","routing.description":"Choose the route targets that should reach the network through the local proxy. A route target is not a configured profile or a logged-in account.","routing.proxyClient":"Local proxy software","routing.proxyClientHelp":"The software name only remembers its own port and protocol; the effective entry is always the one loopback pair above. Switching software never changes the route targets, creates a provider, probes a draft, or calls a client brand API.","routing.clientClash":"Clash","routing.clientShadowrocket":"Shadowrocket","routing.clientConfigured":"{client} saved: {endpoint}","routing.clientUnconfigured":"{client} not configured","routing.clientInvalid":"The saved proxy-software value is not recognized; software switching is disabled while the port, protocol and route targets stay editable.","routing.oldHostBrand":"The running plugin host does not expose the software-memory fields yet; choosing or switching software cannot be saved and is never shown as saved. The port, protocol and route targets stay editable and apply after a newer host loads.","routing.currentSummary":"In effect: {client} · {endpoint}","routing.draftTitle":"Configure {client}","routing.draftHelp":"This software has no saved endpoint yet. Enter the port it actually listens on and choose its protocol, then save. The draft is not probed, and no brand-default port or protocol is assumed.","routing.draftPort":"Port","routing.draftProtocol":"Protocol","routing.draftInvalidPort":"Enter an integer port from 1 to 65535.","routing.draftProtocolRequired":"Choose the protocol this software actually serves.","routing.draftSave":"Save and switch","routing.draftSaving":"Saving…","routing.draftCancel":"Cancel","routing.switchPending":"Switching to {client} and waiting for the host to confirm; the previous configuration stays on screen until then.","routing.switchConfirmed":"Switched to {client}; the effective endpoint is {endpoint}.","routing.switchUnconfirmed":"The switch was committed but the host has not confirmed it; the previous configuration stays on screen and this is not shown as switched. Refresh later to confirm; the plugin does not retry blindly.","routing.switchFailed":"The switch did not complete: the host refused it or a conflict occurred, and no part was written. Check the latest configuration and try again.","routing.editPending":"Saving; waiting for the host to confirm…","routing.editConfirmed":"Saved and confirmed.","routing.editUnconfirmed":"The write was committed but the host has not confirmed it; the effective summary still shows the host value and this is not shown as saved.","routing.saveRefused":"The save did not complete: the host refused it or a conflict occurred.","routing.configLoading":"Loading the current configuration…","routing.configLoadFailed":"Could not load the current configuration; no default port or protocol is shown in place of the loaded value.","routing.configRefreshFailed":"Refreshing the current configuration failed; the values below are the last ones the host confirmed.","routing.configChanged":"The configuration changed elsewhere; reload it and try again.","routing.invalidPort":"The port must be an integer from 1 to 65535; an invalid value is never saved and never writes an earlier legal intermediate.","routing.proxyPort":"Proxy port","routing.proxyProtocol":"Proxy protocol","routing.proxyProtocolHelp":"Any local client (for example Clash or Shadowrocket) that exposes an HTTP or SOCKS5 endpoint works; use the protocol it actually serves and the port above. This sets only the local endpoint — it calls no client brand API and presets no brand port. A TUN interface is not a proxy protocol.","routing.proxyProvidersHelp":"The local proxy only contacts 127.0.0.1; port changes apply to later requests. Reaching a Windows client from WSL through localhost is a system networking precondition; the plugin neither detects nor sets it up. The check only confirms a TCP listener on the port above — it does not identify the protocol or prove that proxied traffic leaves the machine.","routing.providers":"Route targets","routing.routedSummary":"{active} / {total} selected","routing.routedNote":"Selected route targets reach the network via {endpoint}.","routing.loadingProviders":"Loading providers…","routing.providerLoadError":"Could not load providers: {message}","routing.providerTimeout":"Loading providers timed out.","routing.ensureProvider":"Detect and create provider","routing.ensuringProvider":"Detecting and creating…","routing.ensureCreated":"Created the route target {name}.","routing.ensureExisting":"The route target {name} already exists.","routing.ensureError":"Detection and creation failed: {message}","routing.ensureTimeout":"Detection and creation timed out; the result may already have been written. Refresh to confirm; the plugin does not roll back.","routing.ensureHelp":"Only detects and creates the route target; this does not mean a profile is configured or an account is logged in. The host result is authoritative.","routing.testProxy":"Check port","routing.testingProxy":"Checking…","routing.proxyListening":"A TCP listener answers on the configured port ({latency} ms); this does not prove a protocol handshake or outbound access.","routing.proxyUnavailable":"Could not connect to the configured port ({error}).","routing.proxyTimeout":"Checking the port timed out; try again.","routing.lastProbe":"Last checked: {time}","routing.retry":"Retry","routing.saveError":"Save failed: {message}","routing.readOnly":"The configuration is read-only; changes are not saved.","routing.configUnavailable":"The settings service is not available yet.","routing.hostRestart":"The plugin host is outdated: restart DSH to apply this; the notice disappears after the restart.","codex.nav":"Open-AI-Codex","codex.card":"Open-AI-Codex","codex.tabAccount":"Account","codex.tabSearch":"Web search","codex.tabRequests":"Requests","codex.tabModels":"Models","codex.saveError":"Save failed: {message}","codex.search.loginHint":"Web search needs a usable current account.","codex.gate.loading":"Reading account state…","codex.gate.unknown":"Account state is unavailable right now.","codex.gate.noAccount":"No saved Open-AI-Codex account yet; log in first.","codex.gate.notEnabled":"The account is saved but not enabled.","codex.gate.expired":"The login expired; log in again.","codex.gate.goAccount":"Go to Account","codex.action.retry":"Retry","codex.action.reload":"Reload","codex.action.cancel":"Cancel","codex.error.selectionRejected":"The model directory did not confirm this choice.","codex.currentAccount":"Current account: {label}","codex.currentAccountExpired":" (login expired)","codex.statusLoading":"Reading login state…","codex.statusError":"Could not read login state: {message}","codex.searchStatusHostRestart":"The plugin host is outdated: restart DSH to apply the new settings; this notice disappears after the restart.","codex.searchStatusTimeout":"Reading search backend status timed out.","codex.accountsLoading":"Loading accounts…","codex.accountsError":"Could not load the account list: {message}","codex.accountsHostRestart":"The plugin host is outdated: the account list may be incomplete; restart DSH and retry.","codex.accountsTimeout":"Loading the account list timed out; try again.","codex.account":"Open-AI-Codex account","codex.accountEmpty":"No saved Open-AI-Codex accounts yet.","codex.accountAdd":"Add account","codex.accountAddHelp":"Adding saves the account to the list only and never switches; use \"Set as current\" in the list to enable it.","codex.accountLoginAndUse":"Log in and set as current","codex.accountSavedNotEnabled":"Saved, but not enabled.","codex.accountSavedPick":"Use \"Set as current\" in the list below to enable it.","codex.accountCurrent":"Current","codex.accountExpired":"Login expired","codex.accountUse":"Set as current","codex.accountUseAria":"Set {label} as the current account","codex.accountRelogin":"Re-login","codex.accountReloginAria":"Log in again as {label}","codex.accountRemove":"Remove","codex.accountRemoveAria":"Remove {label}","codex.accountRemoveConfirm":"Removing deletes the login and saved information for this account, note included.","codex.accountRemoveConfirmGo":"Confirm removal","codex.accountNoteAria":"Edit the note for {label}","codex.accountNotePlaceholder":"Add a note; leave empty to clear","codex.accountNoteTooLong":"A note is limited to {max} characters.","codex.accountNoteError":"Could not save the note: {message}","codex.accountNoteSaving":"Saving the note…","codex.accountNoteConfirming":"The note write is still being confirmed; the saved result will sync shortly.","codex.accountNoteNotConfirmed":"The host has not confirmed this note; you can retry.","codex.mutationSaving":"Saving account changes…","codex.mutationConfirming":"Confirming the account change with host state…","codex.mutationNotConfirmed":"The host did not confirm the account change.","codex.accountSwitchError":"Could not switch accounts: {message}","codex.accountRemoveError":"Could not remove the account: {message}","codex.accountLogout":"Log out","codex.accountLogoutAria":"Log out of {label}","codex.accountLogoutConfirm":"Logging out clears the current Open-AI-Codex grant; the account stays in the list and can be set as current again.","codex.accountLogoutConfirmGo":"Confirm logout","codex.accountLogoutError":"Could not log out: {message}","codex.loginStarting":"Starting the login flow…","codex.loginOpened":"The login page opened in a new tab; if it did not, open the link to complete login:","codex.loginCancel":"Cancel login","codex.loginCancelled":"Login cancelled.","codex.loginFailed":"Login did not complete; try again.","codex.loginError":"Could not log in: {message}","codex.loginTimeout":"the request timed out","codex.search.toggle":"Web search backend","codex.search.help":"When on, web_search goes through Open-AI-Codex; when off, the provider captured before this plugin registered is restored (DeepSeek official search when no baseline exists). Changes apply immediately.","codex.search.disable":"Turn off Open-AI-Codex search","codex.search.model":"Search model","codex.search.modelAuto":"Auto (follow the current model)","codex.search.modelAria":"Search model, current {model}","codex.search.modelEmpty":"No models are saved for this route: fetch and select them on the Models tab; the search model choices appear here after they are saved.","codex.search.modelLoadError":"Could not load the search model list: {message}","codex.search.modelLoadErrorUnknown":"unknown error","codex.search.modelLoadTimeout":"Timed out while loading the search model catalog; try again.","codex.search.modelHelp":"By default, search follows the model DSH currently selects.","codex.search.reasoning":"Reasoning effort","codex.search.reasoningHelp":"Web search only and independent of the Requests tab; Default uses the search model default. Higher levels are slower and cost more tokens.","codex.search.reasoningEmpty":"Level info unavailable","codex.search.contextSize":"Retrieval depth","codex.search.contextSizeHelp":"Deeper retrieval covers more sources, but is slower, uses more content tokens, and costs more; High is the default, and simple lookups can drop to Medium/Low.","codex.search.verbosity":"Output verbosity","codex.search.verbosityHelp":"Low: shorter answers, cheaper and faster. High: more detailed answers.","codex.search.timeout":"Search timeout","codex.search.timeoutHelp":"Maximum wait time for a single search, in seconds.","codex.search.timeoutInvalid":"Search timeout must be a whole number of seconds from {min} to {max}.","codex.requests.loginHint":"Request preferences need a usable current account.","codex.fast":"Fast mode (policy on only)","codex.fastOn":"On","codex.fastOff":"Standard","codex.fastHelp":"When the deployment sets serviceTierPolicy.mode to on, every Open-AI-Codex request is sent as Fast; with Fast off they are sent as Standard and the host's Standard wire enforcement still applies (this promises no network acceleration). With mode off, this preference has no effect and target requests are not guarded by this policy. Other providers are unaffected.","codex.reasoning.title":"Default reasoning effort","codex.reasoning.help":"Sets the default reasoning effort for Open-AI-Codex requests; a request-level reasoningEffort overrides it.","codex.reasoning.profileMissing":"The Open-AI-Codex profile has not been created yet. Use “Detect and create provider” on the Network routing page first; this control never creates it implicitly.","codex.reasoning.auto":"Follow model defaults","codex.reasoning.saving":"Saving the reasoning level; you can still choose another level.","codex.reasoning.error":"Could not read the default reasoning effort: {message}","codex.reasoning.catalogFailure":"The model catalog failed to load, so the available levels are unknown: {message}.","codex.reasoning.catalogFailureUnknown":"unknown error","codex.reasoning.applyError":"Could not set the default reasoning effort: {message}","codex.reasoning.conflict":"The default reasoning effort changed elsewhere; the current value was re-read. Review it before switching.","codex.reasoning.confirm":"{count} models do not support {level}: {models}","codex.reasoning.confirmGo":"Switch anyway","codex.reasoning.unsupported":"{count} models do not support {level}: {models}. Requests without an explicit reasoning effort may fail.","codex.reasoning.recommend":"Highest level every model supports: {level}","codex.sync.title":"Account model catalog","codex.sync.help":"Read the account models and compare them with the local configuration; only checked rows are written.","codex.sync.loginHint":"Log in to Open-AI-Codex to fetch the account model catalog.","codex.sync.fetch":"Fetch models","codex.sync.fetching":"Fetching…","codex.sync.fetchedAt":"Fetched at {time}","codex.sync.version":"Open-AI-Codex catalog version {version}","codex.sync.error":"Could not fetch the model catalog: {message}","codex.sync.timeout":"The request timed out; try again.","codex.sync.hostRestart":"The plugin host is outdated: restart DSH to use the account model catalog; this notice disappears after the restart.","codex.sync.empty":"The account catalog has no models.","codex.sync.filterAll":"All","codex.sync.selectNew":"Select all new","codex.sync.stateNew":"New","codex.sync.stateIncomplete":"Completable","codex.sync.stateExisting":"Existing","codex.sync.stateOverlap":"Confirm update","codex.sync.stateBlocked":"Not importable","codex.sync.incompleteHint":"Your configuration does not fully describe this model. Syncing fills the missing fields from the account catalog; fields you wrote yourself stay unchanged.","codex.sync.incompleteBare":"Your configuration only lists the model id; the rest comes from the built-in catalog. Syncing writes the account catalog details, the same as writing the full entry by hand.","codex.sync.missingFields":"Missing fields","codex.sync.fieldName":"Name","codex.sync.fieldContextWindow":"Context window","codex.sync.warnUnmappedLevel":"Reasoning level \"{level}\" is not mapped and is ignored","codex.sync.warningsLabel":"Ignored capabilities","codex.sync.sameName":"Same name, different ID: {ids}","codex.sync.modalities":"Input modalities","codex.sync.efforts":"Reasoning efforts","codex.sync.defaultEffort":"Default effort","codex.sync.expandDiff":"View differences","codex.sync.expandDetails":"View details","codex.sync.listHint":"New models sync directly; models that differ from your local configuration need per-row confirmation, and unconfirmed ones are never overwritten.","codex.sync.collapse":"Collapse","codex.sync.expandList":"Show list","codex.sync.collapsedSummary":"{total} models · {added} new · {overlap} to confirm","codex.sync.diff":"Configuration differences (local → will be written)","codex.sync.useRemote":"Use account configuration","codex.sync.useRemoteOn":"Account configuration confirmed","codex.sync.keepLocal":"The local configuration stays until confirmed.","codex.sync.blockedReasons":"Not importable because","codex.sync.selection":"{count} selected ({added} new · {completed} completions · {updated} local updates)","codex.sync.apply":"Sync selected models","codex.sync.applying":"Syncing…","codex.sync.applied":"Wrote {count} entries; {total} models in total.","codex.sync.applyError":"Sync failed: {message}","codex.sync.conflict":"The model catalog changed and the sync stopped; fetch it again before retrying.","codex.sync.refetch":"Fetch again","codex.sync.readOnly":"The configuration is read-only; sync results cannot be written.","codex.sync.commitUnknown":"The write is still being confirmed; the saved value will sync automatically.","codex.sync.choiceNotSaved":"A later selection made while awaiting confirmation was not saved. Select it again.","codex.card.authTitle":"OpenAI account (OAuth)","codex.card.statusLoggedIn":"Signed in","codex.card.statusLoggedOut":"Signed out","codex.card.statusLoading":"Reading…","codex.card.statusError":"Read failed","codex.card.authHint":"Sign in, switch, or sign out in Provider Hub → Open-AI-Codex → Account; this card never starts a second sign-in flow.","codex.card.authReadError":"Could not read the account state: {message}","codex.card.unknownError":"Unknown error","codex.card.customTitle":"Custom settings","codex.card.displayName":"Display name","codex.card.displayNamePlaceholder":"Leave empty for the default name","codex.card.displayNameHint":"The display name only changes how this provider is named inside DSH; save an empty value to clear it and restore the default name Open-AI-Codex.","codex.card.cancel":"Cancel","codex.card.save":"Save","codex.card.saving":"Saving…","codex.card.saveError":"Save failed: {message}","codex.card.saveUnknown":"The host did not confirm this write.","codex.card.readOnly":"The configuration is read-only; neither the display name nor the model directory can be changed.","codex.card.loading":"Reading settings…","codex.card.settingsUnavailable":"Could not read settings ({message}); saving and model actions are unavailable.","codex.card.settingsRefreshFailed":"Settings refresh failed ({message}); showing the last successfully read values.","codex.card.modelsUnavailable":"Settings are unavailable; the model directory cannot be shown.","codex.card.apiAddress":"API address","codex.card.apiAddressFallback":"Uses the built-in default address","codex.card.apiProtocol":"API protocol","codex.card.apiProtocolValue":"OpenAI Responses (Codex OAuth)","codex.card.modelsTitle":"Model directory","codex.card.modelsHint":"Every row here is an explicitly saved model, in served order. Fetch models only merges missing importable ids from the account catalog into this draft; a local row with the same id always wins and nothing is written before Save.","codex.card.modelsEmpty":"No models yet; after saving this provider serves no models.","codex.card.modelsCount":"{count} models","codex.card.addModel":"Add model","codex.card.modelId":"Model ID","codex.card.modelIdPlaceholder":"e.g. gpt-5-codex","codex.card.modelName":"Display name","codex.card.modelNamePlaceholder":"Leave empty to use the host/default model name (falling back to the model ID)","codex.card.contextWindow":"Context window","codex.card.maxTokens":"Max output tokens","codex.card.capacityPlaceholder":"Integer or 256K / 1M","codex.card.inputType":"Input types","codex.card.inputText":"Text","codex.card.inputImage":"Image","codex.card.inheritedInput":"Shows the inherited value when not set explicitly; the host may prefer its built-in catalog ({value})","codex.card.rowExpand":"Expand model details","codex.card.rowCollapse":"Collapse model details","codex.card.rowDelete":"Delete model {id}","codex.card.rowDrag":"Drag to reorder, or use the up/down arrow keys","codex.card.fetchNotice":"Merged the account catalog: {added} added, {kept} kept, {blocked} blocked, {differing} metadata differences.","codex.card.fetchSkipped":"{count} more importable models were left out by the 128-row limit.","codex.card.fetchAccountChanged":"The account changed, so this fetch result was discarded: no rows were merged and nothing was written.","codex.card.fetchedRowsRemoved":"The account changed, signed out, or is no longer reported as current, so the rows added by Fetch models were removed from this draft; manually added and local rows are unchanged.","codex.card.accountMissing":"The host reports no current account, so the account catalog cannot be fetched; local model rows can still be edited and saved.","codex.card.catalogHint":"Account catalog differs (never written): {details}","codex.card.profileMissing":"The Open-AI-Codex profile no longer exists, so nothing can be saved; recreate it in the provider settings.","codex.card.modelsUnsupported":"The saved models value is not an array. A non-array value cannot be written safely: the host rejects most non-array values but coerces null to []; the card still conservatively treats ANY non-array (including null) as a whole-card read-only state, so the display name, Save, add/delete and Fetch models are all unavailable, and the plugin never creates or rewrites the profile. Fix the stored configuration by hand (make models an array), then reopen the card.","codex.card.tooManyModels":"The model list has {count} rows, exceeding the {max}-row limit; only the first {max} rows are shown read-only. The display name can still be saved on its own.","codex.card.staleDraft":"The configuration changed elsewhere and this draft is stale; close the card, reopen it, and save again.","codex.card.settingsWriteUnavailable":"Settings are no longer writable; this save was not submitted.","codex.card.modelIdRequired":"A model ID is required.","codex.card.modelIdWhitespace":"A model ID cannot contain whitespace.","codex.card.modelIdDuplicate":"The model ID \"{id}\" is duplicated.","codex.card.modelNameInvalid":"A model display name must be a string.","codex.card.contextWindowInvalid":"The context window must be a positive integer or a value like 256K / 1M; a stored non-number value must be retyped here before saving.","codex.card.maxTokensInvalid":"Max output tokens must be a positive integer or a value like 256K / 1M; a stored non-number value must be retyped here before saving.","codex.card.inputInvalid":"Input types may only contain text or image, without duplicates.","codex.card.warnZeroModels":"After saving, this provider will serve 0 models; the DSH model picker will not show it.","codex.card.warnSearchModel":"Web search currently uses the removed model \"{model}\"; after saving, the search model falls back to auto while other models remain, and search fails before sending a request if the directory becomes empty. Search settings are not rewritten.","codex.card.warnDefaultModel":"The deployment default model \"{model}\" will be removed; new sessions must reselect a model.","codex.card.warnDefaultUnread":"The deployment default model could not be checked against the removed models.","codex.card.warnSessions":"The plugin cannot read or rewrite existing session model selections; those sessions must reselect a model themselves.","codex.picker.triggerFallback":"Select model","codex.picker.triggerSelectAria":"Select model","codex.picker.triggerAria":"Select model, current {model}","codex.picker.triggerAriaEffort":"Select model, current {model}, reasoning effort {effort}","codex.picker.menuAria":"Model and reasoning effort","codex.picker.menuModel":"Model","codex.picker.menuEffort":"Effort","codex.picker.effortDefault":"Default","codex.picker.loading":"Refreshing model list…","codex.picker.errorAction":"Model operation failed: {message}","codex.picker.selectionRejected":"The model directory did not confirm this choice.","codex.picker.groupLoadWarning":"{name} failed to load: {message}","codex.picker.emptyModels":"No models available.","codex.picker.emptyEfforts":"This model provides no reasoning effort levels.","skill.nav":"Skills","skill.card":"Skills","skill.tabLinks":"Links","skill.tabSkills":"Skills","skill.tabNative":"Native skills","skill.tabSync":"Three-way sync","skill.refresh":"Refresh","skill.refreshing":"Refreshing…","skill.read":"Read","skill.reading":"Reading…","skill.cancel":"Cancel","skill.retry":"Retry","skill.clearSelection":"Clear selection","skill.selectAll":"Select all","skill.expand":"Details","skill.collapse":"Collapse","skill.descriptionExpand":"Expand","skill.descriptionCollapse":"Collapse","skill.remove":"Delete","skill.repair":"Repair","skill.adopt":"Manage","skill.repoint":"Repoint","skill.repointConfirm":"Repointing makes the link inside the skill root point at the new target: {target}.","skill.repointConfirmGo":"Repoint it","skill.statusLoading":"Reading the skill root state…","skill.statusError":"Could not read the skill state: {message}","skill.statusTimeout":"Reading the skill state timed out; try again.","skill.statusInvalid":"The skill status response is not usable.","skill.partial":"Incomplete directory: some skill libraries could not be read, so only what was read is shown.","skill.hostRestart":"The plugin host is outdated: restart DSH to manage skills; this notice disappears after the restart.","skill.applying":"Applying the link changes…","skill.applied":"The link changes were applied.","skill.applyPartial":"Some link changes were not applied. Refresh and retry.","skill.applyError":"Could not apply the link changes: {message}","skill.root":"Link location","skill.rootUnknown":"Not resolved","skill.rootCustom":"Custom","skill.rootAutoBadge":"Automatic","skill.rootSource.env":"Source: DSH_HOME","skill.rootSource.default":"Source: default ~/.dsh","skill.rootSource.setting":"Source: plugin override","skill.rootSource.unknown":"Source: unknown","skill.cwd":"Host working directory: ","skill.platformWsl":"WSL","skill.rootState.missing":"Not created yet","skill.rootState.directory":"Folder","skill.rootState.symlink":"Whole-folder link","skill.rootState.other":"Unrecognized","skill.rootOverride":"Custom link location","skill.rootSave":"Save","skill.rootAuto":"Restore auto","skill.rootHelp":"Only the location for links managed by this plugin, not the native skill library; it does not change the native catalog. Leave empty for the default location. The folder is created only when the first link is made.","skill.rootSaved":"The skill root was updated.","skill.rootError":"Could not save the skill root: {message}","skill.rootReadOnly":"The configuration is read-only; the skill root cannot be changed.","skill.rootNotAccepted":"The host did not accept the skill root write; the previous value stays.","skill.readOnly":"The configuration is read-only: the root override, groups and permission overrides cannot be changed, while link actions are still submitted to the host.","skill.configLoading":"Reading the configuration…","skill.migrateBanner":"Detected that {path} is a whole-folder link → {target}","skill.migrateGo":"Take over and migrate","skill.migrateConfirm":"This takes over the skill root and creates {count} links.","skill.migrateNoBackup":"No backup is produced at any point: library folders stay untouched, and the old whole-folder link is removed and rebuilt entry by entry.","skill.migrateConfirmGo":"Take over","skill.migrateSkipped":"Skipped {name}: {reason}","skill.migrateDone":"Took over the skill root and migrated {count} skills.","skill.migrateError":"Could not take over the skill root: {message}","skill.readFolder":"Read a folder","skill.readFolderPlaceholder":"Path of a folder that holds skills","skill.readFolderHelp":"Reads only the first-level sub-folders of that folder: name, description, and whether each is already linked. No body is expanded and nothing is written.","skill.scanError":"Could not read the folder: {message}","skill.scanTimeout":"Reading the folder timed out; try again.","skill.scanInvalid":"The folder read response is not usable.","skill.scanMissing":"Path does not exist: {path}","skill.scanUnreadable":"Path cannot be read: {path}","skill.scanEmpty":"The first level of this folder holds no usable skills.","skill.scanFound":"{path}: {count} skills found","skill.scanLinked":"Linked","skill.scanConflict":"The name collides with a registered skill; DSH loads only one of them","skill.scanInvalidEntry":"No usable SKILL.md","skill.scanSkippedTitle":"Skipped","skill.scanTruncated":"The folder holds too much; only the first part is shown.","skill.linkGo":"Create links ({count})","skill.unlinkGo":"Unlink ({count})","skill.skip.hidden-entry":"hidden entry (starts with .)","skill.skip.flat-markdown":"a .md file at the first level; this domain links folders only","skill.skip.not-a-directory":"not a folder","skill.skip.missing-skill-md":"no SKILL.md","skill.skip.unreadable-entry":"unreadable","skill.reason.missing-skill-md":"no SKILL.md","skill.reason.skill-md-unreadable":"SKILL.md is unreadable","skill.reason.frontmatter-too-large":"frontmatter is too large","skill.reason.frontmatter-missing":"frontmatter is missing","skill.reason.frontmatter-invalid":"frontmatter is malformed","skill.reason.frontmatter-unavailable":"frontmatter is unavailable","skill.reason.legacy-invocation-key":"a legacy invocation key is used","skill.reason.name-missing":"the name is missing","skill.reason.name-invalid":"the name is invalid","skill.reason.description-missing":"the description is missing","skill.reason.invocation-invalid":"the invocation flags are invalid","skill.libraries":"Skill libraries","skill.librariesEmpty":"No skill library is registered yet; read a folder and create links, and it will be listed here.","skill.libraryStats":"{skills} skills · {links} linked","skill.libraryMissing":"The library folder does not exist.","skill.libraryUnreadable":"The library folder cannot be read.","skill.libraryError":"Scan error: {message}","skill.libraryTruncated":"The library holds too much; only the first part is shown.","skill.reloadLibrary":"Read again","skill.unlinkLibrary":"Unlink the whole library","skill.unlinkLibraryConfirm":"This removes {count} links of this library; the registry entries stay and can be linked again, and the library folder is never modified.","skill.unlinkLibraryConfirmGo":"Remove them","skill.filter":"Filter","skill.permission.title":"Permission override","skill.permission.follow":"Follow file","skill.permission.overridden":"Overridden","skill.permission.unsupported":"Not supported on this host","skill.permission.globalOnly":"Effective in CLI/headless only","skill.permission.writeRefused":"The permission override write was refused","skill.filterState":"Switch","skill.filterModel":"Model invocation","skill.filterUser":"User invocation","skill.filter.all":"All","skill.filter.on":"On","skill.filter.off":"Off","skill.filter.conflict":"Conflicts","skill.filter.allow":"Allowed","skill.filter.deny":"Blocked","skill.rowCount":"Showing {count} of {total} skills","skill.rowsEmpty":"No skill is in the skill root yet; read a folder on the \"Links\" page and create links first.","skill.rowState.on":"On","skill.rowState.off":"Off","skill.rowState.missing":"Link missing","skill.rowState.unmanagedLink":"Unmanaged link","skill.rowState.unmanagedDir":"Unmanaged folder","skill.rowState.invalid":"Unrecognized","skill.rowState.conflict":"Name conflict","skill.hint.unmanagedDir":"This plugin does not manage this plain folder or change its contents.","skill.hint.invalid":"This entry has no usable SKILL.md, so DSH does not load it.","skill.hint.missing":"The registry entry is still here, but its link in the skill root is gone; use Repair to rebuild it.","skill.hint.root-is-symlink":"The whole skill root is a folder link: only \"Take over and migrate\" turns it into a skill root this plugin manages.","skill.source":"· {library}","skill.nameConflict":"DSH loads only one of them.","skill.nameConflictBadge":"Name conflict","skill.targetChanged":"Target changed: {from} → {to}","skill.invalidReason":"Reason: {reason}","skill.selectRow":"Select {name}","skill.toggleAria":"{name}: currently {state}","skill.selected":"{count} selected","skill.deleteSelected":"Delete selected ({count})","skill.deleteConfirm":"Deleting removes only the link and the registry entry inside the DSH skill root; the library folder is never touched.","skill.deleteBulkConfirm":"This deletes the {count} selected skills.","skill.deleteConfirmGo":"Delete","skill.bulk.permissions":"Bulk permissions","skill.bulk.noChange":"No change","skill.bulk.enable":"Turn on","skill.bulk.disable":"Turn off","skill.bulk.apply":"Apply","skill.bulk.applyHint":"Choose at least one dimension to change before applying.","skill.bulk.confirm":"Apply these permission overrides to the {count} selected skills?","skill.bulk.confirmModel":"Model invocation: {verdict}","skill.bulk.confirmUser":"User invocation: {verdict}","skill.bulk.confirmGo":"Apply","skill.bulk.applied":"Updated permission overrides for {count} skills.","skill.bulk.permissionSkipped":"Skipped {count} skills whose library path cannot be resolved: {names}","skill.skillsHelp":"Manage the skills this plugin registers: switch each row, batch by group, and set invocation overrides; library files and link targets are not changed here.","skill.group.create":"New group","skill.group.namePlaceholder":"Group name","skill.group.createHint":"Groups only change this page: how rows are listed and batched. No link is changed. Enter to submit, Esc to cancel.","skill.group.rename":"Rename","skill.group.renameHint":"Renaming changes the label only; members and links stay as they are. Enter to submit, Esc to cancel.","skill.group.dissolve":"Dissolve group","skill.group.dissolveConfirm":"Dissolving returns its members to ungrouped; links and registry entries are unaffected.","skill.group.addMembers":"Add members","skill.group.memberOf":"Currently in {name}","skill.group.remove":"Remove from group","skill.group.empty":"Empty group","skill.group.noMatch":"No matches in this group","skill.group.count":"{on}/{total} on","skill.group.toggleSkipped":"Skipped {count} skills that cannot be switched: {names}","skill.group.ungrouped":"Ungrouped","skill.group.confirm":"OK","skill.group.cancel":"Cancel","skill.group.nameEmpty":"A group name cannot be empty.","skill.group.nameTooLong":"A group name is limited to {max} characters.","skill.group.nameDuplicate":"A group with this name already exists.","skill.group.limitReached":"The group limit has been reached.","skill.group.memberLimit":"A group is limited to {max} members.","skill.group.writeRefused":"The host did not accept the group change; nothing was modified.","skill.nativePreset":"View preset","skill.nativeDefaultPreset":"DSH default preset","skill.nativeGlobalCatalog":"Host global skill catalog (no preset in use)","skill.nativeBrokenPreset":"Unavailable preset","skill.nativeViewingPreset":"Viewing: {name} ({id})","skill.nativeHelp":"Read-only view of skills actually supplied by DSH; viewing does not switch the session or default preset, and listed does not mean loaded. Links managed by this plugin are shown under Links / Skills instead. This view does not scan project roots from the host launch directory or search extra external folders.","skill.nativeStatusLoading":"Reading the native skill catalog…","skill.nativeStatusError":"Could not read the native skill catalog: {message}","skill.nativeStatusTimeout":"Reading the native skill catalog timed out; try again.","skill.nativeUpgrade":"The host does not support this skill catalog API or returned an unrecognized response. Upgrade the plugin host, restart DSH, then reload this page; an old folder scan is not a complete skill catalog.","skill.nativeFallback":"Fallback view: filesystem results from the default user skill directory only, not a complete preset, project or provider catalog.","skill.nativeCatalogError":"Catalog notice: {message}","skill.nativeEmpty":"No usable skills were returned for this view.","skill.nativeFound":"Showing {count} skills","skill.nativePartial":"Incomplete catalog: only returned entries are shown. Refresh to retry.","skill.nativeTruncated":"Too many entries; only the first {count} are shown.","skill.nativeSources":"Skill sources and providers","skill.nativeSource":"Source: {source}","skill.nativeProvider":"Provider: {provider}","skill.nativeUnknown":"Not provided","skill.nativeProviderSkill":"Provider skill","skill.nativeLocalSkill":"Local skill","skill.nativeOtherSkill":"Other source","skill.nativeProvided":"Provided by provider (no filesystem path)","skill.nativeKind.directory":"Skill folder","skill.nativeKind.flat":"Flat .md","skill.nativeKind.provider":"Provider entry","skill.nativeDetailError":"Could not read the skill body: {message}","skill.nativeDetailInvalid":"The skill detail is unrecognized or has a different identity; refresh and retry.","skill.syncHelp":"Mirrors the skills switched on in Skills into the native Claude Code / Codex skill folders with directory links; it copies nothing and never overwrites existing entries. It mirrors the skill itself: model/user invocation settings changed only in DSH stay in DSH, such skills are marked, and the clients still follow the skill file.","skill.syncInvocationOverride":"DSH override","skill.syncInvocationOverrideHelp":"This skill's model/user invocation was set in DSH only; the skill file is untouched, so Claude/Codex still follow the file's own rules.","skill.syncPromptCopy":"Copy lookup prompt","skill.syncPromptShow":"Show prompt","skill.syncPromptHide":"Hide prompt","skill.syncPromptHelp":"Copy this to an agent and ask it to read only, so it finds the two folders the installed clients actually read. Paste the whole reply into either path field and both cards fill from the last two lines; a folder the agent could not confirm stays empty with a hint.","skill.syncPromptLabel":"Prompt for finding the native skill folders","skill.syncPromptCopied":"Copied.","skill.syncPromptCopyFailed":"Copy failed; select the text below and copy it manually.","skill.syncTargetClaude":"Claude Code","skill.syncTargetCodex":"Codex","skill.syncTargetPath":"Native skill folder","skill.syncPlaceholderClaude":"~/.claude/skills","skill.syncPlaceholderCodex":"~/.codex/skills","skill.syncCodexHint":"Newer Codex builds may also read ~/.agents/skills; use the folder the agent found.","skill.syncSave":"Save and sync","skill.syncSaving":"Saving…","skill.syncClear":"Clear","skill.syncClearConfirm":"Clearing the path only removes links this plugin created in that folder; nothing else is deleted or changed.","skill.syncClearConfirmGo":"Clear path","skill.syncRun":"Sync now","skill.syncRunning":"Syncing…","skill.syncExpand":"Expand","skill.syncCollapse":"Collapse","skill.syncReadOnly":"Settings are read-only: the path cannot be saved or cleared, while sync still works.","skill.syncUnsetHelp":"Enter this client’s native skill folder first; saving mirrors the switched-on skills automatically.","skill.syncSummary":"Linked {linked} / expected {desired} · conflicts {conflict}","skill.syncEmptyNoSkills":"No skill is switched on in Skills yet.","skill.syncLoading":"Reading the three-way sync state…","skill.syncReadError":"Could not read the three-way sync state: {message}","skill.syncTimeout":"Reading the three-way sync state timed out; try again.","skill.syncInvalid":"The three-way sync state returned an unrecognized response.","skill.syncSetError":"Could not save the skill folder: {message}","skill.syncRunError":"Sync failed: {message}","skill.syncSaved":"Skill folder saved and synced.","skill.syncSynced":"Synced.","skill.syncPromptUnknown":"The agent did not confirm the {target} path; fill it in or check it manually.","skill.syncDshMissing":"The DSH link is missing; the external link may still work, and Skills can repair it.","skill.syncSourceMissing":"Source skill folder is missing","skill.syncSourceInvalid":"The source skill is invalid, so DSH does not load it.","skill.syncState.unset":"No folder set","skill.syncState.missing":"Folder does not exist","skill.syncState.directory":"Folder ready","skill.syncState.symlink":"Whole-folder link","skill.syncState.other":"Unusable path","skill.syncHint.parentMissing":"The parent folder does not exist; create it or check the path.","skill.syncHint.rootSymlink":"This is a whole-folder link; links written through it may not be recognized by the client.","skill.syncError.isSkillRoot":"This folder cannot be the plugin’s own skill root or inside it.","skill.syncError.isHome":"This folder cannot be the home directory.","skill.syncError.isRoot":"This folder cannot be a filesystem root.","skill.syncError.notAbsolute":"Enter an absolute path or a path starting with ~.","skill.syncError.unsupported":"This path spelling is not supported.","skill.syncError.notDirectory":"This path is not a folder.","skill.syncError.unreadable":"This folder cannot be read.","skill.syncError.missing":"The folder does not exist.","skill.syncError.generic":"Unusable path: {error}","skill.syncLinked":"Linked","skill.syncNotLinked":"Not linked","skill.syncBroken":"Broken link","skill.syncConflictLink":"Name taken by another link","skill.syncConflictDir":"Name taken by a folder","skill.syncConflictFile":"Name taken by a file","skill.syncConflictOther":"Name taken by another entry","skill.syncStale":"Off in DSH but still linked ({count})","skill.syncUnavailable":"Source unavailable but still referenced ({count})","skill.syncOtherEntries":"Other skills ({count})","skill.syncOtherHelp":"These entries were not created by this plugin and are read-only.","skill.syncTruncated":"Too many target entries; only the first {count} were checked.","skill.syncKind.symlink":"Link","skill.syncKind.directory":"Folder","skill.syncKind.file":"File","skill.syncKind.other":"Other","skill.tabCallable":"Callable","skill.callableTitle":"Callable skills","skill.callableHelp":"Row-first: the registered links from every managed library decide, and the selected preset catalog only adds entries no row covers; model invocation also depends on the skill tool being visible; closed links are not in the callable list and are collected under \"Not callable / off\" below.","skill.callableSummary":"Callable {callable} · Model {model} · User {user}","skill.callableFilterAll":"All","skill.callableFilterBoth":"Both","skill.callableFilterModel":"Model only","skill.callableFilterUser":"User only","skill.callableEmpty":"No skill is currently callable.","skill.callableNoMatch":"No callable skill matches the current channel filter.","skill.callableManaged":"Enabled","skill.callableUnmanaged":"Unmanaged","skill.callableDisabled":"Off or unavailable","skill.callableUnavailable":"Not callable / off ({count})","skill.callableReasonOff":"The link is off.","skill.callableReasonMissing":"The link is missing.","skill.callableReasonInvalid":"The entry is invalid, so DSH does not load it.","skill.callableReasonClosed":"Both the model and user channels are off.","skill.callableReasonUnknown":"The skill does not declare a model or user invocation mode.","skill.channelUnknown":"Invocation unknown","skill.channelModelOn":"Model-invocable","skill.channelModelOff":"Not model-invocable","skill.channelModelUnknown":"Model unknown","skill.channelUserOn":"User-invocable","skill.channelUserOff":"Not user-invocable","skill.channelUserUnknown":"User unknown","skill.detailLoading":"Reading the skill body…","skill.detailEmpty":"No skill body to show.","skill.detailError":"Could not read the skill body: {message}","skill.detailEvicted":"The body is no longer cached.","skill.detailInvalid":"The skill detail response is not usable.","skill.detailWhen":"When to use: ","skill.detailDescription":"Description","skill.detailTruncated":"The body was truncated ({bytes} bytes in total)."}})
16
16
  const { IconCheckOutlineRegular, IconChevronDownOutlineRegular, IconChevronRightOutlineRegular } = primitives
17
17
  const HUB_ICONS = Object.freeze({ IconCheckOutlineRegular, IconChevronDownOutlineRegular, IconChevronRightOutlineRegular })
@@ -34,7 +34,7 @@ window.__ModuleLoader__.load({
34
34
  function hubClientConstantTable() {
35
35
  return Object.freeze({
36
36
  NAMESPACE: 'provider-hub',
37
- CLIENT_ID: 'dsh-provider-hub',
37
+ CLIENT_ID: 'dsh-shuhaicanghe',
38
38
  PACKAGE_NAME: 'dsh-shuhaicanghe',
39
39
  RPC_CARRIER: '/api',
40
40
  RPC_ENDPOINT_PREFIX: 'provider-hub/',
@@ -47,12 +47,12 @@ function hubClientConstantTable() {
47
47
  LOGIN_RPC_TIMEOUT_MESSAGE: 'provider-hub: codex login RPC timed out',
48
48
  // The storage slot is versioned with the payload it holds: a payload whose
49
49
  // `version` is not UI_CACHE_PAYLOAD_VERSION never hydrates.
50
- UI_CACHE_KEY: 'dsh-provider-hub.ui-cache.v3',
50
+ UI_CACHE_KEY: 'dsh-shuhaicanghe.ui-cache.v3',
51
51
  UI_CACHE_PAYLOAD_VERSION: 3,
52
52
  UI_CACHE_LIST_LIMIT: 50,
53
53
  UI_CACHE_TEXT_LIMIT: 200,
54
54
  UI_TIME_LABEL_LIMIT: 8,
55
- STYLE_ELEMENT_ID: 'dsh-provider-hub/ui.css',
55
+ STYLE_ELEMENT_ID: 'dsh-shuhaicanghe/ui.css',
56
56
  MIN_PROXY_PORT: 1,
57
57
  MAX_PROXY_PORT: 65535,
58
58
  DEFAULT_PROXY_PORT: 7897,
@@ -1814,7 +1814,7 @@ function createClientRemotes(ports) {
1814
1814
  // remotes: { listProviders, onAdaptersUpdated },
1815
1815
  // dom: { documentOf, windowOf },
1816
1816
  // shared: { cx, clampPct, groupThousands, formatRemaining, … },
1817
- // host: { namespace: 'provider-hub', clientId: 'dsh-provider-hub' },
1817
+ // host: { namespace: 'provider-hub', clientId: 'dsh-shuhaicanghe' },
1818
1818
  // }
1819
1819
  //
1820
1820
  // Construction is React-free and DOM-free: no localStorage read, no
@@ -19794,7 +19794,7 @@ function createProvidersPage(ports, domains) {
19794
19794
  // inject the frozen service array plus `remote.credentials`, which the
19795
19795
  // usage domain needs for its configured-state projection;
19796
19796
  // apply one locale effect, one style effect (the single refcounted
19797
- // `dsh-provider-hub/ui.css` element), the conversation model picker,
19797
+ // `dsh-shuhaicanghe/ui.css` element), the conversation model picker,
19798
19798
  // ONE `settings.section` registration that mounts the providers
19799
19799
  // page, and the keyed `settings.models.provider-card` card that
19800
19800
  // edits this plugin's own `open-ai-codex` profile inside the host's
@@ -9,12 +9,11 @@
9
9
 
10
10
  ## 1. Identity — one name everywhere
11
11
 
12
- The plugin is `provider-hub` everywhere except the npm package name; every literal below is the only value.
12
+ The plugin is `provider-hub` everywhere except the npm package name and the browser identifiers DSH derives from it; every literal below is the only value.
13
13
 
14
14
  | Axis | Value |
15
15
  | --- | --- |
16
- | npm package / directory / `cordis.patch.yml` bundle `name` | `dsh-shuhaicanghe` |
17
- | Browser ModuleLoader id (client id) | `dsh-provider-hub` |
16
+ | npm package / directory / `cordis.patch.yml` bundle `name` / browser ModuleLoader id (client id; DSH requires it to equal the package name) | `dsh-shuhaicanghe` |
18
17
  | Host export `name`, settings namespace, RPC prefix, vault scope, locale namespace, settings-section id | `provider-hub` |
19
18
  | RPC endpoint URL | `/api/provider-hub/<endpoint>` |
20
19
  | RPC error codes | `provider-hub/<endpoint>-failed`, `provider-hub/unknown-endpoint`, `provider-hub/invalid-response`, `provider-hub/login-rpc-timeout`, `provider-hub/rpc-timeout`, `gateway/bad-request` |
@@ -28,10 +27,10 @@ The plugin is `provider-hub` everywhere except the npm package name; every liter
28
27
  | Retired native credential reference (never written) | `CODEX_OAUTH_TOKEN` |
29
28
  | Retired native profile sentinel display name | `Open-AI-Codex` |
30
29
  | Outbound `user-agent` for our own requests | `dsh-provider-hub` |
31
- | Browser `<style>` element id | `dsh-provider-hub/ui.css` |
32
- | Browser `<style>` element's `data-plugin` value (`dataset.plugin`) | `dsh-provider-hub` |
33
- | Browser `<style>` element's `data-plugin-css` value (`dataset.pluginCss`) | `dsh-provider-hub/ui.css` |
34
- | Browser UI cache key | `dsh-provider-hub.ui-cache.v3` |
30
+ | Browser `<style>` element id | `dsh-shuhaicanghe/ui.css` |
31
+ | Browser `<style>` element's `data-plugin` value (`dataset.plugin`) | `dsh-shuhaicanghe` |
32
+ | Browser `<style>` element's `data-plugin-css` value (`dataset.pluginCss`) | `dsh-shuhaicanghe/ui.css` |
33
+ | Browser UI cache key | `dsh-shuhaicanghe.ui-cache.v3` |
35
34
  | Host effect labels, log prefixes, error prefixes | `provider-hub...`, `provider-hub: ` |
36
35
  | Symbol descriptions | `provider-hub.*` |
37
36
  | Codex login intent / transaction intent schema ids | `provider-hub-codex-login-intent-v1`, `provider-hub-transaction-intent-v1` |
@@ -1567,7 +1566,7 @@ raw credential reference.
1567
1566
 
1568
1567
  ```js
1569
1568
  window.__ModuleLoader__.load({
1570
- id: 'dsh-provider-hub',
1569
+ id: 'dsh-shuhaicanghe',
1571
1570
  factory: (require) => {
1572
1571
  const module = { exports: {} }
1573
1572
  const exports = module.exports
@@ -1658,7 +1657,7 @@ export function createClientRuntime(ports) // React-free, no DOM at construction
1658
1657
  // remotes: { listProviders, onAdaptersUpdated },
1659
1658
  // dom: { documentOf, windowOf },
1660
1659
  // shared: { cx, clampPct, groupThousands, formatRemaining, … },
1661
- // host: { namespace: 'provider-hub', clientId: 'dsh-provider-hub' },
1660
+ // host: { namespace: 'provider-hub', clientId: 'dsh-shuhaicanghe' },
1662
1661
  // }
1663
1662
  ```
1664
1663
 
@@ -1855,7 +1854,7 @@ module, so the skeleton `src/platform/client/loader.js` attaches both to
1855
1854
  `codex_<page>FacesOf`.
1856
1855
  - Locale keys are prefixed per domain: `usage.*`, `skill.*`, `routing.*`,
1857
1856
  `codex.*`, `shell.*`. Dictionaries stay equal in key count between `zh` and `en`.
1858
- - One `<style>` tag (`dsh-provider-hub/ui.css`), one refcounted installer in
1857
+ - One `<style>` tag (`dsh-shuhaicanghe/ui.css`), one refcounted installer in
1859
1858
  the shell; per-domain CSS arrives as data from the bundle. Class names keep
1860
1859
  the prefix of their own stylesheet (§1): `peg_*` in the shell, skill, routing
1861
1860
  and codex sheets, `puh_*` in the usage sheet.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-shuhaicanghe",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "DSH provider hub: balance and quota monitoring, skill links and permissions, loopback proxy routing, and Open-AI-Codex accounts, request preferences, model sync, retired native profile cleanup, and web search in one plugin",
5
5
  "type": "module",
6
6
  "main": "dist/host.js",
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * dsh-provider-hub — usage page stylesheet (data; the shell installs it into
3
- * the one `dsh-provider-hub/ui.css` <style> tag).
3
+ * the one `dsh-shuhaicanghe/ui.css` <style> tag).
4
4
  *
5
5
  * The visual language is the shared §3.5 one: host `--dsw-*`
6
6
  * tokens only (no literal colours), .5px hairline borders, 10–12px radii,
@@ -16,7 +16,7 @@
16
16
  export function hubClientConstantTable() {
17
17
  return Object.freeze({
18
18
  NAMESPACE: 'provider-hub',
19
- CLIENT_ID: 'dsh-provider-hub',
19
+ CLIENT_ID: 'dsh-shuhaicanghe',
20
20
  PACKAGE_NAME: 'dsh-shuhaicanghe',
21
21
  RPC_CARRIER: '/api',
22
22
  RPC_ENDPOINT_PREFIX: 'provider-hub/',
@@ -29,12 +29,12 @@ export function hubClientConstantTable() {
29
29
  LOGIN_RPC_TIMEOUT_MESSAGE: 'provider-hub: codex login RPC timed out',
30
30
  // The storage slot is versioned with the payload it holds: a payload whose
31
31
  // `version` is not UI_CACHE_PAYLOAD_VERSION never hydrates.
32
- UI_CACHE_KEY: 'dsh-provider-hub.ui-cache.v3',
32
+ UI_CACHE_KEY: 'dsh-shuhaicanghe.ui-cache.v3',
33
33
  UI_CACHE_PAYLOAD_VERSION: 3,
34
34
  UI_CACHE_LIST_LIMIT: 50,
35
35
  UI_CACHE_TEXT_LIMIT: 200,
36
36
  UI_TIME_LABEL_LIMIT: 8,
37
- STYLE_ELEMENT_ID: 'dsh-provider-hub/ui.css',
37
+ STYLE_ELEMENT_ID: 'dsh-shuhaicanghe/ui.css',
38
38
  MIN_PROXY_PORT: 1,
39
39
  MAX_PROXY_PORT: 65535,
40
40
  DEFAULT_PROXY_PORT: 7897,
@@ -1,5 +1,5 @@
1
1
  window.__ModuleLoader__.load({
2
- id: 'dsh-provider-hub',
2
+ id: 'dsh-shuhaicanghe',
3
3
  factory: (require) => {
4
4
  const module = { exports: {} }
5
5
  const exports = module.exports
@@ -18,7 +18,7 @@
18
18
  // remotes: { listProviders, onAdaptersUpdated },
19
19
  // dom: { documentOf, windowOf },
20
20
  // shared: { cx, clampPct, groupThousands, formatRemaining, … },
21
- // host: { namespace: 'provider-hub', clientId: 'dsh-provider-hub' },
21
+ // host: { namespace: 'provider-hub', clientId: 'dsh-shuhaicanghe' },
22
22
  // }
23
23
  //
24
24
  // Construction is React-free and DOM-free: no localStorage read, no
@@ -11,7 +11,7 @@
11
11
  export const PROVIDER_HUB_NAMESPACE = 'provider-hub'
12
12
 
13
13
  /** The browser ModuleLoader id of the single client bundle (`dist/client.js`). */
14
- export const PROVIDER_HUB_CLIENT_ID = 'dsh-provider-hub'
14
+ export const PROVIDER_HUB_CLIENT_ID = 'dsh-shuhaicanghe'
15
15
 
16
16
  /** The npm package name and the bundle entry name in `cordis.patch.yml`. */
17
17
  export const PROVIDER_HUB_PACKAGE_NAME = 'dsh-shuhaicanghe'
@@ -7,7 +7,7 @@
7
7
  // inject the frozen service array plus `remote.credentials`, which the
8
8
  // usage domain needs for its configured-state projection;
9
9
  // apply one locale effect, one style effect (the single refcounted
10
- // `dsh-provider-hub/ui.css` element), the conversation model picker,
10
+ // `dsh-shuhaicanghe/ui.css` element), the conversation model picker,
11
11
  // ONE `settings.section` registration that mounts the providers
12
12
  // page, and the keyed `settings.models.provider-card` card that
13
13
  // edits this plugin's own `open-ai-codex` profile inside the host's
@@ -3,7 +3,7 @@
3
3
  10-12px radii, the 34px control height, pill buttons, the 36x20 switch, and
4
4
  a 12px heading -> tab strip -> panel rhythm. The `peg_*` class names are the
5
5
  frozen UI vocabulary and are never renamed. There is exactly
6
- one style element (`dsh-provider-hub/ui.css`); this text is its shell block
6
+ one style element (`dsh-shuhaicanghe/ui.css`); this text is its shell block
7
7
  and every domain stylesheet is concatenated after it. */
8
8
 
9
9
  /* The accent has two roles. --peg_accent is the readable blue used by text,