codex-copilot-dx 1.2.9 → 1.2.10

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.
@@ -10,10 +10,12 @@
10
10
  <link rel="stylesheet" href="/ui.css">
11
11
  <script src="/refresh.js" defer></script>
12
12
  <script src="/icons.js" defer></script>
13
+ <script src="/time.js" defer></script>
13
14
  <script src="/status.js" defer></script>
14
15
  <script src="/activity.js" defer></script>
15
16
  <script src="/usage.js" defer></script>
16
17
  <script src="/updates.js" defer></script>
18
+ <script src="/animation.js" defer></script>
17
19
  <script src="/ui.js" defer></script>
18
20
  <script src="/console.js" defer></script>
19
21
  <script src="/tools.js" defer></script>
@@ -56,8 +58,7 @@
56
58
  <section class="overview" aria-label="Overview" data-i18n-label="overview"><article class="card"><h2 data-i18n="adapter">SERVICE</h2><strong id="version">—</strong><p id="uptime">—</p><p id="updated" class="refresh-time" data-i18n="reading_status">Reading status…</p></article><article class="card"><h2 data-i18n="sources">SOURCES</h2><strong id="source-summary">—</strong><p id="source-detail">—</p></article></section>
57
59
  <details class="panel dashboard-section" id="client-features" open>
58
60
  <summary class="panel-heading"><h2 data-i18n="client_connections">APP SETUP</h2><span data-i18n="configuration_observation">SETUP AND ACTIVITY</span></summary>
59
- <div class="table-wrap"><table><thead><tr><th data-i18n="client">APP</th><th data-i18n="current_source">Current source</th><th data-i18n="connection_setup">Setup</th><th data-i18n="local_bridge">Local service</th><th data-i18n="last_request">LAST REQUEST</th></tr></thead><tbody id="provider-clients"></tbody></table></div>
60
- <p class="hint" data-i18n="configured_not_successful">Configured does not mean a request succeeded.</p>
61
+ <div class="table-wrap"><table><thead><tr><th data-i18n="client">APP</th><th data-i18n="current_source">Current source</th><th data-i18n="connection_setup" data-i18n-title="configured_not_successful">Setup</th><th data-i18n="local_bridge">Local service</th><th data-i18n="last_request">LAST REQUEST</th></tr></thead><tbody id="provider-clients"></tbody></table></div>
61
62
  </details>
62
63
  <section class="panel dashboard-section"><h2 data-i18n="this_run_usage">THIS RUN</h2><p id="runtime-usage" class="table-note"></p><p class="table-note"><span data-i18n="approx_cache_hit_rate">Approx. cache hit rate</span>: <strong id="runtime-cache-hit" data-i18n-title="runtime_cache_hit_basis" title="Reused input / input tokens. ~ Partial counts. — Unknown or invalid.">—</strong></p><p class="hint" data-i18n="updated_from_returned_usage_not_a_live_bill_pending_usage_is_not">Counts returned usage only. Pending usage is not included. This is not a live bill.</p></section>
63
64
  </div>
@@ -124,7 +125,7 @@
124
125
  <div data-view="claude" hidden>
125
126
  <section class="panel dashboard-section" id="claude-connections">
126
127
  <h2 data-i18n="client_connections">APP SETUP</h2>
127
- <div class="table-wrap"><table><thead><tr><th data-i18n="client">APP</th><th data-i18n="connection_setup">Setup</th><th data-i18n="local_bridge">Local service</th><th data-i18n="last_request">LAST REQUEST</th></tr></thead><tbody id="claude-clients"></tbody></table></div>
128
+ <div class="table-wrap"><table><thead><tr><th data-i18n="client">APP</th><th data-i18n="connection_setup" data-i18n-title="configured_not_successful">Setup</th><th data-i18n="local_bridge">Local service</th><th data-i18n="last_request">LAST REQUEST</th></tr></thead><tbody id="claude-clients"></tbody></table></div>
128
129
  <p id="claude-client-state" class="hint"></p>
129
130
  <p class="hint" data-i18n="local_service_not_app">Local service status does not confirm the app is open.</p>
130
131
  </section>
@@ -148,10 +149,10 @@
148
149
  <div id="source-account-panel" role="tabpanel">
149
150
  <p id="source-status-note" class="hint" role="status"></p>
150
151
  <section class="panel dashboard-section" id="github-account">
151
- <div class="panel-heading"><h2>GitHub Copilot</h2><span id="github-account-state"></span></div>
152
+ <div class="panel-heading"><h2 data-i18n="account_access">Account &amp; access</h2><span id="github-account-state"></span></div>
152
153
  <p id="github-account-name" class="account-name">—</p><p id="github-account-hint" class="hint"></p>
153
- <dl id="github-account-fields" class="account-fields"></dl>
154
- <div class="section-actions"><button id="github-signin" type="button" data-i18n="tools_login">Sign in to GitHub</button><button id="github-check" type="button" data-i18n="tools_check_connection">Check connection</button></div>
154
+ <dl id="github-account-fields" class="account-summary"></dl>
155
+ <div class="section-actions"><button id="github-check" type="button" data-i18n="tools_check_connection">Check connection</button><button id="github-signin" type="button" data-i18n="tools_login">Sign in to GitHub</button><button id="github-force-reauth" type="button" data-i18n="tools_reauth">Sign in again</button></div>
155
156
  <p class="hint" data-i18n="tools_no_inference">Checks access and models. No chat request is sent.</p>
156
157
  <section id="github-login-flow" class="tool-flow" hidden aria-label="GitHub sign-in">
157
158
  <h3 id="github-flow-state" data-i18n="tools_waiting">Waiting for GitHub</h3>
@@ -161,16 +162,18 @@
161
162
  <p class="hint" data-i18n="tools_keep_old_signin">Old sign-in is kept until verification succeeds.</p>
162
163
  </section>
163
164
  <p id="github-account-note" class="hint" role="status" aria-live="polite"></p>
164
- <details class="tool-details"><summary data-i18n="tools_details">Check details</summary><dl class="failure-detail"><dt data-i18n="tools_storage">Saved sign-in</dt><dd id="github-store">—</dd><dt data-i18n="tools_error_code">Error code</dt><dd id="github-check-code">—</dd><dt>HTTP</dt><dd id="github-check-http">—</dd></dl></details>
165
- <details class="tool-details"><summary data-i18n="tools_more_actions">More actions</summary><div class="section-actions"><button id="github-force-reauth" type="button" data-i18n="tools_reauth">Sign in again</button><button id="github-logout" type="button" data-i18n="tools_logout">Sign out of CCDX</button></div><p class="hint" data-i18n="tools_logout_scope">Other apps stay signed in.</p></details>
165
+ <details class="tool-details"><summary data-i18n="tools_details">Check details</summary><dl class="failure-detail"><dt data-i18n="tools_storage">Saved sign-in</dt><dd id="github-store">—</dd><dt data-i18n="tools_error_code">Error code</dt><dd id="github-check-code">—</dd><dt>HTTP</dt><dd id="github-check-http">—</dd><dt data-i18n="tools_github_identity">GitHub identity</dt><dd id="github-identity-detail">—</dd><dt data-i18n="last_verified">Last checked</dt><dd id="github-checked-at">—</dd></dl></details>
166
+ <details class="tool-details"><summary data-i18n="tools_more_actions">More actions</summary><div class="section-actions"><button id="github-logout" type="button" data-i18n="tools_logout">Sign out of CCDX</button></div><p class="hint" data-i18n="tools_logout_scope">Other apps stay signed in.</p></details>
166
167
  </section>
167
168
  <section class="panel dashboard-section" id="m365-source-access" hidden aria-labelledby="source-access-heading">
168
- <h2 id="source-access-heading">Microsoft 365</h2>
169
+ <h2 id="source-access-heading" data-i18n="account_access">Account &amp; access</h2>
169
170
  <p class="hint" data-i18n="m365_source_access">Provides models for Codex and Claude on supported devices.</p>
170
- <div class="section-actions"><button id="m365-on" type="button" data-i18n="enable_service">Enable source</button><button id="m365-off" type="button" data-i18n="disable_service">Disable source</button></div>
171
+ <div class="setting-row"><label for="m365-enabled" data-i18n="enable_service">Enable source</label><input id="m365-enabled" type="checkbox" role="switch" disabled><span id="m365-source-effect" class="hint" role="status"></span></div>
171
172
  <div id="m365-control-note" class="hint" role="status"></div>
172
173
  <h3 data-i18n="company_account">Company account</h3>
173
- <p id="m365-account-current" class="hint" role="status"></p>
174
+ <p id="m365-account-name" class="account-name">—</p>
175
+ <dl class="account-summary"><div><dt data-i18n="sign_in_status">Sign-in</dt><dd id="m365-signin-state">—</dd></div><div><dt data-i18n="model_catalog">Model list</dt><dd id="m365-catalog-state">—</dd></div><div><dt data-i18n="last_request">Last request</dt><dd id="m365-last-request">—</dd></div></dl>
176
+ <details class="tool-details"><summary data-i18n="account_details">Account details</summary><p id="m365-account-current" class="hint" role="status"></p></details>
174
177
  <div class="section-actions"><button id="m365-accounts-refresh" type="button" data-i18n="check_accounts">Check accounts</button></div>
175
178
  <div id="m365-account-form" hidden>
176
179
  <div class="section-actions"><label><span data-i18n="choose_company_account">Choose a company account</span><select id="m365-account-choice"></select></label><button id="m365-account-apply" type="button" disabled data-i18n="use_this_account">Use this account</button></div>
@@ -178,12 +181,12 @@
178
181
  </div>
179
182
  <p id="m365-account-note" class="hint" role="status" aria-live="polite"></p>
180
183
  </section>
181
- <details class="panel dashboard-section" id="upstream-models" open>
184
+ <details class="panel dashboard-section model-catalog" id="upstream-models" open>
182
185
  <summary class="panel-heading"><h2 data-i18n="model_catalog">MODEL LIST</h2><span id="models-state" data-i18n="checking_live">CHECKING</span></summary>
183
186
  <div class="section-actions"><button id="refresh-models" type="button" data-i18n="refresh">Refresh</button></div>
184
187
  <p id="models-note" class="table-note" data-i18n="reading_provider_catalog">Loading model list…</p>
185
188
  <details id="model-check-details" class="model-check-details" hidden><summary data-i18n="source_check_details">Check details</summary><dl id="model-check-fields" class="failure-detail"></dl><p class="hint" data-i18n="source_check_action">Use Refresh to check this source again.</p></details>
186
- <div class="table-wrap"><table><thead><tr><th scope="col" data-i18n="model">MODEL</th><th scope="col" data-i18n="vendor">MODEL MAKER</th><th scope="col" data-i18n="api">CONNECTION TYPE</th><th scope="col" data-i18n="client">APP</th><th scope="col" data-i18n="reasoning">THINKING LEVEL</th><th scope="col" data-i18n="state">STATE</th></tr></thead><tbody id="live-models-body" role="tabpanel"><tr><td colspan="6" data-i18n="loading">Loading…</td></tr></tbody></table></div>
189
+ <div class="table-wrap"><table><thead><tr><th scope="col" data-i18n="model">MODEL</th><th scope="col" data-i18n="client">APP</th><th scope="col" data-i18n="tools_details">Details</th></tr></thead><tbody id="live-models-body" role="tabpanel"><tr><td colspan="3" data-i18n="loading">Loading…</td></tr></tbody></table></div>
187
190
  <p class="hint" data-i18n="catalog_listing_does_not_guarantee_inference_access">Listed does not mean your account can use it.</p>
188
191
  </details>
189
192
  <details class="panel dashboard-section" id="account-authorization">
@@ -195,7 +198,7 @@
195
198
  </div>
196
199
  <div data-view="checks" hidden>
197
200
  <section class="panel dashboard-section">
198
- <h2 data-i18n="tools_checks_title">Checks &amp; repairs</h2>
201
+ <h2 data-i18n="tools_check_local">Check this computer</h2>
199
202
  <p class="hint" data-i18n="tools_local_scope">Local checks do not contact external services.</p>
200
203
  <div class="section-actions"><button id="check-local" type="button" data-i18n="tools_check_local">Check this computer</button></div>
201
204
  <p id="checks-note" class="table-note" role="status" aria-live="polite" data-i18n="tools_checks_empty">Run a check to see the results.</p>
@@ -223,14 +226,7 @@
223
226
  <div data-view="usage" hidden>
224
227
  <div class="section-actions usage-source-controls"><label><span data-i18n="source_entire_page">Source / entire page</span><select id="usage-provider"><option value="" data-i18n="all_providers">All providers</option></select></label><button id="refresh-usage" type="button" data-i18n="refresh_usage">Refresh usage</button></div>
225
228
 
226
- <details class="panel dashboard-section" id="model-usage" open>
227
- <summary class="panel-heading"><h2 data-i18n="usage_totals">USAGE TOTALS</h2><span id="usage-state" data-i18n="reading_log">COUNTING</span></summary>
228
- <div class="section-actions"><button id="clear-usage-day" type="button" hidden data-i18n="all_history">Show all</button></div>
229
- <p id="usage-note" class="table-note" data-i18n="aggregating_local_usage_metadata">Counting local usage…</p>
230
- <div class="table-wrap"><table class="usage-table"><thead><tr><th scope="col" data-i18n="model">MODEL</th><th scope="col" data-i18n="calls">REQUESTS</th><th scope="col" data-i18n="input">INPUT USAGE</th><th scope="col" data-i18n="cache_read">REUSED INPUT</th><th scope="col" data-i18n="output">OUTPUT USAGE</th><th scope="col" data-i18n="total">TOTAL</th><th scope="col" data-i18n="cache_hit">REUSE RATE</th></tr></thead><tbody id="usage-body"><tr><td colspan="7" data-i18n="loading">Loading…</td></tr></tbody></table></div>
231
- <p class="hint" data-i18n="cache_hit_recorded_cached_input_tokens_incomplete_history_unavai">Unit: Token. Reused input is part of input.
232
- ~ Partial records. — Unknown or invalid.</p>
233
- <details id="usage-analytics" class="analytics-section">
229
+ <details id="usage-analytics" class="panel dashboard-section analytics-section">
234
230
  <summary data-i18n="usage_analytics">USAGE TRENDS</summary>
235
231
  <div class="analytics-controls">
236
232
  <label><span data-i18n="model_both_charts">Model / both charts</span> <select id="analytics-model"><option value="" data-i18n="all_models">All models</option></select></label>
@@ -246,6 +242,14 @@
246
242
  <div class="calendar-scroll"><div class="calendar-grid"><div id="calendar-months" class="calendar-months" aria-hidden="true"></div><div id="activity-calendar" class="activity-calendar" aria-label="Daily recorded activity over 365 days" data-i18n-label="daily_recorded_request_activity"></div></div></div>
247
243
  <p id="analytics-selection" class="hint" role="status" data-i18n="select_a_day_to_inspect_its_model_totals_no_history_is_distinct_">Select a day for its usage. No records does not mean zero requests.</p>
248
244
  </details>
245
+ <details class="panel dashboard-section" id="model-usage" open>
246
+ <summary class="panel-heading"><h2 data-i18n="usage_totals">USAGE TOTALS</h2><span id="usage-state" data-i18n="reading_log">COUNTING</span></summary>
247
+ <div class="section-actions"><button id="clear-usage-day" type="button" hidden data-i18n="all_history">Show all</button></div>
248
+ <p id="usage-note" class="table-note" data-i18n="aggregating_local_usage_metadata">Counting local usage…</p>
249
+ <div class="table-wrap"><table class="usage-table"><thead><tr><th scope="col" data-i18n="model">MODEL</th><th scope="col" data-i18n="calls">REQUESTS</th><th scope="col" data-i18n="input">INPUT USAGE</th><th scope="col" data-i18n="cache_read">REUSED INPUT</th><th scope="col" data-i18n="output">OUTPUT USAGE</th><th scope="col" data-i18n="total">TOTAL</th><th scope="col" data-i18n="cache_hit">REUSE RATE</th></tr></thead><tbody id="usage-body"><tr><td colspan="7" data-i18n="loading">Loading…</td></tr></tbody></table></div>
250
+ <p class="hint" data-i18n="cache_hit_recorded_cached_input_tokens_incomplete_history_unavai">Unit: Token. Reused input is part of input.
251
+ ~ Partial records. — Unknown or invalid.</p>
252
+
249
253
  </details>
250
254
  </div>
251
255
  <div data-view="requests" hidden>
@@ -273,21 +277,26 @@ Missing data is unknown. This panel keeps no prompts or images.</p>
273
277
  <section class="panel dashboard-section" aria-labelledby="web-appearance-title">
274
278
  <h2 id="web-appearance-title" data-i18n="appearance_web_appearance">网页外观</h2>
275
279
  <div class="appearance-row">
276
- <div class="appearance-label"><label for="web-color-theme" data-i18n="appearance_color_theme">颜色主题</label><p data-i18n="appearance_browser_scope">只影响当前浏览器。</p></div>
280
+ <div class="appearance-label"><label for="web-color-theme" data-i18n="appearance_color_theme">颜色主题</label><p id="web-color-note" role="status" data-i18n="theme_saved_browser">This browser only. Applies now.</p></div>
277
281
  <select id="web-color-theme" class="appearance-select"><option value="green" data-i18n="appearance_classic_green">经典绿(默认)</option><option value="klein" data-i18n="appearance_klein_blue">克莱因蓝</option><option value="pink" data-i18n="appearance_soft_pink">淡粉色</option></select>
278
282
  </div>
279
- <p id="web-color-note" class="appearance-note" role="status" data-i18n="theme_saved_browser">选择后,网页立即换色。</p>
280
283
  </section>
281
284
 
282
285
  <section class="panel dashboard-section" id="terminal-appearance" aria-labelledby="terminal-appearance-title">
283
286
  <h2 id="terminal-appearance-title" data-i18n="terminal_appearance">终端外观</h2>
284
287
  <div class="appearance-row">
285
- <div class="appearance-label"><label for="terminal-color-theme" data-i18n="appearance_color_theme">颜色主题</label><p data-i18n="appearance_terminal_scope">与网页主题分别设置。</p></div>
288
+ <div class="appearance-label"><label for="terminal-color-theme" data-i18n="appearance_color_theme">颜色主题</label><p id="terminal-color-note" role="status" data-i18n="appearance_terminal_effect">Table updates now; startup logo next launch.</p></div>
286
289
  <select id="terminal-color-theme" disabled class="appearance-select"><option value="green" data-i18n="appearance_classic_green">经典绿(默认)</option><option value="klein" data-i18n="appearance_klein_blue">克莱因蓝</option><option value="pink" data-i18n="appearance_soft_pink">淡粉色</option></select>
287
290
  </div>
288
- <p id="terminal-color-note" class="appearance-note" role="status" data-i18n="appearance_terminal_effect">表格即时换色,启动 Logo 下次生效。</p>
289
291
 
290
- <div id="terminal-color-sample" class="terminal-sample" data-terminal-palette="green" aria-label="Terminal color preview" data-i18n-label="terminal_color_preview">
292
+ <div class="setting-row terminal-animation-toggle"><label for="setting-terminal_animation_enabled" data-i18n="terminal_animation">Terminal animation</label><input id="setting-terminal_animation_enabled" type="checkbox" role="switch" disabled><span id="effect-terminal_animation_enabled" class="hint" role="status"></span></div>
293
+ <details id="animation-settings" class="appearance-animation settings-panel">
294
+ <summary class="panel-heading"><h2 data-i18n="terminal_animation_9edf6">TERMINAL ANIMATION</h2><span id="animation-state" data-i18n="reading">READING</span></summary>
295
+ <div id="animation-options" class="animation-options" role="group" aria-label="Animation style" data-i18n-label="animation_theme"></div>
296
+ <div class="section-actions"><button id="save-animation" type="button" disabled data-i18n="save_selection">Save animation</button><span id="animation-note" role="status" data-i18n="applies_to_the_running_terminal">Updates the running terminal.</span></div>
297
+ </details>
298
+ <details class="tool-details"><summary data-i18n="terminal_color_preview">Terminal preview</summary>
299
+ <div id="terminal-color-sample" class="terminal-sample" data-terminal-palette="green" aria-label="Terminal color preview" data-i18n-label="terminal_color_preview">
291
300
  <div class="terminal-caption"><span>CCDX · Terminal</span><span data-i18n="appearance_sample">Sample data</span></div>
292
301
  <div class="terminal-brand">
293
302
  <pre class="terminal-logo" aria-hidden="true"> ▄▀█▄ ▄█▀▄
@@ -313,18 +322,11 @@ Missing data is unknown. This panel keeps no prompts or images.</p>
313
322
  <pre class="terminal-notices">0 notices / details in WebUI</pre>
314
323
  <pre class="terminal-motion"><span id="terminal-sample-frame">[ :::::::]</span> <span id="terminal-sample-status">Working</span></pre>
315
324
  </div>
316
-
317
- <div class="setting-row terminal-animation-toggle"><label for="setting-terminal_animation_enabled" data-i18n="terminal_animation">Terminal animation</label><input id="setting-terminal_animation_enabled" type="checkbox" role="switch" disabled><span id="effect-terminal_animation_enabled" class="hint" role="status"></span></div>
318
- <details id="animation-settings" class="appearance-animation settings-panel">
319
- <summary class="panel-heading"><h2 data-i18n="terminal_animation_9edf6">TERMINAL ANIMATION</h2><span id="animation-state" data-i18n="reading">READING</span></summary>
320
- <div id="animation-options" class="animation-options" role="group" aria-label="Animation style" data-i18n-label="animation_theme"></div>
321
- <div class="section-actions"><button id="save-animation" type="button" disabled data-i18n="save_selection">Save animation</button><span id="animation-note" role="status" data-i18n="applies_to_the_running_terminal">Updates the running terminal.</span></div>
322
- </details>
325
+ </details>
323
326
  </section>
324
327
 
325
328
  <section class="panel dashboard-section" aria-labelledby="settings-heading">
326
329
  <h2 id="settings-heading" data-i18n="startup_preferences">STARTUP</h2>
327
- <p class="hint" data-i18n="saved_preference_and_effective_state_are_separate_environment_ov">Saved choices and current behavior are shown separately. Startup overrides and required restarts are listed.</p>
328
330
  <div class="setting-row"><label for="setting-open_webui" data-i18n="open_webui_at_startup">Open dashboard on startup</label><input id="setting-open_webui" type="checkbox" role="switch" disabled><span id="effect-open_webui" class="hint" role="status"></span></div>
329
331
  <p id="settings-note" class="hint" role="status" data-i18n="reading_settings">Reading settings…</p>
330
332
  </section>
@@ -1,5 +1,19 @@
1
1
  (() => {
2
2
  const translations = {
3
+ "sign_in_status": ["Sign-in", "登录状态"],
4
+ "account_details": ["Account details", "账号详情"],
5
+ "preference_effect": ["{saved} · {state}", "{saved} · {state}"],
6
+ "model_details": ["Model details", "模型详情"],
7
+ "model_outcome": ["Model result", "模型结果"],
8
+ "attempts": ["Attempts", "尝试次数"],
9
+ "last_success": ["Last success", "最后成功"],
10
+ "request_http_failure": ["HTTP {status} · Failed", "请求失败 · HTTP {status}"],
11
+ "catalog_cause_sign_in_rejected": ["Microsoft 365 rejected the sign-in. Check account access.", "Microsoft 365 拒绝了登录,请检查账号权限。"],
12
+ "catalog_cause_entra_access_disabled": ["Copilot CLI Entra access is not enabled for this account.", "此账号尚未开通 Copilot CLI Entra 访问。"],
13
+ "catalog_cause_access_denied": ["Microsoft 365 denied access to the model list.", "Microsoft 365 拒绝访问模型列表。"],
14
+ "catalog_cause_rate_limited": ["Model-list checks are limited. Try again later.", "模型列表检查过于频繁,请稍后再试。"],
15
+ "catalog_cause_service_unavailable": ["Microsoft 365 could not serve the model list.", "Microsoft 365 暂时无法提供模型列表。"],
16
+ "catalog_cause_catalog_rejected": ["Microsoft 365 rejected the model-list request.", "Microsoft 365 拒绝了模型列表请求。"],
3
17
  "page_overview_description": ["Service, app connections and usage this run.", "查看服务、应用和本次用量。"],
4
18
  "page_codex_description": ["Set up Codex connections and features.", "配置 Codex 接入与专属功能。"],
5
19
  "page_claude_description": ["Claude app connections and request performance.", "查看 Claude 接入与请求表现。"],
@@ -22,15 +36,15 @@
22
36
  "messages_combined_since_start": ["MESSAGES COMBINED / SINCE STARTUP", "Messages 合计 / 本次启动"],
23
37
  "claude_metrics_combined": ["These metrics are not separated by Claude app.", "当前统计不区分两个 Claude 应用。"],
24
38
  "source_access_details": ["SOURCE ACCESS DETAILS", "来源访问详情"],
25
- "account_access": ["ACCOUNT AND ACCESS", "账号与访问"],
39
+ "account_access": ["Account & access", "账号与访问"],
26
40
  "account_management_location": ["Manage sign-in, accounts and models under Model sources.", "登录、账号和模型在来源页管理。"],
27
- "check_github_connection": ["Check GitHub connection", "检查 GitHub 连接"],
41
+ "check_github_connection": ["Open GitHub checks", "前往 GitHub 检查"],
28
42
  "view_m365_account": ["View M365 account", "查看 M365 账号"],
29
43
  "more_checks_reports": ["MORE CHECKS AND REPORTS", "更多检查与报告"],
30
44
  "diagnostic_report": ["Diagnostic report", "诊断报告"],
31
45
  "runtime_details": ["RUNTIME DETAILS", "运行详情"],
32
46
  "startup_preferences": ["STARTUP", "启动行为"],
33
- "source_entire_page": ["Source / entire page", "来源 / 作用于整页"],
47
+ "source_entire_page": ["Source", "来源"],
34
48
  "refresh_usage": ["Refresh usage", "刷新用量"],
35
49
  "usage_totals": ["USAGE TOTALS", "用量汇总"],
36
50
  "model_both_charts": ["Model / both charts", "模型 / 作用于两张图"],
@@ -49,7 +63,7 @@
49
63
  "tools_login_hint": ["Sign in to check Copilot access and models.", "登录后检查 Copilot 权限和模型。"],
50
64
  "tools_saved_not_valid": ["A saved sign-in does not confirm current access.", "保存过登录,不代表当前仍可用。"],
51
65
  "tools_access_hint": ["Check access or network settings before changing sign-in.", "先检查权限或网络,再决定是否重新登录。"],
52
- "tools_account_hint": ["Saved sign-in and online access are checked separately.", "本地登录与在线权限分别检查。"],
66
+ "tools_account_hint": ["Check connection to verify access.", "检查连接可确认访问权限。"],
53
67
  "tools_saved_signin": ["Saved sign-in", "本地登录"],
54
68
  "tools_github_identity": ["GitHub identity", "GitHub 身份"],
55
69
  "tools_copilot_access": ["Copilot access", "Copilot 权限"],
@@ -190,7 +204,7 @@
190
204
  "appearance_terminal_scope": ["Independent of the webpage theme.", "与网页主题分别设置。"],
191
205
  "appearance_terminal_effect": ["Table updates now. Startup logo changes next launch.", "表格即时换色,启动 Logo 下次生效。"],
192
206
  "appearance_sample": ["Sample data", "示例数据"],
193
- "theme_saved_browser": ["Saved in this browser. Changes apply now.", "保存在此浏览器,立即生效。"],
207
+ "theme_saved_browser": ["This browser only. Applies now.", "仅此浏览器,立即生效。"],
194
208
  "theme_tab_only": ["This tab only. Browser storage is unavailable.", "本次有效,浏览器未能保存。"],
195
209
  "terminal_theme_applied": ["Table updated. Startup logo changes next launch.", "表格已换色,启动 Logo 下次生效。"],
196
210
  "terminal_theme_unavailable": ["Saved. Colored output is unavailable in this terminal mode.", "已保存,当前终端模式不显示配色。"],
@@ -1,5 +1,5 @@
1
1
  (() => {
2
- function create({ element, phrase, localize, text, finite, number, mib, tableRow, emptyTable, document, navigator }) {
2
+ function create({ time, element, phrase, localize, text, finite, number, mib, tableRow, emptyTable, document, navigator }) {
3
3
  let contextRequests = [];
4
4
  let contextCompactions = {};
5
5
  let failureSignature;
@@ -19,19 +19,19 @@
19
19
  sourceNames.set(provider.id, provider.name);
20
20
  const identity = provider.auth || {};
21
21
  const authRow = tableRow([provider.name, identity.account || "—", states[identity.state] || "unknown",
22
- states[provider.state] || "unknown", identity.checked_at || "—", duration(identity.expires_in_ms)], { labels: [2, 3] });
22
+ states[provider.state] || "unknown", time(identity.checked_at, { date: true }), duration(identity.expires_in_ms)], { labels: [2, 3] });
23
23
  authRow.setAttribute("data-provider", provider.id);
24
24
  if (provider.reason) {
25
- const network = provider.network_diagnostic;
25
+ const network = provider.network_diagnostic, catalog = provider.catalog_diagnostic;
26
26
  localize(authRow.children[3], "state_reason", { state: phrase(states[provider.state] || "unknown"),
27
- reason: network ? phrase(`network_cause_${network.cause_code}`) : provider.reason });
27
+ reason: catalog ? phrase(`catalog_cause_${catalog.cause_code}`) : network ? phrase(`network_cause_${network.cause_code}`) : provider.reason });
28
28
  if (network) localize(authRow.children[3], "network_detail", { source: phrase(`network_source_${network.source}`),
29
29
  stage: phrase(`network_stage_${network.stage}`), code: network.cause_code, category: provider.reason }, "title");
30
30
  }
31
31
  if (globalThis.ccdxIcons) {
32
32
  globalThis.ccdxIcons.set(authRow.children[2], states[identity.state] || "unknown", globalThis.ccdxIcons.kind(identity.state));
33
33
  globalThis.ccdxIcons.set(authRow.children[3], provider.reason ? "state_reason" : states[provider.state] || "unknown", globalThis.ccdxIcons.kind(provider.state),
34
- provider.reason ? { state: phrase(states[provider.state] || "unknown"), reason: provider.network_diagnostic ? phrase(`network_cause_${provider.network_diagnostic.cause_code}`) : provider.reason } : {});
34
+ provider.reason ? { state: phrase(states[provider.state] || "unknown"), reason: provider.catalog_diagnostic ? phrase(`catalog_cause_${provider.catalog_diagnostic.cause_code}`) : provider.network_diagnostic ? phrase(`network_cause_${provider.network_diagnostic.cause_code}`) : provider.reason } : {});
35
35
  }
36
36
  auth.append(authRow);
37
37
  for (const client of provider.clients || []) {
@@ -50,7 +50,7 @@
50
50
  const selected = entries.find(entry => entry.client.selected === true) || (entries.length === 1 ? entries[0] : null);
51
51
  const client = selected?.client || { name: entries[0].client.name, state: "unknown" };
52
52
  const row = tableRow([client.name, selected?.provider.name || "—", states[client.state] || "unknown",
53
- client.gateway || "—", client.last_request_at || "—"], { labels: [2, 3] });
53
+ client.gateway || "—", time(client.last_request_at)], { labels: [2, 3] });
54
54
  if (client.reason) localize(row.children[2], "state_reason", { state: phrase(states[client.state] || "unknown"), reason: client.reason });
55
55
  if (globalThis.ccdxIcons) {
56
56
  globalThis.ccdxIcons.set(row.children[2], client.reason ? "state_reason" : states[client.state] || "unknown", globalThis.ccdxIcons.kind(client.state), client.reason ? { state: phrase(states[client.state] || "unknown"), reason: client.reason } : {});
@@ -58,7 +58,7 @@
58
58
  }
59
59
  clients.append(row);
60
60
  if (String(client.id || "").startsWith("claude_")) {
61
- const detail = tableRow([client.name, states[client.state] || "unknown", client.gateway || "—", client.last_request_at || "—"], { labels: [1, 2] });
61
+ const detail = tableRow([client.name, states[client.state] || "unknown", client.gateway || "—", time(client.last_request_at)], { labels: [1, 2] });
62
62
  if (client.reason) localize(detail.children[1], "state_reason", { state: phrase(states[client.state] || "unknown"), reason: client.reason });
63
63
  if (globalThis.ccdxIcons) {
64
64
  globalThis.ccdxIcons.set(detail.children[1], client.reason ? "state_reason" : states[client.state] || "unknown", globalThis.ccdxIcons.kind(client.state), client.reason ? { state: phrase(states[client.state] || "unknown"), reason: client.reason } : {});
@@ -119,7 +119,7 @@
119
119
  const title = document.createElement("summary");
120
120
  const summary = {
121
121
  detail: phrase("time_model_code", {
122
- time: failure.at ? String(failure.at) : phrase("unknown_time"),
122
+ time: failure.at ? time(failure.at, { date: true }) : phrase("unknown_time"),
123
123
  model: failure.model ? String(failure.model).slice(0, 80) : phrase("unknown_model"),
124
124
  code: failure.code ? String(failure.code).slice(0, 80) : phrase("unknown_error"),
125
125
  }),
@@ -224,7 +224,7 @@
224
224
  const routes = { ...data.stream_performance?.by_route, ...claudeMetrics?.by_route };
225
225
  for (const [protocol, route] of Object.entries(routes)) for (const [source, stats] of Object.entries(route.by_provider || {})) {
226
226
  const totals = stats.terminal_outcomes.totals;
227
- sourceBody.append(tableRow([source, protocol, number(stats.active), ...["completed", "incomplete", "failed", "cancelled", "unknown"].map(outcome => number(totals[outcome]))]));
227
+ sourceBody.append(tableRow([sourceNames.get(source) || source, protocol, number(stats.active), ...["completed", "incomplete", "failed", "cancelled", "unknown"].map(outcome => number(totals[outcome]))]));
228
228
  }
229
229
  if (!sourceBody.children.length) emptyTable("source-requests-body", 8, "no_requests_observed");
230
230
  }
@@ -264,7 +264,7 @@
264
264
  const note = element("prediction-note");
265
265
  if (note) note.textContent = prediction?.reason || "";
266
266
  }
267
- text("updated", "snapshot_time", { time: new Date().toLocaleTimeString() });
267
+ text("updated", "snapshot_time", { time: time(Date.now()) });
268
268
  }
269
269
 
270
270
  function renderContext(performance) {
@@ -290,16 +290,20 @@
290
290
  const ratio = finite(context.input_tokens) && finite(context.context_window_tokens) && Number(context.context_window_tokens) > 0
291
291
  ? `${(100 * Number(context.input_tokens) / Number(context.context_window_tokens)).toFixed(1)}%` : "—";
292
292
  const at = Date.parse(request.at);
293
- const row = tableRow([Number.isFinite(at) ? new Date(at).toLocaleTimeString() : "—",
293
+ const row = tableRow([Number.isFinite(at) ? time(at) : "—",
294
294
  String(sourceNames.get(request.provider) || request.provider || "—").slice(0, 80),
295
295
  String(request.model || "unknown").slice(0, 80), outcome, number(context.input_tokens), ""], { labels: [3] });
296
- if (globalThis.ccdxIcons) globalThis.ccdxIcons.set(row.children[3], outcome.toLowerCase(), globalThis.ccdxIcons.kind(outcome.toLowerCase()));
296
+ const wireFailure = Number.isInteger(request.http_status) && request.http_status >= 400;
297
+ if (globalThis.ccdxIcons) globalThis.ccdxIcons.set(row.children[3], wireFailure ? "request_http_failure" : outcome.toLowerCase(),
298
+ wireFailure ? "warning" : globalThis.ccdxIcons.kind(outcome.toLowerCase()), wireFailure ? { status: request.http_status } : {});
299
+ else if (wireFailure) localize(row.children[3], "request_http_failure", { status: request.http_status });
297
300
  const details = document.createElement("details"), summary = document.createElement("summary"), fields = document.createElement("dl");
298
301
  const key = String(request.request_id || `${request.at || ""}/${request.provider || ""}/${request.model || ""}`).slice(0, 256);
299
302
  details.setAttribute?.("data-request-key", key);details.open = expanded.has(key);
300
303
  details.className = "request-details";fields.className = "failure-detail";
301
304
  localize(summary, "request_metadata");details.append(summary, fields);
302
- for (const [key, value] of [["time", Number.isFinite(at) ? new Date(at).toLocaleString() : "—"],
305
+ for (const [key, value] of [["request_id", request.request_id || "—"], ["http_status", number(request.http_status)], ["attempts", number(request.upstream_attempts)], ["model_outcome", globalThis.ccdxLanguage?.format(outcome.toLowerCase()) || outcome],
306
+ ["time", Number.isFinite(at) ? time(at, { date: true }) : "—"],
303
307
  ["wire_mib", finite(context.payload_bytes) ? `${(Number(context.payload_bytes) / 1048576).toFixed(2)} MiB` : "—"],
304
308
  ["images", number(context.images)], ["model_window", number(context.context_window_tokens)], ["input_window", ratio]]) {
305
309
  const term = document.createElement("dt"), detail = document.createElement("dd");localize(term, key);detail.textContent = value;fields.append(term, detail);
@@ -0,0 +1,16 @@
1
+ (() => {
2
+ const formats = new Map();
3
+ function format(value, { date = false } = {}) {
4
+ if (value === null || value === undefined || value === "") return "—";
5
+ const instant = new Date(value);
6
+ if (!Number.isFinite(instant.getTime())) return "—";
7
+ const locale = document.documentElement.lang?.startsWith("zh") ? "zh-CN" : "en-US";
8
+ const key = `${locale}/${date}`;
9
+ if (!formats.has(key)) formats.set(key, new Intl.DateTimeFormat(locale, {
10
+ ...(date ? { year: "numeric", month: "2-digit", day: "2-digit" } : {}),
11
+ hour: "2-digit", minute: "2-digit", second: "2-digit", hourCycle: "h23",
12
+ }));
13
+ return formats.get(key).format(instant);
14
+ }
15
+ globalThis.ccdxTime = { format };
16
+ })();
@@ -34,14 +34,18 @@
34
34
  text("github-account-hint", !data.saved ? "tools_login_hint" : invalid ? "tools_saved_not_valid" : failed ? "tools_access_hint" : "tools_account_hint");
35
35
  const fields = el("github-account-fields");fields.replaceChildren();
36
36
  field(fields, "tools_saved_signin", data.saved ? "saved_locally" : "tools_not_signed_in", data.saved ? "ok" : "unavailable");
37
- for (const [id, key] of [["identity", "tools_github_identity"], ["access", "tools_copilot_access"], ["models", "tools_catalog_read"]]) {
37
+ for (const [id, key] of [["access", "tools_copilot_access"], ["models", "tools_catalog_read"]]) {
38
38
  const result = online?.stages?.[id] || "not_checked";
39
39
  field(fields, key, result === "passed" ? "tools_verified" : result === "invalid" ? "tools_signin_invalid" : result === "unavailable" ? "tools_unavailable" : "tools_not_checked",
40
40
  result === "passed" ? "ok" : result === "invalid" ? "warning" : result === "unavailable" ? "unavailable" : "unknown");
41
41
  }
42
- field(fields, "last_verified", data.checked_at ? new Date(data.checked_at).toLocaleString() : "—");
42
+ status("github-identity-detail", online?.stages?.identity === "passed" ? "tools_verified" : invalid ? "tools_signin_invalid" : "tools_not_checked",
43
+ online?.stages?.identity === "passed" ? "ok" : invalid ? "warning" : "unknown");
44
+ el("github-checked-at").textContent = data.checked_at ? time(data.checked_at, { date: true }) : "—";
43
45
  label(el("github-signin"), data.saved ? "tools_reauth" : "tools_login");
44
46
  el("github-signin").hidden = data.saved && !invalid;
47
+ el("github-force-reauth").hidden = !data.saved || invalid;
48
+ if (data.saved && !invalid && !failed) el("github-account-hint").textContent = "";
45
49
  el("github-signin").disabled = pending || activeFlow();el("github-check").disabled = pending || activeFlow() || !data.saved;
46
50
  el("github-logout").disabled = pending || activeFlow() || !data.saved;
47
51
  el("github-force-reauth").disabled = pending || activeFlow();
@@ -102,7 +106,7 @@
102
106
  details.append(disclosure);row.append(name, result, details);body.append(row);
103
107
  }
104
108
  if (!groups.size) text("checks-note", "tools_checks_empty");
105
- else text("checks-note", "tools_checks_completed", { time: new Date(data.checked_at).toLocaleTimeString() });
109
+ else text("checks-note", "tools_checks_completed", { time: time(data.checked_at) });
106
110
  }
107
111
  async function localAction(action, button) {
108
112
  button.disabled = true;text("checks-note", "checking");
@@ -17,7 +17,8 @@ html { scrollbar-gutter: stable; }
17
17
  button { border: 1px solid var(--button-border); border-radius: 2px; background: var(--button-bg); color: var(--button-fg); padding: 8px 13px; font: inherit; font-size: 11px; font-weight: 700; text-transform: uppercase; cursor: pointer; }
18
18
  button:hover { background: var(--button-hover); }
19
19
  button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
20
- button:disabled { opacity: .55; cursor: wait; }
20
+ button:disabled { opacity: .55; cursor: default; }
21
+ button[aria-busy="true"] { cursor: progress; }
21
22
  .icon-button { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 6px; border: 0; background: transparent; }
22
23
  .icon-button:hover { background: transparent; color: var(--accent); }
23
24
  .icon-button svg { width: 18px; height: 18px; }
@@ -55,10 +56,9 @@ h1 { margin: 0; font-size: clamp(20px, 3vw, 27px); font-weight: 650; letter-spac
55
56
  .heading-actions { display: flex; align-items: center; gap: 16px; }
56
57
  .heading-actions button { padding: 5px 9px; }
57
58
  .animation-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
58
- .theme-option { display: grid; grid-template-columns: 18px 76px minmax(0, 1fr); align-items: center; gap: 8px; min-width: 0; width: 100%; border: 1px solid var(--border); padding: 10px; background: transparent; color: var(--text); text-align: left; text-transform: none; font-size: 11px; cursor: pointer; }
59
- .theme-option::before { content: "○"; color: var(--subtle); font-size: 17px; line-height: 1; }
60
- .theme-option[aria-pressed="true"] { border-color: var(--accent-soft); background: var(--selected-bg); }
61
- .theme-option[aria-pressed="true"]::before { content: "●"; color: var(--accent-soft); }
59
+ .theme-option { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 8px; min-width: 0; width: 100%; border: 1px solid var(--border); padding: 10px; background: transparent; color: var(--text); text-align: center; text-transform: none; font-size: 12px; cursor: pointer; }
60
+ .theme-option[aria-pressed="true"], .theme-option[aria-pressed="true"]:hover { border-color: var(--accent); background: var(--accent); color: var(--page); }
61
+ .theme-option[aria-pressed="true"] .theme-name, .theme-option[aria-pressed="true"] small, .theme-option[aria-pressed="true"] .theme-preview, .theme-option[aria-pressed="true"] .theme-preview span { color: var(--page); }
62
62
  .theme-option:hover { background: var(--option-hover); }
63
63
  .theme-name { color: var(--text); font-size: 11px; white-space: nowrap; }
64
64
  .theme-name small { display: block; color: var(--subtle); font-size: 9px; margin-top: 2px; }
@@ -105,7 +105,10 @@ details[open] > summary::before { content: "−"; }
105
105
  .analytics-section { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
106
106
  .analytics-controls { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
107
107
  .analytics-controls label { color: var(--muted); font-size: 11px; }
108
- select { max-width: 260px; padding: 5px; font: inherit; color: var(--text); background: var(--page); border: 1px solid var(--border); }
108
+ select { appearance: none; -webkit-appearance: none; max-width: 260px; min-height: 36px; padding: 7px 30px 7px 10px; font: inherit; color: var(--text); background-color: var(--surface); border: 1px solid var(--button-border); border-radius: 0; box-shadow: none; background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%); background-position: calc(100% - 13px) 15px, calc(100% - 9px) 15px; background-size: 4px 4px; background-repeat: no-repeat; }
109
+ select:focus { border-color: var(--accent); border-radius: 0; box-shadow: none; }
110
+ select:focus:not(:focus-visible) { outline: none; }
111
+ select option { color: var(--text); background: var(--surface); }
109
112
  .chart-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 22px 0 10px; }
110
113
  .chart-heading h3 { margin: 0; color: var(--heading); font-size: 11px; }
111
114
  .chart-heading span, .chart-legend { color: var(--muted); font-size: 10px; }
@@ -153,7 +156,15 @@ footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; color:
153
156
  .timing-stats dt { white-space: nowrap; }
154
157
 
155
158
  .provider-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
156
- .provider-tabs [aria-selected="true"] { color: var(--accent); border-color: var(--accent-soft); background: var(--selected-bg); }
159
+ .provider-tabs button, .install-platforms button { text-align: center; }
160
+ .provider-tabs [aria-selected="true"], .provider-tabs [aria-selected="true"]:hover, .install-platforms [aria-pressed="true"], .install-platforms [aria-pressed="true"]:hover { color: var(--page); border-color: var(--accent); background: var(--accent); }
161
+ .model-catalog table, .model-catalog td { color: var(--text); font-size: 13px; background: var(--surface); }
162
+ .model-catalog th { color: var(--text); font-size: 12px; }
163
+ .model-catalog > summary h2 { color: var(--strong); }
164
+ .model-catalog .model-name { color: var(--strong); font-weight: 600; }
165
+ .model-catalog td:last-child { white-space: normal; }
166
+ .model-catalog td details { margin: 0; }
167
+ .model-catalog .failure-detail { min-width: 200px; }
157
168
  #provider-auth td, #provider-clients td { overflow-wrap: anywhere; }
158
169
  .details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
159
170
  @media (max-width: 700px) { .details { grid-template-columns: 1fr; } }
@@ -260,7 +271,7 @@ input[role="switch"]:disabled { opacity: .5; cursor: wait; }
260
271
  .appearance-label { min-width:0; }
261
272
  .appearance-label label { display:block; font-size:13px; color:var(--text); line-height:1.65; }
262
273
  .appearance-label p { margin:4px 0 0; font-size:12px; color:var(--subtle); line-height:1.7; }
263
- .appearance-select { width:100%; max-width:100%; min-width:0; height:36px; box-sizing:border-box; border-radius:2px; padding:0 10px; font-size:12px; }
274
+ .appearance-select { width:100%; max-width:100%; min-width:0; height:36px; box-sizing:border-box; border-radius:0; padding:0 30px 0 10px; font-size:12px; }
264
275
  .appearance-note { color:var(--subtle); margin:17px 0 0; font-size:12px; line-height:1.7; }
265
276
  .appearance-animation { margin-top:22px; border-top:1px solid var(--border); padding-top:18px; }
266
277
  .terminal-animation-toggle { border-bottom:0; }
@@ -367,7 +378,7 @@ input[role="switch"]:disabled { opacity: .5; cursor: wait; }
367
378
  .state-label > span { color:inherit; white-space:normal; }
368
379
  .badge:has(.state-label)::before { display:none; }
369
380
  .source-browse-note { margin:12px 0 20px; }
370
- .account-name { margin:18px 0 6px; font-size:19px; color:var(--strong); font-weight:650; }
381
+ .account-name { margin:18px 0 6px; font-size:19px; color:var(--strong); font-weight:650; overflow-wrap:anywhere; }
371
382
  .account-fields { display:grid; grid-template-columns:minmax(110px,150px) minmax(0,1fr); gap:10px 18px; margin:20px 0; font-size:12px; line-height:1.7; }
372
383
  .account-fields dt { color:var(--muted); }
373
384
  .account-fields dd { margin:0; min-width:0; }
@@ -381,3 +392,11 @@ input[role="switch"]:disabled { opacity: .5; cursor: wait; }
381
392
  .checks-table th:nth-child(2) { width:21%; }
382
393
  .checks-table details p { margin:8px 0; }
383
394
  @media(max-width:640px) { .account-fields { grid-template-columns:100px minmax(0,1fr); gap:10px; } .checks-table { min-width:530px; } }
395
+
396
+ .account-summary { margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 20px; }
397
+ .account-summary div { min-width: 0; }
398
+ .account-summary dt { color: var(--muted); font-size: 11px; margin-bottom: 7px; }
399
+ .account-summary dd { margin: 0; font-size: 12px; }
400
+ .account-summary .state-label { gap: 6px; }
401
+ .source-account-actions { margin-top: 18px; }
402
+ @media(max-width:640px) { .account-summary { grid-template-columns:1fr; } }