codex-copilot-dx 1.2.10 → 1.2.12

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.
@@ -13,6 +13,7 @@
13
13
  <script src="/time.js" defer></script>
14
14
  <script src="/status.js" defer></script>
15
15
  <script src="/activity.js" defer></script>
16
+ <script src="/flow.js" defer></script>
16
17
  <script src="/usage.js" defer></script>
17
18
  <script src="/updates.js" defer></script>
18
19
  <script src="/animation.js" defer></script>
@@ -40,13 +41,12 @@
40
41
 
41
42
  <header class="topbar">
42
43
  <div class="brand">CCDX <span class="brand-detail" data-i18n="local_status">/ DASHBOARD</span></div>
43
- <div class="topbar-actions"><span id="connection" class="badge neutral" role="status" data-i18n="reading">READING</span><button id="theme-toggle" class="icon-button" type="button" aria-label="Switch to light mode" title="Switch to light mode"><svg class="icon-sun" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" aria-hidden="true" focusable="false"><circle cx="12" cy="12" r="4"/><path d="M12 2v2m0 16v2M4.93 4.93l1.42 1.42m11.3 11.3 1.42 1.42M2 12h2m16 0h2M4.93 19.07l1.42-1.42m11.3-11.3 1.42-1.42"/></svg><svg class="icon-moon" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M12 3A9 9 0 1 0 21 12 7 7 0 0 1 12 3Z"/></svg></button><button id="language-toggle" class="icon-button language-button" type="button" aria-label="Switch to Chinese" title="Switch to Chinese">中文</button><button id="auto-refresh" type="button" aria-pressed="true" data-i18n="auto_refresh" data-i18n-title="visible_status_updates_every_2_seconds_catalogs_and_retained_usa" title="Visible status updates every 2 seconds. Catalogs and retained usage refresh on demand or every 30 minutes while open.">Auto refresh</button><button id="refresh" type="button" data-i18n="refresh">Refresh</button></div>
44
+ <div class="topbar-actions"><span id="connection" class="badge neutral" role="status" data-i18n="reading">READING</span><button id="theme-toggle" class="icon-button" type="button" aria-label="Switch to light mode" title="Switch to light mode"><svg class="icon-sun" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" aria-hidden="true" focusable="false"><circle cx="12" cy="12" r="4"/><path d="M12 2v2m0 16v2M4.93 4.93l1.42 1.42m11.3 11.3 1.42 1.42M2 12h2m16 0h2M4.93 19.07l1.42-1.42m11.3-11.3 1.42-1.42"/></svg><svg class="icon-moon" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M12 3A9 9 0 1 0 21 12 7 7 0 0 1 12 3Z"/></svg></button><button id="language-toggle" class="icon-button language-button" type="button" aria-label="Switch to Chinese" title="Switch to Chinese">中文</button><button id="auto-refresh" type="button" aria-pressed="true" data-i18n-title="visible_status_updates_every_2_seconds_catalogs_and_retained_usa" title="Visible status updates every 2 seconds. Catalogs and retained usage refresh on demand or every 30 minutes while open."><span class="auto-refresh-measure" aria-hidden="true" data-i18n="auto_refresh_off">Auto refresh · OFF</span><span id="auto-refresh-label" data-i18n="auto_refresh_on">Auto refresh · ON</span></button><button id="refresh" type="button" data-i18n="refresh">Refresh</button></div>
44
45
  </header>
45
46
 
46
47
  <main id="main-content" tabindex="-1">
47
48
  <section class="intro">
48
49
  <h1><span id="page-title" data-i18n="overview">Overview</span></h1>
49
- <p id="page-description" class="page-description" data-i18n="page_overview_description">Service, app connections and usage this run.</p>
50
50
  <p id="page-settings-note" class="hint" role="status"></p>
51
51
  </section>
52
52
 
@@ -89,20 +89,22 @@
89
89
  <details class="panel dashboard-section" id="prediction-settings" open>
90
90
  <summary class="panel-heading"><h2 data-i18n="codex_input_predictions">INPUT SUGGESTIONS</h2><span data-i18n="codex_only">CODEX ONLY</span></summary>
91
91
  <div class="setting-row"><label for="setting-prediction_enabled" data-i18n="allow_prediction_configuration">Allow suggestion updates</label><input id="setting-prediction_enabled" type="checkbox" role="switch" disabled><span id="effect-prediction_enabled" class="hint" role="status"></span></div>
92
+ <p class="hint" data-i18n="pause_keeps_the_existing_trust_and_route_codex_may_retain_cached">Pause keeps existing trust and routing. Cached suggestions may still appear. First quit Codex, then run ccdx prediction on.</p>
92
93
  <details class="tool-details"><summary data-i18n="status_and_repair">Status and repair</summary>
93
94
  <dl class="stats"><div><dt data-i18n="prediction_integration_setup">Suggestion setup</dt><dd id="prediction-preference">—</dd></div><div><dt data-i18n="local_bridge">Local service</dt><dd id="prediction-bridge">—</dd></div><div><dt data-i18n="client_route">App settings requests</dt><dd id="prediction-route">—</dd></div><div><dt data-i18n="visible_candidate">Suggestion displayed</dt><dd id="prediction-candidate">—</dd></div></dl>
94
95
  <p id="prediction-note" class="hint">—</p>
95
96
  <p class="hint" data-i18n="configured_does_not_mean_displayed_use_ccdx_prediction_status_fo">Enabled does not mean a suggestion appeared. Details: ccdx prediction status.</p>
96
97
 
97
98
  <div class="section-actions"><button id="fix-prediction" type="button" data-i18n="check_and_repair">Check and repair</button></div>
98
- <p class="hint" data-i18n="pause_keeps_the_existing_trust_and_route_codex_may_retain_cached">Pause keeps existing trust and routing. Cached suggestions may still appear. First quit Codex, then run ccdx prediction on.</p>
99
+ <p class="hint" data-i18n="prediction_first_setup">Quit Codex before first setup: ccdx prediction on</p>
99
100
  </details>
100
101
  </details>
101
102
  <details class="panel dashboard-section" id="additional-capabilities">
102
103
  <summary class="panel-heading"><h2 data-i18n="codex_image_generation">IMAGE GENERATION</h2><span data-i18n="codex_only">CODEX ONLY</span></summary>
103
104
  <strong id="image">—</strong><p id="image-detail" class="hint">—</p>
104
105
  <div class="setting-row"><label for="setting-image_enabled" data-i18n="allow_new_image_calls">Allow image requests</label><input id="setting-image_enabled" type="checkbox" role="switch" disabled><span id="effect-image_enabled" class="hint" role="status"></span></div>
105
- <p class="hint" data-i18n="pause_keeps_the_provider_configuration_running_calls_can_finish_">Pause keeps your setup. Running image requests can finish. First setup: ccdx enable-image.</p>
106
+ <p class="hint" data-i18n="pause_keeps_the_provider_configuration_running_calls_can_finish_">Existing image requests can finish after pausing.</p>
107
+ <details class="tool-details"><summary data-i18n="status_and_repair">Status and repair</summary><p class="hint" data-i18n="image_first_setup">First setup: ccdx enable-image</p></details>
106
108
  </details>
107
109
  <details class="panel dashboard-section" id="runtime-resources">
108
110
  <summary data-i18n="codex_conversation_buffer">CONVERSATION BUFFER</summary>
@@ -116,9 +118,9 @@
116
118
  <details class="panel dashboard-section" id="codex-performance">
117
119
  <summary data-i18n="request_performance">REQUEST PERFORMANCE</summary>
118
120
  <dl class="stats"><div><dt data-i18n="completed">Completed</dt><dd id="completed">—</dd></div><div><dt data-i18n="incomplete">Incomplete</dt><dd id="incomplete">—</dd></div><div><dt data-i18n="failed">Failed</dt><dd id="failed">—</dd></div><div><dt data-i18n="cancelled">Cancelled</dt><dd id="cancelled">—</dd></div></dl>
119
- <p class="hint" data-i18n="http_2xx_model_completed">HTTP success does not mean a complete reply.</p>
120
121
  <dl class="stats timing-stats"><div><dt data-i18n="first_output">First output</dt><dd id="ttft">—</dd></div><div><dt data-i18n="output_speed">Output speed</dt><dd id="tpot">—</dd></div></dl>
121
122
  <p class="hint" data-i18n="codex_responses_timing_since_startup_output_speed_is_estimated">Codex Responses timing since startup. Speed is estimated.</p>
123
+ <dl class="stats timing-stats"><div><dt data-i18n="estimated_percentiles" data-i18n-title="percentile_basis">Approx. first-output P50 / P95</dt><dd id="ttft-percentiles">—</dd></div></dl>
122
124
  <a class="section-link" href="#requests" data-i18n="view_request_details">View request details</a>
123
125
  </details>
124
126
  </div>
@@ -127,7 +129,7 @@
127
129
  <h2 data-i18n="client_connections">APP SETUP</h2>
128
130
  <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>
129
131
  <p id="claude-client-state" class="hint"></p>
130
- <p class="hint" data-i18n="local_service_not_app">Local service status does not confirm the app is open.</p>
132
+
131
133
  </section>
132
134
  <section class="panel dashboard-section">
133
135
  <h2 data-i18n="source">Source</h2><p class="table-note">Microsoft 365</p>
@@ -138,14 +140,16 @@
138
140
  <section class="panel dashboard-section" id="claude-performance">
139
141
  <div class="panel-heading"><h2 data-i18n="request_performance">REQUEST PERFORMANCE</h2><span data-i18n="messages_combined_since_start">MESSAGES COMBINED / SINCE STARTUP</span></div>
140
142
  <dl class="stats"><div><dt data-i18n="completed">Completed</dt><dd id="claude-completed">—</dd></div><div><dt data-i18n="incomplete">Incomplete</dt><dd id="claude-incomplete">—</dd></div><div><dt data-i18n="failed">Failed</dt><dd id="claude-failed">—</dd></div><div><dt data-i18n="cancelled">Cancelled</dt><dd id="claude-cancelled">—</dd></div><div><dt data-i18n="first_output">First output</dt><dd id="claude-ttft">—</dd></div><div><dt data-i18n="output_speed">Output speed</dt><dd id="claude-speed">—</dd></div></dl>
141
- <p class="hint" data-i18n="claude_metrics_combined">These metrics are not separated by Claude app.</p>
142
- <p class="hint" data-i18n="since_this_service_started_configuration_authorization_model_dis">Counts start with this service. Setup, sign-in, listed models and successful requests are separate checks.</p>
143
+
144
+
145
+ <dl class="stats timing-stats"><div><dt data-i18n="estimated_percentiles" data-i18n-title="percentile_basis">Approx. first-output P50 / P95</dt><dd id="claude-ttft-percentiles">—</dd></div></dl>
143
146
  <a class="section-link" href="#requests" data-i18n="view_request_details">View request details</a>
144
147
  </section>
145
148
  </div>
146
149
  <div data-view="models" hidden>
150
+ <p class="table-note" data-i18n="tools_source_browse">Browse source</p>
147
151
  <div id="model-providers" class="provider-tabs" role="tablist" aria-label="Model providers" data-i18n-label="model_providers"></div>
148
- <p class="hint source-browse-note" data-i18n="tools_source_browse">Browsing a source does not change app settings.</p>
152
+
149
153
  <div id="source-account-panel" role="tabpanel">
150
154
  <p id="source-status-note" class="hint" role="status"></p>
151
155
  <section class="panel dashboard-section" id="github-account">
@@ -163,11 +167,11 @@
163
167
  </section>
164
168
  <p id="github-account-note" class="hint" role="status" aria-live="polite"></p>
165
169
  <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>
170
+ <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></details>
167
171
  </section>
168
172
  <section class="panel dashboard-section" id="m365-source-access" hidden aria-labelledby="source-access-heading">
169
173
  <h2 id="source-access-heading" data-i18n="account_access">Account &amp; access</h2>
170
- <p class="hint" data-i18n="m365_source_access">Provides models for Codex and Claude on supported devices.</p>
174
+
171
175
  <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>
172
176
  <div id="m365-control-note" class="hint" role="status"></div>
173
177
  <h3 data-i18n="company_account">Company account</h3>
@@ -185,13 +189,13 @@
185
189
  <summary class="panel-heading"><h2 data-i18n="model_catalog">MODEL LIST</h2><span id="models-state" data-i18n="checking_live">CHECKING</span></summary>
186
190
  <div class="section-actions"><button id="refresh-models" type="button" data-i18n="refresh">Refresh</button></div>
187
191
  <p id="models-note" class="table-note" data-i18n="reading_provider_catalog">Loading model list…</p>
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>
192
+ <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></details>
189
193
  <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>
190
- <p class="hint" data-i18n="catalog_listing_does_not_guarantee_inference_access">Listed does not mean your account can use it.</p>
194
+ <details class="tool-details"><summary data-i18n="tools_details">Details</summary><p class="hint" data-i18n="catalog_listing_does_not_guarantee_inference_access">Models listed; inference access not verified.</p></details>
191
195
  </details>
192
196
  <details class="panel dashboard-section" id="account-authorization">
193
197
  <summary data-i18n="source_access_details">SOURCE ACCESS DETAILS</summary>
194
- <p class="hint" data-i18n="saved_credentials_authorization_model_access_and_client_requests">Saved sign-in, access, models and app requests are separate checks.</p>
198
+
195
199
  <div class="table-wrap"><table><thead><tr><th data-i18n="source">Source</th><th data-i18n="account">ACCOUNT</th><th data-i18n="authorization">AUTHORIZATION</th><th data-i18n="service">SERVICE</th><th data-i18n="last_verified">LAST VERIFIED</th><th data-i18n="time_left">Time left</th></tr></thead><tbody id="provider-auth"></tbody></table></div>
196
200
  </details>
197
201
  </div>
@@ -205,8 +209,8 @@
205
209
  <div class="table-wrap"><table class="checks-table"><thead><tr><th data-i18n="tools_check_item">Check</th><th data-i18n="state">State</th><th data-i18n="tools_details">Details</th></tr></thead><tbody id="checks-body"></tbody></table></div>
206
210
  </section>
207
211
  <section class="panel dashboard-section">
208
- <h2 data-i18n="account_access">ACCOUNT AND ACCESS</h2><p class="hint" data-i18n="account_management_location">Manage sign-in, accounts and models under Model sources.</p>
209
- <div class="section-actions"><button id="check-account-link" type="button" data-i18n="check_github_connection">Check GitHub connection</button><a class="section-link" href="#models" data-source-link="m365" data-i18n="view_m365_account">View M365 account</a></div>
212
+ <h2 data-i18n="account_access">ACCOUNT AND ACCESS</h2>
213
+ <div class="section-actions"><button id="check-account-link" class="account-entry" type="button" data-i18n="github_account_entry">GitHub account</button><a class="button-link account-entry" href="#models" data-source-link="m365" data-i18n="m365_account_entry">M365 account</a></div>
210
214
  </section>
211
215
  <section class="panel dashboard-section">
212
216
  <h2 data-i18n="tools_codex_connection">Codex connection</h2><p class="hint" data-i18n="tools_config_scope">Review CCDX-managed fields before repair. Other settings are preserved.</p>
@@ -231,10 +235,10 @@
231
235
  <div class="analytics-controls">
232
236
  <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>
233
237
  </div>
234
- <p id="analytics-note" class="table-note" role="status" data-i18n="open_to_read_retained_usage_history">Open to view usage trends.</p>
238
+ <p id="analytics-note" class="table-note" role="status" data-i18n="open_to_read_retained_usage_history">Loading usage trends…</p>
235
239
  <p id="analytics-updated" class="refresh-time"></p>
236
240
  <div class="chart-heading"><h3 data-i18n="daily_tokens">DAILY USAGE</h3><div class="analytics-controls"><label><span data-i18n="daily_range">Date range</span> <select id="analytics-range"><option value="7" data-i18n="7_days">Last 7 days</option><option value="30" selected data-i18n="30_days">Last 30 days</option><option value="90" data-i18n="90_days">Last 90 days</option></select></label>
237
- <label><span data-i18n="chart_view">Chart view</span> <select id="analytics-view"><option value="bars" selected data-i18n="bar_chart">Bar chart</option><option value="line" data-i18n="line_chart">Line chart</option></select></label></div></div><p class="hint" data-i18n="input_output_cache_included_in_input">INPUT + OUTPUT / REUSED INPUT IS PART OF INPUT</p>
241
+ <label><span data-i18n="chart_view">Chart view</span> <select id="analytics-view"><option value="bars" selected data-i18n="bar_chart">Bar chart</option><option value="line" data-i18n="line_chart">Line chart</option></select></label></div></div>
238
242
  <div id="daily-bars" class="daily-bars" aria-label="Daily usage in Token" data-i18n-label="daily_token_usage"></div>
239
243
  <div class="daily-axis"><span id="daily-from"></span><span id="daily-to"></span></div>
240
244
  <div class="chart-legend"><span class="legend-input" data-i18n="input_36ecb">Input usage</span><span class="legend-output" data-i18n="output_b2439">Output usage</span></div>
@@ -253,6 +257,17 @@
253
257
  </details>
254
258
  </div>
255
259
  <div data-view="requests" hidden>
260
+ <section class="panel dashboard-section" id="request-flow" data-state="unknown">
261
+ <div class="panel-heading"><h2 data-i18n="request_flow">REQUEST FLOW</h2><span id="flow-state" role="status" aria-live="polite" data-i18n="flow_status_unknown">Status unavailable</span></div>
262
+ <div id="flow-network" class="flow-network" role="group" data-i18n-label="request_flow" aria-label="Request flow">
263
+ <svg id="flow-wires" class="flow-wires" aria-hidden="true"></svg>
264
+ <div class="flow-column"><p class="flow-column-title" data-i18n="clients">Apps</p><div id="flow-apps" class="flow-apps"></div></div>
265
+ <div class="flow-hub-column"><button id="flow-hub" type="button" data-i18n-label="flow_show_all" aria-label="Show all requests"><b>CCDX</b></button></div>
266
+ <div class="flow-column"><p class="flow-column-title" data-i18n="flow_sources_models">Sources / models</p><div id="flow-models"></div></div>
267
+ </div>
268
+ <div class="flow-caption"><span id="flow-caption" data-i18n="flow_status_unknown">Status unavailable</span><button id="flow-clear" type="button" data-i18n="flow_show_all" hidden>Show all</button><button id="flow-more" type="button" hidden>More models</button></div>
269
+ <details id="flow-active" class="tool-details"><summary id="flow-active-title" data-i18n="flow_active_requests">Active requests</summary><div class="table-wrap"><table><thead><tr><th data-i18n="client">App</th><th data-i18n="source">Source</th><th data-i18n="model">Model</th><th data-i18n="state">State</th><th data-i18n="flow_elapsed">Elapsed</th><th data-i18n="attempts">Attempts</th></tr></thead><tbody id="flow-active-body"></tbody></table></div></details>
270
+ </section>
256
271
  <details class="panel dashboard-section" id="source-requests" open>
257
272
  <summary data-i18n="requests_by_source">REQUESTS BY SOURCE</summary>
258
273
  <p class="hint" data-i18n="results_since_startup_partial_usage_is_marked_separately">Results since startup. Partial usage is marked separately.</p>
@@ -263,14 +278,11 @@
263
278
  <summary data-i18n="recent_request_context">RECENT REQUESTS</summary>
264
279
  <p id="context-note" class="table-note">—</p>
265
280
  <div class="table-wrap"><table><thead><tr><th scope="col" data-i18n="time">Time</th><th scope="col" data-i18n="source">Source</th><th scope="col" data-i18n="model">MODEL</th><th scope="col" data-i18n="outcome">RESULT</th><th scope="col" data-i18n="input_tokens">INPUT USAGE</th><th scope="col" data-i18n="tools_details">Details</th></tr></thead><tbody id="context-body"><tr><td colspan="6" data-i18n="no_observed_request_metadata">No request records yet.</td></tr></tbody></table></div>
266
- <p class="hint" data-i18n="recent_upstream_request_metadata_not_exact_live_session_occupanc">Size: MiB. Usage: Token.
267
- Request records do not show exact current-chat usage.
268
- Missing data is unknown. This panel keeps no prompts or images.</p>
281
+ <details class="tool-details"><summary data-i18n="record_scope">Record scope</summary><p class="hint" data-i18n="recent_upstream_request_metadata_not_exact_live_session_occupanc">No prompts or images are stored. — means unavailable data.</p><p class="hint" data-i18n="http_2xx_model_completed">HTTP status and model outcome are recorded separately.</p></details>
269
282
  </details>
270
283
  <details class="lower" id="recent-failures" open>
271
284
  <summary class="panel-heading"><h2 data-i18n="recent_inference_http_failures">RECENT REQUEST ISSUES</h2><span id="failure-count">requests + events</span></summary>
272
285
  <ol id="failures"><li class="empty" data-i18n="reading_874bf">Reading…</li></ol>
273
- <p class="hint" data-i18n="upstream_messages_may_contain_sensitive_text">Error details may include private data.</p>
274
286
  </details>
275
287
  </div>
276
288
  <div data-view="system" hidden>
@@ -1,5 +1,49 @@
1
1
  (() => {
2
2
  const translations = {
3
+ "github_account_entry": ["GitHub account", "GitHub 账号"],
4
+ "m365_account_entry": ["M365 account", "M365 账号"],
5
+ "flow_count": ["{count} requests", "{count} 个请求"],
6
+ "flow_count_lower": ["≥{count} requests", "≥{count} 个请求"],
7
+ "flow_app_codex": ["Codex", "Codex"],
8
+ "prediction_first_setup": ["Quit Codex before first setup: ccdx prediction on", "首次配置前请退出 Codex:ccdx prediction on"],
9
+ "image_first_setup": ["First setup: ccdx enable-image", "首次配置:ccdx enable-image"],
10
+ "record_scope": ["Record scope", "记录范围"],
11
+ "estimated_percentiles": ["Approx. first-output P50 / P95", "首个输出 P50 / P95(约)"],
12
+ "percentile_values": ["{p50} / {p95} ms · {samples} samples", "{p50} / {p95} ms · {samples} 次样本"],
13
+ "percentile_basis": ["Estimated from histogram buckets since startup; includes partial-output failures.", "按本次运行的耗时分布估算,包含已有输出的失败请求。"],
14
+ "source_initial_review_saved": ["Source and initial review settings saved. Applies to new requests.", "来源及初始审查设置已保存,用于新的请求。"],
15
+
16
+ "request_flow": ["REQUEST FLOW", "请求流向"],
17
+ "flow_sources_models": ["Sources / models", "来源 / 模型"],
18
+ "flow_show_all": ["Show all", "显示全部"],
19
+ "flow_status_unknown": ["Waiting for a fresh status", "状态待更新"],
20
+ "flow_total": ["{count} active requests", "{count} 个请求进行中"],
21
+ "flow_idle": ["Idle", "空闲"],
22
+ "flow_no_active": ["Waiting for the next request", "等待下一次请求"],
23
+ "flow_last_observed": ["Last observed", "上次记录"],
24
+ "flow_active_requests": ["Active requests", "进行中的请求"],
25
+ "flow_active_count": ["Active requests · {count}", "进行中 · {count}"],
26
+ "flow_last_count": ["Last observed · {count}", "上次记录 · {count}"],
27
+ "flow_related_count": ["{count} related requests", "{count} 个相关请求"],
28
+ "flow_group_scope": ["{apps} apps · {models} models", "{apps} 个应用 · {models} 个模型"],
29
+ "flow_omitted": ["Showing {count} requests; {omitted} more have no detail", "显示 {count} 个请求,另有 {omitted} 个暂无详情"],
30
+ "flow_more_models": ["Show {count} more models", "显示其余 {count} 个模型"],
31
+ "flow_fewer_models": ["Show fewer models", "收起模型"],
32
+ "flow_app_codex_app": ["Codex App", "Codex App"],
33
+ "flow_app_codex_cli": ["Codex CLI", "Codex CLI"],
34
+ "flow_app_claude_app": ["Claude App", "Claude App"],
35
+ "flow_app_claude_code": ["Claude Code", "Claude Code"],
36
+ "flow_app_claude": ["Claude (app unspecified)", "Claude(未区分应用)"],
37
+ "flow_app_api": ["Unidentified app", "未识别应用"],
38
+ "flow_source_unknown": ["Source unknown", "来源未知"],
39
+ "flow_model_unknown": ["Model not identified", "未识别模型"],
40
+ "flow_responding": ["Responding", "响应中"],
41
+ "flow_group_response": ["{count} responding", "{count} 个响应中"],
42
+ "flow_waiting": ["Waiting for response", "等待响应"],
43
+ "flow_preparing": ["Preparing", "准备中"],
44
+ "flow_retrying": ["Retrying", "正在重试"],
45
+ "flow_finishing": ["Finishing delivery", "正在完成交付"],
46
+ "flow_elapsed": ["Elapsed", "已持续"],
3
47
  "sign_in_status": ["Sign-in", "登录状态"],
4
48
  "account_details": ["Account details", "账号详情"],
5
49
  "preference_effect": ["{saved} · {state}", "{saved} · {state}"],
@@ -14,14 +58,6 @@
14
58
  "catalog_cause_rate_limited": ["Model-list checks are limited. Try again later.", "模型列表检查过于频繁,请稍后再试。"],
15
59
  "catalog_cause_service_unavailable": ["Microsoft 365 could not serve the model list.", "Microsoft 365 暂时无法提供模型列表。"],
16
60
  "catalog_cause_catalog_rejected": ["Microsoft 365 rejected the model-list request.", "Microsoft 365 拒绝了模型列表请求。"],
17
- "page_overview_description": ["Service, app connections and usage this run.", "查看服务、应用和本次用量。"],
18
- "page_codex_description": ["Set up Codex connections and features.", "配置 Codex 接入与专属功能。"],
19
- "page_claude_description": ["Claude app connections and request performance.", "查看 Claude 接入与请求表现。"],
20
- "page_models_description": ["Accounts, access checks and model lists.", "管理账号、访问权限和模型列表。"],
21
- "page_usage_description": ["Usage totals, daily trends and annual activity.", "查看用量汇总、趋势与年度活动。"],
22
- "page_requests_description": ["Recent requests, outcomes and issues.", "查看最近请求、处理结果和异常。"],
23
- "page_checks_description": ["Check this computer and review connection repairs.", "检查本机环境,排查接入问题。"],
24
- "page_settings_description": ["Appearance, terminal, startup and version.", "调整外观、启动行为和版本。"],
25
61
  "current_source": ["Current source", "当前来源"],
26
62
  "connection_setup": ["Setup", "接入配置"],
27
63
  "configured_not_successful": ["Configured does not mean a request succeeded.", "已配置,不代表请求已成功。"],
@@ -30,15 +66,15 @@
30
66
  "request_performance": ["REQUEST PERFORMANCE", "请求表现"],
31
67
  "status_and_repair": ["Status and repair", "状态与修复"],
32
68
  "local_service_not_app": ["Local service status does not confirm the app is open.", "本地服务运行,不代表应用已打开。"],
33
- "claude_shared_source": ["Account and source settings apply to both Claude apps.", "账号与来源设置供两个应用共用。"],
69
+ "claude_shared_source": ["Shared by Claude Code and Claude App.", "Claude Code 与 Claude App 共用此来源。"],
34
70
  "manage_source_account": ["Manage source and account", "管理来源与账号"],
35
71
  "connection_details": ["Connection details", "连接详情"],
36
- "messages_combined_since_start": ["MESSAGES COMBINED / SINCE STARTUP", "Messages 合计 / 本次启动"],
37
- "claude_metrics_combined": ["These metrics are not separated by Claude app.", "当前统计不区分两个 Claude 应用。"],
72
+ "messages_combined_since_start": ["Both Claude apps · This service run", "两款应用合计 · 本次运行"],
73
+ "claude_metrics_combined": ["Both Claude apps", "两款应用合计"],
38
74
  "source_access_details": ["SOURCE ACCESS DETAILS", "来源访问详情"],
39
75
  "account_access": ["Account & access", "账号与访问"],
40
76
  "account_management_location": ["Manage sign-in, accounts and models under Model sources.", "登录、账号和模型在来源页管理。"],
41
- "check_github_connection": ["Open GitHub checks", "前往 GitHub 检查"],
77
+ "check_github_connection": ["Check GitHub connection", "检查 GitHub 连接"],
42
78
  "view_m365_account": ["View M365 account", "查看 M365 账号"],
43
79
  "more_checks_reports": ["MORE CHECKS AND REPORTS", "更多检查与报告"],
44
80
  "diagnostic_report": ["Diagnostic report", "诊断报告"],
@@ -53,7 +89,7 @@
53
89
  "request_metadata": ["Request metadata", "请求技术信息"],
54
90
  "cancel": ["Cancel", "取消"],
55
91
  "tools_checks_title": ["Checks & repairs", "检查与修复"],
56
- "tools_source_browse": ["Browsing a source does not change app settings.", "切换标签只查看来源,不改变应用设置。"],
92
+ "tools_source_browse": ["Browse source", "查看来源"],
57
93
  "tools_saved_account": ["Saved GitHub sign-in", "已保存 GitHub 登录"],
58
94
  "tools_not_signed_in": ["Not signed in", "尚未登录"],
59
95
  "tools_signin_invalid": ["Sign-in invalid", "登录已失效"],
@@ -74,7 +110,7 @@
74
110
  "tools_logout": ["Sign out of CCDX", "退出 CCDX 登录"],
75
111
  "tools_logout_scope": ["Other apps stay signed in.", "不会退出其他应用的登录。"],
76
112
  "tools_logout_confirm": ["Sign out of CCDX? New requests will need a sign-in. Other apps stay signed in.", "退出 CCDX 登录?新请求需要重新登录。其他应用不受影响。"],
77
- "tools_no_inference": ["Checks access and models. No chat request is sent.", "只检查权限和模型,不发送对话。"],
113
+ "tools_no_inference": ["No model calls", "不调用模型"],
78
114
  "tools_waiting": ["Waiting for GitHub", "等待 GitHub 授权"],
79
115
  "tools_verifying": ["Verifying account and models", "正在检查账号和模型"],
80
116
  "tools_device_instructions": ["Open GitHub, enter this code, and authorize CCDX.", "打开 GitHub,输入代码并授权。"],
@@ -91,10 +127,10 @@
91
127
  "tools_reauth_hint": ["GitHub rejected this sign-in. Sign in again.", "GitHub 拒绝了当前登录,请重新登录。"],
92
128
  "tools_access_denied": ["GitHub sign-in is valid. Check your Copilot access or company policy.", "GitHub 登录有效。请检查 Copilot 权限或公司策略。"],
93
129
  "tools_network_hint": ["Connection could not be verified. Check network settings; saved sign-in is kept.", "连接未能验证。请检查网络,原登录已保留。"],
94
- "tools_local_scope": ["Local checks do not contact external services.", "本机检查不访问外部服务。"],
130
+ "tools_local_scope": ["Local checks only", "仅检查本机"],
95
131
  "tools_check_local": ["Check this computer", "本机检查"],
96
132
  "tools_export_report": ["Export report", "导出报告"],
97
- "tools_checks_empty": ["Run a check to see the results.", "运行本机检查后显示结果。"],
133
+ "tools_checks_empty": ["Run a local check to see results.", "运行本机检查后查看结果。"],
98
134
  "tools_checks_completed": ["Local checks completed at {time}.", "本机检查完成于 {time}。"],
99
135
  "tools_check_item": ["Check", "检查项"],
100
136
  "tools_github_signin": ["GitHub sign-in", "GitHub 登录"],
@@ -104,7 +140,7 @@
104
140
  "tools_needs_attention": ["Needs attention", "需要处理"],
105
141
  "tools_observed": ["Recorded", "已记录"],
106
142
  "tools_codex_connection": ["Codex connection", "Codex 连接"],
107
- "tools_config_scope": ["Review CCDX-managed fields before repair. Other settings are preserved.", "先查看 CCDX 管理的字段,再决定是否修复。其他设置保留。"],
143
+ "tools_config_scope": ["Review changes before repairing.", "先预览改动,再决定是否修复。"],
108
144
  "tools_review_repair": ["Review repair", "查看修复"],
109
145
  "tools_repair_preview": ["Repair preview", "修复预览"],
110
146
  "tools_managed_fields": ["Managed fields", "管理字段"],
@@ -116,8 +152,8 @@
116
152
  "tools_network_check": ["Network settings", "网络设置"],
117
153
  "tools_network_read_only": ["Network settings read. Proxy and certificate policies are unchanged.", "已读取网络设置,代理和证书策略保持不变。"],
118
154
  "tools_compatibility": ["Model compatibility", "模型兼容性"],
119
- "tools_compatibility_scope": ["This test sends model requests and uses quota. Run it explicitly in your terminal:", "此检查会调用模型并产生用量。请在终端明确执行:"],
120
- "tools_report_scope": ["Reports omit credentials, account details and chat content.", "报告不含凭据、账号详情和对话内容。"],
155
+ "tools_compatibility_scope": ["Sends model requests and uses quota. Run in your terminal.", "会调用模型并消耗额度,请在终端执行。"],
156
+ "tools_report_scope": ["Excludes credentials, account details and chat content.", "不含凭据、账号详情和对话内容。"],
121
157
  "tools_report_saved": ["Report exported. Share it only with people you trust.", "报告已导出,请仅分享给可信的人。"],
122
158
  "tools_read_failed": ["Could not read tool status. Restart the updated CCDX service.", "无法读取工具状态,请重启新版 CCDX。"],
123
159
  "tools_action_failed": ["Could not complete the action. Existing settings were preserved where possible.", "操作未完成,请查看当前状态。"],
@@ -161,15 +197,15 @@
161
197
  "update_attempted_time": ["Last attempt: {time}", "最近尝试:{time}"],
162
198
  "update_install_help": ["Update failed? View full installation commands", "更新遇到问题?查看完整安装指令"],
163
199
  "installation_platform": ["Installation platform", "安装平台"],
164
- "update_install_hint": ["Download the official installer. No Git required.", "下载官方安装器,无需 Git。"],
165
- "update_install_policy": ["Reuses compatible Node/npm or installs a private runtime. Keeps your registry, proxy, certificates and shell policy.", "复用可用的 Node/npm,否则安装专用运行环境。\n保留镜像、代理、证书和脚本策略。"],
166
- "update_windows_policy": ["If scripts are blocked, use your company’s approved installation method.", "若公司禁止运行脚本,请使用公司批准的安装方式。"],
200
+ "update_install_hint": ["Full installation commands · No Git required", "完整安装指令 · 无需 Git"],
201
+ "update_install_policy": ["Installs a private runtime if Node/npm is missing. Keeps registry, proxy, certificates and script policy.", "缺少 Node/npm 时安装专用运行环境。\n保留镜像、代理、证书和脚本策略。"],
202
+ "update_windows_policy": ["If scripts are blocked, use your company-approved installation method.", "脚本受限时,请使用公司批准的安装方式。"],
167
203
  "update_copy_unavailable": ["Clipboard unavailable. Select the command and copy it.", "无法自动复制,请选中指令复制。"],
168
204
  "company_account": ["Company account", "公司账号"],
169
205
  "check_accounts": ["Check accounts", "检查账号"],
170
206
  "choose_company_account": ["Choose a company account", "选择公司账号"],
171
207
  "use_this_account": ["Use this account", "使用此账号"],
172
- "company_account_scope": ["Applies to Microsoft 365 in Codex and Claude. Start a new conversation after changing accounts.", "影响 Codex 和 Claude 的 M365 服务。\n更换账号后请新建对话。"],
208
+ "company_account_scope": ["Shared by Codex and Claude. Start a new conversation after switching.", "供 Codex 和 Claude 共用。切换后请新建对话。"],
173
209
  "company_account_current": ["{login} · Tenant {tenant} · {source}", "{login}\n租户:{tenant} · {source}"],
174
210
  "account_source_windows": ["Windows sign-in", "Windows 登录账号"],
175
211
  "account_source_single": ["Only company account", "唯一公司账号"],
@@ -204,7 +240,7 @@
204
240
  "appearance_terminal_scope": ["Independent of the webpage theme.", "与网页主题分别设置。"],
205
241
  "appearance_terminal_effect": ["Table updates now. Startup logo changes next launch.", "表格即时换色,启动 Logo 下次生效。"],
206
242
  "appearance_sample": ["Sample data", "示例数据"],
207
- "theme_saved_browser": ["This browser only. Applies now.", "仅此浏览器,立即生效。"],
243
+ "theme_saved_browser": ["This browser only. Applies immediately.", "仅当前浏览器,立即生效。"],
208
244
  "theme_tab_only": ["This tab only. Browser storage is unavailable.", "本次有效,浏览器未能保存。"],
209
245
  "terminal_theme_applied": ["Table updated. Startup logo changes next launch.", "表格已换色,启动 Logo 下次生效。"],
210
246
  "terminal_theme_unavailable": ["Saved. Colored output is unavailable in this terminal mode.", "已保存,当前终端模式不显示配色。"],
@@ -236,11 +272,11 @@
236
272
  "prediction_integration_setup": ["Suggestion setup", "建议设置"],
237
273
  "visible_status_updates_every_2_seconds_catalogs_and_retained_usa": ["Visible status updates every 2 seconds. Catalogs and retained usage refresh on demand or every 30 minutes while open.", "可见状态每2秒更新。\n列表和留存用量按需更新,\n展开时每30分钟刷新。"],
238
274
  "request_records": ["Requests", "请求记录"],
239
- "source_changes_new_requests": ["Changes apply to later Codex requests.", "保存后用于新的 Codex 请求。"],
275
+ "source_changes_new_requests": ["Applies to new requests after saving.", "保存后用于新的请求。"],
240
276
  "conversation_model": ["Conversation model", "对话模型"],
241
277
  "github_model_in_codex": ["Choose your conversation model in Codex.", "在 Codex 中选择对话模型。"],
242
278
  "auto_review_settings": ["AUTO REVIEW", "自动审查"],
243
- "review_uses_selected_source": ["Reviews use the source above. First source setup saves the initial review choices; later review changes save separately.", "审查使用上方所选来源。首次切入时一并保存初始审查设置,之后分别保存。"],
279
+ "review_uses_selected_source": ["Uses the selected source above.", "使用上方选定的来源。"],
244
280
  "thinking_level": ["Thinking level", "思考强度"],
245
281
  "follow_client": ["Follow Codex (low if omitted)", "跟随 Codex(未指定时用 low)"],
246
282
  "save_review": ["Save review settings", "保存审查设置"],
@@ -266,12 +302,12 @@
266
302
  "allow_new_image_calls": ["Allow image requests", "图片生成"],
267
303
  "allow_prediction_configuration": ["Allow suggestion updates", "建议更新"],
268
304
  "check_and_repair": ["Check and repair", "检查修复"],
269
- "temporary_local_data_for_responses_continuation_not_a_conversati": ["Keeps temporary data to continue replies. Does not save a chat archive.", "临时保留续聊数据。\n不作为聊天归档。"],
305
+ "temporary_local_data_for_responses_continuation_not_a_conversati": ["Temporary reply continuation, not a chat archive.", "用于续接回复,不是聊天归档。"],
270
306
  "buffer_limit_mib": ["Buffer limit (MiB)", "暂存上限 MiB"],
271
307
  "apply_limit": ["Save limit", "保存上限"],
272
308
  "clear_inactive_buffer": ["Clear conversation buffer", "清空暂存"],
273
- "pause_keeps_the_provider_configuration_running_calls_can_finish_": ["Pause keeps your setup. Running image requests can finish. First setup: ccdx enable-image.", "暂停后保留图片设置。\n已开始的生成可继续完成。\n首次设置:\nccdx enable-image"],
274
- "pause_keeps_the_existing_trust_and_route_codex_may_retain_cached": ["Pause keeps existing trust and routing. Cached suggestions may still appear. First quit Codex, then run ccdx prediction on.", "暂停后保留信任与连接设置。\n已有建议可能仍会显示。\n首次设置前请退出 Codex。\nccdx prediction on"],
309
+ "pause_keeps_the_provider_configuration_running_calls_can_finish_": ["Existing image requests can finish after pausing.", "关闭后,已开始的生成仍会完成。"],
310
+ "pause_keeps_the_existing_trust_and_route_codex_may_retain_cached": ["Pausing keeps setup; cached suggestions may remain.", "暂停保留设置;已有建议仍可能显示。"],
275
311
  "service_settings": ["SERVICE SETTINGS", "服务设置"],
276
312
  "saved_preference_and_effective_state_are_separate_environment_ov": ["Saved choices and current behavior are shown separately. Startup overrides and required restarts are listed.", "已保存与已生效分别显示。\n启动限制与重启要求会注明。"],
277
313
  "terminal_animation": ["Terminal animation", "终端动效"],
@@ -287,10 +323,10 @@
287
323
  "process_listener": ["LOCAL SERVICE", "本机服务"],
288
324
  "http_traffic": ["SERVICE REQUESTS", "服务请求"],
289
325
  "this_run_usage": ["THIS RUN", "本次用量"],
290
- "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.", "仅统计已返回的用量。\n不含尚未返回的数据。\n不代表实时账单。"],
326
+ "updated_from_returned_usage_not_a_live_bill_pending_usage_is_not": ["Returned usage only.", "仅统计已返回用量。"],
291
327
  "applies_to_the_running_terminal": ["Updates the running terminal.", "保存后更新当前终端。"],
292
328
  "recent_inference_http_failures": ["RECENT REQUEST ISSUES", "近期异常"],
293
- "codex_responses_timing_since_startup_output_speed_is_estimated": ["Codex Responses timing since startup. Speed is estimated.", "记录本次 Codex 耗时。\n输出速度为估计值。"],
329
+ "codex_responses_timing_since_startup_output_speed_is_estimated": ["This service run · Estimated output speed", "本次运行 · 输出速度为估算"],
294
330
  "service_reachable": ["CONNECTED LOCALLY", "已连本机"],
295
331
  "saved_choice_applies_to_the_running_terminal": ["Saving updates the running terminal.", "保存后更新当前终端。"],
296
332
  "effective_now": ["Active now", "已生效"],
@@ -353,7 +389,7 @@
353
389
  "local_bridge": ["Local service", "本机服务"],
354
390
  "client_route": ["App settings requests", "应用请求"],
355
391
  "visible_candidate": ["Suggestion displayed", "建议显示"],
356
- "configured_does_not_mean_displayed_use_ccdx_prediction_status_fo": ["Enabled does not mean a suggestion appeared. Details: ccdx prediction status.", "开启不代表建议已显示。\nccdx prediction status"],
392
+ "configured_does_not_mean_displayed_use_ccdx_prediction_status_fo": ["Check suggestion status: ccdx prediction status", "检查建议状态:ccdx prediction status"],
357
393
  "enabled": ["Enabled", "已开启"],
358
394
  "disabled": ["Disabled", "已关闭"],
359
395
  "running_f4cca": ["Running", "运行中"],
@@ -406,8 +442,8 @@
406
442
  "outcome": ["RESULT", "结果"],
407
443
  "unknown": ["Unknown", "未知状态"],
408
444
  "no_observed_request_metadata": ["No request records yet.", "暂未收到请求记录。"],
409
- "20_latest_finished_requests_compactions_completed_completed_inco": ["Last 20 finished requests.\nHistory compaction: {completed} completed · {incomplete} incomplete · {failed} failed", "最近20次已结束请求。\n压缩完成:{completed}次\n压缩未完成:{incomplete}次\n压缩失败:{failed}次"],
410
- "recent_upstream_request_metadata_not_exact_live_session_occupanc": ["Size: MiB. Usage: Token.\nRequest records do not show exact current-chat usage.\nMissing data is unknown. This panel keeps no prompts or images.", "大小单位:MiB。\n用量单位:Token。\n不代表当前对话的精确占用。\n缺失数据表示未知。\n此面板不保存提问或图片。"],
445
+ "20_latest_finished_requests_compactions_completed_completed_inco": ["Last 20 finished requests · Compaction: {completed} completed · {incomplete} incomplete · {failed} failed", "最近 20 次已结束请求 · 上下文压缩:完成 {completed} · 未完成 {incomplete} · 失败 {failed}"],
446
+ "recent_upstream_request_metadata_not_exact_live_session_occupanc": ["No prompts or images are stored. — means unavailable data.", "不保存提问或图片。— 表示数据未知。"],
411
447
  "runtime_details": ["Runtime details", "运行详情"],
412
448
  "adapter": ["SERVICE", "服务状态"],
413
449
  "known_models": ["MODEL COUNT", "模型数量"],
@@ -418,7 +454,7 @@
418
454
  "incomplete": ["Incomplete", "未完成"],
419
455
  "failed": ["Failed", "失败"],
420
456
  "cancelled": ["Cancelled", "已取消"],
421
- "http_2xx_model_completed": ["HTTP success does not mean a complete reply.", "请求成功不代表回复完整。"],
457
+ "http_2xx_model_completed": ["HTTP status and model outcome are recorded separately.", "HTTP 状态与模型结果分别记录。"],
422
458
  "local_history": ["LOCAL HISTORY", "对话暂存"],
423
459
  "active_limit": ["STORAGE LIMIT", "暂存上限"],
424
460
  "history_cache_usage": ["Local history usage", "对话暂存"],
@@ -459,7 +495,7 @@
459
495
  "api": ["CONNECTION TYPE", "连接方式"],
460
496
  "flag": ["STAGE", "阶段"],
461
497
  "loading": ["Loading…", "加载中"],
462
- "catalog_listing_does_not_guarantee_inference_access": ["Listed does not mean your account can use it.", "列出不代表账号可使用。"],
498
+ "catalog_listing_does_not_guarantee_inference_access": ["Models listed; inference access not verified.", "模型已列出,推理权限尚未验证。"],
463
499
  "usage_by_model": ["Model usage", "模型用量"],
464
500
  "usage": ["MODEL USAGE", "模型用量"],
465
501
  "reading_log": ["COUNTING", "统计中"],
@@ -471,7 +507,7 @@
471
507
  "output": ["OUTPUT USAGE", "输出用量"],
472
508
  "total": ["TOTAL", "总用量"],
473
509
  "cache_hit": ["REUSE RATE", "复用比例"],
474
- "cache_hit_recorded_cached_input_tokens_incomplete_history_unavai": ["Unit: Token. Reused input is part of input.\n~ Partial records. — Unknown or invalid.", "用量单位:Token。\n复用部分已计入输入。\n~:记录不完整。\n—:数据未知或无效。"],
510
+ "cache_hit_recorded_cached_input_tokens_incomplete_history_unavai": ["Unit: Token. Reuse is included in input. ~ Partial; — Unknown.", "单位 Token;复用已计入输入。~ 为部分记录,— 为未知。"],
475
511
  "usage_analytics": ["USAGE TRENDS", "用量趋势"],
476
512
  "model_5e2c6": ["Model", "模型"],
477
513
  "all_models": ["All models", "全部模型"],
@@ -482,7 +518,7 @@
482
518
  "activity": ["Measure", "统计内容"],
483
519
  "calls_b73a5": ["Requests", "请求次数"],
484
520
  "tokens": ["Usage (Token)", "处理用量"],
485
- "open_to_read_retained_usage_history": ["Open to view usage trends.", "展开查看用量趋势。"],
521
+ "open_to_read_retained_usage_history": ["Loading usage trends…", "读取用量趋势中…"],
486
522
  "daily_tokens": ["DAILY USAGE", "每日用量"],
487
523
  "input_output_cache_included_in_input": ["INPUT + OUTPUT / REUSED INPUT IS PART OF INPUT", "输入与输出合计。\n复用部分已计入输入。"],
488
524
  "daily_token_usage": ["Daily usage in Token", "每日用量"],
@@ -490,12 +526,12 @@
490
526
  "output_b2439": ["Output usage", "输出用量"],
491
527
  "request_activity_365_days": ["ACTIVITY · LAST 365 DAYS", "活跃日历"],
492
528
  "daily_recorded_request_activity": ["Daily recorded activity over 365 days", "每日活跃"],
493
- "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.", "点击日期查看当天用量。\n没有记录不等于零次请求。"],
529
+ "select_a_day_to_inspect_its_model_totals_no_history_is_distinct_": ["Select a day for usage. Blank means no records.", "点击日期查看当天用量。空白表示无记录。"],
494
530
  "recent_failures": ["Recent issues", "异常记录"],
495
531
  "recent_response_failures": ["RECENT ISSUES", "异常记录"],
496
532
  "reading_874bf": ["Reading…", "读取中"],
497
533
  "reading_status": ["Reading status…", "读取中"],
498
- "upstream_messages_may_contain_sensitive_text": ["Error details may include private data.", "错误详情可能含隐私信息。"],
534
+ "upstream_messages_may_contain_sensitive_text": ["Review private information before sharing error details.", "分享错误详情前,请检查其中的隐私信息。"],
499
535
  "terminal_animation_9edf6": ["TERMINAL ANIMATION", "终端动效"],
500
536
  "animation_theme": ["Animation style", "动效样式"],
501
537
  "save_selection": ["Save animation", "保存动效"],
@@ -641,7 +677,7 @@
641
677
  "no_requests_observed": ["No requests observed.", "尚未收到请求。"],
642
678
  "protocol": ["Protocol", "请求接口"],
643
679
  "active": ["Active", "进行中"],
644
- "results_since_startup_partial_usage_is_marked_separately": ["Results since startup. Partial usage is marked separately.", "统计本次运行的请求。\n用量缺失会单独标明。"],
680
+ "results_since_startup_partial_usage_is_marked_separately": ["This service run", "本次运行"],
645
681
  "claude_code_code_claude_app_app": ["Claude Code: {code} / Claude App: {app}", "Claude Code:{code}\nClaude App:{app}"],
646
682
  };
647
683
  // Compatibility for runtime state names and server diagnostic messages.
@@ -173,7 +173,9 @@
173
173
  localize(copy, "copied");
174
174
  } catch { localize(copy, "copy_unavailable"); }
175
175
  });
176
- details.append(title, diagnostic, copy);
176
+ const privacy = document.createElement("p");privacy.className = "hint";
177
+ localize(privacy, "upstream_messages_may_contain_sensitive_text");
178
+ details.append(title, diagnostic, privacy, copy);
177
179
  item.append(details);
178
180
  list.append(item);
179
181
  }
@@ -181,6 +183,7 @@
181
183
 
182
184
  function render(data) {
183
185
  globalThis.ccdxDashboardActivity?.update(data.model_activity);
186
+ globalThis.ccdxDashboardFlow?.update(data);
184
187
  text("version", `v${data.version || "?"}`);
185
188
  text("uptime", "pid_pid_uptime_duration", { pid: number(data.pid), duration: duration(data.uptime_ms) });
186
189
 
@@ -199,6 +202,11 @@
199
202
  const outcomes = data.stream_performance?.by_route?.responses?.terminal_outcomes?.totals || {};
200
203
  for (const key of ["completed", "incomplete", "failed", "cancelled"]) text(key, number(outcomes[key]));
201
204
  const timing = data.stream_performance?.by_route?.responses || {};
205
+ function percentiles(id, metric) {
206
+ const valid = metric?.samples > 0 && metric.percentiles_estimated === true && finite(metric.p50) && finite(metric.p95);
207
+ text(id, valid ? "percentile_values" : "—", valid ? { p50: Number(metric.p50).toFixed(0), p95: Number(metric.p95).toFixed(0), samples: number(metric.samples) } : {});
208
+ }
209
+ percentiles("ttft-percentiles", timing.ttft_ms);
202
210
  for (const [id, metric, scale, unit] of [["ttft", timing.ttft_ms, 1, "ms"], ["tpot", timing.output_tokens_per_second, 1, "token/s"]]) {
203
211
  const value = metric?.samples > 0 && finite(metric.avg) ? `${(Number(metric.avg) / scale).toFixed(1)} ${unit}` : "—";
204
212
  text(id, "value_samples_samples", { value, samples: number(metric?.samples) });
@@ -218,6 +226,7 @@
218
226
  : "setup_state_unknown_ccdx_image_status", { active: number(image?.active), failed: number(image?.failed), delivery: number(image?.delivery_failures) });
219
227
 
220
228
  const claude = data.providers?.m365?.claude, claudeMetrics = claude?.requests?.performance;
229
+ percentiles("claude-ttft-percentiles", claudeMetrics?.by_route?.messages?.ttft_ms);
221
230
  const sourceBody = element("source-requests-body");
222
231
  if (sourceBody) {
223
232
  sourceBody.replaceChildren();